@alloy-js/core 0.23.0-dev.10 → 0.23.0-dev.9
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/dist/src/components/index.d.ts +0 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +0 -1
- package/dist/src/components/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/index.tsx +0 -1
- package/temp/api.json +0 -639
- package/dist/src/components/AccessExpression.d.ts +0 -78
- package/dist/src/components/AccessExpression.d.ts.map +0 -1
- package/dist/src/components/AccessExpression.js +0 -218
- package/dist/src/components/AccessExpression.js.map +0 -1
- package/dist/src/components/AccessExpression.test.d.ts +0 -2
- package/dist/src/components/AccessExpression.test.d.ts.map +0 -1
- package/dist/src/components/AccessExpression.test.js +0 -137
- package/dist/src/components/AccessExpression.test.js.map +0 -1
- package/src/components/AccessExpression.test.tsx +0 -132
- package/src/components/AccessExpression.tsx +0 -344
package/package.json
CHANGED
package/src/components/index.tsx
CHANGED
package/temp/api.json
CHANGED
|
@@ -138,448 +138,6 @@
|
|
|
138
138
|
"name": "",
|
|
139
139
|
"preserveMemberOrder": false,
|
|
140
140
|
"members": [
|
|
141
|
-
{
|
|
142
|
-
"kind": "Interface",
|
|
143
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig:interface",
|
|
144
|
-
"docComment": "/**\n * Configuration for creating a language-specific access expression component.\n *\n * @typeParam TPartProps - The Part component's props type (extends BasePartProps)\n *\n * @typeParam TPart - The descriptor type that formatPart receives\n */\n",
|
|
145
|
-
"excerptTokens": [
|
|
146
|
-
{
|
|
147
|
-
"kind": "Content",
|
|
148
|
-
"text": "export interface AccessExpressionConfig<TPartProps extends "
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"kind": "Reference",
|
|
152
|
-
"text": "BasePartProps",
|
|
153
|
-
"canonicalReference": "@alloy-js/core!BasePartProps:interface"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"kind": "Content",
|
|
157
|
-
"text": ", TPart> "
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"fileUrlPath": "src/components/AccessExpression.tsx",
|
|
161
|
-
"releaseTag": "Public",
|
|
162
|
-
"typeParameters": [
|
|
163
|
-
{
|
|
164
|
-
"typeParameterName": "TPartProps",
|
|
165
|
-
"constraintTokenRange": {
|
|
166
|
-
"startIndex": 1,
|
|
167
|
-
"endIndex": 2
|
|
168
|
-
},
|
|
169
|
-
"defaultTypeTokenRange": {
|
|
170
|
-
"startIndex": 0,
|
|
171
|
-
"endIndex": 0
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"typeParameterName": "TPart",
|
|
176
|
-
"constraintTokenRange": {
|
|
177
|
-
"startIndex": 0,
|
|
178
|
-
"endIndex": 0
|
|
179
|
-
},
|
|
180
|
-
"defaultTypeTokenRange": {
|
|
181
|
-
"startIndex": 0,
|
|
182
|
-
"endIndex": 0
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"name": "AccessExpressionConfig",
|
|
187
|
-
"preserveMemberOrder": false,
|
|
188
|
-
"members": [
|
|
189
|
-
{
|
|
190
|
-
"kind": "MethodSignature",
|
|
191
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#canUseCallChains:member(1)",
|
|
192
|
-
"docComment": "/**\n * Additional check for whether call chain formatting should be used.\n * Called only when `isCallPart` is provided and more than one call is detected.\n * Return false to force linear formatting (e.g., TypeScript disables call\n * chains when any part has `await`).\n * Defaults to `() => true`.\n */\n",
|
|
193
|
-
"excerptTokens": [
|
|
194
|
-
{
|
|
195
|
-
"kind": "Content",
|
|
196
|
-
"text": "canUseCallChains?(parts: "
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"kind": "Content",
|
|
200
|
-
"text": "TPart[]"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"kind": "Content",
|
|
204
|
-
"text": "): "
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"kind": "Content",
|
|
208
|
-
"text": "boolean"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"kind": "Content",
|
|
212
|
-
"text": ";"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"isOptional": true,
|
|
216
|
-
"returnTypeTokenRange": {
|
|
217
|
-
"startIndex": 3,
|
|
218
|
-
"endIndex": 4
|
|
219
|
-
},
|
|
220
|
-
"releaseTag": "Public",
|
|
221
|
-
"overloadIndex": 1,
|
|
222
|
-
"parameters": [
|
|
223
|
-
{
|
|
224
|
-
"parameterName": "parts",
|
|
225
|
-
"parameterTypeTokenRange": {
|
|
226
|
-
"startIndex": 1,
|
|
227
|
-
"endIndex": 2
|
|
228
|
-
},
|
|
229
|
-
"isOptional": false
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"name": "canUseCallChains"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"kind": "MethodSignature",
|
|
236
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#createDescriptor:member(1)",
|
|
237
|
-
"docComment": "/**\n * Convert Part props + resolved symbol into a plain descriptor object.\n * Called once per Part during children processing. The returned descriptor\n * is wrapped in a computed + getter delegation for reactive optimization.\n */\n",
|
|
238
|
-
"excerptTokens": [
|
|
239
|
-
{
|
|
240
|
-
"kind": "Content",
|
|
241
|
-
"text": "createDescriptor(props: "
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"kind": "Content",
|
|
245
|
-
"text": "TPartProps"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"kind": "Content",
|
|
249
|
-
"text": ", symbol: "
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"kind": "Reference",
|
|
253
|
-
"text": "OutputSymbol",
|
|
254
|
-
"canonicalReference": "@alloy-js/core!OutputSymbol:class"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"kind": "Content",
|
|
258
|
-
"text": " | undefined"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"kind": "Content",
|
|
262
|
-
"text": ", first: "
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"kind": "Content",
|
|
266
|
-
"text": "boolean"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "Content",
|
|
270
|
-
"text": "): "
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "Content",
|
|
274
|
-
"text": "TPart"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"kind": "Content",
|
|
278
|
-
"text": ";"
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
"isOptional": false,
|
|
282
|
-
"returnTypeTokenRange": {
|
|
283
|
-
"startIndex": 8,
|
|
284
|
-
"endIndex": 9
|
|
285
|
-
},
|
|
286
|
-
"releaseTag": "Public",
|
|
287
|
-
"overloadIndex": 1,
|
|
288
|
-
"parameters": [
|
|
289
|
-
{
|
|
290
|
-
"parameterName": "props",
|
|
291
|
-
"parameterTypeTokenRange": {
|
|
292
|
-
"startIndex": 1,
|
|
293
|
-
"endIndex": 2
|
|
294
|
-
},
|
|
295
|
-
"isOptional": false
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"parameterName": "symbol",
|
|
299
|
-
"parameterTypeTokenRange": {
|
|
300
|
-
"startIndex": 3,
|
|
301
|
-
"endIndex": 5
|
|
302
|
-
},
|
|
303
|
-
"isOptional": false
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"parameterName": "first",
|
|
307
|
-
"parameterTypeTokenRange": {
|
|
308
|
-
"startIndex": 6,
|
|
309
|
-
"endIndex": 7
|
|
310
|
-
},
|
|
311
|
-
"isOptional": false
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
"name": "createDescriptor"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"kind": "MethodSignature",
|
|
318
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#formatPart:member(1)",
|
|
319
|
-
"docComment": "/**\n * Format a non-first part given its descriptor and the previous part.\n * Returns JSX children for that segment (e.g., `.foo`, `?.bar`, `[idx]`, `(args)`).\n * `inCallChain` is true when rendering inside a chunked call chain.\n */\n",
|
|
320
|
-
"excerptTokens": [
|
|
321
|
-
{
|
|
322
|
-
"kind": "Content",
|
|
323
|
-
"text": "formatPart(part: "
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"kind": "Content",
|
|
327
|
-
"text": "TPart"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"kind": "Content",
|
|
331
|
-
"text": ", prevPart: "
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "Content",
|
|
335
|
-
"text": "TPart"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"kind": "Content",
|
|
339
|
-
"text": ", inCallChain: "
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"kind": "Content",
|
|
343
|
-
"text": "boolean"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"kind": "Content",
|
|
347
|
-
"text": "): "
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"kind": "Reference",
|
|
351
|
-
"text": "Children",
|
|
352
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"kind": "Content",
|
|
356
|
-
"text": ";"
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
"isOptional": false,
|
|
360
|
-
"returnTypeTokenRange": {
|
|
361
|
-
"startIndex": 7,
|
|
362
|
-
"endIndex": 8
|
|
363
|
-
},
|
|
364
|
-
"releaseTag": "Public",
|
|
365
|
-
"overloadIndex": 1,
|
|
366
|
-
"parameters": [
|
|
367
|
-
{
|
|
368
|
-
"parameterName": "part",
|
|
369
|
-
"parameterTypeTokenRange": {
|
|
370
|
-
"startIndex": 1,
|
|
371
|
-
"endIndex": 2
|
|
372
|
-
},
|
|
373
|
-
"isOptional": false
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"parameterName": "prevPart",
|
|
377
|
-
"parameterTypeTokenRange": {
|
|
378
|
-
"startIndex": 3,
|
|
379
|
-
"endIndex": 4
|
|
380
|
-
},
|
|
381
|
-
"isOptional": false
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"parameterName": "inCallChain",
|
|
385
|
-
"parameterTypeTokenRange": {
|
|
386
|
-
"startIndex": 5,
|
|
387
|
-
"endIndex": 6
|
|
388
|
-
},
|
|
389
|
-
"isOptional": false
|
|
390
|
-
}
|
|
391
|
-
],
|
|
392
|
-
"name": "formatPart"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"kind": "MethodSignature",
|
|
396
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#getBase:member(1)",
|
|
397
|
-
"docComment": "/**\n * Extract the base content from the first part (the leftmost identifier).\n */\n",
|
|
398
|
-
"excerptTokens": [
|
|
399
|
-
{
|
|
400
|
-
"kind": "Content",
|
|
401
|
-
"text": "getBase(part: "
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"kind": "Content",
|
|
405
|
-
"text": "TPart"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"kind": "Content",
|
|
409
|
-
"text": "): "
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"kind": "Reference",
|
|
413
|
-
"text": "Children",
|
|
414
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "Content",
|
|
418
|
-
"text": ";"
|
|
419
|
-
}
|
|
420
|
-
],
|
|
421
|
-
"isOptional": false,
|
|
422
|
-
"returnTypeTokenRange": {
|
|
423
|
-
"startIndex": 3,
|
|
424
|
-
"endIndex": 4
|
|
425
|
-
},
|
|
426
|
-
"releaseTag": "Public",
|
|
427
|
-
"overloadIndex": 1,
|
|
428
|
-
"parameters": [
|
|
429
|
-
{
|
|
430
|
-
"parameterName": "part",
|
|
431
|
-
"parameterTypeTokenRange": {
|
|
432
|
-
"startIndex": 1,
|
|
433
|
-
"endIndex": 2
|
|
434
|
-
},
|
|
435
|
-
"isOptional": false
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"name": "getBase"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"kind": "MethodSignature",
|
|
442
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#isCallPart:member(1)",
|
|
443
|
-
"docComment": "/**\n * Identify which parts are function calls, for call chain detection.\n * When provided, the factory uses the chunked call chain algorithm\n * (line breaks after each call group) when more than one call is detected.\n * When omitted, the expression is always formatted linearly.\n */\n",
|
|
444
|
-
"excerptTokens": [
|
|
445
|
-
{
|
|
446
|
-
"kind": "Content",
|
|
447
|
-
"text": "isCallPart?(part: "
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"kind": "Content",
|
|
451
|
-
"text": "TPart"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"kind": "Content",
|
|
455
|
-
"text": "): "
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"kind": "Content",
|
|
459
|
-
"text": "boolean"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"kind": "Content",
|
|
463
|
-
"text": ";"
|
|
464
|
-
}
|
|
465
|
-
],
|
|
466
|
-
"isOptional": true,
|
|
467
|
-
"returnTypeTokenRange": {
|
|
468
|
-
"startIndex": 3,
|
|
469
|
-
"endIndex": 4
|
|
470
|
-
},
|
|
471
|
-
"releaseTag": "Public",
|
|
472
|
-
"overloadIndex": 1,
|
|
473
|
-
"parameters": [
|
|
474
|
-
{
|
|
475
|
-
"parameterName": "part",
|
|
476
|
-
"parameterTypeTokenRange": {
|
|
477
|
-
"startIndex": 1,
|
|
478
|
-
"endIndex": 2
|
|
479
|
-
},
|
|
480
|
-
"isOptional": false
|
|
481
|
-
}
|
|
482
|
-
],
|
|
483
|
-
"name": "isCallPart"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"kind": "MethodSignature",
|
|
487
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig#wrapPartResult:member(1)",
|
|
488
|
-
"docComment": "/**\n * Post-process the accumulated expression after each part in linear\n * (non-call-chain) mode. Use this for language-specific wrapping like\n * TypeScript's `await` which wraps the entire expression so far.\n * Defaults to identity (returns expression unchanged).\n */\n",
|
|
489
|
-
"excerptTokens": [
|
|
490
|
-
{
|
|
491
|
-
"kind": "Content",
|
|
492
|
-
"text": "wrapPartResult?(expression: "
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"kind": "Reference",
|
|
496
|
-
"text": "Children",
|
|
497
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"kind": "Content",
|
|
501
|
-
"text": ", part: "
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"kind": "Content",
|
|
505
|
-
"text": "TPart"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"kind": "Content",
|
|
509
|
-
"text": ", index: "
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"kind": "Content",
|
|
513
|
-
"text": "number"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"kind": "Content",
|
|
517
|
-
"text": ", isLast: "
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"kind": "Content",
|
|
521
|
-
"text": "boolean"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"kind": "Content",
|
|
525
|
-
"text": "): "
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"kind": "Reference",
|
|
529
|
-
"text": "Children",
|
|
530
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"kind": "Content",
|
|
534
|
-
"text": ";"
|
|
535
|
-
}
|
|
536
|
-
],
|
|
537
|
-
"isOptional": true,
|
|
538
|
-
"returnTypeTokenRange": {
|
|
539
|
-
"startIndex": 9,
|
|
540
|
-
"endIndex": 10
|
|
541
|
-
},
|
|
542
|
-
"releaseTag": "Public",
|
|
543
|
-
"overloadIndex": 1,
|
|
544
|
-
"parameters": [
|
|
545
|
-
{
|
|
546
|
-
"parameterName": "expression",
|
|
547
|
-
"parameterTypeTokenRange": {
|
|
548
|
-
"startIndex": 1,
|
|
549
|
-
"endIndex": 2
|
|
550
|
-
},
|
|
551
|
-
"isOptional": false
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"parameterName": "part",
|
|
555
|
-
"parameterTypeTokenRange": {
|
|
556
|
-
"startIndex": 3,
|
|
557
|
-
"endIndex": 4
|
|
558
|
-
},
|
|
559
|
-
"isOptional": false
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"parameterName": "index",
|
|
563
|
-
"parameterTypeTokenRange": {
|
|
564
|
-
"startIndex": 5,
|
|
565
|
-
"endIndex": 6
|
|
566
|
-
},
|
|
567
|
-
"isOptional": false
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"parameterName": "isLast",
|
|
571
|
-
"parameterTypeTokenRange": {
|
|
572
|
-
"startIndex": 7,
|
|
573
|
-
"endIndex": 8
|
|
574
|
-
},
|
|
575
|
-
"isOptional": false
|
|
576
|
-
}
|
|
577
|
-
],
|
|
578
|
-
"name": "wrapPartResult"
|
|
579
|
-
}
|
|
580
|
-
],
|
|
581
|
-
"extendsTokenRanges": []
|
|
582
|
-
},
|
|
583
141
|
{
|
|
584
142
|
"kind": "TypeAlias",
|
|
585
143
|
"canonicalReference": "@alloy-js/core!AlignIntrinsicElement:type",
|
|
@@ -1560,80 +1118,6 @@
|
|
|
1560
1118
|
],
|
|
1561
1119
|
"name": "baseListPropsToMapJoinArgs"
|
|
1562
1120
|
},
|
|
1563
|
-
{
|
|
1564
|
-
"kind": "Interface",
|
|
1565
|
-
"canonicalReference": "@alloy-js/core!BasePartProps:interface",
|
|
1566
|
-
"docComment": "/**\n * Base props that all language-specific Part components must include.\n * Language packages extend this with additional props.\n */\n",
|
|
1567
|
-
"excerptTokens": [
|
|
1568
|
-
{
|
|
1569
|
-
"kind": "Content",
|
|
1570
|
-
"text": "export interface BasePartProps "
|
|
1571
|
-
}
|
|
1572
|
-
],
|
|
1573
|
-
"fileUrlPath": "src/components/AccessExpression.tsx",
|
|
1574
|
-
"releaseTag": "Public",
|
|
1575
|
-
"name": "BasePartProps",
|
|
1576
|
-
"preserveMemberOrder": false,
|
|
1577
|
-
"members": [
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "PropertySignature",
|
|
1580
|
-
"canonicalReference": "@alloy-js/core!BasePartProps#refkey:member",
|
|
1581
|
-
"docComment": "",
|
|
1582
|
-
"excerptTokens": [
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "Content",
|
|
1585
|
-
"text": "refkey?: "
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"kind": "Reference",
|
|
1589
|
-
"text": "Refkeyable",
|
|
1590
|
-
"canonicalReference": "@alloy-js/core!Refkeyable:type"
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
"kind": "Content",
|
|
1594
|
-
"text": ";"
|
|
1595
|
-
}
|
|
1596
|
-
],
|
|
1597
|
-
"isReadonly": false,
|
|
1598
|
-
"isOptional": true,
|
|
1599
|
-
"releaseTag": "Public",
|
|
1600
|
-
"name": "refkey",
|
|
1601
|
-
"propertyTypeTokenRange": {
|
|
1602
|
-
"startIndex": 1,
|
|
1603
|
-
"endIndex": 2
|
|
1604
|
-
}
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
"kind": "PropertySignature",
|
|
1608
|
-
"canonicalReference": "@alloy-js/core!BasePartProps#symbol:member",
|
|
1609
|
-
"docComment": "",
|
|
1610
|
-
"excerptTokens": [
|
|
1611
|
-
{
|
|
1612
|
-
"kind": "Content",
|
|
1613
|
-
"text": "symbol?: "
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"kind": "Reference",
|
|
1617
|
-
"text": "OutputSymbol",
|
|
1618
|
-
"canonicalReference": "@alloy-js/core!OutputSymbol:class"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"kind": "Content",
|
|
1622
|
-
"text": ";"
|
|
1623
|
-
}
|
|
1624
|
-
],
|
|
1625
|
-
"isReadonly": false,
|
|
1626
|
-
"isOptional": true,
|
|
1627
|
-
"releaseTag": "Public",
|
|
1628
|
-
"name": "symbol",
|
|
1629
|
-
"propertyTypeTokenRange": {
|
|
1630
|
-
"startIndex": 1,
|
|
1631
|
-
"endIndex": 2
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
],
|
|
1635
|
-
"extendsTokenRanges": []
|
|
1636
|
-
},
|
|
1637
1121
|
{
|
|
1638
1122
|
"kind": "Class",
|
|
1639
1123
|
"canonicalReference": "@alloy-js/core!BasicScope:class",
|
|
@@ -4938,129 +4422,6 @@
|
|
|
4938
4422
|
}
|
|
4939
4423
|
]
|
|
4940
4424
|
},
|
|
4941
|
-
{
|
|
4942
|
-
"kind": "Function",
|
|
4943
|
-
"canonicalReference": "@alloy-js/core!createAccessExpression:function(1)",
|
|
4944
|
-
"docComment": "/**\n * Create a language-specific access/member expression component pair.\n *\n * Returns `{ Expression, Part }` where:\n * - `Expression` is the main component that collects Part children and renders the chain\n * - `Part` is a no-op component whose props are consumed by Expression\n *\n * The factory handles:\n * - Children collection and Part filtering\n * - Symbol resolution (refkey → symbol via binder, single computed per part)\n * - Reactive optimization (getter delegation over single computed per part)\n * - Flattening nested Expression instances\n * - `takeSymbols()` to prevent symbol leakage\n * - Call chain detection and chunked formatting algorithm\n */\n",
|
|
4945
|
-
"excerptTokens": [
|
|
4946
|
-
{
|
|
4947
|
-
"kind": "Content",
|
|
4948
|
-
"text": "export declare function createAccessExpression<TPartProps extends "
|
|
4949
|
-
},
|
|
4950
|
-
{
|
|
4951
|
-
"kind": "Reference",
|
|
4952
|
-
"text": "BasePartProps",
|
|
4953
|
-
"canonicalReference": "@alloy-js/core!BasePartProps:interface"
|
|
4954
|
-
},
|
|
4955
|
-
{
|
|
4956
|
-
"kind": "Content",
|
|
4957
|
-
"text": ", TPart extends "
|
|
4958
|
-
},
|
|
4959
|
-
{
|
|
4960
|
-
"kind": "Reference",
|
|
4961
|
-
"text": "Record",
|
|
4962
|
-
"canonicalReference": "!Record:type"
|
|
4963
|
-
},
|
|
4964
|
-
{
|
|
4965
|
-
"kind": "Content",
|
|
4966
|
-
"text": "<string, unknown>"
|
|
4967
|
-
},
|
|
4968
|
-
{
|
|
4969
|
-
"kind": "Content",
|
|
4970
|
-
"text": ">(config: "
|
|
4971
|
-
},
|
|
4972
|
-
{
|
|
4973
|
-
"kind": "Reference",
|
|
4974
|
-
"text": "AccessExpressionConfig",
|
|
4975
|
-
"canonicalReference": "@alloy-js/core!AccessExpressionConfig:interface"
|
|
4976
|
-
},
|
|
4977
|
-
{
|
|
4978
|
-
"kind": "Content",
|
|
4979
|
-
"text": "<TPartProps, TPart>"
|
|
4980
|
-
},
|
|
4981
|
-
{
|
|
4982
|
-
"kind": "Content",
|
|
4983
|
-
"text": "): "
|
|
4984
|
-
},
|
|
4985
|
-
{
|
|
4986
|
-
"kind": "Content",
|
|
4987
|
-
"text": "{\n Expression: (props: {\n children: "
|
|
4988
|
-
},
|
|
4989
|
-
{
|
|
4990
|
-
"kind": "Reference",
|
|
4991
|
-
"text": "Children",
|
|
4992
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4993
|
-
},
|
|
4994
|
-
{
|
|
4995
|
-
"kind": "Content",
|
|
4996
|
-
"text": ";\n }) => "
|
|
4997
|
-
},
|
|
4998
|
-
{
|
|
4999
|
-
"kind": "Reference",
|
|
5000
|
-
"text": "Children",
|
|
5001
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
5002
|
-
},
|
|
5003
|
-
{
|
|
5004
|
-
"kind": "Content",
|
|
5005
|
-
"text": ";\n Part: (_props: TPartProps) => void;\n registerOuterComponent: (component: "
|
|
5006
|
-
},
|
|
5007
|
-
{
|
|
5008
|
-
"kind": "Reference",
|
|
5009
|
-
"text": "ComponentDefinition",
|
|
5010
|
-
"canonicalReference": "@alloy-js/core!ComponentDefinition:interface"
|
|
5011
|
-
},
|
|
5012
|
-
{
|
|
5013
|
-
"kind": "Content",
|
|
5014
|
-
"text": "<any>) => void;\n}"
|
|
5015
|
-
},
|
|
5016
|
-
{
|
|
5017
|
-
"kind": "Content",
|
|
5018
|
-
"text": ";"
|
|
5019
|
-
}
|
|
5020
|
-
],
|
|
5021
|
-
"fileUrlPath": "src/components/AccessExpression.tsx",
|
|
5022
|
-
"returnTypeTokenRange": {
|
|
5023
|
-
"startIndex": 9,
|
|
5024
|
-
"endIndex": 16
|
|
5025
|
-
},
|
|
5026
|
-
"releaseTag": "Public",
|
|
5027
|
-
"overloadIndex": 1,
|
|
5028
|
-
"parameters": [
|
|
5029
|
-
{
|
|
5030
|
-
"parameterName": "config",
|
|
5031
|
-
"parameterTypeTokenRange": {
|
|
5032
|
-
"startIndex": 6,
|
|
5033
|
-
"endIndex": 8
|
|
5034
|
-
},
|
|
5035
|
-
"isOptional": false
|
|
5036
|
-
}
|
|
5037
|
-
],
|
|
5038
|
-
"typeParameters": [
|
|
5039
|
-
{
|
|
5040
|
-
"typeParameterName": "TPartProps",
|
|
5041
|
-
"constraintTokenRange": {
|
|
5042
|
-
"startIndex": 1,
|
|
5043
|
-
"endIndex": 2
|
|
5044
|
-
},
|
|
5045
|
-
"defaultTypeTokenRange": {
|
|
5046
|
-
"startIndex": 0,
|
|
5047
|
-
"endIndex": 0
|
|
5048
|
-
}
|
|
5049
|
-
},
|
|
5050
|
-
{
|
|
5051
|
-
"typeParameterName": "TPart",
|
|
5052
|
-
"constraintTokenRange": {
|
|
5053
|
-
"startIndex": 3,
|
|
5054
|
-
"endIndex": 5
|
|
5055
|
-
},
|
|
5056
|
-
"defaultTypeTokenRange": {
|
|
5057
|
-
"startIndex": 0,
|
|
5058
|
-
"endIndex": 0
|
|
5059
|
-
}
|
|
5060
|
-
}
|
|
5061
|
-
],
|
|
5062
|
-
"name": "createAccessExpression"
|
|
5063
|
-
},
|
|
5064
4425
|
{
|
|
5065
4426
|
"kind": "Function",
|
|
5066
4427
|
"canonicalReference": "@alloy-js/core!createAssignmentContext:function(1)",
|