@devraj-labs/rn-storage-kit 0.1.0

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.
Files changed (152) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +235 -0
  3. package/dist/debug/index.d.ts +3 -0
  4. package/dist/debug/index.d.ts.map +1 -0
  5. package/dist/debug/index.js +19 -0
  6. package/dist/debug/index.js.map +1 -0
  7. package/dist/debug/storage-debug-panel/index.d.ts +3 -0
  8. package/dist/debug/storage-debug-panel/index.d.ts.map +1 -0
  9. package/dist/debug/storage-debug-panel/index.js +19 -0
  10. package/dist/debug/storage-debug-panel/index.js.map +1 -0
  11. package/dist/debug/storage-debug-panel/storage-debug-panel-types.d.ts +4 -0
  12. package/dist/debug/storage-debug-panel/storage-debug-panel-types.d.ts.map +1 -0
  13. package/dist/debug/storage-debug-panel/storage-debug-panel-types.js +4 -0
  14. package/dist/debug/storage-debug-panel/storage-debug-panel-types.js.map +1 -0
  15. package/dist/debug/storage-debug-panel/storage-debug-panel.d.ts +3 -0
  16. package/dist/debug/storage-debug-panel/storage-debug-panel.d.ts.map +1 -0
  17. package/dist/debug/storage-debug-panel/storage-debug-panel.js +308 -0
  18. package/dist/debug/storage-debug-panel/storage-debug-panel.js.map +1 -0
  19. package/dist/debug/storage-debug-screen/debug-colors.d.ts +22 -0
  20. package/dist/debug/storage-debug-screen/debug-colors.d.ts.map +1 -0
  21. package/dist/debug/storage-debug-screen/debug-colors.js +25 -0
  22. package/dist/debug/storage-debug-screen/debug-colors.js.map +1 -0
  23. package/dist/debug/storage-debug-screen/debug-data-row/debug-data-row.d.ts +6 -0
  24. package/dist/debug/storage-debug-screen/debug-data-row/debug-data-row.d.ts.map +1 -0
  25. package/dist/debug/storage-debug-screen/debug-data-row/debug-data-row.js +83 -0
  26. package/dist/debug/storage-debug-screen/debug-data-row/debug-data-row.js.map +1 -0
  27. package/dist/debug/storage-debug-screen/debug-data-row/index.d.ts +2 -0
  28. package/dist/debug/storage-debug-screen/debug-data-row/index.d.ts.map +1 -0
  29. package/dist/debug/storage-debug-screen/debug-data-row/index.js +18 -0
  30. package/dist/debug/storage-debug-screen/debug-data-row/index.js.map +1 -0
  31. package/dist/debug/storage-debug-screen/debug-empty/debug-empty.d.ts +7 -0
  32. package/dist/debug/storage-debug-screen/debug-empty/debug-empty.d.ts.map +1 -0
  33. package/dist/debug/storage-debug-screen/debug-empty/debug-empty.js +17 -0
  34. package/dist/debug/storage-debug-screen/debug-empty/debug-empty.js.map +1 -0
  35. package/dist/debug/storage-debug-screen/debug-empty/index.d.ts +2 -0
  36. package/dist/debug/storage-debug-screen/debug-empty/index.d.ts.map +1 -0
  37. package/dist/debug/storage-debug-screen/debug-empty/index.js +18 -0
  38. package/dist/debug/storage-debug-screen/debug-empty/index.js.map +1 -0
  39. package/dist/debug/storage-debug-screen/debug-fab/debug-fab.d.ts +7 -0
  40. package/dist/debug/storage-debug-screen/debug-fab/debug-fab.d.ts.map +1 -0
  41. package/dist/debug/storage-debug-screen/debug-fab/debug-fab.js +21 -0
  42. package/dist/debug/storage-debug-screen/debug-fab/debug-fab.js.map +1 -0
  43. package/dist/debug/storage-debug-screen/debug-fab/index.d.ts +2 -0
  44. package/dist/debug/storage-debug-screen/debug-fab/index.d.ts.map +1 -0
  45. package/dist/debug/storage-debug-screen/debug-fab/index.js +18 -0
  46. package/dist/debug/storage-debug-screen/debug-fab/index.js.map +1 -0
  47. package/dist/debug/storage-debug-screen/debug-header/debug-header-types.d.ts +8 -0
  48. package/dist/debug/storage-debug-screen/debug-header/debug-header-types.d.ts.map +1 -0
  49. package/dist/debug/storage-debug-screen/debug-header/debug-header-types.js +3 -0
  50. package/dist/debug/storage-debug-screen/debug-header/debug-header-types.js.map +1 -0
  51. package/dist/debug/storage-debug-screen/debug-header/debug-header.d.ts +4 -0
  52. package/dist/debug/storage-debug-screen/debug-header/debug-header.d.ts.map +1 -0
  53. package/dist/debug/storage-debug-screen/debug-header/debug-header.js +27 -0
  54. package/dist/debug/storage-debug-screen/debug-header/debug-header.js.map +1 -0
  55. package/dist/debug/storage-debug-screen/debug-header/index.d.ts +3 -0
  56. package/dist/debug/storage-debug-screen/debug-header/index.d.ts.map +1 -0
  57. package/dist/debug/storage-debug-screen/debug-header/index.js +19 -0
  58. package/dist/debug/storage-debug-screen/debug-header/index.js.map +1 -0
  59. package/dist/debug/storage-debug-screen/debug-helpers/format-time.d.ts +2 -0
  60. package/dist/debug/storage-debug-screen/debug-helpers/format-time.d.ts.map +1 -0
  61. package/dist/debug/storage-debug-screen/debug-helpers/format-time.js +12 -0
  62. package/dist/debug/storage-debug-screen/debug-helpers/format-time.js.map +1 -0
  63. package/dist/debug/storage-debug-screen/debug-helpers/index.d.ts +3 -0
  64. package/dist/debug/storage-debug-screen/debug-helpers/index.d.ts.map +1 -0
  65. package/dist/debug/storage-debug-screen/debug-helpers/index.js +19 -0
  66. package/dist/debug/storage-debug-screen/debug-helpers/index.js.map +1 -0
  67. package/dist/debug/storage-debug-screen/debug-helpers/read-mmkv-data.d.ts +4 -0
  68. package/dist/debug/storage-debug-screen/debug-helpers/read-mmkv-data.d.ts.map +1 -0
  69. package/dist/debug/storage-debug-screen/debug-helpers/read-mmkv-data.js +29 -0
  70. package/dist/debug/storage-debug-screen/debug-helpers/read-mmkv-data.js.map +1 -0
  71. package/dist/debug/storage-debug-screen/debug-log-row/debug-log-row.d.ts +9 -0
  72. package/dist/debug/storage-debug-screen/debug-log-row/debug-log-row.d.ts.map +1 -0
  73. package/dist/debug/storage-debug-screen/debug-log-row/debug-log-row.js +120 -0
  74. package/dist/debug/storage-debug-screen/debug-log-row/debug-log-row.js.map +1 -0
  75. package/dist/debug/storage-debug-screen/debug-log-row/index.d.ts +2 -0
  76. package/dist/debug/storage-debug-screen/debug-log-row/index.d.ts.map +1 -0
  77. package/dist/debug/storage-debug-screen/debug-log-row/index.js +18 -0
  78. package/dist/debug/storage-debug-screen/debug-log-row/index.js.map +1 -0
  79. package/dist/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.d.ts +6 -0
  80. package/dist/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.d.ts.map +1 -0
  81. package/dist/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.js +51 -0
  82. package/dist/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.js.map +1 -0
  83. package/dist/debug/storage-debug-screen/debug-tab-bar/index.d.ts +2 -0
  84. package/dist/debug/storage-debug-screen/debug-tab-bar/index.d.ts.map +1 -0
  85. package/dist/debug/storage-debug-screen/debug-tab-bar/index.js +18 -0
  86. package/dist/debug/storage-debug-screen/debug-tab-bar/index.js.map +1 -0
  87. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.d.ts +10 -0
  88. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.d.ts.map +1 -0
  89. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.js +3 -0
  90. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.js.map +1 -0
  91. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar.d.ts +4 -0
  92. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar.d.ts.map +1 -0
  93. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar.js +22 -0
  94. package/dist/debug/storage-debug-screen/debug-toolbar/debug-toolbar.js.map +1 -0
  95. package/dist/debug/storage-debug-screen/debug-toolbar/index.d.ts +3 -0
  96. package/dist/debug/storage-debug-screen/debug-toolbar/index.d.ts.map +1 -0
  97. package/dist/debug/storage-debug-screen/debug-toolbar/index.js +19 -0
  98. package/dist/debug/storage-debug-screen/debug-toolbar/index.js.map +1 -0
  99. package/dist/debug/storage-debug-screen/index.d.ts +4 -0
  100. package/dist/debug/storage-debug-screen/index.d.ts.map +1 -0
  101. package/dist/debug/storage-debug-screen/index.js +20 -0
  102. package/dist/debug/storage-debug-screen/index.js.map +1 -0
  103. package/dist/debug/storage-debug-screen/storage-debug-screen-types.d.ts +11 -0
  104. package/dist/debug/storage-debug-screen/storage-debug-screen-types.d.ts.map +1 -0
  105. package/dist/debug/storage-debug-screen/storage-debug-screen-types.js +3 -0
  106. package/dist/debug/storage-debug-screen/storage-debug-screen-types.js.map +1 -0
  107. package/dist/debug/storage-debug-screen/storage-debug-screen.d.ts +5 -0
  108. package/dist/debug/storage-debug-screen/storage-debug-screen.d.ts.map +1 -0
  109. package/dist/debug/storage-debug-screen/storage-debug-screen.js +140 -0
  110. package/dist/debug/storage-debug-screen/storage-debug-screen.js.map +1 -0
  111. package/dist/index.d.ts +6 -0
  112. package/dist/index.d.ts.map +1 -0
  113. package/dist/index.js +26 -0
  114. package/dist/index.js.map +1 -0
  115. package/dist/logger/index.d.ts +3 -0
  116. package/dist/logger/index.d.ts.map +1 -0
  117. package/dist/logger/index.js +19 -0
  118. package/dist/logger/index.js.map +1 -0
  119. package/dist/logger/logger-types.d.ts +29 -0
  120. package/dist/logger/logger-types.d.ts.map +1 -0
  121. package/dist/logger/logger-types.js +5 -0
  122. package/dist/logger/logger-types.js.map +1 -0
  123. package/dist/logger/logger.d.ts +10 -0
  124. package/dist/logger/logger.d.ts.map +1 -0
  125. package/dist/logger/logger.js +151 -0
  126. package/dist/logger/logger.js.map +1 -0
  127. package/dist/mmkv-storage/index.d.ts +2 -0
  128. package/dist/mmkv-storage/index.d.ts.map +1 -0
  129. package/dist/mmkv-storage/index.js +18 -0
  130. package/dist/mmkv-storage/index.js.map +1 -0
  131. package/dist/mmkv-storage/mmkv-storage.d.ts +11 -0
  132. package/dist/mmkv-storage/mmkv-storage.d.ts.map +1 -0
  133. package/dist/mmkv-storage/mmkv-storage.js +156 -0
  134. package/dist/mmkv-storage/mmkv-storage.js.map +1 -0
  135. package/dist/secure-storage/index.d.ts +2 -0
  136. package/dist/secure-storage/index.d.ts.map +1 -0
  137. package/dist/secure-storage/index.js +18 -0
  138. package/dist/secure-storage/index.js.map +1 -0
  139. package/dist/secure-storage/secure-storage.d.ts +9 -0
  140. package/dist/secure-storage/secure-storage.d.ts.map +1 -0
  141. package/dist/secure-storage/secure-storage.js +225 -0
  142. package/dist/secure-storage/secure-storage.js.map +1 -0
  143. package/dist/types/index.d.ts +2 -0
  144. package/dist/types/index.d.ts.map +1 -0
  145. package/dist/types/index.js +18 -0
  146. package/dist/types/index.js.map +1 -0
  147. package/dist/types/storage-adapter-types.d.ts +8 -0
  148. package/dist/types/storage-adapter-types.d.ts.map +1 -0
  149. package/dist/types/storage-adapter-types.js +3 -0
  150. package/dist/types/storage-adapter-types.js.map +1 -0
  151. package/package.json +63 -0
  152. package/src/index.ts +12 -0
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DebugLogRow = void 0;
37
+ const vajra_ui_core_1 = require("@devraj-labs/vajra-ui-core");
38
+ const react_1 = __importStar(require("react"));
39
+ const react_native_1 = require("react-native");
40
+ const debug_colors_1 = require("../debug-colors");
41
+ const debug_helpers_1 = require("../debug-helpers");
42
+ function DebugLogRowComponent({ item }) {
43
+ const [expanded, setExpanded] = (0, react_1.useState)(false);
44
+ const [copied, setCopied] = (0, react_1.useState)(false);
45
+ const isError = Boolean(item.error);
46
+ const isSecure = item.secure;
47
+ const accentColor = isError ? debug_colors_1.DC.red : isSecure ? debug_colors_1.DC.purple : debug_colors_1.DC.teal;
48
+ const copyAll = () => {
49
+ const parts = [
50
+ `adapter: ${item.adapter}`,
51
+ `operation: ${item.operation}`,
52
+ `time: ${(0, debug_helpers_1.formatTime)(item.timestamp)}`,
53
+ `duration: ${item.durationMs}ms`,
54
+ ];
55
+ if (item.key)
56
+ parts.push(`key: ${item.key}`);
57
+ if (item.value)
58
+ parts.push(`value: ${item.value}`);
59
+ if (item.result !== undefined && item.result !== null)
60
+ parts.push(`result: ${item.result}`);
61
+ if (item.error)
62
+ parts.push(`error: ${item.error}`);
63
+ react_native_1.Clipboard.setString(parts.join('\n'));
64
+ setCopied(true);
65
+ setTimeout(() => setCopied(false), 1500);
66
+ };
67
+ return (<vajra_ui_core_1.CorePressable bg={debug_colors_1.DC.surface} rounded={8} p={10} mb={6} borderLeftWidth={3} borderColor={accentColor} onPress={() => setExpanded((v) => !v)}>
68
+
69
+ <vajra_ui_core_1.Row align="center" gap={6} mb={4} wrap="wrap">
70
+ <vajra_ui_core_1.Box bg={isSecure ? debug_colors_1.DC.badgeSecure : debug_colors_1.DC.badgeMMKV} rounded={4} px={6} py={2}>
71
+ <vajra_ui_core_1.CoreText fontSize={9} fontWeight="700" color={debug_colors_1.DC.white} style={{ fontFamily: 'monospace' }}>
72
+ {item.adapter.toUpperCase()}
73
+ </vajra_ui_core_1.CoreText>
74
+ </vajra_ui_core_1.Box>
75
+ <vajra_ui_core_1.CoreText fontSize={13} fontWeight="700" color={accentColor} style={{ fontFamily: 'monospace', flex: 1 }}>
76
+ {item.operation}
77
+ </vajra_ui_core_1.CoreText>
78
+ {isSecure && (<vajra_ui_core_1.Box bg={debug_colors_1.DC.lockBg} rounded={4} px={5} py={2} borderWidth={1} borderColor={debug_colors_1.DC.lockBorder}>
79
+ <vajra_ui_core_1.CoreText fontSize={9} color={debug_colors_1.DC.purple} style={{ fontFamily: 'monospace' }}>secure</vajra_ui_core_1.CoreText>
80
+ </vajra_ui_core_1.Box>)}
81
+ <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.meta} style={{ fontFamily: 'monospace' }}>{item.durationMs}ms</vajra_ui_core_1.CoreText>
82
+ <vajra_ui_core_1.CoreText fontSize={10} color={debug_colors_1.DC.faint} style={{ fontFamily: 'monospace' }}>{(0, debug_helpers_1.formatTime)(item.timestamp)}</vajra_ui_core_1.CoreText>
83
+ <vajra_ui_core_1.CorePressable onPress={copyAll} bg={debug_colors_1.DC.faint} rounded={4} px={6} py={2}>
84
+ <vajra_ui_core_1.CoreText fontSize={9} color={copied ? debug_colors_1.DC.teal : debug_colors_1.DC.meta} fontWeight="600">
85
+ {copied ? 'copied!' : 'copy'}
86
+ </vajra_ui_core_1.CoreText>
87
+ </vajra_ui_core_1.CorePressable>
88
+ </vajra_ui_core_1.Row>
89
+
90
+ {item.key ? (<vajra_ui_core_1.Box mt={2}>
91
+ <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.meta} style={{ fontFamily: 'monospace' }} numberOfLines={expanded ? undefined : 1}>
92
+ key: <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.mid}>{item.key}</vajra_ui_core_1.CoreText>
93
+ </vajra_ui_core_1.CoreText>
94
+ </vajra_ui_core_1.Box>) : null}
95
+
96
+ {item.value ? (<vajra_ui_core_1.Box mt={2}>
97
+ <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.meta} style={{ fontFamily: 'monospace' }} numberOfLines={expanded ? undefined : 2}>
98
+ value: <vajra_ui_core_1.CoreText fontSize={11} color={isSecure ? debug_colors_1.DC.purple : debug_colors_1.DC.mid} style={isSecure ? { letterSpacing: 2 } : undefined}>{item.value}</vajra_ui_core_1.CoreText>
99
+ </vajra_ui_core_1.CoreText>
100
+ </vajra_ui_core_1.Box>) : null}
101
+
102
+ {item.result !== undefined && item.result !== null ? (<vajra_ui_core_1.Box mt={2}>
103
+ <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.meta} style={{ fontFamily: 'monospace' }} numberOfLines={expanded ? undefined : 2}>
104
+ result: <vajra_ui_core_1.CoreText fontSize={11} color={isSecure ? debug_colors_1.DC.purple : debug_colors_1.DC.mid} style={isSecure ? { letterSpacing: 2 } : undefined}>{item.result}</vajra_ui_core_1.CoreText>
105
+ </vajra_ui_core_1.CoreText>
106
+ </vajra_ui_core_1.Box>) : null}
107
+
108
+ {isError ? (<vajra_ui_core_1.Box mt={4}>
109
+ <vajra_ui_core_1.CoreText fontSize={11} color={debug_colors_1.DC.red} style={{ fontFamily: 'monospace' }} numberOfLines={expanded ? undefined : 3}>
110
+ {item.error}
111
+ </vajra_ui_core_1.CoreText>
112
+ </vajra_ui_core_1.Box>) : null}
113
+
114
+ <vajra_ui_core_1.Box mt={4}>
115
+ <vajra_ui_core_1.CoreText fontSize={10} color={debug_colors_1.DC.faint}>{expanded ? '▲ collapse' : '▼ expand'}</vajra_ui_core_1.CoreText>
116
+ </vajra_ui_core_1.Box>
117
+ </vajra_ui_core_1.CorePressable>);
118
+ }
119
+ exports.DebugLogRow = (0, react_1.memo)(DebugLogRowComponent);
120
+ //# sourceMappingURL=debug-log-row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-log-row.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-log-row/debug-log-row.tsx"],"names":[],"mappings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AAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,wBAAQ,CAC3F;MAAA,EAAE,mBAAG,CACP;IAAA,EAAE,6BAAa,CAAC,CACjB,CAAC;AACJ,CAAC;AAEY,QAAA,WAAW,GAAG,IAAA,YAAI,EAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './debug-log-row';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-log-row/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./debug-log-row"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-log-row/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { TTabBarProps } from '../storage-debug-screen-types';
3
+ declare function DebugTabBarComponent({ active, onChange }: TTabBarProps): React.JSX.Element;
4
+ export declare const DebugTabBar: React.MemoExoticComponent<typeof DebugTabBarComponent>;
5
+ export {};
6
+ //# sourceMappingURL=debug-tab-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-tab-bar.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAe,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAa,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAIxE,iBAAS,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,YAAY,qBAuB/D;AAED,eAAO,MAAM,WAAW,wDAA6B,CAAC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DebugTabBar = void 0;
37
+ const vajra_ui_core_1 = require("@devraj-labs/vajra-ui-core");
38
+ const react_1 = __importStar(require("react"));
39
+ const debug_colors_1 = require("../debug-colors");
40
+ const TABS = ['data', 'logs'];
41
+ function DebugTabBarComponent({ active, onChange }) {
42
+ return (<vajra_ui_core_1.Row borderBottomWidth={1} borderColor={debug_colors_1.DC.border}>
43
+ {TABS.map((t) => (<vajra_ui_core_1.CorePressable key={t} flex={1} py={10} align="center" borderBottomWidth={active === t ? 2 : 0} borderColor={active === t ? debug_colors_1.DC.teal : 'transparent'} onPress={() => onChange(t)}>
44
+ <vajra_ui_core_1.CoreText fontSize={12} fontWeight="600" color={active === t ? debug_colors_1.DC.teal : debug_colors_1.DC.dim} style={{ fontFamily: 'monospace' }}>
45
+ {t === 'data' ? 'MMKV Data' : 'Logs'}
46
+ </vajra_ui_core_1.CoreText>
47
+ </vajra_ui_core_1.CorePressable>))}
48
+ </vajra_ui_core_1.Row>);
49
+ }
50
+ exports.DebugTabBar = (0, react_1.memo)(DebugTabBarComponent);
51
+ //# sourceMappingURL=debug-tab-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-tab-bar.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-tab-bar/debug-tab-bar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA0E;AAC1E,+CAAoC;AACpC,kDAAqC;AAGrC,MAAM,IAAI,GAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3C,SAAS,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAgB;IAC9D,OAAO,CACL,CAAC,mBAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,iBAAE,CAAC,MAAM,CAAC,CAChD;MAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACf,CAAC,6BAAa,CACZ,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,IAAI,CAAC,CAAC,CAAC,CAAC,CACR,EAAE,CAAC,CAAC,EAAE,CAAC,CACP,KAAK,CAAC,QAAQ,CACd,iBAAiB,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACxC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,iBAAE,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CACpD,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAC3B;UAAA,CAAC,wBAAQ,CACP,QAAQ,CAAC,CAAC,EAAE,CAAC,CACb,UAAU,CAAC,KAAK,CAChB,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,iBAAE,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAE,CAAC,GAAG,CAAC,CACvC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC,CACnC;YAAA,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CACtC;UAAA,EAAE,wBAAQ,CACZ;QAAA,EAAE,6BAAa,CAAC,CACjB,CAAC,CACJ;IAAA,EAAE,mBAAG,CAAC,CACP,CAAC;AACJ,CAAC;AAEY,QAAA,WAAW,GAAG,IAAA,YAAI,EAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './debug-tab-bar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-tab-bar/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./debug-tab-bar"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-tab-bar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
@@ -0,0 +1,10 @@
1
+ import { TDebugTab, TSortOrder } from '../storage-debug-screen-types';
2
+ export type TDebugToolbarProps = {
3
+ activeTab: TDebugTab;
4
+ search: string;
5
+ sort: TSortOrder;
6
+ onSearch: (text: string) => void;
7
+ onToggleSort: () => void;
8
+ onRefresh: () => void;
9
+ };
10
+ //# sourceMappingURL=debug-toolbar-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-toolbar-types.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=debug-toolbar-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-toolbar-types.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/debug-toolbar-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TDebugToolbarProps } from './debug-toolbar-types';
3
+ export declare function DebugToolbar({ activeTab, search, sort, onSearch, onToggleSort, onRefresh }: TDebugToolbarProps): React.JSX.Element;
4
+ //# sourceMappingURL=debug-toolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/debug-toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,kBAAkB,qBAqC9G"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DebugToolbar = DebugToolbar;
7
+ const vajra_ui_core_1 = require("@devraj-labs/vajra-ui-core");
8
+ const react_1 = __importDefault(require("react"));
9
+ const debug_colors_1 = require("../debug-colors");
10
+ function DebugToolbar({ activeTab, search, sort, onSearch, onToggleSort, onRefresh }) {
11
+ return (<vajra_ui_core_1.Row gap={8} px={10} py={8} borderBottomWidth={1} borderColor={debug_colors_1.DC.border} align="center">
12
+ <vajra_ui_core_1.Box flex={1}>
13
+ <vajra_ui_core_1.CoreTextInput bg={debug_colors_1.DC.surface} color={debug_colors_1.DC.mid} rounded={8} px={10} py={7} fontSize={12} borderWidth={1} borderColor={debug_colors_1.DC.border} placeholderColor={debug_colors_1.DC.dim} placeholder={activeTab === 'logs' ? 'Search key, op, error…' : 'Search key or value…'} value={search} onChangeText={onSearch} autoCapitalize="none" autoCorrect={false} clearButtonMode="while-editing" style={{ fontFamily: 'monospace' }}/>
14
+ </vajra_ui_core_1.Box>
15
+ <vajra_ui_core_1.CorePressable onPress={activeTab === 'logs' ? onToggleSort : onRefresh} bg={debug_colors_1.DC.surface} rounded={8} borderWidth={1} borderColor={debug_colors_1.DC.border} px={10} py={7}>
16
+ <vajra_ui_core_1.CoreText fontSize={11} fontWeight="600" color={debug_colors_1.DC.teal} style={{ fontFamily: 'monospace' }}>
17
+ {activeTab === 'logs' ? (sort === 'newest' ? '↓ Newest' : '↑ Oldest') : '↺ Refresh'}
18
+ </vajra_ui_core_1.CoreText>
19
+ </vajra_ui_core_1.CorePressable>
20
+ </vajra_ui_core_1.Row>);
21
+ }
22
+ //# sourceMappingURL=debug-toolbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-toolbar.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/debug-toolbar.tsx"],"names":[],"mappings":";;;;;AAKA,oCAqCC;AA1CD,8DAA8F;AAC9F,kDAA0B;AAC1B,kDAAqC;AAGrC,SAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAsB;IAC7G,OAAO,CACL,CAAC,mBAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,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,CAAC,iBAAE,CAAC,MAAM,CAAC,CACvB,EAAE,CAAC,CAAC,EAAE,CAAC,CACP,EAAE,CAAC,CAAC,CAAC,CAAC,CACN;QAAA,CAAC,wBAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,iBAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC,CAC1F;UAAA,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAW,CACrF;QAAA,EAAE,wBAAQ,CACZ;MAAA,EAAE,6BAAa,CACjB;IAAA,EAAE,mBAAG,CAAC,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './debug-toolbar';
2
+ export * from './debug-toolbar-types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./debug-toolbar"), exports);
18
+ __exportStar(require("./debug-toolbar-types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/debug/storage-debug-screen/debug-toolbar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,wDAAsC"}
@@ -0,0 +1,4 @@
1
+ export * from './debug-colors';
2
+ export * from './storage-debug-screen';
3
+ export * from './storage-debug-screen-types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./debug-colors"), exports);
18
+ __exportStar(require("./storage-debug-screen"), exports);
19
+ __exportStar(require("./storage-debug-screen-types"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,yDAAuC;AACvC,+DAA6C"}
@@ -0,0 +1,11 @@
1
+ export type TDebugTab = 'data' | 'logs';
2
+ export type TSortOrder = 'newest' | 'oldest';
3
+ export type TDataRowProps = {
4
+ itemKey: string;
5
+ value: string;
6
+ };
7
+ export type TTabBarProps = {
8
+ active: TDebugTab;
9
+ onChange: (tab: TDebugTab) => void;
10
+ };
11
+ //# sourceMappingURL=storage-debug-screen-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-debug-screen-types.d.ts","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/storage-debug-screen-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AACxC,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE7C,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;CACpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=storage-debug-screen-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-debug-screen-types.js","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/storage-debug-screen-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const openStorageDebug: () => void | undefined;
3
+ export declare const StorageDebugScreen: React.NamedExoticComponent<{}>;
4
+ export declare const StorageDebugFab: React.NamedExoticComponent<{}>;
5
+ //# sourceMappingURL=storage-debug-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-debug-screen.d.ts","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/storage-debug-screen.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAmB/E,eAAO,MAAM,gBAAgB,wBAAuB,CAAC;AA4HrD,eAAO,MAAM,kBAAkB,gCAAoC,CAAC;AAOpE,eAAO,MAAM,eAAe,gCAAiC,CAAC"}
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.StorageDebugFab = exports.StorageDebugScreen = exports.openStorageDebug = void 0;
37
+ const vajra_ui_core_1 = require("@devraj-labs/vajra-ui-core");
38
+ const react_1 = __importStar(require("react"));
39
+ const react_native_1 = require("react-native");
40
+ const react_native_mmkv_1 = require("react-native-mmkv");
41
+ const logger_1 = require("../../logger/logger");
42
+ const debug_colors_1 = require("./debug-colors");
43
+ const debug_data_row_1 = require("./debug-data-row");
44
+ const debug_empty_1 = require("./debug-empty");
45
+ const debug_fab_1 = require("./debug-fab");
46
+ const debug_header_1 = require("./debug-header");
47
+ const debug_helpers_1 = require("./debug-helpers");
48
+ const debug_log_row_1 = require("./debug-log-row");
49
+ const debug_tab_bar_1 = require("./debug-tab-bar");
50
+ const debug_toolbar_1 = require("./debug-toolbar");
51
+ // Module-level open signal — lets StorageDebugFab trigger StorageDebugScreen
52
+ // without shared React state or context. Both are siblings in the tree.
53
+ let _openDebug = null;
54
+ const openStorageDebug = () => _openDebug === null || _openDebug === void 0 ? void 0 : _openDebug();
55
+ exports.openStorageDebug = openStorageDebug;
56
+ const StorageDebugScreenComponent = () => {
57
+ if (!__DEV__)
58
+ return null;
59
+ const [visible, setVisible] = (0, react_1.useState)(false);
60
+ const [activeTab, setActiveTab] = (0, react_1.useState)('logs');
61
+ const [logs, setLogs] = (0, react_1.useState)(() => (0, logger_1.getLogs)());
62
+ const [mmkvData, setMmkvData] = (0, react_1.useState)({});
63
+ const [search, setSearch] = (0, react_1.useState)('');
64
+ const [sort, setSort] = (0, react_1.useState)('newest');
65
+ (0, react_1.useEffect)(() => {
66
+ _openDebug = () => setVisible(true);
67
+ return () => { _openDebug = null; };
68
+ }, []);
69
+ (0, react_1.useEffect)(() => {
70
+ const handler = () => setLogs((0, logger_1.getLogs)());
71
+ (0, logger_1.onNewLog)(handler);
72
+ return () => (0, logger_1.offNewLog)(handler);
73
+ }, []);
74
+ (0, react_1.useEffect)(() => {
75
+ if (visible && activeTab === 'data') {
76
+ setMmkvData((0, debug_helpers_1.readMmkvData)());
77
+ }
78
+ }, [visible, activeTab]);
79
+ const filteredLogs = (0, react_1.useMemo)(() => {
80
+ let result = logs;
81
+ if (search.trim()) {
82
+ const q = search.toLowerCase();
83
+ result = result.filter((e) => {
84
+ var _a, _b;
85
+ return ((_a = e.key) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(q)) ||
86
+ e.operation.toLowerCase().includes(q) ||
87
+ e.adapter.toLowerCase().includes(q) ||
88
+ ((_b = e.error) === null || _b === void 0 ? void 0 : _b.toLowerCase().includes(q));
89
+ });
90
+ }
91
+ return sort === 'oldest' ? [...result].reverse() : result;
92
+ }, [logs, search, sort]);
93
+ const filteredDataEntries = (0, react_1.useMemo)(() => {
94
+ const entries = Object.entries(mmkvData);
95
+ if (!search.trim())
96
+ return entries;
97
+ const q = search.toLowerCase();
98
+ return entries.filter(([k, v]) => k.toLowerCase().includes(q) || v.toLowerCase().includes(q));
99
+ }, [mmkvData, search]);
100
+ const handleClearLogs = (0, react_1.useCallback)(() => {
101
+ (0, logger_1.clearLogs)();
102
+ setLogs([]);
103
+ }, []);
104
+ const handleClearMmkv = (0, react_1.useCallback)(() => {
105
+ for (const id of debug_helpers_1.ALL_MMKV_IDS) {
106
+ try {
107
+ new react_native_mmkv_1.MMKV({ id }).clearAll();
108
+ }
109
+ catch (_e) { /* ignore */ }
110
+ }
111
+ setMmkvData({});
112
+ }, []);
113
+ const toggleSort = (0, react_1.useCallback)(() => {
114
+ setSort((s) => (s === 'newest' ? 'oldest' : 'newest'));
115
+ }, []);
116
+ const refreshData = (0, react_1.useCallback)(() => {
117
+ setMmkvData((0, debug_helpers_1.readMmkvData)());
118
+ }, []);
119
+ return (<react_native_1.Modal visible={visible} animationType="slide" transparent onRequestClose={() => setVisible(false)}>
120
+ <vajra_ui_core_1.Box flex={1} justify="flex-end" bg={debug_colors_1.DC.overlay}>
121
+ <vajra_ui_core_1.Col h="80%" bg={debug_colors_1.DC.bg} roundedT={16} style={{ overflow: 'hidden' }}>
122
+ <debug_header_1.DebugHeader activeTab={activeTab} onClearLogs={handleClearLogs} onClearData={handleClearMmkv} onClose={() => setVisible(false)}/>
123
+
124
+ <debug_tab_bar_1.DebugTabBar active={activeTab} onChange={setActiveTab}/>
125
+
126
+ <debug_toolbar_1.DebugToolbar activeTab={activeTab} search={search} sort={sort} onSearch={setSearch} onToggleSort={toggleSort} onRefresh={refreshData}/>
127
+
128
+ {activeTab === 'logs' ? (filteredLogs.length === 0 ? (<debug_empty_1.DebugEmpty text={search ? 'No logs match your search.' : 'No logs yet. Make a storage call.'}/>) : (<react_native_1.FlatList data={filteredLogs} keyExtractor={(item) => item.id} renderItem={({ item }) => <debug_log_row_1.DebugLogRow item={item}/>} contentContainerStyle={{ padding: 8 }} keyboardShouldPersistTaps="handled"/>)) : filteredDataEntries.length === 0 ? (<debug_empty_1.DebugEmpty text={search ? 'No keys match your search.' : 'MMKV store is empty.'}/>) : (<react_native_1.FlatList data={filteredDataEntries} keyExtractor={([k]) => k} renderItem={({ item: [k, v] }) => <debug_data_row_1.DebugDataRow itemKey={k} value={v}/>} contentContainerStyle={{ padding: 8 }} keyboardShouldPersistTaps="handled"/>)}
129
+ </vajra_ui_core_1.Col>
130
+ </vajra_ui_core_1.Box>
131
+ </react_native_1.Modal>);
132
+ };
133
+ exports.StorageDebugScreen = (0, react_1.memo)(StorageDebugScreenComponent);
134
+ const StorageDebugFabComponent = () => {
135
+ if (!__DEV__)
136
+ return null;
137
+ return <debug_fab_1.DebugFab onPress={exports.openStorageDebug}/>;
138
+ };
139
+ exports.StorageDebugFab = (0, react_1.memo)(StorageDebugFabComponent);
140
+ //# sourceMappingURL=storage-debug-screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-debug-screen.js","sourceRoot":"","sources":["../../../src/debug/storage-debug-screen/storage-debug-screen.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAsD;AACtD,+CAA+E;AAC/E,+CAA+C;AAC/C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O,EAAE,CAAC,EAAE,CAAC,CACtC,yBAAyB,CAAC,SAAS,EACnC,CACH,CACH;QAAA,EAAE,mBAAG,CACP;MAAA,EAAE,mBAAG,CACP;IAAA,EAAE,oBAAK,CAAC,CACT,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAA,YAAI,EAAC,2BAA2B,CAAC,CAAC;AAEpE,MAAM,wBAAwB,GAAa,GAAG,EAAE;IAC9C,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,OAAO,CAAC,oBAAQ,CAAC,OAAO,CAAC,CAAC,wBAAgB,CAAC,EAAG,CAAC;AACjD,CAAC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,YAAI,EAAC,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './types';
2
+ export * from './mmkv-storage';
3
+ export * from './secure-storage';
4
+ export * from './logger';
5
+ export * from './debug';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AAGjC,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC"}