@microsoft/fast-element 2.0.0-beta.19 → 2.0.0-beta.20
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.json +45 -0
- package/CHANGELOG.md +14 -1
- package/dist/dts/components/attributes.d.ts +5 -0
- package/dist/dts/components/element-controller.d.ts +1 -1
- package/dist/dts/di/di.d.ts +0 -5
- package/dist/dts/dom.d.ts +0 -16
- package/dist/dts/index.d.ts +2 -2
- package/dist/dts/interfaces.d.ts +17 -60
- package/dist/dts/styles/css.d.ts +0 -5
- package/dist/dts/styles/element-styles.d.ts +1 -1
- package/dist/dts/styles/style-strategy.d.ts +42 -0
- package/dist/dts/templating/template.d.ts +55 -8
- package/dist/esm/components/attributes.js +14 -0
- package/dist/esm/di/di.js +0 -5
- package/dist/esm/dom.js +0 -16
- package/dist/esm/index.js +1 -1
- package/dist/esm/interfaces.js +3 -0
- package/dist/esm/styles/css.js +0 -5
- package/dist/esm/styles/style-strategy.js +1 -0
- package/dist/esm/templating/template.js +43 -3
- package/dist/fast-element.api.json +421 -353
- package/dist/fast-element.d.ts +80 -43
- package/dist/fast-element.debug.js +126 -112
- package/dist/fast-element.debug.min.js +1 -1
- package/dist/fast-element.js +126 -112
- package/dist/fast-element.min.js +1 -1
- package/dist/fast-element.untrimmed.d.ts +80 -49
- package/docs/api-report.md +28 -24
- package/package.json +1 -1
- package/dist/dts/templating/dangerous-html.d.ts +0 -18
- package/dist/esm/templating/dangerous-html.js +0 -23
|
@@ -2338,6 +2338,72 @@
|
|
|
2338
2338
|
"endIndex": 7
|
|
2339
2339
|
}
|
|
2340
2340
|
},
|
|
2341
|
+
{
|
|
2342
|
+
"kind": "TypeAlias",
|
|
2343
|
+
"canonicalReference": "@microsoft/fast-element!Class:type",
|
|
2344
|
+
"docComment": "/**\n * Represents a constructable class with a prototype.\n *\n * @public\n */\n",
|
|
2345
|
+
"excerptTokens": [
|
|
2346
|
+
{
|
|
2347
|
+
"kind": "Content",
|
|
2348
|
+
"text": "export declare type Class<T, C = "
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "Content",
|
|
2352
|
+
"text": "{}"
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
"kind": "Content",
|
|
2356
|
+
"text": "> = "
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "Content",
|
|
2360
|
+
"text": "C & "
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"kind": "Reference",
|
|
2364
|
+
"text": "Constructable",
|
|
2365
|
+
"canonicalReference": "@microsoft/fast-element!Constructable:type"
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"kind": "Content",
|
|
2369
|
+
"text": "<T> & {\n readonly prototype: T;\n}"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"kind": "Content",
|
|
2373
|
+
"text": ";"
|
|
2374
|
+
}
|
|
2375
|
+
],
|
|
2376
|
+
"releaseTag": "Public",
|
|
2377
|
+
"name": "Class",
|
|
2378
|
+
"typeParameters": [
|
|
2379
|
+
{
|
|
2380
|
+
"typeParameterName": "T",
|
|
2381
|
+
"constraintTokenRange": {
|
|
2382
|
+
"startIndex": 0,
|
|
2383
|
+
"endIndex": 0
|
|
2384
|
+
},
|
|
2385
|
+
"defaultTypeTokenRange": {
|
|
2386
|
+
"startIndex": 0,
|
|
2387
|
+
"endIndex": 0
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"typeParameterName": "C",
|
|
2392
|
+
"constraintTokenRange": {
|
|
2393
|
+
"startIndex": 0,
|
|
2394
|
+
"endIndex": 0
|
|
2395
|
+
},
|
|
2396
|
+
"defaultTypeTokenRange": {
|
|
2397
|
+
"startIndex": 1,
|
|
2398
|
+
"endIndex": 2
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
],
|
|
2402
|
+
"typeTokenRange": {
|
|
2403
|
+
"startIndex": 3,
|
|
2404
|
+
"endIndex": 6
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2341
2407
|
{
|
|
2342
2408
|
"kind": "TypeAlias",
|
|
2343
2409
|
"canonicalReference": "@microsoft/fast-element!CompilationStrategy:type",
|
|
@@ -2587,7 +2653,7 @@
|
|
|
2587
2653
|
{
|
|
2588
2654
|
"kind": "TypeAlias",
|
|
2589
2655
|
"canonicalReference": "@microsoft/fast-element!Constructable:type",
|
|
2590
|
-
"docComment": "/**\n *
|
|
2656
|
+
"docComment": "/**\n * Represents a type which can be constructed with the new operator.\n *\n * @public\n */\n",
|
|
2591
2657
|
"excerptTokens": [
|
|
2592
2658
|
{
|
|
2593
2659
|
"kind": "Content",
|
|
@@ -3261,59 +3327,6 @@
|
|
|
3261
3327
|
],
|
|
3262
3328
|
"extendsTokenRanges": []
|
|
3263
3329
|
},
|
|
3264
|
-
{
|
|
3265
|
-
"kind": "Variable",
|
|
3266
|
-
"canonicalReference": "@microsoft/fast-element!cssPartial:var",
|
|
3267
|
-
"docComment": "/**\n * @deprecated\n *\n * Use css.partial instead.\n *\n * @public\n */\n",
|
|
3268
|
-
"excerptTokens": [
|
|
3269
|
-
{
|
|
3270
|
-
"kind": "Content",
|
|
3271
|
-
"text": "cssPartial: "
|
|
3272
|
-
},
|
|
3273
|
-
{
|
|
3274
|
-
"kind": "Content",
|
|
3275
|
-
"text": "(strings: "
|
|
3276
|
-
},
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "Reference",
|
|
3279
|
-
"text": "TemplateStringsArray",
|
|
3280
|
-
"canonicalReference": "!TemplateStringsArray:interface"
|
|
3281
|
-
},
|
|
3282
|
-
{
|
|
3283
|
-
"kind": "Content",
|
|
3284
|
-
"text": ", ...values: ("
|
|
3285
|
-
},
|
|
3286
|
-
{
|
|
3287
|
-
"kind": "Reference",
|
|
3288
|
-
"text": "ComposableStyles",
|
|
3289
|
-
"canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
|
|
3290
|
-
},
|
|
3291
|
-
{
|
|
3292
|
-
"kind": "Content",
|
|
3293
|
-
"text": " | "
|
|
3294
|
-
},
|
|
3295
|
-
{
|
|
3296
|
-
"kind": "Reference",
|
|
3297
|
-
"text": "CSSDirective",
|
|
3298
|
-
"canonicalReference": "@microsoft/fast-element!CSSDirective:interface"
|
|
3299
|
-
},
|
|
3300
|
-
{
|
|
3301
|
-
"kind": "Content",
|
|
3302
|
-
"text": ")[]) => "
|
|
3303
|
-
},
|
|
3304
|
-
{
|
|
3305
|
-
"kind": "Reference",
|
|
3306
|
-
"text": "CSSDirective",
|
|
3307
|
-
"canonicalReference": "@microsoft/fast-element!CSSDirective:interface"
|
|
3308
|
-
}
|
|
3309
|
-
],
|
|
3310
|
-
"releaseTag": "Public",
|
|
3311
|
-
"name": "cssPartial",
|
|
3312
|
-
"variableTypeTokenRange": {
|
|
3313
|
-
"startIndex": 1,
|
|
3314
|
-
"endIndex": 9
|
|
3315
|
-
}
|
|
3316
|
-
},
|
|
3317
3330
|
{
|
|
3318
3331
|
"kind": "TypeAlias",
|
|
3319
3332
|
"canonicalReference": "@microsoft/fast-element!CSSTemplateTag:type",
|
|
@@ -3478,185 +3491,6 @@
|
|
|
3478
3491
|
],
|
|
3479
3492
|
"name": "customElement"
|
|
3480
3493
|
},
|
|
3481
|
-
{
|
|
3482
|
-
"kind": "Function",
|
|
3483
|
-
"canonicalReference": "@microsoft/fast-element!dangerousHTML:function(1)",
|
|
3484
|
-
"docComment": "/**\n * Injects static HTML without platform protection.\n *\n * @param html - The html to injection.\n *\n * @returns A DangerousHTMLDirective.\n *\n * @public\n */\n",
|
|
3485
|
-
"excerptTokens": [
|
|
3486
|
-
{
|
|
3487
|
-
"kind": "Content",
|
|
3488
|
-
"text": "export declare function dangerousHTML<TSource = "
|
|
3489
|
-
},
|
|
3490
|
-
{
|
|
3491
|
-
"kind": "Content",
|
|
3492
|
-
"text": "any"
|
|
3493
|
-
},
|
|
3494
|
-
{
|
|
3495
|
-
"kind": "Content",
|
|
3496
|
-
"text": ", TParent = "
|
|
3497
|
-
},
|
|
3498
|
-
{
|
|
3499
|
-
"kind": "Content",
|
|
3500
|
-
"text": "any"
|
|
3501
|
-
},
|
|
3502
|
-
{
|
|
3503
|
-
"kind": "Content",
|
|
3504
|
-
"text": ">(html: "
|
|
3505
|
-
},
|
|
3506
|
-
{
|
|
3507
|
-
"kind": "Content",
|
|
3508
|
-
"text": "string"
|
|
3509
|
-
},
|
|
3510
|
-
{
|
|
3511
|
-
"kind": "Content",
|
|
3512
|
-
"text": "): "
|
|
3513
|
-
},
|
|
3514
|
-
{
|
|
3515
|
-
"kind": "Reference",
|
|
3516
|
-
"text": "CaptureType",
|
|
3517
|
-
"canonicalReference": "@microsoft/fast-element!CaptureType:interface"
|
|
3518
|
-
},
|
|
3519
|
-
{
|
|
3520
|
-
"kind": "Content",
|
|
3521
|
-
"text": "<TSource, TParent>"
|
|
3522
|
-
},
|
|
3523
|
-
{
|
|
3524
|
-
"kind": "Content",
|
|
3525
|
-
"text": ";"
|
|
3526
|
-
}
|
|
3527
|
-
],
|
|
3528
|
-
"returnTypeTokenRange": {
|
|
3529
|
-
"startIndex": 7,
|
|
3530
|
-
"endIndex": 9
|
|
3531
|
-
},
|
|
3532
|
-
"releaseTag": "Public",
|
|
3533
|
-
"overloadIndex": 1,
|
|
3534
|
-
"parameters": [
|
|
3535
|
-
{
|
|
3536
|
-
"parameterName": "html",
|
|
3537
|
-
"parameterTypeTokenRange": {
|
|
3538
|
-
"startIndex": 5,
|
|
3539
|
-
"endIndex": 6
|
|
3540
|
-
},
|
|
3541
|
-
"isOptional": false
|
|
3542
|
-
}
|
|
3543
|
-
],
|
|
3544
|
-
"typeParameters": [
|
|
3545
|
-
{
|
|
3546
|
-
"typeParameterName": "TSource",
|
|
3547
|
-
"constraintTokenRange": {
|
|
3548
|
-
"startIndex": 0,
|
|
3549
|
-
"endIndex": 0
|
|
3550
|
-
},
|
|
3551
|
-
"defaultTypeTokenRange": {
|
|
3552
|
-
"startIndex": 1,
|
|
3553
|
-
"endIndex": 2
|
|
3554
|
-
}
|
|
3555
|
-
},
|
|
3556
|
-
{
|
|
3557
|
-
"typeParameterName": "TParent",
|
|
3558
|
-
"constraintTokenRange": {
|
|
3559
|
-
"startIndex": 0,
|
|
3560
|
-
"endIndex": 0
|
|
3561
|
-
},
|
|
3562
|
-
"defaultTypeTokenRange": {
|
|
3563
|
-
"startIndex": 3,
|
|
3564
|
-
"endIndex": 4
|
|
3565
|
-
}
|
|
3566
|
-
}
|
|
3567
|
-
],
|
|
3568
|
-
"name": "dangerousHTML"
|
|
3569
|
-
},
|
|
3570
|
-
{
|
|
3571
|
-
"kind": "Class",
|
|
3572
|
-
"canonicalReference": "@microsoft/fast-element!DangerousHTMLDirective:class",
|
|
3573
|
-
"docComment": "/**\n * A directive capable of injecting static HTML platform runtime protection.\n *\n * @public\n */\n",
|
|
3574
|
-
"excerptTokens": [
|
|
3575
|
-
{
|
|
3576
|
-
"kind": "Content",
|
|
3577
|
-
"text": "export declare class DangerousHTMLDirective implements "
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"kind": "Reference",
|
|
3581
|
-
"text": "HTMLDirective",
|
|
3582
|
-
"canonicalReference": "@microsoft/fast-element!HTMLDirective:interface"
|
|
3583
|
-
},
|
|
3584
|
-
{
|
|
3585
|
-
"kind": "Content",
|
|
3586
|
-
"text": " "
|
|
3587
|
-
}
|
|
3588
|
-
],
|
|
3589
|
-
"releaseTag": "Public",
|
|
3590
|
-
"name": "DangerousHTMLDirective",
|
|
3591
|
-
"members": [
|
|
3592
|
-
{
|
|
3593
|
-
"kind": "Constructor",
|
|
3594
|
-
"canonicalReference": "@microsoft/fast-element!DangerousHTMLDirective:constructor(1)",
|
|
3595
|
-
"docComment": "/**\n * Constructs a new instance of the `DangerousHTMLDirective` class\n */\n",
|
|
3596
|
-
"excerptTokens": [
|
|
3597
|
-
{
|
|
3598
|
-
"kind": "Content",
|
|
3599
|
-
"text": "constructor(html: "
|
|
3600
|
-
},
|
|
3601
|
-
{
|
|
3602
|
-
"kind": "Content",
|
|
3603
|
-
"text": "string"
|
|
3604
|
-
},
|
|
3605
|
-
{
|
|
3606
|
-
"kind": "Content",
|
|
3607
|
-
"text": ");"
|
|
3608
|
-
}
|
|
3609
|
-
],
|
|
3610
|
-
"releaseTag": "Public",
|
|
3611
|
-
"overloadIndex": 1,
|
|
3612
|
-
"parameters": [
|
|
3613
|
-
{
|
|
3614
|
-
"parameterName": "html",
|
|
3615
|
-
"parameterTypeTokenRange": {
|
|
3616
|
-
"startIndex": 1,
|
|
3617
|
-
"endIndex": 2
|
|
3618
|
-
},
|
|
3619
|
-
"isOptional": false
|
|
3620
|
-
}
|
|
3621
|
-
]
|
|
3622
|
-
},
|
|
3623
|
-
{
|
|
3624
|
-
"kind": "Method",
|
|
3625
|
-
"canonicalReference": "@microsoft/fast-element!DangerousHTMLDirective#createHTML:member(1)",
|
|
3626
|
-
"docComment": "",
|
|
3627
|
-
"excerptTokens": [
|
|
3628
|
-
{
|
|
3629
|
-
"kind": "Content",
|
|
3630
|
-
"text": "createHTML(): "
|
|
3631
|
-
},
|
|
3632
|
-
{
|
|
3633
|
-
"kind": "Content",
|
|
3634
|
-
"text": "string"
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "Content",
|
|
3638
|
-
"text": ";"
|
|
3639
|
-
}
|
|
3640
|
-
],
|
|
3641
|
-
"isOptional": false,
|
|
3642
|
-
"isStatic": false,
|
|
3643
|
-
"returnTypeTokenRange": {
|
|
3644
|
-
"startIndex": 1,
|
|
3645
|
-
"endIndex": 2
|
|
3646
|
-
},
|
|
3647
|
-
"releaseTag": "Public",
|
|
3648
|
-
"overloadIndex": 1,
|
|
3649
|
-
"parameters": [],
|
|
3650
|
-
"name": "createHTML"
|
|
3651
|
-
}
|
|
3652
|
-
],
|
|
3653
|
-
"implementsTokenRanges": [
|
|
3654
|
-
{
|
|
3655
|
-
"startIndex": 1,
|
|
3656
|
-
"endIndex": 2
|
|
3657
|
-
}
|
|
3658
|
-
]
|
|
3659
|
-
},
|
|
3660
3494
|
{
|
|
3661
3495
|
"kind": "TypeAlias",
|
|
3662
3496
|
"canonicalReference": "@microsoft/fast-element!DecoratorAttributeConfiguration:type",
|
|
@@ -3756,25 +3590,7 @@
|
|
|
3756
3590
|
},
|
|
3757
3591
|
{
|
|
3758
3592
|
"kind": "Content",
|
|
3759
|
-
"text": "<{\n
|
|
3760
|
-
},
|
|
3761
|
-
{
|
|
3762
|
-
"kind": "Reference",
|
|
3763
|
-
"text": "Callable",
|
|
3764
|
-
"canonicalReference": "@microsoft/fast-element!Callable:type"
|
|
3765
|
-
},
|
|
3766
|
-
{
|
|
3767
|
-
"kind": "Content",
|
|
3768
|
-
"text": ") => void;\n nextUpdate: () => "
|
|
3769
|
-
},
|
|
3770
|
-
{
|
|
3771
|
-
"kind": "Reference",
|
|
3772
|
-
"text": "Promise",
|
|
3773
|
-
"canonicalReference": "!Promise:interface"
|
|
3774
|
-
},
|
|
3775
|
-
{
|
|
3776
|
-
"kind": "Content",
|
|
3777
|
-
"text": "<void>;\n processUpdates: () => void;\n readonly policy: "
|
|
3593
|
+
"text": "<{\n readonly policy: "
|
|
3778
3594
|
},
|
|
3779
3595
|
{
|
|
3780
3596
|
"kind": "Reference",
|
|
@@ -3817,7 +3633,7 @@
|
|
|
3817
3633
|
"name": "DOM",
|
|
3818
3634
|
"variableTypeTokenRange": {
|
|
3819
3635
|
"startIndex": 1,
|
|
3820
|
-
"endIndex":
|
|
3636
|
+
"endIndex": 11
|
|
3821
3637
|
}
|
|
3822
3638
|
},
|
|
3823
3639
|
{
|
|
@@ -8630,115 +8446,26 @@
|
|
|
8630
8446
|
"extendsTokenRanges": []
|
|
8631
8447
|
},
|
|
8632
8448
|
{
|
|
8633
|
-
"kind": "
|
|
8634
|
-
"canonicalReference": "@microsoft/fast-element!html:
|
|
8449
|
+
"kind": "Variable",
|
|
8450
|
+
"canonicalReference": "@microsoft/fast-element!html:var",
|
|
8635
8451
|
"docComment": "/**\n * Transforms a template literal string into a ViewTemplate.\n *\n * @remarks\n *\n * The html helper supports interpolation of strings, numbers, binding expressions, other template instances, and Directive instances.\n *\n * @param strings - The string fragments that are interpolated with the values.\n *\n * @param values - The values that are interpolated with the string fragments.\n *\n * @public\n */\n",
|
|
8636
8452
|
"excerptTokens": [
|
|
8637
8453
|
{
|
|
8638
8454
|
"kind": "Content",
|
|
8639
|
-
"text": "
|
|
8640
|
-
},
|
|
8641
|
-
{
|
|
8642
|
-
"kind": "Content",
|
|
8643
|
-
"text": "any"
|
|
8644
|
-
},
|
|
8645
|
-
{
|
|
8646
|
-
"kind": "Content",
|
|
8647
|
-
"text": ", TParent = "
|
|
8648
|
-
},
|
|
8649
|
-
{
|
|
8650
|
-
"kind": "Content",
|
|
8651
|
-
"text": "any"
|
|
8652
|
-
},
|
|
8653
|
-
{
|
|
8654
|
-
"kind": "Content",
|
|
8655
|
-
"text": ">(strings: "
|
|
8656
|
-
},
|
|
8657
|
-
{
|
|
8658
|
-
"kind": "Reference",
|
|
8659
|
-
"text": "TemplateStringsArray",
|
|
8660
|
-
"canonicalReference": "!TemplateStringsArray:interface"
|
|
8661
|
-
},
|
|
8662
|
-
{
|
|
8663
|
-
"kind": "Content",
|
|
8664
|
-
"text": ", ...values: "
|
|
8455
|
+
"text": "html: "
|
|
8665
8456
|
},
|
|
8666
8457
|
{
|
|
8667
8458
|
"kind": "Reference",
|
|
8668
|
-
"text": "
|
|
8669
|
-
"canonicalReference": "@microsoft/fast-element!
|
|
8670
|
-
},
|
|
8671
|
-
{
|
|
8672
|
-
"kind": "Content",
|
|
8673
|
-
"text": "<TSource, TParent>[]"
|
|
8674
|
-
},
|
|
8675
|
-
{
|
|
8676
|
-
"kind": "Content",
|
|
8677
|
-
"text": "): "
|
|
8678
|
-
},
|
|
8679
|
-
{
|
|
8680
|
-
"kind": "Reference",
|
|
8681
|
-
"text": "ViewTemplate",
|
|
8682
|
-
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
8683
|
-
},
|
|
8684
|
-
{
|
|
8685
|
-
"kind": "Content",
|
|
8686
|
-
"text": "<TSource, TParent>"
|
|
8687
|
-
},
|
|
8688
|
-
{
|
|
8689
|
-
"kind": "Content",
|
|
8690
|
-
"text": ";"
|
|
8459
|
+
"text": "HTMLTemplateTag",
|
|
8460
|
+
"canonicalReference": "@microsoft/fast-element!HTMLTemplateTag:type"
|
|
8691
8461
|
}
|
|
8692
8462
|
],
|
|
8693
|
-
"returnTypeTokenRange": {
|
|
8694
|
-
"startIndex": 10,
|
|
8695
|
-
"endIndex": 12
|
|
8696
|
-
},
|
|
8697
8463
|
"releaseTag": "Public",
|
|
8698
|
-
"
|
|
8699
|
-
"
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
"startIndex": 5,
|
|
8704
|
-
"endIndex": 6
|
|
8705
|
-
},
|
|
8706
|
-
"isOptional": false
|
|
8707
|
-
},
|
|
8708
|
-
{
|
|
8709
|
-
"parameterName": "values",
|
|
8710
|
-
"parameterTypeTokenRange": {
|
|
8711
|
-
"startIndex": 7,
|
|
8712
|
-
"endIndex": 9
|
|
8713
|
-
},
|
|
8714
|
-
"isOptional": false
|
|
8715
|
-
}
|
|
8716
|
-
],
|
|
8717
|
-
"typeParameters": [
|
|
8718
|
-
{
|
|
8719
|
-
"typeParameterName": "TSource",
|
|
8720
|
-
"constraintTokenRange": {
|
|
8721
|
-
"startIndex": 0,
|
|
8722
|
-
"endIndex": 0
|
|
8723
|
-
},
|
|
8724
|
-
"defaultTypeTokenRange": {
|
|
8725
|
-
"startIndex": 1,
|
|
8726
|
-
"endIndex": 2
|
|
8727
|
-
}
|
|
8728
|
-
},
|
|
8729
|
-
{
|
|
8730
|
-
"typeParameterName": "TParent",
|
|
8731
|
-
"constraintTokenRange": {
|
|
8732
|
-
"startIndex": 0,
|
|
8733
|
-
"endIndex": 0
|
|
8734
|
-
},
|
|
8735
|
-
"defaultTypeTokenRange": {
|
|
8736
|
-
"startIndex": 3,
|
|
8737
|
-
"endIndex": 4
|
|
8738
|
-
}
|
|
8739
|
-
}
|
|
8740
|
-
],
|
|
8741
|
-
"name": "html"
|
|
8464
|
+
"name": "html",
|
|
8465
|
+
"variableTypeTokenRange": {
|
|
8466
|
+
"startIndex": 1,
|
|
8467
|
+
"endIndex": 2
|
|
8468
|
+
}
|
|
8742
8469
|
},
|
|
8743
8470
|
{
|
|
8744
8471
|
"kind": "Class",
|
|
@@ -9614,7 +9341,68 @@
|
|
|
9614
9341
|
"name": "createView"
|
|
9615
9342
|
}
|
|
9616
9343
|
],
|
|
9617
|
-
"extendsTokenRanges": []
|
|
9344
|
+
"extendsTokenRanges": []
|
|
9345
|
+
},
|
|
9346
|
+
{
|
|
9347
|
+
"kind": "TypeAlias",
|
|
9348
|
+
"canonicalReference": "@microsoft/fast-element!HTMLTemplateTag:type",
|
|
9349
|
+
"docComment": "/**\n * Transforms a template literal string into a ViewTemplate.\n *\n * @remarks\n *\n * The html helper supports interpolation of strings, numbers, binding expressions, other template instances, and Directive instances.\n *\n * @param strings - The string fragments that are interpolated with the values.\n *\n * @param values - The values that are interpolated with the string fragments.\n *\n * @public\n */\n",
|
|
9350
|
+
"excerptTokens": [
|
|
9351
|
+
{
|
|
9352
|
+
"kind": "Content",
|
|
9353
|
+
"text": "export declare type HTMLTemplateTag = "
|
|
9354
|
+
},
|
|
9355
|
+
{
|
|
9356
|
+
"kind": "Content",
|
|
9357
|
+
"text": "(<TSource = any, TParent = any>(strings: "
|
|
9358
|
+
},
|
|
9359
|
+
{
|
|
9360
|
+
"kind": "Reference",
|
|
9361
|
+
"text": "TemplateStringsArray",
|
|
9362
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
9363
|
+
},
|
|
9364
|
+
{
|
|
9365
|
+
"kind": "Content",
|
|
9366
|
+
"text": ", ...values: "
|
|
9367
|
+
},
|
|
9368
|
+
{
|
|
9369
|
+
"kind": "Reference",
|
|
9370
|
+
"text": "TemplateValue",
|
|
9371
|
+
"canonicalReference": "@microsoft/fast-element!TemplateValue:type"
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"kind": "Content",
|
|
9375
|
+
"text": "<TSource, TParent>[]) => "
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"kind": "Reference",
|
|
9379
|
+
"text": "ViewTemplate",
|
|
9380
|
+
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
9381
|
+
},
|
|
9382
|
+
{
|
|
9383
|
+
"kind": "Content",
|
|
9384
|
+
"text": "<TSource, TParent>) & {\n partial(html: string): "
|
|
9385
|
+
},
|
|
9386
|
+
{
|
|
9387
|
+
"kind": "Reference",
|
|
9388
|
+
"text": "InlineTemplateDirective",
|
|
9389
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective:class"
|
|
9390
|
+
},
|
|
9391
|
+
{
|
|
9392
|
+
"kind": "Content",
|
|
9393
|
+
"text": ";\n}"
|
|
9394
|
+
},
|
|
9395
|
+
{
|
|
9396
|
+
"kind": "Content",
|
|
9397
|
+
"text": ";"
|
|
9398
|
+
}
|
|
9399
|
+
],
|
|
9400
|
+
"releaseTag": "Public",
|
|
9401
|
+
"name": "HTMLTemplateTag",
|
|
9402
|
+
"typeTokenRange": {
|
|
9403
|
+
"startIndex": 1,
|
|
9404
|
+
"endIndex": 10
|
|
9405
|
+
}
|
|
9618
9406
|
},
|
|
9619
9407
|
{
|
|
9620
9408
|
"kind": "Class",
|
|
@@ -10720,6 +10508,172 @@
|
|
|
10720
10508
|
}
|
|
10721
10509
|
]
|
|
10722
10510
|
},
|
|
10511
|
+
{
|
|
10512
|
+
"kind": "Class",
|
|
10513
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective:class",
|
|
10514
|
+
"docComment": "/**\n * Inlines a template into another template.\n *\n * @public\n */\n",
|
|
10515
|
+
"excerptTokens": [
|
|
10516
|
+
{
|
|
10517
|
+
"kind": "Content",
|
|
10518
|
+
"text": "export declare class InlineTemplateDirective implements "
|
|
10519
|
+
},
|
|
10520
|
+
{
|
|
10521
|
+
"kind": "Reference",
|
|
10522
|
+
"text": "HTMLDirective",
|
|
10523
|
+
"canonicalReference": "@microsoft/fast-element!HTMLDirective:interface"
|
|
10524
|
+
},
|
|
10525
|
+
{
|
|
10526
|
+
"kind": "Content",
|
|
10527
|
+
"text": " "
|
|
10528
|
+
}
|
|
10529
|
+
],
|
|
10530
|
+
"releaseTag": "Public",
|
|
10531
|
+
"name": "InlineTemplateDirective",
|
|
10532
|
+
"members": [
|
|
10533
|
+
{
|
|
10534
|
+
"kind": "Constructor",
|
|
10535
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective:constructor(1)",
|
|
10536
|
+
"docComment": "/**\n * Creates an instance of InlineTemplateDirective.\n *\n * @param template - The template to inline.\n */\n",
|
|
10537
|
+
"excerptTokens": [
|
|
10538
|
+
{
|
|
10539
|
+
"kind": "Content",
|
|
10540
|
+
"text": "constructor(html: "
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
"kind": "Content",
|
|
10544
|
+
"text": "string"
|
|
10545
|
+
},
|
|
10546
|
+
{
|
|
10547
|
+
"kind": "Content",
|
|
10548
|
+
"text": ", factories?: "
|
|
10549
|
+
},
|
|
10550
|
+
{
|
|
10551
|
+
"kind": "Reference",
|
|
10552
|
+
"text": "Record",
|
|
10553
|
+
"canonicalReference": "!Record:type"
|
|
10554
|
+
},
|
|
10555
|
+
{
|
|
10556
|
+
"kind": "Content",
|
|
10557
|
+
"text": "<string, "
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
"kind": "Reference",
|
|
10561
|
+
"text": "ViewBehaviorFactory",
|
|
10562
|
+
"canonicalReference": "@microsoft/fast-element!ViewBehaviorFactory:interface"
|
|
10563
|
+
},
|
|
10564
|
+
{
|
|
10565
|
+
"kind": "Content",
|
|
10566
|
+
"text": ">"
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"kind": "Content",
|
|
10570
|
+
"text": ");"
|
|
10571
|
+
}
|
|
10572
|
+
],
|
|
10573
|
+
"releaseTag": "Public",
|
|
10574
|
+
"overloadIndex": 1,
|
|
10575
|
+
"parameters": [
|
|
10576
|
+
{
|
|
10577
|
+
"parameterName": "html",
|
|
10578
|
+
"parameterTypeTokenRange": {
|
|
10579
|
+
"startIndex": 1,
|
|
10580
|
+
"endIndex": 2
|
|
10581
|
+
},
|
|
10582
|
+
"isOptional": false
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
"parameterName": "factories",
|
|
10586
|
+
"parameterTypeTokenRange": {
|
|
10587
|
+
"startIndex": 3,
|
|
10588
|
+
"endIndex": 7
|
|
10589
|
+
},
|
|
10590
|
+
"isOptional": true
|
|
10591
|
+
}
|
|
10592
|
+
]
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"kind": "Method",
|
|
10596
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective#createHTML:member(1)",
|
|
10597
|
+
"docComment": "/**\n * Creates HTML to be used within a template.\n *\n * @param add - Can be used to add behavior factories to a template.\n */\n",
|
|
10598
|
+
"excerptTokens": [
|
|
10599
|
+
{
|
|
10600
|
+
"kind": "Content",
|
|
10601
|
+
"text": "createHTML(add: "
|
|
10602
|
+
},
|
|
10603
|
+
{
|
|
10604
|
+
"kind": "Reference",
|
|
10605
|
+
"text": "AddViewBehaviorFactory",
|
|
10606
|
+
"canonicalReference": "@microsoft/fast-element!AddViewBehaviorFactory:type"
|
|
10607
|
+
},
|
|
10608
|
+
{
|
|
10609
|
+
"kind": "Content",
|
|
10610
|
+
"text": "): "
|
|
10611
|
+
},
|
|
10612
|
+
{
|
|
10613
|
+
"kind": "Content",
|
|
10614
|
+
"text": "string"
|
|
10615
|
+
},
|
|
10616
|
+
{
|
|
10617
|
+
"kind": "Content",
|
|
10618
|
+
"text": ";"
|
|
10619
|
+
}
|
|
10620
|
+
],
|
|
10621
|
+
"isOptional": false,
|
|
10622
|
+
"isStatic": false,
|
|
10623
|
+
"returnTypeTokenRange": {
|
|
10624
|
+
"startIndex": 3,
|
|
10625
|
+
"endIndex": 4
|
|
10626
|
+
},
|
|
10627
|
+
"releaseTag": "Public",
|
|
10628
|
+
"overloadIndex": 1,
|
|
10629
|
+
"parameters": [
|
|
10630
|
+
{
|
|
10631
|
+
"parameterName": "add",
|
|
10632
|
+
"parameterTypeTokenRange": {
|
|
10633
|
+
"startIndex": 1,
|
|
10634
|
+
"endIndex": 2
|
|
10635
|
+
},
|
|
10636
|
+
"isOptional": false
|
|
10637
|
+
}
|
|
10638
|
+
],
|
|
10639
|
+
"name": "createHTML"
|
|
10640
|
+
},
|
|
10641
|
+
{
|
|
10642
|
+
"kind": "Property",
|
|
10643
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective.empty:member",
|
|
10644
|
+
"docComment": "/**\n * An empty template partial.\n */\n",
|
|
10645
|
+
"excerptTokens": [
|
|
10646
|
+
{
|
|
10647
|
+
"kind": "Content",
|
|
10648
|
+
"text": "static readonly empty: "
|
|
10649
|
+
},
|
|
10650
|
+
{
|
|
10651
|
+
"kind": "Reference",
|
|
10652
|
+
"text": "InlineTemplateDirective",
|
|
10653
|
+
"canonicalReference": "@microsoft/fast-element!InlineTemplateDirective:class"
|
|
10654
|
+
},
|
|
10655
|
+
{
|
|
10656
|
+
"kind": "Content",
|
|
10657
|
+
"text": ";"
|
|
10658
|
+
}
|
|
10659
|
+
],
|
|
10660
|
+
"isOptional": false,
|
|
10661
|
+
"releaseTag": "Public",
|
|
10662
|
+
"name": "empty",
|
|
10663
|
+
"propertyTypeTokenRange": {
|
|
10664
|
+
"startIndex": 1,
|
|
10665
|
+
"endIndex": 2
|
|
10666
|
+
},
|
|
10667
|
+
"isStatic": true
|
|
10668
|
+
}
|
|
10669
|
+
],
|
|
10670
|
+
"implementsTokenRanges": [
|
|
10671
|
+
{
|
|
10672
|
+
"startIndex": 1,
|
|
10673
|
+
"endIndex": 2
|
|
10674
|
+
}
|
|
10675
|
+
]
|
|
10676
|
+
},
|
|
10723
10677
|
{
|
|
10724
10678
|
"kind": "Interface",
|
|
10725
10679
|
"canonicalReference": "@microsoft/fast-element!LengthObserver:interface",
|
|
@@ -11885,6 +11839,28 @@
|
|
|
11885
11839
|
],
|
|
11886
11840
|
"extendsTokenRanges": []
|
|
11887
11841
|
},
|
|
11842
|
+
{
|
|
11843
|
+
"kind": "Variable",
|
|
11844
|
+
"canonicalReference": "@microsoft/fast-element!nullableBooleanConverter:var",
|
|
11845
|
+
"docComment": "/**\n * A {@link ValueConverter} that converts to and from `boolean` values. `null`, `undefined`, `\"\"`, and `void` values are converted to `null`.\n *\n * @public\n */\n",
|
|
11846
|
+
"excerptTokens": [
|
|
11847
|
+
{
|
|
11848
|
+
"kind": "Content",
|
|
11849
|
+
"text": "nullableBooleanConverter: "
|
|
11850
|
+
},
|
|
11851
|
+
{
|
|
11852
|
+
"kind": "Reference",
|
|
11853
|
+
"text": "ValueConverter",
|
|
11854
|
+
"canonicalReference": "@microsoft/fast-element!ValueConverter:interface"
|
|
11855
|
+
}
|
|
11856
|
+
],
|
|
11857
|
+
"releaseTag": "Public",
|
|
11858
|
+
"name": "nullableBooleanConverter",
|
|
11859
|
+
"variableTypeTokenRange": {
|
|
11860
|
+
"startIndex": 1,
|
|
11861
|
+
"endIndex": 2
|
|
11862
|
+
}
|
|
11863
|
+
},
|
|
11888
11864
|
{
|
|
11889
11865
|
"kind": "Variable",
|
|
11890
11866
|
"canonicalReference": "@microsoft/fast-element!nullableNumberConverter:var",
|
|
@@ -16891,6 +16867,39 @@
|
|
|
16891
16867
|
"overloadIndex": 1,
|
|
16892
16868
|
"parameters": [],
|
|
16893
16869
|
"name": "create"
|
|
16870
|
+
},
|
|
16871
|
+
{
|
|
16872
|
+
"kind": "MethodSignature",
|
|
16873
|
+
"canonicalReference": "@microsoft/fast-element!SyntheticViewTemplate#inline:member(1)",
|
|
16874
|
+
"docComment": "/**\n * Returns a directive that can inline the template.\n */\n",
|
|
16875
|
+
"excerptTokens": [
|
|
16876
|
+
{
|
|
16877
|
+
"kind": "Content",
|
|
16878
|
+
"text": "inline(): "
|
|
16879
|
+
},
|
|
16880
|
+
{
|
|
16881
|
+
"kind": "Reference",
|
|
16882
|
+
"text": "CaptureType",
|
|
16883
|
+
"canonicalReference": "@microsoft/fast-element!CaptureType:interface"
|
|
16884
|
+
},
|
|
16885
|
+
{
|
|
16886
|
+
"kind": "Content",
|
|
16887
|
+
"text": "<TSource, TParent>"
|
|
16888
|
+
},
|
|
16889
|
+
{
|
|
16890
|
+
"kind": "Content",
|
|
16891
|
+
"text": ";"
|
|
16892
|
+
}
|
|
16893
|
+
],
|
|
16894
|
+
"isOptional": false,
|
|
16895
|
+
"returnTypeTokenRange": {
|
|
16896
|
+
"startIndex": 1,
|
|
16897
|
+
"endIndex": 3
|
|
16898
|
+
},
|
|
16899
|
+
"releaseTag": "Public",
|
|
16900
|
+
"overloadIndex": 1,
|
|
16901
|
+
"parameters": [],
|
|
16902
|
+
"name": "inline"
|
|
16894
16903
|
}
|
|
16895
16904
|
],
|
|
16896
16905
|
"extendsTokenRanges": []
|
|
@@ -16984,6 +16993,31 @@
|
|
|
16984
16993
|
"endIndex": 11
|
|
16985
16994
|
}
|
|
16986
16995
|
},
|
|
16996
|
+
{
|
|
16997
|
+
"kind": "TypeAlias",
|
|
16998
|
+
"canonicalReference": "@microsoft/fast-element!TrustedTypesPolicy:type",
|
|
16999
|
+
"docComment": "/**\n * A policy for use with the standard trustedTypes platform API.\n *\n * @public\n */\n",
|
|
17000
|
+
"excerptTokens": [
|
|
17001
|
+
{
|
|
17002
|
+
"kind": "Content",
|
|
17003
|
+
"text": "export declare type TrustedTypesPolicy = "
|
|
17004
|
+
},
|
|
17005
|
+
{
|
|
17006
|
+
"kind": "Content",
|
|
17007
|
+
"text": "{\n createHTML(html: string): string;\n}"
|
|
17008
|
+
},
|
|
17009
|
+
{
|
|
17010
|
+
"kind": "Content",
|
|
17011
|
+
"text": ";"
|
|
17012
|
+
}
|
|
17013
|
+
],
|
|
17014
|
+
"releaseTag": "Public",
|
|
17015
|
+
"name": "TrustedTypesPolicy",
|
|
17016
|
+
"typeTokenRange": {
|
|
17017
|
+
"startIndex": 1,
|
|
17018
|
+
"endIndex": 2
|
|
17019
|
+
}
|
|
17020
|
+
},
|
|
16987
17021
|
{
|
|
16988
17022
|
"kind": "Interface",
|
|
16989
17023
|
"canonicalReference": "@microsoft/fast-element!UpdateQueue:interface",
|
|
@@ -18304,6 +18338,40 @@
|
|
|
18304
18338
|
},
|
|
18305
18339
|
"isStatic": false
|
|
18306
18340
|
},
|
|
18341
|
+
{
|
|
18342
|
+
"kind": "Method",
|
|
18343
|
+
"canonicalReference": "@microsoft/fast-element!ViewTemplate#inline:member(1)",
|
|
18344
|
+
"docComment": "/**\n * Returns a directive that can inline the template.\n */\n",
|
|
18345
|
+
"excerptTokens": [
|
|
18346
|
+
{
|
|
18347
|
+
"kind": "Content",
|
|
18348
|
+
"text": "inline(): "
|
|
18349
|
+
},
|
|
18350
|
+
{
|
|
18351
|
+
"kind": "Reference",
|
|
18352
|
+
"text": "CaptureType",
|
|
18353
|
+
"canonicalReference": "@microsoft/fast-element!CaptureType:interface"
|
|
18354
|
+
},
|
|
18355
|
+
{
|
|
18356
|
+
"kind": "Content",
|
|
18357
|
+
"text": "<TSource, TParent>"
|
|
18358
|
+
},
|
|
18359
|
+
{
|
|
18360
|
+
"kind": "Content",
|
|
18361
|
+
"text": ";"
|
|
18362
|
+
}
|
|
18363
|
+
],
|
|
18364
|
+
"isOptional": false,
|
|
18365
|
+
"isStatic": false,
|
|
18366
|
+
"returnTypeTokenRange": {
|
|
18367
|
+
"startIndex": 1,
|
|
18368
|
+
"endIndex": 3
|
|
18369
|
+
},
|
|
18370
|
+
"releaseTag": "Public",
|
|
18371
|
+
"overloadIndex": 1,
|
|
18372
|
+
"parameters": [],
|
|
18373
|
+
"name": "inline"
|
|
18374
|
+
},
|
|
18307
18375
|
{
|
|
18308
18376
|
"kind": "Method",
|
|
18309
18377
|
"canonicalReference": "@microsoft/fast-element!ViewTemplate#render:member(1)",
|