ember-source 4.4.0-alpha.4 → 4.4.0-alpha.7

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 (85) hide show
  1. package/CHANGELOG.md +3 -5
  2. package/blueprints/-addon-import.js +9 -0
  3. package/blueprints/-maybe-polyfill-typescript-blueprints.js +17 -0
  4. package/blueprints/acceptance-test/index.js +8 -0
  5. package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +0 -0
  6. package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/{__name__-test.js → __name__-test.ts} +0 -0
  7. package/blueprints/component/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  8. package/blueprints/component/index.js +6 -1
  9. package/blueprints/component-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  10. package/blueprints/component-addon/index.js +9 -0
  11. package/blueprints/component-class/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  12. package/blueprints/component-class/index.js +5 -0
  13. package/blueprints/component-class-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  14. package/blueprints/component-class-addon/index.js +9 -0
  15. package/blueprints/component-test/index.js +8 -0
  16. package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  17. package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +1 -1
  18. package/blueprints/controller/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  19. package/blueprints/controller/index.js +10 -0
  20. package/blueprints/controller-test/index.js +10 -0
  21. package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  22. package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  23. package/blueprints/helper/files/__root__/__collection__/{__name__.js → __name__.ts} +0 -0
  24. package/blueprints/helper/index.js +9 -0
  25. package/blueprints/helper-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  26. package/blueprints/helper-test/index.js +9 -0
  27. package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +0 -0
  28. package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/{__name__-test.js → __name__-test.ts} +0 -0
  29. package/blueprints/initializer/files/__root__/initializers/__name__.ts +6 -0
  30. package/blueprints/initializer/index.js +9 -0
  31. package/blueprints/initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  32. package/blueprints/initializer-test/index.js +8 -0
  33. package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +3 -1
  34. package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.ts +37 -0
  35. package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.ts +6 -0
  36. package/blueprints/instance-initializer/index.js +9 -0
  37. package/blueprints/instance-initializer-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  38. package/blueprints/instance-initializer-test/index.js +8 -0
  39. package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +5 -1
  40. package/blueprints/instance-initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__name__-test.js → __name__-test.ts} +6 -1
  41. package/blueprints/route/files/__root__/__path__/{__name__.js → __name__.ts} +2 -4
  42. package/blueprints/route/index.js +9 -0
  43. package/blueprints/route-addon/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  44. package/blueprints/route-addon/index.js +9 -0
  45. package/blueprints/route-test/index.js +9 -0
  46. package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  47. package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  48. package/blueprints/service/files/__root__/__path__/{__name__.js → __name__.ts} +0 -0
  49. package/blueprints/service/index.js +10 -0
  50. package/blueprints/service-test/index.js +8 -0
  51. package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  52. package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/{__test__.js → __test__.ts} +0 -0
  53. package/blueprints/util/files/__root__/utils/{__name__.js → __name__.ts} +0 -0
  54. package/blueprints/util/index.js +10 -0
  55. package/blueprints/util-test/index.js +8 -0
  56. package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
  57. package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/{__name__-test.js → __name__-test.ts} +0 -0
  58. package/build-metadata.json +3 -3
  59. package/dist/ember-template-compiler.js +10 -12
  60. package/dist/ember-template-compiler.map +1 -1
  61. package/dist/ember-testing.js +7 -3
  62. package/dist/ember-testing.map +1 -1
  63. package/dist/ember.debug.js +484 -785
  64. package/dist/ember.debug.map +1 -1
  65. package/dist/header/license.js +1 -1
  66. package/dist/packages/@ember/-internals/container/index.js +1 -10
  67. package/dist/packages/@ember/-internals/glimmer/index.js +107 -218
  68. package/dist/packages/@ember/-internals/meta/lib/meta.js +1 -1
  69. package/dist/packages/@ember/-internals/metal/index.js +22 -21
  70. package/dist/packages/@ember/-internals/routing/lib/services/router.js +140 -145
  71. package/dist/packages/@ember/-internals/routing/lib/system/route-info.js +4 -0
  72. package/dist/packages/@ember/-internals/routing/lib/system/router.js +2 -0
  73. package/dist/packages/@ember/-internals/routing/lib/system/transition.js +4 -0
  74. package/dist/packages/@ember/-internals/runtime/lib/system/core_object.js +118 -302
  75. package/dist/packages/@ember/-internals/runtime/lib/system/object.js +8 -23
  76. package/dist/packages/@ember/-internals/views/lib/views/core_view.js +47 -29
  77. package/dist/packages/@ember/canary-features/index.js +1 -5
  78. package/dist/packages/@ember/debug/lib/deprecate.js +6 -2
  79. package/dist/packages/ember/version.js +1 -1
  80. package/docs/data.json +448 -810
  81. package/package.json +20 -17
  82. package/blueprints/initializer/files/__root__/initializers/__name__.js +0 -5
  83. package/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +0 -34
  84. package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.js +0 -5
  85. package/dist/packages/@ember/renderer/index.js +0 -21
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": "4.4.0-alpha.4"
6
+ "version": "4.4.0-alpha.7"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -549,6 +549,13 @@
549
549
  },
550
550
  "namespaces": {}
551
551
  },
552
+ "packages/@ember/-internals/glimmer/lib/renderer.ts": {
553
+ "name": "packages/@ember/-internals/glimmer/lib/renderer.ts",
554
+ "modules": {},
555
+ "classes": {},
556
+ "fors": {},
557
+ "namespaces": {}
558
+ },
552
559
  "packages/@ember/-internals/glimmer/tests/integration/custom-helper-test.js": {
553
560
  "name": "packages/@ember/-internals/glimmer/tests/integration/custom-helper-test.js",
554
561
  "modules": {},
@@ -891,7 +898,9 @@
891
898
  },
892
899
  "packages/@ember/-internals/routing/lib/system/route-info.ts": {
893
900
  "name": "packages/@ember/-internals/routing/lib/system/route-info.ts",
894
- "modules": {},
901
+ "modules": {
902
+ "@ember/routing": 1
903
+ },
895
904
  "classes": {
896
905
  "RouteInfoWithAttributes": 1,
897
906
  "RouteInfo": 1
@@ -901,9 +910,7 @@
901
910
  },
902
911
  "packages/@ember/-internals/routing/lib/system/route.ts": {
903
912
  "name": "packages/@ember/-internals/routing/lib/system/route.ts",
904
- "modules": {
905
- "@ember/routing": 1
906
- },
913
+ "modules": {},
907
914
  "classes": {
908
915
  "Route": 1
909
916
  },
@@ -1098,15 +1105,8 @@
1098
1105
  "fors": {},
1099
1106
  "namespaces": {}
1100
1107
  },
1101
- "packages/@ember/-internals/runtime/lib/system/core_object.d.ts": {
1102
- "name": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
1103
- "modules": {},
1104
- "classes": {},
1105
- "fors": {},
1106
- "namespaces": {}
1107
- },
1108
- "packages/@ember/-internals/runtime/lib/system/core_object.js": {
1109
- "name": "packages/@ember/-internals/runtime/lib/system/core_object.js",
1108
+ "packages/@ember/-internals/runtime/lib/system/core_object.ts": {
1109
+ "name": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
1110
1110
  "modules": {},
1111
1111
  "classes": {
1112
1112
  "CoreObject": 1
@@ -1125,15 +1125,8 @@
1125
1125
  "fors": {},
1126
1126
  "namespaces": {}
1127
1127
  },
1128
- "packages/@ember/-internals/runtime/lib/system/object.d.ts": {
1129
- "name": "packages/@ember/-internals/runtime/lib/system/object.d.ts",
1130
- "modules": {},
1131
- "classes": {},
1132
- "fors": {},
1133
- "namespaces": {}
1134
- },
1135
- "packages/@ember/-internals/runtime/lib/system/object.js": {
1136
- "name": "packages/@ember/-internals/runtime/lib/system/object.js",
1128
+ "packages/@ember/-internals/runtime/lib/system/object.ts": {
1129
+ "name": "packages/@ember/-internals/runtime/lib/system/object.ts",
1137
1130
  "modules": {},
1138
1131
  "classes": {
1139
1132
  "EmberObject": 1
@@ -1599,17 +1592,6 @@
1599
1592
  },
1600
1593
  "namespaces": {}
1601
1594
  },
1602
- "packages/@ember/renderer/index.ts": {
1603
- "name": "packages/@ember/renderer/index.ts",
1604
- "modules": {
1605
- "@ember/renderer": 1
1606
- },
1607
- "classes": {
1608
- "Renderer": 1
1609
- },
1610
- "fors": {},
1611
- "namespaces": {}
1612
- },
1613
1595
  "packages/@ember/runloop/index.ts": {
1614
1596
  "name": "packages/@ember/runloop/index.ts",
1615
1597
  "modules": {
@@ -1860,6 +1842,8 @@
1860
1842
  "HistoryLocation": 1,
1861
1843
  "NoneLocation": 1,
1862
1844
  "RouterService": 1,
1845
+ "RouteInfoWithAttributes": 1,
1846
+ "RouteInfo": 1,
1863
1847
  "Route": 1,
1864
1848
  "EmberRouter": 1,
1865
1849
  "Transition": 1
@@ -1872,7 +1856,7 @@
1872
1856
  "namespaces": {},
1873
1857
  "tag": "module",
1874
1858
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
1875
- "line": 1
1859
+ "line": 5
1876
1860
  },
1877
1861
  "ember": {
1878
1862
  "name": "ember",
@@ -1887,8 +1871,6 @@
1887
1871
  "Ember.ControllerMixin": 1,
1888
1872
  "RoutingService": 1,
1889
1873
  "BucketCache": 1,
1890
- "RouteInfoWithAttributes": 1,
1891
- "RouteInfo": 1,
1892
1874
  "Ember.ProxyMixin": 1,
1893
1875
  "Ember.ActionHandler": 1,
1894
1876
  "Ember.NativeArray": 1,
@@ -2110,7 +2092,7 @@
2110
2092
  "namespaces": {},
2111
2093
  "tag": "module",
2112
2094
  "file": "packages/@ember/canary-features/index.ts",
2113
- "line": 22,
2095
+ "line": 20,
2114
2096
  "description": "Set `EmberENV.FEATURES` in your application's `config/environment.js` file\nto enable canary features in your application.\n\nSee the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\nfor more details.",
2115
2097
  "access": "public",
2116
2098
  "tagname": ""
@@ -2246,21 +2228,6 @@
2246
2228
  "file": "packages/@ember/polyfills/lib/assign.ts",
2247
2229
  "line": 3
2248
2230
  },
2249
- "@ember/renderer": {
2250
- "name": "@ember/renderer",
2251
- "submodules": {},
2252
- "elements": {},
2253
- "classes": {
2254
- "Renderer": 1
2255
- },
2256
- "fors": {},
2257
- "namespaces": {},
2258
- "tag": "module",
2259
- "file": "packages/@ember/renderer/index.ts",
2260
- "line": 6,
2261
- "access": "public",
2262
- "tagname": ""
2263
- },
2264
2231
  "@ember/runloop": {
2265
2232
  "name": "@ember/runloop",
2266
2233
  "submodules": {},
@@ -2554,7 +2521,7 @@
2554
2521
  "module": "@ember/component",
2555
2522
  "namespace": "",
2556
2523
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
2557
- "line": 38,
2524
+ "line": 37,
2558
2525
  "description": "A component is a reusable UI element that consists of a `.hbs` template and an\noptional JavaScript class that defines its behavior. For example, someone\nmight make a `button` in the template and handle the click behavior in the\nJavaScript file that shares the same name as the template.\n\nComponents are broken down into two categories:\n\n- Components _without_ JavaScript, that are based only on a template. These\n are called Template-only or TO components.\n- Components _with_ JavaScript, which consist of a template and a backing\n class.\n\nEmber ships with two types of JavaScript classes for components:\n\n1. Glimmer components, imported from `@glimmer/component`, which are the\n default component's for Ember Octane (3.15) and more recent editions.\n2. Classic components, imported from `@ember/component`, which were the\n default for older editions of Ember (pre 3.15).\n\nBelow is the documentation for Classic components. If you are looking for the\nAPI documentation for Template-only or Glimmer components, it is\n[available here](/ember/release/modules/@glimmer%2Fcomponent).\n\n## Defining a Classic Component\n\nIf you want to customize the component in order to handle events, transform\narguments or maintain internal state, you implement a subclass of `Component`.\n\nOne example is to add computed properties to your component:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n let { title, firstName, lastName } = this.person;\n\n if (title) {\n return `${title} ${lastName}`;\n } else {\n return `${firstName} ${lastName}`;\n }\n })\n});\n```\n\nAnd then use it in the component's template:\n\n```app/templates/components/person-profile.hbs\n<h1>{{this.displayName}}</h1>\n{{yield}}\n```\n\n## Customizing a Classic Component's HTML Element in JavaScript\n\n### HTML Tag\n\nThe default HTML tag name used for a component's HTML representation is `div`.\nThis can be customized by setting the `tagName` property.\n\nConsider the following component class:\n\n```app/components/emphasized-paragraph.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'em'\n});\n```\n\nWhen invoked, this component would produce output that looks something like\nthis:\n\n```html\n<em id=\"ember1\" class=\"ember-view\"></em>\n```\n\n### HTML `class` Attribute\n\nThe HTML `class` attribute of a component's tag can be set by providing a\n`classNames` property that is set to an array of strings:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNames: ['my-class', 'my-other-class']\n});\n```\n\nInvoking this component will produce output that looks like this:\n\n```html\n<div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n```\n\n`class` attribute values can also be set by providing a `classNameBindings`\nproperty set to an array of properties names for the component. The return\nvalue of these properties will be added as part of the value for the\ncomponents's `class` attribute. These properties can be computed properties:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n classNames: ['my-class', 'my-other-class'],\n classNameBindings: ['propertyA', 'propertyB'],\n\n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n```\n\nNote that `classNames` and `classNameBindings` is in addition to the `class`\nattribute passed with the angle bracket invocation syntax. Therefore, if this\ncomponent was invoked like so:\n\n```handlebars\n<MyWidget class=\"from-invocation\" />\n```\n\nThe resulting HTML will look similar to this:\n\n```html\n<div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n```\n\nIf the value of a class name binding returns a boolean the property name\nitself will be used as the class name if the property is true. The class name\nwill not be added if the value is `false` or `undefined`.\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['hovered'],\n\n hovered: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view hovered\"></div>\n```\n\n### Custom Class Names for Boolean Values\n\nWhen using boolean class name bindings you can supply a string value other\nthan the property name for use as the `class` HTML attribute by appending the\npreferred value after a \":\" character when defining the binding:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['awesome:so-very-cool'],\n\n awesome: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n```\n\nBoolean value class name bindings whose property names are in a\ncamelCase-style format will be converted to a dasherized format:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['isUrgent'],\n\n isUrgent: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n```\n\nClass name bindings can also refer to object values that are found by\ntraversing a path relative to the component itself:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\nimport EmberObject from '@ember/object';\n\nexport default Component.extend({\n classNameBindings: ['messages.empty'],\n\n messages: EmberObject.create({\n empty: true\n })\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view empty\"></div>\n```\n\nIf you want to add a class name for a property which evaluates to true and\nand a different class name if it evaluates to false, you can pass a binding\nlike this:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['isEnabled:enabled:disabled'],\n isEnabled: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view enabled\"></div>\n```\n\nWhen isEnabled is `false`, the resulting HTML representation looks like this:\n\n```html\n<div id=\"ember1\" class=\"ember-view disabled\"></div>\n```\n\nThis syntax offers the convenience to add a class if a property is `false`:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\n// Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\nexport default Component.extend({\n classNameBindings: ['isEnabled::disabled'],\n isEnabled: true\n});\n```\n\nInvoking this component when the `isEnabled` property is true will produce\nHTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view\"></div>\n```\n\nInvoking it when the `isEnabled` property on the component is `false` will\nproduce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view disabled\"></div>\n```\n\nUpdates to the value of a class name binding will result in automatic update\nof the HTML `class` attribute in the component's rendered HTML\nrepresentation. If the value becomes `false` or `undefined` the class name\nwill be removed.\n\nBoth `classNames` and `classNameBindings` are concatenated properties. See\n[EmberObject](/ember/release/classes/EmberObject) documentation for more\ninformation about concatenated properties.\n\n### Other HTML Attributes\n\nThe HTML attribute section of a component's tag can be set by providing an\n`attributeBindings` property set to an array of property names on the component.\nThe return value of these properties will be used as the value of the component's\nHTML associated attribute:\n\n```app/components/my-anchor.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'a',\n attributeBindings: ['href'],\n\n href: 'http://google.com'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n```\n\nOne property can be mapped on to another by placing a \":\" between\nthe source property and the destination property:\n\n```app/components/my-anchor.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'a',\n attributeBindings: ['url:href'],\n\n url: 'http://google.com'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n```\n\nHTML attributes passed with angle bracket invocations will take precedence\nover those specified in `attributeBindings`. Therefore, if this component was\ninvoked like so:\n\n```handlebars\n<MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n```\n\nThe resulting HTML will looks like this:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n```\n\nNote that the `href` attribute is ultimately set to `http://bing.com`,\ndespite it having attribute binidng to the `url` property, which was\nset to `http://google.com`.\n\nNamespaced attributes (e.g. `xlink:href`) are supported, but have to be\nmapped, since `:` is not a valid character for properties in Javascript:\n\n```app/components/my-use.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'use',\n attributeBindings: ['xlinkHref:xlink:href'],\n\n xlinkHref: '#triangle'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<use xlink:href=\"#triangle\"></use>\n```\n\nIf the value of a property monitored by `attributeBindings` is a boolean, the\nattribute will be present or absent depending on the value:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n\n disabled: false\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<input id=\"ember1\" class=\"ember-view\" />\n```\n\n`attributeBindings` can refer to computed properties:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n\n disabled: computed(function() {\n if (someLogic) {\n return true;\n } else {\n return false;\n }\n })\n});\n```\n\nTo prevent setting an attribute altogether, use `null` or `undefined` as the\nvalue of the property used in `attributeBindings`:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'form',\n attributeBindings: ['novalidate'],\n novalidate: null\n});\n```\n\nUpdates to the property of an attribute binding will result in automatic\nupdate of the HTML attribute in the component's HTML output.\n\n`attributeBindings` is a concatenated property. See\n[EmberObject](/ember/release/classes/EmberObject) documentation for more\ninformation about concatenated properties.\n\n## Layouts\n\nThe `layout` property can be used to dynamically specify a template associated\nwith a component class, instead of relying on Ember to link together a\ncomponent class and a template based on file names.\n\nIn general, applications should not use this feature, but it's commonly used\nin addons for historical reasons.\n\nThe `layout` property should be set to the default export of a template\nmodule, which is the name of a template file without the `.hbs` extension.\n\n```app/templates/components/person-profile.hbs\n<h1>Person's Title</h1>\n<div class='details'>{{yield}}</div>\n```\n\n```app/components/person-profile.js\n import Component from '@ember/component';\n import layout from '../templates/components/person-profile';\n\n export default Component.extend({\n layout\n });\n```\n\nIf you invoke the component:\n\n```handlebars\n<PersonProfile>\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n</PersonProfile>\n```\n\nor\n\n```handlebars\n{{#person-profile}}\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n{{/person-profile}}\n```\n\nIt will result in the following HTML output:\n\n```html\n<h1>Person's Title</h1>\n <div class=\"details\">\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n</div>\n```\n\n## Handling Browser Events\n\nComponents can respond to user-initiated events in one of three ways: passing\nactions with angle bracket invocation, adding event handler methods to the\ncomponent's class, or adding actions to the component's template.\n\n### Passing Actions With Angle Bracket Invocation\n\nFor one-off events specific to particular instance of a component, it is possible\nto pass actions to the component's element using angle bracket invocation syntax.\n\n```handlebars\n<MyWidget {{action 'firstWidgetClicked'}} />\n\n<MyWidget {{action 'secondWidgetClicked'}} />\n```\n\nIn this case, when the first component is clicked on, Ember will invoke the\n`firstWidgetClicked` action. When the second component is clicked on, Ember\nwill invoke the `secondWidgetClicked` action instead.\n\nBesides `{{action}}`, it is also possible to pass any arbitrary element modifiers\nusing the angle bracket invocation syntax.\n\n### Event Handler Methods\n\nComponents can also respond to user-initiated events by implementing a method\nthat matches the event name. This approach is appropriate when the same event\nshould be handled by all instances of the same component.\n\nAn event object will be passed as the argument to the event handler method.\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click(event) {\n // `event.target` is either the component's element or one of its children\n let tag = event.target.tagName.toLowerCase();\n console.log('clicked on a `<${tag}>` HTML element!');\n }\n});\n```\n\nIn this example, whenever the user clicked anywhere inside the component, it\nwill log a message to the console.\n\nIt is possible to handle event types other than `click` by implementing the\nfollowing event handler methods. In addition, custom events can be registered\nby using `Application.customEvents`.\n\nTouch events:\n\n* `touchStart`\n* `touchMove`\n* `touchEnd`\n* `touchCancel`\n\nKeyboard events:\n\n* `keyDown`\n* `keyUp`\n* `keyPress`\n\nMouse events:\n\n* `mouseDown`\n* `mouseUp`\n* `contextMenu`\n* `click`\n* `doubleClick`\n* `focusIn`\n* `focusOut`\n\nForm events:\n\n* `submit`\n* `change`\n* `focusIn`\n* `focusOut`\n* `input`\n\nDrag and drop events:\n\n* `dragStart`\n* `drag`\n* `dragEnter`\n* `dragLeave`\n* `dragOver`\n* `dragEnd`\n* `drop`\n\n### `{{action}}` Helper\n\nInstead of handling all events of a particular type anywhere inside the\ncomponent's element, you may instead want to limit it to a particular\nelement in the component's template. In this case, it would be more\nconvenient to implement an action instead.\n\nFor example, you could implement the action `hello` for the `person-profile`\ncomponent:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n actions: {\n hello(name) {\n console.log(\"Hello\", name);\n }\n }\n});\n```\n\nAnd then use it in the component's template:\n\n```app/templates/components/person-profile.hbs\n<h1>{{@person.name}}</h1>\n\n<button {{action 'hello' @person.name}}>\n Say Hello to {{@person.name}}\n</button>\n```\n\nWhen the user clicks the button, Ember will invoke the `hello` action,\npassing in the current value of `@person.name` as an argument.\n\nSee [Ember.Templates.helpers.action](/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).",
2559
2526
  "extends": "Ember.CoreView",
2560
2527
  "uses": [
@@ -2784,7 +2751,7 @@
2784
2751
  "module": "@ember/object",
2785
2752
  "namespace": "",
2786
2753
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
2787
- "line": 440,
2754
+ "line": 444,
2788
2755
  "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```",
2789
2756
  "access": "public",
2790
2757
  "tagname": ""
@@ -2937,7 +2904,7 @@
2937
2904
  "module": "@ember/routing",
2938
2905
  "namespace": "",
2939
2906
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
2940
- "line": 25,
2907
+ "line": 24,
2941
2908
  "description": "The Router service is the public API that provides access to the router.\n\nThe immediate benefit of the Router service is that you can inject it into components,\ngiving them a friendly way to initiate transitions and ask questions about the current\nglobal router state.\n\nIn this example, the Router service is injected into a component to initiate a transition\nto a dedicated route:\n\n```app/components/example.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { service } from '@ember/service';\n\nexport default class ExampleComponent extends Component {\n @service router;\n\n @action\n next() {\n this.router.transitionTo('other.route');\n }\n}\n```\n\nLike any service, it can also be injected into helpers, routes, etc.",
2942
2909
  "access": "public",
2943
2910
  "tagname": "",
@@ -2983,10 +2950,10 @@
2983
2950
  "extensions": [],
2984
2951
  "plugin_for": [],
2985
2952
  "extension_for": [],
2986
- "module": "ember",
2953
+ "module": "@ember/routing",
2987
2954
  "namespace": "",
2988
2955
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
2989
- "line": 3,
2956
+ "line": 7,
2990
2957
  "description": "A `RouteInfoWithAttributes` is an object that contains\nmetadata, including the resolved value from the routes\n`model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\nrepresents a specific route within a Transition.\nIt is read-only and internally immutable. It is also not\nobservable, because a Transition instance is never\nchanged after creation.",
2991
2958
  "access": "public",
2992
2959
  "tagname": ""
@@ -2999,10 +2966,10 @@
2999
2966
  "extensions": [],
3000
2967
  "plugin_for": [],
3001
2968
  "extension_for": [],
3002
- "module": "ember",
2969
+ "module": "@ember/routing",
3003
2970
  "namespace": "",
3004
2971
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
3005
- "line": 120,
2972
+ "line": 124,
3006
2973
  "description": "A RouteInfo is an object that contains metadata\nabout a specific route within a Transition. It is\nread-only and internally immutable. It is also not\nobservable, because a Transition instance is never\nchanged after creation.",
3007
2974
  "access": "public",
3008
2975
  "tagname": ""
@@ -3060,7 +3027,7 @@
3060
3027
  "module": "@ember/routing",
3061
3028
  "namespace": "",
3062
3029
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
3063
- "line": 1,
3030
+ "line": 5,
3064
3031
  "description": "A Transition is a thennable (a promise-like object) that represents\nan attempt to transition to another route. It can be aborted, either\nexplicitly via `abort` or by attempting another transition while a\nprevious one is still underway. An aborted transition can also\nbe `retry()`d later.",
3065
3032
  "access": "public",
3066
3033
  "tagname": ""
@@ -3374,8 +3341,8 @@
3374
3341
  "extension_for": [],
3375
3342
  "module": "@ember/object",
3376
3343
  "namespace": "",
3377
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
3378
- "line": 137,
3344
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
3345
+ "line": 174,
3379
3346
  "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.",
3380
3347
  "access": "public",
3381
3348
  "tagname": ""
@@ -3407,7 +3374,7 @@
3407
3374
  "extension_for": [],
3408
3375
  "module": "@ember/object",
3409
3376
  "namespace": "",
3410
- "file": "packages/@ember/-internals/runtime/lib/system/object.js",
3377
+ "file": "packages/@ember/-internals/runtime/lib/system/object.ts",
3411
3378
  "line": 13,
3412
3379
  "description": "`EmberObject` is the main base class for all Ember objects. It is a subclass\nof `CoreObject` with the `Observable` mixin applied. For details,\nsee the documentation for each of these.",
3413
3380
  "extends": "CoreObject",
@@ -3527,7 +3494,7 @@
3527
3494
  "module": "ember",
3528
3495
  "namespace": "Ember",
3529
3496
  "file": "packages/@ember/-internals/views/lib/views/core_view.ts",
3530
- "line": 7,
3497
+ "line": 6,
3531
3498
  "description": "`Ember.CoreView` is an abstract class that exists to give view-like behavior\nto both Ember's main view class `Component` and other classes that don't need\nthe full functionality of `Component`.\n\nUnless you have specific needs for `CoreView`, you will use `Component`\nin your applications.",
3532
3499
  "extends": "EmberObject",
3533
3500
  "deprecated": true,
@@ -3603,7 +3570,7 @@
3603
3570
  "module": "@ember/canary-features",
3604
3571
  "namespace": "",
3605
3572
  "file": "packages/@ember/canary-features/index.ts",
3606
- "line": 22,
3573
+ "line": 20,
3607
3574
  "description": "The hash of enabled Canary features. Add to this, any canary features\nbefore creating your application.",
3608
3575
  "static": 1,
3609
3576
  "since": "1.1.0",
@@ -3793,21 +3760,6 @@
3793
3760
  "module": "@ember/polyfills",
3794
3761
  "namespace": ""
3795
3762
  },
3796
- "Renderer": {
3797
- "name": "Renderer",
3798
- "shortname": "Renderer",
3799
- "classitems": [],
3800
- "plugins": [],
3801
- "extensions": [],
3802
- "plugin_for": [],
3803
- "extension_for": [],
3804
- "module": "@ember/renderer",
3805
- "namespace": "",
3806
- "file": "packages/@ember/renderer/index.ts",
3807
- "line": 6,
3808
- "access": "public",
3809
- "tagname": ""
3810
- },
3811
3763
  "@ember/runloop": {
3812
3764
  "name": "@ember/runloop",
3813
3765
  "shortname": "@ember/runloop",
@@ -6240,82 +6192,58 @@
6240
6192
  },
6241
6193
  {
6242
6194
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6243
- "line": 664,
6244
- "description": "Layout can be used to wrap content in a component.",
6245
- "itemtype": "property",
6246
- "name": "layout",
6247
- "type": "Function",
6195
+ "line": 654,
6196
+ "description": "Called when the attributes passed into the component have been updated.\n Called both during the initial render of a container and during a rerender.\n Can be used in place of an observer; code placed here will be executed\n every time any attribute updates.",
6197
+ "itemtype": "method",
6198
+ "name": "didReceiveAttrs",
6248
6199
  "access": "public",
6249
6200
  "tagname": "",
6201
+ "since": "1.13.0",
6250
6202
  "class": "Component",
6251
6203
  "module": "@ember/component"
6252
6204
  },
6253
6205
  {
6254
6206
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6255
- "line": 672,
6256
- "description": "The name of the layout to lookup if no layout is provided.\nBy default `Component` will lookup a template with this name in\n`Ember.TEMPLATES` (a shared global object).",
6257
- "itemtype": "property",
6258
- "name": "layoutName",
6259
- "type": "String",
6260
- "default": "undefined",
6261
- "access": "private",
6262
- "tagname": "",
6263
- "class": "Component",
6264
- "module": "@ember/component"
6265
- },
6266
- {
6267
- "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6268
- "line": 789,
6269
- "description": "Normally, Ember's component model is \"write-only\". The component takes a\nbunch of attributes that it got passed in, and uses them to render its\ntemplate.\n\nOne nice thing about this model is that if you try to set a value to the\nsame thing as last time, Ember (through HTMLBars) will avoid doing any\nwork on the DOM.\n\nThis is not just a performance optimization. If an attribute has not\nchanged, it is important not to clobber the element's \"hidden state\".\nFor example, if you set an input's `value` to the same value as before,\nit will clobber selection state and cursor position. In other words,\nsetting an attribute is not **always** idempotent.\n\nThis method provides a way to read an element's attribute and also\nupdate the last value Ember knows about at the same time. This makes\nsetting an attribute idempotent.\n\nIn particular, what this means is that if you get an `<input>` element's\n`value` attribute and then re-render the template with the same value,\nit will avoid clobbering the cursor and selection position.\nSince most attribute sets are idempotent in the browser, you typically\ncan get away with reading attributes using jQuery, but the most reliable\nway to do so is through this method.",
6270
- "itemtype": "method",
6271
- "name": "readDOMAttr",
6272
- "params": [
6273
- {
6274
- "name": "name",
6275
- "description": "the name of the attribute",
6276
- "type": "String"
6277
- }
6278
- ],
6279
- "return": {
6280
- "description": "String"
6281
- },
6207
+ "line": 665,
6208
+ "description": "Called when the attributes passed into the component have been updated.\n Called both during the initial render of a container and during a rerender.\n Can be used in place of an observer; code placed here will be executed\n every time any attribute updates.",
6209
+ "itemtype": "event",
6210
+ "name": "didReceiveAttrs",
6282
6211
  "access": "public",
6283
6212
  "tagname": "",
6213
+ "since": "1.13.0",
6284
6214
  "class": "Component",
6285
6215
  "module": "@ember/component"
6286
6216
  },
6287
6217
  {
6288
6218
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6289
- "line": 840,
6290
- "description": "The WAI-ARIA role of the control represented by this view. For example, a\nbutton may have a role of type 'button', or a pane may have a role of\ntype 'alertdialog'. This property is used by assistive software to help\nvisually challenged users navigate rich web applications.\n\nThe full list of valid WAI-ARIA roles is available at:\n[https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)",
6291
- "itemtype": "property",
6292
- "name": "ariaRole",
6293
- "type": "String",
6294
- "default": "null",
6219
+ "line": 675,
6220
+ "description": "Called after a component has been rendered, both on initial render and\n in subsequent rerenders.",
6221
+ "itemtype": "method",
6222
+ "name": "didRender",
6295
6223
  "access": "public",
6296
6224
  "tagname": "",
6225
+ "since": "1.13.0",
6297
6226
  "class": "Component",
6298
6227
  "module": "@ember/component"
6299
6228
  },
6300
6229
  {
6301
6230
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6302
- "line": 855,
6303
- "description": "Enables components to take a list of parameters as arguments.\nFor example, a component that takes two parameters with the names\n`name` and `age`:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nlet MyComponent = Component.extend();\n\nMyComponent.reopenClass({\n positionalParams: ['name', 'age']\n});\n\nexport default MyComponent;\n```\n\nIt can then be invoked like this:\n\n```hbs\n{{my-component \"John\" 38}}\n```\n\nThe parameters can be referred to just like named parameters:\n\n```hbs\nName: {{name}}, Age: {{age}}.\n```\n\nUsing a string instead of an array allows for an arbitrary number of\nparameters:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nlet MyComponent = Component.extend();\n\nMyComponent.reopenClass({\n positionalParams: 'names'\n});\n\nexport default MyComponent;\n```\n\nIt can then be invoked like this:\n\n```hbs\n{{my-component \"John\" \"Michael\" \"Scott\"}}\n```\nThe parameters can then be referred to by enumerating over the list:\n\n```hbs\n{{#each names as |name|}}{{name}}{{/each}}\n```",
6304
- "static": 1,
6231
+ "line": 684,
6232
+ "description": "Called after a component has been rendered, both on initial render and\n in subsequent rerenders.",
6233
+ "itemtype": "event",
6234
+ "name": "didRender",
6305
6235
  "access": "public",
6306
6236
  "tagname": "",
6307
- "itemtype": "property",
6308
- "name": "positionalParams",
6309
6237
  "since": "1.13.0",
6310
6238
  "class": "Component",
6311
6239
  "module": "@ember/component"
6312
6240
  },
6313
6241
  {
6314
6242
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6315
- "line": 916,
6316
- "description": "Called when the attributes passed into the component have been updated.\nCalled both during the initial render of a container and during a rerender.\nCan be used in place of an observer; code placed here will be executed\nevery time any attribute updates.",
6243
+ "line": 692,
6244
+ "description": "Called before a component has been rendered, both on initial render and\n in subsequent rerenders.",
6317
6245
  "itemtype": "method",
6318
- "name": "didReceiveAttrs",
6246
+ "name": "willRender",
6319
6247
  "access": "public",
6320
6248
  "tagname": "",
6321
6249
  "since": "1.13.0",
@@ -6324,10 +6252,10 @@
6324
6252
  },
6325
6253
  {
6326
6254
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6327
- "line": 927,
6328
- "description": "Called when the attributes passed into the component have been updated.\nCalled both during the initial render of a container and during a rerender.\nCan be used in place of an observer; code placed here will be executed\nevery time any attribute updates.",
6255
+ "line": 701,
6256
+ "description": "Called before a component has been rendered, both on initial render and\n in subsequent rerenders.",
6329
6257
  "itemtype": "event",
6330
- "name": "didReceiveAttrs",
6258
+ "name": "willRender",
6331
6259
  "access": "public",
6332
6260
  "tagname": "",
6333
6261
  "since": "1.13.0",
@@ -6336,10 +6264,10 @@
6336
6264
  },
6337
6265
  {
6338
6266
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6339
- "line": 937,
6340
- "description": "Called after a component has been rendered, both on initial render and\nin subsequent rerenders.",
6267
+ "line": 709,
6268
+ "description": "Called when the attributes passed into the component have been changed.\n Called only during a rerender, not during an initial render.",
6341
6269
  "itemtype": "method",
6342
- "name": "didRender",
6270
+ "name": "didUpdateAttrs",
6343
6271
  "access": "public",
6344
6272
  "tagname": "",
6345
6273
  "since": "1.13.0",
@@ -6348,10 +6276,10 @@
6348
6276
  },
6349
6277
  {
6350
6278
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6351
- "line": 946,
6352
- "description": "Called after a component has been rendered, both on initial render and\nin subsequent rerenders.",
6279
+ "line": 718,
6280
+ "description": "Called when the attributes passed into the component have been changed.\n Called only during a rerender, not during an initial render.",
6353
6281
  "itemtype": "event",
6354
- "name": "didRender",
6282
+ "name": "didUpdateAttrs",
6355
6283
  "access": "public",
6356
6284
  "tagname": "",
6357
6285
  "since": "1.13.0",
@@ -6360,10 +6288,10 @@
6360
6288
  },
6361
6289
  {
6362
6290
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6363
- "line": 954,
6364
- "description": "Called before a component has been rendered, both on initial render and\nin subsequent rerenders.",
6291
+ "line": 726,
6292
+ "description": "Called when the component is about to update and rerender itself.\n Called only during a rerender, not during an initial render.",
6365
6293
  "itemtype": "method",
6366
- "name": "willRender",
6294
+ "name": "willUpdate",
6367
6295
  "access": "public",
6368
6296
  "tagname": "",
6369
6297
  "since": "1.13.0",
@@ -6372,10 +6300,10 @@
6372
6300
  },
6373
6301
  {
6374
6302
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6375
- "line": 963,
6376
- "description": "Called before a component has been rendered, both on initial render and\nin subsequent rerenders.",
6303
+ "line": 735,
6304
+ "description": "Called when the component is about to update and rerender itself.\n Called only during a rerender, not during an initial render.",
6377
6305
  "itemtype": "event",
6378
- "name": "willRender",
6306
+ "name": "willUpdate",
6379
6307
  "access": "public",
6380
6308
  "tagname": "",
6381
6309
  "since": "1.13.0",
@@ -6384,10 +6312,10 @@
6384
6312
  },
6385
6313
  {
6386
6314
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6387
- "line": 971,
6388
- "description": "Called when the attributes passed into the component have been changed.\nCalled only during a rerender, not during an initial render.",
6315
+ "line": 743,
6316
+ "description": "Called when the component has updated and rerendered itself.\n Called only during a rerender, not during an initial render.",
6389
6317
  "itemtype": "method",
6390
- "name": "didUpdateAttrs",
6318
+ "name": "didUpdate",
6391
6319
  "access": "public",
6392
6320
  "tagname": "",
6393
6321
  "since": "1.13.0",
@@ -6396,10 +6324,10 @@
6396
6324
  },
6397
6325
  {
6398
6326
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6399
- "line": 980,
6400
- "description": "Called when the attributes passed into the component have been changed.\nCalled only during a rerender, not during an initial render.",
6327
+ "line": 752,
6328
+ "description": "Called when the component has updated and rerendered itself.\n Called only during a rerender, not during an initial render.",
6401
6329
  "itemtype": "event",
6402
- "name": "didUpdateAttrs",
6330
+ "name": "didUpdate",
6403
6331
  "access": "public",
6404
6332
  "tagname": "",
6405
6333
  "since": "1.13.0",
@@ -6408,64 +6336,88 @@
6408
6336
  },
6409
6337
  {
6410
6338
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6411
- "line": 988,
6412
- "description": "Called when the component is about to update and rerender itself.\nCalled only during a rerender, not during an initial render.",
6413
- "itemtype": "method",
6414
- "name": "willUpdate",
6339
+ "line": 760,
6340
+ "description": "The HTML `id` of the component's element in the DOM. You can provide this\nvalue yourself but it must be unique (just as in HTML):\n\n```handlebars\n{{my-component elementId=\"a-really-cool-id\"}}\n```\n\n```handlebars\n<MyComponent @elementId=\"a-really-cool-id\" />\n```\nIf not manually set a default value will be provided by the framework.\nOnce rendered an element's `elementId` is considered immutable and you\nshould never change it. If you need to compute a dynamic value for the\n`elementId`, you should do this when the component or element is being\ninstantiated:\n\n```javascript\nexport default Component.extend({\n init() {\n this._super(...arguments);\n\n var index = this.get('index');\n this.set('elementId', `component-id${index}`);\n }\n});\n```",
6341
+ "itemtype": "property",
6342
+ "name": "elementId",
6343
+ "type": "String",
6415
6344
  "access": "public",
6416
6345
  "tagname": "",
6417
- "since": "1.13.0",
6418
6346
  "class": "Component",
6419
6347
  "module": "@ember/component"
6420
6348
  },
6421
6349
  {
6422
6350
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6423
- "line": 997,
6424
- "description": "Called when the component is about to update and rerender itself.\nCalled only during a rerender, not during an initial render.",
6425
- "itemtype": "event",
6426
- "name": "willUpdate",
6351
+ "line": 942,
6352
+ "description": "Normally, Ember's component model is \"write-only\". The component takes a\nbunch of attributes that it got passed in, and uses them to render its\ntemplate.\n\nOne nice thing about this model is that if you try to set a value to the\nsame thing as last time, Ember (through HTMLBars) will avoid doing any\nwork on the DOM.\n\nThis is not just a performance optimization. If an attribute has not\nchanged, it is important not to clobber the element's \"hidden state\".\nFor example, if you set an input's `value` to the same value as before,\nit will clobber selection state and cursor position. In other words,\nsetting an attribute is not **always** idempotent.\n\nThis method provides a way to read an element's attribute and also\nupdate the last value Ember knows about at the same time. This makes\nsetting an attribute idempotent.\n\nIn particular, what this means is that if you get an `<input>` element's\n`value` attribute and then re-render the template with the same value,\nit will avoid clobbering the cursor and selection position.\nSince most attribute sets are idempotent in the browser, you typically\ncan get away with reading attributes using jQuery, but the most reliable\nway to do so is through this method.",
6353
+ "itemtype": "method",
6354
+ "name": "readDOMAttr",
6355
+ "params": [
6356
+ {
6357
+ "name": "name",
6358
+ "description": "the name of the attribute",
6359
+ "type": "String"
6360
+ }
6361
+ ],
6362
+ "return": {
6363
+ "description": "String"
6364
+ },
6427
6365
  "access": "public",
6428
6366
  "tagname": "",
6429
- "since": "1.13.0",
6430
6367
  "class": "Component",
6431
6368
  "module": "@ember/component"
6432
6369
  },
6433
6370
  {
6434
6371
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6435
- "line": 1005,
6436
- "description": "Called when the component has updated and rerendered itself.\nCalled only during a rerender, not during an initial render.",
6437
- "itemtype": "method",
6438
- "name": "didUpdate",
6372
+ "line": 1002,
6373
+ "description": "Layout can be used to wrap content in a component.",
6374
+ "itemtype": "property",
6375
+ "name": "layout",
6376
+ "type": "Function",
6439
6377
  "access": "public",
6440
6378
  "tagname": "",
6441
- "since": "1.13.0",
6442
6379
  "class": "Component",
6443
6380
  "module": "@ember/component"
6444
6381
  },
6445
6382
  {
6446
6383
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6447
- "line": 1014,
6448
- "description": "Called when the component has updated and rerendered itself.\nCalled only during a rerender, not during an initial render.",
6449
- "itemtype": "event",
6450
- "name": "didUpdate",
6451
- "access": "public",
6384
+ "line": 1010,
6385
+ "description": "The name of the layout to lookup if no layout is provided.\nBy default `Component` will lookup a template with this name in\n`Ember.TEMPLATES` (a shared global object).",
6386
+ "itemtype": "property",
6387
+ "name": "layoutName",
6388
+ "type": "String",
6389
+ "default": "undefined",
6390
+ "access": "private",
6452
6391
  "tagname": "",
6453
- "since": "1.13.0",
6454
6392
  "class": "Component",
6455
6393
  "module": "@ember/component"
6456
6394
  },
6457
6395
  {
6458
6396
  "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6459
- "line": 1022,
6460
- "description": "The HTML `id` of the component's element in the DOM. You can provide this\nvalue yourself but it must be unique (just as in HTML):\n\n```handlebars\n{{my-component elementId=\"a-really-cool-id\"}}\n```\n\n```handlebars\n<MyComponent @elementId=\"a-really-cool-id\" />\n```\nIf not manually set a default value will be provided by the framework.\nOnce rendered an element's `elementId` is considered immutable and you\nshould never change it. If you need to compute a dynamic value for the\n`elementId`, you should do this when the component or element is being\ninstantiated:\n\n```javascript\nexport default Component.extend({\n init() {\n this._super(...arguments);\n\n var index = this.get('index');\n this.set('elementId', `component-id${index}`);\n }\n});\n```",
6397
+ "line": 1021,
6398
+ "description": "The WAI-ARIA role of the control represented by this view. For example, a\n button may have a role of type 'button', or a pane may have a role of\n type 'alertdialog'. This property is used by assistive software to help\n visually challenged users navigate rich web applications.\n\n The full list of valid WAI-ARIA roles is available at:\n [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)",
6461
6399
  "itemtype": "property",
6462
- "name": "elementId",
6400
+ "name": "ariaRole",
6463
6401
  "type": "String",
6402
+ "default": "undefined",
6464
6403
  "access": "public",
6465
6404
  "tagname": "",
6466
6405
  "class": "Component",
6467
6406
  "module": "@ember/component"
6468
6407
  },
6408
+ {
6409
+ "file": "packages/@ember/-internals/glimmer/lib/component.ts",
6410
+ "line": 1046,
6411
+ "description": "Enables components to take a list of parameters as arguments.\n For example, a component that takes two parameters with the names\n `name` and `age`:\n\n ```app/components/my-component.js\n import Component from '@ember/component';\n\n let MyComponent = Component.extend();\n\n MyComponent.reopenClass({\n positionalParams: ['name', 'age']\n });\n\n export default MyComponent;\n ```\n\n It can then be invoked like this:\n\n ```hbs\n {{my-component \"John\" 38}}\n ```\n\n The parameters can be referred to just like named parameters:\n\n ```hbs\n Name: {{name}}, Age: {{age}}.\n ```\n\n Using a string instead of an array allows for an arbitrary number of\n parameters:\n\n ```app/components/my-component.js\n import Component from '@ember/component';\n\n let MyComponent = Component.extend();\n\n MyComponent.reopenClass({\n positionalParams: 'names'\n });\n\n export default MyComponent;\n ```\n\n It can then be invoked like this:\n\n ```hbs\n {{my-component \"John\" \"Michael\" \"Scott\"}}\n ```\n The parameters can then be referred to by enumerating over the list:\n\n ```hbs\n {{#each names as |name|}}{{name}}{{/each}}\n ```",
6412
+ "static": 1,
6413
+ "access": "public",
6414
+ "tagname": "",
6415
+ "itemtype": "property",
6416
+ "name": "positionalParams",
6417
+ "since": "1.13.0",
6418
+ "class": "Component",
6419
+ "module": "@ember/component"
6420
+ },
6469
6421
  {
6470
6422
  "file": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
6471
6423
  "line": 14,
@@ -6516,7 +6468,7 @@
6516
6468
  },
6517
6469
  {
6518
6470
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
6519
- "line": 246,
6471
+ "line": 247,
6520
6472
  "description": "In many cases it is not necessary to use the full `Helper` class.\nThe `helper` method create pure-function helpers without instances.\nFor example:\n\n```app/helpers/format-currency.js\nimport { helper } from '@ember/component/helper';\n\nexport default helper(function([cents], {currency}) {\n return `${currency}${cents * 0.01}`;\n});\n```",
6521
6473
  "static": 1,
6522
6474
  "params": [
@@ -6534,6 +6486,12 @@
6534
6486
  "class": "@ember/component/helper",
6535
6487
  "module": "@ember/component"
6536
6488
  },
6489
+ {
6490
+ "file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
6491
+ "line": 297,
6492
+ "class": "Ember.Templates.helpers",
6493
+ "module": "@ember/component"
6494
+ },
6537
6495
  {
6538
6496
  "file": "packages/@ember/-internals/glimmer/tests/integration/custom-helper-test.js",
6539
6497
  "line": 12,
@@ -6620,248 +6578,248 @@
6620
6578
  },
6621
6579
  {
6622
6580
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6623
- "line": 89,
6581
+ "line": 90,
6624
6582
  "class": "Ember",
6625
6583
  "module": "ember"
6626
6584
  },
6627
6585
  {
6628
6586
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6629
- "line": 91,
6587
+ "line": 92,
6630
6588
  "class": "Ember",
6631
6589
  "module": "ember"
6632
6590
  },
6633
6591
  {
6634
6592
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6635
- "line": 93,
6593
+ "line": 94,
6636
6594
  "class": "Ember",
6637
6595
  "module": "ember"
6638
6596
  },
6639
6597
  {
6640
6598
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6641
- "line": 95,
6599
+ "line": 96,
6642
6600
  "class": "Ember",
6643
6601
  "module": "ember"
6644
6602
  },
6645
6603
  {
6646
6604
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6647
- "line": 97,
6605
+ "line": 98,
6648
6606
  "class": "Ember",
6649
6607
  "module": "ember"
6650
6608
  },
6651
6609
  {
6652
6610
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6653
- "line": 99,
6611
+ "line": 100,
6654
6612
  "class": "Ember",
6655
6613
  "module": "ember"
6656
6614
  },
6657
6615
  {
6658
6616
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6659
- "line": 101,
6617
+ "line": 102,
6660
6618
  "class": "Ember",
6661
6619
  "module": "ember"
6662
6620
  },
6663
6621
  {
6664
6622
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6665
- "line": 103,
6623
+ "line": 104,
6666
6624
  "class": "Ember",
6667
6625
  "module": "ember"
6668
6626
  },
6669
6627
  {
6670
6628
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6671
- "line": 105,
6629
+ "line": 106,
6672
6630
  "class": "Ember",
6673
6631
  "module": "ember"
6674
6632
  },
6675
6633
  {
6676
6634
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6677
- "line": 108,
6635
+ "line": 109,
6678
6636
  "class": "Ember",
6679
6637
  "module": "ember"
6680
6638
  },
6681
6639
  {
6682
6640
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6683
- "line": 110,
6641
+ "line": 111,
6684
6642
  "class": "Ember",
6685
6643
  "module": "ember"
6686
6644
  },
6687
6645
  {
6688
6646
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6689
- "line": 112,
6647
+ "line": 113,
6690
6648
  "class": "Ember",
6691
6649
  "module": "ember"
6692
6650
  },
6693
6651
  {
6694
6652
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6695
- "line": 114,
6653
+ "line": 115,
6696
6654
  "class": "Ember",
6697
6655
  "module": "ember"
6698
6656
  },
6699
6657
  {
6700
6658
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6701
- "line": 118,
6659
+ "line": 119,
6702
6660
  "class": "Ember",
6703
6661
  "module": "ember"
6704
6662
  },
6705
6663
  {
6706
6664
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6707
- "line": 141,
6665
+ "line": 142,
6708
6666
  "class": "Ember",
6709
6667
  "module": "ember"
6710
6668
  },
6711
6669
  {
6712
6670
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6713
- "line": 155,
6671
+ "line": 156,
6714
6672
  "class": "Ember",
6715
6673
  "module": "ember"
6716
6674
  },
6717
6675
  {
6718
6676
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6719
- "line": 160,
6677
+ "line": 161,
6720
6678
  "class": "Ember",
6721
6679
  "module": "ember"
6722
6680
  },
6723
6681
  {
6724
6682
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6725
- "line": 165,
6683
+ "line": 166,
6726
6684
  "class": "Ember",
6727
6685
  "module": "ember"
6728
6686
  },
6729
6687
  {
6730
6688
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6731
- "line": 170,
6689
+ "line": 171,
6732
6690
  "class": "Ember",
6733
6691
  "module": "ember"
6734
6692
  },
6735
6693
  {
6736
6694
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6737
- "line": 175,
6695
+ "line": 176,
6738
6696
  "class": "Ember",
6739
6697
  "module": "ember"
6740
6698
  },
6741
6699
  {
6742
6700
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6743
- "line": 180,
6701
+ "line": 181,
6744
6702
  "class": "Ember",
6745
6703
  "module": "ember"
6746
6704
  },
6747
6705
  {
6748
6706
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6749
- "line": 195,
6707
+ "line": 196,
6750
6708
  "class": "Ember",
6751
6709
  "module": "ember"
6752
6710
  },
6753
6711
  {
6754
6712
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6755
- "line": 208,
6713
+ "line": 209,
6756
6714
  "class": "Ember",
6757
6715
  "module": "ember"
6758
6716
  },
6759
6717
  {
6760
6718
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6761
- "line": 215,
6719
+ "line": 216,
6762
6720
  "class": "Ember",
6763
6721
  "module": "ember"
6764
6722
  },
6765
6723
  {
6766
6724
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6767
- "line": 222,
6725
+ "line": 223,
6768
6726
  "class": "Ember",
6769
6727
  "module": "ember"
6770
6728
  },
6771
6729
  {
6772
6730
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6773
- "line": 229,
6731
+ "line": 230,
6774
6732
  "class": "Ember",
6775
6733
  "module": "ember"
6776
6734
  },
6777
6735
  {
6778
6736
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6779
- "line": 236,
6737
+ "line": 237,
6780
6738
  "class": "Ember",
6781
6739
  "module": "ember"
6782
6740
  },
6783
6741
  {
6784
6742
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6785
- "line": 253,
6743
+ "line": 254,
6786
6744
  "class": "Ember",
6787
6745
  "module": "ember"
6788
6746
  },
6789
6747
  {
6790
6748
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6791
- "line": 268,
6749
+ "line": 269,
6792
6750
  "class": "Ember",
6793
6751
  "module": "ember"
6794
6752
  },
6795
6753
  {
6796
6754
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6797
- "line": 282,
6755
+ "line": 283,
6798
6756
  "class": "Ember",
6799
6757
  "module": "ember"
6800
6758
  },
6801
6759
  {
6802
6760
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6803
- "line": 287,
6761
+ "line": 288,
6804
6762
  "class": "Ember",
6805
6763
  "module": "ember"
6806
6764
  },
6807
6765
  {
6808
6766
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6809
- "line": 307,
6767
+ "line": 308,
6810
6768
  "class": "Ember",
6811
6769
  "module": "ember"
6812
6770
  },
6813
6771
  {
6814
6772
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6815
- "line": 321,
6773
+ "line": 322,
6816
6774
  "class": "Ember",
6817
6775
  "module": "ember"
6818
6776
  },
6819
6777
  {
6820
6778
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6821
- "line": 327,
6779
+ "line": 328,
6822
6780
  "class": "Ember",
6823
6781
  "module": "ember"
6824
6782
  },
6825
6783
  {
6826
6784
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6827
- "line": 332,
6785
+ "line": 333,
6828
6786
  "class": "Ember",
6829
6787
  "module": "ember"
6830
6788
  },
6831
6789
  {
6832
6790
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6833
- "line": 353,
6791
+ "line": 354,
6834
6792
  "class": "Ember",
6835
6793
  "module": "ember"
6836
6794
  },
6837
6795
  {
6838
6796
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6839
- "line": 368,
6797
+ "line": 369,
6840
6798
  "class": "Ember",
6841
6799
  "module": "ember"
6842
6800
  },
6843
6801
  {
6844
6802
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6845
- "line": 473,
6803
+ "line": 476,
6846
6804
  "description": "Flattening is based on a global revision counter. If the revision has\nbumped it means that somewhere in a class inheritance chain something has\nchanged, so we need to reflatten everything. This can only happen if:\n\n1. A meta has been flattened (listener has been called)\n2. The meta is a prototype meta with children who have inherited its\n listeners\n3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n\nThis is a very rare occurrence, so while the counter is global it shouldn't\nbe updated very often in practice.",
6847
6805
  "class": "Ember",
6848
6806
  "module": "ember"
6849
6807
  },
6850
6808
  {
6851
6809
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6852
- "line": 547,
6810
+ "line": 550,
6853
6811
  "class": "Ember",
6854
6812
  "module": "ember"
6855
6813
  },
6856
6814
  {
6857
6815
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6858
- "line": 578,
6816
+ "line": 581,
6859
6817
  "class": "Ember",
6860
6818
  "module": "ember"
6861
6819
  },
6862
6820
  {
6863
6821
  "file": "packages/@ember/-internals/meta/lib/meta.ts",
6864
- "line": 670,
6822
+ "line": 673,
6865
6823
  "description": "Retrieves the meta hash for an object. If `writable` is true ensures the\nhash is writable for this object as well.\n\nThe meta object contains information about computed property descriptors as\nwell as any watched properties and other information. You generally will\nnot access this information directly but instead work with higher level\nmethods that manipulate this hash indirectly.",
6866
6824
  "itemtype": "method",
6867
6825
  "name": "meta",
@@ -7014,7 +6972,7 @@
7014
6972
  },
7015
6973
  {
7016
6974
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7017
- "line": 158,
6975
+ "line": 156,
7018
6976
  "description": "Returns the CP descriptor associated with `obj` and `keyName`, if any.",
7019
6977
  "itemtype": "method",
7020
6978
  "name": "descriptorForProperty",
@@ -7041,7 +6999,7 @@
7041
6999
  },
7042
7000
  {
7043
7001
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7044
- "line": 186,
7002
+ "line": 184,
7045
7003
  "description": "Check whether a value is a decorator",
7046
7004
  "itemtype": "method",
7047
7005
  "name": "isClassicDecorator",
@@ -7063,7 +7021,7 @@
7063
7021
  },
7064
7022
  {
7065
7023
  "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7066
- "line": 198,
7024
+ "line": 196,
7067
7025
  "description": "Set a value as a decorator",
7068
7026
  "itemtype": "method",
7069
7027
  "name": "setClassicDecorator",
@@ -7414,7 +7372,7 @@
7414
7372
  },
7415
7373
  {
7416
7374
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7417
- "line": 426,
7375
+ "line": 430,
7418
7376
  "itemtype": "method",
7419
7377
  "name": "mixin",
7420
7378
  "params": [
@@ -7438,43 +7396,43 @@
7438
7396
  },
7439
7397
  {
7440
7398
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7441
- "line": 523,
7399
+ "line": 527,
7442
7400
  "class": "Mixin",
7443
7401
  "module": "@ember/object"
7444
7402
  },
7445
7403
  {
7446
7404
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7447
- "line": 526,
7405
+ "line": 530,
7448
7406
  "class": "Mixin",
7449
7407
  "module": "@ember/object"
7450
7408
  },
7451
7409
  {
7452
7410
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7453
- "line": 529,
7411
+ "line": 533,
7454
7412
  "class": "Mixin",
7455
7413
  "module": "@ember/object"
7456
7414
  },
7457
7415
  {
7458
7416
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7459
- "line": 532,
7417
+ "line": 536,
7460
7418
  "class": "Mixin",
7461
7419
  "module": "@ember/object"
7462
7420
  },
7463
7421
  {
7464
7422
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7465
- "line": 535,
7423
+ "line": 539,
7466
7424
  "class": "Mixin",
7467
7425
  "module": "@ember/object"
7468
7426
  },
7469
7427
  {
7470
7428
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7471
- "line": 538,
7429
+ "line": 542,
7472
7430
  "class": "Mixin",
7473
7431
  "module": "@ember/object"
7474
7432
  },
7475
7433
  {
7476
7434
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7477
- "line": 564,
7435
+ "line": 568,
7478
7436
  "itemtype": "method",
7479
7437
  "name": "create",
7480
7438
  "static": 1,
@@ -7492,13 +7450,13 @@
7492
7450
  },
7493
7451
  {
7494
7452
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7495
- "line": 579,
7453
+ "line": 583,
7496
7454
  "class": "@ember/object/mixin",
7497
7455
  "module": "@ember/object"
7498
7456
  },
7499
7457
  {
7500
7458
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7501
- "line": 597,
7459
+ "line": 601,
7502
7460
  "itemtype": "method",
7503
7461
  "name": "reopen",
7504
7462
  "params": [
@@ -7516,7 +7474,7 @@
7516
7474
  },
7517
7475
  {
7518
7476
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7519
- "line": 620,
7477
+ "line": 624,
7520
7478
  "itemtype": "method",
7521
7479
  "name": "apply",
7522
7480
  "params": [
@@ -7536,13 +7494,13 @@
7536
7494
  },
7537
7495
  {
7538
7496
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7539
- "line": 636,
7497
+ "line": 640,
7540
7498
  "class": "@ember/object/mixin",
7541
7499
  "module": "@ember/object"
7542
7500
  },
7543
7501
  {
7544
7502
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7545
- "line": 641,
7503
+ "line": 645,
7546
7504
  "itemtype": "method",
7547
7505
  "name": "detect",
7548
7506
  "params": [
@@ -7563,25 +7521,25 @@
7563
7521
  },
7564
7522
  {
7565
7523
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7566
- "line": 662,
7524
+ "line": 666,
7567
7525
  "class": "@ember/object/mixin",
7568
7526
  "module": "@ember/object"
7569
7527
  },
7570
7528
  {
7571
7529
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7572
- "line": 669,
7530
+ "line": 673,
7573
7531
  "class": "@ember/object/mixin",
7574
7532
  "module": "@ember/object"
7575
7533
  },
7576
7534
  {
7577
7535
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7578
- "line": 674,
7536
+ "line": 678,
7579
7537
  "class": "@ember/object/mixin",
7580
7538
  "module": "@ember/object"
7581
7539
  },
7582
7540
  {
7583
7541
  "file": "packages/@ember/-internals/metal/lib/mixin.ts",
7584
- "line": 766,
7542
+ "line": 770,
7585
7543
  "description": "Specify a method that observes property changes.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { observer } from '@ember/object';\n\nexport default EmberObject.extend({\n valueObserver: observer('value', function() {\n // Executes whenever the \"value\" property changes\n })\n});\n```\n\nAlso available as `Function.prototype.observes` if prototype extensions are\nenabled.",
7586
7544
  "itemtype": "method",
7587
7545
  "name": "observer",
@@ -7805,7 +7763,7 @@
7805
7763
  },
7806
7764
  {
7807
7765
  "file": "packages/@ember/-internals/metal/lib/property_get.ts",
7808
- "line": 42,
7766
+ "line": 50,
7809
7767
  "description": "Gets the value of a property on an object. If the property is computed,\nthe function will be invoked. If the property is not defined but the\nobject implements the `unknownProperty` method then that will be invoked.\n\n```javascript\nimport { get } from '@ember/object';\nget(obj, \"name\");\n```\n\nIf you plan to run on IE8 and older browsers then you should use this\nmethod anytime you want to retrieve a property on an object that you don't\nknow for sure is private. (Properties beginning with an underscore '_'\nare considered private.)\n\nOn all newer browsers, you only need to use this method to retrieve\nproperties if the property might not be defined on the object and you want\nto respect the `unknownProperty` handler. Otherwise you can ignore this\nmethod.\n\nNote that if the object itself is `undefined`, this method will throw\nan error.",
7810
7768
  "itemtype": "method",
7811
7769
  "name": "get",
@@ -8634,7 +8592,7 @@
8634
8592
  },
8635
8593
  {
8636
8594
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8637
- "line": 81,
8595
+ "line": 80,
8638
8596
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\nCalling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\nThis behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\nSee the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n\nIn the following example we use the Router service to navigate to a route with a\nspecific model from a Component in the first action, and in the second we trigger\na query-params only transition.\n\n```app/components/example.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n @action\n goToComments(post) {\n this.router.transitionTo('comments', post);\n }\n\n @action\n fetchMoreComments(latestComment) {\n this.router.transitionTo({\n queryParams: { commentsAfter: latestComment }\n });\n }\n}\n```",
8639
8597
  "itemtype": "method",
8640
8598
  "name": "transitionTo",
@@ -8669,7 +8627,7 @@
8669
8627
  },
8670
8628
  {
8671
8629
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8672
- "line": 140,
8630
+ "line": 139,
8673
8631
  "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.\n\nCalling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\nThis behavior is different from calling `replaceWith` on a route.\nSee the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n\nUsage example:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\n\nexport default class extends Route {\n beforeModel() {\n if (!authorized()){\n this.replaceWith('unauthorized');\n }\n }\n});\n```",
8674
8632
  "itemtype": "method",
8675
8633
  "name": "replaceWith",
@@ -8702,7 +8660,7 @@
8702
8660
  },
8703
8661
  {
8704
8662
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8705
- "line": 179,
8663
+ "line": 178,
8706
8664
  "description": "Generate a URL based on the supplied route name and optionally a model. The\nURL is returned as a string that can be used for any purpose.\n\nIn this example, the URL for the `author.books` route for a given author\nis copied to the clipboard.\n\n```app/templates/application.hbs\n<CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n```\n\n```app/components/copy-link.js\nimport Component from '@glimmer/component';\nimport { service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class CopyLinkComponent extends Component {\n @service router;\n @service clipboard;\n\n @action\n copyBooksURL() {\n if (this.author) {\n const url = this.router.urlFor('author.books', this.args.author);\n this.clipboard.set(url);\n // Clipboard now has /author/tomster/books\n }\n }\n}\n```\n\nJust like with `transitionTo` and `replaceWith`, `urlFor` can also handle\nquery parameters.\n\n```app/templates/application.hbs\n<CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n```\n\n```app/components/copy-link.js\nimport Component from '@glimmer/component';\nimport { service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class CopyLinkComponent extends Component {\n @service router;\n @service clipboard;\n\n @action\n copyOnlyEmberBooksURL() {\n if (this.author) {\n const url = this.router.urlFor('author.books', this.author, {\n queryParams: { filter: 'emberjs' }\n });\n this.clipboard.set(url);\n // Clipboard now has /author/tomster/books?filter=emberjs\n }\n }\n}\n```",
8707
8665
  "itemtype": "method",
8708
8666
  "name": "urlFor",
@@ -8735,7 +8693,7 @@
8735
8693
  },
8736
8694
  {
8737
8695
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8738
- "line": 252,
8696
+ "line": 251,
8739
8697
  "description": "Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\nSee [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n[queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n\nIn the following example, `isActive` will return `true` if the current route is `/posts`.\n\n```app/components/posts.js\nimport Component from '@glimmer/component';\nimport { service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n displayComments() {\n return this.router.isActive('posts');\n }\n});\n```\n\nThe next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\nassuming the post has an id of 1:\n\n```app/components/posts.js\nimport Component from '@glimmer/component';\nimport { service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n displayComments(post) {\n return this.router.isActive('posts', post.id);\n }\n});\n```\n\nWhere `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\nIf `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.",
8740
8698
  "itemtype": "method",
8741
8699
  "name": "isActive",
@@ -8768,7 +8726,7 @@
8768
8726
  },
8769
8727
  {
8770
8728
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8771
- "line": 356,
8729
+ "line": 355,
8772
8730
  "description": "Takes a string URL and returns a `RouteInfo` for the leafmost route represented\nby the URL. Returns `null` if the URL is not recognized. This method expects to\nreceive the actual URL as seen by the browser including the app's `rootURL`.\n\nSee [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n\nIn the following example `recognize` is used to verify if a path belongs to our\napplication before transitioning to it.\n\n```\nimport Component from '@ember/component';\nimport { service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n path = '/';\n\n click() {\n if (this.router.recognize(this.path)) {\n this.router.transitionTo(this.path);\n }\n }\n}\n```",
8773
8731
  "itemtype": "method",
8774
8732
  "name": "recognize",
@@ -8790,7 +8748,7 @@
8790
8748
  },
8791
8749
  {
8792
8750
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8793
- "line": 397,
8751
+ "line": 396,
8794
8752
  "description": "Takes a string URL and returns a promise that resolves to a\n`RouteInfoWithAttributes` for the leafmost route represented by the URL.\nThe promise rejects if the URL is not recognized or an unhandled exception\nis encountered. This method expects to receive the actual URL as seen by\nthe browser including the app's `rootURL`.",
8795
8753
  "itemtype": "method",
8796
8754
  "name": "recognizeAndLoad",
@@ -8812,7 +8770,7 @@
8812
8770
  },
8813
8771
  {
8814
8772
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8815
- "line": 419,
8773
+ "line": 418,
8816
8774
  "description": "You can register a listener for events emitted by this service with `.on()`:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing';\nimport { service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n activate() {\n this.router.on('routeWillChange', (transition) => {\n if (!transition.to.find(route => route.name === this.routeName)) {\n alert(\"Please save or cancel your changes.\");\n transition.abort();\n }\n })\n }\n}\n```",
8817
8775
  "itemtype": "method",
8818
8776
  "name": "on",
@@ -8835,7 +8793,7 @@
8835
8793
  },
8836
8794
  {
8837
8795
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8838
- "line": 446,
8796
+ "line": 445,
8839
8797
  "description": "You can unregister a listener for events emitted by this service with `.off()`:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing';\nimport { service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n callback = (transition) => {\n if (!transition.to.find(route => route.name === this.routeName)) {\n alert(\"Please save or cancel your changes.\");\n transition.abort();\n }\n };\n\n activate() {\n this.router.on('routeWillChange', this.callback);\n }\n\n deactivate() {\n this.router.off('routeWillChange', this.callback);\n}\n```",
8840
8798
  "itemtype": "method",
8841
8799
  "name": "off",
@@ -8858,7 +8816,7 @@
8858
8816
  },
8859
8817
  {
8860
8818
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8861
- "line": 478,
8819
+ "line": 477,
8862
8820
  "description": "The `routeWillChange` event 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';\nimport { service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n activate() {\n this.router.on('routeWillChange', (transition) => {\n if (!transition.to.find(route => route.name === this.routeName)) {\n alert(\"Please save or cancel your changes.\");\n transition.abort();\n }\n })\n }\n}\n```\n\nThe `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.",
8863
8821
  "itemtype": "event",
8864
8822
  "name": "routeWillChange",
@@ -8876,7 +8834,7 @@
8876
8834
  },
8877
8835
  {
8878
8836
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8879
- "line": 512,
8837
+ "line": 511,
8880
8838
  "description": "The `routeDidChange` event only fires once a transition has settled.\nThis includes aborts and error substates. Like the `routeWillChange` event\nit receives a Transition as the sole argument.\n\nA good example is sending some analytics when the route has transitioned:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing';\nimport { service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n activate() {\n this.router.on('routeDidChange', (transition) => {\n ga.send('pageView', {\n current: transition.to.name,\n from: transition.from.name\n });\n })\n }\n}\n```\n\n`routeDidChange` will be called after any `Route`'s\n[didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\naction has been fired.\nThe updates of properties\n[currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n[currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\nand\n[currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\nare completed at the time `routeDidChange` is called.",
8881
8839
  "itemtype": "event",
8882
8840
  "name": "routeDidChange",
@@ -8894,7 +8852,7 @@
8894
8852
  },
8895
8853
  {
8896
8854
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8897
- "line": 553,
8855
+ "line": 551,
8898
8856
  "description": "Refreshes all currently active routes, doing a full transition.\nIf a route name is provided and refers to a currently active route,\nit will refresh only that route and its descendents.\nReturns a promise that will be resolved once the refresh is complete.\nAll resetController, beforeModel, model, afterModel, redirect, and setupController\nhooks will be called again. You will get new data from the model hook.",
8899
8857
  "itemtype": "method",
8900
8858
  "name": "refresh",
@@ -8909,9 +8867,6 @@
8909
8867
  "return": {
8910
8868
  "description": "Transition"
8911
8869
  },
8912
- "category": [
8913
- "EMBER_ROUTING_ROUTER_SERVICE_REFRESH"
8914
- ],
8915
8870
  "access": "public",
8916
8871
  "tagname": "",
8917
8872
  "class": "RouterService",
@@ -8919,7 +8874,7 @@
8919
8874
  },
8920
8875
  {
8921
8876
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8922
- "line": 590,
8877
+ "line": 581,
8923
8878
  "description": "Name of the current route.\n\n This property represents the logical name of the route,\n which is comma separated.\n For the following router:\n\n ```app/router.js\n Router.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n });\n ```\n\n It will return:\n\n * `index` when you visit `/`\n * `about` when you visit `/about`\n * `blog.index` when you visit `/blog`\n * `blog.post` when you visit `/blog/some-post-id`",
8924
8879
  "itemtype": "property",
8925
8880
  "name": "currentRouteName",
@@ -8931,7 +8886,7 @@
8931
8886
  },
8932
8887
  {
8933
8888
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8934
- "line": 620,
8889
+ "line": 611,
8935
8890
  "description": "Current URL for the application.\n\n This property represents the URL path for this route.\n For the following router:\n\n ```app/router.js\n Router.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n });\n ```\n\n It will return:\n\n * `/` when you visit `/`\n * `/about` when you visit `/about`\n * `/blog` when you visit `/blog`\n * `/blog/some-post-id` when you visit `/blog/some-post-id`",
8936
8891
  "itemtype": "property",
8937
8892
  "name": "currentURL",
@@ -8943,7 +8898,7 @@
8943
8898
  },
8944
8899
  {
8945
8900
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8946
- "line": 649,
8901
+ "line": 640,
8947
8902
  "description": "The `location` property returns what implementation of the `location` API\nyour application is using, which determines what type of URL is being used.\n\nSee [Location](/ember/release/classes/Location) for more information.\n\nTo force a particular `location` API implementation to be used in your\napplication you can set a location type on your `config/environment`.\nFor example, to set the `history` type:\n\n```config/environment.js\n'use strict';\n\nmodule.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/',\n locationType: 'history',\n ...\n }\n}\n```\n\nThe following location types are available by default:\n`auto`, `hash`, `history`, `none`.\n\nSee [HashLocation](/ember/release/classes/HashLocation).\nSee [HistoryLocation](/ember/release/classes/HistoryLocation).\nSee [NoneLocation](/ember/release/classes/NoneLocation).\nSee [AutoLocation](/ember/release/classes/AutoLocation).",
8948
8903
  "itemtype": "property",
8949
8904
  "name": "location",
@@ -8958,7 +8913,7 @@
8958
8913
  },
8959
8914
  {
8960
8915
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8961
- "line": 689,
8916
+ "line": 680,
8962
8917
  "description": "The `rootURL` property represents the URL of the root of\nthe application, '/' by default.\nThis prefix is assumed on all routes defined on this app.\n\nIf you change the `rootURL` in your environment configuration\nlike so:\n\n```config/environment.js\n'use strict';\n\nmodule.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/my-root',\n …\n }\n]\n```\n\nThis property will return `/my-root`.",
8963
8918
  "itemtype": "property",
8964
8919
  "name": "rootURL",
@@ -8970,7 +8925,7 @@
8970
8925
  },
8971
8926
  {
8972
8927
  "file": "packages/@ember/-internals/routing/lib/services/router.ts",
8973
- "line": 719,
8928
+ "line": 710,
8974
8929
  "description": "The `currentRoute` property contains metadata about the current leaf route.\nIt returns a `RouteInfo` object that has information like the route name,\nparams, query params and more.\n\nSee [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n\nThis property is guaranteed to change whenever a route transition\nhappens (even when that transition only changes parameters\nand doesn't change the active route).\n\nUsage example:\n```app/components/header.js\n import Component from '@glimmer/component';\n import { service } from '@ember/service';\n import { notEmpty } from '@ember/object/computed';\n\n export default class extends Component {\n @service router;\n\n @notEmpty('router.currentRoute.child') isChildRoute;\n });\n```",
8975
8930
  "itemtype": "property",
8976
8931
  "name": "currentRoute",
@@ -9016,7 +8971,7 @@
9016
8971
  },
9017
8972
  {
9018
8973
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9019
- "line": 16,
8974
+ "line": 20,
9020
8975
  "description": "The dot-separated, fully-qualified name of the\nroute, like \"people.index\".",
9021
8976
  "itemtype": "property",
9022
8977
  "name": "name",
@@ -9024,11 +8979,11 @@
9024
8979
  "access": "public",
9025
8980
  "tagname": "",
9026
8981
  "class": "RouteInfoWithAttributes",
9027
- "module": "ember"
8982
+ "module": "@ember/routing"
9028
8983
  },
9029
8984
  {
9030
8985
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9031
- "line": 23,
8986
+ "line": 27,
9032
8987
  "description": "The final segment of the fully-qualified name of\nthe route, like \"index\"",
9033
8988
  "itemtype": "property",
9034
8989
  "name": "localName",
@@ -9036,11 +8991,11 @@
9036
8991
  "access": "public",
9037
8992
  "tagname": "",
9038
8993
  "class": "RouteInfoWithAttributes",
9039
- "module": "ember"
8994
+ "module": "@ember/routing"
9040
8995
  },
9041
8996
  {
9042
8997
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9043
- "line": 30,
8998
+ "line": 34,
9044
8999
  "description": "The values of the route's parameters. These are the\nsame params that are received as arguments to the\nroute's model hook. Contains only the parameters\nvalid for this route, if any (params for parent or\nchild routes are not merged).",
9045
9000
  "itemtype": "property",
9046
9001
  "name": "params",
@@ -9048,11 +9003,11 @@
9048
9003
  "access": "public",
9049
9004
  "tagname": "",
9050
9005
  "class": "RouteInfoWithAttributes",
9051
- "module": "ember"
9006
+ "module": "@ember/routing"
9052
9007
  },
9053
9008
  {
9054
9009
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9055
- "line": 40,
9010
+ "line": 44,
9056
9011
  "description": "The ordered list of the names of the params\nrequired for this route. It will contain the same\nstrings as `Object.keys(params)`, but here the order\nis significant. This allows users to correctly pass\nparams into routes programmatically.",
9057
9012
  "itemtype": "property",
9058
9013
  "name": "paramNames",
@@ -9060,11 +9015,11 @@
9060
9015
  "access": "public",
9061
9016
  "tagname": "",
9062
9017
  "class": "RouteInfoWithAttributes",
9063
- "module": "ember"
9018
+ "module": "@ember/routing"
9064
9019
  },
9065
9020
  {
9066
9021
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9067
- "line": 50,
9022
+ "line": 54,
9068
9023
  "description": "The values of any queryParams on this route.",
9069
9024
  "itemtype": "property",
9070
9025
  "name": "queryParams",
@@ -9072,11 +9027,11 @@
9072
9027
  "access": "public",
9073
9028
  "tagname": "",
9074
9029
  "class": "RouteInfoWithAttributes",
9075
- "module": "ember"
9030
+ "module": "@ember/routing"
9076
9031
  },
9077
9032
  {
9078
9033
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9079
- "line": 56,
9034
+ "line": 60,
9080
9035
  "description": "This is the resolved return value from the\nroute's model hook.",
9081
9036
  "itemtype": "property",
9082
9037
  "name": "attributes",
@@ -9084,11 +9039,11 @@
9084
9039
  "access": "public",
9085
9040
  "tagname": "",
9086
9041
  "class": "RouteInfoWithAttributes",
9087
- "module": "ember"
9042
+ "module": "@ember/routing"
9088
9043
  },
9089
9044
  {
9090
9045
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9091
- "line": 63,
9046
+ "line": 67,
9092
9047
  "description": "Will contain the result `Route#buildRouteInfoMetadata`\nfor the corresponding Route.",
9093
9048
  "itemtype": "property",
9094
9049
  "name": "metadata",
@@ -9096,11 +9051,11 @@
9096
9051
  "access": "public",
9097
9052
  "tagname": "",
9098
9053
  "class": "RouteInfoWithAttributes",
9099
- "module": "ember"
9054
+ "module": "@ember/routing"
9100
9055
  },
9101
9056
  {
9102
9057
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9103
- "line": 70,
9058
+ "line": 74,
9104
9059
  "description": "A reference to the parent route's RouteInfo.\nThis can be used to traverse upward to the topmost\n`RouteInfo`.",
9105
9060
  "itemtype": "property",
9106
9061
  "name": "parent",
@@ -9108,11 +9063,11 @@
9108
9063
  "access": "public",
9109
9064
  "tagname": "",
9110
9065
  "class": "RouteInfoWithAttributes",
9111
- "module": "ember"
9066
+ "module": "@ember/routing"
9112
9067
  },
9113
9068
  {
9114
9069
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9115
- "line": 78,
9070
+ "line": 82,
9116
9071
  "description": "A reference to the child route's RouteInfo.\nThis can be used to traverse downward to the\nleafmost `RouteInfo`.",
9117
9072
  "itemtype": "property",
9118
9073
  "name": "child",
@@ -9120,11 +9075,11 @@
9120
9075
  "access": "public",
9121
9076
  "tagname": "",
9122
9077
  "class": "RouteInfoWithAttributes",
9123
- "module": "ember"
9078
+ "module": "@ember/routing"
9124
9079
  },
9125
9080
  {
9126
9081
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9127
- "line": 86,
9082
+ "line": 90,
9128
9083
  "description": "Allows you to traverse through the linked list\nof `RouteInfo`s from the topmost to leafmost.\nReturns the first `RouteInfo` in the linked list\nfor which the callback returns true.\n\n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n\n The callback method you provide should have the\n following signature (all parameters are optional):\n\n ```javascript\n function(item, index, array);\n ```\n\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n\n It should return the `true` to include the item in\n the results, `false` otherwise.\n\n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.",
9129
9084
  "itemtype": "method",
9130
9085
  "name": "find",
@@ -9148,11 +9103,11 @@
9148
9103
  "access": "public",
9149
9104
  "tagname": "",
9150
9105
  "class": "RouteInfoWithAttributes",
9151
- "module": "ember"
9106
+ "module": "@ember/routing"
9152
9107
  },
9153
9108
  {
9154
9109
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9155
- "line": 131,
9110
+ "line": 135,
9156
9111
  "description": "The dot-separated, fully-qualified name of the\nroute, like \"people.index\".",
9157
9112
  "itemtype": "property",
9158
9113
  "name": "name",
@@ -9160,11 +9115,11 @@
9160
9115
  "access": "public",
9161
9116
  "tagname": "",
9162
9117
  "class": "RouteInfo",
9163
- "module": "ember"
9118
+ "module": "@ember/routing"
9164
9119
  },
9165
9120
  {
9166
9121
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9167
- "line": 138,
9122
+ "line": 142,
9168
9123
  "description": "The final segment of the fully-qualified name of\nthe route, like \"index\"",
9169
9124
  "itemtype": "property",
9170
9125
  "name": "localName",
@@ -9172,11 +9127,11 @@
9172
9127
  "access": "public",
9173
9128
  "tagname": "",
9174
9129
  "class": "RouteInfo",
9175
- "module": "ember"
9130
+ "module": "@ember/routing"
9176
9131
  },
9177
9132
  {
9178
9133
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9179
- "line": 145,
9134
+ "line": 149,
9180
9135
  "description": "The values of the route's parameters. These are the\nsame params that are received as arguments to the\nroute's `model` hook. Contains only the parameters\nvalid for this route, if any (params for parent or\nchild routes are not merged).",
9181
9136
  "itemtype": "property",
9182
9137
  "name": "params",
@@ -9184,11 +9139,11 @@
9184
9139
  "access": "public",
9185
9140
  "tagname": "",
9186
9141
  "class": "RouteInfo",
9187
- "module": "ember"
9142
+ "module": "@ember/routing"
9188
9143
  },
9189
9144
  {
9190
9145
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9191
- "line": 155,
9146
+ "line": 159,
9192
9147
  "description": "The ordered list of the names of the params\nrequired for this route. It will contain the same\nstrings as Object.keys(params), but here the order\nis significant. This allows users to correctly pass\nparams into routes programmatically.",
9193
9148
  "itemtype": "property",
9194
9149
  "name": "paramNames",
@@ -9196,11 +9151,11 @@
9196
9151
  "access": "public",
9197
9152
  "tagname": "",
9198
9153
  "class": "RouteInfo",
9199
- "module": "ember"
9154
+ "module": "@ember/routing"
9200
9155
  },
9201
9156
  {
9202
9157
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9203
- "line": 165,
9158
+ "line": 169,
9204
9159
  "description": "The values of any queryParams on this route.",
9205
9160
  "itemtype": "property",
9206
9161
  "name": "queryParams",
@@ -9208,11 +9163,11 @@
9208
9163
  "access": "public",
9209
9164
  "tagname": "",
9210
9165
  "class": "RouteInfo",
9211
- "module": "ember"
9166
+ "module": "@ember/routing"
9212
9167
  },
9213
9168
  {
9214
9169
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9215
- "line": 171,
9170
+ "line": 175,
9216
9171
  "description": "Will contain the result `Route#buildRouteInfoMetadata`\nfor the corresponding Route.",
9217
9172
  "itemtype": "property",
9218
9173
  "name": "metadata",
@@ -9220,11 +9175,11 @@
9220
9175
  "access": "public",
9221
9176
  "tagname": "",
9222
9177
  "class": "RouteInfo",
9223
- "module": "ember"
9178
+ "module": "@ember/routing"
9224
9179
  },
9225
9180
  {
9226
9181
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9227
- "line": 178,
9182
+ "line": 182,
9228
9183
  "description": "A reference to the parent route's `RouteInfo`.\nThis can be used to traverse upward to the topmost\n`RouteInfo`.",
9229
9184
  "itemtype": "property",
9230
9185
  "name": "parent",
@@ -9232,11 +9187,11 @@
9232
9187
  "access": "public",
9233
9188
  "tagname": "",
9234
9189
  "class": "RouteInfo",
9235
- "module": "ember"
9190
+ "module": "@ember/routing"
9236
9191
  },
9237
9192
  {
9238
9193
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9239
- "line": 186,
9194
+ "line": 190,
9240
9195
  "description": "A reference to the child route's `RouteInfo`.\nThis can be used to traverse downward to the\nleafmost `RouteInfo`.",
9241
9196
  "itemtype": "property",
9242
9197
  "name": "child",
@@ -9244,11 +9199,11 @@
9244
9199
  "access": "public",
9245
9200
  "tagname": "",
9246
9201
  "class": "RouteInfo",
9247
- "module": "ember"
9202
+ "module": "@ember/routing"
9248
9203
  },
9249
9204
  {
9250
9205
  "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9251
- "line": 194,
9206
+ "line": 198,
9252
9207
  "description": "Allows you to traverse through the linked list\nof `RouteInfo`s from the topmost to leafmost.\nReturns the first `RouteInfo` in the linked list\nfor which the callback returns true.\n\n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n\n The callback method you provide should have the\n following signature (all parameters are optional):\n\n ```javascript\n function(item, index, array);\n ```\n\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n\n It should return the `true` to include the item in\n the results, `false` otherwise.\n\n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.",
9253
9208
  "itemtype": "method",
9254
9209
  "name": "find",
@@ -9272,7 +9227,7 @@
9272
9227
  "access": "public",
9273
9228
  "tagname": "",
9274
9229
  "class": "RouteInfo",
9275
- "module": "ember"
9230
+ "module": "@ember/routing"
9276
9231
  },
9277
9232
  {
9278
9233
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
@@ -9355,7 +9310,7 @@
9355
9310
  },
9356
9311
  {
9357
9312
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9358
- "line": 304,
9313
+ "line": 305,
9359
9314
  "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.",
9360
9315
  "itemtype": "method",
9361
9316
  "name": "serialize",
@@ -9383,8 +9338,8 @@
9383
9338
  },
9384
9339
  {
9385
9340
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9386
- "line": 372,
9387
- "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```",
9341
+ "line": 373,
9342
+ "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```",
9388
9343
  "itemtype": "property",
9389
9344
  "name": "queryParams",
9390
9345
  "type": "Object",
@@ -9396,7 +9351,7 @@
9396
9351
  },
9397
9352
  {
9398
9353
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9399
- "line": 425,
9354
+ "line": 426,
9400
9355
  "description": "The name of the template to use by default when rendering this routes\ntemplate.\n\n```app/routes/posts/list.js\nimport Route from '@ember/routing/route';\n\nexport default class extends Route {\n templateName = 'posts/list'\n});\n```\n\n```app/routes/posts/index.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```\n\n```app/routes/posts/archived.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```",
9401
9356
  "itemtype": "property",
9402
9357
  "name": "templateName",
@@ -9410,7 +9365,7 @@
9410
9365
  },
9411
9366
  {
9412
9367
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9413
- "line": 458,
9368
+ "line": 459,
9414
9369
  "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.",
9415
9370
  "itemtype": "property",
9416
9371
  "name": "controllerName",
@@ -9424,7 +9379,7 @@
9424
9379
  },
9425
9380
  {
9426
9381
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9427
- "line": 481,
9382
+ "line": 482,
9428
9383
  "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```",
9429
9384
  "itemtype": "property",
9430
9385
  "name": "controller",
@@ -9437,7 +9392,7 @@
9437
9392
  },
9438
9393
  {
9439
9394
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9440
- "line": 512,
9395
+ "line": 513,
9441
9396
  "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`.",
9442
9397
  "itemtype": "property",
9443
9398
  "name": "routeName",
@@ -9450,7 +9405,7 @@
9450
9405
  },
9451
9406
  {
9452
9407
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9453
- "line": 526,
9408
+ "line": 527,
9454
9409
  "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`.",
9455
9410
  "itemtype": "property",
9456
9411
  "name": "fullRouteName",
@@ -9463,7 +9418,7 @@
9463
9418
  },
9464
9419
  {
9465
9420
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9466
- "line": 541,
9421
+ "line": 542,
9467
9422
  "description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
9468
9423
  "access": "private",
9469
9424
  "tagname": "",
@@ -9481,7 +9436,7 @@
9481
9436
  },
9482
9437
  {
9483
9438
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9484
- "line": 556,
9439
+ "line": 557,
9485
9440
  "access": "private",
9486
9441
  "tagname": "",
9487
9442
  "itemtype": "method",
@@ -9491,7 +9446,7 @@
9491
9446
  },
9492
9447
  {
9493
9448
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9494
- "line": 587,
9449
+ "line": 588,
9495
9450
  "access": "private",
9496
9451
  "tagname": "",
9497
9452
  "itemtype": "property",
@@ -9501,7 +9456,7 @@
9501
9456
  },
9502
9457
  {
9503
9458
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9504
- "line": 596,
9459
+ "line": 597,
9505
9460
  "access": "private",
9506
9461
  "tagname": "",
9507
9462
  "itemtype": "method",
@@ -9511,7 +9466,7 @@
9511
9466
  },
9512
9467
  {
9513
9468
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9514
- "line": 604,
9469
+ "line": 605,
9515
9470
  "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`",
9516
9471
  "itemtype": "method",
9517
9472
  "name": "paramsFor",
@@ -9534,7 +9489,7 @@
9534
9489
  },
9535
9490
  {
9536
9491
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9537
- "line": 685,
9492
+ "line": 686,
9538
9493
  "description": "Serializes the query parameter key",
9539
9494
  "itemtype": "method",
9540
9495
  "name": "serializeQueryParamKey",
@@ -9552,7 +9507,7 @@
9552
9507
  },
9553
9508
  {
9554
9509
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9555
- "line": 696,
9510
+ "line": 697,
9556
9511
  "description": "Serializes value of the query parameter based on defaultValueType",
9557
9512
  "itemtype": "method",
9558
9513
  "name": "serializeQueryParam",
@@ -9580,7 +9535,7 @@
9580
9535
  },
9581
9536
  {
9582
9537
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9583
- "line": 712,
9538
+ "line": 713,
9584
9539
  "description": "Deserializes value of the query parameter based on defaultValueType",
9585
9540
  "itemtype": "method",
9586
9541
  "name": "deserializeQueryParam",
@@ -9608,7 +9563,7 @@
9608
9563
  },
9609
9564
  {
9610
9565
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9611
- "line": 728,
9566
+ "line": 729,
9612
9567
  "access": "private",
9613
9568
  "tagname": "",
9614
9569
  "itemtype": "property",
@@ -9618,7 +9573,7 @@
9618
9573
  },
9619
9574
  {
9620
9575
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9621
- "line": 744,
9576
+ "line": 745,
9622
9577
  "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```",
9623
9578
  "itemtype": "method",
9624
9579
  "name": "resetController",
@@ -9647,7 +9602,7 @@
9647
9602
  },
9648
9603
  {
9649
9604
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9650
- "line": 771,
9605
+ "line": 772,
9651
9606
  "access": "private",
9652
9607
  "tagname": "",
9653
9608
  "itemtype": "method",
@@ -9657,7 +9612,7 @@
9657
9612
  },
9658
9613
  {
9659
9614
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9660
- "line": 782,
9615
+ "line": 783,
9661
9616
  "access": "private",
9662
9617
  "tagname": "",
9663
9618
  "itemtype": "method",
@@ -9668,7 +9623,7 @@
9668
9623
  },
9669
9624
  {
9670
9625
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9671
- "line": 796,
9626
+ "line": 797,
9672
9627
  "access": "private",
9673
9628
  "tagname": "",
9674
9629
  "itemtype": "method",
@@ -9678,7 +9633,7 @@
9678
9633
  },
9679
9634
  {
9680
9635
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9681
- "line": 807,
9636
+ "line": 808,
9682
9637
  "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```",
9683
9638
  "itemtype": "event",
9684
9639
  "name": "activate",
@@ -9690,7 +9645,7 @@
9690
9645
  },
9691
9646
  {
9692
9647
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9693
- "line": 827,
9648
+ "line": 828,
9694
9649
  "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```",
9695
9650
  "itemtype": "event",
9696
9651
  "name": "deactivate",
@@ -9702,7 +9657,7 @@
9702
9657
  },
9703
9658
  {
9704
9659
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9705
- "line": 847,
9660
+ "line": 848,
9706
9661
  "description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
9707
9662
  "itemtype": "method",
9708
9663
  "name": "deactivate",
@@ -9721,7 +9676,7 @@
9721
9676
  },
9722
9677
  {
9723
9678
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9724
- "line": 858,
9679
+ "line": 859,
9725
9680
  "description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
9726
9681
  "itemtype": "method",
9727
9682
  "name": "activate",
@@ -9740,7 +9695,7 @@
9740
9695
  },
9741
9696
  {
9742
9697
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9743
- "line": 869,
9698
+ "line": 870,
9744
9699
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\n```javascript\nthis.transitionTo('blogPosts');\nthis.transitionTo('blogPosts.recentEntries');\n```\n\nOptionally supply a model for the route in question. The model\nwill be serialized into the URL using the `serialize` hook of\nthe route:\n\n```javascript\nthis.transitionTo('blogPost', aPost);\n```\n\nIf a literal is passed (such as a number or a string), it will\nbe treated as an identifier instead. In this case, the `model`\nhook of the route will be triggered:\n\n```javascript\nthis.transitionTo('blogPost', 1);\n```\n\nMultiple models will be applied last to first recursively up the\nroute tree.\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('blogPost', { path:':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId' });\n });\n});\n\nexport default Router;\n```\n\n```javascript\nthis.transitionTo('blogComment', aPost, aComment);\nthis.transitionTo('blogComment', 1, 13);\n```\n\nIt is also possible to pass a URL (a string that starts with a\n`/`).\n\n```javascript\nthis.transitionTo('/');\nthis.transitionTo('/blog/post/1/comment/13');\nthis.transitionTo('/blog/posts?sort=title');\n```\n\nAn options hash with a `queryParams` property may be provided as\nthe final argument to add query parameters to the destination URL.\n\n```javascript\nthis.transitionTo('blogPost', 1, {\n queryParams: { showComments: 'true' }\n});\n\n// if you just want to transition the query parameters without changing the route\nthis.transitionTo({ queryParams: { sort: 'date' } });\n```\n\nSee also [replaceWith](#method_replaceWith).\n\nSimple Transition Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n this.route('fourOhFour', { path: '*:' });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n moveToSecret(context) {\n if (authorized()) {\n this.transitionTo('secret', context);\n } else {\n this.transitionTo('fourOhFour');\n }\n }\n}\n```\n\nTransition to a nested route\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('articles', { path: '/articles' }, function() {\n this.route('new');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n transitionToNewArticle() {\n this.transitionTo('articles.new');\n }\n}\n```\n\nMultiple Models Example\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n\n this.route('breakfast', { path: ':breakfastId' }, function() {\n this.route('cereal', { path: ':cerealId' });\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n moveToChocolateCereal() {\n let cereal = { cerealId: 'ChocolateYumminess' };\n let breakfast = { breakfastId: 'CerealAndMilk' };\n\n this.transitionTo('breakfast.cereal', breakfast, cereal);\n }\n}\n```\n\nNested Route with Query String Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('fruits', function() {\n this.route('apples');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\n\nexport default class IndexRoute extends Route {\n @action\n transitionToApples() {\n this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n }\n}\n```",
9745
9700
  "itemtype": "method",
9746
9701
  "name": "transitionTo",
@@ -9778,7 +9733,7 @@
9778
9733
  },
9779
9734
  {
9780
9735
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9781
- "line": 1067,
9736
+ "line": 1068,
9782
9737
  "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.",
9783
9738
  "itemtype": "method",
9784
9739
  "name": "intermediateTransitionTo",
@@ -9802,7 +9757,7 @@
9802
9757
  },
9803
9758
  {
9804
9759
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9805
- "line": 1089,
9760
+ "line": 1090,
9806
9761
  "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.",
9807
9762
  "itemtype": "method",
9808
9763
  "name": "refresh",
@@ -9818,7 +9773,7 @@
9818
9773
  },
9819
9774
  {
9820
9775
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9821
- "line": 1115,
9776
+ "line": 1116,
9822
9777
  "description": "Transition into another route while replacing the current URL, if possible.\nThis will replace the current history entry instead of adding a new one.\nBeside that, it is identical to `transitionTo` in all other respects. See\n'transitionTo' for additional information regarding multiple models.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n});\n\nexport default Router;\n```\n\n```app/routes/secret.js\nimport Route from '@ember/routing/route';\n\nexport default class SecretRoute Route {\n afterModel() {\n if (!authorized()){\n this.replaceWith('index');\n }\n }\n}\n```",
9823
9778
  "itemtype": "method",
9824
9779
  "name": "replaceWith",
@@ -9854,7 +9809,7 @@
9854
9809
  },
9855
9810
  {
9856
9811
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9857
- "line": 1163,
9812
+ "line": 1164,
9858
9813
  "description": "This hook is the entry point for router.js",
9859
9814
  "access": "private",
9860
9815
  "tagname": "",
@@ -9865,7 +9820,7 @@
9865
9820
  },
9866
9821
  {
9867
9822
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9868
- "line": 1238,
9823
+ "line": 1239,
9869
9824
  "description": "This hook is the first of the route entry validation hooks\ncalled when an attempt is made to transition into a route\nor one of its children. It is called before `model` and\n`afterModel`, and is appropriate for cases when:\n\n1) A decision can be made to redirect elsewhere without\n needing to resolve the model first.\n2) Any async operations need to occur first before the\n model is attempted to be resolved.\n\nThis hook is provided the current `transition` attempt\nas a parameter, which can be used to `.abort()` the transition,\nsave it for a later `.retry()`, or retrieve values set\non it from a previous hook. You can also just call\n`this.transitionTo` to another route to implicitly\nabort the `transition`.\n\nYou can return a promise from this hook to pause the\ntransition until the promise resolves (or rejects). This could\nbe useful, for instance, for retrieving async code from\nthe server that is required to enter a route.",
9870
9825
  "itemtype": "method",
9871
9826
  "name": "beforeModel",
@@ -9888,7 +9843,7 @@
9888
9843
  },
9889
9844
  {
9890
9845
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9891
- "line": 1273,
9846
+ "line": 1274,
9892
9847
  "description": "This hook is called after this route's model has resolved.\nIt follows identical async/promise semantics to `beforeModel`\nbut is provided the route's resolved model in addition to\nthe `transition`, and is therefore suited to performing\nlogic that can only take place after the model has already\nresolved.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.transitionTo('post.show', posts.get('firstObject'));\n }\n }\n}\n```\n\nRefer to documentation for `beforeModel` for a description\nof transition-pausing semantics when a promise is returned\nfrom this hook.",
9893
9848
  "itemtype": "method",
9894
9849
  "name": "afterModel",
@@ -9916,7 +9871,7 @@
9916
9871
  },
9917
9872
  {
9918
9873
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9919
- "line": 1311,
9874
+ "line": 1312,
9920
9875
  "description": "A hook you can implement to optionally redirect to another route.\n\nCalling `this.transitionTo` from inside of the `redirect` hook will\nabort the current transition (into the route that has implemented `redirect`).\n\n`redirect` and `afterModel` behave very similarly and are\ncalled almost at the same time, but they have an important\ndistinction when calling `this.transitionTo` to a child route\nof the current route. From `afterModel`, this new transition\ninvalidates the current transition, causing `beforeModel`,\n`model`, and `afterModel` hooks to be called again. But the\nsame transition started from `redirect` does _not_ invalidate\nthe current transition. In other words, by the time the `redirect`\nhook has been called, both the resolved model and the attempted\nentry into this route are considered fully validated.",
9921
9876
  "itemtype": "method",
9922
9877
  "name": "redirect",
@@ -9940,7 +9895,7 @@
9940
9895
  },
9941
9896
  {
9942
9897
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9943
- "line": 1336,
9898
+ "line": 1337,
9944
9899
  "description": "Called when the context is changed by router.js.",
9945
9900
  "access": "private",
9946
9901
  "tagname": "",
@@ -9951,7 +9906,7 @@
9951
9906
  },
9952
9907
  {
9953
9908
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9954
- "line": 1346,
9909
+ "line": 1347,
9955
9910
  "description": "A hook you can implement to convert the URL into the model for\nthis route.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nThe model for the `post` route is `store.findRecord('post', params.post_id)`.\n\nBy default, if your route has a dynamic segment ending in `_id`:\n\n* The model class is determined from the segment (`post_id`'s\n class is `App.Post`)\n* The find method is called on the model class with the value of\n the dynamic segment.\n\nNote that for routes with dynamic segments, this hook is not always\nexecuted. If the route is entered through a transition (e.g. when\nusing the `link-to` Handlebars helper or the `transitionTo` method\nof routes), and a model context is already provided this hook\nis not called.\n\nA model context does not include a primitive string or number,\nwhich does cause the model hook to be called.\n\nRoutes without dynamic segments will always execute the model hook.\n\n```javascript\n// no dynamic segment, model hook always called\nthis.transitionTo('posts');\n\n// model passed in, so model hook not called\nthePost = store.findRecord('post', 1);\nthis.transitionTo('post', thePost);\n\n// integer passed in, model hook is called\nthis.transitionTo('post', 1);\n\n// model id passed in, model hook is called\n// useful for forcing the hook to execute\nthePost = store.findRecord('post', 1);\nthis.transitionTo('post', thePost.id);\n```\n\nThis hook follows the asynchronous/promise semantics\ndescribed in the documentation for `beforeModel`. In particular,\nif a promise returned from `model` fails, the error will be\nhandled by the `error` hook on `Route`.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n}\n```",
9956
9911
  "itemtype": "method",
9957
9912
  "name": "model",
@@ -9979,7 +9934,7 @@
9979
9934
  },
9980
9935
  {
9981
9936
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9982
- "line": 1461,
9937
+ "line": 1462,
9983
9938
  "access": "private",
9984
9939
  "tagname": "",
9985
9940
  "itemtype": "method",
@@ -10005,7 +9960,7 @@
10005
9960
  },
10006
9961
  {
10007
9962
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10008
- "line": 1474,
9963
+ "line": 1475,
10009
9964
  "itemtype": "method",
10010
9965
  "name": "findModel",
10011
9966
  "params": [
@@ -10027,7 +9982,7 @@
10027
9982
  },
10028
9983
  {
10029
9984
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10030
- "line": 1485,
9985
+ "line": 1486,
10031
9986
  "description": "A hook you can use to setup the controller for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook.\n\nBy default, the `setupController` hook sets the `model` property of\nthe controller to the specified `model` when it is not `undefined`.\n\nIf you implement the `setupController` hook in your Route, it will\nprevent this default behavior. If you want to preserve that behavior\nwhen implementing your `setupController` function, make sure to call\n`super`:\n\n```app/routes/photos.js\nimport Route from '@ember/routing/route';\n\nexport default class PhotosRoute extends Route {\n model() {\n return this.store.findAll('photo');\n }\n\n setupController(controller, model) {\n super.setupController(controller, model);\n\n this.controllerFor('application').set('showingPhotos', true);\n }\n}\n```\n\nThe provided controller will be one resolved based on the name\nof this route.\n\nIf no explicit controller is defined, Ember will automatically create one.\n\nAs an example, consider the router:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nIf you have defined a file for the post controller,\nthe framework will use it.\nIf it is not defined, a basic `Controller` instance would be used.",
10032
9987
  "example": [
10033
9988
  " 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```"
@@ -10060,7 +10015,7 @@
10060
10015
  },
10061
10016
  {
10062
10017
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10063
- "line": 1561,
10018
+ "line": 1562,
10064
10019
  "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```",
10065
10020
  "itemtype": "method",
10066
10021
  "name": "controllerFor",
@@ -10083,7 +10038,7 @@
10083
10038
  },
10084
10039
  {
10085
10040
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10086
- "line": 1615,
10041
+ "line": 1616,
10087
10042
  "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```",
10088
10043
  "itemtype": "method",
10089
10044
  "name": "generateController",
@@ -10101,7 +10056,7 @@
10101
10056
  },
10102
10057
  {
10103
10058
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10104
- "line": 1643,
10059
+ "line": 1644,
10105
10060
  "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```",
10106
10061
  "itemtype": "method",
10107
10062
  "name": "modelFor",
@@ -10124,7 +10079,7 @@
10124
10079
  },
10125
10080
  {
10126
10081
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10127
- "line": 1715,
10082
+ "line": 1716,
10128
10083
  "description": "`this[RENDER]` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`).",
10129
10084
  "itemtype": "method",
10130
10085
  "name": "this[RENDER]",
@@ -10174,7 +10129,7 @@
10174
10129
  },
10175
10130
  {
10176
10131
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10177
- "line": 1742,
10132
+ "line": 1743,
10178
10133
  "access": "private",
10179
10134
  "tagname": "",
10180
10135
  "itemtype": "method",
@@ -10184,7 +10139,7 @@
10184
10139
  },
10185
10140
  {
10186
10141
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10187
- "line": 1755,
10142
+ "line": 1756,
10188
10143
  "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```",
10189
10144
  "itemtype": "method",
10190
10145
  "name": "buildRouteInfoMetadata",
@@ -10199,7 +10154,7 @@
10199
10154
  },
10200
10155
  {
10201
10156
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10202
- "line": 1806,
10157
+ "line": 1807,
10203
10158
  "description": "Store property provides a hook for data persistence libraries to inject themselves.\n\nBy default, this store property provides the exact same functionality previously\nin the model hook.\n\nCurrently, the required interface is:\n\n`store.find(modelName, findArguments)`",
10204
10159
  "itemtype": "property",
10205
10160
  "name": "store",
@@ -10211,7 +10166,7 @@
10211
10166
  },
10212
10167
  {
10213
10168
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10214
- "line": 1872,
10169
+ "line": 1873,
10215
10170
  "access": "private",
10216
10171
  "tagname": "",
10217
10172
  "itemtype": "property",
@@ -10221,7 +10176,7 @@
10221
10176
  },
10222
10177
  {
10223
10178
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10224
- "line": 2009,
10179
+ "line": 2010,
10225
10180
  "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```",
10226
10181
  "itemtype": "method",
10227
10182
  "name": "send",
@@ -10245,7 +10200,7 @@
10245
10200
  },
10246
10201
  {
10247
10202
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10248
- "line": 2387,
10203
+ "line": 2388,
10249
10204
  "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```",
10250
10205
  "itemtype": "property",
10251
10206
  "name": "controller",
@@ -10258,7 +10213,7 @@
10258
10213
  },
10259
10214
  {
10260
10215
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10261
- "line": 2418,
10216
+ "line": 2419,
10262
10217
  "description": "This action is called when one or more query params have changed. Bubbles.",
10263
10218
  "itemtype": "method",
10264
10219
  "name": "queryParamsDidChange",
@@ -10334,7 +10289,7 @@
10334
10289
  },
10335
10290
  {
10336
10291
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10337
- "line": 547,
10292
+ "line": 549,
10338
10293
  "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.",
10339
10294
  "itemtype": "method",
10340
10295
  "name": "startRouting",
@@ -10345,7 +10300,7 @@
10345
10300
  },
10346
10301
  {
10347
10302
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10348
- "line": 670,
10303
+ "line": 672,
10349
10304
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:",
10350
10305
  "itemtype": "method",
10351
10306
  "name": "transitionTo",
@@ -10379,7 +10334,7 @@
10379
10334
  },
10380
10335
  {
10381
10336
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10382
- "line": 715,
10337
+ "line": 717,
10383
10338
  "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.",
10384
10339
  "itemtype": "method",
10385
10340
  "name": "replaceWith",
@@ -10413,7 +10368,7 @@
10413
10368
  },
10414
10369
  {
10415
10370
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10416
- "line": 742,
10371
+ "line": 744,
10417
10372
  "description": "Determines if the supplied route is currently active.",
10418
10373
  "itemtype": "method",
10419
10374
  "name": "isActive",
@@ -10434,7 +10389,7 @@
10434
10389
  },
10435
10390
  {
10436
10391
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10437
- "line": 754,
10392
+ "line": 756,
10438
10393
  "description": "An alternative form of `isActive` that doesn't require\nmanual concatenation of the arguments into a single\narray.",
10439
10394
  "itemtype": "method",
10440
10395
  "name": "isActiveIntent",
@@ -10464,7 +10419,7 @@
10464
10419
  },
10465
10420
  {
10466
10421
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10467
- "line": 776,
10422
+ "line": 778,
10468
10423
  "description": "Does this router instance have the given route.",
10469
10424
  "itemtype": "method",
10470
10425
  "name": "hasRoute",
@@ -10479,7 +10434,7 @@
10479
10434
  },
10480
10435
  {
10481
10436
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10482
- "line": 787,
10437
+ "line": 789,
10483
10438
  "description": "Resets the state of the router by clearing the current route\nhandlers and deactivating them.",
10484
10439
  "access": "private",
10485
10440
  "tagname": "",
@@ -10490,7 +10445,7 @@
10490
10445
  },
10491
10446
  {
10492
10447
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10493
- "line": 935,
10448
+ "line": 937,
10494
10449
  "description": "Serializes the given query params according to their QP meta information.",
10495
10450
  "access": "private",
10496
10451
  "tagname": "",
@@ -10517,7 +10472,7 @@
10517
10472
  },
10518
10473
  {
10519
10474
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10520
- "line": 965,
10475
+ "line": 967,
10521
10476
  "description": "Serializes the value of a query parameter based on a type",
10522
10477
  "access": "private",
10523
10478
  "tagname": "",
@@ -10540,7 +10495,7 @@
10540
10495
  },
10541
10496
  {
10542
10497
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10543
- "line": 983,
10498
+ "line": 985,
10544
10499
  "description": "Deserializes the given query params according to their QP meta information.",
10545
10500
  "access": "private",
10546
10501
  "tagname": "",
@@ -10567,7 +10522,7 @@
10567
10522
  },
10568
10523
  {
10569
10524
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10570
- "line": 1011,
10525
+ "line": 1013,
10571
10526
  "description": "Deserializes the value of a query parameter based on a default type",
10572
10527
  "access": "private",
10573
10528
  "tagname": "",
@@ -10590,7 +10545,7 @@
10590
10545
  },
10591
10546
  {
10592
10547
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10593
- "line": 1032,
10548
+ "line": 1034,
10594
10549
  "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.",
10595
10550
  "access": "private",
10596
10551
  "tagname": "",
@@ -10617,7 +10572,7 @@
10617
10572
  },
10618
10573
  {
10619
10574
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10620
- "line": 1113,
10575
+ "line": 1115,
10621
10576
  "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.",
10622
10577
  "access": "private",
10623
10578
  "tagname": "",
@@ -10654,7 +10609,7 @@
10654
10609
  },
10655
10610
  {
10656
10611
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10657
- "line": 1140,
10612
+ "line": 1142,
10658
10613
  "description": "Returns the meta information for the query params of a given route. This\nwill be overridden to allow support for lazy routes.",
10659
10614
  "access": "private",
10660
10615
  "tagname": "",
@@ -10676,7 +10631,7 @@
10676
10631
  },
10677
10632
  {
10678
10633
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10679
- "line": 1154,
10634
+ "line": 1156,
10680
10635
  "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.",
10681
10636
  "access": "private",
10682
10637
  "tagname": "",
@@ -10698,7 +10653,7 @@
10698
10653
  },
10699
10654
  {
10700
10655
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10701
- "line": 1216,
10656
+ "line": 1218,
10702
10657
  "description": "Maps all query param keys to their fully scoped property name of the form\n`controllerName:propName`.",
10703
10658
  "access": "private",
10704
10659
  "tagname": "",
@@ -10730,7 +10685,7 @@
10730
10685
  },
10731
10686
  {
10732
10687
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10733
- "line": 1254,
10688
+ "line": 1256,
10734
10689
  "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.",
10735
10690
  "access": "private",
10736
10691
  "tagname": "",
@@ -10757,7 +10712,7 @@
10757
10712
  },
10758
10713
  {
10759
10714
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10760
- "line": 1425,
10715
+ "line": 1427,
10761
10716
  "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```",
10762
10717
  "itemtype": "method",
10763
10718
  "name": "didTransition",
@@ -10769,7 +10724,7 @@
10769
10724
  },
10770
10725
  {
10771
10726
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10772
- "line": 1462,
10727
+ "line": 1464,
10773
10728
  "description": "Handles notifying any listeners of an impending URL\nchange.\n\nTriggers the router level `willTransition` hook.",
10774
10729
  "itemtype": "method",
10775
10730
  "name": "willTransition",
@@ -10781,7 +10736,7 @@
10781
10736
  },
10782
10737
  {
10783
10738
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10784
- "line": 1475,
10739
+ "line": 1477,
10785
10740
  "description": "Represents the current URL.",
10786
10741
  "itemtype": "property",
10787
10742
  "name": "url",
@@ -10793,7 +10748,7 @@
10793
10748
  },
10794
10749
  {
10795
10750
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10796
- "line": 1633,
10751
+ "line": 1635,
10797
10752
  "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`.",
10798
10753
  "access": "private",
10799
10754
  "tagname": "",
@@ -10818,7 +10773,7 @@
10818
10773
  },
10819
10774
  {
10820
10775
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10821
- "line": 1654,
10776
+ "line": 1656,
10822
10777
  "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.",
10823
10778
  "access": "private",
10824
10779
  "tagname": "",
@@ -10843,7 +10798,7 @@
10843
10798
  },
10844
10799
  {
10845
10800
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10846
- "line": 1676,
10801
+ "line": 1678,
10847
10802
  "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.",
10848
10803
  "access": "private",
10849
10804
  "tagname": "",
@@ -10878,7 +10833,7 @@
10878
10833
  },
10879
10834
  {
10880
10835
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10881
- "line": 12,
10836
+ "line": 16,
10882
10837
  "description": "The Transition's internal promise. Calling `.then` on this property\nis that same as calling `.then` on the Transition object itself, but\nthis property is exposed for when you want to pass around a\nTransition's promise, but not the Transition object itself, since\nTransition object can be externally `abort`ed, while the promise\ncannot.",
10883
10838
  "itemtype": "property",
10884
10839
  "name": "promise",
@@ -10890,7 +10845,7 @@
10890
10845
  },
10891
10846
  {
10892
10847
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10893
- "line": 25,
10848
+ "line": 29,
10894
10849
  "description": "Custom state can be stored on a Transition's `data` object.\nThis can be useful for decorating a Transition within an earlier\nhook and shared with a later hook. Properties set on `data` will\nbe copied to new transitions generated by calling `retry` on this\ntransition.",
10895
10850
  "itemtype": "property",
10896
10851
  "name": "data",
@@ -10902,7 +10857,7 @@
10902
10857
  },
10903
10858
  {
10904
10859
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10905
- "line": 37,
10860
+ "line": 41,
10906
10861
  "description": "A standard promise hook that resolves if the transition\nsucceeds and rejects if it fails/redirects/aborts.\n\nForwards to the internal `promise` property which you can\nuse in situations where you want to pass around a thennable,\nbut not the Transition itself.",
10907
10862
  "itemtype": "method",
10908
10863
  "name": "then",
@@ -10934,7 +10889,7 @@
10934
10889
  },
10935
10890
  {
10936
10891
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10937
- "line": 54,
10892
+ "line": 58,
10938
10893
  "description": "Forwards to the internal `promise` property which you can\n use in situations where you want to pass around a thennable,\n but not the Transition itself.",
10939
10894
  "itemtype": "method",
10940
10895
  "name": "catch",
@@ -10961,7 +10916,7 @@
10961
10916
  },
10962
10917
  {
10963
10918
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10964
- "line": 68,
10919
+ "line": 72,
10965
10920
  "description": "Forwards to the internal `promise` property which you can\n use in situations where you want to pass around a thennable,\n but not the Transition itself.",
10966
10921
  "itemtype": "method",
10967
10922
  "name": "finally",
@@ -10988,7 +10943,7 @@
10988
10943
  },
10989
10944
  {
10990
10945
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
10991
- "line": 82,
10946
+ "line": 86,
10992
10947
  "description": "Aborts the Transition. Note you can also implicitly abort a transition\nby initiating another transition while a previous one is underway.",
10993
10948
  "itemtype": "method",
10994
10949
  "name": "abort",
@@ -11003,7 +10958,7 @@
11003
10958
  },
11004
10959
  {
11005
10960
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11006
- "line": 91,
10961
+ "line": 95,
11007
10962
  "description": "Retries a previously-aborted transition (making sure to abort the\n transition if it's still active). Returns a new transition that\n represents the new attempt to transition.",
11008
10963
  "itemtype": "method",
11009
10964
  "name": "retry",
@@ -11018,7 +10973,7 @@
11018
10973
  },
11019
10974
  {
11020
10975
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11021
- "line": 102,
10976
+ "line": 106,
11022
10977
  "description": "Sets the URL-changing method to be employed at the end of a\n successful transition. By default, a new Transition will just\n use `updateURL`, but passing 'replace' to this method will\n cause the URL to update using 'replaceWith' instead. Omitting\n a parameter will disable the URL change, allowing for transitions\n that don't update the URL at completion (this is also used for\n handleURL, since the URL has already changed before the\n transition took place).",
11023
10978
  "itemtype": "method",
11024
10979
  "name": "method",
@@ -11040,7 +10995,7 @@
11040
10995
  },
11041
10996
  {
11042
10997
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11043
- "line": 123,
10998
+ "line": 127,
11044
10999
  "description": "Fires an event on the current list of resolved/resolving\n handlers within this transition. Useful for firing events\n on route hierarchies that haven't fully been entered yet.\nNote: This method is also aliased as `send`",
11045
11000
  "itemtype": "method",
11046
11001
  "name": "trigger",
@@ -11065,7 +11020,7 @@
11065
11020
  },
11066
11021
  {
11067
11022
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11068
- "line": 137,
11023
+ "line": 141,
11069
11024
  "description": "This property is a `RouteInfo` object that represents\nwhere the router is transitioning to. It's important\nto note that a `RouteInfo` is a linked list and this\nproperty represents the leafmost route.",
11070
11025
  "itemtype": "property",
11071
11026
  "name": "to",
@@ -11077,7 +11032,7 @@
11077
11032
  },
11078
11033
  {
11079
11034
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11080
- "line": 146,
11035
+ "line": 150,
11081
11036
  "description": "This property is a `RouteInfo` object that represents\nwhere transition originated from. It's important\nto note that a `RouteInfo` is a linked list and this\nproperty represents the head node of the list.\nIn the case of an initial render, `from` will be set to\n`null`.",
11082
11037
  "itemtype": "property",
11083
11038
  "name": "from",
@@ -11089,7 +11044,7 @@
11089
11044
  },
11090
11045
  {
11091
11046
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11092
- "line": 157,
11047
+ "line": 161,
11093
11048
  "description": "Transitions are aborted and their promises rejected\nwhen redirects occur; this method returns a promise\nthat will follow any redirects that occur and fulfill\nwith the value fulfilled by any redirecting transitions\nthat occur.",
11094
11049
  "itemtype": "method",
11095
11050
  "name": "followRedirects",
@@ -11104,7 +11059,7 @@
11104
11059
  },
11105
11060
  {
11106
11061
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11107
- "line": 170,
11062
+ "line": 174,
11108
11063
  "description": "In non-production builds, this function will return the stack that this Transition was\ncreated within. In production builds, this function will not be present.",
11109
11064
  "itemtype": "method",
11110
11065
  "name": "debugCreationStack",
@@ -11116,7 +11071,7 @@
11116
11071
  },
11117
11072
  {
11118
11073
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11119
- "line": 178,
11074
+ "line": 182,
11120
11075
  "description": "In non-production builds, this function will return the stack that this Transition was\naborted within (or `undefined` if the Transition has not been aborted yet). In production\nbuilds, this function will not be present.",
11121
11076
  "itemtype": "method",
11122
11077
  "name": "debugAbortStack",
@@ -11128,7 +11083,7 @@
11128
11083
  },
11129
11084
  {
11130
11085
  "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11131
- "line": 187,
11086
+ "line": 191,
11132
11087
  "description": "In non-production builds, this property references the Transition that _this_ Transition\nwas derived from or `undefined` if this transition did not derive from another. In\nproduction builds, this property will not be present.",
11133
11088
  "itemtype": "property",
11134
11089
  "name": "debugPreviousTransition",
@@ -12492,28 +12447,28 @@
12492
12447
  },
12493
12448
  {
12494
12449
  "file": "packages/@ember/-internals/runtime/lib/mixins/evented.d.ts",
12495
- "line": 23,
12450
+ "line": 16,
12496
12451
  "description": "Subscribes a function to a named event and then cancels the subscription\nafter the first time the event is triggered. It is good to use ``one`` when\nyou only care about the first time an event has taken place.",
12497
12452
  "class": "Evented",
12498
12453
  "module": "@ember/enumerable"
12499
12454
  },
12500
12455
  {
12501
12456
  "file": "packages/@ember/-internals/runtime/lib/mixins/evented.d.ts",
12502
- "line": 34,
12457
+ "line": 27,
12503
12458
  "description": "Triggers a named event for the object. Any additional arguments\nwill be passed as parameters to the functions that are subscribed to the\nevent.",
12504
12459
  "class": "Evented",
12505
12460
  "module": "@ember/enumerable"
12506
12461
  },
12507
12462
  {
12508
12463
  "file": "packages/@ember/-internals/runtime/lib/mixins/evented.d.ts",
12509
- "line": 40,
12464
+ "line": 33,
12510
12465
  "description": "Cancels subscription for given name, target, and method.",
12511
12466
  "class": "Evented",
12512
12467
  "module": "@ember/enumerable"
12513
12468
  },
12514
12469
  {
12515
12470
  "file": "packages/@ember/-internals/runtime/lib/mixins/evented.d.ts",
12516
- "line": 49,
12471
+ "line": 42,
12517
12472
  "description": "Checks to see if object has any subscriptions for named event.",
12518
12473
  "class": "Evented",
12519
12474
  "module": "@ember/enumerable"
@@ -13575,198 +13530,14 @@
13575
13530
  "module": "@ember/array"
13576
13531
  },
13577
13532
  {
13578
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13579
- "line": 3,
13580
- "description": "Used to infer the type of ember classes of type `T`.\n\nGenerally you would use `EmberClass.create()` instead of `new EmberClass()`.\n\nThe single-arg constructor is required by the typescript compiler.\nThe multi-arg constructor is included for better ergonomics.\n\nImplementation is carefully chosen for the reasons described in\nhttps://github.com/typed-ember/ember-typings/pull/29",
13581
- "class": "CoreObject",
13582
- "module": "@ember/array"
13583
- },
13584
- {
13585
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13586
- "line": 14,
13587
- "class": "CoreObject",
13588
- "module": "@ember/array"
13589
- },
13590
- {
13591
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13592
- "line": 17,
13593
- "class": "CoreObject",
13594
- "module": "@ember/array"
13595
- },
13596
- {
13597
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13598
- "line": 22,
13599
- "class": "CoreObject",
13600
- "module": "@ember/array"
13601
- },
13602
- {
13603
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13604
- "line": 24,
13605
- "class": "CoreObject",
13606
- "module": "@ember/array"
13607
- },
13608
- {
13609
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13610
- "line": 30,
13611
- "class": "CoreObject",
13612
- "module": "@ember/array"
13613
- },
13614
- {
13615
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13616
- "line": 33,
13617
- "class": "CoreObject",
13618
- "module": "@ember/array"
13619
- },
13620
- {
13621
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13622
- "line": 36,
13623
- "class": "CoreObject",
13624
- "module": "@ember/array"
13625
- },
13626
- {
13627
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13628
- "line": 44,
13629
- "class": "CoreObject",
13630
- "module": "@ember/array"
13631
- },
13632
- {
13633
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13634
- "line": 50,
13635
- "class": "CoreObject",
13636
- "module": "@ember/array"
13637
- },
13638
- {
13639
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13640
- "line": 53,
13641
- "class": "CoreObject",
13642
- "module": "@ember/array"
13643
- },
13644
- {
13645
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13646
- "line": 56,
13647
- "description": "CoreObject constructor takes owner.",
13648
- "class": "CoreObject",
13649
- "module": "@ember/array"
13650
- },
13651
- {
13652
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13653
- "line": 61,
13654
- "class": "CoreObject",
13655
- "module": "@ember/array"
13656
- },
13657
- {
13658
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13659
- "line": 64,
13660
- "description": "An overridable method called when objects are instantiated. By default,\ndoes nothing unless it is overridden during class definition.",
13661
- "class": "CoreObject",
13662
- "module": "@ember/array"
13663
- },
13664
- {
13665
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13666
- "line": 70,
13667
- "description": "Defines the properties that will be concatenated from the superclass (instead of overridden).",
13668
- "default": "null",
13669
- "class": "CoreObject",
13670
- "module": "@ember/array"
13671
- },
13672
- {
13673
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13674
- "line": 76,
13675
- "description": "Destroyed object property flag. If this property is true the observers and bindings were\nalready removed by the effect of calling the destroy() method.",
13676
- "default": "false",
13677
- "class": "CoreObject",
13678
- "module": "@ember/array"
13679
- },
13680
- {
13681
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13682
- "line": 82,
13683
- "description": "Destruction scheduled flag. The destroy() method has been called. The object stays intact\nuntil the end of the run loop at which point the isDestroyed flag is set.",
13684
- "default": "false",
13685
- "class": "CoreObject",
13686
- "module": "@ember/array"
13687
- },
13688
- {
13689
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13690
- "line": 90,
13691
- "description": "Destroys an object by setting the `isDestroyed` flag and removing its\nmetadata, which effectively destroys observers and bindings.\nIf you try to set a property on a destroyed object, an exception will be\nraised.\nNote that destruction is scheduled for the end of the run loop and does not\nhappen immediately. It will set an isDestroying flag immediately.",
13692
- "return": {
13693
- "description": "receiver"
13694
- },
13695
- "class": "CoreObject",
13696
- "module": "@ember/array"
13697
- },
13698
- {
13699
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13700
- "line": 101,
13701
- "description": "Override to implement teardown.",
13702
- "class": "CoreObject",
13703
- "module": "@ember/array"
13704
- },
13705
- {
13706
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13707
- "line": 106,
13708
- "description": "Returns a string representation which attempts to provide more information than Javascript's toString\ntypically does, in a generic way for all Ember objects (e.g., \"<App.Person:ember1024>\").",
13709
- "return": {
13710
- "description": "string representation"
13711
- },
13712
- "class": "CoreObject",
13713
- "module": "@ember/array"
13714
- },
13715
- {
13716
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13717
- "line": 118,
13718
- "class": "CoreObject",
13719
- "module": "@ember/array"
13720
- },
13721
- {
13722
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13723
- "line": 124,
13724
- "class": "CoreObject",
13725
- "module": "@ember/array"
13726
- },
13727
- {
13728
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13729
- "line": 127,
13730
- "description": "Iterate over each computed property for the class, passing its name and any\nassociated metadata (see metaForProperty) to the callback.",
13731
- "internal": "",
13732
- "class": "CoreObject",
13733
- "module": "@ember/array"
13734
- },
13735
- {
13736
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13737
- "line": 133,
13738
- "description": "Returns the original hash that was passed to meta().",
13739
- "params": [
13740
- {
13741
- "name": "key",
13742
- "description": "property name"
13743
- }
13744
- ],
13745
- "internal": "",
13746
- "class": "CoreObject",
13747
- "module": "@ember/array"
13748
- },
13749
- {
13750
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13751
- "line": 140,
13752
- "class": "CoreObject",
13753
- "module": "@ember/array"
13754
- },
13755
- {
13756
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13757
- "line": 143,
13758
- "class": "CoreObject",
13759
- "module": "@ember/array"
13760
- },
13761
- {
13762
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.d.ts",
13763
- "line": 146,
13533
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13534
+ "line": 236,
13764
13535
  "class": "CoreObject",
13765
- "module": "@ember/array"
13536
+ "module": "@ember/object"
13766
13537
  },
13767
13538
  {
13768
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13769
- "line": 275,
13539
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13540
+ "line": 318,
13770
13541
  "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.",
13771
13542
  "itemtype": "method",
13772
13543
  "name": "init",
@@ -13776,8 +13547,8 @@
13776
13547
  "module": "@ember/object"
13777
13548
  },
13778
13549
  {
13779
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13780
- "line": 309,
13550
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13551
+ "line": 352,
13781
13552
  "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).",
13782
13553
  "itemtype": "property",
13783
13554
  "name": "concatenatedProperties",
@@ -13789,8 +13560,8 @@
13789
13560
  "module": "@ember/object"
13790
13561
  },
13791
13562
  {
13792
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13793
- "line": 383,
13563
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13564
+ "line": 426,
13794
13565
  "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).",
13795
13566
  "itemtype": "property",
13796
13567
  "name": "mergedProperties",
@@ -13802,8 +13573,8 @@
13802
13573
  "module": "@ember/object"
13803
13574
  },
13804
13575
  {
13805
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13806
- "line": 458,
13576
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13577
+ "line": 501,
13807
13578
  "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.",
13808
13579
  "itemtype": "property",
13809
13580
  "name": "isDestroyed",
@@ -13814,8 +13585,8 @@
13814
13585
  "module": "@ember/object"
13815
13586
  },
13816
13587
  {
13817
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13818
- "line": 476,
13588
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13589
+ "line": 519,
13819
13590
  "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.",
13820
13591
  "itemtype": "property",
13821
13592
  "name": "isDestroying",
@@ -13826,8 +13597,8 @@
13826
13597
  "module": "@ember/object"
13827
13598
  },
13828
13599
  {
13829
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13830
- "line": 494,
13600
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13601
+ "line": 537,
13831
13602
  "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.",
13832
13603
  "itemtype": "method",
13833
13604
  "name": "destroy",
@@ -13841,8 +13612,8 @@
13841
13612
  "module": "@ember/object"
13842
13613
  },
13843
13614
  {
13844
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13845
- "line": 521,
13615
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13616
+ "line": 564,
13846
13617
  "description": "Override to implement teardown.",
13847
13618
  "itemtype": "method",
13848
13619
  "name": "willDestroy",
@@ -13852,8 +13623,8 @@
13852
13623
  "module": "@ember/object"
13853
13624
  },
13854
13625
  {
13855
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13856
- "line": 529,
13626
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13627
+ "line": 572,
13857
13628
  "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```",
13858
13629
  "itemtype": "method",
13859
13630
  "name": "toString",
@@ -13867,8 +13638,8 @@
13867
13638
  "module": "@ember/object"
13868
13639
  },
13869
13640
  {
13870
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13871
- "line": 575,
13641
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13642
+ "line": 617,
13872
13643
  "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()`.",
13873
13644
  "itemtype": "method",
13874
13645
  "name": "extend",
@@ -13895,8 +13666,8 @@
13895
13666
  "module": "@ember/object"
13896
13667
  },
13897
13668
  {
13898
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13899
- "line": 675,
13669
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13670
+ "line": 721,
13900
13671
  "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`.",
13901
13672
  "itemtype": "method",
13902
13673
  "name": "create",
@@ -13915,8 +13686,8 @@
13915
13686
  "module": "@ember/object"
13916
13687
  },
13917
13688
  {
13918
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13919
- "line": 735,
13689
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13690
+ "line": 786,
13920
13691
  "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`",
13921
13692
  "itemtype": "method",
13922
13693
  "name": "reopen",
@@ -13927,8 +13698,8 @@
13927
13698
  "module": "@ember/object"
13928
13699
  },
13929
13700
  {
13930
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13931
- "line": 789,
13701
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13702
+ "line": 840,
13932
13703
  "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`",
13933
13704
  "itemtype": "method",
13934
13705
  "name": "reopenClass",
@@ -13939,8 +13710,8 @@
13939
13710
  "module": "@ember/object"
13940
13711
  },
13941
13712
  {
13942
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13943
- "line": 872,
13713
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13714
+ "line": 923,
13944
13715
  "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()`.",
13945
13716
  "static": 1,
13946
13717
  "itemtype": "method",
@@ -13958,8 +13729,8 @@
13958
13729
  "module": "@ember/object"
13959
13730
  },
13960
13731
  {
13961
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13962
- "line": 915,
13732
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13733
+ "line": 966,
13963
13734
  "description": "Iterate over each computed property for the class, passing its name\nand any associated metadata (see `metaForProperty`) to the callback.",
13964
13735
  "static": 1,
13965
13736
  "itemtype": "method",
@@ -13982,8 +13753,8 @@
13982
13753
  "module": "@ember/object"
13983
13754
  },
13984
13755
  {
13985
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13986
- "line": 1025,
13756
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13757
+ "line": 1058,
13987
13758
  "description": "Provides lookup-time type validation for injected properties.",
13988
13759
  "access": "private",
13989
13760
  "tagname": "",
@@ -13993,8 +13764,8 @@
13993
13764
  "module": "@ember/object"
13994
13765
  },
13995
13766
  {
13996
- "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
13997
- "line": 1046,
13767
+ "file": "packages/@ember/-internals/runtime/lib/system/core_object.ts",
13768
+ "line": 1079,
13998
13769
  "description": "Returns a hash of property names and container names that injected\nproperties will lookup on the container lazily.",
13999
13770
  "itemtype": "method",
14000
13771
  "name": "_lazyInjections",
@@ -14007,12 +13778,6 @@
14007
13778
  "class": "@ember/object",
14008
13779
  "module": "@ember/object"
14009
13780
  },
14010
- {
14011
- "file": "packages/@ember/-internals/runtime/lib/system/object.d.ts",
14012
- "line": 9,
14013
- "class": "EmberObject",
14014
- "module": "@ember/application"
14015
- },
14016
13781
  {
14017
13782
  "file": "packages/@ember/-internals/runtime/lib/compare.ts",
14018
13783
  "line": 48,
@@ -14922,7 +14687,7 @@
14922
14687
  },
14923
14688
  {
14924
14689
  "file": "packages/@ember/-internals/views/lib/views/core_view.ts",
14925
- "line": 57,
14690
+ "line": 78,
14926
14691
  "description": "Override the default event firing from `Evented` to\nalso call methods with the given name.",
14927
14692
  "itemtype": "method",
14928
14693
  "name": "trigger",
@@ -15543,7 +15308,7 @@
15543
15308
  },
15544
15309
  {
15545
15310
  "file": "packages/@ember/canary-features/index.ts",
15546
- "line": 33,
15311
+ "line": 31,
15547
15312
  "description": "Determine whether the specified `feature` is enabled. Used by Ember's\nbuild tools to exclude experimental features from beta/stable builds.\n\nYou can define the following configuration options:\n\n* `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n enabled/disabled.",
15548
15313
  "itemtype": "method",
15549
15314
  "name": "isEnabled",
@@ -15686,7 +15451,7 @@
15686
15451
  },
15687
15452
  {
15688
15453
  "file": "packages/@ember/debug/lib/deprecate.ts",
15689
- "line": 177,
15454
+ "line": 181,
15690
15455
  "description": "Display a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only).\n\n* In a production build, this method is defined as an empty function (NOP).\nUses of this method in Ember itself are stripped from the ember.prod.js build.",
15691
15456
  "itemtype": "method",
15692
15457
  "name": "deprecate",
@@ -17453,7 +17218,7 @@
17453
17218
  },
17454
17219
  {
17455
17220
  "file": "packages/@ember/object/type-tests/core/index.test.ts",
17456
- "line": 27,
17221
+ "line": 28,
17457
17222
  "class": "@ember/object/compat",
17458
17223
  "module": "@ember/object"
17459
17224
  },
@@ -17546,21 +17311,6 @@
17546
17311
  "class": "@ember/polyfills",
17547
17312
  "module": "@ember/polyfills"
17548
17313
  },
17549
- {
17550
- "file": "packages/@ember/renderer/index.ts",
17551
- "line": 11,
17552
- "description": "Returns a promise which will resolve when rendering has settled. Settled in\nthis context is defined as when all of the tags in use are \"current\" (e.g.\n`renderers.every(r => r._isValid())`). When this is checked at the _end_ of\nthe run loop, this essentially guarantees that all rendering is completed.",
17553
- "itemtype": "method",
17554
- "name": "renderSettled",
17555
- "return": {
17556
- "description": "a promise which fulfills when rendering has settled",
17557
- "type": "Promise<void>"
17558
- },
17559
- "access": "public",
17560
- "tagname": "",
17561
- "class": "Renderer",
17562
- "module": "@ember/renderer"
17563
- },
17564
17314
  {
17565
17315
  "file": "packages/@ember/runloop/index.ts",
17566
17316
  "line": 60,
@@ -17572,7 +17322,7 @@
17572
17322
  "access": "private",
17573
17323
  "tagname": "",
17574
17324
  "class": "@ember/runloop",
17575
- "module": "@ember/renderer"
17325
+ "module": "@ember/polyfills"
17576
17326
  },
17577
17327
  {
17578
17328
  "file": "packages/@ember/runloop/index.ts",
@@ -18718,15 +18468,15 @@
18718
18468
  },
18719
18469
  {
18720
18470
  "message": "unknown tag: internal",
18721
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:597"
18471
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:601"
18722
18472
  },
18723
18473
  {
18724
18474
  "message": "unknown tag: internal",
18725
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:620"
18475
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:624"
18726
18476
  },
18727
18477
  {
18728
18478
  "message": "unknown tag: internal",
18729
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:641"
18479
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:645"
18730
18480
  },
18731
18481
  {
18732
18482
  "message": "unknown tag: decorator",
@@ -18734,23 +18484,15 @@
18734
18484
  },
18735
18485
  {
18736
18486
  "message": "replacing incorrect tag: returns with return",
18737
- "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:86"
18487
+ "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:90"
18738
18488
  },
18739
18489
  {
18740
18490
  "message": "replacing incorrect tag: returns with return",
18741
- "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:194"
18491
+ "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:198"
18742
18492
  },
18743
18493
  {
18744
18494
  "message": "replacing incorrect tag: returns with return",
18745
- "line": " packages/@ember/-internals/routing/lib/system/route.ts:2418"
18746
- },
18747
- {
18748
- "message": "unknown tag: internal",
18749
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:127"
18750
- },
18751
- {
18752
- "message": "unknown tag: internal",
18753
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:133"
18495
+ "line": " packages/@ember/-internals/routing/lib/system/route.ts:2419"
18754
18496
  },
18755
18497
  {
18756
18498
  "message": "replacing incorrect tag: function with method",
@@ -18844,169 +18586,173 @@
18844
18586
  "message": "Missing item type",
18845
18587
  "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:115"
18846
18588
  },
18589
+ {
18590
+ "message": "Missing item type",
18591
+ "line": " packages/@ember/-internals/glimmer/lib/renderer.ts:297"
18592
+ },
18847
18593
  {
18848
18594
  "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",
18849
18595
  "line": " packages/@ember/-internals/glimmer/tests/integration/custom-helper-test.js:12"
18850
18596
  },
18851
18597
  {
18852
18598
  "message": "Missing item type",
18853
- "line": " packages/@ember/-internals/meta/lib/meta.ts:89"
18599
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:90"
18854
18600
  },
18855
18601
  {
18856
18602
  "message": "Missing item type",
18857
- "line": " packages/@ember/-internals/meta/lib/meta.ts:91"
18603
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:92"
18858
18604
  },
18859
18605
  {
18860
18606
  "message": "Missing item type",
18861
- "line": " packages/@ember/-internals/meta/lib/meta.ts:93"
18607
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:94"
18862
18608
  },
18863
18609
  {
18864
18610
  "message": "Missing item type",
18865
- "line": " packages/@ember/-internals/meta/lib/meta.ts:95"
18611
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:96"
18866
18612
  },
18867
18613
  {
18868
18614
  "message": "Missing item type",
18869
- "line": " packages/@ember/-internals/meta/lib/meta.ts:97"
18615
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:98"
18870
18616
  },
18871
18617
  {
18872
18618
  "message": "Missing item type",
18873
- "line": " packages/@ember/-internals/meta/lib/meta.ts:99"
18619
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:100"
18874
18620
  },
18875
18621
  {
18876
18622
  "message": "Missing item type",
18877
- "line": " packages/@ember/-internals/meta/lib/meta.ts:101"
18623
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:102"
18878
18624
  },
18879
18625
  {
18880
18626
  "message": "Missing item type",
18881
- "line": " packages/@ember/-internals/meta/lib/meta.ts:103"
18627
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:104"
18882
18628
  },
18883
18629
  {
18884
18630
  "message": "Missing item type",
18885
- "line": " packages/@ember/-internals/meta/lib/meta.ts:105"
18631
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:106"
18886
18632
  },
18887
18633
  {
18888
18634
  "message": "Missing item type",
18889
- "line": " packages/@ember/-internals/meta/lib/meta.ts:108"
18635
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:109"
18890
18636
  },
18891
18637
  {
18892
18638
  "message": "Missing item type",
18893
- "line": " packages/@ember/-internals/meta/lib/meta.ts:110"
18639
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:111"
18894
18640
  },
18895
18641
  {
18896
18642
  "message": "Missing item type",
18897
- "line": " packages/@ember/-internals/meta/lib/meta.ts:112"
18643
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:113"
18898
18644
  },
18899
18645
  {
18900
18646
  "message": "Missing item type",
18901
- "line": " packages/@ember/-internals/meta/lib/meta.ts:114"
18647
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:115"
18902
18648
  },
18903
18649
  {
18904
18650
  "message": "Missing item type",
18905
- "line": " packages/@ember/-internals/meta/lib/meta.ts:118"
18651
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:119"
18906
18652
  },
18907
18653
  {
18908
18654
  "message": "Missing item type",
18909
- "line": " packages/@ember/-internals/meta/lib/meta.ts:141"
18655
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:142"
18910
18656
  },
18911
18657
  {
18912
18658
  "message": "Missing item type",
18913
- "line": " packages/@ember/-internals/meta/lib/meta.ts:155"
18659
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:156"
18914
18660
  },
18915
18661
  {
18916
18662
  "message": "Missing item type",
18917
- "line": " packages/@ember/-internals/meta/lib/meta.ts:160"
18663
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:161"
18918
18664
  },
18919
18665
  {
18920
18666
  "message": "Missing item type",
18921
- "line": " packages/@ember/-internals/meta/lib/meta.ts:165"
18667
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:166"
18922
18668
  },
18923
18669
  {
18924
18670
  "message": "Missing item type",
18925
- "line": " packages/@ember/-internals/meta/lib/meta.ts:170"
18671
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:171"
18926
18672
  },
18927
18673
  {
18928
18674
  "message": "Missing item type",
18929
- "line": " packages/@ember/-internals/meta/lib/meta.ts:175"
18675
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:176"
18930
18676
  },
18931
18677
  {
18932
18678
  "message": "Missing item type",
18933
- "line": " packages/@ember/-internals/meta/lib/meta.ts:180"
18679
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:181"
18934
18680
  },
18935
18681
  {
18936
18682
  "message": "Missing item type",
18937
- "line": " packages/@ember/-internals/meta/lib/meta.ts:195"
18683
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:196"
18938
18684
  },
18939
18685
  {
18940
18686
  "message": "Missing item type",
18941
- "line": " packages/@ember/-internals/meta/lib/meta.ts:208"
18687
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:209"
18942
18688
  },
18943
18689
  {
18944
18690
  "message": "Missing item type",
18945
- "line": " packages/@ember/-internals/meta/lib/meta.ts:215"
18691
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:216"
18946
18692
  },
18947
18693
  {
18948
18694
  "message": "Missing item type",
18949
- "line": " packages/@ember/-internals/meta/lib/meta.ts:222"
18695
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:223"
18950
18696
  },
18951
18697
  {
18952
18698
  "message": "Missing item type",
18953
- "line": " packages/@ember/-internals/meta/lib/meta.ts:229"
18699
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:230"
18954
18700
  },
18955
18701
  {
18956
18702
  "message": "Missing item type",
18957
- "line": " packages/@ember/-internals/meta/lib/meta.ts:236"
18703
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:237"
18958
18704
  },
18959
18705
  {
18960
18706
  "message": "Missing item type",
18961
- "line": " packages/@ember/-internals/meta/lib/meta.ts:253"
18707
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:254"
18962
18708
  },
18963
18709
  {
18964
18710
  "message": "Missing item type",
18965
- "line": " packages/@ember/-internals/meta/lib/meta.ts:268"
18711
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:269"
18966
18712
  },
18967
18713
  {
18968
18714
  "message": "Missing item type",
18969
- "line": " packages/@ember/-internals/meta/lib/meta.ts:282"
18715
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:283"
18970
18716
  },
18971
18717
  {
18972
18718
  "message": "Missing item type",
18973
- "line": " packages/@ember/-internals/meta/lib/meta.ts:287"
18719
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:288"
18974
18720
  },
18975
18721
  {
18976
18722
  "message": "Missing item type",
18977
- "line": " packages/@ember/-internals/meta/lib/meta.ts:307"
18723
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:308"
18978
18724
  },
18979
18725
  {
18980
18726
  "message": "Missing item type",
18981
- "line": " packages/@ember/-internals/meta/lib/meta.ts:321"
18727
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:322"
18982
18728
  },
18983
18729
  {
18984
18730
  "message": "Missing item type",
18985
- "line": " packages/@ember/-internals/meta/lib/meta.ts:327"
18731
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:328"
18986
18732
  },
18987
18733
  {
18988
18734
  "message": "Missing item type",
18989
- "line": " packages/@ember/-internals/meta/lib/meta.ts:332"
18735
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:333"
18990
18736
  },
18991
18737
  {
18992
18738
  "message": "Missing item type",
18993
- "line": " packages/@ember/-internals/meta/lib/meta.ts:353"
18739
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:354"
18994
18740
  },
18995
18741
  {
18996
18742
  "message": "Missing item type",
18997
- "line": " packages/@ember/-internals/meta/lib/meta.ts:368"
18743
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:369"
18998
18744
  },
18999
18745
  {
19000
18746
  "message": "Missing item type\nFlattening is based on a global revision counter. If the revision has\nbumped it means that somewhere in a class inheritance chain something has\nchanged, so we need to reflatten everything. This can only happen if:\n\n1. A meta has been flattened (listener has been called)\n2. The meta is a prototype meta with children who have inherited its\n listeners\n3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n\nThis is a very rare occurrence, so while the counter is global it shouldn't\nbe updated very often in practice.",
19001
- "line": " packages/@ember/-internals/meta/lib/meta.ts:473"
18747
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:476"
19002
18748
  },
19003
18749
  {
19004
18750
  "message": "Missing item type",
19005
- "line": " packages/@ember/-internals/meta/lib/meta.ts:547"
18751
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:550"
19006
18752
  },
19007
18753
  {
19008
18754
  "message": "Missing item type",
19009
- "line": " packages/@ember/-internals/meta/lib/meta.ts:578"
18755
+ "line": " packages/@ember/-internals/meta/lib/meta.ts:581"
19010
18756
  },
19011
18757
  {
19012
18758
  "message": "Missing item type",
@@ -19018,47 +18764,47 @@
19018
18764
  },
19019
18765
  {
19020
18766
  "message": "Missing item type",
19021
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:523"
18767
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:527"
19022
18768
  },
19023
18769
  {
19024
18770
  "message": "Missing item type",
19025
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:526"
18771
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:530"
19026
18772
  },
19027
18773
  {
19028
18774
  "message": "Missing item type",
19029
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:529"
18775
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:533"
19030
18776
  },
19031
18777
  {
19032
18778
  "message": "Missing item type",
19033
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:532"
18779
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:536"
19034
18780
  },
19035
18781
  {
19036
18782
  "message": "Missing item type",
19037
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:535"
18783
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:539"
19038
18784
  },
19039
18785
  {
19040
18786
  "message": "Missing item type",
19041
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:538"
18787
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:542"
19042
18788
  },
19043
18789
  {
19044
18790
  "message": "Missing item type",
19045
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:579"
18791
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:583"
19046
18792
  },
19047
18793
  {
19048
18794
  "message": "Missing item type",
19049
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:636"
18795
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:640"
19050
18796
  },
19051
18797
  {
19052
18798
  "message": "Missing item type",
19053
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:662"
18799
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:666"
19054
18800
  },
19055
18801
  {
19056
18802
  "message": "Missing item type",
19057
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:669"
18803
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:673"
19058
18804
  },
19059
18805
  {
19060
18806
  "message": "Missing item type",
19061
- "line": " packages/@ember/-internals/metal/lib/mixin.ts:674"
18807
+ "line": " packages/@ember/-internals/metal/lib/mixin.ts:678"
19062
18808
  },
19063
18809
  {
19064
18810
  "message": "Missing item type\nPrimarily used for cases where we are redefining a class, e.g. mixins/reopen\nbeing applied later. Revalidates all the observers, resetting their tags.",
@@ -19098,15 +18844,15 @@
19098
18844
  },
19099
18845
  {
19100
18846
  "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`.",
19101
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1633"
18847
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1635"
19102
18848
  },
19103
18849
  {
19104
18850
  "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.",
19105
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1654"
18851
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1656"
19106
18852
  },
19107
18853
  {
19108
18854
  "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.",
19109
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1676"
18855
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1678"
19110
18856
  },
19111
18857
  {
19112
18858
  "message": "Missing item type",
@@ -19122,19 +18868,19 @@
19122
18868
  },
19123
18869
  {
19124
18870
  "message": "Missing item type\nSubscribes a function to a named event and then cancels the subscription\nafter the first time the event is triggered. It is good to use ``one`` when\nyou only care about the first time an event has taken place.",
19125
- "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:23"
18871
+ "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:16"
19126
18872
  },
19127
18873
  {
19128
18874
  "message": "Missing item type\nTriggers a named event for the object. Any additional arguments\nwill be passed as parameters to the functions that are subscribed to the\nevent.",
19129
- "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:34"
18875
+ "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:27"
19130
18876
  },
19131
18877
  {
19132
18878
  "message": "Missing item type\nCancels subscription for given name, target, and method.",
19133
- "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:40"
18879
+ "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:33"
19134
18880
  },
19135
18881
  {
19136
18882
  "message": "Missing item type\nChecks to see if object has any subscriptions for named event.",
19137
- "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:49"
18883
+ "line": " packages/@ember/-internals/runtime/lib/mixins/evented.d.ts:42"
19138
18884
  },
19139
18885
  {
19140
18886
  "message": "Missing item type\nThis mixin provides properties and property observing functionality, core features of the Ember object model.",
@@ -19188,117 +18934,9 @@
19188
18934
  "message": "Missing item type",
19189
18935
  "line": " packages/@ember/-internals/runtime/lib/mixins/registry_proxy.d.ts:7"
19190
18936
  },
19191
- {
19192
- "message": "Missing item type\nUsed to infer the type of ember classes of type `T`.\n\nGenerally you would use `EmberClass.create()` instead of `new EmberClass()`.\n\nThe single-arg constructor is required by the typescript compiler.\nThe multi-arg constructor is included for better ergonomics.\n\nImplementation is carefully chosen for the reasons described in\nhttps://github.com/typed-ember/ember-typings/pull/29",
19193
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:3"
19194
- },
19195
- {
19196
- "message": "Missing item type",
19197
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:14"
19198
- },
19199
- {
19200
- "message": "Missing item type",
19201
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:17"
19202
- },
19203
- {
19204
- "message": "Missing item type",
19205
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:22"
19206
- },
19207
- {
19208
- "message": "Missing item type",
19209
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:24"
19210
- },
19211
- {
19212
- "message": "Missing item type",
19213
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:30"
19214
- },
19215
- {
19216
- "message": "Missing item type",
19217
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:33"
19218
- },
19219
- {
19220
- "message": "Missing item type",
19221
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:36"
19222
- },
19223
- {
19224
- "message": "Missing item type",
19225
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:44"
19226
- },
19227
- {
19228
- "message": "Missing item type",
19229
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:50"
19230
- },
19231
- {
19232
- "message": "Missing item type",
19233
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:53"
19234
- },
19235
- {
19236
- "message": "Missing item type\nCoreObject constructor takes owner.",
19237
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:56"
19238
- },
19239
- {
19240
- "message": "Missing item type",
19241
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:61"
19242
- },
19243
- {
19244
- "message": "Missing item type\nAn overridable method called when objects are instantiated. By default,\ndoes nothing unless it is overridden during class definition.",
19245
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:64"
19246
- },
19247
- {
19248
- "message": "Missing item type\nDefines the properties that will be concatenated from the superclass (instead of overridden).",
19249
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:70"
19250
- },
19251
- {
19252
- "message": "Missing item type\nDestroyed object property flag. If this property is true the observers and bindings were\nalready removed by the effect of calling the destroy() method.",
19253
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:76"
19254
- },
19255
- {
19256
- "message": "Missing item type\nDestruction scheduled flag. The destroy() method has been called. The object stays intact\nuntil the end of the run loop at which point the isDestroyed flag is set.",
19257
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:82"
19258
- },
19259
- {
19260
- "message": "Missing item type\nDestroys an object by setting the `isDestroyed` flag and removing its\nmetadata, which effectively destroys observers and bindings.\nIf you try to set a property on a destroyed object, an exception will be\nraised.\nNote that destruction is scheduled for the end of the run loop and does not\nhappen immediately. It will set an isDestroying flag immediately.",
19261
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:90"
19262
- },
19263
- {
19264
- "message": "Missing item type\nOverride to implement teardown.",
19265
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:101"
19266
- },
19267
- {
19268
- "message": "Missing item type\nReturns a string representation which attempts to provide more information than Javascript's toString\ntypically does, in a generic way for all Ember objects (e.g., \"<App.Person:ember1024>\").",
19269
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:106"
19270
- },
19271
- {
19272
- "message": "Missing item type",
19273
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:118"
19274
- },
19275
- {
19276
- "message": "Missing item type",
19277
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:124"
19278
- },
19279
- {
19280
- "message": "Missing item type\nIterate over each computed property for the class, passing its name and any\nassociated metadata (see metaForProperty) to the callback.",
19281
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:127"
19282
- },
19283
- {
19284
- "message": "Missing item type\nReturns the original hash that was passed to meta().",
19285
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:133"
19286
- },
19287
- {
19288
- "message": "Missing item type",
19289
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:140"
19290
- },
19291
- {
19292
- "message": "Missing item type",
19293
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:143"
19294
- },
19295
- {
19296
- "message": "Missing item type",
19297
- "line": " packages/@ember/-internals/runtime/lib/system/core_object.d.ts:146"
19298
- },
19299
18937
  {
19300
18938
  "message": "Missing item type",
19301
- "line": " packages/@ember/-internals/runtime/lib/system/object.d.ts:9"
18939
+ "line": " packages/@ember/-internals/runtime/lib/system/core_object.ts:236"
19302
18940
  },
19303
18941
  {
19304
18942
  "message": "Missing item type",
@@ -19374,7 +19012,7 @@
19374
19012
  },
19375
19013
  {
19376
19014
  "message": "Missing item type",
19377
- "line": " packages/@ember/object/type-tests/core/index.test.ts:27"
19015
+ "line": " packages/@ember/object/type-tests/core/index.test.ts:28"
19378
19016
  },
19379
19017
  {
19380
19018
  "message": "Missing item type\nZero-argument case",