@brianmsm/quarto-bento 0.0.0-stage → 0.1.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 (122) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +86 -2
  3. package/bin/qbento-npm.mjs +62 -0
  4. package/distribution/LICENSE +21 -0
  5. package/distribution/PACKAGING.md +59 -0
  6. package/distribution/bin/qbento +5 -0
  7. package/distribution/bin/qbento.cmd +4 -0
  8. package/distribution/manifest.json +720 -0
  9. package/distribution/runtime/LICENSE +21 -0
  10. package/distribution/runtime/_extensions/qbento/_extension.yml +24 -0
  11. package/distribution/runtime/_extensions/qbento/capture.lua +21 -0
  12. package/distribution/runtime/_extensions/qbento/guard.lua +7 -0
  13. package/distribution/runtime/_extensions/qbento/post.ts +2 -0
  14. package/distribution/runtime/_extensions/qbento/pre.ts +2 -0
  15. package/distribution/runtime/_extensions/qbento/producer-activation.js +129 -0
  16. package/distribution/runtime/src/bridge/browser.js +168 -0
  17. package/distribution/runtime/src/bridge/isolation.ts +55 -0
  18. package/distribution/runtime/src/browser/chromium.ts +218 -0
  19. package/distribution/runtime/src/cli.ts +219 -0
  20. package/distribution/runtime/src/core/agent.ts +565 -0
  21. package/distribution/runtime/src/core/annotations.ts +384 -0
  22. package/distribution/runtime/src/core/capture.ts +203 -0
  23. package/distribution/runtime/src/core/component-actions.ts +550 -0
  24. package/distribution/runtime/src/core/component-frames.ts +59 -0
  25. package/distribution/runtime/src/core/component-sync.ts +290 -0
  26. package/distribution/runtime/src/core/design-diagnostics.ts +78 -0
  27. package/distribution/runtime/src/core/design-registry.ts +287 -0
  28. package/distribution/runtime/src/core/graph-relations.ts +354 -0
  29. package/distribution/runtime/src/core/graph-scope.ts +63 -0
  30. package/distribution/runtime/src/core/graph-sync.ts +228 -0
  31. package/distribution/runtime/src/core/io.ts +27 -0
  32. package/distribution/runtime/src/core/kpi-appearance.ts +205 -0
  33. package/distribution/runtime/src/core/layouts.ts +245 -0
  34. package/distribution/runtime/src/core/project.ts +759 -0
  35. package/distribution/runtime/src/core/reconcile.ts +384 -0
  36. package/distribution/runtime/src/core/recovery.ts +1255 -0
  37. package/distribution/runtime/src/core/slide-actions.ts +158 -0
  38. package/distribution/runtime/src/core/source-scope.ts +50 -0
  39. package/distribution/runtime/src/core/sync.ts +2423 -0
  40. package/distribution/runtime/src/core/widgets.ts +300 -0
  41. package/distribution/runtime/src/integration/install.ts +98 -0
  42. package/distribution/runtime/src/integration/invocation.ts +100 -0
  43. package/distribution/runtime/src/integration/quarto.ts +457 -0
  44. package/distribution/runtime/src/render/assets.ts +66 -0
  45. package/distribution/runtime/src/render/capture.lua +8 -0
  46. package/distribution/runtime/src/render/chart.ts +165 -0
  47. package/distribution/runtime/src/render/components.ts +199 -0
  48. package/distribution/runtime/src/render/design.ts +820 -0
  49. package/distribution/runtime/src/render/diagnostics.ts +36 -0
  50. package/distribution/runtime/src/render/graphs.ts +747 -0
  51. package/distribution/runtime/src/render/html.ts +82 -0
  52. package/distribution/runtime/src/render/images.ts +268 -0
  53. package/distribution/runtime/src/render/inline.ts +259 -0
  54. package/distribution/runtime/src/render/kpi.ts +385 -0
  55. package/distribution/runtime/src/render/lists.ts +183 -0
  56. package/distribution/runtime/src/render/math.ts +413 -0
  57. package/distribution/runtime/src/render/measure.ts +185 -0
  58. package/distribution/runtime/src/render/native-layout.ts +174 -0
  59. package/distribution/runtime/src/render/producer-capture.ts +319 -0
  60. package/distribution/runtime/src/render/producer-environment.R +49 -0
  61. package/distribution/runtime/src/render/producer-environment.ts +96 -0
  62. package/distribution/runtime/src/render/producer-profile.R +91 -0
  63. package/distribution/runtime/src/render/producer-site-profile.R +18 -0
  64. package/distribution/runtime/src/render/project.ts +1806 -0
  65. package/distribution/runtime/src/render/quarto.ts +127 -0
  66. package/distribution/runtime/src/render/registry.ts +233 -0
  67. package/distribution/runtime/src/render/resources.ts +292 -0
  68. package/distribution/runtime/src/render/shell.ts +110 -0
  69. package/distribution/runtime/src/render/source-inline.ts +169 -0
  70. package/distribution/runtime/src/render/table.ts +220 -0
  71. package/distribution/runtime/src/render/text-overflow.ts +208 -0
  72. package/distribution/runtime/src/render/types.ts +71 -0
  73. package/distribution/runtime/src/render/validate.ts +572 -0
  74. package/distribution/runtime/src/rich/project.ts +117 -0
  75. package/distribution/runtime/src/rich/table.ts +374 -0
  76. package/distribution/runtime/src/source/annotations.ts +490 -0
  77. package/distribution/runtime/src/source/attributes.ts +415 -0
  78. package/distribution/runtime/src/source/chart.ts +165 -0
  79. package/distribution/runtime/src/source/code-language.ts +277 -0
  80. package/distribution/runtime/src/source/component-insertion.ts +160 -0
  81. package/distribution/runtime/src/source/deletion.ts +278 -0
  82. package/distribution/runtime/src/source/graphs.ts +517 -0
  83. package/distribution/runtime/src/source/identities.ts +256 -0
  84. package/distribution/runtime/src/source/identity-id.ts +6 -0
  85. package/distribution/runtime/src/source/image.ts +50 -0
  86. package/distribution/runtime/src/source/kpi.ts +196 -0
  87. package/distribution/runtime/src/source/mod.ts +876 -0
  88. package/distribution/runtime/src/source/notes.ts +308 -0
  89. package/distribution/runtime/src/source/structure.ts +647 -0
  90. package/distribution/runtime/src/source/table.ts +290 -0
  91. package/distribution/runtime/src/source/text-conversion.ts +146 -0
  92. package/distribution/runtime/src/state/components.ts +281 -0
  93. package/distribution/runtime/src/state/graphs.ts +200 -0
  94. package/distribution/runtime/src/state/json.ts +162 -0
  95. package/distribution/runtime/src/state/merge.ts +1034 -0
  96. package/distribution/runtime/src/state/mod.ts +5 -0
  97. package/distribution/runtime/src/state/store.ts +226 -0
  98. package/distribution/runtime/src/state/types.ts +151 -0
  99. package/distribution/runtime/src/studio/client.js +790 -0
  100. package/distribution/runtime/src/studio/components.js +188 -0
  101. package/distribution/runtime/src/studio/index.html +278 -0
  102. package/distribution/runtime/src/studio/layouts.js +170 -0
  103. package/distribution/runtime/src/studio/registry.js +283 -0
  104. package/distribution/runtime/src/studio/relations.js +169 -0
  105. package/distribution/runtime/src/studio/server.ts +433 -0
  106. package/distribution/runtime/src/widgets/deck.ts +39 -0
  107. package/distribution/runtime/src/widgets/plotly.ts +354 -0
  108. package/distribution/runtime/src/widgets/presenter.ts +367 -0
  109. package/distribution/runtime/src/widgets/snapshot.ts +116 -0
  110. package/distribution/runtime/vendor/bento/FONT_NOTICES.md +49 -0
  111. package/distribution/runtime/vendor/bento/LICENSE +21 -0
  112. package/distribution/runtime/vendor/bento/THIRD_PARTY_NOTICES.md +51 -0
  113. package/distribution/runtime/vendor/bento/font-licenses/fraunces-OFL.txt +93 -0
  114. package/distribution/runtime/vendor/bento/font-licenses/instrument-sans-OFL.txt +93 -0
  115. package/distribution/runtime/vendor/bento/pin.json +69 -0
  116. package/distribution/runtime/vendor/bento/provenance/slides.package-lock.json +1928 -0
  117. package/distribution/runtime/vendor/bento/provenance/slides.package.json +28 -0
  118. package/distribution/runtime/vendor/bento/runtime-dependencies.json +244 -0
  119. package/distribution/runtime/vendor/bento/runtime-licenses.json +4038 -0
  120. package/distribution/runtime/vendor/bento/shell.html +269 -0
  121. package/distribution/runtime/vendor/bento/slides.schema.json +2379 -0
  122. package/package.json +40 -4
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "bento-slides",
3
+ "private": true,
4
+ "version": "1.2.6",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "scripts": {
8
+ "dev": "vite",
9
+ "build": "tsc -b && vite build",
10
+ "build:single": "tsc -b && SINGLEFILE=1 vite build --outDir dist-single && mv dist-single/index.html dist-single/Bento_Slides.bento.html && node ../scripts/postbuild-compress.mjs dist-single/Bento_Slides.bento.html",
11
+ "preview": "vite preview"
12
+ },
13
+ "dependencies": {
14
+ "moveable": "^0.53.0",
15
+ "reveal.js": "^5.2.1",
16
+ "selecto": "^1.26.3"
17
+ },
18
+ "devDependencies": {
19
+ "@gfx/zopfli": "^1.0.15",
20
+ "@types/node": "^24.13.2",
21
+ "@types/reveal.js": "^5.2.1",
22
+ "fake-indexeddb": "^6.2.5",
23
+ "qrcode": "^1.5.4",
24
+ "typescript": "~5.8.3",
25
+ "vite": "^7.1.1",
26
+ "vite-plugin-singlefile": "^2.3.3"
27
+ }
28
+ }
@@ -0,0 +1,244 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "bento": {
4
+ "repository": "https://github.com/nyblnet/bento",
5
+ "revision": "3d6f7f1fcdf2308e875345ce4f1e0ec0820c914b",
6
+ "version": "1.2.6"
7
+ },
8
+ "source": {
9
+ "packageManifestPath": "slides/package.json",
10
+ "packageManifestSha256": "877feb8aa18b3e034615e6fb7c545cf94cd5b79e2c4959e933bc0c5b796f147f",
11
+ "packageManifestVersion": "1.2.6",
12
+ "packageLockPath": "slides/package-lock.json",
13
+ "packageLockSha256": "109e3d5f3ce502ea5ba11979d96569e99247db8235f3e2fb71a09ccad846729b",
14
+ "packageLockRootVersion": "1.1.0",
15
+ "versionMetadataNote": "The pinned upstream package.json declares 1.2.6, while the package-lock.json root packages[\"\"].version declares 1.1.0. Both original files are preserved and independently hash-pinned.",
16
+ "fontSourcePath": "slides/src/fontdata.ts",
17
+ "fontSourceSha256": "dc03aee6d312d13be30d9eee818a8915c2b0e24bd281187b2cb787ba2604c82f",
18
+ "selectionMethod": "npm-lockfile-v3-dev-not-true",
19
+ "selectionScope": "All package-lock v3 entries under packages/node_modules/* with dev not true. This records the production-scoped lockfile package set for the direct dependencies below, not proof that every package contributes bytes to the generated shell."
20
+ },
21
+ "rootDependencies": [
22
+ {
23
+ "name": "moveable",
24
+ "range": "^0.53.0",
25
+ "resolvedVersion": "0.53.0",
26
+ "licenseDeclared": "MIT",
27
+ "packageLockPath": "packages/node_modules/moveable"
28
+ },
29
+ {
30
+ "name": "reveal.js",
31
+ "range": "^5.2.1",
32
+ "resolvedVersion": "5.2.1",
33
+ "licenseDeclared": "MIT",
34
+ "packageLockPath": "packages/node_modules/reveal.js"
35
+ },
36
+ {
37
+ "name": "selecto",
38
+ "range": "^1.26.3",
39
+ "resolvedVersion": "1.26.3",
40
+ "licenseDeclared": "MIT",
41
+ "packageLockPath": "packages/node_modules/selecto"
42
+ }
43
+ ],
44
+ "runtimePackages": [
45
+ {
46
+ "name": "@cfcs/core",
47
+ "version": "0.0.6",
48
+ "licenseDeclared": "MIT",
49
+ "packageLockPath": "packages/node_modules/@cfcs/core"
50
+ },
51
+ {
52
+ "name": "@daybrush/utils",
53
+ "version": "1.13.0",
54
+ "licenseDeclared": "MIT",
55
+ "packageLockPath": "packages/node_modules/@daybrush/utils"
56
+ },
57
+ {
58
+ "name": "@egjs/agent",
59
+ "version": "2.4.4",
60
+ "licenseDeclared": "MIT",
61
+ "packageLockPath": "packages/node_modules/@egjs/agent"
62
+ },
63
+ {
64
+ "name": "@egjs/children-differ",
65
+ "version": "1.0.1",
66
+ "licenseDeclared": "MIT",
67
+ "packageLockPath": "packages/node_modules/@egjs/children-differ"
68
+ },
69
+ {
70
+ "name": "@egjs/component",
71
+ "version": "3.0.5",
72
+ "licenseDeclared": "MIT",
73
+ "packageLockPath": "packages/node_modules/@egjs/component"
74
+ },
75
+ {
76
+ "name": "@egjs/list-differ",
77
+ "version": "1.0.1",
78
+ "licenseDeclared": "MIT",
79
+ "packageLockPath": "packages/node_modules/@egjs/list-differ"
80
+ },
81
+ {
82
+ "name": "@scena/dragscroll",
83
+ "version": "1.4.0",
84
+ "licenseDeclared": "MIT",
85
+ "packageLockPath": "packages/node_modules/@scena/dragscroll"
86
+ },
87
+ {
88
+ "name": "@scena/event-emitter",
89
+ "version": "1.0.5",
90
+ "licenseDeclared": "MIT",
91
+ "packageLockPath": "packages/node_modules/@scena/event-emitter"
92
+ },
93
+ {
94
+ "name": "@scena/matrix",
95
+ "version": "1.1.1",
96
+ "licenseDeclared": "MIT",
97
+ "packageLockPath": "packages/node_modules/@scena/matrix"
98
+ },
99
+ {
100
+ "name": "croact",
101
+ "version": "1.0.4",
102
+ "licenseDeclared": "MIT",
103
+ "packageLockPath": "packages/node_modules/croact"
104
+ },
105
+ {
106
+ "name": "croact-css-styled",
107
+ "version": "1.1.9",
108
+ "licenseDeclared": "MIT",
109
+ "packageLockPath": "packages/node_modules/croact-css-styled"
110
+ },
111
+ {
112
+ "name": "croact-moveable",
113
+ "version": "0.9.0",
114
+ "licenseDeclared": "MIT",
115
+ "packageLockPath": "packages/node_modules/croact-moveable"
116
+ },
117
+ {
118
+ "name": "css-styled",
119
+ "version": "1.0.8",
120
+ "licenseDeclared": "MIT",
121
+ "packageLockPath": "packages/node_modules/css-styled"
122
+ },
123
+ {
124
+ "name": "css-to-mat",
125
+ "version": "1.1.1",
126
+ "licenseDeclared": "MIT",
127
+ "packageLockPath": "packages/node_modules/css-to-mat"
128
+ },
129
+ {
130
+ "name": "framework-utils",
131
+ "version": "1.1.0",
132
+ "licenseDeclared": "MIT",
133
+ "packageLockPath": "packages/node_modules/framework-utils"
134
+ },
135
+ {
136
+ "name": "gesto",
137
+ "version": "1.19.4",
138
+ "licenseDeclared": "MIT",
139
+ "packageLockPath": "packages/node_modules/gesto"
140
+ },
141
+ {
142
+ "name": "keycode",
143
+ "version": "2.2.1",
144
+ "licenseDeclared": "MIT",
145
+ "packageLockPath": "packages/node_modules/keycode"
146
+ },
147
+ {
148
+ "name": "keycon",
149
+ "version": "1.4.0",
150
+ "licenseDeclared": "MIT",
151
+ "packageLockPath": "packages/node_modules/keycon"
152
+ },
153
+ {
154
+ "name": "moveable",
155
+ "version": "0.53.0",
156
+ "licenseDeclared": "MIT",
157
+ "packageLockPath": "packages/node_modules/moveable"
158
+ },
159
+ {
160
+ "name": "overlap-area",
161
+ "version": "1.1.0",
162
+ "licenseDeclared": "MIT",
163
+ "packageLockPath": "packages/node_modules/overlap-area"
164
+ },
165
+ {
166
+ "name": "react-css-styled",
167
+ "version": "1.1.9",
168
+ "licenseDeclared": "MIT",
169
+ "packageLockPath": "packages/node_modules/react-css-styled"
170
+ },
171
+ {
172
+ "name": "react-moveable",
173
+ "version": "0.56.0",
174
+ "licenseDeclared": "MIT",
175
+ "packageLockPath": "packages/node_modules/react-moveable"
176
+ },
177
+ {
178
+ "name": "react-selecto",
179
+ "version": "1.26.3",
180
+ "licenseDeclared": "MIT",
181
+ "packageLockPath": "packages/node_modules/react-selecto"
182
+ },
183
+ {
184
+ "name": "reveal.js",
185
+ "version": "5.2.1",
186
+ "licenseDeclared": "MIT",
187
+ "packageLockPath": "packages/node_modules/reveal.js"
188
+ },
189
+ {
190
+ "name": "selecto",
191
+ "version": "1.26.3",
192
+ "licenseDeclared": "MIT",
193
+ "packageLockPath": "packages/node_modules/selecto"
194
+ }
195
+ ],
196
+ "embeddedFonts": [
197
+ {
198
+ "name": "Fraunces",
199
+ "asset": "FRAUNCES_900",
200
+ "subset": "Latin",
201
+ "format": "WOFF2",
202
+ "assetBytes": 34632,
203
+ "assetSha256": "628051c1bd196ee82e88cb02015e46b8fc30f505215b424d29627ec613395a0d",
204
+ "version": null,
205
+ "versionEvidence": "No upstream font release identifier is recorded for this WOFF2 data in the pinned Bento source.",
206
+ "licenseCopyrightNotice": "Copyright 2018 The Fraunces Project Authors",
207
+ "bentoNoticeCopyrightNotice": "Copyright 2020 The Fraunces Project Authors",
208
+ "licenseKey": "fraunces",
209
+ "licensePath": "font-licenses/fraunces-OFL.txt",
210
+ "licenseSha256": "bdf4c22802eaf804f998195871c6b8938aac2ac14b2d78a8bd66a6f1eced833b",
211
+ "licenseSourceUrl": "https://raw.githubusercontent.com/undercasetype/Fraunces/284bc5ea73b1233a05d6ec644e641b9404cba8a0/OFL.txt",
212
+ "licenseDeclared": "SIL Open Font License 1.1",
213
+ "sourcePath": "slides/src/fontdata.ts",
214
+ "sourceSha256": "dc03aee6d312d13be30d9eee818a8915c2b0e24bd281187b2cb787ba2604c82f"
215
+ },
216
+ {
217
+ "name": "Instrument Sans",
218
+ "asset": "INSTRUMENT_VAR",
219
+ "subset": "Latin",
220
+ "format": "WOFF2",
221
+ "assetBytes": 29904,
222
+ "assetSha256": "6219bc4bfdfc5d9b2201dcdf046218b122a758f932e25ed5f168f929b7ca2311",
223
+ "version": null,
224
+ "versionEvidence": "No upstream font release identifier is recorded for this WOFF2 data in the pinned Bento source.",
225
+ "licenseCopyrightNotice": "Copyright 2022 The Instrument Sans Project Authors",
226
+ "bentoNoticeCopyrightNotice": "Copyright 2022 The Instrument Sans Project Authors",
227
+ "licenseKey": "instrumentSans",
228
+ "licensePath": "font-licenses/instrument-sans-OFL.txt",
229
+ "licenseSha256": "9e27a72ed30eb49a08678f6a5d6ed98ec7ba5368f541637ee0683ec9134ef966",
230
+ "licenseSourceUrl": "https://raw.githubusercontent.com/Instrument/instrument-sans/24690a4ab2f92d45aa23246abeba515712145d75/OFL.txt",
231
+ "licenseDeclared": "SIL Open Font License 1.1",
232
+ "sourcePath": "slides/src/fontdata.ts",
233
+ "sourceSha256": "dc03aee6d312d13be30d9eee818a8915c2b0e24bd281187b2cb787ba2604c82f"
234
+ }
235
+ ],
236
+ "noticeReview": {
237
+ "status": "font-texts-pinned-review-incomplete",
238
+ "scopeNote": "The complete official OFL texts for the two named embedded font assets are included and integrity-pinned. This is not a complete legal audit; the exact upstream font release identifiers remain unknown.",
239
+ "pending": [
240
+ "The exact upstream release identifiers for both embedded font WOFF2 assets remain unknown.",
241
+ "A complete review of all Bento third-party notices and Quarto-Bento licensing has not been performed."
242
+ ]
243
+ }
244
+ }