ember-source 7.1.0-alpha.5 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/build-metadata.json +3 -3
  2. package/dist/dev/packages/@ember/-internals/glimmer/index.js +11 -11
  3. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +1 -1
  4. package/dist/dev/packages/@ember/-internals/views/index.js +0 -1
  5. package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
  6. package/dist/dev/packages/@ember/application/index.js +1 -1
  7. package/dist/dev/packages/@ember/application/instance.js +1 -1
  8. package/dist/dev/packages/@ember/array/index.js +4 -0
  9. package/dist/dev/packages/@ember/component/helper.js +1 -1
  10. package/dist/dev/packages/@ember/component/index.js +15 -9
  11. package/dist/dev/packages/@ember/component/template-only.js +1 -1
  12. package/dist/dev/packages/@ember/engine/index.js +1 -3
  13. package/dist/dev/packages/@ember/helper/index.js +8 -37
  14. package/dist/dev/packages/@ember/modifier/index.js +2 -2
  15. package/dist/dev/packages/@ember/modifier/on.js +1 -1
  16. package/dist/dev/packages/@ember/object/index.js +22 -17
  17. package/dist/dev/packages/@ember/reactive/collections.js +2 -0
  18. package/dist/dev/packages/@ember/renderer/index.js +1 -1
  19. package/dist/dev/packages/@ember/routing/index.js +11 -7
  20. package/dist/dev/packages/@ember/routing/route.js +3 -3
  21. package/dist/dev/packages/@ember/routing/router-service.js +20 -13
  22. package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  23. package/dist/dev/packages/@ember/template-compiler/lib/template.js +3 -3
  24. package/dist/dev/packages/@ember/template-factory/index.js +1 -1
  25. package/dist/dev/packages/@glimmer/destroyable/index.js +1 -1
  26. package/dist/dev/packages/@glimmer/manager/index.js +3 -3
  27. package/dist/dev/packages/@glimmer/node/index.js +2 -2
  28. package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -5
  29. package/dist/dev/packages/@glimmer/program/index.js +4 -4
  30. package/dist/dev/packages/@glimmer/runtime/index.js +10 -12
  31. package/dist/dev/packages/@glimmer/vm/index.js +1 -1
  32. package/dist/dev/packages/ember/version.js +1 -1
  33. package/dist/dev/packages/ember-template-compiler/index.js +2 -2
  34. package/dist/dev/packages/shared-chunks/{api-AYt3zE12.js → api-BAmlf_CN.js} +1 -1
  35. package/dist/dev/packages/shared-chunks/{api-WvJPuo9z.js → api-BawZUDYD.js} +1 -1
  36. package/dist/dev/packages/shared-chunks/assert-Zqc4wiAV.js +6 -0
  37. package/dist/dev/packages/shared-chunks/{compiler-CXB_8GdR.js → compiler-QUSl_urU.js} +2 -3
  38. package/dist/dev/packages/shared-chunks/{curly-CvC8E_4-.js → curly-BBzF_bI8.js} +1 -1
  39. package/dist/dev/packages/shared-chunks/curried-BZnYakIg.js +5 -0
  40. package/dist/dev/packages/shared-chunks/{debug-to-string-CFb7h0lY.js → debug-to-string-C6LsA_qz.js} +1 -2
  41. package/dist/dev/packages/shared-chunks/{element-C-QcIABg.js → element-Cf3hqNOD.js} +4 -2
  42. package/dist/dev/packages/shared-chunks/{element-builder-kHVx0F__.js → element-builder--iTIJyCB.js} +1 -1
  43. package/dist/dev/packages/shared-chunks/{get-CpJjYeJO.js → get-BehtPmsu.js} +31 -34
  44. package/dist/dev/packages/shared-chunks/{hash-D3BENmhU.js → hash-BTwOuDGQ.js} +17 -11
  45. package/dist/dev/packages/shared-chunks/{helper-DlC4YesW.js → helper-BubrhyuN.js} +20 -8
  46. package/dist/dev/packages/shared-chunks/{index-CTxkmV78.js → index-CL1zjHwo.js} +91 -113
  47. package/dist/dev/packages/shared-chunks/{index-DmGmwWPJ.js → index-CyZiGiEI.js} +5 -6
  48. package/dist/dev/packages/shared-chunks/{internal-CbQSKXEm.js → internal-CAL-jHZt.js} +2 -2
  49. package/dist/dev/packages/shared-chunks/{internal-helper-Dsl9_7H_.js → internal-helper-Ez7zbEIa.js} +1 -1
  50. package/dist/dev/packages/shared-chunks/{invoke-B6j6DdDz.js → invoke-B8M5fQQS.js} +2 -2
  51. package/dist/dev/packages/shared-chunks/{on-D8QwT-eN.js → on-BQii6ILK.js} +8 -8
  52. package/dist/dev/packages/shared-chunks/{or-DBU9Ge4r.js → or-BTH3yuFG.js} +1 -1
  53. package/dist/dev/packages/shared-chunks/{program-context-CqcQMsfa.js → program-context-CadjldRr.js} +4 -3
  54. package/dist/{prod/packages/shared-chunks/registers-DoamZwaG.js → dev/packages/shared-chunks/registers-C_W2qYHJ.js} +1 -1
  55. package/dist/dev/packages/shared-chunks/{rehydrate-builder-DdzXTaJk.js → rehydrate-builder-DCyIgnCR.js} +2 -2
  56. package/dist/dev/packages/shared-chunks/{render-DDdabL30.js → render-CpKaO-BO.js} +9 -8
  57. package/dist/dev/packages/shared-chunks/{chunk-3SQBS3Y5-Cj4eryg1.js → runtime-CYyqkz5q-BOdRhmsS.js} +4 -59
  58. package/dist/dev/packages/shared-chunks/{serialize-builder-B3u9Wr3n.js → serialize-builder-DxgGRvH_.js} +1 -1
  59. package/dist/dev/packages/shared-chunks/{setup-registry-XxD0xvgf.js → setup-registry-BQZJfq-Y.js} +7 -7
  60. package/dist/dev/packages/shared-chunks/syscall-ops-BPFtDquC.js +133 -0
  61. package/dist/dev/packages/shared-chunks/{template-kM-7TTcc.js → template-R_5UMHhb.js} +1 -1
  62. package/dist/dev/packages/shared-chunks/{template-only-Yluyu0DY.js → template-only-BqOt8bDl.js} +1 -1
  63. package/dist/dev/packages/shared-chunks/{textarea-C0Us0PNJ.js → textarea-lD4apgrP.js} +9 -5
  64. package/dist/dev/packages/shared-chunks/{unique-id-A83bjEE-.js → unique-id-CgmHQiwi.js} +1 -1
  65. package/dist/dev/packages/shared-chunks/{untouchable-this-cH6_N2LJ.js → untouchable-this-B3DVwpHS.js} +6 -6
  66. package/dist/dev/packages/shared-chunks/vm-ops-ImHv0Wtg.js +12 -0
  67. package/dist/prod/packages/@ember/-internals/container/index.js +2 -3
  68. package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
  69. package/dist/prod/packages/@ember/-internals/meta/lib/meta.js +0 -2
  70. package/dist/prod/packages/@ember/-internals/metal/index.js +16 -17
  71. package/dist/prod/packages/@ember/-internals/routing/index.js +1 -2
  72. package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +0 -1
  73. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +4 -5
  74. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -2
  75. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +0 -1
  76. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -4
  77. package/dist/prod/packages/@ember/-internals/utils/index.js +0 -1
  78. package/dist/prod/packages/@ember/-internals/views/index.js +0 -1
  79. package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -2
  80. package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -3
  81. package/dist/prod/packages/@ember/-internals/views/lib/system/utils.js +0 -1
  82. package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +2 -2
  83. package/dist/prod/packages/@ember/-internals/views/lib/views/states.js +0 -1
  84. package/dist/prod/packages/@ember/application/index.js +3 -3
  85. package/dist/prod/packages/@ember/application/instance.js +3 -4
  86. package/dist/prod/packages/@ember/application/namespace.js +1 -2
  87. package/dist/prod/packages/@ember/array/index.js +9 -6
  88. package/dist/prod/packages/@ember/array/proxy.js +5 -6
  89. package/dist/prod/packages/@ember/component/helper.js +1 -1
  90. package/dist/prod/packages/@ember/component/index.js +15 -10
  91. package/dist/prod/packages/@ember/controller/index.js +3 -3
  92. package/dist/prod/packages/@ember/debug/data-adapter.js +1 -1
  93. package/dist/prod/packages/@ember/engine/index.js +3 -6
  94. package/dist/prod/packages/@ember/engine/instance.js +0 -1
  95. package/dist/prod/packages/@ember/helper/index.js +5 -34
  96. package/dist/prod/packages/@ember/modifier/on.js +1 -1
  97. package/dist/prod/packages/@ember/object/-internals.js +0 -1
  98. package/dist/prod/packages/@ember/object/compat.js +1 -2
  99. package/dist/prod/packages/@ember/object/computed.js +2 -2
  100. package/dist/prod/packages/@ember/object/core.js +5 -6
  101. package/dist/prod/packages/@ember/object/evented.js +2 -2
  102. package/dist/prod/packages/@ember/object/events.js +1 -1
  103. package/dist/prod/packages/@ember/object/index.js +30 -25
  104. package/dist/prod/packages/@ember/object/internals.js +0 -1
  105. package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +4 -5
  106. package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -3
  107. package/dist/prod/packages/@ember/object/mixin.js +4 -5
  108. package/dist/prod/packages/@ember/object/observable.js +7 -8
  109. package/dist/prod/packages/@ember/object/observers.js +1 -1
  110. package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +3 -3
  111. package/dist/prod/packages/@ember/reactive/collections.js +2 -0
  112. package/dist/prod/packages/@ember/renderer/index.js +1 -1
  113. package/dist/prod/packages/@ember/routing/history-location.js +0 -1
  114. package/dist/prod/packages/@ember/routing/index.js +10 -7
  115. package/dist/prod/packages/@ember/routing/lib/dsl.js +0 -2
  116. package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -2
  117. package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -3
  118. package/dist/prod/packages/@ember/routing/lib/utils.js +1 -2
  119. package/dist/prod/packages/@ember/routing/none-location.js +0 -1
  120. package/dist/prod/packages/@ember/routing/route.js +9 -10
  121. package/dist/prod/packages/@ember/routing/router-service.js +22 -16
  122. package/dist/prod/packages/@ember/routing/router.js +3 -4
  123. package/dist/prod/packages/@ember/runloop/index.js +1 -2
  124. package/dist/prod/packages/@ember/service/index.js +1 -1
  125. package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -4
  126. package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-against-attrs.js +0 -1
  127. package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-against-named-outlets.js +0 -1
  128. package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-input-helper-without-block.js +0 -1
  129. package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-reserved-named-arguments.js +0 -2
  130. package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-each-track-array.js +0 -1
  131. package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-in-element.js +0 -1
  132. package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +0 -1
  133. package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
  134. package/dist/prod/packages/@ember/template-factory/index.js +1 -1
  135. package/dist/prod/packages/@ember/utils/lib/compare.js +0 -1
  136. package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
  137. package/dist/prod/packages/@glimmer/node/index.js +2 -2
  138. package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -5
  139. package/dist/prod/packages/@glimmer/program/index.js +2 -2
  140. package/dist/prod/packages/@glimmer/runtime/index.js +9 -11
  141. package/dist/prod/packages/@glimmer/tracking/index.js +1 -1
  142. package/dist/prod/packages/@glimmer/vm/index.js +1 -1
  143. package/dist/prod/packages/ember/version.js +1 -1
  144. package/dist/prod/packages/ember-template-compiler/index.js +2 -3
  145. package/dist/prod/packages/shared-chunks/{alias-CLuFeKoV.js → alias-DBW_V5vD.js} +5 -6
  146. package/dist/prod/packages/shared-chunks/{array-DHdr4__s.js → array-D6Couewv.js} +2 -3
  147. package/dist/prod/packages/shared-chunks/assert-Zqc4wiAV.js +6 -0
  148. package/dist/prod/packages/shared-chunks/{chain-tags-BJqcuCM1.js → chain-tags-C9rFtQ_x.js} +0 -1
  149. package/dist/prod/packages/shared-chunks/{compiler-DjQtTQGk.js → compiler-c4yUVrl_.js} +2 -3
  150. package/dist/prod/packages/shared-chunks/{computed-2Udcmflw.js → computed-DjCIU_ht.js} +3 -4
  151. package/dist/prod/packages/shared-chunks/{container-D5NwW5Fd.js → container-BYOnjnwz.js} +0 -1
  152. package/dist/prod/packages/shared-chunks/{curly-BsqvV8G0.js → curly-ZzX43b50.js} +2 -3
  153. package/dist/prod/packages/shared-chunks/curried-BZnYakIg.js +5 -0
  154. package/dist/prod/packages/shared-chunks/{debug-render-tree-BLtnOSbb.js → debug-render-tree-CF5O4-WI.js} +4 -4
  155. package/dist/prod/packages/shared-chunks/{decorator-DBCISop4.js → decorator-9ikVwsjY.js} +0 -1
  156. package/dist/prod/packages/shared-chunks/{element-BjFr0tO0.js → element-9DRa_9dO.js} +2 -1
  157. package/dist/prod/packages/shared-chunks/{element-builder-BPjq0rxK.js → element-builder-CnlTPNyw.js} +1 -1
  158. package/dist/prod/packages/shared-chunks/{events-970OxD6Q.js → events-DYrYz3V8.js} +0 -1
  159. package/dist/prod/packages/shared-chunks/{get-D5wxdTkY.js → get-Dt5L0TcU.js} +31 -34
  160. package/dist/prod/packages/shared-chunks/{get_properties-BcAC5sGx.js → get_properties-Nn08mLAH.js} +1 -1
  161. package/dist/prod/packages/shared-chunks/{hash-DcUe-meU.js → hash-Dkj3I4L4.js} +16 -10
  162. package/dist/prod/packages/shared-chunks/{helper-Da672z4a.js → helper-CN6UzshW.js} +18 -7
  163. package/dist/prod/packages/shared-chunks/{index--2U-v2nf.js → index-Bj71BDDA.js} +4 -5
  164. package/dist/prod/packages/shared-chunks/{index-D87qoERP.js → index-ClxHbCe9.js} +90 -112
  165. package/dist/prod/packages/shared-chunks/{injected_property-D9B-fPiH.js → injected_property--eJunJph.js} +2 -3
  166. package/dist/prod/packages/shared-chunks/{invoke-Dr_CRwA_.js → invoke-Cj5zMqHz.js} +1 -1
  167. package/dist/prod/packages/shared-chunks/{libraries-DaXpIDYN.js → libraries-_k-4KK5_.js} +1 -2
  168. package/dist/prod/packages/shared-chunks/{observers-Co4JALkS.js → observers-CDkeR0nI.js} +2 -2
  169. package/dist/prod/packages/shared-chunks/{on-C3ZQiUUD.js → on-CWgOWNSL.js} +7 -7
  170. package/dist/prod/packages/shared-chunks/{or-oTVMuHc8.js → or-Crsa2wci.js} +1 -1
  171. package/dist/prod/packages/shared-chunks/{program-context-CGMN-aQM.js → program-context-B8HKU7wu.js} +4 -3
  172. package/dist/prod/packages/shared-chunks/{property_get-hWJ0nGhW.js → property_get-CAFdpRyu.js} +0 -1
  173. package/dist/prod/packages/shared-chunks/{property_set-Dj5-ScWk.js → property_set-BunbMFtp.js} +3 -4
  174. package/dist/{dev/packages/shared-chunks/registers-DoamZwaG.js → prod/packages/shared-chunks/registers-C_W2qYHJ.js} +1 -1
  175. package/dist/prod/packages/shared-chunks/{rehydrate-builder-BKg2X6Lo.js → rehydrate-builder-DJ8k-6fg.js} +2 -2
  176. package/dist/prod/packages/shared-chunks/{render-nx5-PsDW.js → render-DkJJmoI4.js} +7 -6
  177. package/dist/prod/packages/shared-chunks/{chunk-3SQBS3Y5-Cj4eryg1.js → runtime-CYyqkz5q-BOdRhmsS.js} +4 -59
  178. package/dist/prod/packages/shared-chunks/{serialize-builder-BGbC30SN.js → serialize-builder-R3Ozg0sC.js} +1 -1
  179. package/dist/prod/packages/shared-chunks/{set_properties-oPyURk67.js → set_properties-LT3RzRmJ.js} +2 -2
  180. package/dist/prod/packages/shared-chunks/{setup-registry-TiaKLj5k.js → setup-registry-B3DhqtxX.js} +7 -8
  181. package/dist/prod/packages/shared-chunks/syscall-ops-BPFtDquC.js +133 -0
  182. package/dist/prod/packages/shared-chunks/{textarea-CPKZ1c_O.js → textarea-Byj32raR.js} +9 -6
  183. package/dist/prod/packages/shared-chunks/{tracked-CffAABMz.js → tracked-DAVrVqJl.js} +2 -3
  184. package/dist/prod/packages/shared-chunks/vm-ops-ImHv0Wtg.js +12 -0
  185. package/docs/data.json +196 -216
  186. package/lib/index.js +0 -1
  187. package/package.json +14 -15
  188. package/types/stable/@ember/-internals/glimmer/index.d.ts +165 -121
  189. package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +8 -2
  190. package/types/stable/@ember/-internals/glimmer/lib/glimmer-tracking-docs.d.ts +12 -12
  191. package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +18 -6
  192. package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +3 -1
  193. package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +65 -121
  194. package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +8 -4
  195. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +16 -14
  196. package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +2 -0
  197. package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +11 -7
  198. package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +23 -29
  199. package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +3 -1
  200. package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +95 -49
  201. package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +23 -54
  202. package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +6 -2
  203. package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +4 -8
  204. package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +10 -10
  205. package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +2 -0
  206. package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +2 -14
  207. package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +15 -11
  208. package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +17 -10
  209. package/types/stable/@ember/-internals/runtime/lib/mixins/target_action_support.d.ts +1 -1
  210. package/types/stable/@ember/-internals/views/index.d.ts +0 -1
  211. package/types/stable/@ember/array/index.d.ts +4 -0
  212. package/types/stable/@ember/controller/index.d.ts +1 -1
  213. package/types/stable/@ember/helper/index.d.ts +0 -29
  214. package/types/stable/@ember/object/index.d.ts +4 -3
  215. package/types/stable/@ember/object/observable.d.ts +4 -0
  216. package/types/stable/@ember/routing/route.d.ts +1 -1
  217. package/types/stable/@ember/routing/router-service.d.ts +20 -12
  218. package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +1 -1
  219. package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +8 -3
  220. package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +13 -7
  221. package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +21 -29
  222. package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +1 -1
  223. package/types/stable/@glimmer/syntax/lib/get-template-locals.d.ts +1 -1
  224. package/types/stable/@glimmer/tracking/index.d.ts +12 -12
  225. package/types/stable/index.d.ts +0 -1
  226. package/dist/dev/packages/@ember/-internals/views/lib/component_lookup.js +0 -14
  227. package/dist/dev/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
  228. package/dist/dev/packages/shared-chunks/curried-BVwSNqpf.js +0 -628
  229. package/dist/dev/packages/shared-chunks/opcode-metadata-9iSW5JGP.js +0 -285
  230. package/dist/prod/packages/@ember/-internals/views/lib/component_lookup.js +0 -14
  231. package/dist/prod/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
  232. package/dist/prod/packages/shared-chunks/curried-BVwSNqpf.js +0 -628
  233. package/dist/prod/packages/shared-chunks/opcode-metadata-9iSW5JGP.js +0 -285
  234. package/types/stable/@ember/-internals/views/lib/component_lookup.d.ts +0 -8
@@ -1,23 +1,22 @@
1
1
  export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-Dc_cBOoX.js';
2
- import { n as nativeDescDecorator } from '../../shared-chunks/decorator-DBCISop4.js';
3
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
4
- import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-2Udcmflw.js';
2
+ import { n as nativeDescDecorator } from '../../shared-chunks/decorator-9ikVwsjY.js';
3
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
4
+ import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-DjCIU_ht.js';
5
5
  import { getOwner } from '../-internals/owner/index.js';
6
6
  import TargetActionSupport from '../-internals/runtime/lib/mixins/target_action_support.js';
7
7
  import ActionSupport from '../-internals/views/lib/mixins/action_support.js';
8
8
  import { getViewElement, getChildViews, addChildView } from '../-internals/views/lib/system/utils.js';
9
9
  import CoreView from '../-internals/views/lib/views/core_view.js';
10
- import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
11
- import '../../shared-chunks/env-DXxsTFkM.js';
12
10
  import '../object/index.js';
13
11
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
14
12
  import { s as setInternalComponentManager } from '../../shared-chunks/api-zh_k31vb.js';
15
13
  import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-BshxG6wn.js';
16
14
  import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
17
15
  import { p as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-BIlOoPA7.js';
18
- import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, C as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-BsqvV8G0.js';
19
- import { a as decorateMethodV2 } from '../../shared-chunks/chunk-3SQBS3Y5-Cj4eryg1.js';
20
- export { I as Input, T as Textarea } from '../../shared-chunks/textarea-CPKZ1c_O.js';
16
+ import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, C as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-ZzX43b50.js';
17
+ import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
18
+ import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
19
+ export { I as Input, T as Textarea } from '../../shared-chunks/textarea-Byj32raR.js';
21
20
  import { s as setComponentManager$1 } from '../../shared-chunks/api-CM1trl_4.js';
22
21
  export { c as capabilities } from '../../shared-chunks/api-CM1trl_4.js';
23
22
  import '../../shared-chunks/capabilities-_5e35539.js';
@@ -56,6 +55,12 @@ const EMPTY_ARRAY = Object.freeze([]);
56
55
  API documentation for Template-only or Glimmer components, it is [available
57
56
  here](/ember/release/modules/@glimmer%2Fcomponent).
58
57
 
58
+ Note: Prior to Ember 6.8, by default, components were authored in paired `.hbs` and `.js`
59
+ files. This is still supported, but the default authoring format is now `.gjs` or "template tag".
60
+ The documentation for `@ember/component` still refers to the older authoring format. To read about
61
+ the new authoring format, see the
62
+ [Glimmer Component API documentation](/ember/release/modules/@glimmer%2Fcomponent).
63
+
59
64
  ## Defining a Classic Component
60
65
 
61
66
  If you want to customize the component in order to handle events, transform
@@ -82,7 +87,7 @@ const EMPTY_ARRAY = Object.freeze([]);
82
87
 
83
88
  And then use it in the component's template:
84
89
 
85
- ```app/templates/components/person-profile.hbs
90
+ ```app/components/person-profile.hbs
86
91
  <h1>{{this.displayName}}</h1>
87
92
  {{yield}}
88
93
  ```
@@ -470,7 +475,7 @@ const EMPTY_ARRAY = Object.freeze([]);
470
475
  The `layout` property should be set to the default export of a template
471
476
  module, which is the name of a template file without the `.hbs` extension.
472
477
 
473
- ```app/templates/components/person-profile.hbs
478
+ ```app/components/person-profile.hbs
474
479
  <h1>Person's Title</h1>
475
480
  <div class='details'>{{yield}}</div>
476
481
  ```
@@ -1,8 +1,8 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
- import { c as computed } from '../../shared-chunks/computed-2Udcmflw.js';
3
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
2
+ import { c as computed } from '../../shared-chunks/computed-DjCIU_ht.js';
3
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
4
4
  import { FrameworkObject } from '../object/-internals.js';
5
- import { i as inject$1 } from '../../shared-chunks/injected_property-D9B-fPiH.js';
5
+ import { i as inject$1 } from '../../shared-chunks/injected_property--eJunJph.js';
6
6
  import Mixin from '../object/mixin.js';
7
7
  import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
8
8
 
@@ -1,6 +1,6 @@
1
1
  import { getOwner } from '../-internals/owner/index.js';
2
2
  import { _backburner, next } from '../runloop/index.js';
3
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
3
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
4
4
  import { dasherize } from '../-internals/string/index.js';
5
5
  import Namespace from '../application/namespace.js';
6
6
  import EmberObject from '../object/index.js';
@@ -3,17 +3,15 @@ import Controller from '../controller/index.js';
3
3
  import Namespace from '../application/namespace.js';
4
4
  import { Registry } from '../-internals/container/index.js';
5
5
  import DAG from '../../dag-map/index.js';
6
- import '../../shared-chunks/env-DXxsTFkM.js';
7
6
  import ContainerDebugAdapter from '../debug/container-debug-adapter.js';
8
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
9
- import { s as set } from '../../shared-chunks/property_set-Dj5-ScWk.js';
7
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
8
+ import { s as set } from '../../shared-chunks/property_set-BunbMFtp.js';
10
9
  import EngineInstance from './instance.js';
11
10
  import '../../route-recognizer/index.js';
12
11
  import '../../shared-chunks/rsvp-CnCSY930.js';
13
12
  import '../../shared-chunks/unrecognized-url-error-DDBwfzdm.js';
14
13
  import RoutingService from '../routing/lib/routing-service.js';
15
- import ComponentLookup from '../-internals/views/lib/component_lookup.js';
16
- import { a as setupEngineRegistry } from '../../shared-chunks/setup-registry-TiaKLj5k.js';
14
+ import { a as setupEngineRegistry } from '../../shared-chunks/setup-registry-B3DhqtxX.js';
17
15
  import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
18
16
 
19
17
  function props(obj) {
@@ -423,7 +421,6 @@ function commonSetupRegistry(registry) {
423
421
  instantiate: false
424
422
  });
425
423
  registry.register('container-debug-adapter:main', ContainerDebugAdapter);
426
- registry.register('component-lookup:main', ComponentLookup);
427
424
  }
428
425
 
429
426
  export { buildInitializerMethod, Engine as default };
@@ -1,6 +1,5 @@
1
1
  import EmberObject from '../object/index.js';
2
2
  import '../-internals/runtime/lib/ext/rsvp.js';
3
- import '../../shared-chunks/env-DXxsTFkM.js';
4
3
  import { Registry, privatize } from '../-internals/container/index.js';
5
4
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
6
5
  import { ENGINE_PARENT, setEngineParent, getEngineParent } from './lib/engine-parent.js';
@@ -1,10 +1,10 @@
1
1
  import { b as setHelperManager$1 } from '../../shared-chunks/api-CM1trl_4.js';
2
2
  import { i as helperCapabilities } from '../../shared-chunks/api-zh_k31vb.js';
3
- import { i as invokeHelper$1 } from '../../shared-chunks/invoke-Dr_CRwA_.js';
4
- import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-DcUe-meU.js';
5
- import { c as concat$1, g as get$1 } from '../../shared-chunks/get-D5wxdTkY.js';
6
- import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/or-oTVMuHc8.js';
7
- import { e as element$1 } from '../../shared-chunks/element-BjFr0tO0.js';
3
+ import { i as invokeHelper$1 } from '../../shared-chunks/invoke-Cj5zMqHz.js';
4
+ import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-Dkj3I4L4.js';
5
+ import { c as concat$1, g as get$1 } from '../../shared-chunks/get-Dt5L0TcU.js';
6
+ import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/or-Crsa2wci.js';
7
+ import { e as element$1 } from '../../shared-chunks/element-9DRa_9dO.js';
8
8
  import { u as uniqueId$1 } from '../../shared-chunks/unique-id-CfHImDRV.js';
9
9
 
10
10
  /**
@@ -336,18 +336,12 @@ const invokeHelper = invokeHelper$1;
336
336
  * as an argument to your components.
337
337
  *
338
338
  * ```
339
- * import { hash } from '@ember/helper';
340
- *
341
339
  * <template>
342
340
  * {{#each-in (hash givenName='Jen' familyName='Weber') as |key value|}}
343
341
  * <p>{{key}}: {{value}}</p>
344
342
  * {{/each-in}}
345
343
  * </template>
346
344
  * ```
347
- *
348
- * **NOTE:** this example uses the experimental `<template>` feature, which is
349
- * the only place you need to import `hash` to use it (it is a built-in when
350
- * writing standalone `.hbs` files).
351
345
  */
352
346
  const hash = hash$1;
353
347
  /**
@@ -355,7 +349,6 @@ const hash = hash$1;
355
349
  * as an argument to your components.
356
350
  *
357
351
  * ```js
358
- * import { array } from '@ember/helper';
359
352
  *
360
353
  * <template>
361
354
  * <ul>
@@ -364,10 +357,6 @@ const hash = hash$1;
364
357
  * {{/each}}
365
358
  * </ul>
366
359
  * </template>
367
- *
368
- * **NOTE:** this example uses the experimental `<template>` feature, which is
369
- * the only place you need to import `array` to use it (it is a built-in when
370
- * writing standalone `.hbs` files).
371
360
  * ```
372
361
  */
373
362
  const array = array$1;
@@ -388,10 +377,6 @@ const array = array$1;
388
377
  *
389
378
  * This will display the result of `@foo.item1` when `index` is `1`, and
390
379
  * `this.foo.item2` when `index` is `2`, etc.
391
- *
392
- * **NOTE:** this example uses the experimental `<template>` feature, which is
393
- * the only place you need to import `concat` to use it (it is a built-in when
394
- * writing standalone `.hbs` files).
395
380
  */
396
381
  const concat = concat$1;
397
382
  /**
@@ -431,10 +416,6 @@ const concat = concat$1;
431
416
  *
432
417
  * This will display the result of `@foo.item1` when `index` is `1`, and
433
418
  * `this.foo.item2` when `index` is `2`, etc.
434
- *
435
- * **NOTE:** this example uses the experimental `<template>` feature, which is
436
- * the only place you need to import `concat` to use it (it is a built-in when
437
- * writing standalone `.hbs` files).
438
419
  */
439
420
  const get = get$1;
440
421
  /**
@@ -476,7 +457,6 @@ const fn = fn$1;
476
457
  * @param {number} left
477
458
  * @param {number} right
478
459
  * @return {boolean}
479
- * @private
480
460
  */
481
461
  const gt = gt$1;
482
462
  /**
@@ -498,7 +478,6 @@ const gt = gt$1;
498
478
  * @param {number} left
499
479
  * @param {number} right
500
480
  * @return {boolean}
501
- * @private
502
481
  */
503
482
  const gte = gte$1;
504
483
  /**
@@ -520,7 +499,6 @@ const gte = gte$1;
520
499
  * @param {number} left
521
500
  * @param {number} right
522
501
  * @return {boolean}
523
- * @private
524
502
  */
525
503
  const lt = lt$1;
526
504
  /**
@@ -542,7 +520,6 @@ const lt = lt$1;
542
520
  * @param {number} left
543
521
  * @param {number} right
544
522
  * @return {boolean}
545
- * @private
546
523
  */
547
524
  const lte = lte$1;
548
525
  /**
@@ -564,7 +541,6 @@ const lte = lte$1;
564
541
  *
565
542
  * @method element
566
543
  * @param {string} tagName
567
- * @private
568
544
  */
569
545
  const element = element$1;
570
546
  /**
@@ -605,7 +581,6 @@ const uniqueId = uniqueId$1;
605
581
  * @param {unknown} left
606
582
  * @param {unknown} right
607
583
  * @return {boolean}
608
- * @private
609
584
  */
610
585
  const eq = eq$1;
611
586
  /**
@@ -627,7 +602,6 @@ const eq = eq$1;
627
602
  * @param {unknown} left
628
603
  * @param {unknown} right
629
604
  * @return {boolean}
630
- * @private
631
605
  */
632
606
  const neq = neq$1;
633
607
  /**
@@ -649,7 +623,6 @@ const neq = neq$1;
649
623
  * @method and
650
624
  * @param {unknown} args Two or more values to evaluate
651
625
  * @return {unknown} The first falsy value or the last value
652
- * @private
653
626
  */
654
627
  const and = and$1;
655
628
  /**
@@ -671,7 +644,6 @@ const and = and$1;
671
644
  * @method or
672
645
  * @param {unknown} args Two or more values to evaluate
673
646
  * @return {unknown} The first truthy value or the last value
674
- * @private
675
647
  */
676
648
  const or = or$1;
677
649
  /**
@@ -692,7 +664,6 @@ const or = or$1;
692
664
  * @method not
693
665
  * @param {unknown} value The value to negate
694
666
  * @return {boolean}
695
- * @private
696
667
  */
697
668
  const not = not$1;
698
669
 
@@ -1,4 +1,4 @@
1
- import { o as on$1 } from '../../shared-chunks/on-C3ZQiUUD.js';
1
+ import { o as on$1 } from '../../shared-chunks/on-CWgOWNSL.js';
2
2
 
3
3
  // In normal TypeScript, this modifier is essentially an opaque token that just
4
4
  // needs to be importable. Declaring it with a unique interface like this,
@@ -1,6 +1,5 @@
1
1
  export { g as cacheFor } from '../../shared-chunks/computed_cache-DmYKevAP.js';
2
2
  export { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
3
- import '../../shared-chunks/env-DXxsTFkM.js';
4
3
  import '../../shared-chunks/super-BBBjgF69.js';
5
4
  import EmberObject from './index.js';
6
5
 
@@ -1,5 +1,4 @@
1
- import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-DBCISop4.js';
2
- import '../../shared-chunks/env-DXxsTFkM.js';
1
+ import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-9ikVwsjY.js';
3
2
  import { t as track, U as UPDATE_TAG, a as consumeTag } from '../../shared-chunks/cache-BIlOoPA7.js';
4
3
  import { t as tagFor } from '../../shared-chunks/meta-B9mldqPL.js';
5
4
 
@@ -1,4 +1,4 @@
1
- export { C as default, e as expandProperties } from '../../shared-chunks/computed-2Udcmflw.js';
2
- export { a as alias } from '../../shared-chunks/alias-CLuFeKoV.js';
1
+ export { C as default, e as expandProperties } from '../../shared-chunks/computed-DjCIU_ht.js';
2
+ export { a as alias } from '../../shared-chunks/alias-DBW_V5vD.js';
3
3
  export { and, bool, deprecatingAlias, empty, equal, gt, gte, lt, lte, match, none, not, notEmpty, oneWay, or, readOnly, oneWay as reads } from './lib/computed/computed_macros.js';
4
4
  export { collect, filter, filterBy, intersect, map, mapBy, max, min, setDiff, sort, sum, union, uniq, uniqBy } from './lib/computed/reduce_computed_macros.js';
@@ -1,12 +1,11 @@
1
- import { g as getFactoryFor, s as setFactoryFor } from '../../shared-chunks/container-D5NwW5Fd.js';
1
+ import { g as getFactoryFor, s as setFactoryFor } from '../../shared-chunks/container-BYOnjnwz.js';
2
2
  import { getOwner } from '../-internals/owner/index.js';
3
3
  import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
4
4
  import { meta } from '../-internals/meta/lib/meta.js';
5
- import '../../shared-chunks/property_get-hWJ0nGhW.js';
6
- import { s as sendEvent } from '../../shared-chunks/events-970OxD6Q.js';
7
- import { a as activateObserver } from '../../shared-chunks/observers-Co4JALkS.js';
8
- import '../../shared-chunks/env-DXxsTFkM.js';
9
- import { d as descriptorForProperty } from '../../shared-chunks/decorator-DBCISop4.js';
5
+ import '../../shared-chunks/property_get-CAFdpRyu.js';
6
+ import { s as sendEvent } from '../../shared-chunks/events-DYrYz3V8.js';
7
+ import { a as activateObserver } from '../../shared-chunks/observers-CDkeR0nI.js';
8
+ import { d as descriptorForProperty } from '../../shared-chunks/decorator-9ikVwsjY.js';
10
9
  import { registerDestructor, isDestroyed, isDestroying, destroy } from '../../@glimmer/destroyable/index.js';
11
10
  import '../../shared-chunks/cache-BIlOoPA7.js';
12
11
  import '../../shared-chunks/reference-BshxG6wn.js';
@@ -1,5 +1,5 @@
1
- import { h as hasListeners, r as removeListener, s as sendEvent, a as addListener } from '../../shared-chunks/events-970OxD6Q.js';
2
- export { o as on } from '../../shared-chunks/events-970OxD6Q.js';
1
+ import { h as hasListeners, r as removeListener, s as sendEvent, a as addListener } from '../../shared-chunks/events-DYrYz3V8.js';
2
+ export { o as on } from '../../shared-chunks/events-DYrYz3V8.js';
3
3
  import Mixin from './mixin.js';
4
4
 
5
5
  /**
@@ -1 +1 @@
1
- export { a as addListener, r as removeListener, s as sendEvent } from '../../shared-chunks/events-970OxD6Q.js';
1
+ export { a as addListener, r as removeListener, s as sendEvent } from '../../shared-chunks/events-DYrYz3V8.js';
@@ -1,15 +1,15 @@
1
1
  import { E as ENV } from '../../shared-chunks/env-DXxsTFkM.js';
2
- import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-DBCISop4.js';
3
- import { e as expandProperties } from '../../shared-chunks/computed-2Udcmflw.js';
4
- export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-2Udcmflw.js';
5
- import { g as getFactoryFor } from '../../shared-chunks/container-D5NwW5Fd.js';
2
+ import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-9ikVwsjY.js';
3
+ import { e as expandProperties } from '../../shared-chunks/computed-DjCIU_ht.js';
4
+ export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-DjCIU_ht.js';
5
+ import { g as getFactoryFor } from '../../shared-chunks/container-BYOnjnwz.js';
6
6
  import { s as setObservers } from '../../shared-chunks/super-BBBjgF69.js';
7
7
  import CoreObject from './core.js';
8
8
  import Observable from './observable.js';
9
- export { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
10
- export { s as set, t as trySet } from '../../shared-chunks/property_set-Dj5-ScWk.js';
11
- export { g as getProperties } from '../../shared-chunks/get_properties-BcAC5sGx.js';
12
- export { s as setProperties } from '../../shared-chunks/set_properties-oPyURk67.js';
9
+ export { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
10
+ export { s as set, t as trySet } from '../../shared-chunks/property_set-BunbMFtp.js';
11
+ export { g as getProperties } from '../../shared-chunks/get_properties-Nn08mLAH.js';
12
+ export { s as setProperties } from '../../shared-chunks/set_properties-LT3RzRmJ.js';
13
13
 
14
14
  /**
15
15
  @module @ember/object
@@ -38,8 +38,8 @@ class EmberObject extends CoreObject.extend(Observable) {
38
38
  Decorator that turns the target function into an Action which can be accessed
39
39
  directly by reference.
40
40
 
41
- ```js
42
- import Component from '@ember/component';
41
+ ```gjs
42
+ import Component from '@glimmer/component';
43
43
  import { tracked } from '@glimmer/tracking';
44
44
  import { action } from '@ember/object';
45
45
 
@@ -50,24 +50,24 @@ class EmberObject extends CoreObject.extend(Observable) {
50
50
  toggleShowing() {
51
51
  this.isShowing = !this.isShowing;
52
52
  }
53
+
54
+ <template>
55
+ <button {{on "click" this.toggleShowing}}>Show tooltip</button>
56
+
57
+ {{#if isShowing}}
58
+ <div class="tooltip">
59
+ I'm a tooltip!
60
+ </div>
61
+ {{/if}}
62
+ </template>
53
63
  }
54
64
  ```
55
- ```hbs
56
- <!-- template.hbs -->
57
- <button {{on "click" this.toggleShowing}}>Show tooltip</button>
58
-
59
- {{#if isShowing}}
60
- <div class="tooltip">
61
- I'm a tooltip!
62
- </div>
63
- {{/if}}
64
- ```
65
65
 
66
66
  It also binds the function directly to the instance, so it can be used in any
67
67
  context and will correctly refer to the class it came from:
68
68
 
69
- ```js
70
- import Component from '@ember/component';
69
+ ```gjs
70
+ import Component from '@glimmer/component';
71
71
  import { tracked } from '@glimmer/tracking';
72
72
  import { action } from '@ember/object';
73
73
 
@@ -86,6 +86,10 @@ class EmberObject extends CoreObject.extend(Observable) {
86
86
  toggleShowing() {
87
87
  this.isShowing = !this.isShowing;
88
88
  }
89
+
90
+ <template>
91
+ {{!-- ...--}}
92
+ </template>
89
93
  }
90
94
  ```
91
95
 
@@ -164,9 +168,10 @@ setClassicDecorator(action);
164
168
  });
165
169
  ```
166
170
 
167
- Also available as `Function.prototype.observes` if prototype extensions are
168
- enabled.
169
-
171
+ While observers are still supported, there are [plans to deprecate them](https://github.com/emberjs/rfcs/pull/1115)
172
+ See the [in-progress deprecation guide](https://github.com/ember-learn/deprecation-app/pull/1407)
173
+ for guidance on how to avoid using observers.
174
+
170
175
  @method observer
171
176
  @for @ember/object
172
177
  @param {String} propertyNames*
@@ -1,5 +1,4 @@
1
1
  export { g as cacheFor } from '../../shared-chunks/computed_cache-DmYKevAP.js';
2
2
  export { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
3
- import '../../shared-chunks/env-DXxsTFkM.js';
4
3
  import '../../shared-chunks/super-BBBjgF69.js';
5
4
  import './index.js';
@@ -1,8 +1,7 @@
1
- import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-2Udcmflw.js';
2
- import '../../../../shared-chunks/env-DXxsTFkM.js';
3
- import { a as alias } from '../../../../shared-chunks/alias-CLuFeKoV.js';
4
- import { g as get } from '../../../../shared-chunks/property_get-hWJ0nGhW.js';
5
- import { s as set } from '../../../../shared-chunks/property_set-Dj5-ScWk.js';
1
+ import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-DjCIU_ht.js';
2
+ import { a as alias } from '../../../../shared-chunks/alias-DBW_V5vD.js';
3
+ import { g as get } from '../../../../shared-chunks/property_get-CAFdpRyu.js';
4
+ import { s as set } from '../../../../shared-chunks/property_set-BunbMFtp.js';
6
5
  import isEmpty from '../../../utils/lib/is_empty.js';
7
6
  import isNone from '../../../utils/lib/is_none.js';
8
7
 
@@ -1,6 +1,5 @@
1
- import '../../../../shared-chunks/env-DXxsTFkM.js';
2
- import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-2Udcmflw.js';
3
- import { g as get } from '../../../../shared-chunks/property_get-hWJ0nGhW.js';
1
+ import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-DjCIU_ht.js';
2
+ import { g as get } from '../../../../shared-chunks/property_get-CAFdpRyu.js';
4
3
  import compare from '../../../utils/lib/compare.js';
5
4
  import EmberArray, { A, uniqBy as uniqBy$1 } from '../../../array/index.js';
6
5
 
@@ -1,11 +1,10 @@
1
- import '../../shared-chunks/env-DXxsTFkM.js';
2
1
  import { peekMeta, meta } from '../-internals/meta/lib/meta.js';
3
2
  import { R as ROOT, o as observerListenerMetaFor, w as wrap } from '../../shared-chunks/super-BBBjgF69.js';
4
- import { n as nativeDescDecorator, a as isClassicDecorator, b as descriptorForDecorator, m as makeComputedDecorator } from '../../shared-chunks/decorator-DBCISop4.js';
5
- import { g as defineValue, h as defineDecorator, C as ComputedProperty } from '../../shared-chunks/computed-2Udcmflw.js';
3
+ import { n as nativeDescDecorator, a as isClassicDecorator, b as descriptorForDecorator, m as makeComputedDecorator } from '../../shared-chunks/decorator-9ikVwsjY.js';
4
+ import { g as defineValue, h as defineDecorator, C as ComputedProperty } from '../../shared-chunks/computed-DjCIU_ht.js';
6
5
  import { s as setUnprocessedMixins } from '../../shared-chunks/namespace_search-BfvzEQzN.js';
7
- import { c as revalidateObservers, b as addObserver, r as removeObserver } from '../../shared-chunks/observers-Co4JALkS.js';
8
- import { a as addListener, r as removeListener } from '../../shared-chunks/events-970OxD6Q.js';
6
+ import { c as revalidateObservers, b as addObserver, r as removeObserver } from '../../shared-chunks/observers-CDkeR0nI.js';
7
+ import { a as addListener, r as removeListener } from '../../shared-chunks/events-DYrYz3V8.js';
9
8
 
10
9
  /**
11
10
  @module @ember/object/mixin
@@ -1,13 +1,12 @@
1
1
  import { peekMeta } from '../-internals/meta/lib/meta.js';
2
- import { h as hasListeners } from '../../shared-chunks/events-970OxD6Q.js';
3
- import { n as notifyPropertyChange, a as endPropertyChanges, b as beginPropertyChanges } from '../../shared-chunks/computed-2Udcmflw.js';
4
- import { r as removeObserver, b as addObserver } from '../../shared-chunks/observers-Co4JALkS.js';
5
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
6
- import { s as set } from '../../shared-chunks/property_set-Dj5-ScWk.js';
7
- import { g as getProperties } from '../../shared-chunks/get_properties-BcAC5sGx.js';
8
- import { s as setProperties } from '../../shared-chunks/set_properties-oPyURk67.js';
2
+ import { h as hasListeners } from '../../shared-chunks/events-DYrYz3V8.js';
3
+ import { n as notifyPropertyChange, a as endPropertyChanges, b as beginPropertyChanges } from '../../shared-chunks/computed-DjCIU_ht.js';
4
+ import { r as removeObserver, b as addObserver } from '../../shared-chunks/observers-CDkeR0nI.js';
5
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
6
+ import { s as set } from '../../shared-chunks/property_set-BunbMFtp.js';
7
+ import { g as getProperties } from '../../shared-chunks/get_properties-Nn08mLAH.js';
8
+ import { s as setProperties } from '../../shared-chunks/set_properties-LT3RzRmJ.js';
9
9
  import Mixin from './mixin.js';
10
- import '../../shared-chunks/env-DXxsTFkM.js';
11
10
 
12
11
  /**
13
12
  @module @ember/object/observable
@@ -1 +1 @@
1
- export { b as addObserver, r as removeObserver } from '../../shared-chunks/observers-Co4JALkS.js';
1
+ export { b as addObserver, r as removeObserver } from '../../shared-chunks/observers-CDkeR0nI.js';
@@ -1,6 +1,6 @@
1
- import { g as get } from '../../shared-chunks/property_get-hWJ0nGhW.js';
2
- import { s as setProperties } from '../../shared-chunks/set_properties-oPyURk67.js';
3
- import { c as computed } from '../../shared-chunks/computed-2Udcmflw.js';
1
+ import { g as get } from '../../shared-chunks/property_get-CAFdpRyu.js';
2
+ import { s as setProperties } from '../../shared-chunks/set_properties-LT3RzRmJ.js';
3
+ import { c as computed } from '../../shared-chunks/computed-DjCIU_ht.js';
4
4
  import Mixin from './mixin.js';
5
5
 
6
6
  /**
@@ -179,6 +179,8 @@ function trackedMap(data, options) {
179
179
  return function (key, value) {
180
180
  const hasExisting = target.has(key);
181
181
  if (hasExisting) {
182
+ // TS doesn't know about the relationship between has and get
183
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
182
184
  const isUnchanged = equals(target.get(key), value);
183
185
  if (isUnchanged) return proxy;
184
186
  }
@@ -1 +1 @@
1
- export { a as renderComponent, r as renderSettled } from '../../shared-chunks/index-D87qoERP.js';
1
+ export { a as renderComponent, r as renderSettled } from '../../shared-chunks/index-ClxHbCe9.js';
@@ -1,5 +1,4 @@
1
1
  import EmberObject from '../object/index.js';
2
- import '../../shared-chunks/env-DXxsTFkM.js';
3
2
  import { getHash } from './lib/location-utils.js';
4
3
 
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  import { isSimpleClick } from '../-internals/views/lib/system/utils.js';
2
- import '../../shared-chunks/env-DXxsTFkM.js';
3
2
  import { getEngineParent } from '../engine/lib/engine-parent.js';
4
3
  import { flaggedInstrument } from '../instrumentation/index.js';
5
4
  import { action } from '../object/index.js';
@@ -7,9 +6,9 @@ import { service } from '../service/index.js';
7
6
  import { a as consumeTag, b as createCache, g as getValue, u as untrack } from '../../shared-chunks/cache-BIlOoPA7.js';
8
7
  import { t as tagFor } from '../../shared-chunks/meta-B9mldqPL.js';
9
8
  import { on } from '../modifier/on.js';
10
- import { t as templateFactory } from '../../shared-chunks/index--2U-v2nf.js';
9
+ import { t as templateFactory } from '../../shared-chunks/index-Bj71BDDA.js';
11
10
  import { I as InternalComponent, o as opaquify } from '../../shared-chunks/internal-DidurjJB.js';
12
- import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from '../../shared-chunks/chunk-3SQBS3Y5-Cj4eryg1.js';
11
+ import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
13
12
 
14
13
  const LinkToTemplate = templateFactory(
15
14
  /*
@@ -59,10 +58,14 @@ function isQueryParams(value) {
59
58
  supplied model to the route as its `model` context of the route. The block for `LinkTo`
60
59
  becomes the contents of the rendered element:
61
60
 
62
- ```handlebars
63
- <LinkTo @route='photoGallery'>
64
- Great Hamster Photos
65
- </LinkTo>
61
+ ```gjs
62
+ import { LinkTo } from '@ember/routing';
63
+
64
+ <template>
65
+ <LinkTo @route='photoGallery'>
66
+ Great Hamster Photos
67
+ </LinkTo>
68
+ </template>
66
69
  ```
67
70
 
68
71
  This will result in:
@@ -1,5 +1,3 @@
1
- import '../../../shared-chunks/env-DXxsTFkM.js';
2
-
3
1
  let uuid = 0;
4
2
  function isCallback(value) {
5
3
  return typeof value === 'function';
@@ -1,6 +1,5 @@
1
- import '../../../shared-chunks/property_get-hWJ0nGhW.js';
1
+ import '../../../shared-chunks/property_get-CAFdpRyu.js';
2
2
  import '../../controller/index.js';
3
- import '../../../shared-chunks/env-DXxsTFkM.js';
4
3
 
5
4
  /**
6
5
  @module @ember/routing
@@ -1,9 +1,8 @@
1
1
  import { getOwner } from '../../-internals/owner/index.js';
2
- import '../../../shared-chunks/env-DXxsTFkM.js';
3
2
  import '../../../shared-chunks/cache-BIlOoPA7.js';
4
3
  import '../../../shared-chunks/reference-BshxG6wn.js';
5
- import '../../../shared-chunks/observers-Co4JALkS.js';
6
- import '../../../shared-chunks/property_get-hWJ0nGhW.js';
4
+ import '../../../shared-chunks/observers-CDkeR0nI.js';
5
+ import '../../../shared-chunks/property_get-CAFdpRyu.js';
7
6
  import { readOnly } from '../../object/lib/computed/computed_macros.js';
8
7
  import '../../object/core.js';
9
8
  import '../../-internals/runtime/lib/mixins/comparable.js';
@@ -1,6 +1,5 @@
1
- import { g as get } from '../../../shared-chunks/property_get-hWJ0nGhW.js';
1
+ import { g as get } from '../../../shared-chunks/property_get-CAFdpRyu.js';
2
2
  import { getOwner } from '../../-internals/owner/index.js';
3
- import '../../../shared-chunks/env-DXxsTFkM.js';
4
3
  import '../../engine/instance.js';
5
4
  import '../../../route-recognizer/index.js';
6
5
  import '../../../shared-chunks/rsvp-CnCSY930.js';
@@ -1,5 +1,4 @@
1
1
  import EmberObject from '../object/index.js';
2
- import '../../shared-chunks/env-DXxsTFkM.js';
3
2
 
4
3
  /**
5
4
  @module @ember/routing/none-location