@buoy-gg/shared-ui 7.0.79 → 7.0.81
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/lib/commonjs/JsModal.d.js +1 -0
- package/lib/commonjs/bugCase/appInfo.d.js +1 -0
- package/lib/commonjs/bugCase/appInfo.js +1 -0
- package/lib/commonjs/bugCase/appInfo.web.js +1 -0
- package/lib/commonjs/bugCase/capture.d.js +1 -0
- package/lib/commonjs/bugCase/capture.js +1 -1
- package/lib/commonjs/bugCase/format.d.js +1 -0
- package/lib/commonjs/bugCase/format.js +2 -2
- package/lib/commonjs/bugCase/index.d.js +1 -0
- package/lib/commonjs/bugCase/index.js +1 -1
- package/lib/commonjs/bugCase/lock.d.js +1 -0
- package/lib/commonjs/bugCase/lock.js +1 -1
- package/lib/commonjs/bugCase/media.d.js +1 -0
- package/lib/commonjs/bugCase/media.js +1 -0
- package/lib/commonjs/bugCase/recorder.d.js +1 -0
- package/lib/commonjs/bugCase/scrub.d.js +1 -0
- package/lib/commonjs/bugCase/steps.d.js +1 -0
- package/lib/commonjs/bugCase/steps.js +1 -1
- package/lib/commonjs/bugCase/teamKey.d.js +1 -0
- package/lib/commonjs/bugCase/teamKey.js +1 -0
- package/lib/commonjs/bugCase/types.d.js +1 -0
- package/lib/commonjs/bugCase/validate.d.js +1 -0
- package/lib/commonjs/bugCase/validate.js +1 -1
- package/lib/commonjs/clipboard/autoDetectClipboard.d.js +1 -0
- package/lib/commonjs/clipboard/autoDetectClipboard.js +1 -1
- package/lib/commonjs/clipboard/clipboard-impl.d.js +1 -0
- package/lib/commonjs/clipboard/clipboard-impl.js +1 -1
- package/lib/commonjs/clipboard/clipboard-impl.web.js +1 -1
- package/lib/commonjs/clipboard/copyToClipboard.d.js +1 -0
- package/lib/commonjs/clipboard/index.d.js +1 -0
- package/lib/commonjs/clipboard/index.js +1 -1
- package/lib/commonjs/context/HintsContext.d.js +1 -0
- package/lib/commonjs/context/index.d.js +1 -0
- package/lib/commonjs/dataViewer/objectDiff.d.js +1 -0
- package/lib/commonjs/env/EnvironmentIndicator.d.js +1 -0
- package/lib/commonjs/env/EnvironmentSelector.d.js +1 -0
- package/lib/commonjs/env/EnvironmentSelectorInline.d.js +1 -0
- package/lib/commonjs/history/HistoryProvider.d.js +1 -0
- package/lib/commonjs/history/components/HistoryEntryRow.d.js +1 -0
- package/lib/commonjs/history/components/HistoryList.d.js +1 -0
- package/lib/commonjs/history/components/index.d.js +1 -0
- package/lib/commonjs/history/index.d.js +1 -0
- package/lib/commonjs/history/types.d.js +1 -0
- package/lib/commonjs/hooks/index.d.js +1 -0
- package/lib/commonjs/hooks/safe-area-impl.d.js +1 -0
- package/lib/commonjs/hooks/useChangeLog.d.js +1 -0
- package/lib/commonjs/hooks/useDeviceInfo.d.js +1 -0
- package/lib/commonjs/hooks/useEventStoreEvents.d.js +1 -0
- package/lib/commonjs/hooks/useFilterManager.d.js +1 -0
- package/lib/commonjs/hooks/usePersistedState.d.js +1 -0
- package/lib/commonjs/hooks/useSafeAreaInsets.d.js +1 -0
- package/lib/commonjs/icons/BenchmarkIcon.d.js +1 -0
- package/lib/commonjs/icons/EnvLaptopIcon.d.js +1 -0
- package/lib/commonjs/icons/IconBackground.d.js +1 -0
- package/lib/commonjs/icons/ReactQueryIcon.d.js +1 -0
- package/lib/commonjs/icons/RenderCountIcon.d.js +1 -0
- package/lib/commonjs/icons/RouteMapIcon.d.js +1 -0
- package/lib/commonjs/icons/SentryBugIcon.d.js +1 -0
- package/lib/commonjs/icons/StackPulseIcon.d.js +1 -0
- package/lib/commonjs/icons/StorageStackIcon.d.js +1 -0
- package/lib/commonjs/icons/WifiCircuitIcon.d.js +1 -0
- package/lib/commonjs/icons/index.d.js +1 -0
- package/lib/commonjs/icons/lucide-icons-original-full.d.js +1 -0
- package/lib/commonjs/icons/lucide-icons.d.js +1 -0
- package/lib/commonjs/icons/primitives/GlobeIcon.d.js +1 -0
- package/lib/commonjs/icons/primitives/icon-primitives.d.js +1 -0
- package/lib/commonjs/icons/primitives/index.d.js +1 -0
- package/lib/commonjs/index.d.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/license/AccountSetup.d.js +1 -0
- package/lib/commonjs/license/AccountSetupContent.d.js +1 -0
- package/lib/commonjs/license/BuoyUpgradeSheet.d.js +1 -0
- package/lib/commonjs/license/FeatureGate.d.js +1 -0
- package/lib/commonjs/license/FreeAccountPrompt.d.js +1 -0
- package/lib/commonjs/license/accountRuntime.d.js +1 -0
- package/lib/commonjs/license/index.d.js +1 -0
- package/lib/commonjs/license/licenseModule.d.js +1 -0
- package/lib/commonjs/license/openPricing.d.js +1 -0
- package/lib/commonjs/license/tierLimits.d.js +1 -0
- package/lib/commonjs/logger/index-sentry.d.js +1 -0
- package/lib/commonjs/logger/index.d.js +1 -0
- package/lib/commonjs/logger/logDump.d.js +1 -0
- package/lib/commonjs/logger/types.d.js +1 -0
- package/lib/commonjs/settings/components/BubbleSettingsSection.d.js +1 -0
- package/lib/commonjs/settings/index.d.js +1 -0
- package/lib/commonjs/storage/buoyOwnership.d.js +1 -0
- package/lib/commonjs/storage/capacitorAppStorage.d.js +1 -0
- package/lib/commonjs/storage/definePersistedSetting.d.js +1 -0
- package/lib/commonjs/storage/devToolsStorageKeys.d.js +1 -0
- package/lib/commonjs/storage/index.d.js +1 -0
- package/lib/commonjs/stores/BaseEventStore.d.js +1 -0
- package/lib/commonjs/stores/ChangeLog.d.js +1 -0
- package/lib/commonjs/stores/createToolStore.d.js +1 -0
- package/lib/commonjs/stores/floatingToolStore.d.js +1 -0
- package/lib/commonjs/stores/ignoredPatternsCore.d.js +1 -0
- package/lib/commonjs/stores/ignoredPatternsStore.d.js +1 -0
- package/lib/commonjs/stores/ignoredPatternsStore.shared.d.js +1 -0
- package/lib/commonjs/stores/index.d.js +1 -0
- package/lib/commonjs/stores/teamSettingsStore.d.js +1 -0
- package/lib/commonjs/sync/keyedArrays.d.js +1 -0
- package/lib/commonjs/sync/settingsSync.d.js +1 -0
- package/lib/commonjs/sync/toolActionRegistry.d.js +1 -0
- package/lib/commonjs/sync/toolScreenHeader.d.js +1 -0
- package/lib/commonjs/sync/toolSyncAdapter.d.js +1 -0
- package/lib/commonjs/sync/toolUiBridge.d.js +1 -0
- package/lib/commonjs/sync/typedEdit.d.js +1 -0
- package/lib/commonjs/sync/valuePath.d.js +1 -0
- package/lib/commonjs/sync/valueShape.d.js +1 -0
- package/lib/commonjs/sync/wireBudget.d.js +1 -0
- package/lib/commonjs/sync/wireForm.d.js +1 -0
- package/lib/commonjs/tools/defineTool.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/ToolBackground.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/backgroundStore.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/index.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/primitives.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/registry.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/rng.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/skyClock.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/types.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/daylight.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/deepField.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/hyperspace.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/liveSky.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/meteors.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/moonlight.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/underwater.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/wormhole/motion.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/wormhole/textures.d.js +1 -0
- package/lib/commonjs/ui/backgrounds/variants/wormhole.d.js +1 -0
- package/lib/commonjs/ui/components/BackButton.d.js +1 -0
- package/lib/commonjs/ui/components/Badge.d.js +1 -0
- package/lib/commonjs/ui/components/ChangeRow.d.js +1 -0
- package/lib/commonjs/ui/components/ChipStrip.d.js +1 -0
- package/lib/commonjs/ui/components/ClipboardHintBanner.d.js +1 -0
- package/lib/commonjs/ui/components/CollapsibleSection.d.js +1 -0
- package/lib/commonjs/ui/components/CompactFilterChips.d.js +1 -0
- package/lib/commonjs/ui/components/CompactRow.d.js +1 -0
- package/lib/commonjs/ui/components/CopyButton.d.js +1 -0
- package/lib/commonjs/ui/components/DataInspector.d.js +1 -0
- package/lib/commonjs/ui/components/DetailView.d.js +1 -0
- package/lib/commonjs/ui/components/DetailViewToggle.d.js +1 -0
- package/lib/commonjs/ui/components/DevToolsCard.d.js +1 -0
- package/lib/commonjs/ui/components/DraggableHeader.d.js +1 -0
- package/lib/commonjs/ui/components/DynamicFilterView.d.js +1 -0
- package/lib/commonjs/ui/components/EmptyState.d.js +1 -0
- package/lib/commonjs/ui/components/EntityFilterView.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/index.d.js +1 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/types.d.js +1 -0
- package/lib/commonjs/ui/components/EventListItem.d.js +1 -0
- package/lib/commonjs/ui/components/EventStepperFooter.d.js +1 -0
- package/lib/commonjs/ui/components/ExpandablePopover.d.js +1 -0
- package/lib/commonjs/ui/components/ExpandedInfoRow.d.js +1 -0
- package/lib/commonjs/ui/components/ExportPreview.d.js +1 -0
- package/lib/commonjs/ui/components/FilterComponents.d.js +1 -0
- package/lib/commonjs/ui/components/GripVerticalIcon.d.js +1 -0
- package/lib/commonjs/ui/components/HeaderSearchButton.d.js +1 -0
- package/lib/commonjs/ui/components/InfoRow.d.js +1 -0
- package/lib/commonjs/ui/components/ListItem.d.js +1 -0
- package/lib/commonjs/ui/components/ModalHeader.d.js +1 -0
- package/lib/commonjs/ui/components/ModalHintBanner.d.js +1 -0
- package/lib/commonjs/ui/components/Pill.d.js +1 -0
- package/lib/commonjs/ui/components/PowerToggleButton.d.js +1 -0
- package/lib/commonjs/ui/components/SearchBar.d.js +1 -0
- package/lib/commonjs/ui/components/SectionHeader.d.js +1 -0
- package/lib/commonjs/ui/components/StatsCard.d.js +1 -0
- package/lib/commonjs/ui/components/StatusIndicator.d.js +1 -0
- package/lib/commonjs/ui/components/StorageTypeBadge.d.js +1 -0
- package/lib/commonjs/ui/components/TabSelector.d.js +1 -0
- package/lib/commonjs/ui/components/TimeDisplay.d.js +1 -0
- package/lib/commonjs/ui/components/ToggleRow.d.js +1 -0
- package/lib/commonjs/ui/components/ToolButton.d.js +1 -0
- package/lib/commonjs/ui/components/ToolEmptyState.d.js +1 -0
- package/lib/commonjs/ui/components/ToolFooter.d.js +1 -0
- package/lib/commonjs/ui/components/ValueTypeBadge.d.js +1 -0
- package/lib/commonjs/ui/components/WindowControls.d.js +1 -0
- package/lib/commonjs/ui/components/index.d.js +1 -0
- package/lib/commonjs/ui/components/windowControlsSetting.d.js +1 -0
- package/lib/commonjs/ui/components/windowDrag.d.js +1 -0
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.d.js +1 -0
- package/lib/commonjs/ui/console/CyberpunkIconContainer.d.js +1 -0
- package/lib/commonjs/ui/console/CyberpunkSectionButton.d.js +1 -0
- package/lib/commonjs/ui/floating/FloatingTool.d.js +1 -0
- package/lib/commonjs/ui/floating/FloatingToolHost.d.js +1 -0
- package/lib/commonjs/ui/floating/onboardingConstants.d.js +1 -0
- package/lib/commonjs/ui/fonts.d.js +1 -0
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.js +1 -0
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.d.js +1 -0
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.d.js +1 -0
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.d.js +1 -0
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.d.js +1 -0
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.js +1 -0
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.js +1 -0
- package/lib/commonjs/ui/gameUI/index.d.js +1 -0
- package/lib/commonjs/ui/index.d.js +1 -0
- package/lib/commonjs/ui/listPresets.d.js +1 -0
- package/lib/commonjs/ui/night/nightTheme.d.js +1 -0
- package/lib/commonjs/ui/night/primitives.d.js +1 -0
- package/lib/commonjs/ui/otto/OttoSceneView.d.js +1 -0
- package/lib/commonjs/ui/otto/OttoSprite.d.js +1 -0
- package/lib/commonjs/ui/otto/index.d.js +1 -0
- package/lib/commonjs/ui/otto/ottoEngine.d.js +1 -0
- package/lib/commonjs/ui/otto/ottoScenes.d.js +1 -0
- package/lib/commonjs/ui/otto/ottoSheet.d.js +1 -0
- package/lib/commonjs/ui/qr/QrCodeView.d.js +1 -0
- package/lib/commonjs/ui/qr/qrcodegen.d.js +1 -0
- package/lib/commonjs/ui/systemFont.d.js +1 -0
- package/lib/commonjs/ui/toolTheme.d.js +1 -0
- package/lib/commonjs/utils/absoluteFill.d.js +1 -0
- package/lib/commonjs/utils/appIdentity.d.js +1 -0
- package/lib/commonjs/utils/asyncStorageNative.d.js +1 -0
- package/lib/commonjs/utils/browserAsyncStorage.d.js +1 -0
- package/lib/commonjs/utils/browserNavigation.d.js +1 -0
- package/lib/commonjs/utils/devServer.d.js +1 -0
- package/lib/commonjs/utils/displayValue.d.js +1 -0
- package/lib/commonjs/utils/domRuntime.d.js +1 -0
- package/lib/commonjs/utils/expoRouterModule.d.js +1 -0
- package/lib/commonjs/utils/fiberRootAnchor.d.js +1 -0
- package/lib/commonjs/utils/fiberRootAnchor.js +1 -0
- package/lib/commonjs/utils/formatting/dataFormatting.d.js +1 -0
- package/lib/commonjs/utils/formatting/httpFormatting.d.js +1 -0
- package/lib/commonjs/utils/formatting/index.d.js +1 -0
- package/lib/commonjs/utils/getSafeAreaInsets.d.js +1 -0
- package/lib/commonjs/utils/index.d.js +1 -0
- package/lib/commonjs/utils/index.js +1 -1
- package/lib/commonjs/utils/loadOptionalModule.d.js +1 -0
- package/lib/commonjs/utils/loadToolModule.d.js +1 -0
- package/lib/commonjs/utils/minimalSuperJSON.d.js +1 -0
- package/lib/commonjs/utils/modalStorage.d.js +1 -0
- package/lib/commonjs/utils/persistentStorage.d.js +1 -0
- package/lib/commonjs/utils/persistentStorage.js +1 -1
- package/lib/commonjs/utils/persistentStorage.web.js +1 -1
- package/lib/commonjs/utils/realAppState.d.js +1 -0
- package/lib/commonjs/utils/realNow.d.js +1 -0
- package/lib/commonjs/utils/reloadApp.d.js +1 -0
- package/lib/commonjs/utils/reloadPlatform.d.js +1 -0
- package/lib/commonjs/utils/renderCaptureRegistry.d.js +1 -0
- package/lib/commonjs/utils/safeExpoRouter.d.js +1 -0
- package/lib/commonjs/utils/safeStringify.d.js +1 -0
- package/lib/commonjs/utils/snapshotProviderKit.d.js +1 -0
- package/lib/commonjs/utils/stateSnapshotRegistry.d.js +1 -0
- package/lib/commonjs/utils/stateTools.d.js +1 -0
- package/lib/commonjs/utils/storageWrites.d.js +1 -0
- package/lib/commonjs/utils/subscribable.d.js +1 -0
- package/lib/commonjs/utils/subscriberCountNotifier.d.js +1 -0
- package/lib/commonjs/utils/time/RelativeTime.d.js +1 -0
- package/lib/commonjs/utils/time/TickContext.d.js +1 -0
- package/lib/commonjs/utils/time/formatRelativeTime.d.js +1 -0
- package/lib/commonjs/utils/time/index.d.js +1 -0
- package/lib/commonjs/utils/time/useRelativeTime.d.js +1 -0
- package/lib/commonjs/utils/toolModules.d.js +1 -0
- package/lib/commonjs/utils/typeHelpers.d.js +1 -0
- package/lib/commonjs/utils/valueFormatting.d.js +1 -0
- package/lib/module/JsModal.d.js +1 -0
- package/lib/module/bugCase/appInfo.d.js +1 -0
- package/lib/module/bugCase/appInfo.js +1 -0
- package/lib/module/bugCase/appInfo.web.js +1 -0
- package/lib/module/bugCase/capture.d.js +1 -0
- package/lib/module/bugCase/capture.js +1 -1
- package/lib/module/bugCase/format.d.js +1 -0
- package/lib/module/bugCase/format.js +2 -2
- package/lib/module/bugCase/index.d.js +1 -0
- package/lib/module/bugCase/index.js +1 -1
- package/lib/module/bugCase/lock.d.js +1 -0
- package/lib/module/bugCase/lock.js +1 -1
- package/lib/module/bugCase/media.d.js +1 -0
- package/lib/module/bugCase/media.js +1 -0
- package/lib/module/bugCase/recorder.d.js +1 -0
- package/lib/module/bugCase/scrub.d.js +1 -0
- package/lib/module/bugCase/steps.d.js +1 -0
- package/lib/module/bugCase/steps.js +1 -1
- package/lib/module/bugCase/teamKey.d.js +1 -0
- package/lib/module/bugCase/teamKey.js +1 -0
- package/lib/module/bugCase/types.d.js +1 -0
- package/lib/module/bugCase/validate.d.js +1 -0
- package/lib/module/bugCase/validate.js +1 -1
- package/lib/module/clipboard/autoDetectClipboard.d.js +1 -0
- package/lib/module/clipboard/autoDetectClipboard.js +1 -1
- package/lib/module/clipboard/clipboard-impl.d.js +1 -0
- package/lib/module/clipboard/clipboard-impl.js +1 -1
- package/lib/module/clipboard/clipboard-impl.web.js +1 -1
- package/lib/module/clipboard/copyToClipboard.d.js +1 -0
- package/lib/module/clipboard/index.d.js +1 -0
- package/lib/module/clipboard/index.js +1 -1
- package/lib/module/context/HintsContext.d.js +1 -0
- package/lib/module/context/index.d.js +1 -0
- package/lib/module/dataViewer/objectDiff.d.js +1 -0
- package/lib/module/env/EnvironmentIndicator.d.js +1 -0
- package/lib/module/env/EnvironmentSelector.d.js +1 -0
- package/lib/module/env/EnvironmentSelectorInline.d.js +1 -0
- package/lib/module/history/HistoryProvider.d.js +1 -0
- package/lib/module/history/components/HistoryEntryRow.d.js +1 -0
- package/lib/module/history/components/HistoryList.d.js +1 -0
- package/lib/module/history/components/index.d.js +1 -0
- package/lib/module/history/index.d.js +1 -0
- package/lib/module/history/types.d.js +1 -0
- package/lib/module/hooks/index.d.js +1 -0
- package/lib/module/hooks/safe-area-impl.d.js +1 -0
- package/lib/module/hooks/useChangeLog.d.js +1 -0
- package/lib/module/hooks/useDeviceInfo.d.js +1 -0
- package/lib/module/hooks/useEventStoreEvents.d.js +1 -0
- package/lib/module/hooks/useFilterManager.d.js +1 -0
- package/lib/module/hooks/usePersistedState.d.js +1 -0
- package/lib/module/hooks/useSafeAreaInsets.d.js +1 -0
- package/lib/module/icons/BenchmarkIcon.d.js +1 -0
- package/lib/module/icons/EnvLaptopIcon.d.js +1 -0
- package/lib/module/icons/IconBackground.d.js +1 -0
- package/lib/module/icons/ReactQueryIcon.d.js +1 -0
- package/lib/module/icons/RenderCountIcon.d.js +1 -0
- package/lib/module/icons/RouteMapIcon.d.js +1 -0
- package/lib/module/icons/SentryBugIcon.d.js +1 -0
- package/lib/module/icons/StackPulseIcon.d.js +1 -0
- package/lib/module/icons/StorageStackIcon.d.js +1 -0
- package/lib/module/icons/WifiCircuitIcon.d.js +1 -0
- package/lib/module/icons/index.d.js +1 -0
- package/lib/module/icons/lucide-icons-original-full.d.js +1 -0
- package/lib/module/icons/lucide-icons.d.js +1 -0
- package/lib/module/icons/primitives/GlobeIcon.d.js +1 -0
- package/lib/module/icons/primitives/icon-primitives.d.js +1 -0
- package/lib/module/icons/primitives/index.d.js +1 -0
- package/lib/module/index.d.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/license/AccountSetup.d.js +1 -0
- package/lib/module/license/AccountSetupContent.d.js +1 -0
- package/lib/module/license/BuoyUpgradeSheet.d.js +1 -0
- package/lib/module/license/FeatureGate.d.js +1 -0
- package/lib/module/license/FreeAccountPrompt.d.js +1 -0
- package/lib/module/license/accountRuntime.d.js +1 -0
- package/lib/module/license/index.d.js +1 -0
- package/lib/module/license/licenseModule.d.js +1 -0
- package/lib/module/license/openPricing.d.js +1 -0
- package/lib/module/license/tierLimits.d.js +1 -0
- package/lib/module/logger/index-sentry.d.js +1 -0
- package/lib/module/logger/index.d.js +1 -0
- package/lib/module/logger/logDump.d.js +1 -0
- package/lib/module/logger/types.d.js +1 -0
- package/lib/module/settings/components/BubbleSettingsSection.d.js +1 -0
- package/lib/module/settings/index.d.js +1 -0
- package/lib/module/storage/buoyOwnership.d.js +1 -0
- package/lib/module/storage/capacitorAppStorage.d.js +1 -0
- package/lib/module/storage/definePersistedSetting.d.js +1 -0
- package/lib/module/storage/devToolsStorageKeys.d.js +1 -0
- package/lib/module/storage/index.d.js +1 -0
- package/lib/module/stores/BaseEventStore.d.js +1 -0
- package/lib/module/stores/ChangeLog.d.js +1 -0
- package/lib/module/stores/createToolStore.d.js +1 -0
- package/lib/module/stores/floatingToolStore.d.js +1 -0
- package/lib/module/stores/ignoredPatternsCore.d.js +1 -0
- package/lib/module/stores/ignoredPatternsStore.d.js +1 -0
- package/lib/module/stores/ignoredPatternsStore.shared.d.js +1 -0
- package/lib/module/stores/index.d.js +1 -0
- package/lib/module/stores/teamSettingsStore.d.js +1 -0
- package/lib/module/sync/keyedArrays.d.js +1 -0
- package/lib/module/sync/settingsSync.d.js +1 -0
- package/lib/module/sync/toolActionRegistry.d.js +1 -0
- package/lib/module/sync/toolScreenHeader.d.js +1 -0
- package/lib/module/sync/toolSyncAdapter.d.js +1 -0
- package/lib/module/sync/toolUiBridge.d.js +1 -0
- package/lib/module/sync/typedEdit.d.js +1 -0
- package/lib/module/sync/valuePath.d.js +1 -0
- package/lib/module/sync/valueShape.d.js +1 -0
- package/lib/module/sync/wireBudget.d.js +1 -0
- package/lib/module/sync/wireForm.d.js +1 -0
- package/lib/module/tools/defineTool.d.js +1 -0
- package/lib/module/ui/backgrounds/BackgroundSwitcher.d.js +1 -0
- package/lib/module/ui/backgrounds/ToolBackground.d.js +1 -0
- package/lib/module/ui/backgrounds/backgroundStore.d.js +1 -0
- package/lib/module/ui/backgrounds/index.d.js +1 -0
- package/lib/module/ui/backgrounds/primitives.d.js +1 -0
- package/lib/module/ui/backgrounds/registry.d.js +1 -0
- package/lib/module/ui/backgrounds/rng.d.js +1 -0
- package/lib/module/ui/backgrounds/skyClock.d.js +1 -0
- package/lib/module/ui/backgrounds/types.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/daylight.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/deepField.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/hyperspace.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/liveSky.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/meteors.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/moonlight.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/underwater.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/wormhole/motion.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/wormhole/textures.d.js +1 -0
- package/lib/module/ui/backgrounds/variants/wormhole.d.js +1 -0
- package/lib/module/ui/components/BackButton.d.js +1 -0
- package/lib/module/ui/components/Badge.d.js +1 -0
- package/lib/module/ui/components/ChangeRow.d.js +1 -0
- package/lib/module/ui/components/ChipStrip.d.js +1 -0
- package/lib/module/ui/components/ClipboardHintBanner.d.js +1 -0
- package/lib/module/ui/components/CollapsibleSection.d.js +1 -0
- package/lib/module/ui/components/CompactFilterChips.d.js +1 -0
- package/lib/module/ui/components/CompactRow.d.js +1 -0
- package/lib/module/ui/components/CopyButton.d.js +1 -0
- package/lib/module/ui/components/DataInspector.d.js +1 -0
- package/lib/module/ui/components/DetailView.d.js +1 -0
- package/lib/module/ui/components/DetailViewToggle.d.js +1 -0
- package/lib/module/ui/components/DevToolsCard.d.js +1 -0
- package/lib/module/ui/components/DraggableHeader.d.js +1 -0
- package/lib/module/ui/components/DynamicFilterView.d.js +1 -0
- package/lib/module/ui/components/EmptyState.d.js +1 -0
- package/lib/module/ui/components/EntityFilterView.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/index.d.js +1 -0
- package/lib/module/ui/components/EventHistoryViewer/types.d.js +1 -0
- package/lib/module/ui/components/EventListItem.d.js +1 -0
- package/lib/module/ui/components/EventStepperFooter.d.js +1 -0
- package/lib/module/ui/components/ExpandablePopover.d.js +1 -0
- package/lib/module/ui/components/ExpandedInfoRow.d.js +1 -0
- package/lib/module/ui/components/ExportPreview.d.js +1 -0
- package/lib/module/ui/components/FilterComponents.d.js +1 -0
- package/lib/module/ui/components/GripVerticalIcon.d.js +1 -0
- package/lib/module/ui/components/HeaderSearchButton.d.js +1 -0
- package/lib/module/ui/components/InfoRow.d.js +1 -0
- package/lib/module/ui/components/ListItem.d.js +1 -0
- package/lib/module/ui/components/ModalHeader.d.js +1 -0
- package/lib/module/ui/components/ModalHintBanner.d.js +1 -0
- package/lib/module/ui/components/Pill.d.js +1 -0
- package/lib/module/ui/components/PowerToggleButton.d.js +1 -0
- package/lib/module/ui/components/SearchBar.d.js +1 -0
- package/lib/module/ui/components/SectionHeader.d.js +1 -0
- package/lib/module/ui/components/StatsCard.d.js +1 -0
- package/lib/module/ui/components/StatusIndicator.d.js +1 -0
- package/lib/module/ui/components/StorageTypeBadge.d.js +1 -0
- package/lib/module/ui/components/TabSelector.d.js +1 -0
- package/lib/module/ui/components/TimeDisplay.d.js +1 -0
- package/lib/module/ui/components/ToggleRow.d.js +1 -0
- package/lib/module/ui/components/ToolButton.d.js +1 -0
- package/lib/module/ui/components/ToolEmptyState.d.js +1 -0
- package/lib/module/ui/components/ToolFooter.d.js +1 -0
- package/lib/module/ui/components/ValueTypeBadge.d.js +1 -0
- package/lib/module/ui/components/WindowControls.d.js +1 -0
- package/lib/module/ui/components/index.d.js +1 -0
- package/lib/module/ui/components/windowControlsSetting.d.js +1 -0
- package/lib/module/ui/components/windowDrag.d.js +1 -0
- package/lib/module/ui/console/CyberpunkButtonOutline.d.js +1 -0
- package/lib/module/ui/console/CyberpunkIconContainer.d.js +1 -0
- package/lib/module/ui/console/CyberpunkSectionButton.d.js +1 -0
- package/lib/module/ui/floating/FloatingTool.d.js +1 -0
- package/lib/module/ui/floating/FloatingToolHost.d.js +1 -0
- package/lib/module/ui/floating/onboardingConstants.d.js +1 -0
- package/lib/module/ui/fonts.d.js +1 -0
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.d.js +1 -0
- package/lib/module/ui/gameUI/components/GameUICompactStats.d.js +1 -0
- package/lib/module/ui/gameUI/components/GameUIIssuesList.d.js +1 -0
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.d.js +1 -0
- package/lib/module/ui/gameUI/constants/gameUIColors.d.js +1 -0
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.d.js +1 -0
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.d.js +1 -0
- package/lib/module/ui/gameUI/index.d.js +1 -0
- package/lib/module/ui/index.d.js +1 -0
- package/lib/module/ui/listPresets.d.js +1 -0
- package/lib/module/ui/night/nightTheme.d.js +1 -0
- package/lib/module/ui/night/primitives.d.js +1 -0
- package/lib/module/ui/otto/OttoSceneView.d.js +1 -0
- package/lib/module/ui/otto/OttoSprite.d.js +1 -0
- package/lib/module/ui/otto/index.d.js +1 -0
- package/lib/module/ui/otto/ottoEngine.d.js +1 -0
- package/lib/module/ui/otto/ottoScenes.d.js +1 -0
- package/lib/module/ui/otto/ottoSheet.d.js +1 -0
- package/lib/module/ui/qr/QrCodeView.d.js +1 -0
- package/lib/module/ui/qr/qrcodegen.d.js +1 -0
- package/lib/module/ui/systemFont.d.js +1 -0
- package/lib/module/ui/toolTheme.d.js +1 -0
- package/lib/module/utils/absoluteFill.d.js +1 -0
- package/lib/module/utils/appIdentity.d.js +1 -0
- package/lib/module/utils/asyncStorageNative.d.js +1 -0
- package/lib/module/utils/browserAsyncStorage.d.js +1 -0
- package/lib/module/utils/browserNavigation.d.js +1 -0
- package/lib/module/utils/devServer.d.js +1 -0
- package/lib/module/utils/displayValue.d.js +1 -0
- package/lib/module/utils/domRuntime.d.js +1 -0
- package/lib/module/utils/expoRouterModule.d.js +1 -0
- package/lib/module/utils/fiberRootAnchor.d.js +1 -0
- package/lib/module/utils/fiberRootAnchor.js +1 -0
- package/lib/module/utils/formatting/dataFormatting.d.js +1 -0
- package/lib/module/utils/formatting/httpFormatting.d.js +1 -0
- package/lib/module/utils/formatting/index.d.js +1 -0
- package/lib/module/utils/getSafeAreaInsets.d.js +1 -0
- package/lib/module/utils/index.d.js +1 -0
- package/lib/module/utils/index.js +1 -1
- package/lib/module/utils/loadOptionalModule.d.js +1 -0
- package/lib/module/utils/loadToolModule.d.js +1 -0
- package/lib/module/utils/minimalSuperJSON.d.js +1 -0
- package/lib/module/utils/modalStorage.d.js +1 -0
- package/lib/module/utils/persistentStorage.d.js +1 -0
- package/lib/module/utils/persistentStorage.js +1 -1
- package/lib/module/utils/persistentStorage.web.js +1 -1
- package/lib/module/utils/realAppState.d.js +1 -0
- package/lib/module/utils/realNow.d.js +1 -0
- package/lib/module/utils/reloadApp.d.js +1 -0
- package/lib/module/utils/reloadPlatform.d.js +1 -0
- package/lib/module/utils/renderCaptureRegistry.d.js +1 -0
- package/lib/module/utils/safeExpoRouter.d.js +1 -0
- package/lib/module/utils/safeStringify.d.js +1 -0
- package/lib/module/utils/snapshotProviderKit.d.js +1 -0
- package/lib/module/utils/stateSnapshotRegistry.d.js +1 -0
- package/lib/module/utils/stateTools.d.js +1 -0
- package/lib/module/utils/storageWrites.d.js +1 -0
- package/lib/module/utils/subscribable.d.js +1 -0
- package/lib/module/utils/subscriberCountNotifier.d.js +1 -0
- package/lib/module/utils/time/RelativeTime.d.js +1 -0
- package/lib/module/utils/time/TickContext.d.js +1 -0
- package/lib/module/utils/time/formatRelativeTime.d.js +1 -0
- package/lib/module/utils/time/index.d.js +1 -0
- package/lib/module/utils/time/useRelativeTime.d.js +1 -0
- package/lib/module/utils/toolModules.d.js +1 -0
- package/lib/module/utils/typeHelpers.d.js +1 -0
- package/lib/module/utils/valueFormatting.d.js +1 -0
- package/lib/typescript/commonjs/bugCase/appInfo.d.ts +17 -0
- package/lib/typescript/commonjs/bugCase/appInfo.web.d.ts +14 -0
- package/lib/typescript/commonjs/bugCase/format.d.ts +2 -1
- package/lib/typescript/commonjs/bugCase/index.d.ts +6 -0
- package/lib/typescript/commonjs/bugCase/lock.d.ts +13 -0
- package/lib/typescript/commonjs/bugCase/media.d.ts +90 -0
- package/lib/typescript/commonjs/bugCase/scrub.d.ts +2 -2
- package/lib/typescript/commonjs/bugCase/steps.d.ts +4 -0
- package/lib/typescript/commonjs/bugCase/teamKey.d.ts +185 -0
- package/lib/typescript/commonjs/bugCase/types.d.ts +10 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts +1 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts +6 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.web.d.ts +2 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts +1 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -1
- package/lib/typescript/commonjs/utils/fiberRootAnchor.d.ts +19 -0
- package/lib/typescript/commonjs/utils/index.d.ts +2 -1
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts +14 -1
- package/lib/typescript/commonjs/utils/persistentStorage.web.d.ts +17 -0
- package/lib/typescript/module/bugCase/appInfo.d.ts +17 -0
- package/lib/typescript/module/bugCase/appInfo.web.d.ts +14 -0
- package/lib/typescript/module/bugCase/format.d.ts +2 -1
- package/lib/typescript/module/bugCase/index.d.ts +6 -0
- package/lib/typescript/module/bugCase/lock.d.ts +13 -0
- package/lib/typescript/module/bugCase/media.d.ts +90 -0
- package/lib/typescript/module/bugCase/scrub.d.ts +2 -2
- package/lib/typescript/module/bugCase/steps.d.ts +4 -0
- package/lib/typescript/module/bugCase/teamKey.d.ts +185 -0
- package/lib/typescript/module/bugCase/types.d.ts +10 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts +1 -1
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts +6 -0
- package/lib/typescript/module/clipboard/clipboard-impl.web.d.ts +2 -0
- package/lib/typescript/module/clipboard/index.d.ts +1 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +2 -1
- package/lib/typescript/module/utils/fiberRootAnchor.d.ts +19 -0
- package/lib/typescript/module/utils/index.d.ts +2 -1
- package/lib/typescript/module/utils/persistentStorage.d.ts +14 -1
- package/lib/typescript/module/utils/persistentStorage.web.d.ts +17 -0
- package/lib/web/chunks/chunk-BPL65J3F.mjs +1 -0
- package/lib/web/chunks/chunk-EY7GXWGI.mjs +1 -1
- package/lib/web/chunks/chunk-IE2U5SN2.mjs +15 -0
- package/lib/web/chunks/chunk-IEAXJZCR.mjs +6 -0
- package/lib/web/chunks/chunk-OF3VWR6K.mjs +2 -2
- package/lib/web/chunks/chunk-SXWOOYFL.mjs +1 -0
- package/lib/web/chunks/chunk-T44OT3CI.mjs +6 -0
- package/lib/web/chunks/chunk-Y7FM4WZ7.mjs +4 -4
- package/lib/web/chunks/persistentStorage.web-BFPYMY5C.mjs +1 -0
- package/lib/web/dataViewer.mjs +1 -1
- package/lib/web/hooks.mjs +1 -1
- package/lib/web/index.mjs +12 -6
- package/lib/web/ui.mjs +1 -1
- package/lib/web/utils.mjs +1 -1
- package/package.json +5 -5
- package/scripts/detect-clipboard.js +18 -2
- package/lib/web/chunks/chunk-AVRGPBZK.mjs +0 -6
- package/lib/web/chunks/chunk-JTNYUDJZ.mjs +0 -1
- package/lib/web/chunks/chunk-LADTE6U4.mjs +0 -6
- package/lib/web/chunks/chunk-N5Z7Z2GY.mjs +0 -1
- package/lib/web/chunks/chunk-SAWSKX4E.mjs +0 -6
- package/lib/web/chunks/chunk-ZRZQZF2T.mjs +0 -15
- package/lib/web/chunks/persistentStorage.web-IBLIV62L.mjs +0 -1
|
@@ -3,4 +3,21 @@ export type { DevToolsStorage } from "./persistentStorage";
|
|
|
3
3
|
export declare const persistentStorage: DevToolsStorage;
|
|
4
4
|
export declare function isUsingPersistentStorage(): Promise<boolean>;
|
|
5
5
|
export declare function getStorageBackendType(): Promise<"localstorage" | "memory">;
|
|
6
|
+
/**
|
|
7
|
+
* Write and report whether it reached the browser's storage, like the native
|
|
8
|
+
* setItemChecked: false when storage is blocked or full (the value is still
|
|
9
|
+
* kept for this session). Bug links saves a loaded case this way, so a reload
|
|
10
|
+
* can still restore the app.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setItemChecked(key: string, value: string, _options?: {
|
|
13
|
+
strict?: boolean;
|
|
14
|
+
}): Promise<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* Like getItem, but a read that fails throws instead of looking like a
|
|
17
|
+
* missing value (the native getItemChecked). With no browser storage at all,
|
|
18
|
+
* this session's own copy is all there is.
|
|
19
|
+
*/
|
|
20
|
+
export declare function getItemChecked(key: string): Promise<string | null>;
|
|
21
|
+
/** True when nothing saved outlives the page. */
|
|
22
|
+
export declare function storageIsMemoryOnly(): Promise<boolean>;
|
|
6
23
|
//# sourceMappingURL=persistentStorage.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{d as p}from"./chunk-AHVO74UQ.mjs";import{a as n,b as Be}from"./chunk-T6T3FEMU.mjs";var Ve=n(e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"array";let t=typeof e;return t==="object"?e instanceof Date?"date":e instanceof RegExp?"regexp":e instanceof Map?"map":e instanceof Set?"set":e instanceof Error?"error":"object":t},"getValueType"),Fe=n(e=>{let t=typeof e;return e==null||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"},"isPrimitive"),Ue=n(e=>{try{return JSON.stringify(e),true}catch{return false}},"isJsonSerializable"),We=n(e=>{try{return JSON.parse(e),true}catch{return false}},"isValidJson"),Ie=n(e=>{if(e===null)return"null";if(e===void 0)return"undefined";try{return e.constructor?.name||typeof e}catch{return typeof e}},"getConstructorName"),qe=n(e=>e==null?true:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:false,"isEmpty"),ze=n(e=>{if(Array.isArray(e)){let t=e.length;return t===0?"empty array":t===1?"1 item":`${t} items`}if(e&&typeof e=="object"){let t=Object.keys(e).length;return t===0?"empty object":t===1?"1 key":`${t} keys`}if(typeof e=="string"){let t=e.length;return t===0?"empty string":t===1?"1 character":`${t} characters`}return""},"getValueSize"),Je=n(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object,"isPlainObject");var Ge=n(e=>{if(e==null)return e;if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},"parseValue"),He=n(e=>e===null?"null":e===void 0?"undefined":typeof e=="string"?`"${e}"`:typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:typeof e=="object"?Array.isArray(e)?`[Array: ${e.length} items]`:`{Object: ${Object.keys(e).length} keys}`:String(e),"formatValue"),Ke=n(e=>{if(e===null)return p.dataTypes.null;if(e===void 0)return p.dataTypes.undefined;switch(typeof e){case"string":return p.dataTypes.string;case"number":return p.dataTypes.number;case"boolean":return p.dataTypes.boolean;case"function":return p.dataTypes.function;case"object":return Array.isArray(e)?p.dataTypes.array:p.dataTypes.object;default:return p.primary}},"getTypeColor"),Xe=n((e,t)=>e.length<=t?e:e.slice(0,t-3)+"...","truncateText"),N=n((e,t="")=>{let r={};return e==null?r:typeof e!="object"?(r[t||"root"]=e,r):(Array.isArray(e)?e.forEach((a,o)=>{let i=t?`${t}[${o}]`:`[${o}]`;typeof a=="object"&&a!==null?Object.assign(r,N(a,i)):r[i]=a}):Object.keys(e).forEach(a=>{let o=t?`${t}.${a}`:a,i=e[a];typeof i=="object"&&i!==null?Object.assign(r,N(i,o)):r[o]=i}),r)},"flattenObject"),Ye=n(e=>e.length===0?"root":e.map((t,r)=>typeof t=="number"?`[${t}]`:r===0?t:`.${t}`).join(""),"formatPath");var Qe={log:n(()=>{},"log"),warn:n(()=>{},"warn"),error:n((...e)=>{console.error("[Buoy]","[optional-module]",...e)},"error")},g=new Map,R=new Map,X=new Set;async function Y(e,t={}){if(g.has(e))return g.get(e);let r={...Qe,...t.logger??{}};R.has(e)||R.set(e,(async()=>{try{let o=await ee(e,t),i=o?.default??o;return g.set(e,i),r.log("Loaded optional module",e),i}catch(o){return r.log("Optional module unavailable",e,o),g.set(e,null),null}})());let a=await R.get(e);return R.delete(e),!a&&t.warnOnceKey&&!X.has(t.warnOnceKey)&&(X.add(t.warnOnceKey),r.warn(t.warningMessage??`Module '${e}' not found.`)),a}n(Y,"loadOptionalModule");var T,x;function Q(){if(T===void 0)try{T=new Function("moduleName","return import(moduleName);")}catch{T=null}return T}n(Q,"getDynamicImportLoader");function Z(){if(x===void 0)try{x=new Function("return typeof require === 'function' ? require : undefined;")()??null}catch{x=null}return x}n(Z,"getDynamicRequire");async function ee(e,t){if(t.loader)return await Promise.resolve(t.loader());let r=Q();if(r)return r(e);let a=Z();if(a)return a(e);throw new Error(`No dynamic loader available for optional module '${e}'.`)}n(ee,"loadModuleWithFallback");function te(e){return g.has(e)?g.get(e):null}n(te,"getCachedOptionalModule");var re="__buoyRenderCaptureProvider";function _(){return globalThis}n(_,"providerHost");function ne(e){_()[re]=e}n(ne,"setRenderCaptureProvider");function ae(){return _()[re]??null}n(ae,"getRenderCaptureProvider");var v=new Map,L=new Set;function B(){L.forEach(e=>{try{e()}catch{}})}n(B,"notify");function oe(e){return v.set(e.id,e),B(),()=>{v.get(e.id)===e&&(v.delete(e.id),B())}}n(oe,"registerStateSnapshotProvider");function ie(){return Array.from(v.values())}n(ie,"getStateSnapshotProviders");function se(e){return v.get(e)??null}n(se,"getStateSnapshotProvider");function ue(e){return L.add(e),()=>{L.delete(e)}}n(ue,"subscribeToStateSnapshotProviders");function C(){return null}n(C,"loadDevSettings");function O(){return null}n(O,"loadExpoUpdates");function j(){return typeof window>"u"?null:()=>window.location.reload()}n(j,"loadBrowserReload");function $(e="auto"){return e==="browser"?j()?"browser":null:e==="auto"&&j()?"browser":e==="dev-settings"?C()?"dev-settings":null:e==="expo-updates"?O()?"expo-updates":null:Be&&C()?"dev-settings":O()?"expo-updates":null}n($,"resolveReloadStrategy");function V(e){return e==="browser"?"[buoy] Browser reload requires a browser window.":e==="dev-settings"?"[buoy] DevSettings.reload() unavailable \u2014 strategy 'dev-settings' requires React Native dev mode.":e==="expo-updates"?"[buoy] expo-updates not installed \u2014 strategy 'expo-updates' requires the host app to add the dependency.":"[buoy] No reload mechanism available. Run in __DEV__ or install expo-updates."}n(V,"unavailableMessage");async function F(e="auto",t="buoy reload"){let r=$(e);if(!r)throw new Error(V(e));return r==="browser"?j()():r==="dev-settings"?C().reload(t):await O().reloadAsync(),await new Promise(()=>{})}n(F,"reloadApp");var le=250;function ce(e){let t=e?.strategy??"auto",r=$(t);if(!r)throw new Error(V(t));let a=Math.max(0,e?.delayMs??le),o=e?.reason??"buoy remote reload";return setTimeout(()=>{F(r,o).catch(()=>{})},a),{strategy:r,delayMs:a}}n(ce,"scheduleReloadApp");function de(){return null}n(de,"getDevServerOrigin");function pe(){let e=globalThis.__buoyRealNow;return typeof e=="function"?e():Date.now()}n(pe,"realNow");var fe=class ct{constructor(){this.listeners=new Set;this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}getListenerCount(){return this.listeners.size}notify(...t){this.listeners.forEach(r=>{r(...t)})}onSubscribe(){}onUnsubscribe(){}};n(fe,"Subscribable");var Ze=fe;var he=class dt{constructor(){this.listeners=new Set}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(t){this.listeners.forEach(r=>{try{r(t)}catch{}})}};n(he,"SubscriberCountNotifier");var et=he,U=new et,tt=n(e=>U.subscribe(e),"subscribeToSubscriberCountChanges"),rt=n(e=>U.notify(e),"notifySubscriberCountChange");import{useSyncExternalStore as ye}from"react";var c,S=new Set,W,be;function ge(e){return c=e,()=>{c===e&&(c=void 0)}}n(ge,"registerBrowserRouter");function h(){return typeof location>"u"?"/":location.href}n(h,"getBrowserHref");function I(e=h()){let t=new URL(e,"http://localhost"),r=t.hash.startsWith("#/")?new URL(t.hash.slice(1),t.origin):t;return r.pathname||(r.pathname="/"),r}n(I,"getBrowserRouteURL");var w;function q(e){if(!S.size&&typeof window<"u"){let t=window.history,r=n(o=>{for(let i of[...S])try{i({href:h(),kind:o})}catch{}},"emit");if(w)w.active=true;else{let o=t.pushState,i=t.replaceState,s={push:o,replace:i,active:true},f=n(function(...m){let b=Reflect.apply(o,this,m);return s.active&&r("push"),b},"wrappedPush"),l=n(function(...m){let b=Reflect.apply(i,this,m);return s.active&&r("replace"),b},"wrappedReplace");t.pushState=f,t.replaceState=l,w=s,be=n(()=>{t.pushState!==f||t.replaceState!==l||(t.pushState=o,t.replaceState=i,w=void 0)},"unwrap")}let a=n(()=>r("pop"),"pop");window.addEventListener("popstate",a),window.addEventListener("hashchange",a),W=n(()=>{w&&(w.active=false),be?.(),window.removeEventListener("popstate",a),window.removeEventListener("hashchange",a),W=void 0},"detach")}return S.add(e),()=>{S.delete(e),S.size||W?.()}}n(q,"subscribeBrowserNavigation");function z(e){let t=typeof e=="string"?e:e.pathname,r=new URL(t,h());if(r.origin!==window.location.origin)throw new Error("Tool navigation must stay on the current origin.");if(typeof e!="string")for(let[a,o]of Object.entries(e.params??{}))r.searchParams.set(a,String(o));return`${r.pathname}${r.search}${r.hash}`}n(z,"pathFor");var E={push(e){let t=z(e);if(c)return c.push(t);window.history.pushState(null,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},replace(e){let t=z(e);if(c)return c.replace(t);window.history.replaceState(window.history.state,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},back(){c?c.back():window.history.back()},canGoBack(){return c?.canGoBack?.()??(typeof window<"u"&&window.history.length>1)},navigate(e){E.push(e)},setParams(e){E.replace({pathname:h(),params:e})},dismiss(e=1){window.history.go(-e)},dismissAll(){throw new Error("Use the captured browser history to select a destination.")}};var we=n(e=>q(e),"subscribe"),M=I;function me(){return E}n(me,"useSafeRouter");function J(){return ye(we,h,()=>"/"),M().pathname}n(J,"useSafePathname");function ve(){return J().split("/").filter(Boolean)}n(ve,"useSafeSegments");function Se(){return ye(we,h,()=>"/"),Object.fromEntries(M().searchParams)}n(Se,"useSafeGlobalSearchParams");function Ee(){return typeof window>"u"?null:E}n(Ee,"getSafeRouter");function Re(){return M().pathname}n(Re,"getSafeCurrentPathname");function Te(){let e=M();return{pathname:e.pathname,href:`${e.pathname}${e.search}${e.hash}`,segments:e.pathname.split("/").filter(Boolean)}}n(Te,"getSafeCurrentRoute");function xe(){return false}n(xe,"isExpoRouterAvailable");var Ce=new WeakMap,nt=1;function y(e){return!!e&&typeof e=="object"&&e.nodeType===1&&typeof e.getBoundingClientRect=="function"}n(y,"isDOMElement");function D(e){if(!y(e))return null;let t=Ce.get(e);return t===void 0&&(t=nt++,Ce.set(e,t)),t}n(D,"getDOMNodeHandle");function Oe(e){if(!y(e))return null;let t=Object.keys(e).find(r=>r.startsWith("__reactFiber$"));return t?e[t]:null}n(Oe,"getDOMFiber");function je(e,t){if(!y(e)||!t)return t;let r=e,a=e.tagName.toLowerCase(),o=a==="input"&&(r.type==="checkbox"||r.type==="radio"),i=a==="input"&&r.type==="range",s=a==="textarea"||a==="select"||a==="input"&&!o&&!i&&!["button","submit","reset","file","hidden"].includes(r.type),f=e.getAttribute("contenteditable"),l=!s&&!o&&!i&&(e.isContentEditable===true||f!==null&&f!=="false"),m=n(d=>{let u=e;u.focus();let k=u.ownerDocument.getSelection?.();if(k){let K=u.ownerDocument.createRange();K.selectNodeContents(u),k.removeAllRanges(),k.addRange(K)}let A=false;try{A=typeof u.ownerDocument.execCommand=="function"&&u.ownerDocument.execCommand("insertText",false,d)}catch{A=false}A||(u.textContent=d,u.dispatchEvent(new InputEvent("input",{bubbles:true,inputType:"insertText",data:d})))},"setEditable"),b=n(d=>{if(o){r.checked!==!!d&&r.click();return}let u=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),"value")?.set;u?u.call(r,String(d)):r.value=String(d),r.dispatchEvent(new Event("input",{bubbles:true})),r.dispatchEvent(new Event("change",{bubbles:true}))},"setValue");return{...t,__buoyDevToolsRoot:t.__buoyDevToolsRoot||t["data-buoy-root"]!==void 0,testID:t.testID??t["data-testid"],nativeID:t.nativeID??t.id,accessibilityLabel:t.accessibilityLabel??t["aria-label"],accessibilityRole:t.accessibilityRole??t.role??(a==="button"?"button":a==="a"?"link":o?r.type:s||l?"textbox":i?"slider":void 0),onPress:t.onPress??(typeof t.onClick=="function"||a==="button"||a==="a"?()=>r.click():void 0),...o||i?{onValueChange:b,value:o?r.checked:Number(r.value),...i?{minimumValue:Number(r.min||0),maximumValue:Number(r.max||100)}:{}}:{},...s?{onChangeText:b,value:r.value}:{},...l?{onChangeText:n(d=>m(String(d)),"onChangeText"),value:e.innerText??e.textContent??""}:{}}}n(je,"getDOMControlProps");function $e(e){return y(e)?{__nativeTag:D(e),measure(t){let r=e.getBoundingClientRect();t(r.x,r.y,r.width,r.height,r.x,r.y)},measureInWindow(t){let r=e.getBoundingClientRect();t(r.x,r.y,r.width,r.height)},requestTVFocus(){e.focus()},focus(){e.focus()}}:null}n($e,"getDOMPublicInstance");var at={topFocus:"focus",topBlur:"blur",topTouchStart:"pointerdown",topTouchMove:"pointermove",topTouchEnd:"pointerup",topTouchCancel:"pointercancel",topChange:"input",topValueChange:"input",topSlidingComplete:"change"};function Me(){return typeof document>"u"?{emitter:null,reason:"DOM events are unavailable during server rendering."}:{reason:null,emitter:{addListener(e,t){let r=at[e];if(!r)throw new Error(`Unsupported DOM event: ${e}`);let a=n(o=>{let i=o.composedPath()[0]??o.target;if(!y(i))return;let s=i,f=o,l={target:D(i),pageX:f.clientX,pageY:f.clientY};(r==="input"||r==="change")&&(s.type==="checkbox"||s.type==="radio"?l.value=s.checked:s.type==="range"?l.value=Number(s.value):l.text=s.value??i.textContent??""),t({eventName:e,nativeEvent:l})},"callback");return document.addEventListener(r,a,true),{remove:n(()=>document.removeEventListener(r,a,true),"remove")}}}}}n(Me,"resolveDOMEventEmitter");var G=new Map,De=0;function Pe(e){for(let[t,r]of Object.entries(e)){let a=t.startsWith("@buoy-gg/")?t.replace(/\/web$/,""):`@buoy-gg/${t}`;G.get(a)!==r&&(G.set(a,r),De++)}}n(Pe,"registerToolModules");function H(e){return G.get(e)??null}n(H,"getRegisteredToolModule");function ke(){return De}n(ke,"getToolModuleVersion");function Ae(e){let t=H(e);if(!t)throw new Error(`Register ${e} with createWebTools before opening tools that use it.`);return t}n(Ae,"loadToolModule");import{Component as ot}from"react";var Ne="__buoyFiberRootAnchors",it=3;function P(){let e=globalThis;return e[Ne]??(e[Ne]=new Set)}n(P,"anchors");var _e=class ht extends ot{componentDidMount(){P().add(this)}componentWillUnmount(){P().delete(this)}render(){return null}};n(_e,"FiberRootAnchor");var st=_e;function Le(){let e=new Set;for(let t of P()){let r=t._reactInternals;for(let a=0;r&&a<1e4;a++){if(r.tag===it&&!r.return){r.stateNode?.current&&e.add(r.stateNode);break}r=r.return}}return[...e]}n(Le,"getAnchoredFiberRoots");export{Ze as a,U as b,tt as c,rt as d,pe as e,Ve as f,Fe as g,Ue as h,We as i,Ie as j,qe as k,ze as l,Je as m,Ge as n,He as o,Ke as p,Xe as q,N as r,Ye as s,Y as t,te as u,ne as v,ae as w,oe as x,ie as y,se as z,ue as A,$ as B,F as C,le as D,ce as E,de as F,ge as G,h as H,I,q as J,E as K,me as L,J as M,ve as N,Se as O,Ee as P,Re as Q,Te as R,xe as S,y as T,D as U,Oe as V,je as W,$e as X,Me as Y,Pe as Z,H as _,ke as $,Ae as aa,st as ba,Le as ca};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as e}from"./chunk-T6T3FEMU.mjs";var o={base:"@react_buoy",bubble:{root:e(()=>`${o.base}_bubble`,"root"),settings:e(()=>`${o.bubble.root()}_settings`,"settings"),userPreferences:e(()=>`${o.bubble.root()}_user_preferences`,"userPreferences"),position:e(()=>`${o.bubble.root()}_position`,"position")},modal:{root:e(()=>`${o.base}_modal`,"root"),state:e(()=>`${o.modal.root()}_state`,"state"),position:e(()=>`${o.modal.root()}_position`,"position"),dimensions:e(()=>`${o.modal.root()}_dimensions`,"dimensions"),hintAcknowledged:e(()=>`${o.modal.root()}_hint_acknowledged`,"hintAcknowledged")},custom:e(t=>{let r=`${o.base}_custom_${t}`;return{root:e(()=>r,"root"),modal:e(()=>`${r}_modal`,"modal"),settings:e(()=>`${r}_settings`,"settings"),key:e(s=>`${r}_${s}`,"key")}},"custom"),askBuoy:{root:e(()=>`${o.base}_ask_buoy`,"root"),model:e(()=>`${o.askBuoy.root()}_model`,"model")},settings:{root:e(()=>`${o.base}_settings`,"root"),theme:e(()=>`${o.settings.root()}_theme`,"theme"),preferences:e(()=>`${o.settings.root()}_preferences`,"preferences"),wifiEnabled:e(()=>`${o.settings.root()}_wifi_enabled`,"wifiEnabled"),global:e(()=>`${o.settings.root()}_global`,"global"),activeTab:e(()=>`${o.settings.root()}_active_tab`,"activeTab"),modalOpen:e(()=>`${o.settings.root()}_modal_open`,"modalOpen")},dial:{root:e(()=>`${o.base}_dial`,"root"),isOpen:e(()=>`${o.dial.root()}_is_open`,"isOpen"),usage:e(()=>`${o.dial.root()}_usage`,"usage")},clipboard:{root:e(()=>`${o.base}_clipboard`,"root"),hintAcknowledged:e(()=>`${o.clipboard.root()}_hint_acknowledged`,"hintAcknowledged")},env:{root:e(()=>`${o.base}_env`,"root"),modal:e(()=>`${o.env.root()}_modal`,"modal"),currentEnv:e(()=>`${o.env.root()}_current`,"currentEnv"),overrides:e(()=>`${o.env.root()}_overrides`,"overrides")},sentry:{root:e(()=>`${o.base}_sentry`,"root"),modal:e(()=>`${o.sentry.root()}_modal`,"modal"),filters:e(()=>`${o.sentry.root()}_filters`,"filters"),preferences:e(()=>`${o.sentry.root()}_preferences`,"preferences")},storage:{root:e(()=>`${o.base}_storage`,"root"),modal:e(()=>`${o.storage.root()}_modal`,"modal"),eventsModal:e(()=>`${o.storage.root()}_events_modal`,"eventsModal"),filters:e(()=>`${o.storage.root()}_filters`,"filters"),eventFilters:e(()=>`${o.storage.root()}_event_filters`,"eventFilters"),keyFilters:e(()=>`${o.storage.root()}_key_filters`,"keyFilters"),pinnedKeys:e(()=>`${o.storage.root()}_pinned_keys`,"pinnedKeys"),preferences:e(()=>`${o.storage.root()}_preferences`,"preferences"),activeTab:e(()=>`${o.storage.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.storage.root()}_is_monitoring`,"isMonitoring"),diffViewerMode:e(()=>`${o.storage.root()}_diff_viewer_mode`,"diffViewerMode")},clock:{root:e(()=>`${o.base}_clock`,"root"),state:e(()=>`${o.clock.root()}_state`,"state")},bugLinks:{root:e(()=>`${o.base}_bug_links`,"root"),links:e(()=>`${o.bugLinks.root()}_links`,"links"),settings:e(()=>`${o.bugLinks.root()}_settings`,"settings"),loaded:e(()=>`${o.bugLinks.root()}_loaded`,"loaded")},permissions:{root:e(()=>`${o.base}_permissions`,"root"),state:e(()=>`${o.permissions.root()}_state`,"state")},lifecycle:{root:e(()=>`${o.base}_lifecycle`,"root"),state:e(()=>`${o.lifecycle.root()}_state`,"state")},location:{root:e(()=>`${o.base}_location`,"root"),state:e(()=>`${o.location.root()}_state`,"state")},timeMachine:{root:e(()=>`${o.base}_time_machine`,"root"),diffViewerMode:e(()=>`${o.timeMachine.root()}_diff_viewer_mode`,"diffViewerMode"),armedPoint:e(()=>`${o.timeMachine.root()}_armed_point`,"armedPoint"),barReloadMode:e(()=>`${o.timeMachine.root()}_bar_reload_mode`,"barReloadMode"),disabledSources:e(()=>`${o.timeMachine.root()}_disabled_sources`,"disabledSources")},scenarios:{root:e(()=>`${o.base}_scenarios`,"root"),modal:e(()=>`${o.scenarios.root()}_modal`,"modal"),library:e(()=>`${o.scenarios.root()}_library`,"library"),active:e(()=>`${o.scenarios.root()}_active`,"active"),team:e(()=>`${o.scenarios.root()}_team`,"team")},reactQuery:{root:e(()=>`${o.base}_rq`,"root"),modal:e(()=>`${o.reactQuery.root()}_modal`,"modal"),browserModal:e(()=>`${o.reactQuery.root()}_browser_modal`,"browserModal"),mutationModal:e(()=>`${o.reactQuery.root()}_mutation_modal`,"mutationModal"),filters:e(()=>`${o.reactQuery.root()}_filters`,"filters"),ignoredPatterns:e(()=>`${o.reactQuery.root()}_ignored_patterns`,"ignoredPatterns"),includedPatterns:e(()=>`${o.reactQuery.root()}_included_patterns`,"includedPatterns"),preferences:e(()=>`${o.reactQuery.root()}_preferences`,"preferences")},network:{root:e(()=>`${o.base}_network`,"root"),modal:e(()=>`${o.network.root()}_modal`,"modal"),copyModal:e(()=>`${o.network.root()}_copy_modal`,"copyModal"),filters:e(()=>`${o.network.root()}_filters`,"filters"),ignoredDomains:e(()=>`${o.network.root()}_ignored_domains`,"ignoredDomains"),ignoredUrls:e(()=>`${o.network.root()}_ignored_urls`,"ignoredUrls"),preferences:e(()=>`${o.network.root()}_preferences`,"preferences"),copyOptions:e(()=>`${o.network.root()}_copy_options`,"copyOptions"),saved:e(()=>`${o.network.root()}_saved`,"saved"),overrides:e(()=>`${o.network.root()}_overrides`,"overrides")},routeEvents:{root:e(()=>`${o.base}_route_events`,"root"),modal:e(()=>`${o.routeEvents.root()}_modal`,"modal"),eventFilters:e(()=>`${o.routeEvents.root()}_event_filters`,"eventFilters"),activeTab:e(()=>`${o.routeEvents.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.routeEvents.root()}_is_monitoring`,"isMonitoring"),detailView:e(()=>`${o.routeEvents.root()}_detail_view`,"detailView"),diffViewerMode:e(()=>`${o.routeEvents.root()}_diff_viewer_mode`,"diffViewerMode")},highlightUpdates:{root:e(()=>`${o.base}_highlight_updates`,"root"),modal:e(()=>`${o.highlightUpdates.root()}_modal`,"modal"),isTracking:e(()=>`${o.highlightUpdates.root()}_is_tracking`,"isTracking"),filters:e(()=>`${o.highlightUpdates.root()}_filters`,"filters"),settings:e(()=>`${o.highlightUpdates.root()}_settings`,"settings"),copySettings:e(()=>`${o.highlightUpdates.root()}_copy_settings`,"copySettings")},benchmark:{root:e(()=>`${o.base}_benchmark`,"root"),modal:e(()=>`${o.benchmark.root()}_modal`,"modal"),isRecording:e(()=>`${o.benchmark.root()}_is_recording`,"isRecording"),activeTab:e(()=>`${o.benchmark.root()}_active_tab`,"activeTab"),settings:e(()=>`${o.benchmark.root()}_settings`,"settings"),selectedReports:e(()=>`${o.benchmark.root()}_selected_reports`,"selectedReports")},debugBorders:{root:e(()=>`${o.base}_debug_borders`,"root"),infoModal:e(()=>`${o.debugBorders.root()}_info_modal`,"infoModal")},events:{root:e(()=>`${o.base}_events`,"root"),modal:e(()=>`${o.events.root()}_modal`,"modal"),enabledSources:e(()=>`${o.events.root()}_enabled_sources`,"enabledSources"),isCapturing:e(()=>`${o.events.root()}_is_capturing`,"isCapturing"),pausedAt:e(()=>`${o.events.root()}_paused_at`,"pausedAt"),copySettings:e(()=>`${o.events.root()}_copy_settings`,"copySettings")},sync:{root:e(()=>`${o.base}_sync`,"root"),deviceId:e(()=>`${o.sync.root()}_device_id`,"deviceId")}},u=["@devtools","@dev_tools_","@modal_state_","@react_query_browser_modal","@react_query_modal","@react_query_mutation_modal","@sentry_logs_modal","@floating_rn_better_dev_tools_","@floating_tools_","@apphost_","@bubble_settings_","@env_vars_modal","@storage_modal","@floating_@devtools_","dev_last_route"];function c(t){if(!t)return false;for(let r of["@AsyncStorage:","CapacitorStorage."])t.startsWith(r)&&(t=t.slice(r.length));if(t.startsWith(o.base)||t.startsWith("buoy-")||t.startsWith("@buoy")||/^(?:buoy[._]|__buoy|react-buoy)/i.test(t))return true;for(let r of u)if(t.startsWith(r))return true;return false}e(c,"isDevToolsStorageKey");var l=new Set;function
|
|
1
|
+
"use client";import{a as e}from"./chunk-T6T3FEMU.mjs";var o={base:"@react_buoy",bubble:{root:e(()=>`${o.base}_bubble`,"root"),settings:e(()=>`${o.bubble.root()}_settings`,"settings"),userPreferences:e(()=>`${o.bubble.root()}_user_preferences`,"userPreferences"),position:e(()=>`${o.bubble.root()}_position`,"position")},modal:{root:e(()=>`${o.base}_modal`,"root"),state:e(()=>`${o.modal.root()}_state`,"state"),position:e(()=>`${o.modal.root()}_position`,"position"),dimensions:e(()=>`${o.modal.root()}_dimensions`,"dimensions"),hintAcknowledged:e(()=>`${o.modal.root()}_hint_acknowledged`,"hintAcknowledged")},custom:e(t=>{let r=`${o.base}_custom_${t}`;return{root:e(()=>r,"root"),modal:e(()=>`${r}_modal`,"modal"),settings:e(()=>`${r}_settings`,"settings"),key:e(s=>`${r}_${s}`,"key")}},"custom"),askBuoy:{root:e(()=>`${o.base}_ask_buoy`,"root"),model:e(()=>`${o.askBuoy.root()}_model`,"model")},settings:{root:e(()=>`${o.base}_settings`,"root"),theme:e(()=>`${o.settings.root()}_theme`,"theme"),preferences:e(()=>`${o.settings.root()}_preferences`,"preferences"),wifiEnabled:e(()=>`${o.settings.root()}_wifi_enabled`,"wifiEnabled"),global:e(()=>`${o.settings.root()}_global`,"global"),activeTab:e(()=>`${o.settings.root()}_active_tab`,"activeTab"),modalOpen:e(()=>`${o.settings.root()}_modal_open`,"modalOpen")},dial:{root:e(()=>`${o.base}_dial`,"root"),isOpen:e(()=>`${o.dial.root()}_is_open`,"isOpen"),usage:e(()=>`${o.dial.root()}_usage`,"usage")},clipboard:{root:e(()=>`${o.base}_clipboard`,"root"),hintAcknowledged:e(()=>`${o.clipboard.root()}_hint_acknowledged`,"hintAcknowledged")},env:{root:e(()=>`${o.base}_env`,"root"),modal:e(()=>`${o.env.root()}_modal`,"modal"),currentEnv:e(()=>`${o.env.root()}_current`,"currentEnv"),overrides:e(()=>`${o.env.root()}_overrides`,"overrides")},sentry:{root:e(()=>`${o.base}_sentry`,"root"),modal:e(()=>`${o.sentry.root()}_modal`,"modal"),filters:e(()=>`${o.sentry.root()}_filters`,"filters"),preferences:e(()=>`${o.sentry.root()}_preferences`,"preferences")},storage:{root:e(()=>`${o.base}_storage`,"root"),modal:e(()=>`${o.storage.root()}_modal`,"modal"),eventsModal:e(()=>`${o.storage.root()}_events_modal`,"eventsModal"),filters:e(()=>`${o.storage.root()}_filters`,"filters"),eventFilters:e(()=>`${o.storage.root()}_event_filters`,"eventFilters"),keyFilters:e(()=>`${o.storage.root()}_key_filters`,"keyFilters"),pinnedKeys:e(()=>`${o.storage.root()}_pinned_keys`,"pinnedKeys"),preferences:e(()=>`${o.storage.root()}_preferences`,"preferences"),activeTab:e(()=>`${o.storage.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.storage.root()}_is_monitoring`,"isMonitoring"),diffViewerMode:e(()=>`${o.storage.root()}_diff_viewer_mode`,"diffViewerMode")},clock:{root:e(()=>`${o.base}_clock`,"root"),state:e(()=>`${o.clock.root()}_state`,"state")},bugLinks:{root:e(()=>`${o.base}_bug_links`,"root"),links:e(()=>`${o.bugLinks.root()}_links`,"links"),settings:e(()=>`${o.bugLinks.root()}_settings`,"settings"),loaded:e(()=>`${o.bugLinks.root()}_loaded`,"loaded")},permissions:{root:e(()=>`${o.base}_permissions`,"root"),state:e(()=>`${o.permissions.root()}_state`,"state")},lifecycle:{root:e(()=>`${o.base}_lifecycle`,"root"),state:e(()=>`${o.lifecycle.root()}_state`,"state")},location:{root:e(()=>`${o.base}_location`,"root"),state:e(()=>`${o.location.root()}_state`,"state")},timeMachine:{root:e(()=>`${o.base}_time_machine`,"root"),diffViewerMode:e(()=>`${o.timeMachine.root()}_diff_viewer_mode`,"diffViewerMode"),armedPoint:e(()=>`${o.timeMachine.root()}_armed_point`,"armedPoint"),barReloadMode:e(()=>`${o.timeMachine.root()}_bar_reload_mode`,"barReloadMode"),disabledSources:e(()=>`${o.timeMachine.root()}_disabled_sources`,"disabledSources")},scenarios:{root:e(()=>`${o.base}_scenarios`,"root"),modal:e(()=>`${o.scenarios.root()}_modal`,"modal"),library:e(()=>`${o.scenarios.root()}_library`,"library"),active:e(()=>`${o.scenarios.root()}_active`,"active"),team:e(()=>`${o.scenarios.root()}_team`,"team")},reactQuery:{root:e(()=>`${o.base}_rq`,"root"),modal:e(()=>`${o.reactQuery.root()}_modal`,"modal"),browserModal:e(()=>`${o.reactQuery.root()}_browser_modal`,"browserModal"),mutationModal:e(()=>`${o.reactQuery.root()}_mutation_modal`,"mutationModal"),filters:e(()=>`${o.reactQuery.root()}_filters`,"filters"),ignoredPatterns:e(()=>`${o.reactQuery.root()}_ignored_patterns`,"ignoredPatterns"),includedPatterns:e(()=>`${o.reactQuery.root()}_included_patterns`,"includedPatterns"),preferences:e(()=>`${o.reactQuery.root()}_preferences`,"preferences")},network:{root:e(()=>`${o.base}_network`,"root"),modal:e(()=>`${o.network.root()}_modal`,"modal"),copyModal:e(()=>`${o.network.root()}_copy_modal`,"copyModal"),filters:e(()=>`${o.network.root()}_filters`,"filters"),ignoredDomains:e(()=>`${o.network.root()}_ignored_domains`,"ignoredDomains"),ignoredUrls:e(()=>`${o.network.root()}_ignored_urls`,"ignoredUrls"),preferences:e(()=>`${o.network.root()}_preferences`,"preferences"),copyOptions:e(()=>`${o.network.root()}_copy_options`,"copyOptions"),saved:e(()=>`${o.network.root()}_saved`,"saved"),overrides:e(()=>`${o.network.root()}_overrides`,"overrides")},routeEvents:{root:e(()=>`${o.base}_route_events`,"root"),modal:e(()=>`${o.routeEvents.root()}_modal`,"modal"),eventFilters:e(()=>`${o.routeEvents.root()}_event_filters`,"eventFilters"),activeTab:e(()=>`${o.routeEvents.root()}_active_tab`,"activeTab"),isMonitoring:e(()=>`${o.routeEvents.root()}_is_monitoring`,"isMonitoring"),detailView:e(()=>`${o.routeEvents.root()}_detail_view`,"detailView"),diffViewerMode:e(()=>`${o.routeEvents.root()}_diff_viewer_mode`,"diffViewerMode")},highlightUpdates:{root:e(()=>`${o.base}_highlight_updates`,"root"),modal:e(()=>`${o.highlightUpdates.root()}_modal`,"modal"),isTracking:e(()=>`${o.highlightUpdates.root()}_is_tracking`,"isTracking"),filters:e(()=>`${o.highlightUpdates.root()}_filters`,"filters"),settings:e(()=>`${o.highlightUpdates.root()}_settings`,"settings"),copySettings:e(()=>`${o.highlightUpdates.root()}_copy_settings`,"copySettings")},benchmark:{root:e(()=>`${o.base}_benchmark`,"root"),modal:e(()=>`${o.benchmark.root()}_modal`,"modal"),isRecording:e(()=>`${o.benchmark.root()}_is_recording`,"isRecording"),activeTab:e(()=>`${o.benchmark.root()}_active_tab`,"activeTab"),settings:e(()=>`${o.benchmark.root()}_settings`,"settings"),selectedReports:e(()=>`${o.benchmark.root()}_selected_reports`,"selectedReports")},debugBorders:{root:e(()=>`${o.base}_debug_borders`,"root"),infoModal:e(()=>`${o.debugBorders.root()}_info_modal`,"infoModal")},events:{root:e(()=>`${o.base}_events`,"root"),modal:e(()=>`${o.events.root()}_modal`,"modal"),enabledSources:e(()=>`${o.events.root()}_enabled_sources`,"enabledSources"),isCapturing:e(()=>`${o.events.root()}_is_capturing`,"isCapturing"),pausedAt:e(()=>`${o.events.root()}_paused_at`,"pausedAt"),copySettings:e(()=>`${o.events.root()}_copy_settings`,"copySettings")},sync:{root:e(()=>`${o.base}_sync`,"root"),deviceId:e(()=>`${o.sync.root()}_device_id`,"deviceId")}},u=["@devtools","@dev_tools_","@modal_state_","@react_query_browser_modal","@react_query_modal","@react_query_mutation_modal","@sentry_logs_modal","@floating_rn_better_dev_tools_","@floating_tools_","@apphost_","@bubble_settings_","@env_vars_modal","@storage_modal","@floating_@devtools_","dev_last_route"];function c(t){if(!t)return false;for(let r of["@AsyncStorage:","CapacitorStorage."])t.startsWith(r)&&(t=t.slice(r.length));if(t.startsWith(o.base)||t.startsWith("buoy-")||t.startsWith("@buoy")||/^(?:buoy[._]|__buoy|react-buoy)/i.test(t))return true;for(let r of u)if(t.startsWith(r))return true;return false}e(c,"isDevToolsStorageKey");var l=new Set;function m(t){return l.add(t),()=>l.delete(t)}e(m,"subscribeStorageWrites");function d(t,r){for(let s of[...l])try{s(t,r)}catch{}}e(d,"notifyStorageWrite");var a=new Map;function i(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}e(i,"storage");var n={async getItem(t){if(a.has(t))return a.get(t)??null;try{return i()?.getItem(t)??null}catch{return null}},async setItem(t,r){a.set(t,r);try{let s=i();s&&(s.setItem(t,r),a.delete(t))}catch{}d(t,r)},async removeItem(t){a.set(t,null);try{let r=i();r&&(r.removeItem(t),a.delete(t))}catch{}d(t,null)},async getAllKeys(){let t=new Set;try{let r=i();if(r)for(let s=0;s<r.length;s++){let _=r.key(s);_?.startsWith(o.base)&&t.add(_)}}catch{}for(let[r,s]of a)r.startsWith(o.base)&&(s===null?t.delete(r):t.add(r));return[...t]},async multiGet(t){return Promise.all(t.map(async r=>[r,await n.getItem(r)]))},async multiRemove(t){await Promise.all(t.map(r=>n.removeItem(r)))},async clear(){await n.multiRemove(await n.getAllKeys())}};async function g(){return i()!==null}e(g,"isUsingPersistentStorage");async function $(){return i()?"localstorage":"memory"}e($,"getStorageBackendType");export{o as a,c as b,m as c,n as d,g as e,$ as f};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";import{e as ge}from"./chunk-FPMEM2QO.mjs";import{d as j}from"./chunk-SXWOOYFL.mjs";import{A as N,B as q,H as U,I as r,W as fe,r as T,s as S,t as w,v as A,y as V}from"./chunk-QXVVA64P.mjs";import{a as l}from"./chunk-T6T3FEMU.mjs";import{useCallback as he,useEffect as ye,useRef as z,useState as K}from"react";var B=new Map;function X(e){try{return JSON.parse(e)}catch{return}}l(X,"defaultParse");function _(e,t,n={}){let[s,o]=K(()=>B.has(e)?B.get(e):t),[v,h]=K(()=>B.has(e)),d=z(e);d.current=e;let u=z(n);u.current=n,ye(()=>{if(B.has(e)){o(B.get(e)),h(true);return}let c=false,m=u.current.storage??j,p=u.current.parse??X;return m.getItem(e).then(y=>{if(!c){if(y!=null){let g;try{g=p(y)}catch{}g!==void 0&&(B.set(e,g),o(g))}h(true)}}).catch(()=>{c||h(true)}),()=>{c=true}},[e]);let I=he(c=>{o(m=>{let p=typeof c=="function"?c(m):c;B.set(d.current,p);let y=u.current.storage??j,g=u.current.serialize??JSON.stringify;try{y.setItem(d.current,g(p)).catch(()=>{})}catch{}return p})},[]);return[s,I,v]}l(_,"usePersistedState");function Q(){B.clear()}l(Q,"resetPersistedStateCache");import{useCallback as F,useEffect as Z,useMemo as Se,useState as D}from"react";function ee(e,t={}){let[n,s]=D(()=>e.getAll()),[o,v]=D(()=>t.initialFilter??{}),[h,d]=D(()=>e.getEnabled());Z(()=>e.subscribe(s),[e]);let u=t.filterItems,I=Se(()=>u?u(n,o):n,[n,o,u]),c=F(()=>{e.clear()},[e]),m=F(()=>{let y=!h;e.setEnabled(y),d(y)},[e,h]),p=F(y=>e.getById(y),[e]);return{items:n,filteredItems:I,filter:o,setFilter:v,isEnabled:h,toggleCapture:m,clear:c,getById:p}}l(ee,"useChangeLog");function te(e,t){let[n,s]=D(e);return Z(()=>t(s),[t]),n}l(te,"useSubscribedValue");import{useCallback as me,useEffect as pe,useState as ne}from"react";function ie(e,t={}){let{enabled:n=true,maxEvents:s=500,select:o}=t,[v,h]=ne([]),[d,u]=ne(n);pe(()=>{if(!n){u(false);return}let c=null,m=null,p=e.subscribeToEvents(y=>{m=y,c==null&&(c=requestAnimationFrame(()=>{if(c=null,!m)return;let g=m;m=null,o&&(g=o(g)),g.length>s&&(g=g.slice(0,s)),h(g)}))});return u(true),()=>{p(),c!=null&&cancelAnimationFrame(c)}},[e,n,s,o]);let I=me(()=>{e.clearEvents()},[e]);return{events:v,clearEvents:I,isActive:d}}l(ie,"useEventStoreEvents");import{useState as b,useEffect as C,useCallback as be}from"react";async function J(){let[e,t,n]=await Promise.all([S.isScreenReaderEnabled(),S.isReduceMotionEnabled(),S.isReduceTransparencyEnabled()]),s={isScreenReaderEnabled:e,isReduceMotionEnabled:t,isReduceTransparencyEnabled:n};if(r.OS==="ios"){let[o,v,h,d,u]=await Promise.all([S.isBoldTextEnabled?.()??Promise.resolve(false),S.isGrayscaleEnabled?.()??Promise.resolve(false),S.isInvertColorsEnabled?.()??Promise.resolve(false),S.isDarkerSystemColorsEnabled?.()??Promise.resolve(false),S.prefersCrossFadeTransitions?.()??Promise.resolve(false)]);s.isBoldTextEnabled=o,s.isGrayscaleEnabled=v,s.isInvertColorsEnabled=h,s.isDarkerSystemColorsEnabled=d,s.prefersCrossFadeTransitions=u}if(r.OS==="android"){let o=await S.isHighTextContrastEnabled?.()??false;s.isHighTextContrastEnabled=o}return s}l(J,"getAccessibilitySettings");function O(){let e=r.constants,t={os:r.OS,version:r.Version,reactNativeVersion:e.reactNativeVersion,isTesting:r.isTesting??false,isDisableAnimations:e.isDisableAnimations??false};return r.OS==="ios"?{...t,osVersion:e.osVersion,systemName:e.systemName,interfaceIdiom:e.interfaceIdiom,isPad:r.isPad,isTV:r.isTV,isVision:r.isVision??false,isMacCatalyst:r.isMacCatalyst??false,forceTouchAvailable:e.forceTouchAvailable}:r.OS==="android"?{...t,apiLevel:e.Version,release:e.Release,brand:e.Brand,manufacturer:e.Manufacturer,model:e.Model,fingerprint:e.Fingerprint,serial:e.Serial,uiMode:e.uiMode}:t}l(O,"getPlatformInfo");function L(){let e=V.get("window"),t=V.get("screen"),n={window:{width:e.width,height:e.height,scale:e.scale,fontScale:e.fontScale},screen:{width:t.width,height:t.height,scale:t.scale,fontScale:t.fontScale},pixelRatio:U.get(),fontScale:U.getFontScale(),isLandscape:e.width>e.height,isPortrait:e.height>e.width};if(r.OS==="ios")try{let s=T.DeviceInfo?.getConstants?.();n.isIPhoneNotched=s?.isIPhoneX_deprecated??false}catch{n.isIPhoneNotched=false}if(r.OS==="android")try{let s=T.DeviceInfo?.getConstants?.();n.isEdgeToEdge=s?.isEdgeToEdge??false,n.densityDpi=Math.round(e.scale*160)}catch{}return n}l(L,"getDisplayInfo");async function x(){return new Promise(e=>{let t=false;r.OS==="ios"?T.StatusBarManager?.getHeight?.(n=>{t||(t=true,e(n?.height??null))})??e(null):r.OS==="android"?(t=true,e(fe.currentHeight??null)):(t=true,e(null)),setTimeout(()=>{t||(t=true,e(null))},100)})}l(x,"getStatusBarHeight");function P(){let e={isRTL:N.isRTL,doLeftAndRightSwapInRTL:N.doLeftAndRightSwapInRTL};return r.OS==="android"&&(e.localeIdentifier=N.localeIdentifier),e}l(P,"getLocaleInfo");function R(){if(r.OS==="ios")try{return{userDefaults:T.SettingsManager?.getConstants?.()?.settings??{}}}catch{return{}}return{}}l(R,"getSettingsInfo");function k(){let e={};if(r.OS==="android"){let t=r.constants;e.serial=t.Serial,e.fingerprint=t.Fingerprint;try{let n=T.PlatformConstants;n?.getAndroidID&&(e.androidId=n.getAndroidID())}catch{}}return e}l(k,"getUniqueIdentifiers");function ae(e){let t=[e.platform.os,e.platform.version,e.display.window.width,e.display.window.height,e.display.pixelRatio,e.platform.interfaceIdiom??"",e.platform.forceTouchAvailable??false,e.display.isIPhoneNotched??false,e.platform.model??"",e.platform.brand??"",e.platform.manufacturer??"",e.platform.uiMode??""].join("|"),n=0;for(let s=0;s<t.length;s++){let o=t.charCodeAt(s);n=(n<<5)-n+o,n=n&n}return Math.abs(n).toString(16).padStart(8,"0")}l(ae,"generateFingerprint");function se(){let[e,t]=b(true),[n,s]=b(O()),[o,v]=b(L()),[h,d]=b({isScreenReaderEnabled:false,isReduceMotionEnabled:false,isReduceTransparencyEnabled:false}),[u,I]=b(()=>{let f=w.getColorScheme()??null;return{colorScheme:f,prefersDarkMode:f==="dark"}}),[c,m]=b(P()),[p,y]=b({height:null,isVisible:true}),[g,H]=b({isVisible:false,height:0,animationDuration:0}),[G,le]=b({currentState:A.currentState,isActive:A.currentState==="active"}),[W,ce]=b(k()),[Y,de]=b(R()),[$,ue]=b(Date.now()),M=be(async()=>{t(true);let[f,i]=await Promise.all([J(),x()]);s(O()),v(L()),d(f);let a=w.getColorScheme()??null;I({colorScheme:a,prefersDarkMode:a==="dark"}),m(P()),y(E=>({...E,height:i})),ce(k()),de(R()),ue(Date.now()),t(false)},[]);return C(()=>{M()},[M]),C(()=>{let f=V.addEventListener("change",({window:i,screen:a})=>{v(E=>({...E,window:{width:i.width,height:i.height,scale:i.scale,fontScale:i.fontScale},screen:{width:a.width,height:a.height,scale:a.scale,fontScale:a.fontScale},isLandscape:i.width>i.height,isPortrait:i.height>i.width}))});return()=>f.remove()},[]),C(()=>{let f=w.addChangeListener(({colorScheme:i})=>{let a=i??null;I({colorScheme:a,prefersDarkMode:a==="dark"})});return()=>f.remove()},[]),C(()=>{let f=q.addListener(r.OS==="ios"?"keyboardWillShow":"keyboardDidShow",a=>{H({isVisible:true,height:a.endCoordinates.height,animationDuration:a.duration??0})}),i=q.addListener(r.OS==="ios"?"keyboardWillHide":"keyboardDidHide",a=>{H({isVisible:false,height:0,animationDuration:a.duration??0})});return()=>{f.remove(),i.remove()}},[]),C(()=>{let f=ge(i=>{le({currentState:i,isActive:i==="active"})});return()=>f.remove()},[]),C(()=>{let f=[S.addEventListener("screenReaderChanged",i=>{d(a=>({...a,isScreenReaderEnabled:i}))}),S.addEventListener("reduceMotionChanged",i=>{d(a=>({...a,isReduceMotionEnabled:i}))}),S.addEventListener("reduceTransparencyChanged",i=>{d(a=>({...a,isReduceTransparencyEnabled:i}))})];if(r.OS==="ios"){let i=l((a,E)=>S.addEventListener(a,E),"addIOSListener");f.push(i("boldTextChanged",a=>{d(E=>({...E,isBoldTextEnabled:a}))}),i("grayscaleChanged",a=>{d(E=>({...E,isGrayscaleEnabled:a}))}),i("invertColorsChanged",a=>{d(E=>({...E,isInvertColorsEnabled:a}))}))}return()=>{f.forEach(i=>i.remove())}},[]),{platform:n,display:o,accessibility:h,appearance:u,locale:c,statusBar:p,keyboard:g,appState:G,identifiers:W,settings:Y,timestamp:$,isLoading:e,refresh:M,generateFingerprint:l(()=>ae({platform:n,display:o,accessibility:h,appearance:u,locale:c,statusBar:p,keyboard:g,appState:G,identifiers:W,settings:Y,timestamp:$,isLoading:e}),"generateFingerprint")}}l(se,"useDeviceInfo");async function re(){let[e,t]=await Promise.all([J(),x()]),n=w.getColorScheme()??null;return{platform:O(),display:L(),accessibility:e,appearance:{colorScheme:n,prefersDarkMode:n==="dark"},locale:P(),statusBar:{height:t,isVisible:true},keyboard:{isVisible:false,height:0,animationDuration:0},appState:{currentState:A.currentState,isActive:A.currentState==="active"},identifiers:k(),settings:R(),timestamp:Date.now(),isLoading:false}}l(re,"getDeviceInfo");function oe(e){console.log("[Buoy]",`
|
|
2
|
+
========================================`),console.log("[Buoy]"," DEVICE INFO REPORT"),console.log("[Buoy]",`========================================
|
|
3
|
+
`),console.log("[Buoy]","--- PLATFORM ---"),console.log("[Buoy]",JSON.stringify(e.platform,null,2)),console.log("[Buoy]",`
|
|
4
|
+
--- DISPLAY ---`),console.log("[Buoy]",JSON.stringify(e.display,null,2)),console.log("[Buoy]",`
|
|
5
|
+
--- ACCESSIBILITY ---`),console.log("[Buoy]",JSON.stringify(e.accessibility,null,2)),console.log("[Buoy]",`
|
|
6
|
+
--- APPEARANCE ---`),console.log("[Buoy]",JSON.stringify(e.appearance,null,2)),console.log("[Buoy]",`
|
|
7
|
+
--- LOCALE ---`),console.log("[Buoy]",JSON.stringify(e.locale,null,2)),console.log("[Buoy]",`
|
|
8
|
+
--- STATUS BAR ---`),console.log("[Buoy]",JSON.stringify(e.statusBar,null,2)),console.log("[Buoy]",`
|
|
9
|
+
--- KEYBOARD ---`),console.log("[Buoy]",JSON.stringify(e.keyboard,null,2)),console.log("[Buoy]",`
|
|
10
|
+
--- APP STATE ---`),console.log("[Buoy]",JSON.stringify(e.appState,null,2)),console.log("[Buoy]",`
|
|
11
|
+
--- IDENTIFIERS ---`),console.log("[Buoy]",JSON.stringify(e.identifiers,null,2)),console.log("[Buoy]",`
|
|
12
|
+
--- SETTINGS ---`);let t=Object.keys(e.settings.userDefaults??{});console.log("[Buoy]",`userDefaults: ${t.length} keys`),t.length>0&&t.length<=20&&console.log("[Buoy]",JSON.stringify(e.settings,null,2)),console.log("[Buoy]",`
|
|
13
|
+
--- METADATA ---`),console.log("[Buoy]",`timestamp: ${e.timestamp}`),console.log("[Buoy]",`isLoading: ${e.isLoading}`),console.log("[Buoy]",`
|
|
14
|
+
========================================
|
|
15
|
+
`)}l(oe,"logDeviceInfo");export{_ as a,Q as b,ee as c,te as d,ie as e,se as f,re as g,oe as h};
|