@rebasepro/studio 0.19.1 → 0.19.2-canary.g09316f6
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/{ApiExplorer-9iwGvNnt.js → ApiExplorer-CND5O4Z5.js} +11 -11
- package/dist/ApiExplorer-CND5O4Z5.js.map +1 -0
- package/dist/{ApiKeysView-EIvegrUk.js → ApiKeysView-OfJLH2x7.js} +14 -14
- package/dist/ApiKeysView-OfJLH2x7.js.map +1 -0
- package/dist/{AuthSimulationSelector-Bougd521.js → AuthSimulationSelector-BewmhMBw.js} +2 -2
- package/dist/{AuthSimulationSelector-Bougd521.js.map → AuthSimulationSelector-BewmhMBw.js.map} +1 -1
- package/dist/{BackupsView-DVkKzaPR.js → BackupsView-D0ZDqTEn.js} +6 -6
- package/dist/{BackupsView-DVkKzaPR.js.map → BackupsView-D0ZDqTEn.js.map} +1 -1
- package/dist/{BranchesView-Df8hQ8wE.js → BranchesView-D6Sz1a5f.js} +11 -11
- package/dist/BranchesView-D6Sz1a5f.js.map +1 -0
- package/dist/{CronJobsView-CLOGjb-L.js → CronJobsView-JwRjQCde.js} +12 -12
- package/dist/CronJobsView-JwRjQCde.js.map +1 -0
- package/dist/{JSEditor-75FTeu6P.js → JSEditor-qiuwmcvk.js} +21 -21
- package/dist/JSEditor-qiuwmcvk.js.map +1 -0
- package/dist/{LogsExplorer-DI8SVpya.js → LogsExplorer-Xq8K4oo6.js} +3 -3
- package/dist/{LogsExplorer-DI8SVpya.js.map → LogsExplorer-Xq8K4oo6.js.map} +1 -1
- package/dist/{RLSEditor-Sa1D34ny.js → RLSEditor-C958zVWW.js} +34 -34
- package/dist/RLSEditor-C958zVWW.js.map +1 -0
- package/dist/{SQLEditor-BfNA8xM3.js → SQLEditor-sdtoZv5F.js} +37 -37
- package/dist/SQLEditor-sdtoZv5F.js.map +1 -0
- package/dist/{SchemaVisualizer-DTDMYL6o.js → SchemaVisualizer-DtDzIUNy.js} +30 -27
- package/dist/SchemaVisualizer-DtDzIUNy.js.map +1 -0
- package/dist/{StorageView-Ed9Q_VlB.js → StorageView-C52dSZNf.js} +16 -16
- package/dist/StorageView-C52dSZNf.js.map +1 -0
- package/dist/index.es.js +19 -19
- package/dist/index.es.js.map +1 -1
- package/package.json +9 -9
- package/dist/ApiExplorer-9iwGvNnt.js.map +0 -1
- package/dist/ApiKeysView-EIvegrUk.js.map +0 -1
- package/dist/BranchesView-Df8hQ8wE.js.map +0 -1
- package/dist/CronJobsView-CLOGjb-L.js.map +0 -1
- package/dist/JSEditor-75FTeu6P.js.map +0 -1
- package/dist/RLSEditor-Sa1D34ny.js.map +0 -1
- package/dist/SQLEditor-BfNA8xM3.js.map +0 -1
- package/dist/SchemaVisualizer-DTDMYL6o.js.map +0 -1
- package/dist/StorageView-Ed9Q_VlB.js.map +0 -1
|
@@ -25,7 +25,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
25
25
|
return /* @__PURE__ */ jsxs("div", {
|
|
26
26
|
className: "flex flex-col h-full overflow-hidden",
|
|
27
27
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
28
|
-
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-
|
|
28
|
+
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-sheet min-h-[48px]", defaultBorderMixin),
|
|
29
29
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
30
30
|
variant: "caption",
|
|
31
31
|
className: "font-semibold uppercase tracking-wider text-text-disabled dark:text-text-disabled-dark",
|
|
@@ -48,7 +48,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
48
48
|
}) : Object.entries(schemas).map(([schemaName, tables]) => /* @__PURE__ */ jsxs("div", {
|
|
49
49
|
className: "mb-2",
|
|
50
50
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
51
|
-
className: "flex items-center p-1 cursor-pointer hover:bg-surface-
|
|
51
|
+
className: "flex items-center p-1 cursor-pointer hover:bg-surface-hover rounded transition-colors",
|
|
52
52
|
onClick: () => setExpandedSchemas((prev) => ({
|
|
53
53
|
...prev,
|
|
54
54
|
[schemaName]: !prev[schemaName]
|
|
@@ -66,7 +66,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
66
66
|
}), expandedSchemas[schemaName] && /* @__PURE__ */ jsx("div", {
|
|
67
67
|
className: "ml-3 mt-1 space-y-1",
|
|
68
68
|
children: tables.map((table) => /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
69
|
-
className: "flex items-center p-1 cursor-pointer hover:bg-surface-
|
|
69
|
+
className: "flex items-center p-1 cursor-pointer hover:bg-surface-hover rounded transition-colors group relative",
|
|
70
70
|
onClick: () => setExpandedTables((prev) => ({
|
|
71
71
|
...prev,
|
|
72
72
|
[`${schemaName}.${table.tableName}`]: !prev[`${schemaName}.${table.tableName}`]
|
|
@@ -96,7 +96,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
96
96
|
children: table.tableName
|
|
97
97
|
}),
|
|
98
98
|
/* @__PURE__ */ jsxs("div", {
|
|
99
|
-
className: "flex opacity-0 group-hover:opacity-100 focus-within:opacity-100 absolute right-1 items-center bg-surface-
|
|
99
|
+
className: "flex opacity-0 group-hover:opacity-100 focus-within:opacity-100 absolute right-1 items-center bg-surface-raised px-1 gap-1 rounded transition-opacity",
|
|
100
100
|
children: [
|
|
101
101
|
/* @__PURE__ */ jsx(IconButton, {
|
|
102
102
|
size: "small",
|
|
@@ -169,7 +169,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
169
169
|
}), expandedTables[`${schemaName}.${table.tableName}`] && /* @__PURE__ */ jsx("div", {
|
|
170
170
|
className: cls("ml-5 mt-1 space-y-0.5 border-l", defaultBorderMixin),
|
|
171
171
|
children: table.columns.map((col) => /* @__PURE__ */ jsxs("div", {
|
|
172
|
-
className: "flex items-center p-1 group pl-2 hover:bg-surface-
|
|
172
|
+
className: "flex items-center p-1 group pl-2 hover:bg-surface-hover rounded-r relative min-h-[28px]",
|
|
173
173
|
children: [
|
|
174
174
|
/* @__PURE__ */ jsx("svg", {
|
|
175
175
|
className: "w-3 h-3 mr-1.5 text-text-disabled dark:text-text-disabled-dark shrink-0",
|
|
@@ -196,7 +196,7 @@ var SchemaBrowser = ({ onTableClick, schemas, isSchemaLoading, schemaError, onRe
|
|
|
196
196
|
}),
|
|
197
197
|
/* @__PURE__ */ jsx(IconButton, {
|
|
198
198
|
size: "smallest",
|
|
199
|
-
className: "opacity-0 group-hover:opacity-100 absolute right-1 bg-surface-
|
|
199
|
+
className: "opacity-0 group-hover:opacity-100 absolute right-1 bg-surface-sheet transition-colors pointer-events-auto",
|
|
200
200
|
onClick: (e) => {
|
|
201
201
|
e.stopPropagation();
|
|
202
202
|
navigator.clipboard.writeText(col.name);
|
|
@@ -218,12 +218,12 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
218
218
|
const [activeTab, setActiveTab] = useState("schema");
|
|
219
219
|
const { t } = useTranslation();
|
|
220
220
|
return /* @__PURE__ */ jsxs("div", {
|
|
221
|
-
className: cls("flex flex-col h-full w-full bg-
|
|
221
|
+
className: cls("flex flex-col h-full w-full bg-surface-card border-r", defaultBorderMixin),
|
|
222
222
|
children: [/* @__PURE__ */ jsxs(Tabs, {
|
|
223
223
|
value: activeTab,
|
|
224
224
|
onValueChange: (v) => setActiveTab(v),
|
|
225
225
|
variant: "boxy",
|
|
226
|
-
className: "border-b border-
|
|
226
|
+
className: "border-b border-hairline",
|
|
227
227
|
children: [
|
|
228
228
|
/* @__PURE__ */ jsx(Tab, {
|
|
229
229
|
value: "schema",
|
|
@@ -254,7 +254,7 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
254
254
|
return /* @__PURE__ */ jsxs("div", {
|
|
255
255
|
className: "flex flex-col h-full",
|
|
256
256
|
children: [/* @__PURE__ */ jsx("div", {
|
|
257
|
-
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-
|
|
257
|
+
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-sheet min-h-[48px]", defaultBorderMixin),
|
|
258
258
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
259
259
|
variant: "caption",
|
|
260
260
|
className: "font-semibold uppercase tracking-wider text-text-disabled dark:text-text-disabled-dark",
|
|
@@ -287,7 +287,7 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
287
287
|
}), /* @__PURE__ */ jsx("div", {
|
|
288
288
|
className: "space-y-2",
|
|
289
289
|
children: favorites.map((snippet) => /* @__PURE__ */ jsxs("div", {
|
|
290
|
-
className: cls("group p-2 rounded border hover:border-
|
|
290
|
+
className: cls("group p-2 rounded border hover:border-hairline-strong bg-surface-card transition-all cursor-pointer relative", defaultBorderMixin),
|
|
291
291
|
onClick: () => onSelectSnippet(snippet.sql),
|
|
292
292
|
children: [
|
|
293
293
|
/* @__PURE__ */ jsx(Typography, {
|
|
@@ -319,7 +319,7 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
319
319
|
}), /* @__PURE__ */ jsx("div", {
|
|
320
320
|
className: "space-y-2",
|
|
321
321
|
children: others.map((snippet) => /* @__PURE__ */ jsxs("div", {
|
|
322
|
-
className: cls("group p-2 rounded border hover:border-
|
|
322
|
+
className: cls("group p-2 rounded border hover:border-hairline-strong bg-surface-card transition-all cursor-pointer relative", defaultBorderMixin),
|
|
323
323
|
onClick: () => onSelectSnippet(snippet.sql),
|
|
324
324
|
children: [
|
|
325
325
|
/* @__PURE__ */ jsx(Typography, {
|
|
@@ -350,7 +350,7 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
350
350
|
activeTab === "history" && /* @__PURE__ */ jsxs("div", {
|
|
351
351
|
className: "flex flex-col h-full",
|
|
352
352
|
children: [/* @__PURE__ */ jsx("div", {
|
|
353
|
-
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-
|
|
353
|
+
className: cls("flex items-center justify-between px-3 py-2 border-b bg-surface-sheet min-h-[48px]", defaultBorderMixin),
|
|
354
354
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
355
355
|
variant: "caption",
|
|
356
356
|
className: "font-semibold uppercase tracking-wider text-text-disabled dark:text-text-disabled-dark",
|
|
@@ -366,7 +366,7 @@ var SQLEditorSidebar = ({ onSelectSnippet, onTableClick, snippets, history, onDe
|
|
|
366
366
|
children: t("studio_sql_sidebar_no_history")
|
|
367
367
|
})
|
|
368
368
|
}) : [...history].reverse().map((sql, i) => /* @__PURE__ */ jsxs("div", {
|
|
369
|
-
className: "p-2 py-1.5 rounded hover:bg-surface-
|
|
369
|
+
className: "p-2 py-1.5 rounded hover:bg-surface-hover cursor-pointer group transition-colors flex items-start",
|
|
370
370
|
onClick: () => onSelectSnippet(sql),
|
|
371
371
|
children: [/* @__PURE__ */ jsx("svg", {
|
|
372
372
|
className: "w-3 h-3 mt-1 mr-2 text-text-disabled dark:text-text-disabled-dark group-hover:text-primary transition-colors flex-shrink-0",
|
|
@@ -552,10 +552,10 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
552
552
|
return /* @__PURE__ */ jsxs("div", {
|
|
553
553
|
className: cls("flex flex-col", isRoot ? "p-4" : "pl-6 mt-2 relative"),
|
|
554
554
|
children: [
|
|
555
|
-
!isRoot && /* @__PURE__ */ jsx("div", { className: "absolute left-2.5 top-0 bottom-0 w-px bg-
|
|
556
|
-
!isRoot && /* @__PURE__ */ jsx("div", { className: "absolute left-2.5 top-5 w-3 h-px bg-
|
|
555
|
+
!isRoot && /* @__PURE__ */ jsx("div", { className: "absolute left-2.5 top-0 bottom-0 w-px bg-hairline -z-10" }),
|
|
556
|
+
!isRoot && /* @__PURE__ */ jsx("div", { className: "absolute left-2.5 top-5 w-3 h-px bg-hairline -z-10" }),
|
|
557
557
|
/* @__PURE__ */ jsxs("div", {
|
|
558
|
-
className: cls("border rounded-md bg-
|
|
558
|
+
className: cls("border rounded-md bg-surface-card text-text-primary dark:text-text-primary-dark shadow-xs relative z-10 w-[420px] max-w-full", defaultBorderMixin),
|
|
559
559
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
560
560
|
className: cls("px-4 py-3 flex justify-between items-center cursor-pointer select-none"),
|
|
561
561
|
onClick: () => setExpanded(!expanded),
|
|
@@ -580,7 +580,7 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
580
580
|
children: plan["Node Type"]
|
|
581
581
|
}),
|
|
582
582
|
plan["Relation Name"] && /* @__PURE__ */ jsxs("span", {
|
|
583
|
-
className: "font-mono text-[11px] text-text-secondary dark:text-text-secondary-dark px-2 py-0.5 rounded bg-
|
|
583
|
+
className: "font-mono text-[11px] text-text-secondary dark:text-text-secondary-dark px-2 py-0.5 rounded bg-hairline ml-2",
|
|
584
584
|
children: [
|
|
585
585
|
"on ",
|
|
586
586
|
plan["Relation Name"],
|
|
@@ -614,7 +614,7 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
614
614
|
}), /* @__PURE__ */ jsx(Collapse, {
|
|
615
615
|
in: expanded,
|
|
616
616
|
children: /* @__PURE__ */ jsxs("div", {
|
|
617
|
-
className: "px-4 py-3 border-t border-
|
|
617
|
+
className: "px-4 py-3 border-t border-hairline text-[13px] flex flex-col gap-2",
|
|
618
618
|
children: [
|
|
619
619
|
/* @__PURE__ */ jsxs("div", {
|
|
620
620
|
className: "flex items-center space-x-6",
|
|
@@ -644,7 +644,7 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
644
644
|
className: "text-text-disabled dark:text-text-disabled-dark block mb-1",
|
|
645
645
|
children: "Filter:"
|
|
646
646
|
}), /* @__PURE__ */ jsx("code", {
|
|
647
|
-
className: "block w-full p-2 bg-surface-
|
|
647
|
+
className: "block w-full p-2 bg-surface-well border border-hairline rounded font-mono text-[12px] truncate",
|
|
648
648
|
children: plan.Filter
|
|
649
649
|
})]
|
|
650
650
|
}),
|
|
@@ -654,7 +654,7 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
654
654
|
className: "text-text-disabled dark:text-text-disabled-dark block mb-1",
|
|
655
655
|
children: "Index Cond:"
|
|
656
656
|
}), /* @__PURE__ */ jsx("code", {
|
|
657
|
-
className: "block w-full p-2 bg-surface-
|
|
657
|
+
className: "block w-full p-2 bg-surface-well border border-hairline rounded font-mono text-[12px] truncate",
|
|
658
658
|
children: plan["Index Cond"]
|
|
659
659
|
})]
|
|
660
660
|
}),
|
|
@@ -664,7 +664,7 @@ var ExplainVisualizer = ({ plan, isRoot = true }) => {
|
|
|
664
664
|
className: "text-text-disabled dark:text-text-disabled-dark block mb-1",
|
|
665
665
|
children: "Hash Cond:"
|
|
666
666
|
}), /* @__PURE__ */ jsx("code", {
|
|
667
|
-
className: "block w-full p-2 bg-surface-
|
|
667
|
+
className: "block w-full p-2 bg-surface-well border border-hairline rounded font-mono text-[12px] truncate",
|
|
668
668
|
children: plan["Hash Cond"]
|
|
669
669
|
})]
|
|
670
670
|
})
|
|
@@ -722,7 +722,7 @@ var FixedEditorOverlay = ({ displayValue, onSave, onCancel }) => {
|
|
|
722
722
|
ref: anchorRef,
|
|
723
723
|
className: "w-full h-full min-h-[20px]",
|
|
724
724
|
children: createPortal(/* @__PURE__ */ jsx("div", {
|
|
725
|
-
className: "fixed z-[9999] bg-surface-
|
|
725
|
+
className: "fixed z-[9999] bg-surface-sheet border-2 border-primary dark:border-primary-dark shadow-xl flex flex-col",
|
|
726
726
|
style: {
|
|
727
727
|
top,
|
|
728
728
|
left,
|
|
@@ -1441,7 +1441,7 @@ var SQLEditor = () => {
|
|
|
1441
1441
|
if (results.length === 1 && results[0]["QUERY PLAN"] && Array.isArray(results[0]["QUERY PLAN"])) try {
|
|
1442
1442
|
const plan = results[0]["QUERY PLAN"][0].Plan;
|
|
1443
1443
|
if (plan) return /* @__PURE__ */ jsxs("div", {
|
|
1444
|
-
className: "flex-grow overflow-auto p-4 bg-surface-
|
|
1444
|
+
className: "flex-grow overflow-auto p-4 bg-surface-sheet flex flex-col items-start",
|
|
1445
1445
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1446
1446
|
variant: "caption",
|
|
1447
1447
|
className: "font-semibold text-text-secondary mb-4 tracking-wider uppercase",
|
|
@@ -1458,7 +1458,7 @@ var SQLEditor = () => {
|
|
|
1458
1458
|
className: "flex-grow p-6 flex flex-col items-center justify-center",
|
|
1459
1459
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1460
1460
|
variant: "body2",
|
|
1461
|
-
className: "text-text-secondary dark:text-text-secondary-dark font-mono border-b border-
|
|
1461
|
+
className: "text-text-secondary dark:text-text-secondary-dark font-mono border-b border-hairline pb-2 mb-2",
|
|
1462
1462
|
children: t("studio_sql_success")
|
|
1463
1463
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1464
1464
|
variant: "caption",
|
|
@@ -1501,7 +1501,7 @@ var SQLEditor = () => {
|
|
|
1501
1501
|
className: "flex-grow flex flex-col overflow-hidden min-h-0",
|
|
1502
1502
|
children: [
|
|
1503
1503
|
actionableCollections.length > 0 && /* @__PURE__ */ jsxs("div", {
|
|
1504
|
-
className: cls("px-4 py-1.5 border-b flex items-center gap-2 shrink-0 bg-surface-
|
|
1504
|
+
className: cls("px-4 py-1.5 border-b flex items-center gap-2 shrink-0 bg-surface-sheet", defaultBorderMixin),
|
|
1505
1505
|
children: [/* @__PURE__ */ jsx(Tooltip, {
|
|
1506
1506
|
title: t("studio_sql_admin_collections_tooltip"),
|
|
1507
1507
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
@@ -1613,7 +1613,7 @@ var SQLEditor = () => {
|
|
|
1613
1613
|
})
|
|
1614
1614
|
}),
|
|
1615
1615
|
/* @__PURE__ */ jsxs("div", {
|
|
1616
|
-
className: cls("p-2 px-4 border-t bg-surface-
|
|
1616
|
+
className: cls("p-2 px-4 border-t bg-surface-sheet flex justify-between items-center shrink-0", defaultBorderMixin),
|
|
1617
1617
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
1618
1618
|
className: "flex space-x-4",
|
|
1619
1619
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -1681,7 +1681,7 @@ var SQLEditor = () => {
|
|
|
1681
1681
|
const activeSnippet = snippets.find((s) => s.sql === activeTab.sql);
|
|
1682
1682
|
const isFavorite = activeSnippet?.isFavorite || false;
|
|
1683
1683
|
return /* @__PURE__ */ jsxs("div", {
|
|
1684
|
-
className: "flex h-full w-full bg-
|
|
1684
|
+
className: "flex h-full w-full bg-surface-card overflow-hidden text-text-primary dark:text-text-primary-dark",
|
|
1685
1685
|
children: [
|
|
1686
1686
|
/* @__PURE__ */ jsx(ResizablePanels, {
|
|
1687
1687
|
orientation: "horizontal",
|
|
@@ -1702,7 +1702,7 @@ var SQLEditor = () => {
|
|
|
1702
1702
|
secondPanel: /* @__PURE__ */ jsxs("div", {
|
|
1703
1703
|
className: "flex-grow flex flex-col min-w-0 h-full w-full",
|
|
1704
1704
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
1705
|
-
className: cls("flex items-center justify-between pr-2 border-b bg-
|
|
1705
|
+
className: cls("flex items-center justify-between pr-2 border-b bg-surface-card", defaultBorderMixin),
|
|
1706
1706
|
children: [/* @__PURE__ */ jsx("div", {
|
|
1707
1707
|
className: "flex items-center flex-grow overflow-hidden mr-4",
|
|
1708
1708
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -1712,7 +1712,7 @@ var SQLEditor = () => {
|
|
|
1712
1712
|
onValueChange: handleTabChange,
|
|
1713
1713
|
variant: "boxy",
|
|
1714
1714
|
className: "w-[unset] flex-shrink-0",
|
|
1715
|
-
innerClassName: "bg-
|
|
1715
|
+
innerClassName: "bg-surface-card",
|
|
1716
1716
|
children: tabs.map((tab) => /* @__PURE__ */ jsxs(Tab, {
|
|
1717
1717
|
value: tab.id,
|
|
1718
1718
|
className: "flex items-center justify-between group max-w-[200px]",
|
|
@@ -1763,7 +1763,7 @@ var SQLEditor = () => {
|
|
|
1763
1763
|
disabled: loading,
|
|
1764
1764
|
children: t("studio_sql_explain")
|
|
1765
1765
|
}),
|
|
1766
|
-
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-
|
|
1766
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-hairline mx-1" }),
|
|
1767
1767
|
/* @__PURE__ */ jsxs("div", {
|
|
1768
1768
|
className: "flex items-center space-x-2 px-2",
|
|
1769
1769
|
onClick: (e) => {
|
|
@@ -1784,7 +1784,7 @@ var SQLEditor = () => {
|
|
|
1784
1784
|
})
|
|
1785
1785
|
})]
|
|
1786
1786
|
}),
|
|
1787
|
-
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-
|
|
1787
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-hairline mx-1" }),
|
|
1788
1788
|
/* @__PURE__ */ jsx(Tooltip, {
|
|
1789
1789
|
title: isFavorite ? t("studio_sql_remove_from_favorites") : t("studio_sql_add_to_favorites"),
|
|
1790
1790
|
children: /* @__PURE__ */ jsx(IconButton, {
|
|
@@ -1822,7 +1822,7 @@ var SQLEditor = () => {
|
|
|
1822
1822
|
onClick: () => setIsSaveDialogOpen(true),
|
|
1823
1823
|
children: t("studio_sql_save")
|
|
1824
1824
|
}),
|
|
1825
|
-
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-
|
|
1825
|
+
/* @__PURE__ */ jsx("div", { className: "h-4 w-px bg-hairline mx-1" }),
|
|
1826
1826
|
/* @__PURE__ */ jsx(Menu, {
|
|
1827
1827
|
trigger: /* @__PURE__ */ jsxs(Button, {
|
|
1828
1828
|
size: "small",
|
|
@@ -1839,7 +1839,7 @@ var SQLEditor = () => {
|
|
|
1839
1839
|
children: /* @__PURE__ */ jsxs("div", {
|
|
1840
1840
|
className: "max-h-64 overflow-y-auto",
|
|
1841
1841
|
children: [/* @__PURE__ */ jsx("div", {
|
|
1842
|
-
className: "px-3 py-1.5 border-b border-
|
|
1842
|
+
className: "px-3 py-1.5 border-b border-hairline mb-1",
|
|
1843
1843
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1844
1844
|
variant: "caption",
|
|
1845
1845
|
className: "font-semibold uppercase tracking-wider text-[9px] text-text-disabled dark:text-text-disabled-dark",
|
|
@@ -1859,7 +1859,7 @@ var SQLEditor = () => {
|
|
|
1859
1859
|
children: db
|
|
1860
1860
|
}, db)),
|
|
1861
1861
|
/* @__PURE__ */ jsx("div", {
|
|
1862
|
-
className: "px-3 py-1.5 border-y border-
|
|
1862
|
+
className: "px-3 py-1.5 border-y border-hairline mb-1 mt-1",
|
|
1863
1863
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1864
1864
|
variant: "caption",
|
|
1865
1865
|
className: "font-semibold uppercase tracking-wider text-[9px] text-text-disabled dark:text-text-disabled-dark",
|
|
@@ -1905,9 +1905,9 @@ var SQLEditor = () => {
|
|
|
1905
1905
|
})
|
|
1906
1906
|
}),
|
|
1907
1907
|
secondPanel: /* @__PURE__ */ jsxs("div", {
|
|
1908
|
-
className: "h-full w-full flex flex-col bg-surface-
|
|
1908
|
+
className: "h-full w-full flex flex-col bg-surface-well overflow-hidden min-h-0",
|
|
1909
1909
|
children: [/* @__PURE__ */ jsx("div", {
|
|
1910
|
-
className: cls("p-2 px-4 bg-surface-
|
|
1910
|
+
className: cls("p-2 px-4 bg-surface-raised border-b shrink-0 flex items-center", defaultBorderMixin),
|
|
1911
1911
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
1912
1912
|
variant: "caption",
|
|
1913
1913
|
className: "font-semibold text-text-disabled dark:text-text-disabled-dark uppercase tracking-widest text-[10px]",
|
|
@@ -1974,4 +1974,4 @@ var SQLEditor = () => {
|
|
|
1974
1974
|
//#endregion
|
|
1975
1975
|
export { SQLEditor };
|
|
1976
1976
|
|
|
1977
|
-
//# sourceMappingURL=SQLEditor-
|
|
1977
|
+
//# sourceMappingURL=SQLEditor-sdtoZv5F.js.map
|