@lushly-dev/fast-element 3.0.1-preview.1 → 3.0.1-preview.2
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 +6 -0
- package/dist/command/command.api.json +40 -40
- package/dist/context/context.api.json +6 -6
- package/dist/declarative/declarative.api.json +33 -33
- package/dist/definition-schema/definition-schema.api.json +7 -7
- package/dist/di/di.api.json +31 -31
- package/dist/dts/declarative/debug.d.ts +2 -2
- package/dist/dts/declarative/utilities.d.ts +2 -2
- package/dist/dts/hydration/target-builder.d.ts +2 -2
- package/dist/dts/templating/hydration-view.d.ts +1 -1
- package/dist/dts/testing/fakes.d.ts +2 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/binding/two-way.js +1 -2
- package/dist/esm/command/behaviors/undo-behavior.js +2 -1
- package/dist/esm/command/registry.js +9 -6
- package/dist/esm/command/validation.js +5 -8
- package/dist/esm/components/element-controller.js +5 -4
- package/dist/esm/components/hydration-tracker.js +2 -1
- package/dist/esm/declarative/attribute-map.js +2 -1
- package/dist/esm/di/di.js +2 -1
- package/dist/esm/metadata.js +2 -8
- package/dist/esm/observation/notifier.js +2 -4
- package/dist/fast-element.api.json +97 -97
- package/dist/fast-element.debug.js +32 -46
- package/dist/fast-element.debug.min.js +2 -2
- package/dist/fast-element.js +32 -46
- package/dist/fast-element.min.js +2 -2
- package/dist/observation/arrays/arrays.api.json +6 -6
- package/dist/scoped/scoped.api.json +10 -10
- package/dist/trust/trust.api.json +4 -4
- package/package.json +10 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
4
|
+
"toolVersion": "7.60.1",
|
|
5
5
|
"schemaVersion": 1011,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
{
|
|
483
483
|
"kind": "Class",
|
|
484
484
|
"canonicalReference": "@lushly-dev/fast-element!AttributeDefinition:class",
|
|
485
|
-
"docComment": "/**\n * An implementation of {@link Accessor} that supports reactivity
|
|
485
|
+
"docComment": "/**\n * An implementation of {@link Accessor} that supports reactivity,\n * change callbacks, attribute reflection, and type conversion for\n * custom elements.\n *\n * @public\n */\n",
|
|
486
486
|
"excerptTokens": [
|
|
487
487
|
{
|
|
488
488
|
"kind": "Content",
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
{
|
|
508
508
|
"kind": "Constructor",
|
|
509
509
|
"canonicalReference": "@lushly-dev/fast-element!AttributeDefinition:constructor(1)",
|
|
510
|
-
"docComment": "/**\n * Creates an instance of AttributeDefinition.\n *\n * @param Owner - The class constructor that owns this attribute.\n *\n * @param name - The name of the property associated with the attribute.\n *\n * @param attribute - The name of the attribute in HTML.\n *\n * @param mode - The {@link AttributeMode} that describes the behavior of this attribute.\n *\n * @param converter - A {@link ValueConverter} that integrates with the property getter/setter to convert values to and from a DOM string.\n */\n",
|
|
510
|
+
"docComment": "/**\n * Creates an instance of AttributeDefinition.\n *\n * @param Owner - The class constructor that owns this attribute.\n *\n * @param name - The name of the property associated with the attribute.\n *\n * @param attribute - The name of the attribute in HTML.\n *\n * @param mode - The {@link AttributeMode} that describes the behavior of this attribute.\n *\n * @param converter - A {@link ValueConverter} that integrates with the property getter/setter\n * to convert values to and from a DOM string.\n */\n",
|
|
511
511
|
"excerptTokens": [
|
|
512
512
|
{
|
|
513
513
|
"kind": "Content",
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
{
|
|
637
637
|
"kind": "Property",
|
|
638
638
|
"canonicalReference": "@lushly-dev/fast-element!AttributeDefinition#converter:member",
|
|
639
|
-
"docComment": "/**\n * A {@link ValueConverter} that integrates with the property getter/setter to convert values to and from a DOM string.\n */\n",
|
|
639
|
+
"docComment": "/**\n * A {@link ValueConverter} that integrates with the property getter/setter\n * to convert values to and from a DOM string.\n */\n",
|
|
640
640
|
"excerptTokens": [
|
|
641
641
|
{
|
|
642
642
|
"kind": "Content",
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
{
|
|
882
882
|
"kind": "TypeAlias",
|
|
883
883
|
"canonicalReference": "@lushly-dev/fast-element!AttributeMode:type",
|
|
884
|
-
"docComment": "/**\n * The mode that specifies the runtime behavior of the attribute.\n *\n * @remarks\n *\n * By default, attributes run in `reflect` mode, propagating their property values to the DOM and DOM values to the property. The `boolean` mode also reflects values, but uses the HTML standard boolean attribute behavior
|
|
884
|
+
"docComment": "/**\n * The mode that specifies the runtime behavior of the attribute.\n *\n * @remarks\n *\n * By default, attributes run in `reflect` mode, propagating their property\n * values to the DOM and DOM values to the property. The `boolean` mode also\n * reflects values, but uses the HTML standard boolean attribute behavior,\n * interpreting the presence of the attribute as `true` and the absence as\n * `false`. The `fromView` behavior only updates the property value based on\n * changes in the DOM, but does not reflect property changes back.\n *\n * @public\n */\n",
|
|
885
885
|
"excerptTokens": [
|
|
886
886
|
{
|
|
887
887
|
"kind": "Content",
|
|
@@ -1109,7 +1109,7 @@
|
|
|
1109
1109
|
{
|
|
1110
1110
|
"kind": "Interface",
|
|
1111
1111
|
"canonicalReference": "@lushly-dev/fast-element!CaptureType:interface",
|
|
1112
|
-
"docComment": "/**\n * A marker interface used to capture types when interpolating Directive helpers into templates.\n *\n * @public\n */\n",
|
|
1112
|
+
"docComment": "/**\n * A marker interface used to capture types when interpolating Directive helpers\n * into templates.\n *\n * @public\n */\n",
|
|
1113
1113
|
"excerptTokens": [
|
|
1114
1114
|
{
|
|
1115
1115
|
"kind": "Content",
|
|
@@ -1369,7 +1369,7 @@
|
|
|
1369
1369
|
{
|
|
1370
1370
|
"kind": "Function",
|
|
1371
1371
|
"canonicalReference": "@lushly-dev/fast-element!declarativeTemplate:function(1)",
|
|
1372
|
-
"docComment": "/**\n * Returns a declarative template resolver that waits for the matching `<f-template>` element and resolves it into a concrete `ViewTemplate`.\n *\n * @public\n */\n",
|
|
1372
|
+
"docComment": "/**\n * Returns a declarative template resolver that waits for the matching\n * `<f-template>` element and resolves it into a concrete `ViewTemplate`.\n *\n * @public\n */\n",
|
|
1373
1373
|
"excerptTokens": [
|
|
1374
1374
|
{
|
|
1375
1375
|
"kind": "Content",
|
|
@@ -2771,7 +2771,7 @@
|
|
|
2771
2771
|
{
|
|
2772
2772
|
"kind": "MethodSignature",
|
|
2773
2773
|
"canonicalReference": "@lushly-dev/fast-element!ElementViewTemplate#create:member(1)",
|
|
2774
|
-
"docComment": "/**\n * Creates an ElementView instance based on this template definition.\n *\n * @param hostBindingTarget - The element that host behaviors will be bound to.\n *\n * @param scope - The shadow root whose scoped custom element registry child elements should be created against, when it has one.\n */\n",
|
|
2774
|
+
"docComment": "/**\n * Creates an ElementView instance based on this template definition.\n *\n * @param hostBindingTarget - The element that host behaviors will be bound to.\n *\n * @param scope - The shadow root whose scoped custom element registry child\n * elements should be created against, when it has one.\n */\n",
|
|
2775
2775
|
"excerptTokens": [
|
|
2776
2776
|
{
|
|
2777
2777
|
"kind": "Content",
|
|
@@ -2839,7 +2839,7 @@
|
|
|
2839
2839
|
{
|
|
2840
2840
|
"kind": "MethodSignature",
|
|
2841
2841
|
"canonicalReference": "@lushly-dev/fast-element!ElementViewTemplate#render:member(1)",
|
|
2842
|
-
"docComment": "/**\n * Creates an HTMLView from this template, binds it to the source, and then appends it to the host.\n *\n * @param source - The data source to bind the template to.\n *\n * @param host - The Element where the template will be rendered.\n *\n * @param hostBindingTarget - An HTML element to target the host bindings at if different from the host that the template is being attached to.\n *\n * @param scope - The shadow root whose scoped custom element registry child elements should be created against, when it has one.\n */\n",
|
|
2842
|
+
"docComment": "/**\n * Creates an HTMLView from this template, binds it to the source, and then appends it to the host.\n *\n * @param source - The data source to bind the template to.\n *\n * @param host - The Element where the template will be rendered.\n *\n * @param hostBindingTarget - An HTML element to target the host bindings at if different from the\n * host that the template is being attached to.\n *\n * @param scope - The shadow root whose scoped custom element registry child\n * elements should be created against, when it has one.\n */\n",
|
|
2843
2843
|
"excerptTokens": [
|
|
2844
2844
|
{
|
|
2845
2845
|
"kind": "Content",
|
|
@@ -3163,7 +3163,7 @@
|
|
|
3163
3163
|
{
|
|
3164
3164
|
"kind": "Method",
|
|
3165
3165
|
"canonicalReference": "@lushly-dev/fast-element!FASTElementDefinition.compose:member(1)",
|
|
3166
|
-
"docComment": "/**\n * Creates an instance of FASTElementDefinition.\n *\n * @param type - The type this definition is being created for.\n *\n * @param nameOrDef - The name of the element to define or a config object that describes the element to define.\n */\n",
|
|
3166
|
+
"docComment": "/**\n * Creates an instance of FASTElementDefinition.\n *\n * @param type - The type this definition is being created for.\n *\n * @param nameOrDef - The name of the element to define or a config object\n * that describes the element to define.\n */\n",
|
|
3167
3167
|
"excerptTokens": [
|
|
3168
3168
|
{
|
|
3169
3169
|
"kind": "Content",
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
{
|
|
3308
3308
|
"kind": "Method",
|
|
3309
3309
|
"canonicalReference": "@lushly-dev/fast-element!FASTElementDefinition#define:member(1)",
|
|
3310
|
-
"docComment": "/**\n * Defines a custom element based on this definition.\n *\n * @remarks\n *\n * This operation is idempotent per registry.\n *\n * @param registry - The element registry to define the element in.\n *\n * @param extensions - An optional array of extension callbacks to invoke with this definition before platform registration.\n */\n",
|
|
3310
|
+
"docComment": "/**\n * Defines a custom element based on this definition.\n *\n * @remarks\n *\n * This operation is idempotent per registry.\n *\n * @param registry - The element registry to define the element in.\n *\n * @param extensions - An optional array of extension callbacks to invoke\n * with this definition before platform registration.\n */\n",
|
|
3311
3311
|
"excerptTokens": [
|
|
3312
3312
|
{
|
|
3313
3313
|
"kind": "Content",
|
|
@@ -3666,7 +3666,7 @@
|
|
|
3666
3666
|
{
|
|
3667
3667
|
"kind": "Property",
|
|
3668
3668
|
"canonicalReference": "@lushly-dev/fast-element!FASTElementDefinition#schema:member",
|
|
3669
|
-
"docComment": "/**\n * The optional schema associated with the custom element definition
|
|
3669
|
+
"docComment": "/**\n * The optional schema associated with the custom element definition.\n * Declarative templates assign this automatically during template resolution.\n * Non-declarative callers can provide one for schema-driven extensions.\n */\n",
|
|
3670
3670
|
"excerptTokens": [
|
|
3671
3671
|
{
|
|
3672
3672
|
"kind": "Content",
|
|
@@ -3836,7 +3836,7 @@
|
|
|
3836
3836
|
{
|
|
3837
3837
|
"kind": "TypeAlias",
|
|
3838
3838
|
"canonicalReference": "@lushly-dev/fast-element!FASTElementExtension:type",
|
|
3839
|
-
"docComment": "/**\n * A callback that receives a FASTElementDefinition during element registration
|
|
3839
|
+
"docComment": "/**\n * A callback that receives a FASTElementDefinition during element registration.\n * Extensions are invoked before the element is registered with the platform,\n * allowing plugins to inspect or act on the resolved definition.\n *\n * @public\n */\n",
|
|
3840
3840
|
"excerptTokens": [
|
|
3841
3841
|
{
|
|
3842
3842
|
"kind": "Content",
|
|
@@ -4072,7 +4072,7 @@
|
|
|
4072
4072
|
{
|
|
4073
4073
|
"kind": "MethodSignature",
|
|
4074
4074
|
"canonicalReference": "@lushly-dev/fast-element!HTMLTemplateCompilationResult#createView:member(1)",
|
|
4075
|
-
"docComment": "/**\n * Creates a view instance.\n *\n * @param hostBindingTarget - The host binding target for the view.\n *\n * @param scope - The shadow root whose scoped custom element registry the view's elements should be created against, when it has one.\n */\n",
|
|
4075
|
+
"docComment": "/**\n * Creates a view instance.\n *\n * @param hostBindingTarget - The host binding target for the view.\n *\n * @param scope - The shadow root whose scoped custom element registry the view's\n * elements should be created against, when it has one.\n */\n",
|
|
4076
4076
|
"excerptTokens": [
|
|
4077
4077
|
{
|
|
4078
4078
|
"kind": "Content",
|
|
@@ -4433,7 +4433,7 @@
|
|
|
4433
4433
|
{
|
|
4434
4434
|
"kind": "Method",
|
|
4435
4435
|
"canonicalReference": "@lushly-dev/fast-element!HTMLView#bind:member(1)",
|
|
4436
|
-
"docComment": "/**\n * Binds a view's behaviors to its binding source.\n *\n * On the first call, this iterates through all compiled factories, calling createBehavior() on each to produce a ViewBehavior instance (e.g., an HTMLBindingDirective), and then immediately binds it. This is where event listeners are registered, expression observers are created, and initial DOM values are set.\n *\n * On subsequent calls with a new source, existing behaviors are re-bound to the new data source, which re-evaluates all binding expressions and updates the DOM accordingly.\n *\n * @param source - The binding source for the view's binding behaviors.\n *\n * @param context - The execution context to run the behaviors within.\n */\n",
|
|
4436
|
+
"docComment": "/**\n * Binds a view's behaviors to its binding source.\n *\n * On the first call, this iterates through all compiled factories, calling\n * createBehavior() on each to produce a ViewBehavior instance (e.g., an\n * HTMLBindingDirective), and then immediately binds it. This is where event\n * listeners are registered, expression observers are created, and initial\n * DOM values are set.\n *\n * On subsequent calls with a new source, existing behaviors are re-bound\n * to the new data source, which re-evaluates all binding expressions and\n * updates the DOM accordingly.\n *\n * @param source - The binding source for the view's binding behaviors.\n *\n * @param context - The execution context to run the behaviors within.\n */\n",
|
|
4437
4437
|
"excerptTokens": [
|
|
4438
4438
|
{
|
|
4439
4439
|
"kind": "Content",
|
|
@@ -4537,7 +4537,7 @@
|
|
|
4537
4537
|
{
|
|
4538
4538
|
"kind": "Method",
|
|
4539
4539
|
"canonicalReference": "@lushly-dev/fast-element!HTMLView#dispose:member(1)",
|
|
4540
|
-
"docComment": "/**\n * Removes the view and unbinds its behaviors, disposing of DOM nodes afterward
|
|
4540
|
+
"docComment": "/**\n * Removes the view and unbinds its behaviors, disposing of DOM nodes afterward.\n * Once a view has been disposed, it cannot be inserted or bound again.\n */\n",
|
|
4541
4541
|
"excerptTokens": [
|
|
4542
4542
|
{
|
|
4543
4543
|
"kind": "Content",
|
|
@@ -4731,7 +4731,7 @@
|
|
|
4731
4731
|
{
|
|
4732
4732
|
"kind": "Property",
|
|
4733
4733
|
"canonicalReference": "@lushly-dev/fast-element!HTMLView#isHydrated:member",
|
|
4734
|
-
"docComment": "/**\n * Resolves `true` after prerendered content has been hydrated
|
|
4734
|
+
"docComment": "/**\n * Resolves `true` after prerendered content has been hydrated,\n * `false` when client-side rendered or hydration not enabled.\n */\n",
|
|
4735
4735
|
"excerptTokens": [
|
|
4736
4736
|
{
|
|
4737
4737
|
"kind": "Content",
|
|
@@ -4766,7 +4766,7 @@
|
|
|
4766
4766
|
{
|
|
4767
4767
|
"kind": "Property",
|
|
4768
4768
|
"canonicalReference": "@lushly-dev/fast-element!HTMLView#isPrerendered:member",
|
|
4769
|
-
"docComment": "/**\n * A promise that resolves with `true` after prerendered content has been hydrated, or `false` when the view is client-side rendered. Resolves once the first bind completes.\n */\n",
|
|
4769
|
+
"docComment": "/**\n * A promise that resolves with `true` after prerendered content\n * has been hydrated, or `false` when the view is client-side\n * rendered. Resolves once the first bind completes.\n */\n",
|
|
4770
4770
|
"excerptTokens": [
|
|
4771
4771
|
{
|
|
4772
4772
|
"kind": "Content",
|
|
@@ -4889,7 +4889,7 @@
|
|
|
4889
4889
|
{
|
|
4890
4890
|
"kind": "Method",
|
|
4891
4891
|
"canonicalReference": "@lushly-dev/fast-element!HTMLView#remove:member(1)",
|
|
4892
|
-
"docComment": "/**\n * Removes the view's DOM nodes
|
|
4892
|
+
"docComment": "/**\n * Removes the view's DOM nodes.\n * The nodes are not disposed and the view can later be re-inserted.\n */\n",
|
|
4893
4893
|
"excerptTokens": [
|
|
4894
4894
|
{
|
|
4895
4895
|
"kind": "Content",
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
{
|
|
5206
5206
|
"kind": "PropertySignature",
|
|
5207
5207
|
"canonicalReference": "@lushly-dev/fast-element!JSONSchemaCommon#$observe:member",
|
|
5208
|
-
"docComment": "/**\n * Stamped by `applyConfigToSchema` when an `ObserverMapConfig` excludes this path. When `false`, the proxy system skips observation for this node and (if all descendants are also `false`) its subtree.\n */\n",
|
|
5208
|
+
"docComment": "/**\n * Stamped by `applyConfigToSchema` when an `ObserverMapConfig` excludes\n * this path. When `false`, the proxy system skips observation for this\n * node and (if all descendants are also `false`) its subtree.\n */\n",
|
|
5209
5209
|
"excerptTokens": [
|
|
5210
5210
|
{
|
|
5211
5211
|
"kind": "Content",
|
|
@@ -5657,7 +5657,7 @@
|
|
|
5657
5657
|
{
|
|
5658
5658
|
"kind": "PropertySignature",
|
|
5659
5659
|
"canonicalReference": "@lushly-dev/fast-element!PartialFASTElementDefinition#schema:member",
|
|
5660
|
-
"docComment": "/**\n * The optional schema associated with the custom element definition
|
|
5660
|
+
"docComment": "/**\n * The optional schema associated with the custom element definition.\n * Declarative templates assign this automatically during template resolution.\n * Non-declarative callers can provide one for schema-driven extensions.\n */\n",
|
|
5661
5661
|
"excerptTokens": [
|
|
5662
5662
|
{
|
|
5663
5663
|
"kind": "Content",
|
|
@@ -5685,7 +5685,7 @@
|
|
|
5685
5685
|
{
|
|
5686
5686
|
"kind": "PropertySignature",
|
|
5687
5687
|
"canonicalReference": "@lushly-dev/fast-element!PartialFASTElementDefinition#shadowOptions:member",
|
|
5688
|
-
"docComment": "/**\n * Options controlling the creation of the custom element's shadow DOM.\n *\n * @remarks\n *\n * If not provided, defaults to an open shadow root. Provide null to render to the associated template to the light DOM instead.\n */\n",
|
|
5688
|
+
"docComment": "/**\n * Options controlling the creation of the custom element's shadow DOM.\n *\n * @remarks\n *\n * If not provided, defaults to an open shadow root. Provide null\n * to render to the associated template to the light DOM instead.\n */\n",
|
|
5689
5689
|
"excerptTokens": [
|
|
5690
5690
|
{
|
|
5691
5691
|
"kind": "Content",
|
|
@@ -6255,7 +6255,7 @@
|
|
|
6255
6255
|
{
|
|
6256
6256
|
"kind": "Variable",
|
|
6257
6257
|
"canonicalReference": "@lushly-dev/fast-element!schemaRegistry:var",
|
|
6258
|
-
"docComment": "/**\n * Module-level registry that maps custom element names to their schema maps
|
|
6258
|
+
"docComment": "/**\n * Module-level registry that maps custom element names to their schema maps.\n * Used for cross-element `$ref` resolution (e.g. nested element schemas).\n * Each Schema instance registers itself here on construction.\n *\n * @public\n */\n",
|
|
6259
6259
|
"excerptTokens": [
|
|
6260
6260
|
{
|
|
6261
6261
|
"kind": "Content",
|
|
@@ -6303,7 +6303,7 @@
|
|
|
6303
6303
|
{
|
|
6304
6304
|
"kind": "PropertySignature",
|
|
6305
6305
|
"canonicalReference": "@lushly-dev/fast-element!ShadowRootOptions#registry:member",
|
|
6306
|
-
"docComment": "/**\n * A registry that provides the custom elements visible from within this shadow root.\n *\n * @beta\n */\n",
|
|
6306
|
+
"docComment": "/**\n * A registry that provides the custom elements visible\n * from within this shadow root.\n *\n * @beta\n */\n",
|
|
6307
6307
|
"excerptTokens": [
|
|
6308
6308
|
{
|
|
6309
6309
|
"kind": "Content",
|
|
@@ -6339,7 +6339,7 @@
|
|
|
6339
6339
|
{
|
|
6340
6340
|
"kind": "Interface",
|
|
6341
6341
|
"canonicalReference": "@lushly-dev/fast-element!StyleStrategy:interface",
|
|
6342
|
-
"docComment": "/**\n * Implemented to provide specific behavior when adding/removing styles for elements.\n *\n * @public\n */\n",
|
|
6342
|
+
"docComment": "/**\n * Implemented to provide specific behavior when adding/removing styles\n * for elements.\n *\n * @public\n */\n",
|
|
6343
6343
|
"excerptTokens": [
|
|
6344
6344
|
{
|
|
6345
6345
|
"kind": "Content",
|
|
@@ -6823,7 +6823,7 @@
|
|
|
6823
6823
|
{
|
|
6824
6824
|
"kind": "Class",
|
|
6825
6825
|
"canonicalReference": "@lushly-dev/fast-element!TemplateParser:class",
|
|
6826
|
-
"docComment": "/**\n * Converts declarative HTML template markup into the `strings` and `values
|
|
6826
|
+
"docComment": "/**\n * Converts declarative HTML template markup into the `strings` and `values`\n * arrays that `ViewTemplate.create()` consumes.\n *\n * This class is intentionally stateless across invocations — all mutable\n * parsing state lives on the call stack or in the `TemplateResolutionContext`.\n *\n * The parsing pipeline is fully synchronous — no promises are allocated\n * during template resolution.\n *\n * @public\n */\n",
|
|
6827
6827
|
"excerptTokens": [
|
|
6828
6828
|
{
|
|
6829
6829
|
"kind": "Content",
|
|
@@ -7103,7 +7103,7 @@
|
|
|
7103
7103
|
{
|
|
7104
7104
|
"kind": "Interface",
|
|
7105
7105
|
"canonicalReference": "@lushly-dev/fast-element!ValueConverter:interface",
|
|
7106
|
-
"docComment": "/**\n * Represents objects that can convert values to and from view or model representations.\n *\n * @public\n */\n",
|
|
7106
|
+
"docComment": "/**\n * Represents objects that can convert values to and from\n * view or model representations.\n *\n * @public\n */\n",
|
|
7107
7107
|
"excerptTokens": [
|
|
7108
7108
|
{
|
|
7109
7109
|
"kind": "Content",
|
|
@@ -7319,7 +7319,7 @@
|
|
|
7319
7319
|
{
|
|
7320
7320
|
"kind": "Interface",
|
|
7321
7321
|
"canonicalReference": "@lushly-dev/fast-element!ViewBehaviorFactory:interface",
|
|
7322
|
-
"docComment": "/**\n * A factory that can create a {@link ViewBehavior} associated with a particular location within a DOM fragment.\n *\n * @public\n */\n",
|
|
7322
|
+
"docComment": "/**\n * A factory that can create a {@link ViewBehavior} associated with a particular\n * location within a DOM fragment.\n *\n * @public\n */\n",
|
|
7323
7323
|
"excerptTokens": [
|
|
7324
7324
|
{
|
|
7325
7325
|
"kind": "Content",
|
|
@@ -7645,7 +7645,7 @@
|
|
|
7645
7645
|
{
|
|
7646
7646
|
"kind": "Method",
|
|
7647
7647
|
"canonicalReference": "@lushly-dev/fast-element!ViewTemplate#create:member(1)",
|
|
7648
|
-
"docComment": "/**\n * Creates an HTMLView instance based on this template definition.\n *\n * @param hostBindingTarget - The element that host behaviors will be bound to.\n *\n * @param scope - The shadow root whose scoped custom element registry child elements should be created against, when it has one.\n */\n",
|
|
7648
|
+
"docComment": "/**\n * Creates an HTMLView instance based on this template definition.\n *\n * @param hostBindingTarget - The element that host behaviors will be bound to.\n *\n * @param scope - The shadow root whose scoped custom element registry child\n * elements should be created against, when it has one.\n */\n",
|
|
7649
7649
|
"excerptTokens": [
|
|
7650
7650
|
{
|
|
7651
7651
|
"kind": "Content",
|
|
@@ -7716,7 +7716,7 @@
|
|
|
7716
7716
|
{
|
|
7717
7717
|
"kind": "Method",
|
|
7718
7718
|
"canonicalReference": "@lushly-dev/fast-element!ViewTemplate.create:member(1)",
|
|
7719
|
-
"docComment": "/**\n * Processes the tagged template literal's static strings and interpolated values and creates a ViewTemplate.\n *\n * For each interpolated value
|
|
7719
|
+
"docComment": "/**\n * Processes the tagged template literal's static strings and interpolated values and\n * creates a ViewTemplate.\n *\n * For each interpolated value:\n * 1. Functions (binding expressions, e.g., `x => x.name`) → wrapped in a one-way HTMLBindingDirective\n * 2. Binding instances → wrapped in an HTMLBindingDirective\n * 3. HTMLDirective instances → used as-is\n * 4. Static values (strings, numbers) → wrapped in a one-time HTMLBindingDirective\n *\n * Each directive's createHTML() is called with an `add` callback that registers\n * the factory in the factories record under a unique ID and returns that ID.\n * The directive inserts a placeholder marker (e.g., `fast-abc123{0}fast-abc123`) into\n * the HTML string so the compiler can later find and associate it with the factory.\n *\n * Aspect detection happens here too: the `lastAttributeNameRegex` checks whether\n * the placeholder appears inside an attribute value, and if so, assignAspect()\n * sets the correct DOMAspect (attribute, property, event, etc.) based on the\n * attribute name prefix.\n *\n * @remarks\n *\n * This API should not be used directly under normal circumstances because constructing\n * a template in this way, if not done properly, can open up the application to XSS\n * attacks. When using this API, provide a strong DOMPolicy that can properly sanitize\n * and also be sure to manually sanitize all static strings particularly if they can\n * come from user input.\n *\n * @param strings - The static strings to create the template with.\n *\n * @param values - The dynamic values to create the template with.\n *\n * @param policy - The DOMPolicy to associated with the template.\n *\n * @returns A ViewTemplate.\n */\n",
|
|
7720
7720
|
"excerptTokens": [
|
|
7721
7721
|
{
|
|
7722
7722
|
"kind": "Content",
|
|
@@ -7891,7 +7891,7 @@
|
|
|
7891
7891
|
{
|
|
7892
7892
|
"kind": "Property",
|
|
7893
7893
|
"canonicalReference": "@lushly-dev/fast-element!ViewTemplate#html:member",
|
|
7894
|
-
"docComment": "/**\n * The html representing what this template will instantiate, including placeholders for directives.\n */\n",
|
|
7894
|
+
"docComment": "/**\n * The html representing what this template will\n * instantiate, including placeholders for directives.\n */\n",
|
|
7895
7895
|
"excerptTokens": [
|
|
7896
7896
|
{
|
|
7897
7897
|
"kind": "Content",
|
|
@@ -7962,7 +7962,7 @@
|
|
|
7962
7962
|
{
|
|
7963
7963
|
"kind": "Method",
|
|
7964
7964
|
"canonicalReference": "@lushly-dev/fast-element!ViewTemplate#render:member(1)",
|
|
7965
|
-
"docComment": "/**\n * Creates an HTMLView from this template, binds it to the source, and then appends it to the host.\n *\n * @param source - The data source to bind the template to.\n *\n * @param host - The Element where the template will be rendered.\n *\n * @param hostBindingTarget - An HTML element to target the host bindings at if different from the host that the template is being attached to.\n *\n * @param scope - The shadow root whose scoped custom element registry child elements should be created against, when it has one.\n */\n",
|
|
7965
|
+
"docComment": "/**\n * Creates an HTMLView from this template, binds it to the source, and then appends it to the host.\n *\n * @param source - The data source to bind the template to.\n *\n * @param host - The Element where the template will be rendered.\n *\n * @param hostBindingTarget - An HTML element to target the host bindings at if different from the\n * host that the template is being attached to.\n *\n * @param scope - The shadow root whose scoped custom element registry child\n * elements should be created against, when it has one.\n */\n",
|
|
7966
7966
|
"excerptTokens": [
|
|
7967
7967
|
{
|
|
7968
7968
|
"kind": "Content",
|
|
@@ -8066,7 +8066,7 @@
|
|
|
8066
8066
|
{
|
|
8067
8067
|
"kind": "Method",
|
|
8068
8068
|
"canonicalReference": "@lushly-dev/fast-element!ViewTemplate#withPolicy:member(1)",
|
|
8069
|
-
"docComment": "/**\n * Sets the DOMPolicy for this template.\n *\n * @remarks\n *\n * The DOMPolicy can only be set once for a template and cannot be set after the template is compiled.\n *\n * @param policy - The policy to associated with this template.\n *\n * @returns The modified template instance.\n */\n",
|
|
8069
|
+
"docComment": "/**\n * Sets the DOMPolicy for this template.\n *\n * @remarks\n *\n * The DOMPolicy can only be set once for a template and cannot be\n * set after the template is compiled.\n *\n * @param policy - The policy to associated with this template.\n *\n * @returns The modified template instance.\n */\n",
|
|
8070
8070
|
"excerptTokens": [
|
|
8071
8071
|
{
|
|
8072
8072
|
"kind": "Content",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
4
|
+
"toolVersion": "7.60.1",
|
|
5
5
|
"schemaVersion": 1011,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
{
|
|
453
453
|
"kind": "Interface",
|
|
454
454
|
"canonicalReference": "@lushly-dev/fast-element!CommandSchema:interface",
|
|
455
|
-
"docComment": "/**\n * Schema describing a command palette action
|
|
455
|
+
"docComment": "/**\n * Schema describing a command palette action.\n * Populated by the `command` decorator during schema extraction.\n *\n * @public\n */\n",
|
|
456
456
|
"excerptTokens": [
|
|
457
457
|
{
|
|
458
458
|
"kind": "Content",
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
{
|
|
1181
1181
|
"kind": "Function",
|
|
1182
1182
|
"canonicalReference": "@lushly-dev/fast-element!diffSchemas:function(1)",
|
|
1183
|
-
"docComment": "/**\n * Compares two component schemas and returns the differences
|
|
1183
|
+
"docComment": "/**\n * Compares two component schemas and returns the differences.\n * Used to detect breaking changes between versions.\n *\n * @param a - The original schema (before).\n *\n * @param b - The new schema (after).\n *\n * @returns A SchemaDiff object describing the changes.\n *\n * @public\n */\n",
|
|
1184
1184
|
"excerptTokens": [
|
|
1185
1185
|
{
|
|
1186
1186
|
"kind": "Content",
|
|
@@ -1272,7 +1272,7 @@
|
|
|
1272
1272
|
{
|
|
1273
1273
|
"kind": "Function",
|
|
1274
1274
|
"canonicalReference": "@lushly-dev/fast-element!enableDefinitionSchema:function(1)",
|
|
1275
|
-
"docComment": "/**\n * Enables automatic Definition Schema extraction for subsequently defined FAST elements
|
|
1275
|
+
"docComment": "/**\n * Enables automatic Definition Schema extraction for subsequently defined FAST elements.\n * Call this before element definitions are registered.\n *\n * @returns A callback that disables automatic extraction.\n *\n * @public\n */\n",
|
|
1276
1276
|
"excerptTokens": [
|
|
1277
1277
|
{
|
|
1278
1278
|
"kind": "Content",
|
|
@@ -2288,7 +2288,7 @@
|
|
|
2288
2288
|
{
|
|
2289
2289
|
"kind": "Interface",
|
|
2290
2290
|
"canonicalReference": "@lushly-dev/fast-element!SchemaDiff:interface",
|
|
2291
|
-
"docComment": "/**\n * Represents the difference between two component schemas
|
|
2291
|
+
"docComment": "/**\n * Represents the difference between two component schemas.\n * Used to detect breaking changes between versions.\n *\n * @public\n */\n",
|
|
2292
2292
|
"excerptTokens": [
|
|
2293
2293
|
{
|
|
2294
2294
|
"kind": "Content",
|
|
@@ -2594,7 +2594,7 @@
|
|
|
2594
2594
|
{
|
|
2595
2595
|
"kind": "Function",
|
|
2596
2596
|
"canonicalReference": "@lushly-dev/fast-element!toCustomElementsManifest:function(1)",
|
|
2597
|
-
"docComment": "/**\n * Generates a Custom Elements Manifest (CEM 2.1.0) from registered schemas.\n *\n * @remarks\n *\n * The manifest groups each component into its own module with a synthesized path based on the tag name (e.g., `my-button.js`). This is suitable for documentation and tooling purposes but may not reflect actual file paths.\n *\n * @param registry - The custom element registry to export from (defaults to global customElements).\n *\n * @returns A Custom Elements Manifest object conforming to CEM 2.1.0 schema.\n *\n * @example\n * ```typescript\n * const manifest = toCustomElementsManifest();\n * console.log(JSON.stringify(manifest, null, 2));\n * ```\n *\n * @public\n */\n",
|
|
2597
|
+
"docComment": "/**\n * Generates a Custom Elements Manifest (CEM 2.1.0) from registered schemas.\n *\n * @remarks\n *\n * The manifest groups each component into its own module with a synthesized path\n * based on the tag name (e.g., `my-button.js`). This is suitable for documentation\n * and tooling purposes but may not reflect actual file paths.\n *\n * @param registry - The custom element registry to export from (defaults to global customElements).\n *\n * @returns A Custom Elements Manifest object conforming to CEM 2.1.0 schema.\n *\n * @example\n * ```typescript\n * const manifest = toCustomElementsManifest();\n * console.log(JSON.stringify(manifest, null, 2));\n * ```\n *\n * @public\n */\n",
|
|
2598
2598
|
"excerptTokens": [
|
|
2599
2599
|
{
|
|
2600
2600
|
"kind": "Content",
|
|
@@ -2641,7 +2641,7 @@
|
|
|
2641
2641
|
{
|
|
2642
2642
|
"kind": "Function",
|
|
2643
2643
|
"canonicalReference": "@lushly-dev/fast-element!toPascalCase:function(1)",
|
|
2644
|
-
"docComment": "/**\n * Converts a kebab-case string to PascalCase.\n *\n * @param str - The kebab-case string to convert.\n *\n * @returns The PascalCase version of the string.\n *\n * @example\n *\n * toPascalCase('my-button') // 'MyButton' toPascalCase('my-cool-element') // 'MyCoolElement'\n *\n * @public\n */\n",
|
|
2644
|
+
"docComment": "/**\n * Converts a kebab-case string to PascalCase.\n *\n * @param str - The kebab-case string to convert.\n *\n * @returns The PascalCase version of the string.\n *\n * @example\n *\n * toPascalCase('my-button') // 'MyButton'\n * toPascalCase('my-cool-element') // 'MyCoolElement'\n *\n * @public\n */\n",
|
|
2645
2645
|
"excerptTokens": [
|
|
2646
2646
|
{
|
|
2647
2647
|
"kind": "Content",
|