ember-source 7.2.0-alpha.3 → 7.2.0-beta.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 (284) hide show
  1. package/README.md +0 -1
  2. package/blueprints/-addon-import.js +4 -6
  3. package/blueprints/-utils.js +6 -9
  4. package/build-metadata.json +3 -3
  5. package/dist/dev/packages/@ember/-internals/glimmer/index.js +11 -11
  6. package/dist/dev/packages/@ember/-internals/metal/index.js +15 -15
  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/views/lib/mixins/action_support.js +1 -1
  14. package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  15. package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
  16. package/dist/dev/packages/@ember/application/index.js +5 -6
  17. package/dist/dev/packages/@ember/application/instance.js +3 -3
  18. package/dist/dev/packages/@ember/application/namespace.js +1 -1
  19. package/dist/dev/packages/@ember/array/index.js +10 -64
  20. package/dist/dev/packages/@ember/array/lib/is-array.js +71 -0
  21. package/dist/dev/packages/@ember/array/proxy.js +8 -8
  22. package/dist/dev/packages/@ember/component/helper.js +1 -1
  23. package/dist/dev/packages/@ember/component/index.js +18 -12
  24. package/dist/dev/packages/@ember/component/template-only.js +1 -1
  25. package/dist/dev/packages/@ember/controller/index.js +3 -3
  26. package/dist/dev/packages/@ember/debug/data-adapter.js +3 -3
  27. package/dist/dev/packages/@ember/engine/index.js +5 -5
  28. package/dist/dev/packages/@ember/engine/instance.js +1 -1
  29. package/dist/dev/packages/@ember/helper/index.js +8 -27
  30. package/dist/dev/packages/@ember/modifier/index.js +2 -2
  31. package/dist/dev/packages/@ember/modifier/on.js +1 -1
  32. package/dist/dev/packages/@ember/object/compat.js +2 -2
  33. package/dist/dev/packages/@ember/object/computed.js +2 -2
  34. package/dist/dev/packages/@ember/object/core.js +4 -4
  35. package/dist/dev/packages/@ember/object/index.js +28 -23
  36. package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +4 -4
  37. package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -2
  38. package/dist/dev/packages/@ember/object/mixin.js +2 -2
  39. package/dist/dev/packages/@ember/object/observable.js +6 -6
  40. package/dist/dev/packages/@ember/object/observers.js +1 -1
  41. package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +3 -3
  42. package/dist/dev/packages/@ember/reactive/collections.js +153 -153
  43. package/dist/dev/packages/@ember/renderer/index.js +1 -1
  44. package/dist/dev/packages/@ember/routing/-internals.js +3 -3
  45. package/dist/dev/packages/@ember/routing/index.js +12 -8
  46. package/dist/dev/packages/@ember/routing/lib/generate_controller.js +2 -3
  47. package/dist/dev/packages/@ember/routing/lib/routing-service.js +4 -4
  48. package/dist/dev/packages/@ember/routing/lib/utils.js +3 -3
  49. package/dist/dev/packages/@ember/routing/route.js +11 -11
  50. package/dist/dev/packages/@ember/routing/router-service.js +24 -17
  51. package/dist/dev/packages/@ember/routing/router.js +5 -5
  52. package/dist/dev/packages/@ember/runloop/index.js +1 -1
  53. package/dist/dev/packages/@ember/service/index.js +1 -1
  54. package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  55. package/dist/dev/packages/@ember/template-compiler/lib/template.js +1 -1
  56. package/dist/dev/packages/@ember/template-factory/index.js +1 -1
  57. package/dist/dev/packages/@ember/utils/lib/is_empty.js +1 -1
  58. package/dist/dev/packages/@glimmer/encoder/index.js +1 -1
  59. package/dist/dev/packages/@glimmer/manager/index.js +4 -4
  60. package/dist/dev/packages/@glimmer/node/index.js +2 -2
  61. package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
  62. package/dist/dev/packages/@glimmer/program/index.js +7 -7
  63. package/dist/dev/packages/@glimmer/reference/index.js +3 -3
  64. package/dist/dev/packages/@glimmer/runtime/index.js +12 -12
  65. package/dist/dev/packages/@glimmer/tracking/index.js +2 -2
  66. package/dist/dev/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
  67. package/dist/dev/packages/@glimmer/validator/index.js +3 -3
  68. package/dist/dev/packages/@glimmer/vm/index.js +1 -1
  69. package/dist/dev/packages/ember/version.js +1 -1
  70. package/dist/dev/packages/router_js/index.js +2 -2
  71. package/dist/dev/packages/rsvp/index.js +2281 -1
  72. package/dist/dev/packages/shared-chunks/{alias-ZcMQckQV.js → alias-DpqL1qx6.js} +6 -6
  73. package/dist/dev/packages/shared-chunks/{api-BAmlf_CN.js → api-BlZDPg1n.js} +5 -5
  74. package/dist/dev/packages/shared-chunks/{element-builder--iTIJyCB.js → api-C0PAtEgQ.js} +137 -118
  75. package/dist/dev/packages/shared-chunks/{api-BawZUDYD.js → api-DuLOZMO_.js} +3 -3
  76. package/dist/dev/packages/shared-chunks/{args-proxy-BNLuRFlO.js → args-proxy-CS5Brs3_.js} +2 -2
  77. package/dist/dev/packages/shared-chunks/{untouchable-this-B3DVwpHS.js → arguments-CDkbOqTS.js} +230 -230
  78. package/dist/dev/packages/shared-chunks/{array-Bh_kUjzy.js → array-CVEnNWng.js} +1 -1
  79. package/dist/dev/packages/shared-chunks/{cache-B7dqAS38.js → cache-DGDPVCpC.js} +1 -2
  80. package/dist/dev/packages/shared-chunks/{capabilities-CZkuOqqC.js → capabilities-CajW4QjE.js} +1 -1
  81. package/dist/dev/packages/shared-chunks/{chain-tags-D6tuFUj_.js → chain-tags-uWSImHzB.js} +3 -3
  82. package/dist/dev/packages/shared-chunks/{computed-CJnghmXC.js → computed-BPCtuOxQ.js} +4 -4
  83. package/dist/dev/packages/shared-chunks/{curly-BBzF_bI8.js → curly-Ei5G8jhk.js} +4 -4
  84. package/dist/dev/packages/shared-chunks/{element-DQJOvSlQ.js → element-BYLB-q7a.js} +5 -3
  85. package/dist/dev/packages/shared-chunks/{flags-B9qxc-pB.js → flags-BZxHQ0yn.js} +1 -1
  86. package/dist/dev/packages/shared-chunks/{get-D5b5QlqE.js → get-6I3sjd-I.js} +32 -35
  87. package/dist/{prod/packages/shared-chunks/get_properties-Nn08mLAH.js → dev/packages/shared-chunks/get_properties-Cm2sWt5f.js} +1 -1
  88. package/dist/dev/packages/shared-chunks/{hash-BRRFQJ99.js → hash-6NDs_5_f.js} +18 -12
  89. package/dist/dev/packages/shared-chunks/{helper-Do7NCZHI.js → helper-DIj85_-f.js} +21 -9
  90. package/dist/dev/packages/shared-chunks/{index-CwnQYqK5.js → index-B3pPx1fL.js} +111 -132
  91. package/dist/dev/packages/shared-chunks/{index-CyZiGiEI.js → index-DaFzpTIE.js} +4 -3
  92. package/dist/dev/packages/shared-chunks/{injected_property-B4T-FzZZ.js → injected_property-CbBLr5jt.js} +1 -1
  93. package/dist/dev/packages/shared-chunks/{internal-CAL-jHZt.js → internal-DTOXyEGM.js} +3 -3
  94. package/dist/dev/packages/shared-chunks/{internal-helper-Ez7zbEIa.js → internal-helper-CKrni0b_.js} +1 -1
  95. package/dist/dev/packages/shared-chunks/{invoke-B8M5fQQS.js → invoke-d9sqa50M.js} +3 -3
  96. package/dist/dev/packages/shared-chunks/{libraries-CHBwbR72.js → libraries-DwffpMGE.js} +1 -1
  97. package/dist/dev/packages/shared-chunks/{meta-BmRXesrk.js → meta-BqC7f9Ia.js} +1 -1
  98. package/dist/dev/packages/shared-chunks/{or-O0eJQ4K-.js → not-DYh6AY9Z.js} +36 -36
  99. package/dist/dev/packages/shared-chunks/{observers-C2DurkLG.js → observers-DMlX2nCi.js} +3 -3
  100. package/dist/dev/packages/shared-chunks/{on-BueSMv9L.js → on-DlF0Wy7P.js} +10 -10
  101. package/dist/dev/packages/shared-chunks/{program-DzAfcWFj.js → program-DlgjqLa6.js} +1 -1
  102. package/dist/dev/packages/shared-chunks/{program-context-CadjldRr.js → program-context-Dq8xN2HI.js} +3 -2
  103. package/dist/dev/packages/shared-chunks/{property_get-CIBS9umw.js → property_get-CRP7MFz_.js} +2 -2
  104. package/dist/dev/packages/shared-chunks/{property_set-D3PKyisF.js → property_set-qCUylPEK.js} +2 -2
  105. package/dist/dev/packages/shared-chunks/{reference-BoPB2LfI.js → reference-BqOLhKFy.js} +3 -3
  106. package/dist/dev/packages/shared-chunks/{rehydrate-builder-DCyIgnCR.js → rehydrate-builder-C6k1XhET.js} +1 -1
  107. package/dist/dev/packages/shared-chunks/{render-CpKaO-BO.js → render-87_sKZ_k.js} +86 -86
  108. package/dist/dev/packages/shared-chunks/{rsvp-CnCSY930.js → rsvp.es-DR7yS7qg.js} +150 -154
  109. package/dist/dev/packages/shared-chunks/{serialize-builder-DxgGRvH_.js → serialize-builder-BlxBjwO-.js} +1 -1
  110. package/dist/dev/packages/shared-chunks/{set_properties-BghuuGJx.js → set_properties-C4TSebH6.js} +2 -2
  111. package/dist/dev/packages/shared-chunks/{setup-registry-BC5VMvei.js → setup-registry-9DCmHTFF.js} +18 -18
  112. package/dist/dev/packages/shared-chunks/{syscall-ops-BPFtDquC.js → syscall-ops-CN7STuUn.js} +1 -1
  113. package/dist/dev/packages/shared-chunks/{template-only-BqOt8bDl.js → template-only-Cu639ICT.js} +2 -4
  114. package/dist/dev/packages/shared-chunks/{textarea-WSlUEr0y.js → textarea-C4lYkaHj.js} +11 -7
  115. package/dist/dev/packages/shared-chunks/{tracked-CKE4wnE6.js → tracked-DEyf0T_X.js} +4 -4
  116. package/dist/dev/packages/shared-chunks/{tracked-data-CGnA4ytZ.js → tracked-data-DgqqRdYO.js} +2 -2
  117. package/dist/dev/packages/shared-chunks/{unique-id-CgmHQiwi.js → unique-id-DQOhouG1.js} +2 -2
  118. package/dist/dev/packages/shared-chunks/{unrecognized-url-error-B3wUTorp.js → unrecognized-url-error-BJHjL30Q.js} +1 -1
  119. package/dist/prod/packages/@ember/-internals/glimmer/index.js +11 -11
  120. package/dist/prod/packages/@ember/-internals/metal/index.js +15 -15
  121. package/dist/prod/packages/@ember/-internals/routing/index.js +3 -3
  122. package/dist/prod/packages/@ember/-internals/runtime/index.js +1 -1
  123. package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
  124. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +7 -7
  125. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -1
  126. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
  127. package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -1
  128. package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  129. package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
  130. package/dist/prod/packages/@ember/application/index.js +5 -6
  131. package/dist/prod/packages/@ember/application/instance.js +3 -3
  132. package/dist/prod/packages/@ember/application/namespace.js +1 -1
  133. package/dist/prod/packages/@ember/array/index.js +11 -58
  134. package/dist/prod/packages/@ember/array/lib/is-array.js +64 -0
  135. package/dist/prod/packages/@ember/array/proxy.js +8 -8
  136. package/dist/prod/packages/@ember/component/helper.js +1 -1
  137. package/dist/prod/packages/@ember/component/index.js +18 -12
  138. package/dist/prod/packages/@ember/component/template-only.js +1 -1
  139. package/dist/prod/packages/@ember/controller/index.js +3 -3
  140. package/dist/prod/packages/@ember/debug/data-adapter.js +3 -3
  141. package/dist/prod/packages/@ember/engine/index.js +5 -5
  142. package/dist/prod/packages/@ember/engine/instance.js +1 -1
  143. package/dist/prod/packages/@ember/helper/index.js +8 -27
  144. package/dist/prod/packages/@ember/modifier/index.js +2 -2
  145. package/dist/prod/packages/@ember/modifier/on.js +1 -1
  146. package/dist/prod/packages/@ember/object/compat.js +2 -2
  147. package/dist/prod/packages/@ember/object/computed.js +2 -2
  148. package/dist/prod/packages/@ember/object/core.js +4 -4
  149. package/dist/prod/packages/@ember/object/index.js +28 -23
  150. package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +4 -4
  151. package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -2
  152. package/dist/prod/packages/@ember/object/mixin.js +2 -2
  153. package/dist/prod/packages/@ember/object/observable.js +6 -6
  154. package/dist/prod/packages/@ember/object/observers.js +1 -1
  155. package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +3 -3
  156. package/dist/prod/packages/@ember/reactive/collections.js +153 -153
  157. package/dist/prod/packages/@ember/renderer/index.js +1 -1
  158. package/dist/prod/packages/@ember/routing/index.js +12 -8
  159. package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -2
  160. package/dist/prod/packages/@ember/routing/lib/routing-service.js +4 -4
  161. package/dist/prod/packages/@ember/routing/lib/utils.js +3 -3
  162. package/dist/prod/packages/@ember/routing/route.js +11 -11
  163. package/dist/prod/packages/@ember/routing/router-service.js +24 -17
  164. package/dist/prod/packages/@ember/routing/router.js +5 -5
  165. package/dist/prod/packages/@ember/runloop/index.js +1 -1
  166. package/dist/prod/packages/@ember/service/index.js +1 -1
  167. package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  168. package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
  169. package/dist/prod/packages/@ember/template-factory/index.js +1 -1
  170. package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
  171. package/dist/prod/packages/@glimmer/encoder/index.js +1 -1
  172. package/dist/prod/packages/@glimmer/manager/index.js +4 -4
  173. package/dist/prod/packages/@glimmer/node/index.js +3 -3
  174. package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -2
  175. package/dist/prod/packages/@glimmer/program/index.js +8 -8
  176. package/dist/prod/packages/@glimmer/reference/index.js +4 -4
  177. package/dist/prod/packages/@glimmer/runtime/index.js +13 -13
  178. package/dist/prod/packages/@glimmer/tracking/index.js +2 -2
  179. package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
  180. package/dist/prod/packages/@glimmer/util/index.js +2 -2
  181. package/dist/prod/packages/@glimmer/validator/index.js +3 -3
  182. package/dist/prod/packages/@glimmer/vm/index.js +1 -1
  183. package/dist/prod/packages/ember/version.js +1 -1
  184. package/dist/prod/packages/ember-template-compiler/index.js +2 -2
  185. package/dist/prod/packages/router_js/index.js +2 -2
  186. package/dist/prod/packages/rsvp/index.js +2281 -1
  187. package/dist/prod/packages/shared-chunks/{alias-DBW_V5vD.js → alias-Bod6qdNp.js} +6 -6
  188. package/dist/prod/packages/shared-chunks/{api-CM1trl_4.js → api-B_poQGXS.js} +5 -5
  189. package/dist/prod/packages/shared-chunks/{element-builder-CnlTPNyw.js → api-CQexacBn.js} +137 -118
  190. package/dist/prod/packages/shared-chunks/{api-zh_k31vb.js → api-DlJKfm_f.js} +3 -3
  191. package/dist/prod/packages/shared-chunks/{args-proxy-BDXbXCF9.js → args-proxy-CCoFtYLS.js} +2 -2
  192. package/dist/prod/packages/shared-chunks/{debug-render-tree-CF5O4-WI.js → arguments-BzAkZVBa.js} +193 -193
  193. package/dist/prod/packages/shared-chunks/{array-D6Couewv.js → array-BzReKMeW.js} +1 -1
  194. package/dist/prod/packages/shared-chunks/{cache-BIlOoPA7.js → cache-CofLhaS4.js} +1 -2
  195. package/dist/prod/packages/shared-chunks/{capabilities-_5e35539.js → capabilities-BuVYh-vx.js} +1 -1
  196. package/dist/prod/packages/shared-chunks/{chain-tags-C9rFtQ_x.js → chain-tags-B2J7DsxO.js} +3 -3
  197. package/dist/prod/packages/shared-chunks/{compiler-c4yUVrl_.js → compiler-lBSssiWp.js} +1 -1
  198. package/dist/prod/packages/shared-chunks/{computed-DjCIU_ht.js → computed-DtIStxvq.js} +4 -4
  199. package/dist/prod/packages/shared-chunks/{curly-ZzX43b50.js → curly-IY06zACp.js} +4 -4
  200. package/dist/prod/packages/shared-chunks/{element-DUOVW5Ho.js → element-DgHdPZ8u.js} +5 -3
  201. package/dist/prod/packages/shared-chunks/{flags-B9qxc-pB.js → flags-BZxHQ0yn.js} +1 -1
  202. package/dist/prod/packages/shared-chunks/{get-t0-itmA-.js → get-Dago5uGl.js} +33 -36
  203. package/dist/{dev/packages/shared-chunks/get_properties-CIm8IAtP.js → prod/packages/shared-chunks/get_properties-Dg3xFpiS.js} +1 -1
  204. package/dist/prod/packages/shared-chunks/{hash-mcs3pEFO.js → hash-gEXIsSO4.js} +24 -18
  205. package/dist/prod/packages/shared-chunks/{helper-DLjV2ZZW.js → helper-DkXiTBjc.js} +21 -9
  206. package/dist/prod/packages/shared-chunks/{index-Bj71BDDA.js → index-Bf53M8eS.js} +5 -4
  207. package/dist/prod/packages/shared-chunks/{index-qDFz6Mfe.js → index-CslMfEpb.js} +110 -131
  208. package/dist/prod/packages/shared-chunks/{injected_property--eJunJph.js → injected_property-Y-FadDej.js} +1 -1
  209. package/dist/prod/packages/shared-chunks/{internal-DidurjJB.js → internal-BQ7zHrqS.js} +3 -3
  210. package/dist/prod/packages/shared-chunks/{internal-helper-DIbr1RgC.js → internal-helper-Bz1lpDXr.js} +1 -1
  211. package/dist/prod/packages/shared-chunks/{invoke-Cj5zMqHz.js → invoke-DhQ5QRp2.js} +3 -3
  212. package/dist/prod/packages/shared-chunks/{libraries-_k-4KK5_.js → libraries-DBql0hdn.js} +1 -1
  213. package/dist/prod/packages/shared-chunks/{meta-B9mldqPL.js → meta-BJtIZDir.js} +1 -1
  214. package/dist/prod/packages/shared-chunks/{normalize-D9jDJVGg.js → normalize-C_IStty9.js} +1 -1
  215. package/dist/prod/packages/shared-chunks/{or-3AxY5TPj.js → not-BOIVROuv.js} +28 -28
  216. package/dist/prod/packages/shared-chunks/{observers-CDkeR0nI.js → observers-BmobpXAF.js} +3 -3
  217. package/dist/prod/packages/shared-chunks/{on-B5NVufs_.js → on-BZHAxzdq.js} +10 -10
  218. package/dist/prod/packages/shared-chunks/{program-B7CWdS8W.js → program-BAh__OXZ.js} +2 -2
  219. package/dist/prod/packages/shared-chunks/{program-context-B8HKU7wu.js → program-context-COSioH46.js} +3 -2
  220. package/dist/prod/packages/shared-chunks/{property_get-CAFdpRyu.js → property_get-DAKgbeJX.js} +2 -2
  221. package/dist/prod/packages/shared-chunks/{property_set-BunbMFtp.js → property_set-BaQJdVfS.js} +2 -2
  222. package/dist/prod/packages/shared-chunks/{reference-BshxG6wn.js → reference-CG0yPgLy.js} +3 -3
  223. package/dist/prod/packages/shared-chunks/{rehydrate-builder-DJ8k-6fg.js → rehydrate-builder-Blt1x9MP.js} +3 -3
  224. package/dist/prod/packages/shared-chunks/{render-DkJJmoI4.js → render-Dx7lr1hR.js} +88 -88
  225. package/dist/prod/packages/shared-chunks/{rsvp-CnCSY930.js → rsvp.es-DR7yS7qg.js} +150 -154
  226. package/dist/prod/packages/shared-chunks/{serialize-builder-R3Ozg0sC.js → serialize-builder-BvAXYHTr.js} +2 -2
  227. package/dist/prod/packages/shared-chunks/{set_properties-LT3RzRmJ.js → set_properties-Qxhw4qzw.js} +2 -2
  228. package/dist/prod/packages/shared-chunks/{setup-registry-C2KfZJWI.js → setup-registry-U-6VaNQG.js} +18 -18
  229. package/dist/prod/packages/shared-chunks/{syscall-ops-BPFtDquC.js → syscall-ops-CN7STuUn.js} +1 -1
  230. package/dist/prod/packages/shared-chunks/{template-only-BtLl0uH0.js → template-only-DKNcKM5b.js} +2 -4
  231. package/dist/prod/packages/shared-chunks/{textarea-CHqL0Rdh.js → textarea-DOmZ1x0E.js} +11 -7
  232. package/dist/prod/packages/shared-chunks/{tracked-DAVrVqJl.js → tracked-B9380JtC.js} +4 -4
  233. package/dist/prod/packages/shared-chunks/{tracked-data-C83f5V5S.js → tracked-data-CHq42QHb.js} +2 -2
  234. package/dist/prod/packages/shared-chunks/{unique-id-CfHImDRV.js → unique-id-o2pS74go.js} +2 -2
  235. package/dist/prod/packages/shared-chunks/{unrecognized-url-error-DDBwfzdm.js → unrecognized-url-error-EgNrnFu_.js} +1 -1
  236. package/docs/data.json +316 -334
  237. package/package.json +6 -4
  238. package/types/stable/@ember/-internals/glimmer/index.d.ts +165 -121
  239. package/types/stable/@ember/-internals/glimmer/lib/component-managers/mount.d.ts +1 -1
  240. package/types/stable/@ember/-internals/glimmer/lib/component-managers/outlet.d.ts +1 -1
  241. package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +8 -2
  242. package/types/stable/@ember/-internals/glimmer/lib/glimmer-tracking-docs.d.ts +12 -12
  243. package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +18 -6
  244. package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +3 -1
  245. package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +65 -121
  246. package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +8 -4
  247. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +16 -14
  248. package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +2 -0
  249. package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +11 -7
  250. package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +23 -29
  251. package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +3 -1
  252. package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +95 -49
  253. package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +23 -54
  254. package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +6 -2
  255. package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +4 -8
  256. package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +10 -10
  257. package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +1 -2
  258. package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +2 -0
  259. package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +2 -14
  260. package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +15 -11
  261. package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +17 -10
  262. package/types/stable/@ember/-internals/runtime/lib/mixins/target_action_support.d.ts +1 -1
  263. package/types/stable/@ember/array/index.d.ts +6 -29
  264. package/types/stable/@ember/array/lib/is-array.d.ts +35 -0
  265. package/types/stable/@ember/component/template-only.d.ts +1 -3
  266. package/types/stable/@ember/controller/index.d.ts +1 -1
  267. package/types/stable/@ember/helper/index.d.ts +0 -19
  268. package/types/stable/@ember/object/index.d.ts +4 -3
  269. package/types/stable/@ember/object/observable.d.ts +4 -0
  270. package/types/stable/@ember/reactive/collections.d.ts +0 -6
  271. package/types/stable/@ember/routing/lib/generate_controller.d.ts +1 -1
  272. package/types/stable/@ember/routing/route.d.ts +2 -2
  273. package/types/stable/@ember/routing/router-service.d.ts +20 -12
  274. package/types/stable/@glimmer/runtime/lib/component/template-only.d.ts +0 -2
  275. package/types/stable/@glimmer/runtime/lib/dom/sanitized-values.d.ts +2 -2
  276. package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +1 -1
  277. package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +8 -3
  278. package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +13 -7
  279. package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +21 -29
  280. package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +1 -1
  281. package/types/stable/@glimmer/syntax/lib/get-template-locals.d.ts +1 -1
  282. package/types/stable/@glimmer/tracking/index.d.ts +12 -12
  283. package/types/stable/index.d.ts +1 -0
  284. package/dist/prod/packages/shared-chunks/{collections-C3Y8z_9v.js → collections-GpG8lT2g.js} +9 -9
package/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  <p align="center">
6
6
  <a href="https://www.npmjs.com/package/ember-source"><img src="https://img.shields.io/npm/v/ember-source.svg?style=flat" alt="npm version"></a>
7
7
  <a href="https://github.com/emberjs/ember.js/actions?query=workflow%3ACI"><img src="https://github.com/emberjs/ember.js/workflows/CI/badge.svg" alt="CI Status"></a>
8
- <a href="https://codeclimate.com/github/emberjs/ember.js"><img src="https://codeclimate.com/github/emberjs/ember.js.svg" alt="Code Climate"></a>
9
8
  <a href="https://discord.gg/zT3asNS"><img src="https://img.shields.io/discord/480462759797063690.svg?logo=discord" alt="Discord Community Server"></a>
10
9
  <a href="https://help-wanted.emberjs.com/"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
11
10
  <a href="https://github.com/emberjs/ember.js/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license"></a>
@@ -1,10 +1,8 @@
1
- 'use strict';
1
+ import path from 'node:path';
2
+ import stringUtil from 'ember-cli-string-utils';
3
+ import inflector from 'inflection';
2
4
 
3
- const stringUtil = require('ember-cli-string-utils');
4
- const path = require('path');
5
- const inflector = require('inflection');
6
-
7
- module.exports = {
5
+ export default {
8
6
  description: 'Generates an import wrapper.',
9
7
 
10
8
  fileMapTokens: function () {
@@ -1,7 +1,9 @@
1
- const { dasherize } = require('ember-cli-string-utils');
2
- const { EOL } = require('os');
1
+ import { EOL } from 'node:os';
2
+ import stringUtil from 'ember-cli-string-utils';
3
3
 
4
- function generateComponentSignature(componentName) {
4
+ const { dasherize } = stringUtil;
5
+
6
+ export function generateComponentSignature(componentName) {
5
7
  let args = ` // The arguments accepted by the component${EOL} Args: {};`;
6
8
 
7
9
  let blocks =
@@ -23,11 +25,6 @@ function generateComponentSignature(componentName) {
23
25
  );
24
26
  }
25
27
 
26
- function modulePrefixForProject(project) {
28
+ export function modulePrefixForProject(project) {
27
29
  return dasherize(project.config().modulePrefix);
28
30
  }
29
-
30
- module.exports = {
31
- generateComponentSignature,
32
- modulePrefixForProject,
33
- };
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "7.2.0-alpha.3",
2
+ "version": "7.2.0-beta.1",
3
3
  "buildType": "tag",
4
- "SHA": "a9f0322b34c292dee9a01d53fc13583d33ee0e57",
5
- "assetPath": "/tag/shas/a9f0322b34c292dee9a01d53fc13583d33ee0e57.tgz"
4
+ "SHA": "bcc6b57f4817ec6ddb23f809b0de593b86f8daa6",
5
+ "assetPath": "/tag/shas/bcc6b57f4817ec6ddb23f809b0de593b86f8daa6.tgz"
6
6
  }
@@ -1,19 +1,19 @@
1
- export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-CyZiGiEI.js';
2
- export { R as RootTemplate, s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-BC5VMvei.js';
3
- export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-WSlUEr0y.js';
1
+ export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-DaFzpTIE.js';
2
+ export { R as RootTemplate, s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-9DCmHTFF.js';
3
+ export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-C4lYkaHj.js';
4
4
  export { LinkTo } from '../../routing/index.js';
5
5
  export { default as Component, setComponentManager } from '../../component/index.js';
6
- export { H as Helper, h as helper } from '../../../shared-chunks/helper-Do7NCZHI.js';
6
+ export { H as Helper, h as helper } from '../../../shared-chunks/helper-DIj85_-f.js';
7
7
  export { S as SafeString, T as TrustedHTML, h as htmlSafe, i as isHTMLSafe, a as isTrustedHTML, t as trustHTML } from '../../../shared-chunks/index-D-xTBV4B.js';
8
- export { O as OutletView, R as Renderer, _ as _resetRenderers, a as renderComponent, r as renderSettled } from '../../../shared-chunks/index-CwnQYqK5.js';
9
- export { D as DOMChanges } from '../../../shared-chunks/render-CpKaO-BO.js';
10
- export { D as DOMTreeConstruction } from '../../../shared-chunks/element-builder--iTIJyCB.js';
8
+ export { O as OutletView, R as Renderer, _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-B3pPx1fL.js';
9
+ export { D as DOMChanges } from '../../../shared-chunks/render-87_sKZ_k.js';
10
+ export { D as DOMTreeConstruction } from '../../../shared-chunks/api-C0PAtEgQ.js';
11
11
  import '../../../@glimmer/destroyable/index.js';
12
- export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-DCyIgnCR.js';
12
+ export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-C6k1XhET.js';
13
13
  export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
14
- export { e as element } from '../../../shared-chunks/element-DQJOvSlQ.js';
15
- export { u as uniqueId } from '../../../shared-chunks/unique-id-CgmHQiwi.js';
16
- export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-BAmlf_CN.js';
14
+ export { e as element } from '../../../shared-chunks/element-BYLB-q7a.js';
15
+ export { u as uniqueId } from '../../../shared-chunks/unique-id-DQOhouG1.js';
16
+ export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-BlZDPg1n.js';
17
17
 
18
18
  // STATE within a module is frowned upon, this exists
19
19
  // to support Ember.TEMPLATES but shield ember internals from this legacy
@@ -1,23 +1,23 @@
1
- export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, i as autoComputed, b as beginPropertyChanges, f as changeProperties, c as computed, h as defineDecorator, d as defineProperty, g as defineValue, a as endPropertyChanges, e as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-CJnghmXC.js';
1
+ export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, i as autoComputed, b as beginPropertyChanges, f as changeProperties, c as computed, h as defineDecorator, d as defineProperty, g as defineValue, a as endPropertyChanges, e as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-BPCtuOxQ.js';
2
2
  export { g as getCachedValueFor } from '../../../shared-chunks/computed_cache-DmYKevAP.js';
3
- export { a as alias } from '../../../shared-chunks/alias-ZcMQckQV.js';
3
+ export { a as alias } from '../../../shared-chunks/alias-DpqL1qx6.js';
4
4
  import { deprecate } from '../../debug/index.js';
5
- import { g as get } from '../../../shared-chunks/property_get-CIBS9umw.js';
6
- export { P as PROXY_CONTENT, _ as _getPath, b as _getProp, h as hasUnknownProperty } from '../../../shared-chunks/property_get-CIBS9umw.js';
7
- import { s as set } from '../../../shared-chunks/property_set-D3PKyisF.js';
8
- export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-D3PKyisF.js';
9
- export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-Bh_kUjzy.js';
5
+ import { g as get } from '../../../shared-chunks/property_get-CRP7MFz_.js';
6
+ export { P as PROXY_CONTENT, _ as _getPath, b as _getProp, h as hasUnknownProperty } from '../../../shared-chunks/property_get-CRP7MFz_.js';
7
+ import { s as set } from '../../../shared-chunks/property_set-qCUylPEK.js';
8
+ export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-qCUylPEK.js';
9
+ export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-CVEnNWng.js';
10
10
  export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-6aFVjD4k.js';
11
11
  export { c as ComputedDescriptor, b as descriptorForDecorator, d as descriptorForProperty, a as isClassicDecorator, i as isElementDescriptor, m as makeComputedDecorator, n as nativeDescDecorator, s as setClassicDecorator } from '../../../shared-chunks/decorator-B5Uh5NFI.js';
12
- export { a as Libraries, L as libraries } from '../../../shared-chunks/libraries-CHBwbR72.js';
13
- export { g as getProperties } from '../../../shared-chunks/get_properties-CIm8IAtP.js';
14
- export { s as setProperties } from '../../../shared-chunks/set_properties-BghuuGJx.js';
15
- export { A as ASYNC_OBSERVERS, S as SYNC_OBSERVERS, a as activateObserver, b as addObserver, f as flushAsyncObservers, r as removeObserver, c as revalidateObservers } from '../../../shared-chunks/observers-C2DurkLG.js';
16
- export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-B4T-FzZZ.js';
17
- export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-D6tuFUj_.js';
18
- export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-CKE4wnE6.js';
12
+ export { a as Libraries, L as libraries } from '../../../shared-chunks/libraries-DwffpMGE.js';
13
+ export { g as getProperties } from '../../../shared-chunks/get_properties-Cm2sWt5f.js';
14
+ export { s as setProperties } from '../../../shared-chunks/set_properties-C4TSebH6.js';
15
+ export { A as ASYNC_OBSERVERS, S as SYNC_OBSERVERS, a as activateObserver, b as addObserver, f as flushAsyncObservers, r as removeObserver, c as revalidateObservers } from '../../../shared-chunks/observers-DMlX2nCi.js';
16
+ export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-CbBLr5jt.js';
17
+ export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-uWSImHzB.js';
18
+ export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-DEyf0T_X.js';
19
19
  export { cached } from '../../../@glimmer/tracking/index.js';
20
- export { l as createCache, r as getValue, s as isConst } from '../../../shared-chunks/cache-B7dqAS38.js';
20
+ export { g as createCache, h as getValue, x as isConst } from '../../../shared-chunks/cache-DGDPVCpC.js';
21
21
  export { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace, e as setNamespaceSearchDisabled, s as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-BfvzEQzN.js';
22
22
 
23
23
  /**
@@ -1,9 +1,9 @@
1
- import '../../../shared-chunks/property_get-CIBS9umw.js';
1
+ import '../../../shared-chunks/property_get-CRP7MFz_.js';
2
2
  import '../../debug/index.js';
3
3
  import '../../engine/instance.js';
4
4
  import '../../../route-recognizer/index.js';
5
- import '../../../shared-chunks/rsvp-CnCSY930.js';
6
- import '../../../shared-chunks/unrecognized-url-error-B3wUTorp.js';
5
+ import '../../../shared-chunks/rsvp.es-DR7yS7qg.js';
6
+ import '../../../shared-chunks/unrecognized-url-error-BJHjL30Q.js';
7
7
  import '../../routing/lib/routing-service.js';
8
8
  export { default as generateController, generateControllerFactory } from '../../routing/lib/generate_controller.js';
9
9
  export { default as RouterDSL } from '../../routing/lib/dsl.js';
@@ -6,4 +6,4 @@ export { default as _ProxyMixin, contentFor as _contentFor } from './lib/mixins/
6
6
  export { default as MutableEnumerable } from '../../enumerable/mutable.js';
7
7
  export { default as TargetActionSupport } from './lib/mixins/target_action_support.js';
8
8
  export { onerrorDefault } from './lib/ext/rsvp.js';
9
- export { R as RSVP } from '../../../shared-chunks/rsvp-CnCSY930.js';
9
+ export { R as RSVP } from '../../../shared-chunks/rsvp.es-DR7yS7qg.js';
@@ -1,4 +1,4 @@
1
- import { c as configure, o as on, R as RSVP } from '../../../../../shared-chunks/rsvp-CnCSY930.js';
1
+ import { c as configure, o as on, R as RSVP } from '../../../../../shared-chunks/rsvp.es-DR7yS7qg.js';
2
2
  import { _backburner, _rsvpErrorQueue } from '../../../../runloop/index.js';
3
3
  import { getDispatchOverride } from '../../../error-handling/index.js';
4
4
  import '../../../../debug/index.js';
@@ -1,16 +1,16 @@
1
1
  import { meta } from '../../../meta/lib/meta.js';
2
2
  import Mixin from '../../../../object/mixin.js';
3
- import { g as get } from '../../../../../shared-chunks/property_get-CIBS9umw.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-D3PKyisF.js';
5
- import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-CJnghmXC.js';
6
- import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-D6tuFUj_.js';
3
+ import { g as get } from '../../../../../shared-chunks/property_get-CRP7MFz_.js';
4
+ import { s as set } from '../../../../../shared-chunks/property_set-qCUylPEK.js';
5
+ import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-BPCtuOxQ.js';
6
+ import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-uWSImHzB.js';
7
7
  import { s as setProxy, i as isProxy } from '../../../../../shared-chunks/is_proxy-Bzg0d4m4.js';
8
8
  import { a as setupMandatorySetter } from '../../../../../shared-chunks/mandatory-setter-BpbAMTzV.js';
9
9
  import { i as isObject } from '../../../../../shared-chunks/spec-BXl1reqK.js';
10
10
  import '../../../../debug/index.js';
11
- import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-BNLuRFlO.js';
12
- import { U as UPDATE_TAG, j as combine } from '../../../../../shared-chunks/cache-B7dqAS38.js';
13
- import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-BmRXesrk.js';
11
+ import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-CS5Brs3_.js';
12
+ import { U as UPDATE_TAG, f as combine } from '../../../../../shared-chunks/cache-DGDPVCpC.js';
13
+ import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-BqC7f9Ia.js';
14
14
  import { assert } from '../../../../debug/lib/assert.js';
15
15
 
16
16
  /**
@@ -1,5 +1,5 @@
1
1
  import Mixin from '../../../../object/mixin.js';
2
- import { g as get } from '../../../../../shared-chunks/property_get-CIBS9umw.js';
2
+ import { g as get } from '../../../../../shared-chunks/property_get-CRP7MFz_.js';
3
3
  import '../../../../debug/index.js';
4
4
  import { assert } from '../../../../debug/lib/assert.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { context } from '../../../environment/index.js';
2
- import { g as get } from '../../../../../shared-chunks/property_get-CIBS9umw.js';
3
- import { c as computed } from '../../../../../shared-chunks/computed-CJnghmXC.js';
2
+ import { g as get } from '../../../../../shared-chunks/property_get-CRP7MFz_.js';
3
+ import { c as computed } from '../../../../../shared-chunks/computed-BPCtuOxQ.js';
4
4
  import Mixin from '../../../../object/mixin.js';
5
5
  import '../../../../debug/index.js';
6
6
  import { assert } from '../../../../debug/lib/assert.js';
@@ -12,7 +12,7 @@ import { assert } from '../../../../debug/lib/assert.js';
12
12
 
13
13
  /**
14
14
  `TargetActionSupport` is a mixin that can be included in a class
15
- to add a `triggerAction` method with semantics similar to the Handlebars
15
+ to add a `triggerAction` method with semantics similar to the
16
16
  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is
17
17
  usually the best choice. This mixin is most often useful when you are
18
18
  doing more complex event handling in Components.
@@ -1,4 +1,4 @@
1
- import { g as get } from '../../../../../shared-chunks/property_get-CIBS9umw.js';
1
+ import { g as get } from '../../../../../shared-chunks/property_get-CRP7MFz_.js';
2
2
  import Mixin from '../../../../object/mixin.js';
3
3
  import inspect from '../../../../debug/lib/inspect.js';
4
4
  import '../../../../debug/index.js';
@@ -1,7 +1,7 @@
1
1
  import { getOwner } from '../../../owner/index.js';
2
2
  import '../../../../debug/index.js';
3
- import { g as get } from '../../../../../shared-chunks/property_get-CIBS9umw.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-D3PKyisF.js';
3
+ import { g as get } from '../../../../../shared-chunks/property_get-CRP7MFz_.js';
4
+ import { s as set } from '../../../../../shared-chunks/property_set-qCUylPEK.js';
5
5
  import EmberObject from '../../../../object/index.js';
6
6
  import { getElementView } from './utils.js';
7
7
  import { assert } from '../../../../debug/lib/assert.js';
@@ -1,4 +1,4 @@
1
- import { i as inject } from '../../../../../shared-chunks/injected_property-B4T-FzZZ.js';
1
+ import { i as inject } from '../../../../../shared-chunks/injected_property-CbBLr5jt.js';
2
2
  import ActionHandler from '../../../runtime/lib/mixins/action_handler.js';
3
3
  import Evented from '../../../../object/evented.js';
4
4
  import { FrameworkObject } from '../../../../object/-internals.js';
@@ -5,7 +5,7 @@ import { E as ENV } from '../../shared-chunks/env-g-kaAFLN.js';
5
5
  import { h as hasDOM } from '../../shared-chunks/index-BGP1rw3B.js';
6
6
  import '../debug/index.js';
7
7
  import { schedule, once, join, run } from '../runloop/index.js';
8
- import { L as LIBRARIES } from '../../shared-chunks/libraries-CHBwbR72.js';
8
+ import { L as LIBRARIES } from '../../shared-chunks/libraries-DwffpMGE.js';
9
9
  import '../-internals/runtime/lib/ext/rsvp.js';
10
10
  import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
11
11
  import Route from '../routing/route.js';
@@ -13,18 +13,17 @@ import EmberRouter from '../routing/router.js';
13
13
  import HashLocation from '../routing/hash-location.js';
14
14
  import HistoryLocation from '../routing/history-location.js';
15
15
  import NoneLocation from '../routing/none-location.js';
16
- import '../../shared-chunks/property_get-CIBS9umw.js';
16
+ import '../../shared-chunks/property_get-CRP7MFz_.js';
17
17
  import '../engine/instance.js';
18
18
  import '../../route-recognizer/index.js';
19
- import { R as RSVP } from '../../shared-chunks/rsvp-CnCSY930.js';
20
- import '../../shared-chunks/unrecognized-url-error-B3wUTorp.js';
19
+ import { R as RSVP } from '../../shared-chunks/rsvp.es-DR7yS7qg.js';
20
+ import '../../shared-chunks/unrecognized-url-error-BJHjL30Q.js';
21
21
  import '../routing/lib/routing-service.js';
22
- import '../controller/index.js';
23
22
  import BucketCache from '../routing/lib/cache.js';
24
23
  import ApplicationInstance from './instance.js';
25
24
  import Engine, { buildInitializerMethod } from '../engine/index.js';
26
25
  import { privatize } from '../-internals/container/index.js';
27
- import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-BC5VMvei.js';
26
+ import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-9DCmHTFF.js';
28
27
  import RouterService from '../routing/router-service.js';
29
28
  import { assert } from '../debug/lib/assert.js';
30
29
 
@@ -1,8 +1,8 @@
1
- import { g as get } from '../../shared-chunks/property_get-CIBS9umw.js';
2
- import { s as set } from '../../shared-chunks/property_set-D3PKyisF.js';
1
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
2
+ import { s as set } from '../../shared-chunks/property_set-qCUylPEK.js';
3
3
  import { h as hasDOM, e as environment } from '../../shared-chunks/index-BGP1rw3B.js';
4
4
  import EngineInstance from '../engine/instance.js';
5
- import { r as renderSettled } from '../../shared-chunks/index-CwnQYqK5.js';
5
+ import { a as renderSettled } from '../../shared-chunks/index-B3pPx1fL.js';
6
6
  import '../debug/index.js';
7
7
  import EmberRouter from '../routing/router.js';
8
8
  import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
@@ -1,5 +1,5 @@
1
1
  import { N as NAMESPACES, a as NAMESPACES_BY_ID, p as processAllNamespaces, f as findNamespace, b as addNamespace, c as findNamespaces, d as processNamespace, r as removeNamespace } from '../../shared-chunks/namespace_search-BfvzEQzN.js';
2
- import { g as get } from '../../shared-chunks/property_get-CIBS9umw.js';
2
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
3
3
  import { g as getName, s as setName } from '../../shared-chunks/name-Clp4Vsod.js';
4
4
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
5
5
  import '../debug/index.js';
@@ -1,23 +1,22 @@
1
- import { g as get, P as PROXY_CONTENT } from '../../shared-chunks/property_get-CIBS9umw.js';
2
- import { o as objectAt } from '../../shared-chunks/chain-tags-D6tuFUj_.js';
3
- import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-Bh_kUjzy.js';
4
- import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-CJnghmXC.js';
5
- import { s as set } from '../../shared-chunks/property_set-D3PKyisF.js';
1
+ import { o as objectAt } from '../../shared-chunks/chain-tags-uWSImHzB.js';
2
+ import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-CVEnNWng.js';
3
+ import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-BPCtuOxQ.js';
4
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
5
+ import { s as set } from '../../shared-chunks/property_set-qCUylPEK.js';
6
6
  import Mixin from '../object/mixin.js';
7
7
  import '../debug/index.js';
8
8
  import Enumerable from '../enumerable/index.js';
9
9
  import MutableEnumerable from '../enumerable/mutable.js';
10
10
  import compare from '../utils/lib/compare.js';
11
- import typeOf from '../utils/lib/type-of.js';
12
11
  import Observable from '../object/observable.js';
13
12
  import { setEmberArray, isEmberArray } from './-internals.js';
13
+ import isArray from './lib/is-array.js';
14
14
  export { default as makeArray } from './lib/make-array.js';
15
15
  import { assert } from '../debug/lib/assert.js';
16
16
 
17
17
  /**
18
18
  @module @ember/array
19
19
  */
20
-
21
20
  const EMPTY_ARRAY = Object.freeze([]);
22
21
  const identityFunction = item => item;
23
22
  function uniqBy(array, keyOrFunc = identityFunction) {
@@ -85,63 +84,6 @@ function insertAt(array, index, item) {
85
84
  return item;
86
85
  }
87
86
 
88
- /**
89
- Returns true if the passed object is an array or Array-like.
90
-
91
- Objects are considered Array-like if any of the following are true:
92
-
93
- - the object is a native Array
94
- - the object has an objectAt property
95
- - the object is an Object, and has a length property
96
-
97
- Unlike `typeOf` this method returns true even if the passed object is
98
- not formally an array but appears to be array-like (i.e. implements `Array`)
99
-
100
- ```javascript
101
- import { isArray } from '@ember/array';
102
- import ArrayProxy from '@ember/array/proxy';
103
-
104
- isArray(); // false
105
- isArray([]); // true
106
- isArray(ArrayProxy.create({ content: [] })); // true
107
- ```
108
-
109
- @method isArray
110
- @static
111
- @for @ember/array
112
- @param {Object} obj The object to test
113
- @return {Boolean} true if the passed object is an array or Array-like
114
- @public
115
- */
116
- function isArray(obj) {
117
- if (typeof obj === 'object' && obj !== null) {
118
- // SAFETY: Property read checks are safe if it's an object
119
- let possibleProxyContent = obj[PROXY_CONTENT];
120
- if (possibleProxyContent !== undefined) {
121
- obj = possibleProxyContent;
122
- }
123
- }
124
-
125
- // SAFETY: Property read checks are safe if it's an object
126
- if (!obj || obj.setInterval) {
127
- return false;
128
- }
129
- if (Array.isArray(obj) || EmberArray.detect(obj)) {
130
- return true;
131
- }
132
- let type = typeOf(obj);
133
- if ('array' === type) {
134
- return true;
135
- }
136
-
137
- // SAFETY: Property read checks are safe if it's an object
138
- let length = obj.length;
139
- if (typeof length === 'number' && length === length && 'object' === type) {
140
- return true;
141
- }
142
- return false;
143
- }
144
-
145
87
  /*
146
88
  This allows us to define computed properties that are not enumerable.
147
89
  */
@@ -514,6 +456,10 @@ const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
514
456
  /**
515
457
  Creates an `NativeArray` from an Array-like object.
516
458
  Does not modify the original object's contents.
459
+
460
+ This exists primarily for historic reasons and should not be used
461
+ in new code. Prefer native [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
462
+ or [trackedArray](/ember/release/functions/@ember%2Freactive%2Fcollections/trackedArray).
517
463
 
518
464
  Example
519
465
 
@@ -0,0 +1,71 @@
1
+ import { P as PROXY_CONTENT } from '../../../shared-chunks/property_get-CRP7MFz_.js';
2
+ import typeOf from '../../utils/lib/type-of.js';
3
+ import { isEmberArray } from '../-internals.js';
4
+
5
+ /**
6
+ @module @ember/array
7
+ */
8
+
9
+ /**
10
+ Returns true if the passed object is an array or Array-like.
11
+
12
+ Objects are considered Array-like if any of the following are true:
13
+
14
+ - the object is a native Array
15
+ - the object has an objectAt property
16
+ - the object is an Object, and has a length property
17
+
18
+ Unlike `typeOf` this method returns true even if the passed object is
19
+ not formally an array but appears to be array-like (i.e. implements `Array`)
20
+
21
+ ```javascript
22
+ import { isArray } from '@ember/array';
23
+ import ArrayProxy from '@ember/array/proxy';
24
+
25
+ isArray(); // false
26
+ isArray([]); // true
27
+ isArray(ArrayProxy.create({ content: [] })); // true
28
+ ```
29
+
30
+ @method isArray
31
+ @static
32
+ @for @ember/array
33
+ @param {Object} obj The object to test
34
+ @return {Boolean} true if the passed object is an array or Array-like
35
+ @public
36
+ */
37
+ function isArray(obj) {
38
+ if (typeof obj === 'object' && obj !== null) {
39
+ // SAFETY: Property read checks are safe if it's an object
40
+ let possibleProxyContent = obj[PROXY_CONTENT];
41
+ if (possibleProxyContent !== undefined) {
42
+ obj = possibleProxyContent;
43
+ }
44
+ }
45
+
46
+ // SAFETY: Property read checks are safe if it's an object
47
+ if (!obj || obj.setInterval) {
48
+ return false;
49
+ }
50
+
51
+ // EmberArray's `init` brands every instance via `setEmberArray`; the only
52
+ // unbranded EmberArray objects are native arrays upgraded by `A()`, which
53
+ // `Array.isArray` catches. So this matches `EmberArray.detect` without
54
+ // pulling in the mixin's module.
55
+ if (Array.isArray(obj) || isEmberArray(obj)) {
56
+ return true;
57
+ }
58
+ let type = typeOf(obj);
59
+ if ('array' === type) {
60
+ return true;
61
+ }
62
+
63
+ // SAFETY: Property read checks are safe if it's an object
64
+ let length = obj.length;
65
+ if (typeof length === 'number' && length === length && 'object' === type) {
66
+ return true;
67
+ }
68
+ return false;
69
+ }
70
+
71
+ export { isArray as default };
@@ -1,15 +1,15 @@
1
- import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-D6tuFUj_.js';
2
- import { a as alias } from '../../shared-chunks/alias-ZcMQckQV.js';
3
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-CJnghmXC.js';
4
- import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-Bh_kUjzy.js';
5
- import { g as get } from '../../shared-chunks/property_get-CIBS9umw.js';
1
+ import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-uWSImHzB.js';
2
+ import { a as alias } from '../../shared-chunks/alias-DpqL1qx6.js';
3
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-BPCtuOxQ.js';
4
+ import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-CVEnNWng.js';
5
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
6
6
  import { i as isObject } from '../../shared-chunks/spec-BXl1reqK.js';
7
7
  import EmberObject from '../object/index.js';
8
8
  import EmberArray, { MutableArray } from './index.js';
9
9
  import '../debug/index.js';
10
- import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-BNLuRFlO.js';
11
- import { k as consumeTag, y as validateTag, z as valueForTag, j as combine } from '../../shared-chunks/cache-B7dqAS38.js';
12
- import { t as tagFor } from '../../shared-chunks/meta-BmRXesrk.js';
10
+ import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-CS5Brs3_.js';
11
+ import { c as consumeTag, v as validateTag, a as valueForTag, f as combine } from '../../shared-chunks/cache-DGDPVCpC.js';
12
+ import { t as tagFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
13
13
  import { assert } from '../debug/lib/assert.js';
14
14
 
15
15
  /**
@@ -1 +1 @@
1
- export { H as default, h as helper } from '../../shared-chunks/helper-Do7NCZHI.js';
1
+ export { H as default, h as helper } from '../../shared-chunks/helper-DIj85_-f.js';
@@ -1,7 +1,7 @@
1
1
  export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-R_5UMHhb.js';
2
2
  import { d as descriptorForProperty, n as nativeDescDecorator } from '../../shared-chunks/decorator-B5Uh5NFI.js';
3
- import { g as get } from '../../shared-chunks/property_get-CIBS9umw.js';
4
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-CJnghmXC.js';
3
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
4
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-BPCtuOxQ.js';
5
5
  import { getOwner } from '../-internals/owner/index.js';
6
6
  import TargetActionSupport from '../-internals/runtime/lib/mixins/target_action_support.js';
7
7
  import ActionSupport from '../-internals/views/lib/mixins/action_support.js';
@@ -10,20 +10,20 @@ import CoreView from '../-internals/views/lib/views/core_view.js';
10
10
  import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
11
11
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
12
12
  import '../debug/index.js';
13
- import { s as setInternalComponentManager } from '../../shared-chunks/api-BawZUDYD.js';
14
- import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-BoPB2LfI.js';
13
+ import { s as setInternalComponentManager } from '../../shared-chunks/api-DuLOZMO_.js';
14
+ import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-BqOLhKFy.js';
15
15
  import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
16
- import { m as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-B7dqAS38.js';
17
- import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, C as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-BBzF_bI8.js';
16
+ import { r as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-DGDPVCpC.js';
17
+ import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, C as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-Ei5G8jhk.js';
18
18
  import { h as hasDOM } from '../../shared-chunks/index-BGP1rw3B.js';
19
19
  import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
20
20
  import { assert } from '../debug/lib/assert.js';
21
- export { I as Input, T as Textarea } from '../../shared-chunks/textarea-WSlUEr0y.js';
22
- import { s as setComponentManager$1 } from '../../shared-chunks/api-BAmlf_CN.js';
23
- export { c as capabilities } from '../../shared-chunks/api-BAmlf_CN.js';
21
+ export { I as Input, T as Textarea } from '../../shared-chunks/textarea-C4lYkaHj.js';
22
+ import { s as setComponentManager$1 } from '../../shared-chunks/api-BlZDPg1n.js';
23
+ export { c as capabilities } from '../../shared-chunks/api-BlZDPg1n.js';
24
24
  import '../../@glimmer/destroyable/index.js';
25
25
  import '../../@glimmer/global-context/index.js';
26
- import '../../shared-chunks/capabilities-CZkuOqqC.js';
26
+ import '../../shared-chunks/capabilities-CajW4QjE.js';
27
27
 
28
28
  let lazyEventsProcessed = new WeakMap();
29
29
  const EMPTY_ARRAY = Object.freeze([]);
@@ -73,6 +73,12 @@ function matches(el, selector) {
73
73
  API documentation for Template-only or Glimmer components, it is [available
74
74
  here](/ember/release/modules/@glimmer%2Fcomponent).
75
75
 
76
+ Note: Prior to Ember 6.8, by default, components were authored in paired `.hbs` and `.js`
77
+ files. This is still supported, but the default authoring format is now `.gjs` or "template tag".
78
+ The documentation for `@ember/component` still refers to the older authoring format. To read about
79
+ the new authoring format, see the
80
+ [Glimmer Component API documentation](/ember/release/modules/@glimmer%2Fcomponent).
81
+
76
82
  ## Defining a Classic Component
77
83
 
78
84
  If you want to customize the component in order to handle events, transform
@@ -99,7 +105,7 @@ function matches(el, selector) {
99
105
 
100
106
  And then use it in the component's template:
101
107
 
102
- ```app/templates/components/person-profile.hbs
108
+ ```app/components/person-profile.hbs
103
109
  <h1>{{this.displayName}}</h1>
104
110
  {{yield}}
105
111
  ```
@@ -487,7 +493,7 @@ function matches(el, selector) {
487
493
  The `layout` property should be set to the default export of a template
488
494
  module, which is the name of a template file without the `.hbs` extension.
489
495
 
490
- ```app/templates/components/person-profile.hbs
496
+ ```app/components/person-profile.hbs
491
497
  <h1>Person's Title</h1>
492
498
  <div class='details'>{{yield}}</div>
493
499
  ```
@@ -1,4 +1,4 @@
1
- import { t as templateOnlyComponent } from '../../shared-chunks/template-only-BqOt8bDl.js';
1
+ import { t as templateOnlyComponent } from '../../shared-chunks/template-only-Cu639ICT.js';
2
2
 
3
3
  /**
4
4
  @module @ember/component/template-only
@@ -1,8 +1,8 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
- import { c as computed } from '../../shared-chunks/computed-CJnghmXC.js';
3
- import { g as get } from '../../shared-chunks/property_get-CIBS9umw.js';
2
+ import { c as computed } from '../../shared-chunks/computed-BPCtuOxQ.js';
3
+ import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
4
4
  import { FrameworkObject } from '../object/-internals.js';
5
- import { i as inject$1 } from '../../shared-chunks/injected_property-B4T-FzZZ.js';
5
+ import { i as inject$1 } from '../../shared-chunks/injected_property-CbBLr5jt.js';
6
6
  import Mixin from '../object/mixin.js';
7
7
  import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
8
8