@skyux/router 5.6.2 → 6.0.0-beta.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.
- package/esm2020/index.mjs +13 -0
- package/esm2020/lib/modules/href/href-query-params.mjs +2 -0
- package/esm2020/lib/modules/href/href-resolver.mjs +2 -0
- package/esm2020/lib/modules/href/href-resolver.service.mjs +19 -0
- package/esm2020/lib/modules/href/href.directive.mjs +195 -0
- package/esm2020/lib/modules/href/href.module.mjs +18 -0
- package/esm2020/lib/modules/href/types/href-resolver.args.mjs +2 -0
- package/esm2020/lib/modules/href/types/href.mjs +2 -0
- package/esm2020/lib/modules/link/link-external.directive.mjs +58 -0
- package/esm2020/lib/modules/link/link-query-params.mjs +2 -0
- package/esm2020/lib/modules/link/link.directive.mjs +43 -0
- package/esm2020/lib/modules/link/link.module.mjs +18 -0
- package/esm2020/skyux-router.mjs +5 -0
- package/fesm2015/skyux-router.mjs +340 -0
- package/fesm2015/skyux-router.mjs.map +1 -0
- package/{fesm2015/skyux-router.js → fesm2020/skyux-router.mjs} +39 -32
- package/fesm2020/skyux-router.mjs.map +1 -0
- package/lib/modules/href/href.directive.d.ts +5 -3
- package/package.json +24 -11
- package/bundles/skyux-router.umd.js +0 -709
- package/esm2015/index.js +0 -13
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/modules/href/href-query-params.js +0 -2
- package/esm2015/lib/modules/href/href-query-params.js.map +0 -1
- package/esm2015/lib/modules/href/href-resolver.js +0 -2
- package/esm2015/lib/modules/href/href-resolver.js.map +0 -1
- package/esm2015/lib/modules/href/href-resolver.service.js +0 -19
- package/esm2015/lib/modules/href/href-resolver.service.js.map +0 -1
- package/esm2015/lib/modules/href/href.directive.js +0 -186
- package/esm2015/lib/modules/href/href.directive.js.map +0 -1
- package/esm2015/lib/modules/href/href.module.js +0 -18
- package/esm2015/lib/modules/href/href.module.js.map +0 -1
- package/esm2015/lib/modules/href/types/href-resolver.args.js +0 -2
- package/esm2015/lib/modules/href/types/href-resolver.args.js.map +0 -1
- package/esm2015/lib/modules/href/types/href.js +0 -2
- package/esm2015/lib/modules/href/types/href.js.map +0 -1
- package/esm2015/lib/modules/link/link-external.directive.js +0 -59
- package/esm2015/lib/modules/link/link-external.directive.js.map +0 -1
- package/esm2015/lib/modules/link/link-query-params.js +0 -2
- package/esm2015/lib/modules/link/link-query-params.js.map +0 -1
- package/esm2015/lib/modules/link/link.directive.js +0 -44
- package/esm2015/lib/modules/link/link.directive.js.map +0 -1
- package/esm2015/lib/modules/link/link.module.js +0 -18
- package/esm2015/lib/modules/link/link.module.js.map +0 -1
- package/esm2015/skyux-router.js +0 -5
- package/esm2015/skyux-router.js.map +0 -1
- package/fesm2015/skyux-router.js.map +0 -1
|
@@ -1,709 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@skyux/core'), require('@skyux/config'), require('@angular/common/http')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/router', ['exports', '@angular/core', '@angular/common', '@angular/router', '@skyux/core', '@skyux/config', '@angular/common/http'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.router = {}), global.ng.core, global.ng.common, global.ng.router, global.i3, global.i4, global.ng.common.http));
|
|
5
|
-
})(this, (function (exports, i0, i2, i1, i3, i4, http) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
30
|
-
|
|
31
|
-
/*! *****************************************************************************
|
|
32
|
-
Copyright (c) Microsoft Corporation.
|
|
33
|
-
|
|
34
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
35
|
-
purpose with or without fee is hereby granted.
|
|
36
|
-
|
|
37
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
38
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
39
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
40
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
41
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
42
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
44
|
-
***************************************************************************** */
|
|
45
|
-
/* global Reflect, Promise */
|
|
46
|
-
var extendStatics = function (d, b) {
|
|
47
|
-
extendStatics = Object.setPrototypeOf ||
|
|
48
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
49
|
-
function (d, b) { for (var p in b)
|
|
50
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
51
|
-
d[p] = b[p]; };
|
|
52
|
-
return extendStatics(d, b);
|
|
53
|
-
};
|
|
54
|
-
function __extends(d, b) {
|
|
55
|
-
if (typeof b !== "function" && b !== null)
|
|
56
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
57
|
-
extendStatics(d, b);
|
|
58
|
-
function __() { this.constructor = d; }
|
|
59
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
60
|
-
}
|
|
61
|
-
var __assign = function () {
|
|
62
|
-
__assign = Object.assign || function __assign(t) {
|
|
63
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
64
|
-
s = arguments[i];
|
|
65
|
-
for (var p in s)
|
|
66
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
67
|
-
t[p] = s[p];
|
|
68
|
-
}
|
|
69
|
-
return t;
|
|
70
|
-
};
|
|
71
|
-
return __assign.apply(this, arguments);
|
|
72
|
-
};
|
|
73
|
-
function __rest(s, e) {
|
|
74
|
-
var t = {};
|
|
75
|
-
for (var p in s)
|
|
76
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
77
|
-
t[p] = s[p];
|
|
78
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
79
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
80
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
81
|
-
t[p[i]] = s[p[i]];
|
|
82
|
-
}
|
|
83
|
-
return t;
|
|
84
|
-
}
|
|
85
|
-
function __decorate(decorators, target, key, desc) {
|
|
86
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
87
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
88
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
89
|
-
else
|
|
90
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
91
|
-
if (d = decorators[i])
|
|
92
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
93
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
94
|
-
}
|
|
95
|
-
function __param(paramIndex, decorator) {
|
|
96
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
97
|
-
}
|
|
98
|
-
function __metadata(metadataKey, metadataValue) {
|
|
99
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
100
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
101
|
-
}
|
|
102
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
103
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
104
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
105
|
-
function fulfilled(value) { try {
|
|
106
|
-
step(generator.next(value));
|
|
107
|
-
}
|
|
108
|
-
catch (e) {
|
|
109
|
-
reject(e);
|
|
110
|
-
} }
|
|
111
|
-
function rejected(value) { try {
|
|
112
|
-
step(generator["throw"](value));
|
|
113
|
-
}
|
|
114
|
-
catch (e) {
|
|
115
|
-
reject(e);
|
|
116
|
-
} }
|
|
117
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
118
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
function __generator(thisArg, body) {
|
|
122
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
123
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
124
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
125
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
126
|
-
function step(op) {
|
|
127
|
-
if (f)
|
|
128
|
-
throw new TypeError("Generator is already executing.");
|
|
129
|
-
while (_)
|
|
130
|
-
try {
|
|
131
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
132
|
-
return t;
|
|
133
|
-
if (y = 0, t)
|
|
134
|
-
op = [op[0] & 2, t.value];
|
|
135
|
-
switch (op[0]) {
|
|
136
|
-
case 0:
|
|
137
|
-
case 1:
|
|
138
|
-
t = op;
|
|
139
|
-
break;
|
|
140
|
-
case 4:
|
|
141
|
-
_.label++;
|
|
142
|
-
return { value: op[1], done: false };
|
|
143
|
-
case 5:
|
|
144
|
-
_.label++;
|
|
145
|
-
y = op[1];
|
|
146
|
-
op = [0];
|
|
147
|
-
continue;
|
|
148
|
-
case 7:
|
|
149
|
-
op = _.ops.pop();
|
|
150
|
-
_.trys.pop();
|
|
151
|
-
continue;
|
|
152
|
-
default:
|
|
153
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
154
|
-
_ = 0;
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
158
|
-
_.label = op[1];
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
162
|
-
_.label = t[1];
|
|
163
|
-
t = op;
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
if (t && _.label < t[2]) {
|
|
167
|
-
_.label = t[2];
|
|
168
|
-
_.ops.push(op);
|
|
169
|
-
break;
|
|
170
|
-
}
|
|
171
|
-
if (t[2])
|
|
172
|
-
_.ops.pop();
|
|
173
|
-
_.trys.pop();
|
|
174
|
-
continue;
|
|
175
|
-
}
|
|
176
|
-
op = body.call(thisArg, _);
|
|
177
|
-
}
|
|
178
|
-
catch (e) {
|
|
179
|
-
op = [6, e];
|
|
180
|
-
y = 0;
|
|
181
|
-
}
|
|
182
|
-
finally {
|
|
183
|
-
f = t = 0;
|
|
184
|
-
}
|
|
185
|
-
if (op[0] & 5)
|
|
186
|
-
throw op[1];
|
|
187
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
191
|
-
if (k2 === undefined)
|
|
192
|
-
k2 = k;
|
|
193
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
194
|
-
}) : (function (o, m, k, k2) {
|
|
195
|
-
if (k2 === undefined)
|
|
196
|
-
k2 = k;
|
|
197
|
-
o[k2] = m[k];
|
|
198
|
-
});
|
|
199
|
-
function __exportStar(m, o) {
|
|
200
|
-
for (var p in m)
|
|
201
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
202
|
-
__createBinding(o, m, p);
|
|
203
|
-
}
|
|
204
|
-
function __values(o) {
|
|
205
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
206
|
-
if (m)
|
|
207
|
-
return m.call(o);
|
|
208
|
-
if (o && typeof o.length === "number")
|
|
209
|
-
return {
|
|
210
|
-
next: function () {
|
|
211
|
-
if (o && i >= o.length)
|
|
212
|
-
o = void 0;
|
|
213
|
-
return { value: o && o[i++], done: !o };
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
217
|
-
}
|
|
218
|
-
function __read(o, n) {
|
|
219
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
220
|
-
if (!m)
|
|
221
|
-
return o;
|
|
222
|
-
var i = m.call(o), r, ar = [], e;
|
|
223
|
-
try {
|
|
224
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
225
|
-
ar.push(r.value);
|
|
226
|
-
}
|
|
227
|
-
catch (error) {
|
|
228
|
-
e = { error: error };
|
|
229
|
-
}
|
|
230
|
-
finally {
|
|
231
|
-
try {
|
|
232
|
-
if (r && !r.done && (m = i["return"]))
|
|
233
|
-
m.call(i);
|
|
234
|
-
}
|
|
235
|
-
finally {
|
|
236
|
-
if (e)
|
|
237
|
-
throw e.error;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
return ar;
|
|
241
|
-
}
|
|
242
|
-
/** @deprecated */
|
|
243
|
-
function __spread() {
|
|
244
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
245
|
-
ar = ar.concat(__read(arguments[i]));
|
|
246
|
-
return ar;
|
|
247
|
-
}
|
|
248
|
-
/** @deprecated */
|
|
249
|
-
function __spreadArrays() {
|
|
250
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
251
|
-
s += arguments[i].length;
|
|
252
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
253
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
254
|
-
r[k] = a[j];
|
|
255
|
-
return r;
|
|
256
|
-
}
|
|
257
|
-
function __spreadArray(to, from, pack) {
|
|
258
|
-
if (pack || arguments.length === 2)
|
|
259
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
260
|
-
if (ar || !(i in from)) {
|
|
261
|
-
if (!ar)
|
|
262
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
263
|
-
ar[i] = from[i];
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
267
|
-
}
|
|
268
|
-
function __await(v) {
|
|
269
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
270
|
-
}
|
|
271
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
272
|
-
if (!Symbol.asyncIterator)
|
|
273
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
274
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
275
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
276
|
-
function verb(n) { if (g[n])
|
|
277
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
278
|
-
function resume(n, v) { try {
|
|
279
|
-
step(g[n](v));
|
|
280
|
-
}
|
|
281
|
-
catch (e) {
|
|
282
|
-
settle(q[0][3], e);
|
|
283
|
-
} }
|
|
284
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
285
|
-
function fulfill(value) { resume("next", value); }
|
|
286
|
-
function reject(value) { resume("throw", value); }
|
|
287
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
288
|
-
resume(q[0][0], q[0][1]); }
|
|
289
|
-
}
|
|
290
|
-
function __asyncDelegator(o) {
|
|
291
|
-
var i, p;
|
|
292
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
293
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
294
|
-
}
|
|
295
|
-
function __asyncValues(o) {
|
|
296
|
-
if (!Symbol.asyncIterator)
|
|
297
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
298
|
-
var m = o[Symbol.asyncIterator], i;
|
|
299
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
300
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
301
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
302
|
-
}
|
|
303
|
-
function __makeTemplateObject(cooked, raw) {
|
|
304
|
-
if (Object.defineProperty) {
|
|
305
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
cooked.raw = raw;
|
|
309
|
-
}
|
|
310
|
-
return cooked;
|
|
311
|
-
}
|
|
312
|
-
;
|
|
313
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
314
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
315
|
-
}) : function (o, v) {
|
|
316
|
-
o["default"] = v;
|
|
317
|
-
};
|
|
318
|
-
function __importStar(mod) {
|
|
319
|
-
if (mod && mod.__esModule)
|
|
320
|
-
return mod;
|
|
321
|
-
var result = {};
|
|
322
|
-
if (mod != null)
|
|
323
|
-
for (var k in mod)
|
|
324
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
325
|
-
__createBinding(result, mod, k);
|
|
326
|
-
__setModuleDefault(result, mod);
|
|
327
|
-
return result;
|
|
328
|
-
}
|
|
329
|
-
function __importDefault(mod) {
|
|
330
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
331
|
-
}
|
|
332
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
333
|
-
if (kind === "a" && !f)
|
|
334
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
335
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
336
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
337
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
338
|
-
}
|
|
339
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
340
|
-
if (kind === "m")
|
|
341
|
-
throw new TypeError("Private method is not writable");
|
|
342
|
-
if (kind === "a" && !f)
|
|
343
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
344
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
345
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
346
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @deprecated Use `skyHref` directive instead.
|
|
351
|
-
*/
|
|
352
|
-
var SkyAppLinkExternalDirective = /** @class */ (function (_super) {
|
|
353
|
-
__extends(SkyAppLinkExternalDirective, _super);
|
|
354
|
-
function SkyAppLinkExternalDirective(router, route, platformLocation, window, skyAppConfig, paramsProvider, hostConfig) {
|
|
355
|
-
var _this = _super.call(this, router, route, new i2.PathLocationStrategy(platformLocation, hostConfig ? hostConfig.host.url : skyAppConfig.skyux.host.url)) || this;
|
|
356
|
-
_this.window = window;
|
|
357
|
-
_this.skyAppConfig = skyAppConfig;
|
|
358
|
-
_this.paramsProvider = paramsProvider;
|
|
359
|
-
if (_this.window.nativeWindow.window.name &&
|
|
360
|
-
_this.window.nativeWindow.window.name !== '') {
|
|
361
|
-
_this.target = _this.window.nativeWindow.window.name;
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
_this.target = '_top';
|
|
365
|
-
}
|
|
366
|
-
return _this;
|
|
367
|
-
}
|
|
368
|
-
Object.defineProperty(SkyAppLinkExternalDirective.prototype, "skyAppLinkExternal", {
|
|
369
|
-
set: function (commands) {
|
|
370
|
-
this.routerLink = commands;
|
|
371
|
-
},
|
|
372
|
-
enumerable: false,
|
|
373
|
-
configurable: true
|
|
374
|
-
});
|
|
375
|
-
SkyAppLinkExternalDirective.prototype.ngOnChanges = function (changes) {
|
|
376
|
-
var _a;
|
|
377
|
-
this.queryParams = this.mergeQueryParams((_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
|
|
378
|
-
_super.prototype.ngOnChanges.call(this, changes);
|
|
379
|
-
};
|
|
380
|
-
SkyAppLinkExternalDirective.prototype.mergeQueryParams = function (queryParams) {
|
|
381
|
-
var skyuxParams = this.skyAppConfig
|
|
382
|
-
? this.skyAppConfig.runtime.params.getAll()
|
|
383
|
-
: this.paramsProvider.params.getAll();
|
|
384
|
-
return Object.assign({}, this.queryParams, queryParams, skyuxParams);
|
|
385
|
-
};
|
|
386
|
-
return SkyAppLinkExternalDirective;
|
|
387
|
-
}(i1.RouterLinkWithHref));
|
|
388
|
-
SkyAppLinkExternalDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkExternalDirective, deps: [{ token: i1__namespace.Router }, { token: i1__namespace.ActivatedRoute }, { token: i2__namespace.PlatformLocation }, { token: i3__namespace.SkyAppWindowRef }, { token: i4__namespace.SkyAppConfig, optional: true }, { token: i4__namespace.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: i4__namespace.SkyAppConfigHost, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
389
|
-
SkyAppLinkExternalDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SkyAppLinkExternalDirective, selector: "[skyAppLinkExternal]", inputs: { skyAppLinkExternal: "skyAppLinkExternal" }, usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
|
|
390
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkExternalDirective, decorators: [{
|
|
391
|
-
type: i0.Directive,
|
|
392
|
-
args: [{
|
|
393
|
-
selector: '[skyAppLinkExternal]',
|
|
394
|
-
}]
|
|
395
|
-
}], ctorParameters: function () {
|
|
396
|
-
return [{ type: i1__namespace.Router }, { type: i1__namespace.ActivatedRoute }, { type: i2__namespace.PlatformLocation }, { type: i3__namespace.SkyAppWindowRef }, { type: i4__namespace.SkyAppConfig, decorators: [{
|
|
397
|
-
type: i0.Optional
|
|
398
|
-
}] }, { type: i4__namespace.SkyAppRuntimeConfigParamsProvider, decorators: [{
|
|
399
|
-
type: i0.Optional
|
|
400
|
-
}] }, { type: i4__namespace.SkyAppConfigHost, decorators: [{
|
|
401
|
-
type: i0.Optional
|
|
402
|
-
}] }];
|
|
403
|
-
}, propDecorators: { skyAppLinkExternal: [{
|
|
404
|
-
type: i0.Input
|
|
405
|
-
}] } });
|
|
406
|
-
|
|
407
|
-
var SkyAppLinkDirective = /** @class */ (function (_super) {
|
|
408
|
-
__extends(SkyAppLinkDirective, _super);
|
|
409
|
-
function SkyAppLinkDirective(router, route, locationStrategy, skyAppConfig, paramsProvider) {
|
|
410
|
-
var _this = _super.call(this, router, route, locationStrategy) || this;
|
|
411
|
-
_this.skyAppConfig = skyAppConfig;
|
|
412
|
-
_this.paramsProvider = paramsProvider;
|
|
413
|
-
return _this;
|
|
414
|
-
}
|
|
415
|
-
Object.defineProperty(SkyAppLinkDirective.prototype, "skyAppLink", {
|
|
416
|
-
set: function (commands) {
|
|
417
|
-
this.routerLink = commands;
|
|
418
|
-
},
|
|
419
|
-
enumerable: false,
|
|
420
|
-
configurable: true
|
|
421
|
-
});
|
|
422
|
-
SkyAppLinkDirective.prototype.ngOnChanges = function (changes) {
|
|
423
|
-
var _a;
|
|
424
|
-
this.queryParams = this.mergeQueryParams((_a = changes.queryParams) === null || _a === void 0 ? void 0 : _a.currentValue);
|
|
425
|
-
_super.prototype.ngOnChanges.call(this, changes);
|
|
426
|
-
};
|
|
427
|
-
SkyAppLinkDirective.prototype.mergeQueryParams = function (queryParams) {
|
|
428
|
-
var skyuxParams = this.skyAppConfig
|
|
429
|
-
? this.skyAppConfig.runtime.params.getAll(true)
|
|
430
|
-
: this.paramsProvider.params.getAll(true);
|
|
431
|
-
return Object.assign({}, this.queryParams, queryParams, skyuxParams);
|
|
432
|
-
};
|
|
433
|
-
return SkyAppLinkDirective;
|
|
434
|
-
}(i1.RouterLinkWithHref));
|
|
435
|
-
SkyAppLinkDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkDirective, deps: [{ token: i1__namespace.Router }, { token: i1__namespace.ActivatedRoute }, { token: i2__namespace.LocationStrategy }, { token: i4__namespace.SkyAppConfig, optional: true }, { token: i4__namespace.SkyAppRuntimeConfigParamsProvider, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
436
|
-
SkyAppLinkDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SkyAppLinkDirective, selector: "[skyAppLink]", inputs: { skyAppLink: "skyAppLink" }, usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
|
|
437
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkDirective, decorators: [{
|
|
438
|
-
type: i0.Directive,
|
|
439
|
-
args: [{
|
|
440
|
-
selector: '[skyAppLink]',
|
|
441
|
-
}]
|
|
442
|
-
}], ctorParameters: function () {
|
|
443
|
-
return [{ type: i1__namespace.Router }, { type: i1__namespace.ActivatedRoute }, { type: i2__namespace.LocationStrategy }, { type: i4__namespace.SkyAppConfig, decorators: [{
|
|
444
|
-
type: i0.Optional
|
|
445
|
-
}] }, { type: i4__namespace.SkyAppRuntimeConfigParamsProvider, decorators: [{
|
|
446
|
-
type: i0.Optional
|
|
447
|
-
}] }];
|
|
448
|
-
}, propDecorators: { skyAppLink: [{
|
|
449
|
-
type: i0.Input
|
|
450
|
-
}] } });
|
|
451
|
-
|
|
452
|
-
/* istanbul ignore next */
|
|
453
|
-
var SkyAppLinkModule = /** @class */ (function () {
|
|
454
|
-
function SkyAppLinkModule() {
|
|
455
|
-
}
|
|
456
|
-
return SkyAppLinkModule;
|
|
457
|
-
}());
|
|
458
|
-
SkyAppLinkModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
459
|
-
SkyAppLinkModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkModule, declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective], exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective] });
|
|
460
|
-
SkyAppLinkModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkModule });
|
|
461
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyAppLinkModule, decorators: [{
|
|
462
|
-
type: i0.NgModule,
|
|
463
|
-
args: [{
|
|
464
|
-
declarations: [SkyAppLinkDirective, SkyAppLinkExternalDirective],
|
|
465
|
-
exports: [SkyAppLinkDirective, SkyAppLinkExternalDirective],
|
|
466
|
-
}]
|
|
467
|
-
}] });
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* Return the link as-is.
|
|
471
|
-
*/
|
|
472
|
-
var SkyHrefResolverService = /** @class */ (function () {
|
|
473
|
-
function SkyHrefResolverService() {
|
|
474
|
-
}
|
|
475
|
-
SkyHrefResolverService.prototype.resolveHref = function (args) {
|
|
476
|
-
return Promise.resolve({
|
|
477
|
-
url: args.url,
|
|
478
|
-
userHasAccess: true,
|
|
479
|
-
});
|
|
480
|
-
};
|
|
481
|
-
return SkyHrefResolverService;
|
|
482
|
-
}());
|
|
483
|
-
SkyHrefResolverService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefResolverService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
484
|
-
SkyHrefResolverService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefResolverService });
|
|
485
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefResolverService, decorators: [{
|
|
486
|
-
type: i0.Injectable
|
|
487
|
-
}] });
|
|
488
|
-
|
|
489
|
-
var SkyHrefDirective = /** @class */ (function () {
|
|
490
|
-
function SkyHrefDirective(router, renderer, element, skyAppConfig, paramsProvider, hrefResolver) {
|
|
491
|
-
this.router = router;
|
|
492
|
-
this.renderer = renderer;
|
|
493
|
-
this.element = element;
|
|
494
|
-
this.skyAppConfig = skyAppConfig;
|
|
495
|
-
this.paramsProvider = paramsProvider;
|
|
496
|
-
this.hrefResolver = hrefResolver;
|
|
497
|
-
this._route = false;
|
|
498
|
-
this._skyHref = '';
|
|
499
|
-
this._skyHrefElse = 'hide';
|
|
500
|
-
}
|
|
501
|
-
Object.defineProperty(SkyHrefDirective.prototype, "skyHref", {
|
|
502
|
-
/**
|
|
503
|
-
* Provide a link as a string or as an array of strings to be joined by a slash to form a complete
|
|
504
|
-
* URL.
|
|
505
|
-
*
|
|
506
|
-
* @param skyHref
|
|
507
|
-
*/
|
|
508
|
-
set: function (skyHref) {
|
|
509
|
-
if (typeof skyHref === 'string') {
|
|
510
|
-
this._skyHref = skyHref;
|
|
511
|
-
}
|
|
512
|
-
else {
|
|
513
|
-
this._skyHref = skyHref.join('/');
|
|
514
|
-
}
|
|
515
|
-
this.checkRouteAccess();
|
|
516
|
-
},
|
|
517
|
-
enumerable: false,
|
|
518
|
-
configurable: true
|
|
519
|
-
});
|
|
520
|
-
Object.defineProperty(SkyHrefDirective.prototype, "skyHrefElse", {
|
|
521
|
-
set: function (value) {
|
|
522
|
-
this._skyHrefElse = value;
|
|
523
|
-
this.applyChanges(this.getChanges());
|
|
524
|
-
},
|
|
525
|
-
enumerable: false,
|
|
526
|
-
configurable: true
|
|
527
|
-
});
|
|
528
|
-
/* istanbul ignore next */
|
|
529
|
-
SkyHrefDirective.prototype.onClick = function (button, ctrlKey, shiftKey, altKey, metaKey) {
|
|
530
|
-
if (!this._route || !this._route.userHasAccess) {
|
|
531
|
-
return false;
|
|
532
|
-
}
|
|
533
|
-
if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {
|
|
534
|
-
return true;
|
|
535
|
-
}
|
|
536
|
-
var target = this.element.nativeElement.getAttribute('target');
|
|
537
|
-
if (typeof target === 'string' && target !== '_self') {
|
|
538
|
-
return true;
|
|
539
|
-
}
|
|
540
|
-
var urlTree = this.getUrlTree();
|
|
541
|
-
if (urlTree) {
|
|
542
|
-
this.router.navigateByUrl(urlTree);
|
|
543
|
-
return false;
|
|
544
|
-
}
|
|
545
|
-
return true;
|
|
546
|
-
};
|
|
547
|
-
SkyHrefDirective.prototype.applyChanges = function (change) {
|
|
548
|
-
this.renderer.addClass(this.element.nativeElement, 'sky-href');
|
|
549
|
-
if (change.hidden) {
|
|
550
|
-
this.renderer.setAttribute(this.element.nativeElement, 'hidden', 'hidden');
|
|
551
|
-
}
|
|
552
|
-
else {
|
|
553
|
-
this.renderer.removeAttribute(this.element.nativeElement, 'hidden');
|
|
554
|
-
}
|
|
555
|
-
if (change.href) {
|
|
556
|
-
this.renderer.setAttribute(this.element.nativeElement, 'href', change.href);
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
this.renderer.removeAttribute(this.element.nativeElement, 'href');
|
|
560
|
-
}
|
|
561
|
-
};
|
|
562
|
-
SkyHrefDirective.prototype.checkRouteAccess = function () {
|
|
563
|
-
var _this = this;
|
|
564
|
-
this._route = {
|
|
565
|
-
url: this._skyHref,
|
|
566
|
-
userHasAccess: false,
|
|
567
|
-
};
|
|
568
|
-
/* istanbul ignore else */
|
|
569
|
-
if (this.hrefResolver && this._skyHref) {
|
|
570
|
-
this.applyChanges(this.getChanges());
|
|
571
|
-
try {
|
|
572
|
-
this.hrefResolver.resolveHref({ url: this._skyHref }).then(function (route) {
|
|
573
|
-
_this._route = Object.assign({}, route);
|
|
574
|
-
_this.applyChanges(_this.getChanges());
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
catch (error) {
|
|
578
|
-
this.applyChanges(this.getChanges());
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
else {
|
|
582
|
-
// no resolver or skyHref is falsy
|
|
583
|
-
this._route.userHasAccess = !!this._skyHref;
|
|
584
|
-
this.applyChanges(this.getChanges());
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
SkyHrefDirective.prototype.getChanges = function () {
|
|
588
|
-
var queryParams = {};
|
|
589
|
-
if (!this._route || !this._route.userHasAccess) {
|
|
590
|
-
return {
|
|
591
|
-
href: '',
|
|
592
|
-
hidden: this._skyHrefElse === 'hide',
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
else {
|
|
596
|
-
var _f = __read(this._route.url.split('#', 2), 2), beforeFragment = _f[0], fragment = _f[1];
|
|
597
|
-
var _g = __read(beforeFragment.split('?', 2), 2), baseUrl = _g[0], search = _g[1];
|
|
598
|
-
if (search) {
|
|
599
|
-
var searchParams_1 = new http.HttpParams({ fromString: search });
|
|
600
|
-
searchParams_1.keys().forEach(function (key) {
|
|
601
|
-
queryParams[key] = searchParams_1.get(key);
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
var queryParamsMerged = new http.HttpParams({
|
|
605
|
-
fromObject: Object.assign({}, this.getSkyuxParams(), queryParams),
|
|
606
|
-
});
|
|
607
|
-
this._href =
|
|
608
|
-
baseUrl +
|
|
609
|
-
(queryParamsMerged.keys().length > 0
|
|
610
|
-
? '?' + queryParamsMerged.toString()
|
|
611
|
-
: '') +
|
|
612
|
-
(fragment ? "#" + fragment : '');
|
|
613
|
-
return {
|
|
614
|
-
href: this._href,
|
|
615
|
-
hidden: false,
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
SkyHrefDirective.prototype.getSkyuxParams = function () {
|
|
620
|
-
var _a, _b;
|
|
621
|
-
return typeof ((_b = (_a = this.skyAppConfig) === null || _a === void 0 ? void 0 : _a.runtime.params) === null || _b === void 0 ? void 0 : _b.getAll) === 'function'
|
|
622
|
-
? this.skyAppConfig.runtime.params.getAll(true)
|
|
623
|
-
: this.paramsProvider.params.getAll(true);
|
|
624
|
-
};
|
|
625
|
-
/* istanbul ignore next */
|
|
626
|
-
SkyHrefDirective.prototype.getUrlTree = function () {
|
|
627
|
-
var _a, _b, _c, _d, _e;
|
|
628
|
-
var href = this._href.toLowerCase();
|
|
629
|
-
if (!href ||
|
|
630
|
-
!((_b = (_a = this.skyAppConfig) === null || _a === void 0 ? void 0 : _a.skyux.host) === null || _b === void 0 ? void 0 : _b.url) ||
|
|
631
|
-
!((_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)) {
|
|
632
|
-
return false;
|
|
633
|
-
}
|
|
634
|
-
var baseUrl = (this.skyAppConfig.skyux.host.url +
|
|
635
|
-
this.skyAppConfig.runtime.app.base.substr(0, this.skyAppConfig.runtime.app.base.length - 1)).toLowerCase();
|
|
636
|
-
if (href === baseUrl ||
|
|
637
|
-
// Make sure the base URL is not simply a partial match of the base URL plus additional
|
|
638
|
-
// characters after the base URL that are not "terminating" characters
|
|
639
|
-
href.indexOf(baseUrl + '/') === 0 ||
|
|
640
|
-
href.indexOf(baseUrl + '?') === 0) {
|
|
641
|
-
var routePath = this._href.substring(baseUrl.length);
|
|
642
|
-
return this.router.parseUrl(routePath);
|
|
643
|
-
}
|
|
644
|
-
return false;
|
|
645
|
-
};
|
|
646
|
-
return SkyHrefDirective;
|
|
647
|
-
}());
|
|
648
|
-
SkyHrefDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefDirective, deps: [{ token: i1__namespace.Router }, { token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }, { token: i4__namespace.SkyAppConfig, optional: true }, { token: i4__namespace.SkyAppRuntimeConfigParamsProvider, optional: true }, { token: SkyHrefResolverService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
649
|
-
SkyHrefDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SkyHrefDirective, selector: "[skyHref]", inputs: { skyHref: "skyHref", skyHrefElse: "skyHrefElse" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, ngImport: i0__namespace });
|
|
650
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefDirective, decorators: [{
|
|
651
|
-
type: i0.Directive,
|
|
652
|
-
args: [{
|
|
653
|
-
selector: '[skyHref]',
|
|
654
|
-
}]
|
|
655
|
-
}], ctorParameters: function () {
|
|
656
|
-
return [{ type: i1__namespace.Router }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }, { type: i4__namespace.SkyAppConfig, decorators: [{
|
|
657
|
-
type: i0.Optional
|
|
658
|
-
}] }, { type: i4__namespace.SkyAppRuntimeConfigParamsProvider, decorators: [{
|
|
659
|
-
type: i0.Optional
|
|
660
|
-
}] }, { type: SkyHrefResolverService, decorators: [{
|
|
661
|
-
type: i0.Optional
|
|
662
|
-
}] }];
|
|
663
|
-
}, propDecorators: { skyHref: [{
|
|
664
|
-
type: i0.Input
|
|
665
|
-
}], skyHrefElse: [{
|
|
666
|
-
type: i0.Input
|
|
667
|
-
}], onClick: [{
|
|
668
|
-
type: i0.HostListener,
|
|
669
|
-
args: ['click', [
|
|
670
|
-
'$event.button',
|
|
671
|
-
'$event.ctrlKey',
|
|
672
|
-
'$event.shiftKey',
|
|
673
|
-
'$event.altKey',
|
|
674
|
-
'$event.metaKey',
|
|
675
|
-
]]
|
|
676
|
-
}] } });
|
|
677
|
-
|
|
678
|
-
var SkyHrefModule = /** @class */ (function () {
|
|
679
|
-
function SkyHrefModule() {
|
|
680
|
-
}
|
|
681
|
-
return SkyHrefModule;
|
|
682
|
-
}());
|
|
683
|
-
SkyHrefModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
684
|
-
SkyHrefModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefModule, declarations: [SkyHrefDirective], imports: [i2.CommonModule], exports: [SkyHrefDirective] });
|
|
685
|
-
SkyHrefModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefModule, imports: [[i2.CommonModule]] });
|
|
686
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyHrefModule, decorators: [{
|
|
687
|
-
type: i0.NgModule,
|
|
688
|
-
args: [{
|
|
689
|
-
declarations: [SkyHrefDirective],
|
|
690
|
-
exports: [SkyHrefDirective],
|
|
691
|
-
imports: [i2.CommonModule],
|
|
692
|
-
}]
|
|
693
|
-
}] });
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* Generated bundle index. Do not edit.
|
|
697
|
-
*/
|
|
698
|
-
|
|
699
|
-
exports.SkyAppLinkModule = SkyAppLinkModule;
|
|
700
|
-
exports.SkyHrefModule = SkyHrefModule;
|
|
701
|
-
exports.SkyHrefResolverService = SkyHrefResolverService;
|
|
702
|
-
exports["λ1"] = SkyHrefDirective;
|
|
703
|
-
exports["λ2"] = SkyAppLinkExternalDirective;
|
|
704
|
-
exports["λ3"] = SkyAppLinkDirective;
|
|
705
|
-
|
|
706
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
707
|
-
|
|
708
|
-
}));
|
|
709
|
-
//# sourceMappingURL=skyux-router.umd.js.map
|