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,13 +1,14 @@
1
1
  import { u as unwrap, e as expect, a as isIndexable, S as StackImpl } from './collections-DPkjqeA3.js';
2
2
  import { a as unwrapHandle } from './template-BRrQR6KS.js';
3
- import { U as UNDEFINED_REFERENCE, c as createComputeRef, v as valueForRef, f as childRefFor, T as TRUE_REFERENCE, F as FALSE_REFERENCE, i as isConstRef, u as updateRef, a as createConstRef } from './reference-BqOLhKFy.js';
3
+ import { U as UNDEFINED_REFERENCE, c as createComputeRef, v as valueForRef, f as childRefFor, T as TRUE_REFERENCE, F as FALSE_REFERENCE, i as isConstRef, u as updateRef, a as createConstRef } from './reference-De0V3Vxp.js';
4
4
  import { t as track, U as UPDATE_TAG, e as debug, B as resetTracking, o as beginTrackFrame, s as endTrackFrame } from './cache-DGDPVCpC.js';
5
5
  import { a as assert } from './assert-Zqc4wiAV.js';
6
6
  import { P as ProgramImpl } from './program-DlgjqLa6.js';
7
- import { D as DebugRenderTreeImpl, i as isArgumentError, j as isCurriedType, d as curry, A as APPEND_OPCODES, h as check, k as resolveCurriedValue, f as reifyPositional, l as AssertFilter, V as VMArgumentsImpl, m as externs, J as JumpIfNotModifiedOpcode, B as BeginTrackFrameOpcode, n as EndTrackFrameOpcode } from './arguments-DniR8eF2.js';
8
- import { B as BLACKLIST_TABLE, f as DOMOperations, D as DOMTreeConstruction, N as NewTreeBuilder } from './api-Dz70AUL_.js';
7
+ import { D as DebugRenderTreeImpl, i as isArgumentError, j as isCurriedType, d as curry, A as APPEND_OPCODES, h as check, k as resolveCurriedValue, f as reifyPositional, l as AssertFilter, V as VMArgumentsImpl, m as externs, J as JumpIfNotModifiedOpcode, B as BeginTrackFrameOpcode, n as EndTrackFrameOpcode } from './arguments-LEaMCStR.js';
8
+ import { B as BLACKLIST_TABLE, f as DOMOperations, D as DOMTreeConstruction, N as NewTreeBuilder } from './api-CK8FxDZV.js';
9
9
  import { a as assign } from './object-utils-AijlD-JH.js';
10
10
  import { associateDestroyableChild, _hasDestroyableChildren, destroy, destroyChildren, registerDestructor } from '../@glimmer/destroyable/index.js';
11
+ import { D as DESTROYABLE_META_KEY } from './destroyable-key-BsfVBM7f.js';
11
12
  import { toBool, debugAssert, assertGlobalContextWasSet } from '../@glimmer/global-context/index.js';
12
13
  import { createIteratorRef, createIteratorItemRef } from '../@glimmer/reference/index.js';
13
14
  import { r as reverse } from './array-utils-CZQxrdD3.js';
@@ -16,7 +17,7 @@ import { a as VM_RETURN_TO_OP, b as VM_RETURN_OP, c as VM_JUMP_OP, d as VM_INVOK
16
17
  import { a as CURRIED_COMPONENT, b as CURRIED_HELPER } from './curried-BZnYakIg.js';
17
18
  import { ah as VM_CURRY_OP, p as decodeHandle, ai as VM_DYNAMIC_HELPER_OP, aj as VM_HELPER_OP, ak as VM_GET_VARIABLE_OP, al as VM_SET_VARIABLE_OP, am as VM_SET_BLOCK_OP, an as VM_ROOT_SCOPE_OP, ao as VM_GET_PROPERTY_OP, ap as VM_GET_BLOCK_OP, aq as VM_SPREAD_BLOCK_OP, ar as VM_HAS_BLOCK_OP, as as VM_HAS_BLOCK_PARAMS_OP, at as VM_CONCAT_OP, au as VM_IF_INLINE_OP, av as VM_NOT_OP, aw as VM_GET_DYNAMIC_VAR_OP, ax as VM_LOG_OP, a as VM_CONTENT_TYPE_OP, ay as VM_DYNAMIC_CONTENT_TYPE_OP, c as VM_APPEND_HTML_OP, g as VM_APPEND_SAFE_HTML_OP, d as VM_APPEND_TEXT_OP, h as VM_APPEND_DOCUMENT_FRAGMENT_OP, i as VM_APPEND_NODE_OP, az as VM_DEBUGGER_OP, aA as VM_ENTER_LIST_OP, aB as VM_EXIT_LIST_OP, aC as VM_ITERATE_OP } from './syscall-ops-CkPT1Kfx.js';
18
19
  import { d as debugToString } from './debug-to-string-C6LsA_qz.js';
19
- import { a as getInternalHelperManager, c as hasInternalComponentManager, d as hasInternalHelperManager } from './api-DuLOZMO_.js';
20
+ import { a as getInternalHelperManager, c as hasInternalComponentManager, d as hasInternalHelperManager } from './api-PyzZqscb.js';
20
21
  import { ContentType } from '../@glimmer/vm/index.js';
21
22
  import { b as isEmpty, d as isString, s as shouldCoerce, i as isSafeString, e as isFragment, f as isNode, m as move, c as clear } from './normalize-CKySQVU7.js';
22
23
 
@@ -949,6 +950,7 @@ class UpdatingVM {
949
950
  }
950
951
  }
951
952
  class BlockOpcode {
953
+ [DESTROYABLE_META_KEY];
952
954
  children;
953
955
  bounds;
954
956
  constructor(state, context, bounds, children) {
@@ -1205,6 +1207,7 @@ class UpdatingVMFrame {
1205
1207
  }
1206
1208
 
1207
1209
  class RenderResultImpl {
1210
+ [DESTROYABLE_META_KEY];
1208
1211
  constructor(env, updating, bounds, drop) {
1209
1212
  this.env = env;
1210
1213
  this.updating = updating;
@@ -1293,8 +1296,16 @@ class EvaluationStackImpl {
1293
1296
  }
1294
1297
  }
1295
1298
 
1299
+ /*
1300
+ * The VM's own root destroyable, on the fast path like the block opcodes.
1301
+ *
1302
+ * Introduction and background in https://github.com/emberjs/ember.js/pull/21571
1303
+ */
1304
+ class Drop {
1305
+ [DESTROYABLE_META_KEY];
1306
+ }
1296
1307
  class Stacks {
1297
- drop = {};
1308
+ drop = new Drop();
1298
1309
  scope = new StackImpl();
1299
1310
  dynamicScope = new StackImpl();
1300
1311
  updating = new StackImpl();
@@ -1,5 +1,5 @@
1
1
  import { C as ConcreteBounds } from './normalize-CKySQVU7.js';
2
- import { N as NewTreeBuilder } from './api-Dz70AUL_.js';
2
+ import { N as NewTreeBuilder } from './api-CK8FxDZV.js';
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */
5
5
 
@@ -1,5 +1,5 @@
1
- import { f as changeProperties } from './computed-BNdMwGhH.js';
2
- import { s as set } from './property_set-BmAQ0MGK.js';
1
+ import { f as changeProperties } from './computed-CXIM4Sjc.js';
2
+ import { s as set } from './property_set-CxxTalOq.js';
3
3
 
4
4
  /**
5
5
  @module @ember/object
@@ -1,29 +1,30 @@
1
1
  import { privatize } from '../@ember/-internals/container/index.js';
2
2
  import { getOwner } from '../@ember/-internals/owner/index.js';
3
3
  import '../@ember/debug/index.js';
4
- import { I as Input, T as Textarea } from './textarea-DvS6Xmdh.js';
4
+ import { I as Input, T as Textarea } from './textarea-Obtv2iCY.js';
5
5
  import { LinkTo } from '../@ember/routing/index.js';
6
- import { i as inTransaction, d as renderMain } from './render-D_Rawf-r.js';
7
- import { c as clientBuilder } from './api-Dz70AUL_.js';
8
- import { r as rehydrationBuilder } from './rehydrate-builder-CsnkZkur.js';
9
- import { s as serializeBuilder } from './serialize-builder-D1oAeiyl.js';
6
+ import { i as inTransaction, d as renderMain } from './render-CNXCIKfb.js';
7
+ import { c as clientBuilder } from './api-CK8FxDZV.js';
8
+ import { r as rehydrationBuilder } from './rehydrate-builder-B3wE1O5a.js';
9
+ import { s as serializeBuilder } from './serialize-builder-v4amW_JS.js';
10
10
  import { g as guidFor } from './guid-Cbq2sNV_.js';
11
11
  import { getViewId, getViewElement } from '../@ember/-internals/views/lib/system/utils.js';
12
+ import { sendCoreViewEvent } from '../@ember/-internals/views/lib/views/core-view-utils.js';
12
13
  import { associateDestroyableChild, isDestroyed, destroy, isDestroying } from '../@glimmer/destroyable/index.js';
13
- import { a as createConstRef, v as valueForRef, c as createComputeRef, h as createDebugAliasRef, g as childRefFromParts, u as updateRef, U as UNDEFINED_REFERENCE } from './reference-BqOLhKFy.js';
14
- import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-DniR8eF2.js';
14
+ import { a as createConstRef, v as valueForRef, c as createComputeRef, h as createDebugAliasRef, g as childRefFromParts, u as updateRef, U as UNDEFINED_REFERENCE } from './reference-De0V3Vxp.js';
15
+ import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-LEaMCStR.js';
15
16
  import { d as dict } from './collections-DPkjqeA3.js';
16
- import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, p as processComponentInitializationAssertions, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-BCD_vyHq.js';
17
- import { O as OutletComponent, c as createRootOutlet } from './outlet-BO5-QFmm.js';
17
+ import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, p as processComponentInitializationAssertions, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-DbGgDeux.js';
18
+ import { O as OutletComponent, c as createRootOutlet } from './outlet-wIOlGMfN.js';
18
19
  import { g as getFactoryFor } from './container-BzzHmCNj.js';
19
20
  import { _instrumentStart } from '../@ember/instrumentation/index.js';
20
21
  import { c as capabilityFlagsFrom } from './capabilities-CajW4QjE.js';
21
22
  import { C as CONSTANT_TAG, c as consumeTag, D as DIRTY_TAG$1, r as createTag } from './cache-DGDPVCpC.js';
22
23
  import { assert } from '../@ember/debug/lib/assert.js';
23
- import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-Bv9SQpEx.js';
24
+ import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-D8La4_AP.js';
24
25
  import { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
25
- import { i as internalHelper } from './internal-helper-CKrni0b_.js';
26
- import { c as hasInternalComponentManager } from './api-DuLOZMO_.js';
26
+ import { i as internalHelper } from './internal-helper-BkRVvV7p.js';
27
+ import { c as hasInternalComponentManager } from './api-PyzZqscb.js';
27
28
  import { schedule } from '../@ember/runloop/index.js';
28
29
  import { t as templateFactory } from './index-BYUSIu_W.js';
29
30
 
@@ -55,11 +56,11 @@ class RootComponentManager extends CurlyComponentManager {
55
56
  // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components
56
57
  if (!hasWrappedElement) {
57
58
  if (isInteractive) {
58
- component.trigger('willRender');
59
+ sendCoreViewEvent(component, 'willRender');
59
60
  }
60
61
  component._transitionTo('hasElement');
61
62
  if (isInteractive) {
62
- component.trigger('willInsertElement');
63
+ sendCoreViewEvent(component, 'willInsertElement');
63
64
  }
64
65
  }
65
66
  {
@@ -874,7 +875,7 @@ class Renderer extends BaseRenderer {
874
875
  view._transitionTo('destroying');
875
876
  this.cleanupRootFor(view);
876
877
  if (this.state.isInteractive) {
877
- view.trigger('didDestroyElement');
878
+ sendCoreViewEvent(view, 'didDestroyElement');
878
879
  }
879
880
  }
880
881
  get _roots() {
@@ -1,5 +1,5 @@
1
- import { s as setInternalComponentManager } from './api-DuLOZMO_.js';
2
- import { N as NULL_REFERENCE } from './reference-BqOLhKFy.js';
1
+ import { s as setInternalComponentManager } from './api-PyzZqscb.js';
2
+ import { N as NULL_REFERENCE } from './reference-De0V3Vxp.js';
3
3
 
4
4
  const CAPABILITIES = {
5
5
  dynamicLayout: false,
@@ -1,14 +1,14 @@
1
1
  import { h as hasDOM } from './index-BGP1rw3B.js';
2
2
  import { warn } from '../@ember/debug/index.js';
3
3
  import { action } from '../@ember/object/index.js';
4
- import { i as isConstRef, v as valueForRef, d as isUpdatableRef, u as updateRef } from './reference-BqOLhKFy.js';
4
+ import { i as isConstRef, v as valueForRef, d as isUpdatableRef, u as updateRef } from './reference-De0V3Vxp.js';
5
5
  import { u as untrack } from './cache-DGDPVCpC.js';
6
6
  import { on } from '../@ember/modifier/on.js';
7
7
  import { t as templateFactory } from './index-BYUSIu_W.js';
8
- import { I as InternalComponent, o as opaquify } from './internal-DTOXyEGM.js';
8
+ import { I as InternalComponent, o as opaquify } from './internal-CZjbPyX3.js';
9
9
  import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from './runtime-CYyqkz5q-BOdRhmsS.js';
10
10
  import { assert } from '../@ember/debug/lib/assert.js';
11
- import { t as tracked } from './tracked-57EW14Ny.js';
11
+ import { t as tracked } from './tracked-CLY9ttD5.js';
12
12
 
13
13
  const InputTemplate = templateFactory(
14
14
  /*
@@ -4,7 +4,7 @@ import '../@ember/debug/index.js';
4
4
  import { c as consumeTag, u as untrack } from './cache-DGDPVCpC.js';
5
5
  import { d as dirtyTagFor, t as tagFor } from './meta-BqC7f9Ia.js';
6
6
  import { t as trackedValue, a as trackedData } from './tracked-value-DhyJmrhG.js';
7
- import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './chain-tags-uWSImHzB.js';
7
+ import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './chain-tags-uYrtCZq1.js';
8
8
  import { s as setClassicDecorator, i as isElementDescriptor, C as COMPUTED_SETTERS } from './decorator-B5Uh5NFI.js';
9
9
  import { assert } from '../@ember/debug/lib/assert.js';
10
10
 
@@ -1,5 +1,5 @@
1
- import { a as createConstRef } from './reference-BqOLhKFy.js';
2
- import { i as internalHelper } from './internal-helper-CKrni0b_.js';
1
+ import { a as createConstRef } from './reference-De0V3Vxp.js';
2
+ import { i as internalHelper } from './internal-helper-BkRVvV7p.js';
3
3
 
4
4
  const uniqueId = internalHelper(() => {
5
5
  // SAFETY: glimmer-vm should change the signature of createUnboundRef to use a generic
@@ -119,6 +119,51 @@ const DEPRECATIONS = {
119
119
  },
120
120
  until: '8.0.0',
121
121
  url: 'https://deprecations.emberjs.com/id/deprecate-target-action-support'
122
+ }),
123
+ DEPRECATE_EVENTED: deprecation({
124
+ id: 'deprecate-evented',
125
+ for: 'ember-source',
126
+ since: {
127
+ available: '7.3.0'
128
+ },
129
+ until: '8.0.0',
130
+ url: 'https://deprecations.emberjs.com/id/deprecate-evented'
131
+ }),
132
+ DEPRECATE_MIXINS: deprecation({
133
+ id: 'deprecate-mixins',
134
+ for: 'ember-source',
135
+ since: {
136
+ available: '7.4.0'
137
+ },
138
+ until: '8.0.0',
139
+ url: 'https://deprecations.emberjs.com/id/deprecate-mixins'
140
+ }),
141
+ DEPRECATE_ARRAY_PROXY: deprecation({
142
+ id: 'deprecate-array-proxy',
143
+ for: 'ember-source',
144
+ since: {
145
+ available: '7.4.0'
146
+ },
147
+ until: '8.0.0',
148
+ url: 'https://deprecations.emberjs.com/id/deprecate-array-proxy'
149
+ }),
150
+ DEPRECATE_OBJECT_PROXY: deprecation({
151
+ id: 'deprecate-object-proxy',
152
+ for: 'ember-source',
153
+ since: {
154
+ available: '7.4.0'
155
+ },
156
+ until: '8.0.0',
157
+ url: 'https://deprecations.emberjs.com/id/deprecate-object-proxy'
158
+ }),
159
+ DEPRECATE_PROMISE_PROXY_MIXIN: deprecation({
160
+ id: 'deprecate-promise-proxy-mixin',
161
+ for: 'ember-source',
162
+ since: {
163
+ available: '7.4.0'
164
+ },
165
+ until: '8.0.0',
166
+ url: 'https://deprecations.emberjs.com/id/deprecate-promise-proxy-mixin'
122
167
  })
123
168
  };
124
169
  function deprecateUntil(message, deprecation) {
@@ -1,18 +1,18 @@
1
1
  export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-kwuZeaNz.js';
2
- export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-DeyoFe6Q.js';
3
- export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-B-sssXGa.js';
2
+ export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-Czh4z4t2.js';
3
+ export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-DbUSajBD.js';
4
4
  export { LinkTo } from '../../routing/index.js';
5
5
  export { default as Component, setComponentManager } from '../../component/index.js';
6
6
  export { default as Helper, helper } from '../../component/helper.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 { D as DOMChanges } from '../../../shared-chunks/render-BAVl5E6X.js';
9
- export { D as DOMTreeConstruction } from '../../../shared-chunks/api-DzOa0Acr.js';
10
- export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-n_8RCUj9.js';
8
+ export { D as DOMChanges } from '../../../shared-chunks/render-C_iak8Db.js';
9
+ export { D as DOMTreeConstruction } from '../../../shared-chunks/api-B3M8aF1d.js';
10
+ export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-B9bh-2Dy.js';
11
11
  export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
12
- export { e as element } from '../../../shared-chunks/element-BmBjPjkQ.js';
13
- export { u as uniqueId } from '../../../shared-chunks/unique-id-BJb1p8EG.js';
14
- export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-D8cl-pfl.js';
15
- export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-B_poQGXS.js';
12
+ export { e as element } from '../../../shared-chunks/element-CZnh4CbF.js';
13
+ export { u as uniqueId } from '../../../shared-chunks/unique-id-DNqsbhfh.js';
14
+ export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-Dncpaycf.js';
15
+ export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-CoUjEXgs.js';
16
16
 
17
17
  // STATE within a module is frowned upon, this exists
18
18
  // to support Ember.TEMPLATES but shield ember internals from this legacy
@@ -1,23 +1,23 @@
1
- export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, i as autoComputed, b as beginPropertyChanges, f as changeProperties, c as computed, h as defineDecorator, d as defineProperty, g as defineValue, a as endPropertyChanges, e as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-BNdMwGhH.js';
1
+ export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, g as autoComputed, b as beginPropertyChanges, f as changeProperties, c as computed, h as defineDecorator, d as defineProperty, i as defineValue, a as endPropertyChanges, e as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-ZvOk7SJQ.js';
2
2
  export { g as getCachedValueFor } from '../../../shared-chunks/computed_cache-DmYKevAP.js';
3
- export { a as alias } from '../../../shared-chunks/alias-IFzw6sv_.js';
3
+ export { a as alias } from '../../../shared-chunks/alias-DvgufSYq.js';
4
4
  import { g as get } from '../../../shared-chunks/property_get-DuDs6rLg.js';
5
5
  export { P as PROXY_CONTENT, _ as _getPath, a as _getProp, h as hasUnknownProperty } from '../../../shared-chunks/property_get-DuDs6rLg.js';
6
- import { s as set } from '../../../shared-chunks/property_set-BmAQ0MGK.js';
7
- export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-BmAQ0MGK.js';
8
- export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-CnXdmzOG.js';
9
- export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-DYrYz3V8.js';
10
- 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-9ikVwsjY.js';
6
+ import { s as set } from '../../../shared-chunks/property_set-CVmdjPdh.js';
7
+ export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-CVmdjPdh.js';
8
+ export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-CK__rqeu.js';
9
+ export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-3Q5Qvo6Q.js';
10
+ export { b as ComputedDescriptor, a as descriptorForDecorator, d as descriptorForProperty, c as isClassicDecorator, i as isElementDescriptor, m as makeComputedDecorator, n as nativeDescDecorator, s as setClassicDecorator } from '../../../shared-chunks/decorator-DcvVDSJV.js';
11
11
  export { L as Libraries, a as libraries } from '../../../shared-chunks/libraries-Dx5DiBJv.js';
12
12
  export { g as getProperties } from '../../../shared-chunks/get_properties-CkJ_mhLz.js';
13
- export { s as setProperties } from '../../../shared-chunks/set_properties-DYiBfzdk.js';
14
- 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-BmobpXAF.js';
15
- export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-DqQ0XV7k.js';
16
- export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-B2J7DsxO.js';
17
- export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-DvOpYI0o.js';
13
+ export { s as setProperties } from '../../../shared-chunks/set_properties-BObIgkE-.js';
14
+ 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-B1wiwQeH.js';
15
+ export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-4vB_6fM8.js';
16
+ export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-BlsXEpE-.js';
17
+ export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-z77O-F0O.js';
18
18
  export { cached } from '../../../@glimmer/tracking/index.js';
19
19
  export { e as createCache, g as getValue, i as isConst } from '../../../shared-chunks/cache-CofLhaS4.js';
20
- 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';
20
+ 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';
21
21
 
22
22
  /**
23
23
  @module ember
@@ -1,12 +1,12 @@
1
1
  import { meta } from '../../../meta/lib/meta.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
  import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
4
- import { s as set } from '../../../../../shared-chunks/property_set-BmAQ0MGK.js';
5
- import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-BNdMwGhH.js';
6
- import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-B2J7DsxO.js';
4
+ import { s as set } from '../../../../../shared-chunks/property_set-CVmdjPdh.js';
5
+ import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-ZvOk7SJQ.js';
6
+ import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-BlsXEpE-.js';
7
7
  import { s as setProxy } from '../../../../../shared-chunks/is_proxy-Bzg0d4m4.js';
8
8
  import { i as isObject } from '../../../../../shared-chunks/spec-BXl1reqK.js';
9
- import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-CCoFtYLS.js';
9
+ import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-BHODnDyt.js';
10
10
  import { U as UPDATE_TAG, d as combine } from '../../../../../shared-chunks/cache-CofLhaS4.js';
11
11
  import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-BJtIZDir.js';
12
12
 
@@ -46,7 +46,7 @@ function customTagForProxy(proxy, key, addMandatorySetter) {
46
46
  @private
47
47
  */
48
48
 
49
- const ProxyMixin = /*@__PURE__*/Mixin.create({
49
+ const ProxyMixin = /*@__PURE__*/Mixin[INTERNAL_MIXIN_CREATE]({
50
50
  /**
51
51
  The object whose properties will be forwarded.
52
52
  @property content
@@ -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
  import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
3
3
  import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
4
4
 
@@ -19,7 +19,7 @@ import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
19
19
  @private
20
20
  */
21
21
 
22
- const ActionHandler = Mixin.create({
22
+ const ActionHandler = Mixin[INTERNAL_MIXIN_CREATE]({
23
23
  mergedProperties: ['actions'],
24
24
  /**
25
25
  The collection of functions, keyed by name, available on this
@@ -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
  import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
3
3
 
4
4
  /**
@@ -17,7 +17,7 @@ import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
17
17
  @private
18
18
  */
19
19
 
20
- const Comparable = Mixin.create({
20
+ const Comparable = Mixin[INTERNAL_MIXIN_CREATE]({
21
21
  /**
22
22
  __Required.__ You must implement this method to apply this mixin.
23
23
  Override to return the result of the comparison of the two parameters. The
@@ -1,5 +1,5 @@
1
1
  import { join, schedule } from '../../../../runloop/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
  // This is defined as a separate interface so that it can be used in the definition of
5
5
  // `Owner` without also including the `__container__` property.
@@ -13,7 +13,7 @@ import Mixin from '../../../../object/mixin.js';
13
13
  @private
14
14
  */
15
15
 
16
- const ContainerProxyMixin = Mixin.create({
16
+ const ContainerProxyMixin = Mixin[INTERNAL_MIXIN_CREATE]({
17
17
  /**
18
18
  The container stores state.
19
19
  @private
@@ -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
@@ -14,7 +14,7 @@ import Mixin from '../../../../object/mixin.js';
14
14
  @private
15
15
  */
16
16
 
17
- const RegistryProxyMixin = Mixin.create({
17
+ const RegistryProxyMixin = Mixin[INTERNAL_MIXIN_CREATE]({
18
18
  __registry__: null,
19
19
  resolveRegistration(fullName) {
20
20
  return this.__registry__.resolve(fullName);
@@ -1,7 +1,7 @@
1
1
  import { context } from '../../../environment/index.js';
2
2
  import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
3
- import { c as computed } from '../../../../../shared-chunks/computed-BNdMwGhH.js';
4
- import Mixin from '../../../../object/mixin.js';
3
+ import { c as computed } from '../../../../../shared-chunks/computed-ZvOk7SJQ.js';
4
+ import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-AGmJaAAY.js';
5
5
  import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
6
6
 
7
7
  /**
@@ -22,7 +22,7 @@ doing more complex event handling in Components.
22
22
  @private
23
23
  */
24
24
 
25
- const TargetActionSupport = Mixin.create({
25
+ const TargetActionSupport = Mixin[INTERNAL_MIXIN_CREATE]({
26
26
  target: null,
27
27
  action: null,
28
28
  actionContext: null,
@@ -1,6 +1,7 @@
1
1
  export { addChildView, clearElementView, clearViewElement, constructStyleDeprecationMessage, getChildViews, getElementView, getRootViews, getViewBoundingClientRect, getViewBounds, getViewClientRects, getViewElement, getViewId, isSimpleClick, setElementView, setViewElement } from './lib/system/utils.js';
2
2
  export { default as EventDispatcher } from './lib/system/event_dispatcher.js';
3
3
  export { default as CoreView } from './lib/views/core_view.js';
4
+ export { hasCoreViewListener, sendCoreViewEvent } from './lib/views/core-view-utils.js';
4
5
  export { default as ActionSupport } from './lib/mixins/action_support.js';
5
6
  export { MUTABLE_CELL } from './lib/compat/attrs.js';
6
7
  export { default as ViewStates } from './lib/views/states.js';
@@ -1,5 +1,5 @@
1
1
  import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.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
  import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
4
4
 
5
5
  /**
@@ -12,7 +12,7 @@ import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
12
12
  @private
13
13
  */
14
14
 
15
- const ActionSupport = Mixin.create({
15
+ const ActionSupport = Mixin[INTERNAL_MIXIN_CREATE]({
16
16
  send(actionName, ...args) {
17
17
  deprecateUntil(`Calling \`.send()\` on ${this} is deprecated. Invoke the corresponding method directly.`, DEPRECATIONS.DEPRECATE_TARGET_ACTION_SUPPORT);
18
18
  let action = this.actions && this.actions[actionName];
@@ -1,5 +1,5 @@
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 EmberObject from '../../../../object/index.js';
4
4
  import { getElementView } from './utils.js';
5
5
 
@@ -0,0 +1,14 @@
1
+ import { h as hasListeners, s as sendEvent } from '../../../../../shared-chunks/events-3Q5Qvo6Q.js';
2
+
3
+ function sendCoreViewEvent(view, name, args = []) {
4
+ sendEvent(view, name, args);
5
+ let method = view[name];
6
+ if (typeof method === 'function') {
7
+ return method.apply(view, args);
8
+ }
9
+ }
10
+ function hasCoreViewListener(view, name) {
11
+ return typeof view[name] === 'function' || hasListeners(view, name);
12
+ }
13
+
14
+ export { hasCoreViewListener, sendCoreViewEvent };
@@ -1,14 +1,18 @@
1
- import { i as inject } from '../../../../../shared-chunks/injected_property-DqQ0XV7k.js';
1
+ import { meta } from '../../../meta/lib/meta.js';
2
+ import { i as inject } from '../../../../../shared-chunks/injected_property-4vB_6fM8.js';
3
+ import { E as Evented, e as eventedOn, a as eventedOne, b as eventedTrigger, c as eventedOff, d as eventedHas } from '../../../../../shared-chunks/evented-DYsL5t87.js';
2
4
  import ActionHandler from '../../../runtime/lib/mixins/action_handler.js';
3
- import Evented from '../../../../object/evented.js';
4
5
  import { FrameworkObject } from '../../../../object/-internals.js';
5
6
  import states from './states.js';
6
7
  import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../../../../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
7
8
 
8
- class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
9
+ class CoreView extends FrameworkObject.extend(ActionHandler) {
10
+ static {
11
+ // The deprecated Evented mixin is no longer applied, but instances still
12
+ // provide its methods, so `Evented.detect` must keep returning true.
13
+ meta(this.prototype).addMixin(Evented);
14
+ }
9
15
  isView = true;
10
- _superTrigger;
11
- _superHas;
12
16
 
13
17
  /**
14
18
  If the view is currently inserted into the DOM of a parent view, this
@@ -21,15 +25,6 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
21
25
 
22
26
  init(properties) {
23
27
  super.init(properties);
24
-
25
- // Handle methods from Evented
26
- // The native class inheritance will not work for mixins. To work around this,
27
- // we copy the existing trigger and has methods provided by the mixin and swap in the
28
- // new ones from our class.
29
- this._superTrigger = this.trigger;
30
- this.trigger = this._trigger;
31
- this._superHas = this.has;
32
- this.has = this._has;
33
28
  this.parentView ??= null;
34
29
  this._state = 'preRender';
35
30
  this._currentState = this._states.preRender;
@@ -44,6 +39,14 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
44
39
  hash['view'] = this;
45
40
  return hash;
46
41
  }
42
+ on(name, target, method) {
43
+ eventedOn(this, name, target, method);
44
+ return this;
45
+ }
46
+ one(name, target, method) {
47
+ eventedOne(this, name, target, method);
48
+ return this;
49
+ }
47
50
 
48
51
  /**
49
52
  Override the default event firing from `Evented` to
@@ -52,18 +55,19 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
52
55
  @param name {String}
53
56
  @private
54
57
  */
55
- // Changed to `trigger` on init
56
- _trigger(name, ...args) {
57
- this._superTrigger(name, ...args);
58
+ trigger(name, ...args) {
59
+ eventedTrigger(this, name, args);
58
60
  let method = this[name];
59
61
  if (typeof method === 'function') {
60
62
  return method.apply(this, args);
61
63
  }
62
64
  }
63
-
64
- // Changed to `has` on init
65
- _has(name) {
66
- return typeof this[name] === 'function' || this._superHas(name);
65
+ off(name, target, method) {
66
+ eventedOff(this, name, target, method);
67
+ return this;
68
+ }
69
+ has(name) {
70
+ return typeof this[name] === 'function' || eventedHas(this, name);
67
71
  }
68
72
  static isViewFactory = true;
69
73
  }
@@ -1,5 +1,6 @@
1
1
  import { flaggedInstrument } from '../../../../instrumentation/index.js';
2
2
  import { join } from '../../../../runloop/index.js';
3
+ import { hasCoreViewListener, sendCoreViewEvent } from './core-view-utils.js';
3
4
 
4
5
  const DEFAULT = Object.freeze({
5
6
  // appendChild is only legal while rendering the buffer.
@@ -26,12 +27,14 @@ const HAS_ELEMENT = Object.freeze({
26
27
  },
27
28
  // Handle events from `Ember.EventDispatcher`
28
29
  handleEvent(view, eventName, event) {
29
- if (view.has(eventName)) {
30
+ if (hasCoreViewListener(view, eventName)) {
30
31
  // Handler should be able to re-dispatch events, so we don't
31
32
  // preventDefault or stopPropagation.
32
33
  return flaggedInstrument(`interaction.${eventName}`, {
33
34
  }, () => {
34
- return join(view, view.trigger, eventName, event);
35
+ return join(() => {
36
+ return sendCoreViewEvent(view, eventName, [event]);
37
+ });
35
38
  });
36
39
  } else {
37
40
  return true; // continue event propagation
@@ -23,7 +23,7 @@ import BucketCache from '../routing/lib/cache.js';
23
23
  import ApplicationInstance from './instance.js';
24
24
  import Engine, { buildInitializerMethod } from '../engine/index.js';
25
25
  import { privatize } from '../-internals/container/index.js';
26
- import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-DeyoFe6Q.js';
26
+ import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-Czh4z4t2.js';
27
27
  import RouterService from '../routing/router-service.js';
28
28
 
29
29
  /**