@alloy-js/core 0.21.0-dev.1 → 0.21.0-dev.10

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 (76) hide show
  1. package/dist/src/binder.d.ts +3 -3
  2. package/dist/src/binder.d.ts.map +1 -1
  3. package/dist/src/binder.js +18 -4
  4. package/dist/src/binder.js.map +1 -1
  5. package/dist/src/components/ReferenceOrContent.d.ts +1 -1
  6. package/dist/src/components/ReferenceOrContent.d.ts.map +1 -1
  7. package/dist/src/index.d.ts +1 -0
  8. package/dist/src/index.d.ts.map +1 -1
  9. package/dist/src/index.js +1 -0
  10. package/dist/src/index.js.map +1 -1
  11. package/dist/src/library-symbol-reference.d.ts +8 -0
  12. package/dist/src/library-symbol-reference.d.ts.map +1 -0
  13. package/dist/src/library-symbol-reference.js +5 -0
  14. package/dist/src/library-symbol-reference.js.map +1 -0
  15. package/dist/src/pretty-string/pretty-string.d.ts +47 -0
  16. package/dist/src/pretty-string/pretty-string.d.ts.map +1 -0
  17. package/dist/src/pretty-string/pretty-string.js +100 -0
  18. package/dist/src/pretty-string/pretty-string.js.map +1 -0
  19. package/dist/src/pretty-string/pretty-string.test.d.ts +2 -0
  20. package/dist/src/pretty-string/pretty-string.test.d.ts.map +1 -0
  21. package/dist/src/pretty-string/pretty-string.test.js +38 -0
  22. package/dist/src/pretty-string/pretty-string.test.js.map +1 -0
  23. package/dist/src/refkey.d.ts +12 -8
  24. package/dist/src/refkey.d.ts.map +1 -1
  25. package/dist/src/refkey.js +40 -12
  26. package/dist/src/refkey.js.map +1 -1
  27. package/dist/src/render.d.ts.map +1 -1
  28. package/dist/src/render.js +10 -4
  29. package/dist/src/render.js.map +1 -1
  30. package/dist/src/runtime/component.d.ts +22 -2
  31. package/dist/src/runtime/component.d.ts.map +1 -1
  32. package/dist/src/runtime/component.js +18 -0
  33. package/dist/src/runtime/component.js.map +1 -1
  34. package/dist/src/symbols/output-symbol.d.ts +9 -0
  35. package/dist/src/symbols/output-symbol.d.ts.map +1 -1
  36. package/dist/src/symbols/output-symbol.js +30 -0
  37. package/dist/src/symbols/output-symbol.js.map +1 -1
  38. package/dist/src/tracer.d.ts.map +1 -1
  39. package/dist/src/tracer.js +2 -2
  40. package/dist/src/tracer.js.map +1 -1
  41. package/dist/test/refkey.test.js +11 -1
  42. package/dist/test/refkey.test.js.map +1 -1
  43. package/dist/test/rendering/basic.test.js +22 -0
  44. package/dist/test/rendering/basic.test.js.map +1 -1
  45. package/dist/test/symbols/output-scope.test.js +4 -3
  46. package/dist/test/symbols/output-scope.test.js.map +1 -1
  47. package/dist/test/symbols/resolution.test.js +29 -1
  48. package/dist/test/symbols/resolution.test.js.map +1 -1
  49. package/dist/testing/create-test-wrapper.d.ts +22 -0
  50. package/dist/testing/create-test-wrapper.d.ts.map +1 -0
  51. package/dist/testing/create-test-wrapper.js +60 -0
  52. package/dist/testing/create-test-wrapper.js.map +1 -0
  53. package/dist/testing/index.d.ts +1 -0
  54. package/dist/testing/index.d.ts.map +1 -1
  55. package/dist/testing/index.js +1 -0
  56. package/dist/testing/index.js.map +1 -1
  57. package/dist/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +1 -1
  59. package/src/binder.ts +34 -6
  60. package/src/index.ts +1 -0
  61. package/src/library-symbol-reference.ts +20 -0
  62. package/src/pretty-string/pretty-string.test.ts +47 -0
  63. package/src/pretty-string/pretty-string.ts +130 -0
  64. package/src/refkey.ts +67 -26
  65. package/src/render.ts +11 -3
  66. package/src/runtime/component.ts +33 -1
  67. package/src/symbols/output-symbol.ts +40 -0
  68. package/src/tracer.ts +2 -5
  69. package/temp/api.json +728 -86
  70. package/test/refkey.test.ts +12 -1
  71. package/test/rendering/basic.test.tsx +35 -1
  72. package/test/symbols/output-scope.test.ts +4 -4
  73. package/test/symbols/resolution.test.ts +42 -1
  74. package/testing/create-test-wrapper.tsx +70 -0
  75. package/testing/index.ts +1 -0
  76. package/tsconfig.json +1 -0
package/temp/api.json CHANGED
@@ -1499,8 +1499,8 @@
1499
1499
  },
1500
1500
  {
1501
1501
  "kind": "Reference",
1502
- "text": "Refkey",
1503
- "canonicalReference": "@alloy-js/core!Refkey:type"
1502
+ "text": "Refkeyable",
1503
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
1504
1504
  },
1505
1505
  {
1506
1506
  "kind": "Content",
@@ -2233,9 +2233,23 @@
2233
2233
  "kind": "Content",
2234
2234
  "text": "export type Child = "
2235
2235
  },
2236
+ {
2237
+ "kind": "Reference",
2238
+ "text": "RenderableObject",
2239
+ "canonicalReference": "@alloy-js/core!RenderableObject:interface"
2240
+ },
2241
+ {
2242
+ "kind": "Content",
2243
+ "text": " | "
2244
+ },
2245
+ {
2246
+ "kind": "Reference",
2247
+ "text": "RefkeyableObject",
2248
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
2249
+ },
2236
2250
  {
2237
2251
  "kind": "Content",
2238
- "text": "string | boolean | number | undefined | null | void | (() => "
2252
+ "text": " | string | boolean | number | undefined | null | void | (() => "
2239
2253
  },
2240
2254
  {
2241
2255
  "kind": "Reference",
@@ -2288,7 +2302,7 @@
2288
2302
  "name": "Child",
2289
2303
  "typeTokenRange": {
2290
2304
  "startIndex": 1,
2291
- "endIndex": 11
2305
+ "endIndex": 14
2292
2306
  }
2293
2307
  },
2294
2308
  {
@@ -7668,6 +7682,52 @@
7668
7682
  ],
7669
7683
  "extendsTokenRanges": []
7670
7684
  },
7685
+ {
7686
+ "kind": "Function",
7687
+ "canonicalReference": "@alloy-js/core!inspectRefkey:function(1)",
7688
+ "docComment": "",
7689
+ "excerptTokens": [
7690
+ {
7691
+ "kind": "Content",
7692
+ "text": "export declare function inspectRefkey(refkey: "
7693
+ },
7694
+ {
7695
+ "kind": "Reference",
7696
+ "text": "Refkey",
7697
+ "canonicalReference": "@alloy-js/core!Refkey:type"
7698
+ },
7699
+ {
7700
+ "kind": "Content",
7701
+ "text": "): "
7702
+ },
7703
+ {
7704
+ "kind": "Content",
7705
+ "text": "string"
7706
+ },
7707
+ {
7708
+ "kind": "Content",
7709
+ "text": ";"
7710
+ }
7711
+ ],
7712
+ "fileUrlPath": "src/refkey.ts",
7713
+ "returnTypeTokenRange": {
7714
+ "startIndex": 3,
7715
+ "endIndex": 4
7716
+ },
7717
+ "releaseTag": "Public",
7718
+ "overloadIndex": 1,
7719
+ "parameters": [
7720
+ {
7721
+ "parameterName": "refkey",
7722
+ "parameterTypeTokenRange": {
7723
+ "startIndex": 1,
7724
+ "endIndex": 2
7725
+ },
7726
+ "isOptional": false
7727
+ }
7728
+ ],
7729
+ "name": "inspectRefkey"
7730
+ },
7671
7731
  {
7672
7732
  "kind": "Function",
7673
7733
  "canonicalReference": "@alloy-js/core!instantiateTakenMembersTo:function(1)",
@@ -9053,6 +9113,61 @@
9053
9113
  ],
9054
9114
  "name": "isKeyedChild"
9055
9115
  },
9116
+ {
9117
+ "kind": "Function",
9118
+ "canonicalReference": "@alloy-js/core!isLibrarySymbolReference:function(1)",
9119
+ "docComment": "",
9120
+ "excerptTokens": [
9121
+ {
9122
+ "kind": "Content",
9123
+ "text": "export declare function isLibrarySymbolReference(value: "
9124
+ },
9125
+ {
9126
+ "kind": "Content",
9127
+ "text": "unknown"
9128
+ },
9129
+ {
9130
+ "kind": "Content",
9131
+ "text": "): "
9132
+ },
9133
+ {
9134
+ "kind": "Reference",
9135
+ "text": "value",
9136
+ "canonicalReference": "@alloy-js/core!~value"
9137
+ },
9138
+ {
9139
+ "kind": "Content",
9140
+ "text": " is "
9141
+ },
9142
+ {
9143
+ "kind": "Reference",
9144
+ "text": "LibrarySymbolReference",
9145
+ "canonicalReference": "@alloy-js/core!LibrarySymbolReference:interface"
9146
+ },
9147
+ {
9148
+ "kind": "Content",
9149
+ "text": ";"
9150
+ }
9151
+ ],
9152
+ "fileUrlPath": "src/library-symbol-reference.ts",
9153
+ "returnTypeTokenRange": {
9154
+ "startIndex": 3,
9155
+ "endIndex": 6
9156
+ },
9157
+ "releaseTag": "Public",
9158
+ "overloadIndex": 1,
9159
+ "parameters": [
9160
+ {
9161
+ "parameterName": "value",
9162
+ "parameterTypeTokenRange": {
9163
+ "startIndex": 1,
9164
+ "endIndex": 2
9165
+ },
9166
+ "isOptional": false
9167
+ }
9168
+ ],
9169
+ "name": "isLibrarySymbolReference"
9170
+ },
9056
9171
  {
9057
9172
  "kind": "Function",
9058
9173
  "canonicalReference": "@alloy-js/core!isMemberRefkey:function(1)",
@@ -9273,6 +9388,116 @@
9273
9388
  ],
9274
9389
  "name": "isRefkey"
9275
9390
  },
9391
+ {
9392
+ "kind": "Function",
9393
+ "canonicalReference": "@alloy-js/core!isRefkeyable:function(1)",
9394
+ "docComment": "",
9395
+ "excerptTokens": [
9396
+ {
9397
+ "kind": "Content",
9398
+ "text": "export declare function isRefkeyable(value: "
9399
+ },
9400
+ {
9401
+ "kind": "Content",
9402
+ "text": "unknown"
9403
+ },
9404
+ {
9405
+ "kind": "Content",
9406
+ "text": "): "
9407
+ },
9408
+ {
9409
+ "kind": "Reference",
9410
+ "text": "value",
9411
+ "canonicalReference": "@alloy-js/core!~value"
9412
+ },
9413
+ {
9414
+ "kind": "Content",
9415
+ "text": " is "
9416
+ },
9417
+ {
9418
+ "kind": "Reference",
9419
+ "text": "RefkeyableObject",
9420
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
9421
+ },
9422
+ {
9423
+ "kind": "Content",
9424
+ "text": ";"
9425
+ }
9426
+ ],
9427
+ "fileUrlPath": "src/refkey.ts",
9428
+ "returnTypeTokenRange": {
9429
+ "startIndex": 3,
9430
+ "endIndex": 6
9431
+ },
9432
+ "releaseTag": "Public",
9433
+ "overloadIndex": 1,
9434
+ "parameters": [
9435
+ {
9436
+ "parameterName": "value",
9437
+ "parameterTypeTokenRange": {
9438
+ "startIndex": 1,
9439
+ "endIndex": 2
9440
+ },
9441
+ "isOptional": false
9442
+ }
9443
+ ],
9444
+ "name": "isRefkeyable"
9445
+ },
9446
+ {
9447
+ "kind": "Function",
9448
+ "canonicalReference": "@alloy-js/core!isRenderableObject:function(1)",
9449
+ "docComment": "/**\n * Returns true if the item is a renderable object, meaning it has an `[ay.RENDERABLE]`\n * method.\n *\n * @param item - The item to check.\n *\n * @returns True if the item is a renderable object.\n */\n",
9450
+ "excerptTokens": [
9451
+ {
9452
+ "kind": "Content",
9453
+ "text": "export declare function isRenderableObject(item: "
9454
+ },
9455
+ {
9456
+ "kind": "Content",
9457
+ "text": "unknown"
9458
+ },
9459
+ {
9460
+ "kind": "Content",
9461
+ "text": "): "
9462
+ },
9463
+ {
9464
+ "kind": "Reference",
9465
+ "text": "item",
9466
+ "canonicalReference": "@alloy-js/core!~item"
9467
+ },
9468
+ {
9469
+ "kind": "Content",
9470
+ "text": " is "
9471
+ },
9472
+ {
9473
+ "kind": "Reference",
9474
+ "text": "RenderableObject",
9475
+ "canonicalReference": "@alloy-js/core!RenderableObject:interface"
9476
+ },
9477
+ {
9478
+ "kind": "Content",
9479
+ "text": ";"
9480
+ }
9481
+ ],
9482
+ "fileUrlPath": "src/runtime/component.ts",
9483
+ "returnTypeTokenRange": {
9484
+ "startIndex": 3,
9485
+ "endIndex": 6
9486
+ },
9487
+ "releaseTag": "Public",
9488
+ "overloadIndex": 1,
9489
+ "parameters": [
9490
+ {
9491
+ "parameterName": "item",
9492
+ "parameterTypeTokenRange": {
9493
+ "startIndex": 1,
9494
+ "endIndex": 2
9495
+ },
9496
+ "isOptional": false
9497
+ }
9498
+ ],
9499
+ "name": "isRenderableObject"
9500
+ },
9276
9501
  {
9277
9502
  "kind": "Function",
9278
9503
  "canonicalReference": "@alloy-js/core!isSymbolRefkey:function(1)",
@@ -9555,67 +9780,137 @@
9555
9780
  }
9556
9781
  },
9557
9782
  {
9558
- "kind": "TypeAlias",
9559
- "canonicalReference": "@alloy-js/core!LineIntrinsicElement:type",
9783
+ "kind": "Interface",
9784
+ "canonicalReference": "@alloy-js/core!LibrarySymbolReference:interface",
9560
9785
  "docComment": "",
9561
9786
  "excerptTokens": [
9562
9787
  {
9563
9788
  "kind": "Content",
9564
- "text": "export type LineIntrinsicElement = "
9789
+ "text": "export interface LibrarySymbolReference extends "
9565
9790
  },
9566
9791
  {
9567
9792
  "kind": "Reference",
9568
- "text": "IntrinsicElementBase",
9569
- "canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
9570
- },
9571
- {
9572
- "kind": "Content",
9573
- "text": "<\"line\">"
9793
+ "text": "RefkeyableObject",
9794
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
9574
9795
  },
9575
9796
  {
9576
9797
  "kind": "Content",
9577
- "text": ";"
9798
+ "text": " "
9578
9799
  }
9579
9800
  ],
9580
- "fileUrlPath": "src/runtime/intrinsic.ts",
9801
+ "fileUrlPath": "src/library-symbol-reference.ts",
9581
9802
  "releaseTag": "Public",
9582
- "name": "LineIntrinsicElement",
9583
- "typeTokenRange": {
9584
- "startIndex": 1,
9585
- "endIndex": 3
9586
- }
9587
- },
9588
- {
9589
- "kind": "TypeAlias",
9590
- "canonicalReference": "@alloy-js/core!LineSuffixBoundaryIntrinsicElement:type",
9591
- "docComment": "",
9592
- "excerptTokens": [
9593
- {
9594
- "kind": "Content",
9595
- "text": "export type LineSuffixBoundaryIntrinsicElement = "
9596
- },
9597
- {
9598
- "kind": "Reference",
9599
- "text": "IntrinsicElementBase",
9600
- "canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
9601
- },
9602
- {
9603
- "kind": "Content",
9604
- "text": "<\"lineSuffixBoundary\">"
9605
- },
9803
+ "name": "LibrarySymbolReference",
9804
+ "preserveMemberOrder": false,
9805
+ "members": [
9606
9806
  {
9607
- "kind": "Content",
9608
- "text": ";"
9609
- }
9610
- ],
9611
- "fileUrlPath": "src/runtime/intrinsic.ts",
9612
- "releaseTag": "Public",
9613
- "name": "LineSuffixBoundaryIntrinsicElement",
9614
- "typeTokenRange": {
9615
- "startIndex": 1,
9616
- "endIndex": 3
9617
- }
9618
- },
9807
+ "kind": "MethodSignature",
9808
+ "canonicalReference": "@alloy-js/core!LibrarySymbolReference#[TO_SYMBOL]:member(1)",
9809
+ "docComment": "",
9810
+ "excerptTokens": [
9811
+ {
9812
+ "kind": "Content",
9813
+ "text": "["
9814
+ },
9815
+ {
9816
+ "kind": "Reference",
9817
+ "text": "TO_SYMBOL",
9818
+ "canonicalReference": "@alloy-js/core!TO_SYMBOL:var"
9819
+ },
9820
+ {
9821
+ "kind": "Content",
9822
+ "text": "](): "
9823
+ },
9824
+ {
9825
+ "kind": "Reference",
9826
+ "text": "OutputSymbol",
9827
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
9828
+ },
9829
+ {
9830
+ "kind": "Content",
9831
+ "text": ";"
9832
+ }
9833
+ ],
9834
+ "isOptional": false,
9835
+ "returnTypeTokenRange": {
9836
+ "startIndex": 3,
9837
+ "endIndex": 4
9838
+ },
9839
+ "releaseTag": "Public",
9840
+ "overloadIndex": 1,
9841
+ "parameters": [],
9842
+ "name": "[TO_SYMBOL]"
9843
+ }
9844
+ ],
9845
+ "extendsTokenRanges": [
9846
+ {
9847
+ "startIndex": 1,
9848
+ "endIndex": 2
9849
+ }
9850
+ ]
9851
+ },
9852
+ {
9853
+ "kind": "TypeAlias",
9854
+ "canonicalReference": "@alloy-js/core!LineIntrinsicElement:type",
9855
+ "docComment": "",
9856
+ "excerptTokens": [
9857
+ {
9858
+ "kind": "Content",
9859
+ "text": "export type LineIntrinsicElement = "
9860
+ },
9861
+ {
9862
+ "kind": "Reference",
9863
+ "text": "IntrinsicElementBase",
9864
+ "canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
9865
+ },
9866
+ {
9867
+ "kind": "Content",
9868
+ "text": "<\"line\">"
9869
+ },
9870
+ {
9871
+ "kind": "Content",
9872
+ "text": ";"
9873
+ }
9874
+ ],
9875
+ "fileUrlPath": "src/runtime/intrinsic.ts",
9876
+ "releaseTag": "Public",
9877
+ "name": "LineIntrinsicElement",
9878
+ "typeTokenRange": {
9879
+ "startIndex": 1,
9880
+ "endIndex": 3
9881
+ }
9882
+ },
9883
+ {
9884
+ "kind": "TypeAlias",
9885
+ "canonicalReference": "@alloy-js/core!LineSuffixBoundaryIntrinsicElement:type",
9886
+ "docComment": "",
9887
+ "excerptTokens": [
9888
+ {
9889
+ "kind": "Content",
9890
+ "text": "export type LineSuffixBoundaryIntrinsicElement = "
9891
+ },
9892
+ {
9893
+ "kind": "Reference",
9894
+ "text": "IntrinsicElementBase",
9895
+ "canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
9896
+ },
9897
+ {
9898
+ "kind": "Content",
9899
+ "text": "<\"lineSuffixBoundary\">"
9900
+ },
9901
+ {
9902
+ "kind": "Content",
9903
+ "text": ";"
9904
+ }
9905
+ ],
9906
+ "fileUrlPath": "src/runtime/intrinsic.ts",
9907
+ "releaseTag": "Public",
9908
+ "name": "LineSuffixBoundaryIntrinsicElement",
9909
+ "typeTokenRange": {
9910
+ "startIndex": 1,
9911
+ "endIndex": 3
9912
+ }
9913
+ },
9619
9914
  {
9620
9915
  "kind": "TypeAlias",
9621
9916
  "canonicalReference": "@alloy-js/core!LineSuffixIntrinsicElement:type",
@@ -10913,8 +11208,8 @@
10913
11208
  },
10914
11209
  {
10915
11210
  "kind": "Reference",
10916
- "text": "Refkey",
10917
- "canonicalReference": "@alloy-js/core!Refkey:type"
11211
+ "text": "Refkeyable",
11212
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
10918
11213
  },
10919
11214
  {
10920
11215
  "kind": "Content",
@@ -10926,21 +11221,21 @@
10926
11221
  },
10927
11222
  {
10928
11223
  "kind": "Reference",
10929
- "text": "Refkey",
10930
- "canonicalReference": "@alloy-js/core!Refkey:type"
11224
+ "text": "Refkeyable",
11225
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
10931
11226
  },
10932
11227
  {
10933
11228
  "kind": "Content",
10934
- "text": ", ..."
11229
+ "text": " | string, ...("
10935
11230
  },
10936
11231
  {
10937
11232
  "kind": "Reference",
10938
- "text": "Refkey",
10939
- "canonicalReference": "@alloy-js/core!Refkey:type"
11233
+ "text": "Refkeyable",
11234
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
10940
11235
  },
10941
11236
  {
10942
11237
  "kind": "Content",
10943
- "text": "[]]"
11238
+ "text": " | string)[]]"
10944
11239
  },
10945
11240
  {
10946
11241
  "kind": "Content",
@@ -10994,8 +11289,8 @@
10994
11289
  },
10995
11290
  {
10996
11291
  "kind": "Reference",
10997
- "text": "RefkeyBase",
10998
- "canonicalReference": "@alloy-js/core!RefkeyBase:type"
11292
+ "text": "RefkeyableObject",
11293
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
10999
11294
  },
11000
11295
  {
11001
11296
  "kind": "Content",
@@ -11049,6 +11344,10 @@
11049
11344
  "text": "Refkey",
11050
11345
  "canonicalReference": "@alloy-js/core!Refkey:type"
11051
11346
  },
11347
+ {
11348
+ "kind": "Content",
11349
+ "text": " | string"
11350
+ },
11052
11351
  {
11053
11352
  "kind": "Content",
11054
11353
  "text": ";"
@@ -11060,7 +11359,7 @@
11060
11359
  "name": "member",
11061
11360
  "propertyTypeTokenRange": {
11062
11361
  "startIndex": 1,
11063
- "endIndex": 2
11362
+ "endIndex": 3
11064
11363
  }
11065
11364
  }
11066
11365
  ],
@@ -15613,6 +15912,59 @@
15613
15912
  "isProtected": false,
15614
15913
  "isAbstract": false
15615
15914
  },
15915
+ {
15916
+ "kind": "Method",
15917
+ "canonicalReference": "@alloy-js/core!OutputSymbol#resolveMemberByName:member(1)",
15918
+ "docComment": "/**\n * Get a member symbol by name from this symbol's member spaces. Checks member\n * spaces in order until it finds a member with that name.\n */\n",
15919
+ "excerptTokens": [
15920
+ {
15921
+ "kind": "Content",
15922
+ "text": "resolveMemberByName(name: "
15923
+ },
15924
+ {
15925
+ "kind": "Content",
15926
+ "text": "string"
15927
+ },
15928
+ {
15929
+ "kind": "Content",
15930
+ "text": "): "
15931
+ },
15932
+ {
15933
+ "kind": "Reference",
15934
+ "text": "OutputSymbol",
15935
+ "canonicalReference": "@alloy-js/core!OutputSymbol:class"
15936
+ },
15937
+ {
15938
+ "kind": "Content",
15939
+ "text": " | undefined"
15940
+ },
15941
+ {
15942
+ "kind": "Content",
15943
+ "text": ";"
15944
+ }
15945
+ ],
15946
+ "isStatic": false,
15947
+ "returnTypeTokenRange": {
15948
+ "startIndex": 3,
15949
+ "endIndex": 5
15950
+ },
15951
+ "releaseTag": "Public",
15952
+ "isProtected": false,
15953
+ "overloadIndex": 1,
15954
+ "parameters": [
15955
+ {
15956
+ "parameterName": "name",
15957
+ "parameterTypeTokenRange": {
15958
+ "startIndex": 1,
15959
+ "endIndex": 2
15960
+ },
15961
+ "isOptional": false
15962
+ }
15963
+ ],
15964
+ "isOptional": false,
15965
+ "isAbstract": false,
15966
+ "name": "resolveMemberByName"
15967
+ },
15616
15968
  {
15617
15969
  "kind": "Property",
15618
15970
  "canonicalReference": "@alloy-js/core!OutputSymbol#scope:member",
@@ -15926,6 +16278,33 @@
15926
16278
  "endIndex": 2
15927
16279
  }
15928
16280
  },
16281
+ {
16282
+ "kind": "PropertySignature",
16283
+ "canonicalReference": "@alloy-js/core!OutputSymbolOptions#lazyMemberInitializer:member",
16284
+ "docComment": "/**\n * Provide a function which lazy-initializes members when an enumeration of members are needed.\n */\n",
16285
+ "excerptTokens": [
16286
+ {
16287
+ "kind": "Content",
16288
+ "text": "lazyMemberInitializer?: "
16289
+ },
16290
+ {
16291
+ "kind": "Content",
16292
+ "text": "() => void"
16293
+ },
16294
+ {
16295
+ "kind": "Content",
16296
+ "text": ";"
16297
+ }
16298
+ ],
16299
+ "isReadonly": false,
16300
+ "isOptional": true,
16301
+ "releaseTag": "Public",
16302
+ "name": "lazyMemberInitializer",
16303
+ "propertyTypeTokenRange": {
16304
+ "startIndex": 1,
16305
+ "endIndex": 2
16306
+ }
16307
+ },
15929
16308
  {
15930
16309
  "kind": "PropertySignature",
15931
16310
  "canonicalReference": "@alloy-js/core!OutputSymbolOptions#metadata:member",
@@ -17634,43 +18013,43 @@
17634
18013
  },
17635
18014
  {
17636
18015
  "kind": "Content",
17637
- "text": "<string | number | boolean | void | (() => "
18016
+ "text": "<string | number | boolean | void | import(\"../runtime/component.js\")."
17638
18017
  },
17639
18018
  {
17640
18019
  "kind": "Reference",
17641
- "text": "Children",
17642
- "canonicalReference": "@alloy-js/core!Children:type"
18020
+ "text": "RenderableObject",
18021
+ "canonicalReference": "@alloy-js/core!RenderableObject:interface"
17643
18022
  },
17644
18023
  {
17645
18024
  "kind": "Content",
17646
- "text": ") | import(\"@vue/reactivity\")."
18025
+ "text": " | import(\"../refkey.js\")."
17647
18026
  },
17648
18027
  {
17649
18028
  "kind": "Reference",
17650
- "text": "Ref",
17651
- "canonicalReference": "@vue/reactivity!Ref:interface"
18029
+ "text": "RefkeyableObject",
18030
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
17652
18031
  },
17653
18032
  {
17654
18033
  "kind": "Content",
17655
- "text": "<any, any> | import(\"../refkey.js\")."
18034
+ "text": " | (() => "
17656
18035
  },
17657
18036
  {
17658
18037
  "kind": "Reference",
17659
- "text": "SymbolRefkey",
17660
- "canonicalReference": "@alloy-js/core!SymbolRefkey:interface"
18038
+ "text": "Children",
18039
+ "canonicalReference": "@alloy-js/core!Children:type"
17661
18040
  },
17662
18041
  {
17663
18042
  "kind": "Content",
17664
- "text": " | import(\"../refkey.js\")."
18043
+ "text": ") | import(\"@vue/reactivity\")."
17665
18044
  },
17666
18045
  {
17667
18046
  "kind": "Reference",
17668
- "text": "MemberRefkey",
17669
- "canonicalReference": "@alloy-js/core!MemberRefkey:interface"
18047
+ "text": "Ref",
18048
+ "canonicalReference": "@vue/reactivity!Ref:interface"
17670
18049
  },
17671
18050
  {
17672
18051
  "kind": "Content",
17673
- "text": " | import(\"../reactivity.js\")."
18052
+ "text": "<any, any> | import(\"../reactivity.js\")."
17674
18053
  },
17675
18054
  {
17676
18055
  "kind": "Reference",
@@ -18061,12 +18440,71 @@
18061
18440
  },
18062
18441
  {
18063
18442
  "kind": "TypeAlias",
18064
- "canonicalReference": "@alloy-js/core!RefkeyBase:type",
18443
+ "canonicalReference": "@alloy-js/core!Refkeyable:type",
18444
+ "docComment": "",
18445
+ "excerptTokens": [
18446
+ {
18447
+ "kind": "Content",
18448
+ "text": "export type Refkeyable = "
18449
+ },
18450
+ {
18451
+ "kind": "Reference",
18452
+ "text": "RefkeyableObject",
18453
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
18454
+ },
18455
+ {
18456
+ "kind": "Content",
18457
+ "text": " | "
18458
+ },
18459
+ {
18460
+ "kind": "Reference",
18461
+ "text": "Refkey",
18462
+ "canonicalReference": "@alloy-js/core!Refkey:type"
18463
+ },
18464
+ {
18465
+ "kind": "Content",
18466
+ "text": ";"
18467
+ }
18468
+ ],
18469
+ "fileUrlPath": "src/refkey.ts",
18470
+ "releaseTag": "Public",
18471
+ "name": "Refkeyable",
18472
+ "typeTokenRange": {
18473
+ "startIndex": 1,
18474
+ "endIndex": 4
18475
+ }
18476
+ },
18477
+ {
18478
+ "kind": "Variable",
18479
+ "canonicalReference": "@alloy-js/core!REFKEYABLE:var",
18480
+ "docComment": "",
18481
+ "excerptTokens": [
18482
+ {
18483
+ "kind": "Content",
18484
+ "text": "REFKEYABLE: "
18485
+ },
18486
+ {
18487
+ "kind": "Content",
18488
+ "text": "unique symbol"
18489
+ }
18490
+ ],
18491
+ "fileUrlPath": "src/refkey.ts",
18492
+ "isReadonly": true,
18493
+ "releaseTag": "Public",
18494
+ "name": "REFKEYABLE",
18495
+ "variableTypeTokenRange": {
18496
+ "startIndex": 1,
18497
+ "endIndex": 2
18498
+ }
18499
+ },
18500
+ {
18501
+ "kind": "TypeAlias",
18502
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type",
18065
18503
  "docComment": "",
18066
18504
  "excerptTokens": [
18067
18505
  {
18068
18506
  "kind": "Content",
18069
- "text": "export type RefkeyBase = "
18507
+ "text": "export type RefkeyableObject = "
18070
18508
  },
18071
18509
  {
18072
18510
  "kind": "Content",
@@ -18074,12 +18512,21 @@
18074
18512
  },
18075
18513
  {
18076
18514
  "kind": "Reference",
18077
- "text": "RefkeySym",
18078
- "canonicalReference": "@alloy-js/core!~RefkeySym:var"
18515
+ "text": "REFKEYABLE",
18516
+ "canonicalReference": "@alloy-js/core!REFKEYABLE:var"
18079
18517
  },
18080
18518
  {
18081
18519
  "kind": "Content",
18082
- "text": "]: true;\n}"
18520
+ "text": "](): "
18521
+ },
18522
+ {
18523
+ "kind": "Reference",
18524
+ "text": "Refkey",
18525
+ "canonicalReference": "@alloy-js/core!Refkey:type"
18526
+ },
18527
+ {
18528
+ "kind": "Content",
18529
+ "text": ";\n}"
18083
18530
  },
18084
18531
  {
18085
18532
  "kind": "Content",
@@ -18088,10 +18535,10 @@
18088
18535
  ],
18089
18536
  "fileUrlPath": "src/refkey.ts",
18090
18537
  "releaseTag": "Public",
18091
- "name": "RefkeyBase",
18538
+ "name": "RefkeyableObject",
18092
18539
  "typeTokenRange": {
18093
18540
  "startIndex": 1,
18094
- "endIndex": 4
18541
+ "endIndex": 6
18095
18542
  }
18096
18543
  },
18097
18544
  {
@@ -18158,6 +18605,85 @@
18158
18605
  ],
18159
18606
  "name": "render"
18160
18607
  },
18608
+ {
18609
+ "kind": "Variable",
18610
+ "canonicalReference": "@alloy-js/core!RENDERABLE:var",
18611
+ "docComment": "",
18612
+ "excerptTokens": [
18613
+ {
18614
+ "kind": "Content",
18615
+ "text": "RENDERABLE: "
18616
+ },
18617
+ {
18618
+ "kind": "Content",
18619
+ "text": "unique symbol"
18620
+ }
18621
+ ],
18622
+ "fileUrlPath": "src/runtime/component.ts",
18623
+ "isReadonly": true,
18624
+ "releaseTag": "Public",
18625
+ "name": "RENDERABLE",
18626
+ "variableTypeTokenRange": {
18627
+ "startIndex": 1,
18628
+ "endIndex": 2
18629
+ }
18630
+ },
18631
+ {
18632
+ "kind": "Interface",
18633
+ "canonicalReference": "@alloy-js/core!RenderableObject:interface",
18634
+ "docComment": "/**\n * A renderable object is any object that has an `[ay.RENDERABLE]` method that\n * returns children. This is used to allow custom object types to be used as\n * children in Alloy components.\n */\n",
18635
+ "excerptTokens": [
18636
+ {
18637
+ "kind": "Content",
18638
+ "text": "export interface RenderableObject "
18639
+ }
18640
+ ],
18641
+ "fileUrlPath": "src/runtime/component.ts",
18642
+ "releaseTag": "Public",
18643
+ "name": "RenderableObject",
18644
+ "preserveMemberOrder": false,
18645
+ "members": [
18646
+ {
18647
+ "kind": "MethodSignature",
18648
+ "canonicalReference": "@alloy-js/core!RenderableObject#[RENDERABLE]:member(1)",
18649
+ "docComment": "/**\n * Renders this object to children.\n */\n",
18650
+ "excerptTokens": [
18651
+ {
18652
+ "kind": "Content",
18653
+ "text": "["
18654
+ },
18655
+ {
18656
+ "kind": "Reference",
18657
+ "text": "RENDERABLE",
18658
+ "canonicalReference": "@alloy-js/core!RENDERABLE:var"
18659
+ },
18660
+ {
18661
+ "kind": "Content",
18662
+ "text": "](): "
18663
+ },
18664
+ {
18665
+ "kind": "Reference",
18666
+ "text": "Children",
18667
+ "canonicalReference": "@alloy-js/core!Children:type"
18668
+ },
18669
+ {
18670
+ "kind": "Content",
18671
+ "text": ";"
18672
+ }
18673
+ ],
18674
+ "isOptional": false,
18675
+ "returnTypeTokenRange": {
18676
+ "startIndex": 3,
18677
+ "endIndex": 4
18678
+ },
18679
+ "releaseTag": "Public",
18680
+ "overloadIndex": 1,
18681
+ "parameters": [],
18682
+ "name": "[RENDERABLE]"
18683
+ }
18684
+ ],
18685
+ "extendsTokenRanges": []
18686
+ },
18161
18687
  {
18162
18688
  "kind": "Function",
18163
18689
  "canonicalReference": "@alloy-js/core!renderAsync:function(1)",
@@ -21419,8 +21945,8 @@
21419
21945
  },
21420
21946
  {
21421
21947
  "kind": "Reference",
21422
- "text": "Refkey",
21423
- "canonicalReference": "@alloy-js/core!Refkey:type"
21948
+ "text": "Refkeyable",
21949
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
21424
21950
  },
21425
21951
  {
21426
21952
  "kind": "Content",
@@ -21488,8 +22014,8 @@
21488
22014
  },
21489
22015
  {
21490
22016
  "kind": "Reference",
21491
- "text": "RefkeyBase",
21492
- "canonicalReference": "@alloy-js/core!RefkeyBase:type"
22017
+ "text": "RefkeyableObject",
22018
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
21493
22019
  },
21494
22020
  {
21495
22021
  "kind": "Content",
@@ -23165,6 +23691,76 @@
23165
23691
  ],
23166
23692
  "name": "text"
23167
23693
  },
23694
+ {
23695
+ "kind": "Variable",
23696
+ "canonicalReference": "@alloy-js/core!TO_SYMBOL:var",
23697
+ "docComment": "",
23698
+ "excerptTokens": [
23699
+ {
23700
+ "kind": "Content",
23701
+ "text": "TO_SYMBOL: "
23702
+ },
23703
+ {
23704
+ "kind": "Content",
23705
+ "text": "unique symbol"
23706
+ }
23707
+ ],
23708
+ "fileUrlPath": "src/library-symbol-reference.ts",
23709
+ "isReadonly": true,
23710
+ "releaseTag": "Public",
23711
+ "name": "TO_SYMBOL",
23712
+ "variableTypeTokenRange": {
23713
+ "startIndex": 1,
23714
+ "endIndex": 2
23715
+ }
23716
+ },
23717
+ {
23718
+ "kind": "Function",
23719
+ "canonicalReference": "@alloy-js/core!toRefkey:function(1)",
23720
+ "docComment": "",
23721
+ "excerptTokens": [
23722
+ {
23723
+ "kind": "Content",
23724
+ "text": "export declare function toRefkey(refkey: "
23725
+ },
23726
+ {
23727
+ "kind": "Reference",
23728
+ "text": "Refkeyable",
23729
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
23730
+ },
23731
+ {
23732
+ "kind": "Content",
23733
+ "text": "): "
23734
+ },
23735
+ {
23736
+ "kind": "Reference",
23737
+ "text": "Refkey",
23738
+ "canonicalReference": "@alloy-js/core!Refkey:type"
23739
+ },
23740
+ {
23741
+ "kind": "Content",
23742
+ "text": ";"
23743
+ }
23744
+ ],
23745
+ "fileUrlPath": "src/refkey.ts",
23746
+ "returnTypeTokenRange": {
23747
+ "startIndex": 3,
23748
+ "endIndex": 4
23749
+ },
23750
+ "releaseTag": "Public",
23751
+ "overloadIndex": 1,
23752
+ "parameters": [
23753
+ {
23754
+ "parameterName": "refkey",
23755
+ "parameterTypeTokenRange": {
23756
+ "startIndex": 1,
23757
+ "endIndex": 2
23758
+ },
23759
+ "isOptional": false
23760
+ }
23761
+ ],
23762
+ "name": "toRefkey"
23763
+ },
23168
23764
  {
23169
23765
  "kind": "Function",
23170
23766
  "canonicalReference": "@alloy-js/core!traverseOutput:function(1)",
@@ -23233,6 +23829,52 @@
23233
23829
  ],
23234
23830
  "name": "traverseOutput"
23235
23831
  },
23832
+ {
23833
+ "kind": "Function",
23834
+ "canonicalReference": "@alloy-js/core!unresolvedRefkey:function(1)",
23835
+ "docComment": "",
23836
+ "excerptTokens": [
23837
+ {
23838
+ "kind": "Content",
23839
+ "text": "export declare function unresolvedRefkey(refkey: "
23840
+ },
23841
+ {
23842
+ "kind": "Reference",
23843
+ "text": "Refkey",
23844
+ "canonicalReference": "@alloy-js/core!Refkey:type"
23845
+ },
23846
+ {
23847
+ "kind": "Content",
23848
+ "text": "): "
23849
+ },
23850
+ {
23851
+ "kind": "Content",
23852
+ "text": "string"
23853
+ },
23854
+ {
23855
+ "kind": "Content",
23856
+ "text": ";"
23857
+ }
23858
+ ],
23859
+ "fileUrlPath": "src/refkey.ts",
23860
+ "returnTypeTokenRange": {
23861
+ "startIndex": 3,
23862
+ "endIndex": 4
23863
+ },
23864
+ "releaseTag": "Public",
23865
+ "overloadIndex": 1,
23866
+ "parameters": [
23867
+ {
23868
+ "parameterName": "refkey",
23869
+ "parameterTypeTokenRange": {
23870
+ "startIndex": 1,
23871
+ "endIndex": 2
23872
+ },
23873
+ "isOptional": false
23874
+ }
23875
+ ],
23876
+ "name": "unresolvedRefkey"
23877
+ },
23236
23878
  {
23237
23879
  "kind": "Function",
23238
23880
  "canonicalReference": "@alloy-js/core!untrack:function(1)",