@transcommerce/cwm-shared 1.1.26 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/transcommerce-cwm-shared.mjs +81 -44
- package/fesm2022/transcommerce-cwm-shared.mjs.map +1 -1
- package/lib/services/log.service.d.ts +1 -0
- package/lib/services/log.service.d.ts.map +1 -1
- package/lib/services/mocks/mock-customer.d.ts +3 -0
- package/lib/services/mocks/mock-customer.d.ts.map +1 -0
- package/package.json +6 -3
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -1
|
@@ -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.
|
|
51
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
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">
|
|
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.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", 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.
|
|
100
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
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"] }] });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", 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.
|
|
109
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
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: [""] });
|
|
110
110
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", 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.
|
|
317
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
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 });
|
|
318
318
|
}
|
|
319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DbKeys, decorators: [{
|
|
320
320
|
type: Injectable
|
|
321
321
|
}] });
|
|
322
322
|
|
|
@@ -958,10 +958,10 @@ class Utilities {
|
|
|
958
958
|
static convertToAbsoluteUrl(url) {
|
|
959
959
|
return Utilities.testIsAbsoluteUrl(url) ? url : '//' + url;
|
|
960
960
|
}
|
|
961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
962
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
961
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
962
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities });
|
|
963
963
|
}
|
|
964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Utilities, decorators: [{
|
|
965
965
|
type: Injectable
|
|
966
966
|
}] });
|
|
967
967
|
|
|
@@ -1148,10 +1148,10 @@ class SafeHtmlPipe {
|
|
|
1148
1148
|
transform(value) {
|
|
1149
1149
|
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
1150
1150
|
}
|
|
1151
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1152
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
1151
|
+
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 });
|
|
1152
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" });
|
|
1153
1153
|
}
|
|
1154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
1155
1155
|
type: Pipe,
|
|
1156
1156
|
args: [{
|
|
1157
1157
|
name: 'safeHtml',
|
|
@@ -1160,8 +1160,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1160
1160
|
}], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
|
|
1161
1161
|
|
|
1162
1162
|
class CwmSharedModule {
|
|
1163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1164
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
1163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1164
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, declarations: [ExternalNavigationComponent,
|
|
1165
1165
|
NavigateToRouteComponent,
|
|
1166
1166
|
PageNotFoundComponent,
|
|
1167
1167
|
SafeHtmlPipe], imports: [CommonModule,
|
|
@@ -1173,13 +1173,13 @@ class CwmSharedModule {
|
|
|
1173
1173
|
NavigateToRouteComponent,
|
|
1174
1174
|
PageNotFoundComponent,
|
|
1175
1175
|
SafeHtmlPipe] });
|
|
1176
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
1176
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, imports: [CommonModule,
|
|
1177
1177
|
MsalModule,
|
|
1178
1178
|
BrowserModule,
|
|
1179
1179
|
FormsModule, CommonModule,
|
|
1180
1180
|
MsalModule] });
|
|
1181
1181
|
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CwmSharedModule, decorators: [{
|
|
1183
1183
|
type: NgModule,
|
|
1184
1184
|
args: [{
|
|
1185
1185
|
declarations: [
|
|
@@ -26958,7 +26958,7 @@ const MockConfig = {
|
|
|
26958
26958
|
"configConnectString": "Endpoint=https://cheap-weed-menus-appconfig.azconfig.io;Id=tyjA;Secret=1FgL95lHkXViZX4Qf2GcRqn26mhTYDVYany8ToXpTnO68AzrdUUEJQQJ99AHAC8vTInIcYexAAACAZACsteF",
|
|
26959
26959
|
"clientId": "af1486e0-a27f-4c8d-8503-0752d90ce72d",
|
|
26960
26960
|
"tenantId": "72950c7a-314c-4ce9-87e5-a9866db20070",
|
|
26961
|
-
"authority": "https://
|
|
26961
|
+
"authority": "https://cwmcustomers.ciamlogin.com/72950c7a-314c-4ce9-87e5-a9866db20070",
|
|
26962
26962
|
"scopes": "openid,email,profile",
|
|
26963
26963
|
"menu_uri": "http://localhost:4280/",
|
|
26964
26964
|
"redirect_uri": "https://localhost:4280",
|
|
@@ -27064,6 +27064,26 @@ const MockProfile = {
|
|
|
27064
27064
|
"userPrincipalName": "demo@app.cheapweedmenu.com"
|
|
27065
27065
|
};
|
|
27066
27066
|
|
|
27067
|
+
const MockCustomer = {
|
|
27068
|
+
"apiClientId": "5dd15878-aa4c-4adf-8650-b931f32a7b67",
|
|
27069
|
+
"apiLocationId": "10f19fc5-31d0-4d76-bad4-ad593c9803ae",
|
|
27070
|
+
"companyName": "Test Weed Dispensary",
|
|
27071
|
+
"emailAddress": "demo@app.cheapweedmenu.com",
|
|
27072
|
+
"id": "1",
|
|
27073
|
+
"phoneNumber": "5035551212",
|
|
27074
|
+
"jobTitle": "Budtender",
|
|
27075
|
+
"userType": UserTypes.Administrator,
|
|
27076
|
+
"displayName": "Demo User",
|
|
27077
|
+
"givenName": "Demo",
|
|
27078
|
+
"surName": "User",
|
|
27079
|
+
"streetAddress": "123 Any Street",
|
|
27080
|
+
"city": "Anytown",
|
|
27081
|
+
"state": "OR",
|
|
27082
|
+
"postalCode": "12345",
|
|
27083
|
+
"country": "USA",
|
|
27084
|
+
"subscriptionId": "1"
|
|
27085
|
+
};
|
|
27086
|
+
|
|
27067
27087
|
/*
|
|
27068
27088
|
The LogService is really just a wrapper around the existing console logging functionality
|
|
27069
27089
|
The three main reasons for using this service are:
|
|
@@ -27076,8 +27096,16 @@ class LogService {
|
|
|
27076
27096
|
_className = "";
|
|
27077
27097
|
get className() { return this._className; }
|
|
27078
27098
|
set className(value) {
|
|
27079
|
-
this._className
|
|
27080
|
-
|
|
27099
|
+
if (this._className !== "" && this._className !== value && this.logLevel != 'None') {
|
|
27100
|
+
console.groupCollapsed(this.targetName + " - " + value + " - " + new Date().toLocaleString());
|
|
27101
|
+
}
|
|
27102
|
+
if (this._className === "" || this._className !== value) {
|
|
27103
|
+
this._className = value;
|
|
27104
|
+
this.methodName = "constructor()";
|
|
27105
|
+
}
|
|
27106
|
+
else {
|
|
27107
|
+
this._className = value;
|
|
27108
|
+
}
|
|
27081
27109
|
}
|
|
27082
27110
|
_methodName = "";
|
|
27083
27111
|
get methodName() { return this._methodName; }
|
|
@@ -27112,6 +27140,15 @@ class LogService {
|
|
|
27112
27140
|
console.log(this.prefix + " " + message, optionalParams);
|
|
27113
27141
|
}
|
|
27114
27142
|
}
|
|
27143
|
+
debug(message, ...optionalParams) {
|
|
27144
|
+
if (this.logLevel === 'Debug') {
|
|
27145
|
+
if (this.targetName != this.className) {
|
|
27146
|
+
console.timeEnd(this.targetName);
|
|
27147
|
+
console.time(this.targetName);
|
|
27148
|
+
}
|
|
27149
|
+
console.debug(this.prefix + " " + message, optionalParams);
|
|
27150
|
+
}
|
|
27151
|
+
}
|
|
27115
27152
|
info(message, ...optionalParams) {
|
|
27116
27153
|
if (this.logLevel === 'Debug' || this.logLevel === 'Info') {
|
|
27117
27154
|
if (this.targetName != this.className)
|
|
@@ -27138,10 +27175,10 @@ class LogService {
|
|
|
27138
27175
|
console.error(this.prefix + " " + message, optionalParams);
|
|
27139
27176
|
}
|
|
27140
27177
|
}
|
|
27141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27142
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, providedIn: 'root' });
|
|
27143
27180
|
}
|
|
27144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LogService, decorators: [{
|
|
27145
27182
|
type: Injectable,
|
|
27146
27183
|
args: [{
|
|
27147
27184
|
providedIn: 'root'
|
|
@@ -27241,10 +27278,10 @@ class ConfigService {
|
|
|
27241
27278
|
this.logService.log("Saved Configuration to Azure App Configuration");
|
|
27242
27279
|
this.logService.methodName = "";
|
|
27243
27280
|
}
|
|
27244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27245
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27282
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, providedIn: 'root' });
|
|
27246
27283
|
}
|
|
27247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, decorators: [{
|
|
27248
27285
|
type: Injectable,
|
|
27249
27286
|
args: [{
|
|
27250
27287
|
providedIn: 'root'
|
|
@@ -27270,10 +27307,10 @@ class BaseApiService {
|
|
|
27270
27307
|
this.httpClient = httpClient;
|
|
27271
27308
|
this.logService = logService;
|
|
27272
27309
|
}
|
|
27273
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27274
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, deps: [{ token: ConfigService }, { token: i2$1.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27311
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, providedIn: 'root' });
|
|
27275
27312
|
}
|
|
27276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BaseApiService, decorators: [{
|
|
27277
27314
|
type: Injectable,
|
|
27278
27315
|
args: [{
|
|
27279
27316
|
providedIn: 'root'
|
|
@@ -27290,10 +27327,10 @@ class CustomerApiService extends BaseApiService {
|
|
|
27290
27327
|
this.config = (await this.configService.getConfigAsync(companyName)).apiConfig;
|
|
27291
27328
|
return;
|
|
27292
27329
|
}
|
|
27293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27294
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27330
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
27331
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, providedIn: 'root' });
|
|
27295
27332
|
}
|
|
27296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: CustomerApiService, decorators: [{
|
|
27297
27334
|
type: Injectable,
|
|
27298
27335
|
args: [{
|
|
27299
27336
|
providedIn: 'root'
|
|
@@ -27356,10 +27393,10 @@ class InventoryApiService extends BaseApiService {
|
|
|
27356
27393
|
return productsByAllCategories;
|
|
27357
27394
|
}
|
|
27358
27395
|
;
|
|
27359
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27360
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27396
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, deps: [{ token: ConfigService }, { token: i2$1.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27397
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, providedIn: 'root' });
|
|
27361
27398
|
}
|
|
27362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: InventoryApiService, decorators: [{
|
|
27363
27400
|
type: Injectable,
|
|
27364
27401
|
args: [{
|
|
27365
27402
|
providedIn: 'root'
|
|
@@ -27637,10 +27674,10 @@ class LocalStorageService {
|
|
|
27637
27674
|
this.initEvent.complete();
|
|
27638
27675
|
});
|
|
27639
27676
|
}
|
|
27640
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
27641
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
27677
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27678
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, providedIn: 'root' });
|
|
27642
27679
|
}
|
|
27643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
27644
27681
|
type: Injectable,
|
|
27645
27682
|
args: [{
|
|
27646
27683
|
providedIn: 'root'
|
|
@@ -27655,5 +27692,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
27655
27692
|
* Generated bundle index. Do not edit.
|
|
27656
27693
|
*/
|
|
27657
27694
|
|
|
27658
|
-
export { BaseApiService, CardTypes, Category, ConfigService, Customer, CustomerApiService, CwmSharedModule, DbKeys, ExternalNavigationComponent, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MockConfig, MockInventoryApiResponse, MockProfile, NamedColors, NavigateToRouteComponent, OnElementStyle, PageNotFoundComponent, Product, Profile, SafeHtmlPipe, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, msalGuardConfigFactory, msalInstanceFactory, msalInterceptorConfigFactory, waitFor };
|
|
27695
|
+
export { BaseApiService, CardTypes, Category, ConfigService, Customer, CustomerApiService, CwmSharedModule, DbKeys, ExternalNavigationComponent, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MockConfig, MockCustomer, MockInventoryApiResponse, MockProfile, NamedColors, NavigateToRouteComponent, OnElementStyle, PageNotFoundComponent, Product, Profile, SafeHtmlPipe, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, msalGuardConfigFactory, msalInstanceFactory, msalInterceptorConfigFactory, waitFor };
|
|
27659
27696
|
//# sourceMappingURL=transcommerce-cwm-shared.mjs.map
|