@angular/router 9.1.7 → 9.1.11

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.7
2
+ * @license Angular v9.1.11
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -31,8 +31,8 @@ import { map, concatAll, last as last$1, catchError, first, mergeMap, every, swi
31
31
  * class MyService {
32
32
  * constructor(public router: Router, logger: Logger) {
33
33
  * router.events.pipe(
34
- * filter(e => e instanceof RouterEvent)
35
- * ).subscribe(e => {
34
+ * filter((e: Event): e is RouterEvent => e instanceof RouterEvent)
35
+ * ).subscribe((e: RouterEvent) => {
36
36
  * logger.log(e.id, e.url);
37
37
  * });
38
38
  * }
@@ -1130,7 +1130,7 @@ if (false) {
1130
1130
  */
1131
1131
  Route.prototype.component;
1132
1132
  /**
1133
- * A URL to which to redirect when a the path matches.
1133
+ * A URL to redirect to when the path matches.
1134
1134
  * Absolute if the URL begins with a slash (/), otherwise relative to the path URL.
1135
1135
  * When not present, router does not redirect.
1136
1136
  * @type {?|undefined}
@@ -8126,7 +8126,12 @@ class RouterLink {
8126
8126
  }
8127
8127
  }
8128
8128
  /**
8129
- * @param {?} commands
8129
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8130
+ * @param {?} commands An array of commands to pass to {\@link Router#createUrlTree
8131
+ * Router#createUrlTree}.
8132
+ * - **array**: commands to pass to {\@link Router#createUrlTree Router#createUrlTree}.
8133
+ * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
8134
+ * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
8130
8135
  * @return {?}
8131
8136
  */
8132
8137
  set routerLink(commands) {
@@ -8138,7 +8143,7 @@ class RouterLink {
8138
8143
  }
8139
8144
  }
8140
8145
  /**
8141
- * @deprecated 4.0.0 use `queryParamsHandling` instead.
8146
+ * @deprecated As of Angular v4.0 use `queryParamsHandling` instead.
8142
8147
  * @param {?} value
8143
8148
  * @return {?}
8144
8149
  */
@@ -8199,19 +8204,54 @@ RouterLink.propDecorators = {
8199
8204
  onClick: [{ type: HostListener, args: ['click',] }]
8200
8205
  };
8201
8206
  if (false) {
8202
- /** @type {?} */
8207
+ /**
8208
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8209
+ * @see {\@link NavigationExtras#queryParams NavigationExtras#queryParams}
8210
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8211
+ * @type {?}
8212
+ */
8203
8213
  RouterLink.prototype.queryParams;
8204
- /** @type {?} */
8214
+ /**
8215
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8216
+ * @see {\@link NavigationExtras#fragment NavigationExtras#fragment}
8217
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8218
+ * @type {?}
8219
+ */
8205
8220
  RouterLink.prototype.fragment;
8206
- /** @type {?} */
8221
+ /**
8222
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8223
+ * @see {\@link NavigationExtras#queryParamsHandling NavigationExtras#queryParamsHandling}
8224
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8225
+ * @type {?}
8226
+ */
8207
8227
  RouterLink.prototype.queryParamsHandling;
8208
- /** @type {?} */
8228
+ /**
8229
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8230
+ * @see {\@link NavigationExtras#preserveFragment NavigationExtras#preserveFragment}
8231
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8232
+ * @type {?}
8233
+ */
8209
8234
  RouterLink.prototype.preserveFragment;
8210
- /** @type {?} */
8235
+ /**
8236
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8237
+ * @see {\@link NavigationExtras#skipLocationChange NavigationExtras#skipLocationChange}
8238
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8239
+ * @type {?}
8240
+ */
8211
8241
  RouterLink.prototype.skipLocationChange;
8212
- /** @type {?} */
8242
+ /**
8243
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8244
+ * @see {\@link NavigationExtras#replaceUrl NavigationExtras#replaceUrl}
8245
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8246
+ * @type {?}
8247
+ */
8213
8248
  RouterLink.prototype.replaceUrl;
8214
- /** @type {?} */
8249
+ /**
8250
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8251
+ * @see {\@link NavigationExtras#state NavigationExtras#state}
8252
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8253
+ * @type {?}
8254
+ */
8215
8255
  RouterLink.prototype.state;
8216
8256
  /**
8217
8257
  * @type {?}
@@ -8267,7 +8307,12 @@ class RouterLinkWithHref {
8267
8307
  }));
8268
8308
  }
8269
8309
  /**
8270
- * @param {?} commands
8310
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8311
+ * @param {?} commands An array of commands to pass to {\@link Router#createUrlTree
8312
+ * Router#createUrlTree}.
8313
+ * - **array**: commands to pass to {\@link Router#createUrlTree Router#createUrlTree}.
8314
+ * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
8315
+ * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
8271
8316
  * @return {?}
8272
8317
  */
8273
8318
  set routerLink(commands) {
@@ -8279,6 +8324,7 @@ class RouterLinkWithHref {
8279
8324
  }
8280
8325
  }
8281
8326
  /**
8327
+ * @deprecated As of Angular v4.0 use `queryParamsHandling` instead.
8282
8328
  * @param {?} value
8283
8329
  * @return {?}
8284
8330
  */
@@ -8371,19 +8417,54 @@ RouterLinkWithHref.propDecorators = {
8371
8417
  if (false) {
8372
8418
  /** @type {?} */
8373
8419
  RouterLinkWithHref.prototype.target;
8374
- /** @type {?} */
8420
+ /**
8421
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8422
+ * @see {\@link NavigationExtras#queryParams NavigationExtras#queryParams}
8423
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8424
+ * @type {?}
8425
+ */
8375
8426
  RouterLinkWithHref.prototype.queryParams;
8376
- /** @type {?} */
8427
+ /**
8428
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8429
+ * @see {\@link NavigationExtras#fragment NavigationExtras#fragment}
8430
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8431
+ * @type {?}
8432
+ */
8377
8433
  RouterLinkWithHref.prototype.fragment;
8378
- /** @type {?} */
8434
+ /**
8435
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8436
+ * @see {\@link NavigationExtras#queryParamsHandling NavigationExtras#queryParamsHandling}
8437
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8438
+ * @type {?}
8439
+ */
8379
8440
  RouterLinkWithHref.prototype.queryParamsHandling;
8380
- /** @type {?} */
8441
+ /**
8442
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8443
+ * @see {\@link NavigationExtras#preserveFragment NavigationExtras#preserveFragment}
8444
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8445
+ * @type {?}
8446
+ */
8381
8447
  RouterLinkWithHref.prototype.preserveFragment;
8382
- /** @type {?} */
8448
+ /**
8449
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8450
+ * @see {\@link NavigationExtras#skipLocationChange NavigationExtras#skipLocationChange}
8451
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8452
+ * @type {?}
8453
+ */
8383
8454
  RouterLinkWithHref.prototype.skipLocationChange;
8384
- /** @type {?} */
8455
+ /**
8456
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8457
+ * @see {\@link NavigationExtras#replaceUrl NavigationExtras#replaceUrl}
8458
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8459
+ * @type {?}
8460
+ */
8385
8461
  RouterLinkWithHref.prototype.replaceUrl;
8386
- /** @type {?} */
8462
+ /**
8463
+ * Passed to {\@link Router#createUrlTree Router#createUrlTree} as part of the `NavigationExtras`.
8464
+ * @see {\@link NavigationExtras#state NavigationExtras#state}
8465
+ * @see {\@link Router#createUrlTree Router#createUrlTree}
8466
+ * @type {?}
8467
+ */
8387
8468
  RouterLinkWithHref.prototype.state;
8388
8469
  /**
8389
8470
  * @type {?}
@@ -10125,7 +10206,7 @@ function provideRouterInitializer() {
10125
10206
  * \@publicApi
10126
10207
  * @type {?}
10127
10208
  */
10128
- const VERSION = new Version('9.1.7');
10209
+ const VERSION = new Version('9.1.11');
10129
10210
 
10130
10211
  /**
10131
10212
  * @fileoverview added by tsickle