@buoy-gg/shared-ui 7.0.41 → 7.0.42
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/dataViewer.js +1 -9
- package/floating.js +1 -2
- package/history.js +1 -7
- package/hooks.js +1 -7
- package/lib/commonjs/JsModal.js +1 -1766
- package/lib/commonjs/JsModal.web.js +1 -1589
- package/lib/commonjs/clipboard/autoDetectClipboard.js +1 -67
- package/lib/commonjs/clipboard/clipboard-impl.js +1 -128
- package/lib/commonjs/clipboard/clipboard-impl.web.js +1 -21
- package/lib/commonjs/clipboard/copyToClipboard.js +1 -64
- package/lib/commonjs/clipboard/index.js +1 -25
- package/lib/commonjs/colors/index.js +1 -49
- package/lib/commonjs/context/HintsContext.js +1 -49
- package/lib/commonjs/context/index.js +1 -24
- package/lib/commonjs/dataViewer/CyberpunkInput.js +1 -388
- package/lib/commonjs/dataViewer/DataTreeActionBar.js +1 -390
- package/lib/commonjs/dataViewer/DataTreeActionDock.js +1 -226
- package/lib/commonjs/dataViewer/DataViewer.js +1 -158
- package/lib/commonjs/dataViewer/DiffSummary.js +1 -134
- package/lib/commonjs/dataViewer/IndentGuides.js +1 -128
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +1 -104
- package/lib/commonjs/dataViewer/JsonStringNotice.js +1 -59
- package/lib/commonjs/dataViewer/LiveExplorer.js +1 -943
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +1 -421
- package/lib/commonjs/dataViewer/ThemedSplitView.js +1 -642
- package/lib/commonjs/dataViewer/TimestampDeltaBar.js +1 -96
- package/lib/commonjs/dataViewer/TypeLegend.js +1 -111
- package/lib/commonjs/dataViewer/ValueEditModal.js +1 -386
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1 -1270
- package/lib/commonjs/dataViewer/diffThemes.js +1 -113
- package/lib/commonjs/dataViewer/index.js +1 -320
- package/lib/commonjs/dataViewer/jsonOps.js +1 -320
- package/lib/commonjs/dataViewer/jsonStringValue.js +1 -94
- package/lib/commonjs/dataViewer/lineDiff.js +1 -568
- package/lib/commonjs/dataViewer/nestedPath.js +1 -115
- package/lib/commonjs/dataViewer/objectDiff.js +1 -304
- package/lib/commonjs/dataViewer/timestampDiff.js +1 -146
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +1 -915
- package/lib/commonjs/dataViewer/treeActions.js +1 -168
- package/lib/commonjs/dataViewer/useTreeDraft.js +1 -125
- package/lib/commonjs/dataViewer/useTreeEditor.js +1 -105
- package/lib/commonjs/env/EnvironmentIndicator.js +1 -129
- package/lib/commonjs/env/EnvironmentIndicator.web.js +1 -114
- package/lib/commonjs/env/EnvironmentSelector.js +1 -205
- package/lib/commonjs/env/EnvironmentSelectorInline.js +1 -299
- package/lib/commonjs/env/EnvironmentSelectorInline.web.js +1 -178
- package/lib/commonjs/history/HistoryProvider.js +1 -246
- package/lib/commonjs/history/components/HistoryEntryRow.js +1 -146
- package/lib/commonjs/history/components/HistoryList.js +1 -174
- package/lib/commonjs/history/components/index.js +1 -25
- package/lib/commonjs/history/index.js +1 -61
- package/lib/commonjs/history/types.js +1 -5
- package/lib/commonjs/hooks/index.js +1 -77
- package/lib/commonjs/hooks/safe-area-impl.js +1 -28
- package/lib/commonjs/hooks/useChangeLog.js +1 -55
- package/lib/commonjs/hooks/useDeviceInfo.js +1 -524
- package/lib/commonjs/hooks/useEventStoreEvents.js +1 -65
- package/lib/commonjs/hooks/useFilterManager.js +1 -136
- package/lib/commonjs/hooks/usePersistedState.js +1 -106
- package/lib/commonjs/hooks/useSafeAreaInsets.js +1 -250
- package/lib/commonjs/hooks/useSafeAreaInsets.web.js +1 -41
- package/lib/commonjs/icons/BenchmarkIcon.js +1 -109
- package/lib/commonjs/icons/EnvLaptopIcon.js +1 -204
- package/lib/commonjs/icons/IconBackground.js +1 -279
- package/lib/commonjs/icons/ReactQueryIcon.js +1 -17
- package/lib/commonjs/icons/RenderCountIcon.js +1 -147
- package/lib/commonjs/icons/RouteMapIcon.js +1 -250
- package/lib/commonjs/icons/SentryBugIcon.js +1 -19
- package/lib/commonjs/icons/StackPulseIcon.js +1 -158
- package/lib/commonjs/icons/StorageStackIcon.js +1 -156
- package/lib/commonjs/icons/WifiCircuitIcon.js +1 -169
- package/lib/commonjs/icons/index.js +1 -840
- package/lib/commonjs/icons/lucide-icons-original-full.js +1 -3248
- package/lib/commonjs/icons/lucide-icons.js +1 -2476
- package/lib/commonjs/icons/primitives/GlobeIcon.js +1 -66
- package/lib/commonjs/icons/primitives/icon-primitives.js +1 -169
- package/lib/commonjs/icons/primitives/index.js +1 -49
- package/lib/commonjs/index.js +1 -1132
- package/lib/commonjs/license/AccountSetup.js +1 -35
- package/lib/commonjs/license/AccountSetup.web.js +2 -83
- package/lib/commonjs/license/AccountSetupContent.js +1 -482
- package/lib/commonjs/license/FeatureGate.js +1 -788
- package/lib/commonjs/license/FreeAccountPrompt.js +1 -59
- package/lib/commonjs/license/LicenseEntryModal.js +2 -387
- package/lib/commonjs/license/accountRuntime.js +1 -8
- package/lib/commonjs/license/accountRuntime.web.js +1 -9
- package/lib/commonjs/license/index.js +1 -106
- package/lib/commonjs/license/licenseModule.js +1 -121
- package/lib/commonjs/license/openPricing.js +1 -36
- package/lib/commonjs/license/tierLimits.js +1 -128
- package/lib/commonjs/logger/index-sentry.js +1 -245
- package/lib/commonjs/logger/index.js +1 -62
- package/lib/commonjs/logger/logDump.js +1 -19
- package/lib/commonjs/logger/types.js +1 -38
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +1 -384
- package/lib/commonjs/settings/index.js +1 -24
- package/lib/commonjs/storage/definePersistedSetting.js +1 -67
- package/lib/commonjs/storage/devToolsStorageKeys.js +1 -359
- package/lib/commonjs/storage/index.js +1 -25
- package/lib/commonjs/stores/BaseEventStore.js +1 -343
- package/lib/commonjs/stores/ChangeLog.js +1 -197
- package/lib/commonjs/stores/createToolStore.js +1 -193
- package/lib/commonjs/stores/floatingToolStore.js +1 -71
- package/lib/commonjs/stores/floatingToolStore.test.js +1 -112
- package/lib/commonjs/stores/ignoredPatternsCore.js +1 -75
- package/lib/commonjs/stores/ignoredPatternsStore.js +1 -16
- package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -205
- package/lib/commonjs/stores/ignoredPatternsStore.web.js +1 -16
- package/lib/commonjs/stores/index.js +1 -51
- package/lib/commonjs/sync/keyedArrays.js +1 -209
- package/lib/commonjs/sync/toolActionRegistry.js +1 -249
- package/lib/commonjs/sync/toolAttention.test.js +1 -51
- package/lib/commonjs/sync/toolSyncAdapter.js +1 -63
- package/lib/commonjs/sync/toolUiBridge.js +1 -132
- package/lib/commonjs/sync/typedEdit.js +1 -228
- package/lib/commonjs/sync/valuePath.js +1 -337
- package/lib/commonjs/sync/valueShape.js +1 -161
- package/lib/commonjs/sync/wireBudget.js +1 -97
- package/lib/commonjs/sync/wireForm.js +1 -172
- package/lib/commonjs/tools/defineTool.js +1 -79
- package/lib/commonjs/types/types.d.js +1 -1
- package/lib/commonjs/types/types.js +1 -37
- package/lib/commonjs/ui/backgrounds/BackgroundSwitcher.js +1 -354
- package/lib/commonjs/ui/backgrounds/ToolBackground.js +1 -76
- package/lib/commonjs/ui/backgrounds/backgroundStore.js +1 -130
- package/lib/commonjs/ui/backgrounds/index.js +1 -167
- package/lib/commonjs/ui/backgrounds/primitives.js +1 -369
- package/lib/commonjs/ui/backgrounds/registry.js +1 -98
- package/lib/commonjs/ui/backgrounds/rng.js +1 -93
- package/lib/commonjs/ui/backgrounds/skyClock.js +1 -45
- package/lib/commonjs/ui/backgrounds/types.js +1 -1
- package/lib/commonjs/ui/backgrounds/variants/daylight.js +1 -453
- package/lib/commonjs/ui/backgrounds/variants/deepField.js +1 -381
- package/lib/commonjs/ui/backgrounds/variants/hyperspace.js +1 -218
- package/lib/commonjs/ui/backgrounds/variants/liveSky.js +1 -898
- package/lib/commonjs/ui/backgrounds/variants/meteors.js +1 -401
- package/lib/commonjs/ui/backgrounds/variants/moonlight.js +1 -472
- package/lib/commonjs/ui/backgrounds/variants/underwater.js +1 -757
- package/lib/commonjs/ui/backgrounds/variants/wormhole/motion.js +1 -48
- package/lib/commonjs/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/commonjs/ui/backgrounds/variants/wormhole.js +1 -136
- package/lib/commonjs/ui/components/BackButton.js +1 -47
- package/lib/commonjs/ui/components/Badge.js +1 -226
- package/lib/commonjs/ui/components/ChangeRow.js +1 -111
- package/lib/commonjs/ui/components/ChipStrip.js +1 -94
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +1 -149
- package/lib/commonjs/ui/components/CollapsibleSection.js +1 -170
- package/lib/commonjs/ui/components/CompactFilterChips.js +1 -114
- package/lib/commonjs/ui/components/CompactRow.js +1 -295
- package/lib/commonjs/ui/components/CopyButton.js +1 -307
- package/lib/commonjs/ui/components/DataInspector.js +1 -323
- package/lib/commonjs/ui/components/DetailView.js +1 -358
- package/lib/commonjs/ui/components/DetailViewToggle.js +1 -130
- package/lib/commonjs/ui/components/DevToolsCard.js +1 -126
- package/lib/commonjs/ui/components/DraggableHeader.js +1 -215
- package/lib/commonjs/ui/components/DynamicFilterView.js +1 -758
- package/lib/commonjs/ui/components/EmptyState.js +1 -151
- package/lib/commonjs/ui/components/EntityFilterView.js +1 -355
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +1 -211
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -99
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -184
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +1 -208
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -137
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +1 -40
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +1 -5
- package/lib/commonjs/ui/components/EventListItem.js +1 -247
- package/lib/commonjs/ui/components/EventStepperFooter.js +1 -185
- package/lib/commonjs/ui/components/ExpandablePopover.js +1 -381
- package/lib/commonjs/ui/components/ExpandedInfoRow.js +1 -108
- package/lib/commonjs/ui/components/ExportPreview.js +1 -174
- package/lib/commonjs/ui/components/FilterComponents.js +1 -291
- package/lib/commonjs/ui/components/GripVerticalIcon.js +1 -65
- package/lib/commonjs/ui/components/HeaderSearchButton.js +1 -50
- package/lib/commonjs/ui/components/InfoRow.js +1 -91
- package/lib/commonjs/ui/components/ListItem.js +1 -173
- package/lib/commonjs/ui/components/ModalHeader.js +1 -305
- package/lib/commonjs/ui/components/ModalHintBanner.js +1 -147
- package/lib/commonjs/ui/components/Pill.js +1 -115
- package/lib/commonjs/ui/components/PowerToggleButton.js +1 -78
- package/lib/commonjs/ui/components/SearchBar.js +1 -165
- package/lib/commonjs/ui/components/SectionHeader.js +1 -129
- package/lib/commonjs/ui/components/StatsCard.js +1 -198
- package/lib/commonjs/ui/components/StatusIndicator.js +1 -231
- package/lib/commonjs/ui/components/StorageTypeBadge.js +1 -97
- package/lib/commonjs/ui/components/TabSelector.js +1 -102
- package/lib/commonjs/ui/components/TimeDisplay.js +1 -142
- package/lib/commonjs/ui/components/ToggleRow.js +1 -116
- package/lib/commonjs/ui/components/ToolButton.js +1 -93
- package/lib/commonjs/ui/components/ToolEmptyState.js +1 -154
- package/lib/commonjs/ui/components/ToolFooter.js +1 -205
- package/lib/commonjs/ui/components/ValueTypeBadge.js +1 -147
- package/lib/commonjs/ui/components/WindowControls.js +1 -387
- package/lib/commonjs/ui/components/index.js +1 -507
- package/lib/commonjs/ui/components/windowDrag.js +1 -45
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +1 -261
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +1 -186
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +1 -123
- package/lib/commonjs/ui/floating/FloatingTool.js +1 -1010
- package/lib/commonjs/ui/floating/FloatingTool.web.js +1 -601
- package/lib/commonjs/ui/floating/FloatingToolHost.js +1 -32
- package/lib/commonjs/ui/floating/FloatingToolHost.web.js +1 -28
- package/lib/commonjs/ui/floating/index.js +1 -105
- package/lib/commonjs/ui/floating/index.web.js +1 -105
- package/lib/commonjs/ui/floating/onboardingConstants.js +1 -70
- package/lib/commonjs/ui/floating/onboardingConstants.web.js +1 -34
- package/lib/commonjs/ui/fonts.js +1 -12
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +1 -121
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +1 -336
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +1 -284
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +1 -145
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +1 -224
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +1 -224
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +1 -110
- package/lib/commonjs/ui/gameUI/index.js +1 -72
- package/lib/commonjs/ui/index.js +1 -217
- package/lib/commonjs/ui/listPresets.js +1 -43
- package/lib/commonjs/ui/night/nightTheme.js +1 -130
- package/lib/commonjs/ui/night/primitives.js +1 -524
- package/lib/commonjs/ui/otto/OttoSceneView.js +1 -69
- package/lib/commonjs/ui/otto/OttoSprite.js +1 -510
- package/lib/commonjs/ui/otto/index.js +1 -60
- package/lib/commonjs/ui/otto/ottoEngine.js +1 -2737
- package/lib/commonjs/ui/otto/ottoScenes.js +1 -949
- package/lib/commonjs/ui/otto/ottoSheet.js +1 -191
- package/lib/commonjs/ui/toolTheme.js +1 -97
- package/lib/commonjs/utils/absoluteFill.js +1 -28
- package/lib/commonjs/utils/browserAsyncStorage.js +1 -157
- package/lib/commonjs/utils/browserNavigation.js +1 -116
- package/lib/commonjs/utils/devServer.js +1 -66
- package/lib/commonjs/utils/devServer.web.js +1 -10
- package/lib/commonjs/utils/displayValue.js +1 -41
- package/lib/commonjs/utils/domRuntime.js +1 -143
- package/lib/commonjs/utils/expoRouterModule.js +1 -51
- package/lib/commonjs/utils/expoRouterModule.web.js +1 -14
- package/lib/commonjs/utils/formatting/dataFormatting.js +1 -102
- package/lib/commonjs/utils/formatting/httpFormatting.js +1 -147
- package/lib/commonjs/utils/formatting/index.js +1 -27
- package/lib/commonjs/utils/getSafeAreaInsets.js +1 -40
- package/lib/commonjs/utils/getSafeAreaInsets.web.js +1 -35
- package/lib/commonjs/utils/index.js +1 -416
- package/lib/commonjs/utils/loadOptionalModule.js +1 -94
- package/lib/commonjs/utils/loadToolModule.js +1 -46
- package/lib/commonjs/utils/loadToolModule.web.js +1 -12
- package/lib/commonjs/utils/minimalSuperJSON.js +1 -347
- package/lib/commonjs/utils/modalStorage.js +1 -42
- package/lib/commonjs/utils/nativeWeb.js +1 -454
- package/lib/commonjs/utils/persistentStorage.js +1 -609
- package/lib/commonjs/utils/persistentStorage.web.js +1 -78
- package/lib/commonjs/utils/realNow.js +1 -0
- package/lib/commonjs/utils/reloadApp.js +1 -105
- package/lib/commonjs/utils/reloadPlatform.js +1 -37
- package/lib/commonjs/utils/reloadPlatform.web.js +1 -17
- package/lib/commonjs/utils/renderCaptureRegistry.js +1 -59
- package/lib/commonjs/utils/safeExpoRouter.js +1 -200
- package/lib/commonjs/utils/safeExpoRouter.web.js +1 -48
- package/lib/commonjs/utils/safeStringify.js +1 -229
- package/lib/commonjs/utils/snapshotProviderKit.js +1 -167
- package/lib/commonjs/utils/stateSnapshotRegistry.js +1 -71
- package/lib/commonjs/utils/stateTools.js +1 -160
- package/lib/commonjs/utils/subscribable.js +1 -113
- package/lib/commonjs/utils/subscriberCountNotifier.js +1 -72
- package/lib/commonjs/utils/time/RelativeTime.js +1 -31
- package/lib/commonjs/utils/time/TickContext.js +1 -43
- package/lib/commonjs/utils/time/formatRelativeTime.js +1 -34
- package/lib/commonjs/utils/time/index.js +1 -39
- package/lib/commonjs/utils/time/useRelativeTime.js +1 -36
- package/lib/commonjs/utils/toolModules.js +1 -25
- package/lib/commonjs/utils/typeHelpers.js +1 -142
- package/lib/commonjs/utils/valueFormatting.js +1 -140
- package/lib/module/JsModal.js +1 -1762
- package/lib/module/JsModal.web.js +1 -1585
- package/lib/module/clipboard/autoDetectClipboard.js +1 -45
- package/lib/module/clipboard/clipboard-impl.js +1 -121
- package/lib/module/clipboard/clipboard-impl.web.js +1 -14
- package/lib/module/clipboard/copyToClipboard.js +1 -60
- package/lib/module/clipboard/index.js +1 -5
- package/lib/module/colors/index.js +1 -21
- package/lib/module/context/HintsContext.js +1 -43
- package/lib/module/context/index.js +1 -3
- package/lib/module/dataViewer/CyberpunkInput.js +1 -384
- package/lib/module/dataViewer/DataTreeActionBar.js +1 -385
- package/lib/module/dataViewer/DataTreeActionDock.js +1 -222
- package/lib/module/dataViewer/DataViewer.js +1 -153
- package/lib/module/dataViewer/DiffSummary.js +1 -129
- package/lib/module/dataViewer/IndentGuides.js +1 -124
- package/lib/module/dataViewer/IndentGuidesOverlay.js +1 -99
- package/lib/module/dataViewer/JsonStringNotice.js +1 -54
- package/lib/module/dataViewer/LiveExplorer.js +1 -937
- package/lib/module/dataViewer/SplitDiffViewer.js +1 -416
- package/lib/module/dataViewer/ThemedSplitView.js +1 -637
- package/lib/module/dataViewer/TimestampDeltaBar.js +1 -91
- package/lib/module/dataViewer/TypeLegend.js +1 -105
- package/lib/module/dataViewer/ValueEditModal.js +1 -382
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1 -1265
- package/lib/module/dataViewer/diffThemes.js +1 -109
- package/lib/module/dataViewer/index.js +1 -57
- package/lib/module/dataViewer/jsonOps.js +1 -311
- package/lib/module/dataViewer/jsonStringValue.js +1 -89
- package/lib/module/dataViewer/lineDiff.js +1 -564
- package/lib/module/dataViewer/nestedPath.js +1 -109
- package/lib/module/dataViewer/objectDiff.js +1 -297
- package/lib/module/dataViewer/timestampDiff.js +1 -139
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +1 -909
- package/lib/module/dataViewer/treeActions.js +1 -162
- package/lib/module/dataViewer/useTreeDraft.js +1 -121
- package/lib/module/dataViewer/useTreeEditor.js +1 -101
- package/lib/module/env/EnvironmentIndicator.js +1 -125
- package/lib/module/env/EnvironmentIndicator.web.js +1 -108
- package/lib/module/env/EnvironmentSelector.js +1 -201
- package/lib/module/env/EnvironmentSelectorInline.js +1 -295
- package/lib/module/env/EnvironmentSelectorInline.web.js +1 -173
- package/lib/module/history/HistoryProvider.js +1 -237
- package/lib/module/history/components/HistoryEntryRow.js +1 -142
- package/lib/module/history/components/HistoryList.js +1 -169
- package/lib/module/history/components/index.js +1 -8
- package/lib/module/history/index.js +1 -15
- package/lib/module/history/types.js +1 -3
- package/lib/module/hooks/index.js +1 -9
- package/lib/module/hooks/safe-area-impl.js +1 -23
- package/lib/module/hooks/useChangeLog.js +1 -50
- package/lib/module/hooks/useDeviceInfo.js +1 -519
- package/lib/module/hooks/useEventStoreEvents.js +1 -61
- package/lib/module/hooks/useFilterManager.js +1 -132
- package/lib/module/hooks/usePersistedState.js +1 -102
- package/lib/module/hooks/useSafeAreaInsets.js +1 -245
- package/lib/module/hooks/useSafeAreaInsets.web.js +1 -30
- package/lib/module/icons/BenchmarkIcon.js +1 -104
- package/lib/module/icons/EnvLaptopIcon.js +1 -199
- package/lib/module/icons/IconBackground.js +1 -274
- package/lib/module/icons/ReactQueryIcon.js +1 -12
- package/lib/module/icons/RenderCountIcon.js +1 -142
- package/lib/module/icons/RouteMapIcon.js +1 -245
- package/lib/module/icons/SentryBugIcon.js +1 -14
- package/lib/module/icons/StackPulseIcon.js +1 -153
- package/lib/module/icons/StorageStackIcon.js +1 -151
- package/lib/module/icons/WifiCircuitIcon.js +1 -164
- package/lib/module/icons/index.js +1 -63
- package/lib/module/icons/lucide-icons-original-full.js +1 -3178
- package/lib/module/icons/lucide-icons.js +1 -2420
- package/lib/module/icons/primitives/GlobeIcon.js +1 -61
- package/lib/module/icons/primitives/icon-primitives.js +1 -161
- package/lib/module/icons/primitives/index.js +1 -15
- package/lib/module/index.js +1 -111
- package/lib/module/license/AccountSetup.js +1 -31
- package/lib/module/license/AccountSetup.web.js +3 -80
- package/lib/module/license/AccountSetupContent.js +1 -476
- package/lib/module/license/FeatureGate.js +1 -778
- package/lib/module/license/FreeAccountPrompt.js +1 -50
- package/lib/module/license/LicenseEntryModal.js +2 -381
- package/lib/module/license/accountRuntime.js +1 -3
- package/lib/module/license/accountRuntime.web.js +1 -4
- package/lib/module/license/index.js +1 -9
- package/lib/module/license/licenseModule.js +1 -109
- package/lib/module/license/openPricing.js +1 -31
- package/lib/module/license/tierLimits.js +1 -122
- package/lib/module/logger/index-sentry.js +1 -230
- package/lib/module/logger/index.js +1 -13
- package/lib/module/logger/logDump.js +1 -13
- package/lib/module/logger/types.js +1 -37
- package/lib/module/settings/components/BubbleSettingsSection.js +1 -378
- package/lib/module/settings/index.js +1 -3
- package/lib/module/storage/definePersistedSetting.js +1 -63
- package/lib/module/storage/devToolsStorageKeys.js +1 -352
- package/lib/module/storage/index.js +1 -4
- package/lib/module/stores/BaseEventStore.js +1 -339
- package/lib/module/stores/ChangeLog.js +1 -192
- package/lib/module/stores/createToolStore.js +1 -189
- package/lib/module/stores/floatingToolStore.js +1 -61
- package/lib/module/stores/floatingToolStore.test.js +1 -111
- package/lib/module/stores/ignoredPatternsCore.js +1 -69
- package/lib/module/stores/ignoredPatternsStore.js +1 -3
- package/lib/module/stores/ignoredPatternsStore.shared.js +1 -189
- package/lib/module/stores/ignoredPatternsStore.web.js +1 -3
- package/lib/module/stores/index.js +1 -10
- package/lib/module/sync/keyedArrays.js +1 -204
- package/lib/module/sync/toolActionRegistry.js +1 -236
- package/lib/module/sync/toolAttention.test.js +1 -50
- package/lib/module/sync/toolSyncAdapter.js +1 -58
- package/lib/module/sync/toolUiBridge.js +1 -123
- package/lib/module/sync/typedEdit.js +1 -220
- package/lib/module/sync/valuePath.js +1 -330
- package/lib/module/sync/valueShape.js +1 -153
- package/lib/module/sync/wireBudget.js +1 -92
- package/lib/module/sync/wireForm.js +1 -159
- package/lib/module/tools/defineTool.js +1 -74
- package/lib/module/types/types.d.js +1 -1
- package/lib/module/types/types.js +1 -32
- package/lib/module/ui/backgrounds/BackgroundSwitcher.js +1 -350
- package/lib/module/ui/backgrounds/ToolBackground.js +1 -72
- package/lib/module/ui/backgrounds/backgroundStore.js +1 -125
- package/lib/module/ui/backgrounds/index.js +1 -19
- package/lib/module/ui/backgrounds/primitives.js +1 -365
- package/lib/module/ui/backgrounds/registry.js +1 -91
- package/lib/module/ui/backgrounds/rng.js +1 -85
- package/lib/module/ui/backgrounds/skyClock.js +1 -39
- package/lib/module/ui/backgrounds/types.js +1 -1
- package/lib/module/ui/backgrounds/variants/daylight.js +1 -449
- package/lib/module/ui/backgrounds/variants/deepField.js +1 -378
- package/lib/module/ui/backgrounds/variants/hyperspace.js +1 -214
- package/lib/module/ui/backgrounds/variants/liveSky.js +1 -893
- package/lib/module/ui/backgrounds/variants/meteors.js +1 -397
- package/lib/module/ui/backgrounds/variants/moonlight.js +1 -468
- package/lib/module/ui/backgrounds/variants/underwater.js +1 -753
- package/lib/module/ui/backgrounds/variants/wormhole/motion.js +1 -44
- package/lib/module/ui/backgrounds/variants/wormhole/textures.js +1 -3
- package/lib/module/ui/backgrounds/variants/wormhole.js +1 -132
- package/lib/module/ui/components/BackButton.js +1 -43
- package/lib/module/ui/components/Badge.js +1 -218
- package/lib/module/ui/components/ChangeRow.js +1 -106
- package/lib/module/ui/components/ChipStrip.js +1 -91
- package/lib/module/ui/components/ClipboardHintBanner.js +1 -145
- package/lib/module/ui/components/CollapsibleSection.js +1 -166
- package/lib/module/ui/components/CompactFilterChips.js +1 -110
- package/lib/module/ui/components/CompactRow.js +1 -291
- package/lib/module/ui/components/CopyButton.js +1 -303
- package/lib/module/ui/components/DataInspector.js +1 -319
- package/lib/module/ui/components/DetailView.js +1 -354
- package/lib/module/ui/components/DetailViewToggle.js +1 -125
- package/lib/module/ui/components/DevToolsCard.js +1 -122
- package/lib/module/ui/components/DraggableHeader.js +1 -211
- package/lib/module/ui/components/DynamicFilterView.js +1 -754
- package/lib/module/ui/components/EmptyState.js +1 -144
- package/lib/module/ui/components/EntityFilterView.js +1 -351
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +1 -206
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +1 -94
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +1 -179
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +1 -203
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +1 -132
- package/lib/module/ui/components/EventHistoryViewer/index.js +1 -19
- package/lib/module/ui/components/EventHistoryViewer/types.js +1 -3
- package/lib/module/ui/components/EventListItem.js +1 -243
- package/lib/module/ui/components/EventStepperFooter.js +1 -180
- package/lib/module/ui/components/ExpandablePopover.js +1 -378
- package/lib/module/ui/components/ExpandedInfoRow.js +1 -103
- package/lib/module/ui/components/ExportPreview.js +1 -169
- package/lib/module/ui/components/FilterComponents.js +1 -282
- package/lib/module/ui/components/GripVerticalIcon.js +1 -61
- package/lib/module/ui/components/HeaderSearchButton.js +1 -46
- package/lib/module/ui/components/InfoRow.js +1 -87
- package/lib/module/ui/components/ListItem.js +1 -169
- package/lib/module/ui/components/ModalHeader.js +1 -297
- package/lib/module/ui/components/ModalHintBanner.js +1 -143
- package/lib/module/ui/components/Pill.js +1 -111
- package/lib/module/ui/components/PowerToggleButton.js +1 -74
- package/lib/module/ui/components/SearchBar.js +1 -161
- package/lib/module/ui/components/SectionHeader.js +1 -125
- package/lib/module/ui/components/StatsCard.js +1 -194
- package/lib/module/ui/components/StatusIndicator.js +1 -227
- package/lib/module/ui/components/StorageTypeBadge.js +1 -93
- package/lib/module/ui/components/TabSelector.js +1 -98
- package/lib/module/ui/components/TimeDisplay.js +1 -138
- package/lib/module/ui/components/ToggleRow.js +1 -112
- package/lib/module/ui/components/ToolButton.js +1 -89
- package/lib/module/ui/components/ToolEmptyState.js +1 -149
- package/lib/module/ui/components/ToolFooter.js +1 -197
- package/lib/module/ui/components/ValueTypeBadge.js +1 -143
- package/lib/module/ui/components/WindowControls.js +1 -383
- package/lib/module/ui/components/index.js +1 -52
- package/lib/module/ui/components/windowDrag.js +1 -41
- package/lib/module/ui/console/CyberpunkButtonOutline.js +1 -257
- package/lib/module/ui/console/CyberpunkIconContainer.js +1 -182
- package/lib/module/ui/console/CyberpunkSectionButton.js +1 -119
- package/lib/module/ui/floating/FloatingTool.js +1 -1003
- package/lib/module/ui/floating/FloatingTool.web.js +1 -600
- package/lib/module/ui/floating/FloatingToolHost.js +1 -29
- package/lib/module/ui/floating/FloatingToolHost.web.js +1 -25
- package/lib/module/ui/floating/index.js +1 -6
- package/lib/module/ui/floating/index.web.js +1 -6
- package/lib/module/ui/floating/onboardingConstants.js +1 -64
- package/lib/module/ui/floating/onboardingConstants.web.js +1 -27
- package/lib/module/ui/fonts.js +1 -8
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +1 -117
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +1 -332
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +1 -280
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +1 -141
- package/lib/module/ui/gameUI/constants/gameUIColors.js +1 -220
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +1 -219
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +1 -105
- package/lib/module/ui/gameUI/index.js +1 -19
- package/lib/module/ui/index.js +1 -31
- package/lib/module/ui/listPresets.js +1 -39
- package/lib/module/ui/night/nightTheme.js +1 -126
- package/lib/module/ui/night/primitives.js +1 -511
- package/lib/module/ui/otto/OttoSceneView.js +1 -64
- package/lib/module/ui/otto/OttoSprite.js +1 -496
- package/lib/module/ui/otto/index.js +1 -22
- package/lib/module/ui/otto/ottoEngine.js +1 -2729
- package/lib/module/ui/otto/ottoScenes.js +1 -942
- package/lib/module/ui/otto/ottoSheet.js +1 -180
- package/lib/module/ui/toolTheme.js +1 -93
- package/lib/module/utils/absoluteFill.js +1 -24
- package/lib/module/utils/browserAsyncStorage.js +1 -151
- package/lib/module/utils/browserNavigation.js +1 -108
- package/lib/module/utils/devServer.js +1 -62
- package/lib/module/utils/devServer.web.js +1 -6
- package/lib/module/utils/displayValue.js +1 -36
- package/lib/module/utils/domRuntime.js +1 -134
- package/lib/module/utils/expoRouterModule.js +1 -46
- package/lib/module/utils/expoRouterModule.web.js +1 -9
- package/lib/module/utils/formatting/dataFormatting.js +1 -93
- package/lib/module/utils/formatting/httpFormatting.js +1 -142
- package/lib/module/utils/formatting/index.js +1 -8
- package/lib/module/utils/getSafeAreaInsets.js +1 -36
- package/lib/module/utils/getSafeAreaInsets.web.js +1 -31
- package/lib/module/utils/index.js +1 -23
- package/lib/module/utils/loadOptionalModule.js +1 -89
- package/lib/module/utils/loadToolModule.js +1 -42
- package/lib/module/utils/loadToolModule.web.js +1 -8
- package/lib/module/utils/minimalSuperJSON.js +1 -342
- package/lib/module/utils/modalStorage.js +1 -37
- package/lib/module/utils/nativeWeb.js +1 -107
- package/lib/module/utils/persistentStorage.js +1 -603
- package/lib/module/utils/persistentStorage.web.js +1 -72
- package/lib/module/utils/realNow.js +1 -0
- package/lib/module/utils/reloadApp.js +1 -99
- package/lib/module/utils/reloadPlatform.js +1 -31
- package/lib/module/utils/reloadPlatform.web.js +1 -11
- package/lib/module/utils/renderCaptureRegistry.js +1 -54
- package/lib/module/utils/safeExpoRouter.js +1 -189
- package/lib/module/utils/safeExpoRouter.web.js +1 -37
- package/lib/module/utils/safeStringify.js +1 -225
- package/lib/module/utils/snapshotProviderKit.js +1 -156
- package/lib/module/utils/stateSnapshotRegistry.js +1 -64
- package/lib/module/utils/stateTools.js +1 -154
- package/lib/module/utils/subscribable.js +1 -108
- package/lib/module/utils/subscriberCountNotifier.js +1 -66
- package/lib/module/utils/time/RelativeTime.js +1 -28
- package/lib/module/utils/time/TickContext.js +1 -38
- package/lib/module/utils/time/formatRelativeTime.js +1 -30
- package/lib/module/utils/time/index.js +1 -6
- package/lib/module/utils/time/useRelativeTime.js +1 -33
- package/lib/module/utils/toolModules.js +1 -19
- package/lib/module/utils/typeHelpers.js +1 -130
- package/lib/module/utils/valueFormatting.js +1 -131
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/commonjs/icons/index.d.ts +1 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/commonjs/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/commonjs/utils/index.d.ts +1 -0
- package/lib/typescript/commonjs/utils/realNow.d.ts +11 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
- package/lib/typescript/module/icons/index.d.ts +1 -0
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +8 -0
- package/lib/typescript/module/ui/night/primitives.d.ts +9 -3
- package/lib/typescript/module/utils/index.d.ts +1 -0
- package/lib/typescript/module/utils/realNow.d.ts +11 -0
- package/lib/web/asyncStorage.mjs +1 -2
- package/lib/web/chunks/chunk-26OV3QDY.mjs +1 -0
- package/lib/web/chunks/chunk-3UTMGIUG.mjs +1 -2
- package/lib/web/chunks/chunk-53J2FMUD.mjs +1 -2
- package/lib/web/chunks/chunk-5KWAGM5V.mjs +1 -0
- package/lib/web/chunks/chunk-5NZOQR6Q.mjs +1 -2
- package/lib/web/chunks/chunk-7PRKERDN.mjs +1 -0
- package/lib/web/chunks/chunk-CE5U3CSQ.mjs +1 -2
- package/lib/web/chunks/chunk-D4RXBAOO.mjs +15 -0
- package/lib/web/chunks/chunk-ER3T3IDI.mjs +1 -0
- package/lib/web/chunks/chunk-GF5C5DVX.mjs +1 -2
- package/lib/web/chunks/chunk-K7CGIEFU.mjs +1 -2
- package/lib/web/chunks/{chunk-GTYIS7H7.mjs → chunk-L3AFTHWX.mjs} +8 -9
- package/lib/web/chunks/chunk-LZ7FZZ7R.mjs +1 -2
- package/lib/web/chunks/chunk-PTK5FO6C.mjs +1 -2
- package/lib/web/chunks/chunk-TJUBBXXK.mjs +1 -0
- package/lib/web/chunks/chunk-UKYVRCMZ.mjs +1 -0
- package/lib/web/chunks/chunk-XYUAUO57.mjs +1 -2
- package/lib/web/chunks/persistentStorage.web-6OAJAVRK.mjs +1 -0
- package/lib/web/colors.mjs +1 -2
- package/lib/web/dataViewer.mjs +2 -3
- package/lib/web/floating.mjs +1 -2
- package/lib/web/history.mjs +1 -2
- package/lib/web/hooks.mjs +1 -2
- package/lib/web/index.mjs +2 -3
- package/lib/web/native.mjs +1 -2
- package/lib/web/ui.mjs +1 -2
- package/lib/web/utils.mjs +1 -2
- package/package.json +8 -7
- package/scripts/detect-clipboard.js +5 -121
- package/scripts/detect-safe-area.js +3 -127
- package/ui.js +1 -7
- package/utils.js +1 -7
- package/lib/typescript/commonjs/JsModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/colors/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/context/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/commonjs/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/history/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/commonjs/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/commonjs/logger/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/settings/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/storage/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/stores/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/commonjs/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/types/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.d.ts.map +0 -1
- package/lib/typescript/module/JsModal.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/clipboard-impl.web.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +0 -1
- package/lib/typescript/module/clipboard/index.d.ts.map +0 -1
- package/lib/typescript/module/colors/index.d.ts.map +0 -1
- package/lib/typescript/module/context/HintsContext.d.ts.map +0 -1
- package/lib/typescript/module/context/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataTreeActionDock.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/JsonStringNotice.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/LiveExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TimestampDeltaBar.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/ValueEditModal.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonOps.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/jsonStringValue.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/nestedPath.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/objectDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/timestampDiff.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/treeActions.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/module/dataViewer/useTreeEditor.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentIndicator.web.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +0 -1
- package/lib/typescript/module/env/EnvironmentSelectorInline.web.d.ts.map +0 -1
- package/lib/typescript/module/history/HistoryProvider.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryEntryRow.d.ts.map +0 -1
- package/lib/typescript/module/history/components/HistoryList.d.ts.map +0 -1
- package/lib/typescript/module/history/components/index.d.ts.map +0 -1
- package/lib/typescript/module/history/index.d.ts.map +0 -1
- package/lib/typescript/module/history/types.d.ts.map +0 -1
- package/lib/typescript/module/hooks/index.d.ts.map +0 -1
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useEventStoreEvents.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +0 -1
- package/lib/typescript/module/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/hooks/useSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/IconBackground.d.ts.map +0 -1
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/index.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +0 -1
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +0 -1
- package/lib/typescript/module/icons/primitives/index.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetup.web.d.ts.map +0 -1
- package/lib/typescript/module/license/AccountSetupContent.d.ts.map +0 -1
- package/lib/typescript/module/license/FeatureGate.d.ts.map +0 -1
- package/lib/typescript/module/license/FreeAccountPrompt.d.ts.map +0 -1
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.d.ts.map +0 -1
- package/lib/typescript/module/license/accountRuntime.web.d.ts.map +0 -1
- package/lib/typescript/module/license/index.d.ts.map +0 -1
- package/lib/typescript/module/license/licenseModule.d.ts.map +0 -1
- package/lib/typescript/module/license/openPricing.d.ts.map +0 -1
- package/lib/typescript/module/license/tierLimits.d.ts.map +0 -1
- package/lib/typescript/module/logger/index-sentry.d.ts.map +0 -1
- package/lib/typescript/module/logger/index.d.ts.map +0 -1
- package/lib/typescript/module/logger/logDump.d.ts.map +0 -1
- package/lib/typescript/module/logger/types.d.ts.map +0 -1
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +0 -1
- package/lib/typescript/module/settings/index.d.ts.map +0 -1
- package/lib/typescript/module/storage/definePersistedSetting.d.ts.map +0 -1
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +0 -1
- package/lib/typescript/module/storage/index.d.ts.map +0 -1
- package/lib/typescript/module/stores/BaseEventStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ChangeLog.d.ts.map +0 -1
- package/lib/typescript/module/stores/createToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/floatingToolStore.test.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsCore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts.map +0 -1
- package/lib/typescript/module/stores/ignoredPatternsStore.web.d.ts.map +0 -1
- package/lib/typescript/module/stores/index.d.ts.map +0 -1
- package/lib/typescript/module/sync/keyedArrays.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolActionRegistry.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolAttention.test.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/module/sync/toolUiBridge.d.ts.map +0 -1
- package/lib/typescript/module/sync/typedEdit.d.ts.map +0 -1
- package/lib/typescript/module/sync/valuePath.d.ts.map +0 -1
- package/lib/typescript/module/sync/valueShape.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireBudget.d.ts.map +0 -1
- package/lib/typescript/module/sync/wireForm.d.ts.map +0 -1
- package/lib/typescript/module/tools/defineTool.d.ts.map +0 -1
- package/lib/typescript/module/types/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/BackgroundSwitcher.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/ToolBackground.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/backgroundStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/registry.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/rng.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/skyClock.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/daylight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/deepField.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/hyperspace.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/liveSky.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/meteors.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/moonlight.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/underwater.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/motion.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole/textures.d.ts.map +0 -1
- package/lib/typescript/module/ui/backgrounds/variants/wormhole.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Badge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChangeRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ChipStrip.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DetailViewToggle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DevToolsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EntityFilterView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExpandedInfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ExportPreview.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GripVerticalIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/InfoRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Pill.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/PowerToggleButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToggleRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolEmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ToolFooter.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/windowDrag.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +0 -1
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingTool.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/FloatingToolHost.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/index.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.d.ts.map +0 -1
- package/lib/typescript/module/ui/floating/onboardingConstants.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/fonts.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +0 -1
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/listPresets.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/nightTheme.d.ts.map +0 -1
- package/lib/typescript/module/ui/night/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSceneView.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/OttoSprite.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoEngine.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoScenes.d.ts.map +0 -1
- package/lib/typescript/module/ui/otto/ottoSheet.d.ts.map +0 -1
- package/lib/typescript/module/ui/toolTheme.d.ts.map +0 -1
- package/lib/typescript/module/utils/absoluteFill.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserAsyncStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/browserNavigation.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.d.ts.map +0 -1
- package/lib/typescript/module/utils/devServer.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/displayValue.d.ts.map +0 -1
- package/lib/typescript/module/utils/domRuntime.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/expoRouterModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +0 -1
- package/lib/typescript/module/utils/formatting/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +0 -1
- package/lib/typescript/module/utils/getSafeAreaInsets.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.d.ts.map +0 -1
- package/lib/typescript/module/utils/loadToolModule.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +0 -1
- package/lib/typescript/module/utils/modalStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/nativeWeb.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +0 -1
- package/lib/typescript/module/utils/persistentStorage.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadApp.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.d.ts.map +0 -1
- package/lib/typescript/module/utils/reloadPlatform.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/renderCaptureRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeExpoRouter.web.d.ts.map +0 -1
- package/lib/typescript/module/utils/safeStringify.d.ts.map +0 -1
- package/lib/typescript/module/utils/snapshotProviderKit.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateSnapshotRegistry.d.ts.map +0 -1
- package/lib/typescript/module/utils/stateTools.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscribable.d.ts.map +0 -1
- package/lib/typescript/module/utils/subscriberCountNotifier.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/RelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/TickContext.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/time/useRelativeTime.d.ts.map +0 -1
- package/lib/typescript/module/utils/toolModules.d.ts.map +0 -1
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +0 -1
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +0 -1
- package/lib/web/chunks/chunk-2MHKRRQW.mjs +0 -8
- package/lib/web/chunks/chunk-2Q3SDPH2.mjs +0 -14
- package/lib/web/chunks/chunk-34YQ42KI.mjs +0 -2
- package/lib/web/chunks/chunk-3NNNCQYP.mjs +0 -14
- package/lib/web/chunks/chunk-46CXXOQB.mjs +0 -2
- package/lib/web/chunks/chunk-475BSDCB.mjs +0 -2
- package/lib/web/chunks/chunk-552W4COI.mjs +0 -2
- package/lib/web/chunks/chunk-56TTTMX4.mjs +0 -6145
- package/lib/web/chunks/chunk-5LOQZINQ.mjs +0 -14
- package/lib/web/chunks/chunk-5NOIO6ZM.mjs +0 -16
- package/lib/web/chunks/chunk-6CCRCSA2.mjs +0 -2
- package/lib/web/chunks/chunk-6Q52HRBL.mjs +0 -2
- package/lib/web/chunks/chunk-6TEDFSNM.mjs +0 -655
- package/lib/web/chunks/chunk-7BMRSMHN.mjs +0 -2
- package/lib/web/chunks/chunk-A2SOFE47.mjs +0 -24
- package/lib/web/chunks/chunk-A7KJCK4R.mjs +0 -14
- package/lib/web/chunks/chunk-AEXGGXS7.mjs +0 -2
- package/lib/web/chunks/chunk-AGD7ZT6O.mjs +0 -15
- package/lib/web/chunks/chunk-AIEOQWNG.mjs +0 -2
- package/lib/web/chunks/chunk-ASTM35HG.mjs +0 -16
- package/lib/web/chunks/chunk-AZBMFPMX.mjs +0 -1421
- package/lib/web/chunks/chunk-B2V2UDCU.mjs +0 -16
- package/lib/web/chunks/chunk-BFGKGTAC.mjs +0 -2
- package/lib/web/chunks/chunk-BHW6AFO6.mjs +0 -2
- package/lib/web/chunks/chunk-BWRW3NJ2.mjs +0 -16
- package/lib/web/chunks/chunk-CBM2IZAK.mjs +0 -2
- package/lib/web/chunks/chunk-CDLCFF44.mjs +0 -2
- package/lib/web/chunks/chunk-CI5CO7FQ.mjs +0 -2
- package/lib/web/chunks/chunk-CIB4U2YK.mjs +0 -2
- package/lib/web/chunks/chunk-CLLTZQGD.mjs +0 -596
- package/lib/web/chunks/chunk-D5HQLRFW.mjs +0 -655
- package/lib/web/chunks/chunk-DZDTNXXK.mjs +0 -2
- package/lib/web/chunks/chunk-FDOZ6YSS.mjs +0 -2
- package/lib/web/chunks/chunk-FMEWNGQO.mjs +0 -2
- package/lib/web/chunks/chunk-G4DH7GMT.mjs +0 -2
- package/lib/web/chunks/chunk-GBUZCZE4.mjs +0 -2
- package/lib/web/chunks/chunk-GLMS5ZLJ.mjs +0 -445
- package/lib/web/chunks/chunk-GNGMIA7V.mjs +0 -2
- package/lib/web/chunks/chunk-HJ36IONA.mjs +0 -15
- package/lib/web/chunks/chunk-HXPTZMAZ.mjs +0 -2
- package/lib/web/chunks/chunk-I27M4JCS.mjs +0 -2
- package/lib/web/chunks/chunk-IVCT27JB.mjs +0 -2
- package/lib/web/chunks/chunk-JG4QSK5B.mjs +0 -2
- package/lib/web/chunks/chunk-JR7BJW6B.mjs +0 -389
- package/lib/web/chunks/chunk-K46ZJUXJ.mjs +0 -90
- package/lib/web/chunks/chunk-K4LXMO4D.mjs +0 -2
- package/lib/web/chunks/chunk-KBTYK5YE.mjs +0 -662
- package/lib/web/chunks/chunk-KHP6CSSM.mjs +0 -2
- package/lib/web/chunks/chunk-KRDRIW7T.mjs +0 -14
- package/lib/web/chunks/chunk-L2DTKDER.mjs +0 -2
- package/lib/web/chunks/chunk-LFDFDGHY.mjs +0 -655
- package/lib/web/chunks/chunk-MAIUUK4E.mjs +0 -2
- package/lib/web/chunks/chunk-MKJKS3IG.mjs +0 -275
- package/lib/web/chunks/chunk-MRQKVLXG.mjs +0 -2
- package/lib/web/chunks/chunk-NK3OISOL.mjs +0 -14
- package/lib/web/chunks/chunk-NLJDDIXW.mjs +0 -2
- package/lib/web/chunks/chunk-OENR3XFI.mjs +0 -11
- package/lib/web/chunks/chunk-OZB3VKZE.mjs +0 -2
- package/lib/web/chunks/chunk-P64PFJT3.mjs +0 -17618
- package/lib/web/chunks/chunk-PACPGYH7.mjs +0 -2
- package/lib/web/chunks/chunk-PART6HOE.mjs +0 -14
- package/lib/web/chunks/chunk-PMRXUQRH.mjs +0 -2
- package/lib/web/chunks/chunk-PZ45TQ55.mjs +0 -14
- package/lib/web/chunks/chunk-Q5LN7GET.mjs +0 -17624
- package/lib/web/chunks/chunk-QCD6T6L4.mjs +0 -297
- package/lib/web/chunks/chunk-QD5EUANU.mjs +0 -2
- package/lib/web/chunks/chunk-QJTECJCO.mjs +0 -2
- package/lib/web/chunks/chunk-QPIZURPZ.mjs +0 -2
- package/lib/web/chunks/chunk-QPY45R5F.mjs +0 -274
- package/lib/web/chunks/chunk-R2SGZIG5.mjs +0 -2
- package/lib/web/chunks/chunk-S3GYQYVJ.mjs +0 -16
- package/lib/web/chunks/chunk-SCCXVTDM.mjs +0 -2
- package/lib/web/chunks/chunk-SHJHD646.mjs +0 -2
- package/lib/web/chunks/chunk-TCRVZ55E.mjs +0 -2
- package/lib/web/chunks/chunk-TJ6ZVV2L.mjs +0 -15
- package/lib/web/chunks/chunk-TPSY4RC3.mjs +0 -14
- package/lib/web/chunks/chunk-U5KNX5O6.mjs +0 -17624
- package/lib/web/chunks/chunk-UCKELQSM.mjs +0 -2
- package/lib/web/chunks/chunk-UGGCYHRH.mjs +0 -15
- package/lib/web/chunks/chunk-UNYQJZET.mjs +0 -16
- package/lib/web/chunks/chunk-VE72SWLV.mjs +0 -15
- package/lib/web/chunks/chunk-VKONO6MI.mjs +0 -2
- package/lib/web/chunks/chunk-W4BGMPJO.mjs +0 -2
- package/lib/web/chunks/chunk-WHNEEKLR.mjs +0 -2
- package/lib/web/chunks/chunk-WLGUP3KY.mjs +0 -16
- package/lib/web/chunks/chunk-WY7D4WBZ.mjs +0 -2
- package/lib/web/chunks/chunk-XRNB2MHO.mjs +0 -107
- package/lib/web/chunks/chunk-XXTIAXQY.mjs +0 -2
- package/lib/web/chunks/chunk-YG6DIKQD.mjs +0 -2
- package/lib/web/chunks/chunk-YIZFMU66.mjs +0 -2
- package/lib/web/chunks/chunk-YOGAPOGC.mjs +0 -2
- package/lib/web/chunks/chunk-Z7373DS5.mjs +0 -2
- package/lib/web/chunks/chunk-Z76GRN66.mjs +0 -17627
- package/lib/web/chunks/persistentStorage.web-4FBAOYJ4.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-7W3Y6Q24.mjs +0 -12
- package/lib/web/chunks/persistentStorage.web-GOWNFMVT.mjs +0 -2
- package/lib/web/chunks/persistentStorage.web-RF47FXIK.mjs +0 -12
- package/scripts/generate-wormhole-textures.cjs +0 -261
- package/scripts/test-wormhole-motion.cjs +0 -59
|
@@ -1,33 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState, useEffect } from "react";
|
|
4
|
-
import { formatRelativeTime } from "./formatRelativeTime.js";
|
|
5
|
-
import { useTick } from "./TickContext.js";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Hook that returns a live-updating relative time string (e.g., "5s ago", "2m ago").
|
|
9
|
-
*
|
|
10
|
-
* When inside a `<TickProvider>`, uses the shared tick — no per-item timer.
|
|
11
|
-
* When used standalone (no provider), falls back to its own interval.
|
|
12
|
-
*
|
|
13
|
-
* @param timestamp - The timestamp to format (Date, number in ms, or nullish)
|
|
14
|
-
* @returns Formatted relative time string, or empty string if no timestamp
|
|
15
|
-
*/
|
|
16
|
-
export function useRelativeTime(timestamp) {
|
|
17
|
-
const contextTick = useTick();
|
|
18
|
-
const hasProvider = contextTick !== null;
|
|
19
|
-
const [fallbackNow, setFallbackNow] = useState(() => Date.now());
|
|
20
|
-
const timestampMs = timestamp ? timestamp instanceof Date ? timestamp.getTime() : timestamp : 0;
|
|
21
|
-
|
|
22
|
-
// Only run a per-item interval when there's no TickProvider
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
if (hasProvider || !timestampMs) return;
|
|
25
|
-
const id = setInterval(() => {
|
|
26
|
-
setFallbackNow(Date.now());
|
|
27
|
-
}, 5_000);
|
|
28
|
-
return () => clearInterval(id);
|
|
29
|
-
}, [hasProvider, timestampMs]);
|
|
30
|
-
if (!timestampMs) return "";
|
|
31
|
-
const now = hasProvider ? contextTick : fallbackNow;
|
|
32
|
-
return formatRelativeTime(timestampMs, now);
|
|
33
|
-
}
|
|
1
|
+
"use strict";import{useState as a,useEffect as f}from"react";import{formatRelativeTime as l}from"./formatRelativeTime.js";import{useTick as u}from"./TickContext.js";export function useRelativeTime(t){const r=u();const o=r!==null;const[n,c]=a(()=>Date.now());const e=t?t instanceof Date?t.getTime():t:0;f(()=>{if(o||!e)return;const s=setInterval(()=>{c(Date.now())},5e3);return()=>clearInterval(s)},[o,e]);if(!e)return"";const i=o?r:n;return l(e,i)}
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const modules = new Map();
|
|
4
|
-
let version = 0;
|
|
5
|
-
export function registerToolModules(input) {
|
|
6
|
-
for (const [id, module] of Object.entries(input)) {
|
|
7
|
-
const name = id.startsWith('@buoy-gg/') ? id.replace(/\/web$/, '') : `@buoy-gg/${id}`;
|
|
8
|
-
if (modules.get(name) !== module) {
|
|
9
|
-
modules.set(name, module);
|
|
10
|
-
version++;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export function getRegisteredToolModule(name) {
|
|
15
|
-
return modules.get(name) ?? null;
|
|
16
|
-
}
|
|
17
|
-
export function getToolModuleVersion() {
|
|
18
|
-
return version;
|
|
19
|
-
}
|
|
1
|
+
"use strict";const t=new Map;let s=0;export function registerToolModules(e){for(const[o,n]of Object.entries(e)){const r=o.startsWith("@buoy-gg/")?o.replace(/\/web$/,""):`@buoy-gg/${o}`;if(t.get(r)!==n){t.set(r,n);s++}}}export function getRegisteredToolModule(e){return t.get(e)??null}export function getToolModuleVersion(){return s}
|
|
@@ -1,130 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type detection and validation utilities
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Detects the type of a value with more granular type checking
|
|
9
|
-
* @param value - The value to check
|
|
10
|
-
* @returns A string representing the specific type
|
|
11
|
-
*/
|
|
12
|
-
export const getValueType = value => {
|
|
13
|
-
if (value === null) return "null";
|
|
14
|
-
if (value === undefined) return "undefined";
|
|
15
|
-
if (Array.isArray(value)) return "array";
|
|
16
|
-
const type = typeof value;
|
|
17
|
-
if (type === "object") {
|
|
18
|
-
// Check for specific object types
|
|
19
|
-
if (value instanceof Date) return "date";
|
|
20
|
-
if (value instanceof RegExp) return "regexp";
|
|
21
|
-
if (value instanceof Map) return "map";
|
|
22
|
-
if (value instanceof Set) return "set";
|
|
23
|
-
if (value instanceof Error) return "error";
|
|
24
|
-
return "object";
|
|
25
|
-
}
|
|
26
|
-
return type;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Checks if a value is a primitive type
|
|
31
|
-
* @param value - The value to check
|
|
32
|
-
* @returns True if the value is primitive
|
|
33
|
-
*/
|
|
34
|
-
export const isPrimitive = value => {
|
|
35
|
-
const type = typeof value;
|
|
36
|
-
return value === null || value === undefined || type === "string" || type === "number" || type === "boolean" || type === "bigint" || type === "symbol";
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Checks if a value is a valid JSON serializable value
|
|
41
|
-
* @param value - The value to check
|
|
42
|
-
* @returns True if the value can be JSON serialized
|
|
43
|
-
*/
|
|
44
|
-
export const isJsonSerializable = value => {
|
|
45
|
-
try {
|
|
46
|
-
JSON.stringify(value);
|
|
47
|
-
return true;
|
|
48
|
-
} catch {
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Checks if a string represents a valid JSON value
|
|
55
|
-
* @param str - The string to test
|
|
56
|
-
* @returns True if the string is valid JSON
|
|
57
|
-
*/
|
|
58
|
-
export const isValidJson = str => {
|
|
59
|
-
try {
|
|
60
|
-
JSON.parse(str);
|
|
61
|
-
return true;
|
|
62
|
-
} catch {
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Safely gets the constructor name of a value
|
|
69
|
-
* @param value - The value to check
|
|
70
|
-
* @returns The constructor name or type string
|
|
71
|
-
*/
|
|
72
|
-
export const getConstructorName = value => {
|
|
73
|
-
if (value === null) return "null";
|
|
74
|
-
if (value === undefined) return "undefined";
|
|
75
|
-
try {
|
|
76
|
-
return value.constructor?.name || typeof value;
|
|
77
|
-
} catch {
|
|
78
|
-
return typeof value;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Checks if a value is an empty object or array
|
|
84
|
-
* @param value - The value to check
|
|
85
|
-
* @returns True if the value is empty
|
|
86
|
-
*/
|
|
87
|
-
export const isEmpty = value => {
|
|
88
|
-
if (value === null || value === undefined) return true;
|
|
89
|
-
if (typeof value === "string") return value.length === 0;
|
|
90
|
-
if (Array.isArray(value)) return value.length === 0;
|
|
91
|
-
if (typeof value === "object") return Object.keys(value).length === 0;
|
|
92
|
-
return false;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Gets a human-readable size description for objects and arrays
|
|
97
|
-
* @param value - The value to get size for
|
|
98
|
-
* @returns A human-readable size string
|
|
99
|
-
*/
|
|
100
|
-
export const getValueSize = value => {
|
|
101
|
-
if (Array.isArray(value)) {
|
|
102
|
-
const count = value.length;
|
|
103
|
-
if (count === 0) return "empty array";
|
|
104
|
-
if (count === 1) return "1 item";
|
|
105
|
-
return `${count} items`;
|
|
106
|
-
}
|
|
107
|
-
if (value && typeof value === "object") {
|
|
108
|
-
const keys = Object.keys(value);
|
|
109
|
-
const count = keys.length;
|
|
110
|
-
if (count === 0) return "empty object";
|
|
111
|
-
if (count === 1) return "1 key";
|
|
112
|
-
return `${count} keys`;
|
|
113
|
-
}
|
|
114
|
-
if (typeof value === "string") {
|
|
115
|
-
const length = value.length;
|
|
116
|
-
if (length === 0) return "empty string";
|
|
117
|
-
if (length === 1) return "1 character";
|
|
118
|
-
return `${length} characters`;
|
|
119
|
-
}
|
|
120
|
-
return "";
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Type guard to check if a value is an object (not null, not array)
|
|
125
|
-
* @param value - The value to check
|
|
126
|
-
* @returns True if value is a plain object
|
|
127
|
-
*/
|
|
128
|
-
export const isPlainObject = value => {
|
|
129
|
-
return typeof value === "object" && value !== null && !Array.isArray(value) && value.constructor === Object;
|
|
130
|
-
};
|
|
1
|
+
"use strict";export const getValueType=r=>{if(r===null)return"null";if(r===void 0)return"undefined";if(Array.isArray(r))return"array";const t=typeof r;if(t==="object"){if(r instanceof Date)return"date";if(r instanceof RegExp)return"regexp";if(r instanceof Map)return"map";if(r instanceof Set)return"set";if(r instanceof Error)return"error";return"object"}return t};export const isPrimitive=r=>{const t=typeof r;return r===null||r===void 0||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"};export const isJsonSerializable=r=>{try{JSON.stringify(r);return true}catch{return false}};export const isValidJson=r=>{try{JSON.parse(r);return true}catch{return false}};export const getConstructorName=r=>{if(r===null)return"null";if(r===void 0)return"undefined";try{return r.constructor?.name||typeof r}catch{return typeof r}};export const isEmpty=r=>{if(r===null||r===void 0)return true;if(typeof r==="string")return r.length===0;if(Array.isArray(r))return r.length===0;if(typeof r==="object")return Object.keys(r).length===0;return false};export const getValueSize=r=>{if(Array.isArray(r)){const t=r.length;if(t===0)return"empty array";if(t===1)return"1 item";return`${t} items`}if(r&&typeof r==="object"){const t=Object.keys(r);const n=t.length;if(n===0)return"empty object";if(n===1)return"1 key";return`${n} keys`}if(typeof r==="string"){const t=r.length;if(t===0)return"empty string";if(t===1)return"1 character";return`${t} characters`}return""};export const isPlainObject=r=>{return typeof r==="object"&&r!==null&&!Array.isArray(r)&&r.constructor===Object};
|
|
@@ -1,131 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { gameUIColors } from "../ui/gameUI/index.js";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Safely parses a value that might be a JSON string
|
|
7
|
-
* @param value - The value to parse
|
|
8
|
-
* @returns The parsed value or original value if parsing fails
|
|
9
|
-
*/
|
|
10
|
-
export const parseValue = value => {
|
|
11
|
-
if (value === null || value === undefined) return value;
|
|
12
|
-
if (typeof value === "string") {
|
|
13
|
-
try {
|
|
14
|
-
return JSON.parse(value);
|
|
15
|
-
} catch {
|
|
16
|
-
return value;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return value;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Formats a value for display with appropriate type representation
|
|
24
|
-
* @param value - The value to format
|
|
25
|
-
* @returns A string representation of the value
|
|
26
|
-
*/
|
|
27
|
-
export const formatValue = value => {
|
|
28
|
-
if (value === null) return "null";
|
|
29
|
-
if (value === undefined) return "undefined";
|
|
30
|
-
if (typeof value === "string") return `"${value}"`;
|
|
31
|
-
if (typeof value === "boolean") return value ? "true" : "false";
|
|
32
|
-
if (typeof value === "number") return String(value);
|
|
33
|
-
if (typeof value === "function") return `[Function: ${value.name || "anonymous"}]`;
|
|
34
|
-
if (typeof value === "object") {
|
|
35
|
-
if (Array.isArray(value)) {
|
|
36
|
-
return `[Array: ${value.length} items]`;
|
|
37
|
-
}
|
|
38
|
-
return `{Object: ${Object.keys(value).length} keys}`;
|
|
39
|
-
}
|
|
40
|
-
return String(value);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Gets the color for a value based on its type
|
|
45
|
-
* @param value - The value to get color for
|
|
46
|
-
* @returns The color string for the value type
|
|
47
|
-
*/
|
|
48
|
-
export const getTypeColor = value => {
|
|
49
|
-
if (value === null) return gameUIColors.dataTypes.null;
|
|
50
|
-
if (value === undefined) return gameUIColors.dataTypes.undefined;
|
|
51
|
-
const type = typeof value;
|
|
52
|
-
switch (type) {
|
|
53
|
-
case "string":
|
|
54
|
-
return gameUIColors.dataTypes.string;
|
|
55
|
-
case "number":
|
|
56
|
-
return gameUIColors.dataTypes.number;
|
|
57
|
-
case "boolean":
|
|
58
|
-
return gameUIColors.dataTypes.boolean;
|
|
59
|
-
case "function":
|
|
60
|
-
return gameUIColors.dataTypes.function;
|
|
61
|
-
case "object":
|
|
62
|
-
return Array.isArray(value) ? gameUIColors.dataTypes.array : gameUIColors.dataTypes.object;
|
|
63
|
-
default:
|
|
64
|
-
return gameUIColors.primary;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Truncates text to a specified length with ellipsis
|
|
70
|
-
* @param text - The text to truncate
|
|
71
|
-
* @param maxLength - Maximum length before truncation
|
|
72
|
-
* @returns Truncated text with ellipsis if needed
|
|
73
|
-
*/
|
|
74
|
-
export const truncateText = (text, maxLength) => {
|
|
75
|
-
if (text.length <= maxLength) return text;
|
|
76
|
-
return text.slice(0, maxLength - 3) + "...";
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Flattens a nested object into a flat structure with dot notation paths
|
|
81
|
-
* @param obj - The object to flatten
|
|
82
|
-
* @param prefix - The prefix for the current level
|
|
83
|
-
* @returns A flat object with dot notation keys
|
|
84
|
-
*/
|
|
85
|
-
export const flattenObject = (obj, prefix = "") => {
|
|
86
|
-
const flattened = {};
|
|
87
|
-
if (obj === null || obj === undefined) {
|
|
88
|
-
return flattened;
|
|
89
|
-
}
|
|
90
|
-
if (typeof obj !== "object") {
|
|
91
|
-
flattened[prefix || "root"] = obj;
|
|
92
|
-
return flattened;
|
|
93
|
-
}
|
|
94
|
-
if (Array.isArray(obj)) {
|
|
95
|
-
obj.forEach((item, index) => {
|
|
96
|
-
const path = prefix ? `${prefix}[${index}]` : `[${index}]`;
|
|
97
|
-
if (typeof item === "object" && item !== null) {
|
|
98
|
-
Object.assign(flattened, flattenObject(item, path));
|
|
99
|
-
} else {
|
|
100
|
-
flattened[path] = item;
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
} else {
|
|
104
|
-
Object.keys(obj).forEach(key => {
|
|
105
|
-
const path = prefix ? `${prefix}.${key}` : key;
|
|
106
|
-
const objValue = obj[key];
|
|
107
|
-
if (typeof objValue === "object" && objValue !== null) {
|
|
108
|
-
Object.assign(flattened, flattenObject(objValue, path));
|
|
109
|
-
} else {
|
|
110
|
-
flattened[path] = objValue;
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
return flattened;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Creates a readable path from an array of segments (for diff viewers)
|
|
119
|
-
* @param pathSegments - Array of path segments
|
|
120
|
-
* @returns A readable path string
|
|
121
|
-
*/
|
|
122
|
-
export const formatPath = pathSegments => {
|
|
123
|
-
if (pathSegments.length === 0) return "root";
|
|
124
|
-
return pathSegments.map((segment, index) => {
|
|
125
|
-
if (typeof segment === "number") {
|
|
126
|
-
return `[${segment}]`;
|
|
127
|
-
}
|
|
128
|
-
// First segment doesn't need a dot
|
|
129
|
-
return index === 0 ? segment : `.${segment}`;
|
|
130
|
-
}).join("");
|
|
131
|
-
};
|
|
1
|
+
"use strict";import{gameUIColors as e}from"../ui/gameUI/index.js";export const parseValue=r=>{if(r===null||r===void 0)return r;if(typeof r==="string"){try{return JSON.parse(r)}catch{return r}}return r};export const formatValue=r=>{if(r===null)return"null";if(r===void 0)return"undefined";if(typeof r==="string")return`"${r}"`;if(typeof r==="boolean")return r?"true":"false";if(typeof r==="number")return String(r);if(typeof r==="function")return`[Function: ${r.name||"anonymous"}]`;if(typeof r==="object"){if(Array.isArray(r)){return`[Array: ${r.length} items]`}return`{Object: ${Object.keys(r).length} keys}`}return String(r)};export const getTypeColor=r=>{if(r===null)return e.dataTypes.null;if(r===void 0)return e.dataTypes.undefined;const t=typeof r;switch(t){case"string":return e.dataTypes.string;case"number":return e.dataTypes.number;case"boolean":return e.dataTypes.boolean;case"function":return e.dataTypes.function;case"object":return Array.isArray(r)?e.dataTypes.array:e.dataTypes.object;default:return e.primary}};export const truncateText=(r,t)=>{if(r.length<=t)return r;return r.slice(0,t-3)+"..."};export const flattenObject=(r,t="")=>{const n={};if(r===null||r===void 0){return n}if(typeof r!=="object"){n[t||"root"]=r;return n}if(Array.isArray(r)){r.forEach((o,f)=>{const s=t?`${t}[${f}]`:`[${f}]`;if(typeof o==="object"&&o!==null){Object.assign(n,flattenObject(o,s))}else{n[s]=o}})}else{Object.keys(r).forEach(o=>{const f=t?`${t}.${o}`:o;const s=r[o];if(typeof s==="object"&&s!==null){Object.assign(n,flattenObject(s,f))}else{n[f]=s}})}return n};export const formatPath=r=>{if(r.length===0)return"root";return r.map((t,n)=>{if(typeof t==="number"){return`[${t}]`}return n===0?t:`.${t}`}).join("")};
|
|
@@ -24,4 +24,5 @@ export { ActivityGlyph as Activity, AlertCircleGlyph as AlertCircle, AlertTriang
|
|
|
24
24
|
export { SentryIcon, EventsIcon, RoutesIcon, RoutePinIcon, RoutePathIcon, RouteDotIcon, RouteTwoPinsIcon, CameraIcon, HighlightIcon, ReduxIcon, StorageIcon, AskBuoyIcon, HighlighterIcon, QueryIcon, ScenariosIcon } from "@buoy-gg/floating-tools-core";
|
|
25
25
|
export { WifiIcon as WifiBifIcon, BenchmarkIcon, BENCHMARK_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
26
26
|
export { NotificationsIcon, NOTIFICATIONS_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
27
|
+
export { ClockToolIcon, CLOCK_TOOL_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ export * from "./sync/toolSyncAdapter";
|
|
|
10
10
|
export * from "./tools/defineTool";
|
|
11
11
|
export * from "./sync/toolActionRegistry";
|
|
12
12
|
export * from "./sync/toolUiBridge";
|
|
13
|
-
export { absoluteFill, displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, superJsonSerialize, superJsonDeserialize, type SuperJSONResult, reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, getDevServerOrigin, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, } from "./utils";
|
|
13
|
+
export { absoluteFill, displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, superJsonSerialize, superJsonDeserialize, type SuperJSONResult, realNow, reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, getDevServerOrigin, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, } from "./utils";
|
|
14
14
|
export type { SafeRouteLocation } from "./utils";
|
|
15
15
|
export * from "./utils/toolModules";
|
|
16
16
|
export { registerBrowserRouter, browserRouter, subscribeBrowserNavigation } from "./utils/browserNavigation";
|
|
@@ -114,6 +114,14 @@ export declare const devToolsStorageKeys: {
|
|
|
114
114
|
readonly isMonitoring: () => "@react_buoy_storage_is_monitoring";
|
|
115
115
|
readonly diffViewerMode: () => "@react_buoy_storage_diff_viewer_mode";
|
|
116
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* Clock override storage keys. `state` holds the saved override plus the
|
|
119
|
+
* tool's settings as one JSON blob, so it can be read synchronously at boot.
|
|
120
|
+
*/
|
|
121
|
+
readonly clock: {
|
|
122
|
+
readonly root: () => "@react_buoy_clock";
|
|
123
|
+
readonly state: () => "@react_buoy_clock_state";
|
|
124
|
+
};
|
|
117
125
|
/**
|
|
118
126
|
* Time Machine storage keys. NOTE: the snapshot VAULT keys
|
|
119
127
|
* (`@react_buoy_time_machine:index` / `:snap:*`) predate this namespace and
|
|
@@ -58,10 +58,12 @@ export declare function NightRows({ children, inset, }: {
|
|
|
58
58
|
* The Everlights 56×32 switch. The thumb slides on the native driver; the
|
|
59
59
|
* colors snap with the state change, which reads fine at this size.
|
|
60
60
|
*/
|
|
61
|
-
export declare function NightSwitch({ value, onValueChange, disabled, }: {
|
|
61
|
+
export declare function NightSwitch({ value, onValueChange, disabled, testID, accessibilityLabel, }: {
|
|
62
62
|
value: boolean;
|
|
63
63
|
onValueChange: (next: boolean) => void;
|
|
64
64
|
disabled?: boolean;
|
|
65
|
+
testID?: string;
|
|
66
|
+
accessibilityLabel?: string;
|
|
65
67
|
}): import("react").JSX.Element;
|
|
66
68
|
/**
|
|
67
69
|
* Zone-style pill chip. The fill never changes — selection is signaled by the
|
|
@@ -82,7 +84,7 @@ export type NightButtonVariant = "primary" | "secondary" | "tertiary" | "destruc
|
|
|
82
84
|
* every other variant sits on the `#1C1C1C` plate and differs only in label
|
|
83
85
|
* color. `lg` is the fully-rounded 50pt CTA.
|
|
84
86
|
*/
|
|
85
|
-
export declare function NightButton({ label, onPress, variant, size, icon, disabled, fullWidth, }: {
|
|
87
|
+
export declare function NightButton({ label, onPress, variant, size, icon, disabled, fullWidth, testID, accessibilityLabel, }: {
|
|
86
88
|
label: string;
|
|
87
89
|
onPress: () => void;
|
|
88
90
|
variant?: NightButtonVariant;
|
|
@@ -90,6 +92,8 @@ export declare function NightButton({ label, onPress, variant, size, icon, disab
|
|
|
90
92
|
icon?: ReactNode;
|
|
91
93
|
disabled?: boolean;
|
|
92
94
|
fullWidth?: boolean;
|
|
95
|
+
testID?: string;
|
|
96
|
+
accessibilityLabel?: string;
|
|
93
97
|
}): import("react").JSX.Element;
|
|
94
98
|
export interface NightTab {
|
|
95
99
|
key: string;
|
|
@@ -103,11 +107,13 @@ export interface NightTab {
|
|
|
103
107
|
* and the network tool both mount this one. `size="sm"` is the compact
|
|
104
108
|
* variant for in-tool headers where the full-height control reads too tall.
|
|
105
109
|
*/
|
|
106
|
-
export declare function NightSegmented({ tabs, activeKey, onChange, size, glass, }: {
|
|
110
|
+
export declare function NightSegmented({ tabs, activeKey, onChange, size, glass, testIDPrefix, }: {
|
|
107
111
|
tabs: NightTab[];
|
|
108
112
|
activeKey: string;
|
|
109
113
|
onChange: (key: string) => void;
|
|
110
114
|
size?: "md" | "sm";
|
|
115
|
+
/** Each tab gets `${testIDPrefix}-${tab.key}`. */
|
|
116
|
+
testIDPrefix?: string;
|
|
111
117
|
/** Glass track and thumb, to match `NightCard glass` on the same sheet. */
|
|
112
118
|
glass?: boolean;
|
|
113
119
|
}): import("react").JSX.Element;
|
|
@@ -11,6 +11,7 @@ export { registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnaps
|
|
|
11
11
|
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, 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
|
+
export { realNow } from "./realNow";
|
|
14
15
|
export { Subscribable, type SubscribableListener } from "./subscribable";
|
|
15
16
|
export { subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./subscriberCountNotifier";
|
|
16
17
|
export { useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, type SafeRouteLocation, } from "./safeExpoRouter";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The device's real clock.
|
|
3
|
+
*
|
|
4
|
+
* @buoy-gg/clock can override the APP's clock (Date.now, new Date). Buoy's
|
|
5
|
+
* own bookkeeping must keep real time regardless: license expiry, sync
|
|
6
|
+
* throttles and request deadlines would otherwise lock tools or stall when
|
|
7
|
+
* someone travels a month ahead. The clock package publishes the real clock
|
|
8
|
+
* on `globalThis.__buoyRealNow`; without it, Date.now is already real.
|
|
9
|
+
*/
|
|
10
|
+
export declare function realNow(): number;
|
|
11
|
+
//# sourceMappingURL=realNow.d.ts.map
|
|
@@ -24,4 +24,5 @@ export { ActivityGlyph as Activity, AlertCircleGlyph as AlertCircle, AlertTriang
|
|
|
24
24
|
export { SentryIcon, EventsIcon, RoutesIcon, RoutePinIcon, RoutePathIcon, RouteDotIcon, RouteTwoPinsIcon, CameraIcon, HighlightIcon, ReduxIcon, StorageIcon, AskBuoyIcon, HighlighterIcon, QueryIcon, ScenariosIcon } from "@buoy-gg/floating-tools-core";
|
|
25
25
|
export { WifiIcon as WifiBifIcon, BenchmarkIcon, BENCHMARK_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
26
26
|
export { NotificationsIcon, NOTIFICATIONS_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
27
|
+
export { ClockToolIcon, CLOCK_TOOL_ICON_COLOR } from "@buoy-gg/floating-tools-core";
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ export * from "./sync/toolSyncAdapter";
|
|
|
10
10
|
export * from "./tools/defineTool";
|
|
11
11
|
export * from "./sync/toolActionRegistry";
|
|
12
12
|
export * from "./sync/toolUiBridge";
|
|
13
|
-
export { absoluteFill, displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, superJsonSerialize, superJsonDeserialize, type SuperJSONResult, reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, getDevServerOrigin, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, } from "./utils";
|
|
13
|
+
export { absoluteFill, displayValue, parseDisplayValue, getSafeAreaInsets, persistentStorage, isUsingPersistentStorage, getStorageBackendType, safeStringify, getValueType, isPrimitive, isJsonSerializable, isValidJson, getConstructorName, isEmpty, getValueSize, parseValue, formatValue, getTypeColor, truncateText, flattenObject, formatPath, loadOptionalModule, getCachedOptionalModule, setRenderCaptureProvider, getRenderCaptureProvider, type RenderCaptureProvider, type RenderCaptureSummary, type RenderCaptureTopComponent, type RenderCauseCounts, registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnapshotProvider, subscribeToStateSnapshotProviders, type StateSnapshotProvider, type StateSnapshotProviderStatus, type StateSnapshotCapture, type StateSnapshotRestoreResult, type StateSnapshotPreview, type StateSnapshotPreviewItem, type StateSnapshotPreviewVerdict, superJsonSerialize, superJsonDeserialize, type SuperJSONResult, realNow, reloadApp, scheduleReloadApp, resolveReloadStrategy, REMOTE_RELOAD_DELAY_MS, type ReloadStrategy, type ResolvedReloadStrategy, getDevServerOrigin, Subscribable, type SubscribableListener, subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, } from "./utils";
|
|
14
14
|
export type { SafeRouteLocation } from "./utils";
|
|
15
15
|
export * from "./utils/toolModules";
|
|
16
16
|
export { registerBrowserRouter, browserRouter, subscribeBrowserNavigation } from "./utils/browserNavigation";
|
|
@@ -114,6 +114,14 @@ export declare const devToolsStorageKeys: {
|
|
|
114
114
|
readonly isMonitoring: () => "@react_buoy_storage_is_monitoring";
|
|
115
115
|
readonly diffViewerMode: () => "@react_buoy_storage_diff_viewer_mode";
|
|
116
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* Clock override storage keys. `state` holds the saved override plus the
|
|
119
|
+
* tool's settings as one JSON blob, so it can be read synchronously at boot.
|
|
120
|
+
*/
|
|
121
|
+
readonly clock: {
|
|
122
|
+
readonly root: () => "@react_buoy_clock";
|
|
123
|
+
readonly state: () => "@react_buoy_clock_state";
|
|
124
|
+
};
|
|
117
125
|
/**
|
|
118
126
|
* Time Machine storage keys. NOTE: the snapshot VAULT keys
|
|
119
127
|
* (`@react_buoy_time_machine:index` / `:snap:*`) predate this namespace and
|
|
@@ -58,10 +58,12 @@ export declare function NightRows({ children, inset, }: {
|
|
|
58
58
|
* The Everlights 56×32 switch. The thumb slides on the native driver; the
|
|
59
59
|
* colors snap with the state change, which reads fine at this size.
|
|
60
60
|
*/
|
|
61
|
-
export declare function NightSwitch({ value, onValueChange, disabled, }: {
|
|
61
|
+
export declare function NightSwitch({ value, onValueChange, disabled, testID, accessibilityLabel, }: {
|
|
62
62
|
value: boolean;
|
|
63
63
|
onValueChange: (next: boolean) => void;
|
|
64
64
|
disabled?: boolean;
|
|
65
|
+
testID?: string;
|
|
66
|
+
accessibilityLabel?: string;
|
|
65
67
|
}): import("react").JSX.Element;
|
|
66
68
|
/**
|
|
67
69
|
* Zone-style pill chip. The fill never changes — selection is signaled by the
|
|
@@ -82,7 +84,7 @@ export type NightButtonVariant = "primary" | "secondary" | "tertiary" | "destruc
|
|
|
82
84
|
* every other variant sits on the `#1C1C1C` plate and differs only in label
|
|
83
85
|
* color. `lg` is the fully-rounded 50pt CTA.
|
|
84
86
|
*/
|
|
85
|
-
export declare function NightButton({ label, onPress, variant, size, icon, disabled, fullWidth, }: {
|
|
87
|
+
export declare function NightButton({ label, onPress, variant, size, icon, disabled, fullWidth, testID, accessibilityLabel, }: {
|
|
86
88
|
label: string;
|
|
87
89
|
onPress: () => void;
|
|
88
90
|
variant?: NightButtonVariant;
|
|
@@ -90,6 +92,8 @@ export declare function NightButton({ label, onPress, variant, size, icon, disab
|
|
|
90
92
|
icon?: ReactNode;
|
|
91
93
|
disabled?: boolean;
|
|
92
94
|
fullWidth?: boolean;
|
|
95
|
+
testID?: string;
|
|
96
|
+
accessibilityLabel?: string;
|
|
93
97
|
}): import("react").JSX.Element;
|
|
94
98
|
export interface NightTab {
|
|
95
99
|
key: string;
|
|
@@ -103,11 +107,13 @@ export interface NightTab {
|
|
|
103
107
|
* and the network tool both mount this one. `size="sm"` is the compact
|
|
104
108
|
* variant for in-tool headers where the full-height control reads too tall.
|
|
105
109
|
*/
|
|
106
|
-
export declare function NightSegmented({ tabs, activeKey, onChange, size, glass, }: {
|
|
110
|
+
export declare function NightSegmented({ tabs, activeKey, onChange, size, glass, testIDPrefix, }: {
|
|
107
111
|
tabs: NightTab[];
|
|
108
112
|
activeKey: string;
|
|
109
113
|
onChange: (key: string) => void;
|
|
110
114
|
size?: "md" | "sm";
|
|
115
|
+
/** Each tab gets `${testIDPrefix}-${tab.key}`. */
|
|
116
|
+
testIDPrefix?: string;
|
|
111
117
|
/** Glass track and thumb, to match `NightCard glass` on the same sheet. */
|
|
112
118
|
glass?: boolean;
|
|
113
119
|
}): import("react").JSX.Element;
|
|
@@ -11,6 +11,7 @@ export { registerStateSnapshotProvider, getStateSnapshotProviders, getStateSnaps
|
|
|
11
11
|
export { serialize as superJsonSerialize, deserialize as superJsonDeserialize, 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
|
+
export { realNow } from "./realNow";
|
|
14
15
|
export { Subscribable, type SubscribableListener } from "./subscribable";
|
|
15
16
|
export { subscriberCountNotifier, subscribeToSubscriberCountChanges, notifySubscriberCountChange, } from "./subscriberCountNotifier";
|
|
16
17
|
export { useSafeRouter, useSafePathname, useSafeSegments, useSafeGlobalSearchParams, getSafeRouter, getSafeCurrentPathname, getSafeCurrentRoute, isExpoRouterAvailable, type SafeRouteLocation, } from "./safeExpoRouter";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The device's real clock.
|
|
3
|
+
*
|
|
4
|
+
* @buoy-gg/clock can override the APP's clock (Date.now, new Date). Buoy's
|
|
5
|
+
* own bookkeeping must keep real time regardless: license expiry, sync
|
|
6
|
+
* throttles and request deadlines would otherwise lock tools or stall when
|
|
7
|
+
* someone travels a month ahead. The clock package publishes the real clock
|
|
8
|
+
* on `globalThis.__buoyRealNow`; without it, Date.now is already real.
|
|
9
|
+
*/
|
|
10
|
+
export declare function realNow(): number;
|
|
11
|
+
//# sourceMappingURL=realNow.d.ts.map
|
package/lib/web/asyncStorage.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{a,b,c}from"./chunks/chunk-LZ7FZZ7R.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{c as default,a as getBrowserStorage,b as subscribeToBrowserStorage};
|
|
1
|
+
"use client";import{a as r,b as e,c as o}from"./chunks/chunk-LZ7FZZ7R.mjs";import"./chunks/chunk-5NZOQR6Q.mjs";export{o as default,r as getBrowserStorage,e as subscribeToBrowserStorage};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{d as c}from"./chunk-CE5U3CSQ.mjs";import{a as G}from"./chunk-5NZOQR6Q.mjs";var X=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"array";let t=typeof e;return t==="object"?e instanceof Date?"date":e instanceof RegExp?"regexp":e instanceof Map?"map":e instanceof Set?"set":e instanceof Error?"error":"object":t},Y=e=>{let t=typeof e;return e==null||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"},H=e=>{try{return JSON.stringify(e),true}catch{return false}},Q=e=>{try{return JSON.parse(e),true}catch{return false}},Z=e=>{if(e===null)return"null";if(e===void 0)return"undefined";try{return e.constructor?.name||typeof e}catch{return typeof e}},ee=e=>e==null?true:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:false,te=e=>{if(Array.isArray(e)){let t=e.length;return t===0?"empty array":t===1?"1 item":`${t} items`}if(e&&typeof e=="object"){let t=Object.keys(e).length;return t===0?"empty object":t===1?"1 key":`${t} keys`}if(typeof e=="string"){let t=e.length;return t===0?"empty string":t===1?"1 character":`${t} characters`}return""},ne=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object;var re=e=>{if(e==null)return e;if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},ae=e=>e===null?"null":e===void 0?"undefined":typeof e=="string"?`"${e}"`:typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:typeof e=="object"?Array.isArray(e)?`[Array: ${e.length} items]`:`{Object: ${Object.keys(e).length} keys}`:String(e),oe=e=>{if(e===null)return c.dataTypes.null;if(e===void 0)return c.dataTypes.undefined;switch(typeof e){case"string":return c.dataTypes.string;case"number":return c.dataTypes.number;case"boolean":return c.dataTypes.boolean;case"function":return c.dataTypes.function;case"object":return Array.isArray(e)?c.dataTypes.array:c.dataTypes.object;default:return c.primary}},se=(e,t)=>e.length<=t?e:e.slice(0,t-3)+"...",v=(e,t="")=>{let n={};return e==null?n:typeof e!="object"?(n[t||"root"]=e,n):(Array.isArray(e)?e.forEach((r,a)=>{let o=t?`${t}[${a}]`:`[${a}]`;typeof r=="object"&&r!==null?Object.assign(n,v(r,o)):n[o]=r}):Object.keys(e).forEach(r=>{let a=t?`${t}.${r}`:r,o=e[r];typeof o=="object"&&o!==null?Object.assign(n,v(o,a)):n[a]=o}),n)},ie=e=>e.length===0?"root":e.map((t,n)=>typeof t=="number"?`[${t}]`:n===0?t:`.${t}`).join("");var ue={log:()=>{},warn:()=>{},error:(...e)=>{console.error("[optional-module]",...e)}},f=new Map,g=new Map,R=new Set;async function le(e,t={}){if(f.has(e))return f.get(e);let n={...ue,...t.logger??{}};g.has(e)||g.set(e,(async()=>{try{let a=await ce(e,t),o=a?.default??a;return f.set(e,o),n.log("Loaded optional module",e),o}catch(a){return n.log("Optional module unavailable",e,a),f.set(e,null),null}})());let r=await g.get(e);return g.delete(e),!r&&t.warnOnceKey&&!R.has(t.warnOnceKey)&&(R.add(t.warnOnceKey),n.warn(t.warningMessage??`Module '${e}' not found.`)),r}var L=(()=>{try{return new Function("moduleName","return import(moduleName);")}catch{return null}})(),_=(()=>{try{return new Function("return typeof require === 'function' ? require : undefined;")()}catch{return}})();async function ce(e,t){if(t.loader)return await Promise.resolve(t.loader());if(L)return L(e);if(_)return _(e);throw new Error(`No dynamic loader available for optional module '${e}'.`)}function pe(e){return f.has(e)?f.get(e):null}var N="__buoyRenderCaptureProvider";function C(){return globalThis}function de(e){C()[N]=e}function fe(){return C()[N]??null}var y=new Map,E=new Set;function M(){E.forEach(e=>{try{e()}catch{}})}function he(e){return y.set(e.id,e),M(),()=>{y.get(e.id)===e&&(y.delete(e.id),M())}}function ye(){return Array.from(y.values())}function be(e){return y.get(e)??null}function we(e){return E.add(e),()=>{E.delete(e)}}function S(){return null}function $(){return null}function j(){return typeof window>"u"?null:()=>window.location.reload()}function x(e="auto"){return e==="browser"?j()?"browser":null:e==="auto"&&j()?"browser":e==="dev-settings"?S()?"dev-settings":null:e==="expo-updates"?$()?"expo-updates":null:G&&S()?"dev-settings":$()?"expo-updates":null}function D(e){return e==="browser"?"[buoy] Browser reload requires a browser window.":e==="dev-settings"?"[buoy] DevSettings.reload() unavailable \u2014 strategy 'dev-settings' requires React Native dev mode.":e==="expo-updates"?"[buoy] expo-updates not installed \u2014 strategy 'expo-updates' requires the host app to add the dependency.":"[buoy] No reload mechanism available. Run in __DEV__ or install expo-updates."}async function P(e="auto",t="buoy reload"){let n=x(e);if(!n)throw new Error(D(e));return n==="browser"?j()():n==="dev-settings"?S().reload(t):await $().reloadAsync(),await new Promise(()=>{})}var B=250;function ge(e){let t=e?.strategy??"auto",n=x(t);if(!n)throw new Error(D(t));let r=Math.max(0,e?.delayMs??B),a=e?.reason??"buoy remote reload";return setTimeout(()=>{P(n,a).catch(()=>{})},r),{strategy:n,delayMs:r}}function me(){return null}function ve(){let e=globalThis.__buoyRealNow;return typeof e=="function"?e():Date.now()}var Ee=class{constructor(){this.listeners=new Set;this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}getListenerCount(){return this.listeners.size}notify(...e){this.listeners.forEach(t=>{t(...e)})}onSubscribe(){}onUnsubscribe(){}};var Se=class{constructor(){this.listeners=new Set}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}notify(e){this.listeners.forEach(t=>{try{t(e)}catch{}})}},O=new Se,$e=e=>O.subscribe(e),je=e=>O.notify(e);import{useSyncExternalStore as U}from"react";var l,b=new Set,k;function xe(e){return l=e,()=>{l===e&&(l=void 0)}}function d(){return typeof location>"u"?"/":location.href}function W(e=d()){let t=new URL(e,"http://localhost");return t.hash.startsWith("#/")?new URL(t.hash.slice(1),t.origin):t}function V(e){if(!b.size&&typeof window<"u"){let t=window.history,n=t.pushState,r=t.replaceState,a=s=>{for(let p of[...b])try{p({href:d(),kind:s})}catch{}},o=function(...s){let p=Reflect.apply(n,this,s);return a("push"),p},i=function(...s){let p=Reflect.apply(r,this,s);return a("replace"),p};t.pushState=o,t.replaceState=i;let u=()=>a("pop");window.addEventListener("popstate",u),window.addEventListener("hashchange",u),k=()=>{t.pushState===o&&(t.pushState=n),t.replaceState===i&&(t.replaceState=r),window.removeEventListener("popstate",u),window.removeEventListener("hashchange",u),k=void 0}}return b.add(e),()=>{b.delete(e),b.size||k?.()}}function q(e){let t=typeof e=="string"?e:e.pathname,n=new URL(t,d());if(n.origin!==window.location.origin)throw new Error("Tool navigation must stay on the current origin.");if(typeof e!="string")for(let[r,a]of Object.entries(e.params??{}))n.searchParams.set(r,String(a));return`${n.pathname}${n.search}${n.hash}`}var w={push(e){let t=q(e);if(l)return l.push(t);window.history.pushState(null,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},replace(e){let t=q(e);if(l)return l.replace(t);window.history.replaceState(window.history.state,"",window.location.hash.startsWith("#/")?`#${t}`:t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},back(){l?l.back():window.history.back()},canGoBack(){return l?.canGoBack?.()??(typeof window<"u"&&window.history.length>1)},navigate(e){w.push(e)},setParams(e){w.replace({pathname:d(),params:e})},dismiss(e=1){window.history.go(-e)},dismissAll(){throw new Error("Use the captured browser history to select a destination.")}};var F=e=>V(e),m=W;function Oe(){return w}function I(){return U(F,d,()=>"/"),m().pathname}function ke(){return I().split("/").filter(Boolean)}function Te(){return U(F,d,()=>"/"),Object.fromEntries(m().searchParams)}function Ae(){return typeof window>"u"?null:w}function Re(){return m().pathname}function Le(){let e=m();return{pathname:e.pathname,href:`${e.pathname}${e.search}${e.hash}`,segments:e.pathname.split("/").filter(Boolean)}}function _e(){return false}var z=new WeakMap,Ne=1;function h(e){return!!e&&typeof e=="object"&&e.nodeType===1&&typeof e.getBoundingClientRect=="function"}function T(e){if(!h(e))return null;let t=z.get(e);return t===void 0&&(t=Ne++,z.set(e,t)),t}function Ce(e){if(!h(e))return null;let t=Object.keys(e).find(n=>n.startsWith("__reactFiber$"));return t?e[t]:null}function Me(e,t){if(!h(e)||!t)return t;let n=e,r=e.tagName.toLowerCase(),a=r==="input"&&(n.type==="checkbox"||n.type==="radio"),o=r==="input"&&n.type==="range",i=r==="textarea"||r==="select"||r==="input"&&!a&&!o&&!["button","submit","reset","file","hidden"].includes(n.type),u=s=>{if(a){n.checked!==!!s&&n.click();return}let p=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),"value")?.set;p?p.call(n,String(s)):n.value=String(s),n.dispatchEvent(new Event("input",{bubbles:true})),n.dispatchEvent(new Event("change",{bubbles:true}))};return{...t,__buoyDevToolsRoot:t.__buoyDevToolsRoot||t["data-buoy-root"]!==void 0,testID:t.testID??t["data-testid"],nativeID:t.nativeID??t.id,accessibilityLabel:t.accessibilityLabel??t["aria-label"],accessibilityRole:t.accessibilityRole??t.role??(r==="button"?"button":r==="a"?"link":a?n.type:i?"textbox":o?"slider":void 0),onPress:t.onPress??(typeof t.onClick=="function"||r==="button"||r==="a"?()=>n.click():void 0),...a||o?{onValueChange:u,value:a?n.checked:Number(n.value),...o?{minimumValue:Number(n.min||0),maximumValue:Number(n.max||100)}:{}}:{},...i?{onChangeText:u,value:n.value}:{}}}function De(e){return h(e)?{__nativeTag:T(e),measure(t){let n=e.getBoundingClientRect();t(n.x,n.y,n.width,n.height,n.x,n.y)},measureInWindow(t){let n=e.getBoundingClientRect();t(n.x,n.y,n.width,n.height)},requestTVFocus(){e.focus()},focus(){e.focus()}}:null}var Pe={topFocus:"focus",topBlur:"blur",topTouchStart:"pointerdown",topTouchMove:"pointermove",topTouchEnd:"pointerup",topTouchCancel:"pointercancel",topChange:"input",topValueChange:"input",topSlidingComplete:"change"};function Be(){return typeof document>"u"?{emitter:null,reason:"DOM events are unavailable during server rendering."}:{reason:null,emitter:{addListener(e,t){let n=Pe[e];if(!n)throw new Error(`Unsupported DOM event: ${e}`);let r=a=>{let o=a.composedPath()[0]??a.target;if(!h(o))return;let i=o,u=a,s={target:T(o),pageX:u.clientX,pageY:u.clientY};(n==="input"||n==="change")&&(i.type==="checkbox"||i.type==="radio"?s.value=i.checked:i.type==="range"?s.value=Number(i.value):s.text=i.value??o.textContent??""),t({eventName:e,nativeEvent:s})};return document.addEventListener(n,r,true),{remove:()=>document.removeEventListener(n,r,true)}}}}}var A=new Map,J=0;function Ue(e){for(let[t,n]of Object.entries(e)){let r=t.startsWith("@buoy-gg/")?t.replace(/\/web$/,""):`@buoy-gg/${t}`;A.get(r)!==n&&(A.set(r,n),J++)}}function K(e){return A.get(e)??null}function We(){return J}function Ve(e){let t=K(e);if(!t)throw new Error(`Register ${e} with createWebTools before opening tools that use it.`);return t}export{Ee as a,O as b,$e as c,je as d,X as e,Y as f,H as g,Q as h,Z as i,ee as j,te as k,ne as l,ve as m,re as n,ae as o,oe as p,se as q,v as r,ie as s,le as t,pe as u,de as v,fe as w,he as x,ye as y,be as z,we as A,x as B,P as C,B as D,ge as E,me as F,xe as G,d as H,W as I,V as J,w as K,Oe as L,I as M,ke as N,Te as O,Ae as P,Re as Q,Le as R,_e as S,h as T,T as U,Ce as V,Me as W,De as X,Be as Y,Ue as Z,K as _,We as $,Ve as aa};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
export*from"react-native-web";import{unstable_createElement as P,NativeModules as H,AccessibilityInfo as L,Animated as R,Appearance as D,AppRegistry as F,AppState as $,BackHandler as K,Clipboard as j,Dimensions as z,Easing as U,I18nManager as Y,Keyboard as _,InteractionManager as q,LayoutAnimation as G,Linking as J,NativeEventEmitter as Q,PanResponder as X,PixelRatio as Z,Platform as ee,Share as te,StyleSheet as ne,UIManager as ae,Vibration as oe,CheckBox as ie,FlatList as re,Image as se,ImageBackground as ce,KeyboardAvoidingView as de,Picker as le,ProgressBar as pe,RefreshControl as be,SafeAreaView as ue,SectionList as xe,StatusBar as fe,Touchable as ye,TouchableNativeFeedback as ve,VirtualizedList as he,YellowBox as me,LogBox as ge,DeviceEventEmitter as we,useColorScheme as We,useLocaleContext as Te,useWindowDimensions as Ae}from"react-native-web";import*as e from"react-native-web";import{createElement as u,forwardRef as x}from"react";function a(i){let s=x((b,t)=>{let{accessibilityState:c,accessibilityValue:d,...r}=b;for(let o of["busy","checked","disabled","expanded","selected"])c?.[o]!==void 0&&r[`aria-${o}`]===void 0&&(r[`aria-${o}`]=c[o]);for(let[o,n]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))d?.[o]!==void 0&&r[`aria-${n}`]===void 0&&(r[`aria-${n}`]=d[o]);return u(i,{...r,ref:t})}),l=i.State;return l&&Object.assign(s,{State:l}),s.displayName=i.displayName??i.name??"NativeWebView",s}var v=a(e.View),h=a(e.Text),m=a(e.TextInput),g=a(e.TouchableOpacity),w=a(e.TouchableHighlight),W=a(e.TouchableWithoutFeedback),T=a(e.Pressable),A=a(e.ScrollView),k=a(e.Modal),S=a(e.Switch),C=a(e.ActivityIndicator),E=a(e.Button),B=e.findNodeHandle,I={alert(i,s,l,b){if(typeof document>"u")return;let t=document.createElement("dialog");t.dataset.buoyRoot="",t.setAttribute("aria-label",i),t.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 c=document.createElement("h2");if(c.textContent=i,c.style.cssText="font-size:18px;margin:0 0 12px",t.appendChild(c),s){let n=document.createElement("p");n.textContent=s,n.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",t.appendChild(n)}let d=document.createElement("div");d.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let r=l?.length?l:[{text:"OK"}],o=()=>{t.close?.(),t.remove()};for(let n of r){let p=document.createElement("button");p.type="button",p.textContent=n.text??"OK",p.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${n.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,p.onclick=()=>{o(),n.onPress?.()},d.appendChild(p)}t.addEventListener("cancel",n=>{n.preventDefault(),b?.cancelable!==!1&&(o(),b?.onDismiss?.())}),t.appendChild(d),document.body.appendChild(t),t.showModal?t.showModal():t.setAttribute("open","")}};export{v as a,h as b,m as c,g as d,w as e,W as f,T as g,A as h,k as i,S as j,C as k,E as l,B as m,I as n,P as o,H as p,L as q,R as r,D as s,F as t,$ as u,K as v,j as w,z as x,U as y,Y as z,_ as A,q as B,G as C,J as D,Q as E,X as F,Z as G,ee as H,te as I,ne as J,ae as K,oe as L,ie as M,re as N,se as O,ce as P,de as Q,le as R,pe as S,be as T,ue as U,xe as V,fe as W,ye as X,ve as Y,he as Z,me as _,ge as $,we as aa,We as ba,Te as ca,Ae as da};
|
|
1
|
+
"use client";export*from"react-native-web";import{unstable_createElement as m,NativeModules as x,AccessibilityInfo as b,Animated as f,Appearance as h,AppRegistry as g,AppState as y,BackHandler as v,Clipboard as w,Dimensions as C,Easing as E,I18nManager as S,Keyboard as T,InteractionManager as A,LayoutAnimation as k,Linking as B,NativeEventEmitter as I,PanResponder as L,PixelRatio as P,Platform as V,Share as M,StyleSheet as N,UIManager as R,Vibration as D,CheckBox as $,FlatList as K,Image as O,ImageBackground as W,KeyboardAvoidingView as j,Picker as z,ProgressBar as F,RefreshControl as H,SafeAreaView as U,SectionList as Y,StatusBar as _,Touchable as q,TouchableNativeFeedback as G,VirtualizedList as J,YellowBox as Q,LogBox as X,DeviceEventEmitter as Z,useColorScheme as ee,useLocaleContext as ae,useWindowDimensions as se}from"react-native-web";import*as a from"react-native-web";import{createElement as te,forwardRef as oe}from"react";function t(i){let r=oe((u,e)=>{let{accessibilityState:l,accessibilityValue:d,...n}=u;for(let o of["busy","checked","disabled","expanded","selected"])l?.[o]!==void 0&&n[`aria-${o}`]===void 0&&(n[`aria-${o}`]=l[o]);for(let[o,s]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))d?.[o]!==void 0&&n[`aria-${s}`]===void 0&&(n[`aria-${s}`]=d[o]);return te(i,{...n,ref:e})}),c=i.State;return c&&Object.assign(r,{State:c}),r.displayName=i.displayName??i.name??"NativeWebView",r}var ie=t(a.View),ne=t(a.Text),re=t(a.TextInput),le=t(a.TouchableOpacity),de=t(a.TouchableHighlight),ce=t(a.TouchableWithoutFeedback),pe=t(a.Pressable),ue=t(a.ScrollView),me=t(a.Modal),xe=t(a.Switch),be=t(a.ActivityIndicator),fe=t(a.Button),he=a.findNodeHandle,ge={alert(i,r,c,u){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",i),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 l=document.createElement("h2");if(l.textContent=i,l.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(l),r){let s=document.createElement("p");s.textContent=r,s.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(s)}let d=document.createElement("div");d.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let n=c?.length?c:[{text:"OK"}],o=()=>{e.close?.(),e.remove()};for(let s of n){let p=document.createElement("button");p.type="button",p.textContent=s.text??"OK",p.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${s.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,p.onclick=()=>{o(),s.onPress?.()},d.appendChild(p)}e.addEventListener("cancel",s=>{s.preventDefault(),u?.cancelable!==false&&(o(),u?.onDismiss?.())}),e.appendChild(d),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{ie as a,ne as b,re as c,le as d,de as e,ce as f,pe as g,ue as h,me as i,xe as j,be as k,fe as l,he as m,ge as n,m as o,x as p,b as q,f as r,h as s,g as t,y as u,v,w,C as x,E as y,S as z,T as A,A as B,k as C,B as D,I as E,L as F,P as G,V as H,M as I,N as J,R as K,D as L,$ as M,K as N,O,W as P,j as Q,z as R,F as S,H as T,U,Y as V,_ as W,q as X,G as Y,J as Z,Q as _,X as $,Z as aa,ee as ba,ae as ca,se as da};
|