@skyux/router 6.16.0 → 7.0.0-alpha.0

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.
@@ -5,10 +5,10 @@ import * as i0 from "@angular/core";
5
5
  /* istanbul ignore next */
6
6
  export class SkyAppLinkModule {
7
7
  }
8
- SkyAppLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- SkyAppLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective], exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective] });
10
- SkyAppLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, decorators: [{
8
+ SkyAppLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ SkyAppLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective], exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective] });
10
+ SkyAppLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective],
@@ -5,9 +5,9 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export class SkyRecentlyAccessedService {
7
7
  }
8
- SkyRecentlyAccessedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9
- SkyRecentlyAccessedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService, decorators: [{
8
+ SkyRecentlyAccessedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9
+ SkyRecentlyAccessedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService, decorators: [{
11
11
  type: Injectable
12
12
  }] });
13
13
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjZW50bHktYWNjZXNzZWQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9yb3V0ZXIvc3JjL2xpYi9tb2R1bGVzL3JlY2VudGx5LWFjY2Vzc2VkL3JlY2VudGx5LWFjY2Vzc2VkLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFVM0M7O0dBRUc7QUFFSCxNQUFNLE9BQWdCLDBCQUEwQjs7dUhBQTFCLDBCQUEwQjsySEFBMUIsMEJBQTBCOzJGQUExQiwwQkFBMEI7a0JBRC9DLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcblxuaW1wb3J0IHsgU2t5UmVjZW50bHlBY2Nlc3NlZEFkZExpbmtBcmdzIH0gZnJvbSAnLi9yZWNlbnRseS1hY2Nlc3NlZC1hZGQtbGluay1hcmdzJztcbmltcG9ydCB7IFNreVJlY2VudGx5QWNjZXNzZWRBZGRMaW5rUmVzdWx0IH0gZnJvbSAnLi9yZWNlbnRseS1hY2Nlc3NlZC1hZGQtbGluay1yZXN1bHQnO1xuaW1wb3J0IHsgU2t5UmVjZW50bHlBY2Nlc3NlZEFkZFJvdXRlQXJncyB9IGZyb20gJy4vcmVjZW50bHktYWNjZXNzZWQtYWRkLXJvdXRlLWFyZ3MnO1xuaW1wb3J0IHsgU2t5UmVjZW50bHlBY2Nlc3NlZEdldExpbmtzQXJncyB9IGZyb20gJy4vcmVjZW50bHktYWNjZXNzZWQtZ2V0LWxpbmtzLWFyZ3MnO1xuaW1wb3J0IHsgU2t5UmVjZW50bHlBY2Nlc3NlZExpbmtMaXN0IH0gZnJvbSAnLi9yZWNlbnRseS1hY2Nlc3NlZC1saW5rLWxpc3QnO1xuXG4vKipcbiAqIEEgc2VydmljZSBmb3IgY3JlYXRpbmcgYW5kIHJldHJpZXZpbmcgcmVjZW50bHkgYWNjZXNzZWQgbGlua3MuXG4gKi9cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBTa3lSZWNlbnRseUFjY2Vzc2VkU2VydmljZSB7XG4gIC8qKlxuICAgKiBBZGRzIGEgcmVjZW50bHkgYWNjZXNzZWQgbGluayBiYXNlZCBvbiBhbiBBbmd1bGFyIHJvdXRlLlxuICAgKiBAcGFyYW0gYXJncyBUaGUgcm91dGUgdG8gYWRkLlxuICAgKi9cbiAgcHVibGljIGFic3RyYWN0IGFkZFJvdXRlKFxuICAgIGFyZ3M6IFNreVJlY2VudGx5QWNjZXNzZWRBZGRSb3V0ZUFyZ3NcbiAgKTogT2JzZXJ2YWJsZTxTa3lSZWNlbnRseUFjY2Vzc2VkQWRkTGlua1Jlc3VsdD47XG5cbiAgLyoqXG4gICAqIEFkZHMgYSByZWNlbnRseSBhY2Nlc3NlZCBsaW5rIGJhc2VkIG9uIG1ldGFkYXRhIGFib3V0IHRoZSBsaW5rLlxuICAgKiBAcGFyYW0gYXJncyBUaGUgbGluayB0byBhZGQuXG4gICAqL1xuICBwdWJsaWMgYWJzdHJhY3QgYWRkTGluayhcbiAgICBhcmdzOiBTa3lSZWNlbnRseUFjY2Vzc2VkQWRkTGlua0FyZ3NcbiAgKTogT2JzZXJ2YWJsZTxTa3lSZWNlbnRseUFjY2Vzc2VkQWRkTGlua1Jlc3VsdD47XG5cbiAgLyoqXG4gICAqIEdldHMgYSBsaXN0IG9mIHJlY2VudGx5IGFjY2Vzc2VkIGxpbmtzLlxuICAgKiBAcGFyYW0gYXJncyBUaGUgbGlua3MgdG8gcmV0cmlldmUuXG4gICAqL1xuICBwdWJsaWMgYWJzdHJhY3QgZ2V0TGlua3MoXG4gICAgYXJnczogU2t5UmVjZW50bHlBY2Nlc3NlZEdldExpbmtzQXJnc1xuICApOiBPYnNlcnZhYmxlPFNreVJlY2VudGx5QWNjZXNzZWRMaW5rTGlzdD47XG59XG4iXX0=
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Directive, Optional, Input, NgModule, Injectable, EventEmitter, Output, HostListener } from '@angular/core';
3
+ import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
3
4
  import * as i2 from '@angular/common';
4
5
  import { PathLocationStrategy, CommonModule } from '@angular/common';
5
6
  import * as i1 from '@angular/router';
@@ -8,18 +9,24 @@ import * as i3 from '@skyux/core';
8
9
  import * as i4 from '@skyux/config';
9
10
  import { HttpParams } from '@angular/common/http';
10
11
 
12
+ var _SkyAppLinkExternalDirective_instances, _SkyAppLinkExternalDirective_window, _SkyAppLinkExternalDirective_skyAppConfig, _SkyAppLinkExternalDirective_paramsProvider, _SkyAppLinkExternalDirective_mergeQueryParams;
11
13
  /**
12
14
  * @deprecated Use `skyHref` directive instead.
13
15
  */
14
16
  class SkyAppLinkExternalDirective extends RouterLinkWithHref {
15
17
  constructor(router, route, platformLocation, window, skyAppConfig, paramsProvider, hostConfig) {
16
- super(router, route, new PathLocationStrategy(platformLocation, hostConfig ? hostConfig.host.url : skyAppConfig.skyux.host.url));
17
- this.window = window;
18
- this.skyAppConfig = skyAppConfig;
19
- this.paramsProvider = paramsProvider;
20
- if (this.window.nativeWindow.window.name &&
21
- this.window.nativeWindow.window.name !== '') {
22
- this.target = this.window.nativeWindow.window.name;
18
+ var _a;
19
+ super(router, route, new PathLocationStrategy(platformLocation, hostConfig ? hostConfig.host.url : (_a = skyAppConfig === null || skyAppConfig === void 0 ? void 0 : skyAppConfig.skyux.host) === null || _a === void 0 ? void 0 : _a.url));
20
+ _SkyAppLinkExternalDirective_instances.add(this);
21
+ _SkyAppLinkExternalDirective_window.set(this, void 0);
22
+ _SkyAppLinkExternalDirective_skyAppConfig.set(this, void 0);
23
+ _SkyAppLinkExternalDirective_paramsProvider.set(this, void 0);
24
+ __classPrivateFieldSet(this, _SkyAppLinkExternalDirective_window, window, "f");
25
+ __classPrivateFieldSet(this, _SkyAppLinkExternalDirective_skyAppConfig, skyAppConfig, "f");
26
+ __classPrivateFieldSet(this, _SkyAppLinkExternalDirective_paramsProvider, paramsProvider, "f");
27
+ if (__classPrivateFieldGet(this, _SkyAppLinkExternalDirective_window, "f").nativeWindow.window.name &&
28
+ __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_window, "f").nativeWindow.window.name !== '') {
29
+ this.target = __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_window, "f").nativeWindow.window.name;
23
30
  }
24
31
  else {
25
32
  this.target = '_top';
@@ -30,19 +37,20 @@ class SkyAppLinkExternalDirective extends RouterLinkWithHref {
30
37
  }
31
38
  ngOnChanges(changes) {
32
39
  var _a;
33
- this.queryParams = this.mergeQueryParams((_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
40
+ this.queryParams = __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_instances, "m", _SkyAppLinkExternalDirective_mergeQueryParams).call(this, (_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
34
41
  super.ngOnChanges(changes);
35
42
  }
36
- mergeQueryParams(queryParams) {
37
- const skyuxParams = this.skyAppConfig
38
- ? this.skyAppConfig.runtime.params.getAll()
39
- : this.paramsProvider.params.getAll();
40
- return Object.assign({}, this.queryParams, queryParams, skyuxParams);
41
- }
42
43
  }
43
- SkyAppLinkExternalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkExternalDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.PlatformLocation }, { token: i3.SkyAppWindowRef }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: i4.SkyAppConfigHost, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
44
- SkyAppLinkExternalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyAppLinkExternalDirective, selector: "[skyAppLinkExternal]", inputs: { skyAppLinkExternal: "skyAppLinkExternal" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkExternalDirective, decorators: [{
44
+ _SkyAppLinkExternalDirective_window = new WeakMap(), _SkyAppLinkExternalDirective_skyAppConfig = new WeakMap(), _SkyAppLinkExternalDirective_paramsProvider = new WeakMap(), _SkyAppLinkExternalDirective_instances = new WeakSet(), _SkyAppLinkExternalDirective_mergeQueryParams = function _SkyAppLinkExternalDirective_mergeQueryParams(queryParams) {
45
+ var _a;
46
+ const skyuxParams = __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_skyAppConfig, "f")
47
+ ? __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_skyAppConfig, "f").runtime.params.getAll()
48
+ : (_a = __classPrivateFieldGet(this, _SkyAppLinkExternalDirective_paramsProvider, "f")) === null || _a === void 0 ? void 0 : _a.params.getAll();
49
+ return Object.assign({}, this.queryParams, queryParams, skyuxParams);
50
+ };
51
+ SkyAppLinkExternalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkExternalDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.PlatformLocation }, { token: i3.SkyAppWindowRef }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: i4.SkyAppConfigHost, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
52
+ SkyAppLinkExternalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: SkyAppLinkExternalDirective, selector: "[skyAppLinkExternal]", inputs: { skyAppLinkExternal: "skyAppLinkExternal" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkExternalDirective, decorators: [{
46
54
  type: Directive,
47
55
  args: [{
48
56
  selector: '[skyAppLinkExternal]',
@@ -59,30 +67,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
59
67
  type: Input
60
68
  }] } });
61
69
 
70
+ var _SkyAppLinkDirective_instances, _SkyAppLinkDirective_skyAppConfig, _SkyAppLinkDirective_paramsProvider, _SkyAppLinkDirective_mergeQueryParams;
62
71
  class SkyAppLinkDirective extends RouterLinkWithHref {
63
72
  constructor(router, route, locationStrategy, skyAppConfig, paramsProvider) {
64
73
  super(router, route, locationStrategy);
65
- this.skyAppConfig = skyAppConfig;
66
- this.paramsProvider = paramsProvider;
74
+ _SkyAppLinkDirective_instances.add(this);
75
+ _SkyAppLinkDirective_skyAppConfig.set(this, void 0);
76
+ _SkyAppLinkDirective_paramsProvider.set(this, void 0);
77
+ __classPrivateFieldSet(this, _SkyAppLinkDirective_skyAppConfig, skyAppConfig, "f");
78
+ __classPrivateFieldSet(this, _SkyAppLinkDirective_paramsProvider, paramsProvider, "f");
67
79
  }
68
80
  set skyAppLink(commands) {
69
81
  this.routerLink = commands;
70
82
  }
71
83
  ngOnChanges(changes) {
72
84
  var _a;
73
- this.queryParams = this.mergeQueryParams((_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
85
+ this.queryParams = __classPrivateFieldGet(this, _SkyAppLinkDirective_instances, "m", _SkyAppLinkDirective_mergeQueryParams).call(this, (_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
74
86
  super.ngOnChanges(changes);
75
87
  }
76
- mergeQueryParams(queryParams) {
77
- const skyuxParams = this.skyAppConfig
78
- ? this.skyAppConfig.runtime.params.getAll(true)
79
- : this.paramsProvider.params.getAll(true);
80
- return Object.assign({}, this.queryParams, queryParams, skyuxParams);
81
- }
82
88
  }
83
- SkyAppLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.LocationStrategy }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
84
- SkyAppLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyAppLinkDirective, selector: "[skyAppLink]", inputs: { skyAppLink: "skyAppLink" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkDirective, decorators: [{
89
+ _SkyAppLinkDirective_skyAppConfig = new WeakMap(), _SkyAppLinkDirective_paramsProvider = new WeakMap(), _SkyAppLinkDirective_instances = new WeakSet(), _SkyAppLinkDirective_mergeQueryParams = function _SkyAppLinkDirective_mergeQueryParams(queryParams) {
90
+ var _a;
91
+ const skyuxParams = __classPrivateFieldGet(this, _SkyAppLinkDirective_skyAppConfig, "f")
92
+ ? __classPrivateFieldGet(this, _SkyAppLinkDirective_skyAppConfig, "f").runtime.params.getAll(true)
93
+ : (_a = __classPrivateFieldGet(this, _SkyAppLinkDirective_paramsProvider, "f")) === null || _a === void 0 ? void 0 : _a.params.getAll(true);
94
+ return Object.assign({}, this.queryParams, queryParams, skyuxParams);
95
+ };
96
+ SkyAppLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkDirective, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.LocationStrategy }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
97
+ SkyAppLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: SkyAppLinkDirective, selector: "[skyAppLink]", inputs: { skyAppLink: "skyAppLink" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkDirective, decorators: [{
86
99
  type: Directive,
87
100
  args: [{
88
101
  selector: '[skyAppLink]',
@@ -100,10 +113,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
100
113
  /* istanbul ignore next */
101
114
  class SkyAppLinkModule {
102
115
  }
103
- SkyAppLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
104
- SkyAppLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective], exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective] });
105
- SkyAppLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyAppLinkModule, decorators: [{
116
+ SkyAppLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
117
+ SkyAppLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective], exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective] });
118
+ SkyAppLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyAppLinkModule, decorators: [{
107
120
  type: NgModule,
108
121
  args: [{
109
122
  declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective],
@@ -122,29 +135,61 @@ class SkyHrefResolverService {
122
135
  });
123
136
  }
124
137
  }
125
- SkyHrefResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefResolverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
126
- SkyHrefResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefResolverService });
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefResolverService, decorators: [{
138
+ SkyHrefResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefResolverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
139
+ SkyHrefResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefResolverService });
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefResolverService, decorators: [{
128
141
  type: Injectable
129
142
  }] });
130
143
 
144
+ var _SkyHrefDirective_instances, _SkyHrefDirective_route, _SkyHrefDirective_href, _SkyHrefDirective__skyHref, _SkyHrefDirective__skyHrefElse, _SkyHrefDirective_router, _SkyHrefDirective_renderer, _SkyHrefDirective_element, _SkyHrefDirective_skyAppConfig, _SkyHrefDirective_paramsProvider, _SkyHrefDirective_hrefResolver, _SkyHrefDirective_applicationRef, _SkyHrefDirective_changeDetectorRef, _SkyHrefDirective_applyChanges, _SkyHrefDirective_checkRouteAccess, _SkyHrefDirective_getChanges, _SkyHrefDirective_getSkyuxParams, _SkyHrefDirective_getUrlTree;
131
145
  class SkyHrefDirective {
132
146
  constructor(router, renderer, element, skyAppConfig, paramsProvider, hrefResolver, applicationRef, changeDetectorRef) {
133
- this.router = router;
134
- this.renderer = renderer;
135
- this.element = element;
136
- this.skyAppConfig = skyAppConfig;
137
- this.paramsProvider = paramsProvider;
138
- this.hrefResolver = hrefResolver;
139
- this.applicationRef = applicationRef;
140
- this.changeDetectorRef = changeDetectorRef;
147
+ _SkyHrefDirective_instances.add(this);
141
148
  /**
142
149
  * Emits whether the link is available (true) or not (false).
143
150
  */
144
151
  this.skyHrefChange = new EventEmitter();
145
- this._route = false;
146
- this._skyHref = '';
147
- this._skyHrefElse = 'hide';
152
+ _SkyHrefDirective_route.set(this, false);
153
+ _SkyHrefDirective_href.set(this, '');
154
+ _SkyHrefDirective__skyHref.set(this, '');
155
+ _SkyHrefDirective__skyHrefElse.set(this, 'hide');
156
+ _SkyHrefDirective_router.set(this, void 0);
157
+ _SkyHrefDirective_renderer.set(this, void 0);
158
+ _SkyHrefDirective_element.set(this, void 0);
159
+ _SkyHrefDirective_skyAppConfig.set(this, void 0);
160
+ _SkyHrefDirective_paramsProvider.set(this, void 0);
161
+ _SkyHrefDirective_hrefResolver.set(this, void 0);
162
+ _SkyHrefDirective_applicationRef.set(this, void 0);
163
+ _SkyHrefDirective_changeDetectorRef.set(this, void 0);
164
+ /* istanbul ignore next */
165
+ _SkyHrefDirective_getUrlTree.set(this, () => {
166
+ var _a, _b, _c, _d, _e;
167
+ const href = __classPrivateFieldGet(this, _SkyHrefDirective_href, "f").toLowerCase();
168
+ if (!href ||
169
+ !((_b = (_a = __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f")) === null || _a === void 0 ? void 0 : _a.skyux.host) === null || _b === void 0 ? void 0 : _b.url) ||
170
+ !((_e = (_d = (_c = __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f")) === null || _c === void 0 ? void 0 : _c.runtime) === null || _d === void 0 ? void 0 : _d.app) === null || _e === void 0 ? void 0 : _e.base)) {
171
+ return false;
172
+ }
173
+ const baseUrl = (__classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f").skyux.host.url +
174
+ __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f").runtime.app.base.substr(0, __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f").runtime.app.base.length - 1)).toLowerCase();
175
+ if (href === baseUrl ||
176
+ // Make sure the base URL is not simply a partial match of the base URL plus additional
177
+ // characters after the base URL that are not "terminating" characters
178
+ href.indexOf(baseUrl + '/') === 0 ||
179
+ href.indexOf(baseUrl + '?') === 0) {
180
+ const routePath = __classPrivateFieldGet(this, _SkyHrefDirective_href, "f").substring(baseUrl.length);
181
+ return __classPrivateFieldGet(this, _SkyHrefDirective_router, "f").parseUrl(routePath);
182
+ }
183
+ return false;
184
+ });
185
+ __classPrivateFieldSet(this, _SkyHrefDirective_router, router, "f");
186
+ __classPrivateFieldSet(this, _SkyHrefDirective_renderer, renderer, "f");
187
+ __classPrivateFieldSet(this, _SkyHrefDirective_element, element, "f");
188
+ __classPrivateFieldSet(this, _SkyHrefDirective_skyAppConfig, skyAppConfig, "f");
189
+ __classPrivateFieldSet(this, _SkyHrefDirective_paramsProvider, paramsProvider, "f");
190
+ __classPrivateFieldSet(this, _SkyHrefDirective_hrefResolver, hrefResolver, "f");
191
+ __classPrivateFieldSet(this, _SkyHrefDirective_applicationRef, applicationRef, "f");
192
+ __classPrivateFieldSet(this, _SkyHrefDirective_changeDetectorRef, changeDetectorRef, "f");
148
193
  }
149
194
  /**
150
195
  * Provide a link as a string or as an array of strings to be joined by a slash to form a complete
@@ -154,12 +199,15 @@ class SkyHrefDirective {
154
199
  */
155
200
  set skyHref(skyHref) {
156
201
  if (typeof skyHref === 'string') {
157
- this._skyHref = skyHref;
202
+ __classPrivateFieldSet(this, _SkyHrefDirective__skyHref, skyHref, "f");
158
203
  }
159
204
  else {
160
- this._skyHref = skyHref.join('/');
205
+ __classPrivateFieldSet(this, _SkyHrefDirective__skyHref, skyHref ? skyHref.join('/') : '', "f");
161
206
  }
162
- this.checkRouteAccess();
207
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_checkRouteAccess).call(this);
208
+ }
209
+ get skyHref() {
210
+ return __classPrivateFieldGet(this, _SkyHrefDirective__skyHref, "f");
163
211
  }
164
212
  /**
165
213
  * Set the behavior for when the link is not available to either hide the link or display unlinked text.
@@ -167,136 +215,114 @@ class SkyHrefDirective {
167
215
  * @param value
168
216
  */
169
217
  set skyHrefElse(value) {
170
- this._skyHrefElse = value;
171
- this.applyChanges(this.getChanges());
218
+ __classPrivateFieldSet(this, _SkyHrefDirective__skyHrefElse, value, "f");
219
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_applyChanges).call(this, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getChanges).call(this));
220
+ }
221
+ get skyHrefElse() {
222
+ return __classPrivateFieldGet(this, _SkyHrefDirective__skyHrefElse, "f");
172
223
  }
173
224
  /* istanbul ignore next */
174
225
  onClick(button, ctrlKey, shiftKey, altKey, metaKey) {
175
- if (!this._route || !this._route.userHasAccess) {
226
+ if (!__classPrivateFieldGet(this, _SkyHrefDirective_route, "f") || !__classPrivateFieldGet(this, _SkyHrefDirective_route, "f").userHasAccess) {
176
227
  return false;
177
228
  }
178
229
  if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {
179
230
  return true;
180
231
  }
181
- const target = this.element.nativeElement.getAttribute('target');
232
+ const target = __classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement.getAttribute('target');
182
233
  if (typeof target === 'string' && target !== '_self') {
183
234
  return true;
184
235
  }
185
- const urlTree = this.getUrlTree();
236
+ const urlTree = __classPrivateFieldGet(this, _SkyHrefDirective_getUrlTree, "f").call(this);
186
237
  if (urlTree) {
187
- this.router.navigateByUrl(urlTree);
238
+ __classPrivateFieldGet(this, _SkyHrefDirective_router, "f").navigateByUrl(urlTree);
188
239
  return false;
189
240
  }
190
241
  return true;
191
242
  }
192
- applyChanges(change) {
193
- this.renderer.addClass(this.element.nativeElement, 'sky-href');
194
- if (change.hidden) {
195
- this.renderer.setAttribute(this.element.nativeElement, 'hidden', 'hidden');
196
- }
197
- else {
198
- this.renderer.removeAttribute(this.element.nativeElement, 'hidden');
199
- }
200
- if (change.href) {
201
- this.renderer.setAttribute(this.element.nativeElement, 'href', change.href);
202
- }
203
- else {
204
- this.renderer.removeAttribute(this.element.nativeElement, 'href');
205
- }
206
- this.skyHrefChange.emit({ userHasAccess: !change.hidden });
243
+ }
244
+ _SkyHrefDirective_route = new WeakMap(), _SkyHrefDirective_href = new WeakMap(), _SkyHrefDirective__skyHref = new WeakMap(), _SkyHrefDirective__skyHrefElse = new WeakMap(), _SkyHrefDirective_router = new WeakMap(), _SkyHrefDirective_renderer = new WeakMap(), _SkyHrefDirective_element = new WeakMap(), _SkyHrefDirective_skyAppConfig = new WeakMap(), _SkyHrefDirective_paramsProvider = new WeakMap(), _SkyHrefDirective_hrefResolver = new WeakMap(), _SkyHrefDirective_applicationRef = new WeakMap(), _SkyHrefDirective_changeDetectorRef = new WeakMap(), _SkyHrefDirective_getUrlTree = new WeakMap(), _SkyHrefDirective_instances = new WeakSet(), _SkyHrefDirective_applyChanges = function _SkyHrefDirective_applyChanges(change) {
245
+ __classPrivateFieldGet(this, _SkyHrefDirective_renderer, "f").addClass(__classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement, 'sky-href');
246
+ if (change.hidden) {
247
+ __classPrivateFieldGet(this, _SkyHrefDirective_renderer, "f").setAttribute(__classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement, 'hidden', 'hidden');
207
248
  }
208
- checkRouteAccess() {
209
- this._route = {
210
- url: this._skyHref,
211
- userHasAccess: false,
212
- };
213
- /* istanbul ignore else */
214
- if (this.hrefResolver && this._skyHref) {
215
- this.applyChanges(this.getChanges());
216
- try {
217
- this.hrefResolver.resolveHref({ url: this._skyHref }).then((route) => {
218
- this._route = Object.assign({}, route);
219
- this.applyChanges(this.getChanges());
220
- /* istanbul ignore else */
221
- if (this.changeDetectorRef && this.applicationRef) {
222
- this.changeDetectorRef.markForCheck();
223
- this.applicationRef.tick();
224
- }
225
- });
226
- }
227
- catch (error) {
228
- this.applyChanges(this.getChanges());
229
- }
230
- }
231
- else {
232
- // no resolver or skyHref is falsy
233
- this._route.userHasAccess = !!this._skyHref;
234
- this.applyChanges(this.getChanges());
235
- }
249
+ else {
250
+ __classPrivateFieldGet(this, _SkyHrefDirective_renderer, "f").removeAttribute(__classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement, 'hidden');
236
251
  }
237
- getChanges() {
238
- const queryParams = {};
239
- if (!this._route || !this._route.userHasAccess) {
240
- return {
241
- href: '',
242
- hidden: this._skyHrefElse === 'hide',
243
- };
244
- }
245
- else {
246
- const [beforeFragment, fragment] = this._route.url.split('#', 2);
247
- const [baseUrl, search] = beforeFragment.split('?', 2);
248
- if (search) {
249
- const searchParams = new HttpParams({ fromString: search });
250
- searchParams.keys().forEach((key) => {
251
- queryParams[key] = searchParams.get(key);
252
- });
253
- }
254
- const queryParamsMerged = new HttpParams({
255
- fromObject: Object.assign({}, this.getSkyuxParams(), queryParams),
252
+ if (change.href) {
253
+ __classPrivateFieldGet(this, _SkyHrefDirective_renderer, "f").setAttribute(__classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement, 'href', change.href);
254
+ }
255
+ else {
256
+ __classPrivateFieldGet(this, _SkyHrefDirective_renderer, "f").removeAttribute(__classPrivateFieldGet(this, _SkyHrefDirective_element, "f").nativeElement, 'href');
257
+ }
258
+ this.skyHrefChange.emit({ userHasAccess: !change.hidden });
259
+ }, _SkyHrefDirective_checkRouteAccess = function _SkyHrefDirective_checkRouteAccess() {
260
+ __classPrivateFieldSet(this, _SkyHrefDirective_route, {
261
+ url: this.skyHref,
262
+ userHasAccess: false,
263
+ }, "f");
264
+ /* istanbul ignore else */
265
+ if (__classPrivateFieldGet(this, _SkyHrefDirective_hrefResolver, "f") && this.skyHref) {
266
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_applyChanges).call(this, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getChanges).call(this));
267
+ try {
268
+ __classPrivateFieldGet(this, _SkyHrefDirective_hrefResolver, "f").resolveHref({ url: this.skyHref }).then((route) => {
269
+ __classPrivateFieldSet(this, _SkyHrefDirective_route, Object.assign({}, route), "f");
270
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_applyChanges).call(this, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getChanges).call(this));
271
+ /* istanbul ignore else */
272
+ if (__classPrivateFieldGet(this, _SkyHrefDirective_changeDetectorRef, "f") && __classPrivateFieldGet(this, _SkyHrefDirective_applicationRef, "f")) {
273
+ __classPrivateFieldGet(this, _SkyHrefDirective_changeDetectorRef, "f").markForCheck();
274
+ __classPrivateFieldGet(this, _SkyHrefDirective_applicationRef, "f").tick();
275
+ }
256
276
  });
257
- this._href =
258
- baseUrl +
259
- (queryParamsMerged.keys().length > 0
260
- ? '?' + queryParamsMerged.toString()
261
- : '') +
262
- (fragment ? `#${fragment}` : '');
263
- return {
264
- href: this._href,
265
- hidden: false,
266
- };
277
+ }
278
+ catch (error) {
279
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_applyChanges).call(this, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getChanges).call(this));
267
280
  }
268
281
  }
269
- getSkyuxParams() {
270
- var _a, _b;
271
- return typeof ((_b = (_a = this.skyAppConfig) === null || _a === void 0 ? void 0 : _a.runtime.params) === null || _b === void 0 ? void 0 : _b.getAll) === 'function'
272
- ? this.skyAppConfig.runtime.params.getAll(true)
273
- : this.paramsProvider.params.getAll(true);
282
+ else {
283
+ // no resolver or skyHref is falsy
284
+ __classPrivateFieldGet(this, _SkyHrefDirective_route, "f").userHasAccess = !!this.skyHref;
285
+ __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_applyChanges).call(this, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getChanges).call(this));
274
286
  }
275
- /* istanbul ignore next */
276
- getUrlTree() {
277
- var _a, _b, _c, _d, _e;
278
- const href = this._href.toLowerCase();
279
- if (!href ||
280
- !((_b = (_a = this.skyAppConfig) === null || _a === void 0 ? void 0 : _a.skyux.host) === null || _b === void 0 ? void 0 : _b.url) ||
281
- !((_e = (_d = (_c = this.skyAppConfig) === null || _c === void 0 ? void 0 : _c.runtime) === null || _d === void 0 ? void 0 : _d.app) === null || _e === void 0 ? void 0 : _e.base)) {
282
- return false;
283
- }
284
- const baseUrl = (this.skyAppConfig.skyux.host.url +
285
- this.skyAppConfig.runtime.app.base.substr(0, this.skyAppConfig.runtime.app.base.length - 1)).toLowerCase();
286
- if (href === baseUrl ||
287
- // Make sure the base URL is not simply a partial match of the base URL plus additional
288
- // characters after the base URL that are not "terminating" characters
289
- href.indexOf(baseUrl + '/') === 0 ||
290
- href.indexOf(baseUrl + '?') === 0) {
291
- const routePath = this._href.substring(baseUrl.length);
292
- return this.router.parseUrl(routePath);
287
+ }, _SkyHrefDirective_getChanges = function _SkyHrefDirective_getChanges() {
288
+ const queryParams = {};
289
+ if (!__classPrivateFieldGet(this, _SkyHrefDirective_route, "f") || !__classPrivateFieldGet(this, _SkyHrefDirective_route, "f").userHasAccess) {
290
+ return {
291
+ href: '',
292
+ hidden: this.skyHrefElse === 'hide',
293
+ };
294
+ }
295
+ else {
296
+ const [beforeFragment, fragment] = __classPrivateFieldGet(this, _SkyHrefDirective_route, "f").url.split('#', 2);
297
+ const [baseUrl, search] = beforeFragment.split('?', 2);
298
+ if (search) {
299
+ const searchParams = new HttpParams({ fromString: search });
300
+ searchParams.keys().forEach((key) => {
301
+ queryParams[key] = searchParams.get(key);
302
+ });
293
303
  }
294
- return false;
304
+ const queryParamsMerged = new HttpParams({
305
+ fromObject: Object.assign({}, __classPrivateFieldGet(this, _SkyHrefDirective_instances, "m", _SkyHrefDirective_getSkyuxParams).call(this), queryParams),
306
+ });
307
+ __classPrivateFieldSet(this, _SkyHrefDirective_href, baseUrl +
308
+ (queryParamsMerged.keys().length > 0
309
+ ? '?' + queryParamsMerged.toString()
310
+ : '') +
311
+ (fragment ? `#${fragment}` : ''), "f");
312
+ return {
313
+ href: __classPrivateFieldGet(this, _SkyHrefDirective_href, "f"),
314
+ hidden: false,
315
+ };
295
316
  }
296
- }
297
- SkyHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefDirective, deps: [{ token: i1.Router }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: SkyHrefResolverService, optional: true }, { token: i0.ApplicationRef, optional: true }, { token: i0.ChangeDetectorRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
298
- SkyHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: SkyHrefDirective, selector: "[skyHref]", inputs: { skyHref: "skyHref", skyHrefElse: "skyHrefElse" }, outputs: { skyHrefChange: "skyHrefChange" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, ngImport: i0 });
299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefDirective, decorators: [{
317
+ }, _SkyHrefDirective_getSkyuxParams = function _SkyHrefDirective_getSkyuxParams() {
318
+ var _a, _b, _c;
319
+ return typeof ((_b = (_a = __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f")) === null || _a === void 0 ? void 0 : _a.runtime.params) === null || _b === void 0 ? void 0 : _b.getAll) === 'function'
320
+ ? __classPrivateFieldGet(this, _SkyHrefDirective_skyAppConfig, "f").runtime.params.getAll(true)
321
+ : (_c = __classPrivateFieldGet(this, _SkyHrefDirective_paramsProvider, "f")) === null || _c === void 0 ? void 0 : _c.params.getAll(true);
322
+ };
323
+ SkyHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefDirective, deps: [{ token: i1.Router }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i4.SkyAppConfig, optional: true }, { token: i4.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: SkyHrefResolverService, optional: true }, { token: i0.ApplicationRef, optional: true }, { token: i0.ChangeDetectorRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
324
+ SkyHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: SkyHrefDirective, selector: "[skyHref]", inputs: { skyHref: "skyHref", skyHrefElse: "skyHrefElse" }, outputs: { skyHrefChange: "skyHrefChange" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, ngImport: i0 });
325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefDirective, decorators: [{
300
326
  type: Directive,
301
327
  args: [{
302
328
  selector: '[skyHref]',
@@ -332,10 +358,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
332
358
 
333
359
  class SkyHrefModule {
334
360
  }
335
- SkyHrefModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
336
- SkyHrefModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefModule, declarations: [SkyHrefDirective], imports: [CommonModule], exports: [SkyHrefDirective] });
337
- SkyHrefModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefModule, imports: [[CommonModule]] });
338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyHrefModule, decorators: [{
361
+ SkyHrefModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
362
+ SkyHrefModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefModule, declarations: [SkyHrefDirective], imports: [CommonModule], exports: [SkyHrefDirective] });
363
+ SkyHrefModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefModule, imports: [CommonModule] });
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyHrefModule, decorators: [{
339
365
  type: NgModule,
340
366
  args: [{
341
367
  declarations: [SkyHrefDirective],
@@ -349,9 +375,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
349
375
  */
350
376
  class SkyRecentlyAccessedService {
351
377
  }
352
- SkyRecentlyAccessedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
353
- SkyRecentlyAccessedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService });
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyRecentlyAccessedService, decorators: [{
378
+ SkyRecentlyAccessedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
379
+ SkyRecentlyAccessedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SkyRecentlyAccessedService, decorators: [{
355
381
  type: Injectable
356
382
  }] });
357
383