ember-source 7.2.0-alpha.4 → 7.2.0

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 (336) hide show
  1. package/blueprints/-addon-import.js +4 -6
  2. package/blueprints/-utils.js +6 -9
  3. package/build-metadata.json +3 -3
  4. package/dist/dev/packages/@ember/-internals/browser-environment/index.js +1 -1
  5. package/dist/dev/packages/@ember/-internals/glimmer/index.js +11 -11
  6. package/dist/dev/packages/@ember/-internals/metal/index.js +18 -18
  7. package/dist/dev/packages/@ember/-internals/routing/index.js +3 -3
  8. package/dist/dev/packages/@ember/-internals/runtime/index.js +1 -1
  9. package/dist/dev/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
  10. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +7 -7
  11. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -1
  12. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
  13. package/dist/dev/packages/@ember/-internals/utils/index.js +2 -2
  14. package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -1
  15. package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  16. package/dist/dev/packages/@ember/-internals/views/lib/system/utils.js +1 -1
  17. package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
  18. package/dist/dev/packages/@ember/application/index.js +6 -7
  19. package/dist/dev/packages/@ember/application/instance.js +4 -4
  20. package/dist/dev/packages/@ember/application/namespace.js +3 -3
  21. package/dist/dev/packages/@ember/array/index.js +10 -64
  22. package/dist/dev/packages/@ember/array/lib/is-array.js +71 -0
  23. package/dist/dev/packages/@ember/array/proxy.js +8 -8
  24. package/dist/dev/packages/@ember/component/helper.js +1 -1
  25. package/dist/dev/packages/@ember/component/index.js +22 -16
  26. package/dist/dev/packages/@ember/component/template-only.js +1 -1
  27. package/dist/dev/packages/@ember/controller/index.js +3 -3
  28. package/dist/dev/packages/@ember/debug/data-adapter.js +3 -3
  29. package/dist/dev/packages/@ember/debug/index.js +1 -1
  30. package/dist/dev/packages/@ember/engine/index.js +5 -5
  31. package/dist/dev/packages/@ember/engine/instance.js +2 -2
  32. package/dist/dev/packages/@ember/helper/index.js +1132 -98
  33. package/dist/dev/packages/@ember/modifier/index.js +2 -2
  34. package/dist/dev/packages/@ember/modifier/on.js +1 -1
  35. package/dist/dev/packages/@ember/object/-internals.js +2 -2
  36. package/dist/dev/packages/@ember/object/compat.js +3 -35
  37. package/dist/dev/packages/@ember/object/computed.js +2 -2
  38. package/dist/dev/packages/@ember/object/core.js +7 -7
  39. package/dist/dev/packages/@ember/object/evented.js +2 -2
  40. package/dist/dev/packages/@ember/object/events.js +1 -1
  41. package/dist/dev/packages/@ember/object/index.js +30 -25
  42. package/dist/dev/packages/@ember/object/internals.js +1 -1
  43. package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +5 -5
  44. package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +3 -3
  45. package/dist/dev/packages/@ember/object/mixin.js +6 -6
  46. package/dist/dev/packages/@ember/object/observable.js +7 -7
  47. package/dist/dev/packages/@ember/object/observers.js +1 -1
  48. package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +3 -3
  49. package/dist/dev/packages/@ember/reactive/collections.js +153 -153
  50. package/dist/dev/packages/@ember/renderer/index.js +1 -1
  51. package/dist/dev/packages/@ember/routing/-internals.js +3 -3
  52. package/dist/dev/packages/@ember/routing/index.js +18 -34
  53. package/dist/dev/packages/@ember/routing/lib/generate_controller.js +2 -3
  54. package/dist/dev/packages/@ember/routing/lib/routing-service.js +5 -5
  55. package/dist/dev/packages/@ember/routing/lib/utils.js +3 -3
  56. package/dist/dev/packages/@ember/routing/route.js +12 -12
  57. package/dist/dev/packages/@ember/routing/router-service.js +25 -18
  58. package/dist/dev/packages/@ember/routing/router.js +5 -5
  59. package/dist/dev/packages/@ember/runloop/index.js +1 -1
  60. package/dist/dev/packages/@ember/service/index.js +1 -1
  61. package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  62. package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
  63. package/dist/dev/packages/@ember/template-factory/index.js +1 -1
  64. package/dist/dev/packages/@ember/utils/lib/is_empty.js +1 -1
  65. package/dist/dev/packages/@glimmer/encoder/index.js +1 -1
  66. package/dist/dev/packages/@glimmer/manager/index.js +4 -4
  67. package/dist/dev/packages/@glimmer/node/index.js +3 -3
  68. package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
  69. package/dist/dev/packages/@glimmer/program/index.js +10 -10
  70. package/dist/dev/packages/@glimmer/reference/index.js +5 -5
  71. package/dist/dev/packages/@glimmer/runtime/index.js +13 -13
  72. package/dist/dev/packages/@glimmer/tracking/index.js +2 -2
  73. package/dist/dev/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
  74. package/dist/dev/packages/@glimmer/util/index.js +4 -4
  75. package/dist/dev/packages/@glimmer/validator/index.js +3 -3
  76. package/dist/dev/packages/@glimmer/vm/index.js +2 -2
  77. package/dist/dev/packages/ember/version.js +1 -1
  78. package/dist/dev/packages/ember-template-compiler/index.js +4 -4
  79. package/dist/dev/packages/router_js/index.js +2 -2
  80. package/dist/dev/packages/rsvp/index.js +1 -1
  81. package/dist/dev/packages/shared-chunks/{alias-RGbDZoAB.js → alias-DpqL1qx6.js} +7 -7
  82. package/dist/dev/packages/shared-chunks/{api-BT9M3UaD.js → api-BlZDPg1n.js} +6 -6
  83. package/dist/dev/packages/shared-chunks/{element-builder-Cl1kHFJE.js → api-C0PAtEgQ.js} +139 -120
  84. package/dist/dev/packages/shared-chunks/{api-DG5kRT-o.js → api-DuLOZMO_.js} +3 -3
  85. package/dist/dev/packages/shared-chunks/{args-proxy-CB0SM6jC.js → args-proxy-CS5Brs3_.js} +2 -2
  86. package/dist/dev/packages/shared-chunks/{untouchable-this-BHdAERUu.js → arguments-CDkbOqTS.js} +236 -236
  87. package/dist/dev/packages/shared-chunks/{array-BMaSKezP.js → array-CVEnNWng.js} +3 -3
  88. package/dist/dev/packages/shared-chunks/{array-utils-BEaSKdEb.js → array-utils-CZQxrdD3.js} +1 -1
  89. package/dist/dev/packages/shared-chunks/{cache-CeWOBNQg.js → cache-DGDPVCpC.js} +2 -3
  90. package/dist/dev/packages/shared-chunks/{capabilities-CZkuOqqC.js → capabilities-CajW4QjE.js} +1 -1
  91. package/dist/dev/packages/shared-chunks/{chain-tags-DfmU63mS.js → chain-tags-uWSImHzB.js} +4 -4
  92. package/dist/dev/packages/shared-chunks/{collections-DEt-i-8B.js → collections-DPkjqeA3.js} +2 -2
  93. package/dist/dev/packages/shared-chunks/{compiler-DhH2WLpA.js → compiler-QUSl_urU.js} +3 -3
  94. package/dist/dev/packages/shared-chunks/{computed-Daavz6vC.js → computed-BPCtuOxQ.js} +6 -6
  95. package/dist/dev/packages/shared-chunks/{curly-YoYS2vXw.js → curly-Ei5G8jhk.js} +7 -7
  96. package/dist/dev/packages/shared-chunks/{curried-Cnjy9_ug.js → curried-BZnYakIg.js} +1 -1
  97. package/dist/dev/packages/shared-chunks/{decorator-DYQwMItS.js → decorator-B5Uh5NFI.js} +1 -1
  98. package/dist/dev/packages/shared-chunks/{element-bBwMD8cw.js → element-Cgoi4ldD.js} +3 -25
  99. package/dist/dev/packages/shared-chunks/{events-B1lx9T1I.js → events-6aFVjD4k.js} +1 -1
  100. package/dist/{prod/packages/shared-chunks/flags-B9qxc-pB.js → dev/packages/shared-chunks/flags-BZxHQ0yn.js} +1 -1
  101. package/dist/dev/packages/shared-chunks/get-B4o_4OLA.js +40 -0
  102. package/dist/{prod/packages/shared-chunks/get_properties-wj_Qmotj.js → dev/packages/shared-chunks/get_properties-Cm2sWt5f.js} +1 -1
  103. package/dist/dev/packages/shared-chunks/{guid-PO2v9BaN.js → guid-Cbq2sNV_.js} +1 -1
  104. package/dist/dev/packages/shared-chunks/hash-Bg4r3CU4.js +57 -0
  105. package/dist/dev/packages/shared-chunks/{helper-Bm6EhgSW.js → helper--ZiOCQkd.js} +21 -9
  106. package/dist/dev/packages/shared-chunks/{index-DX90CU4L.js → index-BGP1rw3B.js} +1 -1
  107. package/dist/dev/packages/shared-chunks/{index-dyv6rcBf.js → index-C5Q8WHUG.js} +304 -201
  108. package/dist/dev/packages/shared-chunks/{index-DkwVSPP5.js → index-DaFzpTIE.js} +10 -9
  109. package/dist/dev/packages/shared-chunks/{injected_property-B075jH6c.js → injected_property-CbBLr5jt.js} +2 -2
  110. package/dist/dev/packages/shared-chunks/{internal-Bpr6ihB_.js → internal-DTOXyEGM.js} +4 -4
  111. package/dist/dev/packages/shared-chunks/{internal-helper-IC87S6iZ.js → internal-helper-CKrni0b_.js} +1 -1
  112. package/dist/dev/packages/shared-chunks/{invoke-Ds0KEfP_.js → invoke-d9sqa50M.js} +3 -3
  113. package/dist/dev/packages/shared-chunks/{libraries-P8Ins5CB.js → libraries-DwffpMGE.js} +1 -1
  114. package/dist/dev/packages/shared-chunks/{meta-Cjo3zQJq.js → meta-BqC7f9Ia.js} +1 -1
  115. package/dist/{prod/packages/shared-chunks/namespace_search-TFdmjK_a.js → dev/packages/shared-chunks/namespace_search-BfvzEQzN.js} +1 -1
  116. package/dist/dev/packages/shared-chunks/{normalize-CxG_iVLJ.js → normalize-CKySQVU7.js} +2 -2
  117. package/dist/dev/packages/shared-chunks/{or-Bg6rCMF8.js → not-JB6ln6bJ.js} +36 -36
  118. package/dist/dev/packages/shared-chunks/{observers-CejcZw5s.js → observers-DMlX2nCi.js} +5 -5
  119. package/dist/dev/packages/shared-chunks/{on-Ch_lyozr.js → on-CQqC2-wL.js} +29 -18
  120. package/dist/dev/packages/shared-chunks/{present-D0EfKzC6.js → present-B1rrjAVM.js} +1 -1
  121. package/dist/{prod/packages/shared-chunks/program-CF651Zuj.js → dev/packages/shared-chunks/program-DlgjqLa6.js} +3 -3
  122. package/dist/dev/packages/shared-chunks/{program-context-BaYVr5GA.js → program-context-Dq8xN2HI.js} +5 -4
  123. package/dist/dev/packages/shared-chunks/{property_get-BjbsrgpU.js → property_get-CRP7MFz_.js} +3 -3
  124. package/dist/dev/packages/shared-chunks/{property_set-LJskl202.js → property_set-qCUylPEK.js} +3 -3
  125. package/dist/dev/packages/shared-chunks/{reference-C-OXd_kp.js → reference-BqOLhKFy.js} +3 -3
  126. package/dist/dev/packages/shared-chunks/{registers-Buvdhhxx.js → registers-C_W2qYHJ.js} +1 -1
  127. package/dist/dev/packages/shared-chunks/{rehydrate-builder-IH4d_JQy.js → rehydrate-builder-C6k1XhET.js} +4 -4
  128. package/dist/dev/packages/shared-chunks/{render-Dz3OWqXy.js → render-87_sKZ_k.js} +94 -94
  129. package/dist/dev/packages/shared-chunks/{rsvp-C6j8G1D1.js → rsvp-aLN_pQtn.js} +4 -4
  130. package/dist/dev/packages/shared-chunks/{serialize-builder-DKliZPPG.js → serialize-builder-BlxBjwO-.js} +2 -2
  131. package/dist/dev/packages/shared-chunks/{set_properties-CNds2HCH.js → set_properties-C4TSebH6.js} +2 -2
  132. package/dist/dev/packages/shared-chunks/{setup-registry-C_YovxNX.js → setup-registry-Dovj1LIQ.js} +18 -18
  133. package/dist/{prod/packages/shared-chunks/simple-cast-BXTrayoV.js → dev/packages/shared-chunks/simple-cast-DCvJLSin.js} +1 -1
  134. package/dist/{prod/packages/shared-chunks/super-D4qkU4uq.js → dev/packages/shared-chunks/super-BBBjgF69.js} +1 -1
  135. package/dist/{prod/packages/shared-chunks/syscall-ops-nrBHMOTp.js → dev/packages/shared-chunks/syscall-ops-CN7STuUn.js} +1 -1
  136. package/dist/dev/packages/shared-chunks/{template-B0Apv9g2.js → template-BRrQR6KS.js} +1 -1
  137. package/dist/dev/packages/shared-chunks/{template-only-BxYzSEnC.js → template-only-Cu639ICT.js} +2 -4
  138. package/dist/dev/packages/shared-chunks/{textarea-DHjEFpZu.js → textarea-B5TmhnQU.js} +14 -30
  139. package/dist/dev/packages/shared-chunks/{tracked-B76E1nGz.js → tracked-DEyf0T_X.js} +5 -5
  140. package/dist/dev/packages/shared-chunks/{tracked-data-CH1USZZy.js → tracked-data-DgqqRdYO.js} +2 -2
  141. package/dist/dev/packages/shared-chunks/{unique-id-Hd96VZlE.js → unique-id-Csxuh1I7.js} +2 -6
  142. package/dist/dev/packages/shared-chunks/{unrecognized-url-error-BQdkjTtZ.js → unrecognized-url-error-DyurFqvv.js} +2 -2
  143. package/dist/{prod/packages/shared-chunks/vm-ops-5QCUIRx4.js → dev/packages/shared-chunks/vm-ops-ImHv0Wtg.js} +1 -1
  144. package/dist/prod/packages/@ember/-internals/glimmer/index.js +11 -11
  145. package/dist/prod/packages/@ember/-internals/metal/index.js +18 -18
  146. package/dist/prod/packages/@ember/-internals/routing/index.js +3 -3
  147. package/dist/prod/packages/@ember/-internals/runtime/index.js +1 -1
  148. package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
  149. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +7 -7
  150. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -1
  151. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
  152. package/dist/prod/packages/@ember/-internals/utils/index.js +2 -2
  153. package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -1
  154. package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  155. package/dist/prod/packages/@ember/-internals/views/lib/system/utils.js +1 -1
  156. package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
  157. package/dist/prod/packages/@ember/application/index.js +5 -6
  158. package/dist/prod/packages/@ember/application/instance.js +4 -4
  159. package/dist/prod/packages/@ember/application/namespace.js +3 -3
  160. package/dist/prod/packages/@ember/array/index.js +11 -58
  161. package/dist/prod/packages/@ember/array/lib/is-array.js +64 -0
  162. package/dist/prod/packages/@ember/array/proxy.js +8 -8
  163. package/dist/prod/packages/@ember/component/helper.js +1 -1
  164. package/dist/prod/packages/@ember/component/index.js +21 -15
  165. package/dist/prod/packages/@ember/component/template-only.js +1 -1
  166. package/dist/prod/packages/@ember/controller/index.js +3 -3
  167. package/dist/prod/packages/@ember/debug/data-adapter.js +3 -3
  168. package/dist/prod/packages/@ember/engine/index.js +5 -5
  169. package/dist/prod/packages/@ember/engine/instance.js +2 -2
  170. package/dist/prod/packages/@ember/helper/index.js +1132 -98
  171. package/dist/prod/packages/@ember/modifier/index.js +2 -2
  172. package/dist/prod/packages/@ember/modifier/on.js +1 -1
  173. package/dist/prod/packages/@ember/object/-internals.js +2 -2
  174. package/dist/prod/packages/@ember/object/compat.js +3 -35
  175. package/dist/prod/packages/@ember/object/computed.js +2 -2
  176. package/dist/prod/packages/@ember/object/core.js +7 -7
  177. package/dist/prod/packages/@ember/object/evented.js +2 -2
  178. package/dist/prod/packages/@ember/object/events.js +1 -1
  179. package/dist/prod/packages/@ember/object/index.js +30 -25
  180. package/dist/prod/packages/@ember/object/internals.js +2 -2
  181. package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +4 -4
  182. package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -2
  183. package/dist/prod/packages/@ember/object/mixin.js +6 -6
  184. package/dist/prod/packages/@ember/object/observable.js +7 -7
  185. package/dist/prod/packages/@ember/object/observers.js +1 -1
  186. package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +3 -3
  187. package/dist/prod/packages/@ember/reactive/collections.js +153 -153
  188. package/dist/prod/packages/@ember/renderer/index.js +1 -1
  189. package/dist/prod/packages/@ember/routing/index.js +18 -34
  190. package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -2
  191. package/dist/prod/packages/@ember/routing/lib/routing-service.js +4 -4
  192. package/dist/prod/packages/@ember/routing/lib/utils.js +3 -3
  193. package/dist/prod/packages/@ember/routing/route.js +12 -12
  194. package/dist/prod/packages/@ember/routing/router-service.js +24 -17
  195. package/dist/prod/packages/@ember/routing/router.js +5 -5
  196. package/dist/prod/packages/@ember/runloop/index.js +1 -1
  197. package/dist/prod/packages/@ember/service/index.js +1 -1
  198. package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  199. package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
  200. package/dist/prod/packages/@ember/template-factory/index.js +1 -1
  201. package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
  202. package/dist/prod/packages/@glimmer/encoder/index.js +1 -1
  203. package/dist/prod/packages/@glimmer/manager/index.js +4 -4
  204. package/dist/prod/packages/@glimmer/node/index.js +3 -3
  205. package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -2
  206. package/dist/prod/packages/@glimmer/program/index.js +10 -10
  207. package/dist/prod/packages/@glimmer/reference/index.js +5 -5
  208. package/dist/prod/packages/@glimmer/runtime/index.js +13 -13
  209. package/dist/prod/packages/@glimmer/tracking/index.js +2 -2
  210. package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
  211. package/dist/prod/packages/@glimmer/util/index.js +4 -4
  212. package/dist/prod/packages/@glimmer/validator/index.js +3 -3
  213. package/dist/prod/packages/@glimmer/vm/index.js +2 -2
  214. package/dist/prod/packages/ember/version.js +1 -1
  215. package/dist/prod/packages/ember-template-compiler/index.js +4 -4
  216. package/dist/prod/packages/router_js/index.js +2 -2
  217. package/dist/prod/packages/rsvp/index.js +1 -1
  218. package/dist/prod/packages/shared-chunks/{alias-DsIh-16z.js → alias-Bod6qdNp.js} +7 -7
  219. package/dist/prod/packages/shared-chunks/{api-CGZbGcvX.js → api-B_poQGXS.js} +6 -6
  220. package/dist/prod/packages/shared-chunks/{element-builder-CZePCkbA.js → api-CQexacBn.js} +139 -120
  221. package/dist/prod/packages/shared-chunks/{api-DOLN_cR2.js → api-DlJKfm_f.js} +3 -3
  222. package/dist/prod/packages/shared-chunks/{args-proxy-CaXVcI8G.js → args-proxy-CCoFtYLS.js} +2 -2
  223. package/dist/prod/packages/shared-chunks/{debug-render-tree-CYENUjgX.js → arguments-BzAkZVBa.js} +198 -198
  224. package/dist/prod/packages/shared-chunks/{array-DYFI95FA.js → array-BzReKMeW.js} +3 -3
  225. package/dist/prod/packages/shared-chunks/{array-utils-BEaSKdEb.js → array-utils-CZQxrdD3.js} +1 -1
  226. package/dist/prod/packages/shared-chunks/{cache-CG6_L9db.js → cache-CofLhaS4.js} +1 -2
  227. package/dist/prod/packages/shared-chunks/{capabilities-_5e35539.js → capabilities-BuVYh-vx.js} +1 -1
  228. package/dist/prod/packages/shared-chunks/{chain-tags-BP0V2LnZ.js → chain-tags-B2J7DsxO.js} +4 -4
  229. package/dist/prod/packages/shared-chunks/{collections-By4M3cTy.js → collections-GpG8lT2g.js} +10 -10
  230. package/dist/prod/packages/shared-chunks/{compiler-DQmEjFyx.js → compiler-lBSssiWp.js} +2 -2
  231. package/dist/prod/packages/shared-chunks/{computed-D6MVTTDd.js → computed-DtIStxvq.js} +6 -6
  232. package/dist/prod/packages/shared-chunks/{curly-DCYSwLtz.js → curly-IY06zACp.js} +7 -7
  233. package/dist/prod/packages/shared-chunks/{curried-Cnjy9_ug.js → curried-BZnYakIg.js} +1 -1
  234. package/dist/prod/packages/shared-chunks/{decorator-B8Lpq40g.js → decorator-9ikVwsjY.js} +1 -1
  235. package/dist/prod/packages/shared-chunks/{element-CT5H5uxF.js → element-BmBjPjkQ.js} +3 -25
  236. package/dist/prod/packages/shared-chunks/{events-C7aYCy0N.js → events-DYrYz3V8.js} +1 -1
  237. package/dist/{dev/packages/shared-chunks/flags-B9qxc-pB.js → prod/packages/shared-chunks/flags-BZxHQ0yn.js} +1 -1
  238. package/dist/prod/packages/shared-chunks/get-DpBAICuC.js +40 -0
  239. package/dist/{dev/packages/shared-chunks/get_properties-B203vZpz.js → prod/packages/shared-chunks/get_properties-Dg3xFpiS.js} +1 -1
  240. package/dist/prod/packages/shared-chunks/{guid-PO2v9BaN.js → guid-Cbq2sNV_.js} +1 -1
  241. package/dist/prod/packages/shared-chunks/hash-D31JO-BD.js +57 -0
  242. package/dist/prod/packages/shared-chunks/{helper-CCK8Ef0x.js → helper-Df5MpdcT.js} +21 -9
  243. package/dist/prod/packages/shared-chunks/{index-DabsnYit.js → index-BQaaoknf.js} +301 -198
  244. package/dist/prod/packages/shared-chunks/{index-D-rcNBLp.js → index-Bf53M8eS.js} +9 -8
  245. package/dist/prod/packages/shared-chunks/{injected_property-COGiYHKc.js → injected_property-Y-FadDej.js} +2 -2
  246. package/dist/prod/packages/shared-chunks/{internal-BEJC2IJ-.js → internal-BQ7zHrqS.js} +4 -4
  247. package/dist/prod/packages/shared-chunks/{internal-helper-CoxiRnnb.js → internal-helper-Bz1lpDXr.js} +1 -1
  248. package/dist/prod/packages/shared-chunks/{invoke-D_jsLbsj.js → invoke-DhQ5QRp2.js} +3 -3
  249. package/dist/prod/packages/shared-chunks/{libraries-Bs3H8iwC.js → libraries-DBql0hdn.js} +2 -2
  250. package/dist/prod/packages/shared-chunks/{meta-Ce6-qROq.js → meta-BJtIZDir.js} +1 -1
  251. package/dist/{dev/packages/shared-chunks/namespace_search-TFdmjK_a.js → prod/packages/shared-chunks/namespace_search-BfvzEQzN.js} +1 -1
  252. package/dist/prod/packages/shared-chunks/{normalize-Bx4H3NjB.js → normalize-C_IStty9.js} +2 -2
  253. package/dist/prod/packages/shared-chunks/{or-sYlRiUn_.js → not-Bm2-x-jD.js} +28 -28
  254. package/dist/prod/packages/shared-chunks/{observers-Ci31SE36.js → observers-BmobpXAF.js} +5 -5
  255. package/dist/prod/packages/shared-chunks/{on-Dgmychhk.js → on-8aS8t_5D.js} +29 -18
  256. package/dist/{dev/packages/shared-chunks/program-CPXeXWVB.js → prod/packages/shared-chunks/program-BAh__OXZ.js} +3 -3
  257. package/dist/prod/packages/shared-chunks/{program-context-DmI53TzJ.js → program-context-COSioH46.js} +5 -4
  258. package/dist/prod/packages/shared-chunks/{property_get-Sw0SicEZ.js → property_get-DAKgbeJX.js} +2 -2
  259. package/dist/prod/packages/shared-chunks/{property_set-SHEIPMUG.js → property_set-BaQJdVfS.js} +3 -3
  260. package/dist/prod/packages/shared-chunks/{reference-D2agTt1V.js → reference-CG0yPgLy.js} +3 -3
  261. package/dist/prod/packages/shared-chunks/{registers-Buvdhhxx.js → registers-C_W2qYHJ.js} +1 -1
  262. package/dist/prod/packages/shared-chunks/{rehydrate-builder-B7MtrWip.js → rehydrate-builder-Blt1x9MP.js} +4 -4
  263. package/dist/prod/packages/shared-chunks/{render-B790-vbk.js → render-Dx7lr1hR.js} +94 -94
  264. package/dist/prod/packages/shared-chunks/{rsvp-C6j8G1D1.js → rsvp-aLN_pQtn.js} +4 -4
  265. package/dist/prod/packages/shared-chunks/{serialize-builder-kEyOKbzp.js → serialize-builder-BvAXYHTr.js} +2 -2
  266. package/dist/prod/packages/shared-chunks/{set_properties-CcLLHg1w.js → set_properties-Qxhw4qzw.js} +2 -2
  267. package/dist/prod/packages/shared-chunks/{setup-registry-D14I0iDX.js → setup-registry-DMAzVcVn.js} +18 -18
  268. package/dist/{dev/packages/shared-chunks/simple-cast-BXTrayoV.js → prod/packages/shared-chunks/simple-cast-DCvJLSin.js} +1 -1
  269. package/dist/{dev/packages/shared-chunks/super-D4qkU4uq.js → prod/packages/shared-chunks/super-BBBjgF69.js} +1 -1
  270. package/dist/{dev/packages/shared-chunks/syscall-ops-nrBHMOTp.js → prod/packages/shared-chunks/syscall-ops-CN7STuUn.js} +1 -1
  271. package/dist/prod/packages/shared-chunks/{template-B0Apv9g2.js → template-BRrQR6KS.js} +1 -1
  272. package/dist/prod/packages/shared-chunks/{template-only-CP0NT7ce.js → template-only-DKNcKM5b.js} +2 -4
  273. package/dist/prod/packages/shared-chunks/{textarea-B_JYBuE8.js → textarea-CQmTzSKe.js} +13 -29
  274. package/dist/prod/packages/shared-chunks/{tracked-CXcapuAm.js → tracked-B9380JtC.js} +5 -5
  275. package/dist/prod/packages/shared-chunks/{tracked-data-DNDzhYXf.js → tracked-data-CHq42QHb.js} +2 -2
  276. package/dist/prod/packages/shared-chunks/{unique-id-Hn8Qp4dS.js → unique-id-BJb1p8EG.js} +2 -6
  277. package/dist/prod/packages/shared-chunks/{unrecognized-url-error-ClNyMFJt.js → unrecognized-url-error-DgXBAzKl.js} +2 -2
  278. package/dist/{dev/packages/shared-chunks/vm-ops-5QCUIRx4.js → prod/packages/shared-chunks/vm-ops-ImHv0Wtg.js} +1 -1
  279. package/docs/data.json +1435 -1617
  280. package/package.json +6 -7
  281. package/types/stable/@ember/-internals/glimmer/index.d.ts +24 -353
  282. package/types/stable/@ember/-internals/glimmer/lib/component-managers/mount.d.ts +1 -1
  283. package/types/stable/@ember/-internals/glimmer/lib/component-managers/outlet.d.ts +1 -1
  284. package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +9 -3
  285. package/types/stable/@ember/-internals/glimmer/lib/glimmer-tracking-docs.d.ts +12 -12
  286. package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +18 -6
  287. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +183 -72
  288. package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +0 -22
  289. package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +25 -55
  290. package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +7 -9
  291. package/types/stable/@ember/-internals/glimmer/lib/helpers/unbound.d.ts +6 -2
  292. package/types/stable/@ember/-internals/glimmer/lib/helpers/unique-id.d.ts +0 -3
  293. package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +1 -2
  294. package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +18 -12
  295. package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +23 -11
  296. package/types/stable/@ember/-internals/runtime/lib/mixins/target_action_support.d.ts +1 -1
  297. package/types/stable/@ember/array/index.d.ts +6 -29
  298. package/types/stable/@ember/array/lib/is-array.d.ts +35 -0
  299. package/types/stable/@ember/component/template-only.d.ts +1 -3
  300. package/types/stable/@ember/controller/index.d.ts +1 -1
  301. package/types/stable/@ember/helper/index.d.ts +1111 -90
  302. package/types/stable/@ember/object/compat.d.ts +0 -32
  303. package/types/stable/@ember/object/index.d.ts +4 -3
  304. package/types/stable/@ember/object/observable.d.ts +4 -0
  305. package/types/stable/@ember/reactive/collections.d.ts +0 -6
  306. package/types/stable/@ember/routing/lib/generate_controller.d.ts +1 -1
  307. package/types/stable/@ember/routing/route.d.ts +2 -2
  308. package/types/stable/@ember/routing/router-service.d.ts +20 -12
  309. package/types/stable/@glimmer/runtime/lib/component/template-only.d.ts +0 -2
  310. package/types/stable/@glimmer/runtime/lib/dom/sanitized-values.d.ts +2 -2
  311. package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +0 -33
  312. package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +0 -20
  313. package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +0 -64
  314. package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +0 -77
  315. package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +0 -36
  316. package/types/stable/@glimmer/syntax/lib/get-template-locals.d.ts +1 -1
  317. package/types/stable/@glimmer/tracking/index.d.ts +12 -12
  318. package/types/stable/index.d.ts +1 -14
  319. package/dist/dev/packages/shared-chunks/get-CO3EIWsm.js +0 -138
  320. package/dist/dev/packages/shared-chunks/hash-2-93qikL.js +0 -192
  321. package/dist/prod/packages/shared-chunks/get-tlL23wmp.js +0 -138
  322. package/dist/prod/packages/shared-chunks/hash-C6IoC4eR.js +0 -192
  323. package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +0 -41
  324. package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +0 -149
  325. package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +0 -28
  326. package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +0 -73
  327. package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +0 -100
  328. package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +0 -44
  329. package/types/stable/@ember/-internals/glimmer/lib/helpers/helper.d.ts +0 -43
  330. package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +0 -182
  331. package/types/stable/@ember/-internals/glimmer/lib/helpers/log.d.ts +0 -19
  332. package/types/stable/@ember/-internals/glimmer/lib/helpers/modifier.d.ts +0 -42
  333. package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +0 -20
  334. package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +0 -95
  335. package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +0 -47
  336. package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +0 -55
@@ -1,17 +1,17 @@
1
1
  import { a as assign } from './object-utils-AijlD-JH.js';
2
- import { b as EMPTY_STRING_ARRAY, E as EMPTY_ARRAY, c as enumerate, r as reverse } from './array-utils-BEaSKdEb.js';
3
- import { ab as VM_PRIMITIVE_OP, aE as encodeHandle, o as VM_CONCAT_OP, O as VM_GET_VARIABLE_OP, q as VM_CONSTANT_REFERENCE_OP, N as VM_GET_PROPERTY_OP, P as VM_HAS_BLOCK_OP, au as VM_SPREAD_BLOCK_OP, m as VM_COMPILE_BLOCK_OP, Q as VM_HAS_BLOCK_PARAMS_OP, S as VM_IF_INLINE_OP, a2 as VM_NOT_OP, M as VM_GET_DYNAMIC_VAR_OP, $ as VM_LOG_OP, G as VM_FETCH_OP, ac as VM_PRIMITIVE_REFERENCE_OP, R as VM_HELPER_OP, x as VM_DUP_OP, A as VM_DYNAMIC_HELPER_OP, a7 as VM_POP_OP, h as VM_CAPTURE_ARGS_OP, t as VM_CURRY_OP, aH as isSmallInt, aF as encodeImmediate, ah as VM_PUSH_DYNAMIC_SCOPE_OP, g as VM_BIND_DYNAMIC_SCOPE_OP, a6 as VM_POP_DYNAMIC_SCOPE_OP, I as VM_GET_BLOCK_OP, U as VM_INVOKE_YIELD_OP, a9 as VM_POP_SCOPE_OP, i as VM_CHILD_SCOPE_OP, at as VM_SET_VARIABLE_OP, p as VM_CONSTANT_OP, ae as VM_PUSH_BLOCK_SCOPE_OP, ak as VM_PUSH_SYMBOL_TABLE_OP, ai as VM_PUSH_EMPTY_ARGS_OP, ad as VM_PUSH_ARGS_OP, D as VM_ENTER_OP, X as VM_JUMP_EQ_OP, F as VM_EXIT_OP, Z as VM_JUMP_UNLESS_OP, af as VM_PUSH_COMPONENT_DEFINITION_OP, _ as VM_LOAD_OP, f as VM_BEGIN_COMPONENT_TRANSACTION_OP, s as VM_CREATE_COMPONENT_OP, am as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, K as VM_GET_COMPONENT_SELF_OP, ap as VM_ROOT_SCOPE_OP, ar as VM_SET_BLOCK_OP, w as VM_DID_RENDER_LAYOUT_OP, l as VM_COMMIT_COMPONENT_TRANSACTION_OP, aa as VM_PREPARE_ARGS_OP, aA as VM_VIRTUAL_ROOT_SCOPE_OP, as as VM_SET_NAMED_VARIABLES_OP, aq as VM_SET_BLOCKS_OP, T as VM_INVOKE_COMPONENT_LAYOUT_OP, al as VM_PUT_COMPONENT_OPERATIONS_OP, a3 as VM_OPEN_DYNAMIC_ELEMENT_OP, v as VM_DID_CREATE_ELEMENT_OP, H as VM_FLUSH_ELEMENT_OP, j as VM_CLOSE_ELEMENT_OP, an as VM_RESOLVE_CURRIED_COMPONENT_OP, ao as VM_RESOLVE_DYNAMIC_COMPONENT_OP, ag as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, J as VM_GET_COMPONENT_LAYOUT_OP, a5 as VM_POPULATE_LAYOUT_OP, L as VM_GET_COMPONENT_TAG_NAME_OP, k as VM_COMMENT_OP, a1 as VM_MODIFIER_OP, B as VM_DYNAMIC_MODIFIER_OP, av as VM_STATIC_ATTR_OP, aw as VM_STATIC_COMPONENT_ATTR_OP, y as VM_DYNAMIC_ATTR_OP, n as VM_COMPONENT_ATTR_OP, a4 as VM_OPEN_ELEMENT_OP, u as VM_DEBUGGER_OP, ay as VM_TEXT_OP, z as VM_DYNAMIC_CONTENT_TYPE_OP, aj as VM_PUSH_REMOTE_ELEMENT_OP, a8 as VM_POP_REMOTE_ELEMENT_OP, az as VM_TO_BOOLEAN_OP, C as VM_ENTER_LIST_OP, W as VM_ITERATE_OP, E as VM_EXIT_LIST_OP } from './syscall-ops-nrBHMOTp.js';
4
- import { e as VM_RETURN_OP, i as isMachineOp, d as VM_PUSH_FRAME_OP, c as VM_POP_FRAME_OP, a as VM_INVOKE_VIRTUAL_OP, b as VM_JUMP_OP, f as VM_RETURN_TO_OP, V as VM_INVOKE_STATIC_OP } from './vm-ops-5QCUIRx4.js';
5
- import { a as expect, u as unwrap, S as StackImpl, d as dict } from './collections-DEt-i-8B.js';
6
- import { i as isPresentArray } from './present-D0EfKzC6.js';
2
+ import { b as EMPTY_STRING_ARRAY, E as EMPTY_ARRAY, e as enumerate, r as reverse } from './array-utils-CZQxrdD3.js';
3
+ import { r as VM_PRIMITIVE_OP, aE as encodeHandle, au as VM_CONCAT_OP, al as VM_GET_VARIABLE_OP, q as VM_CONSTANT_REFERENCE_OP, ap as VM_GET_PROPERTY_OP, as as VM_HAS_BLOCK_OP, ar as VM_SPREAD_BLOCK_OP, E as VM_COMPILE_BLOCK_OP, at as VM_HAS_BLOCK_PARAMS_OP, av as VM_IF_INLINE_OP, aw as VM_NOT_OP, ax as VM_GET_DYNAMIC_VAR_OP, ay as VM_LOG_OP, y as VM_FETCH_OP, u as VM_PRIMITIVE_REFERENCE_OP, ak as VM_HELPER_OP, v as VM_DUP_OP, aj as VM_DYNAMIC_HELPER_OP, w as VM_POP_OP, $ as VM_CAPTURE_ARGS_OP, ai as VM_CURRY_OP, aF as isSmallInt, aG as encodeImmediate, m as VM_PUSH_DYNAMIC_SCOPE_OP, z as VM_BIND_DYNAMIC_SCOPE_OP, n as VM_POP_DYNAMIC_SCOPE_OP, aq as VM_GET_BLOCK_OP, F as VM_INVOKE_YIELD_OP, l as VM_POP_SCOPE_OP, k as VM_CHILD_SCOPE_OP, am as VM_SET_VARIABLE_OP, o as VM_CONSTANT_OP, D as VM_PUSH_BLOCK_SCOPE_OP, C as VM_PUSH_SYMBOL_TABLE_OP, _ as VM_PUSH_EMPTY_ARGS_OP, Z as VM_PUSH_ARGS_OP, A as VM_ENTER_OP, I as VM_JUMP_EQ_OP, B as VM_EXIT_OP, H as VM_JUMP_UNLESS_OP, X as VM_PUSH_COMPONENT_DEFINITION_OP, x as VM_LOAD_OP, a3 as VM_BEGIN_COMPONENT_TRANSACTION_OP, a1 as VM_CREATE_COMPONENT_OP, a2 as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, a8 as VM_GET_COMPONENT_SELF_OP, ao as VM_ROOT_SCOPE_OP, an as VM_SET_BLOCK_OP, ag as VM_DID_RENDER_LAYOUT_OP, ah as VM_COMMIT_COMPONENT_TRANSACTION_OP, a0 as VM_PREPARE_ARGS_OP, ac as VM_VIRTUAL_ROOT_SCOPE_OP, ad as VM_SET_NAMED_VARIABLES_OP, ae as VM_SET_BLOCKS_OP, af as VM_INVOKE_COMPONENT_LAYOUT_OP, a4 as VM_PUT_COMPONENT_OPERATIONS_OP, N as VM_OPEN_DYNAMIC_ELEMENT_OP, a7 as VM_DID_CREATE_ELEMENT_OP, Q as VM_FLUSH_ELEMENT_OP, R as VM_CLOSE_ELEMENT_OP, e as VM_RESOLVE_CURRIED_COMPONENT_OP, Y as VM_RESOLVE_DYNAMIC_COMPONENT_OP, f as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, aa as VM_GET_COMPONENT_LAYOUT_OP, ab as VM_POPULATE_LAYOUT_OP, a9 as VM_GET_COMPONENT_TAG_NAME_OP, L as VM_COMMENT_OP, S as VM_MODIFIER_OP, T as VM_DYNAMIC_MODIFIER_OP, U as VM_STATIC_ATTR_OP, a6 as VM_STATIC_COMPONENT_ATTR_OP, W as VM_DYNAMIC_ATTR_OP, a5 as VM_COMPONENT_ATTR_OP, M as VM_OPEN_ELEMENT_OP, aA as VM_DEBUGGER_OP, K as VM_TEXT_OP, b as VM_ASSERT_SAME_OP, az as VM_DYNAMIC_CONTENT_TYPE_OP, O as VM_PUSH_REMOTE_ELEMENT_OP, P as VM_POP_REMOTE_ELEMENT_OP, J as VM_TO_BOOLEAN_OP, aB as VM_ENTER_LIST_OP, aD as VM_ITERATE_OP, aC as VM_EXIT_LIST_OP } from './syscall-ops-CN7STuUn.js';
4
+ import { b as VM_RETURN_OP, i as isMachineOp, f as VM_PUSH_FRAME_OP, e as VM_POP_FRAME_OP, d as VM_INVOKE_VIRTUAL_OP, c as VM_JUMP_OP, a as VM_RETURN_TO_OP, V as VM_INVOKE_STATIC_OP } from './vm-ops-ImHv0Wtg.js';
5
+ import { e as expect, u as unwrap, S as StackImpl, d as dict } from './collections-DPkjqeA3.js';
6
+ import { i as isPresentArray } from './present-B1rrjAVM.js';
7
7
  import { a as assert } from './assert-Zqc4wiAV.js';
8
8
  import { InstructionEncoderImpl } from '../@glimmer/encoder/index.js';
9
- import { b as TYPE_SIZE, A as ARG_SHIFT, M as MACHINE_MASK, I as InternalComponentCapabilities } from './flags-B9qxc-pB.js';
9
+ import { a as TYPE_SIZE, A as ARG_SHIFT, M as MACHINE_MASK, I as InternalComponentCapabilities } from './flags-BZxHQ0yn.js';
10
10
  import { d as debugToString } from './debug-to-string-C6LsA_qz.js';
11
11
  import { o as opcodes } from './opcodes-CplRyHl_.js';
12
- import { h as $v0, $ as $fp, c as $s0, e as $sp, d as $s1 } from './registers-Buvdhhxx.js';
12
+ import { a as $v0, f as $fp, $ as $s0, g as $sp, h as $s1 } from './registers-C_W2qYHJ.js';
13
13
  import { ContentType } from '../@glimmer/vm/index.js';
14
- import { h as hasCapability } from './capabilities-CZkuOqqC.js';
14
+ import { h as hasCapability } from './capabilities-CajW4QjE.js';
15
15
 
16
16
  function isGetLikeTuple(opcode) {
17
17
  return Array.isArray(opcode) && opcode.length === 2;
@@ -1612,6 +1612,7 @@ STATEMENTS.add(opcodes.Append, (op, [, value]) => {
1612
1612
  op(VM_DYNAMIC_CONTENT_TYPE_OP);
1613
1613
  }, when => {
1614
1614
  when(ContentType.Component, () => {
1615
+ op(VM_ASSERT_SAME_OP);
1615
1616
  op(VM_RESOLVE_CURRIED_COMPONENT_OP);
1616
1617
  op(VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP);
1617
1618
  InvokeNonStaticComponent(op, {
@@ -1954,4 +1955,4 @@ class TemplateImpl {
1954
1955
  }
1955
1956
  }
1956
1957
 
1957
- export { CallDynamic as C, EMPTY_BLOCKS as E, InvokeBareComponent as I, SwitchCases as S, WrappedBuilder as W, EncoderImpl as a, InvokeStaticBlock as b, InvokeStaticBlockWithStack as c, compilable as d, compileStatements as e, encodeOp as f, templateCompilationContext as g, templateFactory as h, invokePreparedComponent as i, meta as m, templateCacheCounters as t };
1958
+ export { CallDynamic as C, EMPTY_BLOCKS as E, InvokeStaticBlock as I, SwitchCases as S, WrappedBuilder as W, templateCacheCounters as a, compileStatements as b, compilable as c, InvokeStaticBlockWithStack as d, templateCompilationContext as e, EncoderImpl as f, encodeOp as g, InvokeBareComponent as h, invokePreparedComponent as i, meta as m, templateFactory as t };
@@ -1,7 +1,7 @@
1
1
  import { getOwner } from '../@ember/-internals/owner/index.js';
2
2
  import '../@ember/debug/index.js';
3
- import { d as computed, f as defineProperty } from './computed-Daavz6vC.js';
4
- import { c as isElementDescriptor } from './decorator-DYQwMItS.js';
3
+ import { c as computed, d as defineProperty } from './computed-BPCtuOxQ.js';
4
+ import { i as isElementDescriptor } from './decorator-B5Uh5NFI.js';
5
5
  import { assert } from '../@ember/debug/lib/assert.js';
6
6
 
7
7
  let DEBUG_INJECTION_FUNCTIONS;
@@ -1,10 +1,10 @@
1
1
  import { setOwner } from '../@ember/-internals/owner/index.js';
2
- import { a as guidFor } from './guid-PO2v9BaN.js';
2
+ import { g as guidFor } from './guid-Cbq2sNV_.js';
3
3
  import '../@ember/debug/index.js';
4
4
  import { s as setComponentTemplate } from './template-R_5UMHhb.js';
5
- import { s as setInternalComponentManager } from './api-DG5kRT-o.js';
6
- import { v as valueForRef, j as isConstRef, d as createConstRef } from './reference-C-OXd_kp.js';
7
- import { x as untrack } from './cache-CeWOBNQg.js';
5
+ import { s as setInternalComponentManager } from './api-DuLOZMO_.js';
6
+ import { v as valueForRef, i as isConstRef, a as createConstRef } from './reference-BqOLhKFy.js';
7
+ import { u as untrack } from './cache-DGDPVCpC.js';
8
8
  import { assert } from '../@ember/debug/lib/assert.js';
9
9
 
10
10
  function NOOP() {}
@@ -1,4 +1,4 @@
1
- import { j as setInternalHelperManager } from './api-DG5kRT-o.js';
1
+ import { j as setInternalHelperManager } from './api-DuLOZMO_.js';
2
2
 
3
3
  function internalHelper(helper) {
4
4
  return setInternalHelperManager(helper, {});
@@ -1,8 +1,8 @@
1
1
  import { isDestroying, isDestroyed, associateDestroyableChild } from '../@glimmer/destroyable/index.js';
2
- import { a as getInternalHelperManager, f as hasValue, h as hasDestroyable } from './api-DG5kRT-o.js';
2
+ import { a as getInternalHelperManager, f as hasValue, h as hasDestroyable } from './api-DuLOZMO_.js';
3
3
  import { getOwner } from '../@glimmer/owner/index.js';
4
- import { l as createCache, r as getValue } from './cache-CeWOBNQg.js';
5
- import { E as EMPTY_ARGS, b as EMPTY_NAMED, c as EMPTY_POSITIONAL } from './untouchable-this-BHdAERUu.js';
4
+ import { g as createCache, h as getValue } from './cache-DGDPVCpC.js';
5
+ import { E as EMPTY_ARGS, a as EMPTY_NAMED, b as EMPTY_POSITIONAL } from './arguments-CDkbOqTS.js';
6
6
 
7
7
  let ARGS_CACHES = new WeakMap() ;
8
8
  function getArgs(proxy) {
@@ -1,6 +1,6 @@
1
1
  import { warn, debug } from '../@ember/debug/index.js';
2
2
  import VERSION from '../ember/version.js';
3
- import { g as get } from './property_get-BjbsrgpU.js';
3
+ import { g as get } from './property_get-CRP7MFz_.js';
4
4
  import { assert } from '../@ember/debug/lib/assert.js';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { n as createUpdatableTag, y as unwrap, o as debug, D as DIRTY_TAG } from './cache-CeWOBNQg.js';
1
+ import { b as createUpdatableTag, d as unwrap, e as debug, D as DIRTY_TAG } from './cache-DGDPVCpC.js';
2
2
 
3
3
  function isObjectLike(u) {
4
4
  return typeof u === 'object' && u !== null || typeof u === 'function';
@@ -131,4 +131,4 @@ function tryIsNamespace(lookup, prop) {
131
131
  }
132
132
  }
133
133
 
134
- export { NAMESPACES as N, NAMESPACES_BY_ID as a, addNamespace as b, findNamespaces as c, processNamespace as d, setUnprocessedMixins as e, findNamespace as f, isSearchDisabled as i, processAllNamespaces as p, removeNamespace as r, setSearchDisabled as s };
134
+ export { NAMESPACES as N, NAMESPACES_BY_ID as a, addNamespace as b, findNamespaces as c, processNamespace as d, setSearchDisabled as e, findNamespace as f, isSearchDisabled as i, processAllNamespaces as p, removeNamespace as r, setUnprocessedMixins as s };
@@ -1,4 +1,4 @@
1
- import { a as expect } from './collections-DEt-i-8B.js';
1
+ import { e as expect } from './collections-DPkjqeA3.js';
2
2
  import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
3
3
 
4
4
  class CursorImpl {
@@ -81,4 +81,4 @@ function isString(value) {
81
81
  return typeof value === 'string';
82
82
  }
83
83
 
84
- export { ConcreteBounds as C, CursorImpl as a, isFragment as b, clear as c, isNode as d, isSafeString as e, isString as f, isEmpty as i, move as m, normalizeStringValue as n, shouldCoerce as s };
84
+ export { ConcreteBounds as C, CursorImpl as a, isEmpty as b, clear as c, isString as d, isFragment as e, isNode as f, isSafeString as i, move as m, normalizeStringValue as n, shouldCoerce as s };
@@ -1,23 +1,6 @@
1
1
  import { toBool } from '../@glimmer/global-context/index.js';
2
- import { b as createComputeRef, v as valueForRef } from './reference-C-OXd_kp.js';
3
- import { i as internalHelper } from './hash-2-93qikL.js';
4
-
5
- const and = internalHelper(({
6
- positional
7
- }) => {
8
- if (positional.length < 2) {
9
- throw new Error(`\`and\` expects at least two arguments, but received ${positional.length}.`);
10
- }
11
- return createComputeRef(() => {
12
- let last;
13
- for (let i = 0; i < positional.length; i++) {
14
- let arg = positional[i];
15
- last = arg ? valueForRef(arg) : arg;
16
- if (!toBool(last)) return last;
17
- }
18
- return last;
19
- }, null, 'and');
20
- });
2
+ import { c as createComputeRef, v as valueForRef } from './reference-BqOLhKFy.js';
3
+ import { i as internalHelper } from './hash-Bg4r3CU4.js';
21
4
 
22
5
  /**
23
6
  * Performs a strict equality comparison.
@@ -31,6 +14,18 @@ function eq(left, right) {
31
14
  return left === right;
32
15
  }
33
16
 
17
+ /**
18
+ * Performs a strict inequality comparison.
19
+ *
20
+ * left !== right
21
+ */
22
+ function neq(left, right) {
23
+ if (arguments.length !== 2) {
24
+ throw new Error(`\`neq\` expects exactly two arguments, but received ${arguments.length}.`);
25
+ }
26
+ return left !== right;
27
+ }
28
+
34
29
  /**
35
30
  * Performs a greater than comparison.
36
31
  *
@@ -79,24 +74,22 @@ function lte(left, right) {
79
74
  return left <= right;
80
75
  }
81
76
 
82
- /**
83
- * Performs a strict inequality comparison.
84
- *
85
- * left !== right
86
- */
87
- function neq(left, right) {
88
- if (arguments.length !== 2) {
89
- throw new Error(`\`neq\` expects exactly two arguments, but received ${arguments.length}.`);
90
- }
91
- return left !== right;
92
- }
93
-
94
- const not = (...args) => {
95
- if (args.length !== 1) {
96
- throw new Error(`\`not\` expects exactly one argument, but received ${args.length}.`);
77
+ const and = internalHelper(({
78
+ positional
79
+ }) => {
80
+ if (positional.length < 2) {
81
+ throw new Error(`\`and\` expects at least two arguments, but received ${positional.length}.`);
97
82
  }
98
- return !toBool(args[0]);
99
- };
83
+ return createComputeRef(() => {
84
+ let last;
85
+ for (let i = 0; i < positional.length; i++) {
86
+ let arg = positional[i];
87
+ last = arg ? valueForRef(arg) : arg;
88
+ if (!toBool(last)) return last;
89
+ }
90
+ return last;
91
+ }, null, 'and');
92
+ });
100
93
 
101
94
  const or = internalHelper(({
102
95
  positional
@@ -115,4 +108,11 @@ const or = internalHelper(({
115
108
  }, null, 'or');
116
109
  });
117
110
 
111
+ const not = (...args) => {
112
+ if (args.length !== 1) {
113
+ throw new Error(`\`not\` expects exactly one argument, but received ${args.length}.`);
114
+ }
115
+ return !toBool(args[0]);
116
+ };
117
+
118
118
  export { and as a, gte as b, lte as c, not as d, eq as e, gt as g, lt as l, neq as n, or as o };
@@ -1,10 +1,10 @@
1
1
  import { E as ENV } from './env-g-kaAFLN.js';
2
2
  import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
3
3
  import { registerDestructor } from '../@glimmer/destroyable/index.js';
4
- import { B as valueForTag, z as validateTag, c as CURRENT_TAG } from './cache-CeWOBNQg.js';
5
- import { a as tagMetaFor } from './meta-Cjo3zQJq.js';
6
- import { g as getChainTagsForKey } from './chain-tags-DfmU63mS.js';
7
- import { a as addListener, r as removeListener, s as sendEvent } from './events-B1lx9T1I.js';
4
+ import { a as valueForTag, v as validateTag, k as CURRENT_TAG } from './cache-DGDPVCpC.js';
5
+ import { a as tagMetaFor } from './meta-BqC7f9Ia.js';
6
+ import { g as getChainTagsForKey } from './chain-tags-uWSImHzB.js';
7
+ import { a as addListener, r as removeListener, s as sendEvent } from './events-6aFVjD4k.js';
8
8
 
9
9
  const AFTER_OBSERVERS = ':change';
10
10
  function changeEvent(keyName) {
@@ -196,4 +196,4 @@ function destroyObservers(target) {
196
196
  if (ASYNC_OBSERVERS.size > 0) ASYNC_OBSERVERS.delete(target);
197
197
  }
198
198
 
199
- export { ASYNC_OBSERVERS as A, SYNC_OBSERVERS as S, activateObserver as a, addObserver as b, flushSyncObservers as c, resumeObserverDeactivation as d, revalidateObservers as e, flushAsyncObservers as f, suspendedObserverDeactivation as g, removeObserver as r, setObserverSuspended as s };
199
+ export { ASYNC_OBSERVERS as A, SYNC_OBSERVERS as S, activateObserver as a, addObserver as b, revalidateObservers as c, flushSyncObservers as d, resumeObserverDeactivation as e, flushAsyncObservers as f, setObserverSuspended as g, removeObserver as r, suspendedObserverDeactivation as s };
@@ -1,8 +1,8 @@
1
- import { e as buildUntouchableThis, f as check, l as reifyNamed } from './untouchable-this-BHdAERUu.js';
1
+ import { g as buildUntouchableThis, h as check, e as reifyNamed } from './arguments-CDkbOqTS.js';
2
2
  import { registerDestructor } from '../@glimmer/destroyable/index.js';
3
- import { k as setInternalModifierManager } from './api-DG5kRT-o.js';
4
- import { v as valueForRef } from './reference-C-OXd_kp.js';
5
- import { n as createUpdatableTag } from './cache-CeWOBNQg.js';
3
+ import { k as setInternalModifierManager } from './api-DuLOZMO_.js';
4
+ import { v as valueForRef } from './reference-BqOLhKFy.js';
5
+ import { b as createUpdatableTag } from './cache-DGDPVCpC.js';
6
6
 
7
7
  const untouchableContext = buildUntouchableThis('`on` modifier');
8
8
  class OnModifierState {
@@ -131,6 +131,10 @@ function addEventListener(element, eventName, callback, options) {
131
131
  element.addEventListener(eventName, callback, options);
132
132
  }
133
133
 
134
+ /**
135
+ @module @ember/helper
136
+ */
137
+
134
138
  /**
135
139
  The `{{on}}` modifier lets you easily add event listeners (it uses
136
140
  [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
@@ -139,19 +143,20 @@ function addEventListener(element, eventName, callback, options) {
139
143
  For example, if you'd like to run a function on your component when a `<button>`
140
144
  in the components template is clicked you might do something like:
141
145
 
142
- ```app/components/like-post.hbs
143
- <button {{on 'click' this.saveLike}}>Like this post!</button>
144
- ```
145
-
146
- ```app/components/like-post.js
146
+ ```gjs {data-filename="app/components/like-post.gjs"}
147
147
  import Component from '@glimmer/component';
148
148
  import { action } from '@ember/object';
149
149
 
150
- export default class LikePostComponent extends Component {
151
- saveLike = () => {
150
+ export default class LikePost extends Component {
151
+ @action
152
+ saveLike() {
152
153
  // someone likes your post!
153
154
  // better send a request off to your server...
154
155
  }
156
+
157
+ <template>
158
+ <button {{on 'click' this.saveLike}}>Like this post!</button>
159
+ </template>
155
160
  }
156
161
  ```
157
162
 
@@ -186,7 +191,7 @@ function addEventListener(element, eventName, callback, options) {
186
191
  For example, in our example case above if you'd like to pass in the post that
187
192
  was being liked when the button is clicked you could do something like:
188
193
 
189
- ```app/components/like-post.hbs
194
+ ```hbs
190
195
  <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>
191
196
  ```
192
197
 
@@ -195,14 +200,14 @@ function addEventListener(element, eventName, callback, options) {
195
200
 
196
201
  ### Function Context
197
202
 
198
- In the example above, we used an arrow function to ensure that `likePost` is
199
- properly bound to the `items-list`, but let's explore what happens if we
200
- left out the arrow function:
203
+ In the example above, we used `@action` to ensure that `likePost` is
204
+ properly bound to the `LikePost` Component, but let's explore what happens if we
205
+ left out `@action`:
201
206
 
202
- ```app/components/like-post.js
207
+ ```gjs {data-filename="app/components/like-post.gjs"}
203
208
  import Component from '@glimmer/component';
204
209
 
205
- export default class LikePostComponent extends Component {
210
+ export default class LikePost extends Component {
206
211
  saveLike() {
207
212
  // ...snip...
208
213
  }
@@ -212,10 +217,16 @@ function addEventListener(element, eventName, callback, options) {
212
217
  In this example, when the button is clicked `saveLike` will be invoked,
213
218
  it will **not** have access to the component instance. In other
214
219
  words, it will have no `this` context, so please make sure your functions
215
- are bound (via an arrow function or other means) before passing into `on`!
220
+ are bound (via `@action` or other means) before passing into `on`!
221
+
222
+ The `on` modifier is a keyword and does not need to be imported.
216
223
 
217
224
  @method on
225
+ @static
226
+ @for Keywords
227
+ @noimport
218
228
  @public
229
+ @since 3.11.0
219
230
  */
220
231
  class OnModifierManager {
221
232
  getDebugName() {
@@ -21,4 +21,4 @@ function mapPresentArray(list, mapper) {
21
21
  return out;
22
22
  }
23
23
 
24
- export { asPresentArray as a, getLast as b, getFirst as g, isPresentArray as i, mapPresentArray as m };
24
+ export { getFirst as a, asPresentArray as b, getLast as g, isPresentArray as i, mapPresentArray as m };
@@ -1,5 +1,5 @@
1
- import { u as unwrap } from './collections-By4M3cTy.js';
2
- import { O as OPERAND_LEN_MASK, A as ARG_SHIFT, M as MACHINE_MASK, T as TYPE_MASK } from './flags-B9qxc-pB.js';
1
+ import { u as unwrap } from './collections-DPkjqeA3.js';
2
+ import { O as OPERAND_LEN_MASK, A as ARG_SHIFT, M as MACHINE_MASK, T as TYPE_MASK } from './flags-BZxHQ0yn.js';
3
3
 
4
4
  class RuntimeOpImpl {
5
5
  offset = 0;
@@ -173,4 +173,4 @@ function sizeof(table, handle) {
173
173
  }
174
174
  }
175
175
 
176
- export { ProgramHeapImpl as P, RuntimeOpImpl as R, ProgramImpl as a };
176
+ export { ProgramImpl as P, RuntimeOpImpl as R, ProgramHeapImpl as a };
@@ -1,8 +1,8 @@
1
- import { a0 as VM_MAIN_OP, r as VM_CONTENT_TYPE_OP, e as VM_ASSERT_SAME_OP, a as VM_APPEND_HTML_OP, d as VM_APPEND_TEXT_OP, an as VM_RESOLVE_CURRIED_COMPONENT_OP, ag as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, c as VM_APPEND_SAFE_HTML_OP, V as VM_APPEND_DOCUMENT_FRAGMENT_OP, b as VM_APPEND_NODE_OP } from './syscall-ops-nrBHMOTp.js';
2
- import { V as VM_INVOKE_STATIC_OP } from './vm-ops-5QCUIRx4.js';
3
- import { c as $s0 } from './registers-Buvdhhxx.js';
1
+ import { V as VM_MAIN_OP, a as VM_CONTENT_TYPE_OP, b as VM_ASSERT_SAME_OP, c as VM_APPEND_HTML_OP, d as VM_APPEND_TEXT_OP, e as VM_RESOLVE_CURRIED_COMPONENT_OP, f as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, g as VM_APPEND_SAFE_HTML_OP, h as VM_APPEND_DOCUMENT_FRAGMENT_OP, i as VM_APPEND_NODE_OP } from './syscall-ops-CN7STuUn.js';
2
+ import { V as VM_INVOKE_STATIC_OP } from './vm-ops-ImHv0Wtg.js';
3
+ import { $ as $s0 } from './registers-C_W2qYHJ.js';
4
4
  import { ContentType } from '../@glimmer/vm/index.js';
5
- import { a as EncoderImpl, f as encodeOp, i as invokePreparedComponent, S as SwitchCases, I as InvokeBareComponent, C as CallDynamic } from './index-DkwVSPP5.js';
5
+ import { f as EncoderImpl, g as encodeOp, i as invokePreparedComponent, S as SwitchCases, h as InvokeBareComponent, C as CallDynamic } from './index-DaFzpTIE.js';
6
6
 
7
7
  class StdLib {
8
8
  constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {
@@ -54,6 +54,7 @@ function StdAppend(op, trusting, nonDynamicAppend) {
54
54
  });
55
55
  if (typeof nonDynamicAppend === 'number') {
56
56
  when(ContentType.Component, () => {
57
+ op(VM_ASSERT_SAME_OP);
57
58
  op(VM_RESOLVE_CURRIED_COMPONENT_OP);
58
59
  op(VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP);
59
60
  InvokeBareComponent(op);
@@ -1,8 +1,8 @@
1
1
  import { s as setProxy } from './is_proxy-Bzg0d4m4.js';
2
2
  import { isEmberArray } from '../@ember/array/-internals.js';
3
3
  import '../@ember/debug/index.js';
4
- import { w as track, u as isTracking, k as consumeTag } from './cache-CeWOBNQg.js';
5
- import { t as tagFor } from './meta-Cjo3zQJq.js';
4
+ import { t as track, z as isTracking, c as consumeTag } from './cache-DGDPVCpC.js';
5
+ import { t as tagFor } from './meta-BqC7f9Ia.js';
6
6
  import { C as Cache } from './cache-qDyqAcpg.js';
7
7
  import { assert } from '../@ember/debug/lib/assert.js';
8
8
 
@@ -136,4 +136,4 @@ track(() => _getProp({
136
136
  a: fakeProxy
137
137
  }, 'a'));
138
138
 
139
- export { PROXY_CONTENT as P, _getPath as _, _getProp as a, getPossibleMandatoryProxyValue as b, get as g, hasUnknownProperty as h, isPath as i };
139
+ export { PROXY_CONTENT as P, _getPath as _, getPossibleMandatoryProxyValue as a, _getProp as b, get as g, hasUnknownProperty as h, isPath as i };
@@ -1,9 +1,9 @@
1
1
  import { s as setWithMandatorySetter, l as lookupDescriptor } from './mandatory-setter-BpbAMTzV.js';
2
2
  import { t as toString } from './to-string-C7M8LBLH.js';
3
3
  import '../@ember/debug/index.js';
4
- import { C as COMPUTED_SETTERS } from './decorator-DYQwMItS.js';
5
- import { i as isPath, _ as _getPath, b as getPossibleMandatoryProxyValue } from './property_get-BjbsrgpU.js';
6
- import { n as notifyPropertyChange } from './computed-Daavz6vC.js';
4
+ import { C as COMPUTED_SETTERS } from './decorator-B5Uh5NFI.js';
5
+ import { i as isPath, _ as _getPath, a as getPossibleMandatoryProxyValue } from './property_get-CRP7MFz_.js';
6
+ import { n as notifyPropertyChange } from './computed-BPCtuOxQ.js';
7
7
  import { assert } from '../@ember/debug/lib/assert.js';
8
8
 
9
9
  /**
@@ -1,6 +1,6 @@
1
- import { i as isDict, a as expect } from './collections-DEt-i-8B.js';
1
+ import { e as expect, i as isDict } from './collections-DPkjqeA3.js';
2
2
  import { setProp, getProp } from '../@glimmer/global-context/index.js';
3
- import { b as CONSTANT_TAG, I as INITIAL, z as validateTag, w as track, B as valueForTag, k as consumeTag } from './cache-CeWOBNQg.js';
3
+ import { C as CONSTANT_TAG, I as INITIAL, v as validateTag, t as track, a as valueForTag, c as consumeTag } from './cache-DGDPVCpC.js';
4
4
 
5
5
  const REFERENCE = Symbol('REFERENCE');
6
6
  const CONSTANT = 0;
@@ -172,4 +172,4 @@ let createDebugAliasRef;
172
172
  };
173
173
  }
174
174
 
175
- export { FALSE_REFERENCE as F, NULL_REFERENCE as N, REFERENCE as R, TRUE_REFERENCE as T, UNDEFINED_REFERENCE as U, childRefFromParts as a, createComputeRef as b, childRefFor as c, createConstRef as d, createDebugAliasRef as e, createInvokableRef as f, createPrimitiveRef as g, createReadOnlyRef as h, createUnboundRef as i, isConstRef as j, isInvokableRef as k, isUpdatableRef as l, updateRef as u, valueForRef as v };
175
+ export { FALSE_REFERENCE as F, NULL_REFERENCE as N, REFERENCE as R, TRUE_REFERENCE as T, UNDEFINED_REFERENCE as U, createConstRef as a, isInvokableRef as b, createComputeRef as c, isUpdatableRef as d, createPrimitiveRef as e, childRefFor as f, childRefFromParts as g, createDebugAliasRef as h, isConstRef as i, createInvokableRef as j, createReadOnlyRef as k, createUnboundRef as l, updateRef as u, valueForRef as v };
@@ -32,4 +32,4 @@ function isLowLevelRegister(register) {
32
32
  return register <= $sp;
33
33
  }
34
34
 
35
- export { $fp as $, $pc as a, $ra as b, $s0 as c, $s1 as d, $sp as e, $t0 as f, $t1 as g, $v0 as h, isLowLevelRegister as i };
35
+ export { $s0 as $, $v0 as a, $t1 as b, $t0 as c, $pc as d, $ra as e, $fp as f, $sp as g, $s1 as h, isLowLevelRegister as i };
@@ -1,8 +1,8 @@
1
- import { c as NewTreeBuilder, R as RemoteBlock, C as COMMENT_NODE, T as TEXT_NODE, E as ELEMENT_NODE, N as NS_SVG } from './element-builder-Cl1kHFJE.js';
2
- import { a as castToSimple, c as castToBrowser } from './simple-cast-BXTrayoV.js';
3
- import { a as expect } from './collections-DEt-i-8B.js';
1
+ import { N as NewTreeBuilder, R as RemoteBlock, C as COMMENT_NODE, T as TEXT_NODE, E as ELEMENT_NODE, e as NS_SVG } from './api-C0PAtEgQ.js';
2
+ import { c as castToSimple, a as castToBrowser } from './simple-cast-DCvJLSin.js';
3
+ import { e as expect } from './collections-DPkjqeA3.js';
4
4
  import { a as assert } from './assert-Zqc4wiAV.js';
5
- import { C as ConcreteBounds, a as CursorImpl } from './normalize-CxG_iVLJ.js';
5
+ import { C as ConcreteBounds, a as CursorImpl } from './normalize-CKySQVU7.js';
6
6
 
7
7
  const SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';
8
8
  function isSerializationFirstNode(node) {