@lunora/studio 1.0.0-alpha.45 → 1.0.0-alpha.47
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/dist/index.d.ts +5 -3
- package/dist/index.js +12 -12
- package/dist/mount.js +1 -1
- package/dist/packem_chunks/ApiTab.js +3 -3
- package/dist/packem_chunks/AuditPanel.js +4 -4
- package/dist/packem_chunks/ExportImportPanel.js +4 -4
- package/dist/packem_chunks/FileBrowser.js +43 -20
- package/dist/packem_chunks/FunctionRunner.js +8 -25
- package/dist/packem_chunks/FunctionStatsPanel.js +4 -4
- package/dist/packem_chunks/HealthPanel.js +3 -3
- package/dist/packem_chunks/InsightsPanel.js +5 -5
- package/dist/packem_chunks/LogsPanel.js +4 -4
- package/dist/packem_chunks/MailPanel.js +3 -3
- package/dist/packem_chunks/MetricsPanel.js +4 -4
- package/dist/packem_chunks/MigrationsPanel.js +5 -5
- package/dist/packem_chunks/PitrPanel.js +1 -1
- package/dist/packem_chunks/SchemaViewer.js +3 -3
- package/dist/packem_chunks/SecurityAdvisorPanel.js +2 -2
- package/dist/packem_chunks/SettingsPanel.js +2 -2
- package/dist/packem_chunks/SqlEditorPanel.js +7 -6
- package/dist/packem_chunks/TableEditor.js +6 -29
- package/dist/packem_chunks/analytics-panel.js +1 -1
- package/dist/packem_chunks/auth-config-panel.js +1 -1
- package/dist/packem_chunks/auth-sessions-panel.js +2 -2
- package/dist/packem_chunks/containers-panel.js +1 -1
- package/dist/packem_chunks/dashboards-panel.js +3 -2
- package/dist/packem_chunks/fanout-panel.js +3 -3
- package/dist/packem_chunks/flags-panel.js +2 -2
- package/dist/packem_chunks/kv-browser.js +2 -2
- package/dist/packem_chunks/log-drains-panel.js +1 -1
- package/dist/packem_chunks/organizations-panel.js +3 -3
- package/dist/packem_chunks/payments-panel.js +3 -3
- package/dist/packem_chunks/permissions-panel.js +4 -4
- package/dist/packem_chunks/queues-panel.js +3 -3
- package/dist/packem_chunks/rls-panel.js +2 -2
- package/dist/packem_chunks/schedule-panel.js +3 -3
- package/dist/packem_chunks/storage-rules-panel.js +2 -2
- package/dist/packem_chunks/subscriptions-panel.js +3 -3
- package/dist/packem_chunks/users-panel.js +3 -3
- package/dist/packem_chunks/vector-browser.js +1 -1
- package/dist/packem_chunks/workflows-panel.js +2 -2
- package/dist/packem_shared/{ApiDocsPanel-CBma-lnp.js → ApiDocsPanel-B2Rc7nOF.js} +1 -1
- package/dist/packem_shared/{ApiReferencePanel-CQM3pPN7.js → ApiReferencePanel-Dd8pcswz.js} +1 -1
- package/dist/packem_shared/{CommandPalette-X2tkbyHk.js → CommandPalette-BXV4eKf5.js} +1 -1
- package/dist/packem_shared/{DataBrowser-D2ywrdId.js → DataBrowser-Cc197zke.js} +8 -8
- package/dist/packem_shared/{DataFilters-FNquMaiu.js → DataFilters-B1Q7mrt7.js} +6 -2
- package/dist/packem_shared/{GlobalDataBrowser-BkTPLzAY.js → GlobalDataBrowser-CxJxRRf2.js} +3 -3
- package/dist/packem_shared/{HomePanel-D1Q9LZgK.js → HomePanel-CjDlJzzs.js} +3 -3
- package/dist/packem_shared/{OpenRpcReferencePanel-Dno-hfDb.js → OpenRpcReferencePanel-CWaf0ZtX.js} +1 -1
- package/dist/packem_shared/{ScheduledJobs-Ctw4jYtU.js → ScheduledJobs-dHMgnJbx.js} +2 -2
- package/dist/packem_shared/{ShardInput-gx_DZXXn.js → ShardInput-CZnpHILL.js} +1 -1
- package/dist/packem_shared/{Studio-lJhzDAze.js → Studio-sfBFghzO.js} +4 -4
- package/dist/packem_shared/{StudioApp-DiMkupvZ.js → StudioApp-Ism1gXfJ.js} +5 -11
- package/dist/packem_shared/{advisor-view-BX8OhG0w.js → advisor-view-Cx21PS_T.js} +1 -1
- package/dist/packem_shared/browser-storage-L4gOP5gJ.js +105 -0
- package/dist/packem_shared/{data-grid-CdXztApG.js → data-grid-C9I16KWr.js} +1 -1
- package/dist/packem_shared/{error-alert-CXjqyGw9.js → error-alert-vIPQoN3Y.js} +1 -1
- package/dist/packem_shared/{grid-features-BF-KBDFz.js → grid-features-B_fZH4iQ.js} +3 -2
- package/dist/packem_shared/{home-panel-TFcRf9Ui.js → home-panel-BohxdqDb.js} +2 -2
- package/dist/packem_shared/{internal-CYcbqMjX.js → internal-zwBoOv24.js} +14 -1
- package/dist/packem_shared/{reference-view-DUiJcILV.js → reference-view-DUULLuOi.js} +3 -17
- package/dist/packem_shared/{browser-storage-BTrX4y3B.js → result-chart-DZradBAS.js} +2 -98
- package/dist/packem_shared/shard-history-AxiJ1WPP.js +16 -0
- package/dist/packem_shared/{studio-Dh9UlaF_.js → studio-CFC_pv0f.js} +3 -3
- package/dist/packem_shared/{table-list-sidebar-UVIXQJdU.js → table-list-sidebar-huX4VmgI.js} +19 -9
- package/dist/packem_shared/{use-admin-query-CfHYWx5n.js → use-admin-query-BGJ010yZ.js} +1 -1
- package/dist/packem_shared/{use-async-submit-DJQiPc-_.js → use-async-submit-DGCtuDyz.js} +2 -2
- package/dist/standalone/{chunk-J75M4LTW.js → chunk-22C6COGE.js} +4 -4
- package/dist/standalone/{chunk-7XTR7BWT.js → chunk-2CQ2YNER.js} +1 -1
- package/dist/standalone/chunk-2MLA6WFH.js +1 -0
- package/dist/standalone/{chunk-2BBENYBY.js → chunk-37HPVOYP.js} +1 -1
- package/dist/standalone/{chunk-B4TTGYIX.js → chunk-3HS3ZXFB.js} +1 -1
- package/dist/standalone/{chunk-T4XWXBKR.js → chunk-3OZDR3RM.js} +1 -1
- package/dist/standalone/chunk-4KSX53SI.js +4 -0
- package/dist/standalone/chunk-4PC7IXNY.js +1 -0
- package/dist/standalone/{chunk-7KR346F4.js → chunk-5UKRVDFD.js} +1 -1
- package/dist/standalone/{chunk-4WGGEF73.js → chunk-ADP5UEHQ.js} +1 -1
- package/dist/standalone/{chunk-WKWKAU22.js → chunk-AITOCPML.js} +1 -1
- package/dist/standalone/{chunk-ZSNXQT4N.js → chunk-AYANIT5P.js} +1 -1
- package/dist/standalone/chunk-BIBCC7EE.js +6 -0
- package/dist/standalone/{chunk-XFPHUG7M.js → chunk-CGGZAYGG.js} +1 -1
- package/dist/standalone/chunk-CJTT4TBP.js +1 -0
- package/dist/standalone/{chunk-73BV73BI.js → chunk-CLMGPTAI.js} +1 -1
- package/dist/standalone/{chunk-MP5MTWY5.js → chunk-CTPCJNOP.js} +1 -1
- package/dist/standalone/chunk-DDE62TRL.js +1 -0
- package/dist/standalone/{chunk-ATG3655M.js → chunk-DH4K2OLM.js} +1 -1
- package/dist/standalone/{chunk-KMNEQEHM.js → chunk-EEWKIQUE.js} +1 -1
- package/dist/standalone/{chunk-3JO76DWI.js → chunk-EYSL7KEQ.js} +1 -1
- package/dist/standalone/{chunk-I4RSHYDW.js → chunk-F4HDP4XW.js} +1 -1
- package/dist/standalone/chunk-F5I22A4W.js +1 -0
- package/dist/standalone/chunk-FKVCHCYV.js +4 -0
- package/dist/standalone/{chunk-6HW2RKAX.js → chunk-FNQQ3B5G.js} +1 -1
- package/dist/standalone/{chunk-PXR5E7AX.js → chunk-GSCV2N3F.js} +5 -5
- package/dist/standalone/{chunk-ICIQ2GWQ.js → chunk-H27CRIP3.js} +1 -1
- package/dist/standalone/{chunk-YSF43KIJ.js → chunk-HROXYAZT.js} +1 -1
- package/dist/standalone/{chunk-EOSXQTSQ.js → chunk-HVRDZZHL.js} +1 -1
- package/dist/standalone/{chunk-245TEXSO.js → chunk-IRSIK3HT.js} +2 -2
- package/dist/standalone/{chunk-2GMEK2W3.js → chunk-ITQKVEP7.js} +9 -9
- package/dist/standalone/{chunk-34B5ECBI.js → chunk-IZN4TYMN.js} +1 -1
- package/dist/standalone/{chunk-7JOVXGO4.js → chunk-JM7XBQVK.js} +1 -1
- package/dist/standalone/{chunk-S6JKSFSO.js → chunk-JPILGFXT.js} +1 -1
- package/dist/standalone/{chunk-QQH2YTBW.js → chunk-JQ4WOPMF.js} +1 -1
- package/dist/standalone/chunk-K2CB2CHL.js +1 -0
- package/dist/standalone/{chunk-3IJLM4GF.js → chunk-KCMKEMUL.js} +1 -1
- package/dist/standalone/{chunk-WKUGR7ER.js → chunk-KKD46QVN.js} +1 -1
- package/dist/standalone/chunk-L7WR3C4Z.js +1 -0
- package/dist/standalone/chunk-LRYLU6EY.js +1 -0
- package/dist/standalone/{chunk-I34RPZ7P.js → chunk-MDTNVR3G.js} +1 -1
- package/dist/standalone/chunk-PL2KY6IG.js +1 -0
- package/dist/standalone/{chunk-KFNNMXUZ.js → chunk-S3Q6R7BA.js} +1 -1
- package/dist/standalone/chunk-SDQE2IUJ.js +1 -0
- package/dist/standalone/chunk-SEQ43UW2.js +1 -0
- package/dist/standalone/{chunk-5KUKYIU6.js → chunk-SHK6RAFG.js} +1 -1
- package/dist/standalone/chunk-TXTJPS5F.js +1 -0
- package/dist/standalone/chunk-V4ECZI2R.js +1 -0
- package/dist/standalone/{chunk-6CRKDJNL.js → chunk-WD2LBHJZ.js} +1 -1
- package/dist/standalone/{chunk-PBXQ5QS4.js → chunk-WMWDJLRO.js} +4 -4
- package/dist/standalone/{chunk-ZTOATVB7.js → chunk-WOXVMXSQ.js} +1 -1
- package/dist/standalone/{chunk-JEVKZIHN.js → chunk-WUFVFVHJ.js} +1 -1
- package/dist/standalone/{chunk-ERUIC6WI.js → chunk-X4QFAAZ5.js} +1 -1
- package/dist/standalone/{chunk-P7AMKXU2.js → chunk-XVR74IFC.js} +1 -1
- package/dist/standalone/chunk-Y2GJJVS5.js +1 -0
- package/dist/standalone/chunk-YFA7NUCL.js +1 -0
- package/dist/standalone/chunk-YSPZSTDI.js +1 -0
- package/dist/standalone/studio.js +43 -43
- package/package.json +6 -6
- package/dist/packem_shared/shard-history-DyebH1R5.js +0 -38
- package/dist/standalone/chunk-3SKIYIBN.js +0 -1
- package/dist/standalone/chunk-AFCBRDRQ.js +0 -1
- package/dist/standalone/chunk-AX7GYUQC.js +0 -1
- package/dist/standalone/chunk-BGHGKAOM.js +0 -1
- package/dist/standalone/chunk-BL45HXOJ.js +0 -1
- package/dist/standalone/chunk-ERXJPMCU.js +0 -1
- package/dist/standalone/chunk-GNMTLLGB.js +0 -1
- package/dist/standalone/chunk-M5OMEMQ3.js +0 -1
- package/dist/standalone/chunk-O4YNKFCZ.js +0 -1
- package/dist/standalone/chunk-OLUEBOHS.js +0 -1
- package/dist/standalone/chunk-OOETIPAO.js +0 -1
- package/dist/standalone/chunk-OQPT2BEZ.js +0 -6
- package/dist/standalone/chunk-PKIPNNRD.js +0 -4
- package/dist/standalone/chunk-QB3QUTSJ.js +0 -1
- package/dist/standalone/chunk-TBMYIZIO.js +0 -1
- package/dist/standalone/chunk-TU5ZNEZ4.js +0 -1
- package/dist/standalone/chunk-WATFBATD.js +0 -1
- package/dist/standalone/chunk-WSMZLZWM.js +0 -4
|
@@ -5,41 +5,18 @@ import { useRef, useState, useEffect } from 'react';
|
|
|
5
5
|
import { T as TIER_META } from '../packem_shared/storage-tier-CL98eOvn.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { s as searchToDataView, d as dataViewToSearch } from '../packem_shared/data-view-params-Cd6yRVbv.js';
|
|
8
|
-
import { f as fireAndForget } from '../packem_shared/internal-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { f as fireAndForget } from '../packem_shared/internal-zwBoOv24.js';
|
|
9
|
+
import { l as loadJsonArray, s as saveJson } from '../packem_shared/browser-storage-L4gOP5gJ.js';
|
|
10
|
+
import { DataBrowser } from '../packem_shared/DataBrowser-Cc197zke.js';
|
|
11
|
+
import { GlobalDataBrowser } from '../packem_shared/GlobalDataBrowser-CxJxRRf2.js';
|
|
11
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
13
|
|
|
13
14
|
const STORAGE_KEY = "lunora-studio-saved-queries";
|
|
14
15
|
const MAX_SAVED = 50;
|
|
15
|
-
const store = () => {
|
|
16
|
-
try {
|
|
17
|
-
return globalThis.localStorage;
|
|
18
|
-
} catch {
|
|
19
|
-
return void 0;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
16
|
const isSavedQuery = (entry) => entry !== null && typeof entry === "object" && typeof entry.name === "string" && typeof entry.view === "object" && entry.view !== null;
|
|
23
|
-
const loadSavedQueries = () =>
|
|
24
|
-
try {
|
|
25
|
-
const raw = store()?.getItem(STORAGE_KEY);
|
|
26
|
-
if (raw === null || raw === void 0) {
|
|
27
|
-
return [];
|
|
28
|
-
}
|
|
29
|
-
const parsed = JSON.parse(raw);
|
|
30
|
-
return Array.isArray(parsed) ? parsed.filter(isSavedQuery) : [];
|
|
31
|
-
} catch {
|
|
32
|
-
return [];
|
|
33
|
-
}
|
|
34
|
-
};
|
|
17
|
+
const loadSavedQueries = () => loadJsonArray(STORAGE_KEY).filter(isSavedQuery);
|
|
35
18
|
const persist = (queries) => {
|
|
36
|
-
|
|
37
|
-
if (storage !== void 0) {
|
|
38
|
-
try {
|
|
39
|
-
storage.setItem(STORAGE_KEY, JSON.stringify(queries));
|
|
40
|
-
} catch {
|
|
41
|
-
}
|
|
42
|
-
}
|
|
19
|
+
saveJson(STORAGE_KEY, queries);
|
|
43
20
|
};
|
|
44
21
|
const saveQuery = (name, view) => {
|
|
45
22
|
const trimmed = name.trim();
|
|
@@ -5,7 +5,7 @@ import { C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, d as TableBody, e as TableCell, c as TableHead } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
7
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
|
-
import { e as errorMessage, f as fireAndForget, h as formatCell } from '../packem_shared/internal-
|
|
8
|
+
import { e as errorMessage, f as fireAndForget, h as formatCell } from '../packem_shared/internal-zwBoOv24.js';
|
|
9
9
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_DATASET = "ANALYTICS";
|
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
4
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
5
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -4,10 +4,10 @@ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
|
4
4
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
8
8
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
|
-
import { i as formatTimestamp, f as fireAndForget } from '../packem_shared/internal-
|
|
10
|
+
import { i as formatTimestamp, f as fireAndForget } from '../packem_shared/internal-zwBoOv24.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const SESSION_LIMIT = 200;
|
|
@@ -5,7 +5,7 @@ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
|
5
5
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
6
6
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
7
7
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
8
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
8
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
10
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState, useCallback, useEffect } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { S as SqlResultChart } from '../packem_shared/result-chart-DZradBAS.js';
|
|
4
4
|
import { A as Alert } from '../packem_shared/alert-CdAET2K_.js';
|
|
5
5
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
6
6
|
import { c as CardTitle, b as CardHeader, a as CardContent, C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
7
7
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
|
+
import { u as usePersistedList, n as newId } from '../packem_shared/browser-storage-L4gOP5gJ.js';
|
|
9
10
|
import { useLunora } from '@lunora/react';
|
|
10
11
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
11
|
-
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from '../packem_shared/internal-
|
|
12
|
+
import { c as callOptions, e as errorMessage, f as fireAndForget, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
12
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
14
|
|
|
14
15
|
const RUN_SQL = adminRef(ADMIN_FUNCTIONS.runSql);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
4
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
5
5
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
6
6
|
import { C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
7
7
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
8
8
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
11
11
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
12
12
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useState, useMemo } from 'react';
|
|
2
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
2
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
3
3
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
4
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
7
7
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
8
8
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
11
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -4,11 +4,11 @@ import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
|
4
4
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
5
5
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
|
-
import { f as fireAndForget, e as errorMessage,
|
|
7
|
+
import { f as fireAndForget, e as errorMessage, k as formatBytes, g as copyToClipboard } from '../packem_shared/internal-zwBoOv24.js';
|
|
8
8
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
9
9
|
import { C as Checkbox } from '../packem_shared/checkbox-UNkzAxl-.js';
|
|
10
10
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
11
|
-
import { b as Sheet, c as SheetContent, d as SheetHeader, e as SheetTitle } from '../packem_shared/studio-
|
|
11
|
+
import { b as Sheet, c as SheetContent, d as SheetHeader, e as SheetTitle } from '../packem_shared/studio-CFC_pv0f.js';
|
|
12
12
|
import { c } from 'react/compiler-runtime';
|
|
13
13
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
14
14
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
@@ -5,7 +5,7 @@ import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
|
5
5
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
6
6
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { a as CLOUDFLARE_OBSERVABILITY_URL } from '../packem_shared/cf-links-BZfRdxSE.js';
|
|
8
|
-
import { f as fireAndForget, e as errorMessage, g as copyToClipboard } from '../packem_shared/internal-
|
|
8
|
+
import { f as fireAndForget, e as errorMessage, g as copyToClipboard } from '../packem_shared/internal-zwBoOv24.js';
|
|
9
9
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
10
10
|
|
|
11
11
|
const DestinationRow = (t0) => {
|
|
@@ -5,11 +5,11 @@ import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
|
5
5
|
import { a as CardContent, C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
6
6
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
7
7
|
import { c as TableHead, a as TableHeader, b as TableRow, e as TableCell, d as TableBody, T as Table } from '../packem_shared/table-DsCa9Qp9.js';
|
|
8
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
9
|
-
import { u as useAsyncSubmit, a as useAuthConfig } from '../packem_shared/use-async-submit-
|
|
8
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
9
|
+
import { u as useAsyncSubmit, a as useAuthConfig } from '../packem_shared/use-async-submit-DGCtuDyz.js';
|
|
10
10
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
11
11
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
12
|
-
import { h as formatCell, f as fireAndForget, i as formatTimestamp } from '../packem_shared/internal-
|
|
12
|
+
import { h as formatCell, f as fireAndForget, i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
13
13
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
14
14
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
15
15
|
import { M as ModalShell } from '../packem_shared/modal-shell-hyaJvIJ6.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
1
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
2
2
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
3
3
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
4
4
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
5
5
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
6
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
6
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
7
7
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
|
-
import { i as formatTimestamp } from '../packem_shared/internal-
|
|
10
|
+
import { i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const ACTIVE_STATES = /* @__PURE__ */ new Set(["active", "trialing"]);
|
|
@@ -2,21 +2,21 @@ import { useState, useRef, useEffect } from 'react';
|
|
|
2
2
|
import { C as Card, b as CardHeader, c as CardTitle, d as CardDescription, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
3
3
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
4
4
|
import { c } from 'react/compiler-runtime';
|
|
5
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
5
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
6
6
|
import { L as LiveError } from '../packem_shared/live-status-FZ0psC1z.js';
|
|
7
7
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
8
8
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
9
9
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
10
10
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
11
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
11
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
12
12
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
13
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
14
14
|
import { useLunora } from '@lunora/react';
|
|
15
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
15
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
16
16
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
17
17
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
18
18
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
19
|
-
import { c as callOptions, a as adminRef, e as errorMessage, f as fireAndForget } from '../packem_shared/internal-
|
|
19
|
+
import { c as callOptions, a as adminRef, e as errorMessage, f as fireAndForget } from '../packem_shared/internal-zwBoOv24.js';
|
|
20
20
|
|
|
21
21
|
const OPERATIONS = ["read", "insert", "update", "delete"];
|
|
22
22
|
const operationLabel = (t, operation) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
4
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
5
5
|
import { A as Alert } from '../packem_shared/alert-CdAET2K_.js';
|
|
6
6
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
7
7
|
import { B as Button } from '../packem_shared/button-BhsN2uZH.js';
|
|
@@ -11,11 +11,11 @@ import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
|
11
11
|
import { S as ScrollArea } from '../packem_shared/scroll-area-DLhcy-ml.js';
|
|
12
12
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
13
13
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
14
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
14
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
15
15
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
16
16
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
17
17
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
18
|
-
import { c as callOptions, e as errorMessage, a as adminRef, f as fireAndForget, i as formatTimestamp } from '../packem_shared/internal-
|
|
18
|
+
import { c as callOptions, e as errorMessage, a as adminRef, f as fireAndForget, i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
19
19
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
20
20
|
|
|
21
21
|
const computeQueueReliability = (queues, messages) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
2
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
3
3
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
4
|
import { a as CardContent, C as Card } from '../packem_shared/card-DURq3ElK.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
10
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -8,11 +8,11 @@ import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
|
8
8
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
9
9
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
10
10
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
11
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
12
|
-
import { f as fireAndForget, e as errorMessage, i as formatTimestamp } from '../packem_shared/internal-
|
|
11
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
12
|
+
import { f as fireAndForget, e as errorMessage, i as formatTimestamp } from '../packem_shared/internal-zwBoOv24.js';
|
|
13
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
14
14
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
15
|
-
import { ScheduledJobs } from '../packem_shared/ScheduledJobs-
|
|
15
|
+
import { ScheduledJobs } from '../packem_shared/ScheduledJobs-dHMgnJbx.js';
|
|
16
16
|
|
|
17
17
|
const IDLE = {
|
|
18
18
|
kind: "idle"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
2
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
3
3
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
4
4
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
5
5
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
6
6
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
7
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
7
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
8
8
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
10
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { E as ErrorAlert } from '../packem_shared/error-alert-
|
|
4
|
-
import { ShardInput } from '../packem_shared/ShardInput-
|
|
3
|
+
import { E as ErrorAlert } from '../packem_shared/error-alert-vIPQoN3Y.js';
|
|
4
|
+
import { ShardInput } from '../packem_shared/ShardInput-CZnpHILL.js';
|
|
5
5
|
import { B as Badge } from '../packem_shared/badge-B2PKA1-5.js';
|
|
6
6
|
import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
7
7
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
8
8
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
11
11
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
12
12
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
@@ -6,13 +6,13 @@ import { C as Card, a as CardContent } from '../packem_shared/card-DURq3ElK.js';
|
|
|
6
6
|
import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
7
7
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
8
8
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
9
|
-
import { a as useClientQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { a as useClientQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { c } from 'react/compiler-runtime';
|
|
11
|
-
import { a as useAuthConfig, u as useAsyncSubmit } from '../packem_shared/use-async-submit-
|
|
11
|
+
import { a as useAuthConfig, u as useAsyncSubmit } from '../packem_shared/use-async-submit-DGCtuDyz.js';
|
|
12
12
|
import { useAutoRefresh } from '../packem_shared/DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
13
13
|
import useDebounced from '../packem_shared/useDebounced-Dxncpg6z.js';
|
|
14
14
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
15
|
-
import { i as formatTimestamp, h as formatCell, f as fireAndForget, e as errorMessage } from '../packem_shared/internal-
|
|
15
|
+
import { i as formatTimestamp, h as formatCell, f as fireAndForget, e as errorMessage } from '../packem_shared/internal-zwBoOv24.js';
|
|
16
16
|
import { C as Checkbox } from '../packem_shared/checkbox-UNkzAxl-.js';
|
|
17
17
|
import { L as Label } from '../packem_shared/label-D8ykjn5J.js';
|
|
18
18
|
import { M as ModalShell } from '../packem_shared/modal-shell-hyaJvIJ6.js';
|
|
@@ -7,7 +7,7 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
7
7
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
8
8
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
9
9
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
10
|
-
import { f as fireAndForget, e as errorMessage, h as formatCell } from '../packem_shared/internal-
|
|
10
|
+
import { f as fireAndForget, e as errorMessage, h as formatCell } from '../packem_shared/internal-zwBoOv24.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const DEFAULT_TOP_K = 10;
|
|
@@ -6,10 +6,10 @@ import { E as EmptyState } from '../packem_shared/empty-state-DY_oe0k6.js';
|
|
|
6
6
|
import { I as Input } from '../packem_shared/input-XH4r1Pt1.js';
|
|
7
7
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from '../packem_shared/table-DsCa9Qp9.js';
|
|
8
8
|
import { T as Textarea } from '../packem_shared/textarea-D3gaCU_-.js';
|
|
9
|
-
import { u as useAdminQuery } from '../packem_shared/use-admin-query-
|
|
9
|
+
import { u as useAdminQuery } from '../packem_shared/use-admin-query-BGJ010yZ.js';
|
|
10
10
|
import { useT } from '../packem_shared/DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
11
|
import { ADMIN_FUNCTIONS } from '../packem_shared/ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
12
|
-
import { f as fireAndForget, e as errorMessage, c as callOptions, a as adminRef } from '../packem_shared/internal-
|
|
12
|
+
import { f as fireAndForget, e as errorMessage, c as callOptions, a as adminRef } from '../packem_shared/internal-zwBoOv24.js';
|
|
13
13
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
14
14
|
|
|
15
15
|
const STATUS_FILTERS = ["queued", "running", "paused", "waiting", "complete", "errored", "terminated"];
|
|
@@ -5,7 +5,7 @@ import { B as Button } from './button-BhsN2uZH.js';
|
|
|
5
5
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
8
|
-
import { c as callOptions, a as adminRef, g as copyToClipboard } from './internal-
|
|
8
|
+
import { c as callOptions, a as adminRef, g as copyToClipboard } from './internal-zwBoOv24.js';
|
|
9
9
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
10
10
|
|
|
11
11
|
const LIST_TABLES = adminRef(ADMIN_FUNCTIONS.listTables);
|
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton-CGhL0p20.js';
|
|
5
|
-
import { u as useAdminSpec, R as ReferenceView } from './reference-view-
|
|
5
|
+
import { u as useAdminSpec, R as ReferenceView } from './reference-view-DUULLuOi.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import { Dialog } from '@base-ui/react/dialog';
|
|
|
3
3
|
import { useNavigate } from '@tanstack/react-router';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
6
|
-
import { f as fireAndForget } from './internal-
|
|
6
|
+
import { f as fireAndForget } from './internal-zwBoOv24.js';
|
|
7
7
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
8
8
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
9
9
|
|
|
@@ -2,25 +2,25 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
4
4
|
import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
|
|
5
|
-
import { ShardInput } from './ShardInput-
|
|
5
|
+
import { ShardInput } from './ShardInput-CZnpHILL.js';
|
|
6
6
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
8
|
import { ADMIN_FUNCTIONS } from './ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
9
|
-
import { h as formatCell, f as fireAndForget, c as callOptions, a as adminRef, i as formatTimestamp } from './internal-
|
|
9
|
+
import { h as formatCell, f as fireAndForget, c as callOptions, a as adminRef, i as formatTimestamp } from './internal-zwBoOv24.js';
|
|
10
10
|
import { useReactTable, getSortedRowModel, getCoreRowModel, flexRender } from '@tanstack/react-table';
|
|
11
11
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
12
12
|
import { C as Checkbox } from './checkbox-UNkzAxl-.js';
|
|
13
13
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
14
14
|
import { f as flooredRectObserver } from './virtual-rect-CVMUskSm.js';
|
|
15
|
-
import { G as GridContainer, C as CellValue, T as TransposedTable } from './data-grid-
|
|
15
|
+
import { G as GridContainer, C as CellValue, T as TransposedTable } from './data-grid-C9I16KWr.js';
|
|
16
16
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
17
|
-
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-
|
|
18
|
-
import { toFilterClauses, DataFilters } from './DataFilters-
|
|
17
|
+
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-huX4VmgI.js';
|
|
18
|
+
import { toFilterClauses, DataFilters } from './DataFilters-B1Q7mrt7.js';
|
|
19
19
|
import { M as ModalShell } from './modal-shell-hyaJvIJ6.js';
|
|
20
|
-
import { G as GridActionsBar, C as CellDetailDialog } from './grid-features-
|
|
21
|
-
import { u as useAdminQuery } from './use-admin-query-
|
|
20
|
+
import { G as GridActionsBar, C as CellDetailDialog } from './grid-features-B_fZH4iQ.js';
|
|
21
|
+
import { u as useAdminQuery } from './use-admin-query-BGJ010yZ.js';
|
|
22
22
|
import useDebounced from './useDebounced-Dxncpg6z.js';
|
|
23
|
-
import { r as recordShard, l as loadRecentShards } from './shard-history-
|
|
23
|
+
import { r as recordShard, l as loadRecentShards } from './shard-history-AxiJ1WPP.js';
|
|
24
24
|
|
|
25
25
|
const CAMEL_BOUNDARY_RE = /([a-z\d])([A-Z])/gu;
|
|
26
26
|
const WORD_SEPARATOR_RE = /[\s_-]+/u;
|
|
@@ -23,12 +23,16 @@ const OPERATORS = [{
|
|
|
23
23
|
label: "contains",
|
|
24
24
|
value: "contains"
|
|
25
25
|
}];
|
|
26
|
+
const coerceFilterValue = (value) => {
|
|
27
|
+
const trimmed = value.trim();
|
|
28
|
+
const asNumber = Number(trimmed);
|
|
29
|
+
return trimmed !== "" && Number.isFinite(asNumber) && String(asNumber) === trimmed ? asNumber : value;
|
|
30
|
+
};
|
|
26
31
|
const toFilterClauses = (filters) => filters.filter((filter) => filter.column !== "").map((filter) => {
|
|
27
|
-
const numeric = filter.operator !== "contains" && filter.value.trim() !== "" && !Number.isNaN(Number(filter.value));
|
|
28
32
|
return {
|
|
29
33
|
column: filter.column,
|
|
30
34
|
operator: filter.operator,
|
|
31
|
-
value:
|
|
35
|
+
value: filter.operator === "contains" ? filter.value : coerceFilterValue(filter.value)
|
|
32
36
|
};
|
|
33
37
|
});
|
|
34
38
|
const DataFilters = (t0) => {
|
|
@@ -2,12 +2,12 @@ import { useLunora } from '@lunora/react';
|
|
|
2
2
|
import { useState, useRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
5
|
-
import { a as useClientQuery } from './use-admin-query-
|
|
5
|
+
import { a as useClientQuery } from './use-admin-query-BGJ010yZ.js';
|
|
6
6
|
import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
7
7
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
8
8
|
import { C as CLOUDFLARE_D1_URL } from './cf-links-BZfRdxSE.js';
|
|
9
|
-
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-
|
|
10
|
-
import { G as GridContainer, C as CellValue } from './data-grid-
|
|
9
|
+
import { u as useFacets, T as TableListSidebar, G as GridPagination, D as DataFacets } from './table-list-sidebar-huX4VmgI.js';
|
|
10
|
+
import { G as GridContainer, C as CellValue } from './data-grid-C9I16KWr.js';
|
|
11
11
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
12
12
|
|
|
13
13
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -4,11 +4,11 @@ import 'react';
|
|
|
4
4
|
import './badge-B2PKA1-5.js';
|
|
5
5
|
import './card-DURq3ElK.js';
|
|
6
6
|
import './empty-state-DY_oe0k6.js';
|
|
7
|
-
import './use-admin-query-
|
|
7
|
+
import './use-admin-query-BGJ010yZ.js';
|
|
8
8
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import './ADMIN_FUNCTIONS-BHHJi3Gb.js';
|
|
10
|
-
import './internal-
|
|
10
|
+
import './internal-zwBoOv24.js';
|
|
11
11
|
import './utils-B05Dmz_H.js';
|
|
12
12
|
import './DEFAULT_INSIGHT_THRESHOLDS-DjF0h-gA.js';
|
|
13
|
-
export { H as HomePanel } from './home-panel-
|
|
13
|
+
export { H as HomePanel } from './home-panel-BohxdqDb.js';
|
|
14
14
|
import 'react/jsx-dev-runtime';
|
package/dist/packem_shared/{OpenRpcReferencePanel-Dno-hfDb.js → OpenRpcReferencePanel-CWaf0ZtX.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { c } from 'react/compiler-runtime';
|
|
|
2
2
|
import { useLunora } from '@lunora/react';
|
|
3
3
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton-CGhL0p20.js';
|
|
5
|
-
import { u as useAdminSpec, R as ReferenceView } from './reference-view-
|
|
5
|
+
import { u as useAdminSpec, R as ReferenceView } from './reference-view-DUULLuOi.js';
|
|
6
6
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
7
7
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
8
8
|
|
|
@@ -5,10 +5,10 @@ import { ConfirmButton } from './ConfirmButton-C2eVi2Qv.js';
|
|
|
5
5
|
import { C as Card, a as CardContent } from './card-DURq3ElK.js';
|
|
6
6
|
import { E as EmptyState } from './empty-state-DY_oe0k6.js';
|
|
7
7
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
8
|
-
import { a as useClientQuery } from './use-admin-query-
|
|
8
|
+
import { a as useClientQuery } from './use-admin-query-BGJ010yZ.js';
|
|
9
9
|
import { useAutoRefresh } from './DEFAULT_AUTO_REFRESH_MS-Vxwaxx51.js';
|
|
10
10
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
|
-
import { f as fireAndForget, i as formatTimestamp, e as errorMessage } from './internal-
|
|
11
|
+
import { f as fireAndForget, i as formatTimestamp, e as errorMessage } from './internal-zwBoOv24.js';
|
|
12
12
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
13
13
|
|
|
14
14
|
const formatScheduledFor = (value) => Number.isFinite(value) ? formatTimestamp(value, "—") : "—";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from 'react/compiler-runtime';
|
|
2
2
|
import { useId, useState } from 'react';
|
|
3
3
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
4
|
-
import { l as loadRecentShards } from './shard-history-
|
|
4
|
+
import { l as loadRecentShards } from './shard-history-AxiJ1WPP.js';
|
|
5
5
|
import { I as Input } from './input-XH4r1Pt1.js';
|
|
6
6
|
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
7
7
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import 'react/compiler-runtime';
|
|
2
2
|
import '@tanstack/react-router';
|
|
3
3
|
import 'react';
|
|
4
|
-
export { S as Studio } from './studio-
|
|
4
|
+
export { S as Studio } from './studio-CFC_pv0f.js';
|
|
5
5
|
import './ErrorBoundary-BzAApI7J.js';
|
|
6
6
|
import './badge-B2PKA1-5.js';
|
|
7
7
|
import './input-XH4r1Pt1.js';
|
|
8
8
|
import './skeleton-CGhL0p20.js';
|
|
9
|
-
import './home-panel-
|
|
9
|
+
import './home-panel-BohxdqDb.js';
|
|
10
10
|
import './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
11
11
|
import './StudioI18nProvider-B-tDCZIi.js';
|
|
12
12
|
import './data-view-params-Cd6yRVbv.js';
|
|
13
|
-
import './internal-
|
|
13
|
+
import './internal-zwBoOv24.js';
|
|
14
14
|
import './utils-B05Dmz_H.js';
|
|
15
|
-
import './CommandPalette-
|
|
15
|
+
import './CommandPalette-BXV4eKf5.js';
|
|
16
16
|
import 'react/jsx-dev-runtime';
|
|
@@ -3,34 +3,28 @@ import { LunoraClient } from '@lunora/client';
|
|
|
3
3
|
import { LunoraProvider } from '@lunora/react';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { ErrorBoundary } from './ErrorBoundary-BzAApI7J.js';
|
|
6
|
-
import { u as useTheme, B as BrandMark, T as ThemeProvider, a as TooltipProvider, S as Studio } from './studio-
|
|
6
|
+
import { u as useTheme, B as BrandMark, T as ThemeProvider, a as TooltipProvider, S as Studio } from './studio-CFC_pv0f.js';
|
|
7
7
|
import useDebounced from './useDebounced-Dxncpg6z.js';
|
|
8
8
|
import { useT, createStudioI18n } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|
|
9
9
|
import { StudioI18nProvider } from './StudioI18nProvider-B-tDCZIi.js';
|
|
10
|
-
import { r as resolveOrigin } from './internal-
|
|
10
|
+
import { r as resolveOrigin } from './internal-zwBoOv24.js';
|
|
11
11
|
import STUDIO_ROOT_CLASS from './STUDIO_ROOT_CLASS-D12gX2dV.js';
|
|
12
|
+
import { a as storageOf } from './browser-storage-L4gOP5gJ.js';
|
|
12
13
|
import { c as cn } from './utils-B05Dmz_H.js';
|
|
13
14
|
import { B as Button } from './button-BhsN2uZH.js';
|
|
14
15
|
import { I as Input } from './input-XH4r1Pt1.js';
|
|
15
16
|
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
16
17
|
|
|
17
18
|
const STORAGE_KEY = "lunora-studio-admin-token";
|
|
18
|
-
const store = () => {
|
|
19
|
-
try {
|
|
20
|
-
return globalThis.sessionStorage;
|
|
21
|
-
} catch {
|
|
22
|
-
return void 0;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
19
|
const loadToken = () => {
|
|
26
20
|
try {
|
|
27
|
-
return
|
|
21
|
+
return storageOf("session")?.getItem(STORAGE_KEY) ?? "";
|
|
28
22
|
} catch {
|
|
29
23
|
return "";
|
|
30
24
|
}
|
|
31
25
|
};
|
|
32
26
|
const saveToken = (token) => {
|
|
33
|
-
const storage =
|
|
27
|
+
const storage = storageOf("session");
|
|
34
28
|
if (storage === void 0) {
|
|
35
29
|
return;
|
|
36
30
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useMemo } from 'react';
|
|
2
|
-
import { E as ErrorAlert } from './error-alert-
|
|
2
|
+
import { E as ErrorAlert } from './error-alert-vIPQoN3Y.js';
|
|
3
3
|
import { C as Card, a as CardContent } from './card-DURq3ElK.js';
|
|
4
4
|
import { T as Table, a as TableHeader, b as TableRow, c as TableHead, d as TableBody, e as TableCell } from './table-DsCa9Qp9.js';
|
|
5
5
|
import { useT } from './DEFAULT_LOCALE-CiX4W7Kr.js';
|