@ggts-sh/svelte 0.43.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 (656) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/bin/ggts-codemod.js +47 -0
  4. package/dist/GGPlot.svelte +491 -0
  5. package/dist/GGPlot.svelte.d.ts +67 -0
  6. package/dist/a11y/CanvasA11y.svelte +115 -0
  7. package/dist/a11y/CanvasA11y.svelte.d.ts +15 -0
  8. package/dist/a11y/canvas-a11y.d.ts +1 -0
  9. package/dist/a11y/canvas-a11y.js +2 -0
  10. package/dist/assembly/assemble.d.ts +1 -0
  11. package/dist/assembly/assemble.js +1 -0
  12. package/dist/assembly/labels.d.ts +43 -0
  13. package/dist/assembly/labels.js +126 -0
  14. package/dist/assembly/layout.d.ts +158 -0
  15. package/dist/assembly/layout.js +175 -0
  16. package/dist/chrome/StatusChrome.svelte +125 -0
  17. package/dist/chrome/StatusChrome.svelte.d.ts +16 -0
  18. package/dist/chrome/ToolRail.svelte +293 -0
  19. package/dist/chrome/ToolRail.svelte.d.ts +26 -0
  20. package/dist/chrome/chrome-state.svelte.d.ts +63 -0
  21. package/dist/chrome/chrome-state.svelte.js +158 -0
  22. package/dist/chrome/theme-css.d.ts +16 -0
  23. package/dist/chrome/theme-css.js +16 -0
  24. package/dist/codemod/cli.d.ts +16 -0
  25. package/dist/codemod/cli.js +150 -0
  26. package/dist/codemod/edits.d.ts +28 -0
  27. package/dist/codemod/edits.js +36 -0
  28. package/dist/codemod/index.d.ts +10 -0
  29. package/dist/codemod/index.js +10 -0
  30. package/dist/codemod/migrate-plot-props-rewrite.d.ts +86 -0
  31. package/dist/codemod/migrate-plot-props-rewrite.js +228 -0
  32. package/dist/codemod/migrate-plot-props.d.ts +38 -0
  33. package/dist/codemod/migrate-plot-props.js +159 -0
  34. package/dist/coord/Coord.svelte +21 -0
  35. package/dist/coord/Coord.svelte.d.ts +16 -0
  36. package/dist/coord/CoordCartesian.svelte +11 -0
  37. package/dist/coord/CoordCartesian.svelte.d.ts +18 -0
  38. package/dist/coord/CoordFixed.svelte +17 -0
  39. package/dist/coord/CoordFixed.svelte.d.ts +10 -0
  40. package/dist/coord/CoordFlip.svelte +11 -0
  41. package/dist/coord/CoordFlip.svelte.d.ts +18 -0
  42. package/dist/coord/CoordPolar.svelte +16 -0
  43. package/dist/coord/CoordPolar.svelte.d.ts +9 -0
  44. package/dist/coord/CoordRadial.svelte +16 -0
  45. package/dist/coord/CoordRadial.svelte.d.ts +9 -0
  46. package/dist/coord/CoordSf.svelte +16 -0
  47. package/dist/coord/CoordSf.svelte.d.ts +9 -0
  48. package/dist/coord/CoordTransform.svelte +16 -0
  49. package/dist/coord/CoordTransform.svelte.d.ts +9 -0
  50. package/dist/data/index.d.ts +1 -0
  51. package/dist/data/index.js +2 -0
  52. package/dist/diagnostics/composition.d.ts +112 -0
  53. package/dist/diagnostics/composition.js +203 -0
  54. package/dist/diagnostics/deprecation.d.ts +58 -0
  55. package/dist/diagnostics/deprecation.js +27 -0
  56. package/dist/diagnostics/plot-engine-diagnostics.svelte.d.ts +44 -0
  57. package/dist/diagnostics/plot-engine-diagnostics.svelte.js +193 -0
  58. package/dist/facet/Facet.svelte +23 -0
  59. package/dist/facet/Facet.svelte.d.ts +16 -0
  60. package/dist/facet/FacetGrid.svelte +32 -0
  61. package/dist/facet/FacetGrid.svelte.d.ts +16 -0
  62. package/dist/facet/FacetWrap.svelte +32 -0
  63. package/dist/facet/FacetWrap.svelte.d.ts +16 -0
  64. package/dist/fonts/RobotoCondensed-Bold.ttf +0 -0
  65. package/dist/fonts/RobotoCondensed-Light.ttf +0 -0
  66. package/dist/fonts/RobotoCondensed-Regular.ttf +0 -0
  67. package/dist/fonts/THIRD_PARTY_NOTICES.txt +416 -0
  68. package/dist/geoms/GeomAbline.svelte +25 -0
  69. package/dist/geoms/GeomAbline.svelte.d.ts +7 -0
  70. package/dist/geoms/GeomArea.svelte +12 -0
  71. package/dist/geoms/GeomArea.svelte.d.ts +7 -0
  72. package/dist/geoms/GeomBar.svelte +12 -0
  73. package/dist/geoms/GeomBar.svelte.d.ts +7 -0
  74. package/dist/geoms/GeomBin2d.svelte +21 -0
  75. package/dist/geoms/GeomBin2d.svelte.d.ts +7 -0
  76. package/dist/geoms/GeomBlank.svelte +12 -0
  77. package/dist/geoms/GeomBlank.svelte.d.ts +7 -0
  78. package/dist/geoms/GeomBoxplot.svelte +25 -0
  79. package/dist/geoms/GeomBoxplot.svelte.d.ts +7 -0
  80. package/dist/geoms/GeomCol.svelte +12 -0
  81. package/dist/geoms/GeomCol.svelte.d.ts +7 -0
  82. package/dist/geoms/GeomContour.svelte +25 -0
  83. package/dist/geoms/GeomContour.svelte.d.ts +7 -0
  84. package/dist/geoms/GeomCount.svelte +12 -0
  85. package/dist/geoms/GeomCount.svelte.d.ts +7 -0
  86. package/dist/geoms/GeomCrossbar.svelte +25 -0
  87. package/dist/geoms/GeomCrossbar.svelte.d.ts +7 -0
  88. package/dist/geoms/GeomCurve.svelte +21 -0
  89. package/dist/geoms/GeomCurve.svelte.d.ts +7 -0
  90. package/dist/geoms/GeomDensity.svelte +25 -0
  91. package/dist/geoms/GeomDensity.svelte.d.ts +7 -0
  92. package/dist/geoms/GeomDensity2d.svelte +25 -0
  93. package/dist/geoms/GeomDensity2d.svelte.d.ts +7 -0
  94. package/dist/geoms/GeomDensity2dFilled.svelte +25 -0
  95. package/dist/geoms/GeomDensity2dFilled.svelte.d.ts +7 -0
  96. package/dist/geoms/GeomDotplot.svelte +25 -0
  97. package/dist/geoms/GeomDotplot.svelte.d.ts +7 -0
  98. package/dist/geoms/GeomErrorbar.svelte +25 -0
  99. package/dist/geoms/GeomErrorbar.svelte.d.ts +7 -0
  100. package/dist/geoms/GeomFreqpoly.svelte +25 -0
  101. package/dist/geoms/GeomFreqpoly.svelte.d.ts +7 -0
  102. package/dist/geoms/GeomFunction.svelte +25 -0
  103. package/dist/geoms/GeomFunction.svelte.d.ts +7 -0
  104. package/dist/geoms/GeomHex.svelte +21 -0
  105. package/dist/geoms/GeomHex.svelte.d.ts +7 -0
  106. package/dist/geoms/GeomHistogram.svelte +25 -0
  107. package/dist/geoms/GeomHistogram.svelte.d.ts +7 -0
  108. package/dist/geoms/GeomHline.svelte +12 -0
  109. package/dist/geoms/GeomHline.svelte.d.ts +7 -0
  110. package/dist/geoms/GeomJitter.svelte +35 -0
  111. package/dist/geoms/GeomJitter.svelte.d.ts +13 -0
  112. package/dist/geoms/GeomLabel.svelte +12 -0
  113. package/dist/geoms/GeomLabel.svelte.d.ts +7 -0
  114. package/dist/geoms/GeomLine.svelte +12 -0
  115. package/dist/geoms/GeomLine.svelte.d.ts +7 -0
  116. package/dist/geoms/GeomLinerange.svelte +25 -0
  117. package/dist/geoms/GeomLinerange.svelte.d.ts +7 -0
  118. package/dist/geoms/GeomMap.svelte +21 -0
  119. package/dist/geoms/GeomMap.svelte.d.ts +7 -0
  120. package/dist/geoms/GeomPath.svelte +12 -0
  121. package/dist/geoms/GeomPath.svelte.d.ts +7 -0
  122. package/dist/geoms/GeomPoint.svelte +12 -0
  123. package/dist/geoms/GeomPoint.svelte.d.ts +7 -0
  124. package/dist/geoms/GeomPointrange.svelte +25 -0
  125. package/dist/geoms/GeomPointrange.svelte.d.ts +7 -0
  126. package/dist/geoms/GeomPolygon.svelte +25 -0
  127. package/dist/geoms/GeomPolygon.svelte.d.ts +7 -0
  128. package/dist/geoms/GeomQq.svelte +21 -0
  129. package/dist/geoms/GeomQq.svelte.d.ts +7 -0
  130. package/dist/geoms/GeomQqLine.svelte +25 -0
  131. package/dist/geoms/GeomQqLine.svelte.d.ts +7 -0
  132. package/dist/geoms/GeomQuantile.svelte +25 -0
  133. package/dist/geoms/GeomQuantile.svelte.d.ts +7 -0
  134. package/dist/geoms/GeomRaster.svelte +25 -0
  135. package/dist/geoms/GeomRaster.svelte.d.ts +7 -0
  136. package/dist/geoms/GeomRect.svelte +12 -0
  137. package/dist/geoms/GeomRect.svelte.d.ts +7 -0
  138. package/dist/geoms/GeomRibbon.svelte +16 -0
  139. package/dist/geoms/GeomRibbon.svelte.d.ts +7 -0
  140. package/dist/geoms/GeomRug.svelte +21 -0
  141. package/dist/geoms/GeomRug.svelte.d.ts +7 -0
  142. package/dist/geoms/GeomRule.svelte +12 -0
  143. package/dist/geoms/GeomRule.svelte.d.ts +7 -0
  144. package/dist/geoms/GeomSegment.svelte +16 -0
  145. package/dist/geoms/GeomSegment.svelte.d.ts +7 -0
  146. package/dist/geoms/GeomSf.svelte +21 -0
  147. package/dist/geoms/GeomSf.svelte.d.ts +7 -0
  148. package/dist/geoms/GeomSfLabel.svelte +25 -0
  149. package/dist/geoms/GeomSfLabel.svelte.d.ts +7 -0
  150. package/dist/geoms/GeomSfText.svelte +25 -0
  151. package/dist/geoms/GeomSfText.svelte.d.ts +7 -0
  152. package/dist/geoms/GeomSmooth.svelte +25 -0
  153. package/dist/geoms/GeomSmooth.svelte.d.ts +7 -0
  154. package/dist/geoms/GeomSpoke.svelte +21 -0
  155. package/dist/geoms/GeomSpoke.svelte.d.ts +7 -0
  156. package/dist/geoms/GeomStep.svelte +12 -0
  157. package/dist/geoms/GeomStep.svelte.d.ts +7 -0
  158. package/dist/geoms/GeomText.svelte +12 -0
  159. package/dist/geoms/GeomText.svelte.d.ts +7 -0
  160. package/dist/geoms/GeomTile.svelte +21 -0
  161. package/dist/geoms/GeomTile.svelte.d.ts +7 -0
  162. package/dist/geoms/GeomViolin.svelte +25 -0
  163. package/dist/geoms/GeomViolin.svelte.d.ts +7 -0
  164. package/dist/geoms/GeomVline.svelte +12 -0
  165. package/dist/geoms/GeomVline.svelte.d.ts +7 -0
  166. package/dist/geoms/factory.svelte.d.ts +41 -0
  167. package/dist/geoms/factory.svelte.js +60 -0
  168. package/dist/geoms/registry.svelte.d.ts +71 -0
  169. package/dist/geoms/registry.svelte.js +177 -0
  170. package/dist/guides/GuideAxis.svelte +20 -0
  171. package/dist/guides/GuideAxis.svelte.d.ts +14 -0
  172. package/dist/guides/GuideColorbar.svelte +22 -0
  173. package/dist/guides/GuideColorbar.svelte.d.ts +13 -0
  174. package/dist/guides/GuideColorsteps.svelte +22 -0
  175. package/dist/guides/GuideColorsteps.svelte.d.ts +13 -0
  176. package/dist/guides/GuideLegend.svelte +90 -0
  177. package/dist/guides/GuideLegend.svelte.d.ts +37 -0
  178. package/dist/guides/GuideNone.svelte +19 -0
  179. package/dist/guides/GuideNone.svelte.d.ts +7 -0
  180. package/dist/guides/Guides.svelte +14 -0
  181. package/dist/guides/Guides.svelte.d.ts +13 -0
  182. package/dist/guides/factory.svelte.d.ts +36 -0
  183. package/dist/guides/factory.svelte.js +15 -0
  184. package/dist/index.d.ts +418 -0
  185. package/dist/index.js +376 -0
  186. package/dist/inspection/Inspect.svelte +71 -0
  187. package/dist/inspection/Inspect.svelte.d.ts +36 -0
  188. package/dist/inspection/Tooltip.svelte +439 -0
  189. package/dist/inspection/Tooltip.svelte.d.ts +32 -0
  190. package/dist/inspection/apply.d.ts +120 -0
  191. package/dist/inspection/apply.js +99 -0
  192. package/dist/inspection/coordinator.d.ts +51 -0
  193. package/dist/inspection/coordinator.js +354 -0
  194. package/dist/inspection/display-members.d.ts +1 -0
  195. package/dist/inspection/display-members.js +2 -0
  196. package/dist/inspection/frame.d.ts +90 -0
  197. package/dist/inspection/frame.js +76 -0
  198. package/dist/inspection/group-total.d.ts +1 -0
  199. package/dist/inspection/group-total.js +2 -0
  200. package/dist/inspection/inspect-guide-axes.d.ts +10 -0
  201. package/dist/inspection/inspect-guide-axes.js +24 -0
  202. package/dist/inspection/inspection-reconcile.svelte.d.ts +37 -0
  203. package/dist/inspection/inspection-reconcile.svelte.js +33 -0
  204. package/dist/inspection/inspection-state.svelte.d.ts +86 -0
  205. package/dist/inspection/inspection-state.svelte.js +347 -0
  206. package/dist/inspection/inspection-traversal.svelte.d.ts +29 -0
  207. package/dist/inspection/inspection-traversal.svelte.js +52 -0
  208. package/dist/inspection/pointer-inspect.d.ts +74 -0
  209. package/dist/inspection/pointer-inspect.js +158 -0
  210. package/dist/inspection/resolver.d.ts +3 -0
  211. package/dist/inspection/resolver.js +4 -0
  212. package/dist/inspection/teardown.d.ts +199 -0
  213. package/dist/inspection/teardown.js +181 -0
  214. package/dist/inspection/tooltip-chrome.d.ts +19 -0
  215. package/dist/inspection/tooltip-chrome.js +17 -0
  216. package/dist/inspection/tooltip-motion.d.ts +25 -0
  217. package/dist/inspection/tooltip-motion.js +32 -0
  218. package/dist/inspection/tooltip-presence.svelte.d.ts +49 -0
  219. package/dist/inspection/tooltip-presence.svelte.js +110 -0
  220. package/dist/inspection/tooltip-total.d.ts +1 -0
  221. package/dist/inspection/tooltip-total.js +2 -0
  222. package/dist/interaction/capability-resolution.svelte.d.ts +42 -0
  223. package/dist/interaction/capability-resolution.svelte.js +40 -0
  224. package/dist/interaction/capability.d.ts +129 -0
  225. package/dist/interaction/capability.js +134 -0
  226. package/dist/interaction/controller.svelte.d.ts +4 -0
  227. package/dist/interaction/controller.svelte.js +43 -0
  228. package/dist/interaction/inspect-geom-advisories.d.ts +10 -0
  229. package/dist/interaction/inspect-geom-advisories.js +10 -0
  230. package/dist/interaction/interaction-context.svelte.d.ts +57 -0
  231. package/dist/interaction/interaction-context.svelte.js +4 -0
  232. package/dist/interaction/interaction-diagnostics.d.ts +11 -0
  233. package/dist/interaction/interaction-diagnostics.js +173 -0
  234. package/dist/interaction/interaction-states.svelte.d.ts +84 -0
  235. package/dist/interaction/interaction-states.svelte.js +55 -0
  236. package/dist/interaction/interaction.d.ts +304 -0
  237. package/dist/interaction/interaction.js +7 -0
  238. package/dist/interaction/normalize-interaction-config.d.ts +9 -0
  239. package/dist/interaction/normalize-interaction-config.js +112 -0
  240. package/dist/interaction/reducer.d.ts +97 -0
  241. package/dist/interaction/reducer.js +117 -0
  242. package/dist/interaction/resolve-inspect-capability.d.ts +40 -0
  243. package/dist/interaction/resolve-inspect-capability.js +50 -0
  244. package/dist/interaction/scoped-store.svelte.d.ts +73 -0
  245. package/dist/interaction/scoped-store.svelte.js +93 -0
  246. package/dist/interaction/target.d.ts +91 -0
  247. package/dist/interaction/target.js +68 -0
  248. package/dist/interaction/transition-owner.d.ts +19 -0
  249. package/dist/interaction/transition-owner.js +10 -0
  250. package/dist/interaction/wiring-advisories.d.ts +33 -0
  251. package/dist/interaction/wiring-advisories.js +46 -0
  252. package/dist/interval/BoundsEditor.svelte +332 -0
  253. package/dist/interval/BoundsEditor.svelte.d.ts +10 -0
  254. package/dist/interval/bounds-editor.d.ts +1 -0
  255. package/dist/interval/bounds-editor.js +2 -0
  256. package/dist/interval/consumption.d.ts +1 -0
  257. package/dist/interval/consumption.js +2 -0
  258. package/dist/interval/interval-bounds-state.svelte.d.ts +53 -0
  259. package/dist/interval/interval-bounds-state.svelte.js +117 -0
  260. package/dist/interval/interval-state-helpers.d.ts +10 -0
  261. package/dist/interval/interval-state-helpers.js +34 -0
  262. package/dist/interval/interval-state.svelte.d.ts +60 -0
  263. package/dist/interval/interval-state.svelte.js +360 -0
  264. package/dist/interval/interval.d.ts +1 -0
  265. package/dist/interval/interval.js +2 -0
  266. package/dist/interval/precise-bounds.d.ts +1 -0
  267. package/dist/interval/precise-bounds.js +2 -0
  268. package/dist/interval/query.d.ts +1 -0
  269. package/dist/interval/query.js +2 -0
  270. package/dist/labs/Labs.svelte +29 -0
  271. package/dist/labs/Labs.svelte.d.ts +16 -0
  272. package/dist/layers/fold.d.ts +2 -0
  273. package/dist/layers/fold.js +1 -0
  274. package/dist/layers/grammar-families.d.ts +2 -0
  275. package/dist/layers/grammar-families.js +1 -0
  276. package/dist/layers/plot-layer-contract.d.ts +1 -0
  277. package/dist/layers/plot-layer-contract.js +29 -0
  278. package/dist/layers/plot-layer.svelte.d.ts +42 -0
  279. package/dist/layers/plot-layer.svelte.js +34 -0
  280. package/dist/layers/types.d.ts +2 -0
  281. package/dist/layers/types.js +1 -0
  282. package/dist/legend/Legend.svelte +24 -0
  283. package/dist/legend/Legend.svelte.d.ts +5 -0
  284. package/dist/legend/LegendFilters.svelte +196 -0
  285. package/dist/legend/LegendFilters.svelte.d.ts +8 -0
  286. package/dist/legend/LegendTargets.svelte +393 -0
  287. package/dist/legend/LegendTargets.svelte.d.ts +31 -0
  288. package/dist/legend/entry-key-index.d.ts +1 -0
  289. package/dist/legend/entry-key-index.js +2 -0
  290. package/dist/legend/entry-key-index.svelte.d.ts +34 -0
  291. package/dist/legend/entry-key-index.svelte.js +35 -0
  292. package/dist/legend/filter-state.svelte.d.ts +66 -0
  293. package/dist/legend/filter-state.svelte.js +284 -0
  294. package/dist/legend/filter.d.ts +1 -0
  295. package/dist/legend/filter.js +2 -0
  296. package/dist/legend/focus-emphasis.d.ts +72 -0
  297. package/dist/legend/focus-emphasis.js +91 -0
  298. package/dist/legend/focus-plans.d.ts +89 -0
  299. package/dist/legend/focus-plans.js +72 -0
  300. package/dist/legend/focus-reconcile.svelte.d.ts +53 -0
  301. package/dist/legend/focus-reconcile.svelte.js +113 -0
  302. package/dist/legend/focus-state.svelte.d.ts +73 -0
  303. package/dist/legend/focus-state.svelte.js +338 -0
  304. package/dist/legend/focus.d.ts +1 -0
  305. package/dist/legend/focus.js +2 -0
  306. package/dist/legend/resolve-legend-capability.d.ts +52 -0
  307. package/dist/legend/resolve-legend-capability.js +68 -0
  308. package/dist/legend/resolve-legend-filter.d.ts +65 -0
  309. package/dist/legend/resolve-legend-filter.js +54 -0
  310. package/dist/legend/resolve-legend-focus.d.ts +58 -0
  311. package/dist/legend/resolve-legend-focus.js +36 -0
  312. package/dist/legend/surface.d.ts +190 -0
  313. package/dist/legend/surface.js +158 -0
  314. package/dist/plot-engine-deriveds.svelte.d.ts +75 -0
  315. package/dist/plot-engine-deriveds.svelte.js +166 -0
  316. package/dist/plot-engine.svelte.d.ts +116 -0
  317. package/dist/plot-engine.svelte.js +316 -0
  318. package/dist/plot-props.d.ts +144 -0
  319. package/dist/plot-props.js +81 -0
  320. package/dist/runtime/announcer.svelte.d.ts +17 -0
  321. package/dist/runtime/announcer.svelte.js +28 -0
  322. package/dist/runtime/paint.d.ts +38 -0
  323. package/dist/runtime/paint.js +45 -0
  324. package/dist/runtime/resolve-datum-key.d.ts +53 -0
  325. package/dist/runtime/resolve-datum-key.js +73 -0
  326. package/dist/runtime/runtime.svelte.d.ts +37 -0
  327. package/dist/runtime/runtime.svelte.js +233 -0
  328. package/dist/runtime/semantic-candidate-projection.svelte.d.ts +29 -0
  329. package/dist/runtime/semantic-candidate-projection.svelte.js +137 -0
  330. package/dist/runtime/semantic-data-identity.d.ts +64 -0
  331. package/dist/runtime/semantic-data-identity.js +153 -0
  332. package/dist/runtime/semantic-keys-projection.d.ts +22 -0
  333. package/dist/runtime/semantic-keys-projection.js +40 -0
  334. package/dist/runtime/semantic-keys-resolve.d.ts +69 -0
  335. package/dist/runtime/semantic-keys-resolve.js +122 -0
  336. package/dist/runtime/semantic-keys.svelte.d.ts +30 -0
  337. package/dist/runtime/semantic-keys.svelte.js +69 -0
  338. package/dist/runtime/semantic-source-identity.d.ts +9 -0
  339. package/dist/runtime/semantic-source-identity.js +16 -0
  340. package/dist/scale/Scale.svelte +26 -0
  341. package/dist/scale/Scale.svelte.d.ts +21 -0
  342. package/dist/scale/ScaleAlphaBinned.svelte +14 -0
  343. package/dist/scale/ScaleAlphaBinned.svelte.d.ts +4 -0
  344. package/dist/scale/ScaleAlphaContinuous.svelte +14 -0
  345. package/dist/scale/ScaleAlphaContinuous.svelte.d.ts +4 -0
  346. package/dist/scale/ScaleAlphaDate.svelte +15 -0
  347. package/dist/scale/ScaleAlphaDate.svelte.d.ts +5 -0
  348. package/dist/scale/ScaleAlphaDatetime.svelte +15 -0
  349. package/dist/scale/ScaleAlphaDatetime.svelte.d.ts +5 -0
  350. package/dist/scale/ScaleAlphaDiscrete.svelte +14 -0
  351. package/dist/scale/ScaleAlphaDiscrete.svelte.d.ts +4 -0
  352. package/dist/scale/ScaleAlphaIdentity.svelte +14 -0
  353. package/dist/scale/ScaleAlphaIdentity.svelte.d.ts +4 -0
  354. package/dist/scale/ScaleAlphaManual.svelte +14 -0
  355. package/dist/scale/ScaleAlphaManual.svelte.d.ts +4 -0
  356. package/dist/scale/ScaleColorBinned.svelte +14 -0
  357. package/dist/scale/ScaleColorBinned.svelte.d.ts +3 -0
  358. package/dist/scale/ScaleColorBrewer.svelte +14 -0
  359. package/dist/scale/ScaleColorBrewer.svelte.d.ts +4 -0
  360. package/dist/scale/ScaleColorContinuous.svelte +14 -0
  361. package/dist/scale/ScaleColorContinuous.svelte.d.ts +4 -0
  362. package/dist/scale/ScaleColorDate.svelte +15 -0
  363. package/dist/scale/ScaleColorDate.svelte.d.ts +5 -0
  364. package/dist/scale/ScaleColorDatetime.svelte +15 -0
  365. package/dist/scale/ScaleColorDatetime.svelte.d.ts +5 -0
  366. package/dist/scale/ScaleColorDiscrete.svelte +14 -0
  367. package/dist/scale/ScaleColorDiscrete.svelte.d.ts +4 -0
  368. package/dist/scale/ScaleColorDistiller.svelte +14 -0
  369. package/dist/scale/ScaleColorDistiller.svelte.d.ts +4 -0
  370. package/dist/scale/ScaleColorFermenter.svelte +14 -0
  371. package/dist/scale/ScaleColorFermenter.svelte.d.ts +4 -0
  372. package/dist/scale/ScaleColorGradient.svelte +11 -0
  373. package/dist/scale/ScaleColorGradient.svelte.d.ts +4 -0
  374. package/dist/scale/ScaleColorGradient2.svelte +14 -0
  375. package/dist/scale/ScaleColorGradient2.svelte.d.ts +4 -0
  376. package/dist/scale/ScaleColorGradientn.svelte +14 -0
  377. package/dist/scale/ScaleColorGradientn.svelte.d.ts +4 -0
  378. package/dist/scale/ScaleColorGrey.svelte +11 -0
  379. package/dist/scale/ScaleColorGrey.svelte.d.ts +4 -0
  380. package/dist/scale/ScaleColorHue.svelte +11 -0
  381. package/dist/scale/ScaleColorHue.svelte.d.ts +4 -0
  382. package/dist/scale/ScaleColorIdentity.svelte +14 -0
  383. package/dist/scale/ScaleColorIdentity.svelte.d.ts +4 -0
  384. package/dist/scale/ScaleColorLog10.svelte +14 -0
  385. package/dist/scale/ScaleColorLog10.svelte.d.ts +4 -0
  386. package/dist/scale/ScaleColorManual.svelte +14 -0
  387. package/dist/scale/ScaleColorManual.svelte.d.ts +4 -0
  388. package/dist/scale/ScaleColorOrdinal.svelte +14 -0
  389. package/dist/scale/ScaleColorOrdinal.svelte.d.ts +3 -0
  390. package/dist/scale/ScaleColorSqrt.svelte +14 -0
  391. package/dist/scale/ScaleColorSqrt.svelte.d.ts +4 -0
  392. package/dist/scale/ScaleColorSteps.svelte +11 -0
  393. package/dist/scale/ScaleColorSteps.svelte.d.ts +4 -0
  394. package/dist/scale/ScaleColorSteps2.svelte +11 -0
  395. package/dist/scale/ScaleColorSteps2.svelte.d.ts +4 -0
  396. package/dist/scale/ScaleColorStepsn.svelte +11 -0
  397. package/dist/scale/ScaleColorStepsn.svelte.d.ts +4 -0
  398. package/dist/scale/ScaleColorViridisB.svelte +11 -0
  399. package/dist/scale/ScaleColorViridisB.svelte.d.ts +4 -0
  400. package/dist/scale/ScaleColorViridisC.svelte +11 -0
  401. package/dist/scale/ScaleColorViridisC.svelte.d.ts +4 -0
  402. package/dist/scale/ScaleColorViridisD.svelte +11 -0
  403. package/dist/scale/ScaleColorViridisD.svelte.d.ts +4 -0
  404. package/dist/scale/ScaleFillBinned.svelte +11 -0
  405. package/dist/scale/ScaleFillBinned.svelte.d.ts +3 -0
  406. package/dist/scale/ScaleFillBrewer.svelte +11 -0
  407. package/dist/scale/ScaleFillBrewer.svelte.d.ts +4 -0
  408. package/dist/scale/ScaleFillContinuous.svelte +14 -0
  409. package/dist/scale/ScaleFillContinuous.svelte.d.ts +4 -0
  410. package/dist/scale/ScaleFillDate.svelte +12 -0
  411. package/dist/scale/ScaleFillDate.svelte.d.ts +5 -0
  412. package/dist/scale/ScaleFillDatetime.svelte +15 -0
  413. package/dist/scale/ScaleFillDatetime.svelte.d.ts +5 -0
  414. package/dist/scale/ScaleFillDiscrete.svelte +14 -0
  415. package/dist/scale/ScaleFillDiscrete.svelte.d.ts +4 -0
  416. package/dist/scale/ScaleFillDistiller.svelte +14 -0
  417. package/dist/scale/ScaleFillDistiller.svelte.d.ts +4 -0
  418. package/dist/scale/ScaleFillFermenter.svelte +14 -0
  419. package/dist/scale/ScaleFillFermenter.svelte.d.ts +4 -0
  420. package/dist/scale/ScaleFillGradient.svelte +11 -0
  421. package/dist/scale/ScaleFillGradient.svelte.d.ts +4 -0
  422. package/dist/scale/ScaleFillGradient2.svelte +14 -0
  423. package/dist/scale/ScaleFillGradient2.svelte.d.ts +4 -0
  424. package/dist/scale/ScaleFillGradientn.svelte +14 -0
  425. package/dist/scale/ScaleFillGradientn.svelte.d.ts +4 -0
  426. package/dist/scale/ScaleFillGrey.svelte +11 -0
  427. package/dist/scale/ScaleFillGrey.svelte.d.ts +4 -0
  428. package/dist/scale/ScaleFillHue.svelte +11 -0
  429. package/dist/scale/ScaleFillHue.svelte.d.ts +4 -0
  430. package/dist/scale/ScaleFillIdentity.svelte +14 -0
  431. package/dist/scale/ScaleFillIdentity.svelte.d.ts +4 -0
  432. package/dist/scale/ScaleFillLog10.svelte +14 -0
  433. package/dist/scale/ScaleFillLog10.svelte.d.ts +4 -0
  434. package/dist/scale/ScaleFillManual.svelte +11 -0
  435. package/dist/scale/ScaleFillManual.svelte.d.ts +4 -0
  436. package/dist/scale/ScaleFillOrdinal.svelte +14 -0
  437. package/dist/scale/ScaleFillOrdinal.svelte.d.ts +3 -0
  438. package/dist/scale/ScaleFillSqrt.svelte +14 -0
  439. package/dist/scale/ScaleFillSqrt.svelte.d.ts +4 -0
  440. package/dist/scale/ScaleFillSteps.svelte +11 -0
  441. package/dist/scale/ScaleFillSteps.svelte.d.ts +4 -0
  442. package/dist/scale/ScaleFillSteps2.svelte +11 -0
  443. package/dist/scale/ScaleFillSteps2.svelte.d.ts +4 -0
  444. package/dist/scale/ScaleFillStepsn.svelte +11 -0
  445. package/dist/scale/ScaleFillStepsn.svelte.d.ts +4 -0
  446. package/dist/scale/ScaleFillViridisB.svelte +11 -0
  447. package/dist/scale/ScaleFillViridisB.svelte.d.ts +4 -0
  448. package/dist/scale/ScaleFillViridisC.svelte +11 -0
  449. package/dist/scale/ScaleFillViridisC.svelte.d.ts +4 -0
  450. package/dist/scale/ScaleFillViridisD.svelte +11 -0
  451. package/dist/scale/ScaleFillViridisD.svelte.d.ts +4 -0
  452. package/dist/scale/ScaleLinetypeBinned.svelte +15 -0
  453. package/dist/scale/ScaleLinetypeBinned.svelte.d.ts +4 -0
  454. package/dist/scale/ScaleLinetypeDiscrete.svelte +15 -0
  455. package/dist/scale/ScaleLinetypeDiscrete.svelte.d.ts +4 -0
  456. package/dist/scale/ScaleLinetypeIdentity.svelte +15 -0
  457. package/dist/scale/ScaleLinetypeIdentity.svelte.d.ts +4 -0
  458. package/dist/scale/ScaleLinetypeManual.svelte +15 -0
  459. package/dist/scale/ScaleLinetypeManual.svelte.d.ts +4 -0
  460. package/dist/scale/ScaleLinewidthBinned.svelte +14 -0
  461. package/dist/scale/ScaleLinewidthBinned.svelte.d.ts +4 -0
  462. package/dist/scale/ScaleLinewidthContinuous.svelte +14 -0
  463. package/dist/scale/ScaleLinewidthContinuous.svelte.d.ts +4 -0
  464. package/dist/scale/ScaleLinewidthDate.svelte +15 -0
  465. package/dist/scale/ScaleLinewidthDate.svelte.d.ts +5 -0
  466. package/dist/scale/ScaleLinewidthDatetime.svelte +15 -0
  467. package/dist/scale/ScaleLinewidthDatetime.svelte.d.ts +5 -0
  468. package/dist/scale/ScaleLinewidthDiscrete.svelte +14 -0
  469. package/dist/scale/ScaleLinewidthDiscrete.svelte.d.ts +4 -0
  470. package/dist/scale/ScaleLinewidthIdentity.svelte +14 -0
  471. package/dist/scale/ScaleLinewidthIdentity.svelte.d.ts +4 -0
  472. package/dist/scale/ScaleLinewidthManual.svelte +14 -0
  473. package/dist/scale/ScaleLinewidthManual.svelte.d.ts +4 -0
  474. package/dist/scale/ScaleRadius.svelte +11 -0
  475. package/dist/scale/ScaleRadius.svelte.d.ts +4 -0
  476. package/dist/scale/ScaleShapeBinned.svelte +15 -0
  477. package/dist/scale/ScaleShapeBinned.svelte.d.ts +4 -0
  478. package/dist/scale/ScaleShapeDiscrete.svelte +15 -0
  479. package/dist/scale/ScaleShapeDiscrete.svelte.d.ts +4 -0
  480. package/dist/scale/ScaleShapeIdentity.svelte +15 -0
  481. package/dist/scale/ScaleShapeIdentity.svelte.d.ts +4 -0
  482. package/dist/scale/ScaleShapeManual.svelte +15 -0
  483. package/dist/scale/ScaleShapeManual.svelte.d.ts +4 -0
  484. package/dist/scale/ScaleSizeArea.svelte +11 -0
  485. package/dist/scale/ScaleSizeArea.svelte.d.ts +4 -0
  486. package/dist/scale/ScaleSizeBinned.svelte +14 -0
  487. package/dist/scale/ScaleSizeBinned.svelte.d.ts +4 -0
  488. package/dist/scale/ScaleSizeBinnedArea.svelte +14 -0
  489. package/dist/scale/ScaleSizeBinnedArea.svelte.d.ts +4 -0
  490. package/dist/scale/ScaleSizeContinuous.svelte +14 -0
  491. package/dist/scale/ScaleSizeContinuous.svelte.d.ts +4 -0
  492. package/dist/scale/ScaleSizeDate.svelte +15 -0
  493. package/dist/scale/ScaleSizeDate.svelte.d.ts +5 -0
  494. package/dist/scale/ScaleSizeDatetime.svelte +15 -0
  495. package/dist/scale/ScaleSizeDatetime.svelte.d.ts +5 -0
  496. package/dist/scale/ScaleSizeDiscrete.svelte +14 -0
  497. package/dist/scale/ScaleSizeDiscrete.svelte.d.ts +4 -0
  498. package/dist/scale/ScaleSizeIdentity.svelte +14 -0
  499. package/dist/scale/ScaleSizeIdentity.svelte.d.ts +4 -0
  500. package/dist/scale/ScaleSizeManual.svelte +14 -0
  501. package/dist/scale/ScaleSizeManual.svelte.d.ts +4 -0
  502. package/dist/scale/ScaleXBinned.svelte +14 -0
  503. package/dist/scale/ScaleXBinned.svelte.d.ts +4 -0
  504. package/dist/scale/ScaleXContinuous.svelte +14 -0
  505. package/dist/scale/ScaleXContinuous.svelte.d.ts +4 -0
  506. package/dist/scale/ScaleXDate.svelte +12 -0
  507. package/dist/scale/ScaleXDate.svelte.d.ts +5 -0
  508. package/dist/scale/ScaleXDatetime.svelte +12 -0
  509. package/dist/scale/ScaleXDatetime.svelte.d.ts +5 -0
  510. package/dist/scale/ScaleXDiscrete.svelte +14 -0
  511. package/dist/scale/ScaleXDiscrete.svelte.d.ts +4 -0
  512. package/dist/scale/ScaleXLog10.svelte +14 -0
  513. package/dist/scale/ScaleXLog10.svelte.d.ts +4 -0
  514. package/dist/scale/ScaleXMonthDay.svelte +12 -0
  515. package/dist/scale/ScaleXMonthDay.svelte.d.ts +5 -0
  516. package/dist/scale/ScaleXReverse.svelte +15 -0
  517. package/dist/scale/ScaleXReverse.svelte.d.ts +4 -0
  518. package/dist/scale/ScaleXSqrt.svelte +14 -0
  519. package/dist/scale/ScaleXSqrt.svelte.d.ts +4 -0
  520. package/dist/scale/ScaleXTime.svelte +12 -0
  521. package/dist/scale/ScaleXTime.svelte.d.ts +5 -0
  522. package/dist/scale/ScaleYBinned.svelte +14 -0
  523. package/dist/scale/ScaleYBinned.svelte.d.ts +4 -0
  524. package/dist/scale/ScaleYContinuous.svelte +14 -0
  525. package/dist/scale/ScaleYContinuous.svelte.d.ts +4 -0
  526. package/dist/scale/ScaleYDate.svelte +12 -0
  527. package/dist/scale/ScaleYDate.svelte.d.ts +5 -0
  528. package/dist/scale/ScaleYDatetime.svelte +12 -0
  529. package/dist/scale/ScaleYDatetime.svelte.d.ts +5 -0
  530. package/dist/scale/ScaleYDiscrete.svelte +14 -0
  531. package/dist/scale/ScaleYDiscrete.svelte.d.ts +4 -0
  532. package/dist/scale/ScaleYLog10.svelte +14 -0
  533. package/dist/scale/ScaleYLog10.svelte.d.ts +4 -0
  534. package/dist/scale/ScaleYMonthDay.svelte +12 -0
  535. package/dist/scale/ScaleYMonthDay.svelte.d.ts +5 -0
  536. package/dist/scale/ScaleYReverse.svelte +15 -0
  537. package/dist/scale/ScaleYReverse.svelte.d.ts +4 -0
  538. package/dist/scale/ScaleYSqrt.svelte +14 -0
  539. package/dist/scale/ScaleYSqrt.svelte.d.ts +4 -0
  540. package/dist/scale/ScaleYTime.svelte +12 -0
  541. package/dist/scale/ScaleYTime.svelte.d.ts +5 -0
  542. package/dist/scene/Axis.svelte +159 -0
  543. package/dist/scene/Axis.svelte.d.ts +12 -0
  544. package/dist/scene/Batch.svelte +252 -0
  545. package/dist/scene/Batch.svelte.d.ts +23 -0
  546. package/dist/scene/InteractionOverlay.svelte +402 -0
  547. package/dist/scene/InteractionOverlay.svelte.d.ts +44 -0
  548. package/dist/scene/Legend.svelte +278 -0
  549. package/dist/scene/Legend.svelte.d.ts +8 -0
  550. package/dist/scene/MarkStrata.svelte +129 -0
  551. package/dist/scene/MarkStrata.svelte.d.ts +15 -0
  552. package/dist/scene/SceneOverlays.svelte +118 -0
  553. package/dist/scene/SceneOverlays.svelte.d.ts +49 -0
  554. package/dist/scene/SceneView.svelte +478 -0
  555. package/dist/scene/SceneView.svelte.d.ts +32 -0
  556. package/dist/scene/batch-presentation.svelte.d.ts +111 -0
  557. package/dist/scene/batch-presentation.svelte.js +207 -0
  558. package/dist/scene/geometry.d.ts +2 -0
  559. package/dist/scene/geometry.js +3 -0
  560. package/dist/scene/stratum-paint.d.ts +25 -0
  561. package/dist/scene/stratum-paint.js +40 -0
  562. package/dist/selection/selection-state.svelte.d.ts +23 -0
  563. package/dist/selection/selection-state.svelte.js +73 -0
  564. package/dist/selection/selection.d.ts +1 -0
  565. package/dist/selection/selection.js +2 -0
  566. package/dist/surface/CaptureSurface.svelte +109 -0
  567. package/dist/surface/CaptureSurface.svelte.d.ts +27 -0
  568. package/dist/surface/area-brush.d.ts +48 -0
  569. package/dist/surface/area-brush.js +44 -0
  570. package/dist/surface/brush-finish.d.ts +49 -0
  571. package/dist/surface/brush-finish.js +44 -0
  572. package/dist/surface/keyboard.d.ts +97 -0
  573. package/dist/surface/keyboard.js +105 -0
  574. package/dist/surface/pointer.d.ts +241 -0
  575. package/dist/surface/pointer.js +179 -0
  576. package/dist/surface/surface-description.d.ts +10 -0
  577. package/dist/surface/surface-description.js +11 -0
  578. package/dist/surface/surface-handlers.svelte.d.ts +53 -0
  579. package/dist/surface/surface-handlers.svelte.js +418 -0
  580. package/dist/surface/surface-state.svelte.d.ts +90 -0
  581. package/dist/surface/surface-state.svelte.js +161 -0
  582. package/dist/theme/Theme.svelte +27 -0
  583. package/dist/theme/Theme.svelte.d.ts +23 -0
  584. package/dist/theme/ThemeBase.svelte +13 -0
  585. package/dist/theme/ThemeBase.svelte.d.ts +8 -0
  586. package/dist/theme/ThemeBw.svelte +13 -0
  587. package/dist/theme/ThemeBw.svelte.d.ts +8 -0
  588. package/dist/theme/ThemeClassic.svelte +13 -0
  589. package/dist/theme/ThemeClassic.svelte.d.ts +8 -0
  590. package/dist/theme/ThemeClean.svelte +13 -0
  591. package/dist/theme/ThemeClean.svelte.d.ts +8 -0
  592. package/dist/theme/ThemeDark.svelte +13 -0
  593. package/dist/theme/ThemeDark.svelte.d.ts +8 -0
  594. package/dist/theme/ThemeDefault.svelte +13 -0
  595. package/dist/theme/ThemeDefault.svelte.d.ts +8 -0
  596. package/dist/theme/ThemeEconomist.svelte +13 -0
  597. package/dist/theme/ThemeEconomist.svelte.d.ts +8 -0
  598. package/dist/theme/ThemeEconomistwhite.svelte +13 -0
  599. package/dist/theme/ThemeEconomistwhite.svelte.d.ts +8 -0
  600. package/dist/theme/ThemeFew.svelte +13 -0
  601. package/dist/theme/ThemeFew.svelte.d.ts +8 -0
  602. package/dist/theme/ThemeFivethirtyeight.svelte +14 -0
  603. package/dist/theme/ThemeFivethirtyeight.svelte.d.ts +9 -0
  604. package/dist/theme/ThemeGgplot2.svelte +13 -0
  605. package/dist/theme/ThemeGgplot2.svelte.d.ts +8 -0
  606. package/dist/theme/ThemeGray.svelte +13 -0
  607. package/dist/theme/ThemeGray.svelte.d.ts +8 -0
  608. package/dist/theme/ThemeGrey.svelte +13 -0
  609. package/dist/theme/ThemeGrey.svelte.d.ts +8 -0
  610. package/dist/theme/ThemeHc.svelte +13 -0
  611. package/dist/theme/ThemeHc.svelte.d.ts +8 -0
  612. package/dist/theme/ThemeHcdark.svelte +13 -0
  613. package/dist/theme/ThemeHcdark.svelte.d.ts +8 -0
  614. package/dist/theme/ThemeHrbr.svelte +13 -0
  615. package/dist/theme/ThemeHrbr.svelte.d.ts +8 -0
  616. package/dist/theme/ThemeIgray.svelte +13 -0
  617. package/dist/theme/ThemeIgray.svelte.d.ts +8 -0
  618. package/dist/theme/ThemeLight.svelte +13 -0
  619. package/dist/theme/ThemeLight.svelte.d.ts +8 -0
  620. package/dist/theme/ThemeLinedraw.svelte +13 -0
  621. package/dist/theme/ThemeLinedraw.svelte.d.ts +8 -0
  622. package/dist/theme/ThemeMap.svelte +13 -0
  623. package/dist/theme/ThemeMap.svelte.d.ts +8 -0
  624. package/dist/theme/ThemeMinimal.svelte +13 -0
  625. package/dist/theme/ThemeMinimal.svelte.d.ts +8 -0
  626. package/dist/theme/ThemePander.svelte +13 -0
  627. package/dist/theme/ThemePander.svelte.d.ts +8 -0
  628. package/dist/theme/ThemeSolarized.svelte +13 -0
  629. package/dist/theme/ThemeSolarized.svelte.d.ts +8 -0
  630. package/dist/theme/ThemeSolarized2.svelte +13 -0
  631. package/dist/theme/ThemeSolarized2.svelte.d.ts +8 -0
  632. package/dist/theme/ThemeSolarized2dark.svelte +13 -0
  633. package/dist/theme/ThemeSolarized2dark.svelte.d.ts +8 -0
  634. package/dist/theme/ThemeSolarizeddark.svelte +14 -0
  635. package/dist/theme/ThemeSolarizeddark.svelte.d.ts +9 -0
  636. package/dist/theme/ThemeSolid.svelte +13 -0
  637. package/dist/theme/ThemeSolid.svelte.d.ts +8 -0
  638. package/dist/theme/ThemeStata.svelte +13 -0
  639. package/dist/theme/ThemeStata.svelte.d.ts +8 -0
  640. package/dist/theme/ThemeStatas1color.svelte +13 -0
  641. package/dist/theme/ThemeStatas1color.svelte.d.ts +8 -0
  642. package/dist/theme/ThemeTest.svelte +14 -0
  643. package/dist/theme/ThemeTest.svelte.d.ts +9 -0
  644. package/dist/theme/ThemeTufte.svelte +13 -0
  645. package/dist/theme/ThemeTufte.svelte.d.ts +8 -0
  646. package/dist/theme/ThemeVoid.svelte +14 -0
  647. package/dist/theme/ThemeVoid.svelte.d.ts +9 -0
  648. package/dist/theme/ThemeWsj.svelte +13 -0
  649. package/dist/theme/ThemeWsj.svelte.d.ts +8 -0
  650. package/dist/theme/factory.svelte.d.ts +36 -0
  651. package/dist/theme/factory.svelte.js +100 -0
  652. package/dist/zoom/zoom-state.svelte.d.ts +44 -0
  653. package/dist/zoom/zoom-state.svelte.js +121 -0
  654. package/dist/zoom/zoom.d.ts +1 -0
  655. package/dist/zoom/zoom.js +2 -0
  656. package/package.json +83 -0
@@ -0,0 +1,23 @@
1
+ <script lang="ts">
2
+ /**
3
+ * <Facet> — declaration-only facet layer for <GGPlot> (#659 slice 5).
4
+ * Complete FacetInput surface (escape hatch + general form): wrap | rows/cols,
5
+ * ncol, scales, strip. Named shells (<FacetWrap/>, <FacetGrid/>) are preferred
6
+ * when the form is known at authoring time.
7
+ *
8
+ * Bare `<Facet/>` with no wrap/rows/cols registers an empty facet and fails
9
+ * at validate with `facet-form-missing` — do not silently no-op.
10
+ *
11
+ * Emits NO markup; registers a live facet layer during component init and
12
+ * unregisters on destroy. Inert without a <GGPlot> ancestor.
13
+ */
14
+ import type { FacetInput } from "@ggts-sh/spec";
15
+
16
+ import {
17
+ createPlotLayer,
18
+ definedProps,
19
+ } from "../layers/plot-layer.svelte.js";
20
+
21
+ const props: FacetInput = $props();
22
+ createPlotLayer("facet", () => definedProps(props));
23
+ </script>
@@ -0,0 +1,16 @@
1
+ /**
2
+ * <Facet> — declaration-only facet layer for <GGPlot> (#659 slice 5).
3
+ * Complete FacetInput surface (escape hatch + general form): wrap | rows/cols,
4
+ * ncol, scales, strip. Named shells (<FacetWrap/>, <FacetGrid/>) are preferred
5
+ * when the form is known at authoring time.
6
+ *
7
+ * Bare `<Facet/>` with no wrap/rows/cols registers an empty facet and fails
8
+ * at validate with `facet-form-missing` — do not silently no-op.
9
+ *
10
+ * Emits NO markup; registers a live facet layer during component init and
11
+ * unregisters on destroy. Inert without a <GGPlot> ancestor.
12
+ */
13
+ import type { FacetInput } from "@ggts-sh/spec";
14
+ declare const Facet: import("svelte").Component<FacetInput, {}, "">;
15
+ type Facet = ReturnType<typeof Facet>;
16
+ export default Facet;
@@ -0,0 +1,32 @@
1
+ <script lang="ts">
2
+ /**
3
+ * <FacetGrid> — declaration-only grid-facet layer for <GGPlot> (#659 slice 5).
4
+ * ggplot2-spelling shell over FacetInput rows/cols form. `rows`/`cols` accept
5
+ * a bare string or `{ field, levels?, labels? }`. Keep `strip` nested.
6
+ * Emits NO markup.
7
+ */
8
+ import type { FacetFieldInput, FacetInput } from "@ggts-sh/spec";
9
+
10
+ import {
11
+ createPlotLayer,
12
+ definedProps,
13
+ } from "../layers/plot-layer.svelte.js";
14
+
15
+ type Props = {
16
+ rows?: FacetFieldInput;
17
+ cols?: FacetFieldInput;
18
+ scales?: FacetInput["scales"];
19
+ strip?: FacetInput["strip"];
20
+ };
21
+
22
+ const props: Props = $props();
23
+ createPlotLayer("facet", () => {
24
+ const defined = definedProps(props);
25
+ return {
26
+ ...(defined.rows !== undefined && { rows: defined.rows }),
27
+ ...(defined.cols !== undefined && { cols: defined.cols }),
28
+ ...(defined.scales !== undefined && { scales: defined.scales }),
29
+ ...(defined.strip !== undefined && { strip: defined.strip }),
30
+ };
31
+ });
32
+ </script>
@@ -0,0 +1,16 @@
1
+ /**
2
+ * <FacetGrid> — declaration-only grid-facet layer for <GGPlot> (#659 slice 5).
3
+ * ggplot2-spelling shell over FacetInput rows/cols form. `rows`/`cols` accept
4
+ * a bare string or `{ field, levels?, labels? }`. Keep `strip` nested.
5
+ * Emits NO markup.
6
+ */
7
+ import type { FacetFieldInput, FacetInput } from "@ggts-sh/spec";
8
+ type Props = {
9
+ rows?: FacetFieldInput;
10
+ cols?: FacetFieldInput;
11
+ scales?: FacetInput["scales"];
12
+ strip?: FacetInput["strip"];
13
+ };
14
+ declare const FacetGrid: import("svelte").Component<Props, {}, "">;
15
+ type FacetGrid = ReturnType<typeof FacetGrid>;
16
+ export default FacetGrid;
@@ -0,0 +1,32 @@
1
+ <script lang="ts">
2
+ /**
3
+ * <FacetWrap> — declaration-only wrap-facet layer for <GGPlot> (#659 slice 5).
4
+ * ggplot2-spelling shell over FacetInput wrap form. `field` accepts a bare
5
+ * string or `{ field, levels?, labels? }`. Keep `strip` nested.
6
+ * Emits NO markup.
7
+ */
8
+ import type { FacetFieldInput, FacetInput } from "@ggts-sh/spec";
9
+
10
+ import {
11
+ createPlotLayer,
12
+ definedProps,
13
+ } from "../layers/plot-layer.svelte.js";
14
+
15
+ type Props = {
16
+ field: FacetFieldInput;
17
+ ncol?: number;
18
+ scales?: FacetInput["scales"];
19
+ strip?: FacetInput["strip"];
20
+ };
21
+
22
+ const props: Props = $props();
23
+ createPlotLayer("facet", () => {
24
+ const defined = definedProps(props);
25
+ return {
26
+ wrap: defined.field,
27
+ ...(defined.ncol !== undefined && { ncol: defined.ncol }),
28
+ ...(defined.scales !== undefined && { scales: defined.scales }),
29
+ ...(defined.strip !== undefined && { strip: defined.strip }),
30
+ };
31
+ });
32
+ </script>
@@ -0,0 +1,16 @@
1
+ /**
2
+ * <FacetWrap> — declaration-only wrap-facet layer for <GGPlot> (#659 slice 5).
3
+ * ggplot2-spelling shell over FacetInput wrap form. `field` accepts a bare
4
+ * string or `{ field, levels?, labels? }`. Keep `strip` nested.
5
+ * Emits NO markup.
6
+ */
7
+ import type { FacetFieldInput, FacetInput } from "@ggts-sh/spec";
8
+ type Props = {
9
+ field: FacetFieldInput;
10
+ ncol?: number;
11
+ scales?: FacetInput["scales"];
12
+ strip?: FacetInput["strip"];
13
+ };
14
+ declare const FacetWrap: import("svelte").Component<Props, {}, "">;
15
+ type FacetWrap = ReturnType<typeof FacetWrap>;
16
+ export default FacetWrap;
@@ -0,0 +1,416 @@
1
+ All R source code files are released under the MIT license.
2
+
3
+ -----------------------------
4
+
5
+ Inter has the following license/copyright:
6
+
7
+ Copyright (c) 2016-2020 The Inter Project Authors.
8
+ "Inter" is a Reserved Font Name.
9
+ https://github.com/rsms/inter
10
+
11
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
12
+ This license is copied below, and is also available with a FAQ at:
13
+ http://scripts.sil.org/OFL
14
+
15
+ -----------------------------------------------------------
16
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
17
+ -----------------------------------------------------------
18
+
19
+ PREAMBLE
20
+ The goals of the Open Font License (OFL) are to stimulate worldwide
21
+ development of collaborative font projects, to support the font creation
22
+ efforts of academic and linguistic communities, and to provide a free and
23
+ open framework in which fonts may be shared and improved in partnership
24
+ with others.
25
+
26
+ The OFL allows the licensed fonts to be used, studied, modified and
27
+ redistributed freely as long as they are not sold by themselves. The
28
+ fonts, including any derivative works, can be bundled, embedded,
29
+ redistributed and/or sold with any software provided that any reserved
30
+ names are not used by derivative works. The fonts and derivatives,
31
+ however, cannot be released under any other type of license. The
32
+ requirement for fonts to remain under this license does not apply
33
+ to any document created using the fonts or their derivatives.
34
+
35
+ DEFINITIONS
36
+ "Font Software" refers to the set of files released by the Copyright
37
+ Holder(s) under this license and clearly marked as such. This may
38
+ include source files, build scripts and documentation.
39
+
40
+ "Reserved Font Name" refers to any names specified as such after the
41
+ copyright statement(s).
42
+
43
+ "Original Version" refers to the collection of Font Software components as
44
+ distributed by the Copyright Holder(s).
45
+
46
+ "Modified Version" refers to any derivative made by adding to, deleting,
47
+ or substituting -- in part or in whole -- any of the components of the
48
+ Original Version, by changing formats or by porting the Font Software to a
49
+ new environment.
50
+
51
+ "Author" refers to any designer, engineer, programmer, technical
52
+ writer or other person who contributed to the Font Software.
53
+
54
+ PERMISSION AND CONDITIONS
55
+ Permission is hereby granted, free of charge, to any person obtaining
56
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
57
+ redistribute, and sell modified and unmodified copies of the Font
58
+ Software, subject to the following conditions:
59
+
60
+ 1) Neither the Font Software nor any of its individual components,
61
+ in Original or Modified Versions, may be sold by itself.
62
+
63
+ 2) Original or Modified Versions of the Font Software may be bundled,
64
+ redistributed and/or sold with any software, provided that each copy
65
+ contains the above copyright notice and this license. These can be
66
+ included either as stand-alone text files, human-readable headers or
67
+ in the appropriate machine-readable metadata fields within text or
68
+ binary files as long as those fields can be easily viewed by the user.
69
+
70
+ 3) No Modified Version of the Font Software may use the Reserved Font
71
+ Name(s) unless explicit written permission is granted by the corresponding
72
+ Copyright Holder. This restriction only applies to the primary font name as
73
+ presented to the users.
74
+
75
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
76
+ Software shall not be used to promote, endorse or advertise any
77
+ Modified Version, except to acknowledge the contribution(s) of the
78
+ Copyright Holder(s) and the Author(s) or with their explicit written
79
+ permission.
80
+
81
+ 5) The Font Software, modified or unmodified, in part or in whole,
82
+ must be distributed entirely under this license, and must not be
83
+ distributed under any other license. The requirement for fonts to
84
+ remain under this license does not apply to any document created
85
+ using the Font Software.
86
+
87
+ TERMINATION
88
+ This license becomes null and void if any of the above conditions are
89
+ not met.
90
+
91
+ DISCLAIMER
92
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
93
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
94
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
95
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
96
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
97
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
98
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
99
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
100
+ OTHER DEALINGS IN THE FONT SOFTWARE.
101
+
102
+
103
+ -----------------------------
104
+
105
+ IBM Plex Sans font has the following license/copyright:
106
+
107
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
108
+
109
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
110
+ This license is copied below, and is also available with a FAQ at:
111
+ http://scripts.sil.org/OFL
112
+
113
+ -----------------------------
114
+
115
+ Public Sans font has the following license/copyright:
116
+
117
+ Copyright (c) 2015, Impallari Type (www.impallari.com)
118
+
119
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
120
+ This license is copied below, and is also available with a FAQ at:
121
+ http://scripts.sil.org/OFL
122
+
123
+ -----------------------------------------------------------
124
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
125
+ -----------------------------------------------------------
126
+
127
+ PREAMBLE
128
+ The goals of the Open Font License (OFL) are to stimulate worldwide
129
+ development of collaborative font projects, to support the font creation
130
+ efforts of academic and linguistic communities, and to provide a free and
131
+ open framework in which fonts may be shared and improved in partnership
132
+ with others.
133
+
134
+ The OFL allows the licensed fonts to be used, studied, modified and
135
+ redistributed freely as long as they are not sold by themselves. The
136
+ fonts, including any derivative works, can be bundled, embedded,
137
+ redistributed and/or sold with any software provided that any reserved
138
+ names are not used by derivative works. The fonts and derivatives,
139
+ however, cannot be released under any other type of license. The
140
+ requirement for fonts to remain under this license does not apply
141
+ to any document created using the fonts or their derivatives.
142
+
143
+ DEFINITIONS
144
+ "Font Software" refers to the set of files released by the Copyright
145
+ Holder(s) under this license and clearly marked as such. This may
146
+ include source files, build scripts and documentation.
147
+
148
+ "Reserved Font Name" refers to any names specified as such after the
149
+ copyright statement(s).
150
+
151
+ "Original Version" refers to the collection of Font Software components as
152
+ distributed by the Copyright Holder(s).
153
+
154
+ "Modified Version" refers to any derivative made by adding to, deleting,
155
+ or substituting -- in part or in whole -- any of the components of the
156
+ Original Version, by changing formats or by porting the Font Software to a
157
+ new environment.
158
+
159
+ "Author" refers to any designer, engineer, programmer, technical
160
+ writer or other person who contributed to the Font Software.
161
+
162
+ PERMISSION & CONDITIONS
163
+ Permission is hereby granted, free of charge, to any person obtaining
164
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
165
+ redistribute, and sell modified and unmodified copies of the Font
166
+ Software, subject to the following conditions:
167
+
168
+ 1) Neither the Font Software nor any of its individual components,
169
+ in Original or Modified Versions, may be sold by itself.
170
+
171
+ 2) Original or Modified Versions of the Font Software may be bundled,
172
+ redistributed and/or sold with any software, provided that each copy
173
+ contains the above copyright notice and this license. These can be
174
+ included either as stand-alone text files, human-readable headers or
175
+ in the appropriate machine-readable metadata fields within text or
176
+ binary files as long as those fields can be easily viewed by the user.
177
+
178
+ 3) No Modified Version of the Font Software may use the Reserved Font
179
+ Name(s) unless explicit written permission is granted by the corresponding
180
+ Copyright Holder. This restriction only applies to the primary font name as
181
+ presented to the users.
182
+
183
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
184
+ Software shall not be used to promote, endorse or advertise any
185
+ Modified Version, except to acknowledge the contribution(s) of the
186
+ Copyright Holder(s) and the Author(s) or with their explicit written
187
+ permission.
188
+
189
+ 5) The Font Software, modified or unmodified, in part or in whole,
190
+ must be distributed entirely under this license, and must not be
191
+ distributed under any other license. The requirement for fonts to
192
+ remain under this license does not apply to any document created
193
+ using the Font Software.
194
+
195
+ TERMINATION
196
+ This license becomes null and void if any of the above conditions are
197
+ not met.
198
+
199
+ DISCLAIMER
200
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
201
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
202
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
203
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
204
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
205
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
206
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
207
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
208
+ OTHER DEALINGS IN THE FONT SOFTWARE.
209
+
210
+ -----------------------------
211
+
212
+ The Google Roboto Condensed & Slab fonts <https://github.com/google/roboto/> have
213
+ the folllowing copyright:
214
+
215
+
216
+ Apache License
217
+ Version 2.0, January 2004
218
+ http://www.apache.org/licenses/
219
+
220
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
221
+
222
+ 1. Definitions.
223
+
224
+ "License" shall mean the terms and conditions for use, reproduction,
225
+ and distribution as defined by Sections 1 through 9 of this document.
226
+
227
+ "Licensor" shall mean the copyright owner or entity authorized by
228
+ the copyright owner that is granting the License.
229
+
230
+ "Legal Entity" shall mean the union of the acting entity and all
231
+ other entities that control, are controlled by, or are under common
232
+ control with that entity. For the purposes of this definition,
233
+ "control" means (i) the power, direct or indirect, to cause the
234
+ direction or management of such entity, whether by contract or
235
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
236
+ outstanding shares, or (iii) beneficial ownership of such entity.
237
+
238
+ "You" (or "Your") shall mean an individual or Legal Entity
239
+ exercising permissions granted by this License.
240
+
241
+ "Source" form shall mean the preferred form for making modifications,
242
+ including but not limited to software source code, documentation
243
+ source, and configuration files.
244
+
245
+ "Object" form shall mean any form resulting from mechanical
246
+ transformation or translation of a Source form, including but
247
+ not limited to compiled object code, generated documentation,
248
+ and conversions to other media types.
249
+
250
+ "Work" shall mean the work of authorship, whether in Source or
251
+ Object form, made available under the License, as indicated by a
252
+ copyright notice that is included in or attached to the work
253
+ (an example is provided in the Appendix below).
254
+
255
+ "Derivative Works" shall mean any work, whether in Source or Object
256
+ form, that is based on (or derived from) the Work and for which the
257
+ editorial revisions, annotations, elaborations, or other modifications
258
+ represent, as a whole, an original work of authorship. For the purposes
259
+ of this License, Derivative Works shall not include works that remain
260
+ separable from, or merely link (or bind by name) to the interfaces of,
261
+ the Work and Derivative Works thereof.
262
+
263
+ "Contribution" shall mean any work of authorship, including
264
+ the original version of the Work and any modifications or additions
265
+ to that Work or Derivative Works thereof, that is intentionally
266
+ submitted to Licensor for inclusion in the Work by the copyright owner
267
+ or by an individual or Legal Entity authorized to submit on behalf of
268
+ the copyright owner. For the purposes of this definition, "submitted"
269
+ means any form of electronic, verbal, or written communication sent
270
+ to the Licensor or its representatives, including but not limited to
271
+ communication on electronic mailing lists, source code control systems,
272
+ and issue tracking systems that are managed by, or on behalf of, the
273
+ Licensor for the purpose of discussing and improving the Work, but
274
+ excluding communication that is conspicuously marked or otherwise
275
+ designated in writing by the copyright owner as "Not a Contribution."
276
+
277
+ "Contributor" shall mean Licensor and any individual or Legal Entity
278
+ on behalf of whom a Contribution has been received by Licensor and
279
+ subsequently incorporated within the Work.
280
+
281
+ 2. Grant of Copyright License. Subject to the terms and conditions of
282
+ this License, each Contributor hereby grants to You a perpetual,
283
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
284
+ copyright license to reproduce, prepare Derivative Works of,
285
+ publicly display, publicly perform, sublicense, and distribute the
286
+ Work and such Derivative Works in Source or Object form.
287
+
288
+ 3. Grant of Patent License. Subject to the terms and conditions of
289
+ this License, each Contributor hereby grants to You a perpetual,
290
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
291
+ (except as stated in this section) patent license to make, have made,
292
+ use, offer to sell, sell, import, and otherwise transfer the Work,
293
+ where such license applies only to those patent claims licensable
294
+ by such Contributor that are necessarily infringed by their
295
+ Contribution(s) alone or by combination of their Contribution(s)
296
+ with the Work to which such Contribution(s) was submitted. If You
297
+ institute patent litigation against any entity (including a
298
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
299
+ or a Contribution incorporated within the Work constitutes direct
300
+ or contributory patent infringement, then any patent licenses
301
+ granted to You under this License for that Work shall terminate
302
+ as of the date such litigation is filed.
303
+
304
+ 4. Redistribution. You may reproduce and distribute copies of the
305
+ Work or Derivative Works thereof in any medium, with or without
306
+ modifications, and in Source or Object form, provided that You
307
+ meet the following conditions:
308
+
309
+ (a) You must give any other recipients of the Work or
310
+ Derivative Works a copy of this License; and
311
+
312
+ (b) You must cause any modified files to carry prominent notices
313
+ stating that You changed the files; and
314
+
315
+ (c) You must retain, in the Source form of any Derivative Works
316
+ that You distribute, all copyright, patent, trademark, and
317
+ attribution notices from the Source form of the Work,
318
+ excluding those notices that do not pertain to any part of
319
+ the Derivative Works; and
320
+
321
+ (d) If the Work includes a "NOTICE" text file as part of its
322
+ distribution, then any Derivative Works that You distribute must
323
+ include a readable copy of the attribution notices contained
324
+ within such NOTICE file, excluding those notices that do not
325
+ pertain to any part of the Derivative Works, in at least one
326
+ of the following places: within a NOTICE text file distributed
327
+ as part of the Derivative Works; within the Source form or
328
+ documentation, if provided along with the Derivative Works; or,
329
+ within a display generated by the Derivative Works, if and
330
+ wherever such third-party notices normally appear. The contents
331
+ of the NOTICE file are for informational purposes only and
332
+ do not modify the License. You may add Your own attribution
333
+ notices within Derivative Works that You distribute, alongside
334
+ or as an addendum to the NOTICE text from the Work, provided
335
+ that such additional attribution notices cannot be construed
336
+ as modifying the License.
337
+
338
+ You may add Your own copyright statement to Your modifications and
339
+ may provide additional or different license terms and conditions
340
+ for use, reproduction, or distribution of Your modifications, or
341
+ for any such Derivative Works as a whole, provided Your use,
342
+ reproduction, and distribution of the Work otherwise complies with
343
+ the conditions stated in this License.
344
+
345
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
346
+ any Contribution intentionally submitted for inclusion in the Work
347
+ by You to the Licensor shall be under the terms and conditions of
348
+ this License, without any additional terms or conditions.
349
+ Notwithstanding the above, nothing herein shall supersede or modify
350
+ the terms of any separate license agreement you may have executed
351
+ with Licensor regarding such Contributions.
352
+
353
+ 6. Trademarks. This License does not grant permission to use the trade
354
+ names, trademarks, service marks, or product names of the Licensor,
355
+ except as required for reasonable and customary use in describing the
356
+ origin of the Work and reproducing the content of the NOTICE file.
357
+
358
+ 7. Disclaimer of Warranty. Unless required by applicable law or
359
+ agreed to in writing, Licensor provides the Work (and each
360
+ Contributor provides its Contributions) on an "AS IS" BASIS,
361
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
362
+ implied, including, without limitation, any warranties or conditions
363
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
364
+ PARTICULAR PURPOSE. You are solely responsible for determining the
365
+ appropriateness of using or redistributing the Work and assume any
366
+ risks associated with Your exercise of permissions under this License.
367
+
368
+ 8. Limitation of Liability. In no event and under no legal theory,
369
+ whether in tort (including negligence), contract, or otherwise,
370
+ unless required by applicable law (such as deliberate and grossly
371
+ negligent acts) or agreed to in writing, shall any Contributor be
372
+ liable to You for damages, including any direct, indirect, special,
373
+ incidental, or consequential damages of any character arising as a
374
+ result of this License or out of the use or inability to use the
375
+ Work (including but not limited to damages for loss of goodwill,
376
+ work stoppage, computer failure or malfunction, or any and all
377
+ other commercial damages or losses), even if such Contributor
378
+ has been advised of the possibility of such damages.
379
+
380
+ 9. Accepting Warranty or Additional Liability. While redistributing
381
+ the Work or Derivative Works thereof, You may choose to offer,
382
+ and charge a fee for, acceptance of support, warranty, indemnity,
383
+ or other liability obligations and/or rights consistent with this
384
+ License. However, in accepting such obligations, You may act only
385
+ on Your own behalf and on Your sole responsibility, not on behalf
386
+ of any other Contributor, and only if You agree to indemnify,
387
+ defend, and hold each Contributor harmless for any liability
388
+ incurred by, or claims asserted against, such Contributor by reason
389
+ of your accepting any such warranty or additional liability.
390
+
391
+ END OF TERMS AND CONDITIONS
392
+
393
+ APPENDIX: How to apply the Apache License to your work.
394
+
395
+ To apply the Apache License to your work, attach the following
396
+ boilerplate notice, with the fields enclosed by brackets "[]"
397
+ replaced with your own identifying information. (Don't include
398
+ the brackets!) The text should be enclosed in the appropriate
399
+ comment syntax for the file format. We also recommend that a
400
+ file or class name and description of purpose be included on the
401
+ same "printed page" as the copyright notice for easier
402
+ identification within third-party archives.
403
+
404
+ Copyright [yyyy] [name of copyright owner]
405
+
406
+ Licensed under the Apache License, Version 2.0 (the "License");
407
+ you may not use this file except in compliance with the License.
408
+ You may obtain a copy of the License at
409
+
410
+ http://www.apache.org/licenses/LICENSE-2.0
411
+
412
+ Unless required by applicable law or agreed to in writing, software
413
+ distributed under the License is distributed on an "AS IS" BASIS,
414
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
415
+ See the License for the specific language governing permissions and
416
+ limitations under the License.
@@ -0,0 +1,25 @@
1
+ <!-- GENERATED by scripts/gen-geom-children.ts — do not edit. Run: bun run geom:children:gen -->
2
+ <script module lang="ts">
3
+ import { registerAbline } from "@ggts-sh/core";
4
+
5
+ // Self-registration (#1420): this component's geom batch + default stat
6
+ // frame enter the bundle (and the core registries) only when the
7
+ // component itself is imported. Idempotent.
8
+ registerAbline();
9
+ </script>
10
+
11
+ <script lang="ts">
12
+ import type {
13
+ DataInput,
14
+ AblineParams,
15
+ AblineLayerInput,
16
+ } from "@ggts-sh/spec";
17
+
18
+ import { createGeomLayer } from "./factory.svelte.js";
19
+
20
+ const props: AblineParams &
21
+ Omit<AblineLayerInput, "geom" | "params" | "data"> & {
22
+ data?: DataInput | readonly Record<string, unknown>[];
23
+ } = $props();
24
+ createGeomLayer("abline", () => props);
25
+ </script>
@@ -0,0 +1,7 @@
1
+ import type { DataInput, AblineParams, AblineLayerInput } from "@ggts-sh/spec";
2
+ type $$ComponentProps = AblineParams & Omit<AblineLayerInput, "geom" | "params" | "data"> & {
3
+ data?: DataInput | readonly Record<string, unknown>[];
4
+ };
5
+ declare const GeomAbline: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type GeomAbline = ReturnType<typeof GeomAbline>;
7
+ export default GeomAbline;
@@ -0,0 +1,12 @@
1
+ <!-- GENERATED by scripts/gen-geom-children.ts — do not edit. Run: bun run geom:children:gen -->
2
+ <script lang="ts">
3
+ import type { DataInput, AreaParams, AreaLayerInput } from "@ggts-sh/spec";
4
+
5
+ import { createGeomLayer } from "./factory.svelte.js";
6
+
7
+ const props: AreaParams &
8
+ Omit<AreaLayerInput, "geom" | "params" | "data"> & {
9
+ data?: DataInput | readonly Record<string, unknown>[];
10
+ } = $props();
11
+ createGeomLayer("area", () => props);
12
+ </script>
@@ -0,0 +1,7 @@
1
+ import type { DataInput, AreaParams, AreaLayerInput } from "@ggts-sh/spec";
2
+ type $$ComponentProps = AreaParams & Omit<AreaLayerInput, "geom" | "params" | "data"> & {
3
+ data?: DataInput | readonly Record<string, unknown>[];
4
+ };
5
+ declare const GeomArea: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type GeomArea = ReturnType<typeof GeomArea>;
7
+ export default GeomArea;
@@ -0,0 +1,12 @@
1
+ <!-- GENERATED by scripts/gen-geom-children.ts — do not edit. Run: bun run geom:children:gen -->
2
+ <script lang="ts">
3
+ import type { DataInput, BarParams, BarLayerInput } from "@ggts-sh/spec";
4
+
5
+ import { createGeomLayer } from "./factory.svelte.js";
6
+
7
+ const props: BarParams &
8
+ Omit<BarLayerInput, "geom" | "params" | "data"> & {
9
+ data?: DataInput | readonly Record<string, unknown>[];
10
+ } = $props();
11
+ createGeomLayer("bar", () => props);
12
+ </script>
@@ -0,0 +1,7 @@
1
+ import type { DataInput, BarParams, BarLayerInput } from "@ggts-sh/spec";
2
+ type $$ComponentProps = BarParams & Omit<BarLayerInput, "geom" | "params" | "data"> & {
3
+ data?: DataInput | readonly Record<string, unknown>[];
4
+ };
5
+ declare const GeomBar: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type GeomBar = ReturnType<typeof GeomBar>;
7
+ export default GeomBar;
@@ -0,0 +1,21 @@
1
+ <!-- GENERATED by scripts/gen-geom-children.ts — do not edit. Run: bun run geom:children:gen -->
2
+ <script module lang="ts">
3
+ import { registerBin2d } from "@ggts-sh/core";
4
+
5
+ // Self-registration (#1420): this component's geom batch + default stat
6
+ // frame enter the bundle (and the core registries) only when the
7
+ // component itself is imported. Idempotent.
8
+ registerBin2d();
9
+ </script>
10
+
11
+ <script lang="ts">
12
+ import type { DataInput, Bin2dParams, Bin2dLayerInput } from "@ggts-sh/spec";
13
+
14
+ import { createGeomLayer } from "./factory.svelte.js";
15
+
16
+ const props: Bin2dParams &
17
+ Omit<Bin2dLayerInput, "geom" | "params" | "data"> & {
18
+ data?: DataInput | readonly Record<string, unknown>[];
19
+ } = $props();
20
+ createGeomLayer("bin_2d", () => props);
21
+ </script>