@skyux/config 5.0.0-beta.0 → 5.0.0-beta.4

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.
Files changed (42) hide show
  1. package/LICENSE +21 -0
  2. package/app-config-host.d.ts +3 -0
  3. package/app-config-params.d.ts +3 -0
  4. package/app-config.module.d.ts +4 -0
  5. package/bundles/skyux-config.umd.js +386 -246
  6. package/bundles/skyux-config.umd.js.map +1 -1
  7. package/config.d.ts +33 -3
  8. package/documentation.json +4160 -0
  9. package/esm2015/app-config-host.js +9 -8
  10. package/esm2015/app-config-module-for-root-args.js +2 -1
  11. package/esm2015/app-config-params.js +9 -8
  12. package/esm2015/app-config.module.js +12 -10
  13. package/esm2015/config-params.js +2 -1
  14. package/esm2015/config.js +9 -8
  15. package/esm2015/params-provider.js +13 -16
  16. package/esm2015/params.js +1 -1
  17. package/esm2015/public-api.js +9 -0
  18. package/esm2015/skyux-config.js +2 -2
  19. package/fesm2015/skyux-config.js +49 -40
  20. package/fesm2015/skyux-config.js.map +1 -1
  21. package/package.json +6 -21
  22. package/params-provider.d.ts +3 -0
  23. package/{public_api.d.ts → public-api.d.ts} +0 -0
  24. package/skyux-config.d.ts +2 -1
  25. package/CHANGELOG.md +0 -144
  26. package/bundles/skyux-config.umd.min.js +0 -16
  27. package/bundles/skyux-config.umd.min.js.map +0 -1
  28. package/esm2015/public_api.js +0 -7
  29. package/esm5/app-config-host.js +0 -32
  30. package/esm5/app-config-module-for-root-args.js +0 -1
  31. package/esm5/app-config-params.js +0 -38
  32. package/esm5/app-config.module.js +0 -43
  33. package/esm5/config-params.js +0 -1
  34. package/esm5/config.js +0 -18
  35. package/esm5/params-provider.js +0 -35
  36. package/esm5/params.js +0 -151
  37. package/esm5/public_api.js +0 -7
  38. package/esm5/skyux-config.js +0 -5
  39. package/fesm5/skyux-config.js +0 -302
  40. package/fesm5/skyux-config.js.map +0 -1
  41. package/skyux-config.metadata.json +0 -1
  42. package/skyuxconfig-schema.json +0 -421
@@ -1,224 +1,32 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http')) :
3
3
  typeof define === 'function' && define.amd ? define('@skyux/config', ['exports', '@angular/core', '@angular/common/http'], factory) :
4
- (global = global || self, factory((global.skyux = global.skyux || {}, global.skyux.config = {}), global.ng.core, global.ng.common.http));
5
- }(this, (function (exports, core, http) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.config = {}), global.ng.core, global.ng.common.http));
5
+ }(this, (function (exports, i0, http) { 'use strict';
6
6
 
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation. All rights reserved.
9
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
10
- this file except in compliance with the License. You may obtain a copy of the
11
- License at http://www.apache.org/licenses/LICENSE-2.0
12
-
13
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
15
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16
- MERCHANTABLITY OR NON-INFRINGEMENT.
17
-
18
- See the Apache Version 2.0 License for specific language governing permissions
19
- and limitations under the License.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- extendStatics(d, b);
32
- function __() { this.constructor = d; }
33
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
- }
35
-
36
- var __assign = function() {
37
- __assign = Object.assign || function __assign(t) {
38
- for (var s, i = 1, n = arguments.length; i < n; i++) {
39
- s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41
- }
42
- return t;
43
- };
44
- return __assign.apply(this, arguments);
45
- };
46
-
47
- function __rest(s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- }
58
-
59
- function __decorate(decorators, target, key, desc) {
60
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
- return c > 3 && r && Object.defineProperty(target, key, r), r;
64
- }
65
-
66
- function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
68
- }
69
-
70
- function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72
- }
73
-
74
- function __awaiter(thisArg, _arguments, P, generator) {
75
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
- return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
- step((generator = generator.apply(thisArg, _arguments || [])).next());
81
- });
82
- }
83
-
84
- function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87
- function verb(n) { return function (v) { return step([n, v]); }; }
88
- function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- 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) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
105
- }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109
- }
110
- }
111
-
112
- function __exportStar(m, exports) {
113
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
114
- }
115
-
116
- function __values(o) {
117
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
118
- if (m) return m.call(o);
119
- if (o && typeof o.length === "number") return {
120
- next: function () {
121
- if (o && i >= o.length) o = void 0;
122
- return { value: o && o[i++], done: !o };
123
- }
124
- };
125
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
126
- }
127
-
128
- function __read(o, n) {
129
- var m = typeof Symbol === "function" && o[Symbol.iterator];
130
- if (!m) return o;
131
- var i = m.call(o), r, ar = [], e;
132
- try {
133
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
134
- }
135
- catch (error) { e = { error: error }; }
136
- finally {
137
- try {
138
- if (r && !r.done && (m = i["return"])) m.call(i);
139
- }
140
- finally { if (e) throw e.error; }
141
- }
142
- return ar;
143
- }
144
-
145
- function __spread() {
146
- for (var ar = [], i = 0; i < arguments.length; i++)
147
- ar = ar.concat(__read(arguments[i]));
148
- return ar;
149
- }
150
-
151
- function __spreadArrays() {
152
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
153
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
154
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
155
- r[k] = a[j];
156
- return r;
157
- };
158
-
159
- function __await(v) {
160
- return this instanceof __await ? (this.v = v, this) : new __await(v);
161
- }
162
-
163
- function __asyncGenerator(thisArg, _arguments, generator) {
164
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
165
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
166
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
167
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
168
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
169
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
170
- function fulfill(value) { resume("next", value); }
171
- function reject(value) { resume("throw", value); }
172
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
173
- }
174
-
175
- function __asyncDelegator(o) {
176
- var i, p;
177
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
178
- 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; }
179
- }
180
-
181
- function __asyncValues(o) {
182
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
183
- var m = o[Symbol.asyncIterator], i;
184
- 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);
185
- 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); }); }; }
186
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
187
- }
188
-
189
- function __makeTemplateObject(cooked, raw) {
190
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
191
- return cooked;
192
- };
193
-
194
- function __importStar(mod) {
195
- if (mod && mod.__esModule) return mod;
196
- var result = {};
197
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
198
- result.default = mod;
199
- return result;
200
- }
201
-
202
- function __importDefault(mod) {
203
- return (mod && mod.__esModule) ? mod : { default: mod };
204
- }
205
-
206
- function __classPrivateFieldGet(receiver, privateMap) {
207
- if (!privateMap.has(receiver)) {
208
- throw new TypeError("attempted to get private field on non-instance");
209
- }
210
- return privateMap.get(receiver);
211
- }
212
-
213
- function __classPrivateFieldSet(receiver, privateMap, value) {
214
- if (!privateMap.has(receiver)) {
215
- throw new TypeError("attempted to set private field on non-instance");
216
- }
217
- privateMap.set(receiver, value);
218
- return value;
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 () {
17
+ return e[k];
18
+ }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n['default'] = e;
24
+ return Object.freeze(n);
219
25
  }
220
26
 
221
- var DEFAULTS = {
27
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
+
29
+ var DEFAULTS$1 = {
222
30
  frameOptions: {
223
31
  none: true
224
32
  },
@@ -235,19 +43,21 @@
235
43
  get: function () {
236
44
  return this._host;
237
45
  },
238
- enumerable: true,
46
+ enumerable: false,
239
47
  configurable: true
240
48
  });
241
49
  SkyAppConfigHost.prototype.init = function (config) {
242
- this._host = __assign(__assign({}, DEFAULTS), config || {});
50
+ this._host = Object.assign(Object.assign({}, DEFAULTS$1), config || {});
243
51
  };
244
- SkyAppConfigHost = __decorate([
245
- core.Injectable()
246
- ], SkyAppConfigHost);
247
52
  return SkyAppConfigHost;
248
53
  }());
54
+ SkyAppConfigHost.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigHost, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
55
+ SkyAppConfigHost.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigHost });
56
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigHost, decorators: [{
57
+ type: i0.Injectable
58
+ }] });
249
59
 
250
- var DEFAULTS$1 = {
60
+ var DEFAULTS = {
251
61
  params: {
252
62
  envid: {
253
63
  required: false
@@ -270,17 +80,19 @@
270
80
  get: function () {
271
81
  return this._params;
272
82
  },
273
- enumerable: true,
83
+ enumerable: false,
274
84
  configurable: true
275
85
  });
276
86
  SkyAppConfigParams.prototype.init = function (params) {
277
- this._params = __assign(__assign({}, DEFAULTS$1.params), params || {});
87
+ this._params = Object.assign(Object.assign({}, DEFAULTS.params), params || {});
278
88
  };
279
- SkyAppConfigParams = __decorate([
280
- core.Injectable()
281
- ], SkyAppConfigParams);
282
89
  return SkyAppConfigParams;
283
90
  }());
91
+ SkyAppConfigParams.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigParams, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
92
+ SkyAppConfigParams.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigParams });
93
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigParams, decorators: [{
94
+ type: i0.Injectable
95
+ }] });
284
96
 
285
97
  /**
286
98
  * @deprecated Provide `SkyAppConfig` at the root instead.
@@ -288,11 +100,10 @@
288
100
  var SkyAppConfigModule = /** @class */ (function () {
289
101
  function SkyAppConfigModule() {
290
102
  }
291
- SkyAppConfigModule_1 = SkyAppConfigModule;
292
103
  SkyAppConfigModule.forRoot = function (config) {
293
104
  if (config === void 0) { config = {}; }
294
105
  return {
295
- ngModule: SkyAppConfigModule_1,
106
+ ngModule: SkyAppConfigModule,
296
107
  providers: [
297
108
  {
298
109
  provide: SkyAppConfigParams,
@@ -313,12 +124,15 @@
313
124
  ]
314
125
  };
315
126
  };
316
- var SkyAppConfigModule_1;
317
- SkyAppConfigModule = SkyAppConfigModule_1 = __decorate([
318
- core.NgModule({})
319
- ], SkyAppConfigModule);
320
127
  return SkyAppConfigModule;
321
128
  }());
129
+ SkyAppConfigModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
130
+ SkyAppConfigModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigModule });
131
+ SkyAppConfigModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigModule });
132
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfigModule, decorators: [{
133
+ type: i0.NgModule,
134
+ args: [{}]
135
+ }] });
322
136
 
323
137
  var SkyuxPactConfig = /** @class */ (function () {
324
138
  function SkyuxPactConfig() {
@@ -328,11 +142,331 @@
328
142
  var SkyAppConfig = /** @class */ (function () {
329
143
  function SkyAppConfig() {
330
144
  }
331
- SkyAppConfig = __decorate([
332
- core.Injectable()
333
- ], SkyAppConfig);
334
145
  return SkyAppConfig;
335
146
  }());
147
+ SkyAppConfig.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfig, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
148
+ SkyAppConfig.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfig });
149
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppConfig, decorators: [{
150
+ type: i0.Injectable
151
+ }] });
152
+
153
+ /*! *****************************************************************************
154
+ Copyright (c) Microsoft Corporation.
155
+
156
+ Permission to use, copy, modify, and/or distribute this software for any
157
+ purpose with or without fee is hereby granted.
158
+
159
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
160
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
161
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
162
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
163
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
164
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
165
+ PERFORMANCE OF THIS SOFTWARE.
166
+ ***************************************************************************** */
167
+ /* global Reflect, Promise */
168
+ var extendStatics = function (d, b) {
169
+ extendStatics = Object.setPrototypeOf ||
170
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
171
+ function (d, b) { for (var p in b)
172
+ if (Object.prototype.hasOwnProperty.call(b, p))
173
+ d[p] = b[p]; };
174
+ return extendStatics(d, b);
175
+ };
176
+ function __extends(d, b) {
177
+ if (typeof b !== "function" && b !== null)
178
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
179
+ extendStatics(d, b);
180
+ function __() { this.constructor = d; }
181
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
182
+ }
183
+ var __assign = function () {
184
+ __assign = Object.assign || function __assign(t) {
185
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
186
+ s = arguments[i];
187
+ for (var p in s)
188
+ if (Object.prototype.hasOwnProperty.call(s, p))
189
+ t[p] = s[p];
190
+ }
191
+ return t;
192
+ };
193
+ return __assign.apply(this, arguments);
194
+ };
195
+ function __rest(s, e) {
196
+ var t = {};
197
+ for (var p in s)
198
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
199
+ t[p] = s[p];
200
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
201
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
202
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
203
+ t[p[i]] = s[p[i]];
204
+ }
205
+ return t;
206
+ }
207
+ function __decorate(decorators, target, key, desc) {
208
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
209
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
210
+ r = Reflect.decorate(decorators, target, key, desc);
211
+ else
212
+ for (var i = decorators.length - 1; i >= 0; i--)
213
+ if (d = decorators[i])
214
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
215
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
216
+ }
217
+ function __param(paramIndex, decorator) {
218
+ return function (target, key) { decorator(target, key, paramIndex); };
219
+ }
220
+ function __metadata(metadataKey, metadataValue) {
221
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
222
+ return Reflect.metadata(metadataKey, metadataValue);
223
+ }
224
+ function __awaiter(thisArg, _arguments, P, generator) {
225
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
226
+ return new (P || (P = Promise))(function (resolve, reject) {
227
+ function fulfilled(value) { try {
228
+ step(generator.next(value));
229
+ }
230
+ catch (e) {
231
+ reject(e);
232
+ } }
233
+ function rejected(value) { try {
234
+ step(generator["throw"](value));
235
+ }
236
+ catch (e) {
237
+ reject(e);
238
+ } }
239
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
240
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
241
+ });
242
+ }
243
+ function __generator(thisArg, body) {
244
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
245
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
246
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
247
+ function verb(n) { return function (v) { return step([n, v]); }; }
248
+ function step(op) {
249
+ if (f)
250
+ throw new TypeError("Generator is already executing.");
251
+ while (_)
252
+ try {
253
+ 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)
254
+ return t;
255
+ if (y = 0, t)
256
+ op = [op[0] & 2, t.value];
257
+ switch (op[0]) {
258
+ case 0:
259
+ case 1:
260
+ t = op;
261
+ break;
262
+ case 4:
263
+ _.label++;
264
+ return { value: op[1], done: false };
265
+ case 5:
266
+ _.label++;
267
+ y = op[1];
268
+ op = [0];
269
+ continue;
270
+ case 7:
271
+ op = _.ops.pop();
272
+ _.trys.pop();
273
+ continue;
274
+ default:
275
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
276
+ _ = 0;
277
+ continue;
278
+ }
279
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
280
+ _.label = op[1];
281
+ break;
282
+ }
283
+ if (op[0] === 6 && _.label < t[1]) {
284
+ _.label = t[1];
285
+ t = op;
286
+ break;
287
+ }
288
+ if (t && _.label < t[2]) {
289
+ _.label = t[2];
290
+ _.ops.push(op);
291
+ break;
292
+ }
293
+ if (t[2])
294
+ _.ops.pop();
295
+ _.trys.pop();
296
+ continue;
297
+ }
298
+ op = body.call(thisArg, _);
299
+ }
300
+ catch (e) {
301
+ op = [6, e];
302
+ y = 0;
303
+ }
304
+ finally {
305
+ f = t = 0;
306
+ }
307
+ if (op[0] & 5)
308
+ throw op[1];
309
+ return { value: op[0] ? op[1] : void 0, done: true };
310
+ }
311
+ }
312
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
313
+ if (k2 === undefined)
314
+ k2 = k;
315
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
316
+ }) : (function (o, m, k, k2) {
317
+ if (k2 === undefined)
318
+ k2 = k;
319
+ o[k2] = m[k];
320
+ });
321
+ function __exportStar(m, o) {
322
+ for (var p in m)
323
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
324
+ __createBinding(o, m, p);
325
+ }
326
+ function __values(o) {
327
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
328
+ if (m)
329
+ return m.call(o);
330
+ if (o && typeof o.length === "number")
331
+ return {
332
+ next: function () {
333
+ if (o && i >= o.length)
334
+ o = void 0;
335
+ return { value: o && o[i++], done: !o };
336
+ }
337
+ };
338
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
339
+ }
340
+ function __read(o, n) {
341
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
342
+ if (!m)
343
+ return o;
344
+ var i = m.call(o), r, ar = [], e;
345
+ try {
346
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
347
+ ar.push(r.value);
348
+ }
349
+ catch (error) {
350
+ e = { error: error };
351
+ }
352
+ finally {
353
+ try {
354
+ if (r && !r.done && (m = i["return"]))
355
+ m.call(i);
356
+ }
357
+ finally {
358
+ if (e)
359
+ throw e.error;
360
+ }
361
+ }
362
+ return ar;
363
+ }
364
+ /** @deprecated */
365
+ function __spread() {
366
+ for (var ar = [], i = 0; i < arguments.length; i++)
367
+ ar = ar.concat(__read(arguments[i]));
368
+ return ar;
369
+ }
370
+ /** @deprecated */
371
+ function __spreadArrays() {
372
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
373
+ s += arguments[i].length;
374
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
375
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
376
+ r[k] = a[j];
377
+ return r;
378
+ }
379
+ function __spreadArray(to, from, pack) {
380
+ if (pack || arguments.length === 2)
381
+ for (var i = 0, l = from.length, ar; i < l; i++) {
382
+ if (ar || !(i in from)) {
383
+ if (!ar)
384
+ ar = Array.prototype.slice.call(from, 0, i);
385
+ ar[i] = from[i];
386
+ }
387
+ }
388
+ return to.concat(ar || from);
389
+ }
390
+ function __await(v) {
391
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
392
+ }
393
+ function __asyncGenerator(thisArg, _arguments, generator) {
394
+ if (!Symbol.asyncIterator)
395
+ throw new TypeError("Symbol.asyncIterator is not defined.");
396
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
397
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
398
+ function verb(n) { if (g[n])
399
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
400
+ function resume(n, v) { try {
401
+ step(g[n](v));
402
+ }
403
+ catch (e) {
404
+ settle(q[0][3], e);
405
+ } }
406
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
407
+ function fulfill(value) { resume("next", value); }
408
+ function reject(value) { resume("throw", value); }
409
+ function settle(f, v) { if (f(v), q.shift(), q.length)
410
+ resume(q[0][0], q[0][1]); }
411
+ }
412
+ function __asyncDelegator(o) {
413
+ var i, p;
414
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
415
+ 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; }
416
+ }
417
+ function __asyncValues(o) {
418
+ if (!Symbol.asyncIterator)
419
+ throw new TypeError("Symbol.asyncIterator is not defined.");
420
+ var m = o[Symbol.asyncIterator], i;
421
+ 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);
422
+ 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); }); }; }
423
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
424
+ }
425
+ function __makeTemplateObject(cooked, raw) {
426
+ if (Object.defineProperty) {
427
+ Object.defineProperty(cooked, "raw", { value: raw });
428
+ }
429
+ else {
430
+ cooked.raw = raw;
431
+ }
432
+ return cooked;
433
+ }
434
+ ;
435
+ var __setModuleDefault = Object.create ? (function (o, v) {
436
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
437
+ }) : function (o, v) {
438
+ o["default"] = v;
439
+ };
440
+ function __importStar(mod) {
441
+ if (mod && mod.__esModule)
442
+ return mod;
443
+ var result = {};
444
+ if (mod != null)
445
+ for (var k in mod)
446
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
447
+ __createBinding(result, mod, k);
448
+ __setModuleDefault(result, mod);
449
+ return result;
450
+ }
451
+ function __importDefault(mod) {
452
+ return (mod && mod.__esModule) ? mod : { default: mod };
453
+ }
454
+ function __classPrivateFieldGet(receiver, state, kind, f) {
455
+ if (kind === "a" && !f)
456
+ throw new TypeError("Private accessor was defined without a getter");
457
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
458
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
459
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
460
+ }
461
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
462
+ if (kind === "m")
463
+ throw new TypeError("Private method is not writable");
464
+ if (kind === "a" && !f)
465
+ throw new TypeError("Private accessor was defined without a setter");
466
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
467
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
468
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
469
+ }
336
470
 
337
471
  /**
338
472
  * Given a "url" (could be just querystring, or fully qualified),
@@ -494,21 +628,27 @@
494
628
  get: function () {
495
629
  return this._params;
496
630
  },
497
- enumerable: true,
631
+ enumerable: false,
498
632
  configurable: true
499
633
  });
500
- SkyAppRuntimeConfigParamsProvider.ctorParameters = function () { return [
501
- { type: SkyAppConfigParams, decorators: [{ type: core.Optional }] }
502
- ]; };
503
- SkyAppRuntimeConfigParamsProvider.ɵprov = core.ɵɵdefineInjectable({ factory: function SkyAppRuntimeConfigParamsProvider_Factory() { return new SkyAppRuntimeConfigParamsProvider(core.ɵɵinject(SkyAppConfigParams, 8)); }, token: SkyAppRuntimeConfigParamsProvider, providedIn: "root" });
504
- SkyAppRuntimeConfigParamsProvider = __decorate([
505
- core.Injectable({
506
- providedIn: 'root'
507
- }),
508
- __param(0, core.Optional())
509
- ], SkyAppRuntimeConfigParamsProvider);
510
634
  return SkyAppRuntimeConfigParamsProvider;
511
635
  }());
636
+ SkyAppRuntimeConfigParamsProvider.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppRuntimeConfigParamsProvider, deps: [{ token: SkyAppConfigParams, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
637
+ SkyAppRuntimeConfigParamsProvider.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppRuntimeConfigParamsProvider, providedIn: 'root' });
638
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyAppRuntimeConfigParamsProvider, decorators: [{
639
+ type: i0.Injectable,
640
+ args: [{
641
+ providedIn: 'root'
642
+ }]
643
+ }], ctorParameters: function () {
644
+ return [{ type: SkyAppConfigParams, decorators: [{
645
+ type: i0.Optional
646
+ }] }];
647
+ } });
648
+
649
+ /**
650
+ * Generated bundle index. Do not edit.
651
+ */
512
652
 
513
653
  exports.SkyAppConfig = SkyAppConfig;
514
654
  exports.SkyAppConfigHost = SkyAppConfigHost;