@sudobility/building_blocks 0.0.85 → 0.0.89
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/dist/{SafeSubscriptionContext-BN1cInbb.js → SafeSubscriptionContext-Bi7r_EZt.js} +5 -3
- package/dist/{SafeSubscriptionContext-BN1cInbb.js.map → SafeSubscriptionContext-Bi7r_EZt.js.map} +1 -1
- package/dist/components/app/SudobilityApp.d.ts +9 -1
- package/dist/components/app/SudobilityAppWithFirebaseAuth.d.ts +10 -2
- package/dist/components/app/SudobilityAppWithFirebaseAuthAndEntities.d.ts +10 -2
- package/dist/firebase.js +35 -7
- package/dist/firebase.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -10352,7 +10352,8 @@ function SudobilityApp({
|
|
|
10352
10352
|
NetworkProvider: NetworkProviderProp,
|
|
10353
10353
|
PageTracker: PageTrackerProp,
|
|
10354
10354
|
AppProviders,
|
|
10355
|
-
storageKeyPrefix = "sudobility"
|
|
10355
|
+
storageKeyPrefix = "sudobility",
|
|
10356
|
+
RouterWrapper
|
|
10356
10357
|
}) {
|
|
10357
10358
|
const i18nToUse = i18nInstance ?? getI18n();
|
|
10358
10359
|
const NetworkProviderComponent = NetworkProviderProp === false ? null : NetworkProviderProp ?? DefaultNetworkProvider;
|
|
@@ -10361,13 +10362,14 @@ function SudobilityApp({
|
|
|
10361
10362
|
const ToastProviderComponent = ToastProviderProp ?? DefaultToastProvider;
|
|
10362
10363
|
const ToastContainerComponent = ToastContainer ?? DefaultToastContainer;
|
|
10363
10364
|
const queryClientInstance = queryClient ?? getDefaultQueryClient();
|
|
10365
|
+
const RouterWrapperComponent = RouterWrapper ?? BrowserRouter;
|
|
10364
10366
|
let routerContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10365
10367
|
PageTrackerComponent && /* @__PURE__ */ jsx(PageTrackerComponent, {}),
|
|
10366
10368
|
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingFallback, {}), children }),
|
|
10367
10369
|
/* @__PURE__ */ jsx(ToastContainerComponent, {}),
|
|
10368
10370
|
showInfoBanner && /* @__PURE__ */ jsx(InfoBanner, {})
|
|
10369
10371
|
] });
|
|
10370
|
-
routerContent = /* @__PURE__ */ jsx(
|
|
10372
|
+
routerContent = /* @__PURE__ */ jsx(RouterWrapperComponent, { children: routerContent });
|
|
10371
10373
|
if (AppProviders) {
|
|
10372
10374
|
routerContent = /* @__PURE__ */ jsx(AppProviders, { children: routerContent });
|
|
10373
10375
|
}
|
|
@@ -10409,4 +10411,4 @@ export {
|
|
|
10409
10411
|
useSafeSubscription as u,
|
|
10410
10412
|
zl as z
|
|
10411
10413
|
};
|
|
10412
|
-
//# sourceMappingURL=SafeSubscriptionContext-
|
|
10414
|
+
//# sourceMappingURL=SafeSubscriptionContext-Bi7r_EZt.js.map
|