@alloy-js/core 0.23.0-dev.0 → 0.23.0-dev.8

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 (269) hide show
  1. package/CHANGELOG.md +0 -22
  2. package/dist/devtools/index.html +68 -0
  3. package/dist/src/binder.d.ts +2 -0
  4. package/dist/src/binder.d.ts.map +1 -1
  5. package/dist/src/binder.js +55 -12
  6. package/dist/src/binder.js.map +1 -1
  7. package/dist/src/components/AppendFile.d.ts.map +1 -1
  8. package/dist/src/components/AppendFile.js +14 -3
  9. package/dist/src/components/AppendFile.js.map +1 -1
  10. package/dist/src/components/Block.js +1 -1
  11. package/dist/src/components/Block.js.map +1 -1
  12. package/dist/src/components/Declaration.d.ts.map +1 -1
  13. package/dist/src/components/Declaration.js +2 -1
  14. package/dist/src/components/Declaration.js.map +1 -1
  15. package/dist/src/components/Scope.d.ts.map +1 -1
  16. package/dist/src/components/Scope.js +4 -1
  17. package/dist/src/components/Scope.js.map +1 -1
  18. package/dist/src/components/TemplateFile.d.ts.map +1 -1
  19. package/dist/src/components/TemplateFile.js +18 -3
  20. package/dist/src/components/TemplateFile.js.map +1 -1
  21. package/dist/src/content-slot.d.ts.map +1 -1
  22. package/dist/src/content-slot.js +6 -5
  23. package/dist/src/content-slot.js.map +1 -1
  24. package/dist/src/context.d.ts.map +1 -1
  25. package/dist/src/context.js +8 -1
  26. package/dist/src/context.js.map +1 -1
  27. package/dist/src/debug/cli.d.ts +6 -0
  28. package/dist/src/debug/cli.d.ts.map +1 -0
  29. package/dist/src/{debug.js → debug/cli.js} +78 -84
  30. package/dist/src/debug/cli.js.map +1 -0
  31. package/dist/src/debug/diagnostics.test.d.ts +2 -0
  32. package/dist/src/debug/diagnostics.test.d.ts.map +1 -0
  33. package/dist/src/debug/diagnostics.test.js +45 -0
  34. package/dist/src/debug/diagnostics.test.js.map +1 -0
  35. package/dist/src/debug/effects.d.ts +69 -0
  36. package/dist/src/debug/effects.d.ts.map +1 -0
  37. package/dist/src/debug/effects.js +228 -0
  38. package/dist/src/debug/effects.js.map +1 -0
  39. package/dist/src/debug/effects.test.d.ts +2 -0
  40. package/dist/src/debug/effects.test.d.ts.map +1 -0
  41. package/dist/src/debug/effects.test.js +86 -0
  42. package/dist/src/debug/effects.test.js.map +1 -0
  43. package/dist/src/debug/files.d.ts +14 -0
  44. package/dist/src/debug/files.d.ts.map +1 -0
  45. package/dist/src/debug/files.js +40 -0
  46. package/dist/src/debug/files.js.map +1 -0
  47. package/dist/src/debug/files.test.d.ts +2 -0
  48. package/dist/src/debug/files.test.d.ts.map +1 -0
  49. package/dist/src/debug/files.test.js +89 -0
  50. package/dist/src/debug/files.test.js.map +1 -0
  51. package/dist/src/debug/index.d.ts +60 -0
  52. package/dist/src/debug/index.d.ts.map +1 -0
  53. package/dist/src/debug/index.js +68 -0
  54. package/dist/src/debug/index.js.map +1 -0
  55. package/dist/src/debug/render.d.ts +57 -0
  56. package/dist/src/debug/render.d.ts.map +1 -0
  57. package/dist/src/debug/render.js +519 -0
  58. package/dist/src/debug/render.js.map +1 -0
  59. package/dist/src/debug/render.test.d.ts +2 -0
  60. package/dist/src/debug/render.test.d.ts.map +1 -0
  61. package/dist/src/debug/render.test.js +328 -0
  62. package/dist/src/debug/render.test.js.map +1 -0
  63. package/dist/src/debug/serialize.d.ts +9 -0
  64. package/dist/src/debug/serialize.d.ts.map +1 -0
  65. package/dist/src/debug/serialize.js +70 -0
  66. package/dist/src/debug/serialize.js.map +1 -0
  67. package/dist/src/debug/symbols.d.ts +9 -0
  68. package/dist/src/debug/symbols.d.ts.map +1 -0
  69. package/dist/src/debug/symbols.js +164 -0
  70. package/dist/src/debug/symbols.js.map +1 -0
  71. package/dist/src/debug/symbols.test.d.ts +2 -0
  72. package/dist/src/debug/symbols.test.d.ts.map +1 -0
  73. package/dist/src/debug/symbols.test.js +104 -0
  74. package/dist/src/debug/symbols.test.js.map +1 -0
  75. package/dist/src/debug/trace.d.ts +342 -0
  76. package/dist/src/debug/trace.d.ts.map +1 -0
  77. package/dist/src/debug/trace.js +443 -0
  78. package/dist/src/debug/trace.js.map +1 -0
  79. package/dist/src/devtools/devtools-protocol.d.ts +232 -0
  80. package/dist/src/devtools/devtools-protocol.d.ts.map +1 -0
  81. package/dist/src/devtools/devtools-protocol.js +2 -0
  82. package/dist/src/devtools/devtools-protocol.js.map +1 -0
  83. package/dist/src/devtools/devtools-server.browser.d.ts +28 -0
  84. package/dist/src/devtools/devtools-server.browser.d.ts.map +1 -0
  85. package/dist/src/devtools/devtools-server.browser.js +36 -0
  86. package/dist/src/devtools/devtools-server.browser.js.map +1 -0
  87. package/dist/src/devtools/devtools-server.d.ts +72 -0
  88. package/dist/src/devtools/devtools-server.d.ts.map +1 -0
  89. package/dist/src/devtools/devtools-server.js +256 -0
  90. package/dist/src/devtools/devtools-server.js.map +1 -0
  91. package/dist/src/devtools/devtools-transport.d.ts +23 -0
  92. package/dist/src/devtools/devtools-transport.d.ts.map +1 -0
  93. package/dist/src/devtools/devtools-transport.js +114 -0
  94. package/dist/src/devtools/devtools-transport.js.map +1 -0
  95. package/dist/src/devtools-entry.browser.d.ts +4 -0
  96. package/dist/src/devtools-entry.browser.d.ts.map +1 -0
  97. package/dist/src/devtools-entry.browser.js +2 -0
  98. package/dist/src/devtools-entry.browser.js.map +1 -0
  99. package/dist/src/devtools-entry.d.ts +4 -0
  100. package/dist/src/devtools-entry.d.ts.map +1 -0
  101. package/dist/src/devtools-entry.js +2 -0
  102. package/dist/src/devtools-entry.js.map +1 -0
  103. package/dist/src/diagnostics.d.ts +34 -0
  104. package/dist/src/diagnostics.d.ts.map +1 -0
  105. package/dist/src/diagnostics.js +89 -0
  106. package/dist/src/diagnostics.js.map +1 -0
  107. package/dist/src/index.d.ts +3 -2
  108. package/dist/src/index.d.ts.map +1 -1
  109. package/dist/src/index.js +3 -2
  110. package/dist/src/index.js.map +1 -1
  111. package/dist/src/print-hook.d.ts +14 -0
  112. package/dist/src/print-hook.d.ts.map +1 -0
  113. package/dist/src/print-hook.js +10 -0
  114. package/dist/src/print-hook.js.map +1 -0
  115. package/dist/src/reactive-union-set.d.ts.map +1 -1
  116. package/dist/src/reactive-union-set.js +15 -0
  117. package/dist/src/reactive-union-set.js.map +1 -1
  118. package/dist/src/reactivity.d.ts +17 -3
  119. package/dist/src/reactivity.d.ts.map +1 -1
  120. package/dist/src/reactivity.js +162 -14
  121. package/dist/src/reactivity.js.map +1 -1
  122. package/dist/src/render-stack.d.ts +29 -0
  123. package/dist/src/render-stack.d.ts.map +1 -0
  124. package/dist/src/render-stack.js +247 -0
  125. package/dist/src/render-stack.js.map +1 -0
  126. package/dist/src/render.d.ts +9 -19
  127. package/dist/src/render.d.ts.map +1 -1
  128. package/dist/src/render.js +363 -153
  129. package/dist/src/render.js.map +1 -1
  130. package/dist/src/resource.d.ts.map +1 -1
  131. package/dist/src/resource.js +5 -0
  132. package/dist/src/resource.js.map +1 -1
  133. package/dist/src/runtime/component.d.ts +7 -1
  134. package/dist/src/runtime/component.d.ts.map +1 -1
  135. package/dist/src/runtime/component.js +4 -1
  136. package/dist/src/runtime/component.js.map +1 -1
  137. package/dist/src/scheduler.d.ts +3 -0
  138. package/dist/src/scheduler.d.ts.map +1 -1
  139. package/dist/src/scheduler.js +45 -2
  140. package/dist/src/scheduler.js.map +1 -1
  141. package/dist/src/symbols/basic-symbol.d.ts.map +1 -1
  142. package/dist/src/symbols/basic-symbol.js +6 -1
  143. package/dist/src/symbols/basic-symbol.js.map +1 -1
  144. package/dist/src/symbols/decl.d.ts.map +1 -1
  145. package/dist/src/symbols/decl.js +5 -1
  146. package/dist/src/symbols/decl.js.map +1 -1
  147. package/dist/src/symbols/output-scope.d.ts +2 -1
  148. package/dist/src/symbols/output-scope.d.ts.map +1 -1
  149. package/dist/src/symbols/output-scope.js +13 -8
  150. package/dist/src/symbols/output-scope.js.map +1 -1
  151. package/dist/src/symbols/output-symbol.d.ts +1 -0
  152. package/dist/src/symbols/output-symbol.d.ts.map +1 -1
  153. package/dist/src/symbols/output-symbol.js +23 -6
  154. package/dist/src/symbols/output-symbol.js.map +1 -1
  155. package/dist/src/symbols/symbol-flow.d.ts.map +1 -1
  156. package/dist/src/symbols/symbol-flow.js +22 -6
  157. package/dist/src/symbols/symbol-flow.js.map +1 -1
  158. package/dist/src/symbols/symbol-slot.d.ts.map +1 -1
  159. package/dist/src/symbols/symbol-slot.js +15 -0
  160. package/dist/src/symbols/symbol-slot.js.map +1 -1
  161. package/dist/src/symbols/symbol-slot.test.d.ts +2 -0
  162. package/dist/src/symbols/symbol-slot.test.d.ts.map +1 -0
  163. package/dist/src/symbols/symbol-slot.test.js +35 -0
  164. package/dist/src/symbols/symbol-slot.test.js.map +1 -0
  165. package/dist/src/symbols/symbol-table.d.ts.map +1 -1
  166. package/dist/src/symbols/symbol-table.js +6 -5
  167. package/dist/src/symbols/symbol-table.js.map +1 -1
  168. package/dist/src/trace.d.ts +2 -0
  169. package/dist/src/trace.d.ts.map +1 -0
  170. package/dist/src/trace.js +2 -0
  171. package/dist/src/trace.js.map +1 -0
  172. package/dist/src/tracer.d.ts +2 -228
  173. package/dist/src/tracer.d.ts.map +1 -1
  174. package/dist/src/tracer.js +5 -298
  175. package/dist/src/tracer.js.map +1 -1
  176. package/dist/src/utils.d.ts.map +1 -1
  177. package/dist/src/utils.js +5 -0
  178. package/dist/src/utils.js.map +1 -1
  179. package/dist/test/components/append-file.test.d.ts.map +1 -1
  180. package/dist/test/components/append-file.test.js +18 -10
  181. package/dist/test/components/append-file.test.js.map +1 -1
  182. package/dist/test/components/template-file.test.d.ts.map +1 -1
  183. package/dist/test/components/template-file.test.js +6 -4
  184. package/dist/test/components/template-file.test.js.map +1 -1
  185. package/dist/test/rendering/basic.test.js +3 -0
  186. package/dist/test/rendering/basic.test.js.map +1 -1
  187. package/dist/test/rendering/print-render-stack.test.d.ts +2 -0
  188. package/dist/test/rendering/print-render-stack.test.d.ts.map +1 -0
  189. package/dist/test/rendering/print-render-stack.test.js +207 -0
  190. package/dist/test/rendering/print-render-stack.test.js.map +1 -0
  191. package/dist/testing/create-test-wrapper.d.ts +1 -1
  192. package/dist/testing/create-test-wrapper.d.ts.map +1 -1
  193. package/dist/testing/create-test-wrapper.js +1 -1
  194. package/dist/testing/create-test-wrapper.js.map +1 -1
  195. package/dist/testing/devtools-utils.d.ts +26 -0
  196. package/dist/testing/devtools-utils.d.ts.map +1 -0
  197. package/dist/testing/devtools-utils.js +140 -0
  198. package/dist/testing/devtools-utils.js.map +1 -0
  199. package/dist/testing/extend-expect.d.ts.map +1 -1
  200. package/dist/testing/extend-expect.js +63 -1
  201. package/dist/testing/extend-expect.js.map +1 -1
  202. package/dist/testing/render.d.ts +2 -2
  203. package/dist/testing/render.d.ts.map +1 -1
  204. package/dist/testing/render.js +2 -2
  205. package/dist/testing/render.js.map +1 -1
  206. package/dist/tsconfig.tsbuildinfo +1 -1
  207. package/package.json +21 -7
  208. package/scripts/copy-devtools-ui.mjs +26 -0
  209. package/src/binder.ts +71 -16
  210. package/src/components/AppendFile.tsx +14 -9
  211. package/src/components/Block.tsx +1 -1
  212. package/src/components/Declaration.tsx +2 -1
  213. package/src/components/Scope.tsx +4 -1
  214. package/src/components/TemplateFile.tsx +18 -9
  215. package/src/content-slot.tsx +6 -6
  216. package/src/context.ts +15 -4
  217. package/src/{debug.ts → debug/cli.ts} +112 -127
  218. package/src/debug/diagnostics.test.tsx +55 -0
  219. package/src/debug/effects.test.tsx +96 -0
  220. package/src/debug/effects.ts +313 -0
  221. package/src/debug/files.test.tsx +96 -0
  222. package/src/debug/files.ts +40 -0
  223. package/src/debug/index.ts +126 -0
  224. package/src/debug/render.test.tsx +379 -0
  225. package/src/debug/render.ts +639 -0
  226. package/src/debug/serialize.ts +85 -0
  227. package/src/debug/symbols.test.tsx +106 -0
  228. package/src/debug/symbols.ts +230 -0
  229. package/src/debug/trace.ts +312 -0
  230. package/src/devtools/devtools-protocol.ts +312 -0
  231. package/src/devtools/devtools-server.browser.ts +71 -0
  232. package/src/devtools/devtools-server.ts +290 -0
  233. package/src/devtools/devtools-transport.ts +154 -0
  234. package/src/devtools-entry.browser.ts +52 -0
  235. package/src/devtools-entry.ts +54 -0
  236. package/src/diagnostics.ts +141 -0
  237. package/src/index.ts +2 -6
  238. package/src/print-hook.ts +22 -0
  239. package/src/reactive-union-set.ts +71 -41
  240. package/src/reactivity.ts +206 -23
  241. package/src/render-stack.ts +289 -0
  242. package/src/render.ts +464 -212
  243. package/src/resource.ts +28 -19
  244. package/src/runtime/component.ts +11 -0
  245. package/src/scheduler.ts +55 -3
  246. package/src/symbols/basic-symbol.ts +6 -1
  247. package/src/symbols/decl.ts +5 -1
  248. package/src/symbols/output-scope.ts +21 -12
  249. package/src/symbols/output-symbol.ts +33 -12
  250. package/src/symbols/symbol-flow.ts +68 -37
  251. package/src/symbols/symbol-slot.test.tsx +41 -0
  252. package/src/symbols/symbol-slot.tsx +47 -20
  253. package/src/symbols/symbol-table.ts +6 -10
  254. package/src/trace.ts +1 -0
  255. package/src/tracer.ts +13 -242
  256. package/src/utils.tsx +22 -13
  257. package/temp/api.json +1811 -277
  258. package/test/components/append-file.test.tsx +36 -29
  259. package/test/components/template-file.test.tsx +11 -11
  260. package/test/rendering/basic.test.tsx +4 -0
  261. package/test/rendering/print-render-stack.test.tsx +244 -0
  262. package/testing/create-test-wrapper.tsx +1 -1
  263. package/testing/devtools-utils.ts +203 -0
  264. package/testing/extend-expect.ts +89 -0
  265. package/testing/render.ts +2 -2
  266. package/testing/vitest.d.ts +9 -0
  267. package/dist/src/debug.d.ts +0 -15
  268. package/dist/src/debug.d.ts.map +0 -1
  269. package/dist/src/debug.js.map +0 -1
package/temp/api.json CHANGED
@@ -708,6 +708,52 @@
708
708
  "endIndex": 5
709
709
  }
710
710
  },
711
+ {
712
+ "kind": "Function",
713
+ "canonicalReference": "@alloy-js/core!attachDiagnosticsCollector:function(1)",
714
+ "docComment": "",
715
+ "excerptTokens": [
716
+ {
717
+ "kind": "Content",
718
+ "text": "export declare function attachDiagnosticsCollector(collector: "
719
+ },
720
+ {
721
+ "kind": "Reference",
722
+ "text": "DiagnosticsCollector",
723
+ "canonicalReference": "@alloy-js/core!DiagnosticsCollector:class"
724
+ },
725
+ {
726
+ "kind": "Content",
727
+ "text": "): "
728
+ },
729
+ {
730
+ "kind": "Content",
731
+ "text": "void"
732
+ },
733
+ {
734
+ "kind": "Content",
735
+ "text": ";"
736
+ }
737
+ ],
738
+ "fileUrlPath": "src/diagnostics.ts",
739
+ "returnTypeTokenRange": {
740
+ "startIndex": 3,
741
+ "endIndex": 4
742
+ },
743
+ "releaseTag": "Public",
744
+ "overloadIndex": 1,
745
+ "parameters": [
746
+ {
747
+ "parameterName": "collector",
748
+ "parameterTypeTokenRange": {
749
+ "startIndex": 1,
750
+ "endIndex": 2
751
+ },
752
+ "isOptional": false
753
+ }
754
+ ],
755
+ "name": "attachDiagnosticsCollector"
756
+ },
711
757
  {
712
758
  "kind": "Interface",
713
759
  "canonicalReference": "@alloy-js/core!BaseListProps:interface",
@@ -3061,6 +3107,34 @@
3061
3107
  "endIndex": 2
3062
3108
  }
3063
3109
  },
3110
+ {
3111
+ "kind": "PropertySignature",
3112
+ "canonicalReference": "@alloy-js/core!ComponentCreator#source:member",
3113
+ "docComment": "",
3114
+ "excerptTokens": [
3115
+ {
3116
+ "kind": "Content",
3117
+ "text": "source?: "
3118
+ },
3119
+ {
3120
+ "kind": "Reference",
3121
+ "text": "SourceLocation",
3122
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface"
3123
+ },
3124
+ {
3125
+ "kind": "Content",
3126
+ "text": ";"
3127
+ }
3128
+ ],
3129
+ "isReadonly": false,
3130
+ "isOptional": true,
3131
+ "releaseTag": "Public",
3132
+ "name": "source",
3133
+ "propertyTypeTokenRange": {
3134
+ "startIndex": 1,
3135
+ "endIndex": 2
3136
+ }
3137
+ },
3064
3138
  {
3065
3139
  "kind": "PropertySignature",
3066
3140
  "canonicalReference": "@alloy-js/core!ComponentCreator#tag:member",
@@ -3175,6 +3249,69 @@
3175
3249
  ],
3176
3250
  "extendsTokenRanges": []
3177
3251
  },
3252
+ {
3253
+ "kind": "Function",
3254
+ "canonicalReference": "@alloy-js/core!computed:function(1)",
3255
+ "docComment": "",
3256
+ "excerptTokens": [
3257
+ {
3258
+ "kind": "Content",
3259
+ "text": "export declare function computed<T>(getter: "
3260
+ },
3261
+ {
3262
+ "kind": "Content",
3263
+ "text": "() => T"
3264
+ },
3265
+ {
3266
+ "kind": "Content",
3267
+ "text": "): "
3268
+ },
3269
+ {
3270
+ "kind": "Reference",
3271
+ "text": "Ref",
3272
+ "canonicalReference": "@vue/reactivity!Ref:interface"
3273
+ },
3274
+ {
3275
+ "kind": "Content",
3276
+ "text": "<T>"
3277
+ },
3278
+ {
3279
+ "kind": "Content",
3280
+ "text": ";"
3281
+ }
3282
+ ],
3283
+ "fileUrlPath": "src/reactivity.ts",
3284
+ "returnTypeTokenRange": {
3285
+ "startIndex": 3,
3286
+ "endIndex": 5
3287
+ },
3288
+ "releaseTag": "Public",
3289
+ "overloadIndex": 1,
3290
+ "parameters": [
3291
+ {
3292
+ "parameterName": "getter",
3293
+ "parameterTypeTokenRange": {
3294
+ "startIndex": 1,
3295
+ "endIndex": 2
3296
+ },
3297
+ "isOptional": false
3298
+ }
3299
+ ],
3300
+ "typeParameters": [
3301
+ {
3302
+ "typeParameterName": "T",
3303
+ "constraintTokenRange": {
3304
+ "startIndex": 0,
3305
+ "endIndex": 0
3306
+ },
3307
+ "defaultTypeTokenRange": {
3308
+ "startIndex": 0,
3309
+ "endIndex": 0
3310
+ }
3311
+ }
3312
+ ],
3313
+ "name": "computed"
3314
+ },
3178
3315
  {
3179
3316
  "kind": "Interface",
3180
3317
  "canonicalReference": "@alloy-js/core!ContentOutputFile:interface",
@@ -4322,6 +4459,15 @@
4322
4459
  "kind": "Content",
4323
4460
  "text": "TProps"
4324
4461
  },
4462
+ {
4463
+ "kind": "Content",
4464
+ "text": ", source?: "
4465
+ },
4466
+ {
4467
+ "kind": "Reference",
4468
+ "text": "SourceLocation",
4469
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface"
4470
+ },
4325
4471
  {
4326
4472
  "kind": "Content",
4327
4473
  "text": "): "
@@ -4342,8 +4488,8 @@
4342
4488
  ],
4343
4489
  "fileUrlPath": "src/runtime/component.ts",
4344
4490
  "returnTypeTokenRange": {
4345
- "startIndex": 10,
4346
- "endIndex": 12
4491
+ "startIndex": 12,
4492
+ "endIndex": 14
4347
4493
  },
4348
4494
  "releaseTag": "Public",
4349
4495
  "overloadIndex": 1,
@@ -4363,6 +4509,14 @@
4363
4509
  "endIndex": 9
4364
4510
  },
4365
4511
  "isOptional": false
4512
+ },
4513
+ {
4514
+ "parameterName": "source",
4515
+ "parameterTypeTokenRange": {
4516
+ "startIndex": 10,
4517
+ "endIndex": 11
4518
+ },
4519
+ "isOptional": true
4366
4520
  }
4367
4521
  ],
4368
4522
  "typeParameters": [
@@ -5430,6 +5584,108 @@
5430
5584
  ],
5431
5585
  "name": "createResource"
5432
5586
  },
5587
+ {
5588
+ "kind": "Function",
5589
+ "canonicalReference": "@alloy-js/core!createScope:function(1)",
5590
+ "docComment": "",
5591
+ "excerptTokens": [
5592
+ {
5593
+ "kind": "Content",
5594
+ "text": "export declare function createScope<TScope extends "
5595
+ },
5596
+ {
5597
+ "kind": "Reference",
5598
+ "text": "OutputScope",
5599
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
5600
+ },
5601
+ {
5602
+ "kind": "Content",
5603
+ "text": ", Args extends "
5604
+ },
5605
+ {
5606
+ "kind": "Content",
5607
+ "text": "unknown[]"
5608
+ },
5609
+ {
5610
+ "kind": "Content",
5611
+ "text": ">(ctor: "
5612
+ },
5613
+ {
5614
+ "kind": "Content",
5615
+ "text": "new (...args: Args) => TScope"
5616
+ },
5617
+ {
5618
+ "kind": "Content",
5619
+ "text": ", ...args: "
5620
+ },
5621
+ {
5622
+ "kind": "Content",
5623
+ "text": "Args"
5624
+ },
5625
+ {
5626
+ "kind": "Content",
5627
+ "text": "): "
5628
+ },
5629
+ {
5630
+ "kind": "Content",
5631
+ "text": "TScope"
5632
+ },
5633
+ {
5634
+ "kind": "Content",
5635
+ "text": ";"
5636
+ }
5637
+ ],
5638
+ "fileUrlPath": "src/binder.ts",
5639
+ "returnTypeTokenRange": {
5640
+ "startIndex": 9,
5641
+ "endIndex": 10
5642
+ },
5643
+ "releaseTag": "Public",
5644
+ "overloadIndex": 1,
5645
+ "parameters": [
5646
+ {
5647
+ "parameterName": "ctor",
5648
+ "parameterTypeTokenRange": {
5649
+ "startIndex": 5,
5650
+ "endIndex": 6
5651
+ },
5652
+ "isOptional": false
5653
+ },
5654
+ {
5655
+ "parameterName": "args",
5656
+ "parameterTypeTokenRange": {
5657
+ "startIndex": 7,
5658
+ "endIndex": 8
5659
+ },
5660
+ "isOptional": false
5661
+ }
5662
+ ],
5663
+ "typeParameters": [
5664
+ {
5665
+ "typeParameterName": "TScope",
5666
+ "constraintTokenRange": {
5667
+ "startIndex": 1,
5668
+ "endIndex": 2
5669
+ },
5670
+ "defaultTypeTokenRange": {
5671
+ "startIndex": 0,
5672
+ "endIndex": 0
5673
+ }
5674
+ },
5675
+ {
5676
+ "typeParameterName": "Args",
5677
+ "constraintTokenRange": {
5678
+ "startIndex": 3,
5679
+ "endIndex": 4
5680
+ },
5681
+ "defaultTypeTokenRange": {
5682
+ "startIndex": 0,
5683
+ "endIndex": 0
5684
+ }
5685
+ }
5686
+ ],
5687
+ "name": "createScope"
5688
+ },
5433
5689
  {
5434
5690
  "kind": "Function",
5435
5691
  "canonicalReference": "@alloy-js/core!createScopeTap:function(1)",
@@ -5591,38 +5847,140 @@
5591
5847
  },
5592
5848
  {
5593
5849
  "kind": "Function",
5594
- "canonicalReference": "@alloy-js/core!createSymbolSlot:function(1)",
5595
- "docComment": "/**\n * Create a component which accepts emitted symbols. The returned component has\n * a `ref` property which is a ref to a reactive set of all symbols emitted by\n * children of the component.\n */\n",
5850
+ "canonicalReference": "@alloy-js/core!createSymbol:function(1)",
5851
+ "docComment": "",
5596
5852
  "excerptTokens": [
5597
5853
  {
5598
5854
  "kind": "Content",
5599
- "text": "export declare function createSymbolSlot(): "
5855
+ "text": "export declare function createSymbol<TSymbol extends "
5600
5856
  },
5601
5857
  {
5602
5858
  "kind": "Reference",
5603
- "text": "SymbolSlot",
5604
- "canonicalReference": "@alloy-js/core!SymbolSlot:interface"
5859
+ "text": "OutputSymbol",
5860
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
5605
5861
  },
5606
5862
  {
5607
5863
  "kind": "Content",
5608
- "text": ";"
5609
- }
5610
- ],
5611
- "fileUrlPath": "src/symbols/symbol-slot.tsx",
5612
- "returnTypeTokenRange": {
5613
- "startIndex": 1,
5614
- "endIndex": 2
5615
- },
5616
- "releaseTag": "Public",
5617
- "overloadIndex": 1,
5618
- "parameters": [],
5619
- "name": "createSymbolSlot"
5620
- },
5621
- {
5622
- "kind": "Function",
5623
- "canonicalReference": "@alloy-js/core!createTap:function(1)",
5624
- "docComment": "/**\n * Create a component that when rendered, initializes the tapped value\n * with the provided callback. This is useful for accessing context\n * provided by child components inside a parent component.\n *\n * @example\n * ```tsx\n * import { type Children, computed, createTap } from \"@alloy-js/core\";\n *\n * // context we will tap into\n * const SomeContext = createContext<string>();\n *\n * // a component which provides some specific context\n * function MyDeclaration(props: { children: Children }) {\n * return <SomeContext.Provider value=\"Hello World\">\n * {props.children}\n * </SomeContext.Provider>;\n * }\n *\n * // a parent component which wants to know about the context set\n * // by its children\n * function MySpecialDeclaration() {\n * const SomeContextTap = createTap(() => useContext(SomeContext));\n *\n * return <>\n * The declaration context is: {SomeContextTap.ref}\n * <MyDeclaration>\n * <SomeContextTap />\n * </MyDeclaration>\n * </>\n * }\n *\n * @see {@link createDeclarationTap} for tapping {@link DeclarationContext}.\n * @see {@link createMemberTap} for tapping {@link MemberDeclarationContext}.\n * @see {@link createScopeTap} for tapping {@link OutputScope}.\n * @see {@link createSourceFileTap} for tapping {@link SourceFileContext}.\n * ```\n *\n */\n",
5625
- "excerptTokens": [
5864
+ "text": ", Args extends "
5865
+ },
5866
+ {
5867
+ "kind": "Content",
5868
+ "text": "unknown[]"
5869
+ },
5870
+ {
5871
+ "kind": "Content",
5872
+ "text": ">(ctor: "
5873
+ },
5874
+ {
5875
+ "kind": "Content",
5876
+ "text": "new (...args: Args) => TSymbol"
5877
+ },
5878
+ {
5879
+ "kind": "Content",
5880
+ "text": ", ...args: "
5881
+ },
5882
+ {
5883
+ "kind": "Content",
5884
+ "text": "Args"
5885
+ },
5886
+ {
5887
+ "kind": "Content",
5888
+ "text": "): "
5889
+ },
5890
+ {
5891
+ "kind": "Content",
5892
+ "text": "TSymbol"
5893
+ },
5894
+ {
5895
+ "kind": "Content",
5896
+ "text": ";"
5897
+ }
5898
+ ],
5899
+ "fileUrlPath": "src/binder.ts",
5900
+ "returnTypeTokenRange": {
5901
+ "startIndex": 9,
5902
+ "endIndex": 10
5903
+ },
5904
+ "releaseTag": "Public",
5905
+ "overloadIndex": 1,
5906
+ "parameters": [
5907
+ {
5908
+ "parameterName": "ctor",
5909
+ "parameterTypeTokenRange": {
5910
+ "startIndex": 5,
5911
+ "endIndex": 6
5912
+ },
5913
+ "isOptional": false
5914
+ },
5915
+ {
5916
+ "parameterName": "args",
5917
+ "parameterTypeTokenRange": {
5918
+ "startIndex": 7,
5919
+ "endIndex": 8
5920
+ },
5921
+ "isOptional": false
5922
+ }
5923
+ ],
5924
+ "typeParameters": [
5925
+ {
5926
+ "typeParameterName": "TSymbol",
5927
+ "constraintTokenRange": {
5928
+ "startIndex": 1,
5929
+ "endIndex": 2
5930
+ },
5931
+ "defaultTypeTokenRange": {
5932
+ "startIndex": 0,
5933
+ "endIndex": 0
5934
+ }
5935
+ },
5936
+ {
5937
+ "typeParameterName": "Args",
5938
+ "constraintTokenRange": {
5939
+ "startIndex": 3,
5940
+ "endIndex": 4
5941
+ },
5942
+ "defaultTypeTokenRange": {
5943
+ "startIndex": 0,
5944
+ "endIndex": 0
5945
+ }
5946
+ }
5947
+ ],
5948
+ "name": "createSymbol"
5949
+ },
5950
+ {
5951
+ "kind": "Function",
5952
+ "canonicalReference": "@alloy-js/core!createSymbolSlot:function(1)",
5953
+ "docComment": "/**\n * Create a component which accepts emitted symbols. The returned component has\n * a `ref` property which is a ref to a reactive set of all symbols emitted by\n * children of the component.\n */\n",
5954
+ "excerptTokens": [
5955
+ {
5956
+ "kind": "Content",
5957
+ "text": "export declare function createSymbolSlot(): "
5958
+ },
5959
+ {
5960
+ "kind": "Reference",
5961
+ "text": "SymbolSlot",
5962
+ "canonicalReference": "@alloy-js/core!SymbolSlot:interface"
5963
+ },
5964
+ {
5965
+ "kind": "Content",
5966
+ "text": ";"
5967
+ }
5968
+ ],
5969
+ "fileUrlPath": "src/symbols/symbol-slot.tsx",
5970
+ "returnTypeTokenRange": {
5971
+ "startIndex": 1,
5972
+ "endIndex": 2
5973
+ },
5974
+ "releaseTag": "Public",
5975
+ "overloadIndex": 1,
5976
+ "parameters": [],
5977
+ "name": "createSymbolSlot"
5978
+ },
5979
+ {
5980
+ "kind": "Function",
5981
+ "canonicalReference": "@alloy-js/core!createTap:function(1)",
5982
+ "docComment": "/**\n * Create a component that when rendered, initializes the tapped value\n * with the provided callback. This is useful for accessing context\n * provided by child components inside a parent component.\n *\n * @example\n * ```tsx\n * import { type Children, computed, createTap } from \"@alloy-js/core\";\n *\n * // context we will tap into\n * const SomeContext = createContext<string>();\n *\n * // a component which provides some specific context\n * function MyDeclaration(props: { children: Children }) {\n * return <SomeContext.Provider value=\"Hello World\">\n * {props.children}\n * </SomeContext.Provider>;\n * }\n *\n * // a parent component which wants to know about the context set\n * // by its children\n * function MySpecialDeclaration() {\n * const SomeContextTap = createTap(() => useContext(SomeContext));\n *\n * return <>\n * The declaration context is: {SomeContextTap.ref}\n * <MyDeclaration>\n * <SomeContextTap />\n * </MyDeclaration>\n * </>\n * }\n *\n * @see {@link createDeclarationTap} for tapping {@link DeclarationContext}.\n * @see {@link createMemberTap} for tapping {@link MemberDeclarationContext}.\n * @see {@link createScopeTap} for tapping {@link OutputScope}.\n * @see {@link createSourceFileTap} for tapping {@link SourceFileContext}.\n * ```\n *\n */\n",
5983
+ "excerptTokens": [
5626
5984
  {
5627
5985
  "kind": "Content",
5628
5986
  "text": "export declare function createTap<T = "
@@ -6366,28 +6724,598 @@
6366
6724
  "isOptional": false
6367
6725
  },
6368
6726
  {
6369
- "parameterName": "defaults",
6370
- "parameterTypeTokenRange": {
6371
- "startIndex": 5,
6372
- "endIndex": 7
6373
- },
6374
- "isOptional": false
6375
- }
6376
- ],
6377
- "typeParameters": [
6378
- {
6379
- "typeParameterName": "T",
6380
- "constraintTokenRange": {
6727
+ "parameterName": "defaults",
6728
+ "parameterTypeTokenRange": {
6729
+ "startIndex": 5,
6730
+ "endIndex": 7
6731
+ },
6732
+ "isOptional": false
6733
+ }
6734
+ ],
6735
+ "typeParameters": [
6736
+ {
6737
+ "typeParameterName": "T",
6738
+ "constraintTokenRange": {
6739
+ "startIndex": 1,
6740
+ "endIndex": 2
6741
+ },
6742
+ "defaultTypeTokenRange": {
6743
+ "startIndex": 0,
6744
+ "endIndex": 0
6745
+ }
6746
+ }
6747
+ ],
6748
+ "name": "defaultProps"
6749
+ },
6750
+ {
6751
+ "kind": "Interface",
6752
+ "canonicalReference": "@alloy-js/core!Diagnostic:interface",
6753
+ "docComment": "",
6754
+ "excerptTokens": [
6755
+ {
6756
+ "kind": "Content",
6757
+ "text": "export interface Diagnostic "
6758
+ }
6759
+ ],
6760
+ "fileUrlPath": "src/diagnostics.ts",
6761
+ "releaseTag": "Public",
6762
+ "name": "Diagnostic",
6763
+ "preserveMemberOrder": false,
6764
+ "members": [
6765
+ {
6766
+ "kind": "PropertySignature",
6767
+ "canonicalReference": "@alloy-js/core!Diagnostic#componentStack:member",
6768
+ "docComment": "",
6769
+ "excerptTokens": [
6770
+ {
6771
+ "kind": "Content",
6772
+ "text": "componentStack?: "
6773
+ },
6774
+ {
6775
+ "kind": "Reference",
6776
+ "text": "DiagnosticStackEntry",
6777
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry:interface"
6778
+ },
6779
+ {
6780
+ "kind": "Content",
6781
+ "text": "[]"
6782
+ },
6783
+ {
6784
+ "kind": "Content",
6785
+ "text": ";"
6786
+ }
6787
+ ],
6788
+ "isReadonly": false,
6789
+ "isOptional": true,
6790
+ "releaseTag": "Public",
6791
+ "name": "componentStack",
6792
+ "propertyTypeTokenRange": {
6793
+ "startIndex": 1,
6794
+ "endIndex": 3
6795
+ }
6796
+ },
6797
+ {
6798
+ "kind": "PropertySignature",
6799
+ "canonicalReference": "@alloy-js/core!Diagnostic#id:member",
6800
+ "docComment": "",
6801
+ "excerptTokens": [
6802
+ {
6803
+ "kind": "Content",
6804
+ "text": "id: "
6805
+ },
6806
+ {
6807
+ "kind": "Content",
6808
+ "text": "string"
6809
+ },
6810
+ {
6811
+ "kind": "Content",
6812
+ "text": ";"
6813
+ }
6814
+ ],
6815
+ "isReadonly": false,
6816
+ "isOptional": false,
6817
+ "releaseTag": "Public",
6818
+ "name": "id",
6819
+ "propertyTypeTokenRange": {
6820
+ "startIndex": 1,
6821
+ "endIndex": 2
6822
+ }
6823
+ },
6824
+ {
6825
+ "kind": "PropertySignature",
6826
+ "canonicalReference": "@alloy-js/core!Diagnostic#message:member",
6827
+ "docComment": "",
6828
+ "excerptTokens": [
6829
+ {
6830
+ "kind": "Content",
6831
+ "text": "message: "
6832
+ },
6833
+ {
6834
+ "kind": "Content",
6835
+ "text": "string"
6836
+ },
6837
+ {
6838
+ "kind": "Content",
6839
+ "text": ";"
6840
+ }
6841
+ ],
6842
+ "isReadonly": false,
6843
+ "isOptional": false,
6844
+ "releaseTag": "Public",
6845
+ "name": "message",
6846
+ "propertyTypeTokenRange": {
6847
+ "startIndex": 1,
6848
+ "endIndex": 2
6849
+ }
6850
+ },
6851
+ {
6852
+ "kind": "PropertySignature",
6853
+ "canonicalReference": "@alloy-js/core!Diagnostic#severity:member",
6854
+ "docComment": "",
6855
+ "excerptTokens": [
6856
+ {
6857
+ "kind": "Content",
6858
+ "text": "severity: "
6859
+ },
6860
+ {
6861
+ "kind": "Reference",
6862
+ "text": "DiagnosticSeverity",
6863
+ "canonicalReference": "@alloy-js/core!DiagnosticSeverity:type"
6864
+ },
6865
+ {
6866
+ "kind": "Content",
6867
+ "text": ";"
6868
+ }
6869
+ ],
6870
+ "isReadonly": false,
6871
+ "isOptional": false,
6872
+ "releaseTag": "Public",
6873
+ "name": "severity",
6874
+ "propertyTypeTokenRange": {
6875
+ "startIndex": 1,
6876
+ "endIndex": 2
6877
+ }
6878
+ },
6879
+ {
6880
+ "kind": "PropertySignature",
6881
+ "canonicalReference": "@alloy-js/core!Diagnostic#source:member",
6882
+ "docComment": "",
6883
+ "excerptTokens": [
6884
+ {
6885
+ "kind": "Content",
6886
+ "text": "source?: "
6887
+ },
6888
+ {
6889
+ "kind": "Reference",
6890
+ "text": "SourceLocation",
6891
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface"
6892
+ },
6893
+ {
6894
+ "kind": "Content",
6895
+ "text": ";"
6896
+ }
6897
+ ],
6898
+ "isReadonly": false,
6899
+ "isOptional": true,
6900
+ "releaseTag": "Public",
6901
+ "name": "source",
6902
+ "propertyTypeTokenRange": {
6903
+ "startIndex": 1,
6904
+ "endIndex": 2
6905
+ }
6906
+ }
6907
+ ],
6908
+ "extendsTokenRanges": []
6909
+ },
6910
+ {
6911
+ "kind": "Interface",
6912
+ "canonicalReference": "@alloy-js/core!DiagnosticHandle:interface",
6913
+ "docComment": "",
6914
+ "excerptTokens": [
6915
+ {
6916
+ "kind": "Content",
6917
+ "text": "export interface DiagnosticHandle "
6918
+ }
6919
+ ],
6920
+ "fileUrlPath": "src/diagnostics.ts",
6921
+ "releaseTag": "Public",
6922
+ "name": "DiagnosticHandle",
6923
+ "preserveMemberOrder": false,
6924
+ "members": [
6925
+ {
6926
+ "kind": "MethodSignature",
6927
+ "canonicalReference": "@alloy-js/core!DiagnosticHandle#dismiss:member(1)",
6928
+ "docComment": "",
6929
+ "excerptTokens": [
6930
+ {
6931
+ "kind": "Content",
6932
+ "text": "dismiss(): "
6933
+ },
6934
+ {
6935
+ "kind": "Content",
6936
+ "text": "void"
6937
+ },
6938
+ {
6939
+ "kind": "Content",
6940
+ "text": ";"
6941
+ }
6942
+ ],
6943
+ "isOptional": false,
6944
+ "returnTypeTokenRange": {
6945
+ "startIndex": 1,
6946
+ "endIndex": 2
6947
+ },
6948
+ "releaseTag": "Public",
6949
+ "overloadIndex": 1,
6950
+ "parameters": [],
6951
+ "name": "dismiss"
6952
+ }
6953
+ ],
6954
+ "extendsTokenRanges": []
6955
+ },
6956
+ {
6957
+ "kind": "Interface",
6958
+ "canonicalReference": "@alloy-js/core!DiagnosticInput:interface",
6959
+ "docComment": "",
6960
+ "excerptTokens": [
6961
+ {
6962
+ "kind": "Content",
6963
+ "text": "export interface DiagnosticInput "
6964
+ }
6965
+ ],
6966
+ "fileUrlPath": "src/diagnostics.ts",
6967
+ "releaseTag": "Public",
6968
+ "name": "DiagnosticInput",
6969
+ "preserveMemberOrder": false,
6970
+ "members": [
6971
+ {
6972
+ "kind": "PropertySignature",
6973
+ "canonicalReference": "@alloy-js/core!DiagnosticInput#componentStack:member",
6974
+ "docComment": "",
6975
+ "excerptTokens": [
6976
+ {
6977
+ "kind": "Content",
6978
+ "text": "componentStack?: "
6979
+ },
6980
+ {
6981
+ "kind": "Reference",
6982
+ "text": "DiagnosticStackEntry",
6983
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry:interface"
6984
+ },
6985
+ {
6986
+ "kind": "Content",
6987
+ "text": "[]"
6988
+ },
6989
+ {
6990
+ "kind": "Content",
6991
+ "text": ";"
6992
+ }
6993
+ ],
6994
+ "isReadonly": false,
6995
+ "isOptional": true,
6996
+ "releaseTag": "Public",
6997
+ "name": "componentStack",
6998
+ "propertyTypeTokenRange": {
6999
+ "startIndex": 1,
7000
+ "endIndex": 3
7001
+ }
7002
+ },
7003
+ {
7004
+ "kind": "PropertySignature",
7005
+ "canonicalReference": "@alloy-js/core!DiagnosticInput#message:member",
7006
+ "docComment": "",
7007
+ "excerptTokens": [
7008
+ {
7009
+ "kind": "Content",
7010
+ "text": "message: "
7011
+ },
7012
+ {
7013
+ "kind": "Content",
7014
+ "text": "string"
7015
+ },
7016
+ {
7017
+ "kind": "Content",
7018
+ "text": ";"
7019
+ }
7020
+ ],
7021
+ "isReadonly": false,
7022
+ "isOptional": false,
7023
+ "releaseTag": "Public",
7024
+ "name": "message",
7025
+ "propertyTypeTokenRange": {
7026
+ "startIndex": 1,
7027
+ "endIndex": 2
7028
+ }
7029
+ },
7030
+ {
7031
+ "kind": "PropertySignature",
7032
+ "canonicalReference": "@alloy-js/core!DiagnosticInput#severity:member",
7033
+ "docComment": "",
7034
+ "excerptTokens": [
7035
+ {
7036
+ "kind": "Content",
7037
+ "text": "severity?: "
7038
+ },
7039
+ {
7040
+ "kind": "Reference",
7041
+ "text": "DiagnosticSeverity",
7042
+ "canonicalReference": "@alloy-js/core!DiagnosticSeverity:type"
7043
+ },
7044
+ {
7045
+ "kind": "Content",
7046
+ "text": ";"
7047
+ }
7048
+ ],
7049
+ "isReadonly": false,
7050
+ "isOptional": true,
7051
+ "releaseTag": "Public",
7052
+ "name": "severity",
7053
+ "propertyTypeTokenRange": {
7054
+ "startIndex": 1,
7055
+ "endIndex": 2
7056
+ }
7057
+ },
7058
+ {
7059
+ "kind": "PropertySignature",
7060
+ "canonicalReference": "@alloy-js/core!DiagnosticInput#source:member",
7061
+ "docComment": "",
7062
+ "excerptTokens": [
7063
+ {
7064
+ "kind": "Content",
7065
+ "text": "source?: "
7066
+ },
7067
+ {
7068
+ "kind": "Reference",
7069
+ "text": "SourceLocation",
7070
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface"
7071
+ },
7072
+ {
7073
+ "kind": "Content",
7074
+ "text": ";"
7075
+ }
7076
+ ],
7077
+ "isReadonly": false,
7078
+ "isOptional": true,
7079
+ "releaseTag": "Public",
7080
+ "name": "source",
7081
+ "propertyTypeTokenRange": {
7082
+ "startIndex": 1,
7083
+ "endIndex": 2
7084
+ }
7085
+ }
7086
+ ],
7087
+ "extendsTokenRanges": []
7088
+ },
7089
+ {
7090
+ "kind": "Class",
7091
+ "canonicalReference": "@alloy-js/core!DiagnosticsCollector:class",
7092
+ "docComment": "",
7093
+ "excerptTokens": [
7094
+ {
7095
+ "kind": "Content",
7096
+ "text": "export declare class DiagnosticsCollector "
7097
+ }
7098
+ ],
7099
+ "fileUrlPath": "src/diagnostics.ts",
7100
+ "releaseTag": "Public",
7101
+ "isAbstract": false,
7102
+ "name": "DiagnosticsCollector",
7103
+ "preserveMemberOrder": false,
7104
+ "members": [
7105
+ {
7106
+ "kind": "Method",
7107
+ "canonicalReference": "@alloy-js/core!DiagnosticsCollector#emit:member(1)",
7108
+ "docComment": "",
7109
+ "excerptTokens": [
7110
+ {
7111
+ "kind": "Content",
7112
+ "text": "emit(input: "
7113
+ },
7114
+ {
7115
+ "kind": "Reference",
7116
+ "text": "DiagnosticInput",
7117
+ "canonicalReference": "@alloy-js/core!DiagnosticInput:interface"
7118
+ },
7119
+ {
7120
+ "kind": "Content",
7121
+ "text": "): "
7122
+ },
7123
+ {
7124
+ "kind": "Reference",
7125
+ "text": "DiagnosticHandle",
7126
+ "canonicalReference": "@alloy-js/core!DiagnosticHandle:interface"
7127
+ },
7128
+ {
7129
+ "kind": "Content",
7130
+ "text": ";"
7131
+ }
7132
+ ],
7133
+ "isStatic": false,
7134
+ "returnTypeTokenRange": {
7135
+ "startIndex": 3,
7136
+ "endIndex": 4
7137
+ },
7138
+ "releaseTag": "Public",
7139
+ "isProtected": false,
7140
+ "overloadIndex": 1,
7141
+ "parameters": [
7142
+ {
7143
+ "parameterName": "input",
7144
+ "parameterTypeTokenRange": {
7145
+ "startIndex": 1,
7146
+ "endIndex": 2
7147
+ },
7148
+ "isOptional": false
7149
+ }
7150
+ ],
7151
+ "isOptional": false,
7152
+ "isAbstract": false,
7153
+ "name": "emit"
7154
+ },
7155
+ {
7156
+ "kind": "Method",
7157
+ "canonicalReference": "@alloy-js/core!DiagnosticsCollector#getDiagnostics:member(1)",
7158
+ "docComment": "",
7159
+ "excerptTokens": [
7160
+ {
7161
+ "kind": "Content",
7162
+ "text": "getDiagnostics(): "
7163
+ },
7164
+ {
7165
+ "kind": "Reference",
7166
+ "text": "Diagnostic",
7167
+ "canonicalReference": "@alloy-js/core!Diagnostic:interface"
7168
+ },
7169
+ {
7170
+ "kind": "Content",
7171
+ "text": "[]"
7172
+ },
7173
+ {
7174
+ "kind": "Content",
7175
+ "text": ";"
7176
+ }
7177
+ ],
7178
+ "isStatic": false,
7179
+ "returnTypeTokenRange": {
7180
+ "startIndex": 1,
7181
+ "endIndex": 3
7182
+ },
7183
+ "releaseTag": "Public",
7184
+ "isProtected": false,
7185
+ "overloadIndex": 1,
7186
+ "parameters": [],
7187
+ "isOptional": false,
7188
+ "isAbstract": false,
7189
+ "name": "getDiagnostics"
7190
+ }
7191
+ ],
7192
+ "implementsTokenRanges": []
7193
+ },
7194
+ {
7195
+ "kind": "TypeAlias",
7196
+ "canonicalReference": "@alloy-js/core!DiagnosticSeverity:type",
7197
+ "docComment": "",
7198
+ "excerptTokens": [
7199
+ {
7200
+ "kind": "Content",
7201
+ "text": "export type DiagnosticSeverity = "
7202
+ },
7203
+ {
7204
+ "kind": "Content",
7205
+ "text": "\"info\" | \"warning\" | \"error\""
7206
+ },
7207
+ {
7208
+ "kind": "Content",
7209
+ "text": ";"
7210
+ }
7211
+ ],
7212
+ "fileUrlPath": "src/diagnostics.ts",
7213
+ "releaseTag": "Public",
7214
+ "name": "DiagnosticSeverity",
7215
+ "typeTokenRange": {
7216
+ "startIndex": 1,
7217
+ "endIndex": 2
7218
+ }
7219
+ },
7220
+ {
7221
+ "kind": "Interface",
7222
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry:interface",
7223
+ "docComment": "",
7224
+ "excerptTokens": [
7225
+ {
7226
+ "kind": "Content",
7227
+ "text": "export interface DiagnosticStackEntry "
7228
+ }
7229
+ ],
7230
+ "fileUrlPath": "src/diagnostics.ts",
7231
+ "releaseTag": "Public",
7232
+ "name": "DiagnosticStackEntry",
7233
+ "preserveMemberOrder": false,
7234
+ "members": [
7235
+ {
7236
+ "kind": "PropertySignature",
7237
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry#name:member",
7238
+ "docComment": "",
7239
+ "excerptTokens": [
7240
+ {
7241
+ "kind": "Content",
7242
+ "text": "name: "
7243
+ },
7244
+ {
7245
+ "kind": "Content",
7246
+ "text": "string"
7247
+ },
7248
+ {
7249
+ "kind": "Content",
7250
+ "text": ";"
7251
+ }
7252
+ ],
7253
+ "isReadonly": false,
7254
+ "isOptional": false,
7255
+ "releaseTag": "Public",
7256
+ "name": "name",
7257
+ "propertyTypeTokenRange": {
7258
+ "startIndex": 1,
7259
+ "endIndex": 2
7260
+ }
7261
+ },
7262
+ {
7263
+ "kind": "PropertySignature",
7264
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry#renderNodeId:member",
7265
+ "docComment": "",
7266
+ "excerptTokens": [
7267
+ {
7268
+ "kind": "Content",
7269
+ "text": "renderNodeId?: "
7270
+ },
7271
+ {
7272
+ "kind": "Content",
7273
+ "text": "number"
7274
+ },
7275
+ {
7276
+ "kind": "Content",
7277
+ "text": ";"
7278
+ }
7279
+ ],
7280
+ "isReadonly": false,
7281
+ "isOptional": true,
7282
+ "releaseTag": "Public",
7283
+ "name": "renderNodeId",
7284
+ "propertyTypeTokenRange": {
7285
+ "startIndex": 1,
7286
+ "endIndex": 2
7287
+ }
7288
+ },
7289
+ {
7290
+ "kind": "PropertySignature",
7291
+ "canonicalReference": "@alloy-js/core!DiagnosticStackEntry#source:member",
7292
+ "docComment": "",
7293
+ "excerptTokens": [
7294
+ {
7295
+ "kind": "Content",
7296
+ "text": "source?: "
7297
+ },
7298
+ {
7299
+ "kind": "Reference",
7300
+ "text": "SourceLocation",
7301
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface"
7302
+ },
7303
+ {
7304
+ "kind": "Content",
7305
+ "text": ";"
7306
+ }
7307
+ ],
7308
+ "isReadonly": false,
7309
+ "isOptional": true,
7310
+ "releaseTag": "Public",
7311
+ "name": "source",
7312
+ "propertyTypeTokenRange": {
6381
7313
  "startIndex": 1,
6382
7314
  "endIndex": 2
6383
- },
6384
- "defaultTypeTokenRange": {
6385
- "startIndex": 0,
6386
- "endIndex": 0
6387
7315
  }
6388
7316
  }
6389
7317
  ],
6390
- "name": "defaultProps"
7318
+ "extendsTokenRanges": []
6391
7319
  },
6392
7320
  {
6393
7321
  "kind": "Interface",
@@ -6454,6 +7382,15 @@
6454
7382
  "kind": "Content",
6455
7383
  "text": "T"
6456
7384
  },
7385
+ {
7386
+ "kind": "Content",
7387
+ "text": ", options?: "
7388
+ },
7389
+ {
7390
+ "kind": "Reference",
7391
+ "text": "EffectOptions",
7392
+ "canonicalReference": "@alloy-js/core!EffectOptions:interface"
7393
+ },
6457
7394
  {
6458
7395
  "kind": "Content",
6459
7396
  "text": "): "
@@ -6469,8 +7406,8 @@
6469
7406
  ],
6470
7407
  "fileUrlPath": "src/reactivity.ts",
6471
7408
  "returnTypeTokenRange": {
6472
- "startIndex": 5,
6473
- "endIndex": 6
7409
+ "startIndex": 7,
7410
+ "endIndex": 8
6474
7411
  },
6475
7412
  "releaseTag": "Public",
6476
7413
  "overloadIndex": 1,
@@ -6490,6 +7427,14 @@
6490
7427
  "endIndex": 4
6491
7428
  },
6492
7429
  "isOptional": true
7430
+ },
7431
+ {
7432
+ "parameterName": "options",
7433
+ "parameterTypeTokenRange": {
7434
+ "startIndex": 5,
7435
+ "endIndex": 6
7436
+ },
7437
+ "isOptional": true
6493
7438
  }
6494
7439
  ],
6495
7440
  "typeParameters": [
@@ -6507,6 +7452,124 @@
6507
7452
  ],
6508
7453
  "name": "effect"
6509
7454
  },
7455
+ {
7456
+ "kind": "Interface",
7457
+ "canonicalReference": "@alloy-js/core!EffectDebugOptions:interface",
7458
+ "docComment": "",
7459
+ "excerptTokens": [
7460
+ {
7461
+ "kind": "Content",
7462
+ "text": "export interface EffectDebugOptions "
7463
+ }
7464
+ ],
7465
+ "fileUrlPath": "src/reactivity.ts",
7466
+ "releaseTag": "Public",
7467
+ "name": "EffectDebugOptions",
7468
+ "preserveMemberOrder": false,
7469
+ "members": [
7470
+ {
7471
+ "kind": "PropertySignature",
7472
+ "canonicalReference": "@alloy-js/core!EffectDebugOptions#name:member",
7473
+ "docComment": "",
7474
+ "excerptTokens": [
7475
+ {
7476
+ "kind": "Content",
7477
+ "text": "name?: "
7478
+ },
7479
+ {
7480
+ "kind": "Content",
7481
+ "text": "string"
7482
+ },
7483
+ {
7484
+ "kind": "Content",
7485
+ "text": ";"
7486
+ }
7487
+ ],
7488
+ "isReadonly": false,
7489
+ "isOptional": true,
7490
+ "releaseTag": "Public",
7491
+ "name": "name",
7492
+ "propertyTypeTokenRange": {
7493
+ "startIndex": 1,
7494
+ "endIndex": 2
7495
+ }
7496
+ },
7497
+ {
7498
+ "kind": "PropertySignature",
7499
+ "canonicalReference": "@alloy-js/core!EffectDebugOptions#type:member",
7500
+ "docComment": "",
7501
+ "excerptTokens": [
7502
+ {
7503
+ "kind": "Content",
7504
+ "text": "type?: "
7505
+ },
7506
+ {
7507
+ "kind": "Content",
7508
+ "text": "string"
7509
+ },
7510
+ {
7511
+ "kind": "Content",
7512
+ "text": ";"
7513
+ }
7514
+ ],
7515
+ "isReadonly": false,
7516
+ "isOptional": true,
7517
+ "releaseTag": "Public",
7518
+ "name": "type",
7519
+ "propertyTypeTokenRange": {
7520
+ "startIndex": 1,
7521
+ "endIndex": 2
7522
+ }
7523
+ }
7524
+ ],
7525
+ "extendsTokenRanges": []
7526
+ },
7527
+ {
7528
+ "kind": "Interface",
7529
+ "canonicalReference": "@alloy-js/core!EffectOptions:interface",
7530
+ "docComment": "",
7531
+ "excerptTokens": [
7532
+ {
7533
+ "kind": "Content",
7534
+ "text": "export interface EffectOptions "
7535
+ }
7536
+ ],
7537
+ "fileUrlPath": "src/reactivity.ts",
7538
+ "releaseTag": "Public",
7539
+ "name": "EffectOptions",
7540
+ "preserveMemberOrder": false,
7541
+ "members": [
7542
+ {
7543
+ "kind": "PropertySignature",
7544
+ "canonicalReference": "@alloy-js/core!EffectOptions#debug:member",
7545
+ "docComment": "",
7546
+ "excerptTokens": [
7547
+ {
7548
+ "kind": "Content",
7549
+ "text": "debug?: "
7550
+ },
7551
+ {
7552
+ "kind": "Reference",
7553
+ "text": "EffectDebugOptions",
7554
+ "canonicalReference": "@alloy-js/core!EffectDebugOptions:interface"
7555
+ },
7556
+ {
7557
+ "kind": "Content",
7558
+ "text": ";"
7559
+ }
7560
+ ],
7561
+ "isReadonly": false,
7562
+ "isOptional": true,
7563
+ "releaseTag": "Public",
7564
+ "name": "debug",
7565
+ "propertyTypeTokenRange": {
7566
+ "startIndex": 1,
7567
+ "endIndex": 2
7568
+ }
7569
+ }
7570
+ ],
7571
+ "extendsTokenRanges": []
7572
+ },
6510
7573
  {
6511
7574
  "kind": "TypeAlias",
6512
7575
  "canonicalReference": "@alloy-js/core!ElementCache:type",
@@ -6592,6 +7655,53 @@
6592
7655
  "endIndex": 4
6593
7656
  }
6594
7657
  },
7658
+ {
7659
+ "kind": "Function",
7660
+ "canonicalReference": "@alloy-js/core!emitDiagnostic:function(1)",
7661
+ "docComment": "",
7662
+ "excerptTokens": [
7663
+ {
7664
+ "kind": "Content",
7665
+ "text": "export declare function emitDiagnostic(input: "
7666
+ },
7667
+ {
7668
+ "kind": "Reference",
7669
+ "text": "DiagnosticInput",
7670
+ "canonicalReference": "@alloy-js/core!DiagnosticInput:interface"
7671
+ },
7672
+ {
7673
+ "kind": "Content",
7674
+ "text": "): "
7675
+ },
7676
+ {
7677
+ "kind": "Reference",
7678
+ "text": "DiagnosticHandle",
7679
+ "canonicalReference": "@alloy-js/core!DiagnosticHandle:interface"
7680
+ },
7681
+ {
7682
+ "kind": "Content",
7683
+ "text": ";"
7684
+ }
7685
+ ],
7686
+ "fileUrlPath": "src/diagnostics.ts",
7687
+ "returnTypeTokenRange": {
7688
+ "startIndex": 3,
7689
+ "endIndex": 4
7690
+ },
7691
+ "releaseTag": "Public",
7692
+ "overloadIndex": 1,
7693
+ "parameters": [
7694
+ {
7695
+ "parameterName": "input",
7696
+ "parameterTypeTokenRange": {
7697
+ "startIndex": 1,
7698
+ "endIndex": 2
7699
+ },
7700
+ "isOptional": false
7701
+ }
7702
+ ],
7703
+ "name": "emitDiagnostic"
7704
+ },
6595
7705
  {
6596
7706
  "kind": "Function",
6597
7707
  "canonicalReference": "@alloy-js/core!emitSymbol:function(1)",
@@ -7483,17 +8593,68 @@
7483
8593
  },
7484
8594
  "releaseTag": "Public",
7485
8595
  "overloadIndex": 1,
7486
- "parameters": [],
7487
- "name": "getContext"
8596
+ "parameters": [],
8597
+ "name": "getContext"
8598
+ },
8599
+ {
8600
+ "kind": "Function",
8601
+ "canonicalReference": "@alloy-js/core!getContextForRenderNode:function(1)",
8602
+ "docComment": "",
8603
+ "excerptTokens": [
8604
+ {
8605
+ "kind": "Content",
8606
+ "text": "export declare function getContextForRenderNode(node: "
8607
+ },
8608
+ {
8609
+ "kind": "Reference",
8610
+ "text": "RenderedTextTree",
8611
+ "canonicalReference": "@alloy-js/core!RenderedTextTree:type"
8612
+ },
8613
+ {
8614
+ "kind": "Content",
8615
+ "text": "): "
8616
+ },
8617
+ {
8618
+ "kind": "Reference",
8619
+ "text": "Context",
8620
+ "canonicalReference": "@alloy-js/core!Context:interface"
8621
+ },
8622
+ {
8623
+ "kind": "Content",
8624
+ "text": " | undefined"
8625
+ },
8626
+ {
8627
+ "kind": "Content",
8628
+ "text": ";"
8629
+ }
8630
+ ],
8631
+ "fileUrlPath": "src/render.ts",
8632
+ "returnTypeTokenRange": {
8633
+ "startIndex": 3,
8634
+ "endIndex": 5
8635
+ },
8636
+ "releaseTag": "Public",
8637
+ "overloadIndex": 1,
8638
+ "parameters": [
8639
+ {
8640
+ "parameterName": "node",
8641
+ "parameterTypeTokenRange": {
8642
+ "startIndex": 1,
8643
+ "endIndex": 2
8644
+ },
8645
+ "isOptional": false
8646
+ }
8647
+ ],
8648
+ "name": "getContextForRenderNode"
7488
8649
  },
7489
8650
  {
7490
8651
  "kind": "Function",
7491
- "canonicalReference": "@alloy-js/core!getContextForRenderNode:function(1)",
8652
+ "canonicalReference": "@alloy-js/core!getDiagnosticsForTree:function(1)",
7492
8653
  "docComment": "",
7493
8654
  "excerptTokens": [
7494
8655
  {
7495
8656
  "kind": "Content",
7496
- "text": "export declare function getContextForRenderNode(node: "
8657
+ "text": "export declare function getDiagnosticsForTree(tree: "
7497
8658
  },
7498
8659
  {
7499
8660
  "kind": "Reference",
@@ -7504,14 +8665,18 @@
7504
8665
  "kind": "Content",
7505
8666
  "text": "): "
7506
8667
  },
8668
+ {
8669
+ "kind": "Content",
8670
+ "text": "import(\"./diagnostics.js\")."
8671
+ },
7507
8672
  {
7508
8673
  "kind": "Reference",
7509
- "text": "Context",
7510
- "canonicalReference": "@alloy-js/core!Context:interface"
8674
+ "text": "Diagnostic",
8675
+ "canonicalReference": "@alloy-js/core!Diagnostic:interface"
7511
8676
  },
7512
8677
  {
7513
8678
  "kind": "Content",
7514
- "text": " | undefined"
8679
+ "text": "[]"
7515
8680
  },
7516
8681
  {
7517
8682
  "kind": "Content",
@@ -7521,13 +8686,13 @@
7521
8686
  "fileUrlPath": "src/render.ts",
7522
8687
  "returnTypeTokenRange": {
7523
8688
  "startIndex": 3,
7524
- "endIndex": 5
8689
+ "endIndex": 6
7525
8690
  },
7526
8691
  "releaseTag": "Public",
7527
8692
  "overloadIndex": 1,
7528
8693
  "parameters": [
7529
8694
  {
7530
- "parameterName": "node",
8695
+ "parameterName": "tree",
7531
8696
  "parameterTypeTokenRange": {
7532
8697
  "startIndex": 1,
7533
8698
  "endIndex": 2
@@ -7535,7 +8700,7 @@
7535
8700
  "isOptional": false
7536
8701
  }
7537
8702
  ],
7538
- "name": "getContextForRenderNode"
8703
+ "name": "getDiagnosticsForTree"
7539
8704
  },
7540
8705
  {
7541
8706
  "kind": "Function",
@@ -9705,7 +10870,7 @@
9705
10870
  "text": ";"
9706
10871
  }
9707
10872
  ],
9708
- "fileUrlPath": "src/render.ts",
10873
+ "fileUrlPath": "src/print-hook.ts",
9709
10874
  "returnTypeTokenRange": {
9710
10875
  "startIndex": 3,
9711
10876
  "endIndex": 6
@@ -14474,7 +15639,7 @@
14474
15639
  },
14475
15640
  {
14476
15641
  "kind": "Content",
14477
- "text": "this"
15642
+ "text": "boolean"
14478
15643
  },
14479
15644
  {
14480
15645
  "kind": "Content",
@@ -14682,6 +15847,41 @@
14682
15847
  "isProtected": false,
14683
15848
  "isAbstract": false
14684
15849
  },
15850
+ {
15851
+ "kind": "Property",
15852
+ "canonicalReference": "@alloy-js/core!OutputScope#debugInfo:member",
15853
+ "docComment": "",
15854
+ "excerptTokens": [
15855
+ {
15856
+ "kind": "Content",
15857
+ "text": "get debugInfo(): "
15858
+ },
15859
+ {
15860
+ "kind": "Reference",
15861
+ "text": "Record",
15862
+ "canonicalReference": "!Record:type"
15863
+ },
15864
+ {
15865
+ "kind": "Content",
15866
+ "text": "<string, unknown>"
15867
+ },
15868
+ {
15869
+ "kind": "Content",
15870
+ "text": ";"
15871
+ }
15872
+ ],
15873
+ "isReadonly": true,
15874
+ "isOptional": false,
15875
+ "releaseTag": "Public",
15876
+ "name": "debugInfo",
15877
+ "propertyTypeTokenRange": {
15878
+ "startIndex": 1,
15879
+ "endIndex": 3
15880
+ },
15881
+ "isStatic": false,
15882
+ "isProtected": false,
15883
+ "isAbstract": false
15884
+ },
14685
15885
  {
14686
15886
  "kind": "Property",
14687
15887
  "canonicalReference": "@alloy-js/core!OutputScope.declarationSpaces:member",
@@ -15627,6 +16827,41 @@
15627
16827
  "isAbstract": false,
15628
16828
  "name": "dealias"
15629
16829
  },
16830
+ {
16831
+ "kind": "Property",
16832
+ "canonicalReference": "@alloy-js/core!OutputSymbol#debugInfo:member",
16833
+ "docComment": "",
16834
+ "excerptTokens": [
16835
+ {
16836
+ "kind": "Content",
16837
+ "text": "get debugInfo(): "
16838
+ },
16839
+ {
16840
+ "kind": "Reference",
16841
+ "text": "Record",
16842
+ "canonicalReference": "!Record:type"
16843
+ },
16844
+ {
16845
+ "kind": "Content",
16846
+ "text": "<string, unknown>"
16847
+ },
16848
+ {
16849
+ "kind": "Content",
16850
+ "text": ";"
16851
+ }
16852
+ ],
16853
+ "isReadonly": true,
16854
+ "isOptional": false,
16855
+ "releaseTag": "Public",
16856
+ "name": "debugInfo",
16857
+ "propertyTypeTokenRange": {
16858
+ "startIndex": 1,
16859
+ "endIndex": 3
16860
+ },
16861
+ "isStatic": false,
16862
+ "isProtected": false,
16863
+ "isAbstract": false
16864
+ },
15630
16865
  {
15631
16866
  "kind": "Method",
15632
16867
  "canonicalReference": "@alloy-js/core!OutputSymbol#delete:member(1)",
@@ -17135,34 +18370,6 @@
17135
18370
  ],
17136
18371
  "extendsTokenRanges": []
17137
18372
  },
17138
- {
17139
- "kind": "Function",
17140
- "canonicalReference": "@alloy-js/core!popStack:function(1)",
17141
- "docComment": "",
17142
- "excerptTokens": [
17143
- {
17144
- "kind": "Content",
17145
- "text": "export declare function popStack(): "
17146
- },
17147
- {
17148
- "kind": "Content",
17149
- "text": "void"
17150
- },
17151
- {
17152
- "kind": "Content",
17153
- "text": ";"
17154
- }
17155
- ],
17156
- "fileUrlPath": "src/render.ts",
17157
- "returnTypeTokenRange": {
17158
- "startIndex": 1,
17159
- "endIndex": 2
17160
- },
17161
- "releaseTag": "Public",
17162
- "overloadIndex": 1,
17163
- "parameters": [],
17164
- "name": "popStack"
17165
- },
17166
18373
  {
17167
18374
  "kind": "Interface",
17168
18375
  "canonicalReference": "@alloy-js/core!PrintHook:interface",
@@ -17173,7 +18380,7 @@
17173
18380
  "text": "export interface PrintHook "
17174
18381
  }
17175
18382
  ],
17176
- "fileUrlPath": "src/render.ts",
18383
+ "fileUrlPath": "src/print-hook.ts",
17177
18384
  "releaseTag": "Public",
17178
18385
  "name": "PrintHook",
17179
18386
  "preserveMemberOrder": false,
@@ -17243,7 +18450,7 @@
17243
18450
  },
17244
18451
  {
17245
18452
  "kind": "Content",
17246
- "text": ") => "
18453
+ "text": ") => import(\"prettier\")."
17247
18454
  },
17248
18455
  {
17249
18456
  "kind": "Reference",
@@ -17254,6 +18461,10 @@
17254
18461
  "kind": "Content",
17255
18462
  "text": "): "
17256
18463
  },
18464
+ {
18465
+ "kind": "Content",
18466
+ "text": "import(\"prettier\")."
18467
+ },
17257
18468
  {
17258
18469
  "kind": "Reference",
17259
18470
  "text": "Doc",
@@ -17267,7 +18478,7 @@
17267
18478
  "isOptional": true,
17268
18479
  "returnTypeTokenRange": {
17269
18480
  "startIndex": 8,
17270
- "endIndex": 9
18481
+ "endIndex": 10
17271
18482
  },
17272
18483
  "releaseTag": "Public",
17273
18484
  "overloadIndex": 1,
@@ -17372,7 +18583,7 @@
17372
18583
  {
17373
18584
  "kind": "Variable",
17374
18585
  "canonicalReference": "@alloy-js/core!printHookTag:var",
17375
- "docComment": "",
18586
+ "docComment": "/**\n * Print hook types and utilities.\n * This is a separate file to avoid circular dependencies between render.ts and debug/render.ts.\n */\n",
17376
18587
  "excerptTokens": [
17377
18588
  {
17378
18589
  "kind": "Content",
@@ -17383,7 +18594,7 @@
17383
18594
  "text": "unique symbol"
17384
18595
  }
17385
18596
  ],
17386
- "fileUrlPath": "src/render.ts",
18597
+ "fileUrlPath": "src/print-hook.ts",
17387
18598
  "isReadonly": true,
17388
18599
  "releaseTag": "Public",
17389
18600
  "name": "printHookTag",
@@ -17392,34 +18603,6 @@
17392
18603
  "endIndex": 2
17393
18604
  }
17394
18605
  },
17395
- {
17396
- "kind": "Function",
17397
- "canonicalReference": "@alloy-js/core!printRenderStack:function(1)",
17398
- "docComment": "",
17399
- "excerptTokens": [
17400
- {
17401
- "kind": "Content",
17402
- "text": "export declare function printRenderStack(): "
17403
- },
17404
- {
17405
- "kind": "Content",
17406
- "text": "void"
17407
- },
17408
- {
17409
- "kind": "Content",
17410
- "text": ";"
17411
- }
17412
- ],
17413
- "fileUrlPath": "src/render.ts",
17414
- "returnTypeTokenRange": {
17415
- "startIndex": 1,
17416
- "endIndex": 2
17417
- },
17418
- "releaseTag": "Public",
17419
- "overloadIndex": 1,
17420
- "parameters": [],
17421
- "name": "printRenderStack"
17422
- },
17423
18606
  {
17424
18607
  "kind": "Function",
17425
18608
  "canonicalReference": "@alloy-js/core!printTree:function(1)",
@@ -17525,6 +18708,33 @@
17525
18708
  "endIndex": 2
17526
18709
  }
17527
18710
  },
18711
+ {
18712
+ "kind": "PropertySignature",
18713
+ "canonicalReference": "@alloy-js/core!PrintTreeOptions#noFlush:member",
18714
+ "docComment": "/**\n * Skip flushing scheduled jobs before printing.\n *\n * @default\n *\n * false\n */\n",
18715
+ "excerptTokens": [
18716
+ {
18717
+ "kind": "Content",
18718
+ "text": "noFlush?: "
18719
+ },
18720
+ {
18721
+ "kind": "Content",
18722
+ "text": "boolean"
18723
+ },
18724
+ {
18725
+ "kind": "Content",
18726
+ "text": ";"
18727
+ }
18728
+ ],
18729
+ "isReadonly": false,
18730
+ "isOptional": true,
18731
+ "releaseTag": "Public",
18732
+ "name": "noFlush",
18733
+ "propertyTypeTokenRange": {
18734
+ "startIndex": 1,
18735
+ "endIndex": 2
18736
+ }
18737
+ },
17528
18738
  {
17529
18739
  "kind": "PropertySignature",
17530
18740
  "canonicalReference": "@alloy-js/core!PrintTreeOptions#printWidth:member",
@@ -17699,106 +18909,39 @@
17699
18909
  ],
17700
18910
  "fileUrlPath": "src/components/Prose.tsx",
17701
18911
  "releaseTag": "Public",
17702
- "name": "Prose",
17703
- "preserveMemberOrder": false,
17704
- "members": [
17705
- {
17706
- "kind": "PropertySignature",
17707
- "canonicalReference": "@alloy-js/core!Prose#children:member",
17708
- "docComment": "",
17709
- "excerptTokens": [
17710
- {
17711
- "kind": "Content",
17712
- "text": "children: "
17713
- },
17714
- {
17715
- "kind": "Reference",
17716
- "text": "Children",
17717
- "canonicalReference": "@alloy-js/core!Children:type"
17718
- },
17719
- {
17720
- "kind": "Content",
17721
- "text": ";"
17722
- }
17723
- ],
17724
- "isReadonly": false,
17725
- "isOptional": false,
17726
- "releaseTag": "Public",
17727
- "name": "children",
17728
- "propertyTypeTokenRange": {
17729
- "startIndex": 1,
17730
- "endIndex": 2
17731
- }
17732
- }
17733
- ],
17734
- "extendsTokenRanges": []
17735
- },
17736
- {
17737
- "kind": "Function",
17738
- "canonicalReference": "@alloy-js/core!pushStack:function(1)",
17739
- "docComment": "",
17740
- "excerptTokens": [
17741
- {
17742
- "kind": "Content",
17743
- "text": "export declare function pushStack(component: "
17744
- },
17745
- {
17746
- "kind": "Reference",
17747
- "text": "Component",
17748
- "canonicalReference": "@alloy-js/core!Component:interface"
17749
- },
17750
- {
17751
- "kind": "Content",
17752
- "text": "<any>"
17753
- },
17754
- {
17755
- "kind": "Content",
17756
- "text": ", props: "
17757
- },
17758
- {
17759
- "kind": "Reference",
17760
- "text": "Props",
17761
- "canonicalReference": "@alloy-js/core!Props:type"
17762
- },
17763
- {
17764
- "kind": "Content",
17765
- "text": "): "
17766
- },
17767
- {
17768
- "kind": "Content",
17769
- "text": "void"
17770
- },
17771
- {
17772
- "kind": "Content",
17773
- "text": ";"
17774
- }
17775
- ],
17776
- "fileUrlPath": "src/render.ts",
17777
- "returnTypeTokenRange": {
17778
- "startIndex": 6,
17779
- "endIndex": 7
17780
- },
17781
- "releaseTag": "Public",
17782
- "overloadIndex": 1,
17783
- "parameters": [
18912
+ "name": "Prose",
18913
+ "preserveMemberOrder": false,
18914
+ "members": [
17784
18915
  {
17785
- "parameterName": "component",
17786
- "parameterTypeTokenRange": {
18916
+ "kind": "PropertySignature",
18917
+ "canonicalReference": "@alloy-js/core!Prose#children:member",
18918
+ "docComment": "",
18919
+ "excerptTokens": [
18920
+ {
18921
+ "kind": "Content",
18922
+ "text": "children: "
18923
+ },
18924
+ {
18925
+ "kind": "Reference",
18926
+ "text": "Children",
18927
+ "canonicalReference": "@alloy-js/core!Children:type"
18928
+ },
18929
+ {
18930
+ "kind": "Content",
18931
+ "text": ";"
18932
+ }
18933
+ ],
18934
+ "isReadonly": false,
18935
+ "isOptional": false,
18936
+ "releaseTag": "Public",
18937
+ "name": "children",
18938
+ "propertyTypeTokenRange": {
17787
18939
  "startIndex": 1,
17788
- "endIndex": 3
17789
- },
17790
- "isOptional": false
17791
- },
17792
- {
17793
- "parameterName": "props",
17794
- "parameterTypeTokenRange": {
17795
- "startIndex": 4,
17796
- "endIndex": 5
17797
- },
17798
- "isOptional": false
18940
+ "endIndex": 2
18941
+ }
17799
18942
  }
17800
18943
  ],
17801
- "name": "pushStack"
18944
+ "extendsTokenRanges": []
17802
18945
  },
17803
18946
  {
17804
18947
  "kind": "Class",
@@ -18523,6 +19666,69 @@
18523
19666
  ],
18524
19667
  "extendsTokenRanges": []
18525
19668
  },
19669
+ {
19670
+ "kind": "Function",
19671
+ "canonicalReference": "@alloy-js/core!ref:function(1)",
19672
+ "docComment": "",
19673
+ "excerptTokens": [
19674
+ {
19675
+ "kind": "Content",
19676
+ "text": "export declare function ref<T>(value?: "
19677
+ },
19678
+ {
19679
+ "kind": "Content",
19680
+ "text": "T"
19681
+ },
19682
+ {
19683
+ "kind": "Content",
19684
+ "text": "): "
19685
+ },
19686
+ {
19687
+ "kind": "Reference",
19688
+ "text": "Ref",
19689
+ "canonicalReference": "@vue/reactivity!Ref:interface"
19690
+ },
19691
+ {
19692
+ "kind": "Content",
19693
+ "text": "<T>"
19694
+ },
19695
+ {
19696
+ "kind": "Content",
19697
+ "text": ";"
19698
+ }
19699
+ ],
19700
+ "fileUrlPath": "src/reactivity.ts",
19701
+ "returnTypeTokenRange": {
19702
+ "startIndex": 3,
19703
+ "endIndex": 5
19704
+ },
19705
+ "releaseTag": "Public",
19706
+ "overloadIndex": 1,
19707
+ "parameters": [
19708
+ {
19709
+ "parameterName": "value",
19710
+ "parameterTypeTokenRange": {
19711
+ "startIndex": 1,
19712
+ "endIndex": 2
19713
+ },
19714
+ "isOptional": true
19715
+ }
19716
+ ],
19717
+ "typeParameters": [
19718
+ {
19719
+ "typeParameterName": "T",
19720
+ "constraintTokenRange": {
19721
+ "startIndex": 0,
19722
+ "endIndex": 0
19723
+ },
19724
+ "defaultTypeTokenRange": {
19725
+ "startIndex": 0,
19726
+ "endIndex": 0
19727
+ }
19728
+ }
19729
+ ],
19730
+ "name": "ref"
19731
+ },
18526
19732
  {
18527
19733
  "kind": "Function",
18528
19734
  "canonicalReference": "@alloy-js/core!ReferenceOrContent:function(1)",
@@ -19386,7 +20592,7 @@
19386
20592
  "text": ";"
19387
20593
  }
19388
20594
  ],
19389
- "fileUrlPath": "src/render.ts",
20595
+ "fileUrlPath": "src/print-hook.ts",
19390
20596
  "releaseTag": "Public",
19391
20597
  "name": "RenderedTextTree",
19392
20598
  "typeTokenRange": {
@@ -19441,6 +20647,52 @@
19441
20647
  ],
19442
20648
  "name": "renderTree"
19443
20649
  },
20650
+ {
20651
+ "kind": "Function",
20652
+ "canonicalReference": "@alloy-js/core!reportDiagnostics:function(1)",
20653
+ "docComment": "",
20654
+ "excerptTokens": [
20655
+ {
20656
+ "kind": "Content",
20657
+ "text": "export declare function reportDiagnostics(collector: "
20658
+ },
20659
+ {
20660
+ "kind": "Reference",
20661
+ "text": "DiagnosticsCollector",
20662
+ "canonicalReference": "@alloy-js/core!DiagnosticsCollector:class"
20663
+ },
20664
+ {
20665
+ "kind": "Content",
20666
+ "text": "): "
20667
+ },
20668
+ {
20669
+ "kind": "Content",
20670
+ "text": "void"
20671
+ },
20672
+ {
20673
+ "kind": "Content",
20674
+ "text": ";"
20675
+ }
20676
+ ],
20677
+ "fileUrlPath": "src/diagnostics.ts",
20678
+ "returnTypeTokenRange": {
20679
+ "startIndex": 3,
20680
+ "endIndex": 4
20681
+ },
20682
+ "releaseTag": "Public",
20683
+ "overloadIndex": 1,
20684
+ "parameters": [
20685
+ {
20686
+ "parameterName": "collector",
20687
+ "parameterTypeTokenRange": {
20688
+ "startIndex": 1,
20689
+ "endIndex": 2
20690
+ },
20691
+ "isOptional": false
20692
+ }
20693
+ ],
20694
+ "name": "reportDiagnostics"
20695
+ },
19444
20696
  {
19445
20697
  "kind": "Interface",
19446
20698
  "canonicalReference": "@alloy-js/core!ResolutionResult:interface",
@@ -20541,6 +21793,69 @@
20541
21793
  ],
20542
21794
  "extendsTokenRanges": []
20543
21795
  },
21796
+ {
21797
+ "kind": "Function",
21798
+ "canonicalReference": "@alloy-js/core!shallowRef:function(1)",
21799
+ "docComment": "",
21800
+ "excerptTokens": [
21801
+ {
21802
+ "kind": "Content",
21803
+ "text": "export declare function shallowRef<T>(value?: "
21804
+ },
21805
+ {
21806
+ "kind": "Content",
21807
+ "text": "T"
21808
+ },
21809
+ {
21810
+ "kind": "Content",
21811
+ "text": "): "
21812
+ },
21813
+ {
21814
+ "kind": "Reference",
21815
+ "text": "Ref",
21816
+ "canonicalReference": "@vue/reactivity!Ref:interface"
21817
+ },
21818
+ {
21819
+ "kind": "Content",
21820
+ "text": "<T>"
21821
+ },
21822
+ {
21823
+ "kind": "Content",
21824
+ "text": ";"
21825
+ }
21826
+ ],
21827
+ "fileUrlPath": "src/reactivity.ts",
21828
+ "returnTypeTokenRange": {
21829
+ "startIndex": 3,
21830
+ "endIndex": 5
21831
+ },
21832
+ "releaseTag": "Public",
21833
+ "overloadIndex": 1,
21834
+ "parameters": [
21835
+ {
21836
+ "parameterName": "value",
21837
+ "parameterTypeTokenRange": {
21838
+ "startIndex": 1,
21839
+ "endIndex": 2
21840
+ },
21841
+ "isOptional": true
21842
+ }
21843
+ ],
21844
+ "typeParameters": [
21845
+ {
21846
+ "typeParameterName": "T",
21847
+ "constraintTokenRange": {
21848
+ "startIndex": 0,
21849
+ "endIndex": 0
21850
+ },
21851
+ "defaultTypeTokenRange": {
21852
+ "startIndex": 0,
21853
+ "endIndex": 0
21854
+ }
21855
+ }
21856
+ ],
21857
+ "name": "shallowRef"
21858
+ },
20544
21859
  {
20545
21860
  "kind": "Function",
20546
21861
  "canonicalReference": "@alloy-js/core!Show:function(1)",
@@ -21489,81 +22804,103 @@
21489
22804
  "name": "sourceFilesForTree"
21490
22805
  },
21491
22806
  {
21492
- "kind": "Function",
21493
- "canonicalReference": "@alloy-js/core!sourceFilesForTreeAsync:function(1)",
21494
- "docComment": "/**\n * Convert a rendered text tree to source directories and files. Will ensure that\n * all scheduled jobs are completed, including async ones.\n */\n",
22807
+ "kind": "Interface",
22808
+ "canonicalReference": "@alloy-js/core!SourceLocation:interface",
22809
+ "docComment": "",
21495
22810
  "excerptTokens": [
21496
22811
  {
21497
22812
  "kind": "Content",
21498
- "text": "export declare function sourceFilesForTreeAsync(tree: "
21499
- },
21500
- {
21501
- "kind": "Reference",
21502
- "text": "RenderedTextTree",
21503
- "canonicalReference": "@alloy-js/core!RenderedTextTree:type"
21504
- },
21505
- {
21506
- "kind": "Content",
21507
- "text": ", options?: "
21508
- },
21509
- {
21510
- "kind": "Reference",
21511
- "text": "PrintTreeOptions",
21512
- "canonicalReference": "@alloy-js/core!PrintTreeOptions:interface"
21513
- },
21514
- {
21515
- "kind": "Content",
21516
- "text": "): "
21517
- },
21518
- {
21519
- "kind": "Reference",
21520
- "text": "Promise",
21521
- "canonicalReference": "!Promise:interface"
21522
- },
21523
- {
21524
- "kind": "Content",
21525
- "text": "<"
21526
- },
21527
- {
21528
- "kind": "Reference",
21529
- "text": "OutputDirectory",
21530
- "canonicalReference": "@alloy-js/core!OutputDirectory:interface"
21531
- },
22813
+ "text": "export interface SourceLocation "
22814
+ }
22815
+ ],
22816
+ "fileUrlPath": "src/runtime/component.ts",
22817
+ "releaseTag": "Public",
22818
+ "name": "SourceLocation",
22819
+ "preserveMemberOrder": false,
22820
+ "members": [
21532
22821
  {
21533
- "kind": "Content",
21534
- "text": ">"
22822
+ "kind": "PropertySignature",
22823
+ "canonicalReference": "@alloy-js/core!SourceLocation#columnNumber:member",
22824
+ "docComment": "",
22825
+ "excerptTokens": [
22826
+ {
22827
+ "kind": "Content",
22828
+ "text": "columnNumber: "
22829
+ },
22830
+ {
22831
+ "kind": "Content",
22832
+ "text": "number"
22833
+ },
22834
+ {
22835
+ "kind": "Content",
22836
+ "text": ";"
22837
+ }
22838
+ ],
22839
+ "isReadonly": false,
22840
+ "isOptional": false,
22841
+ "releaseTag": "Public",
22842
+ "name": "columnNumber",
22843
+ "propertyTypeTokenRange": {
22844
+ "startIndex": 1,
22845
+ "endIndex": 2
22846
+ }
21535
22847
  },
21536
22848
  {
21537
- "kind": "Content",
21538
- "text": ";"
21539
- }
21540
- ],
21541
- "fileUrlPath": "src/render.ts",
21542
- "returnTypeTokenRange": {
21543
- "startIndex": 5,
21544
- "endIndex": 9
21545
- },
21546
- "releaseTag": "Public",
21547
- "overloadIndex": 1,
21548
- "parameters": [
21549
- {
21550
- "parameterName": "tree",
21551
- "parameterTypeTokenRange": {
22849
+ "kind": "PropertySignature",
22850
+ "canonicalReference": "@alloy-js/core!SourceLocation#fileName:member",
22851
+ "docComment": "",
22852
+ "excerptTokens": [
22853
+ {
22854
+ "kind": "Content",
22855
+ "text": "fileName: "
22856
+ },
22857
+ {
22858
+ "kind": "Content",
22859
+ "text": "string"
22860
+ },
22861
+ {
22862
+ "kind": "Content",
22863
+ "text": ";"
22864
+ }
22865
+ ],
22866
+ "isReadonly": false,
22867
+ "isOptional": false,
22868
+ "releaseTag": "Public",
22869
+ "name": "fileName",
22870
+ "propertyTypeTokenRange": {
21552
22871
  "startIndex": 1,
21553
22872
  "endIndex": 2
21554
- },
21555
- "isOptional": false
22873
+ }
21556
22874
  },
21557
22875
  {
21558
- "parameterName": "options",
21559
- "parameterTypeTokenRange": {
21560
- "startIndex": 3,
21561
- "endIndex": 4
21562
- },
21563
- "isOptional": true
22876
+ "kind": "PropertySignature",
22877
+ "canonicalReference": "@alloy-js/core!SourceLocation#lineNumber:member",
22878
+ "docComment": "",
22879
+ "excerptTokens": [
22880
+ {
22881
+ "kind": "Content",
22882
+ "text": "lineNumber: "
22883
+ },
22884
+ {
22885
+ "kind": "Content",
22886
+ "text": "number"
22887
+ },
22888
+ {
22889
+ "kind": "Content",
22890
+ "text": ";"
22891
+ }
22892
+ ],
22893
+ "isReadonly": false,
22894
+ "isOptional": false,
22895
+ "releaseTag": "Public",
22896
+ "name": "lineNumber",
22897
+ "propertyTypeTokenRange": {
22898
+ "startIndex": 1,
22899
+ "endIndex": 2
22900
+ }
21564
22901
  }
21565
22902
  ],
21566
- "name": "sourceFilesForTreeAsync"
22903
+ "extendsTokenRanges": []
21567
22904
  },
21568
22905
  {
21569
22906
  "kind": "Function",
@@ -24380,6 +25717,128 @@
24380
25717
  "endIndex": 2
24381
25718
  }
24382
25719
  },
25720
+ {
25721
+ "kind": "Function",
25722
+ "canonicalReference": "@alloy-js/core!toRef:function(1)",
25723
+ "docComment": "",
25724
+ "excerptTokens": [
25725
+ {
25726
+ "kind": "Content",
25727
+ "text": "export declare function toRef<T extends "
25728
+ },
25729
+ {
25730
+ "kind": "Content",
25731
+ "text": "object"
25732
+ },
25733
+ {
25734
+ "kind": "Content",
25735
+ "text": ", K extends "
25736
+ },
25737
+ {
25738
+ "kind": "Content",
25739
+ "text": "keyof T"
25740
+ },
25741
+ {
25742
+ "kind": "Content",
25743
+ "text": ">(object: "
25744
+ },
25745
+ {
25746
+ "kind": "Content",
25747
+ "text": "T"
25748
+ },
25749
+ {
25750
+ "kind": "Content",
25751
+ "text": ", key: "
25752
+ },
25753
+ {
25754
+ "kind": "Content",
25755
+ "text": "K"
25756
+ },
25757
+ {
25758
+ "kind": "Content",
25759
+ "text": ", defaultValue?: "
25760
+ },
25761
+ {
25762
+ "kind": "Content",
25763
+ "text": "T[K]"
25764
+ },
25765
+ {
25766
+ "kind": "Content",
25767
+ "text": "): "
25768
+ },
25769
+ {
25770
+ "kind": "Reference",
25771
+ "text": "Ref",
25772
+ "canonicalReference": "@vue/reactivity!Ref:interface"
25773
+ },
25774
+ {
25775
+ "kind": "Content",
25776
+ "text": "<T[K]>"
25777
+ },
25778
+ {
25779
+ "kind": "Content",
25780
+ "text": ";"
25781
+ }
25782
+ ],
25783
+ "fileUrlPath": "src/reactivity.ts",
25784
+ "returnTypeTokenRange": {
25785
+ "startIndex": 11,
25786
+ "endIndex": 13
25787
+ },
25788
+ "releaseTag": "Public",
25789
+ "overloadIndex": 1,
25790
+ "parameters": [
25791
+ {
25792
+ "parameterName": "object",
25793
+ "parameterTypeTokenRange": {
25794
+ "startIndex": 5,
25795
+ "endIndex": 6
25796
+ },
25797
+ "isOptional": false
25798
+ },
25799
+ {
25800
+ "parameterName": "key",
25801
+ "parameterTypeTokenRange": {
25802
+ "startIndex": 7,
25803
+ "endIndex": 8
25804
+ },
25805
+ "isOptional": false
25806
+ },
25807
+ {
25808
+ "parameterName": "defaultValue",
25809
+ "parameterTypeTokenRange": {
25810
+ "startIndex": 9,
25811
+ "endIndex": 10
25812
+ },
25813
+ "isOptional": true
25814
+ }
25815
+ ],
25816
+ "typeParameters": [
25817
+ {
25818
+ "typeParameterName": "T",
25819
+ "constraintTokenRange": {
25820
+ "startIndex": 1,
25821
+ "endIndex": 2
25822
+ },
25823
+ "defaultTypeTokenRange": {
25824
+ "startIndex": 0,
25825
+ "endIndex": 0
25826
+ }
25827
+ },
25828
+ {
25829
+ "typeParameterName": "K",
25830
+ "constraintTokenRange": {
25831
+ "startIndex": 3,
25832
+ "endIndex": 4
25833
+ },
25834
+ "defaultTypeTokenRange": {
25835
+ "startIndex": 0,
25836
+ "endIndex": 0
25837
+ }
25838
+ }
25839
+ ],
25840
+ "name": "toRef"
25841
+ },
24383
25842
  {
24384
25843
  "kind": "Function",
24385
25844
  "canonicalReference": "@alloy-js/core!toRefkey:function(1)",
@@ -24427,6 +25886,81 @@
24427
25886
  ],
24428
25887
  "name": "toRefkey"
24429
25888
  },
25889
+ {
25890
+ "kind": "Function",
25891
+ "canonicalReference": "@alloy-js/core!toRefs:function(1)",
25892
+ "docComment": "",
25893
+ "excerptTokens": [
25894
+ {
25895
+ "kind": "Content",
25896
+ "text": "export declare function toRefs<T extends "
25897
+ },
25898
+ {
25899
+ "kind": "Content",
25900
+ "text": "object"
25901
+ },
25902
+ {
25903
+ "kind": "Content",
25904
+ "text": ">(object: "
25905
+ },
25906
+ {
25907
+ "kind": "Content",
25908
+ "text": "T"
25909
+ },
25910
+ {
25911
+ "kind": "Content",
25912
+ "text": "): "
25913
+ },
25914
+ {
25915
+ "kind": "Content",
25916
+ "text": "{\n [K in keyof T]: "
25917
+ },
25918
+ {
25919
+ "kind": "Reference",
25920
+ "text": "Ref",
25921
+ "canonicalReference": "@vue/reactivity!Ref:interface"
25922
+ },
25923
+ {
25924
+ "kind": "Content",
25925
+ "text": "<T[K]>;\n}"
25926
+ },
25927
+ {
25928
+ "kind": "Content",
25929
+ "text": ";"
25930
+ }
25931
+ ],
25932
+ "fileUrlPath": "src/reactivity.ts",
25933
+ "returnTypeTokenRange": {
25934
+ "startIndex": 5,
25935
+ "endIndex": 8
25936
+ },
25937
+ "releaseTag": "Public",
25938
+ "overloadIndex": 1,
25939
+ "parameters": [
25940
+ {
25941
+ "parameterName": "object",
25942
+ "parameterTypeTokenRange": {
25943
+ "startIndex": 3,
25944
+ "endIndex": 4
25945
+ },
25946
+ "isOptional": false
25947
+ }
25948
+ ],
25949
+ "typeParameters": [
25950
+ {
25951
+ "typeParameterName": "T",
25952
+ "constraintTokenRange": {
25953
+ "startIndex": 1,
25954
+ "endIndex": 2
25955
+ },
25956
+ "defaultTypeTokenRange": {
25957
+ "startIndex": 0,
25958
+ "endIndex": 0
25959
+ }
25960
+ }
25961
+ ],
25962
+ "name": "toRefs"
25963
+ },
24430
25964
  {
24431
25965
  "kind": "Function",
24432
25966
  "canonicalReference": "@alloy-js/core!traverseOutput:function(1)",