@microsoft/fast-router 0.2.16 → 0.4.1
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/.eslintrc.json +21 -0
- package/CHANGELOG.json +107 -1
- package/CHANGELOG.md +30 -2
- package/dist/dts/commands.d.ts +7 -7
- package/dist/dts/configuration.d.ts +10 -10
- package/dist/dts/contributors.d.ts +1 -1
- package/dist/dts/events.d.ts +5 -5
- package/dist/dts/fast-router.d.ts +1 -1
- package/dist/dts/index-rollup.d.ts +1 -1
- package/dist/dts/index.d.ts +13 -13
- package/dist/dts/navigation.d.ts +1 -1
- package/dist/dts/phases.d.ts +2 -2
- package/dist/dts/process.d.ts +4 -4
- package/dist/dts/recognizer.d.ts +1 -1
- package/dist/dts/router.d.ts +4 -4
- package/dist/dts/routes.d.ts +5 -5
- package/dist/dts/view.d.ts +1 -1
- package/dist/esm/commands.js +3 -3
- package/dist/esm/configuration.js +9 -9
- package/dist/esm/contributors.js +1 -1
- package/dist/esm/fast-router.js +1 -1
- package/dist/esm/index-rollup.js +1 -1
- package/dist/esm/index.js +13 -13
- package/dist/esm/links.js +1 -1
- package/dist/esm/navigation.js +1 -1
- package/dist/esm/phases.js +1 -0
- package/dist/esm/process.js +1 -1
- package/dist/esm/recognizer.js +1 -1
- package/dist/esm/router.js +3 -3
- package/dist/esm/routes.js +3 -3
- package/dist/esm/view.js +1 -1
- package/dist/fast-router.api.json +120 -3
- package/dist/fast-router.js +9 -9
- package/dist/fast-router.min.js +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/karma.conf.cjs +152 -0
- package/package.json +14 -13
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": ["@microsoft/eslint-config-fast-dna", "prettier"],
|
|
3
|
+
"rules": {
|
|
4
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
5
|
+
"@typescript-eslint/ban-types": [
|
|
6
|
+
"error",
|
|
7
|
+
{
|
|
8
|
+
"types": {
|
|
9
|
+
"{}": false,
|
|
10
|
+
"Function": false,
|
|
11
|
+
"Object": false
|
|
12
|
+
},
|
|
13
|
+
"extendDefaults": true
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"import/extensions": [
|
|
17
|
+
"error",
|
|
18
|
+
"always"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
}
|
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,113 @@
|
|
|
2
2
|
"name": "@microsoft/fast-router",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 03 May 2022 07:12:26 GMT",
|
|
6
|
+
"tag": "@microsoft/fast-router_v0.4.1",
|
|
7
|
+
"version": "0.4.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Upgraded api-extractor",
|
|
12
|
+
"author": "44823142+williamw2@users.noreply.github.com",
|
|
13
|
+
"commit": "2341496a6fafe3051dc50333c21ca652026f725b",
|
|
14
|
+
"package": "@microsoft/fast-router"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 27 Apr 2022 07:21:09 GMT",
|
|
21
|
+
"tag": "@microsoft/fast-router_v0.4.0",
|
|
22
|
+
"version": "0.4.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"comment": "update to typescript 4.6.2 and update ARIAMixin typings",
|
|
27
|
+
"author": "chhol@microsoft.com",
|
|
28
|
+
"commit": "35bdab45550b5d8b8762041110eccb06de78add5",
|
|
29
|
+
"package": "@microsoft/fast-router"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"patch": [
|
|
33
|
+
{
|
|
34
|
+
"comment": "Bump @microsoft/fast-element to v1.10.0",
|
|
35
|
+
"author": "chhol@microsoft.com",
|
|
36
|
+
"commit": "35bdab45550b5d8b8762041110eccb06de78add5",
|
|
37
|
+
"package": "@microsoft/fast-router"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"date": "Sun, 24 Apr 2022 07:13:26 GMT",
|
|
44
|
+
"tag": "@microsoft/fast-router_v0.3.0",
|
|
45
|
+
"version": "0.3.0",
|
|
46
|
+
"comments": {
|
|
47
|
+
"none": [
|
|
48
|
+
{
|
|
49
|
+
"comment": "Bump @microsoft/fast-element to v1.9.0",
|
|
50
|
+
"author": "16669785+awentzel@users.noreply.github.com",
|
|
51
|
+
"commit": "ed08697132b639f3104562b16a0dcf5c5653a878",
|
|
52
|
+
"package": "@microsoft/fast-router"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"date": "Wed, 20 Apr 2022 07:13:17 GMT",
|
|
59
|
+
"tag": "@microsoft/fast-router_v0.3.0",
|
|
60
|
+
"version": "0.3.0",
|
|
61
|
+
"comments": {
|
|
62
|
+
"none": [
|
|
63
|
+
{
|
|
64
|
+
"comment": "Pull up api-extractor.json to root and then extend it for each project",
|
|
65
|
+
"author": "stephanosp@microsoft.com",
|
|
66
|
+
"commit": "e3076337cbc2d260a497116061ee3bba3866a97d",
|
|
67
|
+
"package": "@microsoft/fast-router"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"date": "Sun, 17 Apr 2022 07:11:18 GMT",
|
|
74
|
+
"tag": "@microsoft/fast-router_v0.3.0",
|
|
75
|
+
"version": "0.3.0",
|
|
76
|
+
"comments": {
|
|
77
|
+
"none": [
|
|
78
|
+
{
|
|
79
|
+
"comment": "Merge branch 'master' into wanFixString",
|
|
80
|
+
"author": "74849806+wannieman98@users.noreply.github.com",
|
|
81
|
+
"commit": "14bc5d5f2ae608328eb16ad7e619bab00415f60a",
|
|
82
|
+
"package": "@microsoft/fast-router"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"date": "Tue, 12 Apr 2022 07:13:35 GMT",
|
|
89
|
+
"tag": "@microsoft/fast-router_v0.3.0",
|
|
90
|
+
"version": "0.3.0",
|
|
91
|
+
"comments": {
|
|
92
|
+
"minor": [
|
|
93
|
+
{
|
|
94
|
+
"comment": "Convert package to type:module",
|
|
95
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
96
|
+
"commit": "349ff265636d29e45cf336755083e4b997d6e6f2",
|
|
97
|
+
"package": "@microsoft/fast-router"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"none": [
|
|
101
|
+
{
|
|
102
|
+
"comment": "Bump @microsoft/fast-element to v1.9.0",
|
|
103
|
+
"author": "yinon@hotmail.com",
|
|
104
|
+
"commit": "3e4d72447520f40d234b1df2cc70446dcef8bb47",
|
|
105
|
+
"package": "@microsoft/fast-router"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"date": "Wed, 06 Apr 2022 07:12:42 GMT",
|
|
6
112
|
"tag": "@microsoft/fast-router_v0.2.16",
|
|
7
113
|
"version": "0.2.16",
|
|
8
114
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,40 @@
|
|
|
1
1
|
# Change Log - @microsoft/fast-router
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 03 May 2022 07:12:26 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.4.1
|
|
8
|
+
|
|
9
|
+
Tue, 03 May 2022 07:12:26 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Upgraded api-extractor (44823142+williamw2@users.noreply.github.com)
|
|
14
|
+
|
|
15
|
+
## 0.4.0
|
|
16
|
+
|
|
17
|
+
Wed, 27 Apr 2022 07:21:09 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- update to typescript 4.6.2 and update ARIAMixin typings (chhol@microsoft.com)
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- Bump @microsoft/fast-element to v1.10.0 (chhol@microsoft.com)
|
|
26
|
+
|
|
27
|
+
## 0.3.0
|
|
28
|
+
|
|
29
|
+
Tue, 12 Apr 2022 07:13:35 GMT
|
|
30
|
+
|
|
31
|
+
### Minor changes
|
|
32
|
+
|
|
33
|
+
- Convert package to type:module (nicholasrice@users.noreply.github.com)
|
|
34
|
+
|
|
7
35
|
## 0.2.16
|
|
8
36
|
|
|
9
|
-
Wed, 06 Apr 2022 07:
|
|
37
|
+
Wed, 06 Apr 2022 07:12:42 GMT
|
|
10
38
|
|
|
11
39
|
### Patches
|
|
12
40
|
|
package/dist/dts/commands.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Router } from "./router";
|
|
2
|
-
import { RouterConfiguration } from "./configuration";
|
|
3
|
-
import { Layout, RouteView, Transition } from "./view";
|
|
4
|
-
import { ElementFallbackRouteDefinition, ElementRouteDefinition, TemplateFallbackRouteDefinition, TemplateRouteDefinition } from "./routes";
|
|
5
|
-
import { RecognizedRoute } from "./recognizer";
|
|
6
|
-
import { NavigationContributor } from "./contributors";
|
|
7
|
-
import { NavigationCommitPhase, NavigationPhase } from "./phases";
|
|
1
|
+
import { Router } from "./router.js";
|
|
2
|
+
import { RouterConfiguration } from "./configuration.js";
|
|
3
|
+
import { Layout, RouteView, Transition } from "./view.js";
|
|
4
|
+
import { ElementFallbackRouteDefinition, ElementRouteDefinition, TemplateFallbackRouteDefinition, TemplateRouteDefinition } from "./routes.js";
|
|
5
|
+
import { RecognizedRoute } from "./recognizer.js";
|
|
6
|
+
import { NavigationContributor } from "./contributors.js";
|
|
7
|
+
import { NavigationCommitPhase, NavigationPhase } from "./phases.js";
|
|
8
8
|
/**
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Constructable } from "@microsoft/fast-element";
|
|
2
|
-
import { NavigationQueue } from "./navigation";
|
|
3
|
-
import { Layout, Transition } from "./view";
|
|
4
|
-
import { RouteCollection, RouteMatch } from "./routes";
|
|
5
|
-
import { LinkHandler } from "./links";
|
|
6
|
-
import { NavigationProcess } from "./process";
|
|
7
|
-
import { TitleBuilder } from "./titles";
|
|
8
|
-
import { RoutingEventSink } from "./events";
|
|
9
|
-
import { NavigationContributor } from "./contributors";
|
|
10
|
-
import { NavigationPhaseHook, NavigationPhaseName } from "./phases";
|
|
11
|
-
import { RouteRecognizer } from "./recognizer";
|
|
2
|
+
import { NavigationQueue } from "./navigation.js";
|
|
3
|
+
import { Layout, Transition } from "./view.js";
|
|
4
|
+
import { RouteCollection, RouteMatch } from "./routes.js";
|
|
5
|
+
import { LinkHandler } from "./links.js";
|
|
6
|
+
import { NavigationProcess } from "./process.js";
|
|
7
|
+
import { TitleBuilder } from "./titles.js";
|
|
8
|
+
import { RoutingEventSink } from "./events.js";
|
|
9
|
+
import { NavigationContributor } from "./contributors.js";
|
|
10
|
+
import { NavigationPhaseHook, NavigationPhaseName } from "./phases.js";
|
|
11
|
+
import { RouteRecognizer } from "./recognizer.js";
|
|
12
12
|
/**
|
|
13
13
|
* @alpha
|
|
14
14
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLDirective } from "@microsoft/fast-element";
|
|
2
|
-
import { NavigationCommitPhaseHook, NavigationPhaseHook, NavigationPhaseName } from "./phases";
|
|
2
|
+
import { NavigationCommitPhaseHook, NavigationPhaseHook, NavigationPhaseName } from "./phases.js";
|
|
3
3
|
/**
|
|
4
4
|
* @alpha
|
|
5
5
|
*/
|
package/dist/dts/events.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NavigationCommand } from "./commands";
|
|
2
|
-
import { NavigationMessage } from "./navigation";
|
|
3
|
-
import { NavigationPhase } from "./phases";
|
|
4
|
-
import { RecognizedRoute } from "./recognizer";
|
|
5
|
-
import { Router } from "./router";
|
|
1
|
+
import { NavigationCommand } from "./commands.js";
|
|
2
|
+
import { NavigationMessage } from "./navigation.js";
|
|
3
|
+
import { NavigationPhase } from "./phases.js";
|
|
4
|
+
import { RecognizedRoute } from "./recognizer.js";
|
|
5
|
+
import { Router } from "./router.js";
|
|
6
6
|
/**
|
|
7
7
|
* @alpha
|
|
8
8
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./index";
|
|
1
|
+
export * from "./index.js";
|
|
2
2
|
export * from "@microsoft/fast-element";
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from "./commands";
|
|
2
|
-
export * from "./configuration";
|
|
3
|
-
export * from "./fast-router";
|
|
4
|
-
export * from "./links";
|
|
5
|
-
export * from "./navigation";
|
|
6
|
-
export * from "./contributors";
|
|
7
|
-
export * from "./phases";
|
|
8
|
-
export * from "./process";
|
|
9
|
-
export * from "./query-string";
|
|
10
|
-
export * from "./recognizer";
|
|
11
|
-
export * from "./router";
|
|
12
|
-
export * from "./routes";
|
|
13
|
-
export * from "./view";
|
|
1
|
+
export * from "./commands.js";
|
|
2
|
+
export * from "./configuration.js";
|
|
3
|
+
export * from "./fast-router.js";
|
|
4
|
+
export * from "./links.js";
|
|
5
|
+
export * from "./navigation.js";
|
|
6
|
+
export * from "./contributors.js";
|
|
7
|
+
export * from "./phases.js";
|
|
8
|
+
export * from "./process.js";
|
|
9
|
+
export * from "./query-string.js";
|
|
10
|
+
export * from "./recognizer.js";
|
|
11
|
+
export * from "./router.js";
|
|
12
|
+
export * from "./routes.js";
|
|
13
|
+
export * from "./view.js";
|
package/dist/dts/navigation.d.ts
CHANGED
package/dist/dts/phases.d.ts
CHANGED
package/dist/dts/process.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NavigationMessage } from "./navigation";
|
|
2
|
-
import { NavigationCommitPhase, NavigationPhaseFollowupAction, NavigationPhaseName } from "./phases";
|
|
3
|
-
import { RecognizedRoute } from "./recognizer";
|
|
4
|
-
import { Router } from "./router";
|
|
1
|
+
import { NavigationMessage } from "./navigation.js";
|
|
2
|
+
import { NavigationCommitPhase, NavigationPhaseFollowupAction, NavigationPhaseName } from "./phases.js";
|
|
3
|
+
import { RecognizedRoute } from "./recognizer.js";
|
|
4
|
+
import { Router } from "./router.js";
|
|
5
5
|
declare class NavigationPhaseImpl<TSettings = any> implements NavigationCommitPhase<TSettings> {
|
|
6
6
|
readonly name: NavigationPhaseName;
|
|
7
7
|
private readonly commitActions;
|
package/dist/dts/recognizer.d.ts
CHANGED
package/dist/dts/router.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FASTElement } from "@microsoft/fast-element";
|
|
2
|
-
import { RenderCommand } from "./commands";
|
|
3
|
-
import { RouterConfiguration } from "./configuration";
|
|
4
|
-
import { NavigationContributor } from "./contributors";
|
|
5
|
-
import { RecognizedRoute } from "./recognizer";
|
|
2
|
+
import { RenderCommand } from "./commands.js";
|
|
3
|
+
import { RouterConfiguration } from "./configuration.js";
|
|
4
|
+
import { NavigationContributor } from "./contributors.js";
|
|
5
|
+
import { RecognizedRoute } from "./recognizer.js";
|
|
6
6
|
/**
|
|
7
7
|
* @alpha
|
|
8
8
|
*/
|
package/dist/dts/routes.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Constructable, FASTElement, ViewTemplate } from "@microsoft/fast-element";
|
|
2
|
-
import { RecognizedRoute, RouteParameterConverter } from "./recognizer";
|
|
3
|
-
import { NavigationCommand } from "./commands";
|
|
4
|
-
import { Layout, Transition } from "./view";
|
|
5
|
-
import { RouterConfiguration } from "./configuration";
|
|
6
|
-
import { Route } from "./navigation";
|
|
2
|
+
import { RecognizedRoute, RouteParameterConverter } from "./recognizer.js";
|
|
3
|
+
import { NavigationCommand } from "./commands.js";
|
|
4
|
+
import { Layout, Transition } from "./view.js";
|
|
5
|
+
import { RouterConfiguration } from "./configuration.js";
|
|
6
|
+
import { Route } from "./navigation.js";
|
|
7
7
|
/**
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
package/dist/dts/view.d.ts
CHANGED
package/dist/esm/commands.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { FASTElementDefinition, html, HTMLView, ViewTemplate, } from "@microsoft/fast-element";
|
|
3
|
-
import { FASTElementLayout } from "./view";
|
|
4
|
-
import { Route } from "./navigation";
|
|
5
|
-
import { navigationContributor } from "./contributors";
|
|
3
|
+
import { FASTElementLayout } from "./view.js";
|
|
4
|
+
import { Route } from "./navigation.js";
|
|
5
|
+
import { navigationContributor } from "./contributors.js";
|
|
6
6
|
/**
|
|
7
7
|
* @alpha
|
|
8
8
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
|
-
import { DefaultNavigationQueue } from "./navigation";
|
|
3
|
-
import { Layout, Transition } from "./view";
|
|
4
|
-
import { RouteCollection } from "./routes";
|
|
5
|
-
import { DefaultLinkHandler } from "./links";
|
|
6
|
-
import { DefaultNavigationProcess } from "./process";
|
|
7
|
-
import { DefaultTitleBuilder } from "./titles";
|
|
8
|
-
import { DefaultRoutingEventSink } from "./events";
|
|
9
|
-
import { isNavigationPhaseContributor } from "./contributors";
|
|
10
|
-
import { DefaultRouteRecognizer } from "./recognizer";
|
|
2
|
+
import { DefaultNavigationQueue } from "./navigation.js";
|
|
3
|
+
import { Layout, Transition } from "./view.js";
|
|
4
|
+
import { RouteCollection } from "./routes.js";
|
|
5
|
+
import { DefaultLinkHandler } from "./links.js";
|
|
6
|
+
import { DefaultNavigationProcess } from "./process.js";
|
|
7
|
+
import { DefaultTitleBuilder } from "./titles.js";
|
|
8
|
+
import { DefaultRoutingEventSink } from "./events.js";
|
|
9
|
+
import { isNavigationPhaseContributor } from "./contributors.js";
|
|
10
|
+
import { DefaultRouteRecognizer } from "./recognizer.js";
|
|
11
11
|
/**
|
|
12
12
|
* @alpha
|
|
13
13
|
*/
|
package/dist/esm/contributors.js
CHANGED
package/dist/esm/fast-router.js
CHANGED
package/dist/esm/index-rollup.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./index";
|
|
1
|
+
export * from "./index.js";
|
|
2
2
|
export * from "@microsoft/fast-element";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from "./commands";
|
|
2
|
-
export * from "./configuration";
|
|
3
|
-
export * from "./fast-router";
|
|
4
|
-
export * from "./links";
|
|
5
|
-
export * from "./navigation";
|
|
6
|
-
export * from "./contributors";
|
|
7
|
-
export * from "./phases";
|
|
8
|
-
export * from "./process";
|
|
9
|
-
export * from "./query-string";
|
|
10
|
-
export * from "./recognizer";
|
|
11
|
-
export * from "./router";
|
|
12
|
-
export * from "./routes";
|
|
13
|
-
export * from "./view";
|
|
1
|
+
export * from "./commands.js";
|
|
2
|
+
export * from "./configuration.js";
|
|
3
|
+
export * from "./fast-router.js";
|
|
4
|
+
export * from "./links.js";
|
|
5
|
+
export * from "./navigation.js";
|
|
6
|
+
export * from "./contributors.js";
|
|
7
|
+
export * from "./phases.js";
|
|
8
|
+
export * from "./process.js";
|
|
9
|
+
export * from "./query-string.js";
|
|
10
|
+
export * from "./recognizer.js";
|
|
11
|
+
export * from "./router.js";
|
|
12
|
+
export * from "./routes.js";
|
|
13
|
+
export * from "./view.js";
|
package/dist/esm/links.js
CHANGED
package/dist/esm/navigation.js
CHANGED
package/dist/esm/phases.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/process.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
|
-
import { isNavigationPhaseContributor } from "./contributors";
|
|
2
|
+
import { isNavigationPhaseContributor } from "./contributors.js";
|
|
3
3
|
class NavigationPhaseImpl {
|
|
4
4
|
constructor(name, route, router, commitActions, cancelActions) {
|
|
5
5
|
this.name = name;
|
package/dist/esm/recognizer.js
CHANGED
package/dist/esm/router.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { FASTElement } from "@microsoft/fast-element";
|
|
3
|
-
import { NavigationMessage } from "./navigation";
|
|
4
|
-
import { childRouteParameter } from "./routes";
|
|
5
|
-
import { RouterExecutionContext } from "./view";
|
|
3
|
+
import { NavigationMessage } from "./navigation.js";
|
|
4
|
+
import { childRouteParameter } from "./routes.js";
|
|
5
|
+
import { RouterExecutionContext } from "./view.js";
|
|
6
6
|
const routerProperty = "$router";
|
|
7
7
|
// TODO: remove this from here and from fast-foundation
|
|
8
8
|
// TODO: move this to fast-element so router and foundation can both use it
|
package/dist/esm/routes.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
|
-
import { ConfigurableRoute, Endpoint, RecognizedRoute, } from "./recognizer";
|
|
3
|
-
import { Ignore, Redirect, Render } from "./commands";
|
|
4
|
-
import { QueryString } from "./query-string";
|
|
2
|
+
import { ConfigurableRoute, Endpoint, RecognizedRoute, } from "./recognizer.js";
|
|
3
|
+
import { Ignore, Redirect, Render } from "./commands.js";
|
|
4
|
+
import { QueryString } from "./query-string.js";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
package/dist/esm/view.js
CHANGED
|
@@ -1,9 +1,126 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
6
|
-
"oldestForwardsCompatibleVersion": 1001
|
|
4
|
+
"toolVersion": "7.23.0",
|
|
5
|
+
"schemaVersion": 1005,
|
|
6
|
+
"oldestForwardsCompatibleVersion": 1001,
|
|
7
|
+
"tsdocConfig": {
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
9
|
+
"noStandardTags": true,
|
|
10
|
+
"tagDefinitions": [
|
|
11
|
+
{
|
|
12
|
+
"tagName": "@alpha",
|
|
13
|
+
"syntaxKind": "modifier"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"tagName": "@beta",
|
|
17
|
+
"syntaxKind": "modifier"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"tagName": "@defaultValue",
|
|
21
|
+
"syntaxKind": "block"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tagName": "@decorator",
|
|
25
|
+
"syntaxKind": "block",
|
|
26
|
+
"allowMultiple": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tagName": "@deprecated",
|
|
30
|
+
"syntaxKind": "block"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tagName": "@eventProperty",
|
|
34
|
+
"syntaxKind": "modifier"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tagName": "@example",
|
|
38
|
+
"syntaxKind": "block",
|
|
39
|
+
"allowMultiple": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tagName": "@experimental",
|
|
43
|
+
"syntaxKind": "modifier"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tagName": "@inheritDoc",
|
|
47
|
+
"syntaxKind": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tagName": "@internal",
|
|
51
|
+
"syntaxKind": "modifier"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"tagName": "@label",
|
|
55
|
+
"syntaxKind": "inline"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"tagName": "@link",
|
|
59
|
+
"syntaxKind": "inline",
|
|
60
|
+
"allowMultiple": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"tagName": "@override",
|
|
64
|
+
"syntaxKind": "modifier"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"tagName": "@packageDocumentation",
|
|
68
|
+
"syntaxKind": "modifier"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"tagName": "@param",
|
|
72
|
+
"syntaxKind": "block",
|
|
73
|
+
"allowMultiple": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"tagName": "@privateRemarks",
|
|
77
|
+
"syntaxKind": "block"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tagName": "@public",
|
|
81
|
+
"syntaxKind": "modifier"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"tagName": "@readonly",
|
|
85
|
+
"syntaxKind": "modifier"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"tagName": "@remarks",
|
|
89
|
+
"syntaxKind": "block"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"tagName": "@returns",
|
|
93
|
+
"syntaxKind": "block"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"tagName": "@sealed",
|
|
97
|
+
"syntaxKind": "modifier"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"tagName": "@see",
|
|
101
|
+
"syntaxKind": "block"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"tagName": "@throws",
|
|
105
|
+
"syntaxKind": "block",
|
|
106
|
+
"allowMultiple": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"tagName": "@typeParam",
|
|
110
|
+
"syntaxKind": "block",
|
|
111
|
+
"allowMultiple": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"tagName": "@virtual",
|
|
115
|
+
"syntaxKind": "modifier"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"tagName": "@test",
|
|
119
|
+
"syntaxKind": "block"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"reportUnsupportedHtmlElements": false
|
|
123
|
+
}
|
|
7
124
|
},
|
|
8
125
|
"kind": "Package",
|
|
9
126
|
"canonicalReference": "@microsoft/fast-router!",
|