@alloy-js/core 0.21.0-dev.0 → 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 (92) 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/Declaration.js +1 -1
  6. package/dist/src/components/Declaration.js.map +1 -1
  7. package/dist/src/components/MemberDeclaration.js +1 -1
  8. package/dist/src/components/MemberDeclaration.js.map +1 -1
  9. package/dist/src/components/ReferenceOrContent.d.ts +1 -1
  10. package/dist/src/components/ReferenceOrContent.d.ts.map +1 -1
  11. package/dist/src/index.d.ts +1 -0
  12. package/dist/src/index.d.ts.map +1 -1
  13. package/dist/src/index.js +1 -0
  14. package/dist/src/index.js.map +1 -1
  15. package/dist/src/library-symbol-reference.d.ts +8 -0
  16. package/dist/src/library-symbol-reference.d.ts.map +1 -0
  17. package/dist/src/library-symbol-reference.js +5 -0
  18. package/dist/src/library-symbol-reference.js.map +1 -0
  19. package/dist/src/name-policy.d.ts +2 -2
  20. package/dist/src/name-policy.d.ts.map +1 -1
  21. package/dist/src/name-policy.js +14 -1
  22. package/dist/src/name-policy.js.map +1 -1
  23. package/dist/src/pretty-string/pretty-string.d.ts +47 -0
  24. package/dist/src/pretty-string/pretty-string.d.ts.map +1 -0
  25. package/dist/src/pretty-string/pretty-string.js +100 -0
  26. package/dist/src/pretty-string/pretty-string.js.map +1 -0
  27. package/dist/src/pretty-string/pretty-string.test.d.ts +2 -0
  28. package/dist/src/pretty-string/pretty-string.test.d.ts.map +1 -0
  29. package/dist/src/pretty-string/pretty-string.test.js +38 -0
  30. package/dist/src/pretty-string/pretty-string.test.js.map +1 -0
  31. package/dist/src/refkey.d.ts +12 -8
  32. package/dist/src/refkey.d.ts.map +1 -1
  33. package/dist/src/refkey.js +40 -12
  34. package/dist/src/refkey.js.map +1 -1
  35. package/dist/src/render.d.ts.map +1 -1
  36. package/dist/src/render.js +10 -4
  37. package/dist/src/render.js.map +1 -1
  38. package/dist/src/runtime/component.d.ts +22 -2
  39. package/dist/src/runtime/component.d.ts.map +1 -1
  40. package/dist/src/runtime/component.js +18 -0
  41. package/dist/src/runtime/component.js.map +1 -1
  42. package/dist/src/symbols/output-scope.d.ts +1 -0
  43. package/dist/src/symbols/output-scope.d.ts.map +1 -1
  44. package/dist/src/symbols/output-scope.js +4 -0
  45. package/dist/src/symbols/output-scope.js.map +1 -1
  46. package/dist/src/symbols/output-symbol.d.ts +10 -0
  47. package/dist/src/symbols/output-symbol.d.ts.map +1 -1
  48. package/dist/src/symbols/output-symbol.js +33 -0
  49. package/dist/src/symbols/output-symbol.js.map +1 -1
  50. package/dist/src/tracer.d.ts.map +1 -1
  51. package/dist/src/tracer.js +2 -2
  52. package/dist/src/tracer.js.map +1 -1
  53. package/dist/test/refkey.test.js +11 -1
  54. package/dist/test/refkey.test.js.map +1 -1
  55. package/dist/test/rendering/basic.test.js +22 -0
  56. package/dist/test/rendering/basic.test.js.map +1 -1
  57. package/dist/test/symbols/output-scope.test.js +4 -3
  58. package/dist/test/symbols/output-scope.test.js.map +1 -1
  59. package/dist/test/symbols/resolution.test.js +29 -1
  60. package/dist/test/symbols/resolution.test.js.map +1 -1
  61. package/dist/testing/create-test-wrapper.d.ts +22 -0
  62. package/dist/testing/create-test-wrapper.d.ts.map +1 -0
  63. package/dist/testing/create-test-wrapper.js +60 -0
  64. package/dist/testing/create-test-wrapper.js.map +1 -0
  65. package/dist/testing/index.d.ts +1 -0
  66. package/dist/testing/index.d.ts.map +1 -1
  67. package/dist/testing/index.js +1 -0
  68. package/dist/testing/index.js.map +1 -1
  69. package/dist/tsconfig.tsbuildinfo +1 -1
  70. package/package.json +1 -1
  71. package/src/binder.ts +34 -6
  72. package/src/components/Declaration.tsx +1 -1
  73. package/src/components/MemberDeclaration.tsx +1 -1
  74. package/src/index.ts +1 -0
  75. package/src/library-symbol-reference.ts +20 -0
  76. package/src/name-policy.ts +22 -3
  77. package/src/pretty-string/pretty-string.test.ts +47 -0
  78. package/src/pretty-string/pretty-string.ts +130 -0
  79. package/src/refkey.ts +67 -26
  80. package/src/render.ts +11 -3
  81. package/src/runtime/component.ts +33 -1
  82. package/src/symbols/output-scope.ts +7 -0
  83. package/src/symbols/output-symbol.ts +44 -0
  84. package/src/tracer.ts +2 -5
  85. package/temp/api.json +792 -88
  86. package/test/refkey.test.ts +12 -1
  87. package/test/rendering/basic.test.tsx +35 -1
  88. package/test/symbols/output-scope.test.ts +4 -4
  89. package/test/symbols/resolution.test.ts +42 -1
  90. package/testing/create-test-wrapper.tsx +70 -0
  91. package/testing/index.ts +1 -0
  92. 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
  ],
@@ -12491,7 +12790,7 @@
12491
12790
  },
12492
12791
  {
12493
12792
  "kind": "Content",
12494
- "text": "TElements"
12793
+ "text": "TElements | undefined"
12495
12794
  },
12496
12795
  {
12497
12796
  "kind": "Content",
@@ -12545,7 +12844,7 @@
12545
12844
  },
12546
12845
  {
12547
12846
  "kind": "Content",
12548
- "text": "TElements"
12847
+ "text": "TElements | undefined"
12549
12848
  },
12550
12849
  {
12551
12850
  "kind": "Content",
@@ -14200,6 +14499,37 @@
14200
14499
  "isStatic": false,
14201
14500
  "isProtected": false,
14202
14501
  "isAbstract": false
14502
+ },
14503
+ {
14504
+ "kind": "Method",
14505
+ "canonicalReference": "@alloy-js/core!OutputScope#toString:member(1)",
14506
+ "docComment": "",
14507
+ "excerptTokens": [
14508
+ {
14509
+ "kind": "Content",
14510
+ "text": "toString(): "
14511
+ },
14512
+ {
14513
+ "kind": "Content",
14514
+ "text": "string"
14515
+ },
14516
+ {
14517
+ "kind": "Content",
14518
+ "text": ";"
14519
+ }
14520
+ ],
14521
+ "isStatic": false,
14522
+ "returnTypeTokenRange": {
14523
+ "startIndex": 1,
14524
+ "endIndex": 2
14525
+ },
14526
+ "releaseTag": "Public",
14527
+ "isProtected": false,
14528
+ "overloadIndex": 1,
14529
+ "parameters": [],
14530
+ "isOptional": false,
14531
+ "isAbstract": false,
14532
+ "name": "toString"
14203
14533
  }
14204
14534
  ],
14205
14535
  "implementsTokenRanges": []
@@ -15582,6 +15912,59 @@
15582
15912
  "isProtected": false,
15583
15913
  "isAbstract": false
15584
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
+ },
15585
15968
  {
15586
15969
  "kind": "Property",
15587
15970
  "canonicalReference": "@alloy-js/core!OutputSymbol#scope:member",
@@ -15674,6 +16057,37 @@
15674
16057
  "isProtected": false,
15675
16058
  "isAbstract": false
15676
16059
  },
16060
+ {
16061
+ "kind": "Method",
16062
+ "canonicalReference": "@alloy-js/core!OutputSymbol#toString:member(1)",
16063
+ "docComment": "",
16064
+ "excerptTokens": [
16065
+ {
16066
+ "kind": "Content",
16067
+ "text": "toString(): "
16068
+ },
16069
+ {
16070
+ "kind": "Content",
16071
+ "text": "string"
16072
+ },
16073
+ {
16074
+ "kind": "Content",
16075
+ "text": ";"
16076
+ }
16077
+ ],
16078
+ "isStatic": false,
16079
+ "returnTypeTokenRange": {
16080
+ "startIndex": 1,
16081
+ "endIndex": 2
16082
+ },
16083
+ "releaseTag": "Public",
16084
+ "isProtected": false,
16085
+ "overloadIndex": 1,
16086
+ "parameters": [],
16087
+ "isOptional": false,
16088
+ "isAbstract": false,
16089
+ "name": "toString"
16090
+ },
15677
16091
  {
15678
16092
  "kind": "Property",
15679
16093
  "canonicalReference": "@alloy-js/core!OutputSymbol#type:member",
@@ -15864,6 +16278,33 @@
15864
16278
  "endIndex": 2
15865
16279
  }
15866
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
+ },
15867
16308
  {
15868
16309
  "kind": "PropertySignature",
15869
16310
  "canonicalReference": "@alloy-js/core!OutputSymbolOptions#metadata:member",
@@ -17572,43 +18013,43 @@
17572
18013
  },
17573
18014
  {
17574
18015
  "kind": "Content",
17575
- "text": "<string | number | boolean | void | (() => "
18016
+ "text": "<string | number | boolean | void | import(\"../runtime/component.js\")."
17576
18017
  },
17577
18018
  {
17578
18019
  "kind": "Reference",
17579
- "text": "Children",
17580
- "canonicalReference": "@alloy-js/core!Children:type"
18020
+ "text": "RenderableObject",
18021
+ "canonicalReference": "@alloy-js/core!RenderableObject:interface"
17581
18022
  },
17582
18023
  {
17583
18024
  "kind": "Content",
17584
- "text": ") | import(\"@vue/reactivity\")."
18025
+ "text": " | import(\"../refkey.js\")."
17585
18026
  },
17586
18027
  {
17587
18028
  "kind": "Reference",
17588
- "text": "Ref",
17589
- "canonicalReference": "@vue/reactivity!Ref:interface"
18029
+ "text": "RefkeyableObject",
18030
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
17590
18031
  },
17591
18032
  {
17592
18033
  "kind": "Content",
17593
- "text": "<any, any> | import(\"../refkey.js\")."
18034
+ "text": " | (() => "
17594
18035
  },
17595
18036
  {
17596
18037
  "kind": "Reference",
17597
- "text": "SymbolRefkey",
17598
- "canonicalReference": "@alloy-js/core!SymbolRefkey:interface"
18038
+ "text": "Children",
18039
+ "canonicalReference": "@alloy-js/core!Children:type"
17599
18040
  },
17600
18041
  {
17601
18042
  "kind": "Content",
17602
- "text": " | import(\"../refkey.js\")."
18043
+ "text": ") | import(\"@vue/reactivity\")."
17603
18044
  },
17604
18045
  {
17605
18046
  "kind": "Reference",
17606
- "text": "MemberRefkey",
17607
- "canonicalReference": "@alloy-js/core!MemberRefkey:interface"
18047
+ "text": "Ref",
18048
+ "canonicalReference": "@vue/reactivity!Ref:interface"
17608
18049
  },
17609
18050
  {
17610
18051
  "kind": "Content",
17611
- "text": " | import(\"../reactivity.js\")."
18052
+ "text": "<any, any> | import(\"../reactivity.js\")."
17612
18053
  },
17613
18054
  {
17614
18055
  "kind": "Reference",
@@ -17999,12 +18440,71 @@
17999
18440
  },
18000
18441
  {
18001
18442
  "kind": "TypeAlias",
18002
- "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",
18003
18480
  "docComment": "",
18004
18481
  "excerptTokens": [
18005
18482
  {
18006
18483
  "kind": "Content",
18007
- "text": "export type RefkeyBase = "
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",
18503
+ "docComment": "",
18504
+ "excerptTokens": [
18505
+ {
18506
+ "kind": "Content",
18507
+ "text": "export type RefkeyableObject = "
18008
18508
  },
18009
18509
  {
18010
18510
  "kind": "Content",
@@ -18012,12 +18512,21 @@
18012
18512
  },
18013
18513
  {
18014
18514
  "kind": "Reference",
18015
- "text": "RefkeySym",
18016
- "canonicalReference": "@alloy-js/core!~RefkeySym:var"
18515
+ "text": "REFKEYABLE",
18516
+ "canonicalReference": "@alloy-js/core!REFKEYABLE:var"
18517
+ },
18518
+ {
18519
+ "kind": "Content",
18520
+ "text": "](): "
18521
+ },
18522
+ {
18523
+ "kind": "Reference",
18524
+ "text": "Refkey",
18525
+ "canonicalReference": "@alloy-js/core!Refkey:type"
18017
18526
  },
18018
18527
  {
18019
18528
  "kind": "Content",
18020
- "text": "]: true;\n}"
18529
+ "text": ";\n}"
18021
18530
  },
18022
18531
  {
18023
18532
  "kind": "Content",
@@ -18026,10 +18535,10 @@
18026
18535
  ],
18027
18536
  "fileUrlPath": "src/refkey.ts",
18028
18537
  "releaseTag": "Public",
18029
- "name": "RefkeyBase",
18538
+ "name": "RefkeyableObject",
18030
18539
  "typeTokenRange": {
18031
18540
  "startIndex": 1,
18032
- "endIndex": 4
18541
+ "endIndex": 6
18033
18542
  }
18034
18543
  },
18035
18544
  {
@@ -18096,6 +18605,85 @@
18096
18605
  ],
18097
18606
  "name": "render"
18098
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
+ },
18099
18687
  {
18100
18688
  "kind": "Function",
18101
18689
  "canonicalReference": "@alloy-js/core!renderAsync:function(1)",
@@ -21357,8 +21945,8 @@
21357
21945
  },
21358
21946
  {
21359
21947
  "kind": "Reference",
21360
- "text": "Refkey",
21361
- "canonicalReference": "@alloy-js/core!Refkey:type"
21948
+ "text": "Refkeyable",
21949
+ "canonicalReference": "@alloy-js/core!Refkeyable:type"
21362
21950
  },
21363
21951
  {
21364
21952
  "kind": "Content",
@@ -21426,8 +22014,8 @@
21426
22014
  },
21427
22015
  {
21428
22016
  "kind": "Reference",
21429
- "text": "RefkeyBase",
21430
- "canonicalReference": "@alloy-js/core!RefkeyBase:type"
22017
+ "text": "RefkeyableObject",
22018
+ "canonicalReference": "@alloy-js/core!RefkeyableObject:type"
21431
22019
  },
21432
22020
  {
21433
22021
  "kind": "Content",
@@ -23103,6 +23691,76 @@
23103
23691
  ],
23104
23692
  "name": "text"
23105
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
+ },
23106
23764
  {
23107
23765
  "kind": "Function",
23108
23766
  "canonicalReference": "@alloy-js/core!traverseOutput:function(1)",
@@ -23171,6 +23829,52 @@
23171
23829
  ],
23172
23830
  "name": "traverseOutput"
23173
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
+ },
23174
23878
  {
23175
23879
  "kind": "Function",
23176
23880
  "canonicalReference": "@alloy-js/core!untrack:function(1)",