ember-source 5.6.0-alpha.2 → 5.6.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 (54) hide show
  1. package/build-metadata.json +3 -3
  2. package/dist/dependencies/@glimmer/debug.js +1533 -0
  3. package/dist/dependencies/@glimmer/destroyable.js +30 -59
  4. package/dist/dependencies/@glimmer/encoder.js +13 -24
  5. package/dist/dependencies/@glimmer/global-context.js +38 -41
  6. package/dist/dependencies/@glimmer/manager.js +144 -326
  7. package/dist/dependencies/@glimmer/node.js +14 -46
  8. package/dist/dependencies/@glimmer/opcode-compiler.js +1673 -2478
  9. package/dist/dependencies/@glimmer/owner.js +2 -5
  10. package/dist/dependencies/@glimmer/program.js +102 -185
  11. package/dist/dependencies/@glimmer/reference.js +58 -126
  12. package/dist/dependencies/@glimmer/runtime.js +4674 -5639
  13. package/dist/dependencies/@glimmer/util.js +340 -326
  14. package/dist/dependencies/@glimmer/validator.js +160 -217
  15. package/dist/dependencies/@glimmer/vm.js +174 -23
  16. package/dist/dependencies/@glimmer/wire-format.js +91 -34
  17. package/dist/dependencies/@simple-dom/document.js +1 -1
  18. package/dist/dependencies/router_js.js +15 -16
  19. package/dist/dependencies/rsvp.js +89 -88
  20. package/dist/ember-template-compiler.js +8574 -8350
  21. package/dist/ember-template-compiler.map +1 -1
  22. package/dist/ember-testing.js +107 -107
  23. package/dist/ember-testing.map +1 -1
  24. package/dist/ember.debug.js +11199 -9636
  25. package/dist/ember.debug.map +1 -1
  26. package/dist/header/license.js +1 -1
  27. package/dist/packages/@ember/-internals/glimmer/index.js +93 -83
  28. package/dist/packages/@ember/-internals/metal/index.js +5 -4
  29. package/dist/packages/@ember/-internals/utils/index.js +3 -4
  30. package/dist/packages/@ember/array/-internals.js +1 -2
  31. package/dist/packages/@ember/debug/lib/inspect.js +0 -1
  32. package/dist/packages/@ember/object/core.js +0 -1
  33. package/dist/packages/@ember/object/mixin.js +1 -2
  34. package/dist/packages/@ember/routing/route.js +23 -101
  35. package/dist/packages/@ember/routing/router.js +25 -84
  36. package/dist/packages/ember/version.js +1 -1
  37. package/dist/packages/ember-babel.js +13 -0
  38. package/docs/data.json +218 -243
  39. package/lib/index.js +1 -5
  40. package/package.json +24 -19
  41. package/types/stable/@ember/-internals/glimmer/index.d.ts +1 -1
  42. package/types/stable/@ember/-internals/glimmer/lib/component-managers/curly.d.ts +4 -4
  43. package/types/stable/@ember/-internals/glimmer/lib/component-managers/mount.d.ts +3 -3
  44. package/types/stable/@ember/-internals/glimmer/lib/component-managers/outlet.d.ts +5 -8
  45. package/types/stable/@ember/-internals/glimmer/lib/component-managers/root.d.ts +3 -3
  46. package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +3 -3
  47. package/types/stable/@ember/-internals/glimmer/lib/resolver.d.ts +3 -3
  48. package/types/stable/@ember/-internals/glimmer/lib/syntax/utils.d.ts +3 -2
  49. package/types/stable/@ember/-internals/glimmer/lib/utils/iterator.d.ts +2 -2
  50. package/types/stable/@ember/-internals/glimmer/lib/utils/outlet.d.ts +39 -18
  51. package/types/stable/@ember/-internals/utility-types/index.d.ts +1 -0
  52. package/types/stable/@ember/-internals/views/lib/system/utils.d.ts +4 -3
  53. package/types/stable/@ember/routing/route.d.ts +6 -28
  54. package/dist/dependencies/@glimmer/low-level.js +0 -77
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": "5.6.0-alpha.2"
6
+ "version": "5.6.0-alpha.3"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -2260,7 +2260,7 @@
2260
2260
  "namespaces": {},
2261
2261
  "tag": "module",
2262
2262
  "file": "packages/@ember/object/core.ts",
2263
- "line": 175
2263
+ "line": 174
2264
2264
  },
2265
2265
  "@ember/object/evented": {
2266
2266
  "name": "@ember/object/evented",
@@ -2289,7 +2289,7 @@
2289
2289
  "namespaces": {},
2290
2290
  "tag": "module",
2291
2291
  "file": "packages/@ember/object/mixin.ts",
2292
- "line": 455
2292
+ "line": 454
2293
2293
  },
2294
2294
  "@ember/object/observable": {
2295
2295
  "name": "@ember/object/observable",
@@ -2429,7 +2429,7 @@
2429
2429
  "namespaces": {},
2430
2430
  "tag": "module",
2431
2431
  "file": "packages/@ember/routing/route.ts",
2432
- "line": 79
2432
+ "line": 80
2433
2433
  },
2434
2434
  "@ember/routing/router-service": {
2435
2435
  "name": "@ember/routing/router-service",
@@ -2455,7 +2455,7 @@
2455
2455
  "namespaces": {},
2456
2456
  "tag": "module",
2457
2457
  "file": "packages/@ember/routing/router.ts",
2458
- "line": 145
2458
+ "line": 126
2459
2459
  },
2460
2460
  "@ember/routing/transition": {
2461
2461
  "name": "@ember/routing/transition",
@@ -2868,7 +2868,7 @@
2868
2868
  "module": "@ember/object",
2869
2869
  "namespace": "",
2870
2870
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
2871
- "line": 50,
2871
+ "line": 49,
2872
2872
  "description": "Objects of this type can implement an interface to respond to requests to\nget and set. The default implementation handles simple properties.",
2873
2873
  "access": "private",
2874
2874
  "tagname": ""
@@ -3832,7 +3832,7 @@
3832
3832
  "module": "@ember/object/core",
3833
3833
  "namespace": "",
3834
3834
  "file": "packages/@ember/object/core.ts",
3835
- "line": 175,
3835
+ "line": 174,
3836
3836
  "description": "`CoreObject` is the base class for all Ember constructs. It establishes a\nclass system based on Ember's Mixin system, and provides the basis for the\nEmber Object Model. `CoreObject` should generally not be used directly,\ninstead you should use `EmberObject`.\n\n## Usage\n\nYou can define a class by extending from `CoreObject` using the `extend`\nmethod:\n\n```js\nconst Person = CoreObject.extend({\n name: 'Tomster',\n});\n```\n\nFor detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\nsection of the guides.\n\n## Usage with Native Classes\n\nNative JavaScript `class` syntax can be used to extend from any `CoreObject`\nbased class:\n\n```js\nclass Person extends CoreObject {\n init() {\n super.init(...arguments);\n this.name = 'Tomster';\n }\n}\n```\n\nSome notes about `class` usage:\n\n* `new` syntax is not currently supported with classes that extend from\n `EmberObject` or `CoreObject`. You must continue to use the `create` method\n when making new instances of classes, even if they are defined using native\n class syntax. If you want to use `new` syntax, consider creating classes\n which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n such as computed properties and decorators, will still work with base-less\n classes.\n* Instead of using `this._super()`, you must use standard `super` syntax in\n native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n for more details.\n* Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n to set up newly-created instances. Ember uses these to, among other things,\n support features that need to retrieve other entities by name, like Service\n injection and `getOwner`. To ensure your custom instance setup logic takes\n place after this important work is done, avoid using the `constructor` in\n favor of `init`.\n* Properties passed to `create` will be available on the instance by the time\n `init` runs, so any code that requires these values should work at that\n time.\n* Using native classes, and switching back to the old Ember Object model is\n fully supported.",
3837
3837
  "access": "public",
3838
3838
  "tagname": ""
@@ -3888,7 +3888,7 @@
3888
3888
  "module": "@ember/object/mixin",
3889
3889
  "namespace": "",
3890
3890
  "file": "packages/@ember/object/mixin.ts",
3891
- "line": 455,
3891
+ "line": 454,
3892
3892
  "description": "The `Mixin` class allows you to create mixins, whose properties can be\nadded to other classes. For instance,\n\n```javascript\nimport Mixin from '@ember/object/mixin';\n\nconst EditableMixin = Mixin.create({\n edit() {\n console.log('starting to edit');\n this.set('isEditing', true);\n },\n isEditing: false\n});\n```\n\n```javascript\nimport EmberObject from '@ember/object';\nimport EditableMixin from '../mixins/editable';\n\n// Mix mixins into classes by passing them as the first arguments to\n// `.extend.`\nconst Comment = EmberObject.extend(EditableMixin, {\n post: null\n});\n\nlet comment = Comment.create({\n post: somePost\n});\n\ncomment.edit(); // outputs 'starting to edit'\n```\n\nNote that Mixins are created with `Mixin.create`, not\n`Mixin.extend`.\n\nNote that mixins extend a constructor's prototype so arrays and object literals\ndefined as properties will be shared amongst objects that implement the mixin.\nIf you want to define a property in a mixin that is not shared, you can define\nit either as a computed property or have it be created on initialization of the object.\n\n```javascript\n// filters array will be shared amongst any object implementing mixin\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\n\nconst FilterableMixin = Mixin.create({\n filters: A()\n});\n```\n\n```javascript\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\n\n// filters will be a separate array for every object implementing the mixin\nconst FilterableMixin = Mixin.create({\n filters: computed(function() {\n return A();\n })\n});\n```\n\n```javascript\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\n\n// filters will be created as a separate array during the object's initialization\nconst Filterable = Mixin.create({\n filters: null,\n\n init() {\n this._super(...arguments);\n this.set(\"filters\", A());\n }\n});\n```",
3893
3893
  "access": "public",
3894
3894
  "tagname": ""
@@ -4129,7 +4129,7 @@
4129
4129
  "module": "@ember/routing/route",
4130
4130
  "namespace": "",
4131
4131
  "file": "packages/@ember/routing/route.ts",
4132
- "line": 79,
4132
+ "line": 80,
4133
4133
  "description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
4134
4134
  "extends": "EmberObject",
4135
4135
  "uses": [
@@ -4168,7 +4168,7 @@
4168
4168
  "module": "@ember/routing/router",
4169
4169
  "namespace": "",
4170
4170
  "file": "packages/@ember/routing/router.ts",
4171
- "line": 145,
4171
+ "line": 126,
4172
4172
  "description": "The `EmberRouter` class manages the application state and URLs. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
4173
4173
  "extends": "EmberObject",
4174
4174
  "uses": [
@@ -5598,7 +5598,7 @@
5598
5598
  },
5599
5599
  {
5600
5600
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
5601
- "line": 43,
5601
+ "line": 44,
5602
5602
  "description": "The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\nsupplied model to the route as its `model` context of the route. The block for `LinkTo`\nbecomes the contents of the rendered element:\n\n```handlebars\n<LinkTo @route='photoGallery'>\n Great Hamster Photos\n</LinkTo>\n```\n\nThis will result in:\n\n```html\n<a href=\"/hamster-photos\">\n Great Hamster Photos\n</a>\n```\n\n### Disabling the `LinkTo` component\n\nThe `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\ndoesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\nelement.\n\n(The class name to apply to the element can be overridden by using the `disabledClass`\nargument)\n\n```handlebars\n<LinkTo @route='photoGallery' @disabled={{true}}>\n Great Hamster Photos\n</LinkTo>\n```\n\n### Handling `href`\n\n`<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\nthat matches the path to the supplied `routeName`.\n\n### Handling current route\n\nThe `LinkTo` component will apply a CSS class name of 'active' when the application's current\nroute matches the supplied routeName. For example, if the application's current route is\n'photoGallery.recent', then the following invocation of `LinkTo`:\n\n```handlebars\n<LinkTo @route='photoGallery.recent'>\n Great Hamster Photos\n</LinkTo>\n```\n\nwill result in\n\n```html\n<a href=\"/hamster-photos/this-week\" class=\"active\">\n Great Hamster Photos\n</a>\n```\n\nThe CSS class used for active classes can be customized by passing an `activeClass` argument:\n\n```handlebars\n<LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n Great Hamster Photos\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/this-week\" class=\"current-url\">\n Great Hamster Photos\n</a>\n```\n\n### Keeping a link active for other routes\n\nIf you need a link to be 'active' even when it doesn't match the current route, you can use the\n`current-when` argument.\n\n```handlebars\n<LinkTo @route='photoGallery' @current-when='photos'>\n Photo Gallery\n</LinkTo>\n```\n\nThis may be helpful for keeping links active for:\n\n* non-nested routes that are logically related\n* some secondary menu approaches\n* 'top navigation' with 'sub navigation' scenarios\n\nA link will be active if `current-when` is `true` or the current\nroute is the route this link would transition to.\n\nTo match multiple routes 'space-separate' the routes:\n\n```handlebars\n<LinkTo @route='gallery' @current-when='photos drawings paintings'>\n Art Gallery\n</LinkTo>\n```\n\n### Supplying a model\n\nAn optional `model` argument can be used for routes whose\npaths contain dynamic segments. This argument will become\nthe model context of the linked route:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n});\n```\n\n```handlebars\n<LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n {{aPhoto.title}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42\">\n Tomster\n</a>\n```\n\n### Supplying multiple models\n\nFor deep-linking to route paths that contain multiple\ndynamic segments, the `models` argument can be used.\n\nAs the router transitions through the route path, each\nsupplied model argument will become the context for the\nroute with the dynamic segments:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n this.route(\"comment\", {path: \"comments/:comment_id\"});\n });\n});\n```\n\nThis argument will become the model context of the linked route:\n\n```handlebars\n<LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n {{comment.body}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42/comments/718\">\n A+++ would snuggle again.\n</a>\n```\n\n### Supplying an explicit dynamic segment value\n\nIf you don't have a model object available to pass to `LinkTo`,\nan optional string or integer argument can be passed for routes whose\npaths contain dynamic segments. This argument will become the value\nof the dynamic segment:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n});\n```\n\n```handlebars\n<LinkTo @route='photoGallery' @model={{aPhotoId}}>\n {{this.aPhoto.title}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42\">\n Tomster\n</a>\n```\n\nWhen transitioning into the linked route, the `model` hook will\nbe triggered with parameters including this passed identifier.\n\n### Supplying query parameters\n\nIf you need to add optional key-value pairs that appear to the right of the ? in a URL,\nyou can use the `query` argument.\n\n```handlebars\n<LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n Great Hamster Photos\n</LinkTo>\n```\n\nThis will result in:\n\n```html\n<a href=\"/hamster-photos?page=1&per_page=20\">\n Great Hamster Photos\n</a>\n```",
5603
5603
  "itemtype": "method",
5604
5604
  "name": "LinkTo",
@@ -5609,7 +5609,7 @@
5609
5609
  },
5610
5610
  {
5611
5611
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
5612
- "line": 255,
5612
+ "line": 256,
5613
5613
  "description": "See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).",
5614
5614
  "itemtype": "method",
5615
5615
  "name": "link-to",
@@ -5623,7 +5623,7 @@
5623
5623
  },
5624
5624
  {
5625
5625
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
5626
- "line": 264,
5626
+ "line": 265,
5627
5627
  "description": "An opaque interface which can be imported and used in strict-mode\ntemplates to call <LinkTo>.\n\nSee [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).",
5628
5628
  "itemtype": "method",
5629
5629
  "name": "LinkTo",
@@ -5683,7 +5683,7 @@
5683
5683
  },
5684
5684
  {
5685
5685
  "file": "packages/@ember/-internals/glimmer/lib/helpers/action.ts",
5686
- "line": 18,
5686
+ "line": 17,
5687
5687
  "description": "The `{{action}}` helper provides a way to pass triggers for behavior (usually\njust a function) between components, and into components from controllers.\n\n### Passing functions with the action helper\n\nThere are three contexts an action helper can be used in. The first two\ncontexts to discuss are attribute context, and Handlebars value context.\n\n```handlebars\n{{! An example of attribute context }}\n<div onclick={{action \"save\"}}></div>\n{{! Examples of Handlebars value context }}\n{{input on-input=(action \"save\")}}\n{{yield (action \"refreshData\") andAnotherParam}}\n```\n\nIn these contexts,\nthe helper is called a \"closure action\" helper. Its behavior is simple:\nIf passed a function name, read that function off the `actions` property\nof the current context. Once that function is read, or immediately if a function was\npassed, create a closure over that function and any arguments.\nThe resulting value of an action helper used this way is simply a function.\n\nFor example, in the attribute context:\n\n```handlebars\n{{! An example of attribute context }}\n<div onclick={{action \"save\"}}></div>\n```\n\nThe resulting template render logic would be:\n\n```js\nvar div = document.createElement('div');\nvar actionFunction = (function(context){\n return function() {\n return context.actions.save.apply(context, arguments);\n };\n})(context);\ndiv.onclick = actionFunction;\n```\n\nThus when the div is clicked, the action on that context is called.\nBecause the `actionFunction` is just a function, closure actions can be\npassed between components and still execute in the correct context.\n\nHere is an example action handler on a component:\n\n```app/components/my-component.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n save() {\n this.model.save();\n }\n}\n```\n\nActions are always looked up on the `actions` property of the current context.\nThis avoids collisions in the naming of common actions, such as `destroy`.\nTwo options can be passed to the `action` helper when it is used in this way.\n\n* `target=someProperty` will look to `someProperty` instead of the current\n context for the `actions` hash. This can be useful when targeting a\n service for actions.\n* `value=\"target.value\"` will read the path `target.value` off the first\n argument to the action when it is called and rewrite the first argument\n to be that value. This is useful when attaching actions to event listeners.\n\n### Invoking an action\n\nClosure actions curry both their scope and any arguments. When invoked, any\nadditional arguments are added to the already curried list.\nActions are presented in JavaScript as callbacks, and are\ninvoked like any other JavaScript function.\n\nFor example\n\n```app/components/update-name.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n setName(model, name) {\n model.set('name', name);\n }\n}\n```\n\n```app/components/update-name.hbs\n{{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n```\n\nThe first argument (`@model`) was curried over, and the run-time argument (`event`)\nbecomes a second argument. Action calls can be nested this way because each simply\nreturns a function. Any function can be passed to the `{{action}}` helper, including\nother actions.\n\nActions invoked with `sendAction` have the same currying behavior as demonstrated\nwith `on-input` above. For example:\n\n```app/components/my-input.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n setName(model, name) {\n model.set('name', name);\n }\n}\n```\n\n```handlebars\n<MyInput @submit={{action 'setName' @model}} />\n```\n\nor\n\n```handlebars\n{{my-input submit=(action 'setName' @model)}}\n```\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click() {\n // Note that model is not passed, it was curried in the template\n this.submit('bob');\n }\n});\n```\n\n### Attaching actions to DOM elements\n\nThe third context of the `{{action}}` helper can be called \"element space\".\nFor example:\n\n```handlebars\n{{! An example of element space }}\n<div {{action \"save\"}}></div>\n```\n\nUsed this way, the `{{action}}` helper provides a useful shortcut for\nregistering an HTML element in a template for a single DOM event and\nforwarding that interaction to the template's context (controller or component).\nIf the context of a template is a controller, actions used this way will\nbubble to routes when the controller does not implement the specified action.\nOnce an action hits a route, it will bubble through the route hierarchy.\n\n### Event Propagation\n\n`{{action}}` helpers called in element space can control event bubbling. Note\nthat the closure style actions cannot.\n\nEvents triggered through the action helper will automatically have\n`.preventDefault()` called on them. You do not need to do so in your event\nhandlers. If you need to allow event propagation (to handle file inputs for\nexample) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n\n```handlebars\n<div {{action \"sayHello\" preventDefault=false}}>\n <input type=\"file\" />\n <input type=\"checkbox\" />\n</div>\n```\n\nTo disable bubbling, pass `bubbles=false` to the helper:\n\n```handlebars\n<button {{action 'edit' post bubbles=false}}>Edit</button>\n```\n\nTo disable bubbling with closure style actions you must create your own\nwrapper helper that makes use of `event.stopPropagation()`:\n\n```handlebars\n<div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n```\n\n```app/helpers/disable-bubbling.js\nimport { helper } from '@ember/component/helper';\n\nexport function disableBubbling([action]) {\n return function(event) {\n event.stopPropagation();\n return action(event);\n };\n}\nexport default helper(disableBubbling);\n```\n\nIf you need the default handler to trigger you should either register your\nown event handler, or use event methods on your view class. See\n[\"Responding to Browser Events\"](/ember/release/classes/Component)\nin the documentation for `Component` for more information.\n\n### Specifying DOM event type\n\n`{{action}}` helpers called in element space can specify an event type.\nBy default the `{{action}}` helper registers for DOM `click` events. You can\nsupply an `on` option to the helper to specify a different DOM event name:\n\n```handlebars\n<div {{action \"anActionName\" on=\"doubleClick\"}}>\n click me\n</div>\n```\n\nSee [\"Event Names\"](/ember/release/classes/Component) for a list of\nacceptable DOM event names.\n\n### Specifying whitelisted modifier keys\n\n`{{action}}` helpers called in element space can specify modifier keys.\nBy default the `{{action}}` helper will ignore click events with pressed modifier\nkeys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n\n```handlebars\n<div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n click me\n</div>\n```\n\nThis way the action will fire when clicking with the alt key pressed down.\nAlternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n\n```handlebars\n<div {{action \"anActionName\" allowedKeys=\"any\"}}>\n click me with any key pressed\n</div>\n```\n\n### Specifying a Target\n\nA `target` option can be provided to the helper to change\nwhich object will receive the method call. This option must be a path\nto an object, accessible in the current context:\n\n```app/templates/application.hbs\n<div {{action \"anActionName\" target=someService}}>\n click me\n</div>\n```\n\n```app/controllers/application.js\nimport Controller from '@ember/controller';\nimport { service } from '@ember/service';\n\nexport default class extends Controller {\n @service someService;\n}\n```",
5688
5688
  "itemtype": "method",
5689
5689
  "name": "action",
@@ -5988,7 +5988,7 @@
5988
5988
  },
5989
5989
  {
5990
5990
  "file": "packages/@ember/-internals/glimmer/lib/syntax/mount.ts",
5991
- "line": 16,
5991
+ "line": 17,
5992
5992
  "description": "The `{{mount}}` helper lets you embed a routeless engine in a template.\nMounting an engine will cause an instance to be booted and its `application`\ntemplate to be rendered.\n\nFor example, the following template mounts the `ember-chat` engine:\n\n```handlebars\n{{! application.hbs }}\n{{mount \"ember-chat\"}}\n```\n\nAdditionally, you can also pass in a `model` argument that will be\nset as the engines model. This can be an existing object:\n\n```\n<div>\n {{mount 'admin' model=userSettings}}\n</div>\n```\n\nOr an inline `hash`, and you can even pass components:\n\n```\n<div>\n <h1>Application template!</h1>\n {{mount 'admin' model=(hash\n title='Secret Admin'\n signInButton=(component 'sign-in-button')\n )}}\n</div>\n```",
5993
5993
  "itemtype": "method",
5994
5994
  "name": "mount",
@@ -6012,7 +6012,7 @@
6012
6012
  },
6013
6013
  {
6014
6014
  "file": "packages/@ember/-internals/glimmer/lib/syntax/outlet.ts",
6015
- "line": 22,
6015
+ "line": 21,
6016
6016
  "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.",
6017
6017
  "itemtype": "method",
6018
6018
  "name": "outlet",
@@ -6050,64 +6050,74 @@
6050
6050
  },
6051
6051
  {
6052
6052
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6053
- "line": 5,
6054
- "description": "Not sure why this is here, we use the owner of the template for lookups.\n\nMaybe this is for the render helper?",
6053
+ "line": 21,
6054
+ "description": "This is usually inherited from the parent (all the way up to the app\ninstance). However, engines uses this to swap out the owner when crossing\na mount point.",
6055
6055
  "class": "@ember/template",
6056
6056
  "module": "ember"
6057
6057
  },
6058
6058
  {
6059
6059
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6060
- "line": 12,
6061
- "description": "The name of the parent outlet state.",
6060
+ "line": 28,
6061
+ "deprecated": true,
6062
+ "deprecationMessage": "This used to specify \"which parent route to render into\",\nwhich is not a thing anymore.",
6062
6063
  "class": "@ember/template",
6063
6064
  "module": "ember"
6064
6065
  },
6065
6066
  {
6066
6067
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6067
- "line": 22,
6068
+ "line": 34,
6069
+ "deprecated": true,
6070
+ "deprecationMessage": "This used to specify \"which named outlet in the parent\ntemplate to render into\", which is not a thing anymore.",
6071
+ "class": "@ember/template",
6072
+ "module": "ember"
6073
+ },
6074
+ {
6075
+ "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6076
+ "line": 40,
6068
6077
  "description": "The name of the route/template",
6069
6078
  "class": "@ember/template",
6070
6079
  "module": "ember"
6071
6080
  },
6072
6081
  {
6073
6082
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6074
- "line": 27,
6083
+ "line": 45,
6075
6084
  "description": "The controller (the self of the outlet component)",
6076
6085
  "class": "@ember/template",
6077
6086
  "module": "ember"
6078
6087
  },
6079
6088
  {
6080
6089
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6081
- "line": 32,
6090
+ "line": 50,
6082
6091
  "description": "The model (the resolved value of the model hook)",
6083
6092
  "class": "@ember/template",
6084
6093
  "module": "ember"
6085
6094
  },
6086
6095
  {
6087
6096
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6088
- "line": 37,
6097
+ "line": 55,
6089
6098
  "description": "template (the layout of the outlet component)",
6090
6099
  "class": "@ember/template",
6091
6100
  "module": "ember"
6092
6101
  },
6093
6102
  {
6094
6103
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6095
- "line": 48,
6096
- "description": "Nested outlet connections.",
6104
+ "line": 62,
6105
+ "description": "Represents what was rendered into this outlet.",
6097
6106
  "class": "@ember/template",
6098
6107
  "module": "ember"
6099
6108
  },
6100
6109
  {
6101
6110
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6102
- "line": 53,
6103
- "description": "Represents what was rendered into this outlet.",
6111
+ "line": 67,
6112
+ "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`.",
6104
6113
  "class": "@ember/template",
6105
6114
  "module": "ember"
6106
6115
  },
6107
6116
  {
6108
6117
  "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6109
- "line": 58,
6110
- "description": "Has to do with render helper and orphan outlets.\nWhether outlet state was rendered.",
6118
+ "line": 79,
6119
+ "deprecated": true,
6120
+ "deprecationMessage": "This tracks whether this outlet state actually made it onto the page\nsomewhere. This was more of a problem when you can declare named outlets\nleft and right, and anything can render into anywhere else. We want to\nwarn users when you tried to render into somewhere that does not exist,\nbut we don't know what named outlets exists until after we have rendered\neverything, so this was used to track these orphan renders.\n\nThis can still happen, if, according to the router, a route is active and\nso its template should be rendered, but the parent template is missing the\n`{{outlet}}` keyword, or that it was hidden by an `{{#if}}` or something.\nI guess that is considered valid, because nothing checks for this anymore.\nseems valid for the parent to decide not to render a child template?",
6111
6121
  "class": "@ember/template",
6112
6122
  "module": "ember"
6113
6123
  },
@@ -6182,13 +6192,13 @@
6182
6192
  },
6183
6193
  {
6184
6194
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6185
- "line": 118,
6195
+ "line": 116,
6186
6196
  "class": "Component",
6187
6197
  "module": "@ember/template"
6188
6198
  },
6189
6199
  {
6190
6200
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6191
- "line": 126,
6201
+ "line": 124,
6192
6202
  "class": "Component",
6193
6203
  "module": "@ember/template"
6194
6204
  },
@@ -6516,7 +6526,7 @@
6516
6526
  },
6517
6527
  {
6518
6528
  "file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
6519
- "line": 298,
6529
+ "line": 299,
6520
6530
  "class": "Ember.Templates.helpers",
6521
6531
  "module": "@ember/component"
6522
6532
  },
@@ -7012,7 +7022,7 @@
7012
7022
  },
7013
7023
  {
7014
7024
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7015
- "line": 157,
7025
+ "line": 156,
7016
7026
  "description": "Returns the CP descriptor associated with `obj` and `keyName`, if any.",
7017
7027
  "itemtype": "method",
7018
7028
  "name": "descriptorForProperty",
@@ -7039,7 +7049,7 @@
7039
7049
  },
7040
7050
  {
7041
7051
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7042
- "line": 185,
7052
+ "line": 184,
7043
7053
  "description": "Check whether a value is a decorator",
7044
7054
  "itemtype": "method",
7045
7055
  "name": "isClassicDecorator",
@@ -7061,7 +7071,7 @@
7061
7071
  },
7062
7072
  {
7063
7073
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7064
- "line": 197,
7074
+ "line": 196,
7065
7075
  "description": "Set a value as a decorator",
7066
7076
  "itemtype": "method",
7067
7077
  "name": "setClassicDecorator",
@@ -8572,7 +8582,7 @@
8572
8582
  },
8573
8583
  {
8574
8584
  "file": "packages/@ember/-internals/utils/lib/super.ts",
8575
- "line": 73,
8585
+ "line": 71,
8576
8586
  "description": "Wraps the passed function so that `this._super` will point to the superFunc\nwhen the function is invoked. This is the primitive we use to implement\ncalls to super.",
8577
8587
  "access": "private",
8578
8588
  "tagname": "",
@@ -9042,7 +9052,7 @@
9042
9052
  },
9043
9053
  {
9044
9054
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9045
- "line": 35,
9055
+ "line": 37,
9046
9056
  "access": "private",
9047
9057
  "tagname": "",
9048
9058
  "itemtype": "method",
@@ -9059,7 +9069,7 @@
9059
9069
  },
9060
9070
  {
9061
9071
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9062
- "line": 57,
9072
+ "line": 59,
9063
9073
  "access": "private",
9064
9074
  "tagname": "",
9065
9075
  "itemtype": "method",
@@ -9076,7 +9086,7 @@
9076
9086
  },
9077
9087
  {
9078
9088
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9079
- "line": 77,
9089
+ "line": 79,
9080
9090
  "access": "private",
9081
9091
  "tagname": "",
9082
9092
  "itemtype": "method",
@@ -9093,7 +9103,7 @@
9093
9103
  },
9094
9104
  {
9095
9105
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9096
- "line": 109,
9106
+ "line": 111,
9097
9107
  "access": "private",
9098
9108
  "tagname": "",
9099
9109
  "itemtype": "method",
@@ -9110,7 +9120,7 @@
9110
9120
  },
9111
9121
  {
9112
9122
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9113
- "line": 152,
9123
+ "line": 154,
9114
9124
  "access": "private",
9115
9125
  "tagname": "",
9116
9126
  "itemtype": "method",
@@ -9127,7 +9137,7 @@
9127
9137
  },
9128
9138
  {
9129
9139
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9130
- "line": 161,
9140
+ "line": 163,
9131
9141
  "access": "private",
9132
9142
  "tagname": "",
9133
9143
  "itemtype": "method",
@@ -9144,7 +9154,7 @@
9144
9154
  },
9145
9155
  {
9146
9156
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9147
- "line": 176,
9157
+ "line": 178,
9148
9158
  "description": "`getViewClientRects` provides information about the position of the border\nbox edges of a view relative to the viewport.\n\nIt is only intended to be used by development tools like the Ember Inspector\nand may not work on older browsers.",
9149
9159
  "access": "private",
9150
9160
  "tagname": "",
@@ -9162,7 +9172,7 @@
9162
9172
  },
9163
9173
  {
9164
9174
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9165
- "line": 192,
9175
+ "line": 194,
9166
9176
  "description": "`getViewBoundingClientRect` provides information about the position of the\nbounding border box edges of a view relative to the viewport.\n\nIt is only intended to be used by development tools like the Ember Inspector\nand may not work on older browsers.",
9167
9177
  "access": "private",
9168
9178
  "tagname": "",
@@ -9180,7 +9190,7 @@
9180
9190
  },
9181
9191
  {
9182
9192
  "file": "packages/@ember/-internals/views/lib/system/utils.ts",
9183
- "line": 208,
9193
+ "line": 210,
9184
9194
  "description": "Determines if the element matches the specified selector.",
9185
9195
  "access": "private",
9186
9196
  "tagname": "",
@@ -11648,7 +11658,7 @@
11648
11658
  },
11649
11659
  {
11650
11660
  "file": "packages/@ember/debug/lib/inspect.ts",
11651
- "line": 15,
11661
+ "line": 14,
11652
11662
  "description": "Convenience method to inspect an object. This method will attempt to\nconvert the object into a useful string description.\n\nIt is a pretty simple implementation. If you want something more robust,\nuse something like JSDump: https://github.com/NV/jsDump",
11653
11663
  "itemtype": "method",
11654
11664
  "name": "inspect",
@@ -13926,19 +13936,19 @@
13926
13936
  },
13927
13937
  {
13928
13938
  "file": "packages/@ember/object/core.ts",
13929
- "line": 237,
13939
+ "line": 236,
13930
13940
  "class": "CoreObject",
13931
13941
  "module": "@ember/object/core"
13932
13942
  },
13933
13943
  {
13934
13944
  "file": "packages/@ember/object/core.ts",
13935
- "line": 241,
13945
+ "line": 240,
13936
13946
  "class": "CoreObject",
13937
13947
  "module": "@ember/object/core"
13938
13948
  },
13939
13949
  {
13940
13950
  "file": "packages/@ember/object/core.ts",
13941
- "line": 322,
13951
+ "line": 321,
13942
13952
  "description": "An overridable method called when objects are instantiated. By default,\ndoes nothing unless it is overridden during class definition.\n\nExample:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n init() {\n alert(`Name is ${this.get('name')}`);\n }\n});\n\nlet steve = Person.create({\n name: 'Steve'\n});\n\n// alerts 'Name is Steve'.\n```\n\nNOTE: If you do override `init` for a framework class like `Component`\nfrom `@ember/component`, be sure to call `this._super(...arguments)`\nin your `init` declaration!\nIf you don't, Ember may not have an opportunity to\ndo important setup work, and you'll see strange behavior in your\napplication.",
13943
13953
  "itemtype": "method",
13944
13954
  "name": "init",
@@ -13949,7 +13959,7 @@
13949
13959
  },
13950
13960
  {
13951
13961
  "file": "packages/@ember/object/core.ts",
13952
- "line": 356,
13962
+ "line": 355,
13953
13963
  "description": "Defines the properties that will be concatenated from the superclass\n(instead of overridden).\n\nBy default, when you extend an Ember class a property defined in\nthe subclass overrides a property with the same name that is defined\nin the superclass. However, there are some cases where it is preferable\nto build up a property's value by combining the superclass' property\nvalue with the subclass' value. An example of this in use within Ember\nis the `classNames` property of `Component` from `@ember/component`.\n\nHere is some sample code showing the difference between a concatenated\nproperty and a normal one:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Bar = EmberObject.extend({\n // Configure which properties to concatenate\n concatenatedProperties: ['concatenatedProperty'],\n\n someNonConcatenatedProperty: ['bar'],\n concatenatedProperty: ['bar']\n});\n\nconst FooBar = Bar.extend({\n someNonConcatenatedProperty: ['foo'],\n concatenatedProperty: ['foo']\n});\n\nlet fooBar = FooBar.create();\nfooBar.get('someNonConcatenatedProperty'); // ['foo']\nfooBar.get('concatenatedProperty'); // ['bar', 'foo']\n```\n\nThis behavior extends to object creation as well. Continuing the\nabove example:\n\n```javascript\nlet fooBar = FooBar.create({\n someNonConcatenatedProperty: ['baz'],\n concatenatedProperty: ['baz']\n})\nfooBar.get('someNonConcatenatedProperty'); // ['baz']\nfooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n```\n\nAdding a single property that is not an array will just add it in the array:\n\n```javascript\nlet fooBar = FooBar.create({\n concatenatedProperty: 'baz'\n})\nview.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n```\n\nUsing the `concatenatedProperties` property, we can tell Ember to mix the\ncontent of the properties.\n\nIn `Component` the `classNames`, `classNameBindings` and\n`attributeBindings` properties are concatenated.\n\nThis feature is available for you to use throughout the Ember object model,\nalthough typical app developers are likely to use it infrequently. Since\nit changes expectations about behavior of properties, you should properly\ndocument its usage in each individual concatenated property (to not\nmislead your users to think they can override the property in a subclass).",
13954
13964
  "itemtype": "property",
13955
13965
  "name": "concatenatedProperties",
@@ -13962,7 +13972,7 @@
13962
13972
  },
13963
13973
  {
13964
13974
  "file": "packages/@ember/object/core.ts",
13965
- "line": 430,
13975
+ "line": 429,
13966
13976
  "description": "Defines the properties that will be merged from the superclass\n(instead of overridden).\n\nBy default, when you extend an Ember class a property defined in\nthe subclass overrides a property with the same name that is defined\nin the superclass. However, there are some cases where it is preferable\nto build up a property's value by merging the superclass property value\nwith the subclass property's value. An example of this in use within Ember\nis the `queryParams` property of routes.\n\nHere is some sample code showing the difference between a merged\nproperty and a normal one:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Bar = EmberObject.extend({\n // Configure which properties are to be merged\n mergedProperties: ['mergedProperty'],\n\n someNonMergedProperty: {\n nonMerged: 'superclass value of nonMerged'\n },\n mergedProperty: {\n page: { replace: false },\n limit: { replace: true }\n }\n});\n\nconst FooBar = Bar.extend({\n someNonMergedProperty: {\n completelyNonMerged: 'subclass value of nonMerged'\n },\n mergedProperty: {\n limit: { replace: false }\n }\n});\n\nlet fooBar = FooBar.create();\n\nfooBar.get('someNonMergedProperty');\n// => { completelyNonMerged: 'subclass value of nonMerged' }\n//\n// Note the entire object, including the nonMerged property of\n// the superclass object, has been replaced\n\nfooBar.get('mergedProperty');\n// => {\n// page: {replace: false},\n// limit: {replace: false}\n// }\n//\n// Note the page remains from the superclass, and the\n// `limit` property's value of `false` has been merged from\n// the subclass.\n```\n\nThis behavior is not available during object `create` calls. It is only\navailable at `extend` time.\n\nIn `Route` the `queryParams` property is merged.\n\nThis feature is available for you to use throughout the Ember object model,\nalthough typical app developers are likely to use it infrequently. Since\nit changes expectations about behavior of properties, you should properly\ndocument its usage in each individual merged property (to not\nmislead your users to think they can override the property in a subclass).",
13967
13977
  "itemtype": "property",
13968
13978
  "name": "mergedProperties",
@@ -13975,7 +13985,7 @@
13975
13985
  },
13976
13986
  {
13977
13987
  "file": "packages/@ember/object/core.ts",
13978
- "line": 505,
13988
+ "line": 504,
13979
13989
  "description": "Destroyed object property flag.\n\nif this property is `true` the observers and bindings were already\nremoved by the effect of calling the `destroy()` method.",
13980
13990
  "itemtype": "property",
13981
13991
  "name": "isDestroyed",
@@ -13987,7 +13997,7 @@
13987
13997
  },
13988
13998
  {
13989
13999
  "file": "packages/@ember/object/core.ts",
13990
- "line": 523,
14000
+ "line": 522,
13991
14001
  "description": "Destruction scheduled flag. The `destroy()` method has been called.\n\nThe object stays intact until the end of the run loop at which point\nthe `isDestroyed` flag is set.",
13992
14002
  "itemtype": "property",
13993
14003
  "name": "isDestroying",
@@ -13999,7 +14009,7 @@
13999
14009
  },
14000
14010
  {
14001
14011
  "file": "packages/@ember/object/core.ts",
14002
- "line": 541,
14012
+ "line": 540,
14003
14013
  "description": "Destroys an object by setting the `isDestroyed` flag and removing its\nmetadata, which effectively destroys observers and bindings.\n\nIf you try to set a property on a destroyed object, an exception will be\nraised.\n\nNote that destruction is scheduled for the end of the run loop and does not\nhappen immediately. It will set an isDestroying flag immediately.",
14004
14014
  "itemtype": "method",
14005
14015
  "name": "destroy",
@@ -14014,7 +14024,7 @@
14014
14024
  },
14015
14025
  {
14016
14026
  "file": "packages/@ember/object/core.ts",
14017
- "line": 568,
14027
+ "line": 567,
14018
14028
  "description": "Override to implement teardown.",
14019
14029
  "itemtype": "method",
14020
14030
  "name": "willDestroy",
@@ -14025,7 +14035,7 @@
14025
14035
  },
14026
14036
  {
14027
14037
  "file": "packages/@ember/object/core.ts",
14028
- "line": 576,
14038
+ "line": 575,
14029
14039
  "description": "Returns a string representation which attempts to provide more information\nthan Javascript's `toString` typically does, in a generic way for all Ember\nobjects.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend();\nperson = Person.create();\nperson.toString(); //=> \"<Person:ember1024>\"\n```\n\nIf the object's class is not defined on an Ember namespace, it will\nindicate it is a subclass of the registered superclass:\n\n```javascript\nconst Student = Person.extend();\nlet student = Student.create();\nstudent.toString(); //=> \"<(subclass of Person):ember1025>\"\n```\n\nIf the method `toStringExtension` is defined, its return value will be\nincluded in the output.\n\n```javascript\nconst Teacher = Person.extend({\n toStringExtension() {\n return this.get('fullName');\n }\n});\nteacher = Teacher.create();\nteacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n```",
14030
14040
  "itemtype": "method",
14031
14041
  "name": "toString",
@@ -14040,7 +14050,7 @@
14040
14050
  },
14041
14051
  {
14042
14052
  "file": "packages/@ember/object/core.ts",
14043
- "line": 621,
14053
+ "line": 620,
14044
14054
  "description": "Creates a new subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(thing);\n }\n});\n```\n\nThis defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n\nYou can also create a subclass from any existing class by calling its `extend()` method.\nFor example, you might want to create a subclass of Ember's built-in `Component` class:\n\n```javascript\nimport Component from '@ember/component';\n\nconst PersonComponent = Component.extend({\n tagName: 'li',\n classNameBindings: ['isAdministrator']\n});\n```\n\nWhen defining a subclass, you can override methods but still access the\nimplementation of your parent class by calling the special `_super()` method:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n let name = this.get('name');\n alert(`${name} says: ${thing}`);\n }\n});\n\nconst Soldier = Person.extend({\n say(thing) {\n this._super(`${thing}, sir!`);\n },\n march(numberOfHours) {\n alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n }\n});\n\nlet yehuda = Soldier.create({\n name: 'Yehuda Katz'\n});\n\nyehuda.say('Yes'); // alerts \"Yehuda Katz says: Yes, sir!\"\n```\n\nThe `create()` on line #17 creates an *instance* of the `Soldier` class.\nThe `extend()` on line #8 creates a *subclass* of `Person`. Any instance\nof the `Person` class will *not* have the `march()` method.\n\nYou can also pass `Mixin` classes to add additional properties to the subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport Mixin from '@ember/object/mixin';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(`${this.get('name')} says: ${thing}`);\n }\n});\n\nconst SingingMixin = Mixin.create({\n sing(thing) {\n alert(`${this.get('name')} sings: la la la ${thing}`);\n }\n});\n\nconst BroadwayStar = Person.extend(SingingMixin, {\n dance() {\n alert(`${this.get('name')} dances: tap tap tap tap `);\n }\n});\n```\n\nThe `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.",
14045
14055
  "itemtype": "method",
14046
14056
  "name": "extend",
@@ -14068,7 +14078,7 @@
14068
14078
  },
14069
14079
  {
14070
14080
  "file": "packages/@ember/object/core.ts",
14071
- "line": 725,
14081
+ "line": 724,
14072
14082
  "description": "Creates an instance of a class. Accepts either no arguments, or an object\ncontaining values to initialize the newly instantiated object with.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n helloWorld() {\n alert(`Hi, my name is ${this.get('name')}`);\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\n\ntom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n```\n\n`create` will call the `init` function if defined during\n`AnyObject.extend`\n\nIf no arguments are passed to `create`, it will not set values to the new\ninstance during initialization:\n\n```javascript\nlet noName = Person.create();\nnoName.helloWorld(); // alerts undefined\n```\n\nNOTE: For performance reasons, you cannot declare methods or computed\nproperties during `create`. You should instead declare methods and computed\nproperties when using `extend`.",
14073
14083
  "itemtype": "method",
14074
14084
  "name": "create",
@@ -14088,7 +14098,7 @@
14088
14098
  },
14089
14099
  {
14090
14100
  "file": "packages/@ember/object/core.ts",
14091
- "line": 810,
14101
+ "line": 809,
14092
14102
  "description": "Augments a constructor's prototype with additional\nproperties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\no = MyObject.create();\no.get('name'); // 'an object'\n\nMyObject.reopen({\n say(msg) {\n console.log(msg);\n }\n});\n\no2 = MyObject.create();\no2.say('hello'); // logs \"hello\"\n\no.say('goodbye'); // logs \"goodbye\"\n```\n\nTo add functions and properties to the constructor itself,\nsee `reopenClass`",
14093
14103
  "itemtype": "method",
14094
14104
  "name": "reopen",
@@ -14100,7 +14110,7 @@
14100
14110
  },
14101
14111
  {
14102
14112
  "file": "packages/@ember/object/core.ts",
14103
- "line": 864,
14113
+ "line": 863,
14104
14114
  "description": "Augments a constructor's own properties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\nMyObject.reopenClass({\n canBuild: false\n});\n\nMyObject.canBuild; // false\no = MyObject.create();\n```\n\nIn other words, this creates static properties and functions for the class.\nThese are only available on the class and not on any instance of that class.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n name: '',\n sayHello() {\n alert(`Hello. My name is ${this.get('name')}`);\n }\n});\n\nPerson.reopenClass({\n species: 'Homo sapiens',\n\n createPerson(name) {\n return Person.create({ name });\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\nlet yehuda = Person.createPerson('Yehuda Katz');\n\ntom.sayHello(); // \"Hello. My name is Tom Dale\"\nyehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\nalert(Person.species); // \"Homo sapiens\"\n```\n\nNote that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\nvariables. They are only valid on `Person`.\n\nTo add functions and properties to instances of\na constructor by extending the constructor's prototype\nsee `reopen`",
14105
14115
  "itemtype": "method",
14106
14116
  "name": "reopenClass",
@@ -14112,7 +14122,7 @@
14112
14122
  },
14113
14123
  {
14114
14124
  "file": "packages/@ember/object/core.ts",
14115
- "line": 950,
14125
+ "line": 949,
14116
14126
  "description": "In some cases, you may want to annotate computed properties with additional\nmetadata about how they function or what values they operate on. For\nexample, computed property functions may close over variables that are then\nno longer available for introspection.\n\nYou can pass a hash of these values to a computed property like this:\n\n```javascript\nimport { computed } from '@ember/object';\n\nperson: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n}).meta({ type: Person })\n```\n\nOnce you've done this, you can retrieve the values saved to the computed\nproperty from your class like this:\n\n```javascript\nMyClass.metaForProperty('person');\n```\n\nThis will return the original hash that was passed to `meta()`.",
14117
14127
  "static": 1,
14118
14128
  "itemtype": "method",
@@ -14131,7 +14141,7 @@
14131
14141
  },
14132
14142
  {
14133
14143
  "file": "packages/@ember/object/core.ts",
14134
- "line": 993,
14144
+ "line": 992,
14135
14145
  "description": "Iterate over each computed property for the class, passing its name\nand any associated metadata (see `metaForProperty`) to the callback.",
14136
14146
  "static": 1,
14137
14147
  "itemtype": "method",
@@ -14155,7 +14165,7 @@
14155
14165
  },
14156
14166
  {
14157
14167
  "file": "packages/@ember/object/core.ts",
14158
- "line": 1085,
14168
+ "line": 1084,
14159
14169
  "description": "Provides lookup-time type validation for injected properties.",
14160
14170
  "access": "private",
14161
14171
  "tagname": "",
@@ -14166,7 +14176,7 @@
14166
14176
  },
14167
14177
  {
14168
14178
  "file": "packages/@ember/object/core.ts",
14169
- "line": 1106,
14179
+ "line": 1105,
14170
14180
  "description": "Returns a hash of property names and container names that injected\nproperties will lookup on the container lazily.",
14171
14181
  "itemtype": "method",
14172
14182
  "name": "_lazyInjections",
@@ -14372,7 +14382,7 @@
14372
14382
  },
14373
14383
  {
14374
14384
  "file": "packages/@ember/object/mixin.ts",
14375
- "line": 441,
14385
+ "line": 440,
14376
14386
  "itemtype": "method",
14377
14387
  "name": "mixin",
14378
14388
  "params": [
@@ -14396,43 +14406,43 @@
14396
14406
  },
14397
14407
  {
14398
14408
  "file": "packages/@ember/object/mixin.ts",
14399
- "line": 538,
14409
+ "line": 537,
14400
14410
  "class": "Mixin",
14401
14411
  "module": "@ember/object/mixin"
14402
14412
  },
14403
14413
  {
14404
14414
  "file": "packages/@ember/object/mixin.ts",
14405
- "line": 541,
14415
+ "line": 540,
14406
14416
  "class": "Mixin",
14407
14417
  "module": "@ember/object/mixin"
14408
14418
  },
14409
14419
  {
14410
14420
  "file": "packages/@ember/object/mixin.ts",
14411
- "line": 544,
14421
+ "line": 543,
14412
14422
  "class": "Mixin",
14413
14423
  "module": "@ember/object/mixin"
14414
14424
  },
14415
14425
  {
14416
14426
  "file": "packages/@ember/object/mixin.ts",
14417
- "line": 547,
14427
+ "line": 546,
14418
14428
  "class": "Mixin",
14419
14429
  "module": "@ember/object/mixin"
14420
14430
  },
14421
14431
  {
14422
14432
  "file": "packages/@ember/object/mixin.ts",
14423
- "line": 550,
14433
+ "line": 549,
14424
14434
  "class": "Mixin",
14425
14435
  "module": "@ember/object/mixin"
14426
14436
  },
14427
14437
  {
14428
14438
  "file": "packages/@ember/object/mixin.ts",
14429
- "line": 555,
14439
+ "line": 554,
14430
14440
  "class": "Mixin",
14431
14441
  "module": "@ember/object/mixin"
14432
14442
  },
14433
14443
  {
14434
14444
  "file": "packages/@ember/object/mixin.ts",
14435
- "line": 581,
14445
+ "line": 580,
14436
14446
  "itemtype": "method",
14437
14447
  "name": "create",
14438
14448
  "static": 1,
@@ -14450,13 +14460,13 @@
14450
14460
  },
14451
14461
  {
14452
14462
  "file": "packages/@ember/object/mixin.ts",
14453
- "line": 596,
14463
+ "line": 595,
14454
14464
  "class": "@ember/object/mixin",
14455
14465
  "module": "@ember/object/mixin"
14456
14466
  },
14457
14467
  {
14458
14468
  "file": "packages/@ember/object/mixin.ts",
14459
- "line": 614,
14469
+ "line": 613,
14460
14470
  "itemtype": "method",
14461
14471
  "name": "reopen",
14462
14472
  "params": [
@@ -14474,7 +14484,7 @@
14474
14484
  },
14475
14485
  {
14476
14486
  "file": "packages/@ember/object/mixin.ts",
14477
- "line": 637,
14487
+ "line": 636,
14478
14488
  "itemtype": "method",
14479
14489
  "name": "apply",
14480
14490
  "params": [
@@ -14494,13 +14504,13 @@
14494
14504
  },
14495
14505
  {
14496
14506
  "file": "packages/@ember/object/mixin.ts",
14497
- "line": 653,
14507
+ "line": 652,
14498
14508
  "class": "@ember/object/mixin",
14499
14509
  "module": "@ember/object/mixin"
14500
14510
  },
14501
14511
  {
14502
14512
  "file": "packages/@ember/object/mixin.ts",
14503
- "line": 658,
14513
+ "line": 657,
14504
14514
  "itemtype": "method",
14505
14515
  "name": "detect",
14506
14516
  "params": [
@@ -14521,19 +14531,19 @@
14521
14531
  },
14522
14532
  {
14523
14533
  "file": "packages/@ember/object/mixin.ts",
14524
- "line": 679,
14534
+ "line": 678,
14525
14535
  "class": "@ember/object/mixin",
14526
14536
  "module": "@ember/object/mixin"
14527
14537
  },
14528
14538
  {
14529
14539
  "file": "packages/@ember/object/mixin.ts",
14530
- "line": 686,
14540
+ "line": 685,
14531
14541
  "class": "@ember/object/mixin",
14532
14542
  "module": "@ember/object/mixin"
14533
14543
  },
14534
14544
  {
14535
14545
  "file": "packages/@ember/object/mixin.ts",
14536
- "line": 693,
14546
+ "line": 692,
14537
14547
  "class": "@ember/object/mixin",
14538
14548
  "module": "@ember/object/mixin"
14539
14549
  },
@@ -15732,7 +15742,7 @@
15732
15742
  },
15733
15743
  {
15734
15744
  "file": "packages/@ember/routing/route.ts",
15735
- "line": 91,
15745
+ "line": 92,
15736
15746
  "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.",
15737
15747
  "itemtype": "event",
15738
15748
  "name": "willTransition",
@@ -15751,7 +15761,7 @@
15751
15761
  },
15752
15762
  {
15753
15763
  "file": "packages/@ember/routing/route.ts",
15754
- "line": 136,
15764
+ "line": 137,
15755
15765
  "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```",
15756
15766
  "itemtype": "event",
15757
15767
  "name": "didTransition",
@@ -15763,7 +15773,7 @@
15763
15773
  },
15764
15774
  {
15765
15775
  "file": "packages/@ember/routing/route.ts",
15766
- "line": 163,
15776
+ "line": 164,
15767
15777
  "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```",
15768
15778
  "itemtype": "event",
15769
15779
  "name": "loading",
@@ -15787,7 +15797,7 @@
15787
15797
  },
15788
15798
  {
15789
15799
  "file": "packages/@ember/routing/route.ts",
15790
- "line": 198,
15800
+ "line": 199,
15791
15801
  "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```",
15792
15802
  "itemtype": "event",
15793
15803
  "name": "error",
@@ -15811,31 +15821,31 @@
15811
15821
  },
15812
15822
  {
15813
15823
  "file": "packages/@ember/routing/route.ts",
15814
- "line": 271,
15824
+ "line": 272,
15815
15825
  "class": "Route",
15816
15826
  "module": "@ember/routing/route"
15817
15827
  },
15818
15828
  {
15819
15829
  "file": "packages/@ember/routing/route.ts",
15820
- "line": 273,
15830
+ "line": 274,
15821
15831
  "class": "Route",
15822
15832
  "module": "@ember/routing/route"
15823
15833
  },
15824
15834
  {
15825
15835
  "file": "packages/@ember/routing/route.ts",
15826
- "line": 276,
15836
+ "line": 277,
15827
15837
  "class": "Route",
15828
15838
  "module": "@ember/routing/route"
15829
15839
  },
15830
15840
  {
15831
15841
  "file": "packages/@ember/routing/route.ts",
15832
- "line": 278,
15842
+ "line": 279,
15833
15843
  "class": "Route",
15834
15844
  "module": "@ember/routing/route"
15835
15845
  },
15836
15846
  {
15837
15847
  "file": "packages/@ember/routing/route.ts",
15838
- "line": 306,
15848
+ "line": 307,
15839
15849
  "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.",
15840
15850
  "itemtype": "method",
15841
15851
  "name": "serialize",
@@ -15863,7 +15873,7 @@
15863
15873
  },
15864
15874
  {
15865
15875
  "file": "packages/@ember/routing/route.ts",
15866
- "line": 374,
15876
+ "line": 375,
15867
15877
  "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```",
15868
15878
  "itemtype": "property",
15869
15879
  "name": "queryParams",
@@ -15876,7 +15886,7 @@
15876
15886
  },
15877
15887
  {
15878
15888
  "file": "packages/@ember/routing/route.ts",
15879
- "line": 427,
15889
+ "line": 428,
15880
15890
  "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```",
15881
15891
  "itemtype": "property",
15882
15892
  "name": "templateName",
@@ -15890,7 +15900,7 @@
15890
15900
  },
15891
15901
  {
15892
15902
  "file": "packages/@ember/routing/route.ts",
15893
- "line": 460,
15903
+ "line": 461,
15894
15904
  "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.",
15895
15905
  "itemtype": "property",
15896
15906
  "name": "controllerName",
@@ -15904,7 +15914,7 @@
15904
15914
  },
15905
15915
  {
15906
15916
  "file": "packages/@ember/routing/route.ts",
15907
- "line": 483,
15917
+ "line": 484,
15908
15918
  "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```",
15909
15919
  "itemtype": "property",
15910
15920
  "name": "controller",
@@ -15917,7 +15927,7 @@
15917
15927
  },
15918
15928
  {
15919
15929
  "file": "packages/@ember/routing/route.ts",
15920
- "line": 514,
15930
+ "line": 515,
15921
15931
  "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`.",
15922
15932
  "itemtype": "property",
15923
15933
  "name": "routeName",
@@ -15930,7 +15940,7 @@
15930
15940
  },
15931
15941
  {
15932
15942
  "file": "packages/@ember/routing/route.ts",
15933
- "line": 528,
15943
+ "line": 529,
15934
15944
  "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`.",
15935
15945
  "itemtype": "property",
15936
15946
  "name": "fullRouteName",
@@ -15943,7 +15953,7 @@
15943
15953
  },
15944
15954
  {
15945
15955
  "file": "packages/@ember/routing/route.ts",
15946
- "line": 543,
15956
+ "line": 544,
15947
15957
  "description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
15948
15958
  "access": "private",
15949
15959
  "tagname": "",
@@ -15961,7 +15971,7 @@
15961
15971
  },
15962
15972
  {
15963
15973
  "file": "packages/@ember/routing/route.ts",
15964
- "line": 558,
15974
+ "line": 559,
15965
15975
  "access": "private",
15966
15976
  "tagname": "",
15967
15977
  "itemtype": "method",
@@ -15971,7 +15981,7 @@
15971
15981
  },
15972
15982
  {
15973
15983
  "file": "packages/@ember/routing/route.ts",
15974
- "line": 592,
15984
+ "line": 593,
15975
15985
  "access": "private",
15976
15986
  "tagname": "",
15977
15987
  "itemtype": "property",
@@ -15981,7 +15991,7 @@
15981
15991
  },
15982
15992
  {
15983
15993
  "file": "packages/@ember/routing/route.ts",
15984
- "line": 601,
15994
+ "line": 602,
15985
15995
  "access": "private",
15986
15996
  "tagname": "",
15987
15997
  "itemtype": "method",
@@ -15991,7 +16001,7 @@
15991
16001
  },
15992
16002
  {
15993
16003
  "file": "packages/@ember/routing/route.ts",
15994
- "line": 609,
16004
+ "line": 610,
15995
16005
  "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`",
15996
16006
  "itemtype": "method",
15997
16007
  "name": "paramsFor",
@@ -16014,7 +16024,7 @@
16014
16024
  },
16015
16025
  {
16016
16026
  "file": "packages/@ember/routing/route.ts",
16017
- "line": 690,
16027
+ "line": 691,
16018
16028
  "description": "Serializes the query parameter key",
16019
16029
  "itemtype": "method",
16020
16030
  "name": "serializeQueryParamKey",
@@ -16032,7 +16042,7 @@
16032
16042
  },
16033
16043
  {
16034
16044
  "file": "packages/@ember/routing/route.ts",
16035
- "line": 701,
16045
+ "line": 702,
16036
16046
  "description": "Serializes value of the query parameter based on defaultValueType",
16037
16047
  "itemtype": "method",
16038
16048
  "name": "serializeQueryParam",
@@ -16060,7 +16070,7 @@
16060
16070
  },
16061
16071
  {
16062
16072
  "file": "packages/@ember/routing/route.ts",
16063
- "line": 717,
16073
+ "line": 718,
16064
16074
  "description": "Deserializes value of the query parameter based on defaultValueType",
16065
16075
  "itemtype": "method",
16066
16076
  "name": "deserializeQueryParam",
@@ -16088,7 +16098,7 @@
16088
16098
  },
16089
16099
  {
16090
16100
  "file": "packages/@ember/routing/route.ts",
16091
- "line": 733,
16101
+ "line": 734,
16092
16102
  "access": "private",
16093
16103
  "tagname": "",
16094
16104
  "itemtype": "property",
@@ -16098,7 +16108,7 @@
16098
16108
  },
16099
16109
  {
16100
16110
  "file": "packages/@ember/routing/route.ts",
16101
- "line": 749,
16111
+ "line": 750,
16102
16112
  "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```",
16103
16113
  "itemtype": "method",
16104
16114
  "name": "resetController",
@@ -16127,7 +16137,7 @@
16127
16137
  },
16128
16138
  {
16129
16139
  "file": "packages/@ember/routing/route.ts",
16130
- "line": 779,
16140
+ "line": 780,
16131
16141
  "access": "private",
16132
16142
  "tagname": "",
16133
16143
  "itemtype": "method",
@@ -16137,7 +16147,7 @@
16137
16147
  },
16138
16148
  {
16139
16149
  "file": "packages/@ember/routing/route.ts",
16140
- "line": 790,
16150
+ "line": 791,
16141
16151
  "access": "private",
16142
16152
  "tagname": "",
16143
16153
  "itemtype": "method",
@@ -16148,7 +16158,7 @@
16148
16158
  },
16149
16159
  {
16150
16160
  "file": "packages/@ember/routing/route.ts",
16151
- "line": 804,
16161
+ "line": 805,
16152
16162
  "access": "private",
16153
16163
  "tagname": "",
16154
16164
  "itemtype": "method",
@@ -16158,7 +16168,7 @@
16158
16168
  },
16159
16169
  {
16160
16170
  "file": "packages/@ember/routing/route.ts",
16161
- "line": 815,
16171
+ "line": 816,
16162
16172
  "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```",
16163
16173
  "itemtype": "event",
16164
16174
  "name": "activate",
@@ -16170,7 +16180,7 @@
16170
16180
  },
16171
16181
  {
16172
16182
  "file": "packages/@ember/routing/route.ts",
16173
- "line": 835,
16183
+ "line": 836,
16174
16184
  "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```",
16175
16185
  "itemtype": "event",
16176
16186
  "name": "deactivate",
@@ -16182,7 +16192,7 @@
16182
16192
  },
16183
16193
  {
16184
16194
  "file": "packages/@ember/routing/route.ts",
16185
- "line": 855,
16195
+ "line": 856,
16186
16196
  "description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
16187
16197
  "itemtype": "method",
16188
16198
  "name": "deactivate",
@@ -16201,7 +16211,7 @@
16201
16211
  },
16202
16212
  {
16203
16213
  "file": "packages/@ember/routing/route.ts",
16204
- "line": 866,
16214
+ "line": 867,
16205
16215
  "description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
16206
16216
  "itemtype": "method",
16207
16217
  "name": "activate",
@@ -16220,7 +16230,7 @@
16220
16230
  },
16221
16231
  {
16222
16232
  "file": "packages/@ember/routing/route.ts",
16223
- "line": 877,
16233
+ "line": 878,
16224
16234
  "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.",
16225
16235
  "itemtype": "method",
16226
16236
  "name": "intermediateTransitionTo",
@@ -16244,7 +16254,7 @@
16244
16254
  },
16245
16255
  {
16246
16256
  "file": "packages/@ember/routing/route.ts",
16247
- "line": 899,
16257
+ "line": 900,
16248
16258
  "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.",
16249
16259
  "itemtype": "method",
16250
16260
  "name": "refresh",
@@ -16260,7 +16270,7 @@
16260
16270
  },
16261
16271
  {
16262
16272
  "file": "packages/@ember/routing/route.ts",
16263
- "line": 925,
16273
+ "line": 926,
16264
16274
  "description": "This hook is the entry point for router.js",
16265
16275
  "access": "private",
16266
16276
  "tagname": "",
@@ -16271,7 +16281,7 @@
16271
16281
  },
16272
16282
  {
16273
16283
  "file": "packages/@ember/routing/route.ts",
16274
- "line": 1000,
16284
+ "line": 1001,
16275
16285
  "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.",
16276
16286
  "itemtype": "method",
16277
16287
  "name": "beforeModel",
@@ -16294,7 +16304,7 @@
16294
16304
  },
16295
16305
  {
16296
16306
  "file": "packages/@ember/routing/route.ts",
16297
- "line": 1035,
16307
+ "line": 1036,
16298
16308
  "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.",
16299
16309
  "itemtype": "method",
16300
16310
  "name": "afterModel",
@@ -16322,7 +16332,7 @@
16322
16332
  },
16323
16333
  {
16324
16334
  "file": "packages/@ember/routing/route.ts",
16325
- "line": 1079,
16335
+ "line": 1080,
16326
16336
  "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.",
16327
16337
  "itemtype": "method",
16328
16338
  "name": "redirect",
@@ -16346,7 +16356,7 @@
16346
16356
  },
16347
16357
  {
16348
16358
  "file": "packages/@ember/routing/route.ts",
16349
- "line": 1104,
16359
+ "line": 1105,
16350
16360
  "description": "Called when the context is changed by router.js.",
16351
16361
  "access": "private",
16352
16362
  "tagname": "",
@@ -16357,7 +16367,7 @@
16357
16367
  },
16358
16368
  {
16359
16369
  "file": "packages/@ember/routing/route.ts",
16360
- "line": 1114,
16370
+ "line": 1115,
16361
16371
  "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```",
16362
16372
  "itemtype": "method",
16363
16373
  "name": "model",
@@ -16385,7 +16395,7 @@
16385
16395
  },
16386
16396
  {
16387
16397
  "file": "packages/@ember/routing/route.ts",
16388
- "line": 1232,
16398
+ "line": 1233,
16389
16399
  "access": "private",
16390
16400
  "tagname": "",
16391
16401
  "itemtype": "method",
@@ -16411,7 +16421,7 @@
16411
16421
  },
16412
16422
  {
16413
16423
  "file": "packages/@ember/routing/route.ts",
16414
- "line": 1245,
16424
+ "line": 1246,
16415
16425
  "itemtype": "method",
16416
16426
  "name": "findModel",
16417
16427
  "params": [
@@ -16433,7 +16443,7 @@
16433
16443
  },
16434
16444
  {
16435
16445
  "file": "packages/@ember/routing/route.ts",
16436
- "line": 1273,
16446
+ "line": 1274,
16437
16447
  "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.",
16438
16448
  "example": [
16439
16449
  " 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```"
@@ -16466,7 +16476,7 @@
16466
16476
  },
16467
16477
  {
16468
16478
  "file": "packages/@ember/routing/route.ts",
16469
- "line": 1352,
16479
+ "line": 1353,
16470
16480
  "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```",
16471
16481
  "itemtype": "method",
16472
16482
  "name": "controllerFor",
@@ -16489,7 +16499,7 @@
16489
16499
  },
16490
16500
  {
16491
16501
  "file": "packages/@ember/routing/route.ts",
16492
- "line": 1406,
16502
+ "line": 1407,
16493
16503
  "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```",
16494
16504
  "itemtype": "method",
16495
16505
  "name": "generateController",
@@ -16507,7 +16517,7 @@
16507
16517
  },
16508
16518
  {
16509
16519
  "file": "packages/@ember/routing/route.ts",
16510
- "line": 1434,
16520
+ "line": 1435,
16511
16521
  "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```",
16512
16522
  "itemtype": "method",
16513
16523
  "name": "modelFor",
@@ -16530,49 +16540,10 @@
16530
16540
  },
16531
16541
  {
16532
16542
  "file": "packages/@ember/routing/route.ts",
16533
- "line": 1506,
16534
- "description": "`this[RENDER]` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`).",
16543
+ "line": 1509,
16544
+ "description": "`this[RENDER]` is used to set up the rendering option for the outlet state.",
16535
16545
  "itemtype": "method",
16536
16546
  "name": "this[RENDER]",
16537
- "params": [
16538
- {
16539
- "name": "name",
16540
- "description": "the name of the template to render",
16541
- "type": "String"
16542
- },
16543
- {
16544
- "name": "options",
16545
- "description": "the options",
16546
- "type": "Object",
16547
- "optional": true,
16548
- "props": [
16549
- {
16550
- "name": "into",
16551
- "description": "the template to render into,\n referenced by name. Defaults to the parent template",
16552
- "type": "String",
16553
- "optional": true
16554
- },
16555
- {
16556
- "name": "outlet",
16557
- "description": "the outlet inside `options.into` to render into.\n Defaults to 'main'",
16558
- "type": "String",
16559
- "optional": true
16560
- },
16561
- {
16562
- "name": "controller",
16563
- "description": "the controller to use for this template,\n referenced by name or as a controller instance. Defaults to the Route's paired controller",
16564
- "type": "String|Object",
16565
- "optional": true
16566
- },
16567
- {
16568
- "name": "model",
16569
- "description": "the model object to set on `options.controller`.\n Defaults to the return value of the Route's model hook",
16570
- "type": "Object",
16571
- "optional": true
16572
- }
16573
- ]
16574
- }
16575
- ],
16576
16547
  "access": "private",
16577
16548
  "tagname": "",
16578
16549
  "class": "Route",
@@ -16580,7 +16551,7 @@
16580
16551
  },
16581
16552
  {
16582
16553
  "file": "packages/@ember/routing/route.ts",
16583
- "line": 1533,
16554
+ "line": 1523,
16584
16555
  "access": "private",
16585
16556
  "tagname": "",
16586
16557
  "itemtype": "method",
@@ -16590,7 +16561,7 @@
16590
16561
  },
16591
16562
  {
16592
16563
  "file": "packages/@ember/routing/route.ts",
16593
- "line": 1546,
16564
+ "line": 1535,
16594
16565
  "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```",
16595
16566
  "itemtype": "method",
16596
16567
  "name": "buildRouteInfoMetadata",
@@ -16605,13 +16576,13 @@
16605
16576
  },
16606
16577
  {
16607
16578
  "file": "packages/@ember/routing/route.ts",
16608
- "line": 1597,
16579
+ "line": 1586,
16609
16580
  "class": "Route",
16610
16581
  "module": "@ember/routing/route"
16611
16582
  },
16612
16583
  {
16613
16584
  "file": "packages/@ember/routing/route.ts",
16614
- "line": 1646,
16585
+ "line": 1635,
16615
16586
  "access": "private",
16616
16587
  "tagname": "",
16617
16588
  "itemtype": "property",
@@ -16621,7 +16592,7 @@
16621
16592
  },
16622
16593
  {
16623
16594
  "file": "packages/@ember/routing/route.ts",
16624
- "line": 1785,
16595
+ "line": 1774,
16625
16596
  "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```",
16626
16597
  "itemtype": "method",
16627
16598
  "name": "send",
@@ -16645,7 +16616,7 @@
16645
16616
  },
16646
16617
  {
16647
16618
  "file": "packages/@ember/routing/route.ts",
16648
- "line": 2168,
16619
+ "line": 2054,
16649
16620
  "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```",
16650
16621
  "itemtype": "property",
16651
16622
  "name": "controller",
@@ -16658,7 +16629,7 @@
16658
16629
  },
16659
16630
  {
16660
16631
  "file": "packages/@ember/routing/route.ts",
16661
- "line": 2199,
16632
+ "line": 2085,
16662
16633
  "description": "This action is called when one or more query params have changed. Bubbles.",
16663
16634
  "itemtype": "method",
16664
16635
  "name": "queryParamsDidChange",
@@ -17035,7 +17006,7 @@
17035
17006
  },
17036
17007
  {
17037
17008
  "file": "packages/@ember/routing/router.ts",
17038
- "line": 155,
17009
+ "line": 136,
17039
17010
  "description": "Represents the URL of the root of the application, often '/'. This prefix is\n assumed on all routes defined on this router.",
17040
17011
  "itemtype": "property",
17041
17012
  "name": "rootURL",
@@ -17047,7 +17018,7 @@
17047
17018
  },
17048
17019
  {
17049
17020
  "file": "packages/@ember/routing/router.ts",
17050
- "line": 166,
17021
+ "line": 147,
17051
17022
  "description": "The `location` property determines the type of URL's that your\n application will use.\n\n The following location types are currently available:\n\n * `history` - use the browser's history API to make the URLs look just like any standard URL\n * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n\n This value is defaulted to `history` by the `locationType` setting of `/config/environment.js`",
17052
17023
  "itemtype": "property",
17053
17024
  "name": "location",
@@ -17062,7 +17033,7 @@
17062
17033
  },
17063
17034
  {
17064
17035
  "file": "packages/@ember/routing/router.ts",
17065
- "line": 224,
17036
+ "line": 205,
17066
17037
  "description": "The `Router.map` function allows you to define mappings from URLs to routes\nin your application. These mappings are defined within the\nsupplied callback function using `this.route`.\n\nThe first parameter is the name of the route which is used by default as the\npath name as well.\n\nThe second parameter is the optional options hash. Available options are:\n\n * `path`: allows you to provide your own path as well as mark dynamic\n segments.\n * `resetNamespace`: false by default; when nesting routes, ember will\n combine the route names to form the fully-qualified route name, which is\n used with `{{link-to}}` or manually transitioning to routes. Setting\n `resetNamespace: true` will cause the route not to inherit from its\n parent route's names. This is handy for preventing extremely long route names.\n Keep in mind that the actual URL path behavior is still retained.\n\nThe third parameter is a function, which can be used to nest routes.\nNested routes, by default, will have the parent route tree's route name and\npath prepended to it's own.\n\n```app/router.js\nRouter.map(function(){\n this.route('post', { path: '/post/:post_id' }, function() {\n this.route('edit');\n this.route('comments', { resetNamespace: true }, function() {\n this.route('new');\n });\n });\n});\n```",
17067
17038
  "itemtype": "method",
17068
17039
  "name": "map",
@@ -17079,7 +17050,7 @@
17079
17050
  },
17080
17051
  {
17081
17052
  "file": "packages/@ember/routing/router.ts",
17082
- "line": 559,
17053
+ "line": 540,
17083
17054
  "description": "Initializes the current router instance and sets up the change handling\nevent listeners used by the instances `location` implementation.\n\nA property named `initialURL` will be used to determine the initial URL.\nIf no value is found `/` will be used.",
17084
17055
  "itemtype": "method",
17085
17056
  "name": "startRouting",
@@ -17090,7 +17061,7 @@
17090
17061
  },
17091
17062
  {
17092
17063
  "file": "packages/@ember/routing/router.ts",
17093
- "line": 705,
17064
+ "line": 696,
17094
17065
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:",
17095
17066
  "itemtype": "method",
17096
17067
  "name": "transitionTo",
@@ -17124,7 +17095,7 @@
17124
17095
  },
17125
17096
  {
17126
17097
  "file": "packages/@ember/routing/router.ts",
17127
- "line": 750,
17098
+ "line": 741,
17128
17099
  "description": "Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\nit replaces the entry for the current route.\nWhen the user clicks the \"back\" button in the browser, there will be fewer steps.\nThis is most commonly used to manage redirects in a way that does not cause confusing additions\nto the user's browsing history.",
17129
17100
  "itemtype": "method",
17130
17101
  "name": "replaceWith",
@@ -17158,7 +17129,7 @@
17158
17129
  },
17159
17130
  {
17160
17131
  "file": "packages/@ember/routing/router.ts",
17161
- "line": 777,
17132
+ "line": 768,
17162
17133
  "description": "Determines if the supplied route is currently active.",
17163
17134
  "itemtype": "method",
17164
17135
  "name": "isActive",
@@ -17179,7 +17150,7 @@
17179
17150
  },
17180
17151
  {
17181
17152
  "file": "packages/@ember/routing/router.ts",
17182
- "line": 789,
17153
+ "line": 780,
17183
17154
  "description": "An alternative form of `isActive` that doesn't require\nmanual concatenation of the arguments into a single\narray.",
17184
17155
  "itemtype": "method",
17185
17156
  "name": "isActiveIntent",
@@ -17209,7 +17180,7 @@
17209
17180
  },
17210
17181
  {
17211
17182
  "file": "packages/@ember/routing/router.ts",
17212
- "line": 815,
17183
+ "line": 806,
17213
17184
  "description": "Does this router instance have the given route.",
17214
17185
  "itemtype": "method",
17215
17186
  "name": "hasRoute",
@@ -17224,7 +17195,7 @@
17224
17195
  },
17225
17196
  {
17226
17197
  "file": "packages/@ember/routing/router.ts",
17227
- "line": 826,
17198
+ "line": 817,
17228
17199
  "description": "Resets the state of the router by clearing the current route\nhandlers and deactivating them.",
17229
17200
  "access": "private",
17230
17201
  "tagname": "",
@@ -17235,7 +17206,7 @@
17235
17206
  },
17236
17207
  {
17237
17208
  "file": "packages/@ember/routing/router.ts",
17238
- "line": 925,
17209
+ "line": 916,
17239
17210
  "description": "Serializes the given query params according to their QP meta information.",
17240
17211
  "access": "private",
17241
17212
  "tagname": "",
@@ -17262,7 +17233,7 @@
17262
17233
  },
17263
17234
  {
17264
17235
  "file": "packages/@ember/routing/router.ts",
17265
- "line": 955,
17236
+ "line": 946,
17266
17237
  "description": "Serializes the value of a query parameter based on a type",
17267
17238
  "access": "private",
17268
17239
  "tagname": "",
@@ -17285,7 +17256,7 @@
17285
17256
  },
17286
17257
  {
17287
17258
  "file": "packages/@ember/routing/router.ts",
17288
- "line": 973,
17259
+ "line": 964,
17289
17260
  "description": "Deserializes the given query params according to their QP meta information.",
17290
17261
  "access": "private",
17291
17262
  "tagname": "",
@@ -17312,7 +17283,7 @@
17312
17283
  },
17313
17284
  {
17314
17285
  "file": "packages/@ember/routing/router.ts",
17315
- "line": 1001,
17286
+ "line": 992,
17316
17287
  "description": "Deserializes the value of a query parameter based on a default type",
17317
17288
  "access": "private",
17318
17289
  "tagname": "",
@@ -17335,7 +17306,7 @@
17335
17306
  },
17336
17307
  {
17337
17308
  "file": "packages/@ember/routing/router.ts",
17338
- "line": 1022,
17309
+ "line": 1013,
17339
17310
  "description": "Removes (prunes) any query params with default values from the given QP\nobject. Default values are determined from the QP meta information per key.",
17340
17311
  "access": "private",
17341
17312
  "tagname": "",
@@ -17362,7 +17333,7 @@
17362
17333
  },
17363
17334
  {
17364
17335
  "file": "packages/@ember/routing/router.ts",
17365
- "line": 1103,
17336
+ "line": 1094,
17366
17337
  "description": "Prepares the query params for a URL or Transition. Restores any undefined QP\nkeys/values, serializes all values, and then prunes any default values.",
17367
17338
  "access": "private",
17368
17339
  "tagname": "",
@@ -17399,7 +17370,7 @@
17399
17370
  },
17400
17371
  {
17401
17372
  "file": "packages/@ember/routing/router.ts",
17402
- "line": 1130,
17373
+ "line": 1121,
17403
17374
  "description": "Returns the meta information for the query params of a given route. This\nwill be overridden to allow support for lazy routes.",
17404
17375
  "access": "private",
17405
17376
  "tagname": "",
@@ -17421,7 +17392,7 @@
17421
17392
  },
17422
17393
  {
17423
17394
  "file": "packages/@ember/routing/router.ts",
17424
- "line": 1144,
17395
+ "line": 1135,
17425
17396
  "description": "Returns a merged query params meta object for a given set of routeInfos.\nUseful for knowing what query params are available for a given route hierarchy.",
17426
17397
  "access": "private",
17427
17398
  "tagname": "",
@@ -17443,7 +17414,7 @@
17443
17414
  },
17444
17415
  {
17445
17416
  "file": "packages/@ember/routing/router.ts",
17446
- "line": 1206,
17417
+ "line": 1197,
17447
17418
  "description": "Maps all query param keys to their fully scoped property name of the form\n`controllerName:propName`.",
17448
17419
  "access": "private",
17449
17420
  "tagname": "",
@@ -17475,7 +17446,7 @@
17475
17446
  },
17476
17447
  {
17477
17448
  "file": "packages/@ember/routing/router.ts",
17478
- "line": 1248,
17449
+ "line": 1239,
17479
17450
  "description": "Hydrates (adds/restores) any query params that have pre-existing values into\nthe given queryParams hash. This is what allows query params to be \"sticky\"\nand restore their last known values for their scope.",
17480
17451
  "access": "private",
17481
17452
  "tagname": "",
@@ -17502,7 +17473,7 @@
17502
17473
  },
17503
17474
  {
17504
17475
  "file": "packages/@ember/routing/router.ts",
17505
- "line": 1419,
17476
+ "line": 1410,
17506
17477
  "description": "Handles updating the paths and notifying any listeners of the URL\nchange.\n\nTriggers the router level `didTransition` hook.\n\nFor example, to notify google analytics when the route changes,\nyou could use this hook. (Note: requires also including GA scripts, etc.)\n\n```javascript\nimport config from './config/environment';\nimport EmberRouter from '@ember/routing/router';\nimport { service } from '@ember/service';\n\nlet Router = EmberRouter.extend({\n location: config.locationType,\n\n router: service(),\n\n didTransition: function() {\n this._super(...arguments);\n\n ga('send', 'pageview', {\n page: this.router.currentURL,\n title: this.router.currentRouteName,\n });\n }\n});\n```",
17507
17478
  "itemtype": "method",
17508
17479
  "name": "didTransition",
@@ -17514,7 +17485,7 @@
17514
17485
  },
17515
17486
  {
17516
17487
  "file": "packages/@ember/routing/router.ts",
17517
- "line": 1456,
17488
+ "line": 1447,
17518
17489
  "description": "Handles notifying any listeners of an impending URL\nchange.\n\nTriggers the router level `willTransition` hook.",
17519
17490
  "itemtype": "method",
17520
17491
  "name": "willTransition",
@@ -17526,7 +17497,7 @@
17526
17497
  },
17527
17498
  {
17528
17499
  "file": "packages/@ember/routing/router.ts",
17529
- "line": 1469,
17500
+ "line": 1460,
17530
17501
  "description": "Represents the current URL.",
17531
17502
  "itemtype": "property",
17532
17503
  "name": "url",
@@ -17538,7 +17509,7 @@
17538
17509
  },
17539
17510
  {
17540
17511
  "file": "packages/@ember/routing/router.ts",
17541
- "line": 1632,
17512
+ "line": 1623,
17542
17513
  "description": "Finds 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`.",
17543
17514
  "access": "private",
17544
17515
  "tagname": "",
@@ -17563,7 +17534,7 @@
17563
17534
  },
17564
17535
  {
17565
17536
  "file": "packages/@ember/routing/router.ts",
17566
- "line": 1653,
17537
+ "line": 1644,
17567
17538
  "description": "Finds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
17568
17539
  "access": "private",
17569
17540
  "tagname": "",
@@ -17588,7 +17559,7 @@
17588
17559
  },
17589
17560
  {
17590
17561
  "file": "packages/@ember/routing/router.ts",
17591
- "line": 1675,
17562
+ "line": 1666,
17592
17563
  "description": "Determines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
17593
17564
  "access": "private",
17594
17565
  "tagname": "",
@@ -19117,15 +19088,15 @@
19117
19088
  },
19118
19089
  {
19119
19090
  "message": "unknown tag: internal",
19120
- "line": " packages/@ember/object/mixin.ts:614"
19091
+ "line": " packages/@ember/object/mixin.ts:613"
19121
19092
  },
19122
19093
  {
19123
19094
  "message": "unknown tag: internal",
19124
- "line": " packages/@ember/object/mixin.ts:637"
19095
+ "line": " packages/@ember/object/mixin.ts:636"
19125
19096
  },
19126
19097
  {
19127
19098
  "message": "unknown tag: internal",
19128
- "line": " packages/@ember/object/mixin.ts:658"
19099
+ "line": " packages/@ember/object/mixin.ts:657"
19129
19100
  },
19130
19101
  {
19131
19102
  "message": "replacing incorrect tag: returns with return",
@@ -19137,7 +19108,7 @@
19137
19108
  },
19138
19109
  {
19139
19110
  "message": "replacing incorrect tag: returns with return",
19140
- "line": " packages/@ember/routing/route.ts:2199"
19111
+ "line": " packages/@ember/routing/route.ts:2085"
19141
19112
  },
19142
19113
  {
19143
19114
  "message": "unknown tag: internal",
@@ -19168,48 +19139,52 @@
19168
19139
  "line": " packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts:12"
19169
19140
  },
19170
19141
  {
19171
- "message": "Missing item type\nNot sure why this is here, we use the owner of the template for lookups.\n\nMaybe this is for the render helper?",
19172
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:5"
19142
+ "message": "Missing item type\nThis is usually inherited from the parent (all the way up to the app\ninstance). However, engines uses this to swap out the owner when crossing\na mount point.",
19143
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:21"
19144
+ },
19145
+ {
19146
+ "message": "Missing item type",
19147
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:28"
19173
19148
  },
19174
19149
  {
19175
- "message": "Missing item type\nThe name of the parent outlet state.",
19176
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:12"
19150
+ "message": "Missing item type",
19151
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:34"
19177
19152
  },
19178
19153
  {
19179
19154
  "message": "Missing item type\nThe name of the route/template",
19180
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:22"
19155
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:40"
19181
19156
  },
19182
19157
  {
19183
19158
  "message": "Missing item type\nThe controller (the self of the outlet component)",
19184
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:27"
19159
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:45"
19185
19160
  },
19186
19161
  {
19187
19162
  "message": "Missing item type\nThe model (the resolved value of the model hook)",
19188
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:32"
19163
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:50"
19189
19164
  },
19190
19165
  {
19191
19166
  "message": "Missing item type\ntemplate (the layout of the outlet component)",
19192
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:37"
19167
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:55"
19193
19168
  },
19194
19169
  {
19195
- "message": "Missing item type\nNested outlet connections.",
19196
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:48"
19170
+ "message": "Missing item type\nRepresents what was rendered into this outlet.",
19171
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:62"
19197
19172
  },
19198
19173
  {
19199
- "message": "Missing item type\nRepresents what was rendered into this outlet.",
19200
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:53"
19174
+ "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`.",
19175
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:67"
19201
19176
  },
19202
19177
  {
19203
- "message": "Missing item type\nHas to do with render helper and orphan outlets.\nWhether outlet state was rendered.",
19204
- "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:58"
19178
+ "message": "Missing item type",
19179
+ "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:79"
19205
19180
  },
19206
19181
  {
19207
19182
  "message": "Missing item type",
19208
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:118"
19183
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:116"
19209
19184
  },
19210
19185
  {
19211
19186
  "message": "Missing item type",
19212
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:126"
19187
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:124"
19213
19188
  },
19214
19189
  {
19215
19190
  "message": "Missing item type",
@@ -19221,7 +19196,7 @@
19221
19196
  },
19222
19197
  {
19223
19198
  "message": "Missing item type",
19224
- "line": " packages/@ember/-internals/glimmer/lib/renderer.ts:298"
19199
+ "line": " packages/@ember/-internals/glimmer/lib/renderer.ts:299"
19225
19200
  },
19226
19201
  {
19227
19202
  "message": "Missing item type\nThe template-compiler does not support strict mode at this time.\nprecompile from ember-template-compiler returns a string and\nnot a template-factory, so it doesn't help with strict-mode testing.\n\nWe also can't import from `@ember/template-compiler` because it\ndoesn't exist to this kind of test, otherwise we'd be able to use\nprecompileTemplate, which would be perfect :D\n\nCopied(ish) from https://github.com/NullVoxPopuli/ember-repl/blob/main/addon/hbs.ts#L51",
@@ -19649,55 +19624,55 @@
19649
19624
  },
19650
19625
  {
19651
19626
  "message": "Missing item type",
19652
- "line": " packages/@ember/object/core.ts:237"
19627
+ "line": " packages/@ember/object/core.ts:236"
19653
19628
  },
19654
19629
  {
19655
19630
  "message": "Missing item type",
19656
- "line": " packages/@ember/object/core.ts:241"
19631
+ "line": " packages/@ember/object/core.ts:240"
19657
19632
  },
19658
19633
  {
19659
19634
  "message": "Missing item type",
19660
- "line": " packages/@ember/object/mixin.ts:538"
19635
+ "line": " packages/@ember/object/mixin.ts:537"
19661
19636
  },
19662
19637
  {
19663
19638
  "message": "Missing item type",
19664
- "line": " packages/@ember/object/mixin.ts:541"
19639
+ "line": " packages/@ember/object/mixin.ts:540"
19665
19640
  },
19666
19641
  {
19667
19642
  "message": "Missing item type",
19668
- "line": " packages/@ember/object/mixin.ts:544"
19643
+ "line": " packages/@ember/object/mixin.ts:543"
19669
19644
  },
19670
19645
  {
19671
19646
  "message": "Missing item type",
19672
- "line": " packages/@ember/object/mixin.ts:547"
19647
+ "line": " packages/@ember/object/mixin.ts:546"
19673
19648
  },
19674
19649
  {
19675
19650
  "message": "Missing item type",
19676
- "line": " packages/@ember/object/mixin.ts:550"
19651
+ "line": " packages/@ember/object/mixin.ts:549"
19677
19652
  },
19678
19653
  {
19679
19654
  "message": "Missing item type",
19680
- "line": " packages/@ember/object/mixin.ts:555"
19655
+ "line": " packages/@ember/object/mixin.ts:554"
19681
19656
  },
19682
19657
  {
19683
19658
  "message": "Missing item type",
19684
- "line": " packages/@ember/object/mixin.ts:596"
19659
+ "line": " packages/@ember/object/mixin.ts:595"
19685
19660
  },
19686
19661
  {
19687
19662
  "message": "Missing item type",
19688
- "line": " packages/@ember/object/mixin.ts:653"
19663
+ "line": " packages/@ember/object/mixin.ts:652"
19689
19664
  },
19690
19665
  {
19691
19666
  "message": "Missing item type",
19692
- "line": " packages/@ember/object/mixin.ts:679"
19667
+ "line": " packages/@ember/object/mixin.ts:678"
19693
19668
  },
19694
19669
  {
19695
19670
  "message": "Missing item type",
19696
- "line": " packages/@ember/object/mixin.ts:686"
19671
+ "line": " packages/@ember/object/mixin.ts:685"
19697
19672
  },
19698
19673
  {
19699
19674
  "message": "Missing item type",
19700
- "line": " packages/@ember/object/mixin.ts:693"
19675
+ "line": " packages/@ember/object/mixin.ts:692"
19701
19676
  },
19702
19677
  {
19703
19678
  "message": "Missing item type",
@@ -19721,35 +19696,35 @@
19721
19696
  },
19722
19697
  {
19723
19698
  "message": "Missing item type",
19724
- "line": " packages/@ember/routing/route.ts:271"
19699
+ "line": " packages/@ember/routing/route.ts:272"
19725
19700
  },
19726
19701
  {
19727
19702
  "message": "Missing item type",
19728
- "line": " packages/@ember/routing/route.ts:273"
19703
+ "line": " packages/@ember/routing/route.ts:274"
19729
19704
  },
19730
19705
  {
19731
19706
  "message": "Missing item type",
19732
- "line": " packages/@ember/routing/route.ts:276"
19707
+ "line": " packages/@ember/routing/route.ts:277"
19733
19708
  },
19734
19709
  {
19735
19710
  "message": "Missing item type",
19736
- "line": " packages/@ember/routing/route.ts:278"
19711
+ "line": " packages/@ember/routing/route.ts:279"
19737
19712
  },
19738
19713
  {
19739
19714
  "message": "Missing item type",
19740
- "line": " packages/@ember/routing/route.ts:1597"
19715
+ "line": " packages/@ember/routing/route.ts:1586"
19741
19716
  },
19742
19717
  {
19743
19718
  "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`.",
19744
- "line": " packages/@ember/routing/router.ts:1632"
19719
+ "line": " packages/@ember/routing/router.ts:1623"
19745
19720
  },
19746
19721
  {
19747
19722
  "message": "Missing item type\nFinds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
19748
- "line": " packages/@ember/routing/router.ts:1653"
19723
+ "line": " packages/@ember/routing/router.ts:1644"
19749
19724
  },
19750
19725
  {
19751
19726
  "message": "Missing item type\nDetermines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
19752
- "line": " packages/@ember/routing/router.ts:1675"
19727
+ "line": " packages/@ember/routing/router.ts:1666"
19753
19728
  },
19754
19729
  {
19755
19730
  "message": "Missing item type",