@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,5 +1,6 @@
1
1
  import { SkyAppConfigParams } from './app-config-params';
2
2
  import { SkyAppRuntimeConfigParams } from './params';
3
+ import * as i0 from "@angular/core";
3
4
  /**
4
5
  * Provides methods to interact with runtime config query parameters.
5
6
  * @deprecated Use `SkyAppConfig.runtime.params` instead.
@@ -8,4 +9,6 @@ export declare class SkyAppRuntimeConfigParamsProvider {
8
9
  get params(): SkyAppRuntimeConfigParams;
9
10
  private _params;
10
11
  constructor(configParams?: SkyAppConfigParams);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAppRuntimeConfigParamsProvider, [{ optional: true; }]>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAppRuntimeConfigParamsProvider>;
11
14
  }
File without changes
package/skyux-config.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './public_api';
4
+ /// <amd-module name="@skyux/config" />
5
+ export * from './public-api';
package/CHANGELOG.md DELETED
@@ -1,144 +0,0 @@
1
- # 5.0.0-beta.0 (2021-06-15)
2
-
3
- ### New features
4
-
5
- - Initial beta release.
6
- - Added support for `@angular/core@^12`. [#77](https://github.com/blackbaud/skyux-config/pull/77)
7
- - Deprecated `SkyAppConfigHost`, `SkyAppConfigParams`, `SkyAppConfigModule`, and `SkyAppRuntimeConfigParamsProvider`. [#77](https://github.com/blackbaud/skyux-config/pull/77)
8
-
9
- ### Breaking changes
10
-
11
- - Removed `SkyAppParamsConfig`. Use `SkyAppConfig.skyux.params` instead. [#77](https://github.com/blackbaud/skyux-config/pull/77)
12
-
13
- # 4.4.0 (2021-03-15)
14
-
15
- - Added the `SkyAppConfigParams` injectable to replace (the now deprecated) `SkyAppParamsConfig`. This was done to address a naming convention inconsistency. [#74](https://github.com/blackbaud/skyux-config/pull/74)
16
-
17
- # 4.3.0 (2021-03-08)
18
-
19
- - Added the `SkyAppConfigModule` module to provide `host` and `params` values to the `SkyAppConfigHost` and `SkyAppParamsConfig` providers. [#73](https://github.com/blackbaud/skyux-config/pull/73)
20
-
21
- # 4.2.0 (2020-11-20)
22
-
23
- - Added the `SkyAppRuntimeConfigParamsProvider` to allow consuming applications to access `SkyAppRuntimeConfigParams` in their components and services. [#72](https://github.com/blackbaud/skyux-config/pull/72)
24
-
25
- # 4.1.0 (2020-10-30)
26
-
27
- - Added the optional `dependenciesForTranspilation` property to the schema. [#70](https://github.com/blackbaud/skyux-config/pull/70)
28
-
29
- # 4.0.4 (2020-09-25)
30
-
31
- - Fixed the JSDoc comment for the `SkyAppRuntimeConfigParams.get()` method. [#69](https://github.com/blackbaud/skyux-config/pull/69)
32
-
33
- # 4.0.3 (2020-08-10)
34
-
35
- - Fixed the release to include `skyuxconfig-schema.json`. [#68](https://github.com/blackbaud/skyux-config/pull/68)
36
-
37
- # 4.0.2 (2020-08-05)
38
-
39
- - Added support for `@skyux/theme@4.8.0` and `@skyux-sdk/builder@4.3.0`. [#66](https://github.com/blackbaud/skyux-config/pull/66)
40
-
41
- # 4.0.1 (2020-07-08)
42
-
43
- - Moved `theming` to the `app` section in `skyuxconfig-schema.json` to match the corresponding TypeScript declarations. [#58](https://github.com/blackbaud/skyux-config/pull/58)
44
-
45
- # 4.0.0 (2020-05-11)
46
-
47
- ### New features
48
-
49
- - Added the optional `librarySettings` property to the schema. [#37](https://github.com/blackbaud/skyux-config/pull/37)
50
- - Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#37](https://github.com/blackbaud/skyux-config/pull/37)
51
- - Added the optional `enableIvy` property to the schema to enable Angular's Ivy compiler. [#43](https://github.com/blackbaud/skyux-config/pull/43)
52
-
53
- ### Breaking changes
54
-
55
- - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#37](https://github.com/blackbaud/skyux-config/pull/37)
56
- - Changed the `params` property on the schema to only accept type `object`. The value provided is converted into the `SkyConfigParams` TypeScript type during build time. [#18](https://github.com/blackbaud/skyux-config/pull/18)
57
- - Removed the `omnibar.experimental` property on the schema. To enable the omnibar after this release, provide an empty object `"omnibar": {}`. [#18](https://github.com/blackbaud/skyux-config/pull/18)
58
-
59
- # 4.0.0-rc.3 (2020-04-23)
60
-
61
- - Added bug fixes and features from the `master` branch. [#49](https://github.com/blackbaud/skyux-config/pull/49)
62
-
63
- # 3.9.0 (2020-04-22)
64
-
65
- - Added the `theming` property to `SkyuxConfigApp`. [#46](https://github.com/blackbaud/skyux-config/pull/46)
66
-
67
- # 4.0.0-rc.2 (2020-04-01)
68
-
69
- - Upgraded development dependencies. [#44](https://github.com/blackbaud/skyux-config/pull/44)
70
-
71
- # 4.0.0-rc.1 (2020-02-20)
72
-
73
- ### New features
74
-
75
- - Added the optional `enableIvy` property to the schema to enable Angular's Ivy compiler. [#43](https://github.com/blackbaud/skyux-config/pull/43)
76
-
77
- ### Breaking changes
78
-
79
- - Changed the `params` property on the schema to only accept type `object`. The value provided is converted into the `SkyConfigParams` TypeScript type during build time. [#18](https://github.com/blackbaud/skyux-config/pull/18)
80
- - Removed the `omnibar.experimental` property on the schema. To enable the omnibar after this release, provide an empty object `"omnibar": {}`. [#18](https://github.com/blackbaud/skyux-config/pull/18)
81
-
82
- # 3.8.1 (2020-02-20)
83
-
84
- - Fixed the `help` property in the schema to only accept values of type `object`. [#41](https://github.com/blackbaud/skyux-config/pull/41)
85
- - Fixed a typo in the schema for the `bbCheckout` property. [#40](https://github.com/blackbaud/skyux-config/pull/40)
86
-
87
- # 3.8.0 (2020-02-18)
88
-
89
- - Added the `bbCheckout` and `frameOptions` properties. [#34](https://github.com/blackbaud/skyux-config/pull/34)
90
-
91
- # 4.0.0-rc.0 (2020-02-15)
92
-
93
- ### New features
94
-
95
- - Added the optional `librarySettings` property to the schema. [#37](https://github.com/blackbaud/skyux-config/pull/37)
96
- - Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#37](https://github.com/blackbaud/skyux-config/pull/37)
97
-
98
- ### Breaking changes
99
-
100
- - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#37](https://github.com/blackbaud/skyux-config/pull/37)
101
-
102
- # 3.7.0 (2019-11-19)
103
-
104
- - Replaced all imports from `@angular/http` with `@angular/common/http`. [#30](https://github.com/blackbaud/skyux-config/pull/30)
105
-
106
- # 3.6.0 (2019-09-27)
107
-
108
- - Added optional `base` property to `SkyuxConfigApp`. [#26](https://github.com/blackbaud/skyux-config/pull/26)
109
-
110
- # 3.5.1 (2019-07-01)
111
-
112
- - Added support for `@skyux-sdk/builder@3.7.0` which addressed some security vulnerabilities. [#20](https://github.com/blackbaud/skyux-config/pull/20)
113
-
114
- # 3.5.0 (2019-03-05)
115
-
116
- - Added `moduleAliases` property to schema. [#16](https://github.com/blackbaud/skyux-config/pull/16)
117
-
118
- # 3.4.0 (2019-01-31)
119
-
120
- - Added optional `name` property to `RuntimeConfigApp`. [#15](https://github.com/blackbaud/skyux-config/pull/15)
121
-
122
- # 3.3.0 (2019-01-25)
123
-
124
- - Added `pipelineSettings` property to schema. [#13](https://github.com/blackbaud/skyux-config/pull/13)
125
-
126
- # 3.2.0 (2018-11-15)
127
-
128
- - Updated peer dependencies to support Angular versions greater than `4.3.6`. [#11](https://github.com/blackbaud/skyux-config/pull/11)
129
-
130
- # 3.1.0 (2018-10-17)
131
-
132
- - Added `styles` property to schema. [#8](https://github.com/blackbaud/skyux-config/pull/8)
133
-
134
- # 3.0.0 (2018-09-20)
135
-
136
- - Initial major release.
137
-
138
- # 3.0.0-alpha.1 (2018-09-07)
139
-
140
- - Added configuration schema for better IDE support. [#4](https://github.com/blackbaud/skyux-config/pull/4)
141
-
142
- # 3.0.0-alpha.0 (2018-08-21)
143
-
144
- - Initial release.
@@ -1,16 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common/http")):"function"==typeof define&&define.amd?define("@skyux/config",["exports","@angular/core","@angular/common/http"],t):t(((e=e||self).skyux=e.skyux||{},e.skyux.config={}),e.ng.core,e.ng.common.http)}(this,(function(e,t,r){"use strict";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation. All rights reserved.
4
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5
- this file except in compliance with the License. You may obtain a copy of the
6
- License at http://www.apache.org/licenses/LICENSE-2.0
7
-
8
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11
- MERCHANTABLITY OR NON-INFRINGEMENT.
12
-
13
- See the Apache Version 2.0 License for specific language governing permissions
14
- and limitations under the License.
15
- ***************************************************************************** */var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function i(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var a={frameOptions:{none:!0},url:"https://host.nxt.blackbaud.com/"},u=function(){function e(){}return Object.defineProperty(e.prototype,"host",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.init=function(e){this._host=n(n({},a),e||{})},e=o([t.Injectable()],e)}(),s={envid:{required:!1},leid:{required:!1},svcid:{required:!1}},c=function(){function e(){}return Object.defineProperty(e.prototype,"params",{get:function(){return this._params},enumerable:!0,configurable:!0}),e.prototype.init=function(e){this._params=n(n({},s),e||{})},e=o([t.Injectable()],e)}(),f=function(){function e(){}var r;return r=e,e.forRoot=function(e){return void 0===e&&(e={}),{ngModule:r,providers:[{provide:c,useFactory:function(){var t=new c;return t.init(e.params),t}},{provide:u,useFactory:function(){var t=new u;return t.init(e.host),t}}]}},e=r=o([t.NgModule({})],e)}(),p=function(){},l=function(){function e(){}return e=o([t.Injectable()],e)}();function d(e){var t="";return e.indexOf("?")>-1&&(t=(t=e.split("?")[1]).split("#")[0]),new r.HttpParams({fromString:t})}var h=function(){function e(e,t){var r,n,o=this;this.params={},this.defaultParamValues={},this.requiredParams=[],this.encodedParams=[],this.excludeFromRequestsParams=[];var a=[];try{for(var u=i(Object.keys(t)),s=u.next();!s.done;s=u.next()){var c=s.value,f=t[c];if(f&&(a.push(c),"object"==typeof f)){var p=f.value;f.required&&this.requiredParams.push(c),p&&(this.params[c]=p,this.defaultParamValues[c]=p),f.excludeFromRequests&&this.excludeFromRequestsParams.push(c)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var l=d(e),h=a.map((function(e){return e.toUpperCase()}));Array.from(l.keys()).forEach((function(e){var t=e.toUpperCase();h.forEach((function(r,n){if(t===r){var i=encodeURIComponent(l.get(e));o.params[a[n]]=i,o.encodedParams.push(e)}}))}))}return e.prototype.has=function(e){return this.params&&this.params.hasOwnProperty(e)},e.prototype.hasAllRequiredParams=function(){var e=this;return 0===this.requiredParams.length||this.requiredParams.every((function(t){return void 0!==e.params[t]}))},e.prototype.isRequired=function(e){return this.requiredParams.indexOf(e)>=0},e.prototype.get=function(e){if(this.has(e))return decodeURIComponent(this.params[e])},e.prototype.getAll=function(e){var t=this,r={};return this.getAllKeys().forEach((function(n){e&&t.params[n]===t.defaultParamValues[n]||(r[n]=t.params[n])})),r},e.prototype.getAllKeys=function(){return Object.keys(this.params)},e.prototype.getUrl=function(e){var t=this,r=d(e),n=-1===e.indexOf("?")?"?":"&",o=[];return this.getAllKeys().forEach((function(e){-1!==t.excludeFromRequestsParams.indexOf(e)||r.has(e)||o.push(e+"="+encodeURIComponent(t.get(e)))})),0===o.length?e:""+e+n+o.join("&")},e}(),m=function(){function e(e){this._params=new h(window.location.href,(null==e?void 0:e.params)||{})}var r,n;return Object.defineProperty(e.prototype,"params",{get:function(){return this._params},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:c,decorators:[{type:t.Optional}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(c,8))},token:e,providedIn:"root"}),e=o([t.Injectable({providedIn:"root"}),(r=0,n=t.Optional(),function(e,t){n(e,t,r)})],e)}();e.SkyAppConfig=l,e.SkyAppConfigHost=u,e.SkyAppConfigModule=f,e.SkyAppConfigParams=c,e.SkyAppRuntimeConfigParams=h,e.SkyAppRuntimeConfigParamsProvider=m,e.SkyuxPactConfig=p,Object.defineProperty(e,"__esModule",{value:!0})}));
16
- //# sourceMappingURL=skyux-config.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@skyux/config/app-config-host.ts","ng://@skyux/config/app-config-params.ts","ng://@skyux/config/app-config.module.ts","ng://@skyux/config/config.ts","ng://@skyux/config/params.ts","ng://@skyux/config/params-provider.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__values","o","Symbol","iterator","m","next","value","done","TypeError","DEFAULTS","frameOptions","none","url","SkyAppConfigHost","_host","init","config","Injectable","envid","required","leid","svcid","SkyAppConfigParams","_params","params","SkyAppConfigModule","forRoot","ngModule","SkyAppConfigModule_1","providers","provide","useFactory","appConfigParams","appConfigHost","host","NgModule","SkyAppConfig","getUrlSearchParams","qs","indexOf","split","HttpParams","fromString","SkyAppRuntimeConfigParams","configParams","_this","defaultParamValues","requiredParams","encodedParams","excludeFromRequestsParams","allowed","_b","keys","_c","paramName","configParam","push","paramValue","excludeFromRequests","httpParams","allowedKeysUC","map","toUpperCase","Array","from","forEach","givenKey","givenKeyUC","allowedKeyUC","index","encodeURIComponent","get","has","hasAllRequiredParams","every","param","undefined","isRequired","decodeURIComponent","getAll","excludeDefaults","filteredParams","getAllKeys","getUrl","delimiter","joined","join","SkyAppRuntimeConfigParamsProvider","window","location","href","paramIndex","decorator","type","Optional","providedIn"],"mappings":";;;;;;;;;;;;;;oFA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAAMP,YAezB,SAASQ,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAId,UAAUC,OAAQc,EAAID,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOlB,OAAOsB,yBAAyBN,EAAQC,GAAOC,EACrH,GAAuB,iBAAZK,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAAST,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAId,EAAIW,EAAWR,OAAS,EAAGH,GAAK,EAAGA,KAASe,EAAIJ,EAAWX,MAAIiB,GAAKD,EAAI,EAAID,EAAEE,GAAKD,EAAI,EAAID,EAAEH,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B,SAAQ,SAAA1E,IAE2B,IAAjDsD,EAAKI,0BAA0BV,QAAQhD,IACtCoE,EAAWa,IAAIjF,IAEhB8F,EAAO7B,KAAQjE,EAAG,IAAI+E,mBAAmBzB,EAAK0B,IAAIhF,QAI7B,IAAlB8F,EAAOxG,OAAe+B,EAAM,GAAGA,EAAMwE,EAAYC,EAAOC,KAAK,MAExE3C,kBCnJE,SAAA4C,EACc3C,GAEZzD,KAAKoC,QAAU,IAAIoB,EACjB6C,OAAOC,SAASC,MAChB9C,MAAAA,OAAY,EAAZA,EAAcpB,SAAU,IN0BvB,IAAiBmE,EAAYC,SMrClCtH,OAAAyB,eAAWwF,EAAAxG,UAAA,SAAM,KAAjB,WACE,OAAOI,KAAKoC,kFAMeD,EAAkBjC,WAAA,CAAA,CAAAwG,KAA5CC,EAAAA,0HATQP,EAAiCnG,EAAA,CAH7C6B,EAAAA,WAAW,CACV8E,WAAY,UNyCUJ,EM9BnB,EN8B+BC,EM9B/BE,EAAAA,WN+BM,SAAUxG,EAAQC,GAAOqG,EAAUtG,EAAQC,EAAKoG,MMxC9CJ","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n 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); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyuxConfigHost\n} from './config';\n\nconst DEFAULTS: SkyuxConfigHost = {\n frameOptions: {\n none: true\n },\n url: 'https://host.nxt.blackbaud.com/'\n};\n\n/**\n * Provides host configuration to components and applications.\n * @deprecated Use `SkyAppConfig.skyux.host` instead.\n */\n@Injectable()\nexport class SkyAppConfigHost {\n\n public get host(): SkyuxConfigHost {\n return this._host;\n }\n\n private _host: SkyuxConfigHost;\n\n public init(config?: SkyuxConfigHost): void {\n this._host = {\n ...DEFAULTS,\n ...config || {}\n };\n }\n}\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyuxConfigParams\n} from './config-params';\n\nconst DEFAULTS = {\n params: {\n envid: {\n required: false\n },\n leid: {\n required: false\n },\n svcid: {\n required: false\n }\n }\n};\n\n/**\n * @deprecated Use `SkyAppConfig.skyux.params` instead.\n */\n@Injectable()\nexport class SkyAppConfigParams {\n\n public get params(): SkyuxConfigParams {\n return this._params;\n }\n\n private _params: SkyuxConfigParams;\n\n public init(\n params?: SkyuxConfigParams\n ): void {\n this._params = {\n ...DEFAULTS.params,\n ...params || {}\n };\n }\n\n}\n","import {\n ModuleWithProviders,\n NgModule\n} from '@angular/core';\n\nimport {\n SkyAppConfigModuleForRootArgs\n} from './app-config-module-for-root-args';\n\nimport {\n SkyAppConfigHost\n} from './app-config-host';\n\nimport {\n SkyAppConfigParams\n} from './app-config-params';\n\n/**\n * @deprecated Provide `SkyAppConfig` at the root instead.\n */\n@NgModule({})\nexport class SkyAppConfigModule {\n\n public static forRoot(\n config: SkyAppConfigModuleForRootArgs = {}\n ): ModuleWithProviders<SkyAppConfigModule> {\n\n return {\n ngModule: SkyAppConfigModule,\n providers: [\n {\n provide: SkyAppConfigParams,\n useFactory() {\n const appConfigParams = new SkyAppConfigParams();\n appConfigParams.init(config.params);\n return appConfigParams;\n }\n },\n {\n provide: SkyAppConfigHost,\n useFactory() {\n const appConfigHost = new SkyAppConfigHost();\n appConfigHost.init(config.host);\n return appConfigHost;\n }\n }\n ]\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { SkyAppRuntimeConfigParams } from './params';\nimport { SkyuxConfigParams } from './config-params';\n\nexport interface RuntimeConfigApp {\n base: string;\n inject: boolean;\n name?: string;\n template: string;\n}\n\nexport class SkyuxPactConfig {\n public providers?: {\n [provider: string]: {\n host?: string;\n port?: string;\n fullUrl?: string;\n }\n };\n public pactProxyServer?: string;\n}\n\nexport interface SkyuxConfigE2ETestSettings {\n browserSet?: 'speedy';\n}\n\nexport interface SkyuxConfigUnitTestSettings {\n browserSet?: 'speedy' | 'quirky' | 'paranoid';\n}\n\nexport interface SkyuxConfigTestSettings {\n e2e?: SkyuxConfigE2ETestSettings;\n unit?: SkyuxConfigUnitTestSettings;\n}\n\nexport interface SkyuxConfigLibrarySettings {\n whitelistedNonPeerDependencies?: string[];\n}\n\nexport interface RuntimeConfig {\n app: RuntimeConfigApp;\n command?: string; // Dynamically added in \"higher up\" webpacks\n componentsPattern: string;\n componentsIgnorePattern: string;\n handle404?: boolean; // Dynamically added in sky-pages-module-generator.js\n includeRouteModule: boolean;\n pactConfig?: SkyuxPactConfig;\n params: SkyAppRuntimeConfigParams;\n routes?: Object[]; // Dynamically added in sky-pages-module-generator.js\n routesPattern: string;\n runtimeAlias: string;\n spaPathAlias: string;\n skyPagesOutAlias: string;\n skyuxPathAlias: string;\n srcPath: string;\n useTemplateUrl: boolean;\n}\n\nexport interface SkyuxConfigA11y {\n rules?: any;\n}\n\nexport type SkyuxConfigAppSupportedTheme = 'default' | 'modern';\n\nexport interface SkyuxConfigAppTheming {\n supportedThemes: SkyuxConfigAppSupportedTheme[];\n theme: SkyuxConfigAppSupportedTheme;\n}\n\nexport interface SkyuxConfigApp {\n base?: string;\n externals?: Object;\n port?: string;\n styles?: string[];\n theming?: SkyuxConfigAppTheming;\n title?: string;\n}\n\nexport interface SkyuxConfigHostBBCheckout {\n version: '2';\n}\n\nexport interface SkyuxConfigHostFrameOptionsNone {\n blackbaud?: false;\n none: true;\n self?: false;\n urls?: [];\n}\n\nexport interface SkyuxConfigHostFrameOptionsOthers {\n blackbaud?: boolean;\n none?: false;\n self?: boolean;\n urls?: string[];\n}\n\n/**\n * Blackbaud Only - Specifies configuration options for communication with SKY UX Host.\n */\nexport interface SkyuxConfigHost {\n bbCheckout?: SkyuxConfigHostBBCheckout;\n frameOptions?: SkyuxConfigHostFrameOptionsNone | SkyuxConfigHostFrameOptionsOthers;\n url?: string;\n}\n\nexport interface SkyuxConfig {\n $schema?: string;\n a11y?: SkyuxConfigA11y | boolean;\n app?: SkyuxConfigApp;\n appSettings?: any;\n auth?: boolean;\n codeCoverageThreshold?: 'none' | 'standard' | 'strict';\n command?: string;\n compileMode?: string;\n cssPath?: string;\n dependenciesForTranspilation?: string[];\n enableIvy?: boolean;\n help?: any;\n host?: SkyuxConfigHost;\n importPath?: string;\n librarySettings?: SkyuxConfigLibrarySettings;\n mode?: string;\n moduleAliases?: {[key: string]: string};\n name?: string;\n pacts?: any[];\n params?: SkyuxConfigParams; // List of allowed params\n pipelineSettings?: any;\n plugins?: string[];\n redirects?: any;\n routes?: {\n public?: any[],\n referenced?: any[]\n };\n testSettings?: SkyuxConfigTestSettings;\n omnibar?: any;\n useHashRouting?: boolean;\n skyuxModules?: string[];\n}\n\n@Injectable()\nexport class SkyAppConfig {\n\n // Any properties dynamically added via code\n public runtime: RuntimeConfig;\n\n // Any properties defined in or inherited from skyuxconfig.json / skyuxconfig.command.json\n public skyux: SkyuxConfig;\n\n}\n","import {\n HttpParams\n} from '@angular/common/http';\n\nimport {\n SkyuxConfigParams\n} from './config-params';\n\n/**\n * Given a \"url\" (could be just querystring, or fully qualified),\n * Returns the extracted HttpParams.\n */\nfunction getUrlSearchParams(url: string): HttpParams {\n\n let qs = '';\n\n if (url.indexOf('?') > -1) {\n qs = url.split('?')[1];\n qs = qs.split('#')[0];\n }\n\n return new HttpParams({\n fromString: qs\n });\n}\n\nexport class SkyAppRuntimeConfigParams {\n\n private params: { [key: string]: string } = {};\n\n private defaultParamValues: { [key: string]: string } = {};\n\n private requiredParams: string[] = [];\n\n private encodedParams: string[] = [];\n\n private excludeFromRequestsParams: string[] = [];\n\n constructor(\n url: string,\n configParams: SkyuxConfigParams\n ) {\n const allowed: string[] = [];\n\n for (const paramName of Object.keys(configParams)) {\n const configParam = configParams[paramName];\n\n // The config param could be present but be set to false/undefined indicating\n // an override of the default parameter.\n if (configParam) {\n allowed.push(paramName);\n\n // A boolean value may be present to simply indicate that a parameter is allowed.\n // If the type is object, look for additional config properties.\n if (typeof configParam === 'object') {\n const paramValue = configParam.value;\n\n if (configParam.required) {\n this.requiredParams.push(paramName);\n }\n\n if (paramValue) {\n this.params[paramName] = paramValue;\n this.defaultParamValues[paramName] = paramValue;\n }\n\n if (configParam.excludeFromRequests) {\n this.excludeFromRequestsParams.push(paramName);\n }\n }\n }\n }\n\n const httpParams = getUrlSearchParams(url);\n\n // Get uppercase keys.\n const allowedKeysUC = allowed.map(key => key.toUpperCase());\n const urlSearchParamKeys = Array.from(httpParams.keys());\n\n // Filter to allowed params and override default values.\n urlSearchParamKeys.forEach(givenKey => {\n const givenKeyUC = givenKey.toUpperCase();\n allowedKeysUC.forEach((allowedKeyUC, index) => {\n if (givenKeyUC === allowedKeyUC) {\n // To avoid breaking changes, we must encode the parameter value since\n // this was the default behavior of the previously used UrlSearchParams utility.\n // TODO: Remove encoding in favor of HttpParams' default behavior.\n const value = encodeURIComponent(httpParams.get(givenKey));\n\n this.params[allowed[index]] = value;\n this.encodedParams.push(givenKey);\n }\n });\n });\n }\n\n /**\n * Does the key exist\n */\n public has(key: string): boolean {\n return this.params && this.params.hasOwnProperty(key);\n }\n\n /**\n * Are all the required params defined?\n */\n public hasAllRequiredParams(): boolean {\n if (this.requiredParams.length === 0) {\n return true;\n }\n\n return this.requiredParams.every((param: string) => {\n return this.params[param] !== undefined;\n });\n }\n\n /**\n * Returns a flag indicating whether a parameter is required.\n */\n public isRequired(key: string): boolean {\n return this.requiredParams.indexOf(key) >= 0;\n }\n\n /**\n * Returns the decoded value of the requested param.\n * @param key The parameter's key.\n */\n public get(key: string): string {\n if (this.has(key)) {\n return decodeURIComponent(this.params[key]);\n }\n }\n\n /**\n * Returns the params object.\n * @param excludeDefaults Exclude params that have default values\n */\n public getAll(excludeDefaults?: boolean): Object {\n const filteredParams: { [key: string]: string} = {};\n\n this.getAllKeys().forEach(key => {\n if (!excludeDefaults || this.params[key] !== this.defaultParamValues[key]) {\n filteredParams[key] = this.params[key];\n }\n });\n\n return filteredParams;\n }\n\n /**\n * Returns all keys for current params.\n */\n public getAllKeys(): string[] {\n return Object.keys(this.params);\n }\n\n /**\n * Adds the current params to the supplied url.\n */\n public getUrl(url: string): string {\n const httpParams = getUrlSearchParams(url);\n const delimiter = url.indexOf('?') === -1 ? '?' : '&';\n const joined: string[] = [];\n\n this.getAllKeys().forEach(key => {\n if (\n this.excludeFromRequestsParams.indexOf(key) === -1 &&\n !httpParams.has(key)\n ) {\n joined.push(`${key}=${encodeURIComponent(this.get(key))}`);\n }\n });\n\n return joined.length === 0 ? url : `${url}${delimiter}${joined.join('&')}`;\n }\n}\n","import {\n Injectable,\n Optional\n} from '@angular/core';\n\nimport {\n SkyAppConfigParams\n} from './app-config-params';\n\nimport {\n SkyAppRuntimeConfigParams\n} from './params';\n\n/**\n * Provides methods to interact with runtime config query parameters.\n * @deprecated Use `SkyAppConfig.runtime.params` instead.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyAppRuntimeConfigParamsProvider {\n\n public get params(): SkyAppRuntimeConfigParams {\n return this._params;\n }\n\n private _params: SkyAppRuntimeConfigParams;\n\n constructor(\n @Optional() configParams?: SkyAppConfigParams\n ) {\n this._params = new SkyAppRuntimeConfigParams(\n window.location.href,\n configParams?.params || {}\n );\n }\n\n}\n"]}
@@ -1,7 +0,0 @@
1
- export * from './app-config-host';
2
- export * from './app-config-params';
3
- export * from './app-config.module';
4
- export * from './config';
5
- export * from './params-provider';
6
- export * from './params';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bza3l1eC9jb25maWcvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxxQkFBcUIsQ0FBQztBQUVwQyxjQUFjLHFCQUFxQixDQUFDO0FBR3BDLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcC1jb25maWctaG9zdCc7XG5leHBvcnQgKiBmcm9tICcuL2FwcC1jb25maWctcGFyYW1zJztcbmV4cG9ydCAqIGZyb20gJy4vYXBwLWNvbmZpZy1tb2R1bGUtZm9yLXJvb3QtYXJncyc7XG5leHBvcnQgKiBmcm9tICcuL2FwcC1jb25maWcubW9kdWxlJztcblxuZXhwb3J0ICogZnJvbSAnLi9jb25maWctcGFyYW1zJztcbmV4cG9ydCAqIGZyb20gJy4vY29uZmlnJztcblxuZXhwb3J0ICogZnJvbSAnLi9wYXJhbXMtcHJvdmlkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wYXJhbXMnO1xuIl19
@@ -1,32 +0,0 @@
1
- import { __assign, __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- var DEFAULTS = {
4
- frameOptions: {
5
- none: true
6
- },
7
- url: 'https://host.nxt.blackbaud.com/'
8
- };
9
- /**
10
- * Provides host configuration to components and applications.
11
- * @deprecated Use `SkyAppConfig.skyux.host` instead.
12
- */
13
- var SkyAppConfigHost = /** @class */ (function () {
14
- function SkyAppConfigHost() {
15
- }
16
- Object.defineProperty(SkyAppConfigHost.prototype, "host", {
17
- get: function () {
18
- return this._host;
19
- },
20
- enumerable: true,
21
- configurable: true
22
- });
23
- SkyAppConfigHost.prototype.init = function (config) {
24
- this._host = __assign(__assign({}, DEFAULTS), config || {});
25
- };
26
- SkyAppConfigHost = __decorate([
27
- Injectable()
28
- ], SkyAppConfigHost);
29
- return SkyAppConfigHost;
30
- }());
31
- export { SkyAppConfigHost };
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWNvbmZpZy1ob3N0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNreXV4L2NvbmZpZy8iLCJzb3VyY2VzIjpbImFwcC1jb25maWctaG9zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNMLFVBQVUsRUFDWCxNQUFNLGVBQWUsQ0FBQztBQU12QixJQUFNLFFBQVEsR0FBb0I7SUFDaEMsWUFBWSxFQUFFO1FBQ1osSUFBSSxFQUFFLElBQUk7S0FDWDtJQUNELEdBQUcsRUFBRSxpQ0FBaUM7Q0FDdkMsQ0FBQztBQUVGOzs7R0FHRztBQUVIO0lBQUE7SUFjQSxDQUFDO0lBWkMsc0JBQVcsa0NBQUk7YUFBZjtZQUNFLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztRQUNwQixDQUFDOzs7T0FBQTtJQUlNLCtCQUFJLEdBQVgsVUFBW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IHt9XG4gICAgfTtcbiAgfVxufVxuIl19
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWNvbmZpZy1tb2R1bGUtZm9yLXJvb3QtYXJncy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bza3l1eC9jb25maWcvIiwic291cmNlcyI6WyJhcHAtY29uZmlnLW1vZHVsZS1mb3Itcm9vdC1hcmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBTa3l1eENvbmZpZ0hvc3Rcbn0gZnJvbSAnLi9jb25maWcnO1xuXG5pbXBvcnQge1xuICBTa3l1eENvbmZpZ1BhcmFtc1xufSBmcm9tICcuL2NvbmZpZy1wYXJhbXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNreUFwcENvbmZpZ01vZHVsZUZvclJvb3RBcmdzIHtcblxuICBob3N0PzogU2t5dXhDb25maWdIb3N0O1xuXG4gIHBhcmFtcz86IFNreXV4Q29uZmlnUGFyYW1zO1xuXG59XG4iXX0=
@@ -1,38 +0,0 @@
1
- import { __assign, __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- var DEFAULTS = {
4
- params: {
5
- envid: {
6
- required: false
7
- },
8
- leid: {
9
- required: false
10
- },
11
- svcid: {
12
- required: false
13
- }
14
- }
15
- };
16
- /**
17
- * @deprecated Use `SkyAppConfig.skyux.params` instead.
18
- */
19
- var SkyAppConfigParams = /** @class */ (function () {
20
- function SkyAppConfigParams() {
21
- }
22
- Object.defineProperty(SkyAppConfigParams.prototype, "params", {
23
- get: function () {
24
- return this._params;
25
- },
26
- enumerable: true,
27
- configurable: true
28
- });
29
- SkyAppConfigParams.prototype.init = function (params) {
30
- this._params = __assign(__assign({}, DEFAULTS.params), params || {});
31
- };
32
- SkyAppConfigParams = __decorate([
33
- Injectable()
34
- ], SkyAppConfigParams);
35
- return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25maWdQYXJhbXNcbn0gZnJvbSAnLi9jb25maWctcGFyYW1zJztcblxuY29uc3QgREVGQVVMVFMgPSB7XG4gIHBhcmFtczoge1xuICAgIGVudmlkOiB7XG4gICAgICByZXF1aXJlZDogZmFsc2VcbiAgICB9LFxuICAgIGxlaWQ6IHtcbiAgICAgIHJlcXVpcmVkOiBmYWxzZVxuICAgIH0sXG4gICAgc3ZjaWQ6IHtcbiAgICAgIHJlcXVpcmVkOiBmYWxzZVxuICAgIH1cbiAgfVxufTtcblxuLyoqXG4gKiBAZGVwcmVjYXRlZCBVc2UgYFNreUFwcENvbmZpZy5za3l1eC5wYXJhbXNgIGluc3RlYWQuXG4gKi9cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBTa3lBcHBDb25maWdQYXJhbXMge1xuXG4gIHB1YmxpYyBnZXQgcGFyYW1zKCk6IFNreXV4Q29uZmlnUGFyYW1zIHtcbiAgICByZXR1cm4gdGhpcy5fcGFyYW1zO1xuICB9XG5cbiAgcHJpdmF0ZSBfcGFyYW1zOiBTa3l1eENvbmZpZ1BhcmFtcztcblxuICBwdWJsaWMgaW5pdChcbiAgICBwYXJhbXM/OiBTa3l1eENvbmZpZ1BhcmFtc1xuICApOiB2b2lkIHtcbiAgICB0aGlzLl9wYXJhbXMgPSB7XG4gICAgICAuLi5ERUZBVUxUUy5wYXJhbXMsXG4gICAgICAuLi5wYXJhbXMgfHwge31cbiAgICB9O1xuICB9XG5cbn1cbiJdfQ==
@@ -1,43 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { SkyAppConfigHost } from './app-config-host';
4
- import { SkyAppConfigParams } from './app-config-params';
5
- /**
6
- * @deprecated Provide `SkyAppConfig` at the root instead.
7
- */
8
- var SkyAppConfigModule = /** @class */ (function () {
9
- function SkyAppConfigModule() {
10
- }
11
- SkyAppConfigModule_1 = SkyAppConfigModule;
12
- SkyAppConfigModule.forRoot = function (config) {
13
- if (config === void 0) { config = {}; }
14
- return {
15
- ngModule: SkyAppConfigModule_1,
16
- providers: [
17
- {
18
- provide: SkyAppConfigParams,
19
- useFactory: function () {
20
- var appConfigParams = new SkyAppConfigParams();
21
- appConfigParams.init(config.params);
22
- return appConfigParams;
23
- }
24
- },
25
- {
26
- provide: SkyAppConfigHost,
27
- useFactory: function () {
28
- var appConfigHost = new SkyAppConfigHost();
29
- appConfigHost.init(config.host);
30
- return appConfigHost;
31
- }
32
- }
33
- ]
34
- };
35
- };
36
- var SkyAppConfigModule_1;
37
- SkyAppConfigModule = SkyAppConfigModule_1 = __decorate([
38
- NgModule({})
39
- ], SkyAppConfigModule);
40
- return SkyAppConfigModule;
41
- }());
42
- export { SkyAppConfigModule };
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWNvbmZpZy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2t5dXgvY29uZmlnLyIsInNvdXJjZXMiOlsiYXBwLWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFFTCxRQUFRLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFNdkIsT0FBTyxFQUNMLGdCQUFnQixFQUNqQixNQUFNLG1CQUFtQixDQUFDO0FBRTNCLE9BQU8sRUFDTCxrQkFBa0IsRUFDbkIsTUFBTSxxQkFBcUIsQ0FBQztBQUU3Qjs7R0FFRztBQUVIO0lBQUE7SUE0QkEsQ0FBQzsyQkE1Qlksa0JBQWtCO0lBRWYsMEJBQU8sR0FBckIsVUFDRSxNQUEwQztRQUExQyx1QkFBQSxFQUFBLFdBQTBDO1FBRzFDLE9BQU87WUFDTCxRQUFRLEVBQUUsb0JBQWtCO1lBQzVCLFNBQVMsRUFBRTtnQkFDVDtvQkFDRSxPQUFPLEVBQUUsa0JBQWtCO29CQUMzQixVQUFVO3dCQUNSLElBQU0sZUFBZSxHQUFHLElBQUksa0J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Ht9KVxuZXhwb3J0IGNsYXNzIFNreUFwcENvbmZpZ01vZHVsZSB7XG5cbiAgcHVibGljIHN0YXRpYyBmb3JSb290KFxuICAgIGNvbmZpZzogU2t5QXBwQ29uZmlnTW9kdWxlRm9yUm9vdEFyZ3MgPSB7fVxuICApOiBNb2R1bGVXaXRoUHJvdmlkZXJzPFNreUFwcENvbmZpZ01vZHVsZT4ge1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBTa3lBcHBDb25maWdNb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFNreUFwcENvbmZpZ1BhcmFtcyxcbiAgICAgICAgICB1c2VGYWN0b3J5KCkge1xuICAgICAgICAgICAgY29uc3QgYXBwQ29uZmlnUGFyYW1zID0gbmV3IFNreUFwcENvbmZpZ1BhcmFtcygpO1xuICAgICAgICAgICAgYXBwQ29uZmlnUGFyYW1zLmluaXQoY29uZmlnLnBhcmFtcyk7XG4gICAgICAgICAgICByZXR1cm4gYXBwQ29uZmlnUGFyYW1zO1xuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFNreUFwcENvbmZpZ0hvc3QsXG4gICAgICAgICAgdXNlRmFjdG9yeSgpIHtcbiAgICAgICAgICAgIGNvbnN0IGFwcENvbmZpZ0hvc3QgPSBuZXcgU2t5QXBwQ29uZmlnSG9zdCgpO1xuICAgICAgICAgICAgYXBwQ29uZmlnSG9zdC5pbml0KGNvbmZpZy5ob3N0KTtcbiAgICAgICAgICAgIHJldHVybiBhcHBDb25maWdIb3N0O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLXBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bza3l1eC9jb25maWcvIiwic291cmNlcyI6WyJjb25maWctcGFyYW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNwZWNpZmllcyBhIGxpc3Qgb2YgcGFyYW1ldGVycyB0aGF0IGFyZSBhbGxvd2VkIGF0IHJ1bnRpbWUuXG4gKi9cbmV4cG9ydCB0eXBlIFNreXV4Q29uZmlnUGFyYW1zID0ge1xuICBba2V5OiBzdHJpbmddOiBib29sZWFuIHwge1xuICAgIHZhbHVlPzogYW55O1xuICAgIHJlcXVpcmVkPzogYm9vbGVhbjtcbiAgICBleGNsdWRlRnJvbVJlcXVlc3RzPzogYm9vbGVhbjtcbiAgfVxufTtcbiJdfQ==
package/esm5/config.js DELETED
@@ -1,18 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Injectable } from '@angular/core';
3
- var SkyuxPactConfig = /** @class */ (function () {
4
- function SkyuxPactConfig() {
5
- }
6
- return SkyuxPactConfig;
7
- }());
8
- export { SkyuxPactConfig };
9
- var SkyAppConfig = /** @class */ (function () {
10
- function SkyAppConfig() {
11
- }
12
- SkyAppConfig = __decorate([
13
- Injectable()
14
- ], SkyAppConfig);
15
- return SkyAppConfig;
16
- }());
17
- export { SkyAppConfig };
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNreXV4L2NvbmZpZy8iLCJzb3VyY2VzIjpbImNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQVczQztJQUFBO0lBU0EsQ0FBQztJQUFELHNCQUFDO0FBQUQsQ0FBQyxBQVRELElBU0M7O0FBd0hEO0lBQUE7SUFRQSxDQUFDO0lBUlksWUFBWTtRQUR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mFtczsgLy8gTGlzdCBvZiBhbGxvd2VkIHBhcmFtc1xuICBwaXBlbGluZVNldHRpbmdzPzogYW55O1xuICBwbHVnaW5zPzogc3RyaW5nW107XG4gIHJlZGlyZWN0cz86IGFueTtcbiAgcm91dGVzPzoge1xuICAgIHB1YmxpYz86IGFueVtdLFxuICAgIHJlZmVyZW5jZWQ/OiBhbnlbXVxuICB9O1xuICB0ZXN0U2V0dGluZ3M/OiBTa3l1eENvbmZpZ1Rlc3RTZXR0aW5ncztcbiAgb21uaWJhcj86IGFueTtcbiAgdXNlSGFzaFJvdXRpbmc/OiBib29sZWFuO1xuICBza3l1eE1vZHVsZXM/OiBzdHJpbmdbXTtcbn1cblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIFNreUFwcENvbmZpZyB7XG5cbiAgLy8gQW55IHByb3BlcnRpZXMgZHluYW1pY2FsbHkgYWRkZWQgdmlhIGNvZGVcbiAgcHVibGljIHJ1bnRpbWU6IFJ1bnRpbWVDb25maWc7XG5cbiAgLy8gQW55IHByb3BlcnRpZXMgZGVmaW5lZCBpbiBvciBpbmhlcml0ZWQgZnJvbSBza3l1eGNvbmZpZy5qc29uIC8gc2t5dXhjb25maWcuY29tbWFuZC5qc29uXG4gIHB1YmxpYyBza3l1eDogU2t5dXhDb25maWc7XG5cbn1cbiJdfQ==
@@ -1,35 +0,0 @@
1
- import { __decorate, __param } from "tslib";
2
- import { Injectable, Optional } from '@angular/core';
3
- import { SkyAppConfigParams } from './app-config-params';
4
- import { SkyAppRuntimeConfigParams } from './params';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./app-config-params";
7
- /**
8
- * Provides methods to interact with runtime config query parameters.
9
- * @deprecated Use `SkyAppConfig.runtime.params` instead.
10
- */
11
- var SkyAppRuntimeConfigParamsProvider = /** @class */ (function () {
12
- function SkyAppRuntimeConfigParamsProvider(configParams) {
13
- this._params = new SkyAppRuntimeConfigParams(window.location.href, (configParams === null || configParams === void 0 ? void 0 : configParams.params) || {});
14
- }
15
- Object.defineProperty(SkyAppRuntimeConfigParamsProvider.prototype, "params", {
16
- get: function () {
17
- return this._params;
18
- },
19
- enumerable: true,
20
- configurable: true
21
- });
22
- SkyAppRuntimeConfigParamsProvider.ctorParameters = function () { return [
23
- { type: SkyAppConfigParams, decorators: [{ type: Optional }] }
24
- ]; };
25
- SkyAppRuntimeConfigParamsProvider.ɵprov = i0.ɵɵdefineInjectable({ factory: function SkyAppRuntimeConfigParamsProvider_Factory() { return new SkyAppRuntimeConfigParamsProvider(i0.ɵɵinject(i1.SkyAppConfigParams, 8)); }, token: SkyAppRuntimeConfigParamsProvider, providedIn: "root" });
26
- SkyAppRuntimeConfigParamsProvider = __decorate([
27
- Injectable({
28
- providedIn: 'root'
29
- }),
30
- __param(0, Optional())
31
- ], SkyAppRuntimeConfigParamsProvider);
32
- return SkyAppRuntimeConfigParamsProvider;
33
- }());
34
- export { SkyAppRuntimeConfigParamsProvider };
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYW1zLXByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNreXV4L2NvbmZpZy8iLCJzb3VyY2VzIjpbInBhcmFtcy1wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNMLFVBQVUsRUFDVixRQUFRLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUNMLGtCQUFrQixFQUNuQixNQUFNLHFCQUFxQixDQUFDO0FBRTdCLE9BQU8sRUFDTCx5QkFBeUIsRUFDMUIsTUFBTSxVQUFVLENBQUM7OztBQUVsQjs7O0dBR0c7QUFJSDtJQVFFLDJDQUNjLFlBQWlDO1FBRTdDLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSx5QkFBeUIsQ0FDMUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxJQUFJLEVBQ3BCLENBQUEsWUFBW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