@buoy-gg/storage 7.0.40 → 7.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -86
- package/lib/commonjs/index.js +1 -346
- package/lib/commonjs/preset.js +1 -80
- package/lib/commonjs/storage/components/DiffViewer/TreeDiffViewer.js +1 -36
- package/lib/commonjs/storage/components/DiffViewer/modes/ThemedSplitView.js +1 -12
- package/lib/commonjs/storage/components/DiffViewer/themes/diffThemes.js +1 -24
- package/lib/commonjs/storage/components/GameUIStorageBrowser.js +3 -1258
- package/lib/commonjs/storage/components/MMKVInstanceInfoPanel.js +1 -257
- package/lib/commonjs/storage/components/MMKVInstanceSelector.js +1 -418
- package/lib/commonjs/storage/components/SelectionActionBar.js +1 -207
- package/lib/commonjs/storage/components/StorageActionButtons.js +1 -241
- package/lib/commonjs/storage/components/StorageBrowserMode.js +1 -61
- package/lib/commonjs/storage/components/StorageEventActionButton.js +1 -121
- package/lib/commonjs/storage/components/StorageEventCard.js +1 -117
- package/lib/commonjs/storage/components/StorageEventDetailContent.js +1 -494
- package/lib/commonjs/storage/components/StorageEventFilterView.js +1 -159
- package/lib/commonjs/storage/components/StorageEventsSection.js +1 -24
- package/lib/commonjs/storage/components/StorageFilterCards.js +1 -231
- package/lib/commonjs/storage/components/StorageKeyCard.js +1 -520
- package/lib/commonjs/storage/components/StorageKeyDetailScreen.js +1 -579
- package/lib/commonjs/storage/components/StorageKeyRow.js +1 -559
- package/lib/commonjs/storage/components/StorageKeySection.js +1 -160
- package/lib/commonjs/storage/components/StorageKeyStats.js +1 -344
- package/lib/commonjs/storage/components/StorageModalWithTabs.js +1 -954
- package/lib/commonjs/storage/components/StorageSaveNotice.js +1 -171
- package/lib/commonjs/storage/components/StorageSection.js +1 -43
- package/lib/commonjs/storage/components/StorageTypeFilterBar.js +1 -143
- package/lib/commonjs/storage/hooks/useAsyncStorageKeys.js +1 -141
- package/lib/commonjs/storage/hooks/useMMKVInstances.js +1 -210
- package/lib/commonjs/storage/hooks/useMMKVKeys.js +1 -376
- package/lib/commonjs/storage/hooks/useSecureStoreKeys.js +1 -159
- package/lib/commonjs/storage/hooks/useStorageEvents.js +1 -61
- package/lib/commonjs/storage/stores/storageEventStore.js +1 -312
- package/lib/commonjs/storage/sync/storageSyncAdapter.js +1 -478
- package/lib/commonjs/storage/types.js +1 -5
- package/lib/commonjs/storage/utils/AsyncStorageListener.js +1 -691
- package/lib/commonjs/storage/utils/AsyncStorageListener.web.js +1 -0
- package/lib/commonjs/storage/utils/MMKVInstanceRegistry.js +1 -203
- package/lib/commonjs/storage/utils/MMKVListener.js +1 -416
- package/lib/commonjs/storage/utils/SecureStoreRegistry.js +1 -200
- package/lib/commonjs/storage/utils/asyncStorageCompat.js +1 -89
- package/lib/commonjs/storage/utils/browserStorageLifecycle.js +1 -0
- package/lib/commonjs/storage/utils/browserStorageLifecycle.web.js +1 -0
- package/lib/commonjs/storage/utils/clearAllStorage.js +1 -48
- package/lib/commonjs/storage/utils/deleteStorageKeys.js +1 -82
- package/lib/commonjs/storage/utils/lineDiff.js +1 -30
- package/lib/commonjs/storage/utils/mmkvAvailability.js +1 -62
- package/lib/commonjs/storage/utils/mmkvAvailability.web.js +1 -0
- package/lib/commonjs/storage/utils/mmkvTypeDetection.js +1 -154
- package/lib/commonjs/storage/utils/requiredStorageKeyScope.js +1 -17
- package/lib/commonjs/storage/utils/setStorageValue.js +1 -218
- package/lib/commonjs/storage/utils/snapshotProvider.js +1 -382
- package/lib/commonjs/storage/utils/storageActionHelpers.js +1 -46
- package/lib/commonjs/storage/utils/storageBrowserRefresh.js +1 -49
- package/lib/commonjs/storage/utils/storageLabels.js +1 -0
- package/lib/commonjs/storage/utils/storageLabels.web.js +1 -0
- package/lib/commonjs/storage/utils/storageOps.js +1 -53
- package/lib/commonjs/storage/utils/storageQueryUtils.js +1 -35
- package/lib/commonjs/storage/utils/storageTimeTravelUtils.js +1 -288
- package/lib/commonjs/storage/utils/valueType.js +1 -83
- package/lib/module/index.js +1 -112
- package/lib/module/preset.js +1 -76
- package/lib/module/storage/components/DiffViewer/TreeDiffViewer.js +1 -32
- package/lib/module/storage/components/DiffViewer/modes/ThemedSplitView.js +1 -9
- package/lib/module/storage/components/DiffViewer/themes/diffThemes.js +1 -10
- package/lib/module/storage/components/GameUIStorageBrowser.js +3 -1256
- package/lib/module/storage/components/MMKVInstanceInfoPanel.js +1 -253
- package/lib/module/storage/components/MMKVInstanceSelector.js +1 -414
- package/lib/module/storage/components/SelectionActionBar.js +1 -204
- package/lib/module/storage/components/StorageActionButtons.js +1 -237
- package/lib/module/storage/components/StorageBrowserMode.js +1 -57
- package/lib/module/storage/components/StorageEventActionButton.js +1 -118
- package/lib/module/storage/components/StorageEventCard.js +1 -112
- package/lib/module/storage/components/StorageEventDetailContent.js +1 -490
- package/lib/module/storage/components/StorageEventFilterView.js +1 -155
- package/lib/module/storage/components/StorageEventsSection.js +1 -20
- package/lib/module/storage/components/StorageFilterCards.js +1 -227
- package/lib/module/storage/components/StorageKeyCard.js +1 -517
- package/lib/module/storage/components/StorageKeyDetailScreen.js +1 -577
- package/lib/module/storage/components/StorageKeyRow.js +1 -554
- package/lib/module/storage/components/StorageKeySection.js +1 -155
- package/lib/module/storage/components/StorageKeyStats.js +1 -341
- package/lib/module/storage/components/StorageModalWithTabs.js +1 -949
- package/lib/module/storage/components/StorageSaveNotice.js +1 -168
- package/lib/module/storage/components/StorageSection.js +1 -40
- package/lib/module/storage/components/StorageTypeFilterBar.js +1 -138
- package/lib/module/storage/hooks/useAsyncStorageKeys.js +1 -136
- package/lib/module/storage/hooks/useMMKVInstances.js +1 -204
- package/lib/module/storage/hooks/useMMKVKeys.js +1 -371
- package/lib/module/storage/hooks/useSecureStoreKeys.js +1 -156
- package/lib/module/storage/hooks/useStorageEvents.js +1 -58
- package/lib/module/storage/stores/storageEventStore.js +1 -301
- package/lib/module/storage/sync/storageSyncAdapter.js +1 -474
- package/lib/module/storage/types.js +1 -3
- package/lib/module/storage/utils/AsyncStorageListener.js +1 -679
- package/lib/module/storage/utils/AsyncStorageListener.web.js +1 -0
- package/lib/module/storage/utils/MMKVInstanceRegistry.js +1 -197
- package/lib/module/storage/utils/MMKVListener.js +1 -403
- package/lib/module/storage/utils/SecureStoreRegistry.js +1 -194
- package/lib/module/storage/utils/asyncStorageCompat.js +1 -81
- package/lib/module/storage/utils/browserStorageLifecycle.js +1 -0
- package/lib/module/storage/utils/browserStorageLifecycle.web.js +1 -0
- package/lib/module/storage/utils/clearAllStorage.js +1 -43
- package/lib/module/storage/utils/deleteStorageKeys.js +1 -78
- package/lib/module/storage/utils/lineDiff.js +1 -12
- package/lib/module/storage/utils/mmkvAvailability.js +1 -56
- package/lib/module/storage/utils/mmkvAvailability.web.js +1 -0
- package/lib/module/storage/utils/mmkvTypeDetection.js +1 -148
- package/lib/module/storage/utils/requiredStorageKeyScope.js +1 -13
- package/lib/module/storage/utils/setStorageValue.js +1 -209
- package/lib/module/storage/utils/snapshotProvider.js +1 -380
- package/lib/module/storage/utils/storageActionHelpers.js +1 -42
- package/lib/module/storage/utils/storageBrowserRefresh.js +1 -44
- package/lib/module/storage/utils/storageLabels.js +1 -0
- package/lib/module/storage/utils/storageLabels.web.js +1 -0
- package/lib/module/storage/utils/storageOps.js +1 -46
- package/lib/module/storage/utils/storageQueryUtils.js +1 -30
- package/lib/module/storage/utils/storageTimeTravelUtils.js +1 -281
- package/lib/module/storage/utils/valueType.js +1 -76
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/storage/components/MMKVInstanceSelector.d.ts +0 -8
- package/lib/typescript/storage/components/StorageEventCard.d.ts +0 -7
- package/lib/typescript/storage/components/StorageKeyRow.d.ts +2 -6
- package/lib/typescript/storage/components/StorageTypeFilterBar.d.ts +0 -15
- package/lib/typescript/storage/hooks/useSecureStoreKeys.d.ts +2 -2
- package/lib/typescript/storage/sync/storageSyncAdapter.d.ts +7 -13
- package/lib/typescript/storage/utils/AsyncStorageListener.web.d.ts +24 -0
- package/lib/typescript/storage/utils/browserStorageLifecycle.d.ts +3 -0
- package/lib/typescript/storage/utils/browserStorageLifecycle.web.d.ts +2 -0
- package/lib/typescript/storage/utils/mmkvAvailability.web.d.ts +4 -0
- package/lib/typescript/storage/utils/storageLabels.d.ts +8 -0
- package/lib/typescript/storage/utils/storageLabels.web.d.ts +8 -0
- package/lib/web/index.mjs +4 -0
- package/package.json +40 -14
- package/lib/commonjs/storage/components/DiffViewer/DiffOptionsPanel.js +0 -356
- package/lib/commonjs/storage/components/DiffViewer/components/DiffSummary.js +0 -122
- package/lib/commonjs/storage/components/StorageKeyEditorScreen.js +0 -414
- package/lib/commonjs/storage/components/StorageScalarKeyEditor.js +0 -61
- package/lib/commonjs/storage/components/StorageValueEditModal.js +0 -24
- package/lib/commonjs/storage/hooks/useKeyEditor.js +0 -31
- package/lib/commonjs/storage/hooks/useTreeDraft.js +0 -25
- package/lib/module/storage/components/DiffViewer/DiffOptionsPanel.js +0 -352
- package/lib/module/storage/components/DiffViewer/components/DiffSummary.js +0 -118
- package/lib/module/storage/components/StorageKeyEditorScreen.js +0 -410
- package/lib/module/storage/components/StorageScalarKeyEditor.js +0 -57
- package/lib/module/storage/components/StorageValueEditModal.js +0 -20
- package/lib/module/storage/hooks/useKeyEditor.js +0 -27
- package/lib/module/storage/hooks/useTreeDraft.js +0 -21
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/preset.d.ts.map +0 -1
- package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts +0 -18
- package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts.map +0 -1
- package/lib/typescript/storage/components/DiffViewer/TreeDiffViewer.d.ts.map +0 -1
- package/lib/typescript/storage/components/DiffViewer/components/DiffSummary.d.ts +0 -12
- package/lib/typescript/storage/components/DiffViewer/components/DiffSummary.d.ts.map +0 -1
- package/lib/typescript/storage/components/DiffViewer/modes/ThemedSplitView.d.ts.map +0 -1
- package/lib/typescript/storage/components/DiffViewer/themes/diffThemes.d.ts.map +0 -1
- package/lib/typescript/storage/components/GameUIStorageBrowser.d.ts.map +0 -1
- package/lib/typescript/storage/components/MMKVInstanceInfoPanel.d.ts.map +0 -1
- package/lib/typescript/storage/components/MMKVInstanceSelector.d.ts.map +0 -1
- package/lib/typescript/storage/components/SelectionActionBar.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageActionButtons.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageBrowserMode.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageEventActionButton.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageEventCard.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageEventDetailContent.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageEventFilterView.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageEventsSection.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageFilterCards.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeyCard.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeyDetailScreen.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeyEditorScreen.d.ts +0 -42
- package/lib/typescript/storage/components/StorageKeyEditorScreen.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeyRow.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeySection.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageKeyStats.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageModalWithTabs.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageSaveNotice.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageScalarKeyEditor.d.ts +0 -24
- package/lib/typescript/storage/components/StorageScalarKeyEditor.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageSection.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageTypeFilterBar.d.ts.map +0 -1
- package/lib/typescript/storage/components/StorageValueEditModal.d.ts +0 -14
- package/lib/typescript/storage/components/StorageValueEditModal.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useAsyncStorageKeys.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useKeyEditor.d.ts +0 -27
- package/lib/typescript/storage/hooks/useKeyEditor.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useMMKVInstances.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useMMKVKeys.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useSecureStoreKeys.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useStorageEvents.d.ts.map +0 -1
- package/lib/typescript/storage/hooks/useTreeDraft.d.ts +0 -16
- package/lib/typescript/storage/hooks/useTreeDraft.d.ts.map +0 -1
- package/lib/typescript/storage/stores/storageEventStore.d.ts.map +0 -1
- package/lib/typescript/storage/sync/storageSyncAdapter.d.ts.map +0 -1
- package/lib/typescript/storage/types.d.ts.map +0 -1
- package/lib/typescript/storage/utils/AsyncStorageListener.d.ts.map +0 -1
- package/lib/typescript/storage/utils/MMKVInstanceRegistry.d.ts.map +0 -1
- package/lib/typescript/storage/utils/MMKVListener.d.ts.map +0 -1
- package/lib/typescript/storage/utils/SecureStoreRegistry.d.ts.map +0 -1
- package/lib/typescript/storage/utils/asyncStorageCompat.d.ts.map +0 -1
- package/lib/typescript/storage/utils/clearAllStorage.d.ts.map +0 -1
- package/lib/typescript/storage/utils/deleteStorageKeys.d.ts.map +0 -1
- package/lib/typescript/storage/utils/lineDiff.d.ts.map +0 -1
- package/lib/typescript/storage/utils/mmkvAvailability.d.ts.map +0 -1
- package/lib/typescript/storage/utils/mmkvTypeDetection.d.ts.map +0 -1
- package/lib/typescript/storage/utils/requiredStorageKeyScope.d.ts.map +0 -1
- package/lib/typescript/storage/utils/setStorageValue.d.ts.map +0 -1
- package/lib/typescript/storage/utils/snapshotProvider.d.ts.map +0 -1
- package/lib/typescript/storage/utils/storageActionHelpers.d.ts.map +0 -1
- package/lib/typescript/storage/utils/storageBrowserRefresh.d.ts.map +0 -1
- package/lib/typescript/storage/utils/storageOps.d.ts.map +0 -1
- package/lib/typescript/storage/utils/storageQueryUtils.d.ts.map +0 -1
- package/lib/typescript/storage/utils/storageTimeTravelUtils.d.ts.map +0 -1
- package/lib/typescript/storage/utils/valueType.d.ts.map +0 -1
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Editing a key, on a screen of its own.
|
|
5
|
-
*
|
|
6
|
-
* Editing used to happen inside the expanded card in the key list: a tree a few
|
|
7
|
-
* rows tall, an action bar wrapped onto three lines, and the rest of the list
|
|
8
|
-
* still scrolling underneath. Every control was competing for the same ~200px.
|
|
9
|
-
*
|
|
10
|
-
* So the card now offers ONE edit button and the actual work happens here, with
|
|
11
|
-
* the whole viewport: the tree gets the height, the six structural actions get
|
|
12
|
-
* thumb-sized tiles docked at the bottom where they're always in the same
|
|
13
|
-
* place, and manual JSON editing — the escape hatch, not the main path — moves
|
|
14
|
-
* to a single button in the top-right corner.
|
|
15
|
-
*
|
|
16
|
-
* Typing a value happens in a modal pinned to the top of the screen, over the
|
|
17
|
-
* tree rather than instead of it — see {@link StorageValueEditModal}.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
import { useMemo } from "react";
|
|
21
|
-
import { Alert, ScrollView, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
22
|
-
import { macOSColors, night, FileJson, PillBadge, ToolBackground, useSafeAreaInsets, X, monoFont } from "@buoy-gg/shared-ui";
|
|
23
|
-
import { DataViewer, DataTreeActionDock, getAtPath } from "@buoy-gg/shared-ui/dataViewer";
|
|
24
|
-
import { useKeyEditor } from "../hooks/useKeyEditor";
|
|
25
|
-
import { StorageValueEditModal } from "./StorageValueEditModal";
|
|
26
|
-
import { StorageScalarKeyEditor } from "./StorageScalarKeyEditor";
|
|
27
|
-
import { getStorageTypeLabel } from "../utils/storageQueryUtils";
|
|
28
|
-
import { parseStorageValue } from "../utils/valueType";
|
|
29
|
-
|
|
30
|
-
/** Props once the value has been un-stringified — see `parseStorageValue`. */
|
|
31
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
|
-
/**
|
|
33
|
-
* A container and a scalar are different editors, not one editor with a flag.
|
|
34
|
-
*
|
|
35
|
-
* A tree of one row is not a tree, so a scalar key skips the whole structural
|
|
36
|
-
* editor and gets just the value modal. Splitting here keeps each editor's
|
|
37
|
-
* state to what it actually needs — see {@link StorageScalarKeyEditor}.
|
|
38
|
-
*/
|
|
39
|
-
export function StorageKeyEditorScreen(props) {
|
|
40
|
-
// Memo justified: this is a JSON.parse of the whole stored value, and the
|
|
41
|
-
// browser underneath re-renders on every storage event the app emits.
|
|
42
|
-
const raw = props.storageKey.value;
|
|
43
|
-
const value = useMemo(() => parseStorageValue(raw), [raw]);
|
|
44
|
-
return value !== null && typeof value === "object" ? /*#__PURE__*/_jsx(StorageTreeEditor, {
|
|
45
|
-
...props,
|
|
46
|
-
value: value
|
|
47
|
-
}) : /*#__PURE__*/_jsx(StorageScalarKeyEditor, {
|
|
48
|
-
storageKey: props.storageKey,
|
|
49
|
-
value: value,
|
|
50
|
-
onSave: props.onSave,
|
|
51
|
-
onClose: props.onClose
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* ------------------------------------------------------------------ *
|
|
56
|
-
* Containers — tree + structural actions, buffered into a draft.
|
|
57
|
-
* ------------------------------------------------------------------ */
|
|
58
|
-
|
|
59
|
-
function StorageTreeEditor({
|
|
60
|
-
storageKey,
|
|
61
|
-
value,
|
|
62
|
-
onSave,
|
|
63
|
-
onClose,
|
|
64
|
-
applySafeAreaInset
|
|
65
|
-
}) {
|
|
66
|
-
const insets = useSafeAreaInsets();
|
|
67
|
-
const bottomInset = applySafeAreaInset ? insets.bottom : 0;
|
|
68
|
-
const editor = useKeyEditor({
|
|
69
|
-
value,
|
|
70
|
-
save: onSave,
|
|
71
|
-
onClose,
|
|
72
|
-
confirmDiscard: choices => Alert.alert("Unsaved changes", `"${storageKey.key}" has edits that haven't been written to the device.`, [{
|
|
73
|
-
text: "Keep editing",
|
|
74
|
-
style: "cancel"
|
|
75
|
-
}, {
|
|
76
|
-
text: "Discard",
|
|
77
|
-
style: "destructive",
|
|
78
|
-
onPress: choices.discard
|
|
79
|
-
}, {
|
|
80
|
-
text: "Save",
|
|
81
|
-
onPress: choices.save
|
|
82
|
-
}])
|
|
83
|
-
});
|
|
84
|
-
const {
|
|
85
|
-
draft,
|
|
86
|
-
selection,
|
|
87
|
-
valuePath
|
|
88
|
-
} = editor;
|
|
89
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
90
|
-
style: styles.screen,
|
|
91
|
-
children: [/*#__PURE__*/_jsx(ToolBackground, {}), /*#__PURE__*/_jsx(EditorHeader, {
|
|
92
|
-
storageKey: storageKey,
|
|
93
|
-
state: draft.isSaving ? "Saving…" : draft.isDirty ? "Draft · unsaved" : "In sync with device",
|
|
94
|
-
dirty: draft.isDirty,
|
|
95
|
-
onClose: editor.requestClose
|
|
96
|
-
// Manual editing of the WHOLE value — everything else on this screen is
|
|
97
|
-
// structural, so raw JSON gets a corner rather than a tile.
|
|
98
|
-
,
|
|
99
|
-
onRaw: editor.openRawEditor
|
|
100
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
101
|
-
style: styles.metaRow,
|
|
102
|
-
children: [/*#__PURE__*/_jsx(PillBadge, {
|
|
103
|
-
color: storageTypeColor(storageKey.storageType),
|
|
104
|
-
children: getStorageTypeLabel(storageKey.storageType)
|
|
105
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
106
|
-
style: styles.metaText,
|
|
107
|
-
children: summarize(draft.value)
|
|
108
|
-
})]
|
|
109
|
-
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
110
|
-
testID: "buoy-storage-editor-scroll",
|
|
111
|
-
style: styles.treeScroll,
|
|
112
|
-
contentContainerStyle: styles.treeContent,
|
|
113
|
-
keyboardShouldPersistTaps: "handled",
|
|
114
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
115
|
-
style: styles.treeCard,
|
|
116
|
-
children: /*#__PURE__*/_jsx(DataViewer, {
|
|
117
|
-
data: draft.value,
|
|
118
|
-
title: "",
|
|
119
|
-
rawMode: true,
|
|
120
|
-
initialExpanded: true
|
|
121
|
-
// Type filtering is a READING aid: the filtered view is a
|
|
122
|
-
// projection whose row paths don't address the real document, so
|
|
123
|
-
// the explorer stops reporting selection while one is active. An
|
|
124
|
-
// editor whose actions silently go dead isn't worth the filter.
|
|
125
|
-
,
|
|
126
|
-
showTypeFilter: false,
|
|
127
|
-
onSelectionChange: editor.setSelection,
|
|
128
|
-
selectPath: draft.selectPath
|
|
129
|
-
// Its own handle root: the card that opened this editor is still
|
|
130
|
-
// mounted underneath, rendering the same value in its preview tree.
|
|
131
|
-
,
|
|
132
|
-
testIDPrefix: "buoy-storage-editor-row",
|
|
133
|
-
onRequestInlineEdit: sel => editor.openValueEditor(sel.path)
|
|
134
|
-
})
|
|
135
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
136
|
-
style: styles.treeHint,
|
|
137
|
-
children: "Tap a row to select it \xB7 double-tap to edit its value"
|
|
138
|
-
})]
|
|
139
|
-
}), draft.error ? /*#__PURE__*/_jsx(Text, {
|
|
140
|
-
style: styles.error,
|
|
141
|
-
numberOfLines: 3,
|
|
142
|
-
children: draft.error
|
|
143
|
-
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
144
|
-
style: [styles.footer, {
|
|
145
|
-
paddingBottom: bottomInset
|
|
146
|
-
}],
|
|
147
|
-
children: [/*#__PURE__*/_jsx(DataTreeActionDock, {
|
|
148
|
-
root: draft.value,
|
|
149
|
-
selection: selection,
|
|
150
|
-
onEdit: draft.apply,
|
|
151
|
-
onSelectPath: draft.selectAt
|
|
152
|
-
// Booleans never reach this — the dock applies their flip directly.
|
|
153
|
-
,
|
|
154
|
-
onEditValue: () => editor.openValueEditor(selection?.path ?? [])
|
|
155
|
-
}), draft.isDirty ? /*#__PURE__*/_jsxs(View, {
|
|
156
|
-
style: styles.commitRow,
|
|
157
|
-
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
158
|
-
onPress: draft.discard,
|
|
159
|
-
disabled: draft.isSaving,
|
|
160
|
-
testID: "buoy-storage-editor-discard",
|
|
161
|
-
accessibilityRole: "button",
|
|
162
|
-
accessibilityLabel: "Discard changes",
|
|
163
|
-
style: styles.discardButton,
|
|
164
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
165
|
-
style: styles.discardText,
|
|
166
|
-
children: "Discard"
|
|
167
|
-
})
|
|
168
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
169
|
-
onPress: editor.saveAndClose,
|
|
170
|
-
disabled: draft.isSaving,
|
|
171
|
-
testID: "buoy-storage-editor-save",
|
|
172
|
-
accessibilityRole: "button",
|
|
173
|
-
accessibilityLabel: "Save changes",
|
|
174
|
-
style: [styles.saveButton, draft.isSaving && styles.saveDisabled],
|
|
175
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
176
|
-
style: styles.saveText,
|
|
177
|
-
children: draft.isSaving ? "Saving…" : "Save changes"
|
|
178
|
-
})
|
|
179
|
-
})]
|
|
180
|
-
}) : null]
|
|
181
|
-
}), valuePath ? /*#__PURE__*/_jsx(StorageValueEditModal, {
|
|
182
|
-
path: valuePath,
|
|
183
|
-
value: getAtPath(draft.value, valuePath),
|
|
184
|
-
onSave: editor.applyValue,
|
|
185
|
-
onCancel: editor.closeValueEditor
|
|
186
|
-
// It only reaches the draft here — the single write happens on Save.
|
|
187
|
-
,
|
|
188
|
-
saveLabel: "Apply"
|
|
189
|
-
}) : null]
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/* ------------------------------------------------------------------ *
|
|
194
|
-
* Shared pieces
|
|
195
|
-
* ------------------------------------------------------------------ */
|
|
196
|
-
|
|
197
|
-
function EditorHeader({
|
|
198
|
-
storageKey,
|
|
199
|
-
state,
|
|
200
|
-
dirty,
|
|
201
|
-
onClose,
|
|
202
|
-
onRaw
|
|
203
|
-
}) {
|
|
204
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
205
|
-
style: styles.header,
|
|
206
|
-
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
207
|
-
onPress: onClose,
|
|
208
|
-
testID: "buoy-storage-editor-close",
|
|
209
|
-
accessibilityRole: "button",
|
|
210
|
-
accessibilityLabel: "Close editor",
|
|
211
|
-
style: styles.headerButton,
|
|
212
|
-
hitSlop: {
|
|
213
|
-
top: 8,
|
|
214
|
-
bottom: 8,
|
|
215
|
-
left: 8,
|
|
216
|
-
right: 8
|
|
217
|
-
},
|
|
218
|
-
children: /*#__PURE__*/_jsx(X, {
|
|
219
|
-
size: 16,
|
|
220
|
-
color: night.color.textSecondary
|
|
221
|
-
})
|
|
222
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
223
|
-
style: styles.headerTitle,
|
|
224
|
-
children: [/*#__PURE__*/_jsx(Text
|
|
225
|
-
// Which key this editor is pointed at. Worth a handle of its own:
|
|
226
|
-
// the editor is reached by expanding a card in a list of hundreds,
|
|
227
|
-
// and opening it on the wrong one looks exactly like opening it on
|
|
228
|
-
// the right one until a write lands somewhere unexpected.
|
|
229
|
-
, {
|
|
230
|
-
testID: "buoy-storage-editor-key",
|
|
231
|
-
style: styles.headerKey,
|
|
232
|
-
numberOfLines: 1,
|
|
233
|
-
children: storageKey.key
|
|
234
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
235
|
-
style: [styles.headerState, dirty && styles.headerDirty],
|
|
236
|
-
children: state
|
|
237
|
-
})]
|
|
238
|
-
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
239
|
-
onPress: onRaw,
|
|
240
|
-
testID: "buoy-storage-editor-raw",
|
|
241
|
-
accessibilityRole: "button",
|
|
242
|
-
accessibilityLabel: "Edit raw JSON",
|
|
243
|
-
style: styles.headerButton,
|
|
244
|
-
hitSlop: {
|
|
245
|
-
top: 8,
|
|
246
|
-
bottom: 8,
|
|
247
|
-
left: 8,
|
|
248
|
-
right: 8
|
|
249
|
-
},
|
|
250
|
-
children: [/*#__PURE__*/_jsx(FileJson, {
|
|
251
|
-
size: 16,
|
|
252
|
-
color: night.color.accent
|
|
253
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
254
|
-
style: styles.headerRawText,
|
|
255
|
-
children: "Raw"
|
|
256
|
-
})]
|
|
257
|
-
})]
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/** `array · 3 items` — what the header says the draft currently is. */
|
|
262
|
-
function summarize(value) {
|
|
263
|
-
if (Array.isArray(value)) {
|
|
264
|
-
return `array · ${value.length} item${value.length === 1 ? "" : "s"}`;
|
|
265
|
-
}
|
|
266
|
-
if (value !== null && typeof value === "object") {
|
|
267
|
-
const n = Object.keys(value).length;
|
|
268
|
-
return `object · ${n} key${n === 1 ? "" : "s"}`;
|
|
269
|
-
}
|
|
270
|
-
return typeof value;
|
|
271
|
-
}
|
|
272
|
-
function storageTypeColor(storageType) {
|
|
273
|
-
switch (storageType) {
|
|
274
|
-
case "mmkv":
|
|
275
|
-
return macOSColors.semantic.info;
|
|
276
|
-
case "async":
|
|
277
|
-
return macOSColors.semantic.warning;
|
|
278
|
-
case "secure":
|
|
279
|
-
return macOSColors.semantic.success;
|
|
280
|
-
default:
|
|
281
|
-
return macOSColors.text.secondary;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
const styles = StyleSheet.create({
|
|
285
|
-
screen: {
|
|
286
|
-
flex: 1,
|
|
287
|
-
// Opaque on purpose: transparency here showed the whole key list through
|
|
288
|
-
// the editor, not just the sheet's star field. The screen paints its own
|
|
289
|
-
// ToolBackground instead — see the mount site above.
|
|
290
|
-
backgroundColor: night.color.bg
|
|
291
|
-
},
|
|
292
|
-
header: {
|
|
293
|
-
flexDirection: "row",
|
|
294
|
-
alignItems: "center",
|
|
295
|
-
gap: 8,
|
|
296
|
-
paddingHorizontal: 10,
|
|
297
|
-
paddingVertical: 8,
|
|
298
|
-
borderBottomWidth: 1,
|
|
299
|
-
borderBottomColor: night.color.border
|
|
300
|
-
},
|
|
301
|
-
headerButton: {
|
|
302
|
-
flexDirection: "row",
|
|
303
|
-
alignItems: "center",
|
|
304
|
-
gap: 4,
|
|
305
|
-
paddingVertical: 6,
|
|
306
|
-
paddingHorizontal: 4
|
|
307
|
-
},
|
|
308
|
-
headerRawText: {
|
|
309
|
-
color: night.color.accent,
|
|
310
|
-
fontSize: 12,
|
|
311
|
-
fontWeight: "700"
|
|
312
|
-
},
|
|
313
|
-
headerTitle: {
|
|
314
|
-
flex: 1,
|
|
315
|
-
alignItems: "center",
|
|
316
|
-
gap: 2
|
|
317
|
-
},
|
|
318
|
-
headerKey: {
|
|
319
|
-
color: night.color.text,
|
|
320
|
-
fontSize: 13,
|
|
321
|
-
fontWeight: "600",
|
|
322
|
-
fontFamily: monoFont
|
|
323
|
-
},
|
|
324
|
-
headerState: {
|
|
325
|
-
color: night.color.textTertiary,
|
|
326
|
-
fontSize: 10
|
|
327
|
-
},
|
|
328
|
-
headerDirty: {
|
|
329
|
-
color: night.color.warning
|
|
330
|
-
},
|
|
331
|
-
metaRow: {
|
|
332
|
-
flexDirection: "row",
|
|
333
|
-
alignItems: "center",
|
|
334
|
-
gap: 8,
|
|
335
|
-
paddingHorizontal: 12,
|
|
336
|
-
paddingVertical: 8
|
|
337
|
-
},
|
|
338
|
-
metaText: {
|
|
339
|
-
color: night.color.textTertiary,
|
|
340
|
-
fontSize: 11,
|
|
341
|
-
fontFamily: monoFont
|
|
342
|
-
},
|
|
343
|
-
treeScroll: {
|
|
344
|
-
flex: 1
|
|
345
|
-
},
|
|
346
|
-
treeContent: {
|
|
347
|
-
paddingHorizontal: 12,
|
|
348
|
-
paddingBottom: 16
|
|
349
|
-
},
|
|
350
|
-
treeCard: {
|
|
351
|
-
backgroundColor: night.color.surface,
|
|
352
|
-
borderRadius: 10,
|
|
353
|
-
borderWidth: 1,
|
|
354
|
-
borderColor: night.color.border,
|
|
355
|
-
padding: 6
|
|
356
|
-
},
|
|
357
|
-
treeHint: {
|
|
358
|
-
color: night.color.textTertiary,
|
|
359
|
-
fontSize: 10,
|
|
360
|
-
paddingTop: 8,
|
|
361
|
-
paddingHorizontal: 4
|
|
362
|
-
},
|
|
363
|
-
error: {
|
|
364
|
-
color: night.color.danger,
|
|
365
|
-
fontSize: 11,
|
|
366
|
-
fontFamily: monoFont,
|
|
367
|
-
paddingHorizontal: 12,
|
|
368
|
-
paddingBottom: 6
|
|
369
|
-
},
|
|
370
|
-
footer: {
|
|
371
|
-
backgroundColor: night.color.surface
|
|
372
|
-
},
|
|
373
|
-
commitRow: {
|
|
374
|
-
flexDirection: "row",
|
|
375
|
-
gap: 8,
|
|
376
|
-
paddingHorizontal: 10,
|
|
377
|
-
paddingBottom: 12,
|
|
378
|
-
paddingTop: 2
|
|
379
|
-
},
|
|
380
|
-
discardButton: {
|
|
381
|
-
flex: 1,
|
|
382
|
-
minHeight: 46,
|
|
383
|
-
alignItems: "center",
|
|
384
|
-
justifyContent: "center",
|
|
385
|
-
borderRadius: 12,
|
|
386
|
-
borderWidth: 1,
|
|
387
|
-
borderColor: night.color.border
|
|
388
|
-
},
|
|
389
|
-
discardText: {
|
|
390
|
-
color: night.color.textSecondary,
|
|
391
|
-
fontSize: 14,
|
|
392
|
-
fontWeight: "600"
|
|
393
|
-
},
|
|
394
|
-
saveButton: {
|
|
395
|
-
flex: 1.6,
|
|
396
|
-
minHeight: 46,
|
|
397
|
-
alignItems: "center",
|
|
398
|
-
justifyContent: "center",
|
|
399
|
-
borderRadius: 12,
|
|
400
|
-
backgroundColor: night.color.accent
|
|
401
|
-
},
|
|
402
|
-
saveDisabled: {
|
|
403
|
-
opacity: 0.5
|
|
404
|
-
},
|
|
405
|
-
saveText: {
|
|
406
|
-
color: night.color.onAccent,
|
|
407
|
-
fontSize: 15,
|
|
408
|
-
fontWeight: "700"
|
|
409
|
-
}
|
|
410
|
-
});
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Editing a key whose value is a single string, number or boolean.
|
|
5
|
-
*
|
|
6
|
-
* A tree of one row is not a tree, so there's nothing here to select, reorder
|
|
7
|
-
* or append to — which means none of the structural editor applies. And with
|
|
8
|
-
* one edit producing one write, there's nothing to buffer either: a draft would
|
|
9
|
-
* only add a step between typing the value and storing it.
|
|
10
|
-
*
|
|
11
|
-
* So this is just the value modal over whatever the user was looking at, on
|
|
12
|
-
* both the phone and the dashboard. Changing one string shouldn't black out the
|
|
13
|
-
* screen it came from.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
import { useCallback, useState } from "react";
|
|
17
|
-
import { Alert } from "react-native";
|
|
18
|
-
import { StorageValueEditModal } from "./StorageValueEditModal";
|
|
19
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
-
/**
|
|
21
|
-
* The text `setStorageValue` should store.
|
|
22
|
-
*
|
|
23
|
-
* A string is stored AS ITSELF — `JSON.stringify` here was adding quotes a
|
|
24
|
-
* plain string never had. AsyncStorage hid it (the browser reads values back
|
|
25
|
-
* through `JSON.parse`, so the tool agreed with itself) but the app's own
|
|
26
|
-
* `getItem` saw `"dark"` where it had written `dark`; MMKV stores strings
|
|
27
|
-
* natively and showed the quotes right in the row, compounding on every edit.
|
|
28
|
-
*
|
|
29
|
-
* Everything else keeps JSON: for a number or a boolean that IS its text, and
|
|
30
|
-
* containers never reach this editor.
|
|
31
|
-
*/
|
|
32
|
-
function serializeScalar(value) {
|
|
33
|
-
return typeof value === "string" ? value : JSON.stringify(value);
|
|
34
|
-
}
|
|
35
|
-
export function StorageScalarKeyEditor({
|
|
36
|
-
storageKey,
|
|
37
|
-
value,
|
|
38
|
-
onSave,
|
|
39
|
-
onClose
|
|
40
|
-
}) {
|
|
41
|
-
const [saving, setSaving] = useState(false);
|
|
42
|
-
const save = useCallback(next => {
|
|
43
|
-
if (saving) return;
|
|
44
|
-
setSaving(true);
|
|
45
|
-
onSave(serializeScalar(next)).then(onClose).catch(e => {
|
|
46
|
-
setSaving(false);
|
|
47
|
-
Alert.alert("Couldn't save", e instanceof Error ? e.message : String(e));
|
|
48
|
-
});
|
|
49
|
-
}, [onClose, onSave, saving]);
|
|
50
|
-
return /*#__PURE__*/_jsx(StorageValueEditModal, {
|
|
51
|
-
path: [storageKey.key],
|
|
52
|
-
value: value,
|
|
53
|
-
onSave: save,
|
|
54
|
-
onCancel: onClose,
|
|
55
|
-
busy: saving
|
|
56
|
-
});
|
|
57
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Storage's value-typing panel.
|
|
5
|
-
*
|
|
6
|
-
* The panel itself — top-pinned so the keyboard can't reach it, type preserved
|
|
7
|
-
* by construction, raw-JSON shape check — lives in shared-ui's
|
|
8
|
-
* {@link ValueEditModal}, shared with the Zustand store editor. This wrapper
|
|
9
|
-
* only pins storage's testID namespace so the Detox suite's handles
|
|
10
|
-
* (`buoy-storage-value-input`, `-save`, …) stay exactly what they were.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { ValueEditModal } from "@buoy-gg/shared-ui/dataViewer";
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
export function StorageValueEditModal(props) {
|
|
16
|
-
return /*#__PURE__*/_jsx(ValueEditModal, {
|
|
17
|
-
...props,
|
|
18
|
-
testIDPrefix: "buoy-storage-value"
|
|
19
|
-
});
|
|
20
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Storage's view of the shared tree editor.
|
|
5
|
-
*
|
|
6
|
-
* Everything editing a key involves — buffered draft, selection, value modal,
|
|
7
|
-
* dirty-close guard — lives in shared-ui's `useTreeEditor`, shared with the
|
|
8
|
-
* Zustand store editor so the two can't drift. Storage's single write takes
|
|
9
|
-
* the SERIALIZED value, so this wrapper is exactly the stringify.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { useMemo } from "react";
|
|
13
|
-
import { useTreeEditor } from "@buoy-gg/shared-ui/dataViewer";
|
|
14
|
-
export function useKeyEditor({
|
|
15
|
-
value,
|
|
16
|
-
save,
|
|
17
|
-
onClose,
|
|
18
|
-
confirmDiscard
|
|
19
|
-
}) {
|
|
20
|
-
const saveValue = useMemo(() => next => save(JSON.stringify(next)), [save]);
|
|
21
|
-
return useTreeEditor({
|
|
22
|
-
value,
|
|
23
|
-
save: saveValue,
|
|
24
|
-
onClose,
|
|
25
|
-
confirmDiscard
|
|
26
|
-
});
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Storage's view of the shared buffered tree draft.
|
|
5
|
-
*
|
|
6
|
-
* The draft itself lives in shared-ui (`useTreeDraft` there — one editor for
|
|
7
|
-
* storage keys and zustand stores, so the rules can't drift). Storage's write
|
|
8
|
-
* path takes the SERIALIZED value — `setItem(key, raw)` — so this wrapper is
|
|
9
|
-
* exactly the stringify.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { useMemo } from "react";
|
|
13
|
-
import { useTreeDraft as useSharedTreeDraft } from "@buoy-gg/shared-ui/dataViewer";
|
|
14
|
-
/**
|
|
15
|
-
* @param liveValue the value as storage currently holds it (already parsed)
|
|
16
|
-
* @param save persists the serialized draft; rejecting keeps edit mode open
|
|
17
|
-
*/
|
|
18
|
-
export function useTreeDraft(liveValue, save) {
|
|
19
|
-
const saveValue = useMemo(() => save ? value => save(JSON.stringify(value)) : undefined, [save]);
|
|
20
|
-
return useSharedTreeDraft(liveValue, saveValue);
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["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C;;;;;GAKG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;qBAKX;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;6BAGJ,kBAAkB,EAAE;;;CAGjD,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,iBAAiB;IAG1B,iDAAiD;0BAC3B,kBAAkB,EAAE;IAC1C,qCAAqC;kCACP,OAAO;;;;;;qBAtCtB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;6BAGJ,kBAAkB,EAAE;;;CAwClD,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type DiffCompareMethod = "chars" | "words" | "lines" | "trimmedLines";
|
|
2
|
-
export interface DiffOptions {
|
|
3
|
-
hideLineNumbers: boolean;
|
|
4
|
-
disableWordDiff: boolean;
|
|
5
|
-
showDiffOnly: boolean;
|
|
6
|
-
compareMethod: DiffCompareMethod;
|
|
7
|
-
contextLines: number;
|
|
8
|
-
lineOffset: number;
|
|
9
|
-
}
|
|
10
|
-
interface DiffOptionsPanelProps {
|
|
11
|
-
options: DiffOptions;
|
|
12
|
-
onOptionsChange: (options: DiffOptions) => void;
|
|
13
|
-
isExpanded: boolean;
|
|
14
|
-
onToggleExpanded: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare function DiffOptionsPanel({ options, onOptionsChange, isExpanded, onToggleExpanded, }: DiffOptionsPanelProps): import("react").JSX.Element;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=DiffOptionsPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiffOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/storage/components/DiffViewer/DiffOptionsPanel.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,CAAC;AAE7E,MAAM,WAAW,WAAW;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,iBAAiB,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,qBAAqB;IAC7B,OAAO,EAAE,WAAW,CAAC;IACrB,eAAe,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AA+BD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,eAAe,EACf,UAAU,EACV,gBAAgB,GACjB,EAAE,qBAAqB,+BAwMvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TreeDiffViewer.d.ts","sourceRoot":"","sources":["../../../../../src/storage/components/DiffViewer/TreeDiffViewer.tsx"],"names":[],"mappings":"AAIA,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB;8DAC0D;IAC1D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,aAAoB,GACrB,EAAE,mBAAmB,+BAWrB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ViewStyle } from "react-native";
|
|
2
|
-
import type { DiffTheme } from "../themes/diffThemes";
|
|
3
|
-
interface DiffSummaryProps {
|
|
4
|
-
added: number;
|
|
5
|
-
removed: number;
|
|
6
|
-
modified: number;
|
|
7
|
-
theme: DiffTheme;
|
|
8
|
-
style?: ViewStyle;
|
|
9
|
-
}
|
|
10
|
-
export declare function DiffSummary({ added, removed, modified, theme, style, }: DiffSummaryProps): import("react").JSX.Element | null;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=DiffSummary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiffSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/storage/components/DiffViewer/components/DiffSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,sCAiElB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedSplitView.d.ts","sourceRoot":"","sources":["../../../../../../src/storage/components/DiffViewer/modes/ThemedSplitView.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diffThemes.d.ts","sourceRoot":"","sources":["../../../../../../src/storage/components/DiffViewer/themes/diffThemes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACL,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GameUIStorageBrowser.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/GameUIStorageBrowser.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,gBAAgB,EACjB,MAAM,OAAO,CAAC;AAmBf,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAmB,MAAM,UAAU,CAAC;AAK/E,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AA4C9B;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,QAAmC,CAAC;AAEpE,UAAU,yBAAyB;IACjC,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;IACvD;;;;OAIG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,oBAAo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tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,UAAU,0BAA0B;IAClC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,GACX,EAAE,0BAA0B,+BA0F5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MMKVInstanceSelector.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/MMKVInstanceSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH,UAAU,yBAAyB;IACjC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,gBAAgB,EAChB,iBAAwB,GACzB,EAAE,yBAAyB,+BA2H3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionActionBar.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/SelectionActionBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,uBAAuB;IAC/B,4BAA4B;IAC5B,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,kCAAkC;IAClC,aAAa,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IACpD,yCAAyC;IACzC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,gEAAgE;IAChE,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC9C,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,mCAAmC;IACnC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,gBAAgB,GACjB,EAAE,uBAAuB,sCA6IzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageActionButtons.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageActionButtons.tsx"],"names":[],"mappings":"AAOA,UAAU,yBAAyB;IACjC,iCAAiC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IACrD,iBAAiB,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,uCAAuC;IACvC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wCAAwC;IACxC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,aAAkB,EAClB,iBAAyB,EACzB,eAAe,EACf,YAAoB,EACpB,kBAAkB,EAClB,aAAiB,GAClB,EAAE,yBAAyB,+BA0O3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageBrowserMode.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageBrowserMode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE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EAAE,OAAO,CAAC;IAC7B,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,yBAAyB,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9D;+BAC2B;IAC3B,SAAS,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,mBAAwB,EACxB,WAAmB,EACnB,eAA2B,EAC3B,eAAe,EACf,YAAY,EACZ,WAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,yBAAyB,EACzB,SAAS,EACT,SAAS,EACT,aAAa,GACd,EAAE,uBAAuB,+BA2BzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageEventActionButton.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventActionButton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;CAmBlB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,aAAa,CAAC;AAE3D,UAAU,6BAA6B;IACrC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,QAAgB,EAChB,MAAc,GACf,EAAE,6BAA6B,+BA8C/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageEventCard.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventCard.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,oCAAoC;AACpC,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,CAAC;AAEZ;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAU7D;AAED,MAAM,WAAW,oBAAoB;IACnC,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kCAAkC;IAClC,kBAAkB,EAAE,IAAI,CAAC;IACzB,uCAAuC;IACvC,YAAY,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;IACpC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC7B,4BAA4B;IAC5B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,sCAAsC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAsDD,eAAO,MAAM,gBAAgB,6DAgC3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageEventDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,C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EG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,YAAY,EACZ,kBAAsB,EACtB,kBAA6B,EAC7B,kBAAyB,GAC1B,EAAE;IACD,YAAY,EAAE,sBAAsB,CAAC;IACrC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,+BAmBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageEventFilterView.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventFilterView.tsx"],"names":[],"mappings":"AAYA,UAAU,2BAA2B;IACnC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,mBAAmB,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;IACtD,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC;CAClE;AAED,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,eAAe,EACf,YAAY,EACZ,aAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACpB,EAAE,2BAA2B,+BA4H7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageEventsSection.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventsSection.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,UAAc,GACf,EAAE,yBAAyB,+BAe3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StorageFilterCards.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageFilterCards.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,wBAAwB,CAAC;AAIhC,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,UAAU,uBAAuB;IAC/B,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;QACrB,eAAe,EAAE,MAAM,CAAC;QACxB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACrD,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;I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