ember-source 7.3.0-alpha.4 → 7.3.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 (216) hide show
  1. package/build-metadata.json +3 -3
  2. package/dist/dev/packages/@ember/-internals/deprecations/index.js +9 -0
  3. package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
  4. package/dist/dev/packages/@ember/-internals/metal/index.js +8 -8
  5. package/dist/dev/packages/@ember/-internals/routing/index.js +3 -3
  6. package/dist/dev/packages/@ember/-internals/runtime/index.js +1 -1
  7. package/dist/dev/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
  8. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +2 -2
  9. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +5 -1
  10. package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +4 -1
  11. package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +3 -1
  12. package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  13. package/dist/dev/packages/@ember/application/index.js +5 -5
  14. package/dist/dev/packages/@ember/application/instance.js +11 -11
  15. package/dist/dev/packages/@ember/application/namespace.js +1 -1
  16. package/dist/dev/packages/@ember/array/index.js +2 -2
  17. package/dist/dev/packages/@ember/array/lib/is-array.js +1 -1
  18. package/dist/dev/packages/@ember/array/proxy.js +2 -2
  19. package/dist/dev/packages/@ember/component/helper.js +2 -2
  20. package/dist/dev/packages/@ember/component/index.js +4 -4
  21. package/dist/dev/packages/@ember/controller/index.js +1 -1
  22. package/dist/dev/packages/@ember/debug/data-adapter.js +1 -1
  23. package/dist/dev/packages/@ember/engine/index.js +5 -5
  24. package/dist/dev/packages/@ember/engine/instance.js +1 -1
  25. package/dist/dev/packages/@ember/helper/index.js +1132 -79
  26. package/dist/dev/packages/@ember/modifier/on.js +1 -1
  27. package/dist/dev/packages/@ember/object/compat.js +0 -32
  28. package/dist/dev/packages/@ember/object/computed.js +1 -1
  29. package/dist/dev/packages/@ember/object/core.js +1 -1
  30. package/dist/dev/packages/@ember/object/index.js +4 -4
  31. package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +3 -3
  32. package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
  33. package/dist/dev/packages/@ember/object/observable.js +4 -4
  34. package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +2 -2
  35. package/dist/dev/packages/@ember/renderer/index.js +1 -1
  36. package/dist/dev/packages/@ember/routing/-internals.js +3 -3
  37. package/dist/dev/packages/@ember/routing/history-location.js +2 -2
  38. package/dist/dev/packages/@ember/routing/index.js +11 -28
  39. package/dist/dev/packages/@ember/routing/lib/generate_controller.js +1 -1
  40. package/dist/dev/packages/@ember/routing/lib/location-utils.js +14 -11
  41. package/dist/dev/packages/@ember/routing/lib/routing-service.js +1 -1
  42. package/dist/dev/packages/@ember/routing/lib/utils.js +3 -3
  43. package/dist/dev/packages/@ember/routing/none-location.js +2 -1
  44. package/dist/dev/packages/@ember/routing/route.js +17 -6
  45. package/dist/dev/packages/@ember/routing/router-service.js +10 -10
  46. package/dist/dev/packages/@ember/routing/router.js +4 -4
  47. package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  48. package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
  49. package/dist/dev/packages/@ember/template-factory/index.js +1 -1
  50. package/dist/dev/packages/@ember/utils/lib/is_empty.js +1 -1
  51. package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
  52. package/dist/dev/packages/@glimmer/program/index.js +3 -3
  53. package/dist/dev/packages/@glimmer/runtime/index.js +7 -7
  54. package/dist/dev/packages/@glimmer/wire-format/index.js +2 -5
  55. package/dist/dev/packages/ember/version.js +1 -1
  56. package/dist/dev/packages/ember-template-compiler/index.js +2 -2
  57. package/dist/dev/packages/router_js/index.js +17 -9
  58. package/dist/dev/packages/rsvp/index.js +1 -2281
  59. package/dist/dev/packages/shared-chunks/{alias-CT_thCad.js → alias-3DBxvoim.js} +2 -2
  60. package/dist/dev/packages/shared-chunks/{arguments-CDkbOqTS.js → arguments-DniR8eF2.js} +5 -18
  61. package/dist/dev/packages/shared-chunks/{compiler-QUSl_urU.js → compiler-BHFFl-fv.js} +1 -1
  62. package/dist/dev/packages/shared-chunks/{curly-DGUCLOud.js → curly-BCD_vyHq.js} +2 -2
  63. package/dist/dev/packages/shared-chunks/{element-BYLB-q7a.js → element-Cgoi4ldD.js} +0 -24
  64. package/dist/dev/packages/shared-chunks/get-zsePWrJL.js +40 -0
  65. package/dist/dev/packages/shared-chunks/{get_properties-Cm2sWt5f.js → get_properties-BlyZny5J.js} +1 -1
  66. package/dist/dev/packages/shared-chunks/hash-BFu91gtE.js +57 -0
  67. package/dist/dev/packages/shared-chunks/{index-D1AjYv31.js → index-B5gBbO_p.js} +195 -79
  68. package/dist/dev/packages/shared-chunks/{index-DaFzpTIE.js → index-BYUSIu_W.js} +3 -3
  69. package/dist/dev/packages/shared-chunks/{invoke-d9sqa50M.js → invoke-CgF42joE.js} +1 -1
  70. package/dist/dev/packages/shared-chunks/{libraries-DwffpMGE.js → libraries-BrYKoqoK.js} +1 -1
  71. package/dist/dev/packages/shared-chunks/{not-DYh6AY9Z.js → not-0cVb-rLf.js} +1 -1
  72. package/dist/dev/packages/shared-chunks/{on-DlF0Wy7P.js → on-CVIjn2C-.js} +22 -11
  73. package/dist/dev/packages/shared-chunks/{opcodes-CplRyHl_.js → opcodes-DDajoGhq.js} +0 -4
  74. package/dist/dev/packages/shared-chunks/{outlet-CHFL7tun.js → outlet-BO5-QFmm.js} +3 -3
  75. package/dist/dev/packages/shared-chunks/{program-context-Dq8xN2HI.js → program-context-BBB1Ga5h.js} +2 -2
  76. package/dist/dev/packages/shared-chunks/{property_get-CRP7MFz_.js → property_get-DXwpgTe7.js} +1 -1
  77. package/dist/dev/packages/shared-chunks/{property_set-CVlVgdor.js → property_set-DezUwDX4.js} +1 -1
  78. package/dist/dev/packages/shared-chunks/{render-CtH73XOv.js → render-D_Rawf-r.js} +2 -2
  79. package/dist/{prod/packages/shared-chunks/rsvp.es-DR7yS7qg.js → dev/packages/shared-chunks/rsvp-aLN_pQtn.js} +152 -148
  80. package/dist/dev/packages/shared-chunks/{set_properties-CEUT_EJn.js → set_properties-BzM_irwA.js} +1 -1
  81. package/dist/dev/packages/shared-chunks/{setup-registry-DQ3c4Juo.js → setup-registry-Dp5dtaLa.js} +35 -13
  82. package/dist/{prod/packages/shared-chunks/syscall-ops-CN7STuUn.js → dev/packages/shared-chunks/syscall-ops-CkPT1Kfx.js} +1 -2
  83. package/dist/dev/packages/shared-chunks/{textarea-DEvw4ezm.js → textarea-DvS6Xmdh.js} +3 -23
  84. package/dist/dev/packages/shared-chunks/{unique-id-DQOhouG1.js → unique-id-Csxuh1I7.js} +0 -4
  85. package/dist/dev/packages/shared-chunks/{unrecognized-url-error-B8loxkay.js → unrecognized-url-error-cXUp-SK3.js} +1 -1
  86. package/dist/prod/packages/@ember/-internals/deprecations/index.js +9 -0
  87. package/dist/prod/packages/@ember/-internals/glimmer/index.js +7 -7
  88. package/dist/prod/packages/@ember/-internals/metal/index.js +8 -8
  89. package/dist/prod/packages/@ember/-internals/routing/index.js +3 -3
  90. package/dist/prod/packages/@ember/-internals/runtime/index.js +1 -1
  91. package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
  92. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +2 -2
  93. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +5 -1
  94. package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +4 -1
  95. package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +3 -1
  96. package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
  97. package/dist/prod/packages/@ember/application/index.js +5 -5
  98. package/dist/prod/packages/@ember/application/instance.js +11 -11
  99. package/dist/prod/packages/@ember/application/namespace.js +1 -1
  100. package/dist/prod/packages/@ember/array/index.js +2 -2
  101. package/dist/prod/packages/@ember/array/lib/is-array.js +1 -1
  102. package/dist/prod/packages/@ember/array/proxy.js +2 -2
  103. package/dist/prod/packages/@ember/component/helper.js +2 -2
  104. package/dist/prod/packages/@ember/component/index.js +4 -4
  105. package/dist/prod/packages/@ember/controller/index.js +1 -1
  106. package/dist/prod/packages/@ember/debug/data-adapter.js +1 -1
  107. package/dist/prod/packages/@ember/engine/index.js +5 -5
  108. package/dist/prod/packages/@ember/engine/instance.js +1 -1
  109. package/dist/prod/packages/@ember/helper/index.js +1132 -79
  110. package/dist/prod/packages/@ember/modifier/on.js +1 -1
  111. package/dist/prod/packages/@ember/object/compat.js +0 -32
  112. package/dist/prod/packages/@ember/object/computed.js +1 -1
  113. package/dist/prod/packages/@ember/object/core.js +1 -1
  114. package/dist/prod/packages/@ember/object/index.js +4 -4
  115. package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +3 -3
  116. package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
  117. package/dist/prod/packages/@ember/object/observable.js +4 -4
  118. package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +2 -2
  119. package/dist/prod/packages/@ember/renderer/index.js +1 -1
  120. package/dist/prod/packages/@ember/routing/history-location.js +2 -2
  121. package/dist/prod/packages/@ember/routing/index.js +10 -27
  122. package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -1
  123. package/dist/prod/packages/@ember/routing/lib/location-utils.js +14 -11
  124. package/dist/prod/packages/@ember/routing/lib/routing-service.js +1 -1
  125. package/dist/prod/packages/@ember/routing/lib/utils.js +3 -3
  126. package/dist/prod/packages/@ember/routing/none-location.js +2 -1
  127. package/dist/prod/packages/@ember/routing/route.js +17 -6
  128. package/dist/prod/packages/@ember/routing/router-service.js +10 -10
  129. package/dist/prod/packages/@ember/routing/router.js +4 -4
  130. package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
  131. package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
  132. package/dist/prod/packages/@ember/template-factory/index.js +1 -1
  133. package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
  134. package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -2
  135. package/dist/prod/packages/@glimmer/program/index.js +3 -3
  136. package/dist/prod/packages/@glimmer/runtime/index.js +7 -7
  137. package/dist/prod/packages/@glimmer/wire-format/index.js +2 -5
  138. package/dist/prod/packages/ember/version.js +1 -1
  139. package/dist/prod/packages/ember-template-compiler/index.js +2 -2
  140. package/dist/prod/packages/router_js/index.js +17 -9
  141. package/dist/prod/packages/rsvp/index.js +1 -2281
  142. package/dist/prod/packages/shared-chunks/{alias-CHHuE0LE.js → alias-IFzw6sv_.js} +2 -2
  143. package/dist/prod/packages/shared-chunks/{arguments-BzAkZVBa.js → arguments-CCYATlEH.js} +1 -18
  144. package/dist/prod/packages/shared-chunks/{compiler-lBSssiWp.js → compiler-Wt5SWcrF.js} +1 -1
  145. package/dist/prod/packages/shared-chunks/{curly-a6DP7r87.js → curly-CdvJuTyW.js} +2 -2
  146. package/dist/prod/packages/shared-chunks/{element-DgHdPZ8u.js → element-BmBjPjkQ.js} +0 -24
  147. package/dist/prod/packages/shared-chunks/get-CEjFJzGs.js +40 -0
  148. package/dist/prod/packages/shared-chunks/{get_properties-Dg3xFpiS.js → get_properties-CkJ_mhLz.js} +1 -1
  149. package/dist/prod/packages/shared-chunks/hash-BitfXhCx.js +57 -0
  150. package/dist/prod/packages/shared-chunks/{index-CvQQ6l11.js → index-C4VEqlp7.js} +195 -79
  151. package/dist/prod/packages/shared-chunks/{index-Bf53M8eS.js → index-kwuZeaNz.js} +3 -3
  152. package/dist/prod/packages/shared-chunks/{invoke-DhQ5QRp2.js → invoke-4JGJYH7Z.js} +1 -1
  153. package/dist/prod/packages/shared-chunks/{libraries-DBql0hdn.js → libraries-Dx5DiBJv.js} +1 -1
  154. package/dist/prod/packages/shared-chunks/{not-BOIVROuv.js → not-Dn5s9qVZ.js} +1 -1
  155. package/dist/prod/packages/shared-chunks/{on-BZHAxzdq.js → on-ov4KAucw.js} +22 -11
  156. package/dist/prod/packages/shared-chunks/{opcodes-CplRyHl_.js → opcodes-DDajoGhq.js} +0 -4
  157. package/dist/prod/packages/shared-chunks/{outlet--lIm3q7t.js → outlet-BWnaVOrA.js} +3 -3
  158. package/dist/prod/packages/shared-chunks/{program-context-COSioH46.js → program-context-WVlzpPdi.js} +2 -2
  159. package/dist/prod/packages/shared-chunks/{property_get-DAKgbeJX.js → property_get-DuDs6rLg.js} +1 -1
  160. package/dist/prod/packages/shared-chunks/{property_set-CkLe4ht8.js → property_set-BmAQ0MGK.js} +1 -1
  161. package/dist/prod/packages/shared-chunks/{render-Bf7GviCY.js → render-BAVl5E6X.js} +2 -2
  162. package/dist/{dev/packages/shared-chunks/rsvp.es-DR7yS7qg.js → prod/packages/shared-chunks/rsvp-aLN_pQtn.js} +152 -148
  163. package/dist/prod/packages/shared-chunks/{set_properties-Cs3rVemD.js → set_properties-DYiBfzdk.js} +1 -1
  164. package/dist/prod/packages/shared-chunks/{setup-registry-kOGgOucf.js → setup-registry-DI1Agp-0.js} +35 -13
  165. package/dist/{dev/packages/shared-chunks/syscall-ops-CN7STuUn.js → prod/packages/shared-chunks/syscall-ops-CkPT1Kfx.js} +1 -2
  166. package/dist/prod/packages/shared-chunks/{textarea-DMmdvgk2.js → textarea-B-sssXGa.js} +3 -23
  167. package/dist/prod/packages/shared-chunks/{unique-id-o2pS74go.js → unique-id-BJb1p8EG.js} +0 -4
  168. package/dist/prod/packages/shared-chunks/{unrecognized-url-error-jjQ-FqKB.js → unrecognized-url-error-xC654tCo.js} +1 -1
  169. package/docs/data.json +1249 -1408
  170. package/package.json +7 -4
  171. package/types/stable/@ember/-internals/deprecations/index.d.ts +6 -0
  172. package/types/stable/@ember/-internals/glimmer/index.d.ts +7 -380
  173. package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +1 -1
  174. package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +2 -2
  175. package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +171 -62
  176. package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +0 -24
  177. package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +3 -2
  178. package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +3 -1
  179. package/types/stable/@ember/-internals/glimmer/lib/helpers/unbound.d.ts +6 -2
  180. package/types/stable/@ember/-internals/glimmer/lib/helpers/unique-id.d.ts +0 -3
  181. package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +4 -2
  182. package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +7 -2
  183. package/types/stable/@ember/helper/index.d.ts +1113 -73
  184. package/types/stable/@ember/object/compat.d.ts +0 -32
  185. package/types/stable/@ember/object/core.d.ts +1 -1
  186. package/types/stable/@ember/routing/lib/location-utils.d.ts +10 -7
  187. package/types/stable/@ember/routing/router-service.d.ts +9 -9
  188. package/types/stable/@glimmer/interfaces/lib/compile/wire-format/api.d.ts +1 -9
  189. package/types/stable/@glimmer/interfaces/lib/compile/wire-format/opcodes.d.ts +0 -4
  190. package/types/stable/@glimmer/interfaces/lib/vm-opcodes.d.ts +0 -4
  191. package/types/stable/@glimmer/opcode-compiler/lib/opcode-builder/helpers/conditional.d.ts +1 -1
  192. package/types/stable/@glimmer/opcode-compiler/lib/syntax/statements.d.ts +1 -1
  193. package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +0 -33
  194. package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +0 -25
  195. package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +0 -70
  196. package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +0 -69
  197. package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +0 -36
  198. package/types/stable/index.d.ts +0 -14
  199. package/dist/dev/packages/shared-chunks/get-6I3sjd-I.js +0 -135
  200. package/dist/dev/packages/shared-chunks/hash-6NDs_5_f.js +0 -198
  201. package/dist/prod/packages/shared-chunks/get-Dago5uGl.js +0 -135
  202. package/dist/prod/packages/shared-chunks/hash-gEXIsSO4.js +0 -198
  203. package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +0 -43
  204. package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +0 -93
  205. package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +0 -32
  206. package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +0 -77
  207. package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +0 -94
  208. package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +0 -46
  209. package/types/stable/@ember/-internals/glimmer/lib/helpers/helper.d.ts +0 -43
  210. package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +0 -228
  211. package/types/stable/@ember/-internals/glimmer/lib/helpers/log.d.ts +0 -19
  212. package/types/stable/@ember/-internals/glimmer/lib/helpers/modifier.d.ts +0 -42
  213. package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +0 -24
  214. package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +0 -95
  215. package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +0 -49
  216. package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +0 -43
@@ -1,4 +1,4 @@
1
- import { o as on$1 } from '../../shared-chunks/on-DlF0Wy7P.js';
1
+ import { o as on$1 } from '../../shared-chunks/on-CVIjn2C-.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,
@@ -59,38 +59,6 @@ let wrapGetterSetter = function (target, key, desc) {
59
59
  }
60
60
  ```
61
61
 
62
- Classic Example:
63
-
64
- ```js
65
- import { tracked } from '@glimmer/tracking';
66
- import { dependentKeyCompat } from '@ember/object/compat';
67
- import EmberObject, { computed, observer, set } from '@ember/object';
68
-
69
- const Person = EmberObject.extend({
70
- firstName: tracked(),
71
- lastName: tracked(),
72
-
73
- fullName: dependentKeyCompat(function() {
74
- return `${this.firstName} ${this.lastName}`;
75
- }),
76
- });
77
-
78
- const Profile = EmberObject.extend({
79
- person: null,
80
-
81
- helloMessage: computed('person.fullName', function() {
82
- return `Hello, ${this.person.fullName}!`;
83
- }),
84
-
85
- onNameUpdated: observer('person.fullName', function() {
86
- console.log('person name updated!');
87
- }),
88
- });
89
- ```
90
-
91
- `dependentKeyCompat()` can receive a getter function or an object containing
92
- `get`/`set` methods when used in classic classes, like computed properties.
93
-
94
62
  In general, only properties which you _expect_ to be watched by older,
95
63
  untracked clases should be marked as dependency compatible. The decorator is
96
64
  meant as an interop layer for parts of Ember's older classic APIs, and should
@@ -1,4 +1,4 @@
1
1
  export { C as default, e as expandProperties } from '../../shared-chunks/computed-DGxbeUbf.js';
2
- export { a as alias } from '../../shared-chunks/alias-CT_thCad.js';
2
+ export { a as alias } from '../../shared-chunks/alias-3DBxvoim.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';
@@ -2,7 +2,7 @@ import { g as getFactoryFor, s as setFactoryFor } from '../../shared-chunks/cont
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 { h as hasUnknownProperty, P as PROXY_CONTENT } from '../../shared-chunks/property_get-CRP7MFz_.js';
5
+ import { h as hasUnknownProperty, P as PROXY_CONTENT } from '../../shared-chunks/property_get-DXwpgTe7.js';
6
6
  import { s as sendEvent } from '../../shared-chunks/events-6aFVjD4k.js';
7
7
  import { a as activateObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
8
8
  import { d as defineProperty } from '../../shared-chunks/computed-DGxbeUbf.js';
@@ -7,10 +7,10 @@ import { g as getFactoryFor } from '../../shared-chunks/container-BzzHmCNj.js';
7
7
  import { s as setObservers } from '../../shared-chunks/super-BBBjgF69.js';
8
8
  import CoreObject from './core.js';
9
9
  import Observable from './observable.js';
10
- export { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
11
- export { s as set, t as trySet } from '../../shared-chunks/property_set-CVlVgdor.js';
12
- export { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
13
- export { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
10
+ export { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
11
+ export { s as set, t as trySet } from '../../shared-chunks/property_set-DezUwDX4.js';
12
+ export { g as getProperties } from '../../shared-chunks/get_properties-BlyZny5J.js';
13
+ export { s as setProperties } from '../../shared-chunks/set_properties-BzM_irwA.js';
14
14
  import { assert } from '../debug/lib/assert.js';
15
15
 
16
16
  /**
@@ -1,8 +1,8 @@
1
1
  import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-DGxbeUbf.js';
2
2
  import { i as isElementDescriptor } from '../../../../shared-chunks/decorator-B5Uh5NFI.js';
3
- import { a as alias } from '../../../../shared-chunks/alias-CT_thCad.js';
4
- import { g as get } from '../../../../shared-chunks/property_get-CRP7MFz_.js';
5
- import { s as set } from '../../../../shared-chunks/property_set-CVlVgdor.js';
3
+ import { a as alias } from '../../../../shared-chunks/alias-3DBxvoim.js';
4
+ import { g as get } from '../../../../shared-chunks/property_get-DXwpgTe7.js';
5
+ import { s as set } from '../../../../shared-chunks/property_set-DezUwDX4.js';
6
6
  import { deprecate } from '../../../debug/index.js';
7
7
  import isEmpty from '../../../utils/lib/is_empty.js';
8
8
  import isNone from '../../../utils/lib/is_none.js';
@@ -1,7 +1,7 @@
1
1
  import '../../../debug/index.js';
2
2
  import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-DGxbeUbf.js';
3
3
  import { i as isElementDescriptor } from '../../../../shared-chunks/decorator-B5Uh5NFI.js';
4
- import { g as get } from '../../../../shared-chunks/property_get-CRP7MFz_.js';
4
+ import { g as get } from '../../../../shared-chunks/property_get-DXwpgTe7.js';
5
5
  import compare from '../../../utils/lib/compare.js';
6
6
  import EmberArray, { A, uniqBy as uniqBy$1 } from '../../../array/index.js';
7
7
  import { assert } from '../../../debug/lib/assert.js';
@@ -2,10 +2,10 @@ import { peekMeta } from '../-internals/meta/lib/meta.js';
2
2
  import { h as hasListeners } from '../../shared-chunks/events-6aFVjD4k.js';
3
3
  import { n as notifyPropertyChange, a as endPropertyChanges, b as beginPropertyChanges } from '../../shared-chunks/computed-DGxbeUbf.js';
4
4
  import { r as removeObserver, b as addObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
5
- import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
6
- import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
7
- import { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
8
- import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
5
+ import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
6
+ import { s as set } from '../../shared-chunks/property_set-DezUwDX4.js';
7
+ import { g as getProperties } from '../../shared-chunks/get_properties-BlyZny5J.js';
8
+ import { s as setProperties } from '../../shared-chunks/set_properties-BzM_irwA.js';
9
9
  import Mixin from './mixin.js';
10
10
  import '../debug/index.js';
11
11
  import { assert } from '../debug/lib/assert.js';
@@ -1,5 +1,5 @@
1
- import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
2
- import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
1
+ import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
2
+ import { s as setProperties } from '../../shared-chunks/set_properties-BzM_irwA.js';
3
3
  import { c as computed } from '../../shared-chunks/computed-DGxbeUbf.js';
4
4
  import Mixin from './mixin.js';
5
5
 
@@ -1 +1 @@
1
- export { r as renderComponent, a as renderSettled } from '../../shared-chunks/index-D1AjYv31.js';
1
+ export { r as renderComponent, a as renderSettled } from '../../shared-chunks/index-B5gBbO_p.js';
@@ -5,9 +5,9 @@ export { default as generateController, generateControllerFactory } from './lib/
5
5
  export { default as BucketCache } from './lib/cache.js';
6
6
  export { default as DSL } from './lib/dsl.js';
7
7
  export { default as controllerFor } from './lib/controller_for.js';
8
- import '../../shared-chunks/property_get-CRP7MFz_.js';
8
+ import '../../shared-chunks/property_get-DXwpgTe7.js';
9
9
  import '../debug/index.js';
10
10
  import '../engine/instance.js';
11
11
  import '../../route-recognizer/index.js';
12
- import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
13
- import '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
12
+ import '../../shared-chunks/rsvp-aLN_pQtn.js';
13
+ import '../../shared-chunks/unrecognized-url-error-cXUp-SK3.js';
@@ -1,6 +1,6 @@
1
1
  import EmberObject from '../object/index.js';
2
2
  import '../debug/index.js';
3
- import { getHash } from './lib/location-utils.js';
3
+ import { getHash, escapeRegExp } from './lib/location-utils.js';
4
4
  import { assert } from '../debug/lib/assert.js';
5
5
 
6
6
  /**
@@ -126,7 +126,7 @@ class HistoryLocation extends EmberObject {
126
126
  baseURL = baseURL.replace(/\/$/, '');
127
127
 
128
128
  // remove baseURL and rootURL from start of path
129
- let url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\/\//g, '/'); // remove extra slashes
129
+ let url = path.replace(new RegExp(`^${escapeRegExp(baseURL)}(?=/|$)`), '').replace(new RegExp(`^${escapeRegExp(rootURL)}(?=/|$)`), '').replace(/\/\//g, '/'); // remove extra slashes
130
130
 
131
131
  let search = location.search || '';
132
132
  url += search + this.getHash();
@@ -8,7 +8,7 @@ import { service } from '../service/index.js';
8
8
  import { c as consumeTag, g as createCache, h as getValue, u as untrack } from '../../shared-chunks/cache-DGDPVCpC.js';
9
9
  import { t as tagFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
10
10
  import { on } from '../modifier/on.js';
11
- import { t as templateFactory } from '../../shared-chunks/index-DaFzpTIE.js';
11
+ import { t as templateFactory } from '../../shared-chunks/index-BYUSIu_W.js';
12
12
  import { I as InternalComponent, o as opaquify } from '../../shared-chunks/internal-DTOXyEGM.js';
13
13
  import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
14
14
  import { assert } from '../debug/lib/assert.js';
@@ -58,6 +58,10 @@ function isQueryParams(value) {
58
58
  return typeof value === 'object' && value !== null && value['isQueryParams'] === true;
59
59
  }
60
60
 
61
+ /**
62
+ @module @ember/routing
63
+ */
64
+
61
65
  /**
62
66
  The `LinkTo` component renders a link to the supplied `routeName` passing an optionally
63
67
  supplied model to the route as its `model` context of the route. The block for `LinkTo`
@@ -265,35 +269,11 @@ function isQueryParams(value) {
265
269
  </a>
266
270
  ```
267
271
 
268
- @for Ember.Templates.components
269
- @method LinkTo
270
- @public
271
- */
272
-
273
- /**
274
- @module @ember/routing
275
- */
276
-
277
- /**
278
- See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).
279
-
280
- @for Ember.Templates.helpers
281
- @method link-to
282
- @see {Ember.Templates.components.LinkTo}
283
- @public
284
- **/
285
-
286
- /**
287
- An opaque interface which can be imported and used in strict-mode
288
- templates to call <LinkTo>.
289
-
290
- See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).
291
-
292
272
  @for @ember/routing
293
273
  @method LinkTo
294
- @see {Ember.Templates.components.LinkTo}
274
+ @static
295
275
  @public
296
- **/
276
+ */
297
277
 
298
278
  class _LinkTo extends InternalComponent {
299
279
  static toString() {
@@ -431,7 +411,10 @@ class _LinkTo extends InternalComponent {
431
411
  get query() {
432
412
  if ('query' in this.args.named) {
433
413
  let query = this.named('query');
434
- (!(query !== null && typeof query === 'object') && assert('The `@query` argument to the <LinkTo> component must be an object.', query !== null && typeof query === 'object'));
414
+ if (query === null || query === undefined) {
415
+ return EMPTY_QUERY_PARAMS;
416
+ }
417
+ (!(typeof query === 'object') && assert('The `@query` argument to the <LinkTo> component must be an object.', typeof query === 'object'));
435
418
  return {
436
419
  ...query
437
420
  };
@@ -1,4 +1,4 @@
1
- import { g as get } from '../../../shared-chunks/property_get-CRP7MFz_.js';
1
+ import { g as get } from '../../../shared-chunks/property_get-DXwpgTe7.js';
2
2
  import { info } from '../../debug/index.js';
3
3
  import { assert } from '../../debug/lib/assert.js';
4
4
 
@@ -1,3 +1,16 @@
1
+ /**
2
+ @private
3
+
4
+ Escapes any regular-expression metacharacters in `str` so it can be safely
5
+ interpolated into a `RegExp` and matched as a literal.
6
+
7
+ TODO: delete this in favor of `RegExp.escape` once our minimum supported
8
+ browsers all include it (https://caniuse.com/mdn-javascript_builtins_regexp_escape).
9
+ */
10
+ function escapeRegExp(str) {
11
+ return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
12
+ }
13
+
1
14
  /**
2
15
  @private
3
16
 
@@ -35,14 +48,4 @@ function getFullPath(location) {
35
48
  return getPath(location) + getQuery(location) + getHash(location);
36
49
  }
37
50
 
38
- /**
39
- Replaces the current location, making sure we explicitly include the origin
40
- to prevent redirecting to a different origin.
41
-
42
- @private
43
- */
44
- function replacePath(location, path) {
45
- location.replace(location.origin + path);
46
- }
47
-
48
- export { getFullPath, getHash, getPath, getQuery, replacePath };
51
+ export { escapeRegExp, getFullPath, getHash, getPath, getQuery };
@@ -8,7 +8,7 @@ import '../../../shared-chunks/mandatory-setter-BpbAMTzV.js';
8
8
  import '../../../shared-chunks/reference-BqOLhKFy.js';
9
9
  import '../../../shared-chunks/decorator-B5Uh5NFI.js';
10
10
  import '../../../shared-chunks/observers-DMlX2nCi.js';
11
- import '../../../shared-chunks/property_get-CRP7MFz_.js';
11
+ import '../../../shared-chunks/property_get-DXwpgTe7.js';
12
12
  import { readOnly } from '../../object/lib/computed/computed_macros.js';
13
13
  import '../../object/core.js';
14
14
  import '../../array/index.js';
@@ -1,10 +1,10 @@
1
- import { g as get } from '../../../shared-chunks/property_get-CRP7MFz_.js';
1
+ import { g as get } from '../../../shared-chunks/property_get-DXwpgTe7.js';
2
2
  import { getOwner } from '../../-internals/owner/index.js';
3
3
  import '../../debug/index.js';
4
4
  import EngineInstance from '../../engine/instance.js';
5
5
  import '../../../route-recognizer/index.js';
6
- import '../../../shared-chunks/rsvp.es-DR7yS7qg.js';
7
- import { S as STATE_SYMBOL } from '../../../shared-chunks/unrecognized-url-error-B8loxkay.js';
6
+ import '../../../shared-chunks/rsvp-aLN_pQtn.js';
7
+ import { S as STATE_SYMBOL } from '../../../shared-chunks/unrecognized-url-error-cXUp-SK3.js';
8
8
  import { assert } from '../../debug/lib/assert.js';
9
9
 
10
10
  const ALL_PERIODS_REGEX = /\./g;
@@ -1,5 +1,6 @@
1
1
  import EmberObject from '../object/index.js';
2
2
  import '../debug/index.js';
3
+ import { escapeRegExp } from './lib/location-utils.js';
3
4
  import { assert } from '../debug/lib/assert.js';
4
5
 
5
6
  /**
@@ -60,7 +61,7 @@ class NoneLocation extends EmberObject {
60
61
  rootURL = rootURL.replace(/\/$/, '');
61
62
 
62
63
  // remove rootURL from url
63
- return path.replace(new RegExp(`^${rootURL}(?=/|$)`), '');
64
+ return path.replace(new RegExp(`^${escapeRegExp(rootURL)}(?=/|$)`), '');
64
65
  }
65
66
 
66
67
  /**
@@ -3,10 +3,10 @@ import { f as flushAsyncObservers, b as addObserver } from '../../shared-chunks/
3
3
  import { c as computed, d as defineProperty } from '../../shared-chunks/computed-DGxbeUbf.js';
4
4
  import { d as descriptorForProperty } from '../../shared-chunks/decorator-B5Uh5NFI.js';
5
5
  import { getOwner } from '../-internals/owner/index.js';
6
- import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
7
- import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
8
- import { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
9
- import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
6
+ import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
7
+ import { s as set } from '../../shared-chunks/property_set-DezUwDX4.js';
8
+ import { g as getProperties } from '../../shared-chunks/get_properties-BlyZny5J.js';
9
+ import { s as setProperties } from '../../shared-chunks/set_properties-BzM_irwA.js';
10
10
  import EmberObject from '../object/index.js';
11
11
  import Evented from '../object/evented.js';
12
12
  import { A } from '../array/index.js';
@@ -22,8 +22,8 @@ import { dependentKeyCompat } from '../object/compat.js';
22
22
  import { once } from '../runloop/index.js';
23
23
  import { c as hasInternalComponentManager } from '../../shared-chunks/api-DuLOZMO_.js';
24
24
  import '../../route-recognizer/index.js';
25
- import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
26
- import { S as STATE_SYMBOL, P as PARAMS_SYMBOL } from '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
25
+ import '../../shared-chunks/rsvp-aLN_pQtn.js';
26
+ import { S as STATE_SYMBOL, P as PARAMS_SYMBOL } from '../../shared-chunks/unrecognized-url-error-cXUp-SK3.js';
27
27
  import generateController from './lib/generate_controller.js';
28
28
  import { prefixRouteNameArg, stashParamNames, calculateCacheKey, normalizeControllerQueryParams } from './lib/utils.js';
29
29
  import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
@@ -1541,6 +1541,17 @@ Route.reopen({
1541
1541
  let options = this._optionsForQueryParam(qp);
1542
1542
  (!(options && typeof options === 'object') && assert('options exists', options && typeof options === 'object'));
1543
1543
  if (get(options, 'refreshModel') && this._router.currentState) {
1544
+ // `changed` is computed from router state query params, where default values
1545
+ // may have been pruned during finalization. A later transition can reintroduce
1546
+ // the same serialized value via sticky QP hydration or URL parsing, making the
1547
+ // QP appear changed even though its finalized value is unchanged. Only refresh
1548
+ // the model when the serialized value differs from the last finalized value.
1549
+ if (change in changed) {
1550
+ let newSerializedValue = changed[change];
1551
+ if (newSerializedValue === qp.serializedValue) {
1552
+ continue;
1553
+ }
1554
+ }
1544
1555
  this.refresh();
1545
1556
  break;
1546
1557
  }
@@ -10,7 +10,7 @@ import '../../shared-chunks/mandatory-setter-BpbAMTzV.js';
10
10
  import '../../shared-chunks/reference-BqOLhKFy.js';
11
11
  import '../../shared-chunks/decorator-B5Uh5NFI.js';
12
12
  import '../../shared-chunks/observers-DMlX2nCi.js';
13
- import '../../shared-chunks/property_get-CRP7MFz_.js';
13
+ import '../../shared-chunks/property_get-DXwpgTe7.js';
14
14
  import { readOnly } from '../object/lib/computed/computed_macros.js';
15
15
  import '../object/core.js';
16
16
  import '../array/index.js';
@@ -40,7 +40,7 @@ function cleanURL(url, rootURL) {
40
40
  In this example, the Router service is injected into a component to initiate a transition
41
41
  to a dedicated route:
42
42
 
43
- ```app/components/example.gjs
43
+ ```gjs {data-filename="app/components/example.gjs"}
44
44
  import Component from '@glimmer/component';
45
45
  import { action } from '@ember/object';
46
46
  import { service } from '@ember/service';
@@ -89,7 +89,7 @@ class RouterService extends Service.extend(Evented) {
89
89
  In the following example we use the Router service to navigate to a route with a
90
90
  specific model from a Component in the first action, and in the second we trigger
91
91
  a query-params only transition.
92
- ```app/components/example.gjs
92
+ ```gjs {data-filename="app/components/example.gjs"}
93
93
  import Component from '@glimmer/component';
94
94
  import { action } from '@ember/object';
95
95
  import { service } from '@ember/service';
@@ -174,14 +174,14 @@ class RouterService extends Service.extend(Evented) {
174
174
  URL is returned as a string that can be used for any purpose.
175
175
  In this example, the URL for the `author.books` route for a given author
176
176
  is copied to the clipboard.
177
- ```app/templates/application.gjs
177
+ ```gjs {data-filename="app/templates/application.gjs"}
178
178
  import CopyLink from '../components/copy-link';
179
179
 
180
180
  <template>
181
181
  <CopyLink @author={{hash id="tomster" name="Tomster"}} />
182
182
  </template>
183
183
  ```
184
- ```app/components/copy-link.gjs
184
+ ```gjs {data-filename="app/components/copy-link.gjs"}
185
185
  import Component from '@glimmer/component';
186
186
  import { service } from '@ember/service';
187
187
  import { action } from '@ember/object';
@@ -200,13 +200,13 @@ class RouterService extends Service.extend(Evented) {
200
200
  ```
201
201
  Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle
202
202
  query parameters.
203
- ```app/templates/application.gjs
203
+ ```gjs {data-filename="app/templates/application.gjs"}
204
204
  import CopyLink from '../components/copy-link';
205
205
  <template>
206
206
  <CopyLink @author={{hash id="tomster" name="Tomster"}} />
207
207
  </template>
208
208
  ```
209
- ```app/components/copy-link.gjs
209
+ ```gjs {data-filename="app/components/copy-link.gjs"}
210
210
  import Component from '@glimmer/component';
211
211
  import { service } from '@ember/service';
212
212
  import { action } from '@ember/object';
@@ -243,7 +243,7 @@ class RouterService extends Service.extend(Evented) {
243
243
  See [model](api/ember/release/classes/Route/methods/model?anchor=model) and
244
244
  [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.
245
245
  In the following example, `isActive` will return `true` if the current route is `/posts`.
246
- ```app/components/posts.gjs
246
+ ```gjs {data-filename="app/components/posts.gjs"}
247
247
  import Component from '@glimmer/component';
248
248
  import { service } from '@ember/service';
249
249
  export default class extends Component {
@@ -255,7 +255,7 @@ class RouterService extends Service.extend(Evented) {
255
255
  ```
256
256
  The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,
257
257
  assuming the post has an id of 1:
258
- ```app/components/posts.gjs
258
+ ```gjs {data-filename="app/components/posts.gjs"}
259
259
  import Component from '@glimmer/component';
260
260
  import { service } from '@ember/service';
261
261
  export default class extends Component {
@@ -632,7 +632,7 @@ class RouterService extends Service.extend(Evented) {
632
632
  happens (even when that transition only changes parameters
633
633
  and doesn't change the active route).
634
634
  Usage example:
635
- ```app/components/header.gjs
635
+ ```gjs {data-filename="app/components/header.gjs"}
636
636
  import Component from '@glimmer/component';
637
637
  import { service } from '@ember/service';
638
638
  import { notEmpty } from '@ember/object/computed';
@@ -1,7 +1,7 @@
1
1
  import { privatize } from '../-internals/container/index.js';
2
2
  import { c as computed } from '../../shared-chunks/computed-DGxbeUbf.js';
3
- import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
4
- import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
3
+ import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
4
+ import { s as set } from '../../shared-chunks/property_set-DezUwDX4.js';
5
5
  import { getOwner } from '../owner/index.js';
6
6
  import BucketCache from './lib/cache.js';
7
7
  import DSLImpl from './lib/dsl.js';
@@ -15,8 +15,8 @@ import { info } from '../debug/index.js';
15
15
  import { run, once, scheduleOnce, cancel } from '../runloop/index.js';
16
16
  import { getRenderState, getFullQueryParams, hasDefaultSerialize, defaultSerialize } from './route.js';
17
17
  import Router from '../../router_js/index.js';
18
- import { S as STATE_SYMBOL, l as logAbort } from '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
19
- import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
18
+ import { S as STATE_SYMBOL, l as logAbort } from '../../shared-chunks/unrecognized-url-error-cXUp-SK3.js';
19
+ import '../../shared-chunks/rsvp-aLN_pQtn.js';
20
20
  import EngineInstance from '../engine/instance.js';
21
21
  import { assert } from '../debug/lib/assert.js';
22
22
 
@@ -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-DYh6AY9Z.js';
2
- import { h as hash, f as fn, a as array } from '../../../shared-chunks/hash-6NDs_5_f.js';
3
- import { e as element } from '../../../shared-chunks/element-BYLB-q7a.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-0cVb-rLf.js';
2
+ import { h as hash, f as fn, a as array } from '../../../shared-chunks/hash-BFu91gtE.js';
3
+ import { e as element } from '../../../shared-chunks/element-Cgoi4ldD.js';
4
4
  import { on } from '../../modifier/on.js';
5
5
  import '../../debug/index.js';
6
6
  import { STRICT_MODE_KEYWORDS, STRICT_MODE_TRANSFORMS, RESOLUTION_MODE_TRANSFORMS } from './plugins/index.js';
@@ -1,8 +1,8 @@
1
1
  import './plugins/allowed-globals.js';
2
2
  import templateOnly from '../../component/template-only.js';
3
- import { p as precompile } from '../../../shared-chunks/compiler-QUSl_urU.js';
3
+ import { p as precompile } from '../../../shared-chunks/compiler-BHFFl-fv.js';
4
4
  import { s as setComponentTemplate } from '../../../shared-chunks/template-R_5UMHhb.js';
5
- import { t as templateFactory } from '../../../shared-chunks/index-DaFzpTIE.js';
5
+ import { t as templateFactory } from '../../../shared-chunks/index-BYUSIu_W.js';
6
6
  import compileOptions, { RUNTIME_KEYWORDS_NAME, keywords } from './compile-options.js';
7
7
 
8
8
  /**
@@ -1 +1 @@
1
- export { t as createTemplateFactory } from '../../shared-chunks/index-DaFzpTIE.js';
1
+ export { t as createTemplateFactory } from '../../shared-chunks/index-BYUSIu_W.js';
@@ -1,4 +1,4 @@
1
- import { h as hasUnknownProperty, g as get } from '../../../shared-chunks/property_get-CRP7MFz_.js';
1
+ import { h as hasUnknownProperty, g as get } from '../../../shared-chunks/property_get-DXwpgTe7.js';
2
2
 
3
3
  /**
4
4
  @module @ember/utils
@@ -1,5 +1,5 @@
1
- export { E as EMPTY_BLOCKS, W as WrappedBuilder, c as compilable, b as compileStatements, I as invokeStaticBlock, d as invokeStaticBlockWithStack, m as meta, a as templateCacheCounters, e as templateCompilationContext, t as templateFactory } from '../../shared-chunks/index-DaFzpTIE.js';
2
- export { E as EvaluationContextImpl, S as StdLib, c as compileStd } from '../../shared-chunks/program-context-Dq8xN2HI.js';
1
+ export { E as EMPTY_BLOCKS, W as WrappedBuilder, c as compilable, b as compileStatements, I as invokeStaticBlock, d as invokeStaticBlockWithStack, m as meta, a as templateCacheCounters, e as templateCompilationContext, t as templateFactory } from '../../shared-chunks/index-BYUSIu_W.js';
2
+ export { E as EvaluationContextImpl, S as StdLib, c as compileStd } from '../../shared-chunks/program-context-BBB1Ga5h.js';
3
3
 
4
4
  let debugCompiler;
5
5
 
@@ -1,13 +1,13 @@
1
- import { aH as constants } from '../../shared-chunks/syscall-ops-CN7STuUn.js';
1
+ import { aG as constants } from '../../shared-chunks/syscall-ops-CkPT1Kfx.js';
2
2
  import { e as expect } from '../../shared-chunks/collections-DPkjqeA3.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-CajW4QjE.js';
5
5
  import { g as getComponentTemplate } from '../../shared-chunks/template-R_5UMHhb.js';
6
6
  import { a as getInternalHelperManager, b as getInternalModifierManager, g as getInternalComponentManager } from '../../shared-chunks/api-DuLOZMO_.js';
7
- import { t as templateFactory } from '../../shared-chunks/index-DaFzpTIE.js';
7
+ import { t as templateFactory } from '../../shared-chunks/index-BYUSIu_W.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';
10
- import { o as opcodes } from '../../shared-chunks/opcodes-CplRyHl_.js';
10
+ import { o as opcodes } from '../../shared-chunks/opcodes-DDajoGhq.js';
11
11
  import { a as ProgramHeapImpl } from '../../shared-chunks/program-DlgjqLa6.js';
12
12
  export { P as ProgramImpl, R as RuntimeOpImpl } from '../../shared-chunks/program-DlgjqLa6.js';
13
13
 
@@ -1,13 +1,13 @@
1
1
  export { C as ConcreteBounds, a as CursorImpl, c as clear } from '../../shared-chunks/normalize-CKySQVU7.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-CtH73XOv.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-D_Rawf-r.js';
3
3
  export { T as TEMPLATE_ONLY_COMPONENT_MANAGER, a as TemplateOnlyComponent, b as TemplateOnlyComponentManager, t as templateOnlyComponent } from '../../shared-chunks/template-only-Cu639ICT.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-CDkbOqTS.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-DniR8eF2.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-DYh6AY9Z.js';
7
- export { a as array, f as fn, h as hash } from '../../shared-chunks/hash-6NDs_5_f.js';
8
- export { c as concat, g as get } from '../../shared-chunks/get-6I3sjd-I.js';
9
- export { i as invokeHelper } from '../../shared-chunks/invoke-d9sqa50M.js';
10
- export { o as on } from '../../shared-chunks/on-DlF0Wy7P.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-0cVb-rLf.js';
7
+ export { a as array, f as fn, h as hash } from '../../shared-chunks/hash-BFu91gtE.js';
8
+ export { c as concat, g as get } from '../../shared-chunks/get-zsePWrJL.js';
9
+ export { i as invokeHelper } from '../../shared-chunks/invoke-CgF42joE.js';
10
+ export { o as on } from '../../shared-chunks/on-CVIjn2C-.js';
11
11
  export { destroy, isDestroyed, isDestroying, registerDestructor } from '../destroyable/index.js';
12
12
  import '../global-context/index.js';
13
13
  import '../../shared-chunks/cache-DGDPVCpC.js';
@@ -1,4 +1,4 @@
1
- import { o as opcodes } from '../../shared-chunks/opcodes-CplRyHl_.js';
1
+ import { o as opcodes } from '../../shared-chunks/opcodes-DDajoGhq.js';
2
2
  export { W as WellKnownAttrNames, a as WellKnownTagNames } from '../../shared-chunks/well-known-_EVO9RaV.js';
3
3
 
4
4
  const resolution = {
@@ -27,9 +27,6 @@ function isStringLiteral(expr) {
27
27
  function getStringFromValue(expr) {
28
28
  return expr;
29
29
  }
30
- function isArgument(val) {
31
- return val[0] === opcodes.StaticArg || val[0] === opcodes.DynamicArg;
32
- }
33
30
  function isHelper(expr) {
34
31
  return Array.isArray(expr) && expr[0] === opcodes.Call;
35
32
  }
@@ -37,4 +34,4 @@ function isHelper(expr) {
37
34
  // Expressions
38
35
  const isGet = is(opcodes.GetSymbol);
39
36
 
40
- export { opcodes as SexpOpcodes, resolution as VariableResolutionContext, getStringFromValue, is, isArgument, isAttribute, isFlushElement, isGet, isHelper, isStringLiteral };
37
+ export { opcodes as SexpOpcodes, resolution as VariableResolutionContext, getStringFromValue, is, isAttribute, isFlushElement, isGet, isHelper, isStringLiteral };
@@ -1,4 +1,4 @@
1
1
  // this file gets replaced with the real value during the build
2
- const VERSION = '7.3.0-alpha.4';
2
+ const VERSION = '7.3.0-beta.1';
3
3
 
4
4
  export { VERSION as default };
@@ -1,5 +1,5 @@
1
- import { p as precompile$1 } from '../shared-chunks/compiler-QUSl_urU.js';
2
- export { a as _preprocess } from '../shared-chunks/compiler-QUSl_urU.js';
1
+ import { p as precompile$1 } from '../shared-chunks/compiler-BHFFl-fv.js';
2
+ export { a as _preprocess } from '../shared-chunks/compiler-BHFFl-fv.js';
3
3
  import '../@ember/debug/index.js';
4
4
  import { STRICT_MODE_KEYWORDS, STRICT_MODE_TRANSFORMS, RESOLUTION_MODE_TRANSFORMS } from '../@ember/template-compiler/lib/plugins/index.js';
5
5
  import '../shared-chunks/get-debug-name-CSniHBsn.js';