ember-source 7.4.0-alpha.1 → 7.4.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 (227) hide show
  1. package/build-metadata.json +3 -3
  2. package/dist/dev/packages/@ember/-internals/deprecations/index.js +45 -0
  3. package/dist/dev/packages/@ember/-internals/glimmer/index.js +9 -9
  4. package/dist/dev/packages/@ember/-internals/metal/index.js +12 -12
  5. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +6 -6
  6. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
  7. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/comparable.js +2 -2
  8. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +2 -2
  9. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +2 -2
  10. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
  11. package/dist/dev/packages/@ember/-internals/views/index.js +1 -0
  12. package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
  13. package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +1 -1
  14. package/dist/dev/packages/@ember/-internals/views/lib/views/core-view-utils.js +14 -0
  15. package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +25 -21
  16. package/dist/dev/packages/@ember/-internals/views/lib/views/states.js +5 -2
  17. package/dist/dev/packages/@ember/application/index.js +1 -1
  18. package/dist/dev/packages/@ember/application/instance.js +16 -13
  19. package/dist/dev/packages/@ember/application/namespace.js +1 -1
  20. package/dist/dev/packages/@ember/array/index.js +8 -8
  21. package/dist/dev/packages/@ember/array/proxy.js +8 -5
  22. package/dist/dev/packages/@ember/component/helper.js +2 -2
  23. package/dist/dev/packages/@ember/component/index.js +7 -7
  24. package/dist/dev/packages/@ember/component/template-only.js +1 -1
  25. package/dist/dev/packages/@ember/controller/index.js +4 -4
  26. package/dist/dev/packages/@ember/engine/index.js +2 -2
  27. package/dist/dev/packages/@ember/enumerable/index.js +2 -2
  28. package/dist/dev/packages/@ember/enumerable/mutable.js +2 -2
  29. package/dist/dev/packages/@ember/helper/index.js +8 -8
  30. package/dist/dev/packages/@ember/modifier/index.js +2 -2
  31. package/dist/dev/packages/@ember/modifier/on.js +1 -1
  32. package/dist/dev/packages/@ember/object/-internals.js +1 -1
  33. package/dist/dev/packages/@ember/object/computed.js +2 -2
  34. package/dist/dev/packages/@ember/object/core.js +7 -7
  35. package/dist/dev/packages/@ember/object/evented.js +3 -71
  36. package/dist/dev/packages/@ember/object/events.js +17 -1
  37. package/dist/dev/packages/@ember/object/index.js +4 -4
  38. package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +3 -3
  39. package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
  40. package/dist/dev/packages/@ember/object/mixin.js +11 -592
  41. package/dist/dev/packages/@ember/object/observable.js +7 -7
  42. package/dist/dev/packages/@ember/object/observers.js +1 -1
  43. package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +10 -4
  44. package/dist/dev/packages/@ember/object/proxy.js +8 -1
  45. package/dist/dev/packages/@ember/renderer/index.js +1 -1
  46. package/dist/dev/packages/@ember/routing/index.js +1 -1
  47. package/dist/dev/packages/@ember/routing/lib/routing-service.js +2 -2
  48. package/dist/dev/packages/@ember/routing/route.js +34 -9
  49. package/dist/dev/packages/@ember/routing/router-service.js +71 -6
  50. package/dist/dev/packages/@ember/routing/router.js +32 -6
  51. package/dist/dev/packages/@ember/runloop/index.js +1 -1
  52. package/dist/dev/packages/@ember/service/index.js +1 -1
  53. package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  54. package/dist/dev/packages/@glimmer/destroyable/index.js +43 -14
  55. package/dist/dev/packages/@glimmer/manager/index.js +3 -3
  56. package/dist/dev/packages/@glimmer/node/index.js +2 -2
  57. package/dist/dev/packages/@glimmer/program/index.js +1 -1
  58. package/dist/dev/packages/@glimmer/reference/index.js +2 -2
  59. package/dist/dev/packages/@glimmer/runtime/index.js +11 -11
  60. package/dist/dev/packages/@glimmer/tracking/index.js +1 -1
  61. package/dist/dev/packages/ember/version.js +1 -1
  62. package/dist/dev/packages/shared-chunks/{alias-3DBxvoim.js → alias-CSzPOqZC.js} +3 -3
  63. package/dist/dev/packages/shared-chunks/{api-BlZDPg1n.js → api-B0N4oLJG.js} +3 -3
  64. package/dist/dev/packages/shared-chunks/{api-Dz70AUL_.js → api-CK8FxDZV.js} +2 -0
  65. package/dist/dev/packages/shared-chunks/{api-DuLOZMO_.js → api-PyzZqscb.js} +2 -2
  66. package/dist/dev/packages/shared-chunks/{args-proxy-CS5Brs3_.js → args-proxy-C39f5UPF.js} +1 -1
  67. package/dist/dev/packages/shared-chunks/{arguments-DniR8eF2.js → arguments-LEaMCStR.js} +7 -3
  68. package/dist/dev/packages/shared-chunks/{array-DvaweI_T.js → array-CxZAmpTY.js} +2 -2
  69. package/dist/dev/packages/shared-chunks/{chain-tags-uWSImHzB.js → chain-tags-uYrtCZq1.js} +1 -1
  70. package/dist/dev/packages/shared-chunks/{computed-DGxbeUbf.js → computed-CXIM4Sjc.js} +3 -3
  71. package/dist/dev/packages/shared-chunks/{curly-BCD_vyHq.js → curly-DbGgDeux.js} +18 -17
  72. package/dist/dev/packages/shared-chunks/destroyable-key-BsfVBM7f.js +12 -0
  73. package/dist/dev/packages/shared-chunks/{element-Cgoi4ldD.js → element-DLh78jeJ.js} +3 -3
  74. package/dist/dev/packages/shared-chunks/evented-cAr_RO4u.js +100 -0
  75. package/dist/dev/packages/shared-chunks/{events-6aFVjD4k.js → events-e_Do73jh.js} +3 -0
  76. package/dist/dev/packages/shared-chunks/{get-zsePWrJL.js → get-fzmvcT9R.js} +3 -3
  77. package/dist/dev/packages/shared-chunks/{hash-BFu91gtE.js → hash-D1O4fZ99.js} +3 -3
  78. package/dist/dev/packages/shared-chunks/{index-Bv9SQpEx.js → index-D8La4_AP.js} +12 -12
  79. package/dist/dev/packages/shared-chunks/{injected_property-DbXd6Gax.js → injected_property-DyyWscn-.js} +1 -1
  80. package/dist/dev/packages/shared-chunks/{internal-DTOXyEGM.js → internal-CZjbPyX3.js} +2 -2
  81. package/dist/dev/packages/shared-chunks/{internal-helper-CKrni0b_.js → internal-helper-BkRVvV7p.js} +1 -1
  82. package/dist/dev/packages/shared-chunks/{invoke-CgF42joE.js → invoke-BPNErlhO.js} +2 -2
  83. package/dist/dev/packages/shared-chunks/mixin-M88Ghbyw.js +612 -0
  84. package/dist/dev/packages/shared-chunks/{namespace_search-BfvzEQzN.js → namespace_search-TFdmjK_a.js} +1 -1
  85. package/dist/dev/packages/shared-chunks/{not-0cVb-rLf.js → not-DNpbxEvj.js} +2 -2
  86. package/dist/dev/packages/shared-chunks/{observers-DMlX2nCi.js → observers-BsxKjjpC.js} +2 -2
  87. package/dist/dev/packages/shared-chunks/{on-CVIjn2C-.js → on-Dfya_9b_.js} +3 -3
  88. package/dist/dev/packages/shared-chunks/{outlet-BO5-QFmm.js → outlet-wIOlGMfN.js} +3 -3
  89. package/dist/dev/packages/shared-chunks/{property_set-DezUwDX4.js → property_set-CxxTalOq.js} +1 -1
  90. package/dist/dev/packages/shared-chunks/{reference-BqOLhKFy.js → reference-De0V3Vxp.js} +2 -0
  91. package/dist/dev/packages/shared-chunks/{rehydrate-builder-CsnkZkur.js → rehydrate-builder-B3wE1O5a.js} +1 -1
  92. package/dist/dev/packages/shared-chunks/{render-D_Rawf-r.js → render-CNXCIKfb.js} +16 -5
  93. package/dist/dev/packages/shared-chunks/{serialize-builder-D1oAeiyl.js → serialize-builder-v4amW_JS.js} +1 -1
  94. package/dist/{prod/packages/shared-chunks/set_properties-DYiBfzdk.js → dev/packages/shared-chunks/set_properties-KoN0q2wj.js} +2 -2
  95. package/dist/dev/packages/shared-chunks/{setup-registry-Ci8Af2Bz.js → setup-registry-BPb25ZxQ.js} +16 -15
  96. package/dist/dev/packages/shared-chunks/{template-only-Cu639ICT.js → template-only-DHdQevpG.js} +2 -2
  97. package/dist/dev/packages/shared-chunks/{textarea-DvS6Xmdh.js → textarea-Obtv2iCY.js} +3 -3
  98. package/dist/dev/packages/shared-chunks/{tracked-57EW14Ny.js → tracked-CLY9ttD5.js} +1 -1
  99. package/dist/dev/packages/shared-chunks/{unique-id-Csxuh1I7.js → unique-id-CdB2MG3m.js} +2 -2
  100. package/dist/prod/packages/@ember/-internals/deprecations/index.js +45 -0
  101. package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
  102. package/dist/prod/packages/@ember/-internals/metal/index.js +13 -13
  103. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +6 -6
  104. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
  105. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/comparable.js +2 -2
  106. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +2 -2
  107. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +2 -2
  108. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
  109. package/dist/prod/packages/@ember/-internals/views/index.js +1 -0
  110. package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
  111. package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +1 -1
  112. package/dist/prod/packages/@ember/-internals/views/lib/views/core-view-utils.js +14 -0
  113. package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +25 -21
  114. package/dist/prod/packages/@ember/-internals/views/lib/views/states.js +5 -2
  115. package/dist/prod/packages/@ember/application/index.js +1 -1
  116. package/dist/prod/packages/@ember/application/instance.js +14 -12
  117. package/dist/prod/packages/@ember/application/namespace.js +1 -1
  118. package/dist/prod/packages/@ember/array/index.js +8 -8
  119. package/dist/prod/packages/@ember/array/proxy.js +8 -5
  120. package/dist/prod/packages/@ember/component/helper.js +2 -2
  121. package/dist/prod/packages/@ember/component/index.js +8 -8
  122. package/dist/prod/packages/@ember/component/template-only.js +1 -1
  123. package/dist/prod/packages/@ember/controller/index.js +4 -4
  124. package/dist/prod/packages/@ember/engine/index.js +2 -2
  125. package/dist/prod/packages/@ember/enumerable/index.js +2 -2
  126. package/dist/prod/packages/@ember/enumerable/mutable.js +2 -2
  127. package/dist/prod/packages/@ember/helper/index.js +8 -8
  128. package/dist/prod/packages/@ember/modifier/index.js +2 -2
  129. package/dist/prod/packages/@ember/modifier/on.js +1 -1
  130. package/dist/prod/packages/@ember/object/-internals.js +1 -0
  131. package/dist/prod/packages/@ember/object/compat.js +1 -1
  132. package/dist/prod/packages/@ember/object/computed.js +2 -2
  133. package/dist/prod/packages/@ember/object/core.js +7 -7
  134. package/dist/prod/packages/@ember/object/evented.js +3 -71
  135. package/dist/prod/packages/@ember/object/events.js +17 -1
  136. package/dist/prod/packages/@ember/object/index.js +5 -5
  137. package/dist/prod/packages/@ember/object/internals.js +1 -0
  138. package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +3 -3
  139. package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
  140. package/dist/prod/packages/@ember/object/mixin.js +9 -557
  141. package/dist/prod/packages/@ember/object/observable.js +7 -7
  142. package/dist/prod/packages/@ember/object/observers.js +1 -1
  143. package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +10 -4
  144. package/dist/prod/packages/@ember/object/proxy.js +8 -1
  145. package/dist/prod/packages/@ember/renderer/index.js +1 -1
  146. package/dist/prod/packages/@ember/routing/index.js +1 -1
  147. package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -2
  148. package/dist/prod/packages/@ember/routing/route.js +35 -10
  149. package/dist/prod/packages/@ember/routing/router-service.js +71 -6
  150. package/dist/prod/packages/@ember/routing/router.js +32 -6
  151. package/dist/prod/packages/@ember/runloop/index.js +1 -1
  152. package/dist/prod/packages/@ember/service/index.js +1 -1
  153. package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  154. package/dist/prod/packages/@glimmer/destroyable/index.js +37 -11
  155. package/dist/prod/packages/@glimmer/manager/index.js +3 -3
  156. package/dist/prod/packages/@glimmer/node/index.js +2 -2
  157. package/dist/prod/packages/@glimmer/program/index.js +1 -1
  158. package/dist/prod/packages/@glimmer/reference/index.js +2 -2
  159. package/dist/prod/packages/@glimmer/runtime/index.js +11 -11
  160. package/dist/prod/packages/@glimmer/tracking/index.js +1 -1
  161. package/dist/prod/packages/ember/version.js +1 -1
  162. package/dist/prod/packages/shared-chunks/{alias-IFzw6sv_.js → alias-DvgufSYq.js} +4 -4
  163. package/dist/prod/packages/shared-chunks/{api-DzOa0Acr.js → api-B3M8aF1d.js} +2 -0
  164. package/dist/prod/packages/shared-chunks/{api-B_poQGXS.js → api-CoUjEXgs.js} +3 -3
  165. package/dist/prod/packages/shared-chunks/{api-DlJKfm_f.js → api-DJnXAjon.js} +2 -2
  166. package/dist/prod/packages/shared-chunks/{args-proxy-CCoFtYLS.js → args-proxy-BHODnDyt.js} +1 -1
  167. package/dist/prod/packages/shared-chunks/{arguments-CCYATlEH.js → arguments-xjTAZ6VE.js} +7 -3
  168. package/dist/prod/packages/shared-chunks/{array-CnXdmzOG.js → array-CK__rqeu.js} +2 -2
  169. package/dist/prod/packages/shared-chunks/{chain-tags-B2J7DsxO.js → chain-tags-BlsXEpE-.js} +1 -1
  170. package/dist/prod/packages/shared-chunks/{computed-BNdMwGhH.js → computed-ZvOk7SJQ.js} +4 -4
  171. package/dist/prod/packages/shared-chunks/{curly-CdvJuTyW.js → curly-Bg--Dj0X.js} +18 -17
  172. package/dist/prod/packages/shared-chunks/{decorator-9ikVwsjY.js → decorator-DcvVDSJV.js} +1 -1
  173. package/dist/prod/packages/shared-chunks/destroyable-key-BsfVBM7f.js +12 -0
  174. package/dist/prod/packages/shared-chunks/{element-BmBjPjkQ.js → element-CZnh4CbF.js} +3 -3
  175. package/dist/prod/packages/shared-chunks/evented-DYsL5t87.js +100 -0
  176. package/dist/prod/packages/shared-chunks/{events-DYrYz3V8.js → events-3Q5Qvo6Q.js} +3 -0
  177. package/dist/prod/packages/shared-chunks/{get-CEjFJzGs.js → get-B1Vq9Mmk.js} +3 -3
  178. package/dist/prod/packages/shared-chunks/{hash-BitfXhCx.js → hash-pP7ZP_NN.js} +3 -3
  179. package/dist/prod/packages/shared-chunks/{index-D8cl-pfl.js → index-Dncpaycf.js} +12 -12
  180. package/dist/prod/packages/shared-chunks/{injected_property-DqQ0XV7k.js → injected_property-4vB_6fM8.js} +2 -2
  181. package/dist/prod/packages/shared-chunks/{internal-BQ7zHrqS.js → internal-D1sloI2P.js} +2 -2
  182. package/dist/prod/packages/shared-chunks/{internal-helper-Bz1lpDXr.js → internal-helper-Becm19An.js} +1 -1
  183. package/dist/prod/packages/shared-chunks/{invoke-4JGJYH7Z.js → invoke-BqNxG81o.js} +2 -2
  184. package/dist/prod/packages/shared-chunks/mixin-AGmJaAAY.js +576 -0
  185. package/dist/prod/packages/shared-chunks/{namespace_search-BfvzEQzN.js → namespace_search-TFdmjK_a.js} +1 -1
  186. package/dist/prod/packages/shared-chunks/{not-Dn5s9qVZ.js → not-BRssU6nS.js} +2 -2
  187. package/dist/prod/packages/shared-chunks/{observers-BmobpXAF.js → observers-B1wiwQeH.js} +2 -2
  188. package/dist/prod/packages/shared-chunks/{on-ov4KAucw.js → on-BFt-Sx9A.js} +3 -3
  189. package/dist/prod/packages/shared-chunks/{outlet-BWnaVOrA.js → outlet-bc38zkd8.js} +3 -3
  190. package/dist/prod/packages/shared-chunks/{property_set-BmAQ0MGK.js → property_set-CVmdjPdh.js} +2 -2
  191. package/dist/prod/packages/shared-chunks/{reference-CG0yPgLy.js → reference-CccCE8mJ.js} +2 -0
  192. package/dist/prod/packages/shared-chunks/{rehydrate-builder-n_8RCUj9.js → rehydrate-builder-B9bh-2Dy.js} +1 -1
  193. package/dist/prod/packages/shared-chunks/{render-BAVl5E6X.js → render-C_iak8Db.js} +16 -5
  194. package/dist/prod/packages/shared-chunks/{serialize-builder-CsG9WHVw.js → serialize-builder-Du-432zt.js} +1 -1
  195. package/dist/{dev/packages/shared-chunks/set_properties-BzM_irwA.js → prod/packages/shared-chunks/set_properties-BObIgkE-.js} +2 -2
  196. package/dist/prod/packages/shared-chunks/{setup-registry-DeyoFe6Q.js → setup-registry-Czh4z4t2.js} +16 -15
  197. package/dist/prod/packages/shared-chunks/{template-only-DKNcKM5b.js → template-only-CWsfnbVm.js} +2 -2
  198. package/dist/prod/packages/shared-chunks/{textarea-B-sssXGa.js → textarea-DbUSajBD.js} +3 -3
  199. package/dist/prod/packages/shared-chunks/{tracked-DvOpYI0o.js → tracked-z77O-F0O.js} +2 -2
  200. package/dist/prod/packages/shared-chunks/{unique-id-BJb1p8EG.js → unique-id-DNqsbhfh.js} +2 -2
  201. package/docs/data.json +855 -507
  202. package/lib/browsers.cjs +33 -33
  203. package/package.json +4 -3
  204. package/types/stable/@ember/-internals/deprecations/index.d.ts +30 -0
  205. package/types/stable/@ember/-internals/glimmer/index.d.ts +1 -1
  206. package/types/stable/@ember/-internals/metal/lib/evented-methods.d.ts +22 -0
  207. package/types/stable/@ember/-internals/metal/lib/events.d.ts +1 -0
  208. package/types/stable/@ember/-internals/utils/lib/internal-mixin-create.d.ts +13 -0
  209. package/types/stable/@ember/-internals/views/index.d.ts +1 -0
  210. package/types/stable/@ember/-internals/views/lib/views/core-view-utils.d.ts +5 -0
  211. package/types/stable/@ember/-internals/views/lib/views/core_view.d.ts +9 -6
  212. package/types/stable/@ember/array/proxy.d.ts +1 -0
  213. package/types/stable/@ember/object/evented.d.ts +6 -0
  214. package/types/stable/@ember/object/events.d.ts +26 -1
  215. package/types/stable/@ember/object/mixin.d.ts +3 -0
  216. package/types/stable/@ember/object/promise-proxy-mixin.d.ts +1 -0
  217. package/types/stable/@ember/object/proxy.d.ts +2 -0
  218. package/types/stable/@ember/routing/route.d.ts +9 -2
  219. package/types/stable/@ember/routing/router-service.d.ts +54 -6
  220. package/types/stable/@ember/routing/router.d.ts +9 -8
  221. package/types/stable/@glimmer/destroyable/index.d.ts +1 -0
  222. package/types/stable/@glimmer/runtime/lib/vm/element-builder.d.ts +2 -0
  223. package/types/stable/@glimmer/runtime/lib/vm/render-result.d.ts +2 -0
  224. package/types/stable/@glimmer/runtime/lib/vm/update.d.ts +2 -0
  225. package/types/stable/@glimmer/syntax/lib/keywords.d.ts +2 -2
  226. package/types/stable/@glimmer/util/lib/destroyable-key.d.ts +15 -0
  227. package/types/stable/index.d.ts +4 -0
@@ -1,23 +1,25 @@
1
1
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
2
- import { s as set } from '../../shared-chunks/property_set-BmAQ0MGK.js';
2
+ import { s as set } from '../../shared-chunks/property_set-CVmdjPdh.js';
3
3
  import { e as environment } from '../../shared-chunks/index-Cc8WmrB-.js';
4
4
  import EngineInstance from '../engine/instance.js';
5
5
  import '../-internals/container/index.js';
6
6
  import '../../shared-chunks/guid-Cbq2sNV_.js';
7
- import '../../shared-chunks/reference-CG0yPgLy.js';
8
- import '../../shared-chunks/arguments-CCYATlEH.js';
7
+ import '../../shared-chunks/super-BBBjgF69.js';
8
+ import '../-internals/deprecations/index.js';
9
+ import '../../shared-chunks/reference-CccCE8mJ.js';
10
+ import '../../shared-chunks/arguments-xjTAZ6VE.js';
9
11
  import '../../shared-chunks/cache-CofLhaS4.js';
10
- import '../../shared-chunks/render-BAVl5E6X.js';
11
- import '../../shared-chunks/curly-CdvJuTyW.js';
12
- import '../../shared-chunks/outlet-BWnaVOrA.js';
12
+ import '../../shared-chunks/render-C_iak8Db.js';
13
+ import '../../shared-chunks/curly-Bg--Dj0X.js';
14
+ import '../../shared-chunks/outlet-bc38zkd8.js';
13
15
  import '../../shared-chunks/env-DXxsTFkM.js';
14
16
  import '../../shared-chunks/capabilities-BuVYh-vx.js';
15
- import '../../shared-chunks/hash-BitfXhCx.js';
16
- import '../../shared-chunks/get-CEjFJzGs.js';
17
- import '../../shared-chunks/on-ov4KAucw.js';
18
- import '../../shared-chunks/template-only-DKNcKM5b.js';
19
- import { a as renderSettled } from '../../shared-chunks/index-D8cl-pfl.js';
20
- import '../../shared-chunks/unique-id-BJb1p8EG.js';
17
+ import '../../shared-chunks/hash-pP7ZP_NN.js';
18
+ import '../../shared-chunks/get-B1Vq9Mmk.js';
19
+ import '../../shared-chunks/on-BFt-Sx9A.js';
20
+ import '../../shared-chunks/template-only-CWsfnbVm.js';
21
+ import { a as renderSettled } from '../../shared-chunks/index-Dncpaycf.js';
22
+ import '../../shared-chunks/unique-id-DNqsbhfh.js';
21
23
  import '../runloop/index.js';
22
24
  import '../routing/router.js';
23
25
  import '../object/index.js';
@@ -1,4 +1,4 @@
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';
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
2
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
3
3
  import { g as getName, s as setName } from '../../shared-chunks/name-Clp4Vsod.js';
4
4
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
@@ -1,9 +1,9 @@
1
- import { o as objectAt } from '../../shared-chunks/chain-tags-B2J7DsxO.js';
2
- import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-CnXdmzOG.js';
3
- import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-BNdMwGhH.js';
1
+ import { o as objectAt } from '../../shared-chunks/chain-tags-BlsXEpE-.js';
2
+ import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-CK__rqeu.js';
3
+ import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-ZvOk7SJQ.js';
4
4
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
5
- import { s as set } from '../../shared-chunks/property_set-BmAQ0MGK.js';
6
- import Mixin from '../object/mixin.js';
5
+ import { s as set } from '../../shared-chunks/property_set-CVmdjPdh.js';
6
+ import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-AGmJaAAY.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';
@@ -128,7 +128,7 @@ function mapBy(key) {
128
128
  @public
129
129
  */
130
130
 
131
- const EmberArray = Mixin.create(Enumerable, {
131
+ const EmberArray = Mixin[INTERNAL_MIXIN_CREATE](Enumerable, {
132
132
  init() {
133
133
  this._super(...arguments);
134
134
  setEmberArray(this);
@@ -342,7 +342,7 @@ const EmberArray = Mixin.create(Enumerable, {
342
342
  @public
343
343
  */
344
344
 
345
- const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
345
+ const MutableArray = Mixin[INTERNAL_MIXIN_CREATE](EmberArray, MutableEnumerable, {
346
346
  clear() {
347
347
  let len = this.length;
348
348
  if (len === 0) {
@@ -505,7 +505,7 @@ const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
505
505
  @public
506
506
  */
507
507
 
508
- let NativeArray = Mixin.create(MutableArray, Observable, {
508
+ let NativeArray = Mixin[INTERNAL_MIXIN_CREATE](MutableArray, Observable, {
509
509
  objectAt(idx) {
510
510
  return this[idx];
511
511
  },
@@ -1,12 +1,13 @@
1
- import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-B2J7DsxO.js';
2
- import { a as alias } from '../../shared-chunks/alias-IFzw6sv_.js';
3
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-BNdMwGhH.js';
4
- import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-CnXdmzOG.js';
1
+ import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-BlsXEpE-.js';
2
+ import { a as alias } from '../../shared-chunks/alias-DvgufSYq.js';
3
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-ZvOk7SJQ.js';
4
+ import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-CK__rqeu.js';
5
5
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.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-CCoFtYLS.js';
9
+ import { deprecateUntil, DEPRECATIONS } from '../-internals/deprecations/index.js';
10
+ import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-BHODnDyt.js';
10
11
  import { c as consumeTag, v as validateTag, a as valueForTag, d as combine } from '../../shared-chunks/cache-CofLhaS4.js';
11
12
  import { t as tagFor } from '../../shared-chunks/meta-BJtIZDir.js';
12
13
 
@@ -88,6 +89,7 @@ function customTagForArrayProxy(proxy, key) {
88
89
  @extends EmberObject
89
90
  @uses MutableArray
90
91
  @public
92
+ @deprecated Use a tracked array or a native `Proxy` instead.
91
93
  */
92
94
 
93
95
  class ArrayProxy extends EmberObject {
@@ -123,6 +125,7 @@ class ArrayProxy extends EmberObject {
123
125
  _arrTag = null;
124
126
  init(props) {
125
127
  super.init(props);
128
+ deprecateUntil('`ArrayProxy` is deprecated. Use a tracked array (for example `TrackedArray` from `tracked-built-ins`) or a native `Proxy` instead.', DEPRECATIONS.DEPRECATE_ARRAY_PROXY);
126
129
  setCustomTagFor(this, customTagForArrayProxy);
127
130
  }
128
131
  [PROPERTY_DID_CHANGE]() {
@@ -2,8 +2,8 @@ import { setOwner } from '../-internals/owner/index.js';
2
2
  import { FrameworkObject } from '../object/-internals.js';
3
3
  import { g as getDebugName } from '../../shared-chunks/get-debug-name-BDxIL2Y1.js';
4
4
  import { join } from '../runloop/index.js';
5
- import { i as helperCapabilities } from '../../shared-chunks/api-DlJKfm_f.js';
6
- import { b as setHelperManager } from '../../shared-chunks/api-B_poQGXS.js';
5
+ import { i as helperCapabilities } from '../../shared-chunks/api-DJnXAjon.js';
6
+ import { b as setHelperManager } from '../../shared-chunks/api-CoUjEXgs.js';
7
7
  import { r as createTag, D as DIRTY_TAG, c as consumeTag } from '../../shared-chunks/cache-CofLhaS4.js';
8
8
  import { I as IS_CLASSIC_HELPER } from '../../shared-chunks/helper-brand-C9_8vvOf.js';
9
9
 
@@ -1,7 +1,7 @@
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-9ikVwsjY.js';
2
+ import { n as nativeDescDecorator } from '../../shared-chunks/decorator-DcvVDSJV.js';
3
3
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
4
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-BNdMwGhH.js';
4
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-ZvOk7SJQ.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';
@@ -9,16 +9,16 @@ import { getViewElement, getChildViews, addChildView } from '../-internals/views
9
9
  import CoreView from '../-internals/views/lib/views/core_view.js';
10
10
  import '../object/index.js';
11
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';
12
+ import { s as setInternalComponentManager } from '../../shared-chunks/api-DJnXAjon.js';
13
+ import { b as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-CccCE8mJ.js';
14
14
  import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
15
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, b as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-CdvJuTyW.js';
16
+ import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, b as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-Bg--Dj0X.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-sssXGa.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';
19
+ export { I as Input, T as Textarea } from '../../shared-chunks/textarea-DbUSajBD.js';
20
+ import { s as setComponentManager$1 } from '../../shared-chunks/api-CoUjEXgs.js';
21
+ export { c as capabilities } from '../../shared-chunks/api-CoUjEXgs.js';
22
22
  import '../../shared-chunks/capabilities-BuVYh-vx.js';
23
23
 
24
24
  let lazyEventsProcessed = new WeakMap();
@@ -1,4 +1,4 @@
1
- import { t as templateOnlyComponent } from '../../shared-chunks/template-only-DKNcKM5b.js';
1
+ import { t as templateOnlyComponent } from '../../shared-chunks/template-only-CWsfnbVm.js';
2
2
 
3
3
  /**
4
4
  @module @ember/component/template-only
@@ -1,9 +1,9 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
- import { c as computed } from '../../shared-chunks/computed-BNdMwGhH.js';
2
+ import { c as computed } from '../../shared-chunks/computed-ZvOk7SJQ.js';
3
3
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
4
4
  import { FrameworkObject } from '../object/-internals.js';
5
- import { i as inject$1 } from '../../shared-chunks/injected_property-DqQ0XV7k.js';
6
- import Mixin from '../object/mixin.js';
5
+ import { i as inject$1 } from '../../shared-chunks/injected_property-4vB_6fM8.js';
6
+ import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-AGmJaAAY.js';
7
7
  import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
8
8
 
9
9
  const MODEL = Symbol('MODEL');
@@ -19,7 +19,7 @@ const MODEL = Symbol('MODEL');
19
19
  @private
20
20
  */
21
21
 
22
- const ControllerMixin = Mixin.create(ActionHandler, {
22
+ const ControllerMixin = Mixin[INTERNAL_MIXIN_CREATE](ActionHandler, {
23
23
  /* ducktype as a controller */
24
24
  isController: true,
25
25
  concatenatedProperties: ['queryParams'],
@@ -5,13 +5,13 @@ 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
7
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
8
- import { s as set } from '../../shared-chunks/property_set-BmAQ0MGK.js';
8
+ import { s as set } from '../../shared-chunks/property_set-CVmdjPdh.js';
9
9
  import EngineInstance from './instance.js';
10
10
  import '../../route-recognizer/index.js';
11
11
  import '../../shared-chunks/rsvp-aLN_pQtn.js';
12
12
  import '../../shared-chunks/unrecognized-url-error-xC654tCo.js';
13
13
  import RoutingService from '../routing/lib/routing-service.js';
14
- import { b as setupEngineRegistry } from '../../shared-chunks/setup-registry-DeyoFe6Q.js';
14
+ import { b as setupEngineRegistry } from '../../shared-chunks/setup-registry-Czh4z4t2.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,4 +1,4 @@
1
- import Mixin from '../object/mixin.js';
1
+ import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-AGmJaAAY.js';
2
2
 
3
3
  /**
4
4
  @module @ember/enumerable
@@ -15,6 +15,6 @@ import Mixin from '../object/mixin.js';
15
15
  */
16
16
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
17
17
 
18
- const Enumerable = Mixin.create();
18
+ const Enumerable = Mixin[INTERNAL_MIXIN_CREATE]();
19
19
 
20
20
  export { Enumerable as default };
@@ -1,5 +1,5 @@
1
1
  import Enumerable from './index.js';
2
- import Mixin from '../object/mixin.js';
2
+ import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-AGmJaAAY.js';
3
3
 
4
4
  /**
5
5
  @module ember
@@ -17,6 +17,6 @@ import Mixin from '../object/mixin.js';
17
17
  */
18
18
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
19
19
 
20
- const MutableEnumerable = Mixin.create(Enumerable);
20
+ const MutableEnumerable = Mixin[INTERNAL_MIXIN_CREATE](Enumerable);
21
21
 
22
22
  export { MutableEnumerable as default };
@@ -1,11 +1,11 @@
1
- import { b as setHelperManager$1 } from '../../shared-chunks/api-B_poQGXS.js';
2
- import { i as helperCapabilities } from '../../shared-chunks/api-DlJKfm_f.js';
3
- import { i as invokeHelper$1 } from '../../shared-chunks/invoke-4JGJYH7Z.js';
4
- import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-BitfXhCx.js';
5
- import { c as concat$1, g as get$1 } from '../../shared-chunks/get-CEjFJzGs.js';
6
- import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/not-Dn5s9qVZ.js';
7
- import { e as element$1 } from '../../shared-chunks/element-BmBjPjkQ.js';
8
- import { u as uniqueId$1 } from '../../shared-chunks/unique-id-BJb1p8EG.js';
1
+ import { b as setHelperManager$1 } from '../../shared-chunks/api-CoUjEXgs.js';
2
+ import { i as helperCapabilities } from '../../shared-chunks/api-DJnXAjon.js';
3
+ import { i as invokeHelper$1 } from '../../shared-chunks/invoke-BqNxG81o.js';
4
+ import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-pP7ZP_NN.js';
5
+ import { c as concat$1, g as get$1 } from '../../shared-chunks/get-B1Vq9Mmk.js';
6
+ import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/not-BRssU6nS.js';
7
+ import { e as element$1 } from '../../shared-chunks/element-CZnh4CbF.js';
8
+ import { u as uniqueId$1 } from '../../shared-chunks/unique-id-DNqsbhfh.js';
9
9
 
10
10
  /**
11
11
  @module @ember/helper
@@ -1,5 +1,5 @@
1
- import { d as setModifierManager$1 } from '../../shared-chunks/api-B_poQGXS.js';
2
- export { m as capabilities } from '../../shared-chunks/api-B_poQGXS.js';
1
+ import { d as setModifierManager$1 } from '../../shared-chunks/api-CoUjEXgs.js';
2
+ export { m as capabilities } from '../../shared-chunks/api-CoUjEXgs.js';
3
3
  export { on } from './on.js';
4
4
 
5
5
  // NOTE: this uses assignment to *require* that the `glimmerSetModifierManager`
@@ -1,4 +1,4 @@
1
- import { o as on$1 } from '../../shared-chunks/on-ov4KAucw.js';
1
+ import { o as on$1 } from '../../shared-chunks/on-BFt-Sx9A.js';
2
2
 
3
3
  // In normal TypeScript, this modifier is essentially an opaque token that just
4
4
  // needs to be importable. Declaring it with a unique interface like this,
@@ -1,6 +1,7 @@
1
1
  export { g as cacheFor } from '../../shared-chunks/computed_cache-DmYKevAP.js';
2
2
  export { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
3
3
  import '../../shared-chunks/super-BBBjgF69.js';
4
+ import '../-internals/deprecations/index.js';
4
5
  import EmberObject from './index.js';
5
6
 
6
7
  // Here we have runtime shenanigans to add debug-only errors to the class in dev
@@ -1,4 +1,4 @@
1
- import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-9ikVwsjY.js';
1
+ import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-DcvVDSJV.js';
2
2
  import { t as track, U as UPDATE_TAG, c as consumeTag } from '../../shared-chunks/cache-CofLhaS4.js';
3
3
  import { t as tagFor } from '../../shared-chunks/meta-BJtIZDir.js';
4
4
 
@@ -1,4 +1,4 @@
1
- export { C as default, e as expandProperties } from '../../shared-chunks/computed-BNdMwGhH.js';
2
- export { a as alias } from '../../shared-chunks/alias-IFzw6sv_.js';
1
+ export { C as default, e as expandProperties } from '../../shared-chunks/computed-ZvOk7SJQ.js';
2
+ export { a as alias } from '../../shared-chunks/alias-DvgufSYq.js';
3
3
  export { and, bool, deprecatingAlias, empty, equal, gt, gte, lt, lte, match, none, not, notEmpty, oneWay, or, readOnly, oneWay as reads } from './lib/computed/computed_macros.js';
4
4
  export { collect, filter, filterBy, intersect, map, mapBy, max, min, setDiff, sort, sum, union, uniq, uniqBy } from './lib/computed/reduce_computed_macros.js';
@@ -3,13 +3,13 @@ import { getOwner } from '../-internals/owner/index.js';
3
3
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
4
4
  import { meta } from '../-internals/meta/lib/meta.js';
5
5
  import '../../shared-chunks/property_get-DuDs6rLg.js';
6
- import { s as sendEvent } from '../../shared-chunks/events-DYrYz3V8.js';
7
- import { a as activateObserver } from '../../shared-chunks/observers-BmobpXAF.js';
8
- import { d as descriptorForProperty } from '../../shared-chunks/decorator-9ikVwsjY.js';
6
+ import { s as sendEvent } from '../../shared-chunks/events-3Q5Qvo6Q.js';
7
+ import { a as activateObserver } from '../../shared-chunks/observers-B1wiwQeH.js';
8
+ import { d as descriptorForProperty } from '../../shared-chunks/decorator-DcvVDSJV.js';
9
9
  import { registerDestructor, isDestroyed, isDestroying, destroy } from '../../@glimmer/destroyable/index.js';
10
10
  import '../../shared-chunks/cache-CofLhaS4.js';
11
- import '../../shared-chunks/reference-CG0yPgLy.js';
12
- import Mixin, { applyMixin } from './mixin.js';
11
+ import '../../shared-chunks/reference-CccCE8mJ.js';
12
+ import { M as Mixin, a as applyMixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-AGmJaAAY.js';
13
13
  import '../-internals/runtime/lib/mixins/action_handler.js';
14
14
  import makeArray from '../array/lib/make-array.js';
15
15
  import { OWNER } from '../../@glimmer/owner/index.js';
@@ -599,7 +599,7 @@ class CoreObject {
599
599
  // make sure that it gets properly applied. Reusing the same mixin after
600
600
  // the first `proto` call will cause it to get skipped.
601
601
  if (prototypeMixinMap.has(this)) {
602
- prototypeMixinMap.set(this, Mixin.create(this.PrototypeMixin));
602
+ prototypeMixinMap.set(this, Mixin[INTERNAL_MIXIN_CREATE](this.PrototypeMixin));
603
603
  }
604
604
  }
605
605
  }
@@ -723,7 +723,7 @@ class CoreObject {
723
723
  static get PrototypeMixin() {
724
724
  let prototypeMixin = prototypeMixinMap.get(this);
725
725
  if (prototypeMixin === undefined) {
726
- prototypeMixin = Mixin.create();
726
+ prototypeMixin = Mixin[INTERNAL_MIXIN_CREATE]();
727
727
  prototypeMixin.ownerConstructor = this;
728
728
  prototypeMixinMap.set(this, prototypeMixin);
729
729
  }
@@ -1,71 +1,3 @@
1
- import { h as hasListeners, r as removeListener, s as sendEvent, a as addListener } from '../../shared-chunks/events-DYrYz3V8.js';
2
- export { o as on } from '../../shared-chunks/events-DYrYz3V8.js';
3
- import Mixin from './mixin.js';
4
-
5
- /**
6
- @module @ember/object/evented
7
- */
8
-
9
- /**
10
- This mixin allows for Ember objects to subscribe to and emit events.
11
-
12
- ```app/utils/person.js
13
- import EmberObject from '@ember/object';
14
- import Evented from '@ember/object/evented';
15
-
16
- export default class Person extends EmberObject.extend(Evented) {
17
- greet() {
18
- // ...
19
- this.trigger('greet');
20
- }
21
- }
22
- ```
23
-
24
- ```javascript
25
- var person = Person.create();
26
-
27
- person.on('greet', function() {
28
- console.log('Our person has greeted');
29
- });
30
-
31
- person.greet();
32
-
33
- // outputs: 'Our person has greeted'
34
- ```
35
-
36
- You can also chain multiple event subscriptions:
37
-
38
- ```javascript
39
- person.on('greet', function() {
40
- console.log('Our person has greeted');
41
- }).one('greet', function() {
42
- console.log('Offer one-time special');
43
- }).off('event', this, forgetThis);
44
- ```
45
-
46
- @class Evented
47
- @public
48
- */
49
-
50
- const Evented = Mixin.create({
51
- on(name, target, method) {
52
- addListener(this, name, target, method);
53
- return this;
54
- },
55
- one(name, target, method) {
56
- addListener(this, name, target, method, true);
57
- return this;
58
- },
59
- trigger(name, ...args) {
60
- sendEvent(this, name, args);
61
- },
62
- off(name, target, method) {
63
- removeListener(this, name, target, method);
64
- return this;
65
- },
66
- has(name) {
67
- return hasListeners(this, name);
68
- }
69
- });
70
-
71
- export { Evented as default };
1
+ export { E as default } from '../../shared-chunks/evented-DYsL5t87.js';
2
+ import '../../shared-chunks/mixin-AGmJaAAY.js';
3
+ export { o as on } from '../../shared-chunks/events-3Q5Qvo6Q.js';
@@ -1 +1,17 @@
1
- export { a as addListener, r as removeListener, s as sendEvent } from '../../shared-chunks/events-DYrYz3V8.js';
1
+ import { a as addListener$1, r as removeListener$1, s as sendEvent$1 } from '../../shared-chunks/events-3Q5Qvo6Q.js';
2
+ import { deprecateUntil, DEPRECATIONS } from '../-internals/deprecations/index.js';
3
+
4
+ function addListener(obj, eventName, target, method, once, sync) {
5
+ deprecateUntil('Importing `addListener` from `@ember/object/events` is deprecated. Use native JavaScript events or a dedicated event library instead.', DEPRECATIONS.DEPRECATE_EVENTED);
6
+ return addListener$1(obj, eventName, target, method, once, sync);
7
+ }
8
+ function removeListener(obj, eventName, target, method) {
9
+ deprecateUntil('Importing `removeListener` from `@ember/object/events` is deprecated. Use native JavaScript events or a dedicated event library instead.', DEPRECATIONS.DEPRECATE_EVENTED);
10
+ return removeListener$1(obj, eventName, target, method);
11
+ }
12
+ const sendEvent = (...args) => {
13
+ deprecateUntil('Importing `sendEvent` from `@ember/object/events` is deprecated. Use native JavaScript events or a dedicated event library instead.', DEPRECATIONS.DEPRECATE_EVENTED);
14
+ return sendEvent$1(...args);
15
+ };
16
+
17
+ export { addListener, removeListener, sendEvent };
@@ -1,15 +1,15 @@
1
1
  import { E as ENV } from '../../shared-chunks/env-DXxsTFkM.js';
2
- import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-9ikVwsjY.js';
3
- import { e as expandProperties } from '../../shared-chunks/computed-BNdMwGhH.js';
4
- export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-BNdMwGhH.js';
2
+ import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-DcvVDSJV.js';
3
+ import { e as expandProperties } from '../../shared-chunks/computed-ZvOk7SJQ.js';
4
+ export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-ZvOk7SJQ.js';
5
5
  import { g as getFactoryFor } from '../../shared-chunks/container-BYOnjnwz.js';
6
6
  import { s as setObservers } from '../../shared-chunks/super-BBBjgF69.js';
7
7
  import CoreObject from './core.js';
8
8
  import Observable from './observable.js';
9
9
  export { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
10
- export { s as set, t as trySet } from '../../shared-chunks/property_set-BmAQ0MGK.js';
10
+ export { s as set, t as trySet } from '../../shared-chunks/property_set-CVmdjPdh.js';
11
11
  export { g as getProperties } from '../../shared-chunks/get_properties-CkJ_mhLz.js';
12
- export { s as setProperties } from '../../shared-chunks/set_properties-DYiBfzdk.js';
12
+ export { s as setProperties } from '../../shared-chunks/set_properties-BObIgkE-.js';
13
13
 
14
14
  /**
15
15
  @module @ember/object
@@ -1,4 +1,5 @@
1
1
  export { g as cacheFor } from '../../shared-chunks/computed_cache-DmYKevAP.js';
2
2
  export { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
3
3
  import '../../shared-chunks/super-BBBjgF69.js';
4
+ import '../-internals/deprecations/index.js';
4
5
  import './index.js';
@@ -1,7 +1,7 @@
1
- import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-BNdMwGhH.js';
2
- import { a as alias } from '../../../../shared-chunks/alias-IFzw6sv_.js';
1
+ import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-ZvOk7SJQ.js';
2
+ import { a as alias } from '../../../../shared-chunks/alias-DvgufSYq.js';
3
3
  import { g as get } from '../../../../shared-chunks/property_get-DuDs6rLg.js';
4
- import { s as set } from '../../../../shared-chunks/property_set-BmAQ0MGK.js';
4
+ import { s as set } from '../../../../shared-chunks/property_set-CVmdjPdh.js';
5
5
  import isEmpty from '../../../utils/lib/is_empty.js';
6
6
  import isNone from '../../../utils/lib/is_none.js';
7
7
 
@@ -1,4 +1,4 @@
1
- import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-BNdMwGhH.js';
1
+ import { c as computed, g as autoComputed } from '../../../../shared-chunks/computed-ZvOk7SJQ.js';
2
2
  import { g as get } from '../../../../shared-chunks/property_get-DuDs6rLg.js';
3
3
  import compare from '../../../utils/lib/compare.js';
4
4
  import EmberArray, { A, uniqBy as uniqBy$1 } from '../../../array/index.js';