@nongt/visql 0.8.0 → 0.9.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.
- package/README.md +23 -360
- package/dist/{MuiTimePicker-BjywwrRm.js → MuiTimePicker-DRqT6ByZ.js} +1 -1
- package/dist/PipelineEditor-C10lng6j.js +10544 -0
- package/dist/core.js +336 -78
- package/dist/explain.js +165 -0
- package/dist/index.js +114 -98
- package/dist/issueLocation-BOSdd1JX.js +1106 -0
- package/dist/mui-date-pickers-host.js +1 -1
- package/dist/mui-date-pickers.js +1 -1
- package/dist/mui.js +95 -84
- package/dist/params-MMOdKWnW.js +2217 -0
- package/dist/{schema-DFC26AhZ.js → schema-dP_ISylQ.js} +270 -242
- package/dist/sql-import.js +1 -1
- package/dist/sqlGen-B7-2-i9V.js +903 -0
- package/dist/style.css +1 -1
- package/dist/tokens-DV5rTGMj.js +171 -0
- package/dist/types/core/components/flow/NodeActionFrame.d.ts +20 -0
- package/dist/types/core/components/flow/useNodeActions.d.ts +18 -0
- package/dist/types/core/i18n/defaultMessages.d.ts +15 -0
- package/dist/types/core/i18n/messages.d.ts +11 -0
- package/dist/types/core/planFindings.d.ts +27 -0
- package/dist/types/core/queryHelpers.d.ts +1 -1
- package/dist/types/core/schema.d.ts +35 -20
- package/dist/types/core/scopeQuery.d.ts +2 -2
- package/dist/types/core/theme/appearance.d.ts +27 -0
- package/dist/types/core/theme/looks.d.ts +14 -0
- package/dist/types/core/theme/tokens.d.ts +9 -1
- package/dist/types/core-api.d.ts +1 -0
- package/dist/types/explain/explainQuery.d.ts +53 -0
- package/dist/types/explain/postgresPlan.d.ts +12 -0
- package/dist/types/explain.d.ts +2 -0
- package/dist/types/features/queryEditor/CanvasBackground.d.ts +2 -0
- package/dist/types/features/queryEditor/ExplainButton.d.ts +13 -0
- package/dist/types/features/queryEditor/IssuesButton.d.ts +14 -6
- package/dist/types/features/queryEditor/PipelineEditor.d.ts +15 -0
- package/dist/types/features/queryEditor/planText.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +14 -1
- package/dist/PipelineEditor-DtT1TPgd.js +0 -10214
- package/dist/core-api-jaQDPXVK.js +0 -1171
- package/dist/issueLocation-DEIwB1DW.js +0 -3290
- package/dist/tokens-BTaVMSOx.js +0 -95
package/dist/tokens-BTaVMSOx.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
const c = {
|
|
2
|
-
// Canvas
|
|
3
|
-
canvasBg: "#242424",
|
|
4
|
-
canvasPattern: "#505050",
|
|
5
|
-
edge: "#ffffff60",
|
|
6
|
-
// Breadcrumb bar above the canvas
|
|
7
|
-
headerBg: "#18181b",
|
|
8
|
-
headerBorder: "#3f3f46",
|
|
9
|
-
// Dark node panels (groups, FROM/SELECT, function calls, toast)
|
|
10
|
-
nodeBg: "#27272a",
|
|
11
|
-
nodeBorder: "#52525b",
|
|
12
|
-
nodeHoverBg: "#3f3f46",
|
|
13
|
-
// Inputs drawn directly on a dark panel (function name field)
|
|
14
|
-
nodeInputText: "#ffffff",
|
|
15
|
-
nodeInputBorder: "rgb(255 255 255 / 0.25)",
|
|
16
|
-
nodeInputIcon: "rgb(255 255 255 / 0.6)",
|
|
17
|
-
// Translucent backdrop behind a group's children
|
|
18
|
-
groupBg: "rgb(39 39 42 / 0.3)",
|
|
19
|
-
groupBorder: "rgb(82 82 91 / 0.5)",
|
|
20
|
-
groupDragBg: "rgb(63 63 70 / 0.5)",
|
|
21
|
-
groupDragBorder: "rgb(161 161 170 / 0.5)",
|
|
22
|
-
// Text on the canvas and on dark panels
|
|
23
|
-
textStrong: "#f4f4f5",
|
|
24
|
-
text: "#e4e4e7",
|
|
25
|
-
textSecondary: "#d4d4d8",
|
|
26
|
-
textMuted: "#a1a1aa",
|
|
27
|
-
textFaint: "#52525b",
|
|
28
|
-
// Light "field" cards inside nodes, where values are edited
|
|
29
|
-
fieldBg: "#ffffff",
|
|
30
|
-
fieldControlBg: "#f4f4f5",
|
|
31
|
-
fieldControlHoverBg: "#e4e4e7",
|
|
32
|
-
fieldBorder: "#d4d4d8",
|
|
33
|
-
fieldBorderHover: "#71717a",
|
|
34
|
-
fieldText: "#3f3f46",
|
|
35
|
-
fieldTextSoft: "#52525b",
|
|
36
|
-
fieldTextMuted: "#71717a",
|
|
37
|
-
fieldTextSubtle: "#a1a1aa",
|
|
38
|
-
fieldGroupBorder: "#fffbeb",
|
|
39
|
-
// IF / CASE (conditional values)
|
|
40
|
-
conditional: "#fbbf24",
|
|
41
|
-
conditionalOnField: "#d97706",
|
|
42
|
-
conditionalBorder: "rgb(217 119 6 / 0.5)",
|
|
43
|
-
// NOT
|
|
44
|
-
negate: "#f87171",
|
|
45
|
-
// A parameter (`:name`, a value given when the query runs) — its own
|
|
46
|
-
// color, so it's never mistaken for a typed value
|
|
47
|
-
param: "#6d28d9",
|
|
48
|
-
paramBg: "#ede9fe",
|
|
49
|
-
// A computed summary shown as a pill (the rows LIMIT/OFFSET come to) —
|
|
50
|
-
// opaque, since it sits both on a dark panel and in a white field card
|
|
51
|
-
summaryBg: "#e0f2fe",
|
|
52
|
-
summaryBorder: "#7dd3fc",
|
|
53
|
-
summaryText: "#0c4a6e",
|
|
54
|
-
// The ring around a part gone to — picked in a formula's peek (issue
|
|
55
|
-
// 131) — as bright on the canvas as a problem's
|
|
56
|
-
focusRing: "#38bdf8",
|
|
57
|
-
// Buttons and controls (also the MUI palette)
|
|
58
|
-
accent: "#067bc2",
|
|
59
|
-
secondary: "#ecda92",
|
|
60
|
-
danger: "#d32f2f",
|
|
61
|
-
warning: "#ed6c02"
|
|
62
|
-
}, s = "qb-root";
|
|
63
|
-
function f(e) {
|
|
64
|
-
return `--qb-${e.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`)}`;
|
|
65
|
-
}
|
|
66
|
-
function g(e) {
|
|
67
|
-
return `var(${f(e)})`;
|
|
68
|
-
}
|
|
69
|
-
const a = Object.keys(c);
|
|
70
|
-
function i() {
|
|
71
|
-
const e = a.map((r) => `${f(r)}:${c[r]};`).join("");
|
|
72
|
-
return `:where(.${s}){${e}}`;
|
|
73
|
-
}
|
|
74
|
-
function u(e) {
|
|
75
|
-
const r = {};
|
|
76
|
-
return e && a.forEach((t) => {
|
|
77
|
-
const o = e[t];
|
|
78
|
-
o !== void 0 && (r[f(t)] = o);
|
|
79
|
-
}), r;
|
|
80
|
-
}
|
|
81
|
-
function l(e, r) {
|
|
82
|
-
const t = getComputedStyle(e), o = { ...r };
|
|
83
|
-
return a.forEach((d) => {
|
|
84
|
-
const n = t.getPropertyValue(f(d)).trim();
|
|
85
|
-
n && (o[d] = n);
|
|
86
|
-
}), o;
|
|
87
|
-
}
|
|
88
|
-
export {
|
|
89
|
-
c as D,
|
|
90
|
-
s as R,
|
|
91
|
-
u as a,
|
|
92
|
-
i as d,
|
|
93
|
-
l as r,
|
|
94
|
-
g as t
|
|
95
|
-
};
|