ember-source 5.8.0-alpha.2 → 5.8.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +15 -2
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +1 -1
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +19 -3
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/@ember/-internals/environment/index.js +13 -0
- package/dist/packages/@ember/routing/route.js +4 -0
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +76 -63
- package/package.json +2 -2
- package/types/stable/@ember/-internals/environment/lib/env.d.ts +15 -0
package/dist/header/license.js
CHANGED
|
@@ -148,6 +148,19 @@ const ENV = {
|
|
|
148
148
|
@private
|
|
149
149
|
*/
|
|
150
150
|
_DEFAULT_ASYNC_OBSERVERS: false,
|
|
151
|
+
/**
|
|
152
|
+
Whether the app still has default record-loading behavior in the model
|
|
153
|
+
hook from RFC https://rfcs.emberjs.com/id/0774-implicit-record-route-loading
|
|
154
|
+
This will also remove the default store property from the route.
|
|
155
|
+
This is not intended to be set directly, as the implementation may change in
|
|
156
|
+
the future. Use `@ember/optional-features` instead.
|
|
157
|
+
@property _NO_IMPLICIT_ROUTE_MODEL
|
|
158
|
+
@for EmberENV
|
|
159
|
+
@type Boolean
|
|
160
|
+
@default false
|
|
161
|
+
@private
|
|
162
|
+
*/
|
|
163
|
+
_NO_IMPLICIT_ROUTE_MODEL: false,
|
|
151
164
|
/**
|
|
152
165
|
Controls the maximum number of scheduled rerenders without "settling". In general,
|
|
153
166
|
applications should not need to modify this environment variable, but please
|
|
@@ -9,6 +9,7 @@ var _a;
|
|
|
9
9
|
import { privatize as P } from '@ember/-internals/container';
|
|
10
10
|
import { addObserver, defineProperty, descriptorForProperty, flushAsyncObservers } from '@ember/-internals/metal';
|
|
11
11
|
import { getOwner } from '@ember/-internals/owner';
|
|
12
|
+
import { ENV } from '@ember/-internals/environment';
|
|
12
13
|
import { BucketCache } from '@ember/routing/-internals';
|
|
13
14
|
import EmberObject, { computed, get, set, getProperties, setProperties } from '@ember/object';
|
|
14
15
|
import Evented from '@ember/object/evented';
|
|
@@ -611,6 +612,9 @@ class Route extends EmberObject.extend(ActionHandler, Evented) {
|
|
|
611
612
|
@private
|
|
612
613
|
*/
|
|
613
614
|
findModel(type, value) {
|
|
615
|
+
if (ENV._NO_IMPLICIT_ROUTE_MODEL) {
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
614
618
|
deprecate(`The implicit model loading behavior for routes is deprecated. ` + `Please define an explicit model hook for ${this.fullRouteName}.`, false, {
|
|
615
619
|
id: 'deprecate-implicit-route-model',
|
|
616
620
|
for: 'ember-source',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "5.8.0-alpha.
|
|
1
|
+
export default "5.8.0-alpha.3";
|
package/docs/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "The Ember API",
|
|
4
4
|
"description": "The Ember API: a framework for building ambitious web applications",
|
|
5
5
|
"url": "https://emberjs.com/",
|
|
6
|
-
"version": "5.8.0-alpha.
|
|
6
|
+
"version": "5.8.0-alpha.3"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -2440,7 +2440,7 @@
|
|
|
2440
2440
|
"namespaces": {},
|
|
2441
2441
|
"tag": "module",
|
|
2442
2442
|
"file": "packages/@ember/routing/route.ts",
|
|
2443
|
-
"line":
|
|
2443
|
+
"line": 81
|
|
2444
2444
|
},
|
|
2445
2445
|
"@ember/routing/router-service": {
|
|
2446
2446
|
"name": "@ember/routing/router-service",
|
|
@@ -4140,7 +4140,7 @@
|
|
|
4140
4140
|
"module": "@ember/routing/route",
|
|
4141
4141
|
"namespace": "",
|
|
4142
4142
|
"file": "packages/@ember/routing/route.ts",
|
|
4143
|
-
"line":
|
|
4143
|
+
"line": 81,
|
|
4144
4144
|
"description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
|
|
4145
4145
|
"extends": "EmberObject",
|
|
4146
4146
|
"uses": [
|
|
@@ -5512,6 +5512,19 @@
|
|
|
5512
5512
|
{
|
|
5513
5513
|
"file": "packages/@ember/-internals/environment/lib/env.ts",
|
|
5514
5514
|
"line": 145,
|
|
5515
|
+
"description": "Whether the app still has default record-loading behavior in the model\nhook from RFC https://rfcs.emberjs.com/id/0774-implicit-record-route-loading\nThis will also remove the default store property from the route.\n\nThis is not intended to be set directly, as the implementation may change in\nthe future. Use `@ember/optional-features` instead.",
|
|
5516
|
+
"itemtype": "property",
|
|
5517
|
+
"name": "_NO_IMPLICIT_ROUTE_MODEL",
|
|
5518
|
+
"type": "Boolean",
|
|
5519
|
+
"default": "false",
|
|
5520
|
+
"access": "private",
|
|
5521
|
+
"tagname": "",
|
|
5522
|
+
"class": "EmberENV",
|
|
5523
|
+
"module": "rsvp"
|
|
5524
|
+
},
|
|
5525
|
+
{
|
|
5526
|
+
"file": "packages/@ember/-internals/environment/lib/env.ts",
|
|
5527
|
+
"line": 161,
|
|
5515
5528
|
"description": "Controls the maximum number of scheduled rerenders without \"settling\". In general,\napplications should not need to modify this environment variable, but please\nopen an issue so that we can determine if a better default value is needed.",
|
|
5516
5529
|
"itemtype": "property",
|
|
5517
5530
|
"name": "_RERENDER_LOOP_LIMIT",
|
|
@@ -15855,7 +15868,7 @@
|
|
|
15855
15868
|
},
|
|
15856
15869
|
{
|
|
15857
15870
|
"file": "packages/@ember/routing/route.ts",
|
|
15858
|
-
"line":
|
|
15871
|
+
"line": 93,
|
|
15859
15872
|
"description": "The `willTransition` action is fired at the beginning of any\nattempted transition with a `Transition` object as the sole\nargument. This action can be used for aborting, redirecting,\nor decorating the transition from the currently active routes.\n\nA good example is preventing navigation when a form is\nhalf-filled out:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ContactFormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\n }\n}\n```\n\nYou can also redirect elsewhere by calling\n`this.router.transitionTo('elsewhere')` from within `willTransition`.\nNote that `willTransition` will not be fired for the\nredirecting `transitionTo`, since `willTransition` doesn't\nfire when there is already a transition underway. If you want\nsubsequent `willTransition` actions to fire for the redirecting\ntransition, you must first explicitly call\n`transition.abort()`.\n\nTo allow the `willTransition` event to continue bubbling to the parent\nroute, use `return true;`. When the `willTransition` method has a\nreturn value of `true` then the parent route's `willTransition` method\nwill be fired, enabling \"bubbling\" behavior for the event.",
|
|
15860
15873
|
"itemtype": "event",
|
|
15861
15874
|
"name": "willTransition",
|
|
@@ -15874,7 +15887,7 @@
|
|
|
15874
15887
|
},
|
|
15875
15888
|
{
|
|
15876
15889
|
"file": "packages/@ember/routing/route.ts",
|
|
15877
|
-
"line":
|
|
15890
|
+
"line": 138,
|
|
15878
15891
|
"description": "The `didTransition` action is fired after a transition has\nsuccessfully been completed. This occurs after the normal model\nhooks (`beforeModel`, `model`, `afterModel`, `setupController`)\nhave resolved. The `didTransition` action has no arguments,\nhowever, it can be useful for tracking page views or resetting\nstate on the controller.\n\n```app/routes/login.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class LoginRoute extends Route {\n @action\n didTransition() {\n // your code there\n return true; // Bubble the didTransition event\n }\n}\n```",
|
|
15879
15892
|
"itemtype": "event",
|
|
15880
15893
|
"name": "didTransition",
|
|
@@ -15886,7 +15899,7 @@
|
|
|
15886
15899
|
},
|
|
15887
15900
|
{
|
|
15888
15901
|
"file": "packages/@ember/routing/route.ts",
|
|
15889
|
-
"line":
|
|
15902
|
+
"line": 165,
|
|
15890
15903
|
"description": "The `loading` action is fired on the route when a route's `model`\nhook returns a promise that is not already resolved. The current\n`Transition` object is the first parameter and the route that\ntriggered the loading event is the second parameter.\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n loading(transition, route) {\n let controller = this.controllerFor('foo');\n\n // The controller may not be instantiated when initially loading\n if (controller) {\n controller.currentlyLoading = true;\n\n transition.finally(function() {\n controller.currentlyLoading = false;\n });\n }\n }\n}\n```",
|
|
15891
15904
|
"itemtype": "event",
|
|
15892
15905
|
"name": "loading",
|
|
@@ -15910,7 +15923,7 @@
|
|
|
15910
15923
|
},
|
|
15911
15924
|
{
|
|
15912
15925
|
"file": "packages/@ember/routing/route.ts",
|
|
15913
|
-
"line":
|
|
15926
|
+
"line": 200,
|
|
15914
15927
|
"description": "When attempting to transition into a route, any of the hooks\nmay return a promise that rejects, at which point an `error`\naction will be fired on the partially-entered routes, allowing\nfor per-route error handling logic, or shared error handling\nlogic defined on a parent route.\n\nHere is an example of an error handler that will be invoked\nfor rejected promises from the various hooks on the route,\nas well as any unhandled errors from child routes:\n\n```app/routes/admin.js\nimport { reject } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { service } from '@ember/service';\n\nexport default class AdminRoute extends Route {\n @service router;\n\n beforeModel() {\n return reject('bad things!');\n }\n\n @action\n error(error, transition) {\n // Assuming we got here due to the error in `beforeModel`,\n // we can expect that error === \"bad things!\",\n // but a promise model rejecting would also\n // call this hook, as would any errors encountered\n // in `afterModel`.\n\n // The `error` hook is also provided the failed\n // `transition`, which can be stored and later\n // `.retry()`d if desired.\n\n this.router.transitionTo('login');\n }\n}\n```\n\n`error` actions that bubble up all the way to `ApplicationRoute`\nwill fire a default error handler that logs the error. You can\nspecify your own global default error handler by overriding the\n`error` handler on `ApplicationRoute`:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n}\n```",
|
|
15915
15928
|
"itemtype": "event",
|
|
15916
15929
|
"name": "error",
|
|
@@ -15934,31 +15947,31 @@
|
|
|
15934
15947
|
},
|
|
15935
15948
|
{
|
|
15936
15949
|
"file": "packages/@ember/routing/route.ts",
|
|
15937
|
-
"line":
|
|
15950
|
+
"line": 273,
|
|
15938
15951
|
"class": "Route",
|
|
15939
15952
|
"module": "@ember/routing/route"
|
|
15940
15953
|
},
|
|
15941
15954
|
{
|
|
15942
15955
|
"file": "packages/@ember/routing/route.ts",
|
|
15943
|
-
"line":
|
|
15956
|
+
"line": 275,
|
|
15944
15957
|
"class": "Route",
|
|
15945
15958
|
"module": "@ember/routing/route"
|
|
15946
15959
|
},
|
|
15947
15960
|
{
|
|
15948
15961
|
"file": "packages/@ember/routing/route.ts",
|
|
15949
|
-
"line":
|
|
15962
|
+
"line": 278,
|
|
15950
15963
|
"class": "Route",
|
|
15951
15964
|
"module": "@ember/routing/route"
|
|
15952
15965
|
},
|
|
15953
15966
|
{
|
|
15954
15967
|
"file": "packages/@ember/routing/route.ts",
|
|
15955
|
-
"line":
|
|
15968
|
+
"line": 280,
|
|
15956
15969
|
"class": "Route",
|
|
15957
15970
|
"module": "@ember/routing/route"
|
|
15958
15971
|
},
|
|
15959
15972
|
{
|
|
15960
15973
|
"file": "packages/@ember/routing/route.ts",
|
|
15961
|
-
"line":
|
|
15974
|
+
"line": 308,
|
|
15962
15975
|
"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.",
|
|
15963
15976
|
"itemtype": "method",
|
|
15964
15977
|
"name": "serialize",
|
|
@@ -15986,7 +15999,7 @@
|
|
|
15986
15999
|
},
|
|
15987
16000
|
{
|
|
15988
16001
|
"file": "packages/@ember/routing/route.ts",
|
|
15989
|
-
"line":
|
|
16002
|
+
"line": 376,
|
|
15990
16003
|
"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```",
|
|
15991
16004
|
"itemtype": "property",
|
|
15992
16005
|
"name": "queryParams",
|
|
@@ -15999,7 +16012,7 @@
|
|
|
15999
16012
|
},
|
|
16000
16013
|
{
|
|
16001
16014
|
"file": "packages/@ember/routing/route.ts",
|
|
16002
|
-
"line":
|
|
16015
|
+
"line": 429,
|
|
16003
16016
|
"description": "The name of the template to use by default when rendering this route's\ntemplate.\n\n```app/routes/posts/list.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsListRoute extends Route {\n templateName = 'posts/list';\n}\n```\n\n```app/routes/posts/index.js\nimport PostsListRoute from '../posts/list';\n\nexport default class PostsIndexRoute extends PostsListRoute {};\n```\n\n```app/routes/posts/archived.js\nimport PostsListRoute from '../posts/list';\n\nexport default class PostsArchivedRoute extends PostsListRoute {};\n```",
|
|
16004
16017
|
"itemtype": "property",
|
|
16005
16018
|
"name": "templateName",
|
|
@@ -16013,7 +16026,7 @@
|
|
|
16013
16026
|
},
|
|
16014
16027
|
{
|
|
16015
16028
|
"file": "packages/@ember/routing/route.ts",
|
|
16016
|
-
"line":
|
|
16029
|
+
"line": 462,
|
|
16017
16030
|
"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.",
|
|
16018
16031
|
"itemtype": "property",
|
|
16019
16032
|
"name": "controllerName",
|
|
@@ -16027,7 +16040,7 @@
|
|
|
16027
16040
|
},
|
|
16028
16041
|
{
|
|
16029
16042
|
"file": "packages/@ember/routing/route.ts",
|
|
16030
|
-
"line":
|
|
16043
|
+
"line": 485,
|
|
16031
16044
|
"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```",
|
|
16032
16045
|
"itemtype": "property",
|
|
16033
16046
|
"name": "controller",
|
|
@@ -16040,7 +16053,7 @@
|
|
|
16040
16053
|
},
|
|
16041
16054
|
{
|
|
16042
16055
|
"file": "packages/@ember/routing/route.ts",
|
|
16043
|
-
"line":
|
|
16056
|
+
"line": 516,
|
|
16044
16057
|
"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`.",
|
|
16045
16058
|
"itemtype": "property",
|
|
16046
16059
|
"name": "routeName",
|
|
@@ -16053,7 +16066,7 @@
|
|
|
16053
16066
|
},
|
|
16054
16067
|
{
|
|
16055
16068
|
"file": "packages/@ember/routing/route.ts",
|
|
16056
|
-
"line":
|
|
16069
|
+
"line": 530,
|
|
16057
16070
|
"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`.",
|
|
16058
16071
|
"itemtype": "property",
|
|
16059
16072
|
"name": "fullRouteName",
|
|
@@ -16066,7 +16079,7 @@
|
|
|
16066
16079
|
},
|
|
16067
16080
|
{
|
|
16068
16081
|
"file": "packages/@ember/routing/route.ts",
|
|
16069
|
-
"line":
|
|
16082
|
+
"line": 545,
|
|
16070
16083
|
"description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
|
|
16071
16084
|
"access": "private",
|
|
16072
16085
|
"tagname": "",
|
|
@@ -16084,7 +16097,7 @@
|
|
|
16084
16097
|
},
|
|
16085
16098
|
{
|
|
16086
16099
|
"file": "packages/@ember/routing/route.ts",
|
|
16087
|
-
"line":
|
|
16100
|
+
"line": 560,
|
|
16088
16101
|
"access": "private",
|
|
16089
16102
|
"tagname": "",
|
|
16090
16103
|
"itemtype": "method",
|
|
@@ -16094,7 +16107,7 @@
|
|
|
16094
16107
|
},
|
|
16095
16108
|
{
|
|
16096
16109
|
"file": "packages/@ember/routing/route.ts",
|
|
16097
|
-
"line":
|
|
16110
|
+
"line": 594,
|
|
16098
16111
|
"access": "private",
|
|
16099
16112
|
"tagname": "",
|
|
16100
16113
|
"itemtype": "property",
|
|
@@ -16104,7 +16117,7 @@
|
|
|
16104
16117
|
},
|
|
16105
16118
|
{
|
|
16106
16119
|
"file": "packages/@ember/routing/route.ts",
|
|
16107
|
-
"line":
|
|
16120
|
+
"line": 603,
|
|
16108
16121
|
"access": "private",
|
|
16109
16122
|
"tagname": "",
|
|
16110
16123
|
"itemtype": "method",
|
|
@@ -16114,7 +16127,7 @@
|
|
|
16114
16127
|
},
|
|
16115
16128
|
{
|
|
16116
16129
|
"file": "packages/@ember/routing/route.ts",
|
|
16117
|
-
"line":
|
|
16130
|
+
"line": 611,
|
|
16118
16131
|
"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`",
|
|
16119
16132
|
"itemtype": "method",
|
|
16120
16133
|
"name": "paramsFor",
|
|
@@ -16137,7 +16150,7 @@
|
|
|
16137
16150
|
},
|
|
16138
16151
|
{
|
|
16139
16152
|
"file": "packages/@ember/routing/route.ts",
|
|
16140
|
-
"line":
|
|
16153
|
+
"line": 692,
|
|
16141
16154
|
"description": "Serializes the query parameter key",
|
|
16142
16155
|
"itemtype": "method",
|
|
16143
16156
|
"name": "serializeQueryParamKey",
|
|
@@ -16155,7 +16168,7 @@
|
|
|
16155
16168
|
},
|
|
16156
16169
|
{
|
|
16157
16170
|
"file": "packages/@ember/routing/route.ts",
|
|
16158
|
-
"line":
|
|
16171
|
+
"line": 703,
|
|
16159
16172
|
"description": "Serializes value of the query parameter based on defaultValueType",
|
|
16160
16173
|
"itemtype": "method",
|
|
16161
16174
|
"name": "serializeQueryParam",
|
|
@@ -16183,7 +16196,7 @@
|
|
|
16183
16196
|
},
|
|
16184
16197
|
{
|
|
16185
16198
|
"file": "packages/@ember/routing/route.ts",
|
|
16186
|
-
"line":
|
|
16199
|
+
"line": 719,
|
|
16187
16200
|
"description": "Deserializes value of the query parameter based on defaultValueType",
|
|
16188
16201
|
"itemtype": "method",
|
|
16189
16202
|
"name": "deserializeQueryParam",
|
|
@@ -16211,7 +16224,7 @@
|
|
|
16211
16224
|
},
|
|
16212
16225
|
{
|
|
16213
16226
|
"file": "packages/@ember/routing/route.ts",
|
|
16214
|
-
"line":
|
|
16227
|
+
"line": 735,
|
|
16215
16228
|
"access": "private",
|
|
16216
16229
|
"tagname": "",
|
|
16217
16230
|
"itemtype": "property",
|
|
@@ -16221,7 +16234,7 @@
|
|
|
16221
16234
|
},
|
|
16222
16235
|
{
|
|
16223
16236
|
"file": "packages/@ember/routing/route.ts",
|
|
16224
|
-
"line":
|
|
16237
|
+
"line": 751,
|
|
16225
16238
|
"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```",
|
|
16226
16239
|
"itemtype": "method",
|
|
16227
16240
|
"name": "resetController",
|
|
@@ -16250,7 +16263,7 @@
|
|
|
16250
16263
|
},
|
|
16251
16264
|
{
|
|
16252
16265
|
"file": "packages/@ember/routing/route.ts",
|
|
16253
|
-
"line":
|
|
16266
|
+
"line": 781,
|
|
16254
16267
|
"access": "private",
|
|
16255
16268
|
"tagname": "",
|
|
16256
16269
|
"itemtype": "method",
|
|
@@ -16260,7 +16273,7 @@
|
|
|
16260
16273
|
},
|
|
16261
16274
|
{
|
|
16262
16275
|
"file": "packages/@ember/routing/route.ts",
|
|
16263
|
-
"line":
|
|
16276
|
+
"line": 792,
|
|
16264
16277
|
"access": "private",
|
|
16265
16278
|
"tagname": "",
|
|
16266
16279
|
"itemtype": "method",
|
|
@@ -16271,7 +16284,7 @@
|
|
|
16271
16284
|
},
|
|
16272
16285
|
{
|
|
16273
16286
|
"file": "packages/@ember/routing/route.ts",
|
|
16274
|
-
"line":
|
|
16287
|
+
"line": 806,
|
|
16275
16288
|
"access": "private",
|
|
16276
16289
|
"tagname": "",
|
|
16277
16290
|
"itemtype": "method",
|
|
@@ -16281,7 +16294,7 @@
|
|
|
16281
16294
|
},
|
|
16282
16295
|
{
|
|
16283
16296
|
"file": "packages/@ember/routing/route.ts",
|
|
16284
|
-
"line":
|
|
16297
|
+
"line": 817,
|
|
16285
16298
|
"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```",
|
|
16286
16299
|
"itemtype": "event",
|
|
16287
16300
|
"name": "activate",
|
|
@@ -16293,7 +16306,7 @@
|
|
|
16293
16306
|
},
|
|
16294
16307
|
{
|
|
16295
16308
|
"file": "packages/@ember/routing/route.ts",
|
|
16296
|
-
"line":
|
|
16309
|
+
"line": 837,
|
|
16297
16310
|
"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```",
|
|
16298
16311
|
"itemtype": "event",
|
|
16299
16312
|
"name": "deactivate",
|
|
@@ -16305,7 +16318,7 @@
|
|
|
16305
16318
|
},
|
|
16306
16319
|
{
|
|
16307
16320
|
"file": "packages/@ember/routing/route.ts",
|
|
16308
|
-
"line":
|
|
16321
|
+
"line": 857,
|
|
16309
16322
|
"description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
|
|
16310
16323
|
"itemtype": "method",
|
|
16311
16324
|
"name": "deactivate",
|
|
@@ -16324,7 +16337,7 @@
|
|
|
16324
16337
|
},
|
|
16325
16338
|
{
|
|
16326
16339
|
"file": "packages/@ember/routing/route.ts",
|
|
16327
|
-
"line":
|
|
16340
|
+
"line": 868,
|
|
16328
16341
|
"description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
|
|
16329
16342
|
"itemtype": "method",
|
|
16330
16343
|
"name": "activate",
|
|
@@ -16343,7 +16356,7 @@
|
|
|
16343
16356
|
},
|
|
16344
16357
|
{
|
|
16345
16358
|
"file": "packages/@ember/routing/route.ts",
|
|
16346
|
-
"line":
|
|
16359
|
+
"line": 879,
|
|
16347
16360
|
"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.",
|
|
16348
16361
|
"itemtype": "method",
|
|
16349
16362
|
"name": "intermediateTransitionTo",
|
|
@@ -16367,7 +16380,7 @@
|
|
|
16367
16380
|
},
|
|
16368
16381
|
{
|
|
16369
16382
|
"file": "packages/@ember/routing/route.ts",
|
|
16370
|
-
"line":
|
|
16383
|
+
"line": 901,
|
|
16371
16384
|
"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.",
|
|
16372
16385
|
"itemtype": "method",
|
|
16373
16386
|
"name": "refresh",
|
|
@@ -16383,7 +16396,7 @@
|
|
|
16383
16396
|
},
|
|
16384
16397
|
{
|
|
16385
16398
|
"file": "packages/@ember/routing/route.ts",
|
|
16386
|
-
"line":
|
|
16399
|
+
"line": 927,
|
|
16387
16400
|
"description": "This hook is the entry point for router.js",
|
|
16388
16401
|
"access": "private",
|
|
16389
16402
|
"tagname": "",
|
|
@@ -16394,7 +16407,7 @@
|
|
|
16394
16407
|
},
|
|
16395
16408
|
{
|
|
16396
16409
|
"file": "packages/@ember/routing/route.ts",
|
|
16397
|
-
"line":
|
|
16410
|
+
"line": 1002,
|
|
16398
16411
|
"description": "This hook is the first of the route entry validation hooks\ncalled when an attempt is made to transition into a route\nor one of its children. It is called before `model` and\n`afterModel`, and is appropriate for cases when:\n\n1) A decision can be made to redirect elsewhere without\n needing to resolve the model first.\n2) Any async operations need to occur first before the\n model is attempted to be resolved.\n\nThis hook is provided the current `transition` attempt\nas a parameter, which can be used to `.abort()` the transition,\nsave it for a later `.retry()`, or retrieve values set\non it from a previous hook. You can also just call\n`router.transitionTo` to another route to implicitly\nabort the `transition`.\n\nYou can return a promise from this hook to pause the\ntransition until the promise resolves (or rejects). This could\nbe useful, for instance, for retrieving async code from\nthe server that is required to enter a route.",
|
|
16399
16412
|
"itemtype": "method",
|
|
16400
16413
|
"name": "beforeModel",
|
|
@@ -16417,7 +16430,7 @@
|
|
|
16417
16430
|
},
|
|
16418
16431
|
{
|
|
16419
16432
|
"file": "packages/@ember/routing/route.ts",
|
|
16420
|
-
"line":
|
|
16433
|
+
"line": 1037,
|
|
16421
16434
|
"description": "This hook is called after this route's model has resolved.\nIt follows identical async/promise semantics to `beforeModel`\nbut is provided the route's resolved model in addition to\nthe `transition`, and is therefore suited to performing\nlogic that can only take place after the model has already\nresolved.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PostsRoute extends Route {\n @service router;\n\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.router.transitionTo('post.show', posts.get('firstObject'));\n }\n }\n}\n```\n\nRefer to documentation for `beforeModel` for a description\nof transition-pausing semantics when a promise is returned\nfrom this hook.",
|
|
16422
16435
|
"itemtype": "method",
|
|
16423
16436
|
"name": "afterModel",
|
|
@@ -16445,7 +16458,7 @@
|
|
|
16445
16458
|
},
|
|
16446
16459
|
{
|
|
16447
16460
|
"file": "packages/@ember/routing/route.ts",
|
|
16448
|
-
"line":
|
|
16461
|
+
"line": 1081,
|
|
16449
16462
|
"description": "A hook you can implement to optionally redirect to another route.\n\nCalling `this.router.transitionTo` from inside of the `redirect` hook will\nabort the current transition (into the route that has implemented `redirect`).\n\n`redirect` and `afterModel` behave very similarly and are\ncalled almost at the same time, but they have an important\ndistinction when calling `this.router.transitionTo` to a child route\nof the current route. From `afterModel`, this new transition\ninvalidates the current transition, causing `beforeModel`,\n`model`, and `afterModel` hooks to be called again. But the\nsame transition started from `redirect` does _not_ invalidate\nthe current transition. In other words, by the time the `redirect`\nhook has been called, both the resolved model and the attempted\nentry into this route are considered fully validated.",
|
|
16450
16463
|
"itemtype": "method",
|
|
16451
16464
|
"name": "redirect",
|
|
@@ -16469,7 +16482,7 @@
|
|
|
16469
16482
|
},
|
|
16470
16483
|
{
|
|
16471
16484
|
"file": "packages/@ember/routing/route.ts",
|
|
16472
|
-
"line":
|
|
16485
|
+
"line": 1106,
|
|
16473
16486
|
"description": "Called when the context is changed by router.js.",
|
|
16474
16487
|
"access": "private",
|
|
16475
16488
|
"tagname": "",
|
|
@@ -16480,7 +16493,7 @@
|
|
|
16480
16493
|
},
|
|
16481
16494
|
{
|
|
16482
16495
|
"file": "packages/@ember/routing/route.ts",
|
|
16483
|
-
"line":
|
|
16496
|
+
"line": 1116,
|
|
16484
16497
|
"description": "A hook you can implement to convert the URL into the model for\nthis route.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nNote that for routes with dynamic segments, this hook is not always\nexecuted. If the route is entered through a transition (e.g. when\nusing the `link-to` Handlebars helper or the `transitionTo` method\nof routes), and a model context is already provided this hook\nis not called.\n\nA model context does not include a primitive string or number,\nwhich does cause the model hook to be called.\n\nRoutes without dynamic segments will always execute the model hook.\n\n```javascript\n// no dynamic segment, model hook always called\nthis.router.transitionTo('posts');\n\n// model passed in, so model hook not called\nthePost = store.findRecord('post', 1);\nthis.router.transitionTo('post', thePost);\n\n// integer passed in, model hook is called\nthis.router.transitionTo('post', 1);\n\n// model id passed in, model hook is called\n// useful for forcing the hook to execute\nthePost = store.findRecord('post', 1);\nthis.router.transitionTo('post', thePost.id);\n```\n\nThis hook follows the asynchronous/promise semantics\ndescribed in the documentation for `beforeModel`. In particular,\nif a promise returned from `model` fails, the error will be\nhandled by the `error` hook on `Route`.\n\nNote that the legacy behavior of automatically defining a model\nhook when a dynamic segment ending in `_id` is present is\n[deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).\nYou should explicitly define a model hook whenever any segments are\npresent.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PostRoute extends Route {\n @service store;\n\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n}\n```",
|
|
16485
16498
|
"itemtype": "method",
|
|
16486
16499
|
"name": "model",
|
|
@@ -16508,7 +16521,7 @@
|
|
|
16508
16521
|
},
|
|
16509
16522
|
{
|
|
16510
16523
|
"file": "packages/@ember/routing/route.ts",
|
|
16511
|
-
"line":
|
|
16524
|
+
"line": 1234,
|
|
16512
16525
|
"access": "private",
|
|
16513
16526
|
"tagname": "",
|
|
16514
16527
|
"itemtype": "method",
|
|
@@ -16534,7 +16547,7 @@
|
|
|
16534
16547
|
},
|
|
16535
16548
|
{
|
|
16536
16549
|
"file": "packages/@ember/routing/route.ts",
|
|
16537
|
-
"line":
|
|
16550
|
+
"line": 1247,
|
|
16538
16551
|
"itemtype": "method",
|
|
16539
16552
|
"name": "findModel",
|
|
16540
16553
|
"params": [
|
|
@@ -16556,7 +16569,7 @@
|
|
|
16556
16569
|
},
|
|
16557
16570
|
{
|
|
16558
16571
|
"file": "packages/@ember/routing/route.ts",
|
|
16559
|
-
"line":
|
|
16572
|
+
"line": 1278,
|
|
16560
16573
|
"description": "A hook you can use to setup the controller for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook.\n\nBy default, the `setupController` hook sets the `model` property of\nthe controller to the specified `model` when it is not `undefined`.\n\nIf you implement the `setupController` hook in your Route, it will\nprevent this default behavior. If you want to preserve that behavior\nwhen implementing your `setupController` function, make sure to call\n`super`:\n\n```app/routes/photos.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class PhotosRoute extends Route {\n @service store;\n\n model() {\n return this.store.findAll('photo');\n }\n\n setupController(controller, model) {\n super.setupController(controller, model);\n\n this.controllerFor('application').set('showingPhotos', true);\n }\n}\n```\n\nThe provided controller will be one resolved based on the name\nof this route.\n\nIf no explicit controller is defined, Ember will automatically create one.\n\nAs an example, consider the router:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nIf you have defined a file for the post controller,\nthe framework will use it.\nIf it is not defined, a basic `Controller` instance would be used.",
|
|
16561
16574
|
"example": [
|
|
16562
16575
|
" 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```"
|
|
@@ -16589,7 +16602,7 @@
|
|
|
16589
16602
|
},
|
|
16590
16603
|
{
|
|
16591
16604
|
"file": "packages/@ember/routing/route.ts",
|
|
16592
|
-
"line":
|
|
16605
|
+
"line": 1357,
|
|
16593
16606
|
"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```",
|
|
16594
16607
|
"itemtype": "method",
|
|
16595
16608
|
"name": "controllerFor",
|
|
@@ -16612,7 +16625,7 @@
|
|
|
16612
16625
|
},
|
|
16613
16626
|
{
|
|
16614
16627
|
"file": "packages/@ember/routing/route.ts",
|
|
16615
|
-
"line":
|
|
16628
|
+
"line": 1411,
|
|
16616
16629
|
"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```",
|
|
16617
16630
|
"itemtype": "method",
|
|
16618
16631
|
"name": "generateController",
|
|
@@ -16630,7 +16643,7 @@
|
|
|
16630
16643
|
},
|
|
16631
16644
|
{
|
|
16632
16645
|
"file": "packages/@ember/routing/route.ts",
|
|
16633
|
-
"line":
|
|
16646
|
+
"line": 1439,
|
|
16634
16647
|
"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```",
|
|
16635
16648
|
"itemtype": "method",
|
|
16636
16649
|
"name": "modelFor",
|
|
@@ -16653,7 +16666,7 @@
|
|
|
16653
16666
|
},
|
|
16654
16667
|
{
|
|
16655
16668
|
"file": "packages/@ember/routing/route.ts",
|
|
16656
|
-
"line":
|
|
16669
|
+
"line": 1513,
|
|
16657
16670
|
"description": "`this[RENDER]` is used to set up the rendering option for the outlet state.",
|
|
16658
16671
|
"itemtype": "method",
|
|
16659
16672
|
"name": "this[RENDER]",
|
|
@@ -16664,7 +16677,7 @@
|
|
|
16664
16677
|
},
|
|
16665
16678
|
{
|
|
16666
16679
|
"file": "packages/@ember/routing/route.ts",
|
|
16667
|
-
"line":
|
|
16680
|
+
"line": 1527,
|
|
16668
16681
|
"access": "private",
|
|
16669
16682
|
"tagname": "",
|
|
16670
16683
|
"itemtype": "method",
|
|
@@ -16674,7 +16687,7 @@
|
|
|
16674
16687
|
},
|
|
16675
16688
|
{
|
|
16676
16689
|
"file": "packages/@ember/routing/route.ts",
|
|
16677
|
-
"line":
|
|
16690
|
+
"line": 1539,
|
|
16678
16691
|
"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```",
|
|
16679
16692
|
"itemtype": "method",
|
|
16680
16693
|
"name": "buildRouteInfoMetadata",
|
|
@@ -16689,13 +16702,13 @@
|
|
|
16689
16702
|
},
|
|
16690
16703
|
{
|
|
16691
16704
|
"file": "packages/@ember/routing/route.ts",
|
|
16692
|
-
"line":
|
|
16705
|
+
"line": 1590,
|
|
16693
16706
|
"class": "Route",
|
|
16694
16707
|
"module": "@ember/routing/route"
|
|
16695
16708
|
},
|
|
16696
16709
|
{
|
|
16697
16710
|
"file": "packages/@ember/routing/route.ts",
|
|
16698
|
-
"line":
|
|
16711
|
+
"line": 1639,
|
|
16699
16712
|
"access": "private",
|
|
16700
16713
|
"tagname": "",
|
|
16701
16714
|
"itemtype": "property",
|
|
@@ -16705,7 +16718,7 @@
|
|
|
16705
16718
|
},
|
|
16706
16719
|
{
|
|
16707
16720
|
"file": "packages/@ember/routing/route.ts",
|
|
16708
|
-
"line":
|
|
16721
|
+
"line": 1778,
|
|
16709
16722
|
"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```",
|
|
16710
16723
|
"itemtype": "method",
|
|
16711
16724
|
"name": "send",
|
|
@@ -16729,7 +16742,7 @@
|
|
|
16729
16742
|
},
|
|
16730
16743
|
{
|
|
16731
16744
|
"file": "packages/@ember/routing/route.ts",
|
|
16732
|
-
"line":
|
|
16745
|
+
"line": 2058,
|
|
16733
16746
|
"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```",
|
|
16734
16747
|
"itemtype": "property",
|
|
16735
16748
|
"name": "controller",
|
|
@@ -16742,7 +16755,7 @@
|
|
|
16742
16755
|
},
|
|
16743
16756
|
{
|
|
16744
16757
|
"file": "packages/@ember/routing/route.ts",
|
|
16745
|
-
"line":
|
|
16758
|
+
"line": 2089,
|
|
16746
16759
|
"description": "This action is called when one or more query params have changed. Bubbles.",
|
|
16747
16760
|
"itemtype": "method",
|
|
16748
16761
|
"name": "queryParamsDidChange",
|
|
@@ -19225,7 +19238,7 @@
|
|
|
19225
19238
|
},
|
|
19226
19239
|
{
|
|
19227
19240
|
"message": "replacing incorrect tag: returns with return",
|
|
19228
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19241
|
+
"line": " packages/@ember/routing/route.ts:2089"
|
|
19229
19242
|
},
|
|
19230
19243
|
{
|
|
19231
19244
|
"message": "unknown tag: internal",
|
|
@@ -19813,23 +19826,23 @@
|
|
|
19813
19826
|
},
|
|
19814
19827
|
{
|
|
19815
19828
|
"message": "Missing item type",
|
|
19816
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19829
|
+
"line": " packages/@ember/routing/route.ts:273"
|
|
19817
19830
|
},
|
|
19818
19831
|
{
|
|
19819
19832
|
"message": "Missing item type",
|
|
19820
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19833
|
+
"line": " packages/@ember/routing/route.ts:275"
|
|
19821
19834
|
},
|
|
19822
19835
|
{
|
|
19823
19836
|
"message": "Missing item type",
|
|
19824
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19837
|
+
"line": " packages/@ember/routing/route.ts:278"
|
|
19825
19838
|
},
|
|
19826
19839
|
{
|
|
19827
19840
|
"message": "Missing item type",
|
|
19828
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19841
|
+
"line": " packages/@ember/routing/route.ts:280"
|
|
19829
19842
|
},
|
|
19830
19843
|
{
|
|
19831
19844
|
"message": "Missing item type",
|
|
19832
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19845
|
+
"line": " packages/@ember/routing/route.ts:1590"
|
|
19833
19846
|
},
|
|
19834
19847
|
{
|
|
19835
19848
|
"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`.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "5.8.0-alpha.
|
|
3
|
+
"version": "5.8.0-alpha.3",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"node": "16.20.0",
|
|
205
205
|
"pnpm": "8.10.0"
|
|
206
206
|
},
|
|
207
|
-
"_originalVersion": "5.8.0-alpha.
|
|
207
|
+
"_originalVersion": "5.8.0-alpha.3",
|
|
208
208
|
"_versionPreviouslyCalculated": true,
|
|
209
209
|
"publishConfig": {
|
|
210
210
|
"tag": "alpha"
|