ember-source 3.28.4 → 3.28.8

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.
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": "3.28.4"
6
+ "version": "3.28.8"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -2458,7 +2458,7 @@
2458
2458
  "module": "ember",
2459
2459
  "namespace": "Ember",
2460
2460
  "file": "packages/@ember/-internals/container/lib/container.ts",
2461
- "line": 59,
2461
+ "line": 62,
2462
2462
  "description": "A container used to instantiate and cache objects.\n\nEvery `Container` must be associated with a `Registry`, which is referenced\nto determine the factory and options that should be used to instantiate\nobjects.\n\nThe public API for `Container` is still in flux and should not be considered\nstable.",
2463
2463
  "access": "private",
2464
2464
  "tagname": ""
@@ -3139,7 +3139,7 @@
3139
3139
  "module": "@ember/routing",
3140
3140
  "namespace": "",
3141
3141
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
3142
- "line": 87,
3142
+ "line": 86,
3143
3143
  "description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
3144
3144
  "extends": "EmberObject",
3145
3145
  "uses": [
@@ -4839,7 +4839,7 @@
4839
4839
  },
4840
4840
  {
4841
4841
  "file": "packages/@ember/-internals/container/lib/container.ts",
4842
- "line": 99,
4842
+ "line": 102,
4843
4843
  "access": "private",
4844
4844
  "tagname": "",
4845
4845
  "itemtype": "property",
@@ -4852,7 +4852,7 @@
4852
4852
  },
4853
4853
  {
4854
4854
  "file": "packages/@ember/-internals/container/lib/container.ts",
4855
- "line": 106,
4855
+ "line": 109,
4856
4856
  "access": "private",
4857
4857
  "tagname": "",
4858
4858
  "itemtype": "property",
@@ -4864,7 +4864,7 @@
4864
4864
  },
4865
4865
  {
4866
4866
  "file": "packages/@ember/-internals/container/lib/container.ts",
4867
- "line": 112,
4867
+ "line": 115,
4868
4868
  "access": "private",
4869
4869
  "tagname": "",
4870
4870
  "itemtype": "property",
@@ -4876,7 +4876,7 @@
4876
4876
  },
4877
4877
  {
4878
4878
  "file": "packages/@ember/-internals/container/lib/container.ts",
4879
- "line": 118,
4879
+ "line": 121,
4880
4880
  "description": "Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\nlet twitter2 = container.lookup('api:twitter');\ntwitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\nlet twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n```",
4881
4881
  "access": "private",
4882
4882
  "tagname": "",
@@ -4913,7 +4913,7 @@
4913
4913
  },
4914
4914
  {
4915
4915
  "file": "packages/@ember/-internals/container/lib/container.ts",
4916
- "line": 158,
4916
+ "line": 161,
4917
4917
  "description": "A depth first traversal, destroying the container, its descendant containers and all\ntheir managed objects.",
4918
4918
  "access": "private",
4919
4919
  "tagname": "",
@@ -4925,7 +4925,7 @@
4925
4925
  },
4926
4926
  {
4927
4927
  "file": "packages/@ember/-internals/container/lib/container.ts",
4928
- "line": 175,
4928
+ "line": 178,
4929
4929
  "description": "Clear either the entire cache or just the cache for a particular key.",
4930
4930
  "access": "private",
4931
4931
  "tagname": "",
@@ -4944,7 +4944,7 @@
4944
4944
  },
4945
4945
  {
4946
4946
  "file": "packages/@ember/-internals/container/lib/container.ts",
4947
- "line": 192,
4947
+ "line": 195,
4948
4948
  "description": "Returns an object that can be used to provide an owner to a\nmanually created instance.",
4949
4949
  "access": "private",
4950
4950
  "tagname": "",
@@ -4960,7 +4960,7 @@
4960
4960
  },
4961
4961
  {
4962
4962
  "file": "packages/@ember/-internals/container/lib/container.ts",
4963
- "line": 205,
4963
+ "line": 208,
4964
4964
  "description": "Given a fullName, return the corresponding factory. The consumer of the factory\nis responsible for the destruction of any factory instances, as there is no\nway for the container to ensure instances are destroyed when it itself is\ndestroyed.",
4965
4965
  "access": "public",
4966
4966
  "tagname": "",
@@ -9948,7 +9948,7 @@
9948
9948
  },
9949
9949
  {
9950
9950
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9951
- "line": 139,
9951
+ "line": 138,
9952
9952
  "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`.",
9953
9953
  "itemtype": "property",
9954
9954
  "name": "routeName",
@@ -9961,7 +9961,7 @@
9961
9961
  },
9962
9962
  {
9963
9963
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9964
- "line": 152,
9964
+ "line": 151,
9965
9965
  "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`.",
9966
9966
  "itemtype": "property",
9967
9967
  "name": "fullRouteName",
@@ -9974,7 +9974,7 @@
9974
9974
  },
9975
9975
  {
9976
9976
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9977
- "line": 166,
9977
+ "line": 165,
9978
9978
  "description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
9979
9979
  "access": "private",
9980
9980
  "tagname": "",
@@ -9992,7 +9992,7 @@
9992
9992
  },
9993
9993
  {
9994
9994
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9995
- "line": 179,
9995
+ "line": 178,
9996
9996
  "access": "private",
9997
9997
  "tagname": "",
9998
9998
  "itemtype": "method",
@@ -10002,7 +10002,7 @@
10002
10002
  },
10003
10003
  {
10004
10004
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10005
- "line": 210,
10005
+ "line": 209,
10006
10006
  "access": "private",
10007
10007
  "tagname": "",
10008
10008
  "itemtype": "property",
@@ -10012,7 +10012,7 @@
10012
10012
  },
10013
10013
  {
10014
10014
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10015
- "line": 219,
10015
+ "line": 218,
10016
10016
  "access": "private",
10017
10017
  "tagname": "",
10018
10018
  "itemtype": "method",
@@ -10022,7 +10022,7 @@
10022
10022
  },
10023
10023
  {
10024
10024
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10025
- "line": 227,
10025
+ "line": 226,
10026
10026
  "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`",
10027
10027
  "itemtype": "method",
10028
10028
  "name": "paramsFor",
@@ -10045,7 +10045,7 @@
10045
10045
  },
10046
10046
  {
10047
10047
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10048
- "line": 306,
10048
+ "line": 305,
10049
10049
  "description": "Serializes the query parameter key",
10050
10050
  "itemtype": "method",
10051
10051
  "name": "serializeQueryParamKey",
@@ -10063,7 +10063,7 @@
10063
10063
  },
10064
10064
  {
10065
10065
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10066
- "line": 317,
10066
+ "line": 316,
10067
10067
  "description": "Serializes value of the query parameter based on defaultValueType",
10068
10068
  "itemtype": "method",
10069
10069
  "name": "serializeQueryParam",
@@ -10091,7 +10091,7 @@
10091
10091
  },
10092
10092
  {
10093
10093
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10094
- "line": 333,
10094
+ "line": 332,
10095
10095
  "description": "Deserializes value of the query parameter based on defaultValueType",
10096
10096
  "itemtype": "method",
10097
10097
  "name": "deserializeQueryParam",
@@ -10119,7 +10119,7 @@
10119
10119
  },
10120
10120
  {
10121
10121
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10122
- "line": 349,
10122
+ "line": 348,
10123
10123
  "access": "private",
10124
10124
  "tagname": "",
10125
10125
  "itemtype": "property",
@@ -10129,7 +10129,7 @@
10129
10129
  },
10130
10130
  {
10131
10131
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10132
- "line": 358,
10132
+ "line": 357,
10133
10133
  "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```",
10134
10134
  "itemtype": "method",
10135
10135
  "name": "resetController",
@@ -10158,7 +10158,7 @@
10158
10158
  },
10159
10159
  {
10160
10160
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10161
- "line": 385,
10161
+ "line": 384,
10162
10162
  "access": "private",
10163
10163
  "tagname": "",
10164
10164
  "itemtype": "method",
@@ -10168,7 +10168,7 @@
10168
10168
  },
10169
10169
  {
10170
10170
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10171
- "line": 396,
10171
+ "line": 395,
10172
10172
  "access": "private",
10173
10173
  "tagname": "",
10174
10174
  "itemtype": "method",
@@ -10179,7 +10179,7 @@
10179
10179
  },
10180
10180
  {
10181
10181
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10182
- "line": 409,
10182
+ "line": 408,
10183
10183
  "access": "private",
10184
10184
  "tagname": "",
10185
10185
  "itemtype": "method",
@@ -10189,7 +10189,7 @@
10189
10189
  },
10190
10190
  {
10191
10191
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10192
- "line": 420,
10192
+ "line": 419,
10193
10193
  "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.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.",
10194
10194
  "itemtype": "event",
10195
10195
  "name": "willTransition",
@@ -10208,7 +10208,7 @@
10208
10208
  },
10209
10209
  {
10210
10210
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10211
- "line": 464,
10211
+ "line": 463,
10212
10212
  "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 this.controller.get('errors.base').clear();\n return true; // Bubble the didTransition event\n }\n}\n```",
10213
10213
  "itemtype": "event",
10214
10214
  "name": "didTransition",
@@ -10220,7 +10220,7 @@
10220
10220
  },
10221
10221
  {
10222
10222
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10223
- "line": 490,
10223
+ "line": 489,
10224
10224
  "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```",
10225
10225
  "itemtype": "event",
10226
10226
  "name": "loading",
@@ -10244,7 +10244,7 @@
10244
10244
  },
10245
10245
  {
10246
10246
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10247
- "line": 524,
10247
+ "line": 523,
10248
10248
  "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';\n\nexport default class AdminRoute extends Route {\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.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```",
10249
10249
  "itemtype": "event",
10250
10250
  "name": "error",
@@ -10268,7 +10268,7 @@
10268
10268
  },
10269
10269
  {
10270
10270
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10271
- "line": 585,
10271
+ "line": 584,
10272
10272
  "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```",
10273
10273
  "itemtype": "event",
10274
10274
  "name": "activate",
@@ -10280,7 +10280,7 @@
10280
10280
  },
10281
10281
  {
10282
10282
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10283
- "line": 605,
10283
+ "line": 604,
10284
10284
  "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```",
10285
10285
  "itemtype": "event",
10286
10286
  "name": "deactivate",
@@ -10292,7 +10292,7 @@
10292
10292
  },
10293
10293
  {
10294
10294
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10295
- "line": 625,
10295
+ "line": 624,
10296
10296
  "description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
10297
10297
  "itemtype": "method",
10298
10298
  "name": "deactivate",
@@ -10311,7 +10311,7 @@
10311
10311
  },
10312
10312
  {
10313
10313
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10314
- "line": 636,
10314
+ "line": 635,
10315
10315
  "description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
10316
10316
  "itemtype": "method",
10317
10317
  "name": "activate",
@@ -10330,7 +10330,7 @@
10330
10330
  },
10331
10331
  {
10332
10332
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10333
- "line": 647,
10333
+ "line": 646,
10334
10334
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\n```javascript\nthis.transitionTo('blogPosts');\nthis.transitionTo('blogPosts.recentEntries');\n```\n\nOptionally supply a model for the route in question. The model\nwill be serialized into the URL using the `serialize` hook of\nthe route:\n\n```javascript\nthis.transitionTo('blogPost', aPost);\n```\n\nIf a literal is passed (such as a number or a string), it will\nbe treated as an identifier instead. In this case, the `model`\nhook of the route will be triggered:\n\n```javascript\nthis.transitionTo('blogPost', 1);\n```\n\nMultiple models will be applied last to first recursively up the\nroute tree.\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('blogPost', { path:':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId' });\n });\n});\n\nexport default Router;\n```\n\n```javascript\nthis.transitionTo('blogComment', aPost, aComment);\nthis.transitionTo('blogComment', 1, 13);\n```\n\nIt is also possible to pass a URL (a string that starts with a\n`/`).\n\n```javascript\nthis.transitionTo('/');\nthis.transitionTo('/blog/post/1/comment/13');\nthis.transitionTo('/blog/posts?sort=title');\n```\n\nAn options hash with a `queryParams` property may be provided as\nthe final argument to add query parameters to the destination URL.\n\n```javascript\nthis.transitionTo('blogPost', 1, {\n queryParams: { showComments: 'true' }\n});\n\n// if you just want to transition the query parameters without changing the route\nthis.transitionTo({ queryParams: { sort: 'date' } });\n```\n\nSee also [replaceWith](#method_replaceWith).\n\nSimple Transition Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n this.route('fourOhFour', { path: '*:' });\n});\n\nexport default Router;\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 moveToSecret(context) {\n if (authorized()) {\n this.transitionTo('secret', context);\n } else {\n this.transitionTo('fourOhFour');\n }\n }\n}\n```\n\nTransition to a nested route\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('articles', { path: '/articles' }, function() {\n this.route('new');\n });\n});\n\nexport default Router;\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 transitionToNewArticle() {\n this.transitionTo('articles.new');\n }\n}\n```\n\nMultiple Models Example\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n\n this.route('breakfast', { path: ':breakfastId' }, function() {\n this.route('cereal', { path: ':cerealId' });\n });\n});\n\nexport default Router;\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 moveToChocolateCereal() {\n let cereal = { cerealId: 'ChocolateYumminess' };\n let breakfast = { breakfastId: 'CerealAndMilk' };\n\n this.transitionTo('breakfast.cereal', breakfast, cereal);\n }\n}\n```\n\nNested Route with Query String Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('fruits', function() {\n this.route('apples');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\n\nexport default class IndexRoute extends Route {\n @action\n transitionToApples() {\n this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n }\n}\n```",
10335
10335
  "itemtype": "method",
10336
10336
  "name": "transitionTo",
@@ -10368,7 +10368,7 @@
10368
10368
  },
10369
10369
  {
10370
10370
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10371
- "line": 845,
10371
+ "line": 844,
10372
10372
  "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.",
10373
10373
  "itemtype": "method",
10374
10374
  "name": "intermediateTransitionTo",
@@ -10392,7 +10392,7 @@
10392
10392
  },
10393
10393
  {
10394
10394
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10395
- "line": 867,
10395
+ "line": 866,
10396
10396
  "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.",
10397
10397
  "itemtype": "method",
10398
10398
  "name": "refresh",
@@ -10408,7 +10408,7 @@
10408
10408
  },
10409
10409
  {
10410
10410
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10411
- "line": 893,
10411
+ "line": 892,
10412
10412
  "description": "Transition into another route while replacing the current URL, if possible.\nThis will replace the current history entry instead of adding a new one.\nBeside that, it is identical to `transitionTo` in all other respects. See\n'transitionTo' for additional information regarding multiple models.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n});\n\nexport default Router;\n```\n\n```app/routes/secret.js\nimport Route from '@ember/routing/route';\n\nexport default class SecretRoute Route {\n afterModel() {\n if (!authorized()){\n this.replaceWith('index');\n }\n }\n}\n```",
10413
10413
  "itemtype": "method",
10414
10414
  "name": "replaceWith",
@@ -10442,7 +10442,7 @@
10442
10442
  },
10443
10443
  {
10444
10444
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10445
- "line": 940,
10445
+ "line": 939,
10446
10446
  "description": "This hook is the entry point for router.js",
10447
10447
  "access": "private",
10448
10448
  "tagname": "",
@@ -10453,7 +10453,7 @@
10453
10453
  },
10454
10454
  {
10455
10455
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10456
- "line": 1033,
10456
+ "line": 1032,
10457
10457
  "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`this.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.",
10458
10458
  "itemtype": "method",
10459
10459
  "name": "beforeModel",
@@ -10476,7 +10476,7 @@
10476
10476
  },
10477
10477
  {
10478
10478
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10479
- "line": 1067,
10479
+ "line": 1066,
10480
10480
  "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';\n\nexport default class PostsRoute extends Route {\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.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.",
10481
10481
  "itemtype": "method",
10482
10482
  "name": "afterModel",
@@ -10504,7 +10504,7 @@
10504
10504
  },
10505
10505
  {
10506
10506
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10507
- "line": 1104,
10507
+ "line": 1103,
10508
10508
  "description": "A hook you can implement to optionally redirect to another route.\n\nCalling `this.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.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.",
10509
10509
  "itemtype": "method",
10510
10510
  "name": "redirect",
@@ -10528,7 +10528,7 @@
10528
10528
  },
10529
10529
  {
10530
10530
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10531
- "line": 1129,
10531
+ "line": 1128,
10532
10532
  "description": "Called when the context is changed by router.js.",
10533
10533
  "access": "private",
10534
10534
  "tagname": "",
@@ -10539,7 +10539,7 @@
10539
10539
  },
10540
10540
  {
10541
10541
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10542
- "line": 1139,
10542
+ "line": 1138,
10543
10543
  "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\nThe model for the `post` route is `store.findRecord('post', params.post_id)`.\n\nBy default, if your route has a dynamic segment ending in `_id`:\n\n* The model class is determined from the segment (`post_id`'s\n class is `App.Post`)\n* The find method is called on the model class with the value of\n the dynamic segment.\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.transitionTo('posts');\n\n// model passed in, so model hook not called\nthePost = store.findRecord('post', 1);\nthis.transitionTo('post', thePost);\n\n// integer passed in, model hook is called\nthis.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.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\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n}\n```",
10544
10544
  "itemtype": "method",
10545
10545
  "name": "model",
@@ -10567,7 +10567,7 @@
10567
10567
  },
10568
10568
  {
10569
10569
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10570
- "line": 1248,
10570
+ "line": 1247,
10571
10571
  "access": "private",
10572
10572
  "tagname": "",
10573
10573
  "itemtype": "method",
@@ -10593,7 +10593,7 @@
10593
10593
  },
10594
10594
  {
10595
10595
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10596
- "line": 1261,
10596
+ "line": 1260,
10597
10597
  "itemtype": "method",
10598
10598
  "name": "findModel",
10599
10599
  "params": [
@@ -10615,7 +10615,7 @@
10615
10615
  },
10616
10616
  {
10617
10617
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10618
- "line": 1272,
10618
+ "line": 1271,
10619
10619
  "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';\n\nexport default class PhotosRoute extends Route {\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.",
10620
10620
  "example": [
10621
10621
  " 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```"
@@ -10647,7 +10647,7 @@
10647
10647
  },
10648
10648
  {
10649
10649
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10650
- "line": 1349,
10650
+ "line": 1348,
10651
10651
  "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```",
10652
10652
  "itemtype": "method",
10653
10653
  "name": "controllerFor",
@@ -10670,7 +10670,7 @@
10670
10670
  },
10671
10671
  {
10672
10672
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10673
- "line": 1395,
10673
+ "line": 1394,
10674
10674
  "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```",
10675
10675
  "itemtype": "method",
10676
10676
  "name": "generateController",
@@ -10688,7 +10688,7 @@
10688
10688
  },
10689
10689
  {
10690
10690
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10691
- "line": 1422,
10691
+ "line": 1421,
10692
10692
  "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```",
10693
10693
  "itemtype": "method",
10694
10694
  "name": "modelFor",
@@ -10711,7 +10711,7 @@
10711
10711
  },
10712
10712
  {
10713
10713
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10714
- "line": 1493,
10714
+ "line": 1492,
10715
10715
  "description": "`this[RENDER]` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`).",
10716
10716
  "itemtype": "method",
10717
10717
  "name": "this[RENDER]",
@@ -10761,7 +10761,7 @@
10761
10761
  },
10762
10762
  {
10763
10763
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10764
- "line": 1516,
10764
+ "line": 1515,
10765
10765
  "description": "A hook you can use to render the template for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook. By default, it renders the route's\ntemplate, configured with the controller for the route.\n\nThis method can be overridden to set up and render additional or\nalternative templates.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n let favController = this.controllerFor('favoritePost');\n\n // Render the `favoritePost` template into\n // the outlet `posts`, and display the `favoritePost`\n // controller.\n this.render('favoritePost', {\n outlet: 'posts',\n controller: favController\n });\n }\n}\n```",
10766
10766
  "itemtype": "method",
10767
10767
  "name": "renderTemplate",
@@ -10785,7 +10785,7 @@
10785
10785
  },
10786
10786
  {
10787
10787
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10788
- "line": 1555,
10788
+ "line": 1554,
10789
10789
  "description": "`render` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`). `render` is used both during the entry\nphase of routing (via the `renderTemplate` hook) and later in response to\nuser interaction.\n\nFor example, given the following minimal router and templates:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('photos');\n});\n\nexport default Router;\n```\n\n```handlebars\n<!-- application.hbs -->\n<div class='something-in-the-app-hbs'>\n {{outlet \"anOutletName\"}}\n</div>\n```\n\n```handlebars\n<!-- photos.hbs -->\n<h1>Photos</h1>\n```\n\nYou can render `photos.hbs` into the `\"anOutletName\"` outlet of\n`application.hbs` by calling `render`:\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n renderTemplate() {\n this.render('photos', {\n into: 'application',\n outlet: 'anOutletName'\n })\n }\n}\n```\n\n`render` additionally allows you to supply which `controller` and\n`model` objects should be loaded and associated with the rendered template.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n this.render('posts', { // the template to render, referenced by name\n into: 'application', // the template to render into, referenced by name\n outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n controller: 'someControllerName', // the controller to use for this template, referenced by name\n model: model // the model to set on `options.controller`.\n })\n }\n}\n```\n\nThe string values provided for the template name, and controller\nwill eventually pass through to the resolver for lookup. See\nResolver for how these are mapped to JavaScript objects in your\napplication. The template to render into needs to be related to either the\ncurrent route or one of its ancestors.\n\nNot all options need to be passed to `render`. Default values will be used\nbased on the name of the route specified in the router or the Route's\n`controllerName` and `templateName` properties.\n\nFor example:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n renderTemplate() {\n this.render(); // all defaults apply\n }\n}\n```\n\nThe name of the route, defined by the router, is `post`.\n\nThe following equivalent default options will be applied when\nthe Route calls `render`:\n\n```javascript\nthis.render('post', { // the template name associated with 'post' Route\n into: 'application', // the parent route to 'post' Route\n outlet: 'main', // {{outlet}} and {{outlet 'main'}} are synonymous,\n controller: 'post', // the controller associated with the 'post' Route\n})\n```\n\nBy default the controller's `model` will be the route's model, so it does not\nneed to be passed unless you wish to change which model is being used.",
10790
10790
  "itemtype": "method",
10791
10791
  "name": "render",
@@ -10836,7 +10836,7 @@
10836
10836
  },
10837
10837
  {
10838
10838
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10839
- "line": 1695,
10839
+ "line": 1694,
10840
10840
  "description": "Disconnects a view that has been rendered into an outlet.\n\nYou may pass any or all of the following options to `disconnectOutlet`:\n\n* `outlet`: the name of the outlet to clear (default: 'main')\n* `parentView`: the name of the view containing the outlet to clear\n (default: the view rendered by the parent route)\n\nExample:\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 showModal(evt) {\n this.render(evt.modalName, {\n outlet: 'modal',\n into: 'application'\n });\n }\n\n @action\n hideModal() {\n this.disconnectOutlet({\n outlet: 'modal',\n parentView: 'application'\n });\n }\n}\n```\n\nAlternatively, you can pass the `outlet` name directly as a string.\n\nExample:\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 showModal(evt) {\n // ...\n }\n\n @action\n hideModal(evt) {\n this.disconnectOutlet('modal');\n }\n}\n```",
10841
10841
  "itemtype": "method",
10842
10842
  "name": "disconnectOutlet",
@@ -10855,7 +10855,7 @@
10855
10855
  },
10856
10856
  {
10857
10857
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10858
- "line": 1826,
10858
+ "line": 1825,
10859
10859
  "access": "private",
10860
10860
  "tagname": "",
10861
10861
  "itemtype": "method",
@@ -10865,7 +10865,7 @@
10865
10865
  },
10866
10866
  {
10867
10867
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10868
- "line": 1839,
10868
+ "line": 1838,
10869
10869
  "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 { inject as 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```",
10870
10870
  "itemtype": "method",
10871
10871
  "name": "buildRouteInfoMetadata",
@@ -10880,7 +10880,7 @@
10880
10880
  },
10881
10881
  {
10882
10882
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10883
- "line": 2163,
10883
+ "line": 2162,
10884
10884
  "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.",
10885
10885
  "itemtype": "method",
10886
10886
  "name": "serialize",
@@ -10908,7 +10908,7 @@
10908
10908
  },
10909
10909
  {
10910
10910
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10911
- "line": 2213,
10911
+ "line": 2212,
10912
10912
  "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```",
10913
10913
  "itemtype": "property",
10914
10914
  "name": "queryParams",
@@ -10921,7 +10921,7 @@
10921
10921
  },
10922
10922
  {
10923
10923
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10924
- "line": 2258,
10924
+ "line": 2257,
10925
10925
  "description": "The name of the template to use by default when rendering this routes\ntemplate.\n\n```app/routes/posts/list.js\nimport Route from '@ember/routing/route';\n\nexport default class extends Route {\n templateName = 'posts/list'\n});\n```\n\n```app/routes/posts/index.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```\n\n```app/routes/posts/archived.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```",
10926
10926
  "itemtype": "property",
10927
10927
  "name": "templateName",
@@ -10935,7 +10935,7 @@
10935
10935
  },
10936
10936
  {
10937
10937
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10938
- "line": 2290,
10938
+ "line": 2289,
10939
10939
  "access": "private",
10940
10940
  "tagname": "",
10941
10941
  "itemtype": "property",
@@ -10945,7 +10945,7 @@
10945
10945
  },
10946
10946
  {
10947
10947
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10948
- "line": 2297,
10948
+ "line": 2296,
10949
10949
  "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.",
10950
10950
  "itemtype": "property",
10951
10951
  "name": "controllerName",
@@ -10959,7 +10959,7 @@
10959
10959
  },
10960
10960
  {
10961
10961
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10962
- "line": 2319,
10962
+ "line": 2318,
10963
10963
  "description": "Store property provides a hook for data persistence libraries to inject themselves.\n\nBy default, this store property provides the exact same functionality previously\nin the model hook.\n\nCurrently, the required interface is:\n\n`store.find(modelName, findArguments)`",
10964
10964
  "itemtype": "property",
10965
10965
  "name": "store",
@@ -10971,7 +10971,7 @@
10971
10971
  },
10972
10972
  {
10973
10973
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10974
- "line": 2371,
10974
+ "line": 2407,
10975
10975
  "access": "private",
10976
10976
  "tagname": "",
10977
10977
  "itemtype": "property",
@@ -10981,7 +10981,7 @@
10981
10981
  },
10982
10982
  {
10983
10983
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10984
- "line": 2498,
10984
+ "line": 2534,
10985
10985
  "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```",
10986
10986
  "itemtype": "method",
10987
10987
  "name": "send",
@@ -11005,7 +11005,7 @@
11005
11005
  },
11006
11006
  {
11007
11007
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
11008
- "line": 2561,
11008
+ "line": 2597,
11009
11009
  "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```",
11010
11010
  "itemtype": "property",
11011
11011
  "name": "controller",
@@ -11018,7 +11018,7 @@
11018
11018
  },
11019
11019
  {
11020
11020
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
11021
- "line": 2592,
11021
+ "line": 2628,
11022
11022
  "description": "This action is called when one or more query params have changed. Bubbles.",
11023
11023
  "itemtype": "method",
11024
11024
  "name": "queryParamsDidChange",
@@ -20119,7 +20119,7 @@
20119
20119
  "warnings": [
20120
20120
  {
20121
20121
  "message": "replacing incorrect tag: returns with return",
20122
- "line": " packages/@ember/-internals/container/lib/container.ts:192"
20122
+ "line": " packages/@ember/-internals/container/lib/container.ts:195"
20123
20123
  },
20124
20124
  {
20125
20125
  "message": "unknown tag: decorator",
@@ -20135,7 +20135,7 @@
20135
20135
  },
20136
20136
  {
20137
20137
  "message": "replacing incorrect tag: returns with return",
20138
- "line": " packages/@ember/-internals/routing/lib/system/route.ts:2592"
20138
+ "line": " packages/@ember/-internals/routing/lib/system/route.ts:2628"
20139
20139
  },
20140
20140
  {
20141
20141
  "message": "replacing incorrect tag: function with method",