@buoy-gg/shared-ui 7.0.74 → 7.0.76
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/capture.d.js +1 -0
- package/lib/commonjs/bugCase/capture.js +1 -0
- package/lib/commonjs/bugCase/format.d.js +1 -0
- package/lib/commonjs/bugCase/format.js +3 -0
- package/lib/commonjs/bugCase/index.d.js +1 -0
- package/lib/commonjs/bugCase/index.js +1 -0
- package/lib/commonjs/bugCase/lock.d.js +1 -0
- package/lib/commonjs/bugCase/lock.js +1 -0
- package/lib/commonjs/bugCase/recorder.d.js +1 -0
- package/lib/commonjs/bugCase/recorder.js +1 -0
- package/lib/commonjs/bugCase/scrub.d.js +1 -0
- package/lib/commonjs/bugCase/scrub.js +1 -0
- package/lib/commonjs/bugCase/steps.d.js +1 -0
- package/lib/commonjs/bugCase/steps.js +1 -0
- package/lib/commonjs/bugCase/types.d.js +1 -0
- package/lib/commonjs/bugCase/types.js +1 -0
- package/lib/commonjs/clipboard/autoDetectClipboard.d.js +1 -0
- package/lib/commonjs/clipboard/clipboard-impl.d.js +1 -0
- package/lib/commonjs/clipboard/copyToClipboard.d.js +1 -0
- package/lib/commonjs/clipboard/index.d.js +1 -0
- 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/AccountSetupContent.js +1 -1
- 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/licenseModule.js +1 -1
- 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/devToolsStorageKeys.js +1 -1
- 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/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/domRuntime.js +1 -1
- package/lib/commonjs/utils/expoRouterModule.d.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/minimalSuperJSON.js +1 -1
- package/lib/commonjs/utils/modalStorage.d.js +1 -0
- package/lib/commonjs/utils/nativeWeb.js +1 -1
- package/lib/commonjs/utils/persistentStorage.d.js +1 -0
- 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/capture.d.js +1 -0
- package/lib/module/bugCase/capture.js +1 -0
- package/lib/module/bugCase/format.d.js +1 -0
- package/lib/module/bugCase/format.js +3 -0
- package/lib/module/bugCase/index.d.js +1 -0
- package/lib/module/bugCase/index.js +1 -0
- package/lib/module/bugCase/lock.d.js +1 -0
- package/lib/module/bugCase/lock.js +1 -0
- package/lib/module/bugCase/recorder.d.js +1 -0
- package/lib/module/bugCase/recorder.js +1 -0
- package/lib/module/bugCase/scrub.d.js +1 -0
- package/lib/module/bugCase/scrub.js +1 -0
- package/lib/module/bugCase/steps.d.js +1 -0
- package/lib/module/bugCase/steps.js +1 -0
- package/lib/module/bugCase/types.d.js +1 -0
- package/lib/module/bugCase/types.js +1 -0
- package/lib/module/clipboard/autoDetectClipboard.d.js +1 -0
- package/lib/module/clipboard/clipboard-impl.d.js +1 -0
- package/lib/module/clipboard/copyToClipboard.d.js +1 -0
- package/lib/module/clipboard/index.d.js +1 -0
- 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/AccountSetupContent.js +1 -1
- 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/licenseModule.js +1 -1
- 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/devToolsStorageKeys.js +1 -1
- 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/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/domRuntime.js +1 -1
- package/lib/module/utils/expoRouterModule.d.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/minimalSuperJSON.js +1 -1
- package/lib/module/utils/modalStorage.d.js +1 -0
- package/lib/module/utils/nativeWeb.js +1 -1
- package/lib/module/utils/persistentStorage.d.js +1 -0
- 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/capture.d.ts +20 -0
- package/lib/typescript/commonjs/bugCase/format.d.ts +15 -0
- package/lib/typescript/commonjs/bugCase/index.d.ts +14 -0
- package/lib/typescript/commonjs/bugCase/lock.d.ts +99 -0
- package/lib/typescript/commonjs/bugCase/recorder.d.ts +8 -0
- package/lib/typescript/commonjs/bugCase/scrub.d.ts +59 -0
- package/lib/typescript/commonjs/bugCase/steps.d.ts +44 -0
- package/lib/typescript/commonjs/bugCase/types.d.ts +92 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts +1 -0
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts +1 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +12 -0
- package/lib/typescript/commonjs/utils/index.d.ts +1 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +6 -0
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts +8 -1
- package/lib/typescript/module/bugCase/capture.d.ts +20 -0
- package/lib/typescript/module/bugCase/format.d.ts +15 -0
- package/lib/typescript/module/bugCase/index.d.ts +14 -0
- package/lib/typescript/module/bugCase/lock.d.ts +99 -0
- package/lib/typescript/module/bugCase/recorder.d.ts +8 -0
- package/lib/typescript/module/bugCase/scrub.d.ts +59 -0
- package/lib/typescript/module/bugCase/steps.d.ts +44 -0
- package/lib/typescript/module/bugCase/types.d.ts +92 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/index.d.ts +1 -0
- package/lib/typescript/module/license/AccountSetupContent.d.ts +1 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +12 -0
- package/lib/typescript/module/utils/index.d.ts +1 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts +6 -0
- package/lib/typescript/module/utils/nativeWeb.d.ts +8 -1
- package/lib/web/chunks/chunk-3HELV44Y.mjs +1 -1
- package/lib/web/chunks/chunk-4HIK66DZ.mjs +1 -1
- package/lib/web/chunks/chunk-4QFANR3K.mjs +1 -0
- package/lib/web/chunks/chunk-5G6RSRP4.mjs +1 -1
- package/lib/web/chunks/chunk-7CBB7NEY.mjs +1 -1
- package/lib/web/chunks/chunk-CJTGUGMQ.mjs +1 -1
- package/lib/web/chunks/chunk-DJD42EPL.mjs +1 -0
- package/lib/web/chunks/chunk-FPMEM2QO.mjs +1 -0
- package/lib/web/chunks/chunk-G27JNYZ3.mjs +2 -2
- package/lib/web/chunks/chunk-GMM6TGFO.mjs +1 -1
- package/lib/web/chunks/chunk-GN75GBYZ.mjs +1 -0
- package/lib/web/chunks/chunk-GTRVOJUH.mjs +1 -0
- package/lib/web/chunks/chunk-HIAN3HBD.mjs +1 -1
- package/lib/web/chunks/chunk-LIZRXZGQ.mjs +6 -0
- package/lib/web/chunks/chunk-N5Z7Z2GY.mjs +1 -0
- package/lib/web/chunks/chunk-OVTASJUJ.mjs +1 -0
- package/lib/web/chunks/chunk-QXVVA64P.mjs +1 -0
- package/lib/web/chunks/chunk-RMLVR5LI.mjs +1 -1
- package/lib/web/chunks/chunk-UQRRKDKX.mjs +3 -3
- package/lib/web/chunks/chunk-XUYN4NOF.mjs +1 -0
- package/lib/web/chunks/chunk-ZRZQZF2T.mjs +15 -0
- package/lib/web/chunks/persistentStorage.web-IBLIV62L.mjs +1 -0
- package/lib/web/dataViewer.mjs +1 -1
- package/lib/web/history.mjs +1 -1
- package/lib/web/hooks.mjs +1 -1
- package/lib/web/index.mjs +7 -3
- package/lib/web/native.mjs +1 -1
- package/lib/web/ui.mjs +1 -1
- package/lib/web/utils.mjs +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BugCase v1 — what one bug report holds. Every field was earned in the
|
|
3
|
+
* bug-links labs (research/bug-links-2026-10/LEDGER.md); the comment says by
|
|
4
|
+
* which bug it was needed.
|
|
5
|
+
*/
|
|
6
|
+
import type { SuperJSONResult } from "../utils/minimalSuperJSON";
|
|
7
|
+
import type { ScrubbedItem } from "./scrub";
|
|
8
|
+
import type { BugCaseStep, BugCaseTouch } from "./steps";
|
|
9
|
+
export declare const BUG_CASE_VERSION = 1;
|
|
10
|
+
export interface BugCaseNetworkCall {
|
|
11
|
+
t: number;
|
|
12
|
+
method: string;
|
|
13
|
+
url: string;
|
|
14
|
+
status?: number;
|
|
15
|
+
/** Transport failure ("Network request failed", a timeout) instead of a status. */
|
|
16
|
+
error?: string;
|
|
17
|
+
durationMs?: number;
|
|
18
|
+
requestHeaders?: Record<string, string>;
|
|
19
|
+
requestData?: unknown;
|
|
20
|
+
responseHeaders?: Record<string, string>;
|
|
21
|
+
responseData?: unknown;
|
|
22
|
+
/** True when a body was over the case budget and left out. */
|
|
23
|
+
bodyOmitted?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface BugCaseConsoleLine {
|
|
26
|
+
t: number;
|
|
27
|
+
level: string;
|
|
28
|
+
text: string;
|
|
29
|
+
}
|
|
30
|
+
export interface BugCaseScreenElement {
|
|
31
|
+
name: string;
|
|
32
|
+
role?: string;
|
|
33
|
+
testID?: string;
|
|
34
|
+
label?: string;
|
|
35
|
+
text?: string;
|
|
36
|
+
control?: string;
|
|
37
|
+
value?: number | boolean;
|
|
38
|
+
}
|
|
39
|
+
/** A part the capture tried to take and could not, so a reader knows it is missing. */
|
|
40
|
+
export interface BugCaseMissing {
|
|
41
|
+
part: string;
|
|
42
|
+
reason: string;
|
|
43
|
+
}
|
|
44
|
+
export interface BugCase {
|
|
45
|
+
v: typeof BUG_CASE_VERSION;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
note?: string;
|
|
48
|
+
app: {
|
|
49
|
+
platform: string;
|
|
50
|
+
os: string;
|
|
51
|
+
appearance?: string;
|
|
52
|
+
locale?: string;
|
|
53
|
+
timeZone?: string;
|
|
54
|
+
window?: {
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
scale?: number;
|
|
58
|
+
fontScale?: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
/** B4: the route and its params. */
|
|
62
|
+
route: {
|
|
63
|
+
pathname: string;
|
|
64
|
+
href: string;
|
|
65
|
+
} | null;
|
|
66
|
+
/** B3: the app clock, when Buoy's clock tool had it overridden. */
|
|
67
|
+
clock: {
|
|
68
|
+
active: boolean;
|
|
69
|
+
virtualIso?: string;
|
|
70
|
+
offsetMs?: number;
|
|
71
|
+
rate?: number;
|
|
72
|
+
} | null;
|
|
73
|
+
/** Buoy overrides that were on, so nobody chases a bug Buoy made. */
|
|
74
|
+
overrides: string[];
|
|
75
|
+
/** B1, B6: every Time Machine source, superjson-encoded and scrubbed. */
|
|
76
|
+
state: SuperJSONResult;
|
|
77
|
+
/** B6's cause, written without AI. */
|
|
78
|
+
steps: BugCaseStep[];
|
|
79
|
+
touches: BugCaseTouch[];
|
|
80
|
+
/** Lab 3's largest gain: what the screen said. */
|
|
81
|
+
screen: BugCaseScreenElement[];
|
|
82
|
+
/** B2: newest first, with answers for replay. */
|
|
83
|
+
network: BugCaseNetworkCall[];
|
|
84
|
+
console: BugCaseConsoleLine[];
|
|
85
|
+
missing: BugCaseMissing[];
|
|
86
|
+
scrub: {
|
|
87
|
+
removed: number;
|
|
88
|
+
byKind: Record<string, number>;
|
|
89
|
+
items: ScrubbedItem[];
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LOGIN_COMMAND = "npx buoy login";
|
|
1
|
+
export declare const LOGIN_COMMAND = "npx --package=@buoy-gg/core buoy login";
|
|
2
2
|
/** Shared account UI; each platform supplies positioning and dismissal. */
|
|
3
3
|
export declare function AccountSetupButton({ onPress, expanded, }: {
|
|
4
4
|
onPress: () => void;
|
|
@@ -131,6 +131,18 @@ export declare const devToolsStorageKeys: {
|
|
|
131
131
|
readonly root: () => "@react_buoy_clock";
|
|
132
132
|
readonly state: () => "@react_buoy_clock_state";
|
|
133
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Bug links storage keys. `links` is this phone's own reports (their keys
|
|
136
|
+
* included, so a lost chat message is not a lost case), `settings` the
|
|
137
|
+
* server and team choices, `loaded` the case loaded right now plus the undo
|
|
138
|
+
* point that puts the app back.
|
|
139
|
+
*/
|
|
140
|
+
readonly bugLinks: {
|
|
141
|
+
readonly root: () => "@react_buoy_bug_links";
|
|
142
|
+
readonly links: () => "@react_buoy_bug_links_links";
|
|
143
|
+
readonly settings: () => "@react_buoy_bug_links_settings";
|
|
144
|
+
readonly loaded: () => "@react_buoy_bug_links_loaded";
|
|
145
|
+
};
|
|
134
146
|
/**
|
|
135
147
|
* Permission override storage keys. `state` holds the overrides plus the
|
|
136
148
|
* tool's settings as one JSON blob, so it can be read synchronously at boot.
|
|
@@ -8,7 +8,7 @@ export { parseValue, formatValue, getTypeColor, truncateText, flattenObject, for
|
|
|
8
8
|
export { loadOptionalModule, getCachedOptionalModule } from "./loadOptionalModule";
|
|
9
9
|
export { setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, } from "./renderCaptureRegistry";
|
|
10
10
|
export { registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, } from "./stateSnapshotRegistry";
|
|
11
|
-
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, type SuperJSONResult, } from "./minimalSuperJSON";
|
|
11
|
+
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, dropAnnotations as superJsonDropAnnotations, type SuperJSONResult, } from "./minimalSuperJSON";
|
|
12
12
|
export { reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, } from "./reloadApp";
|
|
13
13
|
export { getDevServerOrigin } from "./devServer";
|
|
14
14
|
export { realNow } from "./realNow";
|
|
@@ -14,5 +14,11 @@ export interface SuperJSONResult {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function serialize(object: any): SuperJSONResult;
|
|
16
16
|
export declare function deserialize<T = unknown>(payload: SuperJSONResult): T;
|
|
17
|
+
/**
|
|
18
|
+
* Drop the annotations whose value `drop` rejects. A bug case's scrubber can
|
|
19
|
+
* replace a Date with "[removed:pii]"; the Date annotation left behind would
|
|
20
|
+
* turn that into Invalid Date (or throw, for a BigInt) on deserialize.
|
|
21
|
+
*/
|
|
22
|
+
export declare function dropAnnotations(payload: SuperJSONResult, drop: (value: unknown) => boolean): SuperJSONResult;
|
|
17
23
|
export {};
|
|
18
24
|
//# sourceMappingURL=minimalSuperJSON.d.ts.map
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
export * from 'react-native-web';
|
|
2
|
-
export { unstable_createElement, NativeModules, AccessibilityInfo,
|
|
2
|
+
export { unstable_createElement, NativeModules, AccessibilityInfo, Appearance, AppRegistry, AppState, BackHandler, Clipboard, Dimensions, Easing, I18nManager, Keyboard, InteractionManager, LayoutAnimation, Linking, NativeEventEmitter, PanResponder, PixelRatio, Platform, Share, UIManager, Vibration, CheckBox, FlatList, Image, ImageBackground, KeyboardAvoidingView, Picker, ProgressBar, RefreshControl, SafeAreaView, SectionList, StatusBar, Touchable, TouchableNativeFeedback, VirtualizedList, YellowBox, LogBox, DeviceEventEmitter, useColorScheme, useLocaleContext, useWindowDimensions } from 'react-native-web';
|
|
3
3
|
import * as nativeWeb from 'react-native-web';
|
|
4
|
+
declare const rnw: {
|
|
5
|
+
StyleSheet: typeof import("react-native").StyleSheet;
|
|
6
|
+
Animated: typeof import("react-native").Animated;
|
|
7
|
+
};
|
|
8
|
+
/** Styles are converted once here, where RNW would otherwise warn. */
|
|
9
|
+
export declare const StyleSheet: typeof rnw.StyleSheet;
|
|
4
10
|
export declare const View: typeof nativeWeb.View;
|
|
5
11
|
export declare const Text: typeof nativeWeb.Text;
|
|
12
|
+
export declare const Animated: typeof rnw.Animated;
|
|
6
13
|
export declare const TextInput: typeof nativeWeb.TextInput;
|
|
7
14
|
export declare const TouchableOpacity: typeof nativeWeb.TouchableOpacity;
|
|
8
15
|
export declare const TouchableHighlight: typeof nativeWeb.TouchableHighlight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as Z}from"./chunk-HIAN3HBD.mjs";import{f}from"./chunk-AHVO74UQ.mjs";import{J as B,N as k,a as
|
|
1
|
+
"use client";import{a as Z}from"./chunk-HIAN3HBD.mjs";import{f}from"./chunk-AHVO74UQ.mjs";import{J as B,N as k,a as L,b as A}from"./chunk-5G6RSRP4.mjs";import{a as c}from"./chunk-T6T3FEMU.mjs";import{createContext as _,useContext as Y,useState as M,useCallback as b,useMemo as R,useEffect as ee}from"react";import{jsx as te}from"react/jsx-runtime";var $=_(null);function z({children:e,initialAdapters:t=[]}){let[a,n]=M(()=>{let r=new Map;return t.forEach(s=>{r.set(s.adapter.id,{...s,enabled:s.enabled??true})}),r}),[u,y]=M(null),[m,S]=M(0),p=b(()=>S(r=>r+1),[]);ee(()=>{let r=[];return a.forEach(s=>{if(s.enabled){let d=s.adapter.subscribe(p);r.push(d)}}),()=>{r.forEach(s=>s())}},[a,p]);let i=R(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,s)=>(r.priority??100)-(s.priority??100)).map(r=>r.adapter),[a,m]),h=b(r=>a.get(r)?.adapter,[a]),w=b(r=>{n(s=>{let d=new Map(s);return d.set(r.adapter.id,{...r,enabled:r.enabled??true}),d})},[]),l=b(r=>{n(s=>{let d=new Map(s);return d.delete(r),d})},[]),o=b(r=>{let s=[];return(u&&r?.sources===void 0?i.filter(d=>d.id===u):i).forEach(d=>{r?.sources&&!r.sources.includes(d.id)||(s=s.concat(d.getEntries()))}),r&&(s=D(s,r)),s.sort((d,X)=>X.timestamp-d.timestamp),s},[i,u,m]),x=b(()=>{let r={};return i.forEach(s=>{r[s.id]=s.getEntryCount()}),r},[i,m]),Q=R(()=>({adapters:i,getAdapter:h,registerAdapter:w,unregisterAdapter:l,getAllEntries:o,getEntryCounts:x,selectedAdapterId:u,setSelectedAdapterId:y,refresh:p}),[i,h,w,l,o,x,u,p]);return te($.Provider,{value:Q,children:e})}c(z,"HistoryProvider");function E(){let e=Y($);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}c(E,"useHistoryContext");function F(){return E().adapters}c(F,"useHistoryAdapters");function j(e){return E().getAdapter(e)}c(j,"useHistoryAdapter");function P(e){let{getAllEntries:t}=E();return t(e)}c(P,"useAllHistoryEntries");function N(){return E().getEntryCounts()}c(N,"useHistoryEntryCounts");function D(e,t){return e.filter(a=>{if(t.searchText){let n=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(n))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let n of t.ignoredPatterns)if(new RegExp(n).test(a.label))return false}if(t.includedPatterns?.length){let n=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){n=true;break}if(!n)return false}return true})}c(D,"applyFilter");import{jsx as I}from"react/jsx-runtime";function V(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}c(V,"formatRelativeTime");function W(e,t){if(t?.color)return t.color;if(e.status==="error")return f.error;if(e.status==="pending")return f.warning;if(e.status==="success")return f.success;if(e.hasStateChange)return f.success;if(e.isSkipped)return f.textMuted;if(e.isInFuture)return f.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return f.textSecondary}}c(W,"getStatusColor");function q(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}c(q,"getStatusLabel");function G(e,t){return t?.name?t.name:e.category?e.category:e.source}c(G,"getSublabel");function v({entry:e,adapter:t,isSelected:a,onPress:n,showSource:u=true,showDuration:y=true}){let m=W(e,t),S=q(e),p=u?G(e,t):void 0,i=V(e.timestamp);y&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?I(L,{style:J.changeBadge,children:I(A,{style:J.changeBadgeText,children:"\u26A1"})}):void 0;return I(Z,{statusDotColor:m,statusLabel:S,statusSublabel:p,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:n?()=>n(e):void 0,showChevron:!!n})}c(v,"HistoryEntryRow");var J=B.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as T,useMemo as H}from"react";import{jsx as g,jsxs as U}from"react/jsx-runtime";function K({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:n=true,emptyMessage:u="No history entries yet",ListHeaderComponent:y,ListFooterComponent:m}){let S=P(e),p=F(),i=H(()=>{let o=new Map;return p.forEach(x=>o.set(x.id,x)),o},[p]),h=T(o=>`${o.source}-${o.id}`,[]),w=T(({item:o})=>{let x=i.get(o.source);return g(v,{entry:o,adapter:x,isSelected:t===o.id,onPress:a,showSource:n})},[i,t,a,n]),l=H(()=>U(L,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:u}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(k,{data:S,keyExtractor:h,renderItem:w,ListEmptyComponent:l,ListHeaderComponent:y,ListFooterComponent:m,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}c(K,"HistoryList");function O({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:n,showSource:u=true,emptyMessage:y="No history entries yet",ListHeaderComponent:m,ListFooterComponent:S}){let p=H(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=T(l=>`${l.source}-${l.id}`,[]),h=T(({item:l})=>{let o=p.get(l.source);return g(v,{entry:l,adapter:o,isSelected:a===l.id,onPress:n,showSource:u})},[p,a,n,u]),w=H(()=>U(L,{style:C.emptyContainer,children:[g(A,{style:C.emptyText,children:y}),g(A,{style:C.emptySubtext,children:"Actions will appear here as they happen"})]}),[y]);return g(k,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:w,ListHeaderComponent:m,ListFooterComponent:S,contentContainerStyle:C.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}c(O,"StandaloneHistoryList");var C=B.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:f.text,marginBottom:8},emptySubtext:{fontSize:13,color:f.textMuted,textAlign:"center"}});export{z as a,E as b,F as c,j as d,P as e,N as f,v as g,K as h,O as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{Nb as he,Ob as be,Pb as $,Q as H,R as Se,Tb as we,Vb as J,Yb as Y,sd as y}from"./chunk-CJTGUGMQ.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{J as L,a as d,b as p,d as K,r as k,y as X}from"./chunk-5G6RSRP4.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var xe="[Circular]",q="[...]";function Q(e,t,o={}){let{depthLimit:c=Number.MAX_SAFE_INTEGER,edgesLimit:g=Number.MAX_SAFE_INTEGER}=o,u=[];function l(i,s,m,r,x,v){if(v+=1,typeof i=="object"&&i!==null){for(let I=0;I<r.length;I++)if(r[I]===i){h(xe,i,s,x);return}if(v>c){h(q,i,s,x);return}if(m+1>g){h(q,i,s,x);return}if(r.push(i),Array.isArray(i)){let I=i;for(let R=0;R<i.length;R++)l(i[R],R,R,r,I,v)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let I=i,R=Object.keys(I);for(let F=0;F<R.length;F++){let U=R[F];l(I[U],U,F,r,I,v)}}r.pop()}}n(l,"decirc");function h(i,s,m,r){if(!r)return;let x=Object.getOwnPropertyDescriptor(r,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(r,m,{value:i}),u.push([r,m,s,x]);else return;else r[m]=i,u.push([r,m,s])}n(h,"setReplace");let A=n((i,s)=>{if(typeof s=="bigint")return`${s.toString()}n`;if(typeof s=="symbol")return s.toString();if(typeof s>"u")return"undefined";if(typeof s=="function")return`[Function: ${s.name||"anonymous"}]`;if(typeof s=="number"){if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(Number.isNaN(s))return"NaN"}if(s instanceof Error){let m={name:s.name,message:s.message,stack:s.stack};return Object.getOwnPropertyNames(s).forEach(r=>{if(!["name","message","stack"].includes(r))try{let x=s[r];x!==void 0&&(m[r]=x)}catch{}}),m}if(s instanceof Date)return s.toISOString();if(s instanceof RegExp)return s.toString();if(s instanceof Map)try{return{__type:"Map",entries:Array.from(s.entries()).map(([m,r])=>[String(m),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(s instanceof Set)try{return{__type:"Set",values:Array.from(s)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return s},"replacer");try{return l(e,"",0,[],null,0),JSON.stringify(e,A,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;u.length!==0;){let i=u.pop();if(i&&i.length===4){let[s,m,,r]=i;s&&typeof s=="object"&&r&&Object.defineProperty(s,m,r)}else if(i){let[s,m,r]=i;s&&typeof s=="object"&&(typeof m=="string"||typeof m=="number")&&(s[m]=r)}}}}n(Q,"safeStringify");var Ce=n(e=>typeof e>"u","isUndefined"),Ae=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),z=n(e=>Array.isArray(e),"isArray"),ve=n(e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol","isPrimitive"),Ie=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),Z=n(e=>e instanceof Error,"isError"),Re=n(e=>e instanceof RegExp,"isRegExp"),ee=n(e=>e instanceof Set,"isSet"),te=n(e=>e instanceof Map,"isMap"),Te=n(e=>typeof e=="bigint","isBigint"),re=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Oe=n(e=>e===1/0||e===-1/0,"isInfinite"),ke=n(e=>e===0&&1/e===-1/0,"isMinusZero"),Ne=n(e=>e instanceof URL,"isURL"),Ve=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray"),De={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},ne=[{isApplicable:Ce,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:Te,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e),"untransform")},{isApplicable:Ie,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>new Date(e),"untransform")},{isApplicable:Z,annotation:"Error",transform:n(e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),"transform"),untransform:n(e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t},"untransform")},{isApplicable:Re,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)},"untransform")},{isApplicable:ee,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>new Set(e),"untransform")},{isApplicable:te,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>new Map(e),"untransform")},{isApplicable:n(e=>re(e)||Oe(e),"isApplicable"),annotation:"number",transform:n(e=>re(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>Number(e),"untransform")},{isApplicable:ke,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:Ne,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>new URL(e),"untransform")},{isApplicable:Ve,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",c=De[o];if(!c)throw new Error(`Unknown typed array: ${o}`);return new c(e)},"untransform")}];function B(e){for(let t of ne)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}n(B,"transformValue");function W(e,t){for(let o of ne){let c=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(c)?t[0]===c[0]:c===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}n(W,"untransformValue");var oe=n(e=>Ae(e)||z(e)||te(e)||ee(e)||Z(e),"isDeep");function j(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(j,"escapeKey");function _(e,t=[],o=[]){let c=ve(e);if(!c&&!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(j).join(".")]:i.type}}:{transformedValue:e}}if(!c&&o.indexOf(e)!==-1)return{transformedValue:null};if(!oe(e)){let i=B(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(j).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let g=B(e),u=g?.value??e,l=z(u)?[]:{},h={};if(g){let i=t.length>0?t.map(String).map(j).join("."):"";h[i]=g.type}let A=z(u)?u.map((i,s)=>[s,i]):Object.entries(u);for(let[i,s]of A){let m=String(i);if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);let r=_(s,[...t,i],[...o,e]);l[i]=r.transformedValue,r.annotations&&Object.assign(h,r.annotations)}return{transformedValue:l,annotations:Object.keys(h).length>0?h:void 0}}n(_,"walker");function ae(e){if(e==="")return[];let t=[],o="";for(let c=0;c<e.length;c++){let g=e.charAt(c);if(g==="\\"){let u=e.charAt(c+1);if(u==="\\"){o+="\\",c++;continue}else if(u==="."){o+=".",c++;continue}}if(g==="."){t.push(o),o="";continue}o+=g}return o&&t.push(o),t}n(ae,"parsePath");function ie(e,t,o){if(t.length===0)return;let c=e;for(let g=0;g<t.length-1;g++)c=c[t[g]];c[t[t.length-1]]=o}n(ie,"setDeep");function le(e,t){let o=e;for(let c of t)o=o[c];return o}n(le,"getDeep");function P(e){let t=_(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}n(P,"serialize");function M(e){let{json:t,meta:o}=e;if(!o?.values)return t;let c=z(t)?[...t]:{...t},g=Object.entries(o.values).map(([u,l])=>({pathString:u,type:l,path:ae(u)})).sort((u,l)=>l.path.length-u.path.length);for(let{type:u,path:l}of g)if(l.length===0)c=W(c,u);else{let h=le(c,l),A=W(h,u);ie(c,l,A)}return c}n(M,"deserialize");var Fe=n((e,t=false)=>{let{json:o}=P(e);return JSON.stringify(o,null,t?2:void 0)},"displayValue"),Le=n(e=>{try{let t=JSON.parse(e);return M({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as V,jsxs as E}from"react/jsx-runtime";function se({icon:e,iconColor:t,title:o,count:c,subtitle:g,expanded:u,onToggle:l,children:h,style:A,titleStyle:i}){return E(d,{style:[D.container,A],children:[E(K,{onPress:l,activeOpacity:.7,style:D.headerTouchable,children:[E(d,{style:D.header,children:[E(d,{style:D.headerLeft,children:[V(e,{size:14,color:t}),V(p,{style:[D.title,i],children:o}),V(d,{style:[D.badge,{backgroundColor:t+"20"}],children:V(p,{style:[D.badgeText,{color:t}],children:c})})]}),u?V(Y,{size:14,color:a.muted}):V(J,{size:14,color:a.muted})]}),V(p,{style:D.subtitle,children:g})]}),u&&V(k.View,{style:{opacity:1},children:h})]})}n(se,"GameUICollapsibleSection");var D=L.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:a.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var ce={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as G}from"react/jsx-runtime";function de({alertConfig:e,badgeText:t,animatedStyle:o,style:c,indicatorCount:g=3}){let u=e.icon;return G(k.View,{style:[T.container,{borderColor:e.color+"40"},c,o],children:[N(d,{style:[T.glow,{backgroundColor:e.color+"10"}]}),G(d,{style:T.content,children:[N(d,{style:[T.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),G(d,{style:T.textContainer,children:[N(p,{style:[T.label,{color:e.color}],children:e.label}),N(p,{style:T.subtitle,children:e.subtitle})]}),N(d,{style:[T.badge,{backgroundColor:e.color+"20"}],children:N(p,{style:[T.badgeText,{color:e.color}],children:t})})]}),N(d,{style:T.indicators,children:[...Array(g)].map((l,h)=>N(d,{style:[T.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?h===0?1:.5-h*.2:.3-h*.1}]},h))})]})}n(de,"GameUIStatusHeader");var T=L.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...ce,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:a.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as ze}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";function ue({statsConfig:e,totalCount:t,header:o,bottomStats:c,style:g,hideInactive:u=true}){return C(d,{style:[f.container,g],children:[o&&C(d,{style:f.header,children:[C(d,{style:f.headerLeft,children:[S(p,{style:f.headerTitle,children:o.title}),S(p,{style:f.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&S(d,{style:f.headerRight,children:C(d,{style:f.statusIndicator,children:[S(d,{style:[f.statusDot,{backgroundColor:o.healthColor||a.success}]}),S(p,{style:[f.statusText,{color:o.healthColor||a.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&C(d,{style:f.healthSection,children:[S(p,{style:f.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:f.healthBarWrapper,children:S(d,{style:f.healthBarBg,children:S(k.View,{style:[f.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||a.success}]})})}),C(p,{style:[f.healthPercentage,{color:o.healthColor||a.success}],children:[o.healthPercentage,"%"]})]}),S(d,{style:f.statsGrid,children:e.map(l=>{let h=l.value>0;if(u&&!h)return null;let A=l.icon,i=t?l.value/t*100:0;return C(k.View,{style:[f.statCard,{borderColor:l.color+"30"}],children:[C(d,{style:f.cardContent,children:[S(d,{style:[f.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(A,{size:12,color:l.color})}),C(d,{style:f.cardInfo,children:[S(p,{style:f.cardLabel,children:l.label}),S(p,{style:f.cardSubtitle,children:l.subtitle})]}),C(d,{style:f.valueBlock,children:[S(p,{style:[f.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?C(p,{style:f.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[f.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[f.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),c&&c.length>0&&S(d,{style:f.bottomBar,children:c.map((l,h)=>C(ze,{children:[C(d,{style:f.bottomStat,children:[S(p,{style:f.bottomStatLabel,children:l.label}),S(p,{style:[f.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),h<c.length-1&&S(d,{style:f.bottomDivider})]},l.label))})]})}n(ue,"GameUICompactStats");var f=L.create({container:{backgroundColor:a.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:a.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:a.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:a.blackTint2,borderRadius:8,borderWidth:1,borderColor:a.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:a.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:a.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:a.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as Be,useCallback as je}from"react";import{jsx as w,jsxs as O}from"react/jsx-runtime";function fe({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:c,expandable:g=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,h]=Be(new Set),A=je(r=>{g&&h(x=>{let v=new Set(x);return v.has(r)?v.delete(r):v.add(r),v})},[g]),i=n(r=>r==="missing"?a.warning:a.info,"getStatusColor"),s=n(r=>r==="missing"?H:$,"getStatusIcon"),m=n(r=>{switch(r.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:O(d,{style:[b.container,c],children:[e.map((r,x)=>{let v=i(r.status),I=s(r.status),R=l.has(r.key),F=R?Y:J;return O(d,{children:[O(K,{onPress:()=>{g&&A(r.key),t?.(r)},style:b.issueRow,activeOpacity:.7,children:[w(I,{size:14,color:v}),O(d,{style:b.issueContent,children:[w(p,{style:[b.issueKey,{color:a.primary}],children:r.key}),w(p,{style:b.issueDesc,children:m(r)})]}),g&&w(F,{size:12,color:a.muted})]}),g&&R&&O(k.View,{style:b.issueDetails,children:[O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Status:"}),O(p,{style:[b.detailValue,{color:a.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Current:"}),w(p,{style:[b.detailValue,{color:a.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:`"${r.expectedValue}"`})]}),r.description&&w(d,{style:b.descSection,children:w(p,{style:b.descText,children:r.description})}),r.fixSuggestion&&O(d,{style:b.fixSection,children:[w(p,{style:b.fixLabel,children:"HOW TO FIX"}),w(p,{style:b.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${x}`)}),o&&w(p,{style:b.hint,children:o})]})}n(fe,"GameUIIssuesList");var b=L.create({container:{backgroundColor:a.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:a.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:a.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:a.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:a.background+"4D",borderLeftWidth:2,borderLeftColor:a.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:a.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:a.info+"14",borderRadius:6,borderWidth:1,borderColor:a.info+"33"},fixLabel:{fontSize:10,color:a.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:y,lineHeight:18,backgroundColor:a.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:a.primary+"0D"},descText:{fontSize:10,color:a.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as pe,useEffect as Ee,useRef as ge}from"react";var me={OPTIMAL:{icon:we,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:$,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:be,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:H,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:he,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:Se,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function ye(e,t){let o=pe(()=>({...me,...t}),[t]),c=pe(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),g=o[c],u=ge(new k.Value(1)).current,l=ge(new k.Value(1)).current;return Ee(()=>{u.setValue(0),l.setValue(.95),k.parallel([k.timing(u,{toValue:1,duration:300,useNativeDriver:true}),k.timing(l,{toValue:1,duration:300,easing:X.out(X.ease),useNativeDriver:true})]).start()},[c,u,l]),{alertState:c,alertConfig:g,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(ye,"useGameUIAlertState");export{Q as a,P as b,M as c,Fe as d,Le as e,se as f,ce as g,de as h,ue as i,fe as j,me as k,ye as l};
|
|
1
|
+
"use client";import{Nb as he,Ob as be,Pb as $,Q as H,R as Se,Tb as we,Vb as J,Yb as Y,sd as y}from"./chunk-CJTGUGMQ.mjs";import{d as a}from"./chunk-AHVO74UQ.mjs";import{J as L,a as d,b as p,d as K,r as k,y as X}from"./chunk-5G6RSRP4.mjs";import{a as n}from"./chunk-T6T3FEMU.mjs";var xe="[Circular]",q="[...]";function Q(e,t,o={}){let{depthLimit:c=Number.MAX_SAFE_INTEGER,edgesLimit:g=Number.MAX_SAFE_INTEGER}=o,u=[];function l(i,s,m,r,x,I){if(I+=1,typeof i=="object"&&i!==null){for(let A=0;A<r.length;A++)if(r[A]===i){h(xe,i,s,x);return}if(I>c){h(q,i,s,x);return}if(m+1>g){h(q,i,s,x);return}if(r.push(i),Array.isArray(i)){let A=i;for(let R=0;R<i.length;R++)l(i[R],R,R,r,A,I)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let A=i,R=Object.keys(A);for(let F=0;F<R.length;F++){let U=R[F];l(A[U],U,F,r,A,I)}}r.pop()}}n(l,"decirc");function h(i,s,m,r){if(!r)return;let x=Object.getOwnPropertyDescriptor(r,m);if(x?.get!==void 0)if(x.configurable)Object.defineProperty(r,m,{value:i}),u.push([r,m,s,x]);else return;else r[m]=i,u.push([r,m,s])}n(h,"setReplace");let v=n((i,s)=>{if(typeof s=="bigint")return`${s.toString()}n`;if(typeof s=="symbol")return s.toString();if(typeof s>"u")return"undefined";if(typeof s=="function")return`[Function: ${s.name||"anonymous"}]`;if(typeof s=="number"){if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(Number.isNaN(s))return"NaN"}if(s instanceof Error){let m={name:s.name,message:s.message,stack:s.stack};return Object.getOwnPropertyNames(s).forEach(r=>{if(!["name","message","stack"].includes(r))try{let x=s[r];x!==void 0&&(m[r]=x)}catch{}}),m}if(s instanceof Date)return s.toISOString();if(s instanceof RegExp)return s.toString();if(s instanceof Map)try{return{__type:"Map",entries:Array.from(s.entries()).map(([m,r])=>[String(m),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(s instanceof Set)try{return{__type:"Set",values:Array.from(s)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return s},"replacer");try{return l(e,"",0,[],null,0),JSON.stringify(e,v,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;u.length!==0;){let i=u.pop();if(i&&i.length===4){let[s,m,,r]=i;s&&typeof s=="object"&&r&&Object.defineProperty(s,m,r)}else if(i){let[s,m,r]=i;s&&typeof s=="object"&&(typeof m=="string"||typeof m=="number")&&(s[m]=r)}}}}n(Q,"safeStringify");var Ce=n(e=>typeof e>"u","isUndefined"),ve=n(e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,"isPlainObject"),V=n(e=>Array.isArray(e),"isArray"),Ie=n(e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol","isPrimitive"),Ae=n(e=>e instanceof Date&&!isNaN(e.valueOf()),"isDate"),Z=n(e=>e instanceof Error,"isError"),Re=n(e=>e instanceof RegExp,"isRegExp"),ee=n(e=>e instanceof Set,"isSet"),te=n(e=>e instanceof Map,"isMap"),Te=n(e=>typeof e=="bigint","isBigint"),re=n(e=>typeof e=="number"&&isNaN(e),"isNaNValue"),Oe=n(e=>e===1/0||e===-1/0,"isInfinite"),ke=n(e=>e===0&&1/e===-1/0,"isMinusZero"),Ne=n(e=>e instanceof URL,"isURL"),De=n(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),"isTypedArray"),Be={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},ne=[{isApplicable:Ce,annotation:"undefined",transform:n(()=>null,"transform"),untransform:n(()=>{},"untransform")},{isApplicable:Te,annotation:"bigint",transform:n(e=>e.toString(),"transform"),untransform:n(e=>typeof BigInt<"u"?BigInt(e):(console.error("[Buoy]","BigInt is not supported in this environment"),e),"untransform")},{isApplicable:Ae,annotation:"Date",transform:n(e=>e.toISOString(),"transform"),untransform:n(e=>new Date(e),"untransform")},{isApplicable:Z,annotation:"Error",transform:n(e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),"transform"),untransform:n(e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t},"untransform")},{isApplicable:Re,annotation:"regexp",transform:n(e=>""+e,"transform"),untransform:n(e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)},"untransform")},{isApplicable:ee,annotation:"set",transform:n(e=>[...e.values()],"transform"),untransform:n(e=>new Set(e),"untransform")},{isApplicable:te,annotation:"map",transform:n(e=>[...e.entries()],"transform"),untransform:n(e=>new Map(e),"untransform")},{isApplicable:n(e=>re(e)||Oe(e),"isApplicable"),annotation:"number",transform:n(e=>re(e)?"NaN":e>0?"Infinity":"-Infinity","transform"),untransform:n(e=>Number(e),"untransform")},{isApplicable:ke,annotation:"number",transform:n(()=>"-0","transform"),untransform:n(()=>-0,"untransform")},{isApplicable:Ne,annotation:"URL",transform:n(e=>e.toString(),"transform"),untransform:n(e=>new URL(e),"untransform")},{isApplicable:De,annotation:n(e=>["typed-array",e.constructor.name],"annotation"),transform:n(e=>[...e],"transform"),untransform:n((e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",c=Be[o];if(!c)throw new Error(`Unknown typed array: ${o}`);return new c(e)},"untransform")}];function z(e){for(let t of ne)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}n(z,"transformValue");function W(e,t){for(let o of ne){let c=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(c)?t[0]===c[0]:c===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}n(W,"untransformValue");var oe=n(e=>ve(e)||V(e)||te(e)||ee(e)||Z(e),"isDeep");function j(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}n(j,"escapeKey");function _(e,t=[],o=[]){let c=Ie(e);if(!c&&!oe(e)){let i=z(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(j).join(".")]:i.type}}:{transformedValue:e}}if(!c&&o.indexOf(e)!==-1)return{transformedValue:null};if(!oe(e)){let i=z(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(j).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let g=z(e),u=g?.value??e,l=V(u)?[]:{},h={};if(g){let i=t.length>0?t.map(String).map(j).join("."):"";h[i]=g.type}let v=V(u)?u.map((i,s)=>[s,i]):Object.entries(u);for(let[i,s]of v){let m=String(i);if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);let r=_(s,[...t,i],[...o,e]);l[i]=r.transformedValue,r.annotations&&Object.assign(h,r.annotations)}return{transformedValue:l,annotations:Object.keys(h).length>0?h:void 0}}n(_,"walker");function ae(e){if(e==="")return[];let t=[],o="";for(let c=0;c<e.length;c++){let g=e.charAt(c);if(g==="\\"){let u=e.charAt(c+1);if(u==="\\"){o+="\\",c++;continue}else if(u==="."){o+=".",c++;continue}}if(g==="."){t.push(o),o="";continue}o+=g}return o&&t.push(o),t}n(ae,"parsePath");function ie(e,t,o){if(t.length===0)return;let c=e;for(let g=0;g<t.length-1;g++)c=c[t[g]];c[t[t.length-1]]=o}n(ie,"setDeep");function le(e,t){let o=e;for(let c of t)o=o[c];return o}n(le,"getDeep");function P(e){let t=_(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}n(P,"serialize");function M(e){let{json:t,meta:o}=e;if(!o?.values)return t;let c=V(t)?[...t]:{...t},g=Object.entries(o.values).map(([u,l])=>({pathString:u,type:l,path:ae(u)})).sort((u,l)=>l.path.length-u.path.length);for(let{type:u,path:l}of g)if(l.length===0)c=W(c,u);else{let h=le(c,l),v=W(h,u);ie(c,l,v)}return c}n(M,"deserialize");var Fe=n((e,t=false)=>{let{json:o}=P(e);return JSON.stringify(o,null,t?2:void 0)},"displayValue"),Le=n(e=>{try{let t=JSON.parse(e);return M({json:t,meta:void 0})}catch{return JSON.parse(e)}},"parseDisplayValue");import{jsx as D,jsxs as E}from"react/jsx-runtime";function se({icon:e,iconColor:t,title:o,count:c,subtitle:g,expanded:u,onToggle:l,children:h,style:v,titleStyle:i}){return E(d,{style:[B.container,v],children:[E(K,{onPress:l,activeOpacity:.7,style:B.headerTouchable,children:[E(d,{style:B.header,children:[E(d,{style:B.headerLeft,children:[D(e,{size:14,color:t}),D(p,{style:[B.title,i],children:o}),D(d,{style:[B.badge,{backgroundColor:t+"20"}],children:D(p,{style:[B.badgeText,{color:t}],children:c})})]}),u?D(Y,{size:14,color:a.muted}):D(J,{size:14,color:a.muted})]}),D(p,{style:B.subtitle,children:g})]}),u&&D(k.View,{style:{opacity:1},children:h})]})}n(se,"GameUICollapsibleSection");var B=L.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:a.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:a.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var ce={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as N,jsxs as G}from"react/jsx-runtime";function de({alertConfig:e,badgeText:t,animatedStyle:o,style:c,indicatorCount:g=3}){let u=e.icon;return G(k.View,{style:[T.container,{borderColor:e.color+"40"},c,o],children:[N(d,{style:[T.glow,{backgroundColor:e.color+"10"}]}),G(d,{style:T.content,children:[N(d,{style:[T.iconWrapper,{backgroundColor:e.color+"15"}],children:N(u,{size:20,color:e.color})}),G(d,{style:T.textContainer,children:[N(p,{style:[T.label,{color:e.color}],children:e.label}),N(p,{style:T.subtitle,children:e.subtitle})]}),N(d,{style:[T.badge,{backgroundColor:e.color+"20"}],children:N(p,{style:[T.badgeText,{color:e.color}],children:t})})]}),N(d,{style:T.indicators,children:[...Array(g)].map((l,h)=>N(d,{style:[T.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?h===0?1:.5-h*.2:.3-h*.1}]},h))})]})}n(de,"GameUIStatusHeader");var T=L.create({container:{backgroundColor:a.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...ce,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:a.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as Ve}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";function ue({statsConfig:e,totalCount:t,header:o,bottomStats:c,style:g,hideInactive:u=true}){return C(d,{style:[f.container,g],children:[o&&C(d,{style:f.header,children:[C(d,{style:f.headerLeft,children:[S(p,{style:f.headerTitle,children:o.title}),S(p,{style:f.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&S(d,{style:f.headerRight,children:C(d,{style:f.statusIndicator,children:[S(d,{style:[f.statusDot,{backgroundColor:o.healthColor||a.success}]}),S(p,{style:[f.statusText,{color:o.healthColor||a.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&C(d,{style:f.healthSection,children:[S(p,{style:f.healthLabel,children:"SYSTEM HEALTH"}),S(d,{style:f.healthBarWrapper,children:S(d,{style:f.healthBarBg,children:S(k.View,{style:[f.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||a.success}]})})}),C(p,{style:[f.healthPercentage,{color:o.healthColor||a.success}],children:[o.healthPercentage,"%"]})]}),S(d,{style:f.statsGrid,children:e.map(l=>{let h=l.value>0;if(u&&!h)return null;let v=l.icon,i=t?l.value/t*100:0;return C(k.View,{style:[f.statCard,{borderColor:l.color+"30"}],children:[C(d,{style:f.cardContent,children:[S(d,{style:[f.iconBadge,{backgroundColor:l.color+"1A",borderColor:l.color+"33"}],children:S(v,{size:12,color:l.color})}),C(d,{style:f.cardInfo,children:[S(p,{style:f.cardLabel,children:l.label}),S(p,{style:f.cardSubtitle,children:l.subtitle})]}),C(d,{style:f.valueBlock,children:[S(p,{style:[f.statNumber,{color:l.color}],children:l.value.toString().padStart(2,"0")}),t?C(p,{style:f.percentText,children:[Math.round(i),"%"]}):null]})]}),l.showBar!==false&&t&&S(d,{style:[f.statBar,{backgroundColor:l.color+"10"}],children:S(d,{style:[f.statBarFill,{width:`${i}%`,backgroundColor:l.color}]})})]},l.key)})}),c&&c.length>0&&S(d,{style:f.bottomBar,children:c.map((l,h)=>C(Ve,{children:[C(d,{style:f.bottomStat,children:[S(p,{style:f.bottomStatLabel,children:l.label}),S(p,{style:[f.bottomStatValue,l.color&&{color:l.color}],children:l.value})]}),h<c.length-1&&S(d,{style:f.bottomDivider})]},l.label))})]})}n(ue,"GameUICompactStats");var f=L.create({container:{backgroundColor:a.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:a.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:a.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:a.blackTint2,borderRadius:8,borderWidth:1,borderColor:a.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:a.primary},cardSubtitle:{fontSize:8,color:a.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:a.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:a.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:a.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:a.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:a.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as ze,useCallback as je}from"react";import{jsx as w,jsxs as O}from"react/jsx-runtime";function fe({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:c,expandable:g=true,statusLabels:u={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[l,h]=ze(new Set),v=je(r=>{g&&h(x=>{let I=new Set(x);return I.has(r)?I.delete(r):I.add(r),I})},[g]),i=n(r=>r==="missing"?a.warning:a.info,"getStatusColor"),s=n(r=>r==="missing"?H:$,"getStatusIcon"),m=n(r=>{switch(r.status){case"missing":return`\u2022 ${u.missing}`;case"wrong_type":return`\u2022 ${u.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${u.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}},"getStatusLabel");return e.length===0?null:O(d,{style:[b.container,c],children:[e.map((r,x)=>{let I=i(r.status),A=s(r.status),R=l.has(r.key),F=R?Y:J;return O(d,{children:[O(K,{onPress:()=>{g&&v(r.key),t?.(r)},style:b.issueRow,activeOpacity:.7,children:[w(A,{size:14,color:I}),O(d,{style:b.issueContent,children:[w(p,{style:[b.issueKey,{color:a.primary}],children:r.key}),w(p,{style:b.issueDesc,children:m(r)})]}),g&&w(F,{size:12,color:a.muted})]}),g&&R&&O(k.View,{style:b.issueDetails,children:[O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Status:"}),O(p,{style:[b.detailValue,{color:a.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Current:"}),w(p,{style:[b.detailValue,{color:a.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&O(d,{style:b.detailRow,children:[w(p,{style:b.detailLabel,children:"Expected:"}),w(p,{style:[b.detailValue,{color:a.success}],children:`"${r.expectedValue}"`})]}),r.description&&w(d,{style:b.descSection,children:w(p,{style:b.descText,children:r.description})}),r.fixSuggestion&&O(d,{style:b.fixSection,children:[w(p,{style:b.fixLabel,children:"HOW TO FIX"}),w(p,{style:b.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${x}`)}),o&&w(p,{style:b.hint,children:o})]})}n(fe,"GameUIIssuesList");var b=L.create({container:{backgroundColor:a.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:a.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:a.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:a.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:a.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:a.background+"4D",borderLeftWidth:2,borderLeftColor:a.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:a.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:a.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:a.info+"14",borderRadius:6,borderWidth:1,borderColor:a.info+"33"},fixLabel:{fontSize:10,color:a.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:a.primary,fontFamily:y,lineHeight:18,backgroundColor:a.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:a.primary+"0D"},descText:{fontSize:10,color:a.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as pe,useEffect as Ee,useRef as ge}from"react";var me={OPTIMAL:{icon:we,color:a.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:$,color:a.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:be,color:a.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:H,color:a.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:he,color:a.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:Se,color:a.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function ye(e,t){let o=pe(()=>({...me,...t}),[t]),c=pe(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),g=o[c],u=ge(new k.Value(1)).current,l=ge(new k.Value(1)).current;return Ee(()=>{u.setValue(0),l.setValue(.95),k.parallel([k.timing(u,{toValue:1,duration:300,useNativeDriver:true}),k.timing(l,{toValue:1,duration:300,easing:X.out(X.ease),useNativeDriver:true})]).start()},[c,u,l]),{alertState:c,alertConfig:g,alertAnimatedStyle:{transform:[{scale:l}],opacity:u},alertOpacity:u,alertScale:l}}n(ye,"useGameUIAlertState");export{Q as a,P as b,M as c,Fe as d,Le as e,se as f,ce as g,de as h,ue as i,fe as j,me as k,ye as l};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as c}from"./chunk-FPMEM2QO.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as n}from"react";function w(a=new Set){let[r,s]=u(a),[i,l]=u(false),[p,m]=u(""),h=n(e=>{let o=e.trim();o&&(s(t=>new Set([...t,o])),m(""),l(false))},[]),v=n(e=>{s(o=>{let t=new Set(o);return t.delete(e),t})},[]),S=n(e=>{s(o=>{let t=new Set(o);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=n(()=>{s(new Set),m(""),l(false)},[]),g=n(e=>r.has(e),[r]);return{filters:r,showAddInput:i,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as x,useState as b}from"react";function f(a={}){let[r,s]=b({top:0,bottom:0,left:0,right:0});return x(()=>{let i=d(()=>s(c()),"update");return i(),window.addEventListener("resize",i),window.visualViewport?.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),window.visualViewport?.removeEventListener("resize",i)}},[]),{top:Math.max(r.top,a.minTop??0),bottom:Math.max(r.bottom,a.minBottom??0),left:Math.max(r.left,a.minLeft??0),right:Math.max(r.right,a.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{b as h,c as y}from"./chunk-SBYYOE2T.mjs";import{a as b}from"./chunk-T6T3FEMU.mjs";export*from"react-native-web";import{unstable_createElement as g,NativeModules as v,AccessibilityInfo as w,Animated as E,Appearance as C,AppRegistry as S,AppState as k,BackHandler as A,Clipboard as T,Dimensions as I,Easing as B,I18nManager as
|
|
1
|
+
"use client";import{b as h,c as y}from"./chunk-SBYYOE2T.mjs";import{a as b}from"./chunk-T6T3FEMU.mjs";export*from"react-native-web";import{unstable_createElement as g,NativeModules as v,AccessibilityInfo as w,Animated as E,Appearance as C,AppRegistry as S,AppState as k,BackHandler as A,Clipboard as T,Dimensions as I,Easing as B,I18nManager as L,Keyboard as M,InteractionManager as N,LayoutAnimation as V,Linking as P,NativeEventEmitter as R,PanResponder as O,PixelRatio as D,Platform as $,Share as j,StyleSheet as z,UIManager as K,Vibration as F,CheckBox as H,FlatList as W,Image as U,ImageBackground as Y,KeyboardAvoidingView as _,Picker as q,ProgressBar as G,RefreshControl as J,SafeAreaView as Q,SectionList as X,StatusBar as Z,Touchable as ee,TouchableNativeFeedback as ae,VirtualizedList as te,YellowBox as se,LogBox as ie,DeviceEventEmitter as oe,useColorScheme as ne,useLocaleContext as re,useWindowDimensions as le}from"react-native-web";import*as t from"react-native-web";import{createElement as m,forwardRef as x,useCallback as de,useRef as ce}from"react";function s(l){let i=x((c,e)=>{let{accessibilityState:a,accessibilityValue:p,...d}=c;for(let r of["busy","checked","disabled","expanded","selected"])a?.[r]!==void 0&&d[`aria-${r}`]===void 0&&(d[`aria-${r}`]=a[r]);for(let[r,o]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))p?.[r]!==void 0&&d[`aria-${o}`]===void 0&&(d[`aria-${o}`]=p[r]);return m(l,{...d,ref:e})}),n=l.State;return n&&Object.assign(i,{State:n}),i.displayName=l.displayName??l.name??"NativeWebView",i}b(s,"withAccessibility");var pe=s(t.View),ue=s(t.Text),me=s(t.TextInput),be=s(t.TouchableOpacity),xe=s(t.TouchableHighlight),fe=s(t.TouchableWithoutFeedback),he=s(t.Pressable),ye=s(t.ScrollView),f=x((l,i)=>{let n=ce(null),c=de(e=>{if(e){let a=e;for(;a.parentElement&&a.parentElement!==document.body;)a=a.parentElement;a.parentElement===document.body&&(n.current=a,Object.assign(a.style,{position:"relative",zIndex:"2147483647",pointerEvents:"auto"}),h().appendChild(a))}else n.current&&(document.body.appendChild(n.current),n.current=null);typeof i=="function"?i(e):i&&(i.current=e)},[i]);return m(y,null,m(t.Modal,{...l,ref:c}))});f.displayName="Modal";var ge=s(f),ve=s(t.Switch),we=s(t.ActivityIndicator),Ee=s(t.Button),Ce=t.findNodeHandle,Se={alert(l,i,n,c){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",l),e.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let a=document.createElement("h2");if(a.textContent=l,a.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(a),i){let o=document.createElement("p");o.textContent=i,o.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(o)}let p=document.createElement("div");p.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let d=n?.length?n:[{text:"OK"}],r=b(()=>{e.close?.(),e.remove()},"close");for(let o of d){let u=document.createElement("button");u.type="button",u.textContent=o.text??"OK",u.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${o.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,u.onclick=()=>{r(),o.onPress?.()},p.appendChild(u)}e.addEventListener("cancel",o=>{o.preventDefault(),c?.cancelable!==false&&(r(),c?.onDismiss?.())}),e.appendChild(p),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{pe as a,ue as b,me as c,be as d,xe as e,fe as f,he as g,ye as h,ge as i,ve as j,we as k,Ee as l,Ce as m,Se as n,g as o,v as p,w as q,E as r,C as s,S as t,k as u,A as v,T as w,I as x,B as y,L as z,M as A,N as B,V as C,P as D,R as E,O as F,D as G,$ as H,j as I,z as J,K,F as L,H as M,W as N,U as O,Y as P,_ as Q,q as R,G as S,J as T,Q as U,X as V,Z as W,ee as X,ae as Y,te as Z,se as _,ie as $,oe as aa,ne as ba,re as ca,le as da};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as c}from"./chunk-RMLVR5LI.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as
|
|
1
|
+
"use client";import{a as c}from"./chunk-RMLVR5LI.mjs";import{a as d}from"./chunk-T6T3FEMU.mjs";import{useState as u,useCallback as o}from"react";function w(s=new Set){let[r,i]=u(s),[a,l]=u(false),[p,m]=u(""),h=o(e=>{let n=e.trim();n&&(i(t=>new Set([...t,n])),m(""),l(false))},[]),v=o(e=>{i(n=>{let t=new Set(n);return t.delete(e),t})},[]),S=o(e=>{i(n=>{let t=new Set(n);return t.has(e)?t.delete(e):t.add(e),t})},[]),F=o(()=>{i(new Set),m(""),l(false)},[]),g=o(e=>r.has(e),[r]);return{filters:r,showAddInput:a,newFilter:p,setNewFilter:m,setShowAddInput:l,addFilter:h,removeFilter:v,toggleFilter:S,clearFilters:F,hasFilter:g}}d(w,"useFilterManager");import{useEffect as b,useState as x}from"react";function f(s={}){let[r,i]=x({top:0,bottom:0,left:0,right:0});return b(()=>{let a=d(()=>i(c()),"update");return a(),window.addEventListener("resize",a),window.visualViewport?.addEventListener("resize",a),()=>{window.removeEventListener("resize",a),window.visualViewport?.removeEventListener("resize",a)}},[]),{top:Math.max(r.top,s.minTop??0),bottom:Math.max(r.bottom,s.minBottom??0),left:Math.max(r.left,s.minLeft??0),right:Math.max(r.right,s.minRight??0)}}d(f,"useSafeAreaInsets");export{w as a,f as b};
|