@microsoft/fast-element 2.10.3 → 3.0.0-rc.1

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 (351) hide show
  1. package/ARCHITECTURE_HTML_TAGGED_TEMPLATE_LITERAL.md +1 -1
  2. package/ARCHITECTURE_OVERVIEW.md +2 -2
  3. package/CHANGELOG.json +31 -1
  4. package/CHANGELOG.md +10 -2
  5. package/DECLARATIVE_DESIGN.md +806 -0
  6. package/DECLARATIVE_HTML.md +470 -0
  7. package/DECLARATIVE_MIGRATION.md +215 -0
  8. package/DECLARATIVE_RENDERING.md +530 -0
  9. package/DECLARATIVE_RENDERING_LIFECYCLE.md +288 -0
  10. package/DECLARATIVE_SCHEMA_OBSERVER_MAP.md +489 -0
  11. package/DESIGN.md +143 -34
  12. package/MIGRATION.md +387 -0
  13. package/README.md +208 -1
  14. package/SIZES.md +25 -0
  15. package/api-extractor.arrays.json +15 -0
  16. package/api-extractor.context.json +1 -0
  17. package/api-extractor.declarative.json +15 -0
  18. package/api-extractor.di.json +1 -0
  19. package/api-extractor.hydration.json +15 -0
  20. package/api-extractor.styles.json +15 -0
  21. package/dist/arrays/arrays.api.json +2621 -0
  22. package/dist/context/context.api.json +1 -1
  23. package/dist/declarative/declarative.api.json +7844 -0
  24. package/dist/di/di.api.json +2 -2
  25. package/dist/dts/array-observer.d.ts +2 -0
  26. package/dist/dts/arrays.d.ts +2 -0
  27. package/dist/dts/attr.d.ts +1 -0
  28. package/dist/dts/binding/signal.d.ts +6 -6
  29. package/dist/dts/binding/two-way.d.ts +1 -0
  30. package/dist/dts/binding.d.ts +7 -0
  31. package/dist/dts/components/attributes.d.ts +2 -5
  32. package/dist/dts/components/definition-schema-transforms.d.ts +9 -0
  33. package/dist/dts/components/element-controller.d.ts +80 -114
  34. package/dist/dts/components/element-hydration.d.ts +1 -1
  35. package/dist/dts/components/enable-hydration.d.ts +34 -0
  36. package/dist/dts/components/fast-definitions.d.ts +91 -42
  37. package/dist/dts/components/fast-element.d.ts +5 -8
  38. package/dist/dts/components/hydration-tracker.d.ts +40 -0
  39. package/dist/dts/components/hydration.d.ts +18 -53
  40. package/dist/dts/components/schema.d.ts +205 -0
  41. package/dist/dts/context.d.ts +6 -6
  42. package/dist/dts/css.d.ts +3 -0
  43. package/dist/dts/debug.d.ts +5 -1
  44. package/dist/dts/declarative/attribute-map.d.ts +58 -0
  45. package/dist/dts/declarative/debug.d.ts +5 -0
  46. package/dist/dts/declarative/index.d.ts +13 -0
  47. package/dist/dts/declarative/interfaces.d.ts +9 -0
  48. package/dist/dts/declarative/observer-map-utilities.d.ts +58 -0
  49. package/dist/dts/declarative/observer-map.d.ts +89 -0
  50. package/dist/dts/declarative/runtime.d.ts +5 -0
  51. package/dist/dts/declarative/syntax.d.ts +21 -0
  52. package/dist/dts/declarative/template-bridge.d.ts +33 -0
  53. package/dist/dts/declarative/template-parser.d.ts +98 -0
  54. package/dist/dts/declarative/template.d.ts +9 -0
  55. package/dist/dts/declarative/utilities.d.ts +312 -0
  56. package/dist/dts/di/di.d.ts +1 -1
  57. package/dist/dts/directives/children.d.ts +2 -0
  58. package/dist/dts/directives/node-observation.d.ts +2 -0
  59. package/dist/dts/directives/ref.d.ts +2 -0
  60. package/dist/dts/directives/repeat.d.ts +4 -0
  61. package/dist/dts/directives/slotted.d.ts +2 -0
  62. package/dist/dts/directives/when.d.ts +3 -0
  63. package/dist/dts/dom-policy.d.ts +1 -1
  64. package/dist/dts/html.d.ts +5 -0
  65. package/dist/dts/hydration/runtime.d.ts +7 -0
  66. package/dist/dts/hydration/target-builder.d.ts +15 -12
  67. package/dist/dts/hydration.d.ts +14 -0
  68. package/dist/dts/index.d.ts +38 -42
  69. package/dist/dts/index.debug.d.ts +0 -1
  70. package/dist/dts/index.rollup.debug.d.ts +0 -1
  71. package/dist/dts/interfaces.d.ts +1 -49
  72. package/dist/dts/observable.d.ts +3 -6
  73. package/dist/dts/observation/arrays.d.ts +1 -1
  74. package/dist/dts/observation/update-queue.d.ts +1 -1
  75. package/dist/dts/platform.d.ts +25 -4
  76. package/dist/dts/render.d.ts +7 -0
  77. package/dist/dts/schema.d.ts +1 -0
  78. package/dist/dts/state/exports.d.ts +1 -1
  79. package/dist/dts/state/state.d.ts +2 -2
  80. package/dist/dts/styles/css-directive.d.ts +5 -12
  81. package/dist/dts/styles/css.d.ts +5 -7
  82. package/dist/dts/styles/element-styles.d.ts +0 -10
  83. package/dist/dts/styles.d.ts +6 -0
  84. package/dist/dts/templating/children.d.ts +1 -1
  85. package/dist/dts/templating/html-binding-directive.d.ts +10 -0
  86. package/dist/dts/templating/html-directive.d.ts +17 -0
  87. package/dist/dts/templating/hydration-view.d.ts +109 -0
  88. package/dist/dts/templating/ref.d.ts +1 -1
  89. package/dist/dts/templating/render.d.ts +8 -2
  90. package/dist/dts/templating/repeat.d.ts +2 -2
  91. package/dist/dts/templating/slotted.d.ts +1 -1
  92. package/dist/dts/templating/template.d.ts +17 -9
  93. package/dist/dts/templating/view.d.ts +25 -102
  94. package/dist/dts/templating/when.d.ts +1 -1
  95. package/dist/dts/templating.d.ts +10 -0
  96. package/dist/dts/testing/exports.d.ts +2 -2
  97. package/dist/dts/tsdoc-metadata.json +1 -1
  98. package/dist/dts/updates.d.ts +1 -0
  99. package/dist/dts/volatile.d.ts +2 -0
  100. package/dist/esm/array-observer.js +1 -0
  101. package/dist/esm/arrays.js +1 -0
  102. package/dist/esm/attr.js +1 -0
  103. package/dist/esm/binding/normalize.js +1 -1
  104. package/dist/esm/binding/signal.js +4 -4
  105. package/dist/esm/binding/two-way.js +2 -1
  106. package/dist/esm/binding.js +4 -0
  107. package/dist/esm/components/attributes.js +8 -5
  108. package/dist/esm/components/definition-schema-transforms.js +23 -0
  109. package/dist/esm/components/element-controller.js +200 -269
  110. package/dist/esm/components/element-hydration.js +1 -1
  111. package/dist/esm/components/enable-hydration.js +100 -0
  112. package/dist/esm/components/fast-definitions.js +211 -49
  113. package/dist/esm/components/fast-element.js +18 -27
  114. package/dist/esm/components/hydration-tracker.js +93 -0
  115. package/dist/esm/components/hydration.js +62 -144
  116. package/dist/esm/components/schema.js +253 -0
  117. package/dist/esm/context.js +6 -6
  118. package/dist/esm/css.js +3 -0
  119. package/dist/esm/debug.js +26 -26
  120. package/dist/esm/declarative/attribute-map.js +121 -0
  121. package/dist/esm/declarative/debug.js +5 -0
  122. package/dist/esm/declarative/index.js +3 -0
  123. package/dist/esm/declarative/interfaces.js +10 -0
  124. package/dist/esm/declarative/observer-map-utilities.js +562 -0
  125. package/dist/esm/declarative/observer-map.js +216 -0
  126. package/dist/esm/declarative/runtime.js +14 -0
  127. package/dist/esm/declarative/syntax.js +36 -0
  128. package/dist/esm/declarative/template-bridge.js +170 -0
  129. package/dist/esm/declarative/template-parser.js +306 -0
  130. package/dist/esm/declarative/template.js +142 -0
  131. package/dist/esm/declarative/utilities.js +834 -0
  132. package/dist/esm/di/di.js +6 -8
  133. package/dist/esm/directives/children.js +1 -0
  134. package/dist/esm/directives/node-observation.js +1 -0
  135. package/dist/esm/directives/ref.js +1 -0
  136. package/dist/esm/directives/repeat.js +1 -0
  137. package/dist/esm/directives/slotted.js +1 -0
  138. package/dist/esm/directives/when.js +1 -0
  139. package/dist/esm/dom-policy.js +2 -2
  140. package/dist/esm/dom.js +1 -1
  141. package/dist/esm/html.js +2 -0
  142. package/dist/esm/hydration/runtime.js +33 -0
  143. package/dist/esm/hydration/target-builder.js +97 -90
  144. package/dist/esm/hydration.js +4 -0
  145. package/dist/esm/index.debug.js +2 -1
  146. package/dist/esm/index.js +34 -29
  147. package/dist/esm/index.rollup.debug.js +3 -2
  148. package/dist/esm/index.rollup.js +1 -1
  149. package/dist/esm/interfaces.js +1 -45
  150. package/dist/esm/observable.js +1 -4
  151. package/dist/esm/observation/arrays.js +1 -1
  152. package/dist/esm/observation/observable.js +5 -5
  153. package/dist/esm/observation/update-queue.js +47 -58
  154. package/dist/esm/platform.js +31 -30
  155. package/dist/esm/render.js +1 -0
  156. package/dist/esm/schema.js +1 -0
  157. package/dist/esm/state/exports.js +1 -1
  158. package/dist/esm/styles/css-directive.js +1 -2
  159. package/dist/esm/styles/css.js +15 -56
  160. package/dist/esm/styles/element-styles.js +69 -15
  161. package/dist/esm/styles.js +2 -0
  162. package/dist/esm/templating/html-binding-directive.js +24 -10
  163. package/dist/esm/templating/hydration-view.js +235 -0
  164. package/dist/esm/templating/render.js +13 -2
  165. package/dist/esm/templating/repeat.js +36 -34
  166. package/dist/esm/templating/template.js +7 -7
  167. package/dist/esm/templating/view.js +24 -233
  168. package/dist/esm/templating.js +7 -0
  169. package/dist/esm/testing/exports.js +2 -2
  170. package/dist/esm/updates.js +1 -0
  171. package/dist/esm/volatile.js +1 -0
  172. package/dist/fast-element.api.json +9017 -6996
  173. package/dist/fast-element.d.ts +3557 -796
  174. package/dist/fast-element.debug.js +5093 -4419
  175. package/dist/fast-element.debug.min.js +2 -2
  176. package/dist/fast-element.js +5398 -4655
  177. package/dist/fast-element.min.js +2 -2
  178. package/dist/fast-element.untrimmed.d.ts +881 -481
  179. package/dist/hydration/hydration.api.json +5237 -0
  180. package/dist/styles/styles.api.json +2672 -0
  181. package/docs/api-report.api.md +344 -167
  182. package/docs/arrays/api-report.api.md +114 -0
  183. package/docs/declarative/api-report.api.md +397 -0
  184. package/docs/hydration/api-report.api.md +285 -0
  185. package/docs/styles/api-report.api.md +135 -0
  186. package/package.json +149 -40
  187. package/playwright.declarative.config.ts +26 -0
  188. package/playwright.declarative.webui.config.ts +20 -0
  189. package/scripts/declarative/build-fixtures-with-webui.js +135 -0
  190. package/scripts/declarative/build-fixtures.js +49 -0
  191. package/scripts/declarative/build-fixtures.utilities.js +101 -0
  192. package/scripts/measure-sizes.js +219 -0
  193. package/scripts/run-api-extractor.js +39 -20
  194. package/test/declarative/fixtures/README.md +72 -0
  195. package/test/declarative/fixtures/WRITING_FIXTURES.md +330 -0
  196. package/test/declarative/fixtures/bindings/README.md +12 -0
  197. package/test/declarative/fixtures/bindings/attribute/entry.html +13 -0
  198. package/test/declarative/fixtures/bindings/attribute/fast-build.config.json +6 -0
  199. package/test/declarative/fixtures/bindings/attribute/index.html +25 -0
  200. package/test/declarative/fixtures/bindings/attribute/main.ts +41 -0
  201. package/test/declarative/fixtures/bindings/attribute/state.json +8 -0
  202. package/test/declarative/fixtures/bindings/attribute/templates.html +11 -0
  203. package/test/declarative/fixtures/bindings/content/entry.html +12 -0
  204. package/test/declarative/fixtures/bindings/content/fast-build.config.json +6 -0
  205. package/test/declarative/fixtures/bindings/content/index.html +19 -0
  206. package/test/declarative/fixtures/bindings/content/main.ts +27 -0
  207. package/test/declarative/fixtures/bindings/content/state.json +4 -0
  208. package/test/declarative/fixtures/bindings/content/templates.html +6 -0
  209. package/test/declarative/fixtures/bindings/dot-syntax/entry.html +11 -0
  210. package/test/declarative/fixtures/bindings/dot-syntax/fast-build.config.json +6 -0
  211. package/test/declarative/fixtures/bindings/dot-syntax/index.html +47 -0
  212. package/test/declarative/fixtures/bindings/dot-syntax/main.ts +59 -0
  213. package/test/declarative/fixtures/bindings/dot-syntax/state.json +16 -0
  214. package/test/declarative/fixtures/bindings/dot-syntax/templates.html +17 -0
  215. package/test/declarative/fixtures/bindings/event/entry.html +11 -0
  216. package/test/declarative/fixtures/bindings/event/fast-build.config.json +6 -0
  217. package/test/declarative/fixtures/bindings/event/index.html +43 -0
  218. package/test/declarative/fixtures/bindings/event/main.ts +43 -0
  219. package/test/declarative/fixtures/bindings/event/state.json +3 -0
  220. package/test/declarative/fixtures/bindings/event/templates.html +18 -0
  221. package/test/declarative/fixtures/bindings/host/entry.html +40 -0
  222. package/test/declarative/fixtures/bindings/host/fast-build.config.json +6 -0
  223. package/test/declarative/fixtures/bindings/host/index.html +96 -0
  224. package/test/declarative/fixtures/bindings/host/main.ts +222 -0
  225. package/test/declarative/fixtures/bindings/host/state.json +9 -0
  226. package/test/declarative/fixtures/bindings/host/templates.html +55 -0
  227. package/test/declarative/fixtures/directives/README.md +12 -0
  228. package/test/declarative/fixtures/directives/children/entry.html +11 -0
  229. package/test/declarative/fixtures/directives/children/fast-build.config.json +6 -0
  230. package/test/declarative/fixtures/directives/children/index.html +15 -0
  231. package/test/declarative/fixtures/directives/children/main.ts +22 -0
  232. package/test/declarative/fixtures/directives/children/state.json +3 -0
  233. package/test/declarative/fixtures/directives/children/templates.html +3 -0
  234. package/test/declarative/fixtures/directives/ref/entry.html +11 -0
  235. package/test/declarative/fixtures/directives/ref/fast-build.config.json +6 -0
  236. package/test/declarative/fixtures/directives/ref/index.html +15 -0
  237. package/test/declarative/fixtures/directives/ref/main.ts +17 -0
  238. package/test/declarative/fixtures/directives/ref/state.json +1 -0
  239. package/test/declarative/fixtures/directives/ref/templates.html +3 -0
  240. package/test/declarative/fixtures/directives/repeat/entry.html +21 -0
  241. package/test/declarative/fixtures/directives/repeat/fast-build.config.json +6 -0
  242. package/test/declarative/fixtures/directives/repeat/index.html +133 -0
  243. package/test/declarative/fixtures/directives/repeat/main.ts +110 -0
  244. package/test/declarative/fixtures/directives/repeat/sprites.svg +8 -0
  245. package/test/declarative/fixtures/directives/repeat/state.json +10 -0
  246. package/test/declarative/fixtures/directives/repeat/templates.html +75 -0
  247. package/test/declarative/fixtures/directives/slotted/entry.html +17 -0
  248. package/test/declarative/fixtures/directives/slotted/fast-build.config.json +6 -0
  249. package/test/declarative/fixtures/directives/slotted/index.html +27 -0
  250. package/test/declarative/fixtures/directives/slotted/main.ts +29 -0
  251. package/test/declarative/fixtures/directives/slotted/state.json +1 -0
  252. package/test/declarative/fixtures/directives/slotted/templates.html +7 -0
  253. package/test/declarative/fixtures/directives/when/entry.html +51 -0
  254. package/test/declarative/fixtures/directives/when/fast-build.config.json +6 -0
  255. package/test/declarative/fixtures/directives/when/index.html +136 -0
  256. package/test/declarative/fixtures/directives/when/main.ts +172 -0
  257. package/test/declarative/fixtures/directives/when/state.json +12 -0
  258. package/test/declarative/fixtures/directives/when/templates.html +75 -0
  259. package/test/declarative/fixtures/ecosystem/README.md +11 -0
  260. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/entry.html +12 -0
  261. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/fast-build.config.json +6 -0
  262. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/index.html +20 -0
  263. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/main.ts +68 -0
  264. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/state.json +4 -0
  265. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/templates.html +7 -0
  266. package/test/declarative/fixtures/ecosystem/errors/entry.html +12 -0
  267. package/test/declarative/fixtures/ecosystem/errors/fast-build.config.json +6 -0
  268. package/test/declarative/fixtures/ecosystem/errors/index.html +20 -0
  269. package/test/declarative/fixtures/ecosystem/errors/main.ts +17 -0
  270. package/test/declarative/fixtures/ecosystem/errors/state.json +1 -0
  271. package/test/declarative/fixtures/ecosystem/errors/templates.html +7 -0
  272. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/entry.html +17 -0
  273. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/fast-build.config.json +6 -0
  274. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/index.html +56 -0
  275. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/main.ts +134 -0
  276. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/state.json +12 -0
  277. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/templates.html +34 -0
  278. package/test/declarative/fixtures/ecosystem/performance-metrics/entry.html +25 -0
  279. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-build.config.json +6 -0
  280. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-card.css +10 -0
  281. package/test/declarative/fixtures/ecosystem/performance-metrics/index.html +181 -0
  282. package/test/declarative/fixtures/ecosystem/performance-metrics/main.ts +58 -0
  283. package/test/declarative/fixtures/ecosystem/performance-metrics/state.json +6 -0
  284. package/test/declarative/fixtures/ecosystem/performance-metrics/templates.html +15 -0
  285. package/test/declarative/fixtures/extensions/README.md +15 -0
  286. package/test/declarative/fixtures/extensions/attribute-map/entry.html +14 -0
  287. package/test/declarative/fixtures/extensions/attribute-map/fast-build.config.json +6 -0
  288. package/test/declarative/fixtures/extensions/attribute-map/index.html +31 -0
  289. package/test/declarative/fixtures/extensions/attribute-map/main.ts +40 -0
  290. package/test/declarative/fixtures/extensions/attribute-map/state.json +4 -0
  291. package/test/declarative/fixtures/extensions/attribute-map/templates.html +14 -0
  292. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/entry.html +12 -0
  293. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/fast-build.config.json +7 -0
  294. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/index.html +25 -0
  295. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/main.ts +31 -0
  296. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/state.json +5 -0
  297. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/templates.html +11 -0
  298. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/entry.html +13 -0
  299. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/fast-build.config.json +7 -0
  300. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/index.html +23 -0
  301. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/main.ts +37 -0
  302. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/state.json +1 -0
  303. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/templates.html +9 -0
  304. package/test/declarative/fixtures/extensions/observer-map/entry.html +15 -0
  305. package/test/declarative/fixtures/extensions/observer-map/fast-build.config.json +6 -0
  306. package/test/declarative/fixtures/extensions/observer-map/index.html +442 -0
  307. package/test/declarative/fixtures/extensions/observer-map/main.ts +482 -0
  308. package/test/declarative/fixtures/extensions/observer-map/state.json +158 -0
  309. package/test/declarative/fixtures/extensions/observer-map/templates.html +172 -0
  310. package/test/declarative/fixtures/extensions/observer-map-config-object/entry.html +16 -0
  311. package/test/declarative/fixtures/extensions/observer-map-config-object/fast-build.config.json +6 -0
  312. package/test/declarative/fixtures/extensions/observer-map-config-object/index.html +27 -0
  313. package/test/declarative/fixtures/extensions/observer-map-config-object/main.ts +53 -0
  314. package/test/declarative/fixtures/extensions/observer-map-config-object/state.json +9 -0
  315. package/test/declarative/fixtures/extensions/observer-map-config-object/templates.html +12 -0
  316. package/test/declarative/fixtures/extensions/observer-map-deep-merge/README.md +98 -0
  317. package/test/declarative/fixtures/extensions/observer-map-deep-merge/entry.html +156 -0
  318. package/test/declarative/fixtures/extensions/observer-map-deep-merge/fast-build.config.json +6 -0
  319. package/test/declarative/fixtures/extensions/observer-map-deep-merge/index.html +376 -0
  320. package/test/declarative/fixtures/extensions/observer-map-deep-merge/main.ts +366 -0
  321. package/test/declarative/fixtures/extensions/observer-map-deep-merge/state.json +69 -0
  322. package/test/declarative/fixtures/extensions/observer-map-deep-merge/templates.html +91 -0
  323. package/test/declarative/fixtures/extensions/observer-map-properties/entry.html +14 -0
  324. package/test/declarative/fixtures/extensions/observer-map-properties/fast-build.config.json +6 -0
  325. package/test/declarative/fixtures/extensions/observer-map-properties/index.html +110 -0
  326. package/test/declarative/fixtures/extensions/observer-map-properties/main.ts +175 -0
  327. package/test/declarative/fixtures/extensions/observer-map-properties/state.json +29 -0
  328. package/test/declarative/fixtures/extensions/observer-map-properties/templates.html +55 -0
  329. package/test/declarative/fixtures/scenarios/README.md +7 -0
  330. package/test/declarative/fixtures/scenarios/nested-elements/entry.html +16 -0
  331. package/test/declarative/fixtures/scenarios/nested-elements/fast-build.config.json +6 -0
  332. package/test/declarative/fixtures/scenarios/nested-elements/index.html +126 -0
  333. package/test/declarative/fixtures/scenarios/nested-elements/main.ts +214 -0
  334. package/test/declarative/fixtures/scenarios/nested-elements/state.json +10 -0
  335. package/test/declarative/fixtures/scenarios/nested-elements/templates.html +54 -0
  336. package/test/declarative/index.html +12 -0
  337. package/test/declarative/vite.config.ts +55 -0
  338. package/test/declarative-main.ts +6 -0
  339. package/test/extension-subpaths-main.ts +9 -0
  340. package/test/main.ts +38 -33
  341. package/test/pure-declarative-main.ts +1 -0
  342. package/dist/dts/components/install-hydration.d.ts +0 -1
  343. package/dist/dts/pending-task.d.ts +0 -32
  344. package/dist/dts/polyfills.d.ts +0 -0
  345. package/dist/dts/styles/css-binding-directive.d.ts +0 -60
  346. package/dist/dts/templating/install-hydratable-view-templates.d.ts +0 -1
  347. package/dist/esm/components/install-hydration.js +0 -3
  348. package/dist/esm/pending-task.js +0 -28
  349. package/dist/esm/polyfills.js +0 -60
  350. package/dist/esm/styles/css-binding-directive.js +0 -76
  351. package/dist/esm/templating/install-hydratable-view-templates.js +0 -23
@@ -0,0 +1,2621 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.58.1",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@jsx",
119
+ "syntaxKind": "block"
120
+ },
121
+ {
122
+ "tagName": "@jsxRuntime",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@jsxFrag",
127
+ "syntaxKind": "block"
128
+ },
129
+ {
130
+ "tagName": "@jsxImportSource",
131
+ "syntaxKind": "block"
132
+ },
133
+ {
134
+ "tagName": "@betaDocumentation",
135
+ "syntaxKind": "modifier"
136
+ },
137
+ {
138
+ "tagName": "@internalRemarks",
139
+ "syntaxKind": "block"
140
+ },
141
+ {
142
+ "tagName": "@preapproved",
143
+ "syntaxKind": "modifier"
144
+ }
145
+ ],
146
+ "supportForTags": {
147
+ "@alpha": true,
148
+ "@beta": true,
149
+ "@defaultValue": true,
150
+ "@decorator": true,
151
+ "@deprecated": true,
152
+ "@eventProperty": true,
153
+ "@example": true,
154
+ "@experimental": true,
155
+ "@inheritDoc": true,
156
+ "@internal": true,
157
+ "@label": true,
158
+ "@link": true,
159
+ "@override": true,
160
+ "@packageDocumentation": true,
161
+ "@param": true,
162
+ "@privateRemarks": true,
163
+ "@public": true,
164
+ "@readonly": true,
165
+ "@remarks": true,
166
+ "@returns": true,
167
+ "@sealed": true,
168
+ "@see": true,
169
+ "@throws": true,
170
+ "@typeParam": true,
171
+ "@virtual": true,
172
+ "@betaDocumentation": true,
173
+ "@internalRemarks": true,
174
+ "@preapproved": true
175
+ },
176
+ "reportUnsupportedHtmlElements": false
177
+ }
178
+ },
179
+ "kind": "Package",
180
+ "canonicalReference": "@microsoft/fast-element!",
181
+ "docComment": "",
182
+ "name": "@microsoft/fast-element",
183
+ "preserveMemberOrder": false,
184
+ "members": [
185
+ {
186
+ "kind": "EntryPoint",
187
+ "canonicalReference": "@microsoft/fast-element!",
188
+ "name": "",
189
+ "preserveMemberOrder": false,
190
+ "members": [
191
+ {
192
+ "kind": "Interface",
193
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface",
194
+ "docComment": "/**\n * An observer for arrays.\n *\n * @public\n */\n",
195
+ "excerptTokens": [
196
+ {
197
+ "kind": "Content",
198
+ "text": "export interface ArrayObserver extends "
199
+ },
200
+ {
201
+ "kind": "Reference",
202
+ "text": "SubscriberSet",
203
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet:class"
204
+ },
205
+ {
206
+ "kind": "Content",
207
+ "text": " "
208
+ }
209
+ ],
210
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
211
+ "releaseTag": "Public",
212
+ "name": "ArrayObserver",
213
+ "preserveMemberOrder": false,
214
+ "members": [
215
+ {
216
+ "kind": "MethodSignature",
217
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#addSort:member(1)",
218
+ "docComment": "/**\n * Adds a sort to the list of changes.\n *\n * @param sort - The sort to add.\n */\n",
219
+ "excerptTokens": [
220
+ {
221
+ "kind": "Content",
222
+ "text": "addSort(sort: "
223
+ },
224
+ {
225
+ "kind": "Reference",
226
+ "text": "Sort",
227
+ "canonicalReference": "@microsoft/fast-element!Sort:class"
228
+ },
229
+ {
230
+ "kind": "Content",
231
+ "text": "): "
232
+ },
233
+ {
234
+ "kind": "Content",
235
+ "text": "void"
236
+ },
237
+ {
238
+ "kind": "Content",
239
+ "text": ";"
240
+ }
241
+ ],
242
+ "isOptional": false,
243
+ "returnTypeTokenRange": {
244
+ "startIndex": 3,
245
+ "endIndex": 4
246
+ },
247
+ "releaseTag": "Public",
248
+ "overloadIndex": 1,
249
+ "parameters": [
250
+ {
251
+ "parameterName": "sort",
252
+ "parameterTypeTokenRange": {
253
+ "startIndex": 1,
254
+ "endIndex": 2
255
+ },
256
+ "isOptional": false
257
+ }
258
+ ],
259
+ "name": "addSort"
260
+ },
261
+ {
262
+ "kind": "MethodSignature",
263
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#addSplice:member(1)",
264
+ "docComment": "/**\n * Adds a splice to the list of changes.\n *\n * @param splice - The splice to add.\n */\n",
265
+ "excerptTokens": [
266
+ {
267
+ "kind": "Content",
268
+ "text": "addSplice(splice: "
269
+ },
270
+ {
271
+ "kind": "Reference",
272
+ "text": "Splice",
273
+ "canonicalReference": "@microsoft/fast-element!Splice:class"
274
+ },
275
+ {
276
+ "kind": "Content",
277
+ "text": "): "
278
+ },
279
+ {
280
+ "kind": "Content",
281
+ "text": "void"
282
+ },
283
+ {
284
+ "kind": "Content",
285
+ "text": ";"
286
+ }
287
+ ],
288
+ "isOptional": false,
289
+ "returnTypeTokenRange": {
290
+ "startIndex": 3,
291
+ "endIndex": 4
292
+ },
293
+ "releaseTag": "Public",
294
+ "overloadIndex": 1,
295
+ "parameters": [
296
+ {
297
+ "parameterName": "splice",
298
+ "parameterTypeTokenRange": {
299
+ "startIndex": 1,
300
+ "endIndex": 2
301
+ },
302
+ "isOptional": false
303
+ }
304
+ ],
305
+ "name": "addSplice"
306
+ },
307
+ {
308
+ "kind": "MethodSignature",
309
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#flush:member(1)",
310
+ "docComment": "/**\n * Flushes the changes to subscribers.\n */\n",
311
+ "excerptTokens": [
312
+ {
313
+ "kind": "Content",
314
+ "text": "flush(): "
315
+ },
316
+ {
317
+ "kind": "Content",
318
+ "text": "void"
319
+ },
320
+ {
321
+ "kind": "Content",
322
+ "text": ";"
323
+ }
324
+ ],
325
+ "isOptional": false,
326
+ "returnTypeTokenRange": {
327
+ "startIndex": 1,
328
+ "endIndex": 2
329
+ },
330
+ "releaseTag": "Public",
331
+ "overloadIndex": 1,
332
+ "parameters": [],
333
+ "name": "flush"
334
+ },
335
+ {
336
+ "kind": "PropertySignature",
337
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#lengthObserver:member",
338
+ "docComment": "/**\n * The length observer for the array.\n */\n",
339
+ "excerptTokens": [
340
+ {
341
+ "kind": "Content",
342
+ "text": "readonly lengthObserver: "
343
+ },
344
+ {
345
+ "kind": "Reference",
346
+ "text": "LengthObserver",
347
+ "canonicalReference": "@microsoft/fast-element!LengthObserver:interface"
348
+ },
349
+ {
350
+ "kind": "Content",
351
+ "text": ";"
352
+ }
353
+ ],
354
+ "isReadonly": true,
355
+ "isOptional": false,
356
+ "releaseTag": "Public",
357
+ "name": "lengthObserver",
358
+ "propertyTypeTokenRange": {
359
+ "startIndex": 1,
360
+ "endIndex": 2
361
+ }
362
+ },
363
+ {
364
+ "kind": "MethodSignature",
365
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#reset:member(1)",
366
+ "docComment": "/**\n * Indicates that a reset change has occurred.\n *\n * @param oldCollection - The collection as it was before the reset.\n */\n",
367
+ "excerptTokens": [
368
+ {
369
+ "kind": "Content",
370
+ "text": "reset(oldCollection: "
371
+ },
372
+ {
373
+ "kind": "Content",
374
+ "text": "any[] | undefined"
375
+ },
376
+ {
377
+ "kind": "Content",
378
+ "text": "): "
379
+ },
380
+ {
381
+ "kind": "Content",
382
+ "text": "void"
383
+ },
384
+ {
385
+ "kind": "Content",
386
+ "text": ";"
387
+ }
388
+ ],
389
+ "isOptional": false,
390
+ "returnTypeTokenRange": {
391
+ "startIndex": 3,
392
+ "endIndex": 4
393
+ },
394
+ "releaseTag": "Public",
395
+ "overloadIndex": 1,
396
+ "parameters": [
397
+ {
398
+ "parameterName": "oldCollection",
399
+ "parameterTypeTokenRange": {
400
+ "startIndex": 1,
401
+ "endIndex": 2
402
+ },
403
+ "isOptional": false
404
+ }
405
+ ],
406
+ "name": "reset"
407
+ },
408
+ {
409
+ "kind": "PropertySignature",
410
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#sortObserver:member",
411
+ "docComment": "/**\n * The sort observer for the array.\n */\n",
412
+ "excerptTokens": [
413
+ {
414
+ "kind": "Content",
415
+ "text": "readonly sortObserver: "
416
+ },
417
+ {
418
+ "kind": "Reference",
419
+ "text": "SortObserver",
420
+ "canonicalReference": "@microsoft/fast-element!SortObserver:interface"
421
+ },
422
+ {
423
+ "kind": "Content",
424
+ "text": ";"
425
+ }
426
+ ],
427
+ "isReadonly": true,
428
+ "isOptional": false,
429
+ "releaseTag": "Public",
430
+ "name": "sortObserver",
431
+ "propertyTypeTokenRange": {
432
+ "startIndex": 1,
433
+ "endIndex": 2
434
+ }
435
+ },
436
+ {
437
+ "kind": "PropertySignature",
438
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver#strategy:member",
439
+ "docComment": "/**\n * The strategy to use for tracking changes.\n */\n",
440
+ "excerptTokens": [
441
+ {
442
+ "kind": "Content",
443
+ "text": "strategy: "
444
+ },
445
+ {
446
+ "kind": "Reference",
447
+ "text": "SpliceStrategy",
448
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy:interface"
449
+ },
450
+ {
451
+ "kind": "Content",
452
+ "text": " | null"
453
+ },
454
+ {
455
+ "kind": "Content",
456
+ "text": ";"
457
+ }
458
+ ],
459
+ "isReadonly": false,
460
+ "isOptional": false,
461
+ "releaseTag": "Public",
462
+ "name": "strategy",
463
+ "propertyTypeTokenRange": {
464
+ "startIndex": 1,
465
+ "endIndex": 3
466
+ }
467
+ }
468
+ ],
469
+ "extendsTokenRanges": [
470
+ {
471
+ "startIndex": 1,
472
+ "endIndex": 2
473
+ }
474
+ ]
475
+ },
476
+ {
477
+ "kind": "Variable",
478
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:var",
479
+ "docComment": "/**\n * An observer for arrays.\n *\n * @public\n */\n",
480
+ "excerptTokens": [
481
+ {
482
+ "kind": "Content",
483
+ "text": "ArrayObserver: "
484
+ },
485
+ {
486
+ "kind": "Reference",
487
+ "text": "Readonly",
488
+ "canonicalReference": "!Readonly:type"
489
+ },
490
+ {
491
+ "kind": "Content",
492
+ "text": "<{\n readonly sorted: 0;\n readonly enable: () => void;\n}>"
493
+ }
494
+ ],
495
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
496
+ "isReadonly": true,
497
+ "releaseTag": "Public",
498
+ "name": "ArrayObserver",
499
+ "variableTypeTokenRange": {
500
+ "startIndex": 1,
501
+ "endIndex": 3
502
+ }
503
+ },
504
+ {
505
+ "kind": "Interface",
506
+ "canonicalReference": "@microsoft/fast-element!LengthObserver:interface",
507
+ "docComment": "/**\n * Observes array lengths.\n *\n * @public\n */\n",
508
+ "excerptTokens": [
509
+ {
510
+ "kind": "Content",
511
+ "text": "export interface LengthObserver extends "
512
+ },
513
+ {
514
+ "kind": "Reference",
515
+ "text": "Subscriber",
516
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
517
+ },
518
+ {
519
+ "kind": "Content",
520
+ "text": " "
521
+ }
522
+ ],
523
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
524
+ "releaseTag": "Public",
525
+ "name": "LengthObserver",
526
+ "preserveMemberOrder": false,
527
+ "members": [
528
+ {
529
+ "kind": "PropertySignature",
530
+ "canonicalReference": "@microsoft/fast-element!LengthObserver#length:member",
531
+ "docComment": "/**\n * The length of the observed array.\n */\n",
532
+ "excerptTokens": [
533
+ {
534
+ "kind": "Content",
535
+ "text": "length: "
536
+ },
537
+ {
538
+ "kind": "Content",
539
+ "text": "number"
540
+ },
541
+ {
542
+ "kind": "Content",
543
+ "text": ";"
544
+ }
545
+ ],
546
+ "isReadonly": false,
547
+ "isOptional": false,
548
+ "releaseTag": "Public",
549
+ "name": "length",
550
+ "propertyTypeTokenRange": {
551
+ "startIndex": 1,
552
+ "endIndex": 2
553
+ }
554
+ }
555
+ ],
556
+ "extendsTokenRanges": [
557
+ {
558
+ "startIndex": 1,
559
+ "endIndex": 2
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "kind": "Function",
565
+ "canonicalReference": "@microsoft/fast-element!lengthOf:function(1)",
566
+ "docComment": "/**\n * Enables observing the length of an array.\n *\n * @param array - The array to observe the length of.\n *\n * @returns The length of the array.\n *\n * @public\n */\n",
567
+ "excerptTokens": [
568
+ {
569
+ "kind": "Content",
570
+ "text": "export declare function lengthOf<T>(array: "
571
+ },
572
+ {
573
+ "kind": "Content",
574
+ "text": "readonly T[]"
575
+ },
576
+ {
577
+ "kind": "Content",
578
+ "text": "): "
579
+ },
580
+ {
581
+ "kind": "Content",
582
+ "text": "number"
583
+ },
584
+ {
585
+ "kind": "Content",
586
+ "text": ";"
587
+ }
588
+ ],
589
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
590
+ "returnTypeTokenRange": {
591
+ "startIndex": 3,
592
+ "endIndex": 4
593
+ },
594
+ "releaseTag": "Public",
595
+ "overloadIndex": 1,
596
+ "parameters": [
597
+ {
598
+ "parameterName": "array",
599
+ "parameterTypeTokenRange": {
600
+ "startIndex": 1,
601
+ "endIndex": 2
602
+ },
603
+ "isOptional": false
604
+ }
605
+ ],
606
+ "typeParameters": [
607
+ {
608
+ "typeParameterName": "T",
609
+ "constraintTokenRange": {
610
+ "startIndex": 0,
611
+ "endIndex": 0
612
+ },
613
+ "defaultTypeTokenRange": {
614
+ "startIndex": 0,
615
+ "endIndex": 0
616
+ }
617
+ }
618
+ ],
619
+ "name": "lengthOf"
620
+ },
621
+ {
622
+ "kind": "Interface",
623
+ "canonicalReference": "@microsoft/fast-element!Notifier:interface",
624
+ "docComment": "/**\n * Provides change notifications for an observed subject.\n *\n * @public\n */\n",
625
+ "excerptTokens": [
626
+ {
627
+ "kind": "Content",
628
+ "text": "export interface Notifier "
629
+ }
630
+ ],
631
+ "fileUrlPath": "dist/dts/observation/notifier.d.ts",
632
+ "releaseTag": "Public",
633
+ "name": "Notifier",
634
+ "preserveMemberOrder": false,
635
+ "members": [
636
+ {
637
+ "kind": "MethodSignature",
638
+ "canonicalReference": "@microsoft/fast-element!Notifier#notify:member(1)",
639
+ "docComment": "/**\n * Notifies all subscribers, based on the args.\n *\n * @remarks\n *\n * In some implementations, the args may be used to target specific subscribers. This is usually in the case where a propertyName was passed during subscription.\n *\n * @param args - Data passed along to subscribers during notification.\n */\n",
640
+ "excerptTokens": [
641
+ {
642
+ "kind": "Content",
643
+ "text": "notify(args: "
644
+ },
645
+ {
646
+ "kind": "Content",
647
+ "text": "any"
648
+ },
649
+ {
650
+ "kind": "Content",
651
+ "text": "): "
652
+ },
653
+ {
654
+ "kind": "Content",
655
+ "text": "void"
656
+ },
657
+ {
658
+ "kind": "Content",
659
+ "text": ";"
660
+ }
661
+ ],
662
+ "isOptional": false,
663
+ "returnTypeTokenRange": {
664
+ "startIndex": 3,
665
+ "endIndex": 4
666
+ },
667
+ "releaseTag": "Public",
668
+ "overloadIndex": 1,
669
+ "parameters": [
670
+ {
671
+ "parameterName": "args",
672
+ "parameterTypeTokenRange": {
673
+ "startIndex": 1,
674
+ "endIndex": 2
675
+ },
676
+ "isOptional": false
677
+ }
678
+ ],
679
+ "name": "notify"
680
+ },
681
+ {
682
+ "kind": "PropertySignature",
683
+ "canonicalReference": "@microsoft/fast-element!Notifier#subject:member",
684
+ "docComment": "/**\n * The object that subscribers will receive notifications for.\n */\n",
685
+ "excerptTokens": [
686
+ {
687
+ "kind": "Content",
688
+ "text": "readonly subject: "
689
+ },
690
+ {
691
+ "kind": "Content",
692
+ "text": "any"
693
+ },
694
+ {
695
+ "kind": "Content",
696
+ "text": ";"
697
+ }
698
+ ],
699
+ "isReadonly": true,
700
+ "isOptional": false,
701
+ "releaseTag": "Public",
702
+ "name": "subject",
703
+ "propertyTypeTokenRange": {
704
+ "startIndex": 1,
705
+ "endIndex": 2
706
+ }
707
+ },
708
+ {
709
+ "kind": "MethodSignature",
710
+ "canonicalReference": "@microsoft/fast-element!Notifier#subscribe:member(1)",
711
+ "docComment": "/**\n * Subscribes to notification of changes in an object's state.\n *\n * @remarks\n *\n * Some implementation may or may not require the propertyToWatch.\n *\n * @param subscriber - The object that is subscribing for change notification.\n *\n * @param propertyToWatch - The name of the property that the subscriber is interested in watching for changes.\n */\n",
712
+ "excerptTokens": [
713
+ {
714
+ "kind": "Content",
715
+ "text": "subscribe(subscriber: "
716
+ },
717
+ {
718
+ "kind": "Reference",
719
+ "text": "Subscriber",
720
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
721
+ },
722
+ {
723
+ "kind": "Content",
724
+ "text": ", propertyToWatch?: "
725
+ },
726
+ {
727
+ "kind": "Content",
728
+ "text": "any"
729
+ },
730
+ {
731
+ "kind": "Content",
732
+ "text": "): "
733
+ },
734
+ {
735
+ "kind": "Content",
736
+ "text": "void"
737
+ },
738
+ {
739
+ "kind": "Content",
740
+ "text": ";"
741
+ }
742
+ ],
743
+ "isOptional": false,
744
+ "returnTypeTokenRange": {
745
+ "startIndex": 5,
746
+ "endIndex": 6
747
+ },
748
+ "releaseTag": "Public",
749
+ "overloadIndex": 1,
750
+ "parameters": [
751
+ {
752
+ "parameterName": "subscriber",
753
+ "parameterTypeTokenRange": {
754
+ "startIndex": 1,
755
+ "endIndex": 2
756
+ },
757
+ "isOptional": false
758
+ },
759
+ {
760
+ "parameterName": "propertyToWatch",
761
+ "parameterTypeTokenRange": {
762
+ "startIndex": 3,
763
+ "endIndex": 4
764
+ },
765
+ "isOptional": true
766
+ }
767
+ ],
768
+ "name": "subscribe"
769
+ },
770
+ {
771
+ "kind": "MethodSignature",
772
+ "canonicalReference": "@microsoft/fast-element!Notifier#unsubscribe:member(1)",
773
+ "docComment": "/**\n * Unsubscribes from notification of changes in an object's state.\n *\n * @remarks\n *\n * Some implementation may or may not require the propertyToUnwatch.\n *\n * @param subscriber - The object that is unsubscribing from change notification.\n *\n * @param propertyToUnwatch - The name of the property that the subscriber is no longer interested in watching.\n */\n",
774
+ "excerptTokens": [
775
+ {
776
+ "kind": "Content",
777
+ "text": "unsubscribe(subscriber: "
778
+ },
779
+ {
780
+ "kind": "Reference",
781
+ "text": "Subscriber",
782
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
783
+ },
784
+ {
785
+ "kind": "Content",
786
+ "text": ", propertyToUnwatch?: "
787
+ },
788
+ {
789
+ "kind": "Content",
790
+ "text": "any"
791
+ },
792
+ {
793
+ "kind": "Content",
794
+ "text": "): "
795
+ },
796
+ {
797
+ "kind": "Content",
798
+ "text": "void"
799
+ },
800
+ {
801
+ "kind": "Content",
802
+ "text": ";"
803
+ }
804
+ ],
805
+ "isOptional": false,
806
+ "returnTypeTokenRange": {
807
+ "startIndex": 5,
808
+ "endIndex": 6
809
+ },
810
+ "releaseTag": "Public",
811
+ "overloadIndex": 1,
812
+ "parameters": [
813
+ {
814
+ "parameterName": "subscriber",
815
+ "parameterTypeTokenRange": {
816
+ "startIndex": 1,
817
+ "endIndex": 2
818
+ },
819
+ "isOptional": false
820
+ },
821
+ {
822
+ "parameterName": "propertyToUnwatch",
823
+ "parameterTypeTokenRange": {
824
+ "startIndex": 3,
825
+ "endIndex": 4
826
+ },
827
+ "isOptional": true
828
+ }
829
+ ],
830
+ "name": "unsubscribe"
831
+ }
832
+ ],
833
+ "extendsTokenRanges": []
834
+ },
835
+ {
836
+ "kind": "Class",
837
+ "canonicalReference": "@microsoft/fast-element!Sort:class",
838
+ "docComment": "/**\n * A sort array indicates new index positions of array items.\n *\n * @public\n */\n",
839
+ "excerptTokens": [
840
+ {
841
+ "kind": "Content",
842
+ "text": "export declare class Sort "
843
+ }
844
+ ],
845
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
846
+ "releaseTag": "Public",
847
+ "isAbstract": false,
848
+ "name": "Sort",
849
+ "preserveMemberOrder": false,
850
+ "members": [
851
+ {
852
+ "kind": "Constructor",
853
+ "canonicalReference": "@microsoft/fast-element!Sort:constructor(1)",
854
+ "docComment": "/**\n * Creates a sort update.\n *\n * @param sorted - The updated index of sorted items.\n */\n",
855
+ "excerptTokens": [
856
+ {
857
+ "kind": "Content",
858
+ "text": "constructor(sorted?: "
859
+ },
860
+ {
861
+ "kind": "Content",
862
+ "text": "number[] | undefined"
863
+ },
864
+ {
865
+ "kind": "Content",
866
+ "text": ");"
867
+ }
868
+ ],
869
+ "releaseTag": "Public",
870
+ "isProtected": false,
871
+ "overloadIndex": 1,
872
+ "parameters": [
873
+ {
874
+ "parameterName": "sorted",
875
+ "parameterTypeTokenRange": {
876
+ "startIndex": 1,
877
+ "endIndex": 2
878
+ },
879
+ "isOptional": true
880
+ }
881
+ ]
882
+ },
883
+ {
884
+ "kind": "Property",
885
+ "canonicalReference": "@microsoft/fast-element!Sort#sorted:member",
886
+ "docComment": "",
887
+ "excerptTokens": [
888
+ {
889
+ "kind": "Content",
890
+ "text": "sorted?: "
891
+ },
892
+ {
893
+ "kind": "Content",
894
+ "text": "number[] | undefined"
895
+ },
896
+ {
897
+ "kind": "Content",
898
+ "text": ";"
899
+ }
900
+ ],
901
+ "isReadonly": false,
902
+ "isOptional": true,
903
+ "releaseTag": "Public",
904
+ "name": "sorted",
905
+ "propertyTypeTokenRange": {
906
+ "startIndex": 1,
907
+ "endIndex": 2
908
+ },
909
+ "isStatic": false,
910
+ "isProtected": false,
911
+ "isAbstract": false
912
+ }
913
+ ],
914
+ "implementsTokenRanges": []
915
+ },
916
+ {
917
+ "kind": "Function",
918
+ "canonicalReference": "@microsoft/fast-element!sortedCount:function(1)",
919
+ "docComment": "/**\n * Enables observing the sorted property of an array.\n *\n * @param array - The array to observe the sorted property of.\n *\n * @returns The sorted property.\n *\n * @public\n */\n",
920
+ "excerptTokens": [
921
+ {
922
+ "kind": "Content",
923
+ "text": "export declare function sortedCount<T>(array: "
924
+ },
925
+ {
926
+ "kind": "Content",
927
+ "text": "readonly T[]"
928
+ },
929
+ {
930
+ "kind": "Content",
931
+ "text": "): "
932
+ },
933
+ {
934
+ "kind": "Content",
935
+ "text": "number"
936
+ },
937
+ {
938
+ "kind": "Content",
939
+ "text": ";"
940
+ }
941
+ ],
942
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
943
+ "returnTypeTokenRange": {
944
+ "startIndex": 3,
945
+ "endIndex": 4
946
+ },
947
+ "releaseTag": "Public",
948
+ "overloadIndex": 1,
949
+ "parameters": [
950
+ {
951
+ "parameterName": "array",
952
+ "parameterTypeTokenRange": {
953
+ "startIndex": 1,
954
+ "endIndex": 2
955
+ },
956
+ "isOptional": false
957
+ }
958
+ ],
959
+ "typeParameters": [
960
+ {
961
+ "typeParameterName": "T",
962
+ "constraintTokenRange": {
963
+ "startIndex": 0,
964
+ "endIndex": 0
965
+ },
966
+ "defaultTypeTokenRange": {
967
+ "startIndex": 0,
968
+ "endIndex": 0
969
+ }
970
+ }
971
+ ],
972
+ "name": "sortedCount"
973
+ },
974
+ {
975
+ "kind": "Interface",
976
+ "canonicalReference": "@microsoft/fast-element!SortObserver:interface",
977
+ "docComment": "/**\n * Observes array sort.\n *\n * @public\n */\n",
978
+ "excerptTokens": [
979
+ {
980
+ "kind": "Content",
981
+ "text": "export interface SortObserver extends "
982
+ },
983
+ {
984
+ "kind": "Reference",
985
+ "text": "Subscriber",
986
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
987
+ },
988
+ {
989
+ "kind": "Content",
990
+ "text": " "
991
+ }
992
+ ],
993
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
994
+ "releaseTag": "Public",
995
+ "name": "SortObserver",
996
+ "preserveMemberOrder": false,
997
+ "members": [
998
+ {
999
+ "kind": "PropertySignature",
1000
+ "canonicalReference": "@microsoft/fast-element!SortObserver#sorted:member",
1001
+ "docComment": "/**\n * The sorted times on the observed array, this should be incremented every time an item in the array changes location.\n */\n",
1002
+ "excerptTokens": [
1003
+ {
1004
+ "kind": "Content",
1005
+ "text": "sorted: "
1006
+ },
1007
+ {
1008
+ "kind": "Content",
1009
+ "text": "number"
1010
+ },
1011
+ {
1012
+ "kind": "Content",
1013
+ "text": ";"
1014
+ }
1015
+ ],
1016
+ "isReadonly": false,
1017
+ "isOptional": false,
1018
+ "releaseTag": "Public",
1019
+ "name": "sorted",
1020
+ "propertyTypeTokenRange": {
1021
+ "startIndex": 1,
1022
+ "endIndex": 2
1023
+ }
1024
+ }
1025
+ ],
1026
+ "extendsTokenRanges": [
1027
+ {
1028
+ "startIndex": 1,
1029
+ "endIndex": 2
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "kind": "Class",
1035
+ "canonicalReference": "@microsoft/fast-element!Splice:class",
1036
+ "docComment": "/**\n * A splice map is a representation of how a previous array of items was transformed into a new array of items. Conceptually it is a list of tuples of\n *\n * (index, removed, addedCount)\n *\n * which are kept in ascending index order of. The tuple represents that at the |index|, |removed| sequence of items were removed, and counting forward from |index|, |addedCount| items were added.\n *\n * @public\n */\n",
1037
+ "excerptTokens": [
1038
+ {
1039
+ "kind": "Content",
1040
+ "text": "export declare class Splice "
1041
+ }
1042
+ ],
1043
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
1044
+ "releaseTag": "Public",
1045
+ "isAbstract": false,
1046
+ "name": "Splice",
1047
+ "preserveMemberOrder": false,
1048
+ "members": [
1049
+ {
1050
+ "kind": "Constructor",
1051
+ "canonicalReference": "@microsoft/fast-element!Splice:constructor(1)",
1052
+ "docComment": "/**\n * Creates a splice.\n *\n * @param index - The index that the splice occurs at.\n *\n * @param removed - The items that were removed.\n *\n * @param addedCount - The number of items that were added.\n */\n",
1053
+ "excerptTokens": [
1054
+ {
1055
+ "kind": "Content",
1056
+ "text": "constructor(index: "
1057
+ },
1058
+ {
1059
+ "kind": "Content",
1060
+ "text": "number"
1061
+ },
1062
+ {
1063
+ "kind": "Content",
1064
+ "text": ", removed: "
1065
+ },
1066
+ {
1067
+ "kind": "Content",
1068
+ "text": "any[]"
1069
+ },
1070
+ {
1071
+ "kind": "Content",
1072
+ "text": ", addedCount: "
1073
+ },
1074
+ {
1075
+ "kind": "Content",
1076
+ "text": "number"
1077
+ },
1078
+ {
1079
+ "kind": "Content",
1080
+ "text": ");"
1081
+ }
1082
+ ],
1083
+ "releaseTag": "Public",
1084
+ "isProtected": false,
1085
+ "overloadIndex": 1,
1086
+ "parameters": [
1087
+ {
1088
+ "parameterName": "index",
1089
+ "parameterTypeTokenRange": {
1090
+ "startIndex": 1,
1091
+ "endIndex": 2
1092
+ },
1093
+ "isOptional": false
1094
+ },
1095
+ {
1096
+ "parameterName": "removed",
1097
+ "parameterTypeTokenRange": {
1098
+ "startIndex": 3,
1099
+ "endIndex": 4
1100
+ },
1101
+ "isOptional": false
1102
+ },
1103
+ {
1104
+ "parameterName": "addedCount",
1105
+ "parameterTypeTokenRange": {
1106
+ "startIndex": 5,
1107
+ "endIndex": 6
1108
+ },
1109
+ "isOptional": false
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "kind": "Property",
1115
+ "canonicalReference": "@microsoft/fast-element!Splice#addedCount:member",
1116
+ "docComment": "",
1117
+ "excerptTokens": [
1118
+ {
1119
+ "kind": "Content",
1120
+ "text": "addedCount: "
1121
+ },
1122
+ {
1123
+ "kind": "Content",
1124
+ "text": "number"
1125
+ },
1126
+ {
1127
+ "kind": "Content",
1128
+ "text": ";"
1129
+ }
1130
+ ],
1131
+ "isReadonly": false,
1132
+ "isOptional": false,
1133
+ "releaseTag": "Public",
1134
+ "name": "addedCount",
1135
+ "propertyTypeTokenRange": {
1136
+ "startIndex": 1,
1137
+ "endIndex": 2
1138
+ },
1139
+ "isStatic": false,
1140
+ "isProtected": false,
1141
+ "isAbstract": false
1142
+ },
1143
+ {
1144
+ "kind": "Method",
1145
+ "canonicalReference": "@microsoft/fast-element!Splice#adjustTo:member(1)",
1146
+ "docComment": "/**\n * Adjusts the splice index based on the provided array.\n *\n * @param array - The array to adjust to.\n *\n * @returns The same splice, mutated based on the reference array.\n */\n",
1147
+ "excerptTokens": [
1148
+ {
1149
+ "kind": "Content",
1150
+ "text": "adjustTo(array: "
1151
+ },
1152
+ {
1153
+ "kind": "Content",
1154
+ "text": "any[]"
1155
+ },
1156
+ {
1157
+ "kind": "Content",
1158
+ "text": "): "
1159
+ },
1160
+ {
1161
+ "kind": "Content",
1162
+ "text": "this"
1163
+ },
1164
+ {
1165
+ "kind": "Content",
1166
+ "text": ";"
1167
+ }
1168
+ ],
1169
+ "isStatic": false,
1170
+ "returnTypeTokenRange": {
1171
+ "startIndex": 3,
1172
+ "endIndex": 4
1173
+ },
1174
+ "releaseTag": "Public",
1175
+ "isProtected": false,
1176
+ "overloadIndex": 1,
1177
+ "parameters": [
1178
+ {
1179
+ "parameterName": "array",
1180
+ "parameterTypeTokenRange": {
1181
+ "startIndex": 1,
1182
+ "endIndex": 2
1183
+ },
1184
+ "isOptional": false
1185
+ }
1186
+ ],
1187
+ "isOptional": false,
1188
+ "isAbstract": false,
1189
+ "name": "adjustTo"
1190
+ },
1191
+ {
1192
+ "kind": "Property",
1193
+ "canonicalReference": "@microsoft/fast-element!Splice#index:member",
1194
+ "docComment": "",
1195
+ "excerptTokens": [
1196
+ {
1197
+ "kind": "Content",
1198
+ "text": "index: "
1199
+ },
1200
+ {
1201
+ "kind": "Content",
1202
+ "text": "number"
1203
+ },
1204
+ {
1205
+ "kind": "Content",
1206
+ "text": ";"
1207
+ }
1208
+ ],
1209
+ "isReadonly": false,
1210
+ "isOptional": false,
1211
+ "releaseTag": "Public",
1212
+ "name": "index",
1213
+ "propertyTypeTokenRange": {
1214
+ "startIndex": 1,
1215
+ "endIndex": 2
1216
+ },
1217
+ "isStatic": false,
1218
+ "isProtected": false,
1219
+ "isAbstract": false
1220
+ },
1221
+ {
1222
+ "kind": "Property",
1223
+ "canonicalReference": "@microsoft/fast-element!Splice#removed:member",
1224
+ "docComment": "",
1225
+ "excerptTokens": [
1226
+ {
1227
+ "kind": "Content",
1228
+ "text": "removed: "
1229
+ },
1230
+ {
1231
+ "kind": "Content",
1232
+ "text": "any[]"
1233
+ },
1234
+ {
1235
+ "kind": "Content",
1236
+ "text": ";"
1237
+ }
1238
+ ],
1239
+ "isReadonly": false,
1240
+ "isOptional": false,
1241
+ "releaseTag": "Public",
1242
+ "name": "removed",
1243
+ "propertyTypeTokenRange": {
1244
+ "startIndex": 1,
1245
+ "endIndex": 2
1246
+ },
1247
+ "isStatic": false,
1248
+ "isProtected": false,
1249
+ "isAbstract": false
1250
+ },
1251
+ {
1252
+ "kind": "Property",
1253
+ "canonicalReference": "@microsoft/fast-element!Splice#reset:member",
1254
+ "docComment": "/**\n * Indicates that this splice represents a complete array reset.\n */\n",
1255
+ "excerptTokens": [
1256
+ {
1257
+ "kind": "Content",
1258
+ "text": "reset?: "
1259
+ },
1260
+ {
1261
+ "kind": "Content",
1262
+ "text": "boolean"
1263
+ },
1264
+ {
1265
+ "kind": "Content",
1266
+ "text": ";"
1267
+ }
1268
+ ],
1269
+ "isReadonly": false,
1270
+ "isOptional": true,
1271
+ "releaseTag": "Public",
1272
+ "name": "reset",
1273
+ "propertyTypeTokenRange": {
1274
+ "startIndex": 1,
1275
+ "endIndex": 2
1276
+ },
1277
+ "isStatic": false,
1278
+ "isProtected": false,
1279
+ "isAbstract": false
1280
+ }
1281
+ ],
1282
+ "implementsTokenRanges": []
1283
+ },
1284
+ {
1285
+ "kind": "Interface",
1286
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy:interface",
1287
+ "docComment": "/**\n * An approach to tracking changes in an array.\n *\n * @public\n */\n",
1288
+ "excerptTokens": [
1289
+ {
1290
+ "kind": "Content",
1291
+ "text": "export interface SpliceStrategy "
1292
+ }
1293
+ ],
1294
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
1295
+ "releaseTag": "Public",
1296
+ "name": "SpliceStrategy",
1297
+ "preserveMemberOrder": false,
1298
+ "members": [
1299
+ {
1300
+ "kind": "MethodSignature",
1301
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#normalize:member(1)",
1302
+ "docComment": "/**\n * Normalizes the splices before delivery to array change subscribers.\n *\n * @param previous - The previous version of the array if a reset has taken place.\n *\n * @param current - The current version of the array.\n *\n * @param changes - The set of changes tracked against the array.\n */\n",
1303
+ "excerptTokens": [
1304
+ {
1305
+ "kind": "Content",
1306
+ "text": "normalize(previous: "
1307
+ },
1308
+ {
1309
+ "kind": "Content",
1310
+ "text": "unknown[] | undefined"
1311
+ },
1312
+ {
1313
+ "kind": "Content",
1314
+ "text": ", current: "
1315
+ },
1316
+ {
1317
+ "kind": "Content",
1318
+ "text": "unknown[]"
1319
+ },
1320
+ {
1321
+ "kind": "Content",
1322
+ "text": ", changes: "
1323
+ },
1324
+ {
1325
+ "kind": "Reference",
1326
+ "text": "Splice",
1327
+ "canonicalReference": "@microsoft/fast-element!Splice:class"
1328
+ },
1329
+ {
1330
+ "kind": "Content",
1331
+ "text": "[] | undefined"
1332
+ },
1333
+ {
1334
+ "kind": "Content",
1335
+ "text": "): "
1336
+ },
1337
+ {
1338
+ "kind": "Content",
1339
+ "text": "readonly "
1340
+ },
1341
+ {
1342
+ "kind": "Reference",
1343
+ "text": "Splice",
1344
+ "canonicalReference": "@microsoft/fast-element!Splice:class"
1345
+ },
1346
+ {
1347
+ "kind": "Content",
1348
+ "text": "[]"
1349
+ },
1350
+ {
1351
+ "kind": "Content",
1352
+ "text": ";"
1353
+ }
1354
+ ],
1355
+ "isOptional": false,
1356
+ "returnTypeTokenRange": {
1357
+ "startIndex": 8,
1358
+ "endIndex": 11
1359
+ },
1360
+ "releaseTag": "Public",
1361
+ "overloadIndex": 1,
1362
+ "parameters": [
1363
+ {
1364
+ "parameterName": "previous",
1365
+ "parameterTypeTokenRange": {
1366
+ "startIndex": 1,
1367
+ "endIndex": 2
1368
+ },
1369
+ "isOptional": false
1370
+ },
1371
+ {
1372
+ "parameterName": "current",
1373
+ "parameterTypeTokenRange": {
1374
+ "startIndex": 3,
1375
+ "endIndex": 4
1376
+ },
1377
+ "isOptional": false
1378
+ },
1379
+ {
1380
+ "parameterName": "changes",
1381
+ "parameterTypeTokenRange": {
1382
+ "startIndex": 5,
1383
+ "endIndex": 7
1384
+ },
1385
+ "isOptional": false
1386
+ }
1387
+ ],
1388
+ "name": "normalize"
1389
+ },
1390
+ {
1391
+ "kind": "MethodSignature",
1392
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#pop:member(1)",
1393
+ "docComment": "/**\n * Performs and tracks a pop operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param pop - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1394
+ "excerptTokens": [
1395
+ {
1396
+ "kind": "Content",
1397
+ "text": "pop(array: "
1398
+ },
1399
+ {
1400
+ "kind": "Content",
1401
+ "text": "any[]"
1402
+ },
1403
+ {
1404
+ "kind": "Content",
1405
+ "text": ", observer: "
1406
+ },
1407
+ {
1408
+ "kind": "Reference",
1409
+ "text": "ArrayObserver",
1410
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1411
+ },
1412
+ {
1413
+ "kind": "Content",
1414
+ "text": ", pop: "
1415
+ },
1416
+ {
1417
+ "kind": "Content",
1418
+ "text": "typeof "
1419
+ },
1420
+ {
1421
+ "kind": "Reference",
1422
+ "text": "Array.prototype.pop",
1423
+ "canonicalReference": "!Array#pop:member"
1424
+ },
1425
+ {
1426
+ "kind": "Content",
1427
+ "text": ", args: "
1428
+ },
1429
+ {
1430
+ "kind": "Content",
1431
+ "text": "any[]"
1432
+ },
1433
+ {
1434
+ "kind": "Content",
1435
+ "text": "): "
1436
+ },
1437
+ {
1438
+ "kind": "Content",
1439
+ "text": "any"
1440
+ },
1441
+ {
1442
+ "kind": "Content",
1443
+ "text": ";"
1444
+ }
1445
+ ],
1446
+ "isOptional": false,
1447
+ "returnTypeTokenRange": {
1448
+ "startIndex": 10,
1449
+ "endIndex": 11
1450
+ },
1451
+ "releaseTag": "Public",
1452
+ "overloadIndex": 1,
1453
+ "parameters": [
1454
+ {
1455
+ "parameterName": "array",
1456
+ "parameterTypeTokenRange": {
1457
+ "startIndex": 1,
1458
+ "endIndex": 2
1459
+ },
1460
+ "isOptional": false
1461
+ },
1462
+ {
1463
+ "parameterName": "observer",
1464
+ "parameterTypeTokenRange": {
1465
+ "startIndex": 3,
1466
+ "endIndex": 4
1467
+ },
1468
+ "isOptional": false
1469
+ },
1470
+ {
1471
+ "parameterName": "pop",
1472
+ "parameterTypeTokenRange": {
1473
+ "startIndex": 5,
1474
+ "endIndex": 7
1475
+ },
1476
+ "isOptional": false
1477
+ },
1478
+ {
1479
+ "parameterName": "args",
1480
+ "parameterTypeTokenRange": {
1481
+ "startIndex": 8,
1482
+ "endIndex": 9
1483
+ },
1484
+ "isOptional": false
1485
+ }
1486
+ ],
1487
+ "name": "pop"
1488
+ },
1489
+ {
1490
+ "kind": "MethodSignature",
1491
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#push:member(1)",
1492
+ "docComment": "/**\n * Performs and tracks a push operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param push - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1493
+ "excerptTokens": [
1494
+ {
1495
+ "kind": "Content",
1496
+ "text": "push(array: "
1497
+ },
1498
+ {
1499
+ "kind": "Content",
1500
+ "text": "any[]"
1501
+ },
1502
+ {
1503
+ "kind": "Content",
1504
+ "text": ", observer: "
1505
+ },
1506
+ {
1507
+ "kind": "Reference",
1508
+ "text": "ArrayObserver",
1509
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1510
+ },
1511
+ {
1512
+ "kind": "Content",
1513
+ "text": ", push: "
1514
+ },
1515
+ {
1516
+ "kind": "Content",
1517
+ "text": "typeof "
1518
+ },
1519
+ {
1520
+ "kind": "Reference",
1521
+ "text": "Array.prototype.push",
1522
+ "canonicalReference": "!Array#push:member"
1523
+ },
1524
+ {
1525
+ "kind": "Content",
1526
+ "text": ", args: "
1527
+ },
1528
+ {
1529
+ "kind": "Content",
1530
+ "text": "any[]"
1531
+ },
1532
+ {
1533
+ "kind": "Content",
1534
+ "text": "): "
1535
+ },
1536
+ {
1537
+ "kind": "Content",
1538
+ "text": "any"
1539
+ },
1540
+ {
1541
+ "kind": "Content",
1542
+ "text": ";"
1543
+ }
1544
+ ],
1545
+ "isOptional": false,
1546
+ "returnTypeTokenRange": {
1547
+ "startIndex": 10,
1548
+ "endIndex": 11
1549
+ },
1550
+ "releaseTag": "Public",
1551
+ "overloadIndex": 1,
1552
+ "parameters": [
1553
+ {
1554
+ "parameterName": "array",
1555
+ "parameterTypeTokenRange": {
1556
+ "startIndex": 1,
1557
+ "endIndex": 2
1558
+ },
1559
+ "isOptional": false
1560
+ },
1561
+ {
1562
+ "parameterName": "observer",
1563
+ "parameterTypeTokenRange": {
1564
+ "startIndex": 3,
1565
+ "endIndex": 4
1566
+ },
1567
+ "isOptional": false
1568
+ },
1569
+ {
1570
+ "parameterName": "push",
1571
+ "parameterTypeTokenRange": {
1572
+ "startIndex": 5,
1573
+ "endIndex": 7
1574
+ },
1575
+ "isOptional": false
1576
+ },
1577
+ {
1578
+ "parameterName": "args",
1579
+ "parameterTypeTokenRange": {
1580
+ "startIndex": 8,
1581
+ "endIndex": 9
1582
+ },
1583
+ "isOptional": false
1584
+ }
1585
+ ],
1586
+ "name": "push"
1587
+ },
1588
+ {
1589
+ "kind": "MethodSignature",
1590
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#reverse:member(1)",
1591
+ "docComment": "/**\n * Performs and tracks a reverse operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param reverse - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1592
+ "excerptTokens": [
1593
+ {
1594
+ "kind": "Content",
1595
+ "text": "reverse(array: "
1596
+ },
1597
+ {
1598
+ "kind": "Content",
1599
+ "text": "any[]"
1600
+ },
1601
+ {
1602
+ "kind": "Content",
1603
+ "text": ", observer: "
1604
+ },
1605
+ {
1606
+ "kind": "Reference",
1607
+ "text": "ArrayObserver",
1608
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1609
+ },
1610
+ {
1611
+ "kind": "Content",
1612
+ "text": ", reverse: "
1613
+ },
1614
+ {
1615
+ "kind": "Content",
1616
+ "text": "typeof "
1617
+ },
1618
+ {
1619
+ "kind": "Reference",
1620
+ "text": "Array.prototype.reverse",
1621
+ "canonicalReference": "!Array#reverse:member"
1622
+ },
1623
+ {
1624
+ "kind": "Content",
1625
+ "text": ", args: "
1626
+ },
1627
+ {
1628
+ "kind": "Content",
1629
+ "text": "any[]"
1630
+ },
1631
+ {
1632
+ "kind": "Content",
1633
+ "text": "): "
1634
+ },
1635
+ {
1636
+ "kind": "Content",
1637
+ "text": "any"
1638
+ },
1639
+ {
1640
+ "kind": "Content",
1641
+ "text": ";"
1642
+ }
1643
+ ],
1644
+ "isOptional": false,
1645
+ "returnTypeTokenRange": {
1646
+ "startIndex": 10,
1647
+ "endIndex": 11
1648
+ },
1649
+ "releaseTag": "Public",
1650
+ "overloadIndex": 1,
1651
+ "parameters": [
1652
+ {
1653
+ "parameterName": "array",
1654
+ "parameterTypeTokenRange": {
1655
+ "startIndex": 1,
1656
+ "endIndex": 2
1657
+ },
1658
+ "isOptional": false
1659
+ },
1660
+ {
1661
+ "parameterName": "observer",
1662
+ "parameterTypeTokenRange": {
1663
+ "startIndex": 3,
1664
+ "endIndex": 4
1665
+ },
1666
+ "isOptional": false
1667
+ },
1668
+ {
1669
+ "parameterName": "reverse",
1670
+ "parameterTypeTokenRange": {
1671
+ "startIndex": 5,
1672
+ "endIndex": 7
1673
+ },
1674
+ "isOptional": false
1675
+ },
1676
+ {
1677
+ "parameterName": "args",
1678
+ "parameterTypeTokenRange": {
1679
+ "startIndex": 8,
1680
+ "endIndex": 9
1681
+ },
1682
+ "isOptional": false
1683
+ }
1684
+ ],
1685
+ "name": "reverse"
1686
+ },
1687
+ {
1688
+ "kind": "MethodSignature",
1689
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#shift:member(1)",
1690
+ "docComment": "/**\n * Performs and tracks a shift operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param shift - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1691
+ "excerptTokens": [
1692
+ {
1693
+ "kind": "Content",
1694
+ "text": "shift(array: "
1695
+ },
1696
+ {
1697
+ "kind": "Content",
1698
+ "text": "any[]"
1699
+ },
1700
+ {
1701
+ "kind": "Content",
1702
+ "text": ", observer: "
1703
+ },
1704
+ {
1705
+ "kind": "Reference",
1706
+ "text": "ArrayObserver",
1707
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1708
+ },
1709
+ {
1710
+ "kind": "Content",
1711
+ "text": ", shift: "
1712
+ },
1713
+ {
1714
+ "kind": "Content",
1715
+ "text": "typeof "
1716
+ },
1717
+ {
1718
+ "kind": "Reference",
1719
+ "text": "Array.prototype.shift",
1720
+ "canonicalReference": "!Array#shift:member"
1721
+ },
1722
+ {
1723
+ "kind": "Content",
1724
+ "text": ", args: "
1725
+ },
1726
+ {
1727
+ "kind": "Content",
1728
+ "text": "any[]"
1729
+ },
1730
+ {
1731
+ "kind": "Content",
1732
+ "text": "): "
1733
+ },
1734
+ {
1735
+ "kind": "Content",
1736
+ "text": "any"
1737
+ },
1738
+ {
1739
+ "kind": "Content",
1740
+ "text": ";"
1741
+ }
1742
+ ],
1743
+ "isOptional": false,
1744
+ "returnTypeTokenRange": {
1745
+ "startIndex": 10,
1746
+ "endIndex": 11
1747
+ },
1748
+ "releaseTag": "Public",
1749
+ "overloadIndex": 1,
1750
+ "parameters": [
1751
+ {
1752
+ "parameterName": "array",
1753
+ "parameterTypeTokenRange": {
1754
+ "startIndex": 1,
1755
+ "endIndex": 2
1756
+ },
1757
+ "isOptional": false
1758
+ },
1759
+ {
1760
+ "parameterName": "observer",
1761
+ "parameterTypeTokenRange": {
1762
+ "startIndex": 3,
1763
+ "endIndex": 4
1764
+ },
1765
+ "isOptional": false
1766
+ },
1767
+ {
1768
+ "parameterName": "shift",
1769
+ "parameterTypeTokenRange": {
1770
+ "startIndex": 5,
1771
+ "endIndex": 7
1772
+ },
1773
+ "isOptional": false
1774
+ },
1775
+ {
1776
+ "parameterName": "args",
1777
+ "parameterTypeTokenRange": {
1778
+ "startIndex": 8,
1779
+ "endIndex": 9
1780
+ },
1781
+ "isOptional": false
1782
+ }
1783
+ ],
1784
+ "name": "shift"
1785
+ },
1786
+ {
1787
+ "kind": "MethodSignature",
1788
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#sort:member(1)",
1789
+ "docComment": "/**\n * Performs and tracks a sort operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param sort - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1790
+ "excerptTokens": [
1791
+ {
1792
+ "kind": "Content",
1793
+ "text": "sort(array: "
1794
+ },
1795
+ {
1796
+ "kind": "Content",
1797
+ "text": "any[]"
1798
+ },
1799
+ {
1800
+ "kind": "Content",
1801
+ "text": ", observer: "
1802
+ },
1803
+ {
1804
+ "kind": "Reference",
1805
+ "text": "ArrayObserver",
1806
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1807
+ },
1808
+ {
1809
+ "kind": "Content",
1810
+ "text": ", sort: "
1811
+ },
1812
+ {
1813
+ "kind": "Content",
1814
+ "text": "typeof "
1815
+ },
1816
+ {
1817
+ "kind": "Reference",
1818
+ "text": "Array.prototype.sort",
1819
+ "canonicalReference": "!Array#sort:member"
1820
+ },
1821
+ {
1822
+ "kind": "Content",
1823
+ "text": ", args: "
1824
+ },
1825
+ {
1826
+ "kind": "Content",
1827
+ "text": "any[]"
1828
+ },
1829
+ {
1830
+ "kind": "Content",
1831
+ "text": "): "
1832
+ },
1833
+ {
1834
+ "kind": "Content",
1835
+ "text": "any[]"
1836
+ },
1837
+ {
1838
+ "kind": "Content",
1839
+ "text": ";"
1840
+ }
1841
+ ],
1842
+ "isOptional": false,
1843
+ "returnTypeTokenRange": {
1844
+ "startIndex": 10,
1845
+ "endIndex": 11
1846
+ },
1847
+ "releaseTag": "Public",
1848
+ "overloadIndex": 1,
1849
+ "parameters": [
1850
+ {
1851
+ "parameterName": "array",
1852
+ "parameterTypeTokenRange": {
1853
+ "startIndex": 1,
1854
+ "endIndex": 2
1855
+ },
1856
+ "isOptional": false
1857
+ },
1858
+ {
1859
+ "parameterName": "observer",
1860
+ "parameterTypeTokenRange": {
1861
+ "startIndex": 3,
1862
+ "endIndex": 4
1863
+ },
1864
+ "isOptional": false
1865
+ },
1866
+ {
1867
+ "parameterName": "sort",
1868
+ "parameterTypeTokenRange": {
1869
+ "startIndex": 5,
1870
+ "endIndex": 7
1871
+ },
1872
+ "isOptional": false
1873
+ },
1874
+ {
1875
+ "parameterName": "args",
1876
+ "parameterTypeTokenRange": {
1877
+ "startIndex": 8,
1878
+ "endIndex": 9
1879
+ },
1880
+ "isOptional": false
1881
+ }
1882
+ ],
1883
+ "name": "sort"
1884
+ },
1885
+ {
1886
+ "kind": "MethodSignature",
1887
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#splice:member(1)",
1888
+ "docComment": "/**\n * Performs and tracks a splice operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param splice - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
1889
+ "excerptTokens": [
1890
+ {
1891
+ "kind": "Content",
1892
+ "text": "splice(array: "
1893
+ },
1894
+ {
1895
+ "kind": "Content",
1896
+ "text": "any[]"
1897
+ },
1898
+ {
1899
+ "kind": "Content",
1900
+ "text": ", observer: "
1901
+ },
1902
+ {
1903
+ "kind": "Reference",
1904
+ "text": "ArrayObserver",
1905
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
1906
+ },
1907
+ {
1908
+ "kind": "Content",
1909
+ "text": ", splice: "
1910
+ },
1911
+ {
1912
+ "kind": "Content",
1913
+ "text": "typeof "
1914
+ },
1915
+ {
1916
+ "kind": "Reference",
1917
+ "text": "Array.prototype.splice",
1918
+ "canonicalReference": "!Array#splice:member"
1919
+ },
1920
+ {
1921
+ "kind": "Content",
1922
+ "text": ", args: "
1923
+ },
1924
+ {
1925
+ "kind": "Content",
1926
+ "text": "any[]"
1927
+ },
1928
+ {
1929
+ "kind": "Content",
1930
+ "text": "): "
1931
+ },
1932
+ {
1933
+ "kind": "Content",
1934
+ "text": "any"
1935
+ },
1936
+ {
1937
+ "kind": "Content",
1938
+ "text": ";"
1939
+ }
1940
+ ],
1941
+ "isOptional": false,
1942
+ "returnTypeTokenRange": {
1943
+ "startIndex": 10,
1944
+ "endIndex": 11
1945
+ },
1946
+ "releaseTag": "Public",
1947
+ "overloadIndex": 1,
1948
+ "parameters": [
1949
+ {
1950
+ "parameterName": "array",
1951
+ "parameterTypeTokenRange": {
1952
+ "startIndex": 1,
1953
+ "endIndex": 2
1954
+ },
1955
+ "isOptional": false
1956
+ },
1957
+ {
1958
+ "parameterName": "observer",
1959
+ "parameterTypeTokenRange": {
1960
+ "startIndex": 3,
1961
+ "endIndex": 4
1962
+ },
1963
+ "isOptional": false
1964
+ },
1965
+ {
1966
+ "parameterName": "splice",
1967
+ "parameterTypeTokenRange": {
1968
+ "startIndex": 5,
1969
+ "endIndex": 7
1970
+ },
1971
+ "isOptional": false
1972
+ },
1973
+ {
1974
+ "parameterName": "args",
1975
+ "parameterTypeTokenRange": {
1976
+ "startIndex": 8,
1977
+ "endIndex": 9
1978
+ },
1979
+ "isOptional": false
1980
+ }
1981
+ ],
1982
+ "name": "splice"
1983
+ },
1984
+ {
1985
+ "kind": "PropertySignature",
1986
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#support:member",
1987
+ "docComment": "/**\n * The level of feature support the splice strategy provides.\n */\n",
1988
+ "excerptTokens": [
1989
+ {
1990
+ "kind": "Content",
1991
+ "text": "readonly support: "
1992
+ },
1993
+ {
1994
+ "kind": "Reference",
1995
+ "text": "SpliceStrategySupport",
1996
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategySupport:type"
1997
+ },
1998
+ {
1999
+ "kind": "Content",
2000
+ "text": ";"
2001
+ }
2002
+ ],
2003
+ "isReadonly": true,
2004
+ "isOptional": false,
2005
+ "releaseTag": "Public",
2006
+ "name": "support",
2007
+ "propertyTypeTokenRange": {
2008
+ "startIndex": 1,
2009
+ "endIndex": 2
2010
+ }
2011
+ },
2012
+ {
2013
+ "kind": "MethodSignature",
2014
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy#unshift:member(1)",
2015
+ "docComment": "/**\n * Performs and tracks an unshift operation on an array.\n *\n * @param array - The array to track the change for.\n *\n * @param observer - The observer to register the change with.\n *\n * @param unshift - The operation to perform.\n *\n * @param args - The arguments for the operation.\n */\n",
2016
+ "excerptTokens": [
2017
+ {
2018
+ "kind": "Content",
2019
+ "text": "unshift(array: "
2020
+ },
2021
+ {
2022
+ "kind": "Content",
2023
+ "text": "any[]"
2024
+ },
2025
+ {
2026
+ "kind": "Content",
2027
+ "text": ", observer: "
2028
+ },
2029
+ {
2030
+ "kind": "Reference",
2031
+ "text": "ArrayObserver",
2032
+ "canonicalReference": "@microsoft/fast-element!ArrayObserver:interface"
2033
+ },
2034
+ {
2035
+ "kind": "Content",
2036
+ "text": ", unshift: "
2037
+ },
2038
+ {
2039
+ "kind": "Content",
2040
+ "text": "typeof "
2041
+ },
2042
+ {
2043
+ "kind": "Reference",
2044
+ "text": "Array.prototype.unshift",
2045
+ "canonicalReference": "!Array#unshift:member"
2046
+ },
2047
+ {
2048
+ "kind": "Content",
2049
+ "text": ", args: "
2050
+ },
2051
+ {
2052
+ "kind": "Content",
2053
+ "text": "any[]"
2054
+ },
2055
+ {
2056
+ "kind": "Content",
2057
+ "text": "): "
2058
+ },
2059
+ {
2060
+ "kind": "Content",
2061
+ "text": "any[]"
2062
+ },
2063
+ {
2064
+ "kind": "Content",
2065
+ "text": ";"
2066
+ }
2067
+ ],
2068
+ "isOptional": false,
2069
+ "returnTypeTokenRange": {
2070
+ "startIndex": 10,
2071
+ "endIndex": 11
2072
+ },
2073
+ "releaseTag": "Public",
2074
+ "overloadIndex": 1,
2075
+ "parameters": [
2076
+ {
2077
+ "parameterName": "array",
2078
+ "parameterTypeTokenRange": {
2079
+ "startIndex": 1,
2080
+ "endIndex": 2
2081
+ },
2082
+ "isOptional": false
2083
+ },
2084
+ {
2085
+ "parameterName": "observer",
2086
+ "parameterTypeTokenRange": {
2087
+ "startIndex": 3,
2088
+ "endIndex": 4
2089
+ },
2090
+ "isOptional": false
2091
+ },
2092
+ {
2093
+ "parameterName": "unshift",
2094
+ "parameterTypeTokenRange": {
2095
+ "startIndex": 5,
2096
+ "endIndex": 7
2097
+ },
2098
+ "isOptional": false
2099
+ },
2100
+ {
2101
+ "parameterName": "args",
2102
+ "parameterTypeTokenRange": {
2103
+ "startIndex": 8,
2104
+ "endIndex": 9
2105
+ },
2106
+ "isOptional": false
2107
+ }
2108
+ ],
2109
+ "name": "unshift"
2110
+ }
2111
+ ],
2112
+ "extendsTokenRanges": []
2113
+ },
2114
+ {
2115
+ "kind": "Variable",
2116
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy:var",
2117
+ "docComment": "/**\n * Functionality related to tracking changes in arrays.\n *\n * @public\n */\n",
2118
+ "excerptTokens": [
2119
+ {
2120
+ "kind": "Content",
2121
+ "text": "SpliceStrategy: "
2122
+ },
2123
+ {
2124
+ "kind": "Reference",
2125
+ "text": "Readonly",
2126
+ "canonicalReference": "!Readonly:type"
2127
+ },
2128
+ {
2129
+ "kind": "Content",
2130
+ "text": "<{\n readonly reset: "
2131
+ },
2132
+ {
2133
+ "kind": "Reference",
2134
+ "text": "Splice",
2135
+ "canonicalReference": "@microsoft/fast-element!Splice:class"
2136
+ },
2137
+ {
2138
+ "kind": "Content",
2139
+ "text": "[];\n readonly setDefaultStrategy: (strategy: "
2140
+ },
2141
+ {
2142
+ "kind": "Reference",
2143
+ "text": "SpliceStrategy",
2144
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategy:interface"
2145
+ },
2146
+ {
2147
+ "kind": "Content",
2148
+ "text": ") => void;\n}>"
2149
+ }
2150
+ ],
2151
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
2152
+ "isReadonly": true,
2153
+ "releaseTag": "Public",
2154
+ "name": "SpliceStrategy",
2155
+ "variableTypeTokenRange": {
2156
+ "startIndex": 1,
2157
+ "endIndex": 7
2158
+ }
2159
+ },
2160
+ {
2161
+ "kind": "TypeAlias",
2162
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategySupport:type",
2163
+ "docComment": "/**\n * The available values for SpliceStrategySupport.\n *\n * @public\n */\n",
2164
+ "excerptTokens": [
2165
+ {
2166
+ "kind": "Content",
2167
+ "text": "export type SpliceStrategySupport = "
2168
+ },
2169
+ {
2170
+ "kind": "Content",
2171
+ "text": "(typeof "
2172
+ },
2173
+ {
2174
+ "kind": "Reference",
2175
+ "text": "SpliceStrategySupport",
2176
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategySupport:var"
2177
+ },
2178
+ {
2179
+ "kind": "Content",
2180
+ "text": ")[keyof typeof "
2181
+ },
2182
+ {
2183
+ "kind": "Reference",
2184
+ "text": "SpliceStrategySupport",
2185
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategySupport:var"
2186
+ },
2187
+ {
2188
+ "kind": "Content",
2189
+ "text": "]"
2190
+ },
2191
+ {
2192
+ "kind": "Content",
2193
+ "text": ";"
2194
+ }
2195
+ ],
2196
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
2197
+ "releaseTag": "Public",
2198
+ "name": "SpliceStrategySupport",
2199
+ "typeTokenRange": {
2200
+ "startIndex": 1,
2201
+ "endIndex": 6
2202
+ }
2203
+ },
2204
+ {
2205
+ "kind": "Variable",
2206
+ "canonicalReference": "@microsoft/fast-element!SpliceStrategySupport:var",
2207
+ "docComment": "/**\n * Indicates what level of feature support the splice strategy provides.\n *\n * @public\n */\n",
2208
+ "excerptTokens": [
2209
+ {
2210
+ "kind": "Content",
2211
+ "text": "SpliceStrategySupport: "
2212
+ },
2213
+ {
2214
+ "kind": "Reference",
2215
+ "text": "Readonly",
2216
+ "canonicalReference": "!Readonly:type"
2217
+ },
2218
+ {
2219
+ "kind": "Content",
2220
+ "text": "<{\n readonly reset: 1;\n readonly splice: 2;\n readonly optimized: 3;\n}>"
2221
+ }
2222
+ ],
2223
+ "fileUrlPath": "dist/dts/observation/arrays.d.ts",
2224
+ "isReadonly": true,
2225
+ "releaseTag": "Public",
2226
+ "name": "SpliceStrategySupport",
2227
+ "variableTypeTokenRange": {
2228
+ "startIndex": 1,
2229
+ "endIndex": 3
2230
+ }
2231
+ },
2232
+ {
2233
+ "kind": "Interface",
2234
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface",
2235
+ "docComment": "/**\n * Implemented by objects that are interested in change notifications.\n *\n * @public\n */\n",
2236
+ "excerptTokens": [
2237
+ {
2238
+ "kind": "Content",
2239
+ "text": "export interface Subscriber "
2240
+ }
2241
+ ],
2242
+ "fileUrlPath": "dist/dts/observation/notifier.d.ts",
2243
+ "releaseTag": "Public",
2244
+ "name": "Subscriber",
2245
+ "preserveMemberOrder": false,
2246
+ "members": [
2247
+ {
2248
+ "kind": "MethodSignature",
2249
+ "canonicalReference": "@microsoft/fast-element!Subscriber#handleChange:member(1)",
2250
+ "docComment": "/**\n * Called when a subject this instance has subscribed to changes.\n *\n * @param subject - The subject of the change.\n *\n * @param args - The event args detailing the change that occurred.\n */\n",
2251
+ "excerptTokens": [
2252
+ {
2253
+ "kind": "Content",
2254
+ "text": "handleChange(subject: "
2255
+ },
2256
+ {
2257
+ "kind": "Content",
2258
+ "text": "any"
2259
+ },
2260
+ {
2261
+ "kind": "Content",
2262
+ "text": ", args: "
2263
+ },
2264
+ {
2265
+ "kind": "Content",
2266
+ "text": "any"
2267
+ },
2268
+ {
2269
+ "kind": "Content",
2270
+ "text": "): "
2271
+ },
2272
+ {
2273
+ "kind": "Content",
2274
+ "text": "void"
2275
+ },
2276
+ {
2277
+ "kind": "Content",
2278
+ "text": ";"
2279
+ }
2280
+ ],
2281
+ "isOptional": false,
2282
+ "returnTypeTokenRange": {
2283
+ "startIndex": 5,
2284
+ "endIndex": 6
2285
+ },
2286
+ "releaseTag": "Public",
2287
+ "overloadIndex": 1,
2288
+ "parameters": [
2289
+ {
2290
+ "parameterName": "subject",
2291
+ "parameterTypeTokenRange": {
2292
+ "startIndex": 1,
2293
+ "endIndex": 2
2294
+ },
2295
+ "isOptional": false
2296
+ },
2297
+ {
2298
+ "parameterName": "args",
2299
+ "parameterTypeTokenRange": {
2300
+ "startIndex": 3,
2301
+ "endIndex": 4
2302
+ },
2303
+ "isOptional": false
2304
+ }
2305
+ ],
2306
+ "name": "handleChange"
2307
+ }
2308
+ ],
2309
+ "extendsTokenRanges": []
2310
+ },
2311
+ {
2312
+ "kind": "Class",
2313
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet:class",
2314
+ "docComment": "/**\n * An implementation of {@link Notifier} that efficiently keeps track of subscribers interested in a specific change notification on an observable subject.\n *\n * @remarks\n *\n * This set is optimized for the most common scenario of 1 or 2 subscribers. With this in mind, it can store a subscriber in an internal field, allowing it to avoid Array#push operations. If the set ever exceeds two subscribers, it upgrades to an array automatically.\n *\n * @public\n */\n",
2315
+ "excerptTokens": [
2316
+ {
2317
+ "kind": "Content",
2318
+ "text": "export declare class SubscriberSet implements "
2319
+ },
2320
+ {
2321
+ "kind": "Reference",
2322
+ "text": "Notifier",
2323
+ "canonicalReference": "@microsoft/fast-element!Notifier:interface"
2324
+ },
2325
+ {
2326
+ "kind": "Content",
2327
+ "text": " "
2328
+ }
2329
+ ],
2330
+ "fileUrlPath": "dist/dts/observation/notifier.d.ts",
2331
+ "releaseTag": "Public",
2332
+ "isAbstract": false,
2333
+ "name": "SubscriberSet",
2334
+ "preserveMemberOrder": false,
2335
+ "members": [
2336
+ {
2337
+ "kind": "Constructor",
2338
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet:constructor(1)",
2339
+ "docComment": "/**\n * Creates an instance of SubscriberSet for the specified subject.\n *\n * @param subject - The subject that subscribers will receive notifications from.\n *\n * @param initialSubscriber - An initial subscriber to changes.\n */\n",
2340
+ "excerptTokens": [
2341
+ {
2342
+ "kind": "Content",
2343
+ "text": "constructor(subject: "
2344
+ },
2345
+ {
2346
+ "kind": "Content",
2347
+ "text": "any"
2348
+ },
2349
+ {
2350
+ "kind": "Content",
2351
+ "text": ", initialSubscriber?: "
2352
+ },
2353
+ {
2354
+ "kind": "Reference",
2355
+ "text": "Subscriber",
2356
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
2357
+ },
2358
+ {
2359
+ "kind": "Content",
2360
+ "text": ");"
2361
+ }
2362
+ ],
2363
+ "releaseTag": "Public",
2364
+ "isProtected": false,
2365
+ "overloadIndex": 1,
2366
+ "parameters": [
2367
+ {
2368
+ "parameterName": "subject",
2369
+ "parameterTypeTokenRange": {
2370
+ "startIndex": 1,
2371
+ "endIndex": 2
2372
+ },
2373
+ "isOptional": false
2374
+ },
2375
+ {
2376
+ "parameterName": "initialSubscriber",
2377
+ "parameterTypeTokenRange": {
2378
+ "startIndex": 3,
2379
+ "endIndex": 4
2380
+ },
2381
+ "isOptional": true
2382
+ }
2383
+ ]
2384
+ },
2385
+ {
2386
+ "kind": "Method",
2387
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet#has:member(1)",
2388
+ "docComment": "/**\n * Checks whether the provided subscriber has been added to this set.\n *\n * @param subscriber - The subscriber to test for inclusion in this set.\n */\n",
2389
+ "excerptTokens": [
2390
+ {
2391
+ "kind": "Content",
2392
+ "text": "has(subscriber: "
2393
+ },
2394
+ {
2395
+ "kind": "Reference",
2396
+ "text": "Subscriber",
2397
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
2398
+ },
2399
+ {
2400
+ "kind": "Content",
2401
+ "text": "): "
2402
+ },
2403
+ {
2404
+ "kind": "Content",
2405
+ "text": "boolean"
2406
+ },
2407
+ {
2408
+ "kind": "Content",
2409
+ "text": ";"
2410
+ }
2411
+ ],
2412
+ "isStatic": false,
2413
+ "returnTypeTokenRange": {
2414
+ "startIndex": 3,
2415
+ "endIndex": 4
2416
+ },
2417
+ "releaseTag": "Public",
2418
+ "isProtected": false,
2419
+ "overloadIndex": 1,
2420
+ "parameters": [
2421
+ {
2422
+ "parameterName": "subscriber",
2423
+ "parameterTypeTokenRange": {
2424
+ "startIndex": 1,
2425
+ "endIndex": 2
2426
+ },
2427
+ "isOptional": false
2428
+ }
2429
+ ],
2430
+ "isOptional": false,
2431
+ "isAbstract": false,
2432
+ "name": "has"
2433
+ },
2434
+ {
2435
+ "kind": "Method",
2436
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet#notify:member(1)",
2437
+ "docComment": "/**\n * Notifies all subscribers.\n *\n * @param args - Data passed along to subscribers during notification.\n */\n",
2438
+ "excerptTokens": [
2439
+ {
2440
+ "kind": "Content",
2441
+ "text": "notify(args: "
2442
+ },
2443
+ {
2444
+ "kind": "Content",
2445
+ "text": "any"
2446
+ },
2447
+ {
2448
+ "kind": "Content",
2449
+ "text": "): "
2450
+ },
2451
+ {
2452
+ "kind": "Content",
2453
+ "text": "void"
2454
+ },
2455
+ {
2456
+ "kind": "Content",
2457
+ "text": ";"
2458
+ }
2459
+ ],
2460
+ "isStatic": false,
2461
+ "returnTypeTokenRange": {
2462
+ "startIndex": 3,
2463
+ "endIndex": 4
2464
+ },
2465
+ "releaseTag": "Public",
2466
+ "isProtected": false,
2467
+ "overloadIndex": 1,
2468
+ "parameters": [
2469
+ {
2470
+ "parameterName": "args",
2471
+ "parameterTypeTokenRange": {
2472
+ "startIndex": 1,
2473
+ "endIndex": 2
2474
+ },
2475
+ "isOptional": false
2476
+ }
2477
+ ],
2478
+ "isOptional": false,
2479
+ "isAbstract": false,
2480
+ "name": "notify"
2481
+ },
2482
+ {
2483
+ "kind": "Property",
2484
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet#subject:member",
2485
+ "docComment": "/**\n * The object that subscribers will receive notifications for.\n */\n",
2486
+ "excerptTokens": [
2487
+ {
2488
+ "kind": "Content",
2489
+ "text": "readonly subject: "
2490
+ },
2491
+ {
2492
+ "kind": "Content",
2493
+ "text": "any"
2494
+ },
2495
+ {
2496
+ "kind": "Content",
2497
+ "text": ";"
2498
+ }
2499
+ ],
2500
+ "isReadonly": true,
2501
+ "isOptional": false,
2502
+ "releaseTag": "Public",
2503
+ "name": "subject",
2504
+ "propertyTypeTokenRange": {
2505
+ "startIndex": 1,
2506
+ "endIndex": 2
2507
+ },
2508
+ "isStatic": false,
2509
+ "isProtected": false,
2510
+ "isAbstract": false
2511
+ },
2512
+ {
2513
+ "kind": "Method",
2514
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet#subscribe:member(1)",
2515
+ "docComment": "/**\n * Subscribes to notification of changes in an object's state.\n *\n * @param subscriber - The object that is subscribing for change notification.\n */\n",
2516
+ "excerptTokens": [
2517
+ {
2518
+ "kind": "Content",
2519
+ "text": "subscribe(subscriber: "
2520
+ },
2521
+ {
2522
+ "kind": "Reference",
2523
+ "text": "Subscriber",
2524
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
2525
+ },
2526
+ {
2527
+ "kind": "Content",
2528
+ "text": "): "
2529
+ },
2530
+ {
2531
+ "kind": "Content",
2532
+ "text": "void"
2533
+ },
2534
+ {
2535
+ "kind": "Content",
2536
+ "text": ";"
2537
+ }
2538
+ ],
2539
+ "isStatic": false,
2540
+ "returnTypeTokenRange": {
2541
+ "startIndex": 3,
2542
+ "endIndex": 4
2543
+ },
2544
+ "releaseTag": "Public",
2545
+ "isProtected": false,
2546
+ "overloadIndex": 1,
2547
+ "parameters": [
2548
+ {
2549
+ "parameterName": "subscriber",
2550
+ "parameterTypeTokenRange": {
2551
+ "startIndex": 1,
2552
+ "endIndex": 2
2553
+ },
2554
+ "isOptional": false
2555
+ }
2556
+ ],
2557
+ "isOptional": false,
2558
+ "isAbstract": false,
2559
+ "name": "subscribe"
2560
+ },
2561
+ {
2562
+ "kind": "Method",
2563
+ "canonicalReference": "@microsoft/fast-element!SubscriberSet#unsubscribe:member(1)",
2564
+ "docComment": "/**\n * Unsubscribes from notification of changes in an object's state.\n *\n * @param subscriber - The object that is unsubscribing from change notification.\n */\n",
2565
+ "excerptTokens": [
2566
+ {
2567
+ "kind": "Content",
2568
+ "text": "unsubscribe(subscriber: "
2569
+ },
2570
+ {
2571
+ "kind": "Reference",
2572
+ "text": "Subscriber",
2573
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
2574
+ },
2575
+ {
2576
+ "kind": "Content",
2577
+ "text": "): "
2578
+ },
2579
+ {
2580
+ "kind": "Content",
2581
+ "text": "void"
2582
+ },
2583
+ {
2584
+ "kind": "Content",
2585
+ "text": ";"
2586
+ }
2587
+ ],
2588
+ "isStatic": false,
2589
+ "returnTypeTokenRange": {
2590
+ "startIndex": 3,
2591
+ "endIndex": 4
2592
+ },
2593
+ "releaseTag": "Public",
2594
+ "isProtected": false,
2595
+ "overloadIndex": 1,
2596
+ "parameters": [
2597
+ {
2598
+ "parameterName": "subscriber",
2599
+ "parameterTypeTokenRange": {
2600
+ "startIndex": 1,
2601
+ "endIndex": 2
2602
+ },
2603
+ "isOptional": false
2604
+ }
2605
+ ],
2606
+ "isOptional": false,
2607
+ "isAbstract": false,
2608
+ "name": "unsubscribe"
2609
+ }
2610
+ ],
2611
+ "implementsTokenRanges": [
2612
+ {
2613
+ "startIndex": 1,
2614
+ "endIndex": 2
2615
+ }
2616
+ ]
2617
+ }
2618
+ ]
2619
+ }
2620
+ ]
2621
+ }