@buoy-gg/shared-ui 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/lib/commonjs/JsModal.js +1473 -0
- package/lib/commonjs/clipboard/autoDetectClipboard.js +67 -0
- package/lib/commonjs/clipboard/clipboard-impl.js +26 -0
- package/lib/commonjs/clipboard/copyToClipboard.js +66 -0
- package/lib/commonjs/clipboard/index.js +25 -0
- package/lib/commonjs/context/HintsContext.js +49 -0
- package/lib/commonjs/context/index.js +24 -0
- package/lib/commonjs/dataViewer/CyberpunkInput.js +382 -0
- package/lib/commonjs/dataViewer/DataViewer.js +142 -0
- package/lib/commonjs/dataViewer/DiffSummary.js +133 -0
- package/lib/commonjs/dataViewer/IndentGuides.js +128 -0
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +104 -0
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +420 -0
- package/lib/commonjs/dataViewer/TypeLegend.js +111 -0
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1057 -0
- package/lib/commonjs/dataViewer/diffThemes.js +108 -0
- package/lib/commonjs/dataViewer/index.js +101 -0
- package/lib/commonjs/dataViewer/lineDiff.js +366 -0
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +887 -0
- package/lib/commonjs/env/EnvironmentIndicator.js +121 -0
- package/lib/commonjs/env/EnvironmentSelector.js +204 -0
- package/lib/commonjs/env/EnvironmentSelectorInline.js +298 -0
- package/lib/commonjs/hooks/index.js +44 -0
- package/lib/commonjs/hooks/safe-area-impl.js +28 -0
- package/lib/commonjs/hooks/useDeviceInfo.js +524 -0
- package/lib/commonjs/hooks/useFilterManager.js +136 -0
- package/lib/commonjs/hooks/useSafeAreaInsets.js +256 -0
- package/lib/commonjs/icons/BenchmarkIcon.js +109 -0
- package/lib/commonjs/icons/EnvLaptopIcon.js +204 -0
- package/lib/commonjs/icons/IconBackground.js +279 -0
- package/lib/commonjs/icons/ReactQueryIcon.js +169 -0
- package/lib/commonjs/icons/RenderCountIcon.js +147 -0
- package/lib/commonjs/icons/RouteMapIcon.js +250 -0
- package/lib/commonjs/icons/SentryBugIcon.js +181 -0
- package/lib/commonjs/icons/StackPulseIcon.js +158 -0
- package/lib/commonjs/icons/StorageStackIcon.js +156 -0
- package/lib/commonjs/icons/WifiCircuitIcon.js +169 -0
- package/lib/commonjs/icons/index.js +175 -0
- package/lib/commonjs/icons/lucide-icons-original-full.js +3244 -0
- package/lib/commonjs/icons/lucide-icons.js +2252 -0
- package/lib/commonjs/icons/primitives/GlobeIcon.js +66 -0
- package/lib/commonjs/icons/primitives/icon-primitives.js +169 -0
- package/lib/commonjs/icons/primitives/index.js +49 -0
- package/lib/commonjs/index.js +485 -0
- package/lib/commonjs/license/FeatureGate.js +764 -0
- package/lib/commonjs/license/LicenseEntryModal.js +950 -0
- package/lib/commonjs/license/ManageDevicesModal.js +545 -0
- package/lib/commonjs/license/index.js +62 -0
- package/lib/commonjs/logger/index-sentry.js +245 -0
- package/lib/commonjs/logger/index.js +62 -0
- package/lib/commonjs/logger/logDump.js +19 -0
- package/lib/commonjs/logger/types.js +38 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +382 -0
- package/lib/commonjs/settings/index.js +24 -0
- package/lib/commonjs/storage/devToolsStorageKeys.js +235 -0
- package/lib/commonjs/storage/index.js +18 -0
- package/lib/commonjs/types/index.js +16 -0
- package/lib/commonjs/types/types.d.js +1 -0
- package/lib/commonjs/types/types.js +12 -0
- package/lib/commonjs/ui/components/BackButton.js +47 -0
- package/lib/commonjs/ui/components/Badge.js +221 -0
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +149 -0
- package/lib/commonjs/ui/components/CollapsibleSection.js +170 -0
- package/lib/commonjs/ui/components/CompactFilterChips.js +114 -0
- package/lib/commonjs/ui/components/CompactRow.js +230 -0
- package/lib/commonjs/ui/components/CopyButton.js +256 -0
- package/lib/commonjs/ui/components/DataInspector.js +322 -0
- package/lib/commonjs/ui/components/DetailView.js +357 -0
- package/lib/commonjs/ui/components/Divider.js +18 -0
- package/lib/commonjs/ui/components/DraggableHeader.js +144 -0
- package/lib/commonjs/ui/components/DynamicFilterView.js +725 -0
- package/lib/commonjs/ui/components/EmptyState.js +136 -0
- package/lib/commonjs/ui/components/ErrorBoundary.js +112 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +210 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +90 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +130 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +206 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +137 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +40 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +5 -0
- package/lib/commonjs/ui/components/EventListItem.js +247 -0
- package/lib/commonjs/ui/components/EventStepperFooter.js +148 -0
- package/lib/commonjs/ui/components/ExpandablePopover.js +341 -0
- package/lib/commonjs/ui/components/ExpandableSection.js +71 -0
- package/lib/commonjs/ui/components/ExpandableSectionHeader.js +86 -0
- package/lib/commonjs/ui/components/ExpandableSectionWithModal.js +182 -0
- package/lib/commonjs/ui/components/FilterComponents.js +267 -0
- package/lib/commonjs/ui/components/FilterViewPattern.js +174 -0
- package/lib/commonjs/ui/components/HeaderSearchButton.js +32 -0
- package/lib/commonjs/ui/components/ListItem.js +171 -0
- package/lib/commonjs/ui/components/ModalHeader.js +173 -0
- package/lib/commonjs/ui/components/ModalHintBanner.js +147 -0
- package/lib/commonjs/ui/components/SearchBar.js +264 -0
- package/lib/commonjs/ui/components/SectionHeader.js +125 -0
- package/lib/commonjs/ui/components/StatsCard.js +198 -0
- package/lib/commonjs/ui/components/StatusIndicator.js +231 -0
- package/lib/commonjs/ui/components/StorageTypeBadge.js +96 -0
- package/lib/commonjs/ui/components/TabSelector.js +70 -0
- package/lib/commonjs/ui/components/TimeDisplay.js +142 -0
- package/lib/commonjs/ui/components/TypeBadge.js +100 -0
- package/lib/commonjs/ui/components/ValueTypeBadge.js +146 -0
- package/lib/commonjs/ui/components/WindowControls.js +118 -0
- package/lib/commonjs/ui/components/index.js +323 -0
- package/lib/commonjs/ui/components/types.js +5 -0
- package/lib/commonjs/ui/console/BubbleSettingsModal.js +50 -0
- package/lib/commonjs/ui/console/ConsoleSection.js +50 -0
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +261 -0
- package/lib/commonjs/ui/console/CyberpunkConsoleSection.js +649 -0
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +186 -0
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +122 -0
- package/lib/commonjs/ui/console/GalaxyButton.js +99 -0
- package/lib/commonjs/ui/console/index.js +12 -0
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +120 -0
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +335 -0
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +283 -0
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +143 -0
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +186 -0
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +206 -0
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +110 -0
- package/lib/commonjs/ui/gameUI/index.js +72 -0
- package/lib/commonjs/ui/index.js +39 -0
- package/lib/commonjs/utils/displayValue.js +41 -0
- package/lib/commonjs/utils/formatting/dataFormatting.js +73 -0
- package/lib/commonjs/utils/formatting/httpFormatting.js +153 -0
- package/lib/commonjs/utils/formatting/index.js +27 -0
- package/lib/commonjs/utils/getSafeAreaInsets.js +40 -0
- package/lib/commonjs/utils/index.js +175 -0
- package/lib/commonjs/utils/loadOptionalModule.js +94 -0
- package/lib/commonjs/utils/minimalSuperJSON.js +337 -0
- package/lib/commonjs/utils/persistentStorage.js +594 -0
- package/lib/commonjs/utils/safeAsyncStorage.js +71 -0
- package/lib/commonjs/utils/safeStringify.js +229 -0
- package/lib/commonjs/utils/time/formatRelativeTime.js +34 -0
- package/lib/commonjs/utils/time/index.js +12 -0
- package/lib/commonjs/utils/typeHelpers.js +142 -0
- package/lib/commonjs/utils/valueFormatting.js +140 -0
- package/lib/module/JsModal.js +1469 -0
- package/lib/module/clipboard/autoDetectClipboard.js +45 -0
- package/lib/module/clipboard/clipboard-impl.js +20 -0
- package/lib/module/clipboard/copyToClipboard.js +62 -0
- package/lib/module/clipboard/index.js +5 -0
- package/lib/module/context/HintsContext.js +43 -0
- package/lib/module/context/index.js +3 -0
- package/lib/module/dataViewer/CyberpunkInput.js +378 -0
- package/lib/module/dataViewer/DataViewer.js +137 -0
- package/lib/module/dataViewer/DiffSummary.js +128 -0
- package/lib/module/dataViewer/IndentGuides.js +124 -0
- package/lib/module/dataViewer/IndentGuidesOverlay.js +99 -0
- package/lib/module/dataViewer/SplitDiffViewer.js +415 -0
- package/lib/module/dataViewer/TypeLegend.js +105 -0
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1053 -0
- package/lib/module/dataViewer/diffThemes.js +104 -0
- package/lib/module/dataViewer/index.js +17 -0
- package/lib/module/dataViewer/lineDiff.js +362 -0
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +882 -0
- package/lib/module/env/EnvironmentIndicator.js +117 -0
- package/lib/module/env/EnvironmentSelector.js +199 -0
- package/lib/module/env/EnvironmentSelectorInline.js +293 -0
- package/lib/module/hooks/index.js +6 -0
- package/lib/module/hooks/safe-area-impl.js +23 -0
- package/lib/module/hooks/useDeviceInfo.js +519 -0
- package/lib/module/hooks/useFilterManager.js +132 -0
- package/lib/module/hooks/useSafeAreaInsets.js +250 -0
- package/lib/module/icons/BenchmarkIcon.js +104 -0
- package/lib/module/icons/EnvLaptopIcon.js +199 -0
- package/lib/module/icons/IconBackground.js +274 -0
- package/lib/module/icons/ReactQueryIcon.js +164 -0
- package/lib/module/icons/RenderCountIcon.js +142 -0
- package/lib/module/icons/RouteMapIcon.js +245 -0
- package/lib/module/icons/SentryBugIcon.js +176 -0
- package/lib/module/icons/StackPulseIcon.js +153 -0
- package/lib/module/icons/StorageStackIcon.js +151 -0
- package/lib/module/icons/WifiCircuitIcon.js +164 -0
- package/lib/module/icons/index.js +23 -0
- package/lib/module/icons/lucide-icons-original-full.js +3174 -0
- package/lib/module/icons/lucide-icons.js +2199 -0
- package/lib/module/icons/primitives/GlobeIcon.js +61 -0
- package/lib/module/icons/primitives/icon-primitives.js +161 -0
- package/lib/module/icons/primitives/index.js +15 -0
- package/lib/module/index.js +58 -0
- package/lib/module/license/FeatureGate.js +754 -0
- package/lib/module/license/LicenseEntryModal.js +944 -0
- package/lib/module/license/ManageDevicesModal.js +539 -0
- package/lib/module/license/index.js +5 -0
- package/lib/module/logger/index-sentry.js +230 -0
- package/lib/module/logger/index.js +13 -0
- package/lib/module/logger/logDump.js +13 -0
- package/lib/module/logger/types.js +37 -0
- package/lib/module/package.json +1 -0
- package/lib/module/settings/components/BubbleSettingsSection.js +376 -0
- package/lib/module/settings/index.js +3 -0
- package/lib/module/storage/devToolsStorageKeys.js +228 -0
- package/lib/module/storage/index.js +3 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/types.d.js +1 -0
- package/lib/module/types/types.js +8 -0
- package/lib/module/ui/components/BackButton.js +43 -0
- package/lib/module/ui/components/Badge.js +213 -0
- package/lib/module/ui/components/ClipboardHintBanner.js +145 -0
- package/lib/module/ui/components/CollapsibleSection.js +166 -0
- package/lib/module/ui/components/CompactFilterChips.js +110 -0
- package/lib/module/ui/components/CompactRow.js +226 -0
- package/lib/module/ui/components/CopyButton.js +253 -0
- package/lib/module/ui/components/DataInspector.js +318 -0
- package/lib/module/ui/components/DetailView.js +353 -0
- package/lib/module/ui/components/Divider.js +14 -0
- package/lib/module/ui/components/DraggableHeader.js +140 -0
- package/lib/module/ui/components/DynamicFilterView.js +721 -0
- package/lib/module/ui/components/EmptyState.js +129 -0
- package/lib/module/ui/components/ErrorBoundary.js +107 -0
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +205 -0
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +85 -0
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +125 -0
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +201 -0
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +132 -0
- package/lib/module/ui/components/EventHistoryViewer/index.js +19 -0
- package/lib/module/ui/components/EventHistoryViewer/types.js +3 -0
- package/lib/module/ui/components/EventListItem.js +243 -0
- package/lib/module/ui/components/EventStepperFooter.js +143 -0
- package/lib/module/ui/components/ExpandablePopover.js +338 -0
- package/lib/module/ui/components/ExpandableSection.js +67 -0
- package/lib/module/ui/components/ExpandableSectionHeader.js +82 -0
- package/lib/module/ui/components/ExpandableSectionWithModal.js +178 -0
- package/lib/module/ui/components/FilterComponents.js +259 -0
- package/lib/module/ui/components/FilterViewPattern.js +170 -0
- package/lib/module/ui/components/HeaderSearchButton.js +28 -0
- package/lib/module/ui/components/ListItem.js +167 -0
- package/lib/module/ui/components/ModalHeader.js +166 -0
- package/lib/module/ui/components/ModalHintBanner.js +143 -0
- package/lib/module/ui/components/SearchBar.js +260 -0
- package/lib/module/ui/components/SectionHeader.js +121 -0
- package/lib/module/ui/components/StatsCard.js +194 -0
- package/lib/module/ui/components/StatusIndicator.js +227 -0
- package/lib/module/ui/components/StorageTypeBadge.js +92 -0
- package/lib/module/ui/components/TabSelector.js +66 -0
- package/lib/module/ui/components/TimeDisplay.js +138 -0
- package/lib/module/ui/components/TypeBadge.js +96 -0
- package/lib/module/ui/components/ValueTypeBadge.js +142 -0
- package/lib/module/ui/components/WindowControls.js +114 -0
- package/lib/module/ui/components/index.js +33 -0
- package/lib/module/ui/components/types.js +3 -0
- package/lib/module/ui/console/BubbleSettingsModal.js +46 -0
- package/lib/module/ui/console/ConsoleSection.js +46 -0
- package/lib/module/ui/console/CyberpunkButtonOutline.js +257 -0
- package/lib/module/ui/console/CyberpunkConsoleSection.js +646 -0
- package/lib/module/ui/console/CyberpunkIconContainer.js +182 -0
- package/lib/module/ui/console/CyberpunkSectionButton.js +118 -0
- package/lib/module/ui/console/GalaxyButton.js +95 -0
- package/lib/module/ui/console/index.js +5 -0
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +116 -0
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +331 -0
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +279 -0
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +139 -0
- package/lib/module/ui/gameUI/constants/gameUIColors.js +183 -0
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +202 -0
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +105 -0
- package/lib/module/ui/gameUI/index.js +19 -0
- package/lib/module/ui/index.js +12 -0
- package/lib/module/utils/displayValue.js +36 -0
- package/lib/module/utils/formatting/dataFormatting.js +66 -0
- package/lib/module/utils/formatting/httpFormatting.js +148 -0
- package/lib/module/utils/formatting/index.js +8 -0
- package/lib/module/utils/getSafeAreaInsets.js +36 -0
- package/lib/module/utils/index.js +10 -0
- package/lib/module/utils/loadOptionalModule.js +89 -0
- package/lib/module/utils/minimalSuperJSON.js +332 -0
- package/lib/module/utils/persistentStorage.js +588 -0
- package/lib/module/utils/safeAsyncStorage.js +64 -0
- package/lib/module/utils/safeStringify.js +225 -0
- package/lib/module/utils/time/formatRelativeTime.js +30 -0
- package/lib/module/utils/time/index.js +3 -0
- package/lib/module/utils/typeHelpers.js +130 -0
- package/lib/module/utils/valueFormatting.js +131 -0
- package/lib/typescript/commonjs/JsModal.d.ts +78 -0
- package/lib/typescript/commonjs/JsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts +4 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts +30 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/index.d.ts +2 -0
- package/lib/typescript/commonjs/context/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +5 -0
- package/lib/typescript/commonjs/hooks/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/index.d.ts +15 -0
- package/lib/typescript/commonjs/icons/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +28 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/index.d.ts +7 -0
- package/lib/typescript/commonjs/license/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index.d.ts +5 -0
- package/lib/typescript/commonjs/logger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts +5 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/types.d.ts +100 -0
- package/lib/typescript/commonjs/logger/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/settings/index.d.ts +2 -0
- package/lib/typescript/commonjs/settings/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/index.d.ts +2 -0
- package/lib/typescript/commonjs/storage/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/index.d.ts +2 -0
- package/lib/typescript/commonjs/types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/types.d.ts +8 -0
- package/lib/typescript/commonjs/types/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts +2 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +4 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts +16 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts +9 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts +2 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +1 -0
- package/lib/typescript/module/JsModal.d.ts +78 -0
- package/lib/typescript/module/JsModal.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/index.d.ts +4 -0
- package/lib/typescript/module/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/module/context/HintsContext.d.ts +30 -0
- package/lib/typescript/module/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/module/context/index.d.ts +2 -0
- package/lib/typescript/module/context/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/index.d.ts +14 -0
- package/lib/typescript/module/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/module/hooks/index.d.ts +5 -0
- package/lib/typescript/module/hooks/index.d.ts.map +1 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/module/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/index.d.ts +15 -0
- package/lib/typescript/module/icons/index.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/module/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +28 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/module/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/module/license/index.d.ts +7 -0
- package/lib/typescript/module/license/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/module/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/module/logger/index.d.ts +5 -0
- package/lib/typescript/module/logger/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/logDump.d.ts +5 -0
- package/lib/typescript/module/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/module/logger/types.d.ts +100 -0
- package/lib/typescript/module/logger/types.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/module/settings/index.d.ts +2 -0
- package/lib/typescript/module/settings/index.d.ts.map +1 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/module/storage/index.d.ts +2 -0
- package/lib/typescript/module/storage/index.d.ts.map +1 -0
- package/lib/typescript/module/types/index.d.ts +2 -0
- package/lib/typescript/module/types/index.d.ts.map +1 -0
- package/lib/typescript/module/types/types.d.ts +8 -0
- package/lib/typescript/module/types/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/module/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/module/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/index.d.ts +36 -0
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/types.d.ts +3 -0
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/index.d.ts +2 -0
- package/lib/typescript/module/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +4 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/displayValue.d.ts +16 -0
- package/lib/typescript/module/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/module/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts +9 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/module/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/index.d.ts +2 -0
- package/lib/typescript/module/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +1 -0
- package/package.json +172 -0
- package/scripts/detect-clipboard.js +137 -0
- package/scripts/detect-safe-area.js +130 -0
|
@@ -0,0 +1,950 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LicenseEntryModal = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _macOSDesignSystemColors = require("../ui/gameUI/constants/macOSDesignSystemColors.js");
|
|
10
|
+
var _lucideIcons = require("../icons/lucide-icons.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
+
/**
|
|
14
|
+
* LicenseEntryModal - Modal for entering and activating a license key
|
|
15
|
+
*
|
|
16
|
+
* Flow:
|
|
17
|
+
* 1. Enter license key
|
|
18
|
+
* 2. Validate key - check if device registration needed
|
|
19
|
+
* 3a. If existing devices, show selection (claim or register new)
|
|
20
|
+
* 3b. If no devices, prompt for device name
|
|
21
|
+
* 4. Register device with user-provided name
|
|
22
|
+
* 5. Success!
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Registered device interface
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* License validation result from the license package
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Result of device registration
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* License state interface for prop injection
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
// Lazy load license hooks to avoid circular dependencies
|
|
42
|
+
let _useLicense = null;
|
|
43
|
+
function getUseLicense() {
|
|
44
|
+
if (!_useLicense) {
|
|
45
|
+
try {
|
|
46
|
+
const mod = require("@buoy-gg/license");
|
|
47
|
+
_useLicense = mod.useLicense;
|
|
48
|
+
} catch {
|
|
49
|
+
// License package not available - will use injected license prop
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return _useLicense;
|
|
53
|
+
}
|
|
54
|
+
const LICENSE_KEY_REGEX = /^[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{2,6}$/;
|
|
55
|
+
const MIN_KEY_LENGTH = 37;
|
|
56
|
+
function validateLicenseKeyFormat(key) {
|
|
57
|
+
const trimmedKey = key.trim().toUpperCase();
|
|
58
|
+
if (trimmedKey.length === 0) {
|
|
59
|
+
return {
|
|
60
|
+
isValid: false,
|
|
61
|
+
error: null
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
if (!/^[A-Z0-9-]+$/.test(trimmedKey)) {
|
|
65
|
+
return {
|
|
66
|
+
isValid: false,
|
|
67
|
+
error: "Invalid characters in key"
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
if (LICENSE_KEY_REGEX.test(trimmedKey)) {
|
|
71
|
+
return {
|
|
72
|
+
isValid: true,
|
|
73
|
+
error: null
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
if (trimmedKey.length < MIN_KEY_LENGTH) {
|
|
77
|
+
return {
|
|
78
|
+
isValid: false,
|
|
79
|
+
error: "Key is incomplete"
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
isValid: false,
|
|
84
|
+
error: "Invalid key format"
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
const LicenseEntryModal = ({
|
|
88
|
+
visible,
|
|
89
|
+
onClose,
|
|
90
|
+
onSuccess,
|
|
91
|
+
purchaseUrl = "https://buoy.gg/pricing",
|
|
92
|
+
license: injectedLicense,
|
|
93
|
+
startAtDeviceRegistration = false,
|
|
94
|
+
initialExistingDevices = [],
|
|
95
|
+
initialMaxDevices,
|
|
96
|
+
initialCurrentDeviceCount
|
|
97
|
+
}) => {
|
|
98
|
+
const [licenseKey, setLicenseKey] = (0, _react.useState)("");
|
|
99
|
+
const [deviceName, setDeviceName] = (0, _react.useState)("");
|
|
100
|
+
const [modalState, setModalState] = (0, _react.useState)("entry");
|
|
101
|
+
const [errorMessage, setErrorMessage] = (0, _react.useState)(null);
|
|
102
|
+
const [isFocused, setIsFocused] = (0, _react.useState)(false);
|
|
103
|
+
const [isDeviceNameFocused, setIsDeviceNameFocused] = (0, _react.useState)(false);
|
|
104
|
+
const [existingDevices, setExistingDevices] = (0, _react.useState)([]);
|
|
105
|
+
const [maxDevices, setMaxDevices] = (0, _react.useState)();
|
|
106
|
+
const [currentDeviceCount, setCurrentDeviceCount] = (0, _react.useState)();
|
|
107
|
+
const [hasInitialized, setHasInitialized] = (0, _react.useState)(false);
|
|
108
|
+
|
|
109
|
+
// Ref to track reset timeout to prevent race condition on quick close/open
|
|
110
|
+
const resetTimeoutRef = (0, _react.useRef)(null);
|
|
111
|
+
|
|
112
|
+
// Use injected license if provided, otherwise try to load from @buoy-gg/license
|
|
113
|
+
const useLicenseHook = getUseLicense();
|
|
114
|
+
const hookLicense = useLicenseHook?.();
|
|
115
|
+
const license = injectedLicense ?? hookLicense;
|
|
116
|
+
|
|
117
|
+
// Handle initial state when modal becomes visible
|
|
118
|
+
_react.default.useEffect(() => {
|
|
119
|
+
if (visible && startAtDeviceRegistration && !hasInitialized) {
|
|
120
|
+
// Set device count info from props when starting at device registration
|
|
121
|
+
if (initialMaxDevices !== undefined) {
|
|
122
|
+
setMaxDevices(initialMaxDevices);
|
|
123
|
+
}
|
|
124
|
+
if (initialCurrentDeviceCount !== undefined) {
|
|
125
|
+
setCurrentDeviceCount(initialCurrentDeviceCount);
|
|
126
|
+
}
|
|
127
|
+
if (initialExistingDevices.length > 0) {
|
|
128
|
+
setExistingDevices(initialExistingDevices);
|
|
129
|
+
setModalState("device_select");
|
|
130
|
+
} else {
|
|
131
|
+
setModalState("device_name");
|
|
132
|
+
}
|
|
133
|
+
setHasInitialized(true);
|
|
134
|
+
}
|
|
135
|
+
// Reset initialization flag when modal closes
|
|
136
|
+
if (!visible) {
|
|
137
|
+
setHasInitialized(false);
|
|
138
|
+
}
|
|
139
|
+
}, [visible, startAtDeviceRegistration, initialExistingDevices, initialMaxDevices, initialCurrentDeviceCount, hasInitialized]);
|
|
140
|
+
|
|
141
|
+
// Validate key format in real-time
|
|
142
|
+
const validation = (0, _react.useMemo)(() => validateLicenseKeyFormat(licenseKey), [licenseKey]);
|
|
143
|
+
const canActivate = validation.isValid && licenseKey.trim().length > 0;
|
|
144
|
+
const canRegister = deviceName.trim().length >= 2;
|
|
145
|
+
const handleValidate = (0, _react.useCallback)(async () => {
|
|
146
|
+
if (!canActivate) return;
|
|
147
|
+
if (!license) {
|
|
148
|
+
setModalState("error");
|
|
149
|
+
setErrorMessage("License system unavailable.");
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
setModalState("validating");
|
|
153
|
+
setErrorMessage(null);
|
|
154
|
+
try {
|
|
155
|
+
// Check if the new validateLicenseKey method is available
|
|
156
|
+
if (license.validateLicenseKey) {
|
|
157
|
+
const result = await license.validateLicenseKey(licenseKey.trim());
|
|
158
|
+
if (!result.valid) {
|
|
159
|
+
setModalState("error");
|
|
160
|
+
setErrorMessage(result.error || "Invalid license key");
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
setMaxDevices(result.maxDevices);
|
|
164
|
+
setCurrentDeviceCount(result.currentDeviceCount);
|
|
165
|
+
if (!result.needsDeviceRegistration) {
|
|
166
|
+
// Already registered or simulator - success!
|
|
167
|
+
setModalState("success");
|
|
168
|
+
setTimeout(() => {
|
|
169
|
+
onSuccess?.();
|
|
170
|
+
onClose();
|
|
171
|
+
resetState();
|
|
172
|
+
}, 1500);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// Device registration needed
|
|
177
|
+
if (result.existingDevices.length > 0) {
|
|
178
|
+
setExistingDevices(result.existingDevices);
|
|
179
|
+
setModalState("device_select");
|
|
180
|
+
} else {
|
|
181
|
+
setModalState("device_name");
|
|
182
|
+
}
|
|
183
|
+
} else {
|
|
184
|
+
// Fallback to legacy setLicenseKey
|
|
185
|
+
const success = await license.setLicenseKey(licenseKey.trim());
|
|
186
|
+
if (success) {
|
|
187
|
+
setModalState("success");
|
|
188
|
+
setTimeout(() => {
|
|
189
|
+
onSuccess?.();
|
|
190
|
+
onClose();
|
|
191
|
+
resetState();
|
|
192
|
+
}, 1500);
|
|
193
|
+
} else {
|
|
194
|
+
setModalState("error");
|
|
195
|
+
setErrorMessage(license.error || "Invalid license key");
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
} catch (err) {
|
|
199
|
+
setModalState("error");
|
|
200
|
+
setErrorMessage(err instanceof Error ? err.message : "Validation failed");
|
|
201
|
+
}
|
|
202
|
+
}, [licenseKey, license, onSuccess, onClose, canActivate]);
|
|
203
|
+
const handleRegisterDevice = (0, _react.useCallback)(async () => {
|
|
204
|
+
if (!canRegister || !license?.registerDevice) {
|
|
205
|
+
// Fallback if registerDevice not available
|
|
206
|
+
if (license?.setLicenseKey) {
|
|
207
|
+
const success = await license.setLicenseKey(licenseKey.trim());
|
|
208
|
+
if (success) {
|
|
209
|
+
setModalState("success");
|
|
210
|
+
setTimeout(() => {
|
|
211
|
+
onSuccess?.();
|
|
212
|
+
onClose();
|
|
213
|
+
resetState();
|
|
214
|
+
}, 1500);
|
|
215
|
+
} else {
|
|
216
|
+
setModalState("error");
|
|
217
|
+
setErrorMessage(license.error || "Registration failed");
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
setModalState("registering");
|
|
223
|
+
setErrorMessage(null);
|
|
224
|
+
try {
|
|
225
|
+
const result = await license.registerDevice(deviceName.trim());
|
|
226
|
+
if (result.success) {
|
|
227
|
+
setModalState("success");
|
|
228
|
+
setTimeout(() => {
|
|
229
|
+
onSuccess?.();
|
|
230
|
+
onClose();
|
|
231
|
+
resetState();
|
|
232
|
+
}, 1500);
|
|
233
|
+
} else {
|
|
234
|
+
setModalState("error");
|
|
235
|
+
setErrorMessage(result.error || "Device registration failed");
|
|
236
|
+
}
|
|
237
|
+
} catch (err) {
|
|
238
|
+
setModalState("error");
|
|
239
|
+
setErrorMessage(err instanceof Error ? err.message : "Registration failed");
|
|
240
|
+
}
|
|
241
|
+
}, [deviceName, license, licenseKey, onSuccess, onClose, canRegister]);
|
|
242
|
+
const handleClaimDevice = (0, _react.useCallback)(async device => {
|
|
243
|
+
if (!license?.claimDevice) {
|
|
244
|
+
setModalState("error");
|
|
245
|
+
setErrorMessage("Claim device not available");
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
setModalState("registering");
|
|
249
|
+
setErrorMessage(null);
|
|
250
|
+
try {
|
|
251
|
+
const success = await license.claimDevice(device.id, existingDevices);
|
|
252
|
+
if (success) {
|
|
253
|
+
setModalState("success");
|
|
254
|
+
setTimeout(() => {
|
|
255
|
+
onSuccess?.();
|
|
256
|
+
onClose();
|
|
257
|
+
resetState();
|
|
258
|
+
}, 1500);
|
|
259
|
+
} else {
|
|
260
|
+
setModalState("error");
|
|
261
|
+
setErrorMessage(license.error || "Failed to claim device");
|
|
262
|
+
}
|
|
263
|
+
} catch (err) {
|
|
264
|
+
setModalState("error");
|
|
265
|
+
setErrorMessage(err instanceof Error ? err.message : "Failed to claim device");
|
|
266
|
+
}
|
|
267
|
+
}, [license, existingDevices, onSuccess, onClose]);
|
|
268
|
+
const handleRegisterNew = (0, _react.useCallback)(() => {
|
|
269
|
+
setModalState("device_name");
|
|
270
|
+
}, []);
|
|
271
|
+
const handleGetLicense = (0, _react.useCallback)(() => {
|
|
272
|
+
_reactNative.Linking.openURL(purchaseUrl);
|
|
273
|
+
}, [purchaseUrl]);
|
|
274
|
+
const resetState = (0, _react.useCallback)(() => {
|
|
275
|
+
setLicenseKey("");
|
|
276
|
+
setDeviceName("");
|
|
277
|
+
setModalState("entry");
|
|
278
|
+
setErrorMessage(null);
|
|
279
|
+
setIsFocused(false);
|
|
280
|
+
setIsDeviceNameFocused(false);
|
|
281
|
+
setExistingDevices([]);
|
|
282
|
+
setMaxDevices(undefined);
|
|
283
|
+
setCurrentDeviceCount(undefined);
|
|
284
|
+
}, []);
|
|
285
|
+
const handleClose = (0, _react.useCallback)(() => {
|
|
286
|
+
onClose();
|
|
287
|
+
// Store the timeout ref so it can be cancelled if modal reopens quickly
|
|
288
|
+
resetTimeoutRef.current = setTimeout(resetState, 300);
|
|
289
|
+
}, [onClose, resetState]);
|
|
290
|
+
|
|
291
|
+
// Cancel pending reset if modal becomes visible (prevents race condition)
|
|
292
|
+
(0, _react.useEffect)(() => {
|
|
293
|
+
if (visible && resetTimeoutRef.current) {
|
|
294
|
+
clearTimeout(resetTimeoutRef.current);
|
|
295
|
+
resetTimeoutRef.current = null;
|
|
296
|
+
}
|
|
297
|
+
}, [visible]);
|
|
298
|
+
const formatLicenseKey = text => {
|
|
299
|
+
return text.toUpperCase().replace(/[^A-Z0-9-]/g, "");
|
|
300
|
+
};
|
|
301
|
+
const renderContent = () => {
|
|
302
|
+
switch (modalState) {
|
|
303
|
+
case "validating":
|
|
304
|
+
case "registering":
|
|
305
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
306
|
+
style: styles.stateContainer,
|
|
307
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
308
|
+
style: styles.loaderContainer,
|
|
309
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
310
|
+
size: "large",
|
|
311
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
312
|
+
})
|
|
313
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
314
|
+
style: styles.stateText,
|
|
315
|
+
children: modalState === "validating" ? "Validating license..." : "Registering device..."
|
|
316
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
317
|
+
style: styles.stateSubtext,
|
|
318
|
+
children: "Please wait"
|
|
319
|
+
})]
|
|
320
|
+
});
|
|
321
|
+
case "success":
|
|
322
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
323
|
+
style: styles.stateContainer,
|
|
324
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
325
|
+
style: [styles.statusIconContainer, styles.successIconContainer],
|
|
326
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.CheckCircle, {
|
|
327
|
+
size: 32,
|
|
328
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.success
|
|
329
|
+
})
|
|
330
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
331
|
+
style: styles.successText,
|
|
332
|
+
children: "License Activated!"
|
|
333
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
334
|
+
style: styles.stateSubtext,
|
|
335
|
+
children: "Pro features are now unlocked"
|
|
336
|
+
})]
|
|
337
|
+
});
|
|
338
|
+
case "error":
|
|
339
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
340
|
+
style: styles.stateContainer,
|
|
341
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
342
|
+
style: [styles.statusIconContainer, styles.errorIconContainer],
|
|
343
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.AlertCircle, {
|
|
344
|
+
size: 32,
|
|
345
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.error
|
|
346
|
+
})
|
|
347
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
348
|
+
style: styles.errorText,
|
|
349
|
+
children: "Activation Failed"
|
|
350
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
351
|
+
style: styles.stateSubtext,
|
|
352
|
+
children: errorMessage
|
|
353
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
354
|
+
style: styles.secondaryButton,
|
|
355
|
+
onPress: () => setModalState("entry"),
|
|
356
|
+
activeOpacity: 0.8,
|
|
357
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
358
|
+
style: styles.secondaryButtonText,
|
|
359
|
+
children: "Try Again"
|
|
360
|
+
})
|
|
361
|
+
})]
|
|
362
|
+
});
|
|
363
|
+
case "device_name":
|
|
364
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
365
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
366
|
+
style: styles.header,
|
|
367
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
368
|
+
style: styles.iconContainer,
|
|
369
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Smartphone, {
|
|
370
|
+
size: 20,
|
|
371
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
372
|
+
})
|
|
373
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
374
|
+
style: styles.title,
|
|
375
|
+
children: "Name This Device"
|
|
376
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
377
|
+
style: styles.subtitle,
|
|
378
|
+
children: "Give this device a name so you can identify it later"
|
|
379
|
+
})]
|
|
380
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
381
|
+
style: styles.inputWrapper,
|
|
382
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
383
|
+
style: [styles.inputContainer, isDeviceNameFocused && styles.inputContainerFocused],
|
|
384
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
385
|
+
style: [styles.input, {
|
|
386
|
+
fontFamily: undefined,
|
|
387
|
+
letterSpacing: 0
|
|
388
|
+
}],
|
|
389
|
+
value: deviceName,
|
|
390
|
+
onChangeText: setDeviceName,
|
|
391
|
+
placeholder: "e.g., My iPhone, Work iPad",
|
|
392
|
+
placeholderTextColor: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
393
|
+
autoFocus: true,
|
|
394
|
+
onFocus: () => setIsDeviceNameFocused(true),
|
|
395
|
+
onBlur: () => setIsDeviceNameFocused(false)
|
|
396
|
+
})
|
|
397
|
+
}), maxDevices && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
398
|
+
style: styles.deviceCount,
|
|
399
|
+
children: [currentDeviceCount ?? 0, " of ", maxDevices, " devices used"]
|
|
400
|
+
})]
|
|
401
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
402
|
+
style: [styles.activateButton, !canRegister && styles.activateButtonDisabled],
|
|
403
|
+
onPress: handleRegisterDevice,
|
|
404
|
+
disabled: !canRegister,
|
|
405
|
+
activeOpacity: 0.8,
|
|
406
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
407
|
+
style: [styles.activateButtonText, !canRegister && styles.activateButtonTextDisabled],
|
|
408
|
+
children: "Register Device"
|
|
409
|
+
})
|
|
410
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
411
|
+
style: styles.backButton,
|
|
412
|
+
onPress: () => setModalState("entry"),
|
|
413
|
+
activeOpacity: 0.8,
|
|
414
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
415
|
+
style: styles.backButtonText,
|
|
416
|
+
children: "Back"
|
|
417
|
+
})
|
|
418
|
+
})]
|
|
419
|
+
});
|
|
420
|
+
case "device_select":
|
|
421
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
422
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
423
|
+
style: styles.header,
|
|
424
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
425
|
+
style: styles.iconContainer,
|
|
426
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Smartphone, {
|
|
427
|
+
size: 20,
|
|
428
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
429
|
+
})
|
|
430
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
431
|
+
style: styles.title,
|
|
432
|
+
children: "Select Device"
|
|
433
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
434
|
+
style: styles.subtitle,
|
|
435
|
+
children: "Claim an existing device or register a new one"
|
|
436
|
+
}), maxDevices && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
437
|
+
style: styles.deviceCountHeader,
|
|
438
|
+
children: [currentDeviceCount ?? 0, " of ", maxDevices, " devices used"]
|
|
439
|
+
})]
|
|
440
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
441
|
+
style: styles.deviceList,
|
|
442
|
+
showsVerticalScrollIndicator: false,
|
|
443
|
+
children: existingDevices.map(device => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
444
|
+
style: styles.deviceItem,
|
|
445
|
+
onPress: () => handleClaimDevice(device),
|
|
446
|
+
activeOpacity: 0.8,
|
|
447
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
448
|
+
style: styles.deviceIcon,
|
|
449
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Smartphone, {
|
|
450
|
+
size: 18,
|
|
451
|
+
color: _macOSDesignSystemColors.macOSColors.text.secondary
|
|
452
|
+
})
|
|
453
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
454
|
+
style: styles.deviceInfo,
|
|
455
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
456
|
+
style: styles.deviceName,
|
|
457
|
+
children: device.name
|
|
458
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
459
|
+
style: styles.devicePlatform,
|
|
460
|
+
children: device.platform
|
|
461
|
+
})]
|
|
462
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
463
|
+
style: styles.claimText,
|
|
464
|
+
children: "Claim"
|
|
465
|
+
})]
|
|
466
|
+
}, device.id))
|
|
467
|
+
}), (!maxDevices || (currentDeviceCount ?? 0) < maxDevices) && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
468
|
+
style: styles.registerNewButton,
|
|
469
|
+
onPress: handleRegisterNew,
|
|
470
|
+
activeOpacity: 0.8,
|
|
471
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Plus, {
|
|
472
|
+
size: 16,
|
|
473
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
474
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
475
|
+
style: styles.registerNewText,
|
|
476
|
+
children: "Register New Device"
|
|
477
|
+
})]
|
|
478
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
479
|
+
style: styles.backButton,
|
|
480
|
+
onPress: () => setModalState("entry"),
|
|
481
|
+
activeOpacity: 0.8,
|
|
482
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
483
|
+
style: styles.backButtonText,
|
|
484
|
+
children: "Back"
|
|
485
|
+
})
|
|
486
|
+
})]
|
|
487
|
+
});
|
|
488
|
+
default:
|
|
489
|
+
// entry
|
|
490
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
491
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
492
|
+
style: styles.header,
|
|
493
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
494
|
+
style: styles.iconContainer,
|
|
495
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Key, {
|
|
496
|
+
size: 20,
|
|
497
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
498
|
+
})
|
|
499
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
500
|
+
style: styles.title,
|
|
501
|
+
children: "Enter License Key"
|
|
502
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
503
|
+
style: styles.subtitle,
|
|
504
|
+
children: "Unlock Pro features by entering your license key"
|
|
505
|
+
})]
|
|
506
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
507
|
+
style: styles.inputWrapper,
|
|
508
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
509
|
+
style: [styles.inputContainer, isFocused && styles.inputContainerFocused, validation.error && licenseKey.length > 0 && styles.inputContainerError, validation.isValid && licenseKey.length > 0 && styles.inputContainerValid],
|
|
510
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
511
|
+
style: styles.input,
|
|
512
|
+
value: licenseKey,
|
|
513
|
+
onChangeText: text => setLicenseKey(formatLicenseKey(text)),
|
|
514
|
+
placeholder: "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-V3",
|
|
515
|
+
placeholderTextColor: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
516
|
+
autoCapitalize: "characters",
|
|
517
|
+
autoCorrect: false,
|
|
518
|
+
autoComplete: "off",
|
|
519
|
+
onFocus: () => setIsFocused(true),
|
|
520
|
+
onBlur: () => setIsFocused(false)
|
|
521
|
+
})
|
|
522
|
+
}), validation.error && licenseKey.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
523
|
+
style: styles.validationError,
|
|
524
|
+
children: validation.error
|
|
525
|
+
}), validation.isValid && licenseKey.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
526
|
+
style: styles.validationSuccess,
|
|
527
|
+
children: "Valid format"
|
|
528
|
+
})]
|
|
529
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
530
|
+
style: [styles.activateButton, !canActivate && styles.activateButtonDisabled],
|
|
531
|
+
onPress: handleValidate,
|
|
532
|
+
disabled: !canActivate,
|
|
533
|
+
activeOpacity: 0.8,
|
|
534
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
535
|
+
style: [styles.activateButtonText, !canActivate && styles.activateButtonTextDisabled],
|
|
536
|
+
children: "Activate License"
|
|
537
|
+
})
|
|
538
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
539
|
+
style: styles.divider,
|
|
540
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
541
|
+
style: styles.dividerLine
|
|
542
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
543
|
+
style: styles.dividerText,
|
|
544
|
+
children: "or"
|
|
545
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
546
|
+
style: styles.dividerLine
|
|
547
|
+
})]
|
|
548
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
549
|
+
style: styles.purchaseButton,
|
|
550
|
+
onPress: handleGetLicense,
|
|
551
|
+
activeOpacity: 0.8,
|
|
552
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
553
|
+
style: styles.purchaseButtonText,
|
|
554
|
+
children: "Get a License"
|
|
555
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.Link, {
|
|
556
|
+
size: 14,
|
|
557
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
558
|
+
})]
|
|
559
|
+
})]
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
564
|
+
visible: visible,
|
|
565
|
+
transparent: true,
|
|
566
|
+
animationType: "fade",
|
|
567
|
+
onRequestClose: handleClose,
|
|
568
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.KeyboardAvoidingView, {
|
|
569
|
+
behavior: _reactNative.Platform.OS === "ios" ? "padding" : "height",
|
|
570
|
+
style: styles.overlay,
|
|
571
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
572
|
+
style: styles.backdrop,
|
|
573
|
+
activeOpacity: 1,
|
|
574
|
+
onPress: handleClose
|
|
575
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
576
|
+
style: styles.modal,
|
|
577
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
578
|
+
style: styles.closeButton,
|
|
579
|
+
onPress: handleClose,
|
|
580
|
+
activeOpacity: 0.7,
|
|
581
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_lucideIcons.X, {
|
|
582
|
+
size: 18,
|
|
583
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted
|
|
584
|
+
})
|
|
585
|
+
}), renderContent()]
|
|
586
|
+
})]
|
|
587
|
+
})
|
|
588
|
+
});
|
|
589
|
+
};
|
|
590
|
+
exports.LicenseEntryModal = LicenseEntryModal;
|
|
591
|
+
const styles = _reactNative.StyleSheet.create({
|
|
592
|
+
overlay: {
|
|
593
|
+
flex: 1,
|
|
594
|
+
justifyContent: "center",
|
|
595
|
+
alignItems: "center"
|
|
596
|
+
},
|
|
597
|
+
backdrop: {
|
|
598
|
+
..._reactNative.StyleSheet.absoluteFillObject,
|
|
599
|
+
backgroundColor: "rgba(0, 0, 0, 0.8)"
|
|
600
|
+
},
|
|
601
|
+
modal: {
|
|
602
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.card,
|
|
603
|
+
borderRadius: 12,
|
|
604
|
+
padding: 24,
|
|
605
|
+
width: "90%",
|
|
606
|
+
maxWidth: 380,
|
|
607
|
+
maxHeight: "80%",
|
|
608
|
+
borderWidth: 1,
|
|
609
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "50",
|
|
610
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
611
|
+
shadowOffset: {
|
|
612
|
+
width: 0,
|
|
613
|
+
height: 0
|
|
614
|
+
},
|
|
615
|
+
shadowOpacity: 0.8,
|
|
616
|
+
shadowRadius: 24,
|
|
617
|
+
elevation: 24
|
|
618
|
+
},
|
|
619
|
+
closeButton: {
|
|
620
|
+
position: "absolute",
|
|
621
|
+
top: 12,
|
|
622
|
+
right: 12,
|
|
623
|
+
width: 28,
|
|
624
|
+
height: 28,
|
|
625
|
+
borderRadius: 6,
|
|
626
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.hover,
|
|
627
|
+
alignItems: "center",
|
|
628
|
+
justifyContent: "center",
|
|
629
|
+
zIndex: 1
|
|
630
|
+
},
|
|
631
|
+
header: {
|
|
632
|
+
alignItems: "center",
|
|
633
|
+
marginBottom: 24,
|
|
634
|
+
paddingTop: 8
|
|
635
|
+
},
|
|
636
|
+
iconContainer: {
|
|
637
|
+
width: 48,
|
|
638
|
+
height: 48,
|
|
639
|
+
borderRadius: 12,
|
|
640
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.info + "15",
|
|
641
|
+
borderWidth: 1,
|
|
642
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "30",
|
|
643
|
+
alignItems: "center",
|
|
644
|
+
justifyContent: "center",
|
|
645
|
+
marginBottom: 16,
|
|
646
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
647
|
+
shadowOffset: {
|
|
648
|
+
width: 0,
|
|
649
|
+
height: 0
|
|
650
|
+
},
|
|
651
|
+
shadowOpacity: 0.2,
|
|
652
|
+
shadowRadius: 8
|
|
653
|
+
},
|
|
654
|
+
title: {
|
|
655
|
+
fontSize: 18,
|
|
656
|
+
fontWeight: "600",
|
|
657
|
+
color: _macOSDesignSystemColors.macOSColors.text.primary,
|
|
658
|
+
marginBottom: 6
|
|
659
|
+
},
|
|
660
|
+
subtitle: {
|
|
661
|
+
fontSize: 13,
|
|
662
|
+
color: _macOSDesignSystemColors.macOSColors.text.secondary,
|
|
663
|
+
textAlign: "center",
|
|
664
|
+
lineHeight: 18
|
|
665
|
+
},
|
|
666
|
+
inputWrapper: {
|
|
667
|
+
marginBottom: 16
|
|
668
|
+
},
|
|
669
|
+
inputContainer: {
|
|
670
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.input,
|
|
671
|
+
borderRadius: 8,
|
|
672
|
+
borderWidth: 1,
|
|
673
|
+
borderColor: _macOSDesignSystemColors.macOSColors.border.input,
|
|
674
|
+
overflow: "hidden"
|
|
675
|
+
},
|
|
676
|
+
inputContainerFocused: {
|
|
677
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "60",
|
|
678
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
679
|
+
shadowOffset: {
|
|
680
|
+
width: 0,
|
|
681
|
+
height: 0
|
|
682
|
+
},
|
|
683
|
+
shadowOpacity: 0.15,
|
|
684
|
+
shadowRadius: 8
|
|
685
|
+
},
|
|
686
|
+
inputContainerError: {
|
|
687
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.error + "60",
|
|
688
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.error,
|
|
689
|
+
shadowOffset: {
|
|
690
|
+
width: 0,
|
|
691
|
+
height: 0
|
|
692
|
+
},
|
|
693
|
+
shadowOpacity: 0.15,
|
|
694
|
+
shadowRadius: 8
|
|
695
|
+
},
|
|
696
|
+
inputContainerValid: {
|
|
697
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.success + "60",
|
|
698
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.success,
|
|
699
|
+
shadowOffset: {
|
|
700
|
+
width: 0,
|
|
701
|
+
height: 0
|
|
702
|
+
},
|
|
703
|
+
shadowOpacity: 0.15,
|
|
704
|
+
shadowRadius: 8
|
|
705
|
+
},
|
|
706
|
+
input: {
|
|
707
|
+
paddingHorizontal: 12,
|
|
708
|
+
paddingVertical: 12,
|
|
709
|
+
fontSize: 12,
|
|
710
|
+
color: _macOSDesignSystemColors.macOSColors.text.primary,
|
|
711
|
+
fontFamily: _reactNative.Platform.OS === "ios" ? "Menlo" : "monospace",
|
|
712
|
+
textAlign: "center",
|
|
713
|
+
letterSpacing: 0.3,
|
|
714
|
+
width: "100%"
|
|
715
|
+
},
|
|
716
|
+
activateButton: {
|
|
717
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
718
|
+
borderRadius: 8,
|
|
719
|
+
paddingVertical: 12,
|
|
720
|
+
alignItems: "center",
|
|
721
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.info,
|
|
722
|
+
shadowOffset: {
|
|
723
|
+
width: 0,
|
|
724
|
+
height: 2
|
|
725
|
+
},
|
|
726
|
+
shadowOpacity: 0.3,
|
|
727
|
+
shadowRadius: 8
|
|
728
|
+
},
|
|
729
|
+
activateButtonDisabled: {
|
|
730
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.hover,
|
|
731
|
+
shadowOpacity: 0
|
|
732
|
+
},
|
|
733
|
+
activateButtonText: {
|
|
734
|
+
fontSize: 14,
|
|
735
|
+
fontWeight: "600",
|
|
736
|
+
color: "#000"
|
|
737
|
+
},
|
|
738
|
+
activateButtonTextDisabled: {
|
|
739
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted
|
|
740
|
+
},
|
|
741
|
+
divider: {
|
|
742
|
+
flexDirection: "row",
|
|
743
|
+
alignItems: "center",
|
|
744
|
+
marginVertical: 20
|
|
745
|
+
},
|
|
746
|
+
dividerLine: {
|
|
747
|
+
flex: 1,
|
|
748
|
+
height: 1,
|
|
749
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.border.default
|
|
750
|
+
},
|
|
751
|
+
dividerText: {
|
|
752
|
+
marginHorizontal: 12,
|
|
753
|
+
fontSize: 11,
|
|
754
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
755
|
+
textTransform: "uppercase",
|
|
756
|
+
letterSpacing: 0.5
|
|
757
|
+
},
|
|
758
|
+
purchaseButton: {
|
|
759
|
+
flexDirection: "row",
|
|
760
|
+
alignItems: "center",
|
|
761
|
+
justifyContent: "center",
|
|
762
|
+
gap: 6,
|
|
763
|
+
paddingVertical: 10,
|
|
764
|
+
borderRadius: 8,
|
|
765
|
+
borderWidth: 1,
|
|
766
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "30",
|
|
767
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.info + "10"
|
|
768
|
+
},
|
|
769
|
+
purchaseButtonText: {
|
|
770
|
+
fontSize: 13,
|
|
771
|
+
fontWeight: "600",
|
|
772
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
773
|
+
},
|
|
774
|
+
stateContainer: {
|
|
775
|
+
alignItems: "center",
|
|
776
|
+
paddingVertical: 24,
|
|
777
|
+
paddingTop: 16
|
|
778
|
+
},
|
|
779
|
+
loaderContainer: {
|
|
780
|
+
width: 64,
|
|
781
|
+
height: 64,
|
|
782
|
+
borderRadius: 16,
|
|
783
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.info + "10",
|
|
784
|
+
borderWidth: 1,
|
|
785
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "20",
|
|
786
|
+
alignItems: "center",
|
|
787
|
+
justifyContent: "center",
|
|
788
|
+
marginBottom: 16
|
|
789
|
+
},
|
|
790
|
+
statusIconContainer: {
|
|
791
|
+
width: 64,
|
|
792
|
+
height: 64,
|
|
793
|
+
borderRadius: 16,
|
|
794
|
+
alignItems: "center",
|
|
795
|
+
justifyContent: "center",
|
|
796
|
+
marginBottom: 16,
|
|
797
|
+
borderWidth: 1
|
|
798
|
+
},
|
|
799
|
+
successIconContainer: {
|
|
800
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.success + "15",
|
|
801
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.success + "30",
|
|
802
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.success,
|
|
803
|
+
shadowOffset: {
|
|
804
|
+
width: 0,
|
|
805
|
+
height: 0
|
|
806
|
+
},
|
|
807
|
+
shadowOpacity: 0.2,
|
|
808
|
+
shadowRadius: 12
|
|
809
|
+
},
|
|
810
|
+
errorIconContainer: {
|
|
811
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.semantic.error + "15",
|
|
812
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.error + "30",
|
|
813
|
+
shadowColor: _macOSDesignSystemColors.macOSColors.semantic.error,
|
|
814
|
+
shadowOffset: {
|
|
815
|
+
width: 0,
|
|
816
|
+
height: 0
|
|
817
|
+
},
|
|
818
|
+
shadowOpacity: 0.2,
|
|
819
|
+
shadowRadius: 12
|
|
820
|
+
},
|
|
821
|
+
stateText: {
|
|
822
|
+
fontSize: 16,
|
|
823
|
+
fontWeight: "600",
|
|
824
|
+
color: _macOSDesignSystemColors.macOSColors.text.primary,
|
|
825
|
+
marginBottom: 4
|
|
826
|
+
},
|
|
827
|
+
stateSubtext: {
|
|
828
|
+
fontSize: 13,
|
|
829
|
+
color: _macOSDesignSystemColors.macOSColors.text.secondary,
|
|
830
|
+
textAlign: "center",
|
|
831
|
+
lineHeight: 18,
|
|
832
|
+
paddingHorizontal: 16
|
|
833
|
+
},
|
|
834
|
+
successText: {
|
|
835
|
+
fontSize: 18,
|
|
836
|
+
fontWeight: "600",
|
|
837
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.success,
|
|
838
|
+
marginBottom: 4
|
|
839
|
+
},
|
|
840
|
+
errorText: {
|
|
841
|
+
fontSize: 18,
|
|
842
|
+
fontWeight: "600",
|
|
843
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.error,
|
|
844
|
+
marginBottom: 4
|
|
845
|
+
},
|
|
846
|
+
secondaryButton: {
|
|
847
|
+
marginTop: 20,
|
|
848
|
+
paddingVertical: 10,
|
|
849
|
+
paddingHorizontal: 20,
|
|
850
|
+
borderRadius: 8,
|
|
851
|
+
borderWidth: 1,
|
|
852
|
+
borderColor: _macOSDesignSystemColors.macOSColors.border.default,
|
|
853
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.hover
|
|
854
|
+
},
|
|
855
|
+
secondaryButtonText: {
|
|
856
|
+
fontSize: 13,
|
|
857
|
+
fontWeight: "600",
|
|
858
|
+
color: _macOSDesignSystemColors.macOSColors.text.primary
|
|
859
|
+
},
|
|
860
|
+
validationError: {
|
|
861
|
+
fontSize: 11,
|
|
862
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.error,
|
|
863
|
+
marginTop: 6,
|
|
864
|
+
textAlign: "center"
|
|
865
|
+
},
|
|
866
|
+
validationSuccess: {
|
|
867
|
+
fontSize: 11,
|
|
868
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.success,
|
|
869
|
+
marginTop: 6,
|
|
870
|
+
textAlign: "center"
|
|
871
|
+
},
|
|
872
|
+
backButton: {
|
|
873
|
+
marginTop: 16,
|
|
874
|
+
alignItems: "center"
|
|
875
|
+
},
|
|
876
|
+
backButtonText: {
|
|
877
|
+
fontSize: 13,
|
|
878
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted
|
|
879
|
+
},
|
|
880
|
+
deviceCount: {
|
|
881
|
+
fontSize: 11,
|
|
882
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
883
|
+
marginTop: 8,
|
|
884
|
+
textAlign: "center"
|
|
885
|
+
},
|
|
886
|
+
deviceCountHeader: {
|
|
887
|
+
fontSize: 12,
|
|
888
|
+
color: _macOSDesignSystemColors.macOSColors.text.secondary,
|
|
889
|
+
marginTop: 8
|
|
890
|
+
},
|
|
891
|
+
deviceList: {
|
|
892
|
+
maxHeight: 200,
|
|
893
|
+
marginBottom: 16
|
|
894
|
+
},
|
|
895
|
+
deviceItem: {
|
|
896
|
+
flexDirection: "row",
|
|
897
|
+
alignItems: "center",
|
|
898
|
+
padding: 12,
|
|
899
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.hover,
|
|
900
|
+
borderRadius: 8,
|
|
901
|
+
marginBottom: 8,
|
|
902
|
+
borderWidth: 1,
|
|
903
|
+
borderColor: _macOSDesignSystemColors.macOSColors.border.default
|
|
904
|
+
},
|
|
905
|
+
deviceIcon: {
|
|
906
|
+
width: 36,
|
|
907
|
+
height: 36,
|
|
908
|
+
borderRadius: 8,
|
|
909
|
+
backgroundColor: _macOSDesignSystemColors.macOSColors.background.input,
|
|
910
|
+
alignItems: "center",
|
|
911
|
+
justifyContent: "center",
|
|
912
|
+
marginRight: 12
|
|
913
|
+
},
|
|
914
|
+
deviceInfo: {
|
|
915
|
+
flex: 1
|
|
916
|
+
},
|
|
917
|
+
deviceName: {
|
|
918
|
+
fontSize: 14,
|
|
919
|
+
fontWeight: "500",
|
|
920
|
+
color: _macOSDesignSystemColors.macOSColors.text.primary,
|
|
921
|
+
marginBottom: 2
|
|
922
|
+
},
|
|
923
|
+
devicePlatform: {
|
|
924
|
+
fontSize: 11,
|
|
925
|
+
color: _macOSDesignSystemColors.macOSColors.text.muted,
|
|
926
|
+
textTransform: "capitalize"
|
|
927
|
+
},
|
|
928
|
+
claimText: {
|
|
929
|
+
fontSize: 12,
|
|
930
|
+
fontWeight: "600",
|
|
931
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
932
|
+
},
|
|
933
|
+
registerNewButton: {
|
|
934
|
+
flexDirection: "row",
|
|
935
|
+
alignItems: "center",
|
|
936
|
+
justifyContent: "center",
|
|
937
|
+
gap: 8,
|
|
938
|
+
paddingVertical: 12,
|
|
939
|
+
borderRadius: 8,
|
|
940
|
+
borderWidth: 1,
|
|
941
|
+
borderColor: _macOSDesignSystemColors.macOSColors.semantic.info + "30",
|
|
942
|
+
borderStyle: "dashed",
|
|
943
|
+
marginBottom: 8
|
|
944
|
+
},
|
|
945
|
+
registerNewText: {
|
|
946
|
+
fontSize: 13,
|
|
947
|
+
fontWeight: "600",
|
|
948
|
+
color: _macOSDesignSystemColors.macOSColors.semantic.info
|
|
949
|
+
}
|
|
950
|
+
});
|