@asymmetric-effort/specifyjs 0.2.97 → 0.2.100

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 (538) hide show
  1. package/dist/specifyjs-build.cjs.js +160 -1
  2. package/dist/specifyjs-build.cjs.js.map +7 -1
  3. package/dist/specifyjs-build.d.ts +1 -110
  4. package/dist/specifyjs-build.esm.js +160 -1
  5. package/dist/specifyjs-build.esm.js.map +7 -1
  6. package/dist/specifyjs-client.cjs.js +2 -1
  7. package/dist/specifyjs-client.cjs.js.map +7 -1
  8. package/dist/specifyjs-client.d.ts +1 -159
  9. package/dist/specifyjs-client.esm.js +2 -1
  10. package/dist/specifyjs-client.esm.js.map +7 -1
  11. package/dist/specifyjs-components.cjs.js +8 -1
  12. package/dist/specifyjs-components.cjs.js.map +7 -1
  13. package/dist/specifyjs-components.d.ts +1 -3334
  14. package/dist/specifyjs-components.esm.js +8 -1
  15. package/dist/specifyjs-components.esm.js.map +7 -1
  16. package/dist/specifyjs-dom.cjs.js +2 -1
  17. package/dist/specifyjs-dom.cjs.js.map +7 -1
  18. package/dist/specifyjs-dom.d.ts +1 -107
  19. package/dist/specifyjs-dom.esm.js +2 -1
  20. package/dist/specifyjs-dom.esm.js.map +7 -1
  21. package/dist/specifyjs-jsx-dev-runtime.cjs.js +2 -1
  22. package/dist/specifyjs-jsx-dev-runtime.cjs.js.map +7 -1
  23. package/dist/specifyjs-jsx-dev-runtime.esm.js +2 -1
  24. package/dist/specifyjs-jsx-dev-runtime.esm.js.map +7 -1
  25. package/dist/specifyjs-jsx-runtime.cjs.js +2 -1
  26. package/dist/specifyjs-jsx-runtime.cjs.js.map +7 -1
  27. package/dist/specifyjs-jsx-runtime.esm.js +2 -1
  28. package/dist/specifyjs-jsx-runtime.esm.js.map +7 -1
  29. package/dist/specifyjs-server.cjs.js +2 -1
  30. package/dist/specifyjs-server.cjs.js.map +7 -1
  31. package/dist/specifyjs-server.d.ts +1 -136
  32. package/dist/specifyjs-server.esm.js +2 -1
  33. package/dist/specifyjs-server.esm.js.map +7 -1
  34. package/dist/specifyjs-telemetry.cjs.js +2 -1
  35. package/dist/specifyjs-telemetry.cjs.js.map +7 -1
  36. package/dist/specifyjs-telemetry.d.ts +1 -165
  37. package/dist/specifyjs-telemetry.esm.js +2 -1
  38. package/dist/specifyjs-telemetry.esm.js.map +7 -1
  39. package/dist/specifyjs.cjs.js +2 -1
  40. package/dist/specifyjs.cjs.js.map +7 -1
  41. package/dist/specifyjs.d.ts +1 -581
  42. package/dist/specifyjs.esm.js +2 -1
  43. package/dist/specifyjs.esm.js.map +7 -1
  44. package/dist/types/build/index.d.ts +5 -0
  45. package/dist/types/build/index.d.ts.map +1 -0
  46. package/dist/types/build/noscript-plugin.d.ts +63 -0
  47. package/dist/types/build/noscript-plugin.d.ts.map +1 -0
  48. package/dist/types/build/seo-plugin.d.ts +43 -0
  49. package/dist/types/build/seo-plugin.d.ts.map +1 -0
  50. package/dist/types/client/graphql.d.ts +64 -0
  51. package/dist/types/client/graphql.d.ts.map +1 -0
  52. package/dist/types/client/index.d.ts +4 -0
  53. package/dist/types/client/index.d.ts.map +1 -0
  54. package/dist/types/client/protobuf.d.ts +40 -0
  55. package/dist/types/client/protobuf.d.ts.map +1 -0
  56. package/dist/types/client/rest.d.ts +61 -0
  57. package/dist/types/client/rest.d.ts.map +1 -0
  58. package/dist/types/components/ad/adsense/src/AdSense.d.ts +19 -0
  59. package/dist/types/components/ad/adsense/src/index.d.ts +2 -0
  60. package/dist/types/components/analytics/google-analytics/src/GoogleAnalytics.d.ts +13 -0
  61. package/dist/types/components/analytics/google-analytics/src/index.d.ts +2 -0
  62. package/dist/types/components/component.d.ts +39 -0
  63. package/dist/types/components/component.d.ts.map +1 -0
  64. package/dist/types/components/data/analog-clock/src/AnalogClock.d.ts +17 -0
  65. package/dist/types/components/data/analog-clock/src/index.d.ts +2 -0
  66. package/dist/types/components/data/avatar/src/Avatar.d.ts +19 -0
  67. package/dist/types/components/data/avatar/src/index.d.ts +2 -0
  68. package/dist/types/components/data/badge/src/Badge.d.ts +17 -0
  69. package/dist/types/components/data/badge/src/index.d.ts +2 -0
  70. package/dist/types/components/data/data-grid/src/DataGrid.d.ts +47 -0
  71. package/dist/types/components/data/data-grid/src/index.d.ts +2 -0
  72. package/dist/types/components/data/digital-clock/src/DigitalClock.d.ts +15 -0
  73. package/dist/types/components/data/digital-clock/src/index.d.ts +2 -0
  74. package/dist/types/components/data/list-view/src/ListView.d.ts +23 -0
  75. package/dist/types/components/data/list-view/src/index.d.ts +2 -0
  76. package/dist/types/components/data/tag/src/Tag.d.ts +21 -0
  77. package/dist/types/components/data/tag/src/index.d.ts +2 -0
  78. package/dist/types/components/data/virtual-scroll/src/VirtualScroll.d.ts +13 -0
  79. package/dist/types/components/data/virtual-scroll/src/index.d.ts +2 -0
  80. package/dist/types/components/error-boundary.d.ts +23 -0
  81. package/dist/types/components/error-boundary.d.ts.map +1 -0
  82. package/dist/types/components/errors/_shared/src/HttpErrorPage.d.ts +15 -0
  83. package/dist/types/components/errors/_shared/src/index.d.ts +2 -0
  84. package/dist/types/components/errors/http-400/src/Http400.d.ts +9 -0
  85. package/dist/types/components/errors/http-400/src/index.d.ts +2 -0
  86. package/dist/types/components/errors/http-401/src/Http401.d.ts +9 -0
  87. package/dist/types/components/errors/http-401/src/index.d.ts +2 -0
  88. package/dist/types/components/errors/http-403/src/Http403.d.ts +9 -0
  89. package/dist/types/components/errors/http-403/src/index.d.ts +2 -0
  90. package/dist/types/components/errors/http-404/src/Http404.d.ts +9 -0
  91. package/dist/types/components/errors/http-404/src/index.d.ts +2 -0
  92. package/dist/types/components/errors/http-405/src/Http405.d.ts +9 -0
  93. package/dist/types/components/errors/http-405/src/index.d.ts +2 -0
  94. package/dist/types/components/errors/http-408/src/Http408.d.ts +9 -0
  95. package/dist/types/components/errors/http-408/src/index.d.ts +2 -0
  96. package/dist/types/components/errors/http-429/src/Http429.d.ts +9 -0
  97. package/dist/types/components/errors/http-429/src/index.d.ts +2 -0
  98. package/dist/types/components/errors/http-500/src/Http500.d.ts +9 -0
  99. package/dist/types/components/errors/http-500/src/index.d.ts +2 -0
  100. package/dist/types/components/errors/http-502/src/Http502.d.ts +9 -0
  101. package/dist/types/components/errors/http-502/src/index.d.ts +2 -0
  102. package/dist/types/components/errors/http-503/src/Http503.d.ts +9 -0
  103. package/dist/types/components/errors/http-503/src/index.d.ts +2 -0
  104. package/dist/types/components/errors/http-504/src/Http504.d.ts +9 -0
  105. package/dist/types/components/errors/http-504/src/index.d.ts +2 -0
  106. package/dist/types/components/feedback/alert/src/Alert.d.ts +25 -0
  107. package/dist/types/components/feedback/alert/src/index.d.ts +2 -0
  108. package/dist/types/components/feedback/empty-state/src/EmptyState.d.ts +17 -0
  109. package/dist/types/components/feedback/empty-state/src/index.d.ts +2 -0
  110. package/dist/types/components/feedback/progress-bar/src/ProgressBar.d.ts +23 -0
  111. package/dist/types/components/feedback/progress-bar/src/index.d.ts +2 -0
  112. package/dist/types/components/feedback/skeleton/src/Skeleton.d.ts +15 -0
  113. package/dist/types/components/feedback/skeleton/src/index.d.ts +2 -0
  114. package/dist/types/components/feedback/spinner/src/Spinner.d.ts +13 -0
  115. package/dist/types/components/feedback/spinner/src/index.d.ts +2 -0
  116. package/dist/types/components/form/button/src/Button.d.ts +25 -0
  117. package/dist/types/components/form/button/src/index.d.ts +2 -0
  118. package/dist/types/components/form/checkbox/src/Checkbox.d.ts +19 -0
  119. package/dist/types/components/form/checkbox/src/index.d.ts +2 -0
  120. package/dist/types/components/form/color-picker/src/ColorPicker.d.ts +19 -0
  121. package/dist/types/components/form/color-picker/src/index.d.ts +2 -0
  122. package/dist/types/components/form/color-wheel/src/ColorWheel.d.ts +17 -0
  123. package/dist/types/components/form/color-wheel/src/index.d.ts +2 -0
  124. package/dist/types/components/form/datepicker/src/DatePicker.d.ts +23 -0
  125. package/dist/types/components/form/datepicker/src/index.d.ts +2 -0
  126. package/dist/types/components/form/file-upload/src/FileUpload.d.ts +19 -0
  127. package/dist/types/components/form/file-upload/src/index.d.ts +2 -0
  128. package/dist/types/components/form/multiline/src/MultilineField.d.ts +41 -0
  129. package/dist/types/components/form/multiline/src/index.d.ts +2 -0
  130. package/dist/types/components/form/number-spinner/src/NumberSpinner.d.ts +25 -0
  131. package/dist/types/components/form/number-spinner/src/index.d.ts +2 -0
  132. package/dist/types/components/form/radio/src/RadioGroup.d.ts +26 -0
  133. package/dist/types/components/form/radio/src/index.d.ts +2 -0
  134. package/dist/types/components/form/select/src/Select.d.ts +33 -0
  135. package/dist/types/components/form/select/src/index.d.ts +2 -0
  136. package/dist/types/components/form/slider/src/Slider.d.ts +33 -0
  137. package/dist/types/components/form/slider/src/index.d.ts +2 -0
  138. package/dist/types/components/form/texteditor/src/TextEditor.d.ts +46 -0
  139. package/dist/types/components/form/texteditor/src/index.d.ts +2 -0
  140. package/dist/types/components/form/textfield/src/TextField.d.ts +48 -0
  141. package/dist/types/components/form/textfield/src/index.d.ts +2 -0
  142. package/dist/types/components/form/timepicker/src/TimePicker.d.ts +29 -0
  143. package/dist/types/components/form/timepicker/src/index.d.ts +2 -0
  144. package/dist/types/components/form/toggle/src/Toggle.d.ts +19 -0
  145. package/dist/types/components/form/toggle/src/index.d.ts +2 -0
  146. package/dist/types/components/form/wrapper/src/FormFieldWrapper.d.ts +67 -0
  147. package/dist/types/components/form/wrapper/src/index.d.ts +2 -0
  148. package/dist/types/components/layout/card/src/Card.d.ts +31 -0
  149. package/dist/types/components/layout/card/src/index.d.ts +2 -0
  150. package/dist/types/components/layout/desktop-background/src/DesktopBackground.d.ts +23 -0
  151. package/dist/types/components/layout/desktop-background/src/index.d.ts +2 -0
  152. package/dist/types/components/layout/draggable-window/src/DraggableWindow.d.ts +59 -0
  153. package/dist/types/components/layout/draggable-window/src/index.d.ts +2 -0
  154. package/dist/types/components/layout/flex-container/src/FlexContainer.d.ts +42 -0
  155. package/dist/types/components/layout/flex-container/src/index.d.ts +2 -0
  156. package/dist/types/components/layout/footer/src/Footer.d.ts +25 -0
  157. package/dist/types/components/layout/footer/src/index.d.ts +2 -0
  158. package/dist/types/components/layout/grid/src/Grid.d.ts +54 -0
  159. package/dist/types/components/layout/grid/src/index.d.ts +2 -0
  160. package/dist/types/components/layout/panel/src/Panel.d.ts +23 -0
  161. package/dist/types/components/layout/panel/src/index.d.ts +2 -0
  162. package/dist/types/components/layout/scroll-container/src/ScrollContainer.d.ts +21 -0
  163. package/dist/types/components/layout/scroll-container/src/index.d.ts +2 -0
  164. package/dist/types/components/layout/splitter/src/Splitter.d.ts +19 -0
  165. package/dist/types/components/layout/splitter/src/index.d.ts +2 -0
  166. package/dist/types/components/layout/tabs/src/Tabs.d.ts +29 -0
  167. package/dist/types/components/layout/tabs/src/index.d.ts +2 -0
  168. package/dist/types/components/layout/window-manager/src/WindowManager.d.ts +106 -0
  169. package/dist/types/components/layout/window-manager/src/index.d.ts +2 -0
  170. package/dist/types/components/math/src/index.d.ts +5 -0
  171. package/dist/types/components/math/src/mat.d.ts +71 -0
  172. package/dist/types/components/math/src/mat4.d.ts +101 -0
  173. package/dist/types/components/math/src/quaternion.d.ts +62 -0
  174. package/dist/types/components/math/src/solver.d.ts +55 -0
  175. package/dist/types/components/math/src/vec.d.ts +54 -0
  176. package/dist/types/components/media/carousel/src/Carousel.d.ts +23 -0
  177. package/dist/types/components/media/carousel/src/index.d.ts +2 -0
  178. package/dist/types/components/media/image/src/Image.d.ts +23 -0
  179. package/dist/types/components/media/image/src/index.d.ts +2 -0
  180. package/dist/types/components/media/video-player/src/VideoPlayer.d.ts +27 -0
  181. package/dist/types/components/media/video-player/src/index.d.ts +2 -0
  182. package/dist/types/components/nav/accordion/src/Accordion.d.ts +52 -0
  183. package/dist/types/components/nav/accordion/src/index.d.ts +2 -0
  184. package/dist/types/components/nav/breadcrumb/src/Breadcrumb.d.ts +20 -0
  185. package/dist/types/components/nav/breadcrumb/src/index.d.ts +2 -0
  186. package/dist/types/components/nav/dock/src/Dock.d.ts +46 -0
  187. package/dist/types/components/nav/dock/src/index.d.ts +2 -0
  188. package/dist/types/components/nav/dropdown/src/Dropdown.d.ts +36 -0
  189. package/dist/types/components/nav/dropdown/src/index.d.ts +2 -0
  190. package/dist/types/components/nav/menubar/src/Menubar.d.ts +27 -0
  191. package/dist/types/components/nav/menubar/src/index.d.ts +2 -0
  192. package/dist/types/components/nav/pagination/src/Pagination.d.ts +19 -0
  193. package/dist/types/components/nav/pagination/src/index.d.ts +2 -0
  194. package/dist/types/components/nav/sidebar/src/Sidebar.d.ts +29 -0
  195. package/dist/types/components/nav/sidebar/src/index.d.ts +2 -0
  196. package/dist/types/components/nav/stepper/src/Stepper.d.ts +25 -0
  197. package/dist/types/components/nav/stepper/src/index.d.ts +2 -0
  198. package/dist/types/components/nav/system-tray/src/SystemTray.d.ts +47 -0
  199. package/dist/types/components/nav/system-tray/src/index.d.ts +2 -0
  200. package/dist/types/components/nav/toolbar/src/Toolbar.d.ts +27 -0
  201. package/dist/types/components/nav/toolbar/src/index.d.ts +2 -0
  202. package/dist/types/components/nav/treenav/src/TreeNav.d.ts +34 -0
  203. package/dist/types/components/nav/treenav/src/TreeNode.d.ts +74 -0
  204. package/dist/types/components/nav/treenav/src/index.d.ts +4 -0
  205. package/dist/types/components/nav/wrapper/src/NavWrapper.d.ts +73 -0
  206. package/dist/types/components/nav/wrapper/src/index.d.ts +2 -0
  207. package/dist/types/components/overlay/context-menu/src/ContextMenu.d.ts +21 -0
  208. package/dist/types/components/overlay/context-menu/src/index.d.ts +2 -0
  209. package/dist/types/components/overlay/drawer/src/Drawer.d.ts +22 -0
  210. package/dist/types/components/overlay/drawer/src/index.d.ts +2 -0
  211. package/dist/types/components/overlay/modal/src/Modal.d.ts +22 -0
  212. package/dist/types/components/overlay/modal/src/index.d.ts +2 -0
  213. package/dist/types/components/overlay/popover/src/Popover.d.ts +20 -0
  214. package/dist/types/components/overlay/popover/src/index.d.ts +2 -0
  215. package/dist/types/components/overlay/toast/src/Toast.d.ts +59 -0
  216. package/dist/types/components/overlay/toast/src/index.d.ts +2 -0
  217. package/dist/types/components/overlay/tooltip/src/Tooltip.d.ts +14 -0
  218. package/dist/types/components/overlay/tooltip/src/index.d.ts +2 -0
  219. package/dist/types/components/page/ide/src/IDE.d.ts +5 -0
  220. package/dist/types/components/page/ide/src/index.d.ts +2 -0
  221. package/dist/types/components/page/trading-dashboard/src/TradingDashboard.d.ts +5 -0
  222. package/dist/types/components/page/trading-dashboard/src/index.d.ts +2 -0
  223. package/dist/types/components/page/unity-desktop/src/UnityApp.d.ts +30 -0
  224. package/dist/types/components/page/unity-desktop/src/UnityDesktop.d.ts +30 -0
  225. package/dist/types/components/page/unity-desktop/src/index.d.ts +4 -0
  226. package/dist/types/components/page/word-processor/src/WordProcessor.d.ts +7 -0
  227. package/dist/types/components/page/word-processor/src/index.d.ts +2 -0
  228. package/dist/types/components/profiler.d.ts +6 -0
  229. package/dist/types/components/profiler.d.ts.map +1 -0
  230. package/dist/types/components/strict-mode.d.ts +6 -0
  231. package/dist/types/components/strict-mode.d.ts.map +1 -0
  232. package/dist/types/components/suspense.d.ts +6 -0
  233. package/dist/types/components/suspense.d.ts.map +1 -0
  234. package/dist/types/components/viz/2D-bar-graph/src/BarGraph.d.ts +61 -0
  235. package/dist/types/components/viz/2D-bar-graph/src/index.d.ts +2 -0
  236. package/dist/types/components/viz/2D-cartesian-raw/src/CartesianGraph2D.d.ts +40 -0
  237. package/dist/types/components/viz/2D-cartesian-raw/src/index.d.ts +2 -0
  238. package/dist/types/components/viz/2D-complex-graph/src/ComplexGraph2D.d.ts +33 -0
  239. package/dist/types/components/viz/2D-complex-graph/src/index.d.ts +2 -0
  240. package/dist/types/components/viz/2D-discrete-cartesian/src/DiscreteCartesian2D.d.ts +31 -0
  241. package/dist/types/components/viz/2D-discrete-cartesian/src/index.d.ts +2 -0
  242. package/dist/types/components/viz/2D-line-graph/src/LineGraph.d.ts +53 -0
  243. package/dist/types/components/viz/2D-line-graph/src/index.d.ts +2 -0
  244. package/dist/types/components/viz/2D-pie-graph/src/PieGraph.d.ts +49 -0
  245. package/dist/types/components/viz/2D-pie-graph/src/index.d.ts +3 -0
  246. package/dist/types/components/viz/2D-polar-graph/src/PolarGraph2D.d.ts +35 -0
  247. package/dist/types/components/viz/2D-polar-graph/src/index.d.ts +2 -0
  248. package/dist/types/components/viz/3d-layers/src/ThreeDLayers.d.ts +35 -0
  249. package/dist/types/components/viz/3d-layers/src/index.d.ts +2 -0
  250. package/dist/types/components/viz/3dSpace/src/Space3D.d.ts +63 -0
  251. package/dist/types/components/viz/3dSpace/src/animation.d.ts +75 -0
  252. package/dist/types/components/viz/3dSpace/src/bounds.d.ts +36 -0
  253. package/dist/types/components/viz/3dSpace/src/camera-controller.d.ts +59 -0
  254. package/dist/types/components/viz/3dSpace/src/camera.d.ts +43 -0
  255. package/dist/types/components/viz/3dSpace/src/collision.d.ts +54 -0
  256. package/dist/types/components/viz/3dSpace/src/cpu-pipeline.d.ts +47 -0
  257. package/dist/types/components/viz/3dSpace/src/index.d.ts +32 -0
  258. package/dist/types/components/viz/3dSpace/src/light.d.ts +23 -0
  259. package/dist/types/components/viz/3dSpace/src/lighting-model.d.ts +34 -0
  260. package/dist/types/components/viz/3dSpace/src/material.d.ts +12 -0
  261. package/dist/types/components/viz/3dSpace/src/mesh.d.ts +35 -0
  262. package/dist/types/components/viz/3dSpace/src/picking.d.ts +51 -0
  263. package/dist/types/components/viz/3dSpace/src/render-pipeline.d.ts +12 -0
  264. package/dist/types/components/viz/3dSpace/src/scene-graph.d.ts +20 -0
  265. package/dist/types/components/viz/3dSpace/src/scene-object.d.ts +31 -0
  266. package/dist/types/components/viz/3dSpace/src/terrain.d.ts +34 -0
  267. package/dist/types/components/viz/3dSpace/src/texture.d.ts +22 -0
  268. package/dist/types/components/viz/3dSpace/src/types.d.ts +42 -0
  269. package/dist/types/components/viz/3dSpace/src/viewport.d.ts +19 -0
  270. package/dist/types/components/viz/3dSpace/src/webgl-pipeline.d.ts +54 -0
  271. package/dist/types/components/viz/big-number/src/BigNumber.d.ts +29 -0
  272. package/dist/types/components/viz/big-number/src/index.d.ts +2 -0
  273. package/dist/types/components/viz/bloch-sphere/src/BlochSphere.d.ts +73 -0
  274. package/dist/types/components/viz/bloch-sphere/src/index.d.ts +2 -0
  275. package/dist/types/components/viz/box-plot/src/BoxPlot.d.ts +47 -0
  276. package/dist/types/components/viz/box-plot/src/index.d.ts +2 -0
  277. package/dist/types/components/viz/bubble-chart/src/BubbleChart.d.ts +38 -0
  278. package/dist/types/components/viz/bubble-chart/src/index.d.ts +2 -0
  279. package/dist/types/components/viz/calendar-heat-map/src/CalendarHeatMap.d.ts +29 -0
  280. package/dist/types/components/viz/calendar-heat-map/src/index.d.ts +2 -0
  281. package/dist/types/components/viz/chord/src/ChordDiagram.d.ts +25 -0
  282. package/dist/types/components/viz/chord/src/index.d.ts +2 -0
  283. package/dist/types/components/viz/decomposition-tree/src/DecompositionTree.d.ts +33 -0
  284. package/dist/types/components/viz/decomposition-tree/src/index.d.ts +2 -0
  285. package/dist/types/components/viz/earth-globe/src/EarthGlobe.d.ts +62 -0
  286. package/dist/types/components/viz/earth-globe/src/globe-data.d.ts +23 -0
  287. package/dist/types/components/viz/earth-globe/src/index.d.ts +5 -0
  288. package/dist/types/components/viz/force-graph/src/ForceGraph.d.ts +99 -0
  289. package/dist/types/components/viz/force-graph/src/index.d.ts +2 -0
  290. package/dist/types/components/viz/funnel/src/FunnelChart.d.ts +28 -0
  291. package/dist/types/components/viz/funnel/src/index.d.ts +2 -0
  292. package/dist/types/components/viz/gantt-chart/src/GanttChart.d.ts +33 -0
  293. package/dist/types/components/viz/gantt-chart/src/index.d.ts +2 -0
  294. package/dist/types/components/viz/gauge/src/Gauge.d.ts +37 -0
  295. package/dist/types/components/viz/gauge/src/index.d.ts +2 -0
  296. package/dist/types/components/viz/graph/src/HypercubeGraph.d.ts +43 -0
  297. package/dist/types/components/viz/graph/src/hypercube.d.ts +78 -0
  298. package/dist/types/components/viz/graph/src/index.d.ts +4 -0
  299. package/dist/types/components/viz/heat-map/src/HeatMap.d.ts +29 -0
  300. package/dist/types/components/viz/heat-map/src/index.d.ts +2 -0
  301. package/dist/types/components/viz/histogram/src/Histogram.d.ts +27 -0
  302. package/dist/types/components/viz/histogram/src/index.d.ts +2 -0
  303. package/dist/types/components/viz/lollipop/src/LollipopChart.d.ts +32 -0
  304. package/dist/types/components/viz/lollipop/src/index.d.ts +2 -0
  305. package/dist/types/components/viz/matrix/src/Matrix.d.ts +29 -0
  306. package/dist/types/components/viz/matrix/src/index.d.ts +2 -0
  307. package/dist/types/components/viz/partition/src/Partition.d.ts +31 -0
  308. package/dist/types/components/viz/partition/src/index.d.ts +2 -0
  309. package/dist/types/components/viz/pivot-table/src/PivotTable.d.ts +25 -0
  310. package/dist/types/components/viz/pivot-table/src/index.d.ts +2 -0
  311. package/dist/types/components/viz/radar-chart/src/RadarChart.d.ts +35 -0
  312. package/dist/types/components/viz/radar-chart/src/index.d.ts +2 -0
  313. package/dist/types/components/viz/sankey/src/SankeyDiagram.d.ts +38 -0
  314. package/dist/types/components/viz/sankey/src/index.d.ts +2 -0
  315. package/dist/types/components/viz/sunburst/src/Sunburst.d.ts +27 -0
  316. package/dist/types/components/viz/sunburst/src/index.d.ts +2 -0
  317. package/dist/types/components/viz/tree-map/src/TreeMap.d.ts +29 -0
  318. package/dist/types/components/viz/tree-map/src/index.d.ts +2 -0
  319. package/dist/types/components/viz/us-state-map/src/USStateMap.d.ts +23 -0
  320. package/dist/types/components/viz/us-state-map/src/index.d.ts +4 -0
  321. package/dist/types/components/viz/us-state-map/src/us-state-paths.d.ts +10 -0
  322. package/dist/types/components/viz/vector-field/src/VectorField.d.ts +61 -0
  323. package/dist/types/components/viz/vector-field/src/index.d.ts +2 -0
  324. package/dist/types/components/viz/waterfall/src/WaterfallChart.d.ts +32 -0
  325. package/dist/types/components/viz/waterfall/src/index.d.ts +2 -0
  326. package/dist/types/components/viz/word-cloud/src/WordCloud.d.ts +30 -0
  327. package/dist/types/components/viz/word-cloud/src/index.d.ts +2 -0
  328. package/dist/types/components/viz/wrapper/src/VizWrapper.d.ts +60 -0
  329. package/dist/types/components/viz/wrapper/src/index.d.ts +2 -0
  330. package/dist/types/compute/context.d.ts +20 -0
  331. package/dist/types/compute/context.d.ts.map +1 -0
  332. package/dist/types/compute/cpu-backend.d.ts +15 -0
  333. package/dist/types/compute/cpu-backend.d.ts.map +1 -0
  334. package/dist/types/compute/index.d.ts +3 -0
  335. package/dist/types/compute/index.d.ts.map +1 -0
  336. package/dist/types/compute/types.d.ts +57 -0
  337. package/dist/types/compute/types.d.ts.map +1 -0
  338. package/dist/types/compute/webgl-backend.d.ts +33 -0
  339. package/dist/types/compute/webgl-backend.d.ts.map +1 -0
  340. package/dist/types/compute/webgpu-backend.d.ts +50 -0
  341. package/dist/types/compute/webgpu-backend.d.ts.map +1 -0
  342. package/dist/types/context/create-context.d.ts +15 -0
  343. package/dist/types/context/create-context.d.ts.map +1 -0
  344. package/dist/types/core/children.d.ts +15 -0
  345. package/dist/types/core/children.d.ts.map +1 -0
  346. package/dist/types/core/clone-element.d.ts +10 -0
  347. package/dist/types/core/clone-element.d.ts.map +1 -0
  348. package/dist/types/core/create-element.d.ts +20 -0
  349. package/dist/types/core/create-element.d.ts.map +1 -0
  350. package/dist/types/core/create-ref.d.ts +7 -0
  351. package/dist/types/core/create-ref.d.ts.map +1 -0
  352. package/dist/types/core/fiber.d.ts +30 -0
  353. package/dist/types/core/fiber.d.ts.map +1 -0
  354. package/dist/types/core/forward-ref.d.ts +16 -0
  355. package/dist/types/core/forward-ref.d.ts.map +1 -0
  356. package/dist/types/core/fragment.d.ts +6 -0
  357. package/dist/types/core/fragment.d.ts.map +1 -0
  358. package/dist/types/core/is-valid-element.d.ts +7 -0
  359. package/dist/types/core/is-valid-element.d.ts.map +1 -0
  360. package/dist/types/core/lanes.d.ts +47 -0
  361. package/dist/types/core/lanes.d.ts.map +1 -0
  362. package/dist/types/core/lazy.d.ts +20 -0
  363. package/dist/types/core/lazy.d.ts.map +1 -0
  364. package/dist/types/core/memo.d.ts +13 -0
  365. package/dist/types/core/memo.d.ts.map +1 -0
  366. package/dist/types/core/reconciler.d.ts +12 -0
  367. package/dist/types/core/reconciler.d.ts.map +1 -0
  368. package/dist/types/core/scheduler-host-config.d.ts +37 -0
  369. package/dist/types/core/scheduler-host-config.d.ts.map +1 -0
  370. package/dist/types/core/scheduler.d.ts +29 -0
  371. package/dist/types/core/scheduler.d.ts.map +1 -0
  372. package/dist/types/core/src/build/index.d.ts +4 -0
  373. package/dist/types/core/src/build/noscript-plugin.d.ts +62 -0
  374. package/dist/types/core/src/build/seo-plugin.d.ts +42 -0
  375. package/dist/types/core/src/client/graphql.d.ts +63 -0
  376. package/dist/types/core/src/client/index.d.ts +3 -0
  377. package/dist/types/core/src/client/protobuf.d.ts +39 -0
  378. package/dist/types/core/src/client/rest.d.ts +60 -0
  379. package/dist/types/core/src/components/component.d.ts +38 -0
  380. package/dist/types/core/src/components/error-boundary.d.ts +22 -0
  381. package/dist/types/core/src/components/profiler.d.ts +5 -0
  382. package/dist/types/core/src/components/strict-mode.d.ts +5 -0
  383. package/dist/types/core/src/components/suspense.d.ts +5 -0
  384. package/dist/types/core/src/components-barrel.d.ts +100 -0
  385. package/dist/types/core/src/compute/context.d.ts +19 -0
  386. package/dist/types/core/src/compute/cpu-backend.d.ts +14 -0
  387. package/dist/types/core/src/compute/index.d.ts +2 -0
  388. package/dist/types/core/src/compute/types.d.ts +56 -0
  389. package/dist/types/core/src/compute/webgl-backend.d.ts +32 -0
  390. package/dist/types/core/src/compute/webgpu-backend.d.ts +49 -0
  391. package/dist/types/core/src/context/create-context.d.ts +14 -0
  392. package/dist/types/core/src/core/children.d.ts +14 -0
  393. package/dist/types/core/src/core/clone-element.d.ts +9 -0
  394. package/dist/types/core/src/core/create-element.d.ts +19 -0
  395. package/dist/types/core/src/core/create-ref.d.ts +6 -0
  396. package/dist/types/core/src/core/fiber.d.ts +29 -0
  397. package/dist/types/core/src/core/forward-ref.d.ts +15 -0
  398. package/dist/types/core/src/core/fragment.d.ts +5 -0
  399. package/dist/types/core/src/core/is-valid-element.d.ts +6 -0
  400. package/dist/types/core/src/core/lanes.d.ts +46 -0
  401. package/dist/types/core/src/core/lazy.d.ts +19 -0
  402. package/dist/types/core/src/core/memo.d.ts +12 -0
  403. package/dist/types/core/src/core/reconciler.d.ts +11 -0
  404. package/dist/types/core/src/core/scheduler-host-config.d.ts +36 -0
  405. package/dist/types/core/src/core/scheduler.d.ts +28 -0
  406. package/dist/types/core/src/core/transitions.d.ts +31 -0
  407. package/dist/types/core/src/devtools/index.d.ts +21 -0
  408. package/dist/types/core/src/dom/create-portal.d.ts +6 -0
  409. package/dist/types/core/src/dom/create-root.d.ts +23 -0
  410. package/dist/types/core/src/dom/flush-sync.d.ts +1 -0
  411. package/dist/types/core/src/dom/index.d.ts +4 -0
  412. package/dist/types/core/src/dom/legacy.d.ts +16 -0
  413. package/dist/types/core/src/dom/synthetic-event.d.ts +90 -0
  414. package/dist/types/core/src/dom/work-loop.d.ts +34 -0
  415. package/dist/types/core/src/features/feature-flags.d.ts +38 -0
  416. package/dist/types/core/src/features/index.d.ts +27 -0
  417. package/dist/types/core/src/hooks/dispatcher.d.ts +26 -0
  418. package/dist/types/core/src/hooks/hook-state.d.ts +46 -0
  419. package/dist/types/core/src/hooks/index.d.ts +47 -0
  420. package/dist/types/core/src/hooks/install-dispatcher.d.ts +2 -0
  421. package/dist/types/core/src/hooks/use-head.d.ts +54 -0
  422. package/dist/types/core/src/index.d.ts +23 -0
  423. package/dist/types/core/src/jsx-dev-runtime.d.ts +1 -0
  424. package/dist/types/core/src/jsx-runtime.d.ts +7 -0
  425. package/dist/types/core/src/router/index.d.ts +12 -0
  426. package/dist/types/core/src/router/link-component.d.ts +16 -0
  427. package/dist/types/core/src/router/match-path.d.ts +28 -0
  428. package/dist/types/core/src/router/route-component.d.ts +12 -0
  429. package/dist/types/core/src/router/router-component.d.ts +5 -0
  430. package/dist/types/core/src/router/router-context.d.ts +13 -0
  431. package/dist/types/core/src/router/router-store.d.ts +22 -0
  432. package/dist/types/core/src/router/use-navigate.d.ts +4 -0
  433. package/dist/types/core/src/router/use-params.d.ts +2 -0
  434. package/dist/types/core/src/router/use-router.d.ts +3 -0
  435. package/dist/types/core/src/server/index.d.ts +3 -0
  436. package/dist/types/core/src/server/render-to-pipeable-stream.d.ts +31 -0
  437. package/dist/types/core/src/server/render-to-readable-stream.d.ts +19 -0
  438. package/dist/types/core/src/server/render-to-string.d.ts +25 -0
  439. package/dist/types/core/src/shared/act.d.ts +1 -0
  440. package/dist/types/core/src/shared/aria-warnings.d.ts +1 -0
  441. package/dist/types/core/src/shared/async-compute.d.ts +63 -0
  442. package/dist/types/core/src/shared/component-registry.d.ts +53 -0
  443. package/dist/types/core/src/shared/render-guard.d.ts +47 -0
  444. package/dist/types/core/src/shared/secure-fetch.d.ts +21 -0
  445. package/dist/types/core/src/shared/types.d.ts +127 -0
  446. package/dist/types/core/src/shared/warnings.d.ts +19 -0
  447. package/dist/types/core/src/telemetry/index.d.ts +2 -0
  448. package/dist/types/core/src/telemetry/metrics.d.ts +67 -0
  449. package/dist/types/core/src/telemetry/tracing.d.ts +95 -0
  450. package/dist/types/core/transitions.d.ts +32 -0
  451. package/dist/types/core/transitions.d.ts.map +1 -0
  452. package/dist/types/devtools/index.d.ts +22 -0
  453. package/dist/types/devtools/index.d.ts.map +1 -0
  454. package/dist/types/dom/create-portal.d.ts +7 -0
  455. package/dist/types/dom/create-portal.d.ts.map +1 -0
  456. package/dist/types/dom/create-root.d.ts +24 -0
  457. package/dist/types/dom/create-root.d.ts.map +1 -0
  458. package/dist/types/dom/flush-sync.d.ts +2 -0
  459. package/dist/types/dom/flush-sync.d.ts.map +1 -0
  460. package/dist/types/dom/index.d.ts +5 -0
  461. package/dist/types/dom/index.d.ts.map +1 -0
  462. package/dist/types/dom/legacy.d.ts +17 -0
  463. package/dist/types/dom/legacy.d.ts.map +1 -0
  464. package/dist/types/dom/synthetic-event.d.ts +91 -0
  465. package/dist/types/dom/synthetic-event.d.ts.map +1 -0
  466. package/dist/types/dom/work-loop.d.ts +35 -0
  467. package/dist/types/dom/work-loop.d.ts.map +1 -0
  468. package/dist/types/features/feature-flags.d.ts +39 -0
  469. package/dist/types/features/feature-flags.d.ts.map +1 -0
  470. package/dist/types/features/index.d.ts +28 -0
  471. package/dist/types/features/index.d.ts.map +1 -0
  472. package/dist/types/hooks/dispatcher.d.ts +27 -0
  473. package/dist/types/hooks/dispatcher.d.ts.map +1 -0
  474. package/dist/types/hooks/hook-state.d.ts +47 -0
  475. package/dist/types/hooks/hook-state.d.ts.map +1 -0
  476. package/dist/types/hooks/index.d.ts +48 -0
  477. package/dist/types/hooks/index.d.ts.map +1 -0
  478. package/dist/types/hooks/install-dispatcher.d.ts +3 -0
  479. package/dist/types/hooks/install-dispatcher.d.ts.map +1 -0
  480. package/dist/types/hooks/use-head.d.ts +55 -0
  481. package/dist/types/hooks/use-head.d.ts.map +1 -0
  482. package/dist/types/index.d.ts +24 -0
  483. package/dist/types/index.d.ts.map +1 -0
  484. package/dist/types/jsx-dev-runtime.d.ts +2 -0
  485. package/dist/types/jsx-dev-runtime.d.ts.map +1 -0
  486. package/dist/types/jsx-runtime.d.ts +8 -0
  487. package/dist/types/jsx-runtime.d.ts.map +1 -0
  488. package/dist/types/router/index.d.ts +13 -0
  489. package/dist/types/router/index.d.ts.map +1 -0
  490. package/dist/types/router/link-component.d.ts +17 -0
  491. package/dist/types/router/link-component.d.ts.map +1 -0
  492. package/dist/types/router/match-path.d.ts +29 -0
  493. package/dist/types/router/match-path.d.ts.map +1 -0
  494. package/dist/types/router/route-component.d.ts +13 -0
  495. package/dist/types/router/route-component.d.ts.map +1 -0
  496. package/dist/types/router/router-component.d.ts +6 -0
  497. package/dist/types/router/router-component.d.ts.map +1 -0
  498. package/dist/types/router/router-context.d.ts +14 -0
  499. package/dist/types/router/router-context.d.ts.map +1 -0
  500. package/dist/types/router/router-store.d.ts +23 -0
  501. package/dist/types/router/router-store.d.ts.map +1 -0
  502. package/dist/types/router/use-navigate.d.ts +5 -0
  503. package/dist/types/router/use-navigate.d.ts.map +1 -0
  504. package/dist/types/router/use-params.d.ts +3 -0
  505. package/dist/types/router/use-params.d.ts.map +1 -0
  506. package/dist/types/router/use-router.d.ts +4 -0
  507. package/dist/types/router/use-router.d.ts.map +1 -0
  508. package/dist/types/server/index.d.ts +4 -0
  509. package/dist/types/server/index.d.ts.map +1 -0
  510. package/dist/types/server/render-to-pipeable-stream.d.ts +32 -0
  511. package/dist/types/server/render-to-pipeable-stream.d.ts.map +1 -0
  512. package/dist/types/server/render-to-readable-stream.d.ts +20 -0
  513. package/dist/types/server/render-to-readable-stream.d.ts.map +1 -0
  514. package/dist/types/server/render-to-string.d.ts +26 -0
  515. package/dist/types/server/render-to-string.d.ts.map +1 -0
  516. package/dist/types/shared/act.d.ts +2 -0
  517. package/dist/types/shared/act.d.ts.map +1 -0
  518. package/dist/types/shared/aria-warnings.d.ts +2 -0
  519. package/dist/types/shared/aria-warnings.d.ts.map +1 -0
  520. package/dist/types/shared/async-compute.d.ts +64 -0
  521. package/dist/types/shared/async-compute.d.ts.map +1 -0
  522. package/dist/types/shared/component-registry.d.ts +54 -0
  523. package/dist/types/shared/component-registry.d.ts.map +1 -0
  524. package/dist/types/shared/render-guard.d.ts +48 -0
  525. package/dist/types/shared/render-guard.d.ts.map +1 -0
  526. package/dist/types/shared/secure-fetch.d.ts +22 -0
  527. package/dist/types/shared/secure-fetch.d.ts.map +1 -0
  528. package/dist/types/shared/types.d.ts +128 -0
  529. package/dist/types/shared/types.d.ts.map +1 -0
  530. package/dist/types/shared/warnings.d.ts +20 -0
  531. package/dist/types/shared/warnings.d.ts.map +1 -0
  532. package/dist/types/telemetry/index.d.ts +3 -0
  533. package/dist/types/telemetry/index.d.ts.map +1 -0
  534. package/dist/types/telemetry/metrics.d.ts +68 -0
  535. package/dist/types/telemetry/metrics.d.ts.map +1 -0
  536. package/dist/types/telemetry/tracing.d.ts +96 -0
  537. package/dist/types/telemetry/tracing.d.ts.map +1 -0
  538. package/package.json +8 -17
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webgl-backend.d.ts","sourceRoot":"","sources":["../../../src/compute/webgl-backend.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAOnG;;;;;;GAMG;AAEH,qBAAa,YAAa,YAAW,cAAc;IACjD,kBAAkB;IAClB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAKxB;IAEF,gEAAgE;IAChE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC;;;;;OAKG;IACH,WAAW,IAAI,OAAO;IActB,8DAA8D;IACxD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;;;;OAKG;IACG,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAI9E,0DAA0D;IAC1D,OAAO,IAAI,IAAI;CAGhB"}
@@ -0,0 +1,50 @@
1
+ import type { BackendInfo, ComputeBackend, KernelName, KernelParams, KernelResult } from './types';
2
+ /**
3
+ * WebGPU compute backend.
4
+ *
5
+ * When a real GPU device is available the backend compiles WGSL shaders and
6
+ * dispatches compute workgroups. If the device cannot be obtained the backend
7
+ * reports itself as unavailable during {@link init}.
8
+ *
9
+ * Shader execution paths are marked with `v8 ignore` because they require a
10
+ * live GPU device which is not present in jsdom/unit-test environments.
11
+ */
12
+ export declare class WebGpuBackend implements ComputeBackend {
13
+ /** @inheritdoc */
14
+ readonly info: BackendInfo;
15
+ /** GPU device handle — populated by {@link init}. */
16
+ private _device;
17
+ /** CPU fallback used when GPU dispatch is not yet possible. */
18
+ private readonly _cpuFallback;
19
+ /** Reference to the WGSL shader source for matrix-multiply. */
20
+ private readonly _matrixMultiplyWgsl;
21
+ /**
22
+ * Returns true when the WebGPU API is exposed by the runtime.
23
+ * This does not guarantee that a usable adapter exists — call {@link init}
24
+ * to confirm device availability.
25
+ */
26
+ isAvailable(): boolean;
27
+ /**
28
+ * Request a GPU adapter and device. If neither can be obtained the backend
29
+ * silently degrades; subsequent {@link execute} calls will throw.
30
+ */
31
+ init(): Promise<void>;
32
+ /**
33
+ * Execute the named kernel on the GPU.
34
+ *
35
+ * If no device is available an error is thrown — callers should check
36
+ * {@link isAvailable} or use the auto-detection in
37
+ * {@link createComputeContext}.
38
+ */
39
+ execute(kernel: KernelName, params: KernelParams): Promise<KernelResult>;
40
+ /**
41
+ * Internal dispatch — compiles the appropriate WGSL shader and runs the
42
+ * compute pipeline for the given kernel.
43
+ */
44
+ private _dispatchKernel;
45
+ /** Return the WGSL source for a kernel, or null if not yet implemented. */
46
+ private _getShaderSource;
47
+ /** Release the GPU device and associated resources. */
48
+ dispose(): void;
49
+ }
50
+ //# sourceMappingURL=webgpu-backend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webgpu-backend.d.ts","sourceRoot":"","sources":["../../../src/compute/webgpu-backend.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqCnG;;;;;;;;;GASG;AAEH,qBAAa,aAAc,YAAW,cAAc;IAClD,kBAAkB;IAClB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAIxB;IAEF,qDAAqD;IACrD,OAAO,CAAC,OAAO,CAA0B;IAEzC,+DAA+D;IAC/D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoB;IAEjD,+DAA+D;IAC/D,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAwB;IAE5D;;;;OAIG;IACH,WAAW,IAAI,OAAO;IAItB;;;OAGG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB3B;;;;;;OAMG;IACG,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAe9E;;;OAGG;YACW,eAAe;IA2G7B,2EAA2E;IAC3E,OAAO,CAAC,gBAAgB;IAWxB,uDAAuD;IACvD,OAAO,IAAI,IAAI;CAOhB"}
@@ -0,0 +1,15 @@
1
+ import { SPEC_PROVIDER_TYPE, SPEC_CONSUMER_TYPE, type SpecContext } from '../shared/types';
2
+ export interface ContextProvider<T> {
3
+ $$typeof: typeof SPEC_PROVIDER_TYPE;
4
+ _context: SpecContext<T>;
5
+ }
6
+ export interface ContextConsumer<T> {
7
+ $$typeof: typeof SPEC_CONSUMER_TYPE;
8
+ _context: SpecContext<T>;
9
+ }
10
+ /**
11
+ * Creates a context object with Provider and Consumer.
12
+ * Equivalent to React.createContext.
13
+ */
14
+ export declare function createContext<T>(defaultValue: T): SpecContext<T>;
15
+ //# sourceMappingURL=create-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-context.d.ts","sourceRoot":"","sources":["../../../src/context/create-context.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,QAAQ,EAAE,OAAO,kBAAkB,CAAC;IACpC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,QAAQ,EAAE,OAAO,kBAAkB,CAAC;IACpC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAuBhE"}
@@ -0,0 +1,15 @@
1
+ import type { SpecNode, SpecChild, SpecElement } from '../shared/types';
2
+ declare function mapChildren(children: SpecNode, fn: (child: SpecChild, index: number) => SpecChild): SpecChild[];
3
+ declare function forEachChildren(children: SpecNode, fn: (child: SpecChild, index: number) => void): void;
4
+ declare function countChildren(children: SpecNode): number;
5
+ declare function onlyChild(children: SpecNode): SpecElement;
6
+ declare function toArray(children: SpecNode): SpecChild[];
7
+ export declare const Children: {
8
+ map: typeof mapChildren;
9
+ forEach: typeof forEachChildren;
10
+ count: typeof countChildren;
11
+ only: typeof onlyChild;
12
+ toArray: typeof toArray;
13
+ };
14
+ export {};
15
+ //# sourceMappingURL=children.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"children.d.ts","sourceRoot":"","sources":["../../../src/core/children.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AA0BxE,iBAAS,WAAW,CAClB,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,GACjD,SAAS,EAAE,CAab;AAED,iBAAS,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAUhG;AAED,iBAAS,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAWjD;AAED,iBAAS,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAKlD;AAED,iBAAS,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAAE,CAGhD;AAED,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type SpecElement, type Props, type Key, type Ref } from '../shared/types';
2
+ /**
3
+ * Clones a SpecifyJS element with new props merged in.
4
+ * Equivalent to React.cloneElement.
5
+ */
6
+ export declare function cloneElement<P extends Props>(element: SpecElement<P>, config?: Partial<P> & {
7
+ key?: Key;
8
+ ref?: Ref;
9
+ }, ...children: unknown[]): SpecElement<P>;
10
+ //# sourceMappingURL=clone-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-element.d.ts","sourceRoot":"","sources":["../../../src/core/clone-element.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,GAAG,EACT,MAAM,iBAAiB,CAAC;AAGzB;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAC1C,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EACvB,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,EAC9C,GAAG,QAAQ,EAAE,OAAO,EAAE,GACrB,WAAW,CAAC,CAAC,CAAC,CA4ChB"}
@@ -0,0 +1,20 @@
1
+ import { type SpecElement, type ComponentType, type Props, type Key, type Ref } from '../shared/types';
2
+ /**
3
+ * Creates a SpecifyJS element (virtual DOM node).
4
+ * Equivalent to React.createElement.
5
+ */
6
+ export declare function createElement<P extends Props>(type: ComponentType<P>, config: (Omit<P, 'children'> & {
7
+ key?: Key;
8
+ ref?: Ref;
9
+ }) | null, ...children: unknown[]): SpecElement<P>;
10
+ /**
11
+ * Creates a factory function for producing elements of a given type.
12
+ * Legacy API — equivalent to React.createFactory.
13
+ *
14
+ * @deprecated Use createElement directly or JSX instead.
15
+ */
16
+ export declare function createFactory<P extends Props>(type: ComponentType<P>): (config?: (Omit<P, 'children'> & {
17
+ key?: Key;
18
+ ref?: Ref;
19
+ }) | null, ...children: unknown[]) => SpecElement<P>;
20
+ //# sourceMappingURL=create-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-element.d.ts","sourceRoot":"","sources":["../../../src/core/create-element.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,GAAG,EACT,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,EACtB,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,GAAG,IAAI,EAC/D,GAAG,QAAQ,EAAE,OAAO,EAAE,GACrB,WAAW,CAAC,CAAC,CAAC,CAqDhB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,GACrB,CACD,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,GAAG,IAAI,EAChE,GAAG,QAAQ,EAAE,OAAO,EAAE,KACnB,WAAW,CAAC,CAAC,CAAC,CAElB"}
@@ -0,0 +1,7 @@
1
+ import type { RefObject } from '../shared/types';
2
+ /**
3
+ * Creates a ref object with a mutable .current property.
4
+ * Equivalent to React.createRef.
5
+ */
6
+ export declare function createRef<T = unknown>(): RefObject<T>;
7
+ //# sourceMappingURL=create-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-ref.d.ts","sourceRoot":"","sources":["../../../src/core/create-ref.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAErD"}
@@ -0,0 +1,30 @@
1
+ import { type Fiber, type Props, type ComponentType, type Key, type Ref, type SpecElement, type SpecNode, FiberTag } from '../shared/types';
2
+ /**
3
+ * Determines the fiber tag for a given element type.
4
+ */
5
+ export declare function getFiberTag(type: ComponentType): FiberTag;
6
+ /**
7
+ * Creates a new fiber from a SpecifyJS element.
8
+ */
9
+ export declare function createFiberFromElement(element: SpecElement, lanes?: number): Fiber;
10
+ /**
11
+ * Creates a fiber for a text node.
12
+ */
13
+ export declare function createFiberFromText(content: string | number, lanes?: number): Fiber;
14
+ /**
15
+ * Creates the root fiber for a container.
16
+ */
17
+ export declare function createHostRootFiber(): Fiber;
18
+ /**
19
+ * Core fiber constructor.
20
+ */
21
+ export declare function createFiber(tag: FiberTag, type: ComponentType | null, key: Key, ref: Ref, pendingProps: Props, lanes: number): Fiber;
22
+ /**
23
+ * Creates a working-in-progress clone of an existing fiber.
24
+ */
25
+ export declare function createWorkInProgress(current: Fiber, pendingProps: Props): Fiber;
26
+ /**
27
+ * Converts SpecNode children into fiber-compatible form.
28
+ */
29
+ export declare function coerceToFiberChildren(children: SpecNode): Array<SpecElement | string | number>;
30
+ //# sourceMappingURL=fiber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fiber.d.ts","sourceRoot":"","sources":["../../../src/core/fiber.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,GAAG,EACR,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,QAAQ,EAWT,MAAM,iBAAiB,CAAC;AAGzB;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,QAAQ,CAyBzD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,GAAE,MAAU,GAAG,KAAK,CAIrF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,GAAE,MAAU,GAAG,KAAK,CAStF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,KAAK,CAE3C;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,aAAa,GAAG,IAAI,EAC1B,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,MAAM,GACZ,KAAK,CAqBP;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,GAAG,KAAK,CA6B/E;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAAC,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC,CAqB9F"}
@@ -0,0 +1,16 @@
1
+ import { SPEC_FORWARD_REF_TYPE, type Props, type Ref, type SpecNode } from '../shared/types';
2
+ export interface ForwardRefRenderFunction<T, P extends Props = Props> {
3
+ (props: P, ref: Ref<T>): SpecNode;
4
+ displayName?: string;
5
+ }
6
+ export interface ForwardRefComponent<T, P extends Props = Props> {
7
+ $$typeof: typeof SPEC_FORWARD_REF_TYPE;
8
+ render: ForwardRefRenderFunction<T, P>;
9
+ displayName?: string;
10
+ }
11
+ /**
12
+ * Forwards a ref through a component to a child.
13
+ * Equivalent to React.forwardRef.
14
+ */
15
+ export declare function forwardRef<T, P extends Props = Props>(render: ForwardRefRenderFunction<T, P>): ForwardRefComponent<T, P>;
16
+ //# sourceMappingURL=forward-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forward-ref.d.ts","sourceRoot":"","sources":["../../../src/core/forward-ref.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,KAAK,KAAK,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE7F,MAAM,WAAW,wBAAwB,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,GAAG,KAAK;IAClE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,GAAG,KAAK;IAC7D,QAAQ,EAAE,OAAO,qBAAqB,CAAC;IACvC,MAAM,EAAE,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,MAAM,EAAE,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,GACrC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAM3B"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Fragment allows grouping children without adding extra DOM nodes.
3
+ * Usage: <Fragment>...</Fragment> or <>...</>
4
+ */
5
+ export declare const Fragment: symbol;
6
+ //# sourceMappingURL=fragment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fragment.d.ts","sourceRoot":"","sources":["../../../src/core/fragment.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,MAA2B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type SpecElement } from '../shared/types';
2
+ /**
3
+ * Checks if a value is a valid SpecifyJS element.
4
+ * Equivalent to React.isValidElement.
5
+ */
6
+ export declare function isValidElement(object: unknown): object is SpecElement;
7
+ //# sourceMappingURL=is-valid-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-valid-element.d.ts","sourceRoot":"","sources":["../../../src/core/is-valid-element.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,WAAW,CAMrE"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Lane-based priority system for concurrent rendering.
3
+ *
4
+ * Lanes are bitmask values representing priority levels. Lower bits = higher
5
+ * priority. Multiple lanes can be active simultaneously. The scheduler uses
6
+ * lanes to determine which work to process first and whether to interrupt
7
+ * lower-priority work for higher-priority updates.
8
+ */
9
+ export declare const NoLane = 0;
10
+ export declare const NoLanes = 0;
11
+ /** Synchronous, blocking — used by flushSync */
12
+ export declare const SyncLane = 1;
13
+ /** Continuous user input — drag, scroll, hover */
14
+ export declare const InputContinuousLane = 2;
15
+ /** Default priority — normal state updates */
16
+ export declare const DefaultLane = 4;
17
+ /** First transition lane — startTransition */
18
+ export declare const TransitionLane1 = 8;
19
+ /** Second transition lane — concurrent transitions */
20
+ export declare const TransitionLane2 = 16;
21
+ /** Retry lane — Suspense retries */
22
+ export declare const RetryLane = 32;
23
+ /** Idle priority — offscreen/low-priority work */
24
+ export declare const IdleLane = 64;
25
+ /** Offscreen rendering (future) */
26
+ export declare const OffscreenLane = 128;
27
+ /** All non-idle lanes */
28
+ export declare const NonIdleLanes: number;
29
+ /** Combine two lane sets. */
30
+ export declare function mergeLanes(a: number, b: number): number;
31
+ /** Check if `subset` is entirely contained within `set`. */
32
+ export declare function isSubsetOfLanes(set: number, subset: number): boolean;
33
+ /** Check if `a` and `b` share any lanes. */
34
+ export declare function includesSomeLane(a: number, b: number): boolean;
35
+ /** Remove `subset` lanes from `set`. */
36
+ export declare function removeLanes(set: number, subset: number): number;
37
+ /**
38
+ * Isolate the highest-priority (lowest-bit) lane from a lane set.
39
+ * Uses the two's complement trick: `lanes & -lanes` isolates the rightmost set bit.
40
+ */
41
+ export declare function getHighestPriorityLane(lanes: number): number;
42
+ /** Check if a lane set is empty. */
43
+ export declare function isEmpty(lanes: number): boolean;
44
+ /** Timeout in ms before a pending lane is promoted to SyncLane. -1 = never. */
45
+ export declare function laneExpirationMs(lane: number): number;
46
+ export declare function claimNextTransitionLane(): number;
47
+ //# sourceMappingURL=lanes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lanes.d.ts","sourceRoot":"","sources":["../../../src/core/lanes.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAMH,eAAO,MAAM,MAAM,IAAI,CAAC;AACxB,eAAO,MAAM,OAAO,IAAI,CAAC;AAEzB,gDAAgD;AAChD,eAAO,MAAM,QAAQ,IAAkC,CAAC;AAExD,kDAAkD;AAClD,eAAO,MAAM,mBAAmB,IAAuB,CAAC;AAExD,8CAA8C;AAC9C,eAAO,MAAM,WAAW,IAA+B,CAAC;AAExD,8CAA8C;AAC9C,eAAO,MAAM,eAAe,IAA2B,CAAC;AAExD,sDAAsD;AACtD,eAAO,MAAM,eAAe,KAA2B,CAAC;AAExD,oCAAoC;AACpC,eAAO,MAAM,SAAS,KAAiC,CAAC;AAExD,kDAAkD;AAClD,eAAO,MAAM,QAAQ,KAAkC,CAAC;AAExD,mCAAmC;AACnC,eAAO,MAAM,aAAa,MAA6B,CAAC;AAExD,yBAAyB;AACzB,eAAO,MAAM,YAAY,QACqE,CAAC;AAM/F,6BAA6B;AAC7B,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,4DAA4D;AAC5D,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAEpE;AAED,4CAA4C;AAC5C,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE9D;AAED,wCAAwC;AACxC,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,oCAAoC;AACpC,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE9C;AAMD,+EAA+E;AAC/E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAkBrD;AAQD,wBAAgB,uBAAuB,IAAI,MAAM,CAIhD"}
@@ -0,0 +1,20 @@
1
+ import { SPEC_LAZY_TYPE, type Props, type ComponentType } from '../shared/types';
2
+ type LazyStatus = 'pending' | 'resolved' | 'rejected';
3
+ export interface LazyComponent<P extends Props = Props> {
4
+ $$typeof: typeof SPEC_LAZY_TYPE;
5
+ _payload: {
6
+ _status: LazyStatus;
7
+ _result: ComponentType<P> | unknown;
8
+ };
9
+ _init: () => ComponentType<P>;
10
+ displayName?: string;
11
+ }
12
+ /**
13
+ * Lazily loads a component. Must be used with Suspense.
14
+ * Equivalent to React.lazy.
15
+ */
16
+ export declare function lazy<P extends Props>(factory: () => Promise<{
17
+ default: ComponentType<P>;
18
+ }>): LazyComponent<P>;
19
+ export {};
20
+ //# sourceMappingURL=lazy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lazy.d.ts","sourceRoot":"","sources":["../../../src/core/lazy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,KAAK,KAAK,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEjF,KAAK,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAEtD,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK;IACpD,QAAQ,EAAE,OAAO,cAAc,CAAC;IAChC,QAAQ,EAAE;QACR,OAAO,EAAE,UAAU,CAAC;QACpB,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;KACrC,CAAC;IACF,KAAK,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,EAClC,OAAO,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,GACpD,aAAa,CAAC,CAAC,CAAC,CAqClB"}
@@ -0,0 +1,13 @@
1
+ import { SPEC_MEMO_TYPE, type Props, type ComponentType } from '../shared/types';
2
+ export interface MemoComponent<P extends Props = Props> {
3
+ $$typeof: typeof SPEC_MEMO_TYPE;
4
+ type: ComponentType<P>;
5
+ compare: ((prevProps: P, nextProps: P) => boolean) | null;
6
+ displayName?: string;
7
+ }
8
+ /**
9
+ * Memoizes a component, skipping re-render if props are shallowly equal.
10
+ * Equivalent to React.memo.
11
+ */
12
+ export declare function memo<P extends Props>(component: ComponentType<P>, compare?: (prevProps: P, nextProps: P) => boolean): MemoComponent<P>;
13
+ //# sourceMappingURL=memo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memo.d.ts","sourceRoot":"","sources":["../../../src/core/memo.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,KAAK,KAAK,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEjF,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK;IACpD,QAAQ,EAAE,OAAO,cAAc,CAAC;IAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,OAAO,CAAC,GAAG,IAAI,CAAC;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,EAClC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,EAC3B,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,OAAO,GAChD,aAAa,CAAC,CAAC,CAAC,CAUlB"}
@@ -0,0 +1,12 @@
1
+ import { type Fiber, type SpecNode } from '../shared/types';
2
+ /**
3
+ * The reconciler is responsible for diffing old and new virtual trees,
4
+ * producing a set of fiber effects (placement, update, deletion) that
5
+ * the renderer can apply to the host environment (DOM).
6
+ */
7
+ /**
8
+ * Reconciles the children of a fiber, producing a linked list of child fibers.
9
+ * This implements React's reconciliation algorithm including keyed diffing.
10
+ */
11
+ export declare function reconcileChildren(returnFiber: Fiber, currentFirstChild: Fiber | null, newChildren: SpecNode, lanes: number): Fiber | null;
12
+ //# sourceMappingURL=reconciler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reconciler.d.ts","sourceRoot":"","sources":["../../../src/core/reconciler.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,KAAK,EAGV,KAAK,QAAQ,EAId,MAAM,iBAAiB,CAAC;AAIzB;;;;GAIG;AAEH;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,KAAK,EAClB,iBAAiB,EAAE,KAAK,GAAG,IAAI,EAC/B,WAAW,EAAE,QAAQ,EACrB,KAAK,EAAE,MAAM,GACZ,KAAK,GAAG,IAAI,CAiBd"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Host scheduling configuration for concurrent rendering.
3
+ *
4
+ * Abstracts the platform-specific scheduling primitives behind a swappable
5
+ * interface. In browsers, uses MessageChannel for macrotask scheduling with
6
+ * a 5ms frame budget. In tests, can be replaced with a controllable mock.
7
+ */
8
+ export interface SchedulerCallback {
9
+ (): SchedulerCallback | null;
10
+ }
11
+ export interface CallbackNode {
12
+ callback: SchedulerCallback | null;
13
+ cancelled: boolean;
14
+ }
15
+ export declare function getCurrentTime(): number;
16
+ export declare function shouldYieldToHost(): boolean;
17
+ export declare function resetDeadline(): void;
18
+ /**
19
+ * Schedule a callback to run asynchronously. Returns a handle for cancellation.
20
+ * If the callback returns another function, that function is scheduled as a
21
+ * continuation (the work was interrupted and needs to resume).
22
+ */
23
+ export declare function scheduleCallback(callback: SchedulerCallback): CallbackNode;
24
+ /**
25
+ * Cancel a previously scheduled callback.
26
+ */
27
+ export declare function cancelCallback(node: CallbackNode): void;
28
+ /**
29
+ * Synchronously flush all pending scheduled work.
30
+ * Only use in tests — in production, work is scheduled asynchronously.
31
+ */
32
+ export declare function flushAllWork(): void;
33
+ /**
34
+ * Check if there is pending scheduled work.
35
+ */
36
+ export declare function hasPendingWork(): boolean;
37
+ //# sourceMappingURL=scheduler-host-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduler-host-config.d.ts","sourceRoot":"","sources":["../../../src/core/scheduler-host-config.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAMH,MAAM,WAAW,iBAAiB;IAChC,IAAI,iBAAiB,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC;CACpB;AAMD,wBAAgB,cAAc,IAAI,MAAM,CAIvC;AASD,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C;AAED,wBAAgB,aAAa,IAAI,IAAI,CAEpC;AAsDD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,YAAY,CAU1E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAMvD;AAMD;;;GAGG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAYnC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAExC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Minimal scheduler for batching updates and scheduling work.
3
+ * This is the internal engine that drives re-renders.
4
+ */
5
+ type Task = () => void;
6
+ /**
7
+ * Schedule a task. If inside a batch, it's deferred.
8
+ * Otherwise it runs synchronously (or via microtask).
9
+ */
10
+ export declare function scheduleUpdate(task: Task): void;
11
+ /**
12
+ * Run a callback inside a batch — all updates are deferred
13
+ * until the batch completes.
14
+ */
15
+ export declare function batchUpdates<T>(fn: () => T): T;
16
+ /**
17
+ * Flush all pending tasks synchronously.
18
+ */
19
+ export declare function flushPendingTasks(): void;
20
+ /**
21
+ * Schedule work via microtask for async batching.
22
+ */
23
+ export declare function scheduleMicrotask(fn: () => void): void;
24
+ /**
25
+ * Check if we're currently batching.
26
+ */
27
+ export declare function isBatching(): boolean;
28
+ export {};
29
+ //# sourceMappingURL=scheduler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/core/scheduler.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;AAMvB;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAa/C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAW9C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAOtD;AAED;;GAEG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
@@ -0,0 +1,4 @@
1
+ export { specifyJsSeoPlugin } from './seo-plugin';
2
+ export type { SeoPluginConfig } from './seo-plugin';
3
+ export { specifyJsNoscriptPlugin, generateNoscriptHtml, stripInteractiveElements, } from './noscript-plugin';
4
+ export type { NoscriptPluginConfig, NoscriptSection } from './noscript-plugin';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * SpecifyJS Noscript Plugin for Vite
3
+ *
4
+ * Generates a `<noscript>` fallback block inside the built index.html,
5
+ * providing a fully navigable static HTML document for environments
6
+ * where JavaScript is disabled (accessibility) or not executed
7
+ * (search engine crawlers).
8
+ *
9
+ * The noscript content is a single long-form document with:
10
+ * - A navigation bar with anchor links to each section
11
+ * - Each section rendered as semantic HTML (headings, paragraphs, lists)
12
+ * - Internal links mapped to `#section-id` anchors
13
+ *
14
+ * Usage in vite.config.ts:
15
+ * import { specifyJsNoscriptPlugin } from 'specifyjs/build';
16
+ * export default defineConfig({
17
+ * plugins: [
18
+ * specifyJsNoscriptPlugin({
19
+ * title: 'My App',
20
+ * sections: [
21
+ * { id: 'home', title: 'Home', html: '<h1>Welcome</h1><p>...</p>' },
22
+ * { id: 'docs', title: 'Docs', html: '<h2>Getting Started</h2>...' },
23
+ * ],
24
+ * }),
25
+ * ],
26
+ * });
27
+ */
28
+ import type { Plugin } from 'vite';
29
+ export interface NoscriptSection {
30
+ /** Anchor ID (used in href="#id" links) */
31
+ id: string;
32
+ /** Display title in the navigation bar */
33
+ title: string;
34
+ /** Static HTML content for this section.
35
+ * Can include headings, paragraphs, lists, tables, code blocks, images.
36
+ * Interactive elements (buttons, inputs) are stripped automatically. */
37
+ html: string;
38
+ }
39
+ export interface NoscriptPluginConfig {
40
+ /** Page title shown at the top of the noscript document */
41
+ title?: string;
42
+ /** Subtitle / description shown below the title */
43
+ description?: string;
44
+ /** Sections to render in the noscript block */
45
+ sections: NoscriptSection[];
46
+ /** Copyright notice shown at the bottom */
47
+ copyright?: string;
48
+ /** CSS class prefix for noscript elements (default: 'ns') */
49
+ classPrefix?: string;
50
+ /** Maximum content length in bytes before truncation warning (default: 512KB) */
51
+ maxContentSize?: number;
52
+ }
53
+ /**
54
+ * Strip interactive elements from HTML using a whitelist approach.
55
+ * Only allowed tags with allowed attributes are kept. All other
56
+ * tags are removed (their text content is preserved). This is
57
+ * immune to regex bypass attacks because unknown tags are never
58
+ * emitted — they're simply not in the whitelist.
59
+ */
60
+ export declare function stripInteractiveElements(html: string): string;
61
+ export declare function generateNoscriptHtml(config: NoscriptPluginConfig): string;
62
+ export declare function specifyJsNoscriptPlugin(config: NoscriptPluginConfig): Plugin;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * SpecifyJS SEO Plugin for Vite
3
+ * Auto-generates sitemap.xml, robots.txt, and llms.txt at build time.
4
+ *
5
+ * Usage in vite.config.ts:
6
+ * import { specifyJsSeoPlugin } from '@asymmetric-effort/specifyjs/build';
7
+ * export default defineConfig({ plugins: [specifyJsSeoPlugin({ ... })] });
8
+ */
9
+ import type { Plugin } from 'vite';
10
+ export interface SeoPluginConfig {
11
+ /** Base URL of the site (e.g., 'https://example.com') */
12
+ siteUrl: string;
13
+ /** Site title for llms.txt */
14
+ title?: string;
15
+ /** Site description for llms.txt */
16
+ description?: string;
17
+ /** Hash-based routes to include in sitemap */
18
+ routes?: string[];
19
+ /** Path to docs directory (generates doc routes in sitemap) */
20
+ docsDir?: string;
21
+ /** npm package name for llms.txt install instructions */
22
+ npmPackage?: string;
23
+ /** Author name for llms.txt */
24
+ author?: string;
25
+ /** License for llms.txt */
26
+ license?: string;
27
+ /** Additional robots.txt rules */
28
+ robotsRules?: string[];
29
+ /** Repository URL for llms.txt */
30
+ repository?: string;
31
+ /** Schema.org structured data (JSON-LD). When provided, a
32
+ * `<script type="application/ld+json">` block is injected into index.html.
33
+ * Can be a plain object or an array of objects for multiple schemas. */
34
+ jsonLd?: Record<string, unknown> | Record<string, unknown>[];
35
+ }
36
+ /**
37
+ * Create the SpecifyJS SEO Vite plugin.
38
+ *
39
+ * Generates sitemap.xml, robots.txt, and llms.txt in the build output directory
40
+ * during the closeBundle hook.
41
+ */
42
+ export declare function specifyJsSeoPlugin(config: SeoPluginConfig): Plugin;
@@ -0,0 +1,63 @@
1
+ export interface GraphQLError {
2
+ message: string;
3
+ locations?: {
4
+ line: number;
5
+ column: number;
6
+ }[];
7
+ path?: (string | number)[];
8
+ }
9
+ export interface GraphQLResponse<T> {
10
+ data: T | null;
11
+ errors: GraphQLError[] | null;
12
+ extensions?: Record<string, unknown>;
13
+ }
14
+ export interface GraphQLClientConfig {
15
+ url: string;
16
+ headers?: Record<string, string>;
17
+ credentials?: RequestCredentials;
18
+ cache?: boolean;
19
+ }
20
+ export interface GraphQLClient {
21
+ query<T>(query: string, variables?: Record<string, unknown>): Promise<GraphQLResponse<T>>;
22
+ mutate<T>(mutation: string, variables?: Record<string, unknown>): Promise<GraphQLResponse<T>>;
23
+ clearCache(): void;
24
+ invalidate(query: string): void;
25
+ }
26
+ export interface UseQueryOptions {
27
+ variables?: Record<string, unknown>;
28
+ deps?: readonly unknown[];
29
+ enabled?: boolean;
30
+ cache?: boolean;
31
+ }
32
+ export interface UseQueryResult<T> {
33
+ data: T | null;
34
+ loading: boolean;
35
+ error: GraphQLError[] | null;
36
+ refetch: () => void;
37
+ }
38
+ /**
39
+ * Tagged template literal for GraphQL queries.
40
+ * Returns the query string as-is. Provides editor syntax highlighting support.
41
+ */
42
+ export declare function gql(strings: TemplateStringsArray, ...values: unknown[]): string;
43
+ /**
44
+ * Factory function that creates a GraphQL client instance.
45
+ */
46
+ export declare function createGraphQLClient(config: GraphQLClientConfig): GraphQLClient;
47
+ /**
48
+ * Hook for executing GraphQL queries with automatic fetching.
49
+ * Auto-fetches on mount and when deps change.
50
+ */
51
+ export declare function useQuery<T>(client: GraphQLClient, query: string, opts?: UseQueryOptions): UseQueryResult<T>;
52
+ /**
53
+ * Hook for executing GraphQL mutations.
54
+ * Does not auto-fire; only executes on explicit call.
55
+ */
56
+ export declare function useMutation<T>(client: GraphQLClient, mutation: string): [
57
+ (variables?: Record<string, unknown>) => Promise<GraphQLResponse<T>>,
58
+ {
59
+ data: T | null;
60
+ loading: boolean;
61
+ error: GraphQLError[] | null;
62
+ }
63
+ ];
@@ -0,0 +1,3 @@
1
+ export { createRestClient, useRest, RestError, type RestClientConfig, type RestClient, type RestResponse, type RequestConfig, type RequestInterceptor, type ResponseInterceptor, } from './rest';
2
+ export { defineMessage, createGrpcWebClient, useProto, type MessageType, type GrpcWebClient, } from './protobuf';
3
+ export { createGraphQLClient, gql, useQuery, useMutation, type GraphQLClient, type GraphQLClientConfig, type GraphQLResponse, type GraphQLError, } from './graphql';