@burdenoff/fe-libs 2026.819.4 → 2026.823.1
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/README.md +66 -0
- package/dist/button/Button.d.ts +1 -1
- package/dist/chrome/AppShellLayout.d.ts +14 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -1
- package/dist/chrome/AppShellLayout.js +13 -10
- package/dist/chrome/DynamicFooter.d.ts +6 -1
- package/dist/chrome/DynamicFooter.d.ts.map +1 -1
- package/dist/chrome/DynamicFooter.js +21 -20
- package/dist/chrome/Footer.d.ts +6 -0
- package/dist/chrome/Footer.d.ts.map +1 -1
- package/dist/chrome/Footer.js +46 -45
- package/dist/chrome/FooterBar.d.ts +6 -1
- package/dist/chrome/FooterBar.d.ts.map +1 -1
- package/dist/chrome/FooterBar.js +28 -26
- package/dist/chrome/HeaderBar.d.ts.map +1 -1
- package/dist/chrome/HeaderBar.js +3 -0
- package/dist/chrome/MobileTabBar.d.ts +26 -0
- package/dist/chrome/MobileTabBar.d.ts.map +1 -0
- package/dist/chrome/MobileTabBar.js +194 -0
- package/dist/chrome/NativePageTransition.d.ts +10 -0
- package/dist/chrome/NativePageTransition.d.ts.map +1 -0
- package/dist/chrome/NativePageTransition.js +19 -0
- package/dist/chrome/NativeTopBar.d.ts +21 -0
- package/dist/chrome/NativeTopBar.d.ts.map +1 -0
- package/dist/chrome/NativeTopBar.js +72 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -1
- package/dist/chrome/NotificationCenter.js +70 -65
- package/dist/chrome/ProductSideNav.d.ts.map +1 -1
- package/dist/chrome/ProductSideNav.js +44 -74
- package/dist/chrome/SwipeNavigation.d.ts +36 -0
- package/dist/chrome/SwipeNavigation.d.ts.map +1 -0
- package/dist/chrome/SwipeNavigation.js +111 -0
- package/dist/chrome/index.d.ts +13 -7
- package/dist/chrome/index.d.ts.map +1 -1
- package/dist/chrome/mobileTabBar/selectTabs.d.ts +45 -0
- package/dist/chrome/mobileTabBar/selectTabs.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/selectTabs.js +28 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts +18 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.js +16 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts +18 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.js +41 -0
- package/dist/chrome/swipe/swipeMath.d.ts +25 -0
- package/dist/chrome/swipe/swipeMath.d.ts.map +1 -0
- package/dist/chrome/swipe/swipeMath.js +14 -0
- package/dist/chrome/swipe/swipeState.d.ts +10 -0
- package/dist/chrome/swipe/swipeState.d.ts.map +1 -0
- package/dist/chrome/swipe/swipeState.js +11 -0
- package/dist/chrome.js +7 -1
- package/dist/shared/components/DesktopUpdateToast.d.ts +9 -0
- package/dist/shared/components/DesktopUpdateToast.d.ts.map +1 -0
- package/dist/shared/components/DesktopUpdateToast.js +39 -0
- package/dist/shared/components/PWAInstallBanner.js +1 -1
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -1
- package/dist/shared/components/SSORedirectGuard.js +41 -45
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.d.ts +10 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.js +16 -12
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -1
- package/dist/shared/config/gatewayUrls.js +22 -19
- package/dist/shared/config/index.d.ts +1 -1
- package/dist/shared/config/index.d.ts.map +1 -1
- package/dist/shared/events/index.d.ts +13 -1
- package/dist/shared/events/index.d.ts.map +1 -1
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +7 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -1
- package/dist/shared/hooks/usePWA.d.ts.map +1 -1
- package/dist/shared/hooks/usePWA.js +34 -30
- package/dist/shared/native/consumers.d.ts +15 -1
- package/dist/shared/native/consumers.d.ts.map +1 -1
- package/dist/shared/native/consumers.js +26 -7
- package/dist/shared/native/desktop.d.ts +123 -0
- package/dist/shared/native/desktop.d.ts.map +1 -0
- package/dist/shared/native/desktop.js +280 -0
- package/dist/shared/native/entry.d.ts +39 -0
- package/dist/shared/native/entry.d.ts.map +1 -0
- package/dist/shared/native/entry.js +13 -0
- package/dist/shared/native/hooks/index.d.ts +10 -0
- package/dist/shared/native/hooks/index.d.ts.map +1 -1
- package/dist/shared/native/hooks/index.js +6 -0
- package/dist/shared/native/hooks/useActionSheet.d.ts +63 -0
- package/dist/shared/native/hooks/useActionSheet.d.ts.map +1 -0
- package/dist/shared/native/hooks/useActionSheet.js +45 -0
- package/dist/shared/native/hooks/useDesktop.d.ts +15 -0
- package/dist/shared/native/hooks/useDesktop.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktop.js +18 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.d.ts +7 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.js +20 -0
- package/dist/shared/native/hooks/useDesktopWindowState.d.ts +7 -0
- package/dist/shared/native/hooks/useDesktopWindowState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktopWindowState.js +9 -0
- package/dist/shared/native/hooks/useHaptics.d.ts +1 -0
- package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -1
- package/dist/shared/native/hooks/useHaptics.js +6 -6
- package/dist/shared/native/hooks/useNetworkStatus.d.ts +23 -0
- package/dist/shared/native/hooks/useNetworkStatus.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNetworkStatus.js +29 -0
- package/dist/shared/native/hooks/usePullToRefresh.d.ts +62 -0
- package/dist/shared/native/hooks/usePullToRefresh.d.ts.map +1 -0
- package/dist/shared/native/hooks/usePullToRefresh.js +84 -0
- package/dist/shared/native/index.d.ts +6 -1
- package/dist/shared/native/index.d.ts.map +1 -1
- package/dist/shared/native/platform.d.ts.map +1 -1
- package/dist/shared/native/platform.js +2 -1
- package/dist/shared/native/purchases.d.ts +7 -1
- package/dist/shared/native/purchases.d.ts.map +1 -1
- package/dist/shared/native/purchases.js +3 -3
- package/dist/shared/native/types.d.ts +136 -0
- package/dist/shared/native/types.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +117 -115
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +64 -51
- package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.d.ts.map +1 -1
- package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.js +25 -29
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -1
- package/dist/shared/utils/gatewayFetchRewrite.js +87 -84
- package/dist/shared-components.js +2 -1
- package/dist/shared-config.js +10 -10
- package/dist/shared-native.js +21 -13
- package/dist/shared.js +120 -111
- package/dist/shell-native/actionSheet.d.ts +7 -0
- package/dist/shell-native/actionSheet.d.ts.map +1 -0
- package/dist/shell-native/actionSheet.js +26 -0
- package/dist/shell-native/app-lifecycle.d.ts +4 -0
- package/dist/shell-native/app-lifecycle.d.ts.map +1 -0
- package/dist/shell-native/app-lifecycle.js +12 -0
- package/dist/shell-native/auth-navigation.d.ts +4 -0
- package/dist/shell-native/auth-navigation.d.ts.map +1 -0
- package/dist/shell-native/auth-navigation.js +95 -0
- package/dist/shell-native/back-button.d.ts +8 -0
- package/dist/shell-native/back-button.d.ts.map +1 -0
- package/dist/shell-native/back-button.js +49 -0
- package/dist/shell-native/boot.d.ts +10 -0
- package/dist/shell-native/boot.d.ts.map +1 -0
- package/dist/shell-native/boot.js +65 -0
- package/dist/shell-native/bridge.d.ts +7 -0
- package/dist/shell-native/bridge.d.ts.map +1 -0
- package/dist/shell-native/bridge.js +30 -0
- package/dist/shell-native/browser.d.ts +12 -0
- package/dist/shell-native/browser.d.ts.map +1 -0
- package/dist/shell-native/browser.js +45 -0
- package/dist/shell-native/capacitor-config.d.ts +21 -0
- package/dist/shell-native/capacitor-config.d.ts.map +1 -0
- package/dist/shell-native/capacitor-config.js +103 -0
- package/dist/shell-native/clipboard.d.ts +3 -0
- package/dist/shell-native/clipboard.d.ts.map +1 -0
- package/dist/shell-native/clipboard.js +26 -0
- package/dist/shell-native/deep-link.d.ts +19 -0
- package/dist/shell-native/deep-link.d.ts.map +1 -0
- package/dist/shell-native/deep-link.js +53 -0
- package/dist/shell-native/desktop-bridge.d.ts +14 -0
- package/dist/shell-native/desktop-bridge.d.ts.map +1 -0
- package/dist/shell-native/desktop-bridge.js +17 -0
- package/dist/shell-native/device.d.ts +4 -0
- package/dist/shell-native/device.d.ts.map +1 -0
- package/dist/shell-native/device.js +27 -0
- package/dist/shell-native/dialog.d.ts +4 -0
- package/dist/shell-native/dialog.d.ts.map +1 -0
- package/dist/shell-native/dialog.js +13 -0
- package/dist/shell-native/feedback.d.ts +6 -0
- package/dist/shell-native/feedback.d.ts.map +1 -0
- package/dist/shell-native/feedback.js +29 -0
- package/dist/shell-native/index.d.ts +54 -0
- package/dist/shell-native/index.d.ts.map +1 -0
- package/dist/shell-native/keyboard.d.ts +15 -0
- package/dist/shell-native/keyboard.d.ts.map +1 -0
- package/dist/shell-native/keyboard.js +42 -0
- package/dist/shell-native/network.d.ts +9 -0
- package/dist/shell-native/network.d.ts.map +1 -0
- package/dist/shell-native/network.js +40 -0
- package/dist/shell-native/ota.d.ts +3 -0
- package/dist/shell-native/ota.d.ts.map +1 -0
- package/dist/shell-native/ota.js +21 -0
- package/dist/shell-native/platform.d.ts +21 -0
- package/dist/shell-native/platform.d.ts.map +1 -0
- package/dist/shell-native/platform.js +51 -0
- package/dist/shell-native/preview.d.ts +18 -0
- package/dist/shell-native/preview.d.ts.map +1 -0
- package/dist/shell-native/preview.js +124 -0
- package/dist/shell-native/push.d.ts +14 -0
- package/dist/shell-native/push.d.ts.map +1 -0
- package/dist/shell-native/push.js +62 -0
- package/dist/shell-native/pwa.d.ts +14 -0
- package/dist/shell-native/pwa.d.ts.map +1 -0
- package/dist/shell-native/pwa.js +49 -0
- package/dist/shell-native/service-worker.d.ts +5 -0
- package/dist/shell-native/service-worker.d.ts.map +1 -0
- package/dist/shell-native/service-worker.js +144 -0
- package/dist/shell-native/share.d.ts +4 -0
- package/dist/shell-native/share.d.ts.map +1 -0
- package/dist/shell-native/share.js +19 -0
- package/dist/shell-native/splash.d.ts +16 -0
- package/dist/shell-native/splash.d.ts.map +1 -0
- package/dist/shell-native/splash.js +25 -0
- package/dist/shell-native/system-bars.d.ts +24 -0
- package/dist/shell-native/system-bars.d.ts.map +1 -0
- package/dist/shell-native/system-bars.js +49 -0
- package/dist/shell-native/toast.d.ts +4 -0
- package/dist/shell-native/toast.d.ts.map +1 -0
- package/dist/shell-native/toast.js +16 -0
- package/dist/shell-native/types.d.ts +292 -0
- package/dist/shell-native/types.d.ts.map +1 -0
- package/dist/shell-native/web-manifest.d.ts +36 -0
- package/dist/shell-native/web-manifest.d.ts.map +1 -0
- package/dist/shell-native/web-manifest.js +55 -0
- package/dist/shell-native.d.ts +2 -0
- package/dist/shell-native.js +29 -0
- package/dist/ui/action-sheet.d.ts +29 -0
- package/dist/ui/action-sheet.d.ts.map +1 -0
- package/dist/ui/action-sheet.js +53 -0
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/index.d.ts +6 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/native-welcome.d.ts +61 -0
- package/dist/ui/native-welcome.d.ts.map +1 -0
- package/dist/ui/native-welcome.js +152 -0
- package/dist/ui/offline-banner.d.ts +22 -0
- package/dist/ui/offline-banner.d.ts.map +1 -0
- package/dist/ui/offline-banner.js +34 -0
- package/dist/ui/pull-to-refresh.d.ts +29 -0
- package/dist/ui/pull-to-refresh.d.ts.map +1 -0
- package/dist/ui/pull-to-refresh.js +44 -0
- package/dist/ui/pwa-update-toast.d.ts +34 -0
- package/dist/ui/pwa-update-toast.d.ts.map +1 -0
- package/dist/ui/pwa-update-toast.js +43 -0
- package/dist/ui/select.d.ts +38 -0
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +162 -61
- package/dist/ui.js +40 -35
- package/package.json +93 -4
- package/src/shared/styles/app-shell.css +3 -0
- package/src/shared/styles/native.css +577 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +0 -268
|
@@ -19,26 +19,27 @@ import { ShellUiProvider as x } from "./shell/ShellUiProvider.js";
|
|
|
19
19
|
import { ContextManagerProvider as ie } from "./shell/ContextManagerProvider.js";
|
|
20
20
|
import { AuthTokenProvider as ae } from "./shell/AuthTokenProvider.js";
|
|
21
21
|
import { MultiGatewayProvider as oe } from "./shell/MultiGatewayProvider.js";
|
|
22
|
-
import { G as S, Q as C, j as
|
|
23
|
-
import { ProfileI18nBridge as
|
|
22
|
+
import { G as S, Q as C, j as w, w as se } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
23
|
+
import { ProfileI18nBridge as ce } from "./shell/ProfileI18nBridge.js";
|
|
24
24
|
import { ProfileGeographyBridge as T } from "./shell/ProfileGeographyBridge.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
25
|
+
import { DesktopUpdateToast as E } from "../components/DesktopUpdateToast.js";
|
|
26
|
+
import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
|
|
27
|
+
import { BroadcastChannelSink as O } from "../events/sinks/BroadcastChannelSink.js";
|
|
28
|
+
import { BackendAuditSink as k } from "../events/sinks/BackendAuditSink.js";
|
|
29
|
+
import { AnalyticsConsentBanner as A, RybbitSink as j } from "../events/sinks/RybbitSink.js";
|
|
30
|
+
import { OtelBrowserSink as M } from "../events/sinks/OtelBrowserSink.js";
|
|
31
|
+
import { EventBusProvider as le, useEventBus as N } from "../../shared-events.js";
|
|
32
|
+
import { useReferralAttribution as P } from "../hooks/useReferralAttribution.js";
|
|
33
|
+
import { TourPlayerProvider as F } from "../tours/TourPlayerProvider.js";
|
|
34
|
+
import { ToursProvider as I, useToursContext as L } from "../tours/ToursContext.js";
|
|
35
|
+
import { TourInitializer as R } from "../tours/TourInitializer.js";
|
|
36
|
+
import { Suspense as z, useCallback as B, useEffect as V, useMemo as H, useRef as U } from "react";
|
|
37
|
+
import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
|
|
38
|
+
import { BrowserRouter as ue, useLocation as q } from "react-router";
|
|
39
|
+
import { Toaster as J, toast as Y } from "sonner";
|
|
39
40
|
import { MutationCache as de, QueryCache as fe, QueryClient as pe, QueryClientProvider as me } from "@tanstack/react-query";
|
|
40
41
|
//#region src/shared/providers/AppShellProvider.tsx
|
|
41
|
-
var
|
|
42
|
+
var X = {
|
|
42
43
|
artistrybase: { prod: "cfbecacb6002" },
|
|
43
44
|
atheletebridge: { prod: "c34c6ead7aa8" },
|
|
44
45
|
adaptercloud: {},
|
|
@@ -64,8 +65,8 @@ var Y = {
|
|
|
64
65
|
subscriberbot: {},
|
|
65
66
|
intelwatchtower: {},
|
|
66
67
|
kadaikodi: {}
|
|
67
|
-
},
|
|
68
|
-
function
|
|
68
|
+
}, Z = /* @__PURE__ */ "nav.route.changed,auth.signed_in,auth.signed_out,support.ticket.created,support.ticket.closed,support.ticket.reopened,support.kb.article_rated,conversations.conversation.created,conversations.conversation.archived,notification.item.opened,notification.preference.updated,notification.admin.sent,notification.template.saved,notification.schedule.updated,collabkin.tree.created,collabkin.person.created,collabkin.memory.created,collabkin.story.created,collabkin.member.invited,crewfoundry.page.viewed,crewfoundry.dashboard.viewed,crewfoundry.job_posting.created,crewfoundry.candidate.created,crewfoundry.employee.created,crewfoundry.team.created,crewfoundry.project.created,crewfoundry.course.enrolled,crewfoundry.learning_path.created,crewfoundry.service.listed,crewfoundry.leave.approved,crewfoundry.payroll.processed,crewfoundry.invoice.created,coolandlovely.page.viewed,coolandlovely.brand.created,coolandlovely.collection.created,coolandlovely.style_item.created,coolandlovely.look.created,coolandlovely.collaboration.created,coolandlovely.lookbook.created,coolandlovely.wardrobe.item_added,coolandlovely.search.performed,vibecontrols.agent.registered,atheletebridge.page.viewed,atheletebridge.team.created,atheletebridge.fixture.created,atheletebridge.program.created,atheletebridge.session.completed,atheletebridge.metric.logged,atheletebridge.tournament.created,vibecontrols.agent.gateway_auth_setup,vibecontrols.session.created,vibecontrols.session.started,vibecontrols.session.terminal_opened_in_browser,vibecontrols.session.share_link_created,vibecontrols.session.joined_shared,vibecontrols.tunnel.created,vibecontrols.tunnel.started,vibecontrols.vibedeck.button_executed,vibecontrols.quota.agent_limit_hit,vibecontrols.quota.session_limit_hit,vibecontrols.quota.tunnel_limit_hit,vibecontrols.billing.upgrade_clicked,bigconsole.dashboard.import_clicked,bigconsole.dashboard.imported,bigconsole.dashboard.share_clicked,bigconsole.dashboard.shared,bigconsole.data_sink.import_clicked,bigconsole.data_sink.imported,bigconsole.widget.create_clicked,bigconsole.widget.created,bigconsole.widget.duplicate_clicked,bigconsole.widget.duplicated,bigconsole.ai.generate_clicked,bigconsole.ai.dashboard_generated,bigconsole.ai.create_dashboard_clicked,bigconsole.ai.dashboard_created,assethandler.page.viewed,assethandler.asset.viewed,assethandler.asset.created,assethandler.work_order.viewed,assethandler.work_order.created,assethandler.incident.viewed,assethandler.incident.created,assethandler.change.viewed,assethandler.change.created,assethandler.problem.viewed,assethandler.problem.created,assethandler.maintenance.viewed,assethandler.maintenance.created,assethandler.report.viewed,assethandler.analytics.viewed,movethewheels.page.viewed,movethewheels.shipment.created,movethewheels.shipment.delivered,movethewheels.order.created,movethewheels.route.planned,movethewheels.vehicle.assigned,movethewheels.warehouse.inbound_received,theglobalfuel.dashboard.viewed,theglobalfuel.asset.created,theglobalfuel.production.recorded,theglobalfuel.reserve.created,theglobalfuel.contract.created,theglobalfuel.shipment.scheduled,theglobalfuel.shipment.delivered,theglobalfuel.inventory_lot.created,theglobalfuel.emission.recorded,theglobalfuel.emission.verified,theglobalfuel.compliance_cert.created,housingvista.dashboard.viewed,housingvista.property.created,housingvista.property.updated,housingvista.property.deleted,housingvista.property.viewed,housingvista.shortlist.property_added,housingvista.transaction.created,housingvista.transaction.updated,housingvista.investment.created,housingvista.offer.created,housingvista.viewing.scheduled,housingvista.chat.conversation_opened,housingvista.chat.message_sent,housingvista.analytics.viewed,housingvista.asset.created,housingvista.asset.updated,housingvista.amc.purchased,housingvista.verification.submitted,housingvista.home_loan.apply_clicked,housingvista.market_analytics.viewed,housingvista.search.performed,housingvista.export.requested,manufacturedops.production_order.created,manufacturedops.production_order.updated,manufacturedops.production_order.transitioned,manufacturedops.operation.added,manufacturedops.operation.recorded,manufacturedops.work_center.created,manufacturedops.work_center.updated,manufacturedops.work_center.archived,manufacturedops.material_lot.created,manufacturedops.material_lot.updated,manufacturedops.material_lot.status_updated,manufacturedops.inspection_plan.created,manufacturedops.quality_inspection.recorded,manufacturedops.non_conformance.raised,manufacturedops.non_conformance.updated,manufacturedops.non_conformance.transitioned,manufacturedops.asset.created,manufacturedops.maintenance_work_order.created,manufacturedops.maintenance_work_order.transitioned,manufacturedops.downtime_event.recorded,manufacturedops.page.viewed,subscriberbot.page.viewed,adaptercloud.page.viewed,comradecircle.page.viewed,comradecircle.circle.created,comradecircle.post.created,comradecircle.event.created,comradecircle.member.invited,psw.client.created,psw.client.updated,psw.client.archived,psw.engagement.created,psw.engagement.transitioned,psw.matter.created,psw.matter.closed,psw.timeentry.created,psw.invoice.created,psw.compliance.resolved,psw.conflictcheck.recorded,psw.document.created,psw.practicearea.created,psw.search.performed,psw.export.requested,mybodyshield.page.viewed,mybodyshield.program.created,mybodyshield.program.updated,mybodyshield.program.status_changed,mybodyshield.program.archived,mybodyshield.workout.created,mybodyshield.exercise.created,mybodyshield.session.started,intelwatchtower.page.viewed,intelwatchtower.source.created,intelwatchtower.mission.created,intelwatchtower.mission.assigned,intelwatchtower.mission.completed,intelwatchtower.entity.created,intelwatchtower.entity.linked,intelwatchtower.indicator.created,intelwatchtower.observation.created,intelwatchtower.requirement.created,intelwatchtower.alert.created,intelwatchtower.alert.triaged,intelwatchtower.alert.escalated,intelwatchtower.case.created,intelwatchtower.case.closed,intelwatchtower.report.created,intelwatchtower.report.exported,intelwatchtower.task.created,intelwatchtower.task.completed,intelwatchtower.cop.opened,govcitizenhub.page.viewed,govcitizenhub.dashboard.viewed,govcitizenhub.service.published,govcitizenhub.application.submitted,govcitizenhub.application.decided,govcitizenhub.permit.issued,govcitizenhub.payment.settled,govcitizenhub.grievance.reported,govcitizenhub.grievance.resolved,govcitizenhub.search.performed,cosmicintersection.page.viewed,labsofscience.page.viewed,labsofscience.project.created,labsofscience.experiment.created,labsofscience.protocol.created,labsofscience.dataset.created,labsofscience.inventory_item.created,labsofscience.notebook_entry.signed,labsofscience.pipeline.run_started,hookmovies.page.viewed,headshotmarketing.page.viewed,timecampus.page.viewed,timecampus.dashboard.viewed,timecampus.timer.started,timecampus.timer.stopped,timecampus.time_entry.created,timecampus.timesheet.submitted,timecampus.report.viewed,timecampus.project.viewed,timecampus.meeting.created,timecampus.pomodoro.session.completed,timecampus.focus_score.viewed,kadaikodi.page.viewed,healthybowl.farm.created,healthybowl.crop.created,healthybowl.crop.updated,healthybowl.harvest.recorded,workspaces.page.viewed,workspace.created,project.created,workspace-member.added,project-member.added".split(","), Q = 4e3;
|
|
69
|
+
function he(e) {
|
|
69
70
|
let t = e.technicalMessage ?? e.extensions?.technicalMessage, n = {
|
|
70
71
|
code: e.code,
|
|
71
72
|
operationName: e.operationName,
|
|
@@ -77,13 +78,13 @@ function Q(e) {
|
|
|
77
78
|
};
|
|
78
79
|
console.error("[Burdenoff backend error]", e.message, n);
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
+
function ge(e) {
|
|
81
82
|
return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function _e(e, t) {
|
|
84
85
|
return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function ve() {
|
|
87
88
|
return {
|
|
88
89
|
BASE_URL: "/",
|
|
89
90
|
DEV: !1,
|
|
@@ -92,8 +93,8 @@ function _e() {
|
|
|
92
93
|
SSR: !1
|
|
93
94
|
};
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
-
let n =
|
|
96
|
+
function ye(e, t) {
|
|
97
|
+
let n = ge(t.VITE_DEPLOY_ENV ?? t.MODE), r = _e(t, n), i = X[e], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
|
|
97
98
|
return {
|
|
98
99
|
enabled: r,
|
|
99
100
|
appVersion: t.VITE_APP_VERSION || "0.0.0",
|
|
@@ -104,7 +105,7 @@ function ve(e, t) {
|
|
|
104
105
|
enabled: r && !!o,
|
|
105
106
|
siteId: o,
|
|
106
107
|
scriptUrl: t.VITE_RYBBIT_SCRIPT_URL,
|
|
107
|
-
allowlist:
|
|
108
|
+
allowlist: Z,
|
|
108
109
|
identifyOn: "auth.signed_in",
|
|
109
110
|
rename: { "nav.route.changed": "pageview" }
|
|
110
111
|
},
|
|
@@ -119,16 +120,16 @@ function ve(e, t) {
|
|
|
119
120
|
}
|
|
120
121
|
};
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s } =
|
|
124
|
-
return /* @__PURE__ */
|
|
125
|
-
onTourStart:
|
|
123
|
+
function be({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
124
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = L(), c = B((e, t) => e.steps?.[t], []);
|
|
125
|
+
return /* @__PURE__ */ K(F, {
|
|
126
|
+
onTourStart: B((e) => {
|
|
126
127
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
127
128
|
}, [s, a]),
|
|
128
|
-
onTourComplete:
|
|
129
|
+
onTourComplete: B((e) => {
|
|
129
130
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
130
131
|
}, [s, a]),
|
|
131
|
-
onTourSkip:
|
|
132
|
+
onTourSkip: B((e, t) => {
|
|
132
133
|
let n = c(e, t);
|
|
133
134
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
134
135
|
stepId: n?.id,
|
|
@@ -139,14 +140,14 @@ function ye({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
139
140
|
s,
|
|
140
141
|
a
|
|
141
142
|
]),
|
|
142
|
-
onStepChange:
|
|
143
|
+
onStepChange: B((e, t) => {
|
|
143
144
|
let n = c(e, t);
|
|
144
145
|
n && s("STEP_VIEWED", e.id, {
|
|
145
146
|
stepId: n.id,
|
|
146
147
|
stepOrder: n.stepOrder
|
|
147
148
|
});
|
|
148
149
|
}, [c, s]),
|
|
149
|
-
onStepComplete:
|
|
150
|
+
onStepComplete: B((e, t) => {
|
|
150
151
|
let n = c(e, t);
|
|
151
152
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
152
153
|
stepId: n.id,
|
|
@@ -158,18 +159,19 @@ function ye({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
158
159
|
s
|
|
159
160
|
]),
|
|
160
161
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ G(R, {}),
|
|
162
163
|
e,
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ G(xe, {}),
|
|
165
|
+
/* @__PURE__ */ G(Ce, {}),
|
|
166
|
+
/* @__PURE__ */ G(J, {
|
|
166
167
|
position: n,
|
|
167
168
|
richColors: !0,
|
|
168
169
|
closeButton: !0
|
|
169
170
|
}),
|
|
170
|
-
|
|
171
|
+
/* @__PURE__ */ G(E, {}),
|
|
172
|
+
t && /* @__PURE__ */ G(z, {
|
|
171
173
|
fallback: null,
|
|
172
|
-
children: /* @__PURE__ */
|
|
174
|
+
children: /* @__PURE__ */ G(_, {
|
|
173
175
|
productName: r,
|
|
174
176
|
brandInitial: i
|
|
175
177
|
})
|
|
@@ -177,44 +179,44 @@ function ye({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
177
179
|
]
|
|
178
180
|
});
|
|
179
181
|
}
|
|
180
|
-
function
|
|
181
|
-
let e =
|
|
182
|
-
return
|
|
182
|
+
function xe() {
|
|
183
|
+
let e = U(null);
|
|
184
|
+
return V(() => {
|
|
183
185
|
let t = (t) => {
|
|
184
186
|
let n = t instanceof CustomEvent && a(t.detail) ? t.detail : null;
|
|
185
187
|
if (!o(n)) return;
|
|
186
|
-
|
|
188
|
+
he(n);
|
|
187
189
|
let r = `${n.code ?? ""}|${n.message}`, i = Date.now(), s = e.current;
|
|
188
|
-
s?.key === r && i - s.shownAt <
|
|
190
|
+
s?.key === r && i - s.shownAt < Q || (e.current = {
|
|
189
191
|
key: r,
|
|
190
192
|
shownAt: i
|
|
191
|
-
},
|
|
193
|
+
}, Y.error(n.message, { duration: 7e3 }));
|
|
192
194
|
};
|
|
193
195
|
return window.addEventListener(n, t), () => window.removeEventListener(n, t);
|
|
194
196
|
}, []), null;
|
|
195
197
|
}
|
|
196
|
-
var $ = "burdenoff-connection-status",
|
|
197
|
-
function
|
|
198
|
-
let e =
|
|
199
|
-
return
|
|
198
|
+
var $ = "burdenoff-connection-status", Se = 1500;
|
|
199
|
+
function Ce() {
|
|
200
|
+
let e = U(null), t = U(!1);
|
|
201
|
+
return V(() => {
|
|
200
202
|
let n = () => {
|
|
201
|
-
t.current || (t.current = !0,
|
|
203
|
+
t.current || (t.current = !0, Y.error("Connection lost. Trying to reconnect…", {
|
|
202
204
|
id: $,
|
|
203
205
|
duration: Infinity
|
|
204
206
|
}));
|
|
205
207
|
}, i = () => {
|
|
206
208
|
t.current || e.current || (e.current = setTimeout(() => {
|
|
207
209
|
e.current = null, n();
|
|
208
|
-
},
|
|
210
|
+
}, Se));
|
|
209
211
|
}, a = (n) => {
|
|
210
212
|
if (e.current &&= (clearTimeout(e.current), null), !t.current) {
|
|
211
|
-
|
|
213
|
+
Y.dismiss($);
|
|
212
214
|
return;
|
|
213
215
|
}
|
|
214
|
-
t.current = !1, n ?
|
|
216
|
+
t.current = !1, n ? Y.success("Back online", {
|
|
215
217
|
id: $,
|
|
216
218
|
duration: 2500
|
|
217
|
-
}) :
|
|
219
|
+
}) : Y.dismiss($);
|
|
218
220
|
}, o = (e) => {
|
|
219
221
|
if (!(e instanceof CustomEvent)) return;
|
|
220
222
|
let t = e.detail;
|
|
@@ -227,19 +229,19 @@ function Se() {
|
|
|
227
229
|
};
|
|
228
230
|
}, []), null;
|
|
229
231
|
}
|
|
230
|
-
function
|
|
231
|
-
let p =
|
|
232
|
-
|
|
233
|
-
let m = /* @__PURE__ */
|
|
232
|
+
function we({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, defaultMode: i, defaultDensity: a, defaultTypography: o, defaultGlass: s, productName: c, brandInitial: l, enablePWA: u, toasterPosition: d, tourPageIdFromPath: f }) {
|
|
233
|
+
let p = q();
|
|
234
|
+
P();
|
|
235
|
+
let m = /* @__PURE__ */ G(T, { children: /* @__PURE__ */ G(v, { children: /* @__PURE__ */ G(y, {
|
|
234
236
|
workspaceId: null,
|
|
235
237
|
gateway: "global",
|
|
236
238
|
defaultEnabled: !0,
|
|
237
|
-
children: /* @__PURE__ */
|
|
239
|
+
children: /* @__PURE__ */ G(b, { children: /* @__PURE__ */ G(x, { children: /* @__PURE__ */ G(g, {
|
|
238
240
|
fallback: null,
|
|
239
|
-
children: /* @__PURE__ */
|
|
241
|
+
children: /* @__PURE__ */ G(I, {
|
|
240
242
|
disabled: p.pathname.startsWith("/devportal") || p.pathname.startsWith("/organizations") || p.pathname.startsWith("/workspaces"),
|
|
241
243
|
getPageIdFromPath: f,
|
|
242
|
-
children: /* @__PURE__ */
|
|
244
|
+
children: /* @__PURE__ */ G(be, {
|
|
243
245
|
enablePWA: u,
|
|
244
246
|
toasterPosition: d,
|
|
245
247
|
productName: c,
|
|
@@ -249,22 +251,22 @@ function Ce({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBra
|
|
|
249
251
|
})
|
|
250
252
|
}) }) })
|
|
251
253
|
}) }) });
|
|
252
|
-
return /* @__PURE__ */
|
|
254
|
+
return /* @__PURE__ */ K(h, {
|
|
253
255
|
defaultBrand: r,
|
|
254
256
|
defaultMode: i,
|
|
255
257
|
defaultDensity: a,
|
|
256
258
|
defaultTypography: o,
|
|
257
259
|
defaultGlass: s,
|
|
258
|
-
children: [/* @__PURE__ */
|
|
260
|
+
children: [/* @__PURE__ */ G(Te, {}), /* @__PURE__ */ G(ce, {
|
|
259
261
|
i18nProductId: t,
|
|
260
262
|
fallbackTranslations: n,
|
|
261
263
|
children: m
|
|
262
264
|
})]
|
|
263
265
|
});
|
|
264
266
|
}
|
|
265
|
-
function
|
|
266
|
-
let e =
|
|
267
|
-
return
|
|
267
|
+
function Te() {
|
|
268
|
+
let e = q();
|
|
269
|
+
return V(() => {
|
|
268
270
|
e.hash || requestAnimationFrame(() => {
|
|
269
271
|
window.scrollTo({
|
|
270
272
|
top: 0,
|
|
@@ -282,7 +284,7 @@ function we() {
|
|
|
282
284
|
e.hash
|
|
283
285
|
]), null;
|
|
284
286
|
}
|
|
285
|
-
function
|
|
287
|
+
function Ee(e) {
|
|
286
288
|
if (e instanceof Error) return e.message;
|
|
287
289
|
if (typeof e == "string") return e;
|
|
288
290
|
try {
|
|
@@ -291,9 +293,9 @@ function Te(e) {
|
|
|
291
293
|
return String(e);
|
|
292
294
|
}
|
|
293
295
|
}
|
|
294
|
-
function
|
|
295
|
-
let e =
|
|
296
|
-
return
|
|
296
|
+
function De() {
|
|
297
|
+
let e = N(), t = q(), n = U(void 0), r = U(void 0), i = U(null);
|
|
298
|
+
return V(() => {
|
|
297
299
|
let a = `${t.pathname}${t.search}${t.hash}`;
|
|
298
300
|
if (r.current !== a) return i.current && clearTimeout(i.current), i.current = setTimeout(() => {
|
|
299
301
|
i.current = null;
|
|
@@ -313,7 +315,7 @@ function Ee() {
|
|
|
313
315
|
t.hash,
|
|
314
316
|
t.pathname,
|
|
315
317
|
t.search
|
|
316
|
-
]),
|
|
318
|
+
]), V(() => {
|
|
317
319
|
let t = (t) => {
|
|
318
320
|
e.emit("error.runtime.caught", {
|
|
319
321
|
message: t.message || "Runtime error",
|
|
@@ -323,12 +325,12 @@ function Ee() {
|
|
|
323
325
|
errorName: t.error instanceof Error ? t.error.name : void 0
|
|
324
326
|
});
|
|
325
327
|
}, n = (t) => {
|
|
326
|
-
e.emit("error.unhandledrejection", { reason:
|
|
328
|
+
e.emit("error.unhandledrejection", { reason: Ee(t.reason) });
|
|
327
329
|
};
|
|
328
330
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
329
331
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
330
332
|
};
|
|
331
|
-
}, [e]),
|
|
333
|
+
}, [e]), V(() => {
|
|
332
334
|
S((t) => {
|
|
333
335
|
e.emit("perf.lcp.measured", {
|
|
334
336
|
metric: "LCP",
|
|
@@ -336,14 +338,14 @@ function Ee() {
|
|
|
336
338
|
id: t.id,
|
|
337
339
|
rating: t.rating
|
|
338
340
|
});
|
|
339
|
-
}),
|
|
341
|
+
}), se((t) => {
|
|
340
342
|
e.emit("perf.cls.measured", {
|
|
341
343
|
metric: "CLS",
|
|
342
344
|
value: t.value,
|
|
343
345
|
id: t.id,
|
|
344
346
|
rating: t.rating
|
|
345
347
|
});
|
|
346
|
-
}),
|
|
348
|
+
}), w((t) => {
|
|
347
349
|
e.emit("perf.inp.measured", {
|
|
348
350
|
metric: "INP",
|
|
349
351
|
value: t.value,
|
|
@@ -360,23 +362,23 @@ function Ee() {
|
|
|
360
362
|
});
|
|
361
363
|
}, [e]), null;
|
|
362
364
|
}
|
|
363
|
-
function
|
|
364
|
-
let { pathname: a } =
|
|
365
|
-
return /* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
r && !o ? /* @__PURE__ */
|
|
368
|
-
t.enabled === !1 ? null : /* @__PURE__ */
|
|
369
|
-
t.devtools ? /* @__PURE__ */
|
|
370
|
-
t.broadcast === !1 ? null : /* @__PURE__ */
|
|
371
|
-
t.backendAudit?.enabled && t.backendAudit.endpoint ? /* @__PURE__ */
|
|
372
|
-
t.rybbit?.enabled && t.rybbit.siteId ? /* @__PURE__ */
|
|
365
|
+
function Oe({ config: t, productSlug: n, privacyConsent: r, consentRouteDenylist: i }) {
|
|
366
|
+
let { pathname: a } = q(), o = e(a) || i?.(a) === !0;
|
|
367
|
+
return /* @__PURE__ */ K(W, { children: [
|
|
368
|
+
/* @__PURE__ */ G(De, {}),
|
|
369
|
+
r && !o ? /* @__PURE__ */ G(A, { productName: n }) : null,
|
|
370
|
+
t.enabled === !1 ? null : /* @__PURE__ */ K(W, { children: [
|
|
371
|
+
t.devtools ? /* @__PURE__ */ G(D, { enabled: !0 }) : null,
|
|
372
|
+
t.broadcast === !1 ? null : /* @__PURE__ */ G(O, {}),
|
|
373
|
+
t.backendAudit?.enabled && t.backendAudit.endpoint ? /* @__PURE__ */ G(k, { endpoint: t.backendAudit.endpoint }) : null,
|
|
374
|
+
t.rybbit?.enabled && t.rybbit.siteId ? /* @__PURE__ */ G(j, {
|
|
373
375
|
siteId: t.rybbit.siteId,
|
|
374
376
|
scriptUrl: t.rybbit.scriptUrl,
|
|
375
377
|
allowlist: t.rybbit.allowlist,
|
|
376
378
|
identifyOn: t.rybbit.identifyOn,
|
|
377
379
|
rename: t.rybbit.rename
|
|
378
380
|
}) : null,
|
|
379
|
-
t.otel?.enabled && t.otel.endpoint ? /* @__PURE__ */
|
|
381
|
+
t.otel?.enabled && t.otel.endpoint ? /* @__PURE__ */ G(M, {
|
|
380
382
|
endpoint: t.otel.endpoint,
|
|
381
383
|
serviceName: t.otel.serviceName ?? `${n}-app`,
|
|
382
384
|
flushInterval: t.otel.flushInterval
|
|
@@ -384,8 +386,8 @@ function De({ config: t, productSlug: n, privacyConsent: r, consentRouteDenylist
|
|
|
384
386
|
] })
|
|
385
387
|
] });
|
|
386
388
|
}
|
|
387
|
-
function
|
|
388
|
-
let { productName: o, productSlug: h = o.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity:
|
|
389
|
+
function ke({ config: n, children: r, clearAuthStore: a }) {
|
|
390
|
+
let { productName: o, productSlug: h = o.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity: w, defaultTypography: se, defaultGlass: ce, enablePWA: T = !0, brandInitial: E = o.charAt(0), defaultGateway: D = "workspace", enableSubscriptions: O = !0, fallbackTranslations: k, queryClientOptions: A, toasterPosition: j = "bottom-right", observability: M, privacyConsent: N = !1, consentRouteDenylist: P, tourPageIdFromPath: F } = n, I = H(() => M ?? ye(h, ve()), [M, h]), L = H(() => ({
|
|
389
391
|
productName: o,
|
|
390
392
|
productSlug: h,
|
|
391
393
|
brandInitial: E,
|
|
@@ -397,7 +399,7 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
397
399
|
E,
|
|
398
400
|
_,
|
|
399
401
|
v
|
|
400
|
-
]), R =
|
|
402
|
+
]), R = U(!1), z = U(!!x?.url), W = B((t) => {
|
|
401
403
|
if (!t?.force && (() => {
|
|
402
404
|
try {
|
|
403
405
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -407,7 +409,7 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
407
409
|
} catch {
|
|
408
410
|
return !1;
|
|
409
411
|
}
|
|
410
|
-
})() ||
|
|
412
|
+
})() || z.current || R.current) return;
|
|
411
413
|
R.current = !0, u(a);
|
|
412
414
|
let n = `${window.location.pathname}${window.location.search}`, r = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(n)}`, i = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
|
|
413
415
|
if (window.location.pathname.startsWith("/auth/") || e(window.location.pathname) || i) {
|
|
@@ -415,14 +417,14 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
415
417
|
return;
|
|
416
418
|
}
|
|
417
419
|
window.location.replace(r);
|
|
418
|
-
}, [a]), q =
|
|
420
|
+
}, [a]), q = H(() => ({
|
|
419
421
|
globalBaseUrl: b.globalBaseUrl,
|
|
420
422
|
...d()
|
|
421
|
-
}), [b.globalBaseUrl]), J =
|
|
422
|
-
window.location.pathname.startsWith("/auth/") || await J() ||
|
|
423
|
-
}, [J,
|
|
424
|
-
f(e) ? await J() ||
|
|
425
|
-
}, [J,
|
|
423
|
+
}), [b.globalBaseUrl]), J = B(async () => l(q), [q]), Y = B(async () => {
|
|
424
|
+
window.location.pathname.startsWith("/auth/") || await J() || W({ force: !0 });
|
|
425
|
+
}, [J, W]), X = B(async (e) => {
|
|
426
|
+
f(e) ? await J() || W({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
427
|
+
}, [J, W]), Z = B(async (e) => {
|
|
426
428
|
let t = await c({
|
|
427
429
|
gateway: "global",
|
|
428
430
|
baseUrl: b.globalBaseUrl,
|
|
@@ -437,7 +439,7 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
437
439
|
refreshToken: n.refreshToken,
|
|
438
440
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
439
441
|
};
|
|
440
|
-
}, [b.globalBaseUrl]), Q =
|
|
442
|
+
}, [b.globalBaseUrl]), Q = B(() => t("organization"), []), he = H(() => {
|
|
441
443
|
let e = new pe({
|
|
442
444
|
queryCache: new fe({ onError: (e) => {
|
|
443
445
|
i(e);
|
|
@@ -458,33 +460,33 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
458
460
|
});
|
|
459
461
|
return e;
|
|
460
462
|
}, [A]);
|
|
461
|
-
return
|
|
463
|
+
return V(() => {
|
|
462
464
|
let e = () => {
|
|
463
|
-
|
|
465
|
+
W({ force: !0 });
|
|
464
466
|
};
|
|
465
467
|
return window.addEventListener(s, e), () => {
|
|
466
468
|
window.removeEventListener(s, e);
|
|
467
469
|
};
|
|
468
|
-
}, [
|
|
470
|
+
}, [W]), V(() => {
|
|
469
471
|
let e = te.getInstance();
|
|
470
472
|
e.getLogger("shell") || e.getLogger("shell").addTransport(new ne());
|
|
471
|
-
}, []), /* @__PURE__ */
|
|
473
|
+
}, []), /* @__PURE__ */ G(p, {
|
|
472
474
|
value: L,
|
|
473
|
-
children: /* @__PURE__ */
|
|
475
|
+
children: /* @__PURE__ */ G(le, {
|
|
474
476
|
appName: h,
|
|
475
477
|
appVersion: I.appVersion,
|
|
476
478
|
appEnv: I.appEnv,
|
|
477
479
|
sourceMfe: h,
|
|
478
|
-
children: /* @__PURE__ */
|
|
480
|
+
children: /* @__PURE__ */ G(g, {
|
|
479
481
|
FallbackComponent: re,
|
|
480
|
-
children: /* @__PURE__ */
|
|
482
|
+
children: /* @__PURE__ */ K(ue, { children: [/* @__PURE__ */ G(Oe, {
|
|
481
483
|
config: I,
|
|
482
484
|
productSlug: h,
|
|
483
485
|
privacyConsent: N,
|
|
484
486
|
consentRouteDenylist: P
|
|
485
|
-
}), /* @__PURE__ */
|
|
487
|
+
}), /* @__PURE__ */ G(me, {
|
|
486
488
|
client: he,
|
|
487
|
-
children: /* @__PURE__ */
|
|
489
|
+
children: /* @__PURE__ */ G(ae, { children: /* @__PURE__ */ G(oe, {
|
|
488
490
|
workspaceBaseUrl: b.workspaceBaseUrl,
|
|
489
491
|
globalBaseUrl: b.globalBaseUrl,
|
|
490
492
|
organizationId: Q,
|
|
@@ -494,30 +496,30 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
494
496
|
onAuthError: Y,
|
|
495
497
|
onNetworkError: X,
|
|
496
498
|
onRefreshToken: J,
|
|
497
|
-
children: /* @__PURE__ */
|
|
499
|
+
children: /* @__PURE__ */ G(m, {
|
|
498
500
|
bridgeUrl: x?.url,
|
|
499
501
|
bridgeAllowedOrigins: x?.allowedOrigins,
|
|
500
502
|
bridgeDebug: x?.debug,
|
|
501
503
|
onRefreshToken: Z,
|
|
502
504
|
onBridgeReady: () => {
|
|
503
|
-
|
|
505
|
+
z.current = !1;
|
|
504
506
|
},
|
|
505
507
|
onSessionExpiringSoon: () => {
|
|
506
508
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
507
509
|
},
|
|
508
510
|
onTokenExpired: () => {
|
|
509
|
-
|
|
511
|
+
W();
|
|
510
512
|
},
|
|
511
|
-
children: /* @__PURE__ */
|
|
513
|
+
children: /* @__PURE__ */ G(ee, {
|
|
512
514
|
syncToUrl: !0,
|
|
513
|
-
children: /* @__PURE__ */
|
|
515
|
+
children: /* @__PURE__ */ G(ie, { children: /* @__PURE__ */ G(we, {
|
|
514
516
|
i18nProductId: y,
|
|
515
517
|
fallbackTranslations: k,
|
|
516
518
|
defaultBrand: S,
|
|
517
519
|
defaultMode: C,
|
|
518
|
-
defaultDensity:
|
|
519
|
-
defaultTypography:
|
|
520
|
-
defaultGlass:
|
|
520
|
+
defaultDensity: w,
|
|
521
|
+
defaultTypography: se,
|
|
522
|
+
defaultGlass: ce,
|
|
521
523
|
productName: o,
|
|
522
524
|
brandInitial: E,
|
|
523
525
|
enablePWA: T,
|
|
@@ -534,4 +536,4 @@ function Oe({ config: n, children: r, clearAuthStore: a }) {
|
|
|
534
536
|
});
|
|
535
537
|
}
|
|
536
538
|
//#endregion
|
|
537
|
-
export {
|
|
539
|
+
export { ke as AppShellProvider, ye as resolveAppShellObservabilityConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ThemeProvider.tsx"],"names":[],"mappings":"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"}
|