@equinor/fusion-framework-module-navigation 4.0.8-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2 → 4.0.8
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/CHANGELOG.md +68 -64
- package/dist/esm/createHistory.js +4 -1
- package/dist/esm/createHistory.js.map +1 -1
- package/dist/esm/lib/provider/NavigationProvider.js +3 -5
- package/dist/esm/lib/provider/NavigationProvider.js.map +1 -1
- package/dist/esm/module.js.map +1 -1
- package/dist/esm/navigator.js +2 -2
- package/dist/esm/navigator.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/lib/provider/NavigationProvider.d.ts +3 -3
- package/dist/types/module.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/configurator.ts +4 -4
- package/src/createHistory.ts +13 -10
- package/src/lib/provider/INavigationProvider.ts +37 -37
- package/src/lib/provider/NavigationProvider.ts +101 -103
- package/src/module.ts +40 -40
- package/src/navigator.ts +178 -178
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 4.0.8
|
|
3
|
+
## 4.0.8
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- [#2856](https://github.com/equinor/fusion-framework/pull/2856) [`68b180c`](https://github.com/equinor/fusion-framework/commit/68b180c687ad1939d4f3df185c634f5046a55f63) Thanks [@odinr](https://github.com/odinr)! - Conformed to Biome `linter.correctness.noVoidTypeReturn`
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
|
|
9
|
+
- [#2854](https://github.com/equinor/fusion-framework/pull/2854) [`1953dd2`](https://github.com/equinor/fusion-framework/commit/1953dd217d85fa4880856b2c97b6305fcbaf2e24) Thanks [@odinr](https://github.com/odinr)! - removed useless switch cases
|
|
10
|
+
|
|
11
|
+
- [#2848](https://github.com/equinor/fusion-framework/pull/2848) [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d) Thanks [@odinr](https://github.com/odinr)! - Refactored imports to use `type` when importing types from a module, to conform with the `useImportType` rule in Biome.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`ba5d12e`](https://github.com/equinor/fusion-framework/commit/ba5d12eba0a38db412353765e997d02c1fbb478d), [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d)]:
|
|
14
|
+
- @equinor/fusion-framework-module@4.3.6
|
|
11
15
|
|
|
12
16
|
## 4.0.7
|
|
13
17
|
|
|
14
18
|
### Patch Changes
|
|
15
19
|
|
|
16
20
|
- Updated dependencies [[`2644b3d`](https://github.com/equinor/fusion-framework/commit/2644b3d63939aede736a3b1950db32dbd487877d)]:
|
|
17
|
-
|
|
21
|
+
- @equinor/fusion-framework-module@4.3.5
|
|
18
22
|
|
|
19
23
|
## 4.0.6
|
|
20
24
|
|
|
@@ -22,14 +26,14 @@
|
|
|
22
26
|
|
|
23
27
|
- [#2442](https://github.com/equinor/fusion-framework/pull/2442) [`80cc4e9`](https://github.com/equinor/fusion-framework/commit/80cc4e95a8f2dd8e8aae9752412faefdb457e9e2) Thanks [@odinr](https://github.com/odinr)! - Fixed reference check in navigation module and ag-grid module.
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
hotfix for [PR-2425](https://github.com/equinor/fusion-framework/pull/2425)
|
|
26
30
|
|
|
27
31
|
## 4.0.5
|
|
28
32
|
|
|
29
33
|
### Patch Changes
|
|
30
34
|
|
|
31
35
|
- Updated dependencies [[`75d676d`](https://github.com/equinor/fusion-framework/commit/75d676d2c7919f30e036b5ae97c4d814c569aa87), [`00d5e9c`](https://github.com/equinor/fusion-framework/commit/00d5e9c632876742c3d2a74efea2f126a0a169d9)]:
|
|
32
|
-
|
|
36
|
+
- @equinor/fusion-framework-module@4.3.4
|
|
33
37
|
|
|
34
38
|
## 4.0.4
|
|
35
39
|
|
|
@@ -38,7 +42,7 @@
|
|
|
38
42
|
- [#2292](https://github.com/equinor/fusion-framework/pull/2292) [`1a215c4`](https://github.com/equinor/fusion-framework/commit/1a215c45c97d2dfdc8127dc752ec21951bb048be) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @remix-run/router from 1.15.2 to 1.17.0
|
|
39
43
|
|
|
40
44
|
- Updated dependencies [[`a1524e9`](https://github.com/equinor/fusion-framework/commit/a1524e9c4d83778da3db42dbcf99908b776a0592)]:
|
|
41
|
-
|
|
45
|
+
- @equinor/fusion-framework-module@4.3.3
|
|
42
46
|
|
|
43
47
|
## 4.0.3
|
|
44
48
|
|
|
@@ -48,56 +52,56 @@
|
|
|
48
52
|
|
|
49
53
|
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
50
54
|
|
|
51
|
-
|
|
55
|
+
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
52
56
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
58
|
+
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
59
|
+
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
56
60
|
|
|
57
|
-
|
|
61
|
+
No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
|
|
58
62
|
|
|
59
|
-
|
|
63
|
+
Before:
|
|
60
64
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"compilerOptions": {
|
|
68
|
+
"module": "ES2022",
|
|
69
|
+
"target": "ES6",
|
|
70
|
+
"incremental": true,
|
|
71
|
+
"removeComments": true,
|
|
72
|
+
"preserveConstEnums": true,
|
|
73
|
+
"sourceMap": true,
|
|
74
|
+
"moduleResolution": "node"
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
After:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"compilerOptions": {
|
|
84
|
+
"module": "ES2022",
|
|
85
|
+
"target": "ES6",
|
|
86
|
+
"incremental": true,
|
|
87
|
+
"preserveConstEnums": true,
|
|
88
|
+
"sourceMap": true,
|
|
89
|
+
"moduleResolution": "node"
|
|
87
90
|
}
|
|
88
|
-
|
|
91
|
+
}
|
|
92
|
+
```
|
|
89
93
|
|
|
90
|
-
|
|
94
|
+
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
|
|
91
95
|
|
|
92
96
|
- Updated dependencies [[`2f74edc`](https://github.com/equinor/fusion-framework/commit/2f74edcd4a3ea2b87d69f0fd63492145c3c01663), [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee)]:
|
|
93
|
-
|
|
97
|
+
- @equinor/fusion-framework-module@4.3.2
|
|
94
98
|
|
|
95
99
|
## 4.0.2
|
|
96
100
|
|
|
97
101
|
### Patch Changes
|
|
98
102
|
|
|
99
103
|
- Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2)]:
|
|
100
|
-
|
|
104
|
+
- @equinor/fusion-framework-module@4.3.1
|
|
101
105
|
|
|
102
106
|
## 4.0.1
|
|
103
107
|
|
|
@@ -114,14 +118,14 @@
|
|
|
114
118
|
### Patch Changes
|
|
115
119
|
|
|
116
120
|
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
|
|
117
|
-
|
|
121
|
+
- @equinor/fusion-framework-module@4.3.0
|
|
118
122
|
|
|
119
123
|
## 3.1.4
|
|
120
124
|
|
|
121
125
|
### Patch Changes
|
|
122
126
|
|
|
123
127
|
- Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
|
|
124
|
-
|
|
128
|
+
- @equinor/fusion-framework-module@4.2.7
|
|
125
129
|
|
|
126
130
|
## 3.1.3
|
|
127
131
|
|
|
@@ -130,7 +134,7 @@
|
|
|
130
134
|
- [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
|
|
131
135
|
|
|
132
136
|
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
133
|
-
|
|
137
|
+
- @equinor/fusion-framework-module@4.2.6
|
|
134
138
|
|
|
135
139
|
## 3.1.2
|
|
136
140
|
|
|
@@ -150,9 +154,9 @@
|
|
|
150
154
|
|
|
151
155
|
- [#1453](https://github.com/equinor/fusion-framework/pull/1453) [`6f542d4c`](https://github.com/equinor/fusion-framework/commit/6f542d4c7c01ae94c28b7e82efba800a902a7633) Thanks [@odinr](https://github.com/odinr)! - Prevent duplicate push event when navigating
|
|
152
156
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
Added `master` | `slave` property when creating navigator.
|
|
158
|
+
When configured as `slave`, the navigator will replace the action from `PUSH` to `REPLACE`
|
|
159
|
+
The result should be that only the `master` will execute the `PUSH` action to `window.location`
|
|
156
160
|
|
|
157
161
|
## 3.0.6
|
|
158
162
|
|
|
@@ -161,14 +165,14 @@
|
|
|
161
165
|
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
162
166
|
|
|
163
167
|
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
164
|
-
|
|
168
|
+
- @equinor/fusion-framework-module@4.2.5
|
|
165
169
|
|
|
166
170
|
## 3.0.5
|
|
167
171
|
|
|
168
172
|
### Patch Changes
|
|
169
173
|
|
|
170
174
|
- Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
|
|
171
|
-
|
|
175
|
+
- @equinor/fusion-framework-module@4.2.4
|
|
172
176
|
|
|
173
177
|
## 3.0.4
|
|
174
178
|
|
|
@@ -176,14 +180,14 @@
|
|
|
176
180
|
|
|
177
181
|
- [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
|
|
178
182
|
|
|
179
|
-
|
|
183
|
+
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
180
184
|
|
|
181
|
-
|
|
185
|
+
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
182
186
|
|
|
183
187
|
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
|
|
184
188
|
|
|
185
189
|
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
|
|
186
|
-
|
|
190
|
+
- @equinor/fusion-framework-module@4.2.3
|
|
187
191
|
|
|
188
192
|
## 3.0.3
|
|
189
193
|
|
|
@@ -209,30 +213,30 @@
|
|
|
209
213
|
|
|
210
214
|
- [#907](https://github.com/equinor/fusion-framework/pull/907) [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9) Thanks [@odinr](https://github.com/odinr)! - extend base module provider
|
|
211
215
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
216
|
+
- make `NavigationProvider` extend `BaseModuleProvider`
|
|
217
|
+
- internal function `_localizeLocation` is renamed to `_localizePath`. _should not cause breaking changes_
|
|
218
|
+
- expose localized state from `Navigator` _(history)_
|
|
215
219
|
|
|
216
|
-
|
|
220
|
+
BREAKING CHANGE: `NavigationProvider` no longer extends `Observable<{ action: Action; path: Path }>`, use `INavigationProvider.state# Change Log _(this is now a localized path)_
|
|
217
221
|
|
|
218
222
|
### Minor Changes
|
|
219
223
|
|
|
220
224
|
- [#907](https://github.com/equinor/fusion-framework/pull/907) [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9) Thanks [@odinr](https://github.com/odinr)! - add version to module
|
|
221
225
|
|
|
222
|
-
|
|
223
|
-
|
|
226
|
+
- add `prebuild` step to generate version
|
|
227
|
+
- update `.gitignore` to skip `version.ts` since this file is generated during building
|
|
224
228
|
|
|
225
229
|
### Patch Changes
|
|
226
230
|
|
|
227
231
|
- [#913](https://github.com/equinor/fusion-framework/pull/913) [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d) Thanks [@odinr](https://github.com/odinr)! - **Change init of NavigationProvider**
|
|
228
232
|
|
|
229
|
-
|
|
233
|
+
moved the init to constructor
|
|
230
234
|
|
|
231
235
|
- [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
|
|
232
236
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
237
|
+
- align all versions of typescript
|
|
238
|
+
- update types to build
|
|
239
|
+
- a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
|
|
236
240
|
|
|
237
241
|
All notable changes to this project will be documented in this file.
|
|
238
242
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -6,10 +6,13 @@ export const createHistory = (type) => {
|
|
|
6
6
|
case 'memory':
|
|
7
7
|
return createMemoryHistory({ v5Compat: true });
|
|
8
8
|
case 'browser':
|
|
9
|
-
default:
|
|
10
9
|
return createBrowserHistory({
|
|
11
10
|
v5Compat: true,
|
|
12
11
|
});
|
|
12
|
+
default: {
|
|
13
|
+
console.warn(`Unknown history type: ${type}. Using browser history as default.`);
|
|
14
|
+
return createHistory('browser');
|
|
15
|
+
}
|
|
13
16
|
}
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=createHistory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createHistory.js","sourceRoot":"","sources":["../../src/createHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAKjG,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"createHistory.js","sourceRoot":"","sources":["../../src/createHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAKjG,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAW,EAAE;IAC3D,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,MAAM;YACT,OAAO,iBAAiB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAC/C,KAAK,QAAQ;YACX,OAAO,mBAAmB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QACjD,KAAK,SAAS;YACZ,OAAO,oBAAoB,CAAC;gBAC1B,QAAQ,EAAE,IAAI;aACf,CAAC,CAAC;QACL,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,CAAC,IAAI,CAAC,yBAAyB,IAAI,qCAAqC,CAAC,CAAC;YACjF,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -68,10 +68,10 @@ export class NavigationProvider extends BaseModuleProvider {
|
|
|
68
68
|
return __classPrivateFieldGet(this, _NavigationProvider_navigator, "f").createURL(this._createToPath(to !== null && to !== void 0 ? to : this.path));
|
|
69
69
|
}
|
|
70
70
|
push(to, state) {
|
|
71
|
-
|
|
71
|
+
__classPrivateFieldGet(this, _NavigationProvider_navigator, "f").push(this._createToPath(to), state);
|
|
72
72
|
}
|
|
73
73
|
replace(to, state) {
|
|
74
|
-
|
|
74
|
+
__classPrivateFieldGet(this, _NavigationProvider_navigator, "f").replace(this._createToPath(to), state);
|
|
75
75
|
}
|
|
76
76
|
_localizePath(location) {
|
|
77
77
|
var _a;
|
|
@@ -86,9 +86,7 @@ export class NavigationProvider extends BaseModuleProvider {
|
|
|
86
86
|
_createToPath(to) {
|
|
87
87
|
const { pathname, search, hash } = typeof to === 'string' ? { pathname: to, search: undefined, hash: undefined } : to;
|
|
88
88
|
return {
|
|
89
|
-
pathname: normalizePathname([__classPrivateFieldGet(this, _NavigationProvider_basePathname, "f"), pathname === '/' ? undefined : pathname]
|
|
90
|
-
.filter((x) => !!x)
|
|
91
|
-
.join('/')),
|
|
89
|
+
pathname: normalizePathname([__classPrivateFieldGet(this, _NavigationProvider_basePathname, "f"), pathname === '/' ? undefined : pathname].filter((x) => !!x).join('/')),
|
|
92
90
|
search,
|
|
93
91
|
hash,
|
|
94
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationProvider.js","sourceRoot":"","sources":["../../../../src/lib/provider/NavigationProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"NavigationProvider.js","sourceRoot":"","sources":["../../../../src/lib/provider/NavigationProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAA4B,YAAY,EAAsB,MAAM,mBAAmB,CAAC;AAE/F,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EACL,kBAAkB,GAEnB,MAAM,2CAA2C,CAAC;AAKnD,OAAO,EAAE,SAAS,EAAmB,MAAM,iBAAiB,CAAC;AAE7D,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,OA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C,MAAA,uBAAA,IAAI,wCAAc,mCAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YAC3E,MAAM;YACN,IAAI;SACL,CAAC;IACJ,CAAC;IAES,aAAa,CAAC,EAAM;QAC5B,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAC9B,OAAO,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrF,OAAO;YACL,QAAQ,EAAE,iBAAiB,CACzB,CAAC,uBAAA,IAAI,wCAAc,EAAE,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAC3F;YACD,MAAM;YACN,IAAI;SACL,CAAC;IACJ,CAAC;CACF"}
|
package/dist/esm/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,eAAe,GAChB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAgC,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAA4B,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAC;AAQtC,MAAM,CAAC,MAAM,MAAM,GAAqB;IACtC,OAAO,EAAE,IAAI,eAAe,CAAC,OAAO,CAAC;IACrC,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,CAAC,GAAoB,EAAE,EAAE;QAClC,MAAM,YAAY,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAClD,IAAI,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,UAAU,EAAE,CAAC;YACpB,YAAY,CAAC,OAAO,GAAG,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC;QAClD,CAAC;QACD,OAAO,YAAY,CAAC;IACtB,CAAC;IACD,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;;QACzB,MAAA,MAAM,CAAC,OAAO,oCAAd,MAAM,CAAC,OAAO,GAAK,aAAa,EAAE,EAAC;QACnC,OAAO,IAAI,kBAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,CAAC,EAAE,QAAQ,EAAE;QAClB,QAAQ,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;AAC9B,8DAA8D;AAC9D,YAA4C,EAC5C,iBAAwF,EAClF,EAAE;IACR,MAAM,OAAO,GACX,OAAO,iBAAiB,KAAK,QAAQ;QACnC,CAAC,CAAC;YACE,SAAS,EAAE,CAAC,MAA0C,EAAE,EAAE;gBACxD,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC;YACtC,CAAC;SACF;QACH,CAAC,CAAC,iBAAiB,CAAC;IACxB,YAAY,CAAC,SAAS,iBAAG,MAAM,IAAK,OAAO,EAAG,CAAC;AACjD,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/dist/esm/navigator.js
CHANGED
|
@@ -129,7 +129,7 @@ export class Navigator extends Observable {
|
|
|
129
129
|
push(to, state) {
|
|
130
130
|
const skip = isLocation(to) && this._isDuplicateLocation(to);
|
|
131
131
|
if (!skip) {
|
|
132
|
-
|
|
132
|
+
__classPrivateFieldGet(this, _Navigator_history, "f").push(to, state);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
@@ -140,7 +140,7 @@ export class Navigator extends Observable {
|
|
|
140
140
|
replace(to, state) {
|
|
141
141
|
const skip = isLocation(to) && this._isDuplicateLocation(to);
|
|
142
142
|
if (!skip) {
|
|
143
|
-
|
|
143
|
+
__classPrivateFieldGet(this, _Navigator_history, "f").replace(to, state);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigator.js","sourceRoot":"","sources":["../../src/navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAiBjE;;;;GAIG;AACH,MAAM,UAAU,GAAG,CAAC,EAAM,EAAkB,EAAE,CAAC,OAAO,EAAE,KAAK,QAAQ,IAAI,KAAK,IAAI,EAAE,CAAC;AAErF;;GAEG;AACH,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"navigator.js","sourceRoot":"","sources":["../../src/navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAiBjE;;;;GAIG;AACH,MAAM,UAAU,GAAG,CAAC,EAAM,EAAkB,EAAE,CAAC,OAAO,EAAE,KAAK,QAAQ,IAAI,KAAK,IAAI,EAAE,CAAC;AAErF;;GAEG;AACH,MAAM,OAAO,SACX,SAAQ,UAAa;IAWrB;;OAEG;IACH,IAAI,QAAQ;QACV,OAAO,uBAAA,IAAI,2BAAU,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,IAAI,MAAM;QACR,OAAO,uBAAA,IAAI,yBAAQ,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,IAAI,KAAK;QACP,OAAO,uBAAA,IAAI,wBAAO,CAAC,YAAY,EAAE,CAAC;I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