@transcommerce/cwm-shared 1.1.14 → 1.1.17
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 +14 -10
- package/fesm2022/transcommerce-cwm-shared.mjs.map +1 -1
- package/index.d.ts +0 -0
- package/lib/factories/msal-interceptor-config.factory.d.ts +0 -0
- package/lib/factories/msal.guard.config.factory.d.ts +0 -0
- package/lib/factories/msal.instance.factory.d.ts +0 -0
- package/lib/helpers/async-utils.d.ts +0 -0
- package/lib/helpers/db-keys.d.ts +0 -0
- package/lib/helpers/jwt.d.ts +0 -0
- package/lib/helpers/time-span-overflow-error.d.ts +0 -0
- package/lib/helpers/time-span.d.ts +0 -0
- package/lib/helpers/utilities.d.ts +0 -0
- package/lib/models/add-subscription-request.d.ts +0 -0
- package/lib/models/cannabinoid-information.d.ts +0 -0
- package/lib/models/card-types.d.ts +0 -0
- package/lib/models/category.d.ts +0 -0
- package/lib/models/color.d.ts +0 -0
- package/lib/models/config/api-config.d.ts +0 -0
- package/lib/models/config/auth-config.d.ts +0 -0
- package/lib/models/config/carousel-config.d.ts +0 -0
- package/lib/models/config/configuration.d.ts +0 -0
- package/lib/models/config/display-config.d.ts +0 -0
- package/lib/models/config/menu-board-config.d.ts +0 -0
- package/lib/models/credit-card.d.ts +0 -0
- package/lib/models/customer.d.ts +0 -0
- package/lib/models/flowhub-product.d.ts +0 -0
- package/lib/models/font.d.ts +0 -0
- package/lib/models/image.d.ts +0 -0
- package/lib/models/inventory-api-response.d.ts +0 -0
- package/lib/models/justifications.d.ts +0 -0
- package/lib/models/log-levels.d.ts +0 -0
- package/lib/models/logging-verbosity.d.ts +0 -0
- package/lib/models/model-map.d.ts +0 -0
- package/lib/models/named-colors.d.ts +0 -0
- package/lib/models/on-element-style.d.ts +0 -0
- package/lib/models/product.d.ts +0 -0
- package/lib/models/profile.d.ts +0 -0
- package/lib/models/slide.d.ts +0 -0
- package/lib/models/subscription.d.ts +0 -0
- package/lib/models/user-types.d.ts +0 -0
- package/lib/models/weight-tier-information.d.ts +0 -0
- package/lib/models/window.d.ts +0 -0
- package/lib/modules/cwm-shared.module.d.ts +0 -0
- package/lib/pipes/safe-html.pipe.d.ts +0 -0
- package/lib/services/auth.service.d.ts +0 -0
- package/lib/services/base-api.service.d.ts +0 -0
- package/lib/services/config.service.d.ts +0 -0
- package/lib/services/customer-api.service.d.ts +0 -0
- package/lib/services/ibase-api.service.d.ts +0 -0
- package/lib/services/inventory-api.service.d.ts +0 -0
- package/lib/services/local-storage.service.d.ts +0 -0
- package/lib/services/log.service.d.ts +0 -0
- package/lib/services/mocks/mock-inventory-api-response.d.ts +0 -0
- package/lib/services/mocks/mock-location-config.d.ts +0 -0
- package/lib/services/mocks/mock-profile.d.ts +0 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -30,6 +30,15 @@ function MSALInstanceFactory() {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
function MSALInterceptorConfigFactory() {
|
|
34
|
+
const protectedResourceMap = new Map();
|
|
35
|
+
protectedResourceMap.set('https://graph.microsoft.com/v1.0/me', ['user.read']);
|
|
36
|
+
return {
|
|
37
|
+
interactionType: InteractionType.Popup, // or Redirect
|
|
38
|
+
protectedResourceMap
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
33
42
|
/* eslint-disable no-useless-catch */
|
|
34
43
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
35
44
|
/**
|
|
@@ -27361,15 +27370,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
27361
27370
|
}]
|
|
27362
27371
|
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
27363
27372
|
|
|
27364
|
-
function MSALInterceptorConfigFactory() {
|
|
27365
|
-
const protectedResourceMap = new Map();
|
|
27366
|
-
protectedResourceMap.set('https://graph.microsoft.com/v1.0/me', ['user.read']);
|
|
27367
|
-
return {
|
|
27368
|
-
interactionType: InteractionType.Popup, // or Redirect
|
|
27369
|
-
protectedResourceMap
|
|
27370
|
-
};
|
|
27371
|
-
}
|
|
27372
|
-
|
|
27373
27373
|
// Services - providers
|
|
27374
27374
|
const isIE = window.navigator.userAgent.indexOf('MSIE ') > -1 || window.navigator.userAgent.indexOf('Trident/') > -1;
|
|
27375
27375
|
const baseUrl = Utilities.baseUrl();
|
|
@@ -27475,11 +27475,15 @@ const MockProfile = {
|
|
|
27475
27475
|
// Export every type you want this module to expose
|
|
27476
27476
|
// ================================================
|
|
27477
27477
|
// Components
|
|
27478
|
+
//export * from './lib/components/external-navigation/external-navigation.component'
|
|
27479
|
+
//export * from './lib/components/navigate-to-route/navigate-to-route.component'
|
|
27480
|
+
//export * from './lib/components/page-not-found/page-not-found.component'
|
|
27481
|
+
//export * from './lib/components/route-based-templates/route-based-templates.component'
|
|
27478
27482
|
// Factories
|
|
27479
27483
|
|
|
27480
27484
|
/**
|
|
27481
27485
|
* Generated bundle index. Do not edit.
|
|
27482
27486
|
*/
|
|
27483
27487
|
|
|
27484
|
-
export { AuthService, BaseApiService, CardTypes, Category, ConfigService, Customer, CustomerApiService, CwmSharedModule, DbKeys, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MSALGuardConfigFactory, MSALInstanceFactory, MockConfig, MockInventoryApiResponse, MockProfile, NamedColors, OnElementStyle, Product, Profile, SafeHtmlPipe, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, waitFor };
|
|
27488
|
+
export { AuthService, BaseApiService, CardTypes, Category, ConfigService, Customer, CustomerApiService, CwmSharedModule, DbKeys, InventoryApiService, Justifications, LocalStorageService, LogService, LoggingVerbosity, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory, MockConfig, MockInventoryApiResponse, MockProfile, NamedColors, OnElementStyle, Product, Profile, SafeHtmlPipe, TimeSpan, TimeSpanOverflowError, UserTypes, Utilities, decodeToken, doWithLock, isTokenValid, waitFor };
|
|
27485
27489
|
//# sourceMappingURL=transcommerce-cwm-shared.mjs.map
|