@transcommerce/cwm-shared 1.1.22 → 1.1.25
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 +8 -25
- package/fesm2022/transcommerce-cwm-shared.mjs.map +1 -1
- package/lib/models/config/configuration.d.ts +1 -0
- package/lib/models/config/configuration.d.ts.map +1 -1
- package/lib/services/mocks/mock-config.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +1 -1
- package/lib/models/window.d.ts +0 -5
- package/lib/models/window.d.ts.map +0 -1
- package/lib/services/auth.service.d.ts +0 -9
- package/lib/services/auth.service.d.ts.map +0 -1
|
@@ -26863,16 +26863,17 @@ const MockInventoryApiResponse = {
|
|
|
26863
26863
|
};
|
|
26864
26864
|
|
|
26865
26865
|
const MockConfig = {
|
|
26866
|
+
"companyName": "Test Weed Dispensary",
|
|
26866
26867
|
"authConfig": {
|
|
26867
26868
|
"logLevel": "Info",
|
|
26868
26869
|
"configConnectString": "Endpoint=https://cheap-weed-menus-appconfig.azconfig.io;Id=tyjA;Secret=1FgL95lHkXViZX4Qf2GcRqn26mhTYDVYany8ToXpTnO68AzrdUUEJQQJ99AHAC8vTInIcYexAAACAZACsteF",
|
|
26869
26870
|
"clientId": "af1486e0-a27f-4c8d-8503-0752d90ce72d",
|
|
26870
|
-
"tenantId": "
|
|
26871
|
-
"authority": "https://login.microsoft.com/
|
|
26871
|
+
"tenantId": "72950c7a-314c-4ce9-87e5-a9866db20070",
|
|
26872
|
+
"authority": "https://login.microsoft.com/72950c7a-314c-4ce9-87e5-a9866db20070",
|
|
26872
26873
|
"scopes": "openid,email,profile",
|
|
26873
|
-
"menu_uri": "http://localhost:
|
|
26874
|
-
"redirect_uri": "https://
|
|
26875
|
-
"logout_redirect_uri": "https://
|
|
26874
|
+
"menu_uri": "http://localhost:4280/",
|
|
26875
|
+
"redirect_uri": "https://localhost:4280",
|
|
26876
|
+
"logout_redirect_uri": "https://localhost:4280/logout",
|
|
26876
26877
|
"prompt": "login"
|
|
26877
26878
|
},
|
|
26878
26879
|
"apiConfig": {
|
|
@@ -26960,7 +26961,7 @@ const MockConfig = {
|
|
|
26960
26961
|
};
|
|
26961
26962
|
|
|
26962
26963
|
const MockProfile = {
|
|
26963
|
-
"companyName": "
|
|
26964
|
+
"companyName": "Test Weed Dispensary",
|
|
26964
26965
|
"businessPhones": ["503.555.1212"],
|
|
26965
26966
|
"displayName": "Demo User",
|
|
26966
26967
|
"givenName": "Demo",
|
|
@@ -26974,24 +26975,6 @@ const MockProfile = {
|
|
|
26974
26975
|
"userPrincipalName": "demo@app.cheapweedmenu.com"
|
|
26975
26976
|
};
|
|
26976
26977
|
|
|
26977
|
-
class AuthService {
|
|
26978
|
-
constructor() {
|
|
26979
|
-
}
|
|
26980
|
-
static getAuthConfig() {
|
|
26981
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26982
|
-
const wind = window;
|
|
26983
|
-
return wind.authConfig;
|
|
26984
|
-
}
|
|
26985
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26986
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
26987
|
-
}
|
|
26988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AuthService, decorators: [{
|
|
26989
|
-
type: Injectable,
|
|
26990
|
-
args: [{
|
|
26991
|
-
providedIn: 'root'
|
|
26992
|
-
}]
|
|
26993
|
-
}], ctorParameters: () => [] });
|
|
26994
|
-
|
|
26995
26978
|
/*
|
|
26996
26979
|
The LogService is really just a wrapper around the existing console logging functionality
|
|
26997
26980
|
The three main reasons for using this service are:
|
|
@@ -27578,5 +27561,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
27578
27561
|
* Generated bundle index. Do not edit.
|
|
27579
27562
|
*/
|
|
27580
27563
|
|
|
27581
|
-
export {
|
|
27564
|
+
export { BaseApiService, CardTypes, Category, ConfigService, Customer, CustomerApiService, CwmSharedModule, DbKeys, ExternalNavigationComponent, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory, MockConfig, MockInventoryApiResponse, MockProfile, NamedColors, NavigateToRouteComponent, OnElementStyle, PageNotFoundComponent, Product, Profile, SafeHtmlPipe, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, waitFor };
|
|
27582
27565
|
//# sourceMappingURL=transcommerce-cwm-shared.mjs.map
|