ember-source 6.3.0-alpha.2 → 6.3.0-alpha.3

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 (28) hide show
  1. package/build-metadata.json +3 -3
  2. package/dist/ember-template-compiler.js +2 -2
  3. package/dist/ember-testing.js +1 -1
  4. package/dist/ember.debug.js +305 -71
  5. package/dist/ember.prod.js +258 -69
  6. package/dist/packages/@ember/-internals/glimmer/index.js +2 -2
  7. package/dist/packages/@ember/application/index.js +2 -2
  8. package/dist/packages/@ember/application/instance.js +1 -1
  9. package/dist/packages/@ember/component/helper.js +1 -1
  10. package/dist/packages/@ember/component/index.js +1 -1
  11. package/dist/packages/@ember/engine/index.js +2 -2
  12. package/dist/packages/@ember/helper/index.js +1 -1
  13. package/dist/packages/@ember/modifier/index.js +1 -1
  14. package/dist/packages/@ember/renderer/index.js +1 -1
  15. package/dist/packages/@ember/routing/index.js +1 -1
  16. package/dist/packages/@ember/routing/route.js +46 -4
  17. package/dist/packages/@ember/template/index.js +1 -1
  18. package/dist/packages/ember/barrel.js +1 -1
  19. package/dist/packages/ember/version.js +1 -1
  20. package/dist/packages/ember-testing/lib/initializers.js +1 -1
  21. package/dist/packages/shared-chunks/{index-C7oKNWrX.js → index-4KqgXTKl.js} +256 -64
  22. package/dist/packages/shared-chunks/{setup-registry-CFRLjlg1.js → setup-registry-ziuiqoKc.js} +1 -1
  23. package/docs/data.json +94 -76
  24. package/package.json +2 -2
  25. package/types/stable/@ember/-internals/glimmer/lib/component-managers/outlet.d.ts +14 -21
  26. package/types/stable/@ember/-internals/glimmer/lib/component-managers/route-template.d.ts +78 -0
  27. package/types/stable/@ember/-internals/glimmer/lib/utils/outlet.d.ts +3 -2
  28. package/types/stable/index.d.ts +1 -0
package/docs/data.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "The Ember API",
4
4
  "description": "The Ember API: a framework for building ambitious web applications",
5
5
  "url": "https://emberjs.com/",
6
- "version": "6.3.0-alpha.2"
6
+ "version": "6.3.0-alpha.3"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -202,6 +202,13 @@
202
202
  },
203
203
  "namespaces": {}
204
204
  },
205
+ "packages/@ember/-internals/glimmer/lib/component-managers/route-template.ts": {
206
+ "name": "packages/@ember/-internals/glimmer/lib/component-managers/route-template.ts",
207
+ "modules": {},
208
+ "classes": {},
209
+ "fors": {},
210
+ "namespaces": {}
211
+ },
205
212
  "packages/@ember/-internals/glimmer/lib/components/abstract-input.ts": {
206
213
  "name": "packages/@ember/-internals/glimmer/lib/components/abstract-input.ts",
207
214
  "modules": {},
@@ -2529,7 +2536,7 @@
2529
2536
  "namespaces": {},
2530
2537
  "tag": "module",
2531
2538
  "file": "packages/@ember/routing/route.ts",
2532
- "line": 81
2539
+ "line": 82
2533
2540
  },
2534
2541
  "@ember/routing/router-service": {
2535
2542
  "name": "@ember/routing/router-service",
@@ -4229,7 +4236,7 @@
4229
4236
  "module": "@ember/routing/route",
4230
4237
  "namespace": "",
4231
4238
  "file": "packages/@ember/routing/route.ts",
4232
- "line": 81,
4239
+ "line": 82,
4233
4240
  "description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
4234
4241
  "extends": "EmberObject",
4235
4242
  "uses": [
@@ -5722,6 +5729,13 @@
5722
5729
  "class": "EmberENV",
5723
5730
  "module": "rsvp"
5724
5731
  },
5732
+ {
5733
+ "file": "packages/@ember/-internals/glimmer/lib/component-managers/route-template.ts",
5734
+ "line": 115,
5735
+ "description": "This \"upgrades\" a route template into a invocable component. Conceptually\nit can be 1:1 for each unique `Template`, but it's also cheap to construct,\nso unless the stability is desirable for other reasons, it's probably not\nworth caching this.",
5736
+ "class": "Ember.Templates.helpers",
5737
+ "module": "rsvp"
5738
+ },
5725
5739
  {
5726
5740
  "file": "packages/@ember/-internals/glimmer/lib/components/abstract-input.ts",
5727
5741
  "line": 127,
@@ -6224,7 +6238,7 @@
6224
6238
  },
6225
6239
  {
6226
6240
  "file": "packages/@ember/-internals/glimmer/lib/syntax/outlet.ts",
6227
- "line": 21,
6241
+ "line": 23,
6228
6242
  "description": "The `{{outlet}}` helper lets you specify where a child route will render in\nyour template. An important use of the `{{outlet}}` helper is in your\napplication's `application.hbs` file:\n\n```app/templates/application.hbs\n<MyHeader />\n\n<div class=\"my-dynamic-content\">\n <!-- this content will change based on the current route, which depends on the current URL -->\n {{outlet}}\n</div>\n\n<MyFooter />\n```\n\nSee the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\ninformation on how your `route` interacts with the `{{outlet}}` helper.\nNote: Your content __will not render__ if there isn't an `{{outlet}}` for it.",
6229
6243
  "itemtype": "method",
6230
6244
  "name": "outlet",
@@ -6291,20 +6305,20 @@
6291
6305
  {
6292
6306
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6293
6307
  "line": 27,
6294
- "description": "The template (the route template to use in the {{outlet}})",
6308
+ "description": "The route's template this is either a Template or a component, and it\ngets normalized during the render process.",
6295
6309
  "class": "@ember/template",
6296
6310
  "module": "ember"
6297
6311
  },
6298
6312
  {
6299
6313
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6300
- "line": 34,
6314
+ "line": 35,
6301
6315
  "description": "Represents what was rendered into this outlet.",
6302
6316
  "class": "@ember/template",
6303
6317
  "module": "ember"
6304
6318
  },
6305
6319
  {
6306
6320
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6307
- "line": 39,
6321
+ "line": 40,
6308
6322
  "description": "Represents what, if any, should be rendered into the next {{outlet}} found\nat this level.\n\nThis used to be a dictionary of children outlets, including the {{outlet}}\n\"main\" outlet any {{outlet \"named\"}} named outlets. Since named outlets\nare not a thing anymore, this can now just be a single`child`.",
6309
6323
  "class": "@ember/template",
6310
6324
  "module": "ember"
@@ -6380,13 +6394,13 @@
6380
6394
  },
6381
6395
  {
6382
6396
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6383
- "line": 114,
6397
+ "line": 113,
6384
6398
  "class": "Component",
6385
6399
  "module": "@ember/template"
6386
6400
  },
6387
6401
  {
6388
6402
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6389
- "line": 122,
6403
+ "line": 121,
6390
6404
  "class": "Component",
6391
6405
  "module": "@ember/template"
6392
6406
  },
@@ -6714,7 +6728,7 @@
6714
6728
  },
6715
6729
  {
6716
6730
  "file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
6717
- "line": 299,
6731
+ "line": 302,
6718
6732
  "class": "Ember.Templates.helpers",
6719
6733
  "module": "@ember/component"
6720
6734
  },
@@ -16051,7 +16065,7 @@
16051
16065
  },
16052
16066
  {
16053
16067
  "file": "packages/@ember/routing/route.ts",
16054
- "line": 93,
16068
+ "line": 94,
16055
16069
  "description": "The `willTransition` action is fired at the beginning of any\nattempted transition with a `Transition` object as the sole\nargument. This action can be used for aborting, redirecting,\nor decorating the transition from the currently active routes.\n\nA good example is preventing navigation when a form is\nhalf-filled out:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ContactFormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\n }\n}\n```\n\nYou can also redirect elsewhere by calling\n`this.router.transitionTo('elsewhere')` from within `willTransition`.\nNote that `willTransition` will not be fired for the\nredirecting `transitionTo`, since `willTransition` doesn't\nfire when there is already a transition underway. If you want\nsubsequent `willTransition` actions to fire for the redirecting\ntransition, you must first explicitly call\n`transition.abort()`.\n\nTo allow the `willTransition` event to continue bubbling to the parent\nroute, use `return true;`. When the `willTransition` method has a\nreturn value of `true` then the parent route's `willTransition` method\nwill be fired, enabling \"bubbling\" behavior for the event.",
16056
16070
  "itemtype": "event",
16057
16071
  "name": "willTransition",
@@ -16070,7 +16084,7 @@
16070
16084
  },
16071
16085
  {
16072
16086
  "file": "packages/@ember/routing/route.ts",
16073
- "line": 138,
16087
+ "line": 139,
16074
16088
  "description": "The `didTransition` action is fired after a transition has\nsuccessfully been completed. This occurs after the normal model\nhooks (`beforeModel`, `model`, `afterModel`, `setupController`)\nhave resolved. The `didTransition` action has no arguments,\nhowever, it can be useful for tracking page views or resetting\nstate on the controller.\n\n```app/routes/login.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class LoginRoute extends Route {\n @action\n didTransition() {\n // your code there\n return true; // Bubble the didTransition event\n }\n}\n```",
16075
16089
  "itemtype": "event",
16076
16090
  "name": "didTransition",
@@ -16082,7 +16096,7 @@
16082
16096
  },
16083
16097
  {
16084
16098
  "file": "packages/@ember/routing/route.ts",
16085
- "line": 165,
16099
+ "line": 166,
16086
16100
  "description": "The `loading` action is fired on the route when a route's `model`\nhook returns a promise that is not already resolved. The current\n`Transition` object is the first parameter and the route that\ntriggered the loading event is the second parameter.\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n loading(transition, route) {\n let controller = this.controllerFor('foo');\n\n // The controller may not be instantiated when initially loading\n if (controller) {\n controller.currentlyLoading = true;\n\n transition.finally(function() {\n controller.currentlyLoading = false;\n });\n }\n }\n}\n```",
16087
16101
  "itemtype": "event",
16088
16102
  "name": "loading",
@@ -16106,7 +16120,7 @@
16106
16120
  },
16107
16121
  {
16108
16122
  "file": "packages/@ember/routing/route.ts",
16109
- "line": 200,
16123
+ "line": 201,
16110
16124
  "description": "When attempting to transition into a route, any of the hooks\nmay return a promise that rejects, at which point an `error`\naction will be fired on the partially-entered routes, allowing\nfor per-route error handling logic, or shared error handling\nlogic defined on a parent route.\n\nHere is an example of an error handler that will be invoked\nfor rejected promises from the various hooks on the route,\nas well as any unhandled errors from child routes:\n\n```app/routes/admin.js\nimport { reject } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { service } from '@ember/service';\n\nexport default class AdminRoute extends Route {\n @service router;\n\n beforeModel() {\n return reject('bad things!');\n }\n\n @action\n error(error, transition) {\n // Assuming we got here due to the error in `beforeModel`,\n // we can expect that error === \"bad things!\",\n // but a promise model rejecting would also\n // call this hook, as would any errors encountered\n // in `afterModel`.\n\n // The `error` hook is also provided the failed\n // `transition`, which can be stored and later\n // `.retry()`d if desired.\n\n this.router.transitionTo('login');\n }\n}\n```\n\n`error` actions that bubble up all the way to `ApplicationRoute`\nwill fire a default error handler that logs the error. You can\nspecify your own global default error handler by overriding the\n`error` handler on `ApplicationRoute`:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n}\n```",
16111
16125
  "itemtype": "event",
16112
16126
  "name": "error",
@@ -16130,31 +16144,31 @@
16130
16144
  },
16131
16145
  {
16132
16146
  "file": "packages/@ember/routing/route.ts",
16133
- "line": 273,
16147
+ "line": 274,
16134
16148
  "class": "Route",
16135
16149
  "module": "@ember/routing/route"
16136
16150
  },
16137
16151
  {
16138
16152
  "file": "packages/@ember/routing/route.ts",
16139
- "line": 275,
16153
+ "line": 276,
16140
16154
  "class": "Route",
16141
16155
  "module": "@ember/routing/route"
16142
16156
  },
16143
16157
  {
16144
16158
  "file": "packages/@ember/routing/route.ts",
16145
- "line": 278,
16159
+ "line": 279,
16146
16160
  "class": "Route",
16147
16161
  "module": "@ember/routing/route"
16148
16162
  },
16149
16163
  {
16150
16164
  "file": "packages/@ember/routing/route.ts",
16151
- "line": 280,
16165
+ "line": 281,
16152
16166
  "class": "Route",
16153
16167
  "module": "@ember/routing/route"
16154
16168
  },
16155
16169
  {
16156
16170
  "file": "packages/@ember/routing/route.ts",
16157
- "line": 302,
16171
+ "line": 303,
16158
16172
  "description": "A hook you can implement to convert the route's model into parameters\nfor the URL.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n model({ post_id }) {\n // the server returns `{ id: 12 }`\n return fetch(`/posts/${post_id}`;\n }\n\n serialize(model) {\n // this will make the URL `/posts/12`\n return { post_id: model.id };\n }\n}\n```\n\nThe default `serialize` method will insert the model's `id` into the\nroute's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\nIf the route has multiple dynamic segments or does not contain '_id', `serialize`\nwill return `getProperties(model, params)`\n\nThis method is called when `transitionTo` is called with a context\nin order to populate the URL.",
16159
16173
  "itemtype": "method",
16160
16174
  "name": "serialize",
@@ -16182,7 +16196,7 @@
16182
16196
  },
16183
16197
  {
16184
16198
  "file": "packages/@ember/routing/route.ts",
16185
- "line": 370,
16199
+ "line": 371,
16186
16200
  "description": "Configuration hash for this route's queryParams. The possible\nconfiguration options and their defaults are as follows\n(assuming a query param whose controller property is `page`):\n\n```javascript\nqueryParams = {\n page: {\n // By default, controller query param properties don't\n // cause a full transition when they are changed, but\n // rather only cause the URL to update. Setting\n // `refreshModel` to true will cause an \"in-place\"\n // transition to occur, whereby the model hooks for\n // this route (and any child routes) will re-fire, allowing\n // you to reload models (e.g., from the server) using the\n // updated query param values.\n refreshModel: false,\n\n // By default, changes to controller query param properties\n // cause the URL to update via `pushState`, which means an\n // item will be added to the browser's history, allowing\n // you to use the back button to restore the app to the\n // previous state before the query param property was changed.\n // Setting `replace` to true will use `replaceState` (or its\n // hash location equivalent), which causes no browser history\n // item to be added. This options name and default value are\n // the same as the `link-to` helper's `replace` option.\n replace: false,\n\n // By default, the query param URL key is the same name as\n // the controller property name. Use `as` to specify a\n // different URL key.\n as: 'page'\n }\n};\n```",
16187
16201
  "itemtype": "property",
16188
16202
  "name": "queryParams",
@@ -16195,7 +16209,7 @@
16195
16209
  },
16196
16210
  {
16197
16211
  "file": "packages/@ember/routing/route.ts",
16198
- "line": 423,
16212
+ "line": 424,
16199
16213
  "description": "The name of the template to use by default when rendering this route's\ntemplate.\n\n```app/routes/posts/list.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsListRoute extends Route {\n templateName = 'posts/list';\n}\n```\n\n```app/routes/posts/index.js\nimport PostsListRoute from '../posts/list';\n\nexport default class PostsIndexRoute extends PostsListRoute {};\n```\n\n```app/routes/posts/archived.js\nimport PostsListRoute from '../posts/list';\n\nexport default class PostsArchivedRoute extends PostsListRoute {};\n```",
16200
16214
  "itemtype": "property",
16201
16215
  "name": "templateName",
@@ -16209,7 +16223,7 @@
16209
16223
  },
16210
16224
  {
16211
16225
  "file": "packages/@ember/routing/route.ts",
16212
- "line": 456,
16226
+ "line": 457,
16213
16227
  "description": "The name of the controller to associate with this route.\n\nBy default, Ember will lookup a route's controller that matches the name\nof the route (i.e. `posts.new`). However,\nif you would like to define a specific controller to use, you can do so\nusing this property.\n\nThis is useful in many ways, as the controller specified will be:\n\n* passed to the `setupController` method.\n* used as the controller for the template being rendered by the route.\n* returned from a call to `controllerFor` for the route.",
16214
16228
  "itemtype": "property",
16215
16229
  "name": "controllerName",
@@ -16223,7 +16237,7 @@
16223
16237
  },
16224
16238
  {
16225
16239
  "file": "packages/@ember/routing/route.ts",
16226
- "line": 479,
16240
+ "line": 480,
16227
16241
  "description": "The controller associated with this route.\n\nExample\n\n```app/routes/form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class FormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData') &&\n !confirm('Are you sure you want to abandon progress?')) {\n transition.abort();\n } else {\n // Bubble the `willTransition` action so that\n // parent routes can decide whether or not to abort.\n return true;\n }\n }\n}\n```",
16228
16242
  "itemtype": "property",
16229
16243
  "name": "controller",
@@ -16236,7 +16250,7 @@
16236
16250
  },
16237
16251
  {
16238
16252
  "file": "packages/@ember/routing/route.ts",
16239
- "line": 510,
16253
+ "line": 511,
16240
16254
  "description": "The name of the route, dot-delimited.\n\nFor example, a route found at `app/routes/posts/post.js` will have\na `routeName` of `posts.post`.",
16241
16255
  "itemtype": "property",
16242
16256
  "name": "routeName",
@@ -16249,7 +16263,7 @@
16249
16263
  },
16250
16264
  {
16251
16265
  "file": "packages/@ember/routing/route.ts",
16252
- "line": 524,
16266
+ "line": 525,
16253
16267
  "description": "The name of the route, dot-delimited, including the engine prefix\nif applicable.\n\nFor example, a route found at `addon/routes/posts/post.js` within an\nengine named `admin` will have a `fullRouteName` of `admin.posts.post`.",
16254
16268
  "itemtype": "property",
16255
16269
  "name": "fullRouteName",
@@ -16262,7 +16276,7 @@
16262
16276
  },
16263
16277
  {
16264
16278
  "file": "packages/@ember/routing/route.ts",
16265
- "line": 539,
16279
+ "line": 540,
16266
16280
  "description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
16267
16281
  "access": "private",
16268
16282
  "tagname": "",
@@ -16280,7 +16294,7 @@
16280
16294
  },
16281
16295
  {
16282
16296
  "file": "packages/@ember/routing/route.ts",
16283
- "line": 554,
16297
+ "line": 555,
16284
16298
  "access": "private",
16285
16299
  "tagname": "",
16286
16300
  "itemtype": "method",
@@ -16290,7 +16304,7 @@
16290
16304
  },
16291
16305
  {
16292
16306
  "file": "packages/@ember/routing/route.ts",
16293
- "line": 588,
16307
+ "line": 589,
16294
16308
  "access": "private",
16295
16309
  "tagname": "",
16296
16310
  "itemtype": "property",
@@ -16300,7 +16314,7 @@
16300
16314
  },
16301
16315
  {
16302
16316
  "file": "packages/@ember/routing/route.ts",
16303
- "line": 597,
16317
+ "line": 598,
16304
16318
  "access": "private",
16305
16319
  "tagname": "",
16306
16320
  "itemtype": "method",
@@ -16310,7 +16324,7 @@
16310
16324
  },
16311
16325
  {
16312
16326
  "file": "packages/@ember/routing/route.ts",
16313
- "line": 605,
16327
+ "line": 606,
16314
16328
  "description": "Returns a hash containing the parameters of an ancestor route.\n\nYou may notice that `this.paramsFor` sometimes works when referring to a\nchild route, but this behavior should not be relied upon as only ancestor\nroutes are certain to be loaded in time.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('member', { path: ':name' }, function() {\n this.route('interest', { path: ':interest' });\n });\n});\n```\n\n```app/routes/member.js\nimport Route from '@ember/routing/route';\n\nexport default class MemberRoute extends Route {\n queryParams = {\n memberQp: { refreshModel: true }\n }\n}\n```\n\n```app/routes/member/interest.js\nimport Route from '@ember/routing/route';\n\nexport default class MemberInterestRoute extends Route {\n queryParams = {\n interestQp: { refreshModel: true }\n }\n\n model() {\n return this.paramsFor('member');\n }\n}\n```\n\nIf we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\nthe `member.interest` route is a hash with:\n\n* `name`: `turing`\n* `memberQp`: `member`",
16315
16329
  "itemtype": "method",
16316
16330
  "name": "paramsFor",
@@ -16333,7 +16347,7 @@
16333
16347
  },
16334
16348
  {
16335
16349
  "file": "packages/@ember/routing/route.ts",
16336
- "line": 686,
16350
+ "line": 687,
16337
16351
  "description": "Serializes the query parameter key",
16338
16352
  "itemtype": "method",
16339
16353
  "name": "serializeQueryParamKey",
@@ -16351,7 +16365,7 @@
16351
16365
  },
16352
16366
  {
16353
16367
  "file": "packages/@ember/routing/route.ts",
16354
- "line": 697,
16368
+ "line": 698,
16355
16369
  "description": "Serializes value of the query parameter based on defaultValueType",
16356
16370
  "itemtype": "method",
16357
16371
  "name": "serializeQueryParam",
@@ -16379,7 +16393,7 @@
16379
16393
  },
16380
16394
  {
16381
16395
  "file": "packages/@ember/routing/route.ts",
16382
- "line": 713,
16396
+ "line": 714,
16383
16397
  "description": "Deserializes value of the query parameter based on defaultValueType",
16384
16398
  "itemtype": "method",
16385
16399
  "name": "deserializeQueryParam",
@@ -16407,7 +16421,7 @@
16407
16421
  },
16408
16422
  {
16409
16423
  "file": "packages/@ember/routing/route.ts",
16410
- "line": 729,
16424
+ "line": 730,
16411
16425
  "access": "private",
16412
16426
  "tagname": "",
16413
16427
  "itemtype": "property",
@@ -16417,7 +16431,7 @@
16417
16431
  },
16418
16432
  {
16419
16433
  "file": "packages/@ember/routing/route.ts",
16420
- "line": 745,
16434
+ "line": 746,
16421
16435
  "description": "A hook you can use to reset controller values either when the model\nchanges or the route is exiting.\n\n```app/routes/articles.js\nimport Route from '@ember/routing/route';\n\nexport default class ArticlesRoute extends Route {\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n controller.set('page', 1);\n }\n }\n}\n```",
16422
16436
  "itemtype": "method",
16423
16437
  "name": "resetController",
@@ -16446,7 +16460,7 @@
16446
16460
  },
16447
16461
  {
16448
16462
  "file": "packages/@ember/routing/route.ts",
16449
- "line": 775,
16463
+ "line": 776,
16450
16464
  "access": "private",
16451
16465
  "tagname": "",
16452
16466
  "itemtype": "method",
@@ -16456,7 +16470,7 @@
16456
16470
  },
16457
16471
  {
16458
16472
  "file": "packages/@ember/routing/route.ts",
16459
- "line": 786,
16473
+ "line": 787,
16460
16474
  "access": "private",
16461
16475
  "tagname": "",
16462
16476
  "itemtype": "method",
@@ -16467,7 +16481,7 @@
16467
16481
  },
16468
16482
  {
16469
16483
  "file": "packages/@ember/routing/route.ts",
16470
- "line": 800,
16484
+ "line": 801,
16471
16485
  "access": "private",
16472
16486
  "tagname": "",
16473
16487
  "itemtype": "method",
@@ -16477,7 +16491,7 @@
16477
16491
  },
16478
16492
  {
16479
16493
  "file": "packages/@ember/routing/route.ts",
16480
- "line": 811,
16494
+ "line": 812,
16481
16495
  "description": "This event is triggered when the router enters the route. It is\nnot executed when the model for the route changes.\n\n```app/routes/application.js\nimport { on } from '@ember/object/evented';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n collectAnalytics: on('activate', function(){\n collectAnalytics();\n })\n});\n```",
16482
16496
  "itemtype": "event",
16483
16497
  "name": "activate",
@@ -16489,7 +16503,7 @@
16489
16503
  },
16490
16504
  {
16491
16505
  "file": "packages/@ember/routing/route.ts",
16492
- "line": 831,
16506
+ "line": 832,
16493
16507
  "description": "This event is triggered when the router completely exits this\nroute. It is not executed when the model for the route changes.\n\n```app/routes/index.js\nimport { on } from '@ember/object/evented';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n trackPageLeaveAnalytics: on('deactivate', function(){\n trackPageLeaveAnalytics();\n })\n});\n```",
16494
16508
  "itemtype": "event",
16495
16509
  "name": "deactivate",
@@ -16501,7 +16515,7 @@
16501
16515
  },
16502
16516
  {
16503
16517
  "file": "packages/@ember/routing/route.ts",
16504
- "line": 851,
16518
+ "line": 852,
16505
16519
  "description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
16506
16520
  "itemtype": "method",
16507
16521
  "name": "deactivate",
@@ -16520,7 +16534,7 @@
16520
16534
  },
16521
16535
  {
16522
16536
  "file": "packages/@ember/routing/route.ts",
16523
- "line": 862,
16537
+ "line": 863,
16524
16538
  "description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
16525
16539
  "itemtype": "method",
16526
16540
  "name": "activate",
@@ -16539,7 +16553,7 @@
16539
16553
  },
16540
16554
  {
16541
16555
  "file": "packages/@ember/routing/route.ts",
16542
- "line": 873,
16556
+ "line": 874,
16543
16557
  "description": "Perform a synchronous transition into another route without attempting\nto resolve promises, update the URL, or abort any currently active\nasynchronous transitions (i.e. regular transitions caused by\n`transitionTo` or URL changes).\n\nThis method is handy for performing intermediate transitions on the\nway to a final destination route, and is called internally by the\ndefault implementations of the `error` and `loading` handlers.",
16544
16558
  "itemtype": "method",
16545
16559
  "name": "intermediateTransitionTo",
@@ -16563,7 +16577,7 @@
16563
16577
  },
16564
16578
  {
16565
16579
  "file": "packages/@ember/routing/route.ts",
16566
- "line": 895,
16580
+ "line": 896,
16567
16581
  "description": "Refresh the model on this route and any child routes, firing the\n`beforeModel`, `model`, and `afterModel` hooks in a similar fashion\nto how routes are entered when transitioning in from other route.\nThe current route params (e.g. `article_id`) will be passed in\nto the respective model hooks, and if a different model is returned,\n`setupController` and associated route hooks will re-fire as well.\n\nAn example usage of this method is re-querying the server for the\nlatest information using the same parameters as when the route\nwas first entered.\n\nNote that this will cause `model` hooks to fire even on routes\nthat were provided a model object when the route was initially\nentered.",
16568
16582
  "itemtype": "method",
16569
16583
  "name": "refresh",
@@ -16579,7 +16593,7 @@
16579
16593
  },
16580
16594
  {
16581
16595
  "file": "packages/@ember/routing/route.ts",
16582
- "line": 921,
16596
+ "line": 922,
16583
16597
  "description": "This hook is the entry point for router.js",
16584
16598
  "access": "private",
16585
16599
  "tagname": "",
@@ -16590,7 +16604,7 @@
16590
16604
  },
16591
16605
  {
16592
16606
  "file": "packages/@ember/routing/route.ts",
16593
- "line": 996,
16607
+ "line": 997,
16594
16608
  "description": "This hook is the first of the route entry validation hooks\ncalled when an attempt is made to transition into a route\nor one of its children. It is called before `model` and\n`afterModel`, and is appropriate for cases when:\n\n1) A decision can be made to redirect elsewhere without\n needing to resolve the model first.\n2) Any async operations need to occur first before the\n model is attempted to be resolved.\n\nThis hook is provided the current `transition` attempt\nas a parameter, which can be used to `.abort()` the transition,\nsave it for a later `.retry()`, or retrieve values set\non it from a previous hook. You can also just call\n`router.transitionTo` to another route to implicitly\nabort the `transition`.\n\nYou can return a promise from this hook to pause the\ntransition until the promise resolves (or rejects). This could\nbe useful, for instance, for retrieving async code from\nthe server that is required to enter a route.",
16595
16609
  "itemtype": "method",
16596
16610
  "name": "beforeModel",
@@ -16613,7 +16627,7 @@
16613
16627
  },
16614
16628
  {
16615
16629
  "file": "packages/@ember/routing/route.ts",
16616
- "line": 1031,
16630
+ "line": 1032,
16617
16631
  "description": "This hook is called after this route's model has resolved.\nIt follows identical async/promise semantics to `beforeModel`\nbut is provided the route's resolved model in addition to\nthe `transition`, and is therefore suited to performing\nlogic that can only take place after the model has already\nresolved.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PostsRoute extends Route {\n @service router;\n\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.router.transitionTo('post.show', posts.get('firstObject'));\n }\n }\n}\n```\n\nRefer to documentation for `beforeModel` for a description\nof transition-pausing semantics when a promise is returned\nfrom this hook.",
16618
16632
  "itemtype": "method",
16619
16633
  "name": "afterModel",
@@ -16641,7 +16655,7 @@
16641
16655
  },
16642
16656
  {
16643
16657
  "file": "packages/@ember/routing/route.ts",
16644
- "line": 1075,
16658
+ "line": 1076,
16645
16659
  "description": "A hook you can implement to optionally redirect to another route.\n\nCalling `this.router.transitionTo` from inside of the `redirect` hook will\nabort the current transition (into the route that has implemented `redirect`).\n\n`redirect` and `afterModel` behave very similarly and are\ncalled almost at the same time, but they have an important\ndistinction when calling `this.router.transitionTo` to a child route\nof the current route. From `afterModel`, this new transition\ninvalidates the current transition, causing `beforeModel`,\n`model`, and `afterModel` hooks to be called again. But the\nsame transition started from `redirect` does _not_ invalidate\nthe current transition. In other words, by the time the `redirect`\nhook has been called, both the resolved model and the attempted\nentry into this route are considered fully validated.",
16646
16660
  "itemtype": "method",
16647
16661
  "name": "redirect",
@@ -16665,7 +16679,7 @@
16665
16679
  },
16666
16680
  {
16667
16681
  "file": "packages/@ember/routing/route.ts",
16668
- "line": 1100,
16682
+ "line": 1101,
16669
16683
  "description": "Called when the context is changed by router.js.",
16670
16684
  "access": "private",
16671
16685
  "tagname": "",
@@ -16676,7 +16690,7 @@
16676
16690
  },
16677
16691
  {
16678
16692
  "file": "packages/@ember/routing/route.ts",
16679
- "line": 1110,
16693
+ "line": 1111,
16680
16694
  "description": "A hook you can implement to convert the URL into the model for\nthis route.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nNote that for routes with dynamic segments, this hook is not always\nexecuted. If the route is entered through a transition (e.g. when\nusing the `link-to` Handlebars helper or the `transitionTo` method\nof routes), and a model context is already provided this hook\nis not called.\n\nA model context does not include a primitive string or number,\nwhich does cause the model hook to be called.\n\nRoutes without dynamic segments will always execute the model hook.\n\n```javascript\n// no dynamic segment, model hook always called\nthis.router.transitionTo('posts');\n\n// model passed in, so model hook not called\nthePost = store.findRecord('post', 1);\nthis.router.transitionTo('post', thePost);\n\n// integer passed in, model hook is called\nthis.router.transitionTo('post', 1);\n\n// model id passed in, model hook is called\n// useful for forcing the hook to execute\nthePost = store.findRecord('post', 1);\nthis.router.transitionTo('post', thePost.id);\n```\n\nThis hook follows the asynchronous/promise semantics\ndescribed in the documentation for `beforeModel`. In particular,\nif a promise returned from `model` fails, the error will be\nhandled by the `error` hook on `Route`.\n\nNote that the legacy behavior of automatically defining a model\nhook when a dynamic segment ending in `_id` is present is\n[deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).\nYou should explicitly define a model hook whenever any segments are\npresent.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PostRoute extends Route {\n @service store;\n\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n}\n```",
16681
16695
  "itemtype": "method",
16682
16696
  "name": "model",
@@ -16704,7 +16718,7 @@
16704
16718
  },
16705
16719
  {
16706
16720
  "file": "packages/@ember/routing/route.ts",
16707
- "line": 1228,
16721
+ "line": 1229,
16708
16722
  "access": "private",
16709
16723
  "tagname": "",
16710
16724
  "itemtype": "method",
@@ -16730,7 +16744,7 @@
16730
16744
  },
16731
16745
  {
16732
16746
  "file": "packages/@ember/routing/route.ts",
16733
- "line": 1241,
16747
+ "line": 1242,
16734
16748
  "itemtype": "method",
16735
16749
  "name": "findModel",
16736
16750
  "params": [
@@ -16752,7 +16766,7 @@
16752
16766
  },
16753
16767
  {
16754
16768
  "file": "packages/@ember/routing/route.ts",
16755
- "line": 1265,
16769
+ "line": 1266,
16756
16770
  "description": "A hook you can use to setup the controller for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook.\n\nBy default, the `setupController` hook sets the `model` property of\nthe controller to the specified `model` when it is not `undefined`.\n\nIf you implement the `setupController` hook in your Route, it will\nprevent this default behavior. If you want to preserve that behavior\nwhen implementing your `setupController` function, make sure to call\n`super`:\n\n```app/routes/photos.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PhotosRoute extends Route {\n @service store;\n\n model() {\n return this.store.findAll('photo');\n }\n\n setupController(controller, model) {\n super.setupController(controller, model);\n\n this.controllerFor('application').set('showingPhotos', true);\n }\n}\n```\n\nThe provided controller will be one resolved based on the name\nof this route.\n\nIf no explicit controller is defined, Ember will automatically create one.\n\nAs an example, consider the router:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nIf you have defined a file for the post controller,\nthe framework will use it.\nIf it is not defined, a basic `Controller` instance would be used.",
16757
16771
  "example": [
16758
16772
  " Behavior of a basic Controller\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n setupController(controller, model) {\n controller.set('model', model);\n }\n});\n```"
@@ -16785,7 +16799,7 @@
16785
16799
  },
16786
16800
  {
16787
16801
  "file": "packages/@ember/routing/route.ts",
16788
- "line": 1344,
16802
+ "line": 1345,
16789
16803
  "description": "Returns the controller of the current route, or a parent (or any ancestor)\nroute in a route hierarchy.\n\nThe controller instance must already have been created, either through entering the\nassociated route or using `generateController`.\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n setupController(controller, post) {\n super.setupController(controller, post);\n\n this.controllerFor('posts').set('currentPost', post);\n }\n}\n```",
16790
16804
  "itemtype": "method",
16791
16805
  "name": "controllerFor",
@@ -16808,7 +16822,7 @@
16808
16822
  },
16809
16823
  {
16810
16824
  "file": "packages/@ember/routing/route.ts",
16811
- "line": 1398,
16825
+ "line": 1399,
16812
16826
  "description": "Generates a controller for a route.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class Post extends Route {\n setupController(controller, post) {\n super.setupController(controller, post);\n\n this.generateController('posts');\n }\n}\n```",
16813
16827
  "itemtype": "method",
16814
16828
  "name": "generateController",
@@ -16826,7 +16840,7 @@
16826
16840
  },
16827
16841
  {
16828
16842
  "file": "packages/@ember/routing/route.ts",
16829
- "line": 1426,
16843
+ "line": 1427,
16830
16844
  "description": "Returns the resolved model of a parent (or any ancestor) route\nin a route hierarchy. During a transition, all routes\nmust resolve a model object, and if a route\nneeds access to a parent route's model in order to\nresolve a model (or just reuse the model from a parent),\nit can call `this.modelFor(theNameOfParentRoute)` to\nretrieve it. If the ancestor route's model was a promise,\nits resolved result is returned.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' }, function() {\n this.route('comments');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/post/comments.js\nimport Route from '@ember/routing/route';\n\nexport default class PostCommentsRoute extends Route {\n model() {\n let post = this.modelFor('post');\n\n return post.comments;\n }\n}\n```",
16831
16845
  "itemtype": "method",
16832
16846
  "name": "modelFor",
@@ -16849,7 +16863,7 @@
16849
16863
  },
16850
16864
  {
16851
16865
  "file": "packages/@ember/routing/route.ts",
16852
- "line": 1500,
16866
+ "line": 1501,
16853
16867
  "description": "`this[RENDER]` is used to set up the rendering option for the outlet state.",
16854
16868
  "itemtype": "method",
16855
16869
  "name": "this[RENDER]",
@@ -16860,7 +16874,7 @@
16860
16874
  },
16861
16875
  {
16862
16876
  "file": "packages/@ember/routing/route.ts",
16863
- "line": 1514,
16877
+ "line": 1515,
16864
16878
  "access": "private",
16865
16879
  "tagname": "",
16866
16880
  "itemtype": "method",
@@ -16870,7 +16884,7 @@
16870
16884
  },
16871
16885
  {
16872
16886
  "file": "packages/@ember/routing/route.ts",
16873
- "line": 1526,
16887
+ "line": 1527,
16874
16888
  "description": "Allows you to produce custom metadata for the route.\nThe return value of this method will be attached to\nits corresponding RouteInfoWithAttributes object.\n\nExample\n\n```app/routes/posts/index.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsIndexRoute extends Route {\n buildRouteInfoMetadata() {\n return { title: 'Posts Page' }\n }\n}\n```\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class ApplicationRoute extends Route {\n @service router\n\n constructor() {\n super(...arguments);\n\n this.router.on('routeDidChange', transition => {\n document.title = transition.to.metadata.title;\n // would update document's title to \"Posts Page\"\n });\n }\n}\n```",
16875
16889
  "itemtype": "method",
16876
16890
  "name": "buildRouteInfoMetadata",
@@ -16885,13 +16899,13 @@
16885
16899
  },
16886
16900
  {
16887
16901
  "file": "packages/@ember/routing/route.ts",
16888
- "line": 1577,
16902
+ "line": 1578,
16889
16903
  "class": "Route",
16890
16904
  "module": "@ember/routing/route"
16891
16905
  },
16892
16906
  {
16893
16907
  "file": "packages/@ember/routing/route.ts",
16894
- "line": 1626,
16908
+ "line": 1627,
16895
16909
  "access": "private",
16896
16910
  "tagname": "",
16897
16911
  "itemtype": "property",
@@ -16901,7 +16915,7 @@
16901
16915
  },
16902
16916
  {
16903
16917
  "file": "packages/@ember/routing/route.ts",
16904
- "line": 1765,
16918
+ "line": 1766,
16905
16919
  "description": "Sends an action to the router, which will delegate it to the currently\nactive route hierarchy per the bubbling rules explained under `actions`.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n});\n\nexport default Router;\n```\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n track(arg) {\n console.log(arg, 'was clicked');\n }\n}\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n trackIfDebug(arg) {\n if (debug) {\n this.send('track', arg);\n }\n }\n}\n```",
16906
16920
  "itemtype": "method",
16907
16921
  "name": "send",
@@ -16925,7 +16939,7 @@
16925
16939
  },
16926
16940
  {
16927
16941
  "file": "packages/@ember/routing/route.ts",
16928
- "line": 2043,
16942
+ "line": 2096,
16929
16943
  "description": "The controller associated with this route.\n\nExample\n\n```app/routes/form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class FormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData') &&\n !confirm('Are you sure you want to abandon progress?')) {\n transition.abort();\n } else {\n // Bubble the `willTransition` action so that\n // parent routes can decide whether or not to abort.\n return true;\n }\n }\n}\n```",
16930
16944
  "itemtype": "property",
16931
16945
  "name": "controller",
@@ -16938,7 +16952,7 @@
16938
16952
  },
16939
16953
  {
16940
16954
  "file": "packages/@ember/routing/route.ts",
16941
- "line": 2074,
16955
+ "line": 2127,
16942
16956
  "description": "This action is called when one or more query params have changed. Bubbles.",
16943
16957
  "itemtype": "method",
16944
16958
  "name": "queryParamsDidChange",
@@ -19486,12 +19500,16 @@
19486
19500
  },
19487
19501
  {
19488
19502
  "message": "replacing incorrect tag: returns with return",
19489
- "line": " packages/@ember/routing/route.ts:2074"
19503
+ "line": " packages/@ember/routing/route.ts:2127"
19490
19504
  },
19491
19505
  {
19492
19506
  "message": "unknown tag: internal",
19493
19507
  "line": " packages/@ember/runloop/index.ts:88"
19494
19508
  },
19509
+ {
19510
+ "message": "Missing item type\nThis \"upgrades\" a route template into a invocable component. Conceptually\nit can be 1:1 for each unique `Template`, but it's also cheap to construct,\nso unless the stability is desirable for other reasons, it's probably not\nworth caching this.",
19511
+ "line": " packages/@ember/-internals/glimmer/lib/component-managers/route-template.ts:115"
19512
+ },
19495
19513
  {
19496
19514
  "message": "Missing item type\nThe `change` and `input` actions need to be overridden in the `Input`\nsubclass. Unfortunately, some ember-source builds currently uses babel\nloose mode to transpile its classes. Having the `@action` decorator on the\nsuper class creates a getter on the prototype, and when the subclass\noverrides the method, the loose mode transpilation would emit something\nlike `Subclass.prototype['change'] = function change() { ... }`, which\nfails because `prototype['change']` is getter-only/readonly. The correct\nsolution is to use `Object.defineProperty(prototype, 'change', ...)` but\nthat requires disabling loose mode. For now, the workaround is to add the\ndecorator only on the subclass. This is more of a configuration issue on\nour own builds and doesn't really affect apps.",
19497
19515
  "line": " packages/@ember/-internals/glimmer/lib/components/abstract-input.ts:127"
@@ -19533,24 +19551,24 @@
19533
19551
  "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:22"
19534
19552
  },
19535
19553
  {
19536
- "message": "Missing item type\nThe template (the route template to use in the {{outlet}})",
19554
+ "message": "Missing item type\nThe route's template this is either a Template or a component, and it\ngets normalized during the render process.",
19537
19555
  "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:27"
19538
19556
  },
19539
19557
  {
19540
19558
  "message": "Missing item type\nRepresents what was rendered into this outlet.",
19541
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:34"
19559
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:35"
19542
19560
  },
19543
19561
  {
19544
19562
  "message": "Missing item type\nRepresents what, if any, should be rendered into the next {{outlet}} found\nat this level.\n\nThis used to be a dictionary of children outlets, including the {{outlet}}\n\"main\" outlet any {{outlet \"named\"}} named outlets. Since named outlets\nare not a thing anymore, this can now just be a single`child`.",
19545
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:39"
19563
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:40"
19546
19564
  },
19547
19565
  {
19548
19566
  "message": "Missing item type",
19549
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:114"
19567
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:113"
19550
19568
  },
19551
19569
  {
19552
19570
  "message": "Missing item type",
19553
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:122"
19571
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:121"
19554
19572
  },
19555
19573
  {
19556
19574
  "message": "Missing item type",
@@ -19562,7 +19580,7 @@
19562
19580
  },
19563
19581
  {
19564
19582
  "message": "Missing item type",
19565
- "line": " packages/@ember/-internals/glimmer/lib/renderer.ts:299"
19583
+ "line": " packages/@ember/-internals/glimmer/lib/renderer.ts:302"
19566
19584
  },
19567
19585
  {
19568
19586
  "message": "Missing item type\nThis function is used to hide a variable from the transpiler, so that it\ndoesn't get removed as \"unused\". It does not actually do anything with the\nvariable, it just makes it be part of an expression that the transpiler\nwon't remove.\n\nIt's a bit of a hack, but it's necessary for testing.",
@@ -20070,23 +20088,23 @@
20070
20088
  },
20071
20089
  {
20072
20090
  "message": "Missing item type",
20073
- "line": " packages/@ember/routing/route.ts:273"
20091
+ "line": " packages/@ember/routing/route.ts:274"
20074
20092
  },
20075
20093
  {
20076
20094
  "message": "Missing item type",
20077
- "line": " packages/@ember/routing/route.ts:275"
20095
+ "line": " packages/@ember/routing/route.ts:276"
20078
20096
  },
20079
20097
  {
20080
20098
  "message": "Missing item type",
20081
- "line": " packages/@ember/routing/route.ts:278"
20099
+ "line": " packages/@ember/routing/route.ts:279"
20082
20100
  },
20083
20101
  {
20084
20102
  "message": "Missing item type",
20085
- "line": " packages/@ember/routing/route.ts:280"
20103
+ "line": " packages/@ember/routing/route.ts:281"
20086
20104
  },
20087
20105
  {
20088
20106
  "message": "Missing item type",
20089
- "line": " packages/@ember/routing/route.ts:1577"
20107
+ "line": " packages/@ember/routing/route.ts:1578"
20090
20108
  },
20091
20109
  {
20092
20110
  "message": "Missing item type\nFinds the name of the substate route if it exists for the given route. A\nsubstate route is of the form `route_state`, such as `foo_loading`.",