@angular/router
Advanced tools
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -48,3 +48,3 @@ * License: MIT | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -57,3 +57,3 @@ type: ReactiveRouterState, | ||
| minVersion: "22.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -65,3 +65,3 @@ type: ReactiveRouterState | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -323,3 +323,3 @@ type: ReactiveRouterState, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -345,3 +345,3 @@ type: RouterLink, | ||
| minVersion: "17.1.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| type: RouterLink, | ||
@@ -451,3 +451,3 @@ isStandalone: true, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -658,3 +658,3 @@ type: RouterLink, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -675,3 +675,3 @@ type: RouterLinkActive, | ||
| minVersion: "14.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| type: RouterLinkActive, | ||
@@ -700,3 +700,3 @@ isStandalone: true, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -753,3 +753,3 @@ type: RouterLinkActive, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -762,3 +762,3 @@ type: PreloadAllModules, | ||
| minVersion: "22.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -770,3 +770,3 @@ type: PreloadAllModules | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -784,3 +784,3 @@ type: PreloadAllModules, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -793,3 +793,3 @@ type: NoPreloading, | ||
| minVersion: "22.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -801,3 +801,3 @@ type: NoPreloading | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -880,3 +880,3 @@ type: NoPreloading, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -897,3 +897,3 @@ type: RouterPreloader, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -906,3 +906,3 @@ type: RouterPreloader, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1018,3 +1018,3 @@ type: RouterPreloader, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1027,3 +1027,3 @@ type: RouterScroller, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1035,3 +1035,3 @@ type: RouterScroller | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1376,3 +1376,3 @@ type: RouterScroller, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1385,3 +1385,3 @@ type: NavigationStateManager, | ||
| minVersion: "22.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1393,3 +1393,3 @@ type: NavigationStateManager | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1708,3 +1708,3 @@ type: NavigationStateManager, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1717,3 +1717,3 @@ type: RouterModule, | ||
| minVersion: "14.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1726,3 +1726,3 @@ type: RouterModule, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1734,3 +1734,3 @@ type: RouterModule | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -1737,0 +1737,0 @@ type: RouterModule, |
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -31,5 +31,5 @@ * License: MIT | ||
| const VERSION = /* @__PURE__ */new Version('22.1.0-next.6'); | ||
| const VERSION = /* @__PURE__ */new Version('22.1.0-rc.0'); | ||
| export { VERSION, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve }; | ||
| //# sourceMappingURL=router.mjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"router.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/utils/functional_guards.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('22.1.0-next.6');\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgCM,SAAU,aAAa,CAAC,SAAgC,EAAA;EAC5D,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC,CACzC;AACH;AAWM,SAAU,gBAAgB,CAAC,SAAmC,EAAA;EAClE,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,CAC5C;AACH;AAUM,SAAU,qBAAqB,CACnC,SAAwC,EAAA;EAExC,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,CACjD;AACH;AAUM,SAAU,kBAAkB,CAChC,SAAwC,EAAA;EAExC,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC,CAC9C;AACH;AAUM,SAAU,YAAY,CAAI,QAA0B,EAAA;AACxD,EAAA,OAAO,CAAC,GAAG,MAAM,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;AAC3D;;ACpFO,MAAM,OAAO,kBAAmB,IAAI,OAAO,CAAC,mBAAmB;;;;"} | ||
| {"version":3,"file":"router.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/utils/functional_guards.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('22.1.0-rc.0');\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgCM,SAAU,aAAa,CAAC,SAAgC,EAAA;EAC5D,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC,CACzC;AACH;AAWM,SAAU,gBAAgB,CAAC,SAAmC,EAAA;EAClE,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,CAC5C;AACH;AAUM,SAAU,qBAAqB,CACnC,SAAwC,EAAA;EAExC,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,CACjD;AACH;AAUM,SAAU,kBAAkB,CAChC,SAAwC,EAAA;EAExC,OAAO,SAAS,CAAC,GAAG,CACjB,QAAQ,IACP,CAAC,GAAG,MAAM,KACR,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC,CAC9C;AACH;AAUM,SAAU,YAAY,CAAI,QAA0B,EAAA;AACxD,EAAA,OAAO,CAAC,GAAG,MAAM,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;AAC3D;;ACpFO,MAAM,OAAO,kBAAmB,IAAI,OAAO,CAAC,mBAAmB;;;;"} |
+11
-11
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -36,3 +36,3 @@ * License: MIT | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -45,3 +45,3 @@ type: RouterTestingModule, | ||
| minVersion: "14.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -53,3 +53,3 @@ type: RouterTestingModule, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -67,3 +67,3 @@ type: RouterTestingModule, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -104,3 +104,3 @@ type: RouterTestingModule, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -113,3 +113,3 @@ type: RootFixtureService, | ||
| minVersion: "22.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -121,3 +121,3 @@ type: RootFixtureService | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -136,3 +136,3 @@ type: RootFixtureService, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -145,3 +145,3 @@ type: RootCmp, | ||
| minVersion: "14.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| type: RootCmp, | ||
@@ -172,3 +172,3 @@ isStandalone: true, | ||
| minVersion: "12.0.0", | ||
| version: "22.1.0-next.6", | ||
| version: "22.1.0-rc.0", | ||
| ngImport: i0, | ||
@@ -175,0 +175,0 @@ type: RootCmp, |
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
+4
-4
| { | ||
| "name": "@angular/router", | ||
| "version": "22.1.0-next.6", | ||
| "version": "22.1.0-rc.0", | ||
| "description": "Angular - the routing library", | ||
@@ -30,5 +30,5 @@ "keywords": [ | ||
| "peerDependencies": { | ||
| "@angular/core": "22.1.0-next.6", | ||
| "@angular/common": "22.1.0-next.6", | ||
| "@angular/platform-browser": "22.1.0-next.6", | ||
| "@angular/core": "22.1.0-rc.0", | ||
| "@angular/common": "22.1.0-rc.0", | ||
| "@angular/platform-browser": "22.1.0-rc.0", | ||
| "rxjs": "^6.5.3 || ^7.4.0" | ||
@@ -35,0 +35,0 @@ }, |
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
| /** | ||
| * @license Angular v22.1.0-next.6 | ||
| * @license Angular v22.1.0-rc.0 | ||
| * (c) 2010-2026 Google LLC. https://angular.dev/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1186840
-0.02%