ember-source 5.3.0-alpha.3 → 5.3.0-alpha.5
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/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.ts +2 -2
- package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/helpers/__name__-test.ts +1 -1
- package/blueprints-js/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +2 -2
- package/blueprints-js/helper-test/qunit-rfc-232-files/__root__/__testType__/helpers/__name__-test.js +1 -1
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +2 -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 +28 -37
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/@ember/routing/route.js +29 -27
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +68 -70
- package/package.json +3 -3
- package/types/stable/@ember/routing/route.d.ts +14 -24
- package/types/stable/index.d.ts +0 -1
- package/dist/packages/@ember/-internals/overrides/index.js +0 -1
- package/types/stable/@ember/-internals/overrides/index.d.ts +0 -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.3.0-alpha.
|
|
6
|
+
"version": "5.3.0-alpha.5"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -2433,7 +2433,7 @@
|
|
|
2433
2433
|
"namespaces": {},
|
|
2434
2434
|
"tag": "module",
|
|
2435
2435
|
"file": "packages/@ember/routing/route.ts",
|
|
2436
|
-
"line":
|
|
2436
|
+
"line": 79
|
|
2437
2437
|
},
|
|
2438
2438
|
"@ember/routing/router-service": {
|
|
2439
2439
|
"name": "@ember/routing/router-service",
|
|
@@ -4133,7 +4133,7 @@
|
|
|
4133
4133
|
"module": "@ember/routing/route",
|
|
4134
4134
|
"namespace": "",
|
|
4135
4135
|
"file": "packages/@ember/routing/route.ts",
|
|
4136
|
-
"line":
|
|
4136
|
+
"line": 79,
|
|
4137
4137
|
"description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
|
|
4138
4138
|
"extends": "EmberObject",
|
|
4139
4139
|
"uses": [
|
|
@@ -15717,7 +15717,7 @@
|
|
|
15717
15717
|
},
|
|
15718
15718
|
{
|
|
15719
15719
|
"file": "packages/@ember/routing/route.ts",
|
|
15720
|
-
"line":
|
|
15720
|
+
"line": 91,
|
|
15721
15721
|
"description": "The `willTransition` action is fired at the beginning of any\nattempted transition with a `Transition` object as the sole\nargument. This action can be used for aborting, redirecting,\nor decorating the transition from the currently active routes.\n\nA good example is preventing navigation when a form is\nhalf-filled out:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ContactFormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\n }\n}\n```\n\nYou can also redirect elsewhere by calling\n`this.transitionTo('elsewhere')` from within `willTransition`.\nNote that `willTransition` will not be fired for the\nredirecting `transitionTo`, since `willTransition` doesn't\nfire when there is already a transition underway. If you want\nsubsequent `willTransition` actions to fire for the redirecting\ntransition, you must first explicitly call\n`transition.abort()`.\n\nTo allow the `willTransition` event to continue bubbling to the parent\nroute, use `return true;`. When the `willTransition` method has a\nreturn value of `true` then the parent route's `willTransition` method\nwill be fired, enabling \"bubbling\" behavior for the event.",
|
|
15722
15722
|
"itemtype": "event",
|
|
15723
15723
|
"name": "willTransition",
|
|
@@ -15736,7 +15736,7 @@
|
|
|
15736
15736
|
},
|
|
15737
15737
|
{
|
|
15738
15738
|
"file": "packages/@ember/routing/route.ts",
|
|
15739
|
-
"line":
|
|
15739
|
+
"line": 136,
|
|
15740
15740
|
"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```",
|
|
15741
15741
|
"itemtype": "event",
|
|
15742
15742
|
"name": "didTransition",
|
|
@@ -15748,7 +15748,7 @@
|
|
|
15748
15748
|
},
|
|
15749
15749
|
{
|
|
15750
15750
|
"file": "packages/@ember/routing/route.ts",
|
|
15751
|
-
"line":
|
|
15751
|
+
"line": 163,
|
|
15752
15752
|
"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```",
|
|
15753
15753
|
"itemtype": "event",
|
|
15754
15754
|
"name": "loading",
|
|
@@ -15772,7 +15772,7 @@
|
|
|
15772
15772
|
},
|
|
15773
15773
|
{
|
|
15774
15774
|
"file": "packages/@ember/routing/route.ts",
|
|
15775
|
-
"line":
|
|
15775
|
+
"line": 198,
|
|
15776
15776
|
"description": "When attempting to transition into a route, any of the hooks\nmay return a promise that rejects, at which point an `error`\naction will be fired on the partially-entered routes, allowing\nfor per-route error handling logic, or shared error handling\nlogic defined on a parent route.\n\nHere is an example of an error handler that will be invoked\nfor rejected promises from the various hooks on the route,\nas well as any unhandled errors from child routes:\n\n```app/routes/admin.js\nimport { reject } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class AdminRoute extends Route {\n beforeModel() {\n return reject('bad things!');\n }\n\n @action\n error(error, transition) {\n // Assuming we got here due to the error in `beforeModel`,\n // we can expect that error === \"bad things!\",\n // but a promise model rejecting would also\n // call this hook, as would any errors encountered\n // in `afterModel`.\n\n // The `error` hook is also provided the failed\n // `transition`, which can be stored and later\n // `.retry()`d if desired.\n\n this.transitionTo('login');\n }\n}\n```\n\n`error` actions that bubble up all the way to `ApplicationRoute`\nwill fire a default error handler that logs the error. You can\nspecify your own global default error handler by overriding the\n`error` handler on `ApplicationRoute`:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n}\n```",
|
|
15777
15777
|
"itemtype": "event",
|
|
15778
15778
|
"name": "error",
|
|
@@ -15796,31 +15796,31 @@
|
|
|
15796
15796
|
},
|
|
15797
15797
|
{
|
|
15798
15798
|
"file": "packages/@ember/routing/route.ts",
|
|
15799
|
-
"line":
|
|
15799
|
+
"line": 268,
|
|
15800
15800
|
"class": "Route",
|
|
15801
15801
|
"module": "@ember/routing/route"
|
|
15802
15802
|
},
|
|
15803
15803
|
{
|
|
15804
15804
|
"file": "packages/@ember/routing/route.ts",
|
|
15805
|
-
"line":
|
|
15805
|
+
"line": 270,
|
|
15806
15806
|
"class": "Route",
|
|
15807
15807
|
"module": "@ember/routing/route"
|
|
15808
15808
|
},
|
|
15809
15809
|
{
|
|
15810
15810
|
"file": "packages/@ember/routing/route.ts",
|
|
15811
|
-
"line":
|
|
15811
|
+
"line": 273,
|
|
15812
15812
|
"class": "Route",
|
|
15813
15813
|
"module": "@ember/routing/route"
|
|
15814
15814
|
},
|
|
15815
15815
|
{
|
|
15816
15816
|
"file": "packages/@ember/routing/route.ts",
|
|
15817
|
-
"line":
|
|
15817
|
+
"line": 275,
|
|
15818
15818
|
"class": "Route",
|
|
15819
15819
|
"module": "@ember/routing/route"
|
|
15820
15820
|
},
|
|
15821
15821
|
{
|
|
15822
15822
|
"file": "packages/@ember/routing/route.ts",
|
|
15823
|
-
"line":
|
|
15823
|
+
"line": 303,
|
|
15824
15824
|
"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.",
|
|
15825
15825
|
"itemtype": "method",
|
|
15826
15826
|
"name": "serialize",
|
|
@@ -15848,7 +15848,7 @@
|
|
|
15848
15848
|
},
|
|
15849
15849
|
{
|
|
15850
15850
|
"file": "packages/@ember/routing/route.ts",
|
|
15851
|
-
"line":
|
|
15851
|
+
"line": 371,
|
|
15852
15852
|
"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```",
|
|
15853
15853
|
"itemtype": "property",
|
|
15854
15854
|
"name": "queryParams",
|
|
@@ -15861,7 +15861,7 @@
|
|
|
15861
15861
|
},
|
|
15862
15862
|
{
|
|
15863
15863
|
"file": "packages/@ember/routing/route.ts",
|
|
15864
|
-
"line":
|
|
15864
|
+
"line": 424,
|
|
15865
15865
|
"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```",
|
|
15866
15866
|
"itemtype": "property",
|
|
15867
15867
|
"name": "templateName",
|
|
@@ -15875,7 +15875,7 @@
|
|
|
15875
15875
|
},
|
|
15876
15876
|
{
|
|
15877
15877
|
"file": "packages/@ember/routing/route.ts",
|
|
15878
|
-
"line":
|
|
15878
|
+
"line": 457,
|
|
15879
15879
|
"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.",
|
|
15880
15880
|
"itemtype": "property",
|
|
15881
15881
|
"name": "controllerName",
|
|
@@ -15889,7 +15889,7 @@
|
|
|
15889
15889
|
},
|
|
15890
15890
|
{
|
|
15891
15891
|
"file": "packages/@ember/routing/route.ts",
|
|
15892
|
-
"line":
|
|
15892
|
+
"line": 480,
|
|
15893
15893
|
"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```",
|
|
15894
15894
|
"itemtype": "property",
|
|
15895
15895
|
"name": "controller",
|
|
@@ -15902,7 +15902,7 @@
|
|
|
15902
15902
|
},
|
|
15903
15903
|
{
|
|
15904
15904
|
"file": "packages/@ember/routing/route.ts",
|
|
15905
|
-
"line":
|
|
15905
|
+
"line": 511,
|
|
15906
15906
|
"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`.",
|
|
15907
15907
|
"itemtype": "property",
|
|
15908
15908
|
"name": "routeName",
|
|
@@ -15915,7 +15915,7 @@
|
|
|
15915
15915
|
},
|
|
15916
15916
|
{
|
|
15917
15917
|
"file": "packages/@ember/routing/route.ts",
|
|
15918
|
-
"line":
|
|
15918
|
+
"line": 525,
|
|
15919
15919
|
"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`.",
|
|
15920
15920
|
"itemtype": "property",
|
|
15921
15921
|
"name": "fullRouteName",
|
|
@@ -15928,7 +15928,7 @@
|
|
|
15928
15928
|
},
|
|
15929
15929
|
{
|
|
15930
15930
|
"file": "packages/@ember/routing/route.ts",
|
|
15931
|
-
"line":
|
|
15931
|
+
"line": 540,
|
|
15932
15932
|
"description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
|
|
15933
15933
|
"access": "private",
|
|
15934
15934
|
"tagname": "",
|
|
@@ -15946,7 +15946,7 @@
|
|
|
15946
15946
|
},
|
|
15947
15947
|
{
|
|
15948
15948
|
"file": "packages/@ember/routing/route.ts",
|
|
15949
|
-
"line":
|
|
15949
|
+
"line": 555,
|
|
15950
15950
|
"access": "private",
|
|
15951
15951
|
"tagname": "",
|
|
15952
15952
|
"itemtype": "method",
|
|
@@ -15956,7 +15956,7 @@
|
|
|
15956
15956
|
},
|
|
15957
15957
|
{
|
|
15958
15958
|
"file": "packages/@ember/routing/route.ts",
|
|
15959
|
-
"line":
|
|
15959
|
+
"line": 589,
|
|
15960
15960
|
"access": "private",
|
|
15961
15961
|
"tagname": "",
|
|
15962
15962
|
"itemtype": "property",
|
|
@@ -15966,7 +15966,7 @@
|
|
|
15966
15966
|
},
|
|
15967
15967
|
{
|
|
15968
15968
|
"file": "packages/@ember/routing/route.ts",
|
|
15969
|
-
"line":
|
|
15969
|
+
"line": 598,
|
|
15970
15970
|
"access": "private",
|
|
15971
15971
|
"tagname": "",
|
|
15972
15972
|
"itemtype": "method",
|
|
@@ -15976,7 +15976,7 @@
|
|
|
15976
15976
|
},
|
|
15977
15977
|
{
|
|
15978
15978
|
"file": "packages/@ember/routing/route.ts",
|
|
15979
|
-
"line":
|
|
15979
|
+
"line": 606,
|
|
15980
15980
|
"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`",
|
|
15981
15981
|
"itemtype": "method",
|
|
15982
15982
|
"name": "paramsFor",
|
|
@@ -15999,7 +15999,7 @@
|
|
|
15999
15999
|
},
|
|
16000
16000
|
{
|
|
16001
16001
|
"file": "packages/@ember/routing/route.ts",
|
|
16002
|
-
"line":
|
|
16002
|
+
"line": 687,
|
|
16003
16003
|
"description": "Serializes the query parameter key",
|
|
16004
16004
|
"itemtype": "method",
|
|
16005
16005
|
"name": "serializeQueryParamKey",
|
|
@@ -16017,7 +16017,7 @@
|
|
|
16017
16017
|
},
|
|
16018
16018
|
{
|
|
16019
16019
|
"file": "packages/@ember/routing/route.ts",
|
|
16020
|
-
"line":
|
|
16020
|
+
"line": 698,
|
|
16021
16021
|
"description": "Serializes value of the query parameter based on defaultValueType",
|
|
16022
16022
|
"itemtype": "method",
|
|
16023
16023
|
"name": "serializeQueryParam",
|
|
@@ -16045,7 +16045,7 @@
|
|
|
16045
16045
|
},
|
|
16046
16046
|
{
|
|
16047
16047
|
"file": "packages/@ember/routing/route.ts",
|
|
16048
|
-
"line":
|
|
16048
|
+
"line": 714,
|
|
16049
16049
|
"description": "Deserializes value of the query parameter based on defaultValueType",
|
|
16050
16050
|
"itemtype": "method",
|
|
16051
16051
|
"name": "deserializeQueryParam",
|
|
@@ -16073,7 +16073,7 @@
|
|
|
16073
16073
|
},
|
|
16074
16074
|
{
|
|
16075
16075
|
"file": "packages/@ember/routing/route.ts",
|
|
16076
|
-
"line":
|
|
16076
|
+
"line": 730,
|
|
16077
16077
|
"access": "private",
|
|
16078
16078
|
"tagname": "",
|
|
16079
16079
|
"itemtype": "property",
|
|
@@ -16083,7 +16083,7 @@
|
|
|
16083
16083
|
},
|
|
16084
16084
|
{
|
|
16085
16085
|
"file": "packages/@ember/routing/route.ts",
|
|
16086
|
-
"line":
|
|
16086
|
+
"line": 746,
|
|
16087
16087
|
"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```",
|
|
16088
16088
|
"itemtype": "method",
|
|
16089
16089
|
"name": "resetController",
|
|
@@ -16112,7 +16112,7 @@
|
|
|
16112
16112
|
},
|
|
16113
16113
|
{
|
|
16114
16114
|
"file": "packages/@ember/routing/route.ts",
|
|
16115
|
-
"line":
|
|
16115
|
+
"line": 776,
|
|
16116
16116
|
"access": "private",
|
|
16117
16117
|
"tagname": "",
|
|
16118
16118
|
"itemtype": "method",
|
|
@@ -16122,7 +16122,7 @@
|
|
|
16122
16122
|
},
|
|
16123
16123
|
{
|
|
16124
16124
|
"file": "packages/@ember/routing/route.ts",
|
|
16125
|
-
"line":
|
|
16125
|
+
"line": 787,
|
|
16126
16126
|
"access": "private",
|
|
16127
16127
|
"tagname": "",
|
|
16128
16128
|
"itemtype": "method",
|
|
@@ -16133,7 +16133,7 @@
|
|
|
16133
16133
|
},
|
|
16134
16134
|
{
|
|
16135
16135
|
"file": "packages/@ember/routing/route.ts",
|
|
16136
|
-
"line":
|
|
16136
|
+
"line": 801,
|
|
16137
16137
|
"access": "private",
|
|
16138
16138
|
"tagname": "",
|
|
16139
16139
|
"itemtype": "method",
|
|
@@ -16143,7 +16143,7 @@
|
|
|
16143
16143
|
},
|
|
16144
16144
|
{
|
|
16145
16145
|
"file": "packages/@ember/routing/route.ts",
|
|
16146
|
-
"line":
|
|
16146
|
+
"line": 812,
|
|
16147
16147
|
"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```",
|
|
16148
16148
|
"itemtype": "event",
|
|
16149
16149
|
"name": "activate",
|
|
@@ -16155,7 +16155,7 @@
|
|
|
16155
16155
|
},
|
|
16156
16156
|
{
|
|
16157
16157
|
"file": "packages/@ember/routing/route.ts",
|
|
16158
|
-
"line":
|
|
16158
|
+
"line": 832,
|
|
16159
16159
|
"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```",
|
|
16160
16160
|
"itemtype": "event",
|
|
16161
16161
|
"name": "deactivate",
|
|
@@ -16167,7 +16167,7 @@
|
|
|
16167
16167
|
},
|
|
16168
16168
|
{
|
|
16169
16169
|
"file": "packages/@ember/routing/route.ts",
|
|
16170
|
-
"line":
|
|
16170
|
+
"line": 852,
|
|
16171
16171
|
"description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
|
|
16172
16172
|
"itemtype": "method",
|
|
16173
16173
|
"name": "deactivate",
|
|
@@ -16186,7 +16186,7 @@
|
|
|
16186
16186
|
},
|
|
16187
16187
|
{
|
|
16188
16188
|
"file": "packages/@ember/routing/route.ts",
|
|
16189
|
-
"line":
|
|
16189
|
+
"line": 863,
|
|
16190
16190
|
"description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
|
|
16191
16191
|
"itemtype": "method",
|
|
16192
16192
|
"name": "activate",
|
|
@@ -16205,7 +16205,7 @@
|
|
|
16205
16205
|
},
|
|
16206
16206
|
{
|
|
16207
16207
|
"file": "packages/@ember/routing/route.ts",
|
|
16208
|
-
"line":
|
|
16208
|
+
"line": 874,
|
|
16209
16209
|
"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.",
|
|
16210
16210
|
"itemtype": "method",
|
|
16211
16211
|
"name": "intermediateTransitionTo",
|
|
@@ -16229,7 +16229,7 @@
|
|
|
16229
16229
|
},
|
|
16230
16230
|
{
|
|
16231
16231
|
"file": "packages/@ember/routing/route.ts",
|
|
16232
|
-
"line":
|
|
16232
|
+
"line": 896,
|
|
16233
16233
|
"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.",
|
|
16234
16234
|
"itemtype": "method",
|
|
16235
16235
|
"name": "refresh",
|
|
@@ -16245,7 +16245,7 @@
|
|
|
16245
16245
|
},
|
|
16246
16246
|
{
|
|
16247
16247
|
"file": "packages/@ember/routing/route.ts",
|
|
16248
|
-
"line":
|
|
16248
|
+
"line": 922,
|
|
16249
16249
|
"description": "This hook is the entry point for router.js",
|
|
16250
16250
|
"access": "private",
|
|
16251
16251
|
"tagname": "",
|
|
@@ -16256,7 +16256,7 @@
|
|
|
16256
16256
|
},
|
|
16257
16257
|
{
|
|
16258
16258
|
"file": "packages/@ember/routing/route.ts",
|
|
16259
|
-
"line":
|
|
16259
|
+
"line": 997,
|
|
16260
16260
|
"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.",
|
|
16261
16261
|
"itemtype": "method",
|
|
16262
16262
|
"name": "beforeModel",
|
|
@@ -16279,7 +16279,7 @@
|
|
|
16279
16279
|
},
|
|
16280
16280
|
{
|
|
16281
16281
|
"file": "packages/@ember/routing/route.ts",
|
|
16282
|
-
"line":
|
|
16282
|
+
"line": 1032,
|
|
16283
16283
|
"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.",
|
|
16284
16284
|
"itemtype": "method",
|
|
16285
16285
|
"name": "afterModel",
|
|
@@ -16307,7 +16307,7 @@
|
|
|
16307
16307
|
},
|
|
16308
16308
|
{
|
|
16309
16309
|
"file": "packages/@ember/routing/route.ts",
|
|
16310
|
-
"line":
|
|
16310
|
+
"line": 1073,
|
|
16311
16311
|
"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.",
|
|
16312
16312
|
"itemtype": "method",
|
|
16313
16313
|
"name": "redirect",
|
|
@@ -16331,7 +16331,7 @@
|
|
|
16331
16331
|
},
|
|
16332
16332
|
{
|
|
16333
16333
|
"file": "packages/@ember/routing/route.ts",
|
|
16334
|
-
"line":
|
|
16334
|
+
"line": 1098,
|
|
16335
16335
|
"description": "Called when the context is changed by router.js.",
|
|
16336
16336
|
"access": "private",
|
|
16337
16337
|
"tagname": "",
|
|
@@ -16342,8 +16342,8 @@
|
|
|
16342
16342
|
},
|
|
16343
16343
|
{
|
|
16344
16344
|
"file": "packages/@ember/routing/route.ts",
|
|
16345
|
-
"line":
|
|
16346
|
-
"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\
|
|
16345
|
+
"line": 1108,
|
|
16346
|
+
"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.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\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```",
|
|
16347
16347
|
"itemtype": "method",
|
|
16348
16348
|
"name": "model",
|
|
16349
16349
|
"params": [
|
|
@@ -16370,7 +16370,7 @@
|
|
|
16370
16370
|
},
|
|
16371
16371
|
{
|
|
16372
16372
|
"file": "packages/@ember/routing/route.ts",
|
|
16373
|
-
"line":
|
|
16373
|
+
"line": 1226,
|
|
16374
16374
|
"access": "private",
|
|
16375
16375
|
"tagname": "",
|
|
16376
16376
|
"itemtype": "method",
|
|
@@ -16396,7 +16396,7 @@
|
|
|
16396
16396
|
},
|
|
16397
16397
|
{
|
|
16398
16398
|
"file": "packages/@ember/routing/route.ts",
|
|
16399
|
-
"line":
|
|
16399
|
+
"line": 1239,
|
|
16400
16400
|
"itemtype": "method",
|
|
16401
16401
|
"name": "findModel",
|
|
16402
16402
|
"params": [
|
|
@@ -16418,8 +16418,8 @@
|
|
|
16418
16418
|
},
|
|
16419
16419
|
{
|
|
16420
16420
|
"file": "packages/@ember/routing/route.ts",
|
|
16421
|
-
"line":
|
|
16422
|
-
"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.",
|
|
16421
|
+
"line": 1266,
|
|
16422
|
+
"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.",
|
|
16423
16423
|
"example": [
|
|
16424
16424
|
" 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```"
|
|
16425
16425
|
],
|
|
@@ -16451,7 +16451,7 @@
|
|
|
16451
16451
|
},
|
|
16452
16452
|
{
|
|
16453
16453
|
"file": "packages/@ember/routing/route.ts",
|
|
16454
|
-
"line":
|
|
16454
|
+
"line": 1345,
|
|
16455
16455
|
"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```",
|
|
16456
16456
|
"itemtype": "method",
|
|
16457
16457
|
"name": "controllerFor",
|
|
@@ -16474,7 +16474,7 @@
|
|
|
16474
16474
|
},
|
|
16475
16475
|
{
|
|
16476
16476
|
"file": "packages/@ember/routing/route.ts",
|
|
16477
|
-
"line":
|
|
16477
|
+
"line": 1399,
|
|
16478
16478
|
"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```",
|
|
16479
16479
|
"itemtype": "method",
|
|
16480
16480
|
"name": "generateController",
|
|
@@ -16492,7 +16492,7 @@
|
|
|
16492
16492
|
},
|
|
16493
16493
|
{
|
|
16494
16494
|
"file": "packages/@ember/routing/route.ts",
|
|
16495
|
-
"line":
|
|
16495
|
+
"line": 1427,
|
|
16496
16496
|
"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```",
|
|
16497
16497
|
"itemtype": "method",
|
|
16498
16498
|
"name": "modelFor",
|
|
@@ -16515,7 +16515,7 @@
|
|
|
16515
16515
|
},
|
|
16516
16516
|
{
|
|
16517
16517
|
"file": "packages/@ember/routing/route.ts",
|
|
16518
|
-
"line":
|
|
16518
|
+
"line": 1499,
|
|
16519
16519
|
"description": "`this[RENDER]` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`).",
|
|
16520
16520
|
"itemtype": "method",
|
|
16521
16521
|
"name": "this[RENDER]",
|
|
@@ -16565,7 +16565,7 @@
|
|
|
16565
16565
|
},
|
|
16566
16566
|
{
|
|
16567
16567
|
"file": "packages/@ember/routing/route.ts",
|
|
16568
|
-
"line":
|
|
16568
|
+
"line": 1526,
|
|
16569
16569
|
"access": "private",
|
|
16570
16570
|
"tagname": "",
|
|
16571
16571
|
"itemtype": "method",
|
|
@@ -16575,7 +16575,7 @@
|
|
|
16575
16575
|
},
|
|
16576
16576
|
{
|
|
16577
16577
|
"file": "packages/@ember/routing/route.ts",
|
|
16578
|
-
"line":
|
|
16578
|
+
"line": 1539,
|
|
16579
16579
|
"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```",
|
|
16580
16580
|
"itemtype": "method",
|
|
16581
16581
|
"name": "buildRouteInfoMetadata",
|
|
@@ -16590,19 +16590,13 @@
|
|
|
16590
16590
|
},
|
|
16591
16591
|
{
|
|
16592
16592
|
"file": "packages/@ember/routing/route.ts",
|
|
16593
|
-
"line":
|
|
16594
|
-
"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)`",
|
|
16595
|
-
"itemtype": "property",
|
|
16596
|
-
"name": "store",
|
|
16597
|
-
"type": "{Object}",
|
|
16598
|
-
"access": "private",
|
|
16599
|
-
"tagname": "",
|
|
16593
|
+
"line": 1590,
|
|
16600
16594
|
"class": "Route",
|
|
16601
16595
|
"module": "@ember/routing/route"
|
|
16602
16596
|
},
|
|
16603
16597
|
{
|
|
16604
16598
|
"file": "packages/@ember/routing/route.ts",
|
|
16605
|
-
"line":
|
|
16599
|
+
"line": 1639,
|
|
16606
16600
|
"access": "private",
|
|
16607
16601
|
"tagname": "",
|
|
16608
16602
|
"itemtype": "property",
|
|
@@ -16612,7 +16606,7 @@
|
|
|
16612
16606
|
},
|
|
16613
16607
|
{
|
|
16614
16608
|
"file": "packages/@ember/routing/route.ts",
|
|
16615
|
-
"line":
|
|
16609
|
+
"line": 1778,
|
|
16616
16610
|
"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```",
|
|
16617
16611
|
"itemtype": "method",
|
|
16618
16612
|
"name": "send",
|
|
@@ -16636,7 +16630,7 @@
|
|
|
16636
16630
|
},
|
|
16637
16631
|
{
|
|
16638
16632
|
"file": "packages/@ember/routing/route.ts",
|
|
16639
|
-
"line":
|
|
16633
|
+
"line": 2161,
|
|
16640
16634
|
"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```",
|
|
16641
16635
|
"itemtype": "property",
|
|
16642
16636
|
"name": "controller",
|
|
@@ -16649,7 +16643,7 @@
|
|
|
16649
16643
|
},
|
|
16650
16644
|
{
|
|
16651
16645
|
"file": "packages/@ember/routing/route.ts",
|
|
16652
|
-
"line":
|
|
16646
|
+
"line": 2192,
|
|
16653
16647
|
"description": "This action is called when one or more query params have changed. Bubbles.",
|
|
16654
16648
|
"itemtype": "method",
|
|
16655
16649
|
"name": "queryParamsDidChange",
|
|
@@ -19124,7 +19118,7 @@
|
|
|
19124
19118
|
},
|
|
19125
19119
|
{
|
|
19126
19120
|
"message": "replacing incorrect tag: returns with return",
|
|
19127
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19121
|
+
"line": " packages/@ember/routing/route.ts:2192"
|
|
19128
19122
|
},
|
|
19129
19123
|
{
|
|
19130
19124
|
"message": "unknown tag: internal",
|
|
@@ -19704,19 +19698,23 @@
|
|
|
19704
19698
|
},
|
|
19705
19699
|
{
|
|
19706
19700
|
"message": "Missing item type",
|
|
19707
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19701
|
+
"line": " packages/@ember/routing/route.ts:268"
|
|
19702
|
+
},
|
|
19703
|
+
{
|
|
19704
|
+
"message": "Missing item type",
|
|
19705
|
+
"line": " packages/@ember/routing/route.ts:270"
|
|
19708
19706
|
},
|
|
19709
19707
|
{
|
|
19710
19708
|
"message": "Missing item type",
|
|
19711
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19709
|
+
"line": " packages/@ember/routing/route.ts:273"
|
|
19712
19710
|
},
|
|
19713
19711
|
{
|
|
19714
19712
|
"message": "Missing item type",
|
|
19715
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19713
|
+
"line": " packages/@ember/routing/route.ts:275"
|
|
19716
19714
|
},
|
|
19717
19715
|
{
|
|
19718
19716
|
"message": "Missing item type",
|
|
19719
|
-
"line": " packages/@ember/routing/route.ts:
|
|
19717
|
+
"line": " packages/@ember/routing/route.ts:1590"
|
|
19720
19718
|
},
|
|
19721
19719
|
{
|
|
19722
19720
|
"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.3.0-alpha.
|
|
3
|
+
"version": "5.3.0-alpha.5",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"ember-cli-version-checker": "^5.1.2",
|
|
96
96
|
"ember-router-generator": "^2.0.0",
|
|
97
97
|
"inflection": "^1.13.2",
|
|
98
|
-
"resolve": "^1.22.
|
|
98
|
+
"resolve": "^1.22.2",
|
|
99
99
|
"route-recognizer": "^0.3.4",
|
|
100
100
|
"router_js": "^8.0.3",
|
|
101
101
|
"semver": "^7.5.2",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"node": "16.20.0",
|
|
187
187
|
"yarn": "1.22.19"
|
|
188
188
|
},
|
|
189
|
-
"_originalVersion": "5.3.0-alpha.
|
|
189
|
+
"_originalVersion": "5.3.0-alpha.5",
|
|
190
190
|
"_versionPreviouslyCalculated": true,
|
|
191
191
|
"publishConfig": {
|
|
192
192
|
"tag": "alpha"
|