ember-source 7.2.0-alpha.4 → 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 (326) 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 +21 -15
  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 +8 -27
  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 -3
  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 +12 -8
  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 +2281 -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-BYLB-q7a.js} +5 -3
  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-CO3EIWsm.js → get-6I3sjd-I.js} +33 -36
  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-2-93qikL.js → hash-6NDs_5_f.js} +18 -12
  105. package/dist/dev/packages/shared-chunks/{helper-Bm6EhgSW.js → helper-DIj85_-f.js} +21 -9
  106. package/dist/dev/packages/shared-chunks/{index-dyv6rcBf.js → index-B3pPx1fL.js} +113 -134
  107. package/dist/dev/packages/shared-chunks/{index-DX90CU4L.js → index-BGP1rw3B.js} +1 -1
  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-DYh6AY9Z.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-DlF0Wy7P.js} +10 -10
  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.es-DR7yS7qg.js} +150 -154
  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-9DCmHTFF.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-C4lYkaHj.js} +12 -8
  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-DQOhouG1.js} +2 -2
  142. package/dist/dev/packages/shared-chunks/{unrecognized-url-error-BQdkjTtZ.js → unrecognized-url-error-BJHjL30Q.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 +20 -14
  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 +8 -27
  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 -3
  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 +12 -8
  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 +2281 -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-DgHdPZ8u.js} +5 -3
  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-tlL23wmp.js → get-Dago5uGl.js} +33 -36
  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-C6IoC4eR.js → hash-gEXIsSO4.js} +24 -18
  242. package/dist/prod/packages/shared-chunks/{helper-CCK8Ef0x.js → helper-DkXiTBjc.js} +21 -9
  243. package/dist/prod/packages/shared-chunks/{index-D-rcNBLp.js → index-Bf53M8eS.js} +9 -8
  244. package/dist/prod/packages/shared-chunks/{index-DabsnYit.js → index-CslMfEpb.js} +110 -131
  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-BOIVROuv.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-BZHAxzdq.js} +10 -10
  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.es-DR7yS7qg.js} +150 -154
  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-U-6VaNQG.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-DOmZ1x0E.js} +11 -7
  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-o2pS74go.js} +2 -2
  277. package/dist/prod/packages/shared-chunks/{unrecognized-url-error-ClNyMFJt.js → unrecognized-url-error-EgNrnFu_.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 +316 -334
  280. package/package.json +6 -4
  281. package/types/stable/@ember/-internals/glimmer/index.d.ts +165 -121
  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 +8 -2
  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/array.d.ts +3 -1
  288. package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +65 -121
  289. package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +8 -4
  290. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +16 -14
  291. package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +2 -0
  292. package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +11 -7
  293. package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +23 -29
  294. package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +3 -1
  295. package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +95 -49
  296. package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +23 -54
  297. package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +6 -2
  298. package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +4 -8
  299. package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +10 -10
  300. package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +1 -2
  301. package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +2 -0
  302. package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +2 -14
  303. package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +15 -11
  304. package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +17 -10
  305. package/types/stable/@ember/-internals/runtime/lib/mixins/target_action_support.d.ts +1 -1
  306. package/types/stable/@ember/array/index.d.ts +6 -29
  307. package/types/stable/@ember/array/lib/is-array.d.ts +35 -0
  308. package/types/stable/@ember/component/template-only.d.ts +1 -3
  309. package/types/stable/@ember/controller/index.d.ts +1 -1
  310. package/types/stable/@ember/helper/index.d.ts +0 -19
  311. package/types/stable/@ember/object/index.d.ts +4 -3
  312. package/types/stable/@ember/object/observable.d.ts +4 -0
  313. package/types/stable/@ember/reactive/collections.d.ts +0 -6
  314. package/types/stable/@ember/routing/lib/generate_controller.d.ts +1 -1
  315. package/types/stable/@ember/routing/route.d.ts +2 -2
  316. package/types/stable/@ember/routing/router-service.d.ts +20 -12
  317. package/types/stable/@glimmer/runtime/lib/component/template-only.d.ts +0 -2
  318. package/types/stable/@glimmer/runtime/lib/dom/sanitized-values.d.ts +2 -2
  319. package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +1 -1
  320. package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +8 -3
  321. package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +13 -7
  322. package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +21 -29
  323. package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +1 -1
  324. package/types/stable/@glimmer/syntax/lib/get-template-locals.d.ts +1 -1
  325. package/types/stable/@glimmer/tracking/index.d.ts +12 -12
  326. package/types/stable/index.d.ts +1 -0
@@ -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.4",
2
+ "version": "7.2.0-beta.1",
3
3
  "buildType": "tag",
4
- "SHA": "8b47b784d3a034ab7980b6a2fa92e3fc46f46a11",
5
- "assetPath": "/tag/shas/8b47b784d3a034ab7980b6a2fa92e3fc46f46a11.tgz"
4
+ "SHA": "bcc6b57f4817ec6ddb23f809b0de593b86f8daa6",
5
+ "assetPath": "/tag/shas/bcc6b57f4817ec6ddb23f809b0de593b86f8daa6.tgz"
6
6
  }
@@ -1 +1 @@
1
- export { h as hasDOM, a as history, i as isChrome, b as isFirefox, l as location, u as userAgent, w as window } from '../../../shared-chunks/index-DX90CU4L.js';
1
+ export { h as hasDOM, b as history, a as isChrome, i as isFirefox, l as location, u as userAgent, w as window } from '../../../shared-chunks/index-BGP1rw3B.js';
@@ -1,19 +1,19 @@
1
- export { h as template, t as templateCacheCounters } from '../../../shared-chunks/index-DkwVSPP5.js';
2
- export { R as RootTemplate, s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-C_YovxNX.js';
3
- export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-DHjEFpZu.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-Bm6EhgSW.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, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-dyv6rcBf.js';
9
- export { D as DOMChanges } from '../../../shared-chunks/render-Dz3OWqXy.js';
10
- export { a as DOMTreeConstruction } from '../../../shared-chunks/element-builder-Cl1kHFJE.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-IH4d_JQy.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-bBwMD8cw.js';
15
- export { u as uniqueId } from '../../../shared-chunks/unique-id-Hd96VZlE.js';
16
- export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-BT9M3UaD.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,24 +1,24 @@
1
- export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, a as autoComputed, b as beginPropertyChanges, c as changeProperties, d as computed, e as defineDecorator, f as defineProperty, g as defineValue, h as endPropertyChanges, i as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-Daavz6vC.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-RGbDZoAB.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-BjbsrgpU.js';
6
- export { P as PROXY_CONTENT, _ as _getPath, a as _getProp, h as hasUnknownProperty } from '../../../shared-chunks/property_get-BjbsrgpU.js';
7
- import { s as set } from '../../../shared-chunks/property_set-LJskl202.js';
8
- export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-LJskl202.js';
9
- export { a as addArrayObserver, b as arrayContentDidChange, c as arrayContentWillChange, r as removeArrayObserver, d as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-BMaSKezP.js';
10
- export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-B1lx9T1I.js';
11
- export { a as ComputedDescriptor, d as descriptorForDecorator, b as descriptorForProperty, i as isClassicDecorator, c as isElementDescriptor, m as makeComputedDecorator, n as nativeDescDecorator, s as setClassicDecorator } from '../../../shared-chunks/decorator-DYQwMItS.js';
12
- export { a as Libraries, L as libraries } from '../../../shared-chunks/libraries-P8Ins5CB.js';
13
- export { g as getProperties } from '../../../shared-chunks/get_properties-B203vZpz.js';
14
- export { s as setProperties } from '../../../shared-chunks/set_properties-CNds2HCH.js';
15
- export { A as ASYNC_OBSERVERS, S as SYNC_OBSERVERS, a as activateObserver, b as addObserver, f as flushAsyncObservers, r as removeObserver, e as revalidateObservers } from '../../../shared-chunks/observers-CejcZw5s.js';
16
- export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-B075jH6c.js';
17
- export { m as markObjectAsDirty, o as objectAt, t as tagForObject, b as tagForProperty } from '../../../shared-chunks/chain-tags-DfmU63mS.js';
18
- export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-B76E1nGz.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
+ export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-6aFVjD4k.js';
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-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-CeWOBNQg.js';
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, s as setNamespaceSearchDisabled, e as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-TFdmjK_a.js';
20
+ export { g as createCache, h as getValue, x as isConst } from '../../../shared-chunks/cache-DGDPVCpC.js';
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
  /**
24
24
  @module ember
@@ -1,9 +1,9 @@
1
- import '../../../shared-chunks/property_get-BjbsrgpU.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-C6j8G1D1.js';
6
- import '../../../shared-chunks/unrecognized-url-error-BQdkjTtZ.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-C6j8G1D1.js';
9
+ export { R as RSVP } from '../../../shared-chunks/rsvp.es-DR7yS7qg.js';
@@ -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.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-BjbsrgpU.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-LJskl202.js';
5
- import { f as defineProperty, d as computed } from '../../../../../shared-chunks/computed-Daavz6vC.js';
6
- import { t as tagForObject, b as tagForProperty } from '../../../../../shared-chunks/chain-tags-DfmU63mS.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-CB0SM6jC.js';
12
- import { U as UPDATE_TAG, j as combine } from '../../../../../shared-chunks/cache-CeWOBNQg.js';
13
- import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-Cjo3zQJq.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-BjbsrgpU.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-BjbsrgpU.js';
3
- import { d as computed } from '../../../../../shared-chunks/computed-Daavz6vC.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,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-CSniHBsn.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, s as setWithMandatorySetter, a as setupMandatorySetter, t as teardownMandatorySetter } from '../../../shared-chunks/mandatory-setter-BpbAMTzV.js';
7
7
  export { g as getName, s as setName } from '../../../shared-chunks/name-Clp4Vsod.js';
8
8
  export { t as toString } from '../../../shared-chunks/to-string-C7M8LBLH.js';
@@ -1,4 +1,4 @@
1
- import { g as get } from '../../../../../shared-chunks/property_get-BjbsrgpU.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-BjbsrgpU.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-LJskl202.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,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
  import '../../../../debug/index.js';
4
4
  import { assert } from '../../../../debug/lib/assert.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { i as inject } from '../../../../../shared-chunks/injected_property-B075jH6c.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';
@@ -2,10 +2,10 @@ import { setOwner as setOwner$1 } from '../-internals/owner/index.js';
2
2
  import { getOwner as getOwner$1 } from '../owner/index.js';
3
3
  import { m as makeDictionary } from '../../shared-chunks/dictionary-gc5gpyOG.js';
4
4
  import { E as ENV } from '../../shared-chunks/env-g-kaAFLN.js';
5
- import { h as hasDOM } from '../../shared-chunks/index-DX90CU4L.js';
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-P8Ins5CB.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-BjbsrgpU.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-C6j8G1D1.js';
20
- import '../../shared-chunks/unrecognized-url-error-BQdkjTtZ.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-C_YovxNX.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-BjbsrgpU.js';
2
- import { s as set } from '../../shared-chunks/property_set-LJskl202.js';
3
- import { h as hasDOM, e as environment } from '../../shared-chunks/index-DX90CU4L.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
+ import { h as hasDOM, e as environment } from '../../shared-chunks/index-BGP1rw3B.js';
4
4
  import EngineInstance from '../engine/instance.js';
5
- import { a as renderSettled } from '../../shared-chunks/index-dyv6rcBf.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,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-BjbsrgpU.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-CRP7MFz_.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 '../debug/index.js';
6
6
  import EmberObject from '../object/index.js';
7
7
  import { assert } from '../debug/lib/assert.js';
@@ -1,23 +1,22 @@
1
- import { g as get, P as PROXY_CONTENT } from '../../shared-chunks/property_get-BjbsrgpU.js';
2
- import { o as objectAt } from '../../shared-chunks/chain-tags-DfmU63mS.js';
3
- import { e as replaceInNativeArray, d as replace } from '../../shared-chunks/array-BMaSKezP.js';
4
- import { b as beginPropertyChanges, h as endPropertyChanges, d as computed } from '../../shared-chunks/computed-Daavz6vC.js';
5
- import { s as set } from '../../shared-chunks/property_set-LJskl202.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, b as tagForProperty } from '../../shared-chunks/chain-tags-DfmU63mS.js';
2
- import { a as alias } from '../../shared-chunks/alias-RGbDZoAB.js';
3
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-Daavz6vC.js';
4
- import { d as replace, c as arrayContentWillChange, b as arrayContentDidChange, a as addArrayObserver, r as removeArrayObserver } from '../../shared-chunks/array-BMaSKezP.js';
5
- import { g as get } from '../../shared-chunks/property_get-BjbsrgpU.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-CB0SM6jC.js';
11
- import { k as consumeTag, z as validateTag, B as valueForTag, j as combine } from '../../shared-chunks/cache-CeWOBNQg.js';
12
- import { t as tagFor } from '../../shared-chunks/meta-Cjo3zQJq.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-Bm6EhgSW.js';
1
+ export { H as default, h as helper } from '../../shared-chunks/helper-DIj85_-f.js';