@microsoft/fast-element 3.0.0-rc.1 → 3.0.0-rc.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.
Files changed (286) hide show
  1. package/CHANGELOG.md +51 -1
  2. package/README.md +50 -14
  3. package/dist/context/context.api.json +13 -13
  4. package/dist/declarative/declarative.api.json +654 -15
  5. package/dist/di/di.api.json +15 -15
  6. package/dist/dts/__test__/helpers.d.ts +6 -0
  7. package/dist/dts/__test__/setup-node.d.ts +0 -0
  8. package/dist/dts/binding/binding.d.ts +15 -5
  9. package/dist/dts/binding/one-time.d.ts +1 -1
  10. package/dist/dts/binding/one-way.d.ts +1 -1
  11. package/dist/dts/binding/signal.d.ts +1 -1
  12. package/dist/dts/binding/two-way.d.ts +1 -1
  13. package/dist/dts/components/attributes.d.ts +1 -1
  14. package/dist/dts/components/enable-hydration.d.ts +22 -2
  15. package/dist/dts/components/fast-definitions.d.ts +7 -4
  16. package/dist/dts/components/fast-element.d.ts +42 -12
  17. package/dist/dts/components/hydration-tracker.d.ts +47 -4
  18. package/dist/dts/components/hydration.d.ts +5 -0
  19. package/dist/dts/context.d.ts +7 -7
  20. package/dist/dts/declarative/debug.d.ts +2 -3
  21. package/dist/dts/declarative/index.d.ts +3 -2
  22. package/dist/dts/declarative/interfaces.d.ts +1 -2
  23. package/dist/dts/declarative/template.d.ts +2 -1
  24. package/dist/dts/declarative/utilities.d.ts +50 -4
  25. package/dist/dts/di/di.d.ts +6 -6
  26. package/dist/dts/dom-policy.d.ts +22 -4
  27. package/dist/dts/dom.d.ts +4 -16
  28. package/dist/dts/hydration/diagnostics.d.ts +93 -0
  29. package/dist/dts/hydration/hydration-debugger.d.ts +35 -0
  30. package/dist/dts/hydration/messages.d.ts +62 -0
  31. package/dist/dts/hydration/target-builder.d.ts +26 -1
  32. package/dist/dts/hydration.d.ts +7 -3
  33. package/dist/dts/index.d.ts +7 -3
  34. package/dist/dts/interfaces.d.ts +1 -0
  35. package/dist/dts/observation/observable.d.ts +3 -3
  36. package/dist/dts/platform.d.ts +20 -4
  37. package/dist/dts/registry.d.ts +1 -0
  38. package/dist/dts/templating/children.d.ts +1 -1
  39. package/dist/dts/templating/compiler.d.ts +1 -1
  40. package/dist/dts/templating/html-binding-directive.d.ts +6 -2
  41. package/dist/dts/templating/html-directive.d.ts +2 -1
  42. package/dist/dts/templating/hydration-view.d.ts +24 -3
  43. package/dist/dts/templating/ref.d.ts +1 -1
  44. package/dist/dts/templating/render.d.ts +2 -2
  45. package/dist/dts/templating/repeat.d.ts +1 -1
  46. package/dist/dts/templating/slotted.d.ts +1 -1
  47. package/dist/dts/templating/template.d.ts +5 -5
  48. package/dist/dts/templating/when.d.ts +1 -1
  49. package/dist/dts/testing/fakes.d.ts +4 -4
  50. package/dist/esm/__test__/helpers.js +22 -0
  51. package/dist/esm/__test__/setup-node.js +18 -0
  52. package/dist/esm/binding/two-way.js +1 -2
  53. package/dist/esm/components/attributes.js +12 -8
  54. package/dist/esm/components/element-controller.js +11 -6
  55. package/dist/esm/components/enable-hydration.js +27 -3
  56. package/dist/esm/components/fast-definitions.js +19 -18
  57. package/dist/esm/components/hydration-tracker.js +34 -5
  58. package/dist/esm/components/hydration.js +85 -6
  59. package/dist/esm/debug.js +1 -0
  60. package/dist/esm/declarative/attribute-map.js +2 -1
  61. package/dist/esm/declarative/debug.js +0 -1
  62. package/dist/esm/declarative/index.js +1 -0
  63. package/dist/esm/declarative/interfaces.js +0 -1
  64. package/dist/esm/declarative/observer-map-utilities.js +58 -55
  65. package/dist/esm/declarative/template-bridge.js +4 -14
  66. package/dist/esm/declarative/template.js +4 -3
  67. package/dist/esm/declarative/utilities.js +236 -1
  68. package/dist/esm/di/di.js +2 -1
  69. package/dist/esm/dom-policy.js +33 -4
  70. package/dist/esm/hydration/diagnostics.js +50 -0
  71. package/dist/esm/hydration/hydration-debugger.js +112 -0
  72. package/dist/esm/hydration/messages.js +84 -0
  73. package/dist/esm/hydration/target-builder.js +65 -19
  74. package/dist/esm/hydration.js +3 -1
  75. package/dist/esm/index.js +6 -2
  76. package/dist/esm/interfaces.js +1 -0
  77. package/dist/esm/metadata.js +2 -8
  78. package/dist/esm/observation/notifier.js +2 -4
  79. package/dist/esm/registry.js +1 -0
  80. package/dist/esm/templating/html-binding-directive.js +1 -1
  81. package/dist/esm/templating/hydration-view.js +20 -27
  82. package/dist/esm/templating/render.js +39 -18
  83. package/dist/esm/templating/repeat.js +51 -17
  84. package/dist/esm/templating/view.js +1 -1
  85. package/dist/esm/testing/fixture.js +2 -2
  86. package/dist/esm/testing/timeout.js +2 -2
  87. package/dist/fast-element.api.json +1329 -99
  88. package/dist/fast-element.d.ts +147 -66
  89. package/dist/fast-element.debug.js +392 -99
  90. package/dist/fast-element.debug.min.js +2 -2
  91. package/dist/fast-element.js +392 -99
  92. package/dist/fast-element.min.js +2 -2
  93. package/dist/fast-element.untrimmed.d.ts +133 -70
  94. package/dist/hydration/hydration.api.json +1280 -57
  95. package/dist/styles/styles.api.json +1 -1
  96. package/package.json +21 -9
  97. package/ARCHITECTURE_FASTELEMENT.md +0 -63
  98. package/ARCHITECTURE_HTML_TAGGED_TEMPLATE_LITERAL.md +0 -36
  99. package/ARCHITECTURE_INTRO.md +0 -10
  100. package/ARCHITECTURE_OVERVIEW.md +0 -52
  101. package/ARCHITECTURE_UPDATES.md +0 -11
  102. package/CHANGELOG.json +0 -2275
  103. package/DECLARATIVE_DESIGN.md +0 -806
  104. package/DECLARATIVE_HTML.md +0 -470
  105. package/DECLARATIVE_MIGRATION.md +0 -215
  106. package/DECLARATIVE_RENDERING.md +0 -530
  107. package/DECLARATIVE_RENDERING_LIFECYCLE.md +0 -288
  108. package/DECLARATIVE_SCHEMA_OBSERVER_MAP.md +0 -489
  109. package/DESIGN.md +0 -615
  110. package/MIGRATION.md +0 -387
  111. package/SIZES.md +0 -25
  112. package/api-extractor.arrays.json +0 -15
  113. package/api-extractor.context.json +0 -15
  114. package/api-extractor.declarative.json +0 -15
  115. package/api-extractor.di.json +0 -15
  116. package/api-extractor.hydration.json +0 -15
  117. package/api-extractor.styles.json +0 -15
  118. package/biome.json +0 -4
  119. package/docs/ACKNOWLEDGEMENTS.md +0 -12
  120. package/docs/api-report.api.md +0 -1299
  121. package/docs/arrays/api-report.api.md +0 -114
  122. package/docs/context/api-report.api.md +0 -69
  123. package/docs/declarative/api-report.api.md +0 -397
  124. package/docs/di/api-report.api.md +0 -315
  125. package/docs/fast-element-2-changes.md +0 -15
  126. package/docs/hydration/api-report.api.md +0 -285
  127. package/docs/styles/api-report.api.md +0 -135
  128. package/playwright.config.ts +0 -26
  129. package/playwright.declarative.config.ts +0 -26
  130. package/playwright.declarative.webui.config.ts +0 -20
  131. package/scripts/declarative/build-fixtures-with-webui.js +0 -135
  132. package/scripts/declarative/build-fixtures.js +0 -49
  133. package/scripts/declarative/build-fixtures.utilities.js +0 -101
  134. package/scripts/measure-sizes.js +0 -219
  135. package/scripts/run-api-extractor.js +0 -70
  136. package/test/declarative/fixtures/README.md +0 -72
  137. package/test/declarative/fixtures/WRITING_FIXTURES.md +0 -330
  138. package/test/declarative/fixtures/bindings/README.md +0 -12
  139. package/test/declarative/fixtures/bindings/attribute/entry.html +0 -13
  140. package/test/declarative/fixtures/bindings/attribute/fast-build.config.json +0 -6
  141. package/test/declarative/fixtures/bindings/attribute/index.html +0 -25
  142. package/test/declarative/fixtures/bindings/attribute/main.ts +0 -41
  143. package/test/declarative/fixtures/bindings/attribute/state.json +0 -8
  144. package/test/declarative/fixtures/bindings/attribute/templates.html +0 -11
  145. package/test/declarative/fixtures/bindings/content/entry.html +0 -12
  146. package/test/declarative/fixtures/bindings/content/fast-build.config.json +0 -6
  147. package/test/declarative/fixtures/bindings/content/index.html +0 -19
  148. package/test/declarative/fixtures/bindings/content/main.ts +0 -27
  149. package/test/declarative/fixtures/bindings/content/state.json +0 -4
  150. package/test/declarative/fixtures/bindings/content/templates.html +0 -6
  151. package/test/declarative/fixtures/bindings/dot-syntax/entry.html +0 -11
  152. package/test/declarative/fixtures/bindings/dot-syntax/fast-build.config.json +0 -6
  153. package/test/declarative/fixtures/bindings/dot-syntax/index.html +0 -47
  154. package/test/declarative/fixtures/bindings/dot-syntax/main.ts +0 -59
  155. package/test/declarative/fixtures/bindings/dot-syntax/state.json +0 -16
  156. package/test/declarative/fixtures/bindings/dot-syntax/templates.html +0 -17
  157. package/test/declarative/fixtures/bindings/event/entry.html +0 -11
  158. package/test/declarative/fixtures/bindings/event/fast-build.config.json +0 -6
  159. package/test/declarative/fixtures/bindings/event/index.html +0 -43
  160. package/test/declarative/fixtures/bindings/event/main.ts +0 -43
  161. package/test/declarative/fixtures/bindings/event/state.json +0 -3
  162. package/test/declarative/fixtures/bindings/event/templates.html +0 -18
  163. package/test/declarative/fixtures/bindings/host/entry.html +0 -40
  164. package/test/declarative/fixtures/bindings/host/fast-build.config.json +0 -6
  165. package/test/declarative/fixtures/bindings/host/index.html +0 -96
  166. package/test/declarative/fixtures/bindings/host/main.ts +0 -222
  167. package/test/declarative/fixtures/bindings/host/state.json +0 -9
  168. package/test/declarative/fixtures/bindings/host/templates.html +0 -55
  169. package/test/declarative/fixtures/directives/README.md +0 -12
  170. package/test/declarative/fixtures/directives/children/entry.html +0 -11
  171. package/test/declarative/fixtures/directives/children/fast-build.config.json +0 -6
  172. package/test/declarative/fixtures/directives/children/index.html +0 -15
  173. package/test/declarative/fixtures/directives/children/main.ts +0 -22
  174. package/test/declarative/fixtures/directives/children/state.json +0 -3
  175. package/test/declarative/fixtures/directives/children/templates.html +0 -3
  176. package/test/declarative/fixtures/directives/ref/entry.html +0 -11
  177. package/test/declarative/fixtures/directives/ref/fast-build.config.json +0 -6
  178. package/test/declarative/fixtures/directives/ref/index.html +0 -15
  179. package/test/declarative/fixtures/directives/ref/main.ts +0 -17
  180. package/test/declarative/fixtures/directives/ref/state.json +0 -1
  181. package/test/declarative/fixtures/directives/ref/templates.html +0 -3
  182. package/test/declarative/fixtures/directives/repeat/entry.html +0 -21
  183. package/test/declarative/fixtures/directives/repeat/fast-build.config.json +0 -6
  184. package/test/declarative/fixtures/directives/repeat/index.html +0 -133
  185. package/test/declarative/fixtures/directives/repeat/main.ts +0 -110
  186. package/test/declarative/fixtures/directives/repeat/sprites.svg +0 -8
  187. package/test/declarative/fixtures/directives/repeat/state.json +0 -10
  188. package/test/declarative/fixtures/directives/repeat/templates.html +0 -75
  189. package/test/declarative/fixtures/directives/slotted/entry.html +0 -17
  190. package/test/declarative/fixtures/directives/slotted/fast-build.config.json +0 -6
  191. package/test/declarative/fixtures/directives/slotted/index.html +0 -27
  192. package/test/declarative/fixtures/directives/slotted/main.ts +0 -29
  193. package/test/declarative/fixtures/directives/slotted/state.json +0 -1
  194. package/test/declarative/fixtures/directives/slotted/templates.html +0 -7
  195. package/test/declarative/fixtures/directives/when/entry.html +0 -51
  196. package/test/declarative/fixtures/directives/when/fast-build.config.json +0 -6
  197. package/test/declarative/fixtures/directives/when/index.html +0 -136
  198. package/test/declarative/fixtures/directives/when/main.ts +0 -172
  199. package/test/declarative/fixtures/directives/when/state.json +0 -12
  200. package/test/declarative/fixtures/directives/when/templates.html +0 -75
  201. package/test/declarative/fixtures/ecosystem/README.md +0 -11
  202. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/entry.html +0 -12
  203. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/fast-build.config.json +0 -6
  204. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/index.html +0 -20
  205. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/main.ts +0 -68
  206. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/state.json +0 -4
  207. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/templates.html +0 -7
  208. package/test/declarative/fixtures/ecosystem/errors/entry.html +0 -12
  209. package/test/declarative/fixtures/ecosystem/errors/fast-build.config.json +0 -6
  210. package/test/declarative/fixtures/ecosystem/errors/index.html +0 -20
  211. package/test/declarative/fixtures/ecosystem/errors/main.ts +0 -17
  212. package/test/declarative/fixtures/ecosystem/errors/state.json +0 -1
  213. package/test/declarative/fixtures/ecosystem/errors/templates.html +0 -7
  214. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/entry.html +0 -17
  215. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/fast-build.config.json +0 -6
  216. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/index.html +0 -56
  217. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/main.ts +0 -134
  218. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/state.json +0 -12
  219. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/templates.html +0 -34
  220. package/test/declarative/fixtures/ecosystem/performance-metrics/entry.html +0 -25
  221. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-build.config.json +0 -6
  222. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-card.css +0 -10
  223. package/test/declarative/fixtures/ecosystem/performance-metrics/index.html +0 -181
  224. package/test/declarative/fixtures/ecosystem/performance-metrics/main.ts +0 -58
  225. package/test/declarative/fixtures/ecosystem/performance-metrics/state.json +0 -6
  226. package/test/declarative/fixtures/ecosystem/performance-metrics/templates.html +0 -15
  227. package/test/declarative/fixtures/extensions/README.md +0 -15
  228. package/test/declarative/fixtures/extensions/attribute-map/entry.html +0 -14
  229. package/test/declarative/fixtures/extensions/attribute-map/fast-build.config.json +0 -6
  230. package/test/declarative/fixtures/extensions/attribute-map/index.html +0 -31
  231. package/test/declarative/fixtures/extensions/attribute-map/main.ts +0 -40
  232. package/test/declarative/fixtures/extensions/attribute-map/state.json +0 -4
  233. package/test/declarative/fixtures/extensions/attribute-map/templates.html +0 -14
  234. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/entry.html +0 -12
  235. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/fast-build.config.json +0 -7
  236. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/index.html +0 -25
  237. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/main.ts +0 -31
  238. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/state.json +0 -5
  239. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/templates.html +0 -11
  240. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/entry.html +0 -13
  241. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/fast-build.config.json +0 -7
  242. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/index.html +0 -23
  243. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/main.ts +0 -37
  244. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/state.json +0 -1
  245. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/templates.html +0 -9
  246. package/test/declarative/fixtures/extensions/observer-map/entry.html +0 -15
  247. package/test/declarative/fixtures/extensions/observer-map/fast-build.config.json +0 -6
  248. package/test/declarative/fixtures/extensions/observer-map/index.html +0 -442
  249. package/test/declarative/fixtures/extensions/observer-map/main.ts +0 -482
  250. package/test/declarative/fixtures/extensions/observer-map/state.json +0 -158
  251. package/test/declarative/fixtures/extensions/observer-map/templates.html +0 -172
  252. package/test/declarative/fixtures/extensions/observer-map-config-object/entry.html +0 -16
  253. package/test/declarative/fixtures/extensions/observer-map-config-object/fast-build.config.json +0 -6
  254. package/test/declarative/fixtures/extensions/observer-map-config-object/index.html +0 -27
  255. package/test/declarative/fixtures/extensions/observer-map-config-object/main.ts +0 -53
  256. package/test/declarative/fixtures/extensions/observer-map-config-object/state.json +0 -9
  257. package/test/declarative/fixtures/extensions/observer-map-config-object/templates.html +0 -12
  258. package/test/declarative/fixtures/extensions/observer-map-deep-merge/README.md +0 -98
  259. package/test/declarative/fixtures/extensions/observer-map-deep-merge/entry.html +0 -156
  260. package/test/declarative/fixtures/extensions/observer-map-deep-merge/fast-build.config.json +0 -6
  261. package/test/declarative/fixtures/extensions/observer-map-deep-merge/index.html +0 -376
  262. package/test/declarative/fixtures/extensions/observer-map-deep-merge/main.ts +0 -366
  263. package/test/declarative/fixtures/extensions/observer-map-deep-merge/state.json +0 -69
  264. package/test/declarative/fixtures/extensions/observer-map-deep-merge/templates.html +0 -91
  265. package/test/declarative/fixtures/extensions/observer-map-properties/entry.html +0 -14
  266. package/test/declarative/fixtures/extensions/observer-map-properties/fast-build.config.json +0 -6
  267. package/test/declarative/fixtures/extensions/observer-map-properties/index.html +0 -110
  268. package/test/declarative/fixtures/extensions/observer-map-properties/main.ts +0 -175
  269. package/test/declarative/fixtures/extensions/observer-map-properties/state.json +0 -29
  270. package/test/declarative/fixtures/extensions/observer-map-properties/templates.html +0 -55
  271. package/test/declarative/fixtures/scenarios/README.md +0 -7
  272. package/test/declarative/fixtures/scenarios/nested-elements/entry.html +0 -16
  273. package/test/declarative/fixtures/scenarios/nested-elements/fast-build.config.json +0 -6
  274. package/test/declarative/fixtures/scenarios/nested-elements/index.html +0 -126
  275. package/test/declarative/fixtures/scenarios/nested-elements/main.ts +0 -214
  276. package/test/declarative/fixtures/scenarios/nested-elements/state.json +0 -10
  277. package/test/declarative/fixtures/scenarios/nested-elements/templates.html +0 -54
  278. package/test/declarative/index.html +0 -12
  279. package/test/declarative/vite.config.ts +0 -55
  280. package/test/declarative-main.ts +0 -6
  281. package/test/extension-subpaths-main.ts +0 -9
  282. package/test/index.html +0 -11
  283. package/test/main.ts +0 -109
  284. package/test/pure-declarative-main.ts +0 -1
  285. package/test/vite.config.ts +0 -19
  286. package/tsconfig.api-extractor.json +0 -6
@@ -1,1299 +0,0 @@
1
- ## API Report File for "@microsoft/fast-element"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- // @public
8
- export interface AccessCachedPath extends CachedPathCommon {
9
- // (undocumented)
10
- type: "access";
11
- }
12
-
13
- // @public
14
- export interface Accessor {
15
- getValue(source: any): any;
16
- name: string;
17
- setValue(source: any, value: any): void;
18
- }
19
-
20
- // @public
21
- export type AddViewBehaviorFactory = (factory: ViewBehaviorFactory) => string;
22
-
23
- // @public
24
- export interface ArrayObserver extends SubscriberSet {
25
- addSort(sort: Sort): void;
26
- addSplice(splice: Splice): void;
27
- flush(): void;
28
- readonly lengthObserver: LengthObserver;
29
- reset(oldCollection: any[] | undefined): void;
30
- readonly sortObserver: SortObserver;
31
- strategy: SpliceStrategy | null;
32
- }
33
-
34
- // @public
35
- export const ArrayObserver: Readonly<{
36
- readonly sorted: 0;
37
- readonly enable: () => void;
38
- }>;
39
-
40
- // @public
41
- export interface Aspected {
42
- aspectType: DOMAspect;
43
- dataBinding?: Binding;
44
- sourceAspect: string;
45
- targetAspect: string;
46
- }
47
-
48
- // @public
49
- export function attr(config?: DecoratorAttributeConfiguration): (target: {}, property: string) => void;
50
-
51
- // @public
52
- export function attr(target: {}, prop: string): void;
53
-
54
- // @public
55
- export type AttributeConfiguration = {
56
- property: string;
57
- attribute?: string;
58
- mode?: AttributeMode;
59
- converter?: ValueConverter;
60
- };
61
-
62
- // @public
63
- export const AttributeConfiguration: Readonly<{
64
- locate: (target: {}) => AttributeConfiguration[];
65
- }>;
66
-
67
- // @public
68
- export class AttributeDefinition implements Accessor {
69
- constructor(Owner: Function, name: string, attribute?: string, mode?: AttributeMode, converter?: ValueConverter);
70
- readonly attribute: string;
71
- // @internal
72
- static collect(Owner: Function, ...attributeLists: (ReadonlyArray<string | AttributeConfiguration> | undefined)[]): ReadonlyArray<AttributeDefinition>;
73
- readonly converter?: ValueConverter;
74
- getValue(source: HTMLElement): any;
75
- readonly mode: AttributeMode;
76
- readonly name: string;
77
- // @internal (undocumented)
78
- onAttributeChangedCallback(element: HTMLElement, value: any): void;
79
- readonly Owner: Function;
80
- setValue(source: HTMLElement, newValue: any): void;
81
- }
82
-
83
- // @public
84
- export type AttributeMode = "reflect" | "boolean" | "fromView";
85
-
86
- // @public
87
- export abstract class Binding<TSource = any, TReturn = any, TParent = any> {
88
- constructor(evaluate: Expression<TSource, TReturn, TParent>, policy?: DOMPolicy_2 | undefined, isVolatile?: boolean);
89
- abstract createObserver(subscriber: Subscriber, directive: BindingDirective): ExpressionObserver<TSource, TReturn, TParent>;
90
- // (undocumented)
91
- evaluate: Expression<TSource, TReturn, TParent>;
92
- // (undocumented)
93
- isVolatile: boolean;
94
- options?: any;
95
- // Warning: (ae-forgotten-export) The symbol "DOMPolicy_2" needs to be exported by the entry point index.d.ts
96
- //
97
- // (undocumented)
98
- policy?: DOMPolicy_2 | undefined;
99
- }
100
-
101
- // @public
102
- export interface BindingDirective {
103
- readonly aspectType?: DOMAspect;
104
- readonly dataBinding: Binding;
105
- readonly targetAspect?: string;
106
- }
107
-
108
- // @public
109
- export const booleanConverter: ValueConverter;
110
-
111
- // @public
112
- export type CachedPath = DefaultCachedPath | RepeatCachedPath | AccessCachedPath | EventCachedPath;
113
-
114
- // @public
115
- export interface CachedPathCommon {
116
- // (undocumented)
117
- currentContext: string | null;
118
- // (undocumented)
119
- parentContext: string | null;
120
- // (undocumented)
121
- path: string;
122
- }
123
-
124
- // @public
125
- export type CachedPathMap = Map<string, Map<string, JSONSchema>>;
126
-
127
- // @public
128
- export type Callable = typeof Function.prototype.call | {
129
- call(): void;
130
- };
131
-
132
- // @public
133
- export interface CaptureType {
134
- }
135
-
136
- // @public
137
- export interface ChildListDirectiveOptions<T = any> extends NodeBehaviorOptions<T>, Omit<MutationObserverInit, "subtree" | "childList"> {
138
- }
139
-
140
- // @public
141
- export function children<TSource = any>(propertyOrOptions: (keyof TSource & string) | ChildrenDirectiveOptions<keyof TSource & string>): CaptureType;
142
-
143
- // @public
144
- export class ChildrenDirective extends NodeObservationDirective<ChildrenDirectiveOptions> {
145
- constructor(options: ChildrenDirectiveOptions);
146
- disconnect(target: any): void;
147
- getNodes(target: Element): Node[];
148
- observe(target: any): void;
149
- }
150
-
151
- // @public
152
- export type ChildrenDirectiveOptions<T = any> = ChildListDirectiveOptions<T> | SubtreeDirectiveOptions<T>;
153
-
154
- // @public
155
- export interface ChildrenMap {
156
- // (undocumented)
157
- attributeName: string;
158
- // (undocumented)
159
- customElementName: string;
160
- }
161
-
162
- // @public
163
- export type Class<T, C = {}> = C & Constructable<T> & {
164
- readonly prototype: T;
165
- };
166
-
167
- // @public
168
- export type CompilationStrategy = (
169
- html: string | HTMLTemplateElement,
170
- factories: Record<string, ViewBehaviorFactory>,
171
- policy: DOMPolicy_2) => HTMLTemplateCompilationResult;
172
-
173
- // @public
174
- export type CompiledViewBehaviorFactory = Required<ViewBehaviorFactory>;
175
-
176
- // @public
177
- export const Compiler: {
178
- compile<TSource = any, TParent = any>(html: string | HTMLTemplateElement, factories: Record<string, ViewBehaviorFactory>, policy?: DOMPolicy_2): HTMLTemplateCompilationResult<TSource, TParent>;
179
- setDefaultStrategy(strategy: CompilationStrategy): void;
180
- aggregate(parts: (string | ViewBehaviorFactory)[], policy?: DOMPolicy_2): ViewBehaviorFactory;
181
- };
182
-
183
- // @public
184
- export type ComposableStyles = string | ElementStyles | CSSStyleSheet;
185
-
186
- // @public
187
- export function composedContains(reference: HTMLElement, test: HTMLElement): boolean;
188
-
189
- // @public
190
- export function composedParent<T extends HTMLElement>(element: T): HTMLElement | null;
191
-
192
- // @beta
193
- export type ComputedBuilder = {
194
- on: {
195
- setup(callback: ComputedSetupCallback): void;
196
- };
197
- };
198
-
199
- // @beta
200
- export type ComputedInitializer<T> = (builder: ComputedBuilder) => () => T;
201
-
202
- // @beta
203
- export type ComputedSetupCallback = () => (() => void) | void;
204
-
205
- // @beta
206
- export type ComputedState<T> = ReadonlyState<T> & Disposable & {
207
- subscribe(subscriber: Subscriber): void;
208
- unsubscribe(subscriber: Subscriber): void;
209
- };
210
-
211
- // @beta
212
- export function computedState<T>(initialize: ComputedInitializer<T>, name?: string): ComputedState<T>;
213
-
214
- // @public
215
- export type Constructable<T = {}> = {
216
- new (...args: any[]): T;
217
- };
218
-
219
- // @public
220
- export type ConstructibleStyleStrategy = {
221
- new (styles: (string | CSSStyleSheet)[]): StyleStrategy;
222
- };
223
-
224
- // @public
225
- export interface ContentTemplate {
226
- create(): ContentView;
227
- }
228
-
229
- // @public
230
- export interface ContentView {
231
- bind(source: any, context?: ExecutionContext): void;
232
- // (undocumented)
233
- readonly context: ExecutionContext;
234
- insertBefore(node: Node): void;
235
- remove(): void;
236
- unbind(): void;
237
- }
238
-
239
- // @public
240
- export const css: CSSTemplateTag;
241
-
242
- // @public
243
- export interface CSSDirective {
244
- createCSS(): ComposableStyles;
245
- }
246
-
247
- // @public
248
- export const CSSDirective: Readonly<{
249
- getForInstance: (object: any) => CSSDirectiveDefinition<Constructable<CSSDirective>> | undefined;
250
- getByType: (key: Function) => CSSDirectiveDefinition<Constructable<CSSDirective>> | undefined;
251
- define<TType extends Constructable<CSSDirective>>(type: any): TType;
252
- }>;
253
-
254
- // @public
255
- export function cssDirective(): (type: Constructable<CSSDirective>) => void;
256
-
257
- // @public
258
- export interface CSSDirectiveDefinition<TType extends Constructable<CSSDirective> = Constructable<CSSDirective>> {
259
- readonly type: TType;
260
- }
261
-
262
- // @public
263
- export type CSSTemplateTag = ((strings: TemplateStringsArray, ...values: CSSValue[]) => ElementStyles) & {
264
- partial(strings: TemplateStringsArray, ...values: CSSValue[]): CSSDirective;
265
- };
266
-
267
- // @public
268
- export type CSSValue = ComposableStyles | CSSDirective;
269
-
270
- // @public
271
- export function customElement(nameOrDef: string | PartialFASTElementDefinition): (type: Constructable<HTMLElement>) => void;
272
-
273
- // @public
274
- export type DecoratorAttributeConfiguration = Omit<AttributeConfiguration, "property">;
275
-
276
- // @public
277
- export interface DefaultCachedPath extends CachedPathCommon {
278
- // (undocumented)
279
- type: "default";
280
- }
281
-
282
- // @public
283
- export class DefaultExecutionContext<TParent> implements ExecutionContext<TParent> {
284
- get event(): Event;
285
- eventDetail<TDetail>(): TDetail;
286
- eventTarget<TTarget extends EventTarget>(): TTarget;
287
- index: number;
288
- get isEven(): boolean;
289
- get isFirst(): boolean;
290
- get isInMiddle(): boolean;
291
- get isLast(): boolean;
292
- get isOdd(): boolean;
293
- length: number;
294
- readonly parent: TParent;
295
- readonly parentContext: ExecutionContext<TParent>;
296
- }
297
-
298
- // @public
299
- export interface Disposable {
300
- dispose(): void;
301
- }
302
-
303
- // @public
304
- export const DOM: Readonly<{
305
- readonly policy: DOMPolicy_2;
306
- setPolicy(value: DOMPolicy_2): void;
307
- setAttribute(element: HTMLElement, attributeName: string, value: any): void;
308
- setBooleanAttribute(element: HTMLElement, attributeName: string, value: boolean): void;
309
- }>;
310
-
311
- // @public
312
- export const DOMAspect: Readonly<{
313
- readonly none: 0;
314
- readonly attribute: 1;
315
- readonly booleanAttribute: 2;
316
- readonly property: 3;
317
- readonly content: 4;
318
- readonly tokenList: 5;
319
- readonly event: 6;
320
- }>;
321
-
322
- // @public
323
- export type DOMAspect = (typeof DOMAspect)[Exclude<keyof typeof DOMAspect, "none">];
324
-
325
- // @public
326
- export type DOMAspectGuards = {
327
- [DOMAspect.attribute]?: DOMSinkGuards;
328
- [DOMAspect.booleanAttribute]?: DOMSinkGuards;
329
- [DOMAspect.property]?: DOMSinkGuards;
330
- [DOMAspect.content]?: DOMSinkGuards;
331
- [DOMAspect.tokenList]?: DOMSinkGuards;
332
- [DOMAspect.event]?: DOMSinkGuards;
333
- };
334
-
335
- // @public
336
- export type DOMElementGuards = Record<string, DOMAspectGuards>;
337
-
338
- // @public
339
- export type DOMGuards = {
340
- elements: DOMElementGuards;
341
- aspects: DOMAspectGuards;
342
- };
343
-
344
- // @public
345
- export const DOMPolicy: Readonly<{
346
- create(options?: DOMPolicyOptions): Readonly<DOMPolicy_2>;
347
- }>;
348
-
349
- // @public
350
- export type DOMPolicyOptions = {
351
- trustedType?: TrustedTypesPolicy;
352
- guards?: Partial<DOMGuards>;
353
- };
354
-
355
- // @public
356
- export type DOMSink = (target: Node, aspectName: string, value: any, ...args: any[]) => void;
357
-
358
- // @public
359
- export type DOMSinkGuards = Record<string, (tagName: string | null, aspect: DOMAspect, aspectName: string, sink: DOMSink) => DOMSink>;
360
-
361
- // @public
362
- export class ElementController<TElement extends HTMLElement = HTMLElement> implements Notifier, HostController<TElement> {
363
- // @internal
364
- constructor(element: TElement, definition: FASTElementDefinition);
365
- addBehavior(behavior: HostBehavior<TElement>): void;
366
- addStyles(styles: ElementStyles | HTMLStyleElement | null | undefined): void;
367
- protected behaviors: Map<HostBehavior<TElement>, number> | null;
368
- protected bindObservables(): void;
369
- protected captureBoundObservables(): void;
370
- connect(): void;
371
- protected connectBehaviors(): void;
372
- get context(): ExecutionContext;
373
- readonly definition: FASTElementDefinition;
374
- disconnect(): void;
375
- protected disconnectBehaviors(): void;
376
- emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): void | boolean;
377
- static forCustomElement(element: HTMLElement, override?: boolean): ElementController;
378
- protected hasExistingShadowRoot: boolean;
379
- // @internal
380
- static installHydrationHook(hook: (controller: ElementController, template: ElementViewTemplate, element: HTMLElement, host: Node) => boolean): void;
381
- get isBound(): boolean;
382
- get isConnected(): boolean;
383
- readonly isHydrated: Promise<boolean>;
384
- readonly isPrerendered: Promise<boolean>;
385
- get mainStyles(): ElementStyles | null;
386
- set mainStyles(value: ElementStyles | null);
387
- protected needsInitialization: boolean;
388
- notify(args: any): void;
389
- protected observeLateAttributes(): void;
390
- onAttributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
391
- onUnbind(behavior: {
392
- unbind(controller: ExpressionController<TElement>): any;
393
- }): void;
394
- removeBehavior(behavior: HostBehavior<TElement>, force?: boolean): void;
395
- removeStyles(styles: ElementStyles | HTMLStyleElement | null | undefined): void;
396
- protected renderTemplate(template: ElementViewTemplate | null | undefined): void;
397
- static setStrategy(strategy: ElementControllerStrategy): void;
398
- get shadowOptions(): ShadowRootOptions | undefined;
399
- set shadowOptions(value: ShadowRootOptions | undefined);
400
- readonly source: TElement;
401
- get sourceLifetime(): SourceLifetime | undefined;
402
- protected stage: Stages;
403
- get subject(): TElement;
404
- subscribe(subscriber: Subscriber, propertyToWatch?: any): void;
405
- protected syncLateAttributes(): void;
406
- get template(): ElementViewTemplate<TElement> | null;
407
- set template(value: ElementViewTemplate<TElement> | null);
408
- unsubscribe(subscriber: Subscriber, propertyToUnwatch?: any): void;
409
- readonly view: ElementView<TElement> | null;
410
- }
411
-
412
- // @public
413
- export interface ElementControllerStrategy {
414
- // (undocumented)
415
- new (element: HTMLElement, definition: FASTElementDefinition): ElementController;
416
- }
417
-
418
- // @public
419
- export const elements: (selector?: string) => ElementsFilter;
420
-
421
- // @public
422
- export type ElementsFilter = (value: Node, index?: number, array?: Node[]) => boolean;
423
-
424
- // @public
425
- export class ElementStyles {
426
- constructor(styles: ReadonlyArray<ComposableStyles>);
427
- // @internal (undocumented)
428
- addStylesTo(target: StyleTarget): void;
429
- // @internal (undocumented)
430
- isAttachedTo(target: StyleTarget): boolean;
431
- static normalize(styles: ComposableStyles | ComposableStyles[] | undefined): ElementStyles | undefined;
432
- // @internal (undocumented)
433
- removeStylesFrom(target: StyleTarget): void;
434
- static setDefaultStrategy(Strategy: ConstructibleStyleStrategy): void;
435
- get strategy(): StyleStrategy;
436
- // (undocumented)
437
- readonly styles: ReadonlyArray<ComposableStyles>;
438
- static readonly supportsAdoptedStyleSheets: boolean;
439
- withStrategy(Strategy: ConstructibleStyleStrategy): this;
440
- }
441
-
442
- // @public
443
- export interface ElementView<TSource = any, TParent = any> extends View<TSource, TParent> {
444
- appendTo(node: Node): void;
445
- onUnbind(behavior: {
446
- unbind(controller: ViewController<TSource, TParent>): any;
447
- }): void;
448
- readonly sourceLifetime?: SourceLifetime;
449
- }
450
-
451
- // @public
452
- export interface ElementViewTemplate<TSource = any, TParent = any> {
453
- create(hostBindingTarget: Element): ElementView<TSource, TParent>;
454
- render(source: TSource, host: Node, hostBindingTarget?: Element): ElementView<TSource, TParent>;
455
- }
456
-
457
- // @public
458
- export const emptyArray: readonly never[];
459
-
460
- // @public
461
- export function enableDebug(): void;
462
-
463
- // @public
464
- export interface EventCachedPath extends CachedPathCommon {
465
- // (undocumented)
466
- type: "event";
467
- }
468
-
469
- // @public
470
- export interface ExecutionContext<TParent = any> {
471
- readonly event: Event;
472
- eventDetail<TDetail>(): TDetail;
473
- eventTarget<TTarget extends EventTarget>(): TTarget;
474
- index: number;
475
- readonly isEven: boolean;
476
- readonly isFirst: boolean;
477
- readonly isInMiddle: boolean;
478
- readonly isLast: boolean;
479
- readonly isOdd: boolean;
480
- length: number;
481
- parent: TParent;
482
- parentContext: ExecutionContext<TParent>;
483
- }
484
-
485
- // @public
486
- export const ExecutionContext: Readonly<{
487
- default: ExecutionContext<any>;
488
- getEvent(): Event | null;
489
- setEvent(event: Event | null): void;
490
- }>;
491
-
492
- // @public
493
- export type Expression<TSource = any, TReturn = any, TParent = any> = (source: TSource, context: ExecutionContext<TParent>) => TReturn;
494
-
495
- // @public
496
- export interface ExpressionController<TSource = any, TParent = any> {
497
- readonly context: ExecutionContext<TParent>;
498
- readonly isBound: boolean;
499
- onUnbind(behavior: {
500
- unbind(controller: ExpressionController<TSource, TParent>): any;
501
- }): void;
502
- readonly source: TSource;
503
- readonly sourceLifetime?: SourceLifetime;
504
- }
505
-
506
- // @public
507
- export interface ExpressionNotifier<TSource = any, TReturn = any, TParent = any> extends Notifier, ExpressionObserver<TSource, TReturn, TParent>, Disposable {
508
- observe(source: TSource, context?: ExecutionContext): TReturn;
509
- records(): IterableIterator<ObservationRecord>;
510
- setMode(isAsync: boolean): void;
511
- }
512
-
513
- // @public
514
- export interface ExpressionObserver<TSource = any, TReturn = any, TParent = any> {
515
- bind(controller: ExpressionController<TSource, TParent>): TReturn;
516
- }
517
-
518
- // @public
519
- export const FAST: {
520
- warn(_code: number, _values?: Record<string, any>): void;
521
- error(code: number, _values?: Record<string, any>): Error;
522
- addMessages(messages: Record<number, string>): void;
523
- };
524
-
525
- // @public
526
- export interface FASTElement extends HTMLElement {
527
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
528
- readonly $fastController: ElementController;
529
- attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
530
- connectedCallback(): void;
531
- disconnectedCallback(): void;
532
- }
533
-
534
- // @public
535
- export const FASTElement: {
536
- new (): FASTElement;
537
- define: typeof define;
538
- compose: typeof compose;
539
- from: typeof from;
540
- };
541
-
542
- // @public
543
- export class FASTElementDefinition<TType extends Constructable<HTMLElement> = Constructable<HTMLElement>> {
544
- readonly attributeLookup: Record<string, AttributeDefinition>;
545
- readonly attributes: ReadonlyArray<AttributeDefinition>;
546
- static compose<TType extends Constructable<HTMLElement> = Constructable<HTMLElement>>(type: TType, nameOrDef?: string | PartialFASTElementDefinition<TType>): Promise<FASTElementDefinition<TType>>;
547
- define(registry?: CustomElementRegistry, extensions?: FASTElementExtension[]): this;
548
- readonly elementOptions: ElementDefinitionOptions;
549
- static readonly getByType: (key: Function) => FASTElementDefinition<Constructable<HTMLElement>> | undefined;
550
- static readonly getForInstance: (object: any) => FASTElementDefinition<Constructable<HTMLElement>> | undefined;
551
- get isDefined(): boolean;
552
- static isRegistered: Record<string, Function>;
553
- readonly lifecycleCallbacks?: TemplateLifecycleCallbacks;
554
- readonly name: string;
555
- readonly propertyLookup: Record<string, AttributeDefinition>;
556
- // @alpha
557
- static register: (name: string, registry?: CustomElementRegistry) => Promise<Function>;
558
- // @internal
559
- static registerBaseType(type: Function): void;
560
- readonly registry: CustomElementRegistry;
561
- schema?: Schema;
562
- shadowOptions?: ShadowRootOptions;
563
- readonly styles?: ElementStyles;
564
- template?: ElementViewTemplate<InstanceType<TType>>;
565
- readonly type: TType;
566
- }
567
-
568
- // @public
569
- export type FASTElementExtension = (definition: FASTElementDefinition) => void;
570
-
571
- // Warning: (ae-internal-missing-underscore) The name "fastElementRegistry" should be prefixed with an underscore because the declaration is marked as @internal
572
- //
573
- // @internal
574
- export const fastElementRegistry: TypeRegistry<FASTElementDefinition>;
575
-
576
- // @public
577
- export type FASTElementTemplateResolver<TType extends Constructable<HTMLElement> = Constructable<HTMLElement>> = (definition: FASTElementDefinition<TType>) => ElementViewTemplate<InstanceType<TType>> | Promise<ElementViewTemplate<InstanceType<TType>>>;
578
-
579
- // @public
580
- export interface HostBehavior<TSource = any> {
581
- addedCallback?(controller: HostController<TSource>): void;
582
- connectedCallback?(controller: HostController<TSource>): void;
583
- disconnectedCallback?(controller: HostController<TSource>): void;
584
- removedCallback?(controller: HostController<TSource>): void;
585
- }
586
-
587
- // @public
588
- export interface HostController<TSource = any> extends ExpressionController<TSource> {
589
- addBehavior(behavior: HostBehavior<TSource>): void;
590
- addStyles(styles: ElementStyles | HTMLStyleElement | null | undefined): void;
591
- readonly isConnected: boolean;
592
- mainStyles: ElementStyles | null;
593
- removeBehavior(behavior: HostBehavior<TSource>, force?: boolean): void;
594
- removeStyles(styles: ElementStyles | HTMLStyleElement | null | undefined): void;
595
- }
596
-
597
- // @public
598
- export const html: HTMLTemplateTag;
599
-
600
- // @public
601
- export class HTMLBindingDirective implements HTMLDirective, ViewBehaviorFactory, ViewBehavior, Aspected, BindingDirective {
602
- constructor(dataBinding: Binding);
603
- aspectType: DOMAspect;
604
- // @internal
605
- bind(controller: ViewController): void;
606
- createBehavior(): ViewBehavior;
607
- createHTML(add: AddViewBehaviorFactory): string;
608
- // (undocumented)
609
- dataBinding: Binding;
610
- // @internal
611
- handleChange(binding: Expression, observer: ExpressionObserver): void;
612
- // @internal
613
- handleEvent(event: Event): void;
614
- id: string;
615
- policy: DOMPolicy_2;
616
- sourceAspect: string;
617
- targetAspect: string;
618
- targetNodeId: string;
619
- targetTagName: string | null;
620
- // @internal (undocumented)
621
- unbind(controller: ViewController): void;
622
- }
623
-
624
- // @public
625
- export interface HTMLDirective {
626
- createHTML(add: AddViewBehaviorFactory): string;
627
- }
628
-
629
- // @public
630
- export const HTMLDirective: Readonly<{
631
- getForInstance: (object: any) => HTMLDirectiveDefinition<Constructable<HTMLDirective>> | undefined;
632
- getByType: (key: Function) => HTMLDirectiveDefinition<Constructable<HTMLDirective>> | undefined;
633
- define<TType extends Constructable<HTMLDirective>>(type: TType, options?: PartialHTMLDirectiveDefinition): TType;
634
- assignAspect(directive: Aspected, value?: string): void;
635
- }>;
636
-
637
- // @public
638
- export function htmlDirective(options?: PartialHTMLDirectiveDefinition): (type: Constructable<HTMLDirective>) => void;
639
-
640
- // @public
641
- export interface HTMLDirectiveDefinition<TType extends Constructable<HTMLDirective> = Constructable<HTMLDirective>> extends Required<PartialHTMLDirectiveDefinition> {
642
- readonly type: TType;
643
- }
644
-
645
- // @public
646
- export interface HTMLTemplateCompilationResult<TSource = any, TParent = any> {
647
- createView(hostBindingTarget?: Element): HTMLView<TSource, TParent>;
648
- // (undocumented)
649
- readonly factories: CompiledViewBehaviorFactory[];
650
- }
651
-
652
- // @public
653
- export type HTMLTemplateTag = (<TSource = any, TParent = any>(strings: TemplateStringsArray, ...values: TemplateValue<TSource, TParent>[]) => ViewTemplate<TSource, TParent>) & {
654
- partial(html: string): InlineTemplateDirective;
655
- };
656
-
657
- // @public
658
- export class HTMLView<TSource = any, TParent = any> extends DefaultExecutionContext<TParent> implements ElementView<TSource, TParent>, SyntheticView<TSource, TParent>, ExecutionContext<TParent> {
659
- constructor(fragment: DocumentFragment, factories: ReadonlyArray<CompiledViewBehaviorFactory>, targets: ViewBehaviorTargets);
660
- appendTo(node: Node): void;
661
- bind(source: TSource, context?: ExecutionContext<TParent>): void;
662
- context: ExecutionContext<TParent>;
663
- dispose(): void;
664
- static disposeContiguousBatch(views: SyntheticView[]): void;
665
- firstChild: Node;
666
- insertBefore(node: Node): void;
667
- isBound: boolean;
668
- isHydrated: Promise<boolean>;
669
- isPrerendered: Promise<boolean>;
670
- lastChild: Node;
671
- // (undocumented)
672
- onUnbind(behavior: {
673
- unbind(controller: ViewController<TSource, TParent>): void;
674
- }): void;
675
- remove(): void;
676
- // @internal
677
- _skipAttrUpdates: boolean;
678
- source: TSource | null;
679
- readonly sourceLifetime: SourceLifetime;
680
- // (undocumented)
681
- readonly targets: ViewBehaviorTargets;
682
- unbind(): void;
683
- }
684
-
685
- // @public
686
- export class InlineTemplateDirective implements HTMLDirective {
687
- constructor(html: string, factories?: Record<string, ViewBehaviorFactory>);
688
- createHTML(add: AddViewBehaviorFactory): string;
689
- static readonly empty: InlineTemplateDirective;
690
- }
691
-
692
- // @public
693
- export interface JSONSchema extends JSONSchemaCommon {
694
- // (undocumented)
695
- $defs?: Record<string, JSONSchemaDefinition>;
696
- // (undocumented)
697
- $id: string;
698
- // (undocumented)
699
- $schema: string;
700
- }
701
-
702
- // @public
703
- export interface JSONSchemaCommon {
704
- $observe?: boolean;
705
- // (undocumented)
706
- $ref?: string;
707
- // (undocumented)
708
- anyOf?: Array<any>;
709
- // (undocumented)
710
- items?: any;
711
- // (undocumented)
712
- properties?: any;
713
- // (undocumented)
714
- type?: string;
715
- }
716
-
717
- // @public
718
- export interface JSONSchemaDefinition extends JSONSchemaCommon {
719
- // (undocumented)
720
- $fast_context: string;
721
- // (undocumented)
722
- $fast_parent_contexts: Array<string>;
723
- }
724
-
725
- // @public
726
- export interface LengthObserver extends Subscriber {
727
- length: number;
728
- }
729
-
730
- // @public
731
- export function lengthOf<T>(array: readonly T[]): number;
732
-
733
- // @public
734
- export function listener<T = any>(expression: Expression<T>, options?: AddEventListenerOptions): Binding<T>;
735
-
736
- // @public
737
- export const Markup: Readonly<{
738
- interpolation: (id: string) => string;
739
- attribute: (id: string) => string;
740
- comment: (id: string) => string;
741
- }>;
742
-
743
- // @public
744
- export interface NodeBehaviorOptions<T = any> {
745
- filter?: ElementsFilter;
746
- property: T;
747
- }
748
-
749
- // @public
750
- export abstract class NodeObservationDirective<T extends NodeBehaviorOptions> extends StatelessAttachedAttributeDirective<T> {
751
- bind(controller: ViewController): void;
752
- protected computeNodes(target: any): Node[];
753
- protected abstract disconnect(target: any): void;
754
- protected abstract getNodes(target: any): Node[];
755
- protected getSource(target: Node): any;
756
- get id(): string;
757
- set id(value: string);
758
- protected abstract observe(target: any): void;
759
- targetNodeId: string;
760
- unbind(controller: ViewController): void;
761
- protected updateTarget(source: any, value: ReadonlyArray<any>): void;
762
- }
763
-
764
- // @public
765
- export function normalizeBinding<TSource = any, TReturn = any, TParent = any>(value: Expression<TSource, TReturn, TParent> | Binding<TSource, TReturn, TParent> | {}): Binding<TSource, TReturn, TParent>;
766
-
767
- // @public
768
- export interface Notifier {
769
- notify(args: any): void;
770
- readonly subject: any;
771
- subscribe(subscriber: Subscriber, propertyToWatch?: any): void;
772
- unsubscribe(subscriber: Subscriber, propertyToUnwatch?: any): void;
773
- }
774
-
775
- // @public
776
- export const nullableBooleanConverter: ValueConverter;
777
-
778
- // @public
779
- export const nullableNumberConverter: ValueConverter;
780
-
781
- // @public
782
- export const Observable: Readonly<{
783
- setArrayObserverFactory(factory: (collection: any[]) => Notifier): void;
784
- getNotifier: <T extends Notifier = Notifier>(source: any) => T;
785
- track(source: unknown, propertyName: string): void;
786
- trackVolatile(): void;
787
- notify(source: unknown, args: any): void;
788
- defineProperty(target: {}, nameOrAccessor: string | Accessor): void;
789
- getAccessors: (target: {}) => Accessor[];
790
- binding<TSource = any, TReturn = any>(expression: Expression<TSource, TReturn, any>, initialSubscriber?: Subscriber, isVolatileBinding?: boolean): ExpressionNotifier<TSource, TReturn, any>;
791
- isVolatileBinding<TSource_1 = any, TReturn_1 = any>(expression: Expression<TSource_1, TReturn_1, any>): boolean;
792
- }>;
793
-
794
- // @public
795
- export function observable(target: {}, nameOrAccessor: string | Accessor): void;
796
-
797
- // @public
798
- export interface ObservationRecord {
799
- propertyName: string;
800
- propertySource: any;
801
- }
802
-
803
- // @public
804
- export function oneTime<T = any>(expression: Expression<T>, policy?: DOMPolicy_2): Binding<T>;
805
-
806
- // @public
807
- export function oneWay<T = any>(expression: Expression<T>, policy?: DOMPolicy_2, isVolatile?: boolean): Binding<T>;
808
-
809
- // @beta
810
- export type OwnedState<T> = ReadonlyOwnedState<T> & {
811
- set(owner: any, value: T): void;
812
- asReadonly(): ReadonlyOwnedState<T>;
813
- };
814
-
815
- // @beta
816
- export function ownedState<T>(value: T | (() => T), options?: string | StateOptions): OwnedState<T>;
817
-
818
- // @public
819
- export const Parser: Readonly<{
820
- parse(value: string, factories: Record<string, ViewBehaviorFactory>): (string | ViewBehaviorFactory)[] | null;
821
- }>;
822
-
823
- // @public
824
- export interface PartialFASTElementDefinition<TType extends Constructable<HTMLElement> = Constructable<HTMLElement>> {
825
- readonly attributes?: (AttributeConfiguration | string)[];
826
- readonly elementOptions?: ElementDefinitionOptions;
827
- readonly lifecycleCallbacks?: TemplateLifecycleCallbacks;
828
- readonly name: string;
829
- readonly registry?: CustomElementRegistry;
830
- readonly schema?: Schema;
831
- readonly shadowOptions?: Partial<ShadowRootOptions> | null;
832
- readonly styles?: ComposableStyles | ComposableStyles[];
833
- readonly template?: ElementViewTemplate<InstanceType<TType>> | FASTElementTemplateResolver<TType>;
834
- }
835
-
836
- // @public
837
- export interface PartialHTMLDirectiveDefinition {
838
- aspected?: boolean;
839
- }
840
-
841
- // @public
842
- export class PropertyChangeNotifier implements Notifier {
843
- constructor(subject: any);
844
- notify(propertyName: string): void;
845
- readonly subject: any;
846
- subscribe(subscriber: Subscriber, propertyToWatch?: string): void;
847
- unsubscribe(subscriber: Subscriber, propertyToUnwatch?: string): void;
848
- }
849
-
850
- // @beta
851
- export function reactive<T>(object: T, deep?: boolean): T;
852
-
853
- // @beta
854
- export type ReadonlyOwnedState<T> = {
855
- (owner: any): T;
856
- };
857
-
858
- // @beta
859
- export type ReadonlyState<T> = {
860
- (): T;
861
- readonly current: T;
862
- };
863
-
864
- // @public
865
- export const ref: <TSource = any>(propertyName: keyof TSource & string) => CaptureType;
866
-
867
- // @public
868
- export class RefDirective extends StatelessAttachedAttributeDirective<string> {
869
- bind(controller: ViewController): void;
870
- targetNodeId: string;
871
- }
872
-
873
- // @public
874
- export interface RegisterPathConfig {
875
- // (undocumented)
876
- childrenMap: ChildrenMap | null;
877
- // (undocumented)
878
- pathConfig: CachedPath;
879
- // (undocumented)
880
- rootPropertyName: string;
881
- }
882
-
883
- // @public
884
- export function render<TSource = any, TItem = any, TParent = any>(value?: Expression<TSource, TItem> | Binding<TSource, TItem> | {}, template?: ContentTemplate | string | Expression<TSource, ContentTemplate | string | Node, TParent> | Binding<TSource, ContentTemplate | string | Node, TParent>): CaptureType;
885
-
886
- // @public
887
- export class RenderBehavior<TSource = any> implements ViewBehavior, Subscriber {
888
- constructor(directive: RenderDirective);
889
- bind(controller: ViewController): void;
890
- // @internal
891
- handleChange(source: any, observer: ExpressionObserver): void;
892
- unbind(controller: ViewController): void;
893
- }
894
-
895
- // @public
896
- export class RenderDirective<TSource = any> implements HTMLDirective, ViewBehaviorFactory, BindingDirective {
897
- constructor(dataBinding: Binding<TSource>, templateBinding: Binding<TSource, ContentTemplate>, templateBindingDependsOnData: boolean);
898
- createBehavior(): RenderBehavior<TSource>;
899
- createHTML(add: AddViewBehaviorFactory): string;
900
- // (undocumented)
901
- readonly dataBinding: Binding<TSource>;
902
- targetNodeId: string;
903
- // (undocumented)
904
- readonly templateBinding: Binding<TSource, ContentTemplate>;
905
- // (undocumented)
906
- readonly templateBindingDependsOnData: boolean;
907
- }
908
-
909
- // @public
910
- export function repeat<TSource = any, TArray extends ReadonlyArray<any> = ReadonlyArray<any>, TParent = any>(items: Expression<TSource, TArray, TParent> | Binding<TSource, TArray, TParent> | ReadonlyArray<any>, template: Expression<TSource, ViewTemplate<any, TSource>> | Binding<TSource, ViewTemplate<any, TSource>> | ViewTemplate<any, TSource>, options?: RepeatOptions): CaptureType;
911
-
912
- // @public
913
- export class RepeatBehavior<TSource = any> implements ViewBehavior, Subscriber {
914
- constructor(directive: RepeatDirective);
915
- bind(controller: ViewController): void;
916
- handleChange(source: any, args: Splice[] | Sort[] | ExpressionObserver): void;
917
- unbind(): void;
918
- // @internal (undocumented)
919
- views: SyntheticView[];
920
- }
921
-
922
- // @public
923
- export interface RepeatCachedPath extends CachedPathCommon {
924
- // (undocumented)
925
- type: "repeat";
926
- }
927
-
928
- // @public
929
- export class RepeatDirective<TSource = any> implements HTMLDirective, ViewBehaviorFactory, BindingDirective {
930
- constructor(dataBinding: Binding<TSource>, templateBinding: Binding<TSource, SyntheticViewTemplate>, options: RepeatOptions);
931
- createBehavior(): RepeatBehavior<TSource>;
932
- createHTML(add: AddViewBehaviorFactory): string;
933
- // (undocumented)
934
- readonly dataBinding: Binding<TSource>;
935
- // (undocumented)
936
- readonly options: RepeatOptions;
937
- targetNodeId: string;
938
- // (undocumented)
939
- readonly templateBinding: Binding<TSource, SyntheticViewTemplate>;
940
- }
941
-
942
- // @public
943
- export interface RepeatOptions {
944
- positioning?: boolean;
945
- recycle?: boolean;
946
- }
947
-
948
- // @public
949
- export class Schema {
950
- constructor(name: string);
951
- addPath(config: RegisterPathConfig): void;
952
- getRootProperties(): IterableIterator<string>;
953
- getSchema(rootPropertyName: string): JSONSchema | null;
954
- }
955
-
956
- // @public
957
- export const schemaRegistry: CachedPathMap;
958
-
959
- // @public
960
- export interface ShadowRootOptions extends ShadowRootInit {
961
- // @beta
962
- registry?: CustomElementRegistry;
963
- }
964
-
965
- // @public
966
- export const Signal: Readonly<{
967
- subscribe(signal: string, subscriber: Subscriber): void;
968
- unsubscribe(signal: string, subscriber: Subscriber): void;
969
- send(signal: string): void;
970
- }>;
971
-
972
- // @public
973
- export function signal<T = any>(expression: Expression<T>, options: string | Expression<T>, policy?: DOMPolicy_2): Binding<T>;
974
-
975
- // @public
976
- export function slotted<TSource = any>(propertyOrOptions: (keyof TSource & string) | SlottedDirectiveOptions<keyof TSource & string>): CaptureType;
977
-
978
- // @public
979
- export class SlottedDirective extends NodeObservationDirective<SlottedDirectiveOptions> {
980
- disconnect(target: EventSource): void;
981
- getNodes(target: HTMLSlotElement): Node[];
982
- // @internal (undocumented)
983
- handleEvent(event: Event): void;
984
- observe(target: EventSource): void;
985
- }
986
-
987
- // @public
988
- export interface SlottedDirectiveOptions<T = any> extends NodeBehaviorOptions<T>, AssignedNodesOptions {
989
- }
990
-
991
- // @public
992
- export class Sort {
993
- constructor(sorted?: number[] | undefined);
994
- // (undocumented)
995
- sorted?: number[] | undefined;
996
- }
997
-
998
- // @public
999
- export function sortedCount<T>(array: readonly T[]): number;
1000
-
1001
- // @public
1002
- export interface SortObserver extends Subscriber {
1003
- sorted: number;
1004
- }
1005
-
1006
- // @public
1007
- export const SourceLifetime: Readonly<{
1008
- readonly unknown: undefined;
1009
- readonly coupled: 1;
1010
- }>;
1011
-
1012
- // @public
1013
- export type SourceLifetime = (typeof SourceLifetime)[keyof typeof SourceLifetime];
1014
-
1015
- // @public
1016
- export class Splice {
1017
- constructor(index: number, removed: any[], addedCount: number);
1018
- // (undocumented)
1019
- addedCount: number;
1020
- adjustTo(array: any[]): this;
1021
- // (undocumented)
1022
- index: number;
1023
- // (undocumented)
1024
- removed: any[];
1025
- reset?: boolean;
1026
- }
1027
-
1028
- // @public
1029
- export interface SpliceStrategy {
1030
- normalize(previous: unknown[] | undefined, current: unknown[], changes: Splice[] | undefined): readonly Splice[];
1031
- pop(array: any[], observer: ArrayObserver, pop: typeof Array.prototype.pop, args: any[]): any;
1032
- push(array: any[], observer: ArrayObserver, push: typeof Array.prototype.push, args: any[]): any;
1033
- reverse(array: any[], observer: ArrayObserver, reverse: typeof Array.prototype.reverse, args: any[]): any;
1034
- shift(array: any[], observer: ArrayObserver, shift: typeof Array.prototype.shift, args: any[]): any;
1035
- sort(array: any[], observer: ArrayObserver, sort: typeof Array.prototype.sort, args: any[]): any[];
1036
- splice(array: any[], observer: ArrayObserver, splice: typeof Array.prototype.splice, args: any[]): any;
1037
- readonly support: SpliceStrategySupport;
1038
- unshift(array: any[], observer: ArrayObserver, unshift: typeof Array.prototype.unshift, args: any[]): any[];
1039
- }
1040
-
1041
- // @public
1042
- export const SpliceStrategy: Readonly<{
1043
- readonly reset: Splice[];
1044
- readonly setDefaultStrategy: (strategy: SpliceStrategy) => void;
1045
- }>;
1046
-
1047
- // @public
1048
- export const SpliceStrategySupport: Readonly<{
1049
- readonly reset: 1;
1050
- readonly splice: 2;
1051
- readonly optimized: 3;
1052
- }>;
1053
-
1054
- // @public
1055
- export type SpliceStrategySupport = (typeof SpliceStrategySupport)[keyof typeof SpliceStrategySupport];
1056
-
1057
- // @public
1058
- export const enum Stages {
1059
- connected = 1,
1060
- connecting = 0,
1061
- disconnected = 3,
1062
- disconnecting = 2
1063
- }
1064
-
1065
- // @beta
1066
- export type State<T> = ReadonlyState<T> & {
1067
- current: T;
1068
- set(value: T): void;
1069
- asReadonly(): ReadonlyState<T>;
1070
- };
1071
-
1072
- // @beta
1073
- export function state<T>(value: T, options?: string | StateOptions): State<T>;
1074
-
1075
- // @public
1076
- export abstract class StatelessAttachedAttributeDirective<TOptions> implements HTMLDirective, ViewBehaviorFactory, ViewBehavior {
1077
- constructor(options: TOptions);
1078
- abstract bind(controller: ViewController): void;
1079
- createBehavior(): ViewBehavior;
1080
- createHTML(add: AddViewBehaviorFactory): string;
1081
- // (undocumented)
1082
- protected options: TOptions;
1083
- }
1084
-
1085
- // @beta
1086
- export type StateOptions = {
1087
- deep?: boolean;
1088
- name?: string;
1089
- };
1090
-
1091
- // @public
1092
- export interface StyleStrategy {
1093
- addStylesTo(target: StyleTarget): void;
1094
- removeStylesFrom(target: StyleTarget): void;
1095
- }
1096
-
1097
- // @public
1098
- export interface StyleTarget extends Pick<Node, "getRootNode"> {
1099
- adoptedStyleSheets?: CSSStyleSheet[];
1100
- append(styles: HTMLStyleElement): void;
1101
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1102
- removeChild(styles: HTMLStyleElement): void;
1103
- }
1104
-
1105
- // @public
1106
- export interface Subscriber {
1107
- handleChange(subject: any, args: any): void;
1108
- }
1109
-
1110
- // @public
1111
- export class SubscriberSet implements Notifier {
1112
- constructor(subject: any, initialSubscriber?: Subscriber);
1113
- has(subscriber: Subscriber): boolean;
1114
- notify(args: any): void;
1115
- readonly subject: any;
1116
- subscribe(subscriber: Subscriber): void;
1117
- unsubscribe(subscriber: Subscriber): void;
1118
- }
1119
-
1120
- // @public
1121
- export interface SubtreeDirectiveOptions<T = any> extends NodeBehaviorOptions<T>, Omit<MutationObserverInit, "subtree" | "childList"> {
1122
- selector: string;
1123
- subtree: boolean;
1124
- }
1125
-
1126
- // @public
1127
- export interface SyntheticView<TSource = any, TParent = any> extends View<TSource, TParent> {
1128
- readonly firstChild: Node;
1129
- insertBefore(node: Node): void;
1130
- readonly lastChild: Node;
1131
- remove(): void;
1132
- }
1133
-
1134
- // @public
1135
- export interface SyntheticViewTemplate<TSource = any, TParent = any> {
1136
- create(): SyntheticView<TSource, TParent>;
1137
- inline(): CaptureType;
1138
- }
1139
-
1140
- // @public
1141
- export interface TemplateLifecycleCallbacks {
1142
- elementDidDefine?(name: string): void;
1143
- elementDidHydrate?(source: HTMLElement): void;
1144
- elementDidRegister?(name: string): void;
1145
- elementWillHydrate?(source: HTMLElement): void;
1146
- templateDidUpdate?(name: string): void;
1147
- templateWillUpdate?(name: string): void;
1148
- }
1149
-
1150
- // @public
1151
- export type TemplateValue<TSource, TParent = any> = Expression<TSource, any, TParent> | Binding<TSource, any, TParent> | HTMLDirective | CaptureType;
1152
-
1153
- // @public
1154
- export type TrustedTypesPolicy = {
1155
- createHTML(html: string): string;
1156
- };
1157
-
1158
- // @public
1159
- export function twoWay<T = any>(expression: Expression<T>, optionsOrChangeEvent?: TwoWayBindingOptions | string, policy?: DOMPolicy_2, isBindingVolatile?: boolean): Binding<T>;
1160
-
1161
- // @public
1162
- export type TwoWayBindingOptions = {
1163
- changeEvent?: string;
1164
- fromView?: (value: any) => any;
1165
- };
1166
-
1167
- // @public
1168
- export interface TwoWaySettings {
1169
- determineChangeEvent(bindingSource: BindingDirective, target: HTMLElement): string;
1170
- }
1171
-
1172
- // @public
1173
- export const TwoWaySettings: Readonly<{
1174
- configure(settings: TwoWaySettings): void;
1175
- }>;
1176
-
1177
- // Warning: (ae-forgotten-export) The symbol "TypeDefinition" needs to be exported by the entry point index.d.ts
1178
- // Warning: (ae-internal-missing-underscore) The name "TypeRegistry" should be prefixed with an underscore because the declaration is marked as @internal
1179
- //
1180
- // @internal
1181
- export interface TypeRegistry<TDefinition extends TypeDefinition> {
1182
- // (undocumented)
1183
- getByType(key: Function): TDefinition | undefined;
1184
- // (undocumented)
1185
- getForInstance(object: any): TDefinition | undefined;
1186
- // (undocumented)
1187
- register(definition: TDefinition): boolean;
1188
- }
1189
-
1190
- // Warning: (ae-internal-missing-underscore) The name "UnobservableMutationObserver" should be prefixed with an underscore because the declaration is marked as @internal
1191
- //
1192
- // @internal
1193
- export class UnobservableMutationObserver extends MutationObserver {
1194
- constructor(callback: MutationCallback);
1195
- // (undocumented)
1196
- observe(target: Node, options?: MutationObserverInit | undefined): void;
1197
- // (undocumented)
1198
- unobserve(target: Node): void;
1199
- }
1200
-
1201
- // @public
1202
- export interface UpdateQueue {
1203
- enqueue(callable: Callable): void;
1204
- next(): Promise<void>;
1205
- process(): void;
1206
- setMode(isAsync: boolean): void;
1207
- }
1208
-
1209
- // @public
1210
- export const Updates: UpdateQueue;
1211
-
1212
- // @public
1213
- export interface ValueConverter {
1214
- fromView(value: any): any;
1215
- toView(value: any): any;
1216
- }
1217
-
1218
- // @public
1219
- export interface View<TSource = any, TParent = any> extends Disposable {
1220
- bind(source: TSource, context?: ExecutionContext<TParent>): void;
1221
- readonly context: ExecutionContext<TParent>;
1222
- readonly isBound: boolean;
1223
- readonly source: TSource | null;
1224
- unbind(): void;
1225
- }
1226
-
1227
- // @public
1228
- export interface ViewBehavior<TSource = any, TParent = any> {
1229
- bind(controller: ViewController<TSource, TParent>): void;
1230
- }
1231
-
1232
- // @public
1233
- export interface ViewBehaviorFactory {
1234
- createBehavior(): ViewBehavior;
1235
- id?: string;
1236
- policy?: DOMPolicy_2;
1237
- targetNodeId?: string;
1238
- targetTagName?: string | null;
1239
- }
1240
-
1241
- // @public
1242
- export interface ViewBehaviorOrchestrator<TSource = any, TParent = any> extends ViewController<TSource, TParent>, HostBehavior<TSource> {
1243
- addBehavior(behavior: ViewBehavior): void;
1244
- addBehaviorFactory(factory: ViewBehaviorFactory, target: Node): void;
1245
- // (undocumented)
1246
- addTarget(nodeId: string, target: Node): void;
1247
- }
1248
-
1249
- // @public
1250
- export const ViewBehaviorOrchestrator: Readonly<{
1251
- create<TSource = any, TParent = any>(source: TSource): ViewBehaviorOrchestrator<TSource, TParent>;
1252
- }>;
1253
-
1254
- // @public
1255
- export type ViewBehaviorTargets = {
1256
- [id: string]: Node;
1257
- };
1258
-
1259
- // @public
1260
- export interface ViewController<TSource = any, TParent = any> extends ExpressionController<TSource, TParent> {
1261
- readonly isHydrated?: Promise<boolean>;
1262
- readonly isPrerendered?: Promise<boolean>;
1263
- // @internal
1264
- readonly _skipAttrUpdates?: boolean;
1265
- readonly targets: ViewBehaviorTargets;
1266
- }
1267
-
1268
- // @public
1269
- export class ViewTemplate<TSource = any, TParent = any> implements ElementViewTemplate<TSource, TParent>, SyntheticViewTemplate<TSource, TParent> {
1270
- constructor(html: string | HTMLTemplateElement, factories?: Record<string, ViewBehaviorFactory>, policy?: DOMPolicy_2 | undefined);
1271
- // @internal (undocumented)
1272
- compile(): HTMLTemplateCompilationResult<TSource, TParent>;
1273
- create(hostBindingTarget?: Element): HTMLView<TSource, TParent>;
1274
- static create<TSource = any, TParent = any>(strings: string[], values: TemplateValue<TSource, TParent>[], policy?: DOMPolicy_2): ViewTemplate<TSource, TParent>;
1275
- readonly factories: Record<string, ViewBehaviorFactory>;
1276
- readonly html: string | HTMLTemplateElement;
1277
- inline(): CaptureType;
1278
- render(source: TSource, host: Node, hostBindingTarget?: Element): HTMLView<TSource, TParent>;
1279
- withPolicy(policy: DOMPolicy_2): this;
1280
- }
1281
-
1282
- // @public
1283
- export function volatile(target: {}, name: string | Accessor, descriptor: PropertyDescriptor): PropertyDescriptor;
1284
-
1285
- // @beta
1286
- export function watch(object: any, subscriber: Subscriber | ((subject: any, args: any) => void)): Disposable;
1287
-
1288
- // @public
1289
- export function when<TSource = any, TReturn = any, TParent = any>(condition: Expression<TSource, TReturn, TParent> | boolean, templateOrTemplateBinding: SyntheticViewTemplate<TSource, TParent> | Expression<TSource, SyntheticViewTemplate<TSource, TParent>, TParent>, elseTemplateOrTemplateBinding?: SyntheticViewTemplate<TSource, TParent> | Expression<TSource, SyntheticViewTemplate<TSource, TParent>, TParent>): CaptureType;
1290
-
1291
- // Warnings were encountered during analysis:
1292
- //
1293
- // dist/dts/components/fast-element.d.ts:60:5 - (ae-forgotten-export) The symbol "define" needs to be exported by the entry point index.d.ts
1294
- // dist/dts/components/fast-element.d.ts:61:5 - (ae-forgotten-export) The symbol "compose" needs to be exported by the entry point index.d.ts
1295
- // dist/dts/components/fast-element.d.ts:62:5 - (ae-forgotten-export) The symbol "from" needs to be exported by the entry point index.d.ts
1296
-
1297
- // (No @packageDocumentation comment for this package)
1298
-
1299
- ```