@transcommerce/cwm-shared 1.1.37 → 1.1.41

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.
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Injectable, Pipe, NgModule } from '@angular/core';
2
+ import { Component, Injectable, Pipe, NgModule, Inject } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
4
  import * as i2 from '@angular/forms';
5
5
  import { FormsModule } from '@angular/forms';
6
6
  import { InteractionType, PublicClientApplication, LogLevel } from '@azure/msal-browser';
7
7
  import * as i2$1 from '@angular/common/http';
8
8
  import { HttpResponseBase, HttpResponse, HttpErrorResponse, HttpHeaders, HttpStatusCode } from '@angular/common/http';
9
- import { CommonModule } from '@angular/common';
9
+ import { CommonModule, DOCUMENT } from '@angular/common';
10
10
  export * from '@angular/common';
11
11
  import { MsalModule } from '@azure/msal-angular';
12
12
  export * from '@azure/msal-angular';
@@ -47,8 +47,8 @@ class ExternalNavigationComponent {
47
47
  this.navigateToExternalUrl();
48
48
  }
49
49
  }
50
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExternalNavigationComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
51
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ExternalNavigationComponent, isStandalone: false, selector: "cwm-external-navigation", ngImport: i0, template: `<div class="container">
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ExternalNavigationComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ExternalNavigationComponent, isStandalone: false, selector: "cwm-external-navigation", ngImport: i0, template: `<div class="container">
52
52
  <h3>Enter the destination route, URL, or Href you want and press the button that uses the navigation method of your choosing:</h3>
53
53
  <input id="txtRoute" type="text" [(ngModel)]="route" placeholder="Enter the destination route, URL, or Href..."
54
54
  (keydown)="onKeyPress($event)"/>
@@ -59,7 +59,7 @@ class ExternalNavigationComponent {
59
59
  <button (click)="navigateToExternalHref()">Navigate to external Href</button>
60
60
  </div>`, isInline: true, dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExternalNavigationComponent, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ExternalNavigationComponent, decorators: [{
63
63
  type: Component,
64
64
  args: [{
65
65
  selector: 'cwm-external-navigation',
@@ -96,19 +96,19 @@ class NavigateToRouteComponent {
96
96
  this.navigateToRoute();
97
97
  }
98
98
  }
99
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: NavigateToRouteComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
100
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: NavigateToRouteComponent, isStandalone: false, selector: "cwm-navigate-to-route", ngImport: i0, template: "<div class=\"container\">\n <h2>Enter the route you want to navigate to:</h2>\n <input id=\"txtRoute\" type=\"text\" [(ngModel)]=\"route\" placeholder=\"Enter Route...\"\n (keydown)=\"onKeyPress($event)\"/>\n <button (click)=\"navigateToRoute()\">Navigate</button>\n</div>\n``\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigateToRouteComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
100
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: NavigateToRouteComponent, isStandalone: false, selector: "cwm-navigate-to-route", ngImport: i0, template: "<div class=\"container\">\n <h2>Enter the route you want to navigate to:</h2>\n <input id=\"txtRoute\" type=\"text\" [(ngModel)]=\"route\" placeholder=\"Enter Route...\"\n (keydown)=\"onKeyPress($event)\"/>\n <button (click)=\"navigateToRoute()\">Navigate</button>\n</div>\n``\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: NavigateToRouteComponent, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: NavigateToRouteComponent, decorators: [{
103
103
  type: Component,
104
104
  args: [{ selector: 'cwm-navigate-to-route', standalone: false, template: "<div class=\"container\">\n <h2>Enter the route you want to navigate to:</h2>\n <input id=\"txtRoute\" type=\"text\" [(ngModel)]=\"route\" placeholder=\"Enter Route...\"\n (keydown)=\"onKeyPress($event)\"/>\n <button (click)=\"navigateToRoute()\">Navigate</button>\n</div>\n``\n", styles: [":host{display:block}\n"] }]
105
105
  }], ctorParameters: () => [{ type: i1.Router }] });
106
106
 
107
107
  class PageNotFoundComponent {
108
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: PageNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
109
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: PageNotFoundComponent, isStandalone: false, selector: "cwm-page-not-found", ngImport: i0, template: "<p>\n Page Not Found\n</p>\n", styles: [""] });
108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PageNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
109
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: PageNotFoundComponent, isStandalone: false, selector: "cwm-page-not-found", ngImport: i0, template: "<p>\n Page Not Found\n</p>\n", styles: [""] });
110
110
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: PageNotFoundComponent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PageNotFoundComponent, decorators: [{
112
112
  type: Component,
113
113
  args: [{ selector: 'cwm-page-not-found', standalone: false, template: "<p>\n Page Not Found\n</p>\n" }]
114
114
  }] });
@@ -313,10 +313,10 @@ class DbKeys {
313
313
  static SHOW_DASHBOARD_NOTIFICATIONS = 'show_dashboard_notifications';
314
314
  static SHOW_DASHBOARD_TODO = 'show_dashboard_todo';
315
315
  static SHOW_DASHBOARD_BANNER = 'show_dashboard_banner';
316
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DbKeys, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DbKeys });
316
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DbKeys, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DbKeys });
318
318
  }
319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DbKeys, decorators: [{
319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DbKeys, decorators: [{
320
320
  type: Injectable
321
321
  }] });
322
322
 
@@ -997,10 +997,10 @@ class Utilities {
997
997
  static convertToAbsoluteUrl(url) {
998
998
  return Utilities.testIsAbsoluteUrl(url) ? url : '//' + url;
999
999
  }
1000
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1001
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities });
1000
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: Utilities, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1001
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: Utilities });
1002
1002
  }
1003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities, decorators: [{
1003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: Utilities, decorators: [{
1004
1004
  type: Injectable
1005
1005
  }] });
1006
1006
 
@@ -1015,10 +1015,10 @@ const DEFAULT_API_CONFIG = {
1015
1015
  };
1016
1016
 
1017
1017
  const DEFAULT_AUTH_CONFIG = {
1018
- logLevel: "Info",
1018
+ logLevel: "Trace",
1019
1019
  clientId: "af1486e0-a27f-4c8d-8503-0752d90ce72d",
1020
- tenantId: "72950c7a-314c-4ce9-87e5-a9866db20070",
1021
- authority: "https://cwmcustomers.ciamlogin.com/72950c7a-314c-4ce9-87e5-a9866db20070",
1020
+ tenantId: "445012c4-563a-4795-84d0-f7473a3197e0",
1021
+ authority: "https://login.microsoft.com/445012c4-563a-4795-84d0-f7473a3197e0",
1022
1022
  scopes: "openid,email,profile",
1023
1023
  redirect_uri: window.location.origin,
1024
1024
  logout_redirect_uri: window.location.origin + '/logout',
@@ -27032,10 +27032,10 @@ class SafeHtmlPipe {
27032
27032
  transform(value) {
27033
27033
  return this.sanitizer.bypassSecurityTrustHtml(value);
27034
27034
  }
27035
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
27036
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
27035
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
27036
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
27037
27037
  }
27038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SafeHtmlPipe, decorators: [{
27038
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SafeHtmlPipe, decorators: [{
27039
27039
  type: Pipe,
27040
27040
  args: [{
27041
27041
  name: 'safeHtml',
@@ -27044,8 +27044,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
27044
27044
  }], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
27045
27045
 
27046
27046
  class CwmSharedModule {
27047
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27048
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, declarations: [ExternalNavigationComponent,
27047
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CwmSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27048
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: CwmSharedModule, declarations: [ExternalNavigationComponent,
27049
27049
  NavigateToRouteComponent,
27050
27050
  PageNotFoundComponent,
27051
27051
  SafeHtmlPipe], imports: [CommonModule,
@@ -27057,13 +27057,13 @@ class CwmSharedModule {
27057
27057
  NavigateToRouteComponent,
27058
27058
  PageNotFoundComponent,
27059
27059
  SafeHtmlPipe] });
27060
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, imports: [CommonModule,
27060
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CwmSharedModule, imports: [CommonModule,
27061
27061
  MsalModule,
27062
27062
  BrowserModule,
27063
27063
  FormsModule, CommonModule,
27064
27064
  MsalModule] });
27065
27065
  }
27066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, decorators: [{
27066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CwmSharedModule, decorators: [{
27067
27067
  type: NgModule,
27068
27068
  args: [{
27069
27069
  declarations: [
@@ -27108,30 +27108,48 @@ const MockCustomer = DEFAULT_CUSTOMER;
27108
27108
  * 4. Keeps track of the call stack and can group nested method calls if collapseGroups is set to true
27109
27109
  */
27110
27110
  class ClassLoggerService {
27111
- // Determines what level of verbosity you want this service to log with.
27112
- // This can be set to 'None', 'Error', 'Warn', 'Info', 'Debug', or 'Trace'.
27113
- logLevel = 'Info';
27114
- // Determine if method entry and exit points should be logged in collapsed groups
27111
+ /*
27112
+ * Determines what level of verbosity you want this service to log with.
27113
+ * This can be set to 'None', 'Error', 'Warn', 'Info', 'Debug', or 'Trace'.
27114
+ */
27115
+ logLevel = 'Trace';
27116
+ /*
27117
+ * Determine if method entry and exit points should be logged in collapsed groups
27118
+ */
27115
27119
  collapseGroups = true;
27116
- // This will contain the class name.
27120
+ /*
27121
+ * This is the encapsulated value for the class name.
27122
+ */
27117
27123
  _className = "";
27118
- // Gets the class name
27124
+ /*
27125
+ * Gets the class name.
27126
+ * @returns The class name
27127
+ */
27119
27128
  get className() {
27120
27129
  return this._className;
27121
27130
  }
27122
- // Sets the class name and logs the method name as the constructor.
27131
+ /*
27132
+ * Sets the class name and logs the method name as the constructor.
27133
+ * @param value The class name to set.
27134
+ */
27123
27135
  set className(value) {
27124
27136
  this._className = value;
27125
27137
  this.methodName = "constructor()";
27126
27138
  }
27127
- // This will contain the call stack of all the method names from this class that got ua to this method.
27128
- // The top of the stack will be the method that called the current method, and so on down the call stack
27139
+ /* This will contain an encapsulated call stack with all the method names from this class that got to this method.
27140
+ * The top of the stack will be the method that called the current method and so on down the call stack
27141
+ */
27129
27142
  callStack = new Stack();
27130
- // This gets the method name that is currently being executed for the top of the call stack.
27143
+ /*
27144
+ * @returns The method name that is currently being executed for the top of the call stack.
27145
+ */
27131
27146
  get methodName() {
27132
27147
  return this.callStack.peek() ?? "";
27133
27148
  }
27134
- // This sets the method name that is currently being executed for the top of the call stack amd logs the method entry point.
27149
+ /*
27150
+ * This sets the method name that is currently being executed for the top of the call stack amd logs the method entry point.
27151
+ * @param value The method name to set.
27152
+ */
27135
27153
  set methodName(value) {
27136
27154
  if (this.logLevel === 'None') {
27137
27155
  return;
@@ -27149,62 +27167,93 @@ class ClassLoggerService {
27149
27167
  this.trace("Start of method");
27150
27168
  }
27151
27169
  }
27152
- // This is used to signal the end of a method and logs the method exit point.
27153
- // It also pops the current method off the top of the call stack
27170
+ /*
27171
+ * This is used to signal the end of a method and logs the method exit point.
27172
+ * It also pops the current method off the top of the call stack
27173
+ */
27154
27174
  endOfMethod() {
27155
27175
  this.trace("End of method");
27156
27176
  console.groupEnd();
27157
27177
  console.timeEnd(this.targetName);
27158
27178
  this.callStack.pop();
27159
27179
  }
27160
- // This will contain the class name and method name.
27180
+ /*
27181
+ * @ returns The class name and method name if available, otherwise the class name alone.
27182
+ */
27161
27183
  get targetName() {
27162
27184
  if (this.methodName === "")
27163
27185
  return this.className;
27164
27186
  else
27165
27187
  return `${this.className}.${this.methodName}`;
27166
27188
  }
27167
- // Prefix used for all log messages.
27168
- // It contains the date and time of the log message, the class name, and the method name.
27189
+ /*
27190
+ * Prefix used for all log messages.
27191
+ * @ returns The date and time of the log message, the class name, and the method name.
27192
+ */
27169
27193
  get prefix() {
27170
27194
  return `${new Date().toLocaleString()} ${this.targetName}> `;
27171
27195
  }
27172
- // This will only contain Errors
27196
+ /*
27197
+ * This will write a log for the verbosity level of Error only
27198
+ * This includes verbosity levels of Error, Warning, Information, Debug, and Trace.
27199
+ * @param message The message to log.
27200
+ * @param optionalParams Optional parameters to include in the log message.
27201
+ */
27173
27202
  error(message, ...optionalParams) {
27174
- if (this.logLevel === 'Error') {
27203
+ if (this.logLevel === 'Error' || this.logLevel === 'Warn' || this.logLevel === 'Info' || this.logLevel === 'Debug' || this.logLevel === 'Trace') {
27175
27204
  console.error(`${this.prefix} Error: ${message}`, optionalParams);
27176
27205
  }
27177
27206
  }
27178
- // This will Warnings and Errors
27207
+ /*
27208
+ * Limited level of logging for warnings.
27209
+ * This includes verbosity levels of Warning, Information, Debug, and Trace.
27210
+ * @param message The message to log.
27211
+ * @param optionalParams Optional parameters to include in the log message.
27212
+ */
27179
27213
  warn(message, ...optionalParams) {
27180
- if (this.logLevel === 'Warn' || this.logLevel === 'Error') {
27214
+ if (this.logLevel === 'Warn' || this.logLevel === 'Info' || this.logLevel === 'Debug' || this.logLevel === 'Trace') {
27181
27215
  console.warn(`${this.prefix} Warning: ${message}`, optionalParams);
27182
27216
  }
27183
27217
  }
27184
- // Default log level. This will contain Information, Warnings, and Error.
27185
- // This is used to provide general information about app flow but shouldn't contain values.
27218
+ /*
27219
+ * Default log level.
27220
+ * This includes verbosity levels of Information, Debug, and Trace.
27221
+ * This is used to provide general information about app flow but shouldn't contain values.
27222
+ * @param message The message to log.
27223
+ * @param optionalParams Optional parameters to include in the log message.
27224
+ */
27186
27225
  info(message, ...optionalParams) {
27187
- if (this.logLevel === 'Info' || this.logLevel === 'Warn' || this.logLevel === 'Error') {
27226
+ if (this.logLevel === 'Info' || this.logLevel === 'Debug' || this.logLevel === 'Trace') {
27188
27227
  console.info(`${this.prefix} Information: ${message}`, optionalParams);
27189
27228
  }
27190
27229
  }
27191
- // Useful for debugging, This will contain Debug, Information, Warnings, and Error.
27192
- // If actual values are put in the logs, this should be chosen; they may need to be sanitized
27230
+ /*
27231
+ * Useful for debugging,
27232
+ * This includes verbosity levels of Debug and Trace.
27233
+ * If actual values are put in the logs, this should be chosen; they may need to be sanitized
27234
+ * @param message The message to log.
27235
+ * @param optionalParams Optional parameters to include in the log message.
27236
+ */
27193
27237
  debug(message, ...optionalParams) {
27194
- if (this.logLevel === 'Debug' || this.logLevel === 'Info' || this.logLevel === 'Warn' || this.logLevel === 'Error') {
27238
+ if (this.logLevel === 'Debug' || this.logLevel === 'Trace') {
27195
27239
  console.debug(`${this.prefix} Debug: ${message}`, optionalParams);
27196
27240
  }
27197
27241
  }
27198
- // The highest verbosity should log a crazy number of records. This will contain Trace, Debug, Information, Warnings, and Error (Any level other than None). they may need to be sanitized
27242
+ /*
27243
+ *The highest verbosity should log a crazy number of records.
27244
+ * This includes verbosity level Trace. they may need to be sanitized
27245
+ * @param message The message to log.
27246
+ * @param optionalParams Optional parameters to include in the log message.
27247
+ */
27199
27248
  trace(message, ...optionalParams) {
27200
- if (this.logLevel != 'None') {
27249
+ if (this.logLevel === 'Trace') {
27201
27250
  console.log(`${this.prefix} Trace: ${message}`, optionalParams);
27202
27251
  }
27203
27252
  }
27204
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ClassLoggerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27205
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ClassLoggerService });
27253
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ClassLoggerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27254
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ClassLoggerService });
27206
27255
  }
27207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ClassLoggerService, decorators: [{
27256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ClassLoggerService, decorators: [{
27208
27257
  type: Injectable
27209
27258
  }] });
27210
27259
 
@@ -27225,27 +27274,27 @@ class ConfigService {
27225
27274
  this.logger.className = "ConfigService";
27226
27275
  this.configConnectString = "Endpoint=https://cheap-weed-menus-appconfig.azconfig.io;Id=tyjA;Secret=1FgL95lHkXViZX4Qf2GcRqn26mhTYDVYany8ToXpTnO68AzrdUUEJQQJ99AHAC8vTInIcYexAAACAZACsteF";
27227
27276
  this.configClient = new AppConfigurationClient(this.configConnectString);
27228
- this.logger.info("Config Client", this.configClient);
27277
+ this.logger.debug("Config Client", this.configClient);
27229
27278
  this.logger.methodName = "";
27230
27279
  }
27231
27280
  async getConfigurationSettingAsync(key, label) {
27232
27281
  this.logger.methodName = "getConfigurationSettingAsync()";
27233
27282
  let setting = {};
27234
- this.logger.info("Get Configuration Setting for Key/Label requested", key, label);
27283
+ this.logger.debug("Get Configuration Setting for Key/Label requested", key, label);
27235
27284
  if (this.mockData || this.configCache != undefined) {
27236
27285
  if (this.configCache == undefined) {
27237
- this.configCache = MockConfig;
27238
- this.logger.info("Configuration Cache was undefined and Mock Data Enabled. Mock Config will be cached and used for this and all subsequent calls", this.configCache);
27286
+ this.configCache = DEFAULT_CONFIGURATION;
27287
+ this.logger.debug("Configuration Cache was undefined and Mock Data Enabled. Mock Config will be cached and used for this and all subsequent calls", this.configCache);
27239
27288
  }
27240
27289
  setting.key = key;
27241
27290
  setting.value = JSON.stringify(this.configCache);
27242
27291
  if (this.mockData)
27243
- this.logger.info("Mock Data Enabled, Skipping getConfigurationSetting() and using Mock Config from the Configuration Cache", this.configCache);
27292
+ this.logger.debug("Mock Data Enabled, Skipping getConfigurationSetting() and using Mock Config from the Configuration Cache", this.configCache);
27244
27293
  else
27245
- this.logger.info("Configuration Cache was available, skipping getConfigurationSetting() and using Cached Configuration", this.configCache);
27294
+ this.logger.debug("Configuration Cache was available, skipping getConfigurationSetting() and using Cached Configuration", this.configCache);
27246
27295
  }
27247
27296
  else if (this.configCache == undefined) {
27248
- this.logger.info("Configuration Cache was undefined and Mock Data disabled. Getting Configuration Setting Key/Label. Configuration will be cached and used for this and all subsequent calls", key, label);
27297
+ this.logger.debug("Configuration Cache was undefined and Mock Data disabled. Getting Configuration Setting Key/Label. Configuration will be cached and used for this and all subsequent calls", key, label);
27249
27298
  setting = await this.configClient.getConfigurationSetting({ key: key, label: label.replace(".", "") });
27250
27299
  }
27251
27300
  return setting.value;
@@ -27263,15 +27312,15 @@ class ConfigService {
27263
27312
  value: setting,
27264
27313
  contentType: contentType,
27265
27314
  };
27266
- this.logger.info("Calling configClient.setConfigurationSetting", configurationSetting);
27315
+ this.logger.debug("Calling configClient.setConfigurationSetting", configurationSetting);
27267
27316
  await this.configClient.setConfigurationSetting(configurationSetting);
27268
27317
  this.logger.methodName = "";
27269
27318
  }
27270
27319
  async getConfigAsync(company) {
27271
27320
  this.logger.methodName = "getConfigAsync()";
27272
27321
  if (this.mockData) {
27273
- this.configCache = MockConfig;
27274
- this.logger.info("Mock Data Enabled, Using Mock Config", this.configCache);
27322
+ this.configCache = DEFAULT_CONFIGURATION;
27323
+ this.logger.debug("Mock Data Enabled, Using Mock Config", this.configCache);
27275
27324
  }
27276
27325
  else if (this.configCache == undefined) {
27277
27326
  this.logger.info("Config Cache was undefined. Loading Configuration from Azure App Configuration");
@@ -27280,7 +27329,7 @@ class ConfigService {
27280
27329
  this.logger.debug("Loaded and Cached Configuration from Azure App Configuration", this.configCache);
27281
27330
  }
27282
27331
  else {
27283
- this.logger.info("Using Cached Configuration", this.configCache);
27332
+ this.logger.debug("Using Cached Configuration", this.configCache);
27284
27333
  }
27285
27334
  const config = this.configCache;
27286
27335
  this.logger.methodName = "";
@@ -27290,7 +27339,7 @@ class ConfigService {
27290
27339
  this.logger.methodName = "saveConfigAsync()";
27291
27340
  // Update configuration cache
27292
27341
  this.configCache = config;
27293
- this.logger.info("Updated Config Cache", this.configCache);
27342
+ this.logger.debug("Updated Config Cache", this.configCache);
27294
27343
  if (this.mockData) {
27295
27344
  this.logger.info("Mock Data Enabled, Skipping setConfigurationSettingAsync()");
27296
27345
  this.logger.methodName = "";
@@ -27298,13 +27347,13 @@ class ConfigService {
27298
27347
  }
27299
27348
  this.logger.info("Saving Configuration to Azure App Configuration");
27300
27349
  await this.setConfigurationSettingAsync("App.Config.Json", company, config, "JSON");
27301
- this.logger.debug("Saved Configuration to Azure App Configuration");
27350
+ this.logger.info("Saved Configuration to Azure App Configuration");
27302
27351
  this.logger.methodName = "";
27303
27352
  }
27304
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, deps: [{ token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27305
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, providedIn: 'root' });
27353
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ConfigService, deps: [{ token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27354
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ConfigService, providedIn: 'root' });
27306
27355
  }
27307
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, decorators: [{
27356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ConfigService, decorators: [{
27308
27357
  type: Injectable,
27309
27358
  args: [{
27310
27359
  providedIn: 'root'
@@ -27312,58 +27361,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
27312
27361
  }], ctorParameters: () => [{ type: ClassLoggerService }] });
27313
27362
 
27314
27363
  class BaseApiService {
27364
+ document;
27315
27365
  configService;
27316
27366
  httpClient;
27317
27367
  logger;
27318
- config;
27368
+ config = DEFAULT_API_CONFIG;
27319
27369
  get apiBaseUrl() {
27320
27370
  if (this.config)
27321
27371
  return this.config.apiBaseUrl;
27322
27372
  else
27323
- return Utilities.baseUrl();
27373
+ return this.document.location.origin;
27324
27374
  }
27325
27375
  get apiFullUrl() {
27326
27376
  return this.apiBaseUrl;
27327
27377
  }
27328
- constructor(configService, httpClient, logger) {
27378
+ constructor(document, configService, httpClient, logger) {
27379
+ this.document = document;
27329
27380
  this.configService = configService;
27330
27381
  this.httpClient = httpClient;
27331
27382
  this.logger = logger;
27332
27383
  }
27333
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, deps: [{ token: ConfigService }, { token: i2$1.HttpClient }, { token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27334
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, providedIn: 'root' });
27335
- }
27336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, decorators: [{
27337
- type: Injectable,
27338
- args: [{
27339
- providedIn: 'root'
27340
- }]
27341
- }], ctorParameters: () => [{ type: ConfigService }, { type: i2$1.HttpClient }, { type: ClassLoggerService }] });
27342
-
27343
- class CustomerApiService extends BaseApiService {
27344
- get apiFullUrl() {
27345
- return this.apiBaseUrl + this.config?.addCustomerApiRoute;
27346
- }
27347
- async getCustomerAsync(customerId) { return; }
27348
- async getCustomersAsync() { return; }
27349
- async setCustomerAsync(companyName, customer) {
27350
- this.config = (await this.configService.getConfigAsync(companyName)).apiConfig;
27351
- return;
27352
- }
27353
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
27354
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, providedIn: 'root' });
27384
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BaseApiService, deps: [{ token: DOCUMENT }, { token: ConfigService }, { token: i2$1.HttpClient }, { token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27385
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BaseApiService, providedIn: 'root' });
27355
27386
  }
27356
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, decorators: [{
27387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BaseApiService, decorators: [{
27357
27388
  type: Injectable,
27358
27389
  args: [{
27359
27390
  providedIn: 'root'
27360
27391
  }]
27361
- }] });
27392
+ }], ctorParameters: () => [{ type: Document, decorators: [{
27393
+ type: Inject,
27394
+ args: [DOCUMENT]
27395
+ }] }, { type: ConfigService }, { type: i2$1.HttpClient }, { type: ClassLoggerService }] });
27362
27396
 
27363
27397
  class InventoryApiService extends BaseApiService {
27364
27398
  useMockData = false;
27365
- constructor(configService, httpClient, logger) {
27366
- super(configService, httpClient, logger);
27399
+ constructor(document, configService, httpClient, logger) {
27400
+ super(document, configService, httpClient, logger);
27367
27401
  logger.className = "InventoryApiService";
27368
27402
  }
27369
27403
  get httpHeaders() {
@@ -27373,7 +27407,7 @@ class InventoryApiService extends BaseApiService {
27373
27407
  .set('locationId', this.config?.locationId);
27374
27408
  }
27375
27409
  get apiFullUrl() {
27376
- return this.apiBaseUrl + (this.config ?? MockConfig.apiConfig).getInventoryApiRoute;
27410
+ return this.apiBaseUrl + (this.config ?? DEFAULT_API_CONFIG).getInventoryApiRoute;
27377
27411
  }
27378
27412
  async getProductsAsync(companyName) {
27379
27413
  this.logger.methodName = "getProductsAsync()";
@@ -27416,15 +27450,18 @@ class InventoryApiService extends BaseApiService {
27416
27450
  return productsByAllCategories;
27417
27451
  }
27418
27452
  ;
27419
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, deps: [{ token: ConfigService }, { token: i2$1.HttpClient }, { token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27420
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, providedIn: 'root' });
27453
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InventoryApiService, deps: [{ token: DOCUMENT }, { token: ConfigService }, { token: i2$1.HttpClient }, { token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27454
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InventoryApiService, providedIn: 'root' });
27421
27455
  }
27422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, decorators: [{
27456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InventoryApiService, decorators: [{
27423
27457
  type: Injectable,
27424
27458
  args: [{
27425
27459
  providedIn: 'root'
27426
27460
  }]
27427
- }], ctorParameters: () => [{ type: ConfigService }, { type: i2$1.HttpClient }, { type: ClassLoggerService }] });
27461
+ }], ctorParameters: () => [{ type: Document, decorators: [{
27462
+ type: Inject,
27463
+ args: [DOCUMENT]
27464
+ }] }, { type: ConfigService }, { type: i2$1.HttpClient }, { type: ClassLoggerService }] });
27428
27465
 
27429
27466
  /**
27430
27467
  * Provides a wrapper for accessing the web storage API and synchronizing session storage across tabs/windows.
@@ -27697,10 +27734,10 @@ class LocalStorageService {
27697
27734
  this.initEvent.complete();
27698
27735
  });
27699
27736
  }
27700
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27701
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, providedIn: 'root' });
27737
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27738
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LocalStorageService, providedIn: 'root' });
27702
27739
  }
27703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, decorators: [{
27740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LocalStorageService, decorators: [{
27704
27741
  type: Injectable,
27705
27742
  args: [{
27706
27743
  providedIn: 'root'
@@ -27799,16 +27836,52 @@ class LogService {
27799
27836
  console.error(this.prefix + " Error: " + message, optionalParams);
27800
27837
  }
27801
27838
  }
27802
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27803
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, providedIn: 'root' });
27839
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27840
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogService, providedIn: 'root' });
27804
27841
  }
27805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, decorators: [{
27842
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogService, decorators: [{
27806
27843
  type: Injectable,
27807
27844
  args: [{
27808
27845
  providedIn: 'root'
27809
27846
  }]
27810
27847
  }] });
27811
27848
 
27849
+ class SubscriptionApiService extends BaseApiService {
27850
+ constructor(document, configService, httpClient, logger) {
27851
+ super(document, configService, httpClient, logger);
27852
+ logger.className = "SubscriptionApiService";
27853
+ }
27854
+ get apiFullUrl() {
27855
+ return `${this.apiBaseUrl}${(this.config ?? DEFAULT_API_CONFIG).addSubscriptionApiRoute}`;
27856
+ }
27857
+ async addSubscriptionAsync(request) {
27858
+ try {
27859
+ this.logger.methodName = 'addSubscriptionAsync';
27860
+ this.logger.debug(`Calling AddSubscription API at ${this.apiFullUrl}`);
27861
+ await firstValueFrom(this.httpClient.post(this.apiFullUrl, request));
27862
+ this.logger.info('Successfully added subscription');
27863
+ }
27864
+ catch (error) {
27865
+ this.logger.error('Error adding subscription', error);
27866
+ throw error;
27867
+ }
27868
+ finally {
27869
+ this.logger.endOfMethod();
27870
+ }
27871
+ }
27872
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SubscriptionApiService, deps: [{ token: DOCUMENT }, { token: ConfigService }, { token: i2$1.HttpClient }, { token: ClassLoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
27873
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SubscriptionApiService, providedIn: 'root' });
27874
+ }
27875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SubscriptionApiService, decorators: [{
27876
+ type: Injectable,
27877
+ args: [{
27878
+ providedIn: 'root'
27879
+ }]
27880
+ }], ctorParameters: () => [{ type: Document, decorators: [{
27881
+ type: Inject,
27882
+ args: [DOCUMENT]
27883
+ }] }, { type: ConfigService }, { type: i2$1.HttpClient }, { type: ClassLoggerService }] });
27884
+
27812
27885
  // ================================================
27813
27886
  // Export every type you want this module to expose
27814
27887
  // ================================================
@@ -27817,5 +27890,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
27817
27890
  * Generated bundle index. Do not edit.
27818
27891
  */
27819
27892
 
27820
- export { BaseApiService, CardTypes, Category, ClassLoggerService, ConfigService, Customer, CustomerApiService, CwmSharedModule, DEFAULT_API_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CONFIGURATION, DEFAULT_CUSTOMER, DEFAULT_INVENTORY_API_RESPONSE, DEFAULT_MENU_BOARD_CONFIG, DEFAULT_PROFILE, DEFAULT_SLIDE, DEFAULT_SUBSCRIPTION_CONFIG, DbKeys, ExternalNavigationComponent, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MockConfig, MockCustomer, MockInventoryApiResponse, MockProfile, NamedColors, NavigateToRouteComponent, OnElementStyle, PageNotFoundComponent, Product, Profile, SafeHtmlPipe, Stack, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, msalGuardConfigFactory, msalInstanceFactory, msalInterceptorConfigFactory, waitFor };
27893
+ export { BaseApiService, CardTypes, Category, ClassLoggerService, ConfigService, Customer, CwmSharedModule, DEFAULT_API_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CONFIGURATION, DEFAULT_CUSTOMER, DEFAULT_INVENTORY_API_RESPONSE, DEFAULT_MENU_BOARD_CONFIG, DEFAULT_PROFILE, DEFAULT_SLIDE, DEFAULT_SUBSCRIPTION_CONFIG, DbKeys, ExternalNavigationComponent, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MockConfig, MockCustomer, MockInventoryApiResponse, MockProfile, NamedColors, NavigateToRouteComponent, OnElementStyle, PageNotFoundComponent, Product, Profile, SafeHtmlPipe, Stack, SubscriptionApiService, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, msalGuardConfigFactory, msalInstanceFactory, msalInterceptorConfigFactory, waitFor };
27821
27894
  //# sourceMappingURL=transcommerce-cwm-shared.mjs.map