@alloy-js/core 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/babel.config.cjs +1 -4
- package/dist/src/binder.d.ts +15 -13
- package/dist/src/binder.d.ts.map +1 -1
- package/dist/src/binder.js +34 -34
- package/dist/src/binder.js.map +1 -1
- package/dist/src/code.d.ts +11 -2
- package/dist/src/code.d.ts.map +1 -1
- package/dist/src/code.js +27 -2
- package/dist/src/code.js.map +1 -1
- package/dist/src/components/Block.d.ts +2 -2
- package/dist/src/components/Block.d.ts.map +1 -1
- package/dist/src/components/Block.js +6 -5
- package/dist/src/components/Block.js.map +1 -1
- package/dist/src/components/Declaration.d.ts +31 -7
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +15 -7
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/For.d.ts +6 -0
- package/dist/src/components/For.d.ts.map +1 -1
- package/dist/src/components/For.js +2 -3
- package/dist/src/components/For.js.map +1 -1
- package/dist/src/components/Indent.d.ts +29 -1
- package/dist/src/components/Indent.d.ts.map +1 -1
- package/dist/src/components/Indent.js +7 -2
- package/dist/src/components/Indent.js.map +1 -1
- package/dist/src/components/List.d.ts +7 -3
- package/dist/src/components/List.d.ts.map +1 -1
- package/dist/src/components/List.js +1 -16
- package/dist/src/components/List.js.map +1 -1
- package/dist/src/components/MemberDeclaration.d.ts +35 -5
- package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
- package/dist/src/components/MemberDeclaration.js +18 -7
- package/dist/src/components/MemberDeclaration.js.map +1 -1
- package/dist/src/components/MemberScope.d.ts +2 -0
- package/dist/src/components/MemberScope.d.ts.map +1 -1
- package/dist/src/components/MemberScope.js +2 -0
- package/dist/src/components/MemberScope.js.map +1 -1
- package/dist/src/components/Prose.d.ts +10 -0
- package/dist/src/components/Prose.d.ts.map +1 -0
- package/dist/src/components/Prose.js +23 -0
- package/dist/src/components/Prose.js.map +1 -0
- package/dist/src/components/Scope.d.ts +33 -2
- package/dist/src/components/Scope.d.ts.map +1 -1
- package/dist/src/components/Scope.js +20 -4
- package/dist/src/components/Scope.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts +5 -0
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +10 -1
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/stc/index.d.ts +19 -95
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +3 -6
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/components/stc/sti.d.ts +9 -0
- package/dist/src/components/stc/sti.d.ts.map +1 -0
- package/dist/src/components/stc/sti.js +10 -0
- package/dist/src/components/stc/sti.js.map +1 -0
- package/dist/src/context/assignment.d.ts +6 -0
- package/dist/src/context/assignment.d.ts.map +1 -1
- package/dist/src/context/assignment.js +7 -0
- package/dist/src/context/assignment.js.map +1 -1
- package/dist/src/context.d.ts +2 -0
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +12 -9
- package/dist/src/context.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/jsx-runtime.d.ts +98 -1
- package/dist/src/jsx-runtime.d.ts.map +1 -1
- package/dist/src/jsx-runtime.js +46 -1
- package/dist/src/jsx-runtime.js.map +1 -1
- package/dist/src/render.d.ts.map +1 -1
- package/dist/src/render.js +12 -0
- package/dist/src/render.js.map +1 -1
- package/dist/src/stc.d.ts +5 -7
- package/dist/src/stc.d.ts.map +1 -1
- package/dist/src/stc.js +11 -23
- package/dist/src/stc.js.map +1 -1
- package/dist/src/sti.d.ts +11 -0
- package/dist/src/sti.d.ts.map +1 -0
- package/dist/src/sti.js +31 -0
- package/dist/src/sti.js.map +1 -0
- package/dist/src/tap.d.ts +69 -6
- package/dist/src/tap.d.ts.map +1 -1
- package/dist/src/tap.js +70 -0
- package/dist/src/tap.js.map +1 -1
- package/dist/src/utils.d.ts +5 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +20 -0
- package/dist/src/utils.js.map +1 -1
- package/dist/src/write-output.js +3 -3
- package/dist/src/write-output.js.map +1 -1
- package/dist/test/components/prose.test.d.ts +2 -0
- package/dist/test/components/prose.test.d.ts.map +1 -0
- package/dist/test/props-with-defaults.test.d.ts +2 -0
- package/dist/test/props-with-defaults.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/binder.ts +46 -40
- package/src/code.ts +37 -3
- package/src/components/Block.tsx +3 -6
- package/src/components/Declaration.tsx +43 -11
- package/src/components/For.tsx +10 -3
- package/src/components/Indent.tsx +38 -5
- package/src/components/List.tsx +14 -40
- package/src/components/MemberDeclaration.tsx +51 -12
- package/src/components/MemberScope.tsx +2 -0
- package/src/components/Prose.tsx +35 -0
- package/src/components/Scope.tsx +45 -5
- package/src/components/SourceFile.tsx +10 -0
- package/src/components/index.tsx +1 -0
- package/src/components/stc/index.ts +3 -6
- package/src/components/stc/sti.ts +10 -0
- package/src/context/assignment.ts +7 -1
- package/src/context.ts +15 -11
- package/src/index.ts +1 -0
- package/src/jsx-runtime.ts +162 -0
- package/src/render.ts +14 -0
- package/src/stc.ts +35 -56
- package/src/sti.ts +63 -0
- package/src/tap.ts +69 -6
- package/src/{utils.ts → utils.tsx} +45 -0
- package/src/write-output.ts +3 -3
- package/temp/api.json +1563 -393
- package/test/components/declaration.test.tsx +1 -1
- package/test/components/prose.test.tsx +36 -0
- package/test/components/source-file.test.tsx +17 -0
- package/test/props-with-defaults.test.ts +97 -0
- package/test/symbols.test.ts +14 -33
- package/vitest.config.ts +2 -10
package/temp/api.json
CHANGED
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
{
|
|
222
222
|
"kind": "PropertySignature",
|
|
223
223
|
"canonicalReference": "@alloy-js/core!AssignmentContext#isAssigned:member",
|
|
224
|
-
"docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been assigned, subsequent assignments will have no effect.\n */\n",
|
|
224
|
+
"docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been\n * assigned, subsequent assignments will have no effect.\n */\n",
|
|
225
225
|
"excerptTokens": [
|
|
226
226
|
{
|
|
227
227
|
"kind": "Content",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
{
|
|
280
280
|
"kind": "Variable",
|
|
281
281
|
"canonicalReference": "@alloy-js/core!AssignmentContext:var",
|
|
282
|
-
"docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current assignment.\n *\n * @remarks\n *\n * When a variable is declared, the symbol for the variable doesn't yet know what value it will hold, because that depends on the assignment to the variable in the variable declaration's initializer. This context provides the symbol that is the target of the current assignment, so that children of an assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the object value expression should use assignment context to provide the member symbols for the object value's properties.\n */\n",
|
|
282
|
+
"docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current\n * assignment.\n *\n * @remarks\n *\n *\n *\n * When a variable is declared, the symbol for the variable doesn't yet know\n * what value it will hold, because that depends on the assignment to the\n * variable in the variable declaration's initializer. This context provides the\n * symbol that is the target of the current assignment, so that children of an\n * assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the\n * object value expression should use assignment context to provide the member\n * symbols for the object value's properties.\n */\n",
|
|
283
283
|
"excerptTokens": [
|
|
284
284
|
{
|
|
285
285
|
"kind": "Content",
|
|
@@ -355,10 +355,37 @@
|
|
|
355
355
|
"endIndex": 2
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "PropertySignature",
|
|
360
|
+
"canonicalReference": "@alloy-js/core!BaseListProps#doubleHardline:member",
|
|
361
|
+
"docComment": "/**\n * Place two hardlines between each element\n */\n",
|
|
362
|
+
"excerptTokens": [
|
|
363
|
+
{
|
|
364
|
+
"kind": "Content",
|
|
365
|
+
"text": "doubleHardline?: "
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "Content",
|
|
369
|
+
"text": "boolean"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"kind": "Content",
|
|
373
|
+
"text": ";"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"isReadonly": false,
|
|
377
|
+
"isOptional": true,
|
|
378
|
+
"releaseTag": "Public",
|
|
379
|
+
"name": "doubleHardline",
|
|
380
|
+
"propertyTypeTokenRange": {
|
|
381
|
+
"startIndex": 1,
|
|
382
|
+
"endIndex": 2
|
|
383
|
+
}
|
|
384
|
+
},
|
|
358
385
|
{
|
|
359
386
|
"kind": "PropertySignature",
|
|
360
387
|
"canonicalReference": "@alloy-js/core!BaseListProps#ender:member",
|
|
361
|
-
"docComment": "/**\n * Text to place at the end of the list when there is at least one item. If set to true, the joiner is used.\n */\n",
|
|
388
|
+
"docComment": "/**\n * Text to place at the end of the list when there is at least one item. If\n * set to true, the joiner is used.\n */\n",
|
|
362
389
|
"excerptTokens": [
|
|
363
390
|
{
|
|
364
391
|
"kind": "Content",
|
|
@@ -413,7 +440,7 @@
|
|
|
413
440
|
{
|
|
414
441
|
"kind": "PropertySignature",
|
|
415
442
|
"canonicalReference": "@alloy-js/core!BaseListProps#hardline:member",
|
|
416
|
-
"docComment": "",
|
|
443
|
+
"docComment": "/**\n * Place a hardline (`<hbr />`) between each element\n */\n",
|
|
417
444
|
"excerptTokens": [
|
|
418
445
|
{
|
|
419
446
|
"kind": "Content",
|
|
@@ -468,7 +495,7 @@
|
|
|
468
495
|
{
|
|
469
496
|
"kind": "PropertySignature",
|
|
470
497
|
"canonicalReference": "@alloy-js/core!BaseListProps#line:member",
|
|
471
|
-
"docComment": "",
|
|
498
|
+
"docComment": "/**\n * Place a regular line (`<br />`) between each element\n */\n",
|
|
472
499
|
"excerptTokens": [
|
|
473
500
|
{
|
|
474
501
|
"kind": "Content",
|
|
@@ -495,7 +522,7 @@
|
|
|
495
522
|
{
|
|
496
523
|
"kind": "PropertySignature",
|
|
497
524
|
"canonicalReference": "@alloy-js/core!BaseListProps#literalline:member",
|
|
498
|
-
"docComment": "",
|
|
525
|
+
"docComment": "/**\n * Place a literal line (`<lbr />`) between each element\n */\n",
|
|
499
526
|
"excerptTokens": [
|
|
500
527
|
{
|
|
501
528
|
"kind": "Content",
|
|
@@ -549,7 +576,7 @@
|
|
|
549
576
|
{
|
|
550
577
|
"kind": "PropertySignature",
|
|
551
578
|
"canonicalReference": "@alloy-js/core!BaseListProps#softline:member",
|
|
552
|
-
"docComment": "",
|
|
579
|
+
"docComment": "/**\n * Place a softline (`<sbr />`) between each element\n */\n",
|
|
553
580
|
"excerptTokens": [
|
|
554
581
|
{
|
|
555
582
|
"kind": "Content",
|
|
@@ -576,7 +603,7 @@
|
|
|
576
603
|
{
|
|
577
604
|
"kind": "PropertySignature",
|
|
578
605
|
"canonicalReference": "@alloy-js/core!BaseListProps#space:member",
|
|
579
|
-
"docComment": "",
|
|
606
|
+
"docComment": "/**\n * Place a space between each element\n */\n",
|
|
580
607
|
"excerptTokens": [
|
|
581
608
|
{
|
|
582
609
|
"kind": "Content",
|
|
@@ -606,7 +633,7 @@
|
|
|
606
633
|
{
|
|
607
634
|
"kind": "Function",
|
|
608
635
|
"canonicalReference": "@alloy-js/core!baseListPropsToMapJoinArgs:function(1)",
|
|
609
|
-
"docComment": "",
|
|
636
|
+
"docComment": "/**\n * Convert a list of props to a joiner and ender for use in {@link (mapJoin:1)}.\n */\n",
|
|
610
637
|
"excerptTokens": [
|
|
611
638
|
{
|
|
612
639
|
"kind": "Content",
|
|
@@ -631,7 +658,7 @@
|
|
|
631
658
|
"text": ";"
|
|
632
659
|
}
|
|
633
660
|
],
|
|
634
|
-
"fileUrlPath": "src/
|
|
661
|
+
"fileUrlPath": "src/utils.tsx",
|
|
635
662
|
"returnTypeTokenRange": {
|
|
636
663
|
"startIndex": 3,
|
|
637
664
|
"endIndex": 4
|
|
@@ -653,7 +680,7 @@
|
|
|
653
680
|
{
|
|
654
681
|
"kind": "Interface",
|
|
655
682
|
"canonicalReference": "@alloy-js/core!Binder:interface",
|
|
656
|
-
"docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers for symbols.\n *\n * @remarks\n *\n * Symbol information is reactive because in certain situations this data may change. For example, when a symbol becomes conflicted with another symbol
|
|
683
|
+
"docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers\n * for symbols.\n *\n * @remarks\n *\n *\n *\n * Symbol information is reactive because in certain situations this data may\n * change. For example, when a symbol becomes conflicted with another symbol,\n * one of the symbol names may change. Ensure that you interact with binder\n * values in a reactive context (i.e. within JSX/code template, or within\n * memo/computed/etc).\n *\n */\n",
|
|
657
684
|
"excerptTokens": [
|
|
658
685
|
{
|
|
659
686
|
"kind": "Content",
|
|
@@ -760,7 +787,7 @@
|
|
|
760
787
|
{
|
|
761
788
|
"kind": "MethodSignature",
|
|
762
789
|
"canonicalReference": "@alloy-js/core!Binder#createScope:member(1)",
|
|
763
|
-
"docComment": "/**\n * Create a new scope. The scope will be added to the parent scope's children
|
|
790
|
+
"docComment": "/**\n * Create a new scope. The scope will be added to the parent scope's children.\n * The returned scope object is reactive.\n */\n",
|
|
764
791
|
"excerptTokens": [
|
|
765
792
|
{
|
|
766
793
|
"kind": "Content",
|
|
@@ -832,7 +859,7 @@
|
|
|
832
859
|
{
|
|
833
860
|
"kind": "MethodSignature",
|
|
834
861
|
"canonicalReference": "@alloy-js/core!Binder#createSymbol:member(1)",
|
|
835
|
-
"docComment": "/**\n * Create a new symbol. The symbol will be added to the parent scope's symbols
|
|
862
|
+
"docComment": "/**\n * Create a new symbol. The symbol will be added to the parent scope's symbols.\n * The returned symbol object is reactive.\n */\n",
|
|
836
863
|
"excerptTokens": [
|
|
837
864
|
{
|
|
838
865
|
"kind": "Content",
|
|
@@ -904,7 +931,7 @@
|
|
|
904
931
|
{
|
|
905
932
|
"kind": "MethodSignature",
|
|
906
933
|
"canonicalReference": "@alloy-js/core!Binder#deleteSymbol:member(1)",
|
|
907
|
-
"docComment": "/**\n * Delete the given symbol. The symbol will be removed from its parent's scope. Any resolutions to this symbol will become undefined.\n */\n",
|
|
934
|
+
"docComment": "/**\n * Delete the given symbol. The symbol will be removed from its parent's\n * scope. Any resolutions to this symbol will become undefined.\n */\n",
|
|
908
935
|
"excerptTokens": [
|
|
909
936
|
{
|
|
910
937
|
"kind": "Content",
|
|
@@ -1047,7 +1074,7 @@
|
|
|
1047
1074
|
{
|
|
1048
1075
|
"kind": "MethodSignature",
|
|
1049
1076
|
"canonicalReference": "@alloy-js/core!Binder#findSymbolName:member(1)",
|
|
1050
|
-
"docComment": "/**\n * Find a symbol with a given name in the given scope. Returns a ref for the symbol, such that when the symbol is available, the ref value will update.\n */\n",
|
|
1077
|
+
"docComment": "/**\n * Find a symbol with a given name in the given scope. Returns a ref\n * for the symbol, such that when the symbol is available, the ref value\n * will update.\n */\n",
|
|
1051
1078
|
"excerptTokens": [
|
|
1052
1079
|
{
|
|
1053
1080
|
"kind": "Content",
|
|
@@ -1201,7 +1228,7 @@
|
|
|
1201
1228
|
{
|
|
1202
1229
|
"kind": "MethodSignature",
|
|
1203
1230
|
"canonicalReference": "@alloy-js/core!Binder#instantiateSymbolInto:member(1)",
|
|
1204
|
-
"docComment": "/**\n * Instantiate the static members of a symbol into the instance members of another symbol.\n *\n * @param sourceSym - The symbol to add instance members to.\n *\n * @param targetSym - The symbol with the static members to instantiate.\n */\n",
|
|
1231
|
+
"docComment": "/**\n * Instantiate the static members of a symbol into the instance members of\n * another symbol.\n *\n * @param sourceSym - The symbol to add instance members to.\n *\n * @param targetSym - The symbol with the static members to instantiate.\n */\n",
|
|
1205
1232
|
"excerptTokens": [
|
|
1206
1233
|
{
|
|
1207
1234
|
"kind": "Content",
|
|
@@ -1264,7 +1291,7 @@
|
|
|
1264
1291
|
{
|
|
1265
1292
|
"kind": "MethodSignature",
|
|
1266
1293
|
"canonicalReference": "@alloy-js/core!Binder#resolveDeclarationByKey:member(1)",
|
|
1267
|
-
"docComment": "/**\n * Resolve the given refkey in the current scope.\n *\n * @returns
|
|
1294
|
+
"docComment": "/**\n * Resolve the given refkey in the current scope.\n *\n * @returns a ref for the resolution result.\n *\n * @see\n *\n * {@link resolve} a convenience function that uses the current scope and\n * binder.\n */\n",
|
|
1268
1295
|
"excerptTokens": [
|
|
1269
1296
|
{
|
|
1270
1297
|
"kind": "Content",
|
|
@@ -1416,7 +1443,7 @@
|
|
|
1416
1443
|
{
|
|
1417
1444
|
"kind": "MethodSignature",
|
|
1418
1445
|
"canonicalReference": "@alloy-js/core!Binder#resolveFQN:member(1)",
|
|
1419
|
-
"docComment": "/**\n * Resolve a fully qualified name to a symbol. Access a nested scope by name with `::`, a nested static member with `.` and a nested instance member with `#`.\n *\n * Per-language packages may provide their own resolveFQN function that uses syntax more natural to that
|
|
1446
|
+
"docComment": "/**\n * Resolve a fully qualified name to a symbol. Access a nested scope by name\n * with `::`, a nested static member with `.` and a nested instance member\n * with `#`.\n *\n * Per-language packages may provide their own resolveFQN function that uses\n * syntax more natural to that language.\n */\n",
|
|
1420
1447
|
"excerptTokens": [
|
|
1421
1448
|
{
|
|
1422
1449
|
"kind": "Content",
|
|
@@ -1529,7 +1556,7 @@
|
|
|
1529
1556
|
{
|
|
1530
1557
|
"kind": "Variable",
|
|
1531
1558
|
"canonicalReference": "@alloy-js/core!BinderContext:var",
|
|
1532
|
-
"docComment": "/**\n * The binder context provides the binder instance to all components. This context is provided by the {@link Output | output component}.\n */\n",
|
|
1559
|
+
"docComment": "/**\n * The binder context provides the binder instance to all components. This\n * context is provided by the {@link Output | output component}.\n */\n",
|
|
1533
1560
|
"excerptTokens": [
|
|
1534
1561
|
{
|
|
1535
1562
|
"kind": "Content",
|
|
@@ -1612,7 +1639,7 @@
|
|
|
1612
1639
|
{
|
|
1613
1640
|
"kind": "Function",
|
|
1614
1641
|
"canonicalReference": "@alloy-js/core!Block:function(1)",
|
|
1615
|
-
"docComment": "/**\n * Create an indented block of source text. The block has `opener` text which is added prior to the block, which defaults to
|
|
1642
|
+
"docComment": "/**\n * Create an indented block of source text. The block has `opener` text which is\n * added prior to the block, which defaults to `\"{\"`, and `closer` text which is\n * added after the block, which defaults to `\"}\"`.\n */\n",
|
|
1616
1643
|
"excerptTokens": [
|
|
1617
1644
|
{
|
|
1618
1645
|
"kind": "Content",
|
|
@@ -1729,7 +1756,7 @@
|
|
|
1729
1756
|
{
|
|
1730
1757
|
"kind": "PropertySignature",
|
|
1731
1758
|
"canonicalReference": "@alloy-js/core!BlockProps#newline:member",
|
|
1732
|
-
"docComment": "/**\n * Whether the block starts on a new line. When true, a hardline is added prior to the block.\n */\n",
|
|
1759
|
+
"docComment": "/**\n * Whether the block starts on a new line. When true, a hardline is added\n * prior to the block.\n */\n",
|
|
1733
1760
|
"excerptTokens": [
|
|
1734
1761
|
{
|
|
1735
1762
|
"kind": "Content",
|
|
@@ -1783,32 +1810,6 @@
|
|
|
1783
1810
|
],
|
|
1784
1811
|
"extendsTokenRanges": []
|
|
1785
1812
|
},
|
|
1786
|
-
{
|
|
1787
|
-
"kind": "TypeAlias",
|
|
1788
|
-
"canonicalReference": "@alloy-js/core!BreakKind:type",
|
|
1789
|
-
"docComment": "",
|
|
1790
|
-
"excerptTokens": [
|
|
1791
|
-
{
|
|
1792
|
-
"kind": "Content",
|
|
1793
|
-
"text": "export type BreakKind = "
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "Content",
|
|
1797
|
-
"text": "\"none\" | \"space\" | \"soft\" | \"hard\" | \"literal\""
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "Content",
|
|
1801
|
-
"text": ";"
|
|
1802
|
-
}
|
|
1803
|
-
],
|
|
1804
|
-
"fileUrlPath": "src/components/List.tsx",
|
|
1805
|
-
"releaseTag": "Public",
|
|
1806
|
-
"name": "BreakKind",
|
|
1807
|
-
"typeTokenRange": {
|
|
1808
|
-
"startIndex": 1,
|
|
1809
|
-
"endIndex": 2
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
1813
|
{
|
|
1813
1814
|
"kind": "TypeAlias",
|
|
1814
1815
|
"canonicalReference": "@alloy-js/core!BreakParentIntrinsicElement:type",
|
|
@@ -1941,7 +1942,7 @@
|
|
|
1941
1942
|
{
|
|
1942
1943
|
"kind": "Function",
|
|
1943
1944
|
"canonicalReference": "@alloy-js/core!children:function(1)",
|
|
1944
|
-
"docComment": "/**\n * Returns a memo which is a list of all the provided children
|
|
1945
|
+
"docComment": "/**\n * Returns a memo which is a list of all the provided children.\n * If you want this as an array, see {@link childrenArray}.\n */\n",
|
|
1945
1946
|
"excerptTokens": [
|
|
1946
1947
|
{
|
|
1947
1948
|
"kind": "Content",
|
|
@@ -1983,7 +1984,7 @@
|
|
|
1983
1984
|
"text": ";"
|
|
1984
1985
|
}
|
|
1985
1986
|
],
|
|
1986
|
-
"fileUrlPath": "src/utils.
|
|
1987
|
+
"fileUrlPath": "src/utils.tsx",
|
|
1987
1988
|
"returnTypeTokenRange": {
|
|
1988
1989
|
"startIndex": 6,
|
|
1989
1990
|
"endIndex": 8
|
|
@@ -2095,7 +2096,7 @@
|
|
|
2095
2096
|
"text": ";"
|
|
2096
2097
|
}
|
|
2097
2098
|
],
|
|
2098
|
-
"fileUrlPath": "src/utils.
|
|
2099
|
+
"fileUrlPath": "src/utils.tsx",
|
|
2099
2100
|
"returnTypeTokenRange": {
|
|
2100
2101
|
"startIndex": 6,
|
|
2101
2102
|
"endIndex": 8
|
|
@@ -2132,7 +2133,7 @@
|
|
|
2132
2133
|
"text": "export interface ChildrenOptions "
|
|
2133
2134
|
}
|
|
2134
2135
|
],
|
|
2135
|
-
"fileUrlPath": "src/utils.
|
|
2136
|
+
"fileUrlPath": "src/utils.tsx",
|
|
2136
2137
|
"releaseTag": "Public",
|
|
2137
2138
|
"name": "ChildrenOptions",
|
|
2138
2139
|
"preserveMemberOrder": false,
|
|
@@ -2170,7 +2171,7 @@
|
|
|
2170
2171
|
{
|
|
2171
2172
|
"kind": "Function",
|
|
2172
2173
|
"canonicalReference": "@alloy-js/core!code:function(1)",
|
|
2173
|
-
"docComment": "",
|
|
2174
|
+
"docComment": "/**\n * Turn the provided string template into Children by replacing literal line\n * breaks with hardlines and automatically indenting indented content. Similar\n * in spirit to the `<code>` element in HTML.\n *\n * @see\n *\n * {@link text} for a similar function which treats whitespace similar to\n * JSX template bodies.\n */\n",
|
|
2174
2175
|
"excerptTokens": [
|
|
2175
2176
|
{
|
|
2176
2177
|
"kind": "Content",
|
|
@@ -2200,12 +2201,8 @@
|
|
|
2200
2201
|
},
|
|
2201
2202
|
{
|
|
2202
2203
|
"kind": "Reference",
|
|
2203
|
-
"text": "
|
|
2204
|
-
"canonicalReference": "@alloy-js/core!
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"kind": "Content",
|
|
2208
|
-
"text": "[]"
|
|
2204
|
+
"text": "Children",
|
|
2205
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2209
2206
|
},
|
|
2210
2207
|
{
|
|
2211
2208
|
"kind": "Content",
|
|
@@ -2215,7 +2212,7 @@
|
|
|
2215
2212
|
"fileUrlPath": "src/code.ts",
|
|
2216
2213
|
"returnTypeTokenRange": {
|
|
2217
2214
|
"startIndex": 6,
|
|
2218
|
-
"endIndex":
|
|
2215
|
+
"endIndex": 7
|
|
2219
2216
|
},
|
|
2220
2217
|
"releaseTag": "Public",
|
|
2221
2218
|
"overloadIndex": 1,
|
|
@@ -2499,6 +2496,47 @@
|
|
|
2499
2496
|
"startIndex": 1,
|
|
2500
2497
|
"endIndex": 5
|
|
2501
2498
|
}
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"kind": "PropertySignature",
|
|
2502
|
+
"canonicalReference": "@alloy-js/core!ComponentContext#ProviderStc:member",
|
|
2503
|
+
"docComment": "",
|
|
2504
|
+
"excerptTokens": [
|
|
2505
|
+
{
|
|
2506
|
+
"kind": "Content",
|
|
2507
|
+
"text": "ProviderStc: "
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"kind": "Reference",
|
|
2511
|
+
"text": "StcSignature",
|
|
2512
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "Content",
|
|
2516
|
+
"text": "<"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "Reference",
|
|
2520
|
+
"text": "ContextProviderProps",
|
|
2521
|
+
"canonicalReference": "@alloy-js/core!ContextProviderProps:interface"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"kind": "Content",
|
|
2525
|
+
"text": "<T>>"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"kind": "Content",
|
|
2529
|
+
"text": ";"
|
|
2530
|
+
}
|
|
2531
|
+
],
|
|
2532
|
+
"isReadonly": false,
|
|
2533
|
+
"isOptional": false,
|
|
2534
|
+
"releaseTag": "Public",
|
|
2535
|
+
"name": "ProviderStc",
|
|
2536
|
+
"propertyTypeTokenRange": {
|
|
2537
|
+
"startIndex": 1,
|
|
2538
|
+
"endIndex": 5
|
|
2539
|
+
}
|
|
2502
2540
|
}
|
|
2503
2541
|
],
|
|
2504
2542
|
"extendsTokenRanges": []
|
|
@@ -2759,7 +2797,7 @@
|
|
|
2759
2797
|
{
|
|
2760
2798
|
"kind": "PropertySignature",
|
|
2761
2799
|
"canonicalReference": "@alloy-js/core!Context#componentOwner:member",
|
|
2762
|
-
"docComment": "/**\n * When this context was created by a component, this will be the component that created it.\n */\n",
|
|
2800
|
+
"docComment": "/**\n * When this context was created by a component, this will\n * be the component that created it.\n */\n",
|
|
2763
2801
|
"excerptTokens": [
|
|
2764
2802
|
{
|
|
2765
2803
|
"kind": "Content",
|
|
@@ -2855,7 +2893,7 @@
|
|
|
2855
2893
|
{
|
|
2856
2894
|
"kind": "PropertySignature",
|
|
2857
2895
|
"canonicalReference": "@alloy-js/core!Context#elementCache:member",
|
|
2858
|
-
"docComment": "/**\n * A cache of RenderTextTree nodes created within this context
|
|
2896
|
+
"docComment": "/**\n * A cache of RenderTextTree nodes created within this context,\n * indexed by the component or function which created them.\n */\n",
|
|
2859
2897
|
"excerptTokens": [
|
|
2860
2898
|
{
|
|
2861
2899
|
"kind": "Content",
|
|
@@ -3081,7 +3119,7 @@
|
|
|
3081
3119
|
{
|
|
3082
3120
|
"kind": "Function",
|
|
3083
3121
|
"canonicalReference": "@alloy-js/core!createAssignmentContext:function(1)",
|
|
3084
|
-
"docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns
|
|
3122
|
+
"docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns A new {@link (AssignmentContext:interface)}.\n */\n",
|
|
3085
3123
|
"excerptTokens": [
|
|
3086
3124
|
{
|
|
3087
3125
|
"kind": "Content",
|
|
@@ -3372,7 +3410,7 @@
|
|
|
3372
3410
|
{
|
|
3373
3411
|
"kind": "Function",
|
|
3374
3412
|
"canonicalReference": "@alloy-js/core!createDeclarationTap:function(1)",
|
|
3375
|
-
"docComment": "",
|
|
3413
|
+
"docComment": "/**\n * Create a tap for {@link DeclarationContext}.\n */\n",
|
|
3376
3414
|
"excerptTokens": [
|
|
3377
3415
|
{
|
|
3378
3416
|
"kind": "Content",
|
|
@@ -3398,8 +3436,8 @@
|
|
|
3398
3436
|
},
|
|
3399
3437
|
{
|
|
3400
3438
|
"kind": "Reference",
|
|
3401
|
-
"text": "
|
|
3402
|
-
"canonicalReference": "@alloy-js/core!
|
|
3439
|
+
"text": "TapHandler",
|
|
3440
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
3403
3441
|
},
|
|
3404
3442
|
{
|
|
3405
3443
|
"kind": "Content",
|
|
@@ -3555,7 +3593,7 @@
|
|
|
3555
3593
|
{
|
|
3556
3594
|
"kind": "Function",
|
|
3557
3595
|
"canonicalReference": "@alloy-js/core!createMemberTap:function(1)",
|
|
3558
|
-
"docComment": "",
|
|
3596
|
+
"docComment": "/**\n * Create a tap for {@link MemberDeclarationContext}.\n */\n",
|
|
3559
3597
|
"excerptTokens": [
|
|
3560
3598
|
{
|
|
3561
3599
|
"kind": "Content",
|
|
@@ -3581,8 +3619,8 @@
|
|
|
3581
3619
|
},
|
|
3582
3620
|
{
|
|
3583
3621
|
"kind": "Reference",
|
|
3584
|
-
"text": "
|
|
3585
|
-
"canonicalReference": "@alloy-js/core!
|
|
3622
|
+
"text": "TapHandler",
|
|
3623
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
3586
3624
|
},
|
|
3587
3625
|
{
|
|
3588
3626
|
"kind": "Content",
|
|
@@ -3977,7 +4015,16 @@
|
|
|
3977
4015
|
},
|
|
3978
4016
|
{
|
|
3979
4017
|
"kind": "Content",
|
|
3980
|
-
"text": ";\n
|
|
4018
|
+
"text": ";\n metadata?: "
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"kind": "Reference",
|
|
4022
|
+
"text": "Record",
|
|
4023
|
+
"canonicalReference": "!Record:type"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"kind": "Content",
|
|
4027
|
+
"text": "<string, unknown>;\n} & "
|
|
3981
4028
|
},
|
|
3982
4029
|
{
|
|
3983
4030
|
"kind": "Reference",
|
|
@@ -4020,13 +4067,13 @@
|
|
|
4020
4067
|
],
|
|
4021
4068
|
"typeTokenRange": {
|
|
4022
4069
|
"startIndex": 5,
|
|
4023
|
-
"endIndex":
|
|
4070
|
+
"endIndex": 18
|
|
4024
4071
|
}
|
|
4025
4072
|
},
|
|
4026
4073
|
{
|
|
4027
4074
|
"kind": "Function",
|
|
4028
4075
|
"canonicalReference": "@alloy-js/core!createScopeTap:function(1)",
|
|
4029
|
-
"docComment": "",
|
|
4076
|
+
"docComment": "/**\n * Create a tap for {@link OutputScope}.\n */\n",
|
|
4030
4077
|
"excerptTokens": [
|
|
4031
4078
|
{
|
|
4032
4079
|
"kind": "Content",
|
|
@@ -4052,8 +4099,8 @@
|
|
|
4052
4099
|
},
|
|
4053
4100
|
{
|
|
4054
4101
|
"kind": "Reference",
|
|
4055
|
-
"text": "
|
|
4056
|
-
"canonicalReference": "@alloy-js/core!
|
|
4102
|
+
"text": "TapHandler",
|
|
4103
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4057
4104
|
},
|
|
4058
4105
|
{
|
|
4059
4106
|
"kind": "Content",
|
|
@@ -4112,7 +4159,7 @@
|
|
|
4112
4159
|
{
|
|
4113
4160
|
"kind": "Function",
|
|
4114
4161
|
"canonicalReference": "@alloy-js/core!createSourceFileTap:function(1)",
|
|
4115
|
-
"docComment": "",
|
|
4162
|
+
"docComment": "/**\n * Create a tap for {@link (SourceFileContext:interface)}.\n */\n",
|
|
4116
4163
|
"excerptTokens": [
|
|
4117
4164
|
{
|
|
4118
4165
|
"kind": "Content",
|
|
@@ -4120,8 +4167,8 @@
|
|
|
4120
4167
|
},
|
|
4121
4168
|
{
|
|
4122
4169
|
"kind": "Reference",
|
|
4123
|
-
"text": "
|
|
4124
|
-
"canonicalReference": "@alloy-js/core!
|
|
4170
|
+
"text": "TapHandler",
|
|
4171
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4125
4172
|
},
|
|
4126
4173
|
{
|
|
4127
4174
|
"kind": "Content",
|
|
@@ -4229,7 +4276,16 @@
|
|
|
4229
4276
|
},
|
|
4230
4277
|
{
|
|
4231
4278
|
"kind": "Content",
|
|
4232
|
-
"text": "
|
|
4279
|
+
"text": " | "
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"kind": "Reference",
|
|
4283
|
+
"text": "Refkey",
|
|
4284
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"kind": "Content",
|
|
4288
|
+
"text": "[];\n flags?: "
|
|
4233
4289
|
},
|
|
4234
4290
|
{
|
|
4235
4291
|
"kind": "Reference",
|
|
@@ -4238,7 +4294,16 @@
|
|
|
4238
4294
|
},
|
|
4239
4295
|
{
|
|
4240
4296
|
"kind": "Content",
|
|
4241
|
-
"text": ";\n
|
|
4297
|
+
"text": ";\n metadata?: "
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"kind": "Reference",
|
|
4301
|
+
"text": "Record",
|
|
4302
|
+
"canonicalReference": "!Record:type"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"kind": "Content",
|
|
4306
|
+
"text": "<string, unknown>;\n} & "
|
|
4242
4307
|
},
|
|
4243
4308
|
{
|
|
4244
4309
|
"kind": "Reference",
|
|
@@ -4281,13 +4346,13 @@
|
|
|
4281
4346
|
],
|
|
4282
4347
|
"typeTokenRange": {
|
|
4283
4348
|
"startIndex": 5,
|
|
4284
|
-
"endIndex":
|
|
4349
|
+
"endIndex": 20
|
|
4285
4350
|
}
|
|
4286
4351
|
},
|
|
4287
4352
|
{
|
|
4288
4353
|
"kind": "Function",
|
|
4289
4354
|
"canonicalReference": "@alloy-js/core!createTap:function(1)",
|
|
4290
|
-
"docComment": "",
|
|
4355
|
+
"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",
|
|
4291
4356
|
"excerptTokens": [
|
|
4292
4357
|
{
|
|
4293
4358
|
"kind": "Content",
|
|
@@ -4316,8 +4381,8 @@
|
|
|
4316
4381
|
},
|
|
4317
4382
|
{
|
|
4318
4383
|
"kind": "Reference",
|
|
4319
|
-
"text": "
|
|
4320
|
-
"canonicalReference": "@alloy-js/core!
|
|
4384
|
+
"text": "TapHandler",
|
|
4385
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4321
4386
|
},
|
|
4322
4387
|
{
|
|
4323
4388
|
"kind": "Content",
|
|
@@ -4384,7 +4449,7 @@
|
|
|
4384
4449
|
{
|
|
4385
4450
|
"kind": "Interface",
|
|
4386
4451
|
"canonicalReference": "@alloy-js/core!CustomContext:interface",
|
|
4387
|
-
"docComment": "/**\n * Create a custom reactive context for the children returned by the provided context.\n */\n",
|
|
4452
|
+
"docComment": "/**\n * Create a custom reactive context for the children returned by\n * the provided context.\n */\n",
|
|
4388
4453
|
"excerptTokens": [
|
|
4389
4454
|
{
|
|
4390
4455
|
"kind": "Content",
|
|
@@ -4509,7 +4574,7 @@
|
|
|
4509
4574
|
{
|
|
4510
4575
|
"kind": "Function",
|
|
4511
4576
|
"canonicalReference": "@alloy-js/core!Declaration:function(1)",
|
|
4512
|
-
"docComment": "/**\n * Declares a symbol in the current scope for this component's children.\n *\n * @remarks\n *\n * This component must be called in one of two ways: with a name and an optional refkey, or else passing in the symbol. When called with a name and refkey, a symbol will be created in the current scope (provided by {@link ScopeContext}) with that name and refkey
|
|
4577
|
+
"docComment": "/**\n * Declares a symbol in the current scope for this component's children.\n *\n * @remarks\n *\n *\n *\n * This component must be called in one of two ways: with a name and an optional\n * refkey, or else passing in the symbol. When called with a name and refkey, a\n * symbol will be created in the current scope (provided by\n * {@link ScopeContext}) with that name and refkey.\n *\n * When called with a symbol, that symbol is merely exposed via\n * {@link DeclarationContext}. It is assumed that the caller of this component\n * has created the symbol with the `createSymbol` API on the\n * {@link BinderContext}.\n *\n * @see\n *\n * {@link BinderContext}\n */\n",
|
|
4513
4578
|
"excerptTokens": [
|
|
4514
4579
|
{
|
|
4515
4580
|
"kind": "Content",
|
|
@@ -4518,7 +4583,7 @@
|
|
|
4518
4583
|
{
|
|
4519
4584
|
"kind": "Reference",
|
|
4520
4585
|
"text": "DeclarationProps",
|
|
4521
|
-
"canonicalReference": "@alloy-js/core!DeclarationProps:
|
|
4586
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type"
|
|
4522
4587
|
},
|
|
4523
4588
|
{
|
|
4524
4589
|
"kind": "Content",
|
|
@@ -4591,23 +4656,59 @@
|
|
|
4591
4656
|
}
|
|
4592
4657
|
},
|
|
4593
4658
|
{
|
|
4594
|
-
"kind": "
|
|
4595
|
-
"canonicalReference": "@alloy-js/core!DeclarationProps:
|
|
4659
|
+
"kind": "TypeAlias",
|
|
4660
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type",
|
|
4596
4661
|
"docComment": "",
|
|
4597
4662
|
"excerptTokens": [
|
|
4598
4663
|
{
|
|
4599
4664
|
"kind": "Content",
|
|
4600
|
-
"text": "export
|
|
4665
|
+
"text": "export type DeclarationProps = "
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
"kind": "Reference",
|
|
4669
|
+
"text": "DeclarationPropsWithSymbol",
|
|
4670
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol:interface"
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"kind": "Content",
|
|
4674
|
+
"text": " | "
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"kind": "Reference",
|
|
4678
|
+
"text": "DeclarationPropsWithInfo",
|
|
4679
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo:interface"
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
"kind": "Content",
|
|
4683
|
+
"text": ";"
|
|
4601
4684
|
}
|
|
4602
4685
|
],
|
|
4603
4686
|
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4604
4687
|
"releaseTag": "Public",
|
|
4605
4688
|
"name": "DeclarationProps",
|
|
4689
|
+
"typeTokenRange": {
|
|
4690
|
+
"startIndex": 1,
|
|
4691
|
+
"endIndex": 4
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"kind": "Interface",
|
|
4696
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo:interface",
|
|
4697
|
+
"docComment": "/**\n * Create a declaration by providing a symbol name and optional symbol metadata.\n */\n",
|
|
4698
|
+
"excerptTokens": [
|
|
4699
|
+
{
|
|
4700
|
+
"kind": "Content",
|
|
4701
|
+
"text": "export interface DeclarationPropsWithInfo "
|
|
4702
|
+
}
|
|
4703
|
+
],
|
|
4704
|
+
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4705
|
+
"releaseTag": "Public",
|
|
4706
|
+
"name": "DeclarationPropsWithInfo",
|
|
4606
4707
|
"preserveMemberOrder": false,
|
|
4607
4708
|
"members": [
|
|
4608
4709
|
{
|
|
4609
4710
|
"kind": "PropertySignature",
|
|
4610
|
-
"canonicalReference": "@alloy-js/core!
|
|
4711
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#children:member",
|
|
4611
4712
|
"docComment": "",
|
|
4612
4713
|
"excerptTokens": [
|
|
4613
4714
|
{
|
|
@@ -4635,16 +4736,21 @@
|
|
|
4635
4736
|
},
|
|
4636
4737
|
{
|
|
4637
4738
|
"kind": "PropertySignature",
|
|
4638
|
-
"canonicalReference": "@alloy-js/core!
|
|
4639
|
-
"docComment": "",
|
|
4739
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#metadata:member",
|
|
4740
|
+
"docComment": "/**\n * Additional metadata for the declared symbol.\n */\n",
|
|
4640
4741
|
"excerptTokens": [
|
|
4641
4742
|
{
|
|
4642
4743
|
"kind": "Content",
|
|
4643
|
-
"text": "
|
|
4744
|
+
"text": "metadata?: "
|
|
4745
|
+
},
|
|
4746
|
+
{
|
|
4747
|
+
"kind": "Reference",
|
|
4748
|
+
"text": "Record",
|
|
4749
|
+
"canonicalReference": "!Record:type"
|
|
4644
4750
|
},
|
|
4645
4751
|
{
|
|
4646
4752
|
"kind": "Content",
|
|
4647
|
-
"text": "string"
|
|
4753
|
+
"text": "<string, unknown>"
|
|
4648
4754
|
},
|
|
4649
4755
|
{
|
|
4650
4756
|
"kind": "Content",
|
|
@@ -4654,6 +4760,33 @@
|
|
|
4654
4760
|
"isReadonly": false,
|
|
4655
4761
|
"isOptional": true,
|
|
4656
4762
|
"releaseTag": "Public",
|
|
4763
|
+
"name": "metadata",
|
|
4764
|
+
"propertyTypeTokenRange": {
|
|
4765
|
+
"startIndex": 1,
|
|
4766
|
+
"endIndex": 3
|
|
4767
|
+
}
|
|
4768
|
+
},
|
|
4769
|
+
{
|
|
4770
|
+
"kind": "PropertySignature",
|
|
4771
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#name:member",
|
|
4772
|
+
"docComment": "/**\n * The name of this declaration.\n */\n",
|
|
4773
|
+
"excerptTokens": [
|
|
4774
|
+
{
|
|
4775
|
+
"kind": "Content",
|
|
4776
|
+
"text": "name: "
|
|
4777
|
+
},
|
|
4778
|
+
{
|
|
4779
|
+
"kind": "Content",
|
|
4780
|
+
"text": "string"
|
|
4781
|
+
},
|
|
4782
|
+
{
|
|
4783
|
+
"kind": "Content",
|
|
4784
|
+
"text": ";"
|
|
4785
|
+
}
|
|
4786
|
+
],
|
|
4787
|
+
"isReadonly": false,
|
|
4788
|
+
"isOptional": false,
|
|
4789
|
+
"releaseTag": "Public",
|
|
4657
4790
|
"name": "name",
|
|
4658
4791
|
"propertyTypeTokenRange": {
|
|
4659
4792
|
"startIndex": 1,
|
|
@@ -4662,8 +4795,8 @@
|
|
|
4662
4795
|
},
|
|
4663
4796
|
{
|
|
4664
4797
|
"kind": "PropertySignature",
|
|
4665
|
-
"canonicalReference": "@alloy-js/core!
|
|
4666
|
-
"docComment": "",
|
|
4798
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#refkey:member",
|
|
4799
|
+
"docComment": "/**\n * The unique key or array of unique keys for this declaration.\n */\n",
|
|
4667
4800
|
"excerptTokens": [
|
|
4668
4801
|
{
|
|
4669
4802
|
"kind": "Content",
|
|
@@ -4674,6 +4807,19 @@
|
|
|
4674
4807
|
"text": "Refkey",
|
|
4675
4808
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
4676
4809
|
},
|
|
4810
|
+
{
|
|
4811
|
+
"kind": "Content",
|
|
4812
|
+
"text": " | "
|
|
4813
|
+
},
|
|
4814
|
+
{
|
|
4815
|
+
"kind": "Reference",
|
|
4816
|
+
"text": "Refkey",
|
|
4817
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
4818
|
+
},
|
|
4819
|
+
{
|
|
4820
|
+
"kind": "Content",
|
|
4821
|
+
"text": "[]"
|
|
4822
|
+
},
|
|
4677
4823
|
{
|
|
4678
4824
|
"kind": "Content",
|
|
4679
4825
|
"text": ";"
|
|
@@ -4683,6 +4829,52 @@
|
|
|
4683
4829
|
"isOptional": true,
|
|
4684
4830
|
"releaseTag": "Public",
|
|
4685
4831
|
"name": "refkey",
|
|
4832
|
+
"propertyTypeTokenRange": {
|
|
4833
|
+
"startIndex": 1,
|
|
4834
|
+
"endIndex": 5
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
],
|
|
4838
|
+
"extendsTokenRanges": []
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
"kind": "Interface",
|
|
4842
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol:interface",
|
|
4843
|
+
"docComment": "/**\n * Create a declaration by providing an already created symbol. The symbol is\n * merely exposed via {@link DeclarationContext}.\n */\n",
|
|
4844
|
+
"excerptTokens": [
|
|
4845
|
+
{
|
|
4846
|
+
"kind": "Content",
|
|
4847
|
+
"text": "export interface DeclarationPropsWithSymbol "
|
|
4848
|
+
}
|
|
4849
|
+
],
|
|
4850
|
+
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4851
|
+
"releaseTag": "Public",
|
|
4852
|
+
"name": "DeclarationPropsWithSymbol",
|
|
4853
|
+
"preserveMemberOrder": false,
|
|
4854
|
+
"members": [
|
|
4855
|
+
{
|
|
4856
|
+
"kind": "PropertySignature",
|
|
4857
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol#children:member",
|
|
4858
|
+
"docComment": "",
|
|
4859
|
+
"excerptTokens": [
|
|
4860
|
+
{
|
|
4861
|
+
"kind": "Content",
|
|
4862
|
+
"text": "children?: "
|
|
4863
|
+
},
|
|
4864
|
+
{
|
|
4865
|
+
"kind": "Reference",
|
|
4866
|
+
"text": "Children",
|
|
4867
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4868
|
+
},
|
|
4869
|
+
{
|
|
4870
|
+
"kind": "Content",
|
|
4871
|
+
"text": ";"
|
|
4872
|
+
}
|
|
4873
|
+
],
|
|
4874
|
+
"isReadonly": false,
|
|
4875
|
+
"isOptional": true,
|
|
4876
|
+
"releaseTag": "Public",
|
|
4877
|
+
"name": "children",
|
|
4686
4878
|
"propertyTypeTokenRange": {
|
|
4687
4879
|
"startIndex": 1,
|
|
4688
4880
|
"endIndex": 2
|
|
@@ -4690,12 +4882,12 @@
|
|
|
4690
4882
|
},
|
|
4691
4883
|
{
|
|
4692
4884
|
"kind": "PropertySignature",
|
|
4693
|
-
"canonicalReference": "@alloy-js/core!
|
|
4694
|
-
"docComment": "",
|
|
4885
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol#symbol:member",
|
|
4886
|
+
"docComment": "/**\n * The symbol being declared. When provided, the name, refkey, and metadata\n * props are ignored.\n */\n",
|
|
4695
4887
|
"excerptTokens": [
|
|
4696
4888
|
{
|
|
4697
4889
|
"kind": "Content",
|
|
4698
|
-
"text": "symbol
|
|
4890
|
+
"text": "symbol: "
|
|
4699
4891
|
},
|
|
4700
4892
|
{
|
|
4701
4893
|
"kind": "Reference",
|
|
@@ -4708,7 +4900,7 @@
|
|
|
4708
4900
|
}
|
|
4709
4901
|
],
|
|
4710
4902
|
"isReadonly": false,
|
|
4711
|
-
"isOptional":
|
|
4903
|
+
"isOptional": false,
|
|
4712
4904
|
"releaseTag": "Public",
|
|
4713
4905
|
"name": "symbol",
|
|
4714
4906
|
"propertyTypeTokenRange": {
|
|
@@ -4782,13 +4974,100 @@
|
|
|
4782
4974
|
}
|
|
4783
4975
|
},
|
|
4784
4976
|
{
|
|
4785
|
-
"kind": "
|
|
4786
|
-
"canonicalReference": "@alloy-js/core!
|
|
4787
|
-
"docComment": "",
|
|
4977
|
+
"kind": "Function",
|
|
4978
|
+
"canonicalReference": "@alloy-js/core!defaultProps:function(1)",
|
|
4979
|
+
"docComment": "/**\n * Applies default values to a props object. Reactive props are handled properly\n * by ensuring that their value is not accessed by `defaultProps`, avoiding any\n * unintended side effects.\n */\n",
|
|
4788
4980
|
"excerptTokens": [
|
|
4789
4981
|
{
|
|
4790
4982
|
"kind": "Content",
|
|
4791
|
-
"text": "export
|
|
4983
|
+
"text": "export declare function defaultProps<T extends "
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"kind": "Content",
|
|
4987
|
+
"text": "{}"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "Content",
|
|
4991
|
+
"text": ">(props: "
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
"kind": "Content",
|
|
4995
|
+
"text": "T"
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"kind": "Content",
|
|
4999
|
+
"text": ", defaults: "
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"kind": "Reference",
|
|
5003
|
+
"text": "Partial",
|
|
5004
|
+
"canonicalReference": "!Partial:type"
|
|
5005
|
+
},
|
|
5006
|
+
{
|
|
5007
|
+
"kind": "Content",
|
|
5008
|
+
"text": "<T>"
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
"kind": "Content",
|
|
5012
|
+
"text": "): "
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
"kind": "Content",
|
|
5016
|
+
"text": "T"
|
|
5017
|
+
},
|
|
5018
|
+
{
|
|
5019
|
+
"kind": "Content",
|
|
5020
|
+
"text": ";"
|
|
5021
|
+
}
|
|
5022
|
+
],
|
|
5023
|
+
"fileUrlPath": "src/jsx-runtime.ts",
|
|
5024
|
+
"returnTypeTokenRange": {
|
|
5025
|
+
"startIndex": 8,
|
|
5026
|
+
"endIndex": 9
|
|
5027
|
+
},
|
|
5028
|
+
"releaseTag": "Public",
|
|
5029
|
+
"overloadIndex": 1,
|
|
5030
|
+
"parameters": [
|
|
5031
|
+
{
|
|
5032
|
+
"parameterName": "props",
|
|
5033
|
+
"parameterTypeTokenRange": {
|
|
5034
|
+
"startIndex": 3,
|
|
5035
|
+
"endIndex": 4
|
|
5036
|
+
},
|
|
5037
|
+
"isOptional": false
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"parameterName": "defaults",
|
|
5041
|
+
"parameterTypeTokenRange": {
|
|
5042
|
+
"startIndex": 5,
|
|
5043
|
+
"endIndex": 7
|
|
5044
|
+
},
|
|
5045
|
+
"isOptional": false
|
|
5046
|
+
}
|
|
5047
|
+
],
|
|
5048
|
+
"typeParameters": [
|
|
5049
|
+
{
|
|
5050
|
+
"typeParameterName": "T",
|
|
5051
|
+
"constraintTokenRange": {
|
|
5052
|
+
"startIndex": 1,
|
|
5053
|
+
"endIndex": 2
|
|
5054
|
+
},
|
|
5055
|
+
"defaultTypeTokenRange": {
|
|
5056
|
+
"startIndex": 0,
|
|
5057
|
+
"endIndex": 0
|
|
5058
|
+
}
|
|
5059
|
+
}
|
|
5060
|
+
],
|
|
5061
|
+
"name": "defaultProps"
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "Interface",
|
|
5065
|
+
"canonicalReference": "@alloy-js/core!Disposable_2:interface",
|
|
5066
|
+
"docComment": "",
|
|
5067
|
+
"excerptTokens": [
|
|
5068
|
+
{
|
|
5069
|
+
"kind": "Content",
|
|
5070
|
+
"text": "export interface Disposable "
|
|
4792
5071
|
}
|
|
4793
5072
|
],
|
|
4794
5073
|
"fileUrlPath": "src/jsx-runtime.ts",
|
|
@@ -5068,7 +5347,7 @@
|
|
|
5068
5347
|
"text": ";"
|
|
5069
5348
|
}
|
|
5070
5349
|
],
|
|
5071
|
-
"fileUrlPath": "src/utils.
|
|
5350
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5072
5351
|
"returnTypeTokenRange": {
|
|
5073
5352
|
"startIndex": 6,
|
|
5074
5353
|
"endIndex": 10
|
|
@@ -5148,7 +5427,7 @@
|
|
|
5148
5427
|
"text": ";"
|
|
5149
5428
|
}
|
|
5150
5429
|
],
|
|
5151
|
-
"fileUrlPath": "src/utils.
|
|
5430
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5152
5431
|
"returnTypeTokenRange": {
|
|
5153
5432
|
"startIndex": 6,
|
|
5154
5433
|
"endIndex": 10
|
|
@@ -5211,7 +5490,7 @@
|
|
|
5211
5490
|
"text": ";"
|
|
5212
5491
|
}
|
|
5213
5492
|
],
|
|
5214
|
-
"fileUrlPath": "src/utils.
|
|
5493
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5215
5494
|
"returnTypeTokenRange": {
|
|
5216
5495
|
"startIndex": 4,
|
|
5217
5496
|
"endIndex": 6
|
|
@@ -5233,7 +5512,7 @@
|
|
|
5233
5512
|
{
|
|
5234
5513
|
"kind": "Function",
|
|
5235
5514
|
"canonicalReference": "@alloy-js/core!For:function(1)",
|
|
5236
|
-
"docComment": "/**\n * The For component iterates over the provided array and invokes the child callback for each item. It can optionally be provided with a `joiner` which is placed between each item, and an `ender` which is placed after the last item when there is at least one item.\n *\n * @remarks\n *\n * When the `each` prop is a reactive (e.g. a reactive array, or ref to an array), `For` will automatically update when the array changes. When doing so, it will attempt to avoid re-rendering items which have not changed. For example, when appending an item to a reactive array, existing items will not be re-rendered. Note that presently the implementation is fairly simple
|
|
5515
|
+
"docComment": "/**\n * The For component iterates over the provided array and invokes the child\n * callback for each item. It can optionally be provided with a `joiner` which\n * is placed between each item, and an `ender` which is placed after the last\n * item when there is at least one item.\n *\n * @remarks\n *\n *\n *\n * When the `each` prop is a reactive (e.g. a reactive array, or ref to an\n * array), `For` will automatically update when the array changes. When doing\n * so, it will attempt to avoid re-rendering items which have not changed. For\n * example, when appending an item to a reactive array, existing items will not\n * be re-rendered. Note that presently the implementation is fairly simple -\n * when making modifications to the middle of an array it likely that every\n * element after the modification will be rerendered.\n *\n * @example\n *\n *\n *\n * ```tsx\n * const items = [\"apple\", \"pear\", \"plum\"];\n * return <For each={items}>\n * {(item) => <>Fruit: {item}</>}\n * </For>\n * ```\n *\n * @see\n *\n * {@link (mapJoin:1)} for mapping arrays to elements outside of JSX templates.\n */\n",
|
|
5237
5516
|
"excerptTokens": [
|
|
5238
5517
|
{
|
|
5239
5518
|
"kind": "Content",
|
|
@@ -5596,6 +5875,33 @@
|
|
|
5596
5875
|
"startIndex": 1,
|
|
5597
5876
|
"endIndex": 2
|
|
5598
5877
|
}
|
|
5878
|
+
},
|
|
5879
|
+
{
|
|
5880
|
+
"kind": "PropertySignature",
|
|
5881
|
+
"canonicalReference": "@alloy-js/core!ForProps#skipFalsy:member",
|
|
5882
|
+
"docComment": "/**\n * Whether to skip falsy values. By default, falsy values are mapped. However,\n * when mapping children, it is useful to skip falsy values, as it enables\n * omitting list elements via patterns like `{condition && <ListItem />}`.\n */\n",
|
|
5883
|
+
"excerptTokens": [
|
|
5884
|
+
{
|
|
5885
|
+
"kind": "Content",
|
|
5886
|
+
"text": "skipFalsy?: "
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
"kind": "Content",
|
|
5890
|
+
"text": "boolean"
|
|
5891
|
+
},
|
|
5892
|
+
{
|
|
5893
|
+
"kind": "Content",
|
|
5894
|
+
"text": ";"
|
|
5895
|
+
}
|
|
5896
|
+
],
|
|
5897
|
+
"isReadonly": false,
|
|
5898
|
+
"isOptional": true,
|
|
5899
|
+
"releaseTag": "Public",
|
|
5900
|
+
"name": "skipFalsy",
|
|
5901
|
+
"propertyTypeTokenRange": {
|
|
5902
|
+
"startIndex": 1,
|
|
5903
|
+
"endIndex": 2
|
|
5904
|
+
}
|
|
5599
5905
|
}
|
|
5600
5906
|
],
|
|
5601
5907
|
"extendsTokenRanges": [
|
|
@@ -5652,7 +5958,7 @@
|
|
|
5652
5958
|
{
|
|
5653
5959
|
"kind": "Function",
|
|
5654
5960
|
"canonicalReference": "@alloy-js/core!getAssignmentSymbol:function(1)",
|
|
5655
|
-
"docComment": "",
|
|
5961
|
+
"docComment": "/**\n * Get the symbol being defined.\n *\n * @returns The symbol currently being defined, or `undefined` if no symbol is\n * being defined.\n */\n",
|
|
5656
5962
|
"excerptTokens": [
|
|
5657
5963
|
{
|
|
5658
5964
|
"kind": "Content",
|
|
@@ -5919,80 +6225,6 @@
|
|
|
5919
6225
|
"endIndex": 3
|
|
5920
6226
|
}
|
|
5921
6227
|
},
|
|
5922
|
-
{
|
|
5923
|
-
"kind": "Interface",
|
|
5924
|
-
"canonicalReference": "@alloy-js/core!Handler:interface",
|
|
5925
|
-
"docComment": "",
|
|
5926
|
-
"excerptTokens": [
|
|
5927
|
-
{
|
|
5928
|
-
"kind": "Content",
|
|
5929
|
-
"text": "export interface Handler<T> "
|
|
5930
|
-
}
|
|
5931
|
-
],
|
|
5932
|
-
"fileUrlPath": "src/tap.ts",
|
|
5933
|
-
"releaseTag": "Public",
|
|
5934
|
-
"typeParameters": [
|
|
5935
|
-
{
|
|
5936
|
-
"typeParameterName": "T",
|
|
5937
|
-
"constraintTokenRange": {
|
|
5938
|
-
"startIndex": 0,
|
|
5939
|
-
"endIndex": 0
|
|
5940
|
-
},
|
|
5941
|
-
"defaultTypeTokenRange": {
|
|
5942
|
-
"startIndex": 0,
|
|
5943
|
-
"endIndex": 0
|
|
5944
|
-
}
|
|
5945
|
-
}
|
|
5946
|
-
],
|
|
5947
|
-
"name": "Handler",
|
|
5948
|
-
"preserveMemberOrder": false,
|
|
5949
|
-
"members": [
|
|
5950
|
-
{
|
|
5951
|
-
"kind": "CallSignature",
|
|
5952
|
-
"canonicalReference": "@alloy-js/core!Handler:call(1)",
|
|
5953
|
-
"docComment": "",
|
|
5954
|
-
"excerptTokens": [
|
|
5955
|
-
{
|
|
5956
|
-
"kind": "Content",
|
|
5957
|
-
"text": "(value: "
|
|
5958
|
-
},
|
|
5959
|
-
{
|
|
5960
|
-
"kind": "Content",
|
|
5961
|
-
"text": "T"
|
|
5962
|
-
},
|
|
5963
|
-
{
|
|
5964
|
-
"kind": "Content",
|
|
5965
|
-
"text": "): "
|
|
5966
|
-
},
|
|
5967
|
-
{
|
|
5968
|
-
"kind": "Content",
|
|
5969
|
-
"text": "void"
|
|
5970
|
-
},
|
|
5971
|
-
{
|
|
5972
|
-
"kind": "Content",
|
|
5973
|
-
"text": ";"
|
|
5974
|
-
}
|
|
5975
|
-
],
|
|
5976
|
-
"returnTypeTokenRange": {
|
|
5977
|
-
"startIndex": 3,
|
|
5978
|
-
"endIndex": 4
|
|
5979
|
-
},
|
|
5980
|
-
"releaseTag": "Public",
|
|
5981
|
-
"overloadIndex": 1,
|
|
5982
|
-
"parameters": [
|
|
5983
|
-
{
|
|
5984
|
-
"parameterName": "value",
|
|
5985
|
-
"parameterTypeTokenRange": {
|
|
5986
|
-
"startIndex": 1,
|
|
5987
|
-
"endIndex": 2
|
|
5988
|
-
},
|
|
5989
|
-
"isOptional": false
|
|
5990
|
-
}
|
|
5991
|
-
]
|
|
5992
|
-
}
|
|
5993
|
-
],
|
|
5994
|
-
"extendsTokenRanges": []
|
|
5995
|
-
},
|
|
5996
6228
|
{
|
|
5997
6229
|
"kind": "TypeAlias",
|
|
5998
6230
|
"canonicalReference": "@alloy-js/core!HardlineIntrinsicElement:type",
|
|
@@ -6089,7 +6321,7 @@
|
|
|
6089
6321
|
{
|
|
6090
6322
|
"kind": "Function",
|
|
6091
6323
|
"canonicalReference": "@alloy-js/core!Indent:function(1)",
|
|
6092
|
-
"docComment": "",
|
|
6324
|
+
"docComment": "/**\n * Create an indented block of source text. The indented block starts a new line\n * at the new indentation level and, with `trailingBreak`, ends with a new line\n * after restoring the indentation level. The default line break is a hard line\n * break suitable for typical blocks of statements but can be configured.\n */\n",
|
|
6093
6325
|
"excerptTokens": [
|
|
6094
6326
|
{
|
|
6095
6327
|
"kind": "Content",
|
|
@@ -6133,6 +6365,37 @@
|
|
|
6133
6365
|
],
|
|
6134
6366
|
"name": "Indent"
|
|
6135
6367
|
},
|
|
6368
|
+
{
|
|
6369
|
+
"kind": "TypeAlias",
|
|
6370
|
+
"canonicalReference": "@alloy-js/core!IndentIfBreakIntrinsicElement:type",
|
|
6371
|
+
"docComment": "",
|
|
6372
|
+
"excerptTokens": [
|
|
6373
|
+
{
|
|
6374
|
+
"kind": "Content",
|
|
6375
|
+
"text": "export type IndentIfBreakIntrinsicElement = "
|
|
6376
|
+
},
|
|
6377
|
+
{
|
|
6378
|
+
"kind": "Reference",
|
|
6379
|
+
"text": "IntrinsicElementBase",
|
|
6380
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
|
|
6381
|
+
},
|
|
6382
|
+
{
|
|
6383
|
+
"kind": "Content",
|
|
6384
|
+
"text": "<\"indentIfBreak\">"
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"kind": "Content",
|
|
6388
|
+
"text": ";"
|
|
6389
|
+
}
|
|
6390
|
+
],
|
|
6391
|
+
"fileUrlPath": "src/jsx-runtime.ts",
|
|
6392
|
+
"releaseTag": "Public",
|
|
6393
|
+
"name": "IndentIfBreakIntrinsicElement",
|
|
6394
|
+
"typeTokenRange": {
|
|
6395
|
+
"startIndex": 1,
|
|
6396
|
+
"endIndex": 3
|
|
6397
|
+
}
|
|
6398
|
+
},
|
|
6136
6399
|
{
|
|
6137
6400
|
"kind": "TypeAlias",
|
|
6138
6401
|
"canonicalReference": "@alloy-js/core!IndentIntrinsicElement:type",
|
|
@@ -6181,16 +6444,17 @@
|
|
|
6181
6444
|
"members": [
|
|
6182
6445
|
{
|
|
6183
6446
|
"kind": "PropertySignature",
|
|
6184
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6447
|
+
"canonicalReference": "@alloy-js/core!IndentProps#children:member",
|
|
6185
6448
|
"docComment": "",
|
|
6186
6449
|
"excerptTokens": [
|
|
6187
6450
|
{
|
|
6188
6451
|
"kind": "Content",
|
|
6189
|
-
"text": "
|
|
6452
|
+
"text": "children: "
|
|
6190
6453
|
},
|
|
6191
6454
|
{
|
|
6192
|
-
"kind": "
|
|
6193
|
-
"text": "
|
|
6455
|
+
"kind": "Reference",
|
|
6456
|
+
"text": "Children",
|
|
6457
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6194
6458
|
},
|
|
6195
6459
|
{
|
|
6196
6460
|
"kind": "Content",
|
|
@@ -6198,9 +6462,9 @@
|
|
|
6198
6462
|
}
|
|
6199
6463
|
],
|
|
6200
6464
|
"isReadonly": false,
|
|
6201
|
-
"isOptional":
|
|
6465
|
+
"isOptional": false,
|
|
6202
6466
|
"releaseTag": "Public",
|
|
6203
|
-
"name": "
|
|
6467
|
+
"name": "children",
|
|
6204
6468
|
"propertyTypeTokenRange": {
|
|
6205
6469
|
"startIndex": 1,
|
|
6206
6470
|
"endIndex": 2
|
|
@@ -6208,17 +6472,16 @@
|
|
|
6208
6472
|
},
|
|
6209
6473
|
{
|
|
6210
6474
|
"kind": "PropertySignature",
|
|
6211
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6212
|
-
"docComment": "",
|
|
6475
|
+
"canonicalReference": "@alloy-js/core!IndentProps#hardline:member",
|
|
6476
|
+
"docComment": "/**\n * Use a hard line (`<hbr />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6213
6477
|
"excerptTokens": [
|
|
6214
6478
|
{
|
|
6215
6479
|
"kind": "Content",
|
|
6216
|
-
"text": "
|
|
6480
|
+
"text": "hardline?: "
|
|
6217
6481
|
},
|
|
6218
6482
|
{
|
|
6219
|
-
"kind": "
|
|
6220
|
-
"text": "
|
|
6221
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6483
|
+
"kind": "Content",
|
|
6484
|
+
"text": "boolean"
|
|
6222
6485
|
},
|
|
6223
6486
|
{
|
|
6224
6487
|
"kind": "Content",
|
|
@@ -6226,9 +6489,9 @@
|
|
|
6226
6489
|
}
|
|
6227
6490
|
],
|
|
6228
6491
|
"isReadonly": false,
|
|
6229
|
-
"isOptional":
|
|
6492
|
+
"isOptional": true,
|
|
6230
6493
|
"releaseTag": "Public",
|
|
6231
|
-
"name": "
|
|
6494
|
+
"name": "hardline",
|
|
6232
6495
|
"propertyTypeTokenRange": {
|
|
6233
6496
|
"startIndex": 1,
|
|
6234
6497
|
"endIndex": 2
|
|
@@ -6236,12 +6499,12 @@
|
|
|
6236
6499
|
},
|
|
6237
6500
|
{
|
|
6238
6501
|
"kind": "PropertySignature",
|
|
6239
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6240
|
-
"docComment": "",
|
|
6502
|
+
"canonicalReference": "@alloy-js/core!IndentProps#line:member",
|
|
6503
|
+
"docComment": "/**\n * Use a regular line (`<br />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6241
6504
|
"excerptTokens": [
|
|
6242
6505
|
{
|
|
6243
6506
|
"kind": "Content",
|
|
6244
|
-
"text": "
|
|
6507
|
+
"text": "line?: "
|
|
6245
6508
|
},
|
|
6246
6509
|
{
|
|
6247
6510
|
"kind": "Content",
|
|
@@ -6255,7 +6518,7 @@
|
|
|
6255
6518
|
"isReadonly": false,
|
|
6256
6519
|
"isOptional": true,
|
|
6257
6520
|
"releaseTag": "Public",
|
|
6258
|
-
"name": "
|
|
6521
|
+
"name": "line",
|
|
6259
6522
|
"propertyTypeTokenRange": {
|
|
6260
6523
|
"startIndex": 1,
|
|
6261
6524
|
"endIndex": 2
|
|
@@ -6263,12 +6526,12 @@
|
|
|
6263
6526
|
},
|
|
6264
6527
|
{
|
|
6265
6528
|
"kind": "PropertySignature",
|
|
6266
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6267
|
-
"docComment": "",
|
|
6529
|
+
"canonicalReference": "@alloy-js/core!IndentProps#nobreak:member",
|
|
6530
|
+
"docComment": "/**\n * Don't include a line break. The new indentation level will start after the\n * first linebreak within the children.\n */\n",
|
|
6268
6531
|
"excerptTokens": [
|
|
6269
6532
|
{
|
|
6270
6533
|
"kind": "Content",
|
|
6271
|
-
"text": "
|
|
6534
|
+
"text": "nobreak?: "
|
|
6272
6535
|
},
|
|
6273
6536
|
{
|
|
6274
6537
|
"kind": "Content",
|
|
@@ -6282,26 +6545,80 @@
|
|
|
6282
6545
|
"isReadonly": false,
|
|
6283
6546
|
"isOptional": true,
|
|
6284
6547
|
"releaseTag": "Public",
|
|
6285
|
-
"name": "
|
|
6548
|
+
"name": "nobreak",
|
|
6286
6549
|
"propertyTypeTokenRange": {
|
|
6287
6550
|
"startIndex": 1,
|
|
6288
6551
|
"endIndex": 2
|
|
6289
6552
|
}
|
|
6290
|
-
}
|
|
6291
|
-
],
|
|
6292
|
-
"extendsTokenRanges": []
|
|
6293
|
-
},
|
|
6294
|
-
{
|
|
6295
|
-
"kind": "TypeAlias",
|
|
6296
|
-
"canonicalReference": "@alloy-js/core!IntrinsicElement:type",
|
|
6297
|
-
"docComment": "",
|
|
6298
|
-
"excerptTokens": [
|
|
6299
|
-
{
|
|
6300
|
-
"kind": "Content",
|
|
6301
|
-
"text": "export type IntrinsicElement = "
|
|
6302
6553
|
},
|
|
6303
6554
|
{
|
|
6304
|
-
"kind": "
|
|
6555
|
+
"kind": "PropertySignature",
|
|
6556
|
+
"canonicalReference": "@alloy-js/core!IndentProps#softline:member",
|
|
6557
|
+
"docComment": "/**\n * Use a soft line (`<sbr />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6558
|
+
"excerptTokens": [
|
|
6559
|
+
{
|
|
6560
|
+
"kind": "Content",
|
|
6561
|
+
"text": "softline?: "
|
|
6562
|
+
},
|
|
6563
|
+
{
|
|
6564
|
+
"kind": "Content",
|
|
6565
|
+
"text": "boolean"
|
|
6566
|
+
},
|
|
6567
|
+
{
|
|
6568
|
+
"kind": "Content",
|
|
6569
|
+
"text": ";"
|
|
6570
|
+
}
|
|
6571
|
+
],
|
|
6572
|
+
"isReadonly": false,
|
|
6573
|
+
"isOptional": true,
|
|
6574
|
+
"releaseTag": "Public",
|
|
6575
|
+
"name": "softline",
|
|
6576
|
+
"propertyTypeTokenRange": {
|
|
6577
|
+
"startIndex": 1,
|
|
6578
|
+
"endIndex": 2
|
|
6579
|
+
}
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
"kind": "PropertySignature",
|
|
6583
|
+
"canonicalReference": "@alloy-js/core!IndentProps#trailingBreak:member",
|
|
6584
|
+
"docComment": "/**\n * Place the configured line break at the end of the block after restoring the\n * indentation level.\n */\n",
|
|
6585
|
+
"excerptTokens": [
|
|
6586
|
+
{
|
|
6587
|
+
"kind": "Content",
|
|
6588
|
+
"text": "trailingBreak?: "
|
|
6589
|
+
},
|
|
6590
|
+
{
|
|
6591
|
+
"kind": "Content",
|
|
6592
|
+
"text": "boolean"
|
|
6593
|
+
},
|
|
6594
|
+
{
|
|
6595
|
+
"kind": "Content",
|
|
6596
|
+
"text": ";"
|
|
6597
|
+
}
|
|
6598
|
+
],
|
|
6599
|
+
"isReadonly": false,
|
|
6600
|
+
"isOptional": true,
|
|
6601
|
+
"releaseTag": "Public",
|
|
6602
|
+
"name": "trailingBreak",
|
|
6603
|
+
"propertyTypeTokenRange": {
|
|
6604
|
+
"startIndex": 1,
|
|
6605
|
+
"endIndex": 2
|
|
6606
|
+
}
|
|
6607
|
+
}
|
|
6608
|
+
],
|
|
6609
|
+
"extendsTokenRanges": []
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
"kind": "TypeAlias",
|
|
6613
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElement:type",
|
|
6614
|
+
"docComment": "",
|
|
6615
|
+
"excerptTokens": [
|
|
6616
|
+
{
|
|
6617
|
+
"kind": "Content",
|
|
6618
|
+
"text": "export type IntrinsicElement = "
|
|
6619
|
+
},
|
|
6620
|
+
{
|
|
6621
|
+
"kind": "Reference",
|
|
6305
6622
|
"text": "IndentIntrinsicElement",
|
|
6306
6623
|
"canonicalReference": "@alloy-js/core!IndentIntrinsicElement:type"
|
|
6307
6624
|
},
|
|
@@ -6309,6 +6626,15 @@
|
|
|
6309
6626
|
"kind": "Content",
|
|
6310
6627
|
"text": " | "
|
|
6311
6628
|
},
|
|
6629
|
+
{
|
|
6630
|
+
"kind": "Reference",
|
|
6631
|
+
"text": "IndentIfBreakIntrinsicElement",
|
|
6632
|
+
"canonicalReference": "@alloy-js/core!IndentIfBreakIntrinsicElement:type"
|
|
6633
|
+
},
|
|
6634
|
+
{
|
|
6635
|
+
"kind": "Content",
|
|
6636
|
+
"text": " | "
|
|
6637
|
+
},
|
|
6312
6638
|
{
|
|
6313
6639
|
"kind": "Reference",
|
|
6314
6640
|
"text": "BrIntrinsicElement",
|
|
@@ -6477,7 +6803,7 @@
|
|
|
6477
6803
|
"name": "IntrinsicElement",
|
|
6478
6804
|
"typeTokenRange": {
|
|
6479
6805
|
"startIndex": 1,
|
|
6480
|
-
"endIndex":
|
|
6806
|
+
"endIndex": 40
|
|
6481
6807
|
}
|
|
6482
6808
|
},
|
|
6483
6809
|
{
|
|
@@ -6858,7 +7184,7 @@
|
|
|
6858
7184
|
"text": ";"
|
|
6859
7185
|
}
|
|
6860
7186
|
],
|
|
6861
|
-
"fileUrlPath": "src/utils.
|
|
7187
|
+
"fileUrlPath": "src/utils.tsx",
|
|
6862
7188
|
"returnTypeTokenRange": {
|
|
6863
7189
|
"startIndex": 3,
|
|
6864
7190
|
"endIndex": 6
|
|
@@ -6990,7 +7316,7 @@
|
|
|
6990
7316
|
{
|
|
6991
7317
|
"kind": "Function",
|
|
6992
7318
|
"canonicalReference": "@alloy-js/core!join:function(1)",
|
|
6993
|
-
"docComment": "/**\n * Place a joiner between each element of an array or iterator. Defaults to joining with a newline.\n *\n * @returns
|
|
7319
|
+
"docComment": "/**\n * Place a joiner between each element of an array or iterator. Defaults to\n * joining with a newline.\n *\n * @returns The joined array\n *\n * @see\n *\n * mapJoin for mapping before joining.\n */\n",
|
|
6994
7320
|
"excerptTokens": [
|
|
6995
7321
|
{
|
|
6996
7322
|
"kind": "Content",
|
|
@@ -7041,7 +7367,7 @@
|
|
|
7041
7367
|
"text": ";"
|
|
7042
7368
|
}
|
|
7043
7369
|
],
|
|
7044
|
-
"fileUrlPath": "src/utils.
|
|
7370
|
+
"fileUrlPath": "src/utils.tsx",
|
|
7045
7371
|
"returnTypeTokenRange": {
|
|
7046
7372
|
"startIndex": 9,
|
|
7047
7373
|
"endIndex": 10
|
|
@@ -7091,7 +7417,7 @@
|
|
|
7091
7417
|
"text": "export interface JoinOptions "
|
|
7092
7418
|
}
|
|
7093
7419
|
],
|
|
7094
|
-
"fileUrlPath": "src/utils.
|
|
7420
|
+
"fileUrlPath": "src/utils.tsx",
|
|
7095
7421
|
"releaseTag": "Public",
|
|
7096
7422
|
"name": "JoinOptions",
|
|
7097
7423
|
"preserveMemberOrder": false,
|
|
@@ -7099,7 +7425,7 @@
|
|
|
7099
7425
|
{
|
|
7100
7426
|
"kind": "PropertySignature",
|
|
7101
7427
|
"canonicalReference": "@alloy-js/core!JoinOptions#ender:member",
|
|
7102
|
-
"docComment": "/**\n * When true, the joiner is placed at the end of the array. When a string
|
|
7428
|
+
"docComment": "/**\n * When true, the joiner is placed at the end of the array. When a string,\n * that string is placed at the end of the array. The ender is only emitted\n * when the array has at least one element.\n */\n",
|
|
7103
7429
|
"excerptTokens": [
|
|
7104
7430
|
{
|
|
7105
7431
|
"kind": "Content",
|
|
@@ -7270,7 +7596,7 @@
|
|
|
7270
7596
|
{
|
|
7271
7597
|
"kind": "Namespace",
|
|
7272
7598
|
"canonicalReference": "@alloy-js/core!JSX:namespace",
|
|
7273
|
-
"docComment": "/**\n * This namespace is predominantly for interop with React tooling in VSCode and controls the type of JSX elements, components, and the like.\n */\n",
|
|
7599
|
+
"docComment": "/**\n * This namespace is predominantly for interop with React tooling in VSCode\n * and controls the type of JSX elements, components, and the like.\n */\n",
|
|
7274
7600
|
"excerptTokens": [
|
|
7275
7601
|
{
|
|
7276
7602
|
"kind": "Content",
|
|
@@ -7447,7 +7773,7 @@
|
|
|
7447
7773
|
{
|
|
7448
7774
|
"kind": "PropertySignature",
|
|
7449
7775
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#align:member",
|
|
7450
|
-
"docComment": "",
|
|
7776
|
+
"docComment": "/**\n * Indent the children of this component by either the number of characters\n * indicated by the `width` prop, or by the provided string indicated by the\n * `string` prop.\n */\n",
|
|
7451
7777
|
"excerptTokens": [
|
|
7452
7778
|
{
|
|
7453
7779
|
"kind": "Content",
|
|
@@ -7492,7 +7818,7 @@
|
|
|
7492
7818
|
{
|
|
7493
7819
|
"kind": "PropertySignature",
|
|
7494
7820
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#br:member",
|
|
7495
|
-
"docComment": "",
|
|
7821
|
+
"docComment": "/**\n * A regular line break. This will break if the line exceeds the print\n * width, otherwise it will be a space.\n */\n",
|
|
7496
7822
|
"excerptTokens": [
|
|
7497
7823
|
{
|
|
7498
7824
|
"kind": "Content",
|
|
@@ -7519,7 +7845,7 @@
|
|
|
7519
7845
|
{
|
|
7520
7846
|
"kind": "PropertySignature",
|
|
7521
7847
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#breakParent:member",
|
|
7522
|
-
"docComment": "",
|
|
7848
|
+
"docComment": "/**\n * Force the parent group to break.\n */\n",
|
|
7523
7849
|
"excerptTokens": [
|
|
7524
7850
|
{
|
|
7525
7851
|
"kind": "Content",
|
|
@@ -7546,7 +7872,7 @@
|
|
|
7546
7872
|
{
|
|
7547
7873
|
"kind": "PropertySignature",
|
|
7548
7874
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#dedent:member",
|
|
7549
|
-
"docComment": "",
|
|
7875
|
+
"docComment": "/**\n * Decrease the indentation level of the children of this component.\n * Indentation is determined by the print options provided to the Output\n * component or source file.\n */\n",
|
|
7550
7876
|
"excerptTokens": [
|
|
7551
7877
|
{
|
|
7552
7878
|
"kind": "Content",
|
|
@@ -7582,7 +7908,7 @@
|
|
|
7582
7908
|
{
|
|
7583
7909
|
"kind": "PropertySignature",
|
|
7584
7910
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#dedentToRoot:member",
|
|
7585
|
-
"docComment": "",
|
|
7911
|
+
"docComment": "/**\n * Decrease the indentation level to the root level specified by\n * `<markAsRoot />`, or else to no indentation.\n */\n",
|
|
7586
7912
|
"excerptTokens": [
|
|
7587
7913
|
{
|
|
7588
7914
|
"kind": "Content",
|
|
@@ -7618,7 +7944,7 @@
|
|
|
7618
7944
|
{
|
|
7619
7945
|
"kind": "PropertySignature",
|
|
7620
7946
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#fill:member",
|
|
7621
|
-
"docComment": "",
|
|
7947
|
+
"docComment": "/**\n * Similar to `group`, but will only place a line break before the last\n * segment to exceed the print width. This is useful for formatting\n * paragraphs of text where breaks are inserted prior to words which would\n * otherwise exceed the print width.\n */\n",
|
|
7622
7948
|
"excerptTokens": [
|
|
7623
7949
|
{
|
|
7624
7950
|
"kind": "Content",
|
|
@@ -7654,7 +7980,7 @@
|
|
|
7654
7980
|
{
|
|
7655
7981
|
"kind": "PropertySignature",
|
|
7656
7982
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#group:member",
|
|
7657
|
-
"docComment": "",
|
|
7983
|
+
"docComment": "/**\n * Attempt to render the children on a single line if possible. If a group\n * contains `<breakParent />` or a hard line, or if the group exceeds the\n * print width, all linebreaks in the group will be broken.\n */\n",
|
|
7658
7984
|
"excerptTokens": [
|
|
7659
7985
|
{
|
|
7660
7986
|
"kind": "Content",
|
|
@@ -7690,7 +8016,7 @@
|
|
|
7690
8016
|
{
|
|
7691
8017
|
"kind": "PropertySignature",
|
|
7692
8018
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#hardline:member",
|
|
7693
|
-
"docComment": "",
|
|
8019
|
+
"docComment": "/**\n * A hard line break. This is a line that will always break, even if the\n * group does not exceed print width.\n */\n",
|
|
7694
8020
|
"excerptTokens": [
|
|
7695
8021
|
{
|
|
7696
8022
|
"kind": "Content",
|
|
@@ -7717,7 +8043,7 @@
|
|
|
7717
8043
|
{
|
|
7718
8044
|
"kind": "PropertySignature",
|
|
7719
8045
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#hbr:member",
|
|
7720
|
-
"docComment": "",
|
|
8046
|
+
"docComment": "/**\n * A hard line break. This is a line that will always break, even if the\n * group does not exceed print width.\n */\n",
|
|
7721
8047
|
"excerptTokens": [
|
|
7722
8048
|
{
|
|
7723
8049
|
"kind": "Content",
|
|
@@ -7744,7 +8070,7 @@
|
|
|
7744
8070
|
{
|
|
7745
8071
|
"kind": "PropertySignature",
|
|
7746
8072
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#ifBreak:member",
|
|
7747
|
-
"docComment": "",
|
|
8073
|
+
"docComment": "/**\n * Print children if the current group or already printed group specified by\n * `groupId` is broken. Otherwise, `flatContents` is printed instead.\n */\n",
|
|
7748
8074
|
"excerptTokens": [
|
|
7749
8075
|
{
|
|
7750
8076
|
"kind": "Content",
|
|
@@ -7789,7 +8115,7 @@
|
|
|
7789
8115
|
{
|
|
7790
8116
|
"kind": "PropertySignature",
|
|
7791
8117
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#indent:member",
|
|
7792
|
-
"docComment": "",
|
|
8118
|
+
"docComment": "/**\n * Increase the indentation level of the children of this component.\n * Indentation is determined by the print options provided to the Output\n * component or source file.\n */\n",
|
|
7793
8119
|
"excerptTokens": [
|
|
7794
8120
|
{
|
|
7795
8121
|
"kind": "Content",
|
|
@@ -7822,10 +8148,46 @@
|
|
|
7822
8148
|
"endIndex": 4
|
|
7823
8149
|
}
|
|
7824
8150
|
},
|
|
8151
|
+
{
|
|
8152
|
+
"kind": "PropertySignature",
|
|
8153
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#indentIfBreak:member",
|
|
8154
|
+
"docComment": "/**\n * Indent the children of this component if the group specified by `groupId`\n * is broken (or not broken if `negate` is passed). The specified group must\n * already be printed.\n */\n",
|
|
8155
|
+
"excerptTokens": [
|
|
8156
|
+
{
|
|
8157
|
+
"kind": "Content",
|
|
8158
|
+
"text": "indentIfBreak: "
|
|
8159
|
+
},
|
|
8160
|
+
{
|
|
8161
|
+
"kind": "Content",
|
|
8162
|
+
"text": "{\n children: "
|
|
8163
|
+
},
|
|
8164
|
+
{
|
|
8165
|
+
"kind": "Reference",
|
|
8166
|
+
"text": "Children",
|
|
8167
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
8168
|
+
},
|
|
8169
|
+
{
|
|
8170
|
+
"kind": "Content",
|
|
8171
|
+
"text": ";\n groupId: symbol;\n negate?: boolean;\n }"
|
|
8172
|
+
},
|
|
8173
|
+
{
|
|
8174
|
+
"kind": "Content",
|
|
8175
|
+
"text": ";"
|
|
8176
|
+
}
|
|
8177
|
+
],
|
|
8178
|
+
"isReadonly": false,
|
|
8179
|
+
"isOptional": false,
|
|
8180
|
+
"releaseTag": "Public",
|
|
8181
|
+
"name": "indentIfBreak",
|
|
8182
|
+
"propertyTypeTokenRange": {
|
|
8183
|
+
"startIndex": 1,
|
|
8184
|
+
"endIndex": 4
|
|
8185
|
+
}
|
|
8186
|
+
},
|
|
7825
8187
|
{
|
|
7826
8188
|
"kind": "PropertySignature",
|
|
7827
8189
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lbr:member",
|
|
7828
|
-
"docComment": "",
|
|
8190
|
+
"docComment": "/**\n * A literal line break. This will always break, even if the group does not\n * exceed print width. The new line will ignore indentation.\n */\n",
|
|
7829
8191
|
"excerptTokens": [
|
|
7830
8192
|
{
|
|
7831
8193
|
"kind": "Content",
|
|
@@ -7852,7 +8214,7 @@
|
|
|
7852
8214
|
{
|
|
7853
8215
|
"kind": "PropertySignature",
|
|
7854
8216
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#line:member",
|
|
7855
|
-
"docComment": "",
|
|
8217
|
+
"docComment": "/**\n * A regular line break. This will break if the line exceeds the print\n * width, otherwise it will be a space.\n */\n",
|
|
7856
8218
|
"excerptTokens": [
|
|
7857
8219
|
{
|
|
7858
8220
|
"kind": "Content",
|
|
@@ -7879,7 +8241,7 @@
|
|
|
7879
8241
|
{
|
|
7880
8242
|
"kind": "PropertySignature",
|
|
7881
8243
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lineSuffix:member",
|
|
7882
|
-
"docComment": "",
|
|
8244
|
+
"docComment": "/**\n * Print this content at the end of the line. Useful for things like line\n * comments.\n */\n",
|
|
7883
8245
|
"excerptTokens": [
|
|
7884
8246
|
{
|
|
7885
8247
|
"kind": "Content",
|
|
@@ -7915,7 +8277,7 @@
|
|
|
7915
8277
|
{
|
|
7916
8278
|
"kind": "PropertySignature",
|
|
7917
8279
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lineSuffixBoundary:member",
|
|
7918
|
-
"docComment": "",
|
|
8280
|
+
"docComment": "/**\n * Force any line suffixes to print at this point.\n */\n",
|
|
7919
8281
|
"excerptTokens": [
|
|
7920
8282
|
{
|
|
7921
8283
|
"kind": "Content",
|
|
@@ -7942,7 +8304,7 @@
|
|
|
7942
8304
|
{
|
|
7943
8305
|
"kind": "PropertySignature",
|
|
7944
8306
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#literalline:member",
|
|
7945
|
-
"docComment": "",
|
|
8307
|
+
"docComment": "/**\n * A literal line break. This will always break, even if the group does not\n * exceed print width. The new line will ignore indentation.\n */\n",
|
|
7946
8308
|
"excerptTokens": [
|
|
7947
8309
|
{
|
|
7948
8310
|
"kind": "Content",
|
|
@@ -7969,7 +8331,7 @@
|
|
|
7969
8331
|
{
|
|
7970
8332
|
"kind": "PropertySignature",
|
|
7971
8333
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#markAsRoot:member",
|
|
7972
|
-
"docComment": "",
|
|
8334
|
+
"docComment": "/**\n * Mark the current indentation level as \"root\" for the purposes of literal\n * line breaks and `dedentToRoot`.\n */\n",
|
|
7973
8335
|
"excerptTokens": [
|
|
7974
8336
|
{
|
|
7975
8337
|
"kind": "Content",
|
|
@@ -8005,7 +8367,7 @@
|
|
|
8005
8367
|
{
|
|
8006
8368
|
"kind": "PropertySignature",
|
|
8007
8369
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#sbr:member",
|
|
8008
|
-
"docComment": "",
|
|
8370
|
+
"docComment": "/**\n * A soft line break. This will break if the line exceeds the print width,\n * otherwise it will be be nothing.\n */\n",
|
|
8009
8371
|
"excerptTokens": [
|
|
8010
8372
|
{
|
|
8011
8373
|
"kind": "Content",
|
|
@@ -8032,7 +8394,7 @@
|
|
|
8032
8394
|
{
|
|
8033
8395
|
"kind": "PropertySignature",
|
|
8034
8396
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#softline:member",
|
|
8035
|
-
"docComment": "",
|
|
8397
|
+
"docComment": "/**\n * A soft line break. This will break if the line exceeds the print width,\n * otherwise it will be be nothing.\n */\n",
|
|
8036
8398
|
"excerptTokens": [
|
|
8037
8399
|
{
|
|
8038
8400
|
"kind": "Content",
|
|
@@ -8216,7 +8578,7 @@
|
|
|
8216
8578
|
{
|
|
8217
8579
|
"kind": "Function",
|
|
8218
8580
|
"canonicalReference": "@alloy-js/core!List:function(1)",
|
|
8219
|
-
"docComment": "/**\n * Create a list of children with text between each child. The text to join with is specified by providing either `joiner` children, or providing boolean props for the punctuation and line breaks. The default joiner is no punctuation and a hard break. The `ender` prop can provide text to place at the end of the list when there is at least one child.\n */\n",
|
|
8581
|
+
"docComment": "/**\n * Create a list of children with text between each child. The text to join with\n * is specified by providing either `joiner` children, or providing boolean\n * props for the punctuation and line breaks. The default joiner is no\n * punctuation and a hard break. The `ender` prop can provide text to place at\n * the end of the list when there is at least one child.\n */\n",
|
|
8220
8582
|
"excerptTokens": [
|
|
8221
8583
|
{
|
|
8222
8584
|
"kind": "Content",
|
|
@@ -8428,7 +8790,7 @@
|
|
|
8428
8790
|
{
|
|
8429
8791
|
"kind": "Function",
|
|
8430
8792
|
"canonicalReference": "@alloy-js/core!mapJoin:function(1)",
|
|
8431
|
-
"docComment": "/**\n * Map a Map to an array using a mapper and place a joiner between each element
|
|
8793
|
+
"docComment": "/**\n * Map a Map to an array using a mapper and place a joiner between each element.\n * Defaults to joining with a newline.\n *\n * @param src - Source map.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns The mapped and joined array.\n *\n * @see\n *\n * {@link join} for joining without mapping.\n */\n",
|
|
8432
8794
|
"excerptTokens": [
|
|
8433
8795
|
{
|
|
8434
8796
|
"kind": "Content",
|
|
@@ -8486,7 +8848,7 @@
|
|
|
8486
8848
|
"text": ";"
|
|
8487
8849
|
}
|
|
8488
8850
|
],
|
|
8489
|
-
"fileUrlPath": "src/utils.
|
|
8851
|
+
"fileUrlPath": "src/utils.tsx",
|
|
8490
8852
|
"returnTypeTokenRange": {
|
|
8491
8853
|
"startIndex": 9,
|
|
8492
8854
|
"endIndex": 12
|
|
@@ -8559,7 +8921,7 @@
|
|
|
8559
8921
|
{
|
|
8560
8922
|
"kind": "Function",
|
|
8561
8923
|
"canonicalReference": "@alloy-js/core!mapJoin:function(2)",
|
|
8562
|
-
"docComment": "/**\n * Map a array or iterator to another array using a mapper and place a joiner between each element. Defaults to joining with a newline.\n *\n * @param src - Source array.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns
|
|
8924
|
+
"docComment": "/**\n * Map a array or iterator to another array using a mapper and place a joiner\n * between each element. Defaults to joining with a newline.\n *\n * @param src - Source array.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns The mapped and joined array.\n *\n * @see\n *\n * {@link join} for joining without mapping.\n */\n",
|
|
8563
8925
|
"excerptTokens": [
|
|
8564
8926
|
{
|
|
8565
8927
|
"kind": "Content",
|
|
@@ -8617,7 +8979,7 @@
|
|
|
8617
8979
|
"text": ";"
|
|
8618
8980
|
}
|
|
8619
8981
|
],
|
|
8620
|
-
"fileUrlPath": "src/utils.
|
|
8982
|
+
"fileUrlPath": "src/utils.tsx",
|
|
8621
8983
|
"returnTypeTokenRange": {
|
|
8622
8984
|
"startIndex": 9,
|
|
8623
8985
|
"endIndex": 12
|
|
@@ -8710,7 +9072,7 @@
|
|
|
8710
9072
|
{
|
|
8711
9073
|
"kind": "Variable",
|
|
8712
9074
|
"canonicalReference": "@alloy-js/core!Match:var",
|
|
8713
|
-
"docComment": "/**\n * The Match component is used inside of a {@link Switch} component to define conditionally rendered blocks of content.\n */\n",
|
|
9075
|
+
"docComment": "/**\n * The Match component is used inside of a {@link Switch} component to\n * define conditionally rendered blocks of content.\n */\n",
|
|
8714
9076
|
"excerptTokens": [
|
|
8715
9077
|
{
|
|
8716
9078
|
"kind": "Content",
|
|
@@ -8794,7 +9156,7 @@
|
|
|
8794
9156
|
{
|
|
8795
9157
|
"kind": "PropertySignature",
|
|
8796
9158
|
"canonicalReference": "@alloy-js/core!MatchProps#else:member",
|
|
8797
|
-
"docComment": "/**\n * If no `when` is matched, the children of this element will be rendered
|
|
9159
|
+
"docComment": "/**\n * If no `when` is matched, the children of this element will be rendered.\n * The `else` match must be placed last.\n */\n",
|
|
8798
9160
|
"excerptTokens": [
|
|
8799
9161
|
{
|
|
8800
9162
|
"kind": "Content",
|
|
@@ -8874,7 +9236,7 @@
|
|
|
8874
9236
|
{
|
|
8875
9237
|
"kind": "Function",
|
|
8876
9238
|
"canonicalReference": "@alloy-js/core!MemberDeclaration:function(1)",
|
|
8877
|
-
"docComment": "/**\n * Declares a symbol in the current member scope for this component's children.\n *\n * @remarks\n *\n * This component must be called in one of two ways: with a name and an optional refkey, or else passing in the symbol. When called with a name and refkey, a symbol will be created in the current scope (provided by {@link MemberDeclarationContext}) with that name and refkey. If a refkey is not provided, `refkey(props.name)` is used.\n *\n * When called with a symbol, that symbol is merely exposed via {@link MemberDeclarationContext}. It is assumed that the caller of this component has created the symbol with the `createSymbol` API on the {@link BinderContext}.\n *\n * @see\n *\n *
|
|
9239
|
+
"docComment": "/**\n * Declares a symbol in the current member scope for this component's children.\n *\n * @remarks\n *\n *\n *\n * This component must be called in one of two ways: with a name and an optional\n * refkey, or else passing in the symbol. When called with a name and refkey, a\n * symbol will be created in the current scope (provided by\n * {@link MemberDeclarationContext}) with that name and refkey. If a refkey is not\n * provided, `refkey(props.name)` is used.\n *\n * When called with a symbol, that symbol is merely exposed via\n * {@link MemberDeclarationContext}. It is assumed that the caller of this component\n * has created the symbol with the `createSymbol` API on the\n * {@link BinderContext}.\n *\n * @see\n *\n * {@link BinderContext}\n */\n",
|
|
8878
9240
|
"excerptTokens": [
|
|
8879
9241
|
{
|
|
8880
9242
|
"kind": "Content",
|
|
@@ -8883,7 +9245,7 @@
|
|
|
8883
9245
|
{
|
|
8884
9246
|
"kind": "Reference",
|
|
8885
9247
|
"text": "MemberDeclarationProps",
|
|
8886
|
-
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:
|
|
9248
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:type"
|
|
8887
9249
|
},
|
|
8888
9250
|
{
|
|
8889
9251
|
"kind": "Content",
|
|
@@ -8921,7 +9283,7 @@
|
|
|
8921
9283
|
{
|
|
8922
9284
|
"kind": "Variable",
|
|
8923
9285
|
"canonicalReference": "@alloy-js/core!MemberDeclarationContext:var",
|
|
8924
|
-
"docComment": "/**\n * Provides the symbol for the member currently being declared.\n *\n * @see\n *\n *
|
|
9286
|
+
"docComment": "/**\n * Provides the symbol for the member currently being declared.\n *\n * @see\n *\n * {@link DeclarationContext} for getting the symbol for the current non-member declaration.\n */\n",
|
|
8925
9287
|
"excerptTokens": [
|
|
8926
9288
|
{
|
|
8927
9289
|
"kind": "Content",
|
|
@@ -8956,23 +9318,59 @@
|
|
|
8956
9318
|
}
|
|
8957
9319
|
},
|
|
8958
9320
|
{
|
|
8959
|
-
"kind": "
|
|
8960
|
-
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:
|
|
9321
|
+
"kind": "TypeAlias",
|
|
9322
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:type",
|
|
8961
9323
|
"docComment": "",
|
|
8962
9324
|
"excerptTokens": [
|
|
8963
9325
|
{
|
|
8964
9326
|
"kind": "Content",
|
|
8965
|
-
"text": "export
|
|
9327
|
+
"text": "export type MemberDeclarationProps = "
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"kind": "Reference",
|
|
9331
|
+
"text": "MemberDeclarationPropsWithInfo",
|
|
9332
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo:interface"
|
|
9333
|
+
},
|
|
9334
|
+
{
|
|
9335
|
+
"kind": "Content",
|
|
9336
|
+
"text": " | "
|
|
9337
|
+
},
|
|
9338
|
+
{
|
|
9339
|
+
"kind": "Reference",
|
|
9340
|
+
"text": "MemberDeclarationPropsWithSymbol",
|
|
9341
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol:interface"
|
|
9342
|
+
},
|
|
9343
|
+
{
|
|
9344
|
+
"kind": "Content",
|
|
9345
|
+
"text": ";"
|
|
8966
9346
|
}
|
|
8967
9347
|
],
|
|
8968
9348
|
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
8969
9349
|
"releaseTag": "Public",
|
|
8970
9350
|
"name": "MemberDeclarationProps",
|
|
9351
|
+
"typeTokenRange": {
|
|
9352
|
+
"startIndex": 1,
|
|
9353
|
+
"endIndex": 4
|
|
9354
|
+
}
|
|
9355
|
+
},
|
|
9356
|
+
{
|
|
9357
|
+
"kind": "Interface",
|
|
9358
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo:interface",
|
|
9359
|
+
"docComment": "/**\n * Create a member declaration by providing a symbol name and optional symbol\n * metadata.\n */\n",
|
|
9360
|
+
"excerptTokens": [
|
|
9361
|
+
{
|
|
9362
|
+
"kind": "Content",
|
|
9363
|
+
"text": "export interface MemberDeclarationPropsWithInfo "
|
|
9364
|
+
}
|
|
9365
|
+
],
|
|
9366
|
+
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
9367
|
+
"releaseTag": "Public",
|
|
9368
|
+
"name": "MemberDeclarationPropsWithInfo",
|
|
8971
9369
|
"preserveMemberOrder": false,
|
|
8972
9370
|
"members": [
|
|
8973
9371
|
{
|
|
8974
9372
|
"kind": "PropertySignature",
|
|
8975
|
-
"canonicalReference": "@alloy-js/core!
|
|
9373
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#children:member",
|
|
8976
9374
|
"docComment": "",
|
|
8977
9375
|
"excerptTokens": [
|
|
8978
9376
|
{
|
|
@@ -9000,16 +9398,21 @@
|
|
|
9000
9398
|
},
|
|
9001
9399
|
{
|
|
9002
9400
|
"kind": "PropertySignature",
|
|
9003
|
-
"canonicalReference": "@alloy-js/core!
|
|
9004
|
-
"docComment": "",
|
|
9401
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#metadata:member",
|
|
9402
|
+
"docComment": "/**\n * Additional metadata for the declared symbol.\n */\n",
|
|
9005
9403
|
"excerptTokens": [
|
|
9006
9404
|
{
|
|
9007
9405
|
"kind": "Content",
|
|
9008
|
-
"text": "
|
|
9406
|
+
"text": "metadata?: "
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
"kind": "Reference",
|
|
9410
|
+
"text": "Record",
|
|
9411
|
+
"canonicalReference": "!Record:type"
|
|
9009
9412
|
},
|
|
9010
9413
|
{
|
|
9011
9414
|
"kind": "Content",
|
|
9012
|
-
"text": "string"
|
|
9415
|
+
"text": "<string, unknown>"
|
|
9013
9416
|
},
|
|
9014
9417
|
{
|
|
9015
9418
|
"kind": "Content",
|
|
@@ -9019,6 +9422,33 @@
|
|
|
9019
9422
|
"isReadonly": false,
|
|
9020
9423
|
"isOptional": true,
|
|
9021
9424
|
"releaseTag": "Public",
|
|
9425
|
+
"name": "metadata",
|
|
9426
|
+
"propertyTypeTokenRange": {
|
|
9427
|
+
"startIndex": 1,
|
|
9428
|
+
"endIndex": 3
|
|
9429
|
+
}
|
|
9430
|
+
},
|
|
9431
|
+
{
|
|
9432
|
+
"kind": "PropertySignature",
|
|
9433
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#name:member",
|
|
9434
|
+
"docComment": "/**\n * The name of this declaration.\n */\n",
|
|
9435
|
+
"excerptTokens": [
|
|
9436
|
+
{
|
|
9437
|
+
"kind": "Content",
|
|
9438
|
+
"text": "name: "
|
|
9439
|
+
},
|
|
9440
|
+
{
|
|
9441
|
+
"kind": "Content",
|
|
9442
|
+
"text": "string"
|
|
9443
|
+
},
|
|
9444
|
+
{
|
|
9445
|
+
"kind": "Content",
|
|
9446
|
+
"text": ";"
|
|
9447
|
+
}
|
|
9448
|
+
],
|
|
9449
|
+
"isReadonly": false,
|
|
9450
|
+
"isOptional": false,
|
|
9451
|
+
"releaseTag": "Public",
|
|
9022
9452
|
"name": "name",
|
|
9023
9453
|
"propertyTypeTokenRange": {
|
|
9024
9454
|
"startIndex": 1,
|
|
@@ -9027,8 +9457,8 @@
|
|
|
9027
9457
|
},
|
|
9028
9458
|
{
|
|
9029
9459
|
"kind": "PropertySignature",
|
|
9030
|
-
"canonicalReference": "@alloy-js/core!
|
|
9031
|
-
"docComment": "",
|
|
9460
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#refkey:member",
|
|
9461
|
+
"docComment": "/**\n * The refkey or array refkeys for this declaration.\n */\n",
|
|
9032
9462
|
"excerptTokens": [
|
|
9033
9463
|
{
|
|
9034
9464
|
"kind": "Content",
|
|
@@ -9039,6 +9469,19 @@
|
|
|
9039
9469
|
"text": "Refkey",
|
|
9040
9470
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
9041
9471
|
},
|
|
9472
|
+
{
|
|
9473
|
+
"kind": "Content",
|
|
9474
|
+
"text": " | "
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"kind": "Reference",
|
|
9478
|
+
"text": "Refkey",
|
|
9479
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"kind": "Content",
|
|
9483
|
+
"text": "[]"
|
|
9484
|
+
},
|
|
9042
9485
|
{
|
|
9043
9486
|
"kind": "Content",
|
|
9044
9487
|
"text": ";"
|
|
@@ -9050,13 +9493,13 @@
|
|
|
9050
9493
|
"name": "refkey",
|
|
9051
9494
|
"propertyTypeTokenRange": {
|
|
9052
9495
|
"startIndex": 1,
|
|
9053
|
-
"endIndex":
|
|
9496
|
+
"endIndex": 5
|
|
9054
9497
|
}
|
|
9055
9498
|
},
|
|
9056
9499
|
{
|
|
9057
9500
|
"kind": "PropertySignature",
|
|
9058
|
-
"canonicalReference": "@alloy-js/core!
|
|
9059
|
-
"docComment": "",
|
|
9501
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#static:member",
|
|
9502
|
+
"docComment": "/**\n * Whether this is a static member. If not provided, the member is an instance\n * member.\n */\n",
|
|
9060
9503
|
"excerptTokens": [
|
|
9061
9504
|
{
|
|
9062
9505
|
"kind": "Content",
|
|
@@ -9079,15 +9522,61 @@
|
|
|
9079
9522
|
"startIndex": 1,
|
|
9080
9523
|
"endIndex": 2
|
|
9081
9524
|
}
|
|
9082
|
-
}
|
|
9525
|
+
}
|
|
9526
|
+
],
|
|
9527
|
+
"extendsTokenRanges": []
|
|
9528
|
+
},
|
|
9529
|
+
{
|
|
9530
|
+
"kind": "Interface",
|
|
9531
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol:interface",
|
|
9532
|
+
"docComment": "/**\n * Create a declaration by providing an already created symbol. The symbol is\n * merely exposed via {@link DeclarationContext}.\n */\n",
|
|
9533
|
+
"excerptTokens": [
|
|
9534
|
+
{
|
|
9535
|
+
"kind": "Content",
|
|
9536
|
+
"text": "export interface MemberDeclarationPropsWithSymbol "
|
|
9537
|
+
}
|
|
9538
|
+
],
|
|
9539
|
+
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
9540
|
+
"releaseTag": "Public",
|
|
9541
|
+
"name": "MemberDeclarationPropsWithSymbol",
|
|
9542
|
+
"preserveMemberOrder": false,
|
|
9543
|
+
"members": [
|
|
9083
9544
|
{
|
|
9084
9545
|
"kind": "PropertySignature",
|
|
9085
|
-
"canonicalReference": "@alloy-js/core!
|
|
9546
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol#children:member",
|
|
9086
9547
|
"docComment": "",
|
|
9087
9548
|
"excerptTokens": [
|
|
9088
9549
|
{
|
|
9089
9550
|
"kind": "Content",
|
|
9090
|
-
"text": "
|
|
9551
|
+
"text": "children?: "
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"kind": "Reference",
|
|
9555
|
+
"text": "Children",
|
|
9556
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
"kind": "Content",
|
|
9560
|
+
"text": ";"
|
|
9561
|
+
}
|
|
9562
|
+
],
|
|
9563
|
+
"isReadonly": false,
|
|
9564
|
+
"isOptional": true,
|
|
9565
|
+
"releaseTag": "Public",
|
|
9566
|
+
"name": "children",
|
|
9567
|
+
"propertyTypeTokenRange": {
|
|
9568
|
+
"startIndex": 1,
|
|
9569
|
+
"endIndex": 2
|
|
9570
|
+
}
|
|
9571
|
+
},
|
|
9572
|
+
{
|
|
9573
|
+
"kind": "PropertySignature",
|
|
9574
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol#symbol:member",
|
|
9575
|
+
"docComment": "/**\n * The symbol being declared. When provided, the name, refkey, and metadata\n * props are ignored.\n */\n",
|
|
9576
|
+
"excerptTokens": [
|
|
9577
|
+
{
|
|
9578
|
+
"kind": "Content",
|
|
9579
|
+
"text": "symbol: "
|
|
9091
9580
|
},
|
|
9092
9581
|
{
|
|
9093
9582
|
"kind": "Reference",
|
|
@@ -9100,7 +9589,7 @@
|
|
|
9100
9589
|
}
|
|
9101
9590
|
],
|
|
9102
9591
|
"isReadonly": false,
|
|
9103
|
-
"isOptional":
|
|
9592
|
+
"isOptional": false,
|
|
9104
9593
|
"releaseTag": "Public",
|
|
9105
9594
|
"name": "symbol",
|
|
9106
9595
|
"propertyTypeTokenRange": {
|
|
@@ -9147,7 +9636,7 @@
|
|
|
9147
9636
|
{
|
|
9148
9637
|
"kind": "Function",
|
|
9149
9638
|
"canonicalReference": "@alloy-js/core!MemberScope:function(1)",
|
|
9150
|
-
"docComment": "/**\n * Declare a member scope, which is a scope that holds instance and static members. This scope is then used for nested instance or static member declarations and resolution of instance members.\n *\n * @remarks\n *\n * The member scope contains scopes for both instance and static members
|
|
9639
|
+
"docComment": "/**\n * Declare a member scope, which is a scope that holds instance and static\n * members. This scope is then used for nested instance or static member\n * declarations and resolution of instance members.\n *\n * @remarks\n *\n *\n *\n * The member scope contains scopes for both instance and static members.\n * However, it does not affect the resolution of static members.\n *\n * @see\n *\n * {@link (MemberScopeContext:variable)}\n */\n",
|
|
9151
9640
|
"excerptTokens": [
|
|
9152
9641
|
{
|
|
9153
9642
|
"kind": "Content",
|
|
@@ -9194,7 +9683,7 @@
|
|
|
9194
9683
|
{
|
|
9195
9684
|
"kind": "Interface",
|
|
9196
9685
|
"canonicalReference": "@alloy-js/core!MemberScopeContext:interface",
|
|
9197
|
-
"docComment": "/**\n * The member scope context provides the instance and static member scopes that are used for member declarations and instance member resolution.\n */\n",
|
|
9686
|
+
"docComment": "/**\n * The member scope context provides the instance and static member scopes that\n * are used for member declarations and instance member resolution.\n */\n",
|
|
9198
9687
|
"excerptTokens": [
|
|
9199
9688
|
{
|
|
9200
9689
|
"kind": "Content",
|
|
@@ -9375,7 +9864,7 @@
|
|
|
9375
9864
|
{
|
|
9376
9865
|
"kind": "PropertySignature",
|
|
9377
9866
|
"canonicalReference": "@alloy-js/core!MemberScopeProps#owner:member",
|
|
9378
|
-
"docComment": "/**\n * The symbol that owns these members. This symbol must have either {@link OutputSymbolFlags.InstanceMemberContainer} or {@link OutputSymbolFlags.StaticMemberContainer}.\n */\n",
|
|
9867
|
+
"docComment": "/**\n * The symbol that owns these members. This symbol must have either\n * {@link OutputSymbolFlags.InstanceMemberContainer} or\n * {@link OutputSymbolFlags.StaticMemberContainer}.\n */\n",
|
|
9379
9868
|
"excerptTokens": [
|
|
9380
9869
|
{
|
|
9381
9870
|
"kind": "Content",
|
|
@@ -10094,7 +10583,7 @@
|
|
|
10094
10583
|
{
|
|
10095
10584
|
"kind": "Function",
|
|
10096
10585
|
"canonicalReference": "@alloy-js/core!onCleanup:function(1)",
|
|
10097
|
-
"docComment": "/**\n * Register a cleanup function which is called when the current reactive scope is recalculated or disposed. This is useful to clean up any side effects created in the reactive scope.\n *\n * @remarks\n *\n * When onCleanup is called inside a component definition, the provided function is called when the component is removed from the tree. This can be useful to clean up any side effects created as a result of rendering the component. For example, if rendering a component creates a symbol, `onCleanup` can be used to remove the symbol when the component is removed from the tree.\n *\n * When onCleanup is called inside a memo or effect, the function is called when the effect is refreshed (e.g. when a memo or computed recalculates) or disposed (e.g. it is no longer needed because it is attached to a component which was removed).\n */\n",
|
|
10586
|
+
"docComment": "/**\n * Register a cleanup function which is called when the current reactive scope\n * is recalculated or disposed. This is useful to clean up any side effects\n * created in the reactive scope.\n *\n * @remarks\n *\n *\n *\n * When onCleanup is called inside a component definition, the provided function\n * is called when the component is removed from the tree. This can be useful to\n * clean up any side effects created as a result of rendering the component. For\n * example, if rendering a component creates a symbol, `onCleanup` can be used\n * to remove the symbol when the component is removed from the tree.\n *\n * When onCleanup is called inside a memo or effect, the function is called when\n * the effect is refreshed (e.g. when a memo or computed recalculates) or\n * disposed (e.g. it is no longer needed because it is attached to a component\n * which was removed).\n */\n",
|
|
10098
10587
|
"excerptTokens": [
|
|
10099
10588
|
{
|
|
10100
10589
|
"kind": "Content",
|
|
@@ -10140,7 +10629,7 @@
|
|
|
10140
10629
|
{
|
|
10141
10630
|
"kind": "Function",
|
|
10142
10631
|
"canonicalReference": "@alloy-js/core!Output:function(1)",
|
|
10143
|
-
"docComment": "/**\n * This component is the root component for all your emitted output. Place your various {@link SourceDirectory} and {@link SourceFile} components inside `Output` to create directories and files in your output directory.\n *\n * @see\n *\n *
|
|
10632
|
+
"docComment": "/**\n * This component is the root component for all your emitted output. Place your\n * various {@link SourceDirectory} and {@link SourceFile} components inside\n * `Output` to create directories and files in your output directory.\n *\n * @see\n *\n * {@link NamePolicyContext}\n */\n",
|
|
10144
10633
|
"excerptTokens": [
|
|
10145
10634
|
{
|
|
10146
10635
|
"kind": "Content",
|
|
@@ -10187,7 +10676,7 @@
|
|
|
10187
10676
|
{
|
|
10188
10677
|
"kind": "Interface",
|
|
10189
10678
|
"canonicalReference": "@alloy-js/core!OutputDirectory:interface",
|
|
10190
|
-
"docComment": "/**\n * Turning components into source text involves three different trees produced sequentially:\n *\n * 1. Component tree, built by the nesting of components 2. Rendered text tree, produced by *rendering* the component tree 3. Document tree, produced by *printing* the rendered text tree\n *\n * Finally, the document tree is converted to text via `prettier`. Let's look at each of these trees and the conversions in detail.\n *\n * # Component tree\n *\n * The component tree is built by JSX or STC templates. The nodes in this tree are defined by the type `Child` and are one of the following\n *\n * ## Primitive values\n *\n * Strings in the tree are placed into the rendered text tree as-is. Numbers are converted to strings. Falsy primitive values and booleans are converted to empty strings (and may cause a line break to be ignored, see below).\n *\n * ## Nullary functions\n *\n * Nullary functions represent computed or reactive values in the component tree, such as expressions placed into a JSX template with curly brackets
|
|
10679
|
+
"docComment": "/**\n * Turning components into source text involves three different trees produced\n * sequentially:\n *\n * 1. Component tree, built by the nesting of components\n * 2. Rendered text tree, produced by *rendering* the component tree\n * 3. Document tree, produced by *printing* the rendered text tree\n *\n * Finally, the document tree is converted to text via `prettier`. Let's look at\n * each of these trees and the conversions in detail.\n *\n * # Component tree\n *\n * The component tree is built by JSX or STC templates. The nodes in this tree\n * are defined by the type `Child` and are one of the following\n *\n * ## Primitive values\n *\n * Strings in the tree are placed into the rendered text tree as-is. Numbers are\n * converted to strings. Falsy primitive values and booleans are converted to\n * empty strings (and may cause a line break to be ignored, see below).\n *\n * ## Nullary functions\n *\n * Nullary functions represent computed or reactive values in the component\n * tree, such as expressions placed into a JSX template with curly brackets.\n * Nullary functions return `Children` which are then recursively rendered.\n * Nullary functions are invoked in an effect which will update the rendered\n * text tree when any reactive dependencies change.\n *\n * ## Component creators\n *\n * Component creators are a special kind of nullary function which instantiate\n * components in order to get their children which are then recursively\n * rendered. Component creators have some special rendering behavior, such as\n * tracking the stack of rendered components. Like other nullary functions,\n * component creators are invoked in an effect which will update the rendered\n * text tree when any reactive dependencies change.\n *\n * ## Refs\n *\n * Refs are wrapped in a nullary function and rendered in an effect which will\n * update the rendered text tree when the ref's value changes. This is\n * essentially a syntactic convenience, allowing JSX templates to contain\n * `\\{ someRef \\}` instead of `\\{ someRef.value \\}`.\n *\n * ## Refkey\n *\n * Refkeys are replaced with a component creator for the Reference component\n * associated with the current source file. This allows creating references by\n * placing them directly in the component tree e.g. `{ someRefkey }`.\n *\n * ## CustomContext\n *\n * CustomContext is a special kind of component which allows rendering children\n * within a custom reactive context. This enables components to manually manage\n * the lifetime of their reactive contexts.\n *\n * ## IntrinsicElement\n *\n * Various intrinsic elements exist to control formatting. These elements\n * provide Print Hooks that are called during Printing.\n *\n * # Rendered Text Tree\n *\n * This tree is a nested array structure containing the rendered output of all\n * the components in the component tree. This structure is updated reactively\n * when reactive dependencies change. The nodes in this tree are predominantly\n * strings, but can also be Print Hooks.\n *\n * This tree is built by the `renderTree` function.\n *\n * # Document Tree\n *\n * This tree is constructed by calling `printTree` on the rendered text tree.\n * The rendered text tree is walked and the appropriate Prettier builders are\n * called to produce a document tree. The result is then passed to Prettier's\n * `printDocToString` function to produce the final source text.\n */\n",
|
|
10191
10680
|
"excerptTokens": [
|
|
10192
10681
|
{
|
|
10193
10682
|
"kind": "Content",
|
|
@@ -10608,7 +11097,7 @@
|
|
|
10608
11097
|
{
|
|
10609
11098
|
"kind": "Interface",
|
|
10610
11099
|
"canonicalReference": "@alloy-js/core!OutputScope:interface",
|
|
10611
|
-
"docComment": "/**\n * A container of symbols accessible within some scope in your output code.\n *\n * @remarks\n *\n * Scopes form a tree. All scopes except the global scope have a parent scope identified by `parent`. Scopes can have nested scopes which can be accessed using the `children` property. Whether a child scope can be accessed from the parent scope is determined by each language's scoping rules.\n *\n * This interface is the base implementation of scope. Generally, most languages will have subtypes of this interface that provide additional metadata about the scope. For example, TypeScript scopes need to track whether the scope represents a package, module, class, function, etc.\n *\n * Scopes are reactive values, which allows you to observe changes to the scope within a reactive context.\n */\n",
|
|
11100
|
+
"docComment": "/**\n * A container of symbols accessible within some scope in your output code.\n *\n * @remarks\n *\n *\n *\n * Scopes form a tree. All scopes except the global scope have a parent scope\n * identified by `parent`. Scopes can have nested scopes which can be accessed\n * using the `children` property. Whether a child scope can be accessed from\n * the parent scope is determined by each language's scoping rules.\n *\n * This interface is the base implementation of scope. Generally, most languages\n * will have subtypes of this interface that provide additional metadata about\n * the scope. For example, TypeScript scopes need to track whether the scope\n * represents a package, module, class, function, etc.\n *\n * Scopes are reactive values, which allows you to observe changes to the scope\n * within a reactive context.\n */\n",
|
|
10612
11101
|
"excerptTokens": [
|
|
10613
11102
|
{
|
|
10614
11103
|
"kind": "Content",
|
|
@@ -10753,11 +11242,11 @@
|
|
|
10753
11242
|
{
|
|
10754
11243
|
"kind": "PropertySignature",
|
|
10755
11244
|
"canonicalReference": "@alloy-js/core!OutputScope#kind:member",
|
|
10756
|
-
"docComment": "/**\n * The kind of scope. Subtypes will likely provide a set of known scope kinds
|
|
11245
|
+
"docComment": "/**\n * The kind of scope. Subtypes will likely provide a set of known scope kinds.\n * The kind is not used by the binder itself.\n */\n",
|
|
10757
11246
|
"excerptTokens": [
|
|
10758
11247
|
{
|
|
10759
11248
|
"kind": "Content",
|
|
10760
|
-
"text": "kind
|
|
11249
|
+
"text": "kind?: "
|
|
10761
11250
|
},
|
|
10762
11251
|
{
|
|
10763
11252
|
"kind": "Content",
|
|
@@ -10769,7 +11258,7 @@
|
|
|
10769
11258
|
}
|
|
10770
11259
|
],
|
|
10771
11260
|
"isReadonly": false,
|
|
10772
|
-
"isOptional":
|
|
11261
|
+
"isOptional": true,
|
|
10773
11262
|
"releaseTag": "Public",
|
|
10774
11263
|
"name": "kind",
|
|
10775
11264
|
"propertyTypeTokenRange": {
|
|
@@ -10807,7 +11296,7 @@
|
|
|
10807
11296
|
{
|
|
10808
11297
|
"kind": "PropertySignature",
|
|
10809
11298
|
"canonicalReference": "@alloy-js/core!OutputScope#owner:member",
|
|
10810
|
-
"docComment": "/**\n * The symbol that owns this scope. This is only defined for scopes that have the {@link OutputScopeFlags.StaticMemberScope} flag.\n */\n",
|
|
11299
|
+
"docComment": "/**\n * The symbol that owns this scope. This is only defined for scopes that have\n * the {@link OutputScopeFlags.StaticMemberScope} flag.\n */\n",
|
|
10811
11300
|
"excerptTokens": [
|
|
10812
11301
|
{
|
|
10813
11302
|
"kind": "Content",
|
|
@@ -10997,7 +11486,7 @@
|
|
|
10997
11486
|
{
|
|
10998
11487
|
"kind": "EnumMember",
|
|
10999
11488
|
"canonicalReference": "@alloy-js/core!OutputScopeFlags.MemberScope:member",
|
|
11000
|
-
"docComment": "/**\n * This scope is a member scope. Scopes with this flag will have an `owner
|
|
11489
|
+
"docComment": "/**\n * This scope is a member scope. Scopes with this flag will have an `owner`\n * property that points to the symbol whose member this scope holds.\n */\n",
|
|
11001
11490
|
"excerptTokens": [
|
|
11002
11491
|
{
|
|
11003
11492
|
"kind": "Content",
|
|
@@ -11062,7 +11551,7 @@
|
|
|
11062
11551
|
{
|
|
11063
11552
|
"kind": "Interface",
|
|
11064
11553
|
"canonicalReference": "@alloy-js/core!OutputSymbol:interface",
|
|
11065
|
-
"docComment": "/**\n * An output symbol is a named entity that can be referenced in your output code. Referencing symbols is generally accomplished by using a {@link Refkey}.\n *\n * @remarks\n *\n * This interface is the base implementation of symbol. Generally, most languages will have subtypes of this interface that provide additional
|
|
11554
|
+
"docComment": "/**\n * An output symbol is a named entity that can be referenced in your output\n * code. Referencing symbols is generally accomplished by using a\n * {@link Refkey}.\n *\n * @remarks\n *\n *\n *\n * This interface is the base implementation of symbol. Generally, most\n * languages will have subtypes of this interface that provide additional,\n * language-specific metadata about declared symbols. For example, symbols in\n * TypeScript need to track whether they are exported or what kind of symbol\n * they are (e.g. type, value, parameter, etc.)\n *\n * Symbols are reactive values, which allows you to observe changes to the symbol\n * information. For example, a symbol's name may change if it becomes conflicted\n * with a symbol that is added later.\n */\n",
|
|
11066
11555
|
"excerptTokens": [
|
|
11067
11556
|
{
|
|
11068
11557
|
"kind": "Content",
|
|
@@ -11133,7 +11622,7 @@
|
|
|
11133
11622
|
{
|
|
11134
11623
|
"kind": "PropertySignature",
|
|
11135
11624
|
"canonicalReference": "@alloy-js/core!OutputSymbol#instanceMemberScope:member",
|
|
11136
|
-
"docComment": "/**\n * The instance members available on this symbol.\n *\n * @remarks\n *\n * Instance members are members that are available when this symbol is instantiated. Instantiation is language-specific. For example, in TypeScript, instance members of symbols for classes are available when the class is instantiated with a new expression.\n *\n * When a symbol cannot have instance members, this is undefined.\n */\n",
|
|
11625
|
+
"docComment": "/**\n * The instance members available on this symbol.\n *\n * @remarks\n *\n *\n *\n * Instance members are members that are available when this symbol is\n * instantiated. Instantiation is language-specific. For example, in\n * TypeScript, instance members of symbols for classes are available when the\n * class is instantiated with a new expression.\n *\n * When a symbol cannot have instance members, this is undefined.\n */\n",
|
|
11137
11626
|
"excerptTokens": [
|
|
11138
11627
|
{
|
|
11139
11628
|
"kind": "Content",
|
|
@@ -11160,16 +11649,48 @@
|
|
|
11160
11649
|
},
|
|
11161
11650
|
{
|
|
11162
11651
|
"kind": "PropertySignature",
|
|
11163
|
-
"canonicalReference": "@alloy-js/core!OutputSymbol#
|
|
11164
|
-
"docComment": "/**\n *
|
|
11652
|
+
"canonicalReference": "@alloy-js/core!OutputSymbol#metadata:member",
|
|
11653
|
+
"docComment": "/**\n * Additional custom metadata about this symbol.\n */\n",
|
|
11165
11654
|
"excerptTokens": [
|
|
11166
11655
|
{
|
|
11167
11656
|
"kind": "Content",
|
|
11168
|
-
"text": "
|
|
11657
|
+
"text": "metadata: "
|
|
11169
11658
|
},
|
|
11170
11659
|
{
|
|
11171
|
-
"kind": "
|
|
11172
|
-
"text": "
|
|
11660
|
+
"kind": "Reference",
|
|
11661
|
+
"text": "Record",
|
|
11662
|
+
"canonicalReference": "!Record:type"
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"kind": "Content",
|
|
11666
|
+
"text": "<string, unknown>"
|
|
11667
|
+
},
|
|
11668
|
+
{
|
|
11669
|
+
"kind": "Content",
|
|
11670
|
+
"text": ";"
|
|
11671
|
+
}
|
|
11672
|
+
],
|
|
11673
|
+
"isReadonly": false,
|
|
11674
|
+
"isOptional": false,
|
|
11675
|
+
"releaseTag": "Public",
|
|
11676
|
+
"name": "metadata",
|
|
11677
|
+
"propertyTypeTokenRange": {
|
|
11678
|
+
"startIndex": 1,
|
|
11679
|
+
"endIndex": 3
|
|
11680
|
+
}
|
|
11681
|
+
},
|
|
11682
|
+
{
|
|
11683
|
+
"kind": "PropertySignature",
|
|
11684
|
+
"canonicalReference": "@alloy-js/core!OutputSymbol#name:member",
|
|
11685
|
+
"docComment": "/**\n * The name of the symbol.\n */\n",
|
|
11686
|
+
"excerptTokens": [
|
|
11687
|
+
{
|
|
11688
|
+
"kind": "Content",
|
|
11689
|
+
"text": "name: "
|
|
11690
|
+
},
|
|
11691
|
+
{
|
|
11692
|
+
"kind": "Content",
|
|
11693
|
+
"text": "string"
|
|
11173
11694
|
},
|
|
11174
11695
|
{
|
|
11175
11696
|
"kind": "Content",
|
|
@@ -11214,18 +11735,22 @@
|
|
|
11214
11735
|
},
|
|
11215
11736
|
{
|
|
11216
11737
|
"kind": "PropertySignature",
|
|
11217
|
-
"canonicalReference": "@alloy-js/core!OutputSymbol#
|
|
11218
|
-
"docComment": "/**\n *
|
|
11738
|
+
"canonicalReference": "@alloy-js/core!OutputSymbol#refkeys:member",
|
|
11739
|
+
"docComment": "/**\n * The unique values that reference this symbol.\n */\n",
|
|
11219
11740
|
"excerptTokens": [
|
|
11220
11741
|
{
|
|
11221
11742
|
"kind": "Content",
|
|
11222
|
-
"text": "
|
|
11743
|
+
"text": "refkeys: "
|
|
11223
11744
|
},
|
|
11224
11745
|
{
|
|
11225
11746
|
"kind": "Reference",
|
|
11226
11747
|
"text": "Refkey",
|
|
11227
11748
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
11228
11749
|
},
|
|
11750
|
+
{
|
|
11751
|
+
"kind": "Content",
|
|
11752
|
+
"text": "[]"
|
|
11753
|
+
},
|
|
11229
11754
|
{
|
|
11230
11755
|
"kind": "Content",
|
|
11231
11756
|
"text": ";"
|
|
@@ -11234,10 +11759,10 @@
|
|
|
11234
11759
|
"isReadonly": false,
|
|
11235
11760
|
"isOptional": false,
|
|
11236
11761
|
"releaseTag": "Public",
|
|
11237
|
-
"name": "
|
|
11762
|
+
"name": "refkeys",
|
|
11238
11763
|
"propertyTypeTokenRange": {
|
|
11239
11764
|
"startIndex": 1,
|
|
11240
|
-
"endIndex":
|
|
11765
|
+
"endIndex": 3
|
|
11241
11766
|
}
|
|
11242
11767
|
},
|
|
11243
11768
|
{
|
|
@@ -11271,7 +11796,7 @@
|
|
|
11271
11796
|
{
|
|
11272
11797
|
"kind": "PropertySignature",
|
|
11273
11798
|
"canonicalReference": "@alloy-js/core!OutputSymbol#staticMemberScope:member",
|
|
11274
|
-
"docComment": "/**\n * The static members available on this symbol.\n *\n * @remarks\n *\n * Static members are members that are available on the symbol itself. These symbols can be accessed off the parent symbol directly with a refkey. There is only ever one static member symbol in the output (i.e., the symbol is unique).\n */\n",
|
|
11799
|
+
"docComment": "/**\n * The static members available on this symbol.\n *\n * @remarks\n *\n *\n *\n * Static members are members that are available on the symbol itself. These symbols\n * can be accessed off the parent symbol directly with a refkey. There is only ever\n * one static member symbol in the output (i.e., the symbol is unique).\n */\n",
|
|
11275
11800
|
"excerptTokens": [
|
|
11276
11801
|
{
|
|
11277
11802
|
"kind": "Content",
|
|
@@ -11317,7 +11842,7 @@
|
|
|
11317
11842
|
{
|
|
11318
11843
|
"kind": "EnumMember",
|
|
11319
11844
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.InstanceMember:member",
|
|
11320
|
-
"docComment": "/**\n * Whether this symbol is an instance member of another symbol (i.e that it is stored in an instance member scope).\n */\n",
|
|
11845
|
+
"docComment": "/**\n * Whether this symbol is an instance member of another symbol (i.e that it is\n * stored in an instance member scope).\n */\n",
|
|
11321
11846
|
"excerptTokens": [
|
|
11322
11847
|
{
|
|
11323
11848
|
"kind": "Content",
|
|
@@ -11338,7 +11863,7 @@
|
|
|
11338
11863
|
{
|
|
11339
11864
|
"kind": "EnumMember",
|
|
11340
11865
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.InstanceMemberContainer:member",
|
|
11341
|
-
"docComment": "/**\n * The symbol is an instance member container. Symbols with this flag will have a instanceMemberScope property that contains symbols for instance members.\n */\n",
|
|
11866
|
+
"docComment": "/**\n * The symbol is an instance member container. Symbols with this flag will have a\n * instanceMemberScope property that contains symbols for instance members.\n */\n",
|
|
11342
11867
|
"excerptTokens": [
|
|
11343
11868
|
{
|
|
11344
11869
|
"kind": "Content",
|
|
@@ -11422,7 +11947,7 @@
|
|
|
11422
11947
|
{
|
|
11423
11948
|
"kind": "EnumMember",
|
|
11424
11949
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.StaticMember:member",
|
|
11425
|
-
"docComment": "/**\n * Whether this symbol is a static member of another symbol (i.e that it is stored in a static member scope).\n */\n",
|
|
11950
|
+
"docComment": "/**\n * Whether this symbol is a static member of another symbol (i.e that it is\n * stored in a static member scope).\n */\n",
|
|
11426
11951
|
"excerptTokens": [
|
|
11427
11952
|
{
|
|
11428
11953
|
"kind": "Content",
|
|
@@ -11443,7 +11968,7 @@
|
|
|
11443
11968
|
{
|
|
11444
11969
|
"kind": "EnumMember",
|
|
11445
11970
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.StaticMemberContainer:member",
|
|
11446
|
-
"docComment": "/**\n * The symbol is a static member container. Symbols with this flag will have a staticMemberScope property that contains symbols for static members.\n */\n",
|
|
11971
|
+
"docComment": "/**\n * The symbol is a static member container. Symbols with this flag will have a\n * staticMemberScope property that contains symbols for static members.\n */\n",
|
|
11447
11972
|
"excerptTokens": [
|
|
11448
11973
|
{
|
|
11449
11974
|
"kind": "Content",
|
|
@@ -11466,14 +11991,14 @@
|
|
|
11466
11991
|
{
|
|
11467
11992
|
"kind": "Interface",
|
|
11468
11993
|
"canonicalReference": "@alloy-js/core!OutputVisitor:interface",
|
|
11469
|
-
"docComment": "/**\n * A visitor to collect the output from {@link render}. Used by {@link traverseOutput}.\n */\n",
|
|
11994
|
+
"docComment": "/**\n * A visitor to collect the output from {@link render}. Used by\n * {@link traverseOutput}.\n */\n",
|
|
11470
11995
|
"excerptTokens": [
|
|
11471
11996
|
{
|
|
11472
11997
|
"kind": "Content",
|
|
11473
11998
|
"text": "export interface OutputVisitor "
|
|
11474
11999
|
}
|
|
11475
12000
|
],
|
|
11476
|
-
"fileUrlPath": "src/utils.
|
|
12001
|
+
"fileUrlPath": "src/utils.tsx",
|
|
11477
12002
|
"releaseTag": "Public",
|
|
11478
12003
|
"name": "OutputVisitor",
|
|
11479
12004
|
"preserveMemberOrder": false,
|
|
@@ -11939,7 +12464,7 @@
|
|
|
11939
12464
|
{
|
|
11940
12465
|
"kind": "PropertySignature",
|
|
11941
12466
|
"canonicalReference": "@alloy-js/core!PrintTreeOptions#printWidth:member",
|
|
11942
|
-
"docComment": "/**\n * The number of characters the printer will wrap on. Defaults to 100 characters.\n */\n",
|
|
12467
|
+
"docComment": "/**\n * The number of characters the printer will wrap on. Defaults to 100\n * characters.\n */\n",
|
|
11943
12468
|
"excerptTokens": [
|
|
11944
12469
|
{
|
|
11945
12470
|
"kind": "Content",
|
|
@@ -12051,6 +12576,99 @@
|
|
|
12051
12576
|
"endIndex": 3
|
|
12052
12577
|
}
|
|
12053
12578
|
},
|
|
12579
|
+
{
|
|
12580
|
+
"kind": "Function",
|
|
12581
|
+
"canonicalReference": "@alloy-js/core!Prose:function(1)",
|
|
12582
|
+
"docComment": "/**\n * Create a block of text which will break once a word exceeds the configured line width.\n * The children are expected to be strings, and a <br /> is added between each word.\n */\n",
|
|
12583
|
+
"excerptTokens": [
|
|
12584
|
+
{
|
|
12585
|
+
"kind": "Content",
|
|
12586
|
+
"text": "export declare function Prose(props: "
|
|
12587
|
+
},
|
|
12588
|
+
{
|
|
12589
|
+
"kind": "Reference",
|
|
12590
|
+
"text": "Prose",
|
|
12591
|
+
"canonicalReference": "@alloy-js/core!Prose:interface"
|
|
12592
|
+
},
|
|
12593
|
+
{
|
|
12594
|
+
"kind": "Content",
|
|
12595
|
+
"text": "): "
|
|
12596
|
+
},
|
|
12597
|
+
{
|
|
12598
|
+
"kind": "Reference",
|
|
12599
|
+
"text": "Children",
|
|
12600
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
12601
|
+
},
|
|
12602
|
+
{
|
|
12603
|
+
"kind": "Content",
|
|
12604
|
+
"text": ";"
|
|
12605
|
+
}
|
|
12606
|
+
],
|
|
12607
|
+
"fileUrlPath": "src/components/Prose.tsx",
|
|
12608
|
+
"returnTypeTokenRange": {
|
|
12609
|
+
"startIndex": 3,
|
|
12610
|
+
"endIndex": 4
|
|
12611
|
+
},
|
|
12612
|
+
"releaseTag": "Public",
|
|
12613
|
+
"overloadIndex": 1,
|
|
12614
|
+
"parameters": [
|
|
12615
|
+
{
|
|
12616
|
+
"parameterName": "props",
|
|
12617
|
+
"parameterTypeTokenRange": {
|
|
12618
|
+
"startIndex": 1,
|
|
12619
|
+
"endIndex": 2
|
|
12620
|
+
},
|
|
12621
|
+
"isOptional": false
|
|
12622
|
+
}
|
|
12623
|
+
],
|
|
12624
|
+
"name": "Prose"
|
|
12625
|
+
},
|
|
12626
|
+
{
|
|
12627
|
+
"kind": "Interface",
|
|
12628
|
+
"canonicalReference": "@alloy-js/core!Prose:interface",
|
|
12629
|
+
"docComment": "",
|
|
12630
|
+
"excerptTokens": [
|
|
12631
|
+
{
|
|
12632
|
+
"kind": "Content",
|
|
12633
|
+
"text": "export interface Prose "
|
|
12634
|
+
}
|
|
12635
|
+
],
|
|
12636
|
+
"fileUrlPath": "src/components/Prose.tsx",
|
|
12637
|
+
"releaseTag": "Public",
|
|
12638
|
+
"name": "Prose",
|
|
12639
|
+
"preserveMemberOrder": false,
|
|
12640
|
+
"members": [
|
|
12641
|
+
{
|
|
12642
|
+
"kind": "PropertySignature",
|
|
12643
|
+
"canonicalReference": "@alloy-js/core!Prose#children:member",
|
|
12644
|
+
"docComment": "",
|
|
12645
|
+
"excerptTokens": [
|
|
12646
|
+
{
|
|
12647
|
+
"kind": "Content",
|
|
12648
|
+
"text": "children: "
|
|
12649
|
+
},
|
|
12650
|
+
{
|
|
12651
|
+
"kind": "Reference",
|
|
12652
|
+
"text": "Children",
|
|
12653
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
12654
|
+
},
|
|
12655
|
+
{
|
|
12656
|
+
"kind": "Content",
|
|
12657
|
+
"text": ";"
|
|
12658
|
+
}
|
|
12659
|
+
],
|
|
12660
|
+
"isReadonly": false,
|
|
12661
|
+
"isOptional": false,
|
|
12662
|
+
"releaseTag": "Public",
|
|
12663
|
+
"name": "children",
|
|
12664
|
+
"propertyTypeTokenRange": {
|
|
12665
|
+
"startIndex": 1,
|
|
12666
|
+
"endIndex": 2
|
|
12667
|
+
}
|
|
12668
|
+
}
|
|
12669
|
+
],
|
|
12670
|
+
"extendsTokenRanges": []
|
|
12671
|
+
},
|
|
12054
12672
|
{
|
|
12055
12673
|
"kind": "Function",
|
|
12056
12674
|
"canonicalReference": "@alloy-js/core!pushStack:function(1)",
|
|
@@ -12357,7 +12975,7 @@
|
|
|
12357
12975
|
{
|
|
12358
12976
|
"kind": "Interface",
|
|
12359
12977
|
"canonicalReference": "@alloy-js/core!ResolutionResult:interface",
|
|
12360
|
-
"docComment": "/**\n * A successful resolution of a refkey.\n *\n * @example\n *\n * Let's say we have the following scopes and symbols:\n * ```\n * scope: global scope\n * ├── scope: namespace scope 1\n * │ └── symbol: foo\n * │ └── static member scope\n * │ └── symbol: bar\n * └── scope: namespace scope 2\n * └── (resolve bar from here)\n * ```\n *\n * When we resolve the refkey for `bar` from within `namespace scope 2`, we will get the following resolution result:\n *\n * **targetDeclaration**: symbol bar, the symbol we resolved.\n
|
|
12978
|
+
"docComment": "/**\n * A successful resolution of a refkey.\n *\n * @example\n *\n *\n *\n * Let's say we have the following scopes and symbols:\n *\n * ```\n * scope: global scope\n * ├── scope: namespace scope 1\n * │ └── symbol: foo\n * │ └── static member scope\n * │ └── symbol: bar\n * └── scope: namespace scope 2\n * └── (resolve bar from here)\n * ```\n *\n *\n * When we resolve the refkey for `bar` from within `namespace scope 2`, we will get the following\n * resolution result:\n *\n * * **targetDeclaration**: symbol bar, the symbol we resolved.\n * * **commonScope**: global scope, because this is the most specific scope that contains both the declaration and the reference.\n * * **pathUp**: [namespace scope 2], because this is the scope between the reference and the common scope.\n * * **pathDown**: [namespace scope 1], because this is the scope between the common scope and the declaration\n * * **memberPath**: [foo, bar], because we resolved a member symbol and these are the symbols that lead from the base declaration to the member symbol.\n */\n",
|
|
12361
12979
|
"excerptTokens": [
|
|
12362
12980
|
{
|
|
12363
12981
|
"kind": "Content",
|
|
@@ -12441,7 +13059,7 @@
|
|
|
12441
13059
|
{
|
|
12442
13060
|
"kind": "PropertySignature",
|
|
12443
13061
|
"canonicalReference": "@alloy-js/core!ResolutionResult#memberPath:member",
|
|
12444
|
-
"docComment": "/**\n * When resolving a member symbol, this is the path of symbols that lead from the base declaration to the member symbol.\n */\n",
|
|
13062
|
+
"docComment": "/**\n * When resolving a member symbol, this is the path of symbols that lead from\n * the base declaration to the member symbol.\n */\n",
|
|
12445
13063
|
"excerptTokens": [
|
|
12446
13064
|
{
|
|
12447
13065
|
"kind": "Content",
|
|
@@ -12552,7 +13170,7 @@
|
|
|
12552
13170
|
{
|
|
12553
13171
|
"kind": "Function",
|
|
12554
13172
|
"canonicalReference": "@alloy-js/core!resolve:function(1)",
|
|
12555
|
-
"docComment": "/**\n * Resolve a refkey in the current scope. Returns a Ref for the resolution result
|
|
13173
|
+
"docComment": "/**\n * Resolve a refkey in the current scope. Returns a Ref for the resolution result.\n * The value of the ref will be undefined if the identifier hasn't been resolved yet.\n *\n * @remarks\n *\n *\n *\n * This API may return a ref for undefined, but that does not mean that the symbol is\n * not found. The symbol you're looking for may not have been declared yet. When the symbol\n * is declared, the ref will be updated with the resolution result.\n */\n",
|
|
12556
13174
|
"excerptTokens": [
|
|
12557
13175
|
{
|
|
12558
13176
|
"kind": "Content",
|
|
@@ -12819,7 +13437,7 @@
|
|
|
12819
13437
|
{
|
|
12820
13438
|
"kind": "Function",
|
|
12821
13439
|
"canonicalReference": "@alloy-js/core!Scope:function(1)",
|
|
12822
|
-
"docComment": "",
|
|
13440
|
+
"docComment": "/**\n * Declare a scope for this component's children. Any symbols and scopes\n * declared in the children of this component will be in this scope.\n *\n * @see\n *\n * {@link ScopeContext}\n */\n",
|
|
12823
13441
|
"excerptTokens": [
|
|
12824
13442
|
{
|
|
12825
13443
|
"kind": "Content",
|
|
@@ -12828,7 +13446,7 @@
|
|
|
12828
13446
|
{
|
|
12829
13447
|
"kind": "Reference",
|
|
12830
13448
|
"text": "ScopeProps",
|
|
12831
|
-
"canonicalReference": "@alloy-js/core!ScopeProps:
|
|
13449
|
+
"canonicalReference": "@alloy-js/core!ScopeProps:type"
|
|
12832
13450
|
},
|
|
12833
13451
|
{
|
|
12834
13452
|
"kind": "Content",
|
|
@@ -12901,23 +13519,59 @@
|
|
|
12901
13519
|
}
|
|
12902
13520
|
},
|
|
12903
13521
|
{
|
|
12904
|
-
"kind": "
|
|
12905
|
-
"canonicalReference": "@alloy-js/core!ScopeProps:
|
|
13522
|
+
"kind": "TypeAlias",
|
|
13523
|
+
"canonicalReference": "@alloy-js/core!ScopeProps:type",
|
|
12906
13524
|
"docComment": "",
|
|
12907
13525
|
"excerptTokens": [
|
|
12908
13526
|
{
|
|
12909
13527
|
"kind": "Content",
|
|
12910
|
-
"text": "export
|
|
13528
|
+
"text": "export type ScopeProps = "
|
|
13529
|
+
},
|
|
13530
|
+
{
|
|
13531
|
+
"kind": "Reference",
|
|
13532
|
+
"text": "ScopePropsWithValue",
|
|
13533
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue:interface"
|
|
13534
|
+
},
|
|
13535
|
+
{
|
|
13536
|
+
"kind": "Content",
|
|
13537
|
+
"text": " | "
|
|
13538
|
+
},
|
|
13539
|
+
{
|
|
13540
|
+
"kind": "Reference",
|
|
13541
|
+
"text": "ScopePropsWithInfo",
|
|
13542
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface"
|
|
13543
|
+
},
|
|
13544
|
+
{
|
|
13545
|
+
"kind": "Content",
|
|
13546
|
+
"text": ";"
|
|
12911
13547
|
}
|
|
12912
13548
|
],
|
|
12913
13549
|
"fileUrlPath": "src/components/Scope.tsx",
|
|
12914
13550
|
"releaseTag": "Public",
|
|
12915
13551
|
"name": "ScopeProps",
|
|
13552
|
+
"typeTokenRange": {
|
|
13553
|
+
"startIndex": 1,
|
|
13554
|
+
"endIndex": 4
|
|
13555
|
+
}
|
|
13556
|
+
},
|
|
13557
|
+
{
|
|
13558
|
+
"kind": "Interface",
|
|
13559
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface",
|
|
13560
|
+
"docComment": "/**\n * Create a scope by providing a name and optional metadata.\n */\n",
|
|
13561
|
+
"excerptTokens": [
|
|
13562
|
+
{
|
|
13563
|
+
"kind": "Content",
|
|
13564
|
+
"text": "export interface ScopePropsWithInfo "
|
|
13565
|
+
}
|
|
13566
|
+
],
|
|
13567
|
+
"fileUrlPath": "src/components/Scope.tsx",
|
|
13568
|
+
"releaseTag": "Public",
|
|
13569
|
+
"name": "ScopePropsWithInfo",
|
|
12916
13570
|
"preserveMemberOrder": false,
|
|
12917
13571
|
"members": [
|
|
12918
13572
|
{
|
|
12919
13573
|
"kind": "PropertySignature",
|
|
12920
|
-
"canonicalReference": "@alloy-js/core!
|
|
13574
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#children:member",
|
|
12921
13575
|
"docComment": "",
|
|
12922
13576
|
"excerptTokens": [
|
|
12923
13577
|
{
|
|
@@ -12945,8 +13599,8 @@
|
|
|
12945
13599
|
},
|
|
12946
13600
|
{
|
|
12947
13601
|
"kind": "PropertySignature",
|
|
12948
|
-
"canonicalReference": "@alloy-js/core!
|
|
12949
|
-
"docComment": "",
|
|
13602
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#kind:member",
|
|
13603
|
+
"docComment": "/**\n * The kind of scope. This may be used by application code to determine how\n * to handle symbols in this scope. It is not used by the core framework.\n */\n",
|
|
12950
13604
|
"excerptTokens": [
|
|
12951
13605
|
{
|
|
12952
13606
|
"kind": "Content",
|
|
@@ -12972,8 +13626,40 @@
|
|
|
12972
13626
|
},
|
|
12973
13627
|
{
|
|
12974
13628
|
"kind": "PropertySignature",
|
|
12975
|
-
"canonicalReference": "@alloy-js/core!
|
|
12976
|
-
"docComment": "",
|
|
13629
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#metadata:member",
|
|
13630
|
+
"docComment": "/**\n * Additional metadata for the scope.\n */\n",
|
|
13631
|
+
"excerptTokens": [
|
|
13632
|
+
{
|
|
13633
|
+
"kind": "Content",
|
|
13634
|
+
"text": "metadata?: "
|
|
13635
|
+
},
|
|
13636
|
+
{
|
|
13637
|
+
"kind": "Reference",
|
|
13638
|
+
"text": "Record",
|
|
13639
|
+
"canonicalReference": "!Record:type"
|
|
13640
|
+
},
|
|
13641
|
+
{
|
|
13642
|
+
"kind": "Content",
|
|
13643
|
+
"text": "<string, unknown>"
|
|
13644
|
+
},
|
|
13645
|
+
{
|
|
13646
|
+
"kind": "Content",
|
|
13647
|
+
"text": ";"
|
|
13648
|
+
}
|
|
13649
|
+
],
|
|
13650
|
+
"isReadonly": false,
|
|
13651
|
+
"isOptional": true,
|
|
13652
|
+
"releaseTag": "Public",
|
|
13653
|
+
"name": "metadata",
|
|
13654
|
+
"propertyTypeTokenRange": {
|
|
13655
|
+
"startIndex": 1,
|
|
13656
|
+
"endIndex": 3
|
|
13657
|
+
}
|
|
13658
|
+
},
|
|
13659
|
+
{
|
|
13660
|
+
"kind": "PropertySignature",
|
|
13661
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#name:member",
|
|
13662
|
+
"docComment": "/**\n * The name of this scope.\n */\n",
|
|
12977
13663
|
"excerptTokens": [
|
|
12978
13664
|
{
|
|
12979
13665
|
"kind": "Content",
|
|
@@ -12996,15 +13682,61 @@
|
|
|
12996
13682
|
"startIndex": 1,
|
|
12997
13683
|
"endIndex": 2
|
|
12998
13684
|
}
|
|
12999
|
-
}
|
|
13685
|
+
}
|
|
13686
|
+
],
|
|
13687
|
+
"extendsTokenRanges": []
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
"kind": "Interface",
|
|
13691
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue:interface",
|
|
13692
|
+
"docComment": "/**\n * Declare a scope by providing an already created scope. The scope is merely\n * exposed via {@link ScopeContext}.\n */\n",
|
|
13693
|
+
"excerptTokens": [
|
|
13694
|
+
{
|
|
13695
|
+
"kind": "Content",
|
|
13696
|
+
"text": "export interface ScopePropsWithValue "
|
|
13697
|
+
}
|
|
13698
|
+
],
|
|
13699
|
+
"fileUrlPath": "src/components/Scope.tsx",
|
|
13700
|
+
"releaseTag": "Public",
|
|
13701
|
+
"name": "ScopePropsWithValue",
|
|
13702
|
+
"preserveMemberOrder": false,
|
|
13703
|
+
"members": [
|
|
13000
13704
|
{
|
|
13001
13705
|
"kind": "PropertySignature",
|
|
13002
|
-
"canonicalReference": "@alloy-js/core!
|
|
13706
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue#children:member",
|
|
13003
13707
|
"docComment": "",
|
|
13004
13708
|
"excerptTokens": [
|
|
13005
13709
|
{
|
|
13006
13710
|
"kind": "Content",
|
|
13007
|
-
"text": "
|
|
13711
|
+
"text": "children?: "
|
|
13712
|
+
},
|
|
13713
|
+
{
|
|
13714
|
+
"kind": "Reference",
|
|
13715
|
+
"text": "Children",
|
|
13716
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
13717
|
+
},
|
|
13718
|
+
{
|
|
13719
|
+
"kind": "Content",
|
|
13720
|
+
"text": ";"
|
|
13721
|
+
}
|
|
13722
|
+
],
|
|
13723
|
+
"isReadonly": false,
|
|
13724
|
+
"isOptional": true,
|
|
13725
|
+
"releaseTag": "Public",
|
|
13726
|
+
"name": "children",
|
|
13727
|
+
"propertyTypeTokenRange": {
|
|
13728
|
+
"startIndex": 1,
|
|
13729
|
+
"endIndex": 2
|
|
13730
|
+
}
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
"kind": "PropertySignature",
|
|
13734
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue#value:member",
|
|
13735
|
+
"docComment": "/**\n * The scope to use. If not provided, a new scope will be created.\n */\n",
|
|
13736
|
+
"excerptTokens": [
|
|
13737
|
+
{
|
|
13738
|
+
"kind": "Content",
|
|
13739
|
+
"text": "value: "
|
|
13008
13740
|
},
|
|
13009
13741
|
{
|
|
13010
13742
|
"kind": "Reference",
|
|
@@ -13017,7 +13749,7 @@
|
|
|
13017
13749
|
}
|
|
13018
13750
|
],
|
|
13019
13751
|
"isReadonly": false,
|
|
13020
|
-
"isOptional":
|
|
13752
|
+
"isOptional": false,
|
|
13021
13753
|
"releaseTag": "Public",
|
|
13022
13754
|
"name": "value",
|
|
13023
13755
|
"propertyTypeTokenRange": {
|
|
@@ -13789,6 +14521,34 @@
|
|
|
13789
14521
|
"endIndex": 2
|
|
13790
14522
|
}
|
|
13791
14523
|
},
|
|
14524
|
+
{
|
|
14525
|
+
"kind": "PropertySignature",
|
|
14526
|
+
"canonicalReference": "@alloy-js/core!SourceFileProps#header:member",
|
|
14527
|
+
"docComment": "/**\n * The header of the file. This is rendered before the contents of the file.\n * This is useful for adding license headers or other metadata to the file.\n */\n",
|
|
14528
|
+
"excerptTokens": [
|
|
14529
|
+
{
|
|
14530
|
+
"kind": "Content",
|
|
14531
|
+
"text": "header?: "
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
"kind": "Reference",
|
|
14535
|
+
"text": "Children",
|
|
14536
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
14537
|
+
},
|
|
14538
|
+
{
|
|
14539
|
+
"kind": "Content",
|
|
14540
|
+
"text": ";"
|
|
14541
|
+
}
|
|
14542
|
+
],
|
|
14543
|
+
"isReadonly": false,
|
|
14544
|
+
"isOptional": true,
|
|
14545
|
+
"releaseTag": "Public",
|
|
14546
|
+
"name": "header",
|
|
14547
|
+
"propertyTypeTokenRange": {
|
|
14548
|
+
"startIndex": 1,
|
|
14549
|
+
"endIndex": 2
|
|
14550
|
+
}
|
|
14551
|
+
},
|
|
13792
14552
|
{
|
|
13793
14553
|
"kind": "PropertySignature",
|
|
13794
14554
|
"canonicalReference": "@alloy-js/core!SourceFileProps#path:member",
|
|
@@ -13819,7 +14579,7 @@
|
|
|
13819
14579
|
{
|
|
13820
14580
|
"kind": "PropertySignature",
|
|
13821
14581
|
"canonicalReference": "@alloy-js/core!SourceFileProps#reference:member",
|
|
13822
|
-
"docComment": "/**\n * The component to use to render refkeys references within the file's contents.\n */\n",
|
|
14582
|
+
"docComment": "/**\n * The component to use to render refkeys references within the file's\n * contents.\n */\n",
|
|
13823
14583
|
"excerptTokens": [
|
|
13824
14584
|
{
|
|
13825
14585
|
"kind": "Content",
|
|
@@ -14184,36 +14944,87 @@
|
|
|
14184
14944
|
"kind": "Content",
|
|
14185
14945
|
"text": "): "
|
|
14186
14946
|
},
|
|
14187
|
-
{
|
|
14188
|
-
"kind": "Content",
|
|
14189
|
-
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
14190
|
-
},
|
|
14191
14947
|
{
|
|
14192
14948
|
"kind": "Reference",
|
|
14193
|
-
"text": "
|
|
14194
|
-
"canonicalReference": "!
|
|
14949
|
+
"text": "StcSignature",
|
|
14950
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type"
|
|
14195
14951
|
},
|
|
14196
14952
|
{
|
|
14197
14953
|
"kind": "Content",
|
|
14198
|
-
"text": "<T
|
|
14954
|
+
"text": "<T>"
|
|
14199
14955
|
},
|
|
14200
14956
|
{
|
|
14201
|
-
"kind": "
|
|
14202
|
-
"text": "
|
|
14203
|
-
|
|
14957
|
+
"kind": "Content",
|
|
14958
|
+
"text": ";"
|
|
14959
|
+
}
|
|
14960
|
+
],
|
|
14961
|
+
"fileUrlPath": "src/stc.ts",
|
|
14962
|
+
"returnTypeTokenRange": {
|
|
14963
|
+
"startIndex": 6,
|
|
14964
|
+
"endIndex": 8
|
|
14965
|
+
},
|
|
14966
|
+
"releaseTag": "Public",
|
|
14967
|
+
"overloadIndex": 1,
|
|
14968
|
+
"parameters": [
|
|
14969
|
+
{
|
|
14970
|
+
"parameterName": "Component",
|
|
14971
|
+
"parameterTypeTokenRange": {
|
|
14972
|
+
"startIndex": 3,
|
|
14973
|
+
"endIndex": 5
|
|
14974
|
+
},
|
|
14975
|
+
"isOptional": false
|
|
14976
|
+
}
|
|
14977
|
+
],
|
|
14978
|
+
"typeParameters": [
|
|
14979
|
+
{
|
|
14980
|
+
"typeParameterName": "T",
|
|
14981
|
+
"constraintTokenRange": {
|
|
14982
|
+
"startIndex": 1,
|
|
14983
|
+
"endIndex": 2
|
|
14984
|
+
},
|
|
14985
|
+
"defaultTypeTokenRange": {
|
|
14986
|
+
"startIndex": 0,
|
|
14987
|
+
"endIndex": 0
|
|
14988
|
+
}
|
|
14989
|
+
}
|
|
14990
|
+
],
|
|
14991
|
+
"name": "stc"
|
|
14992
|
+
},
|
|
14993
|
+
{
|
|
14994
|
+
"kind": "TypeAlias",
|
|
14995
|
+
"canonicalReference": "@alloy-js/core!StcComponentCreator:type",
|
|
14996
|
+
"docComment": "",
|
|
14997
|
+
"excerptTokens": [
|
|
14998
|
+
{
|
|
14999
|
+
"kind": "Content",
|
|
15000
|
+
"text": "export type StcComponentCreator<T> = "
|
|
15001
|
+
},
|
|
15002
|
+
{
|
|
15003
|
+
"kind": "Reference",
|
|
15004
|
+
"text": "ComponentCreator",
|
|
15005
|
+
"canonicalReference": "@alloy-js/core!ComponentCreator:interface"
|
|
14204
15006
|
},
|
|
14205
15007
|
{
|
|
14206
15008
|
"kind": "Content",
|
|
14207
|
-
"text": "<T>
|
|
15009
|
+
"text": "<T> & {\n code(template: "
|
|
14208
15010
|
},
|
|
14209
15011
|
{
|
|
14210
15012
|
"kind": "Reference",
|
|
14211
|
-
"text": "
|
|
14212
|
-
"canonicalReference": "
|
|
15013
|
+
"text": "TemplateStringsArray",
|
|
15014
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
14213
15015
|
},
|
|
14214
15016
|
{
|
|
14215
15017
|
"kind": "Content",
|
|
14216
|
-
"text": "
|
|
15018
|
+
"text": ", ...substitutions: "
|
|
15019
|
+
},
|
|
15020
|
+
{
|
|
15021
|
+
"kind": "Reference",
|
|
15022
|
+
"text": "Children",
|
|
15023
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15024
|
+
},
|
|
15025
|
+
{
|
|
15026
|
+
"kind": "Content",
|
|
15027
|
+
"text": "[]): "
|
|
14217
15028
|
},
|
|
14218
15029
|
{
|
|
14219
15030
|
"kind": "Reference",
|
|
@@ -14222,7 +15033,7 @@
|
|
|
14222
15033
|
},
|
|
14223
15034
|
{
|
|
14224
15035
|
"kind": "Content",
|
|
14225
|
-
"text": "<T
|
|
15036
|
+
"text": "<T>;\n text(template: "
|
|
14226
15037
|
},
|
|
14227
15038
|
{
|
|
14228
15039
|
"kind": "Reference",
|
|
@@ -14275,22 +15086,91 @@
|
|
|
14275
15086
|
}
|
|
14276
15087
|
],
|
|
14277
15088
|
"fileUrlPath": "src/stc.ts",
|
|
14278
|
-
"returnTypeTokenRange": {
|
|
14279
|
-
"startIndex": 6,
|
|
14280
|
-
"endIndex": 25
|
|
14281
|
-
},
|
|
14282
15089
|
"releaseTag": "Public",
|
|
14283
|
-
"
|
|
14284
|
-
"
|
|
15090
|
+
"name": "StcComponentCreator",
|
|
15091
|
+
"typeParameters": [
|
|
14285
15092
|
{
|
|
14286
|
-
"
|
|
14287
|
-
"
|
|
14288
|
-
"startIndex":
|
|
14289
|
-
"endIndex":
|
|
15093
|
+
"typeParameterName": "T",
|
|
15094
|
+
"constraintTokenRange": {
|
|
15095
|
+
"startIndex": 0,
|
|
15096
|
+
"endIndex": 0
|
|
14290
15097
|
},
|
|
14291
|
-
"
|
|
15098
|
+
"defaultTypeTokenRange": {
|
|
15099
|
+
"startIndex": 0,
|
|
15100
|
+
"endIndex": 0
|
|
15101
|
+
}
|
|
14292
15102
|
}
|
|
14293
15103
|
],
|
|
15104
|
+
"typeTokenRange": {
|
|
15105
|
+
"startIndex": 1,
|
|
15106
|
+
"endIndex": 19
|
|
15107
|
+
}
|
|
15108
|
+
},
|
|
15109
|
+
{
|
|
15110
|
+
"kind": "TypeAlias",
|
|
15111
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type",
|
|
15112
|
+
"docComment": "",
|
|
15113
|
+
"excerptTokens": [
|
|
15114
|
+
{
|
|
15115
|
+
"kind": "Content",
|
|
15116
|
+
"text": "export type StcSignature<T extends "
|
|
15117
|
+
},
|
|
15118
|
+
{
|
|
15119
|
+
"kind": "Content",
|
|
15120
|
+
"text": "{}"
|
|
15121
|
+
},
|
|
15122
|
+
{
|
|
15123
|
+
"kind": "Content",
|
|
15124
|
+
"text": "> = "
|
|
15125
|
+
},
|
|
15126
|
+
{
|
|
15127
|
+
"kind": "Content",
|
|
15128
|
+
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
15129
|
+
},
|
|
15130
|
+
{
|
|
15131
|
+
"kind": "Reference",
|
|
15132
|
+
"text": "Omit",
|
|
15133
|
+
"canonicalReference": "!Omit:type"
|
|
15134
|
+
},
|
|
15135
|
+
{
|
|
15136
|
+
"kind": "Content",
|
|
15137
|
+
"text": "<T, \"children\"> ? [props?: "
|
|
15138
|
+
},
|
|
15139
|
+
{
|
|
15140
|
+
"kind": "Reference",
|
|
15141
|
+
"text": "MakeChildrenOptional",
|
|
15142
|
+
"canonicalReference": "@alloy-js/core!MakeChildrenOptional:type"
|
|
15143
|
+
},
|
|
15144
|
+
{
|
|
15145
|
+
"kind": "Content",
|
|
15146
|
+
"text": "<T>] : [props: "
|
|
15147
|
+
},
|
|
15148
|
+
{
|
|
15149
|
+
"kind": "Reference",
|
|
15150
|
+
"text": "MakeChildrenOptional",
|
|
15151
|
+
"canonicalReference": "@alloy-js/core!MakeChildrenOptional:type"
|
|
15152
|
+
},
|
|
15153
|
+
{
|
|
15154
|
+
"kind": "Content",
|
|
15155
|
+
"text": "<T>]) => "
|
|
15156
|
+
},
|
|
15157
|
+
{
|
|
15158
|
+
"kind": "Reference",
|
|
15159
|
+
"text": "StcComponentCreator",
|
|
15160
|
+
"canonicalReference": "@alloy-js/core!StcComponentCreator:type"
|
|
15161
|
+
},
|
|
15162
|
+
{
|
|
15163
|
+
"kind": "Content",
|
|
15164
|
+
"text": "<T>"
|
|
15165
|
+
},
|
|
15166
|
+
{
|
|
15167
|
+
"kind": "Content",
|
|
15168
|
+
"text": ";"
|
|
15169
|
+
}
|
|
15170
|
+
],
|
|
15171
|
+
"fileUrlPath": "src/stc.ts",
|
|
15172
|
+
"releaseTag": "Public",
|
|
15173
|
+
"name": "StcSignature",
|
|
14294
15174
|
"typeParameters": [
|
|
14295
15175
|
{
|
|
14296
15176
|
"typeParameterName": "T",
|
|
@@ -14304,7 +15184,10 @@
|
|
|
14304
15184
|
}
|
|
14305
15185
|
}
|
|
14306
15186
|
],
|
|
14307
|
-
"
|
|
15187
|
+
"typeTokenRange": {
|
|
15188
|
+
"startIndex": 3,
|
|
15189
|
+
"endIndex": 12
|
|
15190
|
+
}
|
|
14308
15191
|
},
|
|
14309
15192
|
{
|
|
14310
15193
|
"kind": "Function",
|
|
@@ -14336,27 +15219,64 @@
|
|
|
14336
15219
|
"kind": "Content",
|
|
14337
15220
|
"text": "): "
|
|
14338
15221
|
},
|
|
14339
|
-
{
|
|
14340
|
-
"kind": "Content",
|
|
14341
|
-
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
14342
|
-
},
|
|
14343
15222
|
{
|
|
14344
15223
|
"kind": "Reference",
|
|
14345
|
-
"text": "
|
|
14346
|
-
"canonicalReference": "!
|
|
15224
|
+
"text": "StiSignature",
|
|
15225
|
+
"canonicalReference": "@alloy-js/core!StiSignature:type"
|
|
14347
15226
|
},
|
|
14348
15227
|
{
|
|
14349
15228
|
"kind": "Content",
|
|
14350
|
-
"text": "<"
|
|
15229
|
+
"text": "<T>"
|
|
14351
15230
|
},
|
|
14352
15231
|
{
|
|
14353
|
-
"kind": "
|
|
14354
|
-
"text": "
|
|
14355
|
-
|
|
15232
|
+
"kind": "Content",
|
|
15233
|
+
"text": ";"
|
|
15234
|
+
}
|
|
15235
|
+
],
|
|
15236
|
+
"fileUrlPath": "src/sti.ts",
|
|
15237
|
+
"returnTypeTokenRange": {
|
|
15238
|
+
"startIndex": 6,
|
|
15239
|
+
"endIndex": 8
|
|
15240
|
+
},
|
|
15241
|
+
"releaseTag": "Public",
|
|
15242
|
+
"overloadIndex": 1,
|
|
15243
|
+
"parameters": [
|
|
15244
|
+
{
|
|
15245
|
+
"parameterName": "name",
|
|
15246
|
+
"parameterTypeTokenRange": {
|
|
15247
|
+
"startIndex": 4,
|
|
15248
|
+
"endIndex": 5
|
|
15249
|
+
},
|
|
15250
|
+
"isOptional": false
|
|
15251
|
+
}
|
|
15252
|
+
],
|
|
15253
|
+
"typeParameters": [
|
|
15254
|
+
{
|
|
15255
|
+
"typeParameterName": "T",
|
|
15256
|
+
"constraintTokenRange": {
|
|
15257
|
+
"startIndex": 1,
|
|
15258
|
+
"endIndex": 3
|
|
15259
|
+
},
|
|
15260
|
+
"defaultTypeTokenRange": {
|
|
15261
|
+
"startIndex": 0,
|
|
15262
|
+
"endIndex": 0
|
|
15263
|
+
}
|
|
15264
|
+
}
|
|
15265
|
+
],
|
|
15266
|
+
"name": "sti"
|
|
15267
|
+
},
|
|
15268
|
+
{
|
|
15269
|
+
"kind": "TypeAlias",
|
|
15270
|
+
"canonicalReference": "@alloy-js/core!StiComponentCreator:type",
|
|
15271
|
+
"docComment": "",
|
|
15272
|
+
"excerptTokens": [
|
|
15273
|
+
{
|
|
15274
|
+
"kind": "Content",
|
|
15275
|
+
"text": "export type StiComponentCreator<T extends "
|
|
14356
15276
|
},
|
|
14357
15277
|
{
|
|
14358
15278
|
"kind": "Content",
|
|
14359
|
-
"text": "
|
|
15279
|
+
"text": "keyof "
|
|
14360
15280
|
},
|
|
14361
15281
|
{
|
|
14362
15282
|
"kind": "Reference",
|
|
@@ -14365,25 +15285,29 @@
|
|
|
14365
15285
|
},
|
|
14366
15286
|
{
|
|
14367
15287
|
"kind": "Content",
|
|
14368
|
-
"text": "
|
|
15288
|
+
"text": "> = "
|
|
15289
|
+
},
|
|
15290
|
+
{
|
|
15291
|
+
"kind": "Content",
|
|
15292
|
+
"text": "(() => "
|
|
14369
15293
|
},
|
|
14370
15294
|
{
|
|
14371
15295
|
"kind": "Reference",
|
|
14372
|
-
"text": "
|
|
14373
|
-
"canonicalReference": "@alloy-js/core!
|
|
15296
|
+
"text": "IntrinsicElementBase",
|
|
15297
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
|
|
14374
15298
|
},
|
|
14375
15299
|
{
|
|
14376
15300
|
"kind": "Content",
|
|
14377
|
-
"text": "
|
|
15301
|
+
"text": "<T>) & {\n code(template: "
|
|
14378
15302
|
},
|
|
14379
15303
|
{
|
|
14380
15304
|
"kind": "Reference",
|
|
14381
|
-
"text": "
|
|
14382
|
-
"canonicalReference": "
|
|
15305
|
+
"text": "TemplateStringsArray",
|
|
15306
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
14383
15307
|
},
|
|
14384
15308
|
{
|
|
14385
15309
|
"kind": "Content",
|
|
14386
|
-
"text": "
|
|
15310
|
+
"text": ", ...substitutions: "
|
|
14387
15311
|
},
|
|
14388
15312
|
{
|
|
14389
15313
|
"kind": "Reference",
|
|
@@ -14392,7 +15316,7 @@
|
|
|
14392
15316
|
},
|
|
14393
15317
|
{
|
|
14394
15318
|
"kind": "Content",
|
|
14395
|
-
"text": "[]): (
|
|
15319
|
+
"text": "[]): () => "
|
|
14396
15320
|
},
|
|
14397
15321
|
{
|
|
14398
15322
|
"kind": "Reference",
|
|
@@ -14401,7 +15325,7 @@
|
|
|
14401
15325
|
},
|
|
14402
15326
|
{
|
|
14403
15327
|
"kind": "Content",
|
|
14404
|
-
"text": "<T
|
|
15328
|
+
"text": "<T>;\n text(template: "
|
|
14405
15329
|
},
|
|
14406
15330
|
{
|
|
14407
15331
|
"kind": "Reference",
|
|
@@ -14419,7 +15343,25 @@
|
|
|
14419
15343
|
},
|
|
14420
15344
|
{
|
|
14421
15345
|
"kind": "Content",
|
|
14422
|
-
"text": "[]): (
|
|
15346
|
+
"text": "[]): () => "
|
|
15347
|
+
},
|
|
15348
|
+
{
|
|
15349
|
+
"kind": "Reference",
|
|
15350
|
+
"text": "IntrinsicElementBase",
|
|
15351
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
|
|
15352
|
+
},
|
|
15353
|
+
{
|
|
15354
|
+
"kind": "Content",
|
|
15355
|
+
"text": "<T>;\n children(...children: "
|
|
15356
|
+
},
|
|
15357
|
+
{
|
|
15358
|
+
"kind": "Reference",
|
|
15359
|
+
"text": "Children",
|
|
15360
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15361
|
+
},
|
|
15362
|
+
{
|
|
15363
|
+
"kind": "Content",
|
|
15364
|
+
"text": "[]): () => "
|
|
14423
15365
|
},
|
|
14424
15366
|
{
|
|
14425
15367
|
"kind": "Reference",
|
|
@@ -14428,30 +15370,113 @@
|
|
|
14428
15370
|
},
|
|
14429
15371
|
{
|
|
14430
15372
|
"kind": "Content",
|
|
14431
|
-
"text": "<T
|
|
15373
|
+
"text": "<T>;\n}"
|
|
14432
15374
|
},
|
|
14433
15375
|
{
|
|
14434
15376
|
"kind": "Content",
|
|
14435
15377
|
"text": ";"
|
|
14436
15378
|
}
|
|
14437
15379
|
],
|
|
14438
|
-
"fileUrlPath": "src/
|
|
14439
|
-
"returnTypeTokenRange": {
|
|
14440
|
-
"startIndex": 6,
|
|
14441
|
-
"endIndex": 27
|
|
14442
|
-
},
|
|
15380
|
+
"fileUrlPath": "src/sti.ts",
|
|
14443
15381
|
"releaseTag": "Public",
|
|
14444
|
-
"
|
|
14445
|
-
"
|
|
15382
|
+
"name": "StiComponentCreator",
|
|
15383
|
+
"typeParameters": [
|
|
14446
15384
|
{
|
|
14447
|
-
"
|
|
14448
|
-
"
|
|
14449
|
-
"startIndex":
|
|
14450
|
-
"endIndex":
|
|
15385
|
+
"typeParameterName": "T",
|
|
15386
|
+
"constraintTokenRange": {
|
|
15387
|
+
"startIndex": 1,
|
|
15388
|
+
"endIndex": 3
|
|
14451
15389
|
},
|
|
14452
|
-
"
|
|
15390
|
+
"defaultTypeTokenRange": {
|
|
15391
|
+
"startIndex": 0,
|
|
15392
|
+
"endIndex": 0
|
|
15393
|
+
}
|
|
14453
15394
|
}
|
|
14454
15395
|
],
|
|
15396
|
+
"typeTokenRange": {
|
|
15397
|
+
"startIndex": 4,
|
|
15398
|
+
"endIndex": 23
|
|
15399
|
+
}
|
|
15400
|
+
},
|
|
15401
|
+
{
|
|
15402
|
+
"kind": "TypeAlias",
|
|
15403
|
+
"canonicalReference": "@alloy-js/core!StiSignature:type",
|
|
15404
|
+
"docComment": "",
|
|
15405
|
+
"excerptTokens": [
|
|
15406
|
+
{
|
|
15407
|
+
"kind": "Content",
|
|
15408
|
+
"text": "export type StiSignature<T extends "
|
|
15409
|
+
},
|
|
15410
|
+
{
|
|
15411
|
+
"kind": "Content",
|
|
15412
|
+
"text": "keyof "
|
|
15413
|
+
},
|
|
15414
|
+
{
|
|
15415
|
+
"kind": "Reference",
|
|
15416
|
+
"text": "JSX.IntrinsicElements",
|
|
15417
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15418
|
+
},
|
|
15419
|
+
{
|
|
15420
|
+
"kind": "Content",
|
|
15421
|
+
"text": "> = "
|
|
15422
|
+
},
|
|
15423
|
+
{
|
|
15424
|
+
"kind": "Content",
|
|
15425
|
+
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
15426
|
+
},
|
|
15427
|
+
{
|
|
15428
|
+
"kind": "Reference",
|
|
15429
|
+
"text": "Omit",
|
|
15430
|
+
"canonicalReference": "!Omit:type"
|
|
15431
|
+
},
|
|
15432
|
+
{
|
|
15433
|
+
"kind": "Content",
|
|
15434
|
+
"text": "<"
|
|
15435
|
+
},
|
|
15436
|
+
{
|
|
15437
|
+
"kind": "Reference",
|
|
15438
|
+
"text": "JSX.IntrinsicElements",
|
|
15439
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15440
|
+
},
|
|
15441
|
+
{
|
|
15442
|
+
"kind": "Content",
|
|
15443
|
+
"text": "[T], \"children\"> ? [\n props?: "
|
|
15444
|
+
},
|
|
15445
|
+
{
|
|
15446
|
+
"kind": "Reference",
|
|
15447
|
+
"text": "JSX.IntrinsicElements",
|
|
15448
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15449
|
+
},
|
|
15450
|
+
{
|
|
15451
|
+
"kind": "Content",
|
|
15452
|
+
"text": "[T]\n] : [props: "
|
|
15453
|
+
},
|
|
15454
|
+
{
|
|
15455
|
+
"kind": "Reference",
|
|
15456
|
+
"text": "JSX.IntrinsicElements",
|
|
15457
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15458
|
+
},
|
|
15459
|
+
{
|
|
15460
|
+
"kind": "Content",
|
|
15461
|
+
"text": "[T]]) => "
|
|
15462
|
+
},
|
|
15463
|
+
{
|
|
15464
|
+
"kind": "Reference",
|
|
15465
|
+
"text": "StiComponentCreator",
|
|
15466
|
+
"canonicalReference": "@alloy-js/core!StiComponentCreator:type"
|
|
15467
|
+
},
|
|
15468
|
+
{
|
|
15469
|
+
"kind": "Content",
|
|
15470
|
+
"text": "<T>"
|
|
15471
|
+
},
|
|
15472
|
+
{
|
|
15473
|
+
"kind": "Content",
|
|
15474
|
+
"text": ";"
|
|
15475
|
+
}
|
|
15476
|
+
],
|
|
15477
|
+
"fileUrlPath": "src/sti.ts",
|
|
15478
|
+
"releaseTag": "Public",
|
|
15479
|
+
"name": "StiSignature",
|
|
14455
15480
|
"typeParameters": [
|
|
14456
15481
|
{
|
|
14457
15482
|
"typeParameterName": "T",
|
|
@@ -14465,12 +15490,15 @@
|
|
|
14465
15490
|
}
|
|
14466
15491
|
}
|
|
14467
15492
|
],
|
|
14468
|
-
"
|
|
15493
|
+
"typeTokenRange": {
|
|
15494
|
+
"startIndex": 4,
|
|
15495
|
+
"endIndex": 15
|
|
15496
|
+
}
|
|
14469
15497
|
},
|
|
14470
15498
|
{
|
|
14471
15499
|
"kind": "Function",
|
|
14472
15500
|
"canonicalReference": "@alloy-js/core!Switch:function(1)",
|
|
14473
|
-
"docComment": "/**\n * Conditionally render blocks of content based on the `when` prop of nested {@link Match} components.\n *\n * @example\n * ```tsx\n * <Switch>\n * <Match when={someCondition}>\n * <div>Condition met!</div>\n * </Match>\n * <Match else>\n * <div>Condition not met!</div>\n * </Match>\n * </Switch>\n * ```\n *\n */\n",
|
|
15501
|
+
"docComment": "/**\n * Conditionally render blocks of content based on the `when` prop of nested\n * {@link Match} components.\n *\n * @example\n *\n *\n *\n * ```tsx\n * <Switch>\n * <Match when={someCondition}>\n * <div>Condition met!</div>\n * </Match>\n * <Match else>\n * <div>Condition not met!</div>\n * </Match>\n * </Switch>\n * ```\n *\n */\n",
|
|
14474
15502
|
"excerptTokens": [
|
|
14475
15503
|
{
|
|
14476
15504
|
"kind": "Content",
|
|
@@ -14728,7 +15756,7 @@
|
|
|
14728
15756
|
{
|
|
14729
15757
|
"kind": "Interface",
|
|
14730
15758
|
"canonicalReference": "@alloy-js/core!Tap:interface",
|
|
14731
|
-
"docComment": "",
|
|
15759
|
+
"docComment": "/**\n * The return value of {@link createTap}, this holds a reference to the tapped\n * value. It will be undefined until the tapped value is initialized.\n */\n",
|
|
14732
15760
|
"excerptTokens": [
|
|
14733
15761
|
{
|
|
14734
15762
|
"kind": "Content",
|
|
@@ -14765,7 +15793,7 @@
|
|
|
14765
15793
|
{
|
|
14766
15794
|
"kind": "PropertySignature",
|
|
14767
15795
|
"canonicalReference": "@alloy-js/core!Tap#ref:member",
|
|
14768
|
-
"docComment": "",
|
|
15796
|
+
"docComment": "/**\n * Ref for the tapped value\n */\n",
|
|
14769
15797
|
"excerptTokens": [
|
|
14770
15798
|
{
|
|
14771
15799
|
"kind": "Content",
|
|
@@ -14802,10 +15830,84 @@
|
|
|
14802
15830
|
}
|
|
14803
15831
|
]
|
|
14804
15832
|
},
|
|
15833
|
+
{
|
|
15834
|
+
"kind": "Interface",
|
|
15835
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface",
|
|
15836
|
+
"docComment": "/**\n * A function that is called when the tapped value is available.\n */\n",
|
|
15837
|
+
"excerptTokens": [
|
|
15838
|
+
{
|
|
15839
|
+
"kind": "Content",
|
|
15840
|
+
"text": "export interface TapHandler<T> "
|
|
15841
|
+
}
|
|
15842
|
+
],
|
|
15843
|
+
"fileUrlPath": "src/tap.ts",
|
|
15844
|
+
"releaseTag": "Public",
|
|
15845
|
+
"typeParameters": [
|
|
15846
|
+
{
|
|
15847
|
+
"typeParameterName": "T",
|
|
15848
|
+
"constraintTokenRange": {
|
|
15849
|
+
"startIndex": 0,
|
|
15850
|
+
"endIndex": 0
|
|
15851
|
+
},
|
|
15852
|
+
"defaultTypeTokenRange": {
|
|
15853
|
+
"startIndex": 0,
|
|
15854
|
+
"endIndex": 0
|
|
15855
|
+
}
|
|
15856
|
+
}
|
|
15857
|
+
],
|
|
15858
|
+
"name": "TapHandler",
|
|
15859
|
+
"preserveMemberOrder": false,
|
|
15860
|
+
"members": [
|
|
15861
|
+
{
|
|
15862
|
+
"kind": "CallSignature",
|
|
15863
|
+
"canonicalReference": "@alloy-js/core!TapHandler:call(1)",
|
|
15864
|
+
"docComment": "",
|
|
15865
|
+
"excerptTokens": [
|
|
15866
|
+
{
|
|
15867
|
+
"kind": "Content",
|
|
15868
|
+
"text": "(value: "
|
|
15869
|
+
},
|
|
15870
|
+
{
|
|
15871
|
+
"kind": "Content",
|
|
15872
|
+
"text": "T"
|
|
15873
|
+
},
|
|
15874
|
+
{
|
|
15875
|
+
"kind": "Content",
|
|
15876
|
+
"text": "): "
|
|
15877
|
+
},
|
|
15878
|
+
{
|
|
15879
|
+
"kind": "Content",
|
|
15880
|
+
"text": "void"
|
|
15881
|
+
},
|
|
15882
|
+
{
|
|
15883
|
+
"kind": "Content",
|
|
15884
|
+
"text": ";"
|
|
15885
|
+
}
|
|
15886
|
+
],
|
|
15887
|
+
"returnTypeTokenRange": {
|
|
15888
|
+
"startIndex": 3,
|
|
15889
|
+
"endIndex": 4
|
|
15890
|
+
},
|
|
15891
|
+
"releaseTag": "Public",
|
|
15892
|
+
"overloadIndex": 1,
|
|
15893
|
+
"parameters": [
|
|
15894
|
+
{
|
|
15895
|
+
"parameterName": "value",
|
|
15896
|
+
"parameterTypeTokenRange": {
|
|
15897
|
+
"startIndex": 1,
|
|
15898
|
+
"endIndex": 2
|
|
15899
|
+
},
|
|
15900
|
+
"isOptional": false
|
|
15901
|
+
}
|
|
15902
|
+
]
|
|
15903
|
+
}
|
|
15904
|
+
],
|
|
15905
|
+
"extendsTokenRanges": []
|
|
15906
|
+
},
|
|
14805
15907
|
{
|
|
14806
15908
|
"kind": "Interface",
|
|
14807
15909
|
"canonicalReference": "@alloy-js/core!Tapper:interface",
|
|
14808
|
-
"docComment": "",
|
|
15910
|
+
"docComment": "/**\n * A function called when the Tap is rendered.\n *\n * @returns The tapped value.\n */\n",
|
|
14809
15911
|
"excerptTokens": [
|
|
14810
15912
|
{
|
|
14811
15913
|
"kind": "Content",
|
|
@@ -14859,10 +15961,78 @@
|
|
|
14859
15961
|
],
|
|
14860
15962
|
"extendsTokenRanges": []
|
|
14861
15963
|
},
|
|
15964
|
+
{
|
|
15965
|
+
"kind": "Function",
|
|
15966
|
+
"canonicalReference": "@alloy-js/core!text:function(1)",
|
|
15967
|
+
"docComment": "",
|
|
15968
|
+
"excerptTokens": [
|
|
15969
|
+
{
|
|
15970
|
+
"kind": "Content",
|
|
15971
|
+
"text": "export declare function text(template: "
|
|
15972
|
+
},
|
|
15973
|
+
{
|
|
15974
|
+
"kind": "Reference",
|
|
15975
|
+
"text": "TemplateStringsArray",
|
|
15976
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
15977
|
+
},
|
|
15978
|
+
{
|
|
15979
|
+
"kind": "Content",
|
|
15980
|
+
"text": ", ...substitutions: "
|
|
15981
|
+
},
|
|
15982
|
+
{
|
|
15983
|
+
"kind": "Reference",
|
|
15984
|
+
"text": "Children",
|
|
15985
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15986
|
+
},
|
|
15987
|
+
{
|
|
15988
|
+
"kind": "Content",
|
|
15989
|
+
"text": "[]"
|
|
15990
|
+
},
|
|
15991
|
+
{
|
|
15992
|
+
"kind": "Content",
|
|
15993
|
+
"text": "): "
|
|
15994
|
+
},
|
|
15995
|
+
{
|
|
15996
|
+
"kind": "Reference",
|
|
15997
|
+
"text": "Children",
|
|
15998
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15999
|
+
},
|
|
16000
|
+
{
|
|
16001
|
+
"kind": "Content",
|
|
16002
|
+
"text": ";"
|
|
16003
|
+
}
|
|
16004
|
+
],
|
|
16005
|
+
"fileUrlPath": "src/code.ts",
|
|
16006
|
+
"returnTypeTokenRange": {
|
|
16007
|
+
"startIndex": 6,
|
|
16008
|
+
"endIndex": 7
|
|
16009
|
+
},
|
|
16010
|
+
"releaseTag": "Public",
|
|
16011
|
+
"overloadIndex": 1,
|
|
16012
|
+
"parameters": [
|
|
16013
|
+
{
|
|
16014
|
+
"parameterName": "template",
|
|
16015
|
+
"parameterTypeTokenRange": {
|
|
16016
|
+
"startIndex": 1,
|
|
16017
|
+
"endIndex": 2
|
|
16018
|
+
},
|
|
16019
|
+
"isOptional": false
|
|
16020
|
+
},
|
|
16021
|
+
{
|
|
16022
|
+
"parameterName": "substitutions",
|
|
16023
|
+
"parameterTypeTokenRange": {
|
|
16024
|
+
"startIndex": 3,
|
|
16025
|
+
"endIndex": 5
|
|
16026
|
+
},
|
|
16027
|
+
"isOptional": false
|
|
16028
|
+
}
|
|
16029
|
+
],
|
|
16030
|
+
"name": "text"
|
|
16031
|
+
},
|
|
14862
16032
|
{
|
|
14863
16033
|
"kind": "Function",
|
|
14864
16034
|
"canonicalReference": "@alloy-js/core!traverseOutput:function(1)",
|
|
14865
|
-
"docComment": "/**\n * Traverse the output from {@link render} and call the visitor for each file and directory within it.\n *\n * @param sourceDirectory - The root directory to traverse.\n *\n * @param visitor - The visitor to call for each file and directory.\n */\n",
|
|
16035
|
+
"docComment": "/**\n * Traverse the output from {@link render} and call the visitor for each\n * file and directory within it.\n *\n * @param sourceDirectory - The root directory to traverse.\n *\n * @param visitor - The visitor to call for each file and directory.\n */\n",
|
|
14866
16036
|
"excerptTokens": [
|
|
14867
16037
|
{
|
|
14868
16038
|
"kind": "Content",
|
|
@@ -14895,7 +16065,7 @@
|
|
|
14895
16065
|
"text": ";"
|
|
14896
16066
|
}
|
|
14897
16067
|
],
|
|
14898
|
-
"fileUrlPath": "src/utils.
|
|
16068
|
+
"fileUrlPath": "src/utils.tsx",
|
|
14899
16069
|
"returnTypeTokenRange": {
|
|
14900
16070
|
"startIndex": 5,
|
|
14901
16071
|
"endIndex": 6
|
|
@@ -15075,7 +16245,7 @@
|
|
|
15075
16245
|
{
|
|
15076
16246
|
"kind": "Function",
|
|
15077
16247
|
"canonicalReference": "@alloy-js/core!useDefaultScope:function(1)",
|
|
15078
|
-
"docComment": "/**\n * Use symbol flags to determine the scope in which a symbol with those flags should be declared given the current context.\n *\n * @param flags - The symbol flags to use to determine the default scope.\n *\n * @returns
|
|
16248
|
+
"docComment": "/**\n * Use symbol flags to determine the scope in which a symbol with those flags\n * should be declared given the current context.\n *\n * @param flags - The symbol flags to use to determine the default scope.\n *\n * @returns an {@link OutputScope} that is the default scope for the given\n * flags.\n */\n",
|
|
15079
16249
|
"excerptTokens": [
|
|
15080
16250
|
{
|
|
15081
16251
|
"kind": "Content",
|
|
@@ -15250,7 +16420,7 @@
|
|
|
15250
16420
|
{
|
|
15251
16421
|
"kind": "Function",
|
|
15252
16422
|
"canonicalReference": "@alloy-js/core!Wrap:function(1)",
|
|
15253
|
-
"docComment": "/**\n * Conditionally wrap the children of this component with the component given to `with` and passing `props` to it.\n */\n",
|
|
16423
|
+
"docComment": "/**\n * Conditionally wrap the children of this component with the component given to\n * `with` and passing `props` to it.\n */\n",
|
|
15254
16424
|
"excerptTokens": [
|
|
15255
16425
|
{
|
|
15256
16426
|
"kind": "Content",
|
|
@@ -15402,7 +16572,7 @@
|
|
|
15402
16572
|
{
|
|
15403
16573
|
"kind": "PropertySignature",
|
|
15404
16574
|
"canonicalReference": "@alloy-js/core!WrapProps#when:member",
|
|
15405
|
-
"docComment": "/**\n * When true, the children will be wrapped with the provided component
|
|
16575
|
+
"docComment": "/**\n * When true, the children will be wrapped with the provided component.\n * Otherwise, the children will be rendered as is.\n */\n",
|
|
15406
16576
|
"excerptTokens": [
|
|
15407
16577
|
{
|
|
15408
16578
|
"kind": "Content",
|
|
@@ -15464,7 +16634,7 @@
|
|
|
15464
16634
|
{
|
|
15465
16635
|
"kind": "Function",
|
|
15466
16636
|
"canonicalReference": "@alloy-js/core!writeOutput:function(1)",
|
|
15467
|
-
"docComment": "/**\n * Write the output from {@link render} to the file system.\n */\n",
|
|
16637
|
+
"docComment": "/**\n * Write the output from {@link render} to the file system.\n *\n */\n",
|
|
15468
16638
|
"excerptTokens": [
|
|
15469
16639
|
{
|
|
15470
16640
|
"kind": "Content",
|