ember-source 7.3.0 → 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-BVmnQtAM.js → arguments-LEaMCStR.js} +2 -2
  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-qZIwixUW.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-BVBR6Afa.js → get-fzmvcT9R.js} +3 -3
  77. package/dist/dev/packages/shared-chunks/{hash-BcOgEgJg.js → hash-D1O4fZ99.js} +3 -3
  78. package/dist/dev/packages/shared-chunks/{index-COgCjiy-.js → index-D8La4_AP.js} +37 -13
  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-BzXY_4h3.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-CmLRAsFE.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-DXmOUOBH.js → on-Dfya_9b_.js} +3 -3
  88. package/dist/dev/packages/shared-chunks/{outlet-D6v6ZBvX.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-B5RULomD.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-CVtsD0q2.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-Carzx7C4.js → arguments-xjTAZ6VE.js} +2 -2
  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-xbTtts9R.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-ZhOO_1qS.js → get-B1Vq9Mmk.js} +3 -3
  178. package/dist/prod/packages/shared-chunks/{hash-b373B4IL.js → hash-pP7ZP_NN.js} +3 -3
  179. package/dist/prod/packages/shared-chunks/{index-B-2NDHmt.js → index-Dncpaycf.js} +37 -13
  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-B-r9UQVH.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-DOTpWiG3.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-B-5KCq9L.js → on-BFt-Sx9A.js} +3 -3
  189. package/dist/prod/packages/shared-chunks/{outlet-DDxtxFLV.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-OqKpH1Pf.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-CRFWTdVC.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 +856 -508
  202. package/lib/browsers.cjs +33 -33
  203. package/package.json +56 -48
  204. package/types/stable/@ember/-internals/deprecations/index.d.ts +30 -0
  205. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +25 -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,14 +1,16 @@
1
1
  import { privatize } from '../-internals/container/index.js';
2
- import { f as flushAsyncObservers, b as addObserver } from '../../shared-chunks/observers-BmobpXAF.js';
3
- import { c as computed, d as defineProperty } from '../../shared-chunks/computed-BNdMwGhH.js';
4
- import { d as descriptorForProperty } from '../../shared-chunks/decorator-9ikVwsjY.js';
2
+ import { f as flushAsyncObservers, b as addObserver } from '../../shared-chunks/observers-B1wiwQeH.js';
3
+ import { c as computed, d as defineProperty } from '../../shared-chunks/computed-ZvOk7SJQ.js';
4
+ import { d as descriptorForProperty } from '../../shared-chunks/decorator-DcvVDSJV.js';
5
+ import { s as sendEvent } from '../../shared-chunks/events-3Q5Qvo6Q.js';
6
+ 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';
5
7
  import { getOwner } from '../-internals/owner/index.js';
6
8
  import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
7
- import { s as set } from '../../shared-chunks/property_set-BmAQ0MGK.js';
9
+ import { s as set } from '../../shared-chunks/property_set-CVmdjPdh.js';
8
10
  import { g as getProperties } from '../../shared-chunks/get_properties-CkJ_mhLz.js';
9
- import { s as setProperties } from '../../shared-chunks/set_properties-DYiBfzdk.js';
11
+ import { s as setProperties } from '../../shared-chunks/set_properties-BObIgkE-.js';
10
12
  import EmberObject from '../object/index.js';
11
- import Evented from '../object/evented.js';
13
+ import { meta } from '../-internals/meta/lib/meta.js';
12
14
  import { A } from '../array/index.js';
13
15
  import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
14
16
  import typeOf from '../utils/lib/type-of.js';
@@ -19,7 +21,7 @@ import { isTesting } from '../debug/lib/testing.js';
19
21
  import '../engine/instance.js';
20
22
  import { dependentKeyCompat } from '../object/compat.js';
21
23
  import { once } from '../runloop/index.js';
22
- import { c as hasInternalComponentManager } from '../../shared-chunks/api-DlJKfm_f.js';
24
+ import { c as hasInternalComponentManager } from '../../shared-chunks/api-DJnXAjon.js';
23
25
  import '../../route-recognizer/index.js';
24
26
  import '../../shared-chunks/rsvp-aLN_pQtn.js';
25
27
  import { S as STATE_SYMBOL, P as PARAMS_SYMBOL } from '../../shared-chunks/unrecognized-url-error-xC654tCo.js';
@@ -46,7 +48,12 @@ const RENDER_STATE = Symbol('render-state');
46
48
  @public
47
49
  */
48
50
 
49
- class Route extends EmberObject.extend(ActionHandler, Evented) {
51
+ class Route extends EmberObject.extend(ActionHandler) {
52
+ static {
53
+ // The deprecated Evented mixin is no longer applied, but instances still
54
+ // provide its methods, so `Evented.detect` must keep returning true.
55
+ meta(this.prototype).addMixin(Evented);
56
+ }
50
57
  static isRouteFactory = true;
51
58
 
52
59
  // These properties will end up appearing in the public interface because we
@@ -465,9 +472,27 @@ class Route extends EmberObject.extend(ActionHandler, Evented) {
465
472
  */
466
473
  exit(transition) {
467
474
  this.deactivate(transition);
468
- this.trigger('deactivate', transition);
475
+ sendEvent(this, 'deactivate', [transition]);
469
476
  this.teardownViews();
470
477
  }
478
+ on(name, target, method) {
479
+ eventedOn(this, name, target, method);
480
+ return this;
481
+ }
482
+ one(name, target, method) {
483
+ eventedOne(this, name, target, method);
484
+ return this;
485
+ }
486
+ trigger(name, ...args) {
487
+ eventedTrigger(this, name, args);
488
+ }
489
+ off(name, target, method) {
490
+ eventedOff(this, name, target, method);
491
+ return this;
492
+ }
493
+ has(name) {
494
+ return eventedHas(this, name);
495
+ }
471
496
 
472
497
  /**
473
498
  @private
@@ -488,7 +513,7 @@ class Route extends EmberObject.extend(ActionHandler, Evented) {
488
513
  enter(transition) {
489
514
  this[RENDER_STATE] = undefined;
490
515
  this.activate(transition);
491
- this.trigger('activate', transition);
516
+ sendEvent(this, 'activate', [transition]);
492
517
  }
493
518
 
494
519
  /**
@@ -1,9 +1,8 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
- import Evented from '../object/evented.js';
3
2
  import { c as consumeTag } from '../../shared-chunks/cache-CofLhaS4.js';
4
3
  import { t as tagFor } from '../../shared-chunks/meta-BJtIZDir.js';
5
- import '../../shared-chunks/reference-CG0yPgLy.js';
6
- import '../../shared-chunks/observers-BmobpXAF.js';
4
+ import '../../shared-chunks/reference-CccCE8mJ.js';
5
+ import '../../shared-chunks/observers-B1wiwQeH.js';
7
6
  import '../../shared-chunks/property_get-DuDs6rLg.js';
8
7
  import { readOnly } from '../object/lib/computed/computed_macros.js';
9
8
  import '../object/core.js';
@@ -11,6 +10,7 @@ import '../array/index.js';
11
10
  import Service from '../service/index.js';
12
11
  import './router.js';
13
12
  import { resemblesURL, extractRouteArgs, shallowEqual } from './lib/utils.js';
13
+ import { a as addListener, s as sendEvent, r as removeListener, h as hasListeners } from '../../shared-chunks/events-3Q5Qvo6Q.js';
14
14
  import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
15
15
 
16
16
  /**
@@ -23,7 +23,6 @@ function cleanURL(url, rootURL) {
23
23
  }
24
24
  return url.substring(rootURL.length);
25
25
  }
26
-
27
26
  /**
28
27
  The Router service is the public API that provides access to the router.
29
28
 
@@ -55,9 +54,75 @@ function cleanURL(url, rootURL) {
55
54
  @extends Service
56
55
  @class RouterService
57
56
  */
58
-
59
- class RouterService extends Service.extend(Evented) {
57
+ class RouterService extends Service {
60
58
  [ROUTER];
59
+
60
+ /**
61
+ Subscribes to a named event with given function.
62
+ @method on
63
+ @param {String} name The name of the event
64
+ @param {Object} [target] The "this" binding for the callback
65
+ @param {Function|String} method A function or the name of a function to be called on `target`
66
+ @return this
67
+ */
68
+
69
+ on(name, target, method) {
70
+ // SAFETY: The types are not actually correct, but it's not worth the effort to fix them, since we'll be deprecating this API soon.
71
+ addListener(this, name, target, method);
72
+ return this;
73
+ }
74
+
75
+ /**
76
+ Subscribes a function to a named event and then cancels the subscription
77
+ after the first time the event is triggered.
78
+ @method one
79
+ @param {String} name The name of the event
80
+ @param {Object} [target] The "this" binding for the callback
81
+ @param {Function|String} method A function or the name of a function to be called on `target`
82
+ @return this
83
+ */
84
+
85
+ one(name, target, method) {
86
+ // SAFETY: The types are not actually correct, but it's not worth the effort to fix them, since we'll be deprecating this API soon.
87
+ addListener(this, name, target, method, true);
88
+ return this;
89
+ }
90
+
91
+ /**
92
+ Triggers a named event for the object.
93
+ @method trigger
94
+ @param {String} name The name of the event
95
+ @param {Object...} args Optional arguments to pass on
96
+ @return {boolean} true if listeners were notified, false otherwise
97
+ */
98
+ trigger(name, ...args) {
99
+ return sendEvent(this, name, args);
100
+ }
101
+
102
+ /**
103
+ Cancels subscription for given name, target, and method.
104
+ @method off
105
+ @param {String} name The name of the event
106
+ @param {Object} target The target of the subscription
107
+ @param {Function|String} method The function or the name of a function of the subscription
108
+ @return this
109
+ */
110
+
111
+ off(name, target, method) {
112
+ // SAFETY: The types are not actually correct, but it's not worth the effort to fix them, since we'll be deprecating this API soon.
113
+ removeListener(this, name, target, method);
114
+ return this;
115
+ }
116
+
117
+ /**
118
+ Checks to see if object has any subscriptions for named event.
119
+ @method has
120
+ @param {String} name The name of the event
121
+ @return {Boolean} does the object have a subscription for event
122
+ */
123
+ has(name) {
124
+ return hasListeners(this, name);
125
+ }
61
126
  get _router() {
62
127
  let router = this[ROUTER];
63
128
  if (router !== undefined) {
@@ -1,21 +1,23 @@
1
1
  import { privatize } from '../-internals/container/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
- 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 { getOwner } from '../owner/index.js';
6
6
  import DSLImpl from './lib/dsl.js';
7
7
  import RouterState from './lib/router_state.js';
8
8
  import { resemblesURL, extractRouteArgs, getActiveTargetName, calculateCacheKey } from './lib/utils.js';
9
9
  import EmberObject from '../object/index.js';
10
+ 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';
10
11
  import { A } from '../array/index.js';
11
12
  import typeOf from '../utils/lib/type-of.js';
12
- import Evented from '../object/evented.js';
13
13
  import { run, once, scheduleOnce, cancel } from '../runloop/index.js';
14
14
  import { getRenderState, getFullQueryParams, hasDefaultSerialize, defaultSerialize } from './route.js';
15
15
  import Router from '../../router_js/index.js';
16
16
  import { S as STATE_SYMBOL, l as logAbort } from '../../shared-chunks/unrecognized-url-error-xC654tCo.js';
17
17
  import '../../shared-chunks/rsvp-aLN_pQtn.js';
18
18
  import '../engine/instance.js';
19
+ import { s as sendEvent } from '../../shared-chunks/events-3Q5Qvo6Q.js';
20
+ import { meta } from '../-internals/meta/lib/meta.js';
19
21
 
20
22
  /**
21
23
  @module @ember/routing/router
@@ -45,7 +47,13 @@ const {
45
47
  @uses Evented
46
48
  @public
47
49
  */
48
- class EmberRouter extends EmberObject.extend(Evented) {
50
+ class EmberRouter extends EmberObject {
51
+ static {
52
+ // The deprecated Evented mixin is no longer applied, but instances still
53
+ // provide its methods, so `Evented.detect` must keep returning true.
54
+ meta(this.prototype).addMixin(Evented);
55
+ }
56
+
49
57
  /**
50
58
  Represents the URL of the root of the application, often '/'. This prefix is
51
59
  assumed on all routes defined on this router.
@@ -94,6 +102,24 @@ class EmberRouter extends EmberObject.extend(Evented) {
94
102
 
95
103
  // Begin Evented
96
104
 
105
+ on(name, target, method) {
106
+ eventedOn(this, name, target, method);
107
+ return this;
108
+ }
109
+ one(name, target, method) {
110
+ eventedOne(this, name, target, method);
111
+ return this;
112
+ }
113
+ trigger(name, ...args) {
114
+ eventedTrigger(this, name, args);
115
+ }
116
+ off(name, target, method) {
117
+ eventedOff(this, name, target, method);
118
+ return this;
119
+ }
120
+ has(name) {
121
+ return eventedHas(this, name);
122
+ }
97
123
  // End Evented
98
124
 
99
125
  // Set with reopenClass
@@ -248,7 +274,7 @@ class EmberRouter extends EmberObject.extend(Evented) {
248
274
  return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);
249
275
  }
250
276
  routeWillChange(transition) {
251
- router.trigger('routeWillChange', transition);
277
+ sendEvent(router, 'routeWillChange', [transition]);
252
278
  router._routerService.trigger('routeWillChange', transition);
253
279
 
254
280
  // in case of intermediate transition we update the current route
@@ -261,7 +287,7 @@ class EmberRouter extends EmberObject.extend(Evented) {
261
287
  routeDidChange(transition) {
262
288
  router.set('currentRoute', transition.to);
263
289
  once(() => {
264
- router.trigger('routeDidChange', transition);
290
+ sendEvent(router, 'routeDidChange', [transition]);
265
291
  router._routerService.trigger('routeDidChange', transition);
266
292
  });
267
293
  }
@@ -1,5 +1,5 @@
1
1
  import { onErrorTarget } from '../-internals/error-handling/index.js';
2
- import { f as flushAsyncObservers } from '../../shared-chunks/observers-BmobpXAF.js';
2
+ import { f as flushAsyncObservers } from '../../shared-chunks/observers-B1wiwQeH.js';
3
3
  import Backburner from '../../backburner.js/index.js';
4
4
 
5
5
  // Partial types from https://medium.com/codex/currying-in-typescript-ca5226c85b85
@@ -1,6 +1,6 @@
1
1
  import { FrameworkObject } from '../object/-internals.js';
2
2
  import { deprecateUntil, DEPRECATIONS } from '../-internals/deprecations/index.js';
3
- import { i as inject$1 } from '../../shared-chunks/injected_property-DqQ0XV7k.js';
3
+ import { i as inject$1 } from '../../shared-chunks/injected_property-4vB_6fM8.js';
4
4
 
5
5
  /**
6
6
  @module @ember/service
@@ -1,6 +1,6 @@
1
- import { o as or, d as not, c as lte, l as lt, b as gte, g as gt, n as neq, a as and, e as eq } from '../../../shared-chunks/not-DOTpWiG3.js';
2
- import { h as hash, f as fn, a as array } from '../../../shared-chunks/hash-b373B4IL.js';
3
- import { e as element } from '../../../shared-chunks/element-BmBjPjkQ.js';
1
+ import { o as or, d as not, c as lte, l as lt, b as gte, g as gt, n as neq, a as and, e as eq } from '../../../shared-chunks/not-BRssU6nS.js';
2
+ import { h as hash, f as fn, a as array } from '../../../shared-chunks/hash-pP7ZP_NN.js';
3
+ import { e as element } from '../../../shared-chunks/element-CZnh4CbF.js';
4
4
  import { on } from '../../modifier/on.js';
5
5
  import { STRICT_MODE_KEYWORDS, STRICT_MODE_TRANSFORMS, RESOLUTION_MODE_TRANSFORMS } from './plugins/index.js';
6
6
  import { ALLOWED_GLOBALS } from './plugins/allowed-globals.js';
@@ -1,4 +1,5 @@
1
1
  import { scheduleDestroyed, scheduleDestroy } from '../global-context/index.js';
2
+ import { D as DESTROYABLE_META_KEY } from '../../shared-chunks/destroyable-key-BsfVBM7f.js';
2
3
 
3
4
  const LIVE_STATE = 0;
4
5
  const DESTROYING_STATE = 1;
@@ -40,16 +41,30 @@ function remove(collection, item, message) {
40
41
  return null;
41
42
  }
42
43
  }
44
+ function createMeta(destroyable) {
45
+ let meta = {
46
+ parents: null,
47
+ children: null,
48
+ eagerDestructors: null,
49
+ destructors: null,
50
+ state: LIVE_STATE
51
+ };
52
+ return meta;
53
+ }
43
54
  function getDestroyableMeta(destroyable) {
55
+ let slotted = destroyable;
56
+ let own = slotted[DESTROYABLE_META_KEY];
57
+ if (own !== undefined) return own;
58
+
59
+ // `in` rather than a write, so this stays a read for everything else.
60
+ if (DESTROYABLE_META_KEY in slotted) {
61
+ let meta = createMeta();
62
+ slotted[DESTROYABLE_META_KEY] = meta;
63
+ return meta;
64
+ }
44
65
  let meta = DESTROYABLE_META.get(destroyable);
45
66
  if (meta === undefined) {
46
- meta = {
47
- parents: null,
48
- children: null,
49
- eagerDestructors: null,
50
- destructors: null,
51
- state: LIVE_STATE
52
- };
67
+ meta = createMeta();
53
68
  DESTROYABLE_META.set(destroyable, meta);
54
69
  }
55
70
  return meta;
@@ -111,16 +126,27 @@ function destroyChildren(destroyable) {
111
126
  } = getDestroyableMeta(destroyable);
112
127
  iterate(children, destroy);
113
128
  }
129
+
130
+ /** Meta if there is any, without creating it. Mirrors `getDestroyableMeta`. */
131
+ function peekDestroyableMeta(destroyable) {
132
+ let slotted = destroyable;
133
+ let own = slotted[DESTROYABLE_META_KEY];
134
+ if (own !== undefined) return own;
135
+
136
+ // An empty slot is proof there is no meta, so the map can be skipped.
137
+ if (DESTROYABLE_META_KEY in slotted) return undefined;
138
+ return DESTROYABLE_META.get(destroyable);
139
+ }
114
140
  function _hasDestroyableChildren(destroyable) {
115
- let meta = DESTROYABLE_META.get(destroyable);
141
+ let meta = peekDestroyableMeta(destroyable);
116
142
  return meta === undefined ? false : meta.children !== null;
117
143
  }
118
144
  function isDestroying(destroyable) {
119
- let meta = DESTROYABLE_META.get(destroyable);
145
+ let meta = peekDestroyableMeta(destroyable);
120
146
  return meta === undefined ? false : meta.state >= DESTROYING_STATE;
121
147
  }
122
148
  function isDestroyed(destroyable) {
123
- let meta = DESTROYABLE_META.get(destroyable);
149
+ let meta = peekDestroyableMeta(destroyable);
124
150
  return meta === undefined ? false : meta.state >= DESTROYED_STATE;
125
151
  }
126
152
 
@@ -129,4 +155,4 @@ function isDestroyed(destroyable) {
129
155
  let enableDestroyableTracking;
130
156
  let assertDestroyablesDestroyed;
131
157
 
132
- export { _hasDestroyableChildren, assertDestroyablesDestroyed, associateDestroyableChild, destroy, destroyChildren, enableDestroyableTracking, isDestroyed, isDestroying, registerDestructor, unregisterDestructor };
158
+ export { DESTROYABLE_META_KEY, _hasDestroyableChildren, assertDestroyablesDestroyed, associateDestroyableChild, destroy, destroyChildren, enableDestroyableTracking, isDestroyed, isDestroying, registerDestructor, unregisterDestructor };
@@ -1,5 +1,5 @@
1
- export { C as CustomHelperManager, g as getInternalComponentManager, a as getInternalHelperManager, b as getInternalModifierManager, h as hasDestroyable, c as hasInternalComponentManager, d as hasInternalHelperManager, e as hasInternalModifierManager, f as hasValue, i as helperCapabilities, s as setInternalComponentManager, j as setInternalHelperManager, k as setInternalModifierManager } from '../../shared-chunks/api-DlJKfm_f.js';
2
- export { C as CustomComponentManager, a as CustomModifierManager, c as componentCapabilities, m as modifierCapabilities, s as setComponentManager, b as setHelperManager, d as setModifierManager } from '../../shared-chunks/api-B_poQGXS.js';
1
+ export { C as CustomHelperManager, g as getInternalComponentManager, a as getInternalHelperManager, b as getInternalModifierManager, h as hasDestroyable, c as hasInternalComponentManager, d as hasInternalHelperManager, e as hasInternalModifierManager, f as hasValue, i as helperCapabilities, s as setInternalComponentManager, j as setInternalHelperManager, k as setInternalModifierManager } from '../../shared-chunks/api-DJnXAjon.js';
2
+ export { C as CustomComponentManager, a as CustomModifierManager, c as componentCapabilities, m as modifierCapabilities, s as setComponentManager, b as setHelperManager, d as setModifierManager } from '../../shared-chunks/api-CoUjEXgs.js';
3
3
  export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-Dc_cBOoX.js';
4
- export { g as getCustomTagFor, s as setCustomTagFor } from '../../shared-chunks/args-proxy-CCoFtYLS.js';
4
+ export { g as getCustomTagFor, s as setCustomTagFor } from '../../shared-chunks/args-proxy-BHODnDyt.js';
5
5
  export { c as capabilityFlagsFrom, h as hasCapability, m as managerHasCapability } from '../../shared-chunks/capabilities-BuVYh-vx.js';
@@ -1,7 +1,7 @@
1
1
  import { C as ConcreteBounds } from '../../shared-chunks/normalize-C_IStty9.js';
2
- import { D as DOMTreeConstruction } from '../../shared-chunks/api-DzOa0Acr.js';
2
+ import { D as DOMTreeConstruction } from '../../shared-chunks/api-B3M8aF1d.js';
3
3
  import createHTMLDocument from '../../@simple-dom/document/index.js';
4
- export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-CsG9WHVw.js';
4
+ export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-Du-432zt.js';
5
5
 
6
6
  class NodeDOMTreeConstruction extends DOMTreeConstruction {
7
7
  // Hides property on base class
@@ -3,7 +3,7 @@ import { e as expect } from '../../shared-chunks/collections-GpG8lT2g.js';
3
3
  import { u as unwrapTemplate } from '../../shared-chunks/template-BRrQR6KS.js';
4
4
  import { c as capabilityFlagsFrom, m as managerHasCapability } from '../../shared-chunks/capabilities-BuVYh-vx.js';
5
5
  import { g as getComponentTemplate } from '../../shared-chunks/template-Dc_cBOoX.js';
6
- import { a as getInternalHelperManager, b as getInternalModifierManager, g as getInternalComponentManager } from '../../shared-chunks/api-DlJKfm_f.js';
6
+ import { a as getInternalHelperManager, b as getInternalModifierManager, g as getInternalComponentManager } from '../../shared-chunks/api-DJnXAjon.js';
7
7
  import { t as templateFactory } from '../../shared-chunks/index-kwuZeaNz.js';
8
8
  import { e as enumerate } from '../../shared-chunks/array-utils-CZQxrdD3.js';
9
9
  import { I as InternalComponentCapabilities } from '../../shared-chunks/flags-BZxHQ0yn.js';
@@ -2,8 +2,8 @@ import { toIterator, getPath } from '../global-context/index.js';
2
2
  import { E as EMPTY_ARRAY } from '../../shared-chunks/array-utils-CZQxrdD3.js';
3
3
  import { c as isIndexable } from '../../shared-chunks/collections-GpG8lT2g.js';
4
4
  import { D as DIRTY_TAG, c as consumeTag, r as createTag } from '../../shared-chunks/cache-CofLhaS4.js';
5
- import { c as createComputeRef, v as valueForRef } from '../../shared-chunks/reference-CG0yPgLy.js';
6
- export { F as FALSE_REFERENCE, N as NULL_REFERENCE, R as REFERENCE, T as TRUE_REFERENCE, U as UNDEFINED_REFERENCE, f as childRefFor, g as childRefFromParts, a as createConstRef, l as createDebugAliasRef, h as createInvokableRef, e as createPrimitiveRef, j as createReadOnlyRef, k as createUnboundRef, i as isConstRef, d as isInvokableRef, b as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-CG0yPgLy.js';
5
+ import { c as createComputeRef, v as valueForRef } from '../../shared-chunks/reference-CccCE8mJ.js';
6
+ export { F as FALSE_REFERENCE, N as NULL_REFERENCE, R as REFERENCE, T as TRUE_REFERENCE, U as UNDEFINED_REFERENCE, f as childRefFor, g as childRefFromParts, a as createConstRef, l as createDebugAliasRef, h as createInvokableRef, e as createPrimitiveRef, j as createReadOnlyRef, k as createUnboundRef, i as isConstRef, d as isInvokableRef, b as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-CccCE8mJ.js';
7
7
 
8
8
  const NULL_IDENTITY = {};
9
9
  const KEY = (_, index) => index;
@@ -1,15 +1,15 @@
1
1
  export { C as ConcreteBounds, a as CursorImpl, c as clear } from '../../shared-chunks/normalize-C_IStty9.js';
2
- export { D as DOMChanges, a as DynamicScopeImpl, E as EnvironmentImpl, b as IDOMChanges, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, c as isWhitespace, r as renderComponent, d as renderMain, e as renderSync, f as resetDebuggerCallback, g as runtimeOptions, s as setDebuggerCallback } from '../../shared-chunks/render-OqKpH1Pf.js';
3
- export { T as TEMPLATE_ONLY_COMPONENT_MANAGER, a as TemplateOnlyComponent, b as TemplateOnlyComponentManager, t as templateOnlyComponent } from '../../shared-chunks/template-only-DKNcKM5b.js';
4
- export { C as CurriedValue, E as EMPTY_ARGS, a as EMPTY_NAMED, b as EMPTY_POSITIONAL, c as createCapturedArgs, d as curry, r as reifyArgs, e as reifyNamed, f as reifyPositional } from '../../shared-chunks/arguments-Carzx7C4.js';
2
+ export { D as DOMChanges, a as DynamicScopeImpl, E as EnvironmentImpl, b as IDOMChanges, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, c as isWhitespace, r as renderComponent, d as renderMain, e as renderSync, f as resetDebuggerCallback, g as runtimeOptions, s as setDebuggerCallback } from '../../shared-chunks/render-C_iak8Db.js';
3
+ export { T as TEMPLATE_ONLY_COMPONENT_MANAGER, a as TemplateOnlyComponent, b as TemplateOnlyComponentManager, t as templateOnlyComponent } from '../../shared-chunks/template-only-CWsfnbVm.js';
4
+ export { C as CurriedValue, E as EMPTY_ARGS, a as EMPTY_NAMED, b as EMPTY_POSITIONAL, c as createCapturedArgs, d as curry, r as reifyArgs, e as reifyNamed, f as reifyPositional } from '../../shared-chunks/arguments-xjTAZ6VE.js';
5
5
  export { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
6
- export { a as and, e as eq, g as gt, b as gte, l as lt, c as lte, n as neq, d as not, o as or } from '../../shared-chunks/not-DOTpWiG3.js';
7
- export { a as array, f as fn, h as hash } from '../../shared-chunks/hash-b373B4IL.js';
8
- export { c as concat, g as get } from '../../shared-chunks/get-ZhOO_1qS.js';
9
- export { i as invokeHelper } from '../../shared-chunks/invoke-B-r9UQVH.js';
10
- export { o as on } from '../../shared-chunks/on-B-5KCq9L.js';
6
+ export { a as and, e as eq, g as gt, b as gte, l as lt, c as lte, n as neq, d as not, o as or } from '../../shared-chunks/not-BRssU6nS.js';
7
+ export { a as array, f as fn, h as hash } from '../../shared-chunks/hash-pP7ZP_NN.js';
8
+ export { c as concat, g as get } from '../../shared-chunks/get-B1Vq9Mmk.js';
9
+ export { i as invokeHelper } from '../../shared-chunks/invoke-BqNxG81o.js';
10
+ export { o as on } from '../../shared-chunks/on-BFt-Sx9A.js';
11
11
  export { destroy, isDestroyed, isDestroying, registerDestructor } from '../destroyable/index.js';
12
12
  import '../../shared-chunks/cache-CofLhaS4.js';
13
- import '../../shared-chunks/reference-CG0yPgLy.js';
14
- export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute } from '../../shared-chunks/api-DzOa0Acr.js';
15
- export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-n_8RCUj9.js';
13
+ import '../../shared-chunks/reference-CccCE8mJ.js';
14
+ export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute } from '../../shared-chunks/api-B3M8aF1d.js';
15
+ export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-B9bh-2Dy.js';
@@ -1,4 +1,4 @@
1
- export { t as tracked } from '../../shared-chunks/tracked-DvOpYI0o.js';
1
+ export { t as tracked } from '../../shared-chunks/tracked-z77O-F0O.js';
2
2
  import { e as createCache, g as getValue } from '../../shared-chunks/cache-CofLhaS4.js';
3
3
 
4
4
  // NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358
@@ -1,4 +1,4 @@
1
1
  // this file gets replaced with the real value during the build
2
- const VERSION = '7.3.0';
2
+ const VERSION = '7.4.0-beta.1';
3
3
 
4
4
  export { VERSION as default };
@@ -2,11 +2,11 @@ import { meta } from '../@ember/-internals/meta/lib/meta.js';
2
2
  import inspect from '../@ember/debug/lib/inspect.js';
3
3
  import { u as untrack, v as validateTag, U as UPDATE_TAG, a as valueForTag, c as consumeTag } from './cache-CofLhaS4.js';
4
4
  import { a as tagMetaFor, t as tagFor } from './meta-BJtIZDir.js';
5
- import { C as CHAIN_PASS_THROUGH, g as getChainTagsForKey, f as finishLazyChains } from './chain-tags-B2J7DsxO.js';
6
- import { m as makeComputedDecorator, b as descriptorForDecorator, c as ComputedDescriptor } from './decorator-9ikVwsjY.js';
7
- import { d as defineProperty } from './computed-BNdMwGhH.js';
5
+ import { C as CHAIN_PASS_THROUGH, g as getChainTagsForKey, f as finishLazyChains } from './chain-tags-BlsXEpE-.js';
6
+ import { m as makeComputedDecorator, a as descriptorForDecorator, b as ComputedDescriptor } from './decorator-DcvVDSJV.js';
7
+ import { d as defineProperty } from './computed-ZvOk7SJQ.js';
8
8
  import { g as get } from './property_get-DuDs6rLg.js';
9
- import { s as set } from './property_set-BmAQ0MGK.js';
9
+ import { s as set } from './property_set-CVmdjPdh.js';
10
10
 
11
11
  function alias(altKey) {
12
12
  return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);
@@ -2,6 +2,7 @@ import { S as StackImpl, e as expect } from './collections-GpG8lT2g.js';
2
2
  import { a as assert } from './assert-Zqc4wiAV.js';
3
3
  import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
4
4
  import { registerDestructor, destroy } from '../@glimmer/destroyable/index.js';
5
+ import { D as DESTROYABLE_META_KEY } from './destroyable-key-BsfVBM7f.js';
5
6
  import { i as isSafeString, n as normalizeStringValue, a as CursorImpl, C as ConcreteBounds, c as clear } from './normalize-C_IStty9.js';
6
7
  import { a as castToBrowser } from './simple-cast-DCvJLSin.js';
7
8
  import { n as normalizeProperty } from './props-fiqxqhAH.js';
@@ -574,6 +575,7 @@ class NewTreeBuilder {
574
575
  }
575
576
  }
576
577
  class AppendingBlockImpl {
578
+ [DESTROYABLE_META_KEY];
577
579
  first = null;
578
580
  last = null;
579
581
  nesting = 0;
@@ -1,7 +1,7 @@
1
- import { j as setInternalHelperManager, k as setInternalModifierManager, s as setInternalComponentManager, C as CustomHelperManager } from './api-DlJKfm_f.js';
1
+ import { j as setInternalHelperManager, k as setInternalModifierManager, s as setInternalComponentManager, C as CustomHelperManager } from './api-DJnXAjon.js';
2
2
  import { registerDestructor } from '../@glimmer/destroyable/index.js';
3
- import { a as createConstRef } from './reference-CG0yPgLy.js';
4
- import { a as argsProxyFor } from './args-proxy-CCoFtYLS.js';
3
+ import { a as createConstRef } from './reference-CccCE8mJ.js';
4
+ import { a as argsProxyFor } from './args-proxy-BHODnDyt.js';
5
5
  import { b as buildCapabilities } from './capabilities-BuVYh-vx.js';
6
6
  import { a as castToBrowser } from './simple-cast-DCvJLSin.js';
7
7
  import { u as untrack, b as createUpdatableTag } from './cache-CofLhaS4.js';
@@ -1,6 +1,6 @@
1
1
  import { associateDestroyableChild } from '../@glimmer/destroyable/index.js';
2
- import { c as createComputeRef, a as createConstRef, U as UNDEFINED_REFERENCE } from './reference-CG0yPgLy.js';
3
- import { a as argsProxyFor } from './args-proxy-CCoFtYLS.js';
2
+ import { c as createComputeRef, a as createConstRef, U as UNDEFINED_REFERENCE } from './reference-CccCE8mJ.js';
3
+ import { a as argsProxyFor } from './args-proxy-BHODnDyt.js';
4
4
  import { b as buildCapabilities } from './capabilities-BuVYh-vx.js';
5
5
 
6
6
  function helperCapabilities(managerAPI, options = {}) {
@@ -1,4 +1,4 @@
1
- import { v as valueForRef } from './reference-CG0yPgLy.js';
1
+ import { v as valueForRef } from './reference-CccCE8mJ.js';
2
2
  import { t as track } from './cache-CofLhaS4.js';
3
3
 
4
4
  const CUSTOM_TAG_FOR = new WeakMap();
@@ -1,7 +1,7 @@
1
1
  import { a as $v0, b as $t1, c as $t0, d as $pc, e as $ra, f as $fp, g as $sp, h as $s1, $ as $s0 } from './registers-C_W2qYHJ.js';
2
2
  import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
3
3
  import { e as expect, S as StackImpl, u as unwrap, c as isIndexable, d as dict } from './collections-GpG8lT2g.js';
4
- import { c as createComputeRef, v as valueForRef, a as createConstRef, e as createPrimitiveRef, i as isConstRef, U as UNDEFINED_REFERENCE, N as NULL_REFERENCE, T as TRUE_REFERENCE, F as FALSE_REFERENCE, R as REFERENCE } from './reference-CG0yPgLy.js';
4
+ import { c as createComputeRef, v as valueForRef, a as createConstRef, e as createPrimitiveRef, i as isConstRef, U as UNDEFINED_REFERENCE, N as NULL_REFERENCE, T as TRUE_REFERENCE, F as FALSE_REFERENCE, R as REFERENCE } from './reference-CccCE8mJ.js';
5
5
  import { b as EMPTY_STRING_ARRAY, e as enumerate, c as emptyArray } from './array-utils-CZQxrdD3.js';
6
6
  import { C as CONSTANT_TAG, I as INITIAL, v as validateTag, c as consumeTag, a as valueForTag, o as beginTrackFrame, s as endTrackFrame, k as CURRENT_TAG } from './cache-CofLhaS4.js';
7
7
  import { C as CURRIED_MODIFIER, a as CURRIED_COMPONENT } from './curried-BZnYakIg.js';
@@ -13,7 +13,7 @@ import { m as managerHasCapability } from './capabilities-BuVYh-vx.js';
13
13
  import { a as assign } from './object-utils-AijlD-JH.js';
14
14
  import { I as InternalComponentCapabilities } from './flags-BZxHQ0yn.js';
15
15
  import { n as normalizeStringValue, C as ConcreteBounds } from './normalize-C_IStty9.js';
16
- import { b as getInternalModifierManager } from './api-DlJKfm_f.js';
16
+ import { b as getInternalModifierManager } from './api-DJnXAjon.js';
17
17
  import { toBool } from '../@glimmer/global-context/index.js';
18
18
 
19
19
  function CheckInstanceof(Class) {
@@ -1,6 +1,6 @@
1
1
  import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
2
- import { s as sendEvent, a as addListener, r as removeListener } from './events-DYrYz3V8.js';
3
- import { n as notifyPropertyChange } from './computed-BNdMwGhH.js';
2
+ import { s as sendEvent, a as addListener, r as removeListener } from './events-3Q5Qvo6Q.js';
3
+ import { n as notifyPropertyChange } from './computed-ZvOk7SJQ.js';
4
4
 
5
5
  function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {
6
6
  // if no args are passed assume everything changes
@@ -2,7 +2,7 @@ import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
2
2
  import { i as isObject } from './spec-BXl1reqK.js';
3
3
  import { C as CONSTANT_TAG, d as combine, v as validateTag, b as createUpdatableTag, U as UPDATE_TAG } from './cache-CofLhaS4.js';
4
4
  import { t as tagFor, d as dirtyTagFor, a as tagMetaFor } from './meta-BJtIZDir.js';
5
- import { g as getCustomTagFor } from './args-proxy-CCoFtYLS.js';
5
+ import { g as getCustomTagFor } from './args-proxy-BHODnDyt.js';
6
6
 
7
7
  function objectAt(array, index) {
8
8
  if (Array.isArray(array)) {
@@ -1,10 +1,10 @@
1
1
  import { meta, peekMeta } from '../@ember/-internals/meta/lib/meta.js';
2
- import { d as descriptorForProperty, a as isClassicDecorator, c as ComputedDescriptor, i as isElementDescriptor, m as makeComputedDecorator, b as descriptorForDecorator } from './decorator-9ikVwsjY.js';
3
- import { c as revalidateObservers, d as flushSyncObservers, e as resumeObserverDeactivation, s as suspendedObserverDeactivation, b as addObserver, g as setObserverSuspended } from './observers-BmobpXAF.js';
2
+ import { d as descriptorForProperty, c as isClassicDecorator, b as ComputedDescriptor, i as isElementDescriptor, m as makeComputedDecorator, a as descriptorForDecorator } from './decorator-DcvVDSJV.js';
3
+ import { c as revalidateObservers, d as flushSyncObservers, e as resumeObserverDeactivation, s as suspendedObserverDeactivation, b as addObserver, g as setObserverSuspended } from './observers-B1wiwQeH.js';
4
4
  import inspect from '../@ember/debug/lib/inspect.js';
5
5
  import { v as validateTag, u as untrack, U as UPDATE_TAG, a as valueForTag, c as consumeTag, A as ALLOW_CYCLES, t as track } from './cache-CofLhaS4.js';
6
6
  import { a as tagMetaFor, t as tagFor } from './meta-BJtIZDir.js';
7
- import { m as markObjectAsDirty, b as getChainTagsForKeys, f as finishLazyChains } from './chain-tags-B2J7DsxO.js';
7
+ import { m as markObjectAsDirty, b as getChainTagsForKeys, f as finishLazyChains } from './chain-tags-BlsXEpE-.js';
8
8
 
9
9
  /**
10
10
  @module @ember/object
@@ -931,4 +931,4 @@ function isComputed(obj, key) {
931
931
  return Boolean(descriptorForProperty(obj, key));
932
932
  }
933
933
 
934
- export { ComputedProperty as C, PROPERTY_DID_CHANGE as P, endPropertyChanges as a, beginPropertyChanges as b, computed as c, defineProperty as d, expandProperties as e, changeProperties as f, defineValue as g, defineDecorator as h, autoComputed as i, isComputed as j, notifyPropertyChange as n };
934
+ export { ComputedProperty as C, PROPERTY_DID_CHANGE as P, endPropertyChanges as a, beginPropertyChanges as b, computed as c, defineProperty as d, expandProperties as e, changeProperties as f, autoComputed as g, defineDecorator as h, defineValue as i, isComputed as j, notifyPropertyChange as n };