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,4 +1,4 @@
1
- import { g as configure, n as on, R as RSVP } from '../../../../../shared-chunks/rsvp-C6j8G1D1.js';
1
+ import { c as configure, o as on, R as RSVP } from '../../../../../shared-chunks/rsvp-aLN_pQtn.js';
2
2
  import { _backburner, _rsvpErrorQueue } from '../../../../runloop/index.js';
3
3
  import { getDispatchOverride } from '../../../error-handling/index.js';
4
4
 
@@ -1,14 +1,14 @@
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-Sw0SicEZ.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-SHEIPMUG.js';
5
- import { f as defineProperty, d as computed } from '../../../../../shared-chunks/computed-D6MVTTDd.js';
6
- import { t as tagForObject, b as tagForProperty } from '../../../../../shared-chunks/chain-tags-BP0V2LnZ.js';
3
+ import { g as get } from '../../../../../shared-chunks/property_get-DAKgbeJX.js';
4
+ import { s as set } from '../../../../../shared-chunks/property_set-BaQJdVfS.js';
5
+ import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-DtIStxvq.js';
6
+ import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-B2J7DsxO.js';
7
7
  import { s as setProxy } from '../../../../../shared-chunks/is_proxy-Bzg0d4m4.js';
8
8
  import { i as isObject } from '../../../../../shared-chunks/spec-BXl1reqK.js';
9
- import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-CaXVcI8G.js';
10
- import { U as UPDATE_TAG, j as combine } from '../../../../../shared-chunks/cache-CG6_L9db.js';
11
- import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-Ce6-qROq.js';
9
+ import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-CCoFtYLS.js';
10
+ import { U as UPDATE_TAG, d as combine } from '../../../../../shared-chunks/cache-CofLhaS4.js';
11
+ import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-BJtIZDir.js';
12
12
 
13
13
  /**
14
14
  @module ember
@@ -1,5 +1,5 @@
1
1
  import Mixin from '../../../../object/mixin.js';
2
- import { g as get } from '../../../../../shared-chunks/property_get-Sw0SicEZ.js';
2
+ import { g as get } from '../../../../../shared-chunks/property_get-DAKgbeJX.js';
3
3
 
4
4
  /**
5
5
  @module ember
@@ -1,6 +1,6 @@
1
1
  import { context } from '../../../environment/index.js';
2
- import { g as get } from '../../../../../shared-chunks/property_get-Sw0SicEZ.js';
3
- import { d as computed } from '../../../../../shared-chunks/computed-D6MVTTDd.js';
2
+ import { g as get } from '../../../../../shared-chunks/property_get-DAKgbeJX.js';
3
+ import { c as computed } from '../../../../../shared-chunks/computed-DtIStxvq.js';
4
4
  import Mixin from '../../../../object/mixin.js';
5
5
 
6
6
  /**
@@ -10,7 +10,7 @@ import Mixin from '../../../../object/mixin.js';
10
10
 
11
11
  /**
12
12
  `TargetActionSupport` is a mixin that can be included in a class
13
- to add a `triggerAction` method with semantics similar to the Handlebars
13
+ to add a `triggerAction` method with semantics similar to the
14
14
  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is
15
15
  usually the best choice. This mixin is most often useful when you are
16
16
  doing more complex event handling in Components.
@@ -1,8 +1,8 @@
1
1
  export { m as dictionary } from '../../../shared-chunks/dictionary-gc5gpyOG.js';
2
2
  export { g as getDebugName } from '../../../shared-chunks/get-debug-name-BDxIL2Y1.js';
3
- export { G as GUID_KEY, g as generateGuid, a as guidFor, u as uuid } from '../../../shared-chunks/guid-PO2v9BaN.js';
3
+ export { G as GUID_KEY, a as generateGuid, g as guidFor, u as uuid } from '../../../shared-chunks/guid-Cbq2sNV_.js';
4
4
  export { i as intern } from '../../../shared-chunks/intern-zquhAEIg.js';
5
- export { R as ROOT, c as checkHasSuper, o as observerListenerMetaFor, s as setListeners, a as setObservers, w as wrap } from '../../../shared-chunks/super-D4qkU4uq.js';
5
+ export { R as ROOT, c as checkHasSuper, o as observerListenerMetaFor, a as setListeners, s as setObservers, w as wrap } from '../../../shared-chunks/super-BBBjgF69.js';
6
6
  export { l as lookupDescriptor } from '../../../shared-chunks/lookup-descriptor-CwcVgaLv.js';
7
7
  export { g as getName, s as setName } from '../../../shared-chunks/name-Clp4Vsod.js';
8
8
  export { i as isObject } from '../../../shared-chunks/spec-BXl1reqK.js';
@@ -1,4 +1,4 @@
1
- import { g as get } from '../../../../../shared-chunks/property_get-Sw0SicEZ.js';
1
+ import { g as get } from '../../../../../shared-chunks/property_get-DAKgbeJX.js';
2
2
  import Mixin from '../../../../object/mixin.js';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { g as get } from '../../../../../shared-chunks/property_get-Sw0SicEZ.js';
2
- import { s as set } from '../../../../../shared-chunks/property_set-SHEIPMUG.js';
1
+ import { g as get } from '../../../../../shared-chunks/property_get-DAKgbeJX.js';
2
+ import { s as set } from '../../../../../shared-chunks/property_set-BaQJdVfS.js';
3
3
  import EmberObject from '../../../../object/index.js';
4
4
  import { getElementView } from './utils.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { getOwner } from '../../../owner/index.js';
2
- import { a as guidFor } from '../../../../../shared-chunks/guid-PO2v9BaN.js';
2
+ import { g as guidFor } from '../../../../../shared-chunks/guid-Cbq2sNV_.js';
3
3
 
4
4
  /**
5
5
  @module ember
@@ -1,4 +1,4 @@
1
- import { i as inject } from '../../../../../shared-chunks/injected_property-COGiYHKc.js';
1
+ import { i as inject } from '../../../../../shared-chunks/injected_property-Y-FadDej.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 '../../shared-chunks/env-DXxsTFkM.js';
5
5
  import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
6
6
  import { assert } from '../debug/lib/assert.js';
7
7
  import { schedule, once, join, run } from '../runloop/index.js';
8
- import '../../shared-chunks/libraries-Bs3H8iwC.js';
8
+ import '../../shared-chunks/libraries-DBql0hdn.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-Sw0SicEZ.js';
16
+ import '../../shared-chunks/property_get-DAKgbeJX.js';
17
17
  import '../engine/instance.js';
18
18
  import '../../route-recognizer/index.js';
19
- import { R as RSVP } from '../../shared-chunks/rsvp-C6j8G1D1.js';
20
- import '../../shared-chunks/unrecognized-url-error-ClNyMFJt.js';
19
+ import { R as RSVP } from '../../shared-chunks/rsvp-aLN_pQtn.js';
20
+ import '../../shared-chunks/unrecognized-url-error-DgXBAzKl.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-D14I0iDX.js';
26
+ import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-DMAzVcVn.js';
28
27
  import RouterService from '../routing/router-service.js';
29
28
 
30
29
  /**
@@ -1,11 +1,11 @@
1
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
2
- import { s as set } from '../../shared-chunks/property_set-SHEIPMUG.js';
1
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
2
+ import { s as set } from '../../shared-chunks/property_set-BaQJdVfS.js';
3
3
  import { e as environment } from '../../shared-chunks/index-Cc8WmrB-.js';
4
4
  import EngineInstance from '../engine/instance.js';
5
- import { a as renderSettled } from '../../shared-chunks/index-DabsnYit.js';
5
+ import { a as renderSettled } from '../../shared-chunks/index-BQaaoknf.js';
6
6
  import '../routing/router.js';
7
7
  import '../object/index.js';
8
- import '../../shared-chunks/guid-PO2v9BaN.js';
8
+ import '../../shared-chunks/guid-Cbq2sNV_.js';
9
9
  import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
10
10
 
11
11
  /**
@@ -1,7 +1,7 @@
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-TFdmjK_a.js';
2
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
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-DAKgbeJX.js';
3
3
  import { g as getName, s as setName } from '../../shared-chunks/name-Clp4Vsod.js';
4
- import { a as guidFor } from '../../shared-chunks/guid-PO2v9BaN.js';
4
+ import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
5
5
  import EmberObject from '../object/index.js';
6
6
 
7
7
  /**
@@ -1,21 +1,20 @@
1
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
2
- import { o as objectAt } from '../../shared-chunks/chain-tags-BP0V2LnZ.js';
3
- import { e as replaceInNativeArray, d as replace } from '../../shared-chunks/array-DYFI95FA.js';
4
- import { b as beginPropertyChanges, h as endPropertyChanges, d as computed } from '../../shared-chunks/computed-D6MVTTDd.js';
5
- import { s as set } from '../../shared-chunks/property_set-SHEIPMUG.js';
1
+ import { o as objectAt } from '../../shared-chunks/chain-tags-B2J7DsxO.js';
2
+ import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-BzReKMeW.js';
3
+ import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-DtIStxvq.js';
4
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
5
+ import { s as set } from '../../shared-chunks/property_set-BaQJdVfS.js';
6
6
  import Mixin from '../object/mixin.js';
7
7
  import Enumerable from '../enumerable/index.js';
8
8
  import MutableEnumerable from '../enumerable/mutable.js';
9
9
  import compare from '../utils/lib/compare.js';
10
- import typeOf from '../utils/lib/type-of.js';
11
10
  import Observable from '../object/observable.js';
12
11
  import { setEmberArray, isEmberArray } from './-internals.js';
12
+ export { default as isArray } from './lib/is-array.js';
13
13
  export { default as makeArray } from './lib/make-array.js';
14
14
 
15
15
  /**
16
16
  @module @ember/array
17
17
  */
18
-
19
18
  const EMPTY_ARRAY = Object.freeze([]);
20
19
  const identityFunction = item => item;
21
20
  function uniqBy(array, keyOrFunc = identityFunction) {
@@ -80,56 +79,6 @@ function insertAt(array, index, item) {
80
79
  return item;
81
80
  }
82
81
 
83
- /**
84
- Returns true if the passed object is an array or Array-like.
85
-
86
- Objects are considered Array-like if any of the following are true:
87
-
88
- - the object is a native Array
89
- - the object has an objectAt property
90
- - the object is an Object, and has a length property
91
-
92
- Unlike `typeOf` this method returns true even if the passed object is
93
- not formally an array but appears to be array-like (i.e. implements `Array`)
94
-
95
- ```javascript
96
- import { isArray } from '@ember/array';
97
- import ArrayProxy from '@ember/array/proxy';
98
-
99
- isArray(); // false
100
- isArray([]); // true
101
- isArray(ArrayProxy.create({ content: [] })); // true
102
- ```
103
-
104
- @method isArray
105
- @static
106
- @for @ember/array
107
- @param {Object} obj The object to test
108
- @return {Boolean} true if the passed object is an array or Array-like
109
- @public
110
- */
111
- function isArray(obj) {
112
-
113
- // SAFETY: Property read checks are safe if it's an object
114
- if (!obj || obj.setInterval) {
115
- return false;
116
- }
117
- if (Array.isArray(obj) || EmberArray.detect(obj)) {
118
- return true;
119
- }
120
- let type = typeOf(obj);
121
- if ('array' === type) {
122
- return true;
123
- }
124
-
125
- // SAFETY: Property read checks are safe if it's an object
126
- let length = obj.length;
127
- if (typeof length === 'number' && length === length && 'object' === type) {
128
- return true;
129
- }
130
- return false;
131
- }
132
-
133
82
  /*
134
83
  This allows us to define computed properties that are not enumerable.
135
84
  */
@@ -494,6 +443,10 @@ const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
494
443
  /**
495
444
  Creates an `NativeArray` from an Array-like object.
496
445
  Does not modify the original object's contents.
446
+
447
+ This exists primarily for historic reasons and should not be used
448
+ in new code. Prefer native [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
449
+ or [trackedArray](/ember/release/functions/@ember%2Freactive%2Fcollections/trackedArray).
497
450
 
498
451
  Example
499
452
 
@@ -583,4 +536,4 @@ A = function (arr) {
583
536
  }
584
537
  };
585
538
 
586
- export { A, MutableArray, NativeArray, EmberArray as default, isArray, removeAt, uniqBy };
539
+ export { A, MutableArray, NativeArray, EmberArray as default, removeAt, uniqBy };
@@ -0,0 +1,64 @@
1
+ import '../../../shared-chunks/property_get-DAKgbeJX.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
+
39
+ // SAFETY: Property read checks are safe if it's an object
40
+ if (!obj || obj.setInterval) {
41
+ return false;
42
+ }
43
+
44
+ // EmberArray's `init` brands every instance via `setEmberArray`; the only
45
+ // unbranded EmberArray objects are native arrays upgraded by `A()`, which
46
+ // `Array.isArray` catches. So this matches `EmberArray.detect` without
47
+ // pulling in the mixin's module.
48
+ if (Array.isArray(obj) || isEmberArray(obj)) {
49
+ return true;
50
+ }
51
+ let type = typeOf(obj);
52
+ if ('array' === type) {
53
+ return true;
54
+ }
55
+
56
+ // SAFETY: Property read checks are safe if it's an object
57
+ let length = obj.length;
58
+ if (typeof length === 'number' && length === length && 'object' === type) {
59
+ return true;
60
+ }
61
+ return false;
62
+ }
63
+
64
+ export { isArray as default };
@@ -1,14 +1,14 @@
1
- import { o as objectAt, b as tagForProperty } from '../../shared-chunks/chain-tags-BP0V2LnZ.js';
2
- import { a as alias } from '../../shared-chunks/alias-DsIh-16z.js';
3
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-D6MVTTDd.js';
4
- import { d as replace, c as arrayContentWillChange, b as arrayContentDidChange, a as addArrayObserver, r as removeArrayObserver } from '../../shared-chunks/array-DYFI95FA.js';
5
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
1
+ import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-B2J7DsxO.js';
2
+ import { a as alias } from '../../shared-chunks/alias-Bod6qdNp.js';
3
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-DtIStxvq.js';
4
+ import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-BzReKMeW.js';
5
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
6
6
  import { i as isObject } from '../../shared-chunks/spec-BXl1reqK.js';
7
7
  import EmberObject from '../object/index.js';
8
8
  import { MutableArray } from './index.js';
9
- import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-CaXVcI8G.js';
10
- import { k as consumeTag, x as validateTag, y as valueForTag, j as combine } from '../../shared-chunks/cache-CG6_L9db.js';
11
- import { t as tagFor } from '../../shared-chunks/meta-Ce6-qROq.js';
9
+ import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-CCoFtYLS.js';
10
+ import { c as consumeTag, v as validateTag, a as valueForTag, d as combine } from '../../shared-chunks/cache-CofLhaS4.js';
11
+ import { t as tagFor } from '../../shared-chunks/meta-BJtIZDir.js';
12
12
 
13
13
  /**
14
14
  @module @ember/array/proxy
@@ -1 +1 @@
1
- export { H as default, h as helper } from '../../shared-chunks/helper-CCK8Ef0x.js';
1
+ export { H as default, h as helper } from '../../shared-chunks/helper-Df5MpdcT.js';
@@ -1,25 +1,25 @@
1
1
  export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-Dc_cBOoX.js';
2
- import { n as nativeDescDecorator } from '../../shared-chunks/decorator-B8Lpq40g.js';
3
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
4
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-D6MVTTDd.js';
2
+ import { n as nativeDescDecorator } from '../../shared-chunks/decorator-9ikVwsjY.js';
3
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
4
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-DtIStxvq.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';
8
8
  import { getViewElement, getChildViews, addChildView } from '../-internals/views/lib/system/utils.js';
9
9
  import CoreView from '../-internals/views/lib/views/core_view.js';
10
10
  import '../object/index.js';
11
- import { a as guidFor } from '../../shared-chunks/guid-PO2v9BaN.js';
12
- import { s as setInternalComponentManager } from '../../shared-chunks/api-DOLN_cR2.js';
13
- import { l as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-D2agTt1V.js';
11
+ import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
12
+ import { s as setInternalComponentManager } from '../../shared-chunks/api-DlJKfm_f.js';
13
+ import { b as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-CG0yPgLy.js';
14
14
  import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
15
- import { m as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-CG6_L9db.js';
16
- 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-DCYSwLtz.js';
15
+ import { r as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-CofLhaS4.js';
16
+ 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-IY06zACp.js';
17
17
  import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
18
18
  import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
19
- export { I as Input, T as Textarea } from '../../shared-chunks/textarea-B_JYBuE8.js';
20
- import { s as setComponentManager$1 } from '../../shared-chunks/api-CGZbGcvX.js';
21
- export { c as capabilities } from '../../shared-chunks/api-CGZbGcvX.js';
22
- import '../../shared-chunks/capabilities-_5e35539.js';
19
+ export { I as Input, T as Textarea } from '../../shared-chunks/textarea-CQmTzSKe.js';
20
+ import { s as setComponentManager$1 } from '../../shared-chunks/api-B_poQGXS.js';
21
+ export { c as capabilities } from '../../shared-chunks/api-B_poQGXS.js';
22
+ import '../../shared-chunks/capabilities-BuVYh-vx.js';
23
23
 
24
24
  let lazyEventsProcessed = new WeakMap();
25
25
  const EMPTY_ARRAY = Object.freeze([]);
@@ -55,6 +55,12 @@ const EMPTY_ARRAY = Object.freeze([]);
55
55
  API documentation for Template-only or Glimmer components, it is [available
56
56
  here](/ember/release/modules/@glimmer%2Fcomponent).
57
57
 
58
+ Note: Prior to Ember 6.8, by default, components were authored in paired `.hbs` and `.js`
59
+ files. This is still supported, but the default authoring format is now `.gjs` or "template tag".
60
+ The documentation for `@ember/component` still refers to the older authoring format. To read about
61
+ the new authoring format, see the
62
+ [Glimmer Component API documentation](/ember/release/modules/@glimmer%2Fcomponent).
63
+
58
64
  ## Defining a Classic Component
59
65
 
60
66
  If you want to customize the component in order to handle events, transform
@@ -81,7 +87,7 @@ const EMPTY_ARRAY = Object.freeze([]);
81
87
 
82
88
  And then use it in the component's template:
83
89
 
84
- ```app/templates/components/person-profile.hbs
90
+ ```app/components/person-profile.hbs
85
91
  <h1>{{this.displayName}}</h1>
86
92
  {{yield}}
87
93
  ```
@@ -469,7 +475,7 @@ const EMPTY_ARRAY = Object.freeze([]);
469
475
  The `layout` property should be set to the default export of a template
470
476
  module, which is the name of a template file without the `.hbs` extension.
471
477
 
472
- ```app/templates/components/person-profile.hbs
478
+ ```app/components/person-profile.hbs
473
479
  <h1>Person's Title</h1>
474
480
  <div class='details'>{{yield}}</div>
475
481
  ```
@@ -538,7 +544,7 @@ const EMPTY_ARRAY = Object.freeze([]);
538
544
 
539
545
  See the [Guide on Component event
540
546
  handlers](https://guides.emberjs.com/release/components/component-state-and-actions/#toc_html-modifiers-and-actions)
541
- and the [API docs for `on`](../Ember.Templates.helpers/methods/on?anchor=on)
547
+ and the [API docs for `on`](../functions/Keywords/on)
542
548
  for more details.
543
549
 
544
550
  ### Event Handler Methods
@@ -1,4 +1,4 @@
1
- import { t as templateOnlyComponent } from '../../shared-chunks/template-only-CP0NT7ce.js';
1
+ import { t as templateOnlyComponent } from '../../shared-chunks/template-only-DKNcKM5b.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 { d as computed } from '../../shared-chunks/computed-D6MVTTDd.js';
3
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
2
+ import { c as computed } from '../../shared-chunks/computed-DtIStxvq.js';
3
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
4
4
  import { FrameworkObject } from '../object/-internals.js';
5
- import { i as inject$1 } from '../../shared-chunks/injected_property-COGiYHKc.js';
5
+ import { i as inject$1 } from '../../shared-chunks/injected_property-Y-FadDej.js';
6
6
  import Mixin from '../object/mixin.js';
7
7
  import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
8
8
 
@@ -1,12 +1,12 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
2
  import { _backburner, next } from '../runloop/index.js';
3
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
3
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
4
4
  import { dasherize } from '../-internals/string/index.js';
5
5
  import Namespace from '../application/namespace.js';
6
6
  import EmberObject from '../object/index.js';
7
7
  import { A } from '../array/index.js';
8
- import { l as createCache, k as consumeTag, w as untrack, q as getValue } from '../../shared-chunks/cache-CG6_L9db.js';
9
- import { t as tagFor } from '../../shared-chunks/meta-Ce6-qROq.js';
8
+ import { e as createCache, c as consumeTag, u as untrack, g as getValue } from '../../shared-chunks/cache-CofLhaS4.js';
9
+ import { t as tagFor } from '../../shared-chunks/meta-BJtIZDir.js';
10
10
  import '../../shared-chunks/env-DXxsTFkM.js';
11
11
  import { assert } from './lib/assert.js';
12
12
 
@@ -4,14 +4,14 @@ import Namespace from '../application/namespace.js';
4
4
  import { Registry } from '../-internals/container/index.js';
5
5
  import DAG from '../../dag-map/index.js';
6
6
  import ContainerDebugAdapter from '../debug/container-debug-adapter.js';
7
- import { g as get } from '../../shared-chunks/property_get-Sw0SicEZ.js';
8
- import { s as set } from '../../shared-chunks/property_set-SHEIPMUG.js';
7
+ import { g as get } from '../../shared-chunks/property_get-DAKgbeJX.js';
8
+ import { s as set } from '../../shared-chunks/property_set-BaQJdVfS.js';
9
9
  import EngineInstance from './instance.js';
10
10
  import '../../route-recognizer/index.js';
11
- import '../../shared-chunks/rsvp-C6j8G1D1.js';
12
- import '../../shared-chunks/unrecognized-url-error-ClNyMFJt.js';
11
+ import '../../shared-chunks/rsvp-aLN_pQtn.js';
12
+ import '../../shared-chunks/unrecognized-url-error-DgXBAzKl.js';
13
13
  import RoutingService from '../routing/lib/routing-service.js';
14
- import { a as setupEngineRegistry } from '../../shared-chunks/setup-registry-D14I0iDX.js';
14
+ import { a as setupEngineRegistry } from '../../shared-chunks/setup-registry-DMAzVcVn.js';
15
15
  import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
16
16
  import { StrictResolver } from './lib/strict-resolver.js';
17
17
 
@@ -1,11 +1,11 @@
1
1
  import EmberObject from '../object/index.js';
2
2
  import '../-internals/runtime/lib/ext/rsvp.js';
3
3
  import { Registry, privatize } from '../-internals/container/index.js';
4
- import { a as guidFor } from '../../shared-chunks/guid-PO2v9BaN.js';
4
+ import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
5
5
  import { ENGINE_PARENT, setEngineParent, getEngineParent } from './lib/engine-parent.js';
6
6
  import ContainerProxyMixin from '../-internals/runtime/lib/mixins/container_proxy.js';
7
7
  import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
8
- import { R as RSVP } from '../../shared-chunks/rsvp-C6j8G1D1.js';
8
+ import { R as RSVP } from '../../shared-chunks/rsvp-aLN_pQtn.js';
9
9
 
10
10
  /**
11
11
  @module @ember/engine