@malloy-publisher/sdk 0.0.147 → 0.0.149
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/components/RenderedResult/ResultContainer.d.ts +1 -3
- package/dist/index.cjs.js +7 -7
- package/dist/index.es.js +161 -176
- package/package.json +1 -1
- package/src/components/Model/ModelCell.tsx +0 -2
- package/src/components/Notebook/NotebookCell.tsx +0 -16
- package/src/components/RenderedResult/RenderedResult.tsx +28 -8
- package/src/components/RenderedResult/ResultContainer.tsx +2 -6
- package/src/components/ResultsDialog.tsx +2 -4
- package/src/components/Workbook/MutableCell.tsx +2 -6
- package/src/components/filter/DimensionFilter.tsx +13 -3
- package/src/components/styles.ts +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as z, Fragment as vt } from "react/jsx-runtime";
|
|
2
|
-
import { styled as sn, Card as Pa, CardContent as Ra, CardMedia as CC, Typography as Ae, Box as He, CircularProgress as $0, Button as
|
|
2
|
+
import { styled as sn, Card as Pa, CardContent as Ra, CardMedia as CC, Typography as Ae, Box as He, CircularProgress as $0, Button as mn, Tooltip as Fn, IconButton as Mt, Collapse as Xf, Stack as Yt, Dialog as Rr, DialogTitle as Nr, DialogContent as Mr, DialogActions as B0, FormControl as Cd, Chip as hl, Menu as ks, Divider as Zr, MenuItem as mr, DialogContentText as EC, List as ku, ListItem as _a, ListItemText as Un, ListItemIcon as Ua, InputLabel as vC, Select as TC, TextField as H0, Snackbar as ro, Container as SC, Grid as Ht, Paper as gl, FormControlLabel as kC, Switch as _C, ListItemButton as U0, TableContainer as z0, Table as zl, TableHead as V0, TableRow as yo, TableCell as on, TableBody as Vl } from "@mui/material";
|
|
3
3
|
import * as k from "react";
|
|
4
|
-
import ve, { useEffect as Ut, useImperativeHandle as j0, useContext as ei, Fragment as W0, useMemo as ft, useRef as
|
|
4
|
+
import ve, { useEffect as Ut, useImperativeHandle as j0, useContext as ei, Fragment as W0, useMemo as ft, useRef as fn, useReducer as wC, useState as Ye, Suspense as xp, lazy as q0, createContext as IC, isValidElement as bl, cloneElement as yl, Children as AC, useCallback as go, useLayoutEffect as DC } from "react";
|
|
5
5
|
import { useQuery as PC, useMutation as RC, useQueryClient as oa } from "@tanstack/react-query";
|
|
6
6
|
import { u as ht, g as Y0, C as G0 } from "./ServerProvider-D-y63tG0.es.js";
|
|
7
7
|
import { S as nq } from "./ServerProvider-D-y63tG0.es.js";
|
|
@@ -227,7 +227,7 @@ function rb(e) {
|
|
|
227
227
|
t[n] = rb(e[n]);
|
|
228
228
|
}), t;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function gn(e, t, n = {
|
|
231
231
|
clone: !0
|
|
232
232
|
}) {
|
|
233
233
|
const r = n.clone ? {
|
|
@@ -235,11 +235,11 @@ function hn(e, t, n = {
|
|
|
235
235
|
} : e;
|
|
236
236
|
return Ar(e) && Ar(t) && Object.keys(t).forEach((o) => {
|
|
237
237
|
/* @__PURE__ */ k.isValidElement(t[o]) || nb.isValidElementType(t[o]) ? r[o] = t[o] : Ar(t[o]) && // Avoid prototype pollution
|
|
238
|
-
Object.prototype.hasOwnProperty.call(e, o) && Ar(e[o]) ? r[o] =
|
|
238
|
+
Object.prototype.hasOwnProperty.call(e, o) && Ar(e[o]) ? r[o] = gn(e[o], t[o], n) : n.clone ? r[o] = Ar(t[o]) ? rb(t[o]) : t[o] : r[o] = t[o];
|
|
239
239
|
}), r;
|
|
240
240
|
}
|
|
241
241
|
function Vi(e, t) {
|
|
242
|
-
return t ?
|
|
242
|
+
return t ? gn(e, t, {
|
|
243
243
|
clone: !1
|
|
244
244
|
// No need to clone deep, it's way faster.
|
|
245
245
|
}) : e;
|
|
@@ -1356,7 +1356,7 @@ function wp(e) {
|
|
|
1356
1356
|
return o ? (cm(o, g, "light", C, r), cm(o, g, "dark", T, r)) : (um(g, "light", C, r), um(g, "dark", T, r)), g.contrastText || (g.contrastText = f(g.main)), g;
|
|
1357
1357
|
};
|
|
1358
1358
|
let h;
|
|
1359
|
-
return t === "light" ? h = ib() : t === "dark" && (h = lb()),
|
|
1359
|
+
return t === "light" ? h = ib() : t === "dark" && (h = lb()), gn({
|
|
1360
1360
|
// A collection of common colors.
|
|
1361
1361
|
common: {
|
|
1362
1362
|
...ls
|
|
@@ -1792,7 +1792,7 @@ function Ip(e = {}, ...t) {
|
|
|
1792
1792
|
shape: a = {},
|
|
1793
1793
|
...i
|
|
1794
1794
|
} = e, s = kv(n), l = wv(o);
|
|
1795
|
-
let u =
|
|
1795
|
+
let u = gn({
|
|
1796
1796
|
breakpoints: s,
|
|
1797
1797
|
direction: "ltr",
|
|
1798
1798
|
components: {},
|
|
@@ -1807,7 +1807,7 @@ function Ip(e = {}, ...t) {
|
|
|
1807
1807
|
...a
|
|
1808
1808
|
}
|
|
1809
1809
|
}, i);
|
|
1810
|
-
return u = iE(u), u.applyStyles = Iv, u = t.reduce((c, d) =>
|
|
1810
|
+
return u = iE(u), u.applyStyles = Iv, u = t.reduce((c, d) => gn(c, d), u), u.unstable_sxConfig = {
|
|
1811
1811
|
...As,
|
|
1812
1812
|
...i?.unstable_sxConfig
|
|
1813
1813
|
}, u.unstable_sx = function(d) {
|
|
@@ -1884,7 +1884,7 @@ function Nv(e, t = {}) {
|
|
|
1884
1884
|
css: M,
|
|
1885
1885
|
varsWithDefaults: L
|
|
1886
1886
|
} = _c(_, t);
|
|
1887
|
-
p =
|
|
1887
|
+
p = gn(p, L), h[T] = {
|
|
1888
1888
|
css: M,
|
|
1889
1889
|
vars: S
|
|
1890
1890
|
};
|
|
@@ -1894,7 +1894,7 @@ function Nv(e, t = {}) {
|
|
|
1894
1894
|
vars: _,
|
|
1895
1895
|
varsWithDefaults: S
|
|
1896
1896
|
} = _c(b, t);
|
|
1897
|
-
p =
|
|
1897
|
+
p = gn(p, S), h[l] = {
|
|
1898
1898
|
css: T,
|
|
1899
1899
|
vars: _
|
|
1900
1900
|
};
|
|
@@ -1922,7 +1922,7 @@ function Nv(e, t = {}) {
|
|
|
1922
1922
|
return Object.entries(h).forEach(([, {
|
|
1923
1923
|
vars: _
|
|
1924
1924
|
}]) => {
|
|
1925
|
-
T =
|
|
1925
|
+
T = gn(T, _);
|
|
1926
1926
|
}), T;
|
|
1927
1927
|
},
|
|
1928
1928
|
generateStyleSheets: () => {
|
|
@@ -2083,7 +2083,7 @@ function Bv(e, t) {
|
|
|
2083
2083
|
letterSpacing: "inherit"
|
|
2084
2084
|
}
|
|
2085
2085
|
};
|
|
2086
|
-
return
|
|
2086
|
+
return gn({
|
|
2087
2087
|
htmlFontSize: l,
|
|
2088
2088
|
pxToRem: p,
|
|
2089
2089
|
fontFamily: n,
|
|
@@ -2243,7 +2243,7 @@ function Sd(e = {}, ...t) {
|
|
|
2243
2243
|
...a,
|
|
2244
2244
|
colorSpace: u
|
|
2245
2245
|
}), f = Ip(e);
|
|
2246
|
-
let p =
|
|
2246
|
+
let p = gn(f, {
|
|
2247
2247
|
mixins: Fv(f.breakpoints, r),
|
|
2248
2248
|
palette: d,
|
|
2249
2249
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
@@ -2254,7 +2254,7 @@ function Sd(e = {}, ...t) {
|
|
|
2254
2254
|
...Yv
|
|
2255
2255
|
}
|
|
2256
2256
|
});
|
|
2257
|
-
return p =
|
|
2257
|
+
return p = gn(p, c), p = t.reduce((h, b) => gn(h, b), p), p.unstable_sxConfig = {
|
|
2258
2258
|
...As,
|
|
2259
2259
|
...c?.unstable_sxConfig
|
|
2260
2260
|
}, p.unstable_sx = function(b) {
|
|
@@ -2479,7 +2479,7 @@ function aT(e = {}, ...t) {
|
|
|
2479
2479
|
const P = v[A];
|
|
2480
2480
|
A !== "tonalOffset" && P && typeof P == "object" && (P.main && fe(v[A], "mainChannel", $i(Bi(P.main))), P.light && fe(v[A], "lightChannel", $i(Bi(P.light))), P.dark && fe(v[A], "darkChannel", $i(Bi(P.dark))), P.contrastText && fe(v[A], "contrastTextChannel", $i(Bi(P.contrastText))), A === "text" && (qr(v[A], "primary"), qr(v[A], "secondary")), A === "action" && (P.active && qr(v[A], "active"), P.selected && qr(v[A], "selected")));
|
|
2481
2481
|
});
|
|
2482
|
-
}), S = t.reduce((N, v) =>
|
|
2482
|
+
}), S = t.reduce((N, v) => gn(N, v), S);
|
|
2483
2483
|
const M = {
|
|
2484
2484
|
prefix: a,
|
|
2485
2485
|
disableCssColorScheme: o,
|
|
@@ -3208,7 +3208,7 @@ const Gl = sn(Pa)({
|
|
|
3208
3208
|
padding: "0"
|
|
3209
3209
|
}), TT = sn("div")({
|
|
3210
3210
|
backgroundColor: "#ffffff",
|
|
3211
|
-
padding: "0
|
|
3211
|
+
padding: "0 8px 0px 8px",
|
|
3212
3212
|
borderRadius: "12px",
|
|
3213
3213
|
boxShadow: "none",
|
|
3214
3214
|
border: "none",
|
|
@@ -4713,7 +4713,7 @@ function Rm(e) {
|
|
|
4713
4713
|
function Nm(e) {
|
|
4714
4714
|
return e && typeof e == "number" ? e : 1;
|
|
4715
4715
|
}
|
|
4716
|
-
class
|
|
4716
|
+
class bn extends Error {
|
|
4717
4717
|
/**
|
|
4718
4718
|
* Create a message for `reason`.
|
|
4719
4719
|
*
|
|
@@ -4787,19 +4787,19 @@ class gn extends Error {
|
|
|
4787
4787
|
this.ancestors = a.ancestors || void 0, this.cause = a.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = o, this.line = s ? s.line : void 0, this.name = Wi(a.place) || "1:1", this.place = a.place || void 0, this.reason = this.message, this.ruleId = a.ruleId || void 0, this.source = a.source || void 0, this.stack = i && a.cause && typeof a.cause.stack == "string" ? a.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
4788
4788
|
}
|
|
4789
4789
|
}
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4790
|
+
bn.prototype.file = "";
|
|
4791
|
+
bn.prototype.name = "";
|
|
4792
|
+
bn.prototype.reason = "";
|
|
4793
|
+
bn.prototype.message = "";
|
|
4794
|
+
bn.prototype.stack = "";
|
|
4795
|
+
bn.prototype.column = void 0;
|
|
4796
|
+
bn.prototype.line = void 0;
|
|
4797
|
+
bn.prototype.ancestors = void 0;
|
|
4798
|
+
bn.prototype.cause = void 0;
|
|
4799
|
+
bn.prototype.fatal = void 0;
|
|
4800
|
+
bn.prototype.place = void 0;
|
|
4801
|
+
bn.prototype.ruleId = void 0;
|
|
4802
|
+
bn.prototype.source = void 0;
|
|
4803
4803
|
const Rp = {}.hasOwnProperty, qT = /* @__PURE__ */ new Map(), YT = /[A-Z]/g, GT = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), KT = /* @__PURE__ */ new Set(["td", "th"]), Pb = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
4804
4804
|
function QT(e, t) {
|
|
4805
4805
|
if (!t || t.Fragment === void 0)
|
|
@@ -5022,7 +5022,7 @@ function lS(e, t) {
|
|
|
5022
5022
|
const r = (
|
|
5023
5023
|
/** @type {Error} */
|
|
5024
5024
|
n
|
|
5025
|
-
), o = new
|
|
5025
|
+
), o = new bn("Cannot parse `style` attribute", {
|
|
5026
5026
|
ancestors: e.ancestors,
|
|
5027
5027
|
cause: r,
|
|
5028
5028
|
ruleId: "style",
|
|
@@ -5063,7 +5063,7 @@ function Mb(e, t, n) {
|
|
|
5063
5063
|
ds(e);
|
|
5064
5064
|
}
|
|
5065
5065
|
function ds(e, t) {
|
|
5066
|
-
const n = new
|
|
5066
|
+
const n = new bn(
|
|
5067
5067
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
5068
5068
|
{
|
|
5069
5069
|
ancestors: e.ancestors,
|
|
@@ -5207,7 +5207,7 @@ function Fb(e, t) {
|
|
|
5207
5207
|
function hr(e) {
|
|
5208
5208
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
5209
5209
|
}
|
|
5210
|
-
const En = wo(/[A-Za-z]/),
|
|
5210
|
+
const En = wo(/[A-Za-z]/), hn = wo(/[\dA-Za-z]/), gS = wo(/[#-'*+\--9=?A-Z^-~]/);
|
|
5211
5211
|
function Kl(e) {
|
|
5212
5212
|
return (
|
|
5213
5213
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -5238,7 +5238,7 @@ function oi(e) {
|
|
|
5238
5238
|
for (; ++n < e.length; ) {
|
|
5239
5239
|
const a = e.charCodeAt(n);
|
|
5240
5240
|
let i = "";
|
|
5241
|
-
if (a === 37 &&
|
|
5241
|
+
if (a === 37 && hn(e.charCodeAt(n + 1)) && hn(e.charCodeAt(n + 2)))
|
|
5242
5242
|
o = 2;
|
|
5243
5243
|
else if (a < 128)
|
|
5244
5244
|
/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (i = String.fromCharCode(a));
|
|
@@ -5520,10 +5520,10 @@ function wS(e, t, n) {
|
|
|
5520
5520
|
return En(p) ? (e.consume(p), i) : p === 64 ? n(p) : u(p);
|
|
5521
5521
|
}
|
|
5522
5522
|
function i(p) {
|
|
5523
|
-
return p === 43 || p === 45 || p === 46 ||
|
|
5523
|
+
return p === 43 || p === 45 || p === 46 || hn(p) ? (r = 1, s(p)) : u(p);
|
|
5524
5524
|
}
|
|
5525
5525
|
function s(p) {
|
|
5526
|
-
return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 ||
|
|
5526
|
+
return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || hn(p)) && r++ < 32 ? (e.consume(p), s) : (r = 0, u(p));
|
|
5527
5527
|
}
|
|
5528
5528
|
function l(p) {
|
|
5529
5529
|
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || Kl(p) ? n(p) : (e.consume(p), l);
|
|
@@ -5532,13 +5532,13 @@ function wS(e, t, n) {
|
|
|
5532
5532
|
return p === 64 ? (e.consume(p), c) : gS(p) ? (e.consume(p), u) : n(p);
|
|
5533
5533
|
}
|
|
5534
5534
|
function c(p) {
|
|
5535
|
-
return
|
|
5535
|
+
return hn(p) ? d(p) : n(p);
|
|
5536
5536
|
}
|
|
5537
5537
|
function d(p) {
|
|
5538
5538
|
return p === 46 ? (e.consume(p), r = 0, c) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(p);
|
|
5539
5539
|
}
|
|
5540
5540
|
function f(p) {
|
|
5541
|
-
if ((p === 45 ||
|
|
5541
|
+
if ((p === 45 || hn(p)) && r++ < 63) {
|
|
5542
5542
|
const h = p === 45 ? f : d;
|
|
5543
5543
|
return e.consume(p), h;
|
|
5544
5544
|
}
|
|
@@ -5620,7 +5620,7 @@ function NS(e, t, n) {
|
|
|
5620
5620
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), l;
|
|
5621
5621
|
}
|
|
5622
5622
|
function l(d) {
|
|
5623
|
-
return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i =
|
|
5623
|
+
return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, i = hn, c(d));
|
|
5624
5624
|
}
|
|
5625
5625
|
function u(d) {
|
|
5626
5626
|
return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, i = bS, c) : (e.enter("characterReferenceValue"), a = 7, i = Md, c(d));
|
|
@@ -5628,7 +5628,7 @@ function NS(e, t, n) {
|
|
|
5628
5628
|
function c(d) {
|
|
5629
5629
|
if (d === 59 && o) {
|
|
5630
5630
|
const f = e.exit("characterReferenceValue");
|
|
5631
|
-
return i ===
|
|
5631
|
+
return i === hn && !Lp(r.sliceSerialize(f)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
5632
5632
|
}
|
|
5633
5633
|
return i(d) && o++ < a ? (e.consume(d), c) : n(d);
|
|
5634
5634
|
}
|
|
@@ -6380,7 +6380,7 @@ function ck(e, t, n) {
|
|
|
6380
6380
|
const pe = O === 47, Q = i.toLowerCase();
|
|
6381
6381
|
return !pe && !a && Um.includes(Q) ? (o = 1, r.interrupt ? t(O) : v(O)) : ak.includes(i.toLowerCase()) ? (o = 6, pe ? (e.consume(O), x) : r.interrupt ? t(O) : v(O)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(O) : a ? E(O) : C(O));
|
|
6382
6382
|
}
|
|
6383
|
-
return O === 45 ||
|
|
6383
|
+
return O === 45 || hn(O) ? (e.consume(O), i += String.fromCharCode(O), g) : n(O);
|
|
6384
6384
|
}
|
|
6385
6385
|
function x(O) {
|
|
6386
6386
|
return O === 62 ? (e.consume(O), r.interrupt ? t : v) : n(O);
|
|
@@ -6392,7 +6392,7 @@ function ck(e, t, n) {
|
|
|
6392
6392
|
return O === 47 ? (e.consume(O), D) : O === 58 || O === 95 || En(O) ? (e.consume(O), T) : lt(O) ? (e.consume(O), C) : D(O);
|
|
6393
6393
|
}
|
|
6394
6394
|
function T(O) {
|
|
6395
|
-
return O === 45 || O === 46 || O === 58 || O === 95 ||
|
|
6395
|
+
return O === 45 || O === 46 || O === 58 || O === 95 || hn(O) ? (e.consume(O), T) : _(O);
|
|
6396
6396
|
}
|
|
6397
6397
|
function _(O) {
|
|
6398
6398
|
return O === 61 ? (e.consume(O), S) : lt(O) ? (e.consume(O), _) : C(O);
|
|
@@ -6524,19 +6524,19 @@ function mk(e, t, n) {
|
|
|
6524
6524
|
return En(w) ? (e.consume(w), S) : n(w);
|
|
6525
6525
|
}
|
|
6526
6526
|
function S(w) {
|
|
6527
|
-
return w === 45 ||
|
|
6527
|
+
return w === 45 || hn(w) ? (e.consume(w), S) : M(w);
|
|
6528
6528
|
}
|
|
6529
6529
|
function M(w) {
|
|
6530
6530
|
return je(w) ? (i = M, V(w)) : lt(w) ? (e.consume(w), M) : P(w);
|
|
6531
6531
|
}
|
|
6532
6532
|
function L(w) {
|
|
6533
|
-
return w === 45 ||
|
|
6533
|
+
return w === 45 || hn(w) ? (e.consume(w), L) : w === 47 || w === 62 || Tt(w) ? $(w) : n(w);
|
|
6534
6534
|
}
|
|
6535
6535
|
function $(w) {
|
|
6536
6536
|
return w === 47 ? (e.consume(w), P) : w === 58 || w === 95 || En(w) ? (e.consume(w), D) : je(w) ? (i = $, V(w)) : lt(w) ? (e.consume(w), $) : P(w);
|
|
6537
6537
|
}
|
|
6538
6538
|
function D(w) {
|
|
6539
|
-
return w === 45 || w === 46 || w === 58 || w === 95 ||
|
|
6539
|
+
return w === 45 || w === 46 || w === 58 || w === 95 || hn(w) ? (e.consume(w), D) : N(w);
|
|
6540
6540
|
}
|
|
6541
6541
|
function N(w) {
|
|
6542
6542
|
return w === 61 ? (e.consume(w), v) : je(w) ? (i = N, V(w)) : lt(w) ? (e.consume(w), N) : $(w);
|
|
@@ -9427,7 +9427,7 @@ class n1 {
|
|
|
9427
9427
|
* Message.
|
|
9428
9428
|
*/
|
|
9429
9429
|
message(t, n, r) {
|
|
9430
|
-
const o = new
|
|
9430
|
+
const o = new bn(
|
|
9431
9431
|
// @ts-expect-error: the overloads are fine.
|
|
9432
9432
|
t,
|
|
9433
9433
|
n,
|
|
@@ -11370,7 +11370,7 @@ function d6(e, t, n) {
|
|
|
11370
11370
|
return Bd(d) ? (e.consume(d), s) : d === 64 ? (e.consume(d), l) : n(d);
|
|
11371
11371
|
}
|
|
11372
11372
|
function l(d) {
|
|
11373
|
-
return d === 46 ? e.check(u6, c, u)(d) : d === 45 || d === 95 ||
|
|
11373
|
+
return d === 46 ? e.check(u6, c, u)(d) : d === 45 || d === 95 || hn(d) ? (a = !0, e.consume(d), l) : c(d);
|
|
11374
11374
|
}
|
|
11375
11375
|
function u(d) {
|
|
11376
11376
|
return e.consume(d), o = !0, l;
|
|
@@ -11474,7 +11474,7 @@ function y6(e, t, n) {
|
|
|
11474
11474
|
return e.consume(a), o;
|
|
11475
11475
|
}
|
|
11476
11476
|
function o(a) {
|
|
11477
|
-
return
|
|
11477
|
+
return hn(a) ? n(a) : t(a);
|
|
11478
11478
|
}
|
|
11479
11479
|
}
|
|
11480
11480
|
function T1(e) {
|
|
@@ -11487,7 +11487,7 @@ function k1(e) {
|
|
|
11487
11487
|
return !(e === 47 || Bd(e));
|
|
11488
11488
|
}
|
|
11489
11489
|
function Bd(e) {
|
|
11490
|
-
return e === 43 || e === 45 || e === 46 || e === 95 ||
|
|
11490
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || hn(e);
|
|
11491
11491
|
}
|
|
11492
11492
|
function Wp(e) {
|
|
11493
11493
|
let t = e.length, n = !1;
|
|
@@ -17655,7 +17655,7 @@ class Ih {
|
|
|
17655
17655
|
break;
|
|
17656
17656
|
}
|
|
17657
17657
|
case q.IN_BODY: {
|
|
17658
|
-
|
|
17658
|
+
yn(this, t);
|
|
17659
17659
|
break;
|
|
17660
17660
|
}
|
|
17661
17661
|
case q.IN_TABLE: {
|
|
@@ -18022,7 +18022,7 @@ function Ki(e, t) {
|
|
|
18022
18022
|
function IA(e, t) {
|
|
18023
18023
|
switch (t.tagID) {
|
|
18024
18024
|
case y.HTML: {
|
|
18025
|
-
|
|
18025
|
+
yn(e, t);
|
|
18026
18026
|
break;
|
|
18027
18027
|
}
|
|
18028
18028
|
case y.HEAD: {
|
|
@@ -18043,7 +18043,7 @@ function Qi(e, t) {
|
|
|
18043
18043
|
function yr(e, t) {
|
|
18044
18044
|
switch (t.tagID) {
|
|
18045
18045
|
case y.HTML: {
|
|
18046
|
-
|
|
18046
|
+
yn(e, t);
|
|
18047
18047
|
break;
|
|
18048
18048
|
}
|
|
18049
18049
|
case y.BASE:
|
|
@@ -18112,7 +18112,7 @@ function Xi(e, t) {
|
|
|
18112
18112
|
function PA(e, t) {
|
|
18113
18113
|
switch (t.tagID) {
|
|
18114
18114
|
case y.HTML: {
|
|
18115
|
-
|
|
18115
|
+
yn(e, t);
|
|
18116
18116
|
break;
|
|
18117
18117
|
}
|
|
18118
18118
|
case y.BASEFONT:
|
|
@@ -18154,7 +18154,7 @@ function Zi(e, t) {
|
|
|
18154
18154
|
function NA(e, t) {
|
|
18155
18155
|
switch (t.tagID) {
|
|
18156
18156
|
case y.HTML: {
|
|
18157
|
-
|
|
18157
|
+
yn(e, t);
|
|
18158
18158
|
break;
|
|
18159
18159
|
}
|
|
18160
18160
|
case y.BODY: {
|
|
@@ -18220,7 +18220,7 @@ function qu(e, t) {
|
|
|
18220
18220
|
break;
|
|
18221
18221
|
}
|
|
18222
18222
|
case rt.START_TAG: {
|
|
18223
|
-
|
|
18223
|
+
yn(e, t);
|
|
18224
18224
|
break;
|
|
18225
18225
|
}
|
|
18226
18226
|
case rt.END_TAG: {
|
|
@@ -18351,7 +18351,7 @@ function lD(e, t) {
|
|
|
18351
18351
|
function Dh(e, t) {
|
|
18352
18352
|
e._reconstructActiveFormattingElements(), e._insertElement(t, xe.HTML);
|
|
18353
18353
|
}
|
|
18354
|
-
function
|
|
18354
|
+
function yn(e, t) {
|
|
18355
18355
|
switch (t.tagID) {
|
|
18356
18356
|
case y.I:
|
|
18357
18357
|
case y.S:
|
|
@@ -18857,7 +18857,7 @@ function ki(e, t) {
|
|
|
18857
18857
|
const iy = /* @__PURE__ */ new Set([y.CAPTION, y.COL, y.COLGROUP, y.TBODY, y.TD, y.TFOOT, y.TH, y.THEAD, y.TR]);
|
|
18858
18858
|
function AD(e, t) {
|
|
18859
18859
|
const n = t.tagID;
|
|
18860
|
-
iy.has(n) ? e.openElements.hasInTableScope(y.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(y.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = q.IN_TABLE, ja(e, t)) :
|
|
18860
|
+
iy.has(n) ? e.openElements.hasInTableScope(y.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(y.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = q.IN_TABLE, ja(e, t)) : yn(e, t);
|
|
18861
18861
|
}
|
|
18862
18862
|
function DD(e, t) {
|
|
18863
18863
|
const n = t.tagID;
|
|
@@ -18885,7 +18885,7 @@ function DD(e, t) {
|
|
|
18885
18885
|
function Zp(e, t) {
|
|
18886
18886
|
switch (t.tagID) {
|
|
18887
18887
|
case y.HTML: {
|
|
18888
|
-
|
|
18888
|
+
yn(e, t);
|
|
18889
18889
|
break;
|
|
18890
18890
|
}
|
|
18891
18891
|
case y.COL: {
|
|
@@ -19020,7 +19020,7 @@ function sy(e, t) {
|
|
|
19020
19020
|
}
|
|
19021
19021
|
function RD(e, t) {
|
|
19022
19022
|
const n = t.tagID;
|
|
19023
|
-
iy.has(n) ? (e.openElements.hasInTableScope(y.TD) || e.openElements.hasInTableScope(y.TH)) && (e._closeTableCell(), Ku(e, t)) :
|
|
19023
|
+
iy.has(n) ? (e.openElements.hasInTableScope(y.TD) || e.openElements.hasInTableScope(y.TH)) && (e._closeTableCell(), Ku(e, t)) : yn(e, t);
|
|
19024
19024
|
}
|
|
19025
19025
|
function ND(e, t) {
|
|
19026
19026
|
const n = t.tagID;
|
|
@@ -19051,7 +19051,7 @@ function ND(e, t) {
|
|
|
19051
19051
|
function ly(e, t) {
|
|
19052
19052
|
switch (t.tagID) {
|
|
19053
19053
|
case y.HTML: {
|
|
19054
|
-
|
|
19054
|
+
yn(e, t);
|
|
19055
19055
|
break;
|
|
19056
19056
|
}
|
|
19057
19057
|
case y.OPTION: {
|
|
@@ -19147,7 +19147,7 @@ function LD(e, t) {
|
|
|
19147
19147
|
break;
|
|
19148
19148
|
}
|
|
19149
19149
|
default:
|
|
19150
|
-
e.tmplInsertionModeStack[0] = q.IN_BODY, e.insertionMode = q.IN_BODY,
|
|
19150
|
+
e.tmplInsertionModeStack[0] = q.IN_BODY, e.insertionMode = q.IN_BODY, yn(e, t);
|
|
19151
19151
|
}
|
|
19152
19152
|
}
|
|
19153
19153
|
function FD(e, t) {
|
|
@@ -19157,7 +19157,7 @@ function cy(e, t) {
|
|
|
19157
19157
|
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(y.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Xp(e, t);
|
|
19158
19158
|
}
|
|
19159
19159
|
function $D(e, t) {
|
|
19160
|
-
t.tagID === y.HTML ?
|
|
19160
|
+
t.tagID === y.HTML ? yn(e, t) : nu(e, t);
|
|
19161
19161
|
}
|
|
19162
19162
|
function dy(e, t) {
|
|
19163
19163
|
var n;
|
|
@@ -19176,7 +19176,7 @@ function nu(e, t) {
|
|
|
19176
19176
|
function BD(e, t) {
|
|
19177
19177
|
switch (t.tagID) {
|
|
19178
19178
|
case y.HTML: {
|
|
19179
|
-
|
|
19179
|
+
yn(e, t);
|
|
19180
19180
|
break;
|
|
19181
19181
|
}
|
|
19182
19182
|
case y.FRAMESET: {
|
|
@@ -19199,7 +19199,7 @@ function HD(e, t) {
|
|
|
19199
19199
|
function UD(e, t) {
|
|
19200
19200
|
switch (t.tagID) {
|
|
19201
19201
|
case y.HTML: {
|
|
19202
|
-
|
|
19202
|
+
yn(e, t);
|
|
19203
19203
|
break;
|
|
19204
19204
|
}
|
|
19205
19205
|
case y.NOFRAMES: {
|
|
@@ -19212,7 +19212,7 @@ function zD(e, t) {
|
|
|
19212
19212
|
t.tagID === y.HTML && (e.insertionMode = q.AFTER_AFTER_FRAMESET);
|
|
19213
19213
|
}
|
|
19214
19214
|
function VD(e, t) {
|
|
19215
|
-
t.tagID === y.HTML ?
|
|
19215
|
+
t.tagID === y.HTML ? yn(e, t) : Sl(e, t);
|
|
19216
19216
|
}
|
|
19217
19217
|
function Sl(e, t) {
|
|
19218
19218
|
e.insertionMode = q.IN_BODY, qu(e, t);
|
|
@@ -19220,7 +19220,7 @@ function Sl(e, t) {
|
|
|
19220
19220
|
function jD(e, t) {
|
|
19221
19221
|
switch (t.tagID) {
|
|
19222
19222
|
case y.HTML: {
|
|
19223
|
-
|
|
19223
|
+
yn(e, t);
|
|
19224
19224
|
break;
|
|
19225
19225
|
}
|
|
19226
19226
|
case y.NOFRAMES: {
|
|
@@ -22830,7 +22830,7 @@ function Jh(e) {
|
|
|
22830
22830
|
components: i,
|
|
22831
22831
|
commandOrchestrator: s,
|
|
22832
22832
|
dispatch: l
|
|
22833
|
-
} = ei(ui), u =
|
|
22833
|
+
} = ei(ui), u = fn("");
|
|
22834
22834
|
function c(d, f) {
|
|
22835
22835
|
if (l) {
|
|
22836
22836
|
var p = {
|
|
@@ -22923,7 +22923,7 @@ var WP = (e) => {
|
|
|
22923
22923
|
var {
|
|
22924
22924
|
prefixCls: t,
|
|
22925
22925
|
onChange: n
|
|
22926
|
-
} = e || {}, r =
|
|
22926
|
+
} = e || {}, r = fn(null), o = fn(), a = fn(e.height);
|
|
22927
22927
|
Ut(() => {
|
|
22928
22928
|
a.current !== e.height && (a.current = e.height);
|
|
22929
22929
|
}, [e.height]);
|
|
@@ -23029,7 +23029,7 @@ var GP = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
|
23029
23029
|
extraCommands: U,
|
|
23030
23030
|
fullscreen: b,
|
|
23031
23031
|
barPopup: {}
|
|
23032
|
-
}), G =
|
|
23032
|
+
}), G = fn(null), te = fn(null), O = fn(d);
|
|
23033
23033
|
j0(t, () => H({}, B, {
|
|
23034
23034
|
container: G.current,
|
|
23035
23035
|
dispatch: w
|
|
@@ -23067,7 +23067,7 @@ var GP = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
|
23067
23067
|
}), [e.commands]), ft(() => u !== B.extraCommands && w({
|
|
23068
23068
|
extraCommands: U
|
|
23069
23069
|
}), [e.extraCommands]);
|
|
23070
|
-
var Q =
|
|
23070
|
+
var Q = fn(), W = fn("preview"), ee = fn(!1);
|
|
23071
23071
|
ft(() => {
|
|
23072
23072
|
Q.current = B.textareaWarp, B.textareaWarp && (B.textareaWarp.addEventListener("mouseover", () => {
|
|
23073
23073
|
W.current = "text";
|
|
@@ -28676,20 +28676,18 @@ function kn({
|
|
|
28676
28676
|
const KN = q0(() => Promise.resolve().then(() => yC));
|
|
28677
28677
|
function tc({
|
|
28678
28678
|
result: e,
|
|
28679
|
-
|
|
28680
|
-
|
|
28681
|
-
hideToggle: r = !1,
|
|
28682
|
-
maxResultSize: o = 0
|
|
28679
|
+
maxHeight: t,
|
|
28680
|
+
maxResultSize: n = 0
|
|
28683
28681
|
}) {
|
|
28684
|
-
const
|
|
28682
|
+
const r = fn(null), [o, a] = Ye(t), [i, s] = Ye(!1);
|
|
28685
28683
|
if (!e)
|
|
28686
28684
|
return null;
|
|
28687
|
-
if (
|
|
28685
|
+
if (n > 0 && e.length > n && !i)
|
|
28688
28686
|
return /* @__PURE__ */ z(
|
|
28689
28687
|
He,
|
|
28690
28688
|
{
|
|
28691
28689
|
sx: {
|
|
28692
|
-
minHeight: `${
|
|
28690
|
+
// minHeight: `${minHeight}px`,
|
|
28693
28691
|
display: "flex",
|
|
28694
28692
|
flexDirection: "column",
|
|
28695
28693
|
alignItems: "center",
|
|
@@ -28705,35 +28703,35 @@ function tc({
|
|
|
28705
28703
|
/* @__PURE__ */ m(MC, { sx: { fontSize: 48, color: "#757575" } }),
|
|
28706
28704
|
/* @__PURE__ */ m(Ae, { variant: "h6", color: "text.secondary", align: "center", children: "Processing large results may cause browser performance issues. Proceed?" }),
|
|
28707
28705
|
/* @__PURE__ */ m(
|
|
28708
|
-
|
|
28706
|
+
mn,
|
|
28709
28707
|
{
|
|
28710
28708
|
variant: "contained",
|
|
28711
28709
|
color: "primary",
|
|
28712
|
-
onClick: () =>
|
|
28710
|
+
onClick: () => s(!0),
|
|
28713
28711
|
children: "Proceed"
|
|
28714
28712
|
}
|
|
28715
28713
|
)
|
|
28716
28714
|
]
|
|
28717
28715
|
}
|
|
28718
28716
|
);
|
|
28719
|
-
const
|
|
28717
|
+
const u = /* @__PURE__ */ m(kn, { text: "Loading...", centered: !0, size: 32 }), c = Math.min(t, o);
|
|
28720
28718
|
return /* @__PURE__ */ m(
|
|
28721
28719
|
He,
|
|
28722
28720
|
{
|
|
28723
|
-
ref:
|
|
28721
|
+
ref: r,
|
|
28724
28722
|
sx: {
|
|
28725
28723
|
position: "relative",
|
|
28726
|
-
height:
|
|
28724
|
+
height: "auto",
|
|
28727
28725
|
border: "0px",
|
|
28728
28726
|
borderRadius: 0,
|
|
28729
28727
|
overflow: "hidden"
|
|
28730
28728
|
},
|
|
28731
|
-
children: e && /* @__PURE__ */ m(xp, { fallback:
|
|
28729
|
+
children: e && /* @__PURE__ */ m(xp, { fallback: u, children: /* @__PURE__ */ m(
|
|
28732
28730
|
KN,
|
|
28733
28731
|
{
|
|
28734
28732
|
result: e,
|
|
28735
|
-
height:
|
|
28736
|
-
onSizeChange:
|
|
28733
|
+
height: c,
|
|
28734
|
+
onSizeChange: a
|
|
28737
28735
|
}
|
|
28738
28736
|
) })
|
|
28739
28737
|
}
|
|
@@ -28831,8 +28829,8 @@ function XN({
|
|
|
28831
28829
|
/* @__PURE__ */ m(Nr, { children: "Confirm Delete" }),
|
|
28832
28830
|
/* @__PURE__ */ m(Mr, { children: /* @__PURE__ */ m(Ae, { children: "Are you sure you want to delete this cell?" }) }),
|
|
28833
28831
|
/* @__PURE__ */ z(B0, { children: [
|
|
28834
|
-
/* @__PURE__ */ m(
|
|
28835
|
-
/* @__PURE__ */ m(
|
|
28832
|
+
/* @__PURE__ */ m(mn, { onClick: () => D(!1), children: "Cancel" }),
|
|
28833
|
+
/* @__PURE__ */ m(mn, { onClick: N, color: "error", children: "Delete" })
|
|
28836
28834
|
] })
|
|
28837
28835
|
]
|
|
28838
28836
|
}
|
|
@@ -29053,14 +29051,7 @@ function XN({
|
|
|
29053
29051
|
cell: e
|
|
29054
29052
|
}
|
|
29055
29053
|
)),
|
|
29056
|
-
!t && e.result && /* @__PURE__ */ m(Gl, { variant: "outlined", sx: { borderRadius: 0 }, children: /* @__PURE__ */ m(
|
|
29057
|
-
tc,
|
|
29058
|
-
{
|
|
29059
|
-
result: e.result,
|
|
29060
|
-
minHeight: 300,
|
|
29061
|
-
maxHeight: 800
|
|
29062
|
-
}
|
|
29063
|
-
) }),
|
|
29054
|
+
!t && e.result && /* @__PURE__ */ m(Gl, { variant: "outlined", sx: { borderRadius: 0 }, children: /* @__PURE__ */ m(tc, { result: e.result, maxHeight: 800 }) }),
|
|
29064
29055
|
!t && !e.result && /* @__PURE__ */ z(He, { onClick: s, sx: { cursor: "pointer" }, children: [
|
|
29065
29056
|
/* @__PURE__ */ m(
|
|
29066
29057
|
Ae,
|
|
@@ -29156,7 +29147,7 @@ function JN({
|
|
|
29156
29147
|
C
|
|
29157
29148
|
)),
|
|
29158
29149
|
/* @__PURE__ */ m(
|
|
29159
|
-
|
|
29150
|
+
mn,
|
|
29160
29151
|
{
|
|
29161
29152
|
size: "small",
|
|
29162
29153
|
startIcon: /* @__PURE__ */ m(ZN, {}),
|
|
@@ -29281,7 +29272,7 @@ function jW({ workbookPath: e, resourceUri: t }) {
|
|
|
29281
29272
|
});
|
|
29282
29273
|
return te;
|
|
29283
29274
|
}, B = (G, te) => /* @__PURE__ */ m(
|
|
29284
|
-
|
|
29275
|
+
mn,
|
|
29285
29276
|
{
|
|
29286
29277
|
size: "small",
|
|
29287
29278
|
startIcon: /* @__PURE__ */ m(vT, {}),
|
|
@@ -29376,7 +29367,7 @@ function jW({ workbookPath: e, resourceUri: t }) {
|
|
|
29376
29367
|
},
|
|
29377
29368
|
children: [
|
|
29378
29369
|
/* @__PURE__ */ m(
|
|
29379
|
-
|
|
29370
|
+
mn,
|
|
29380
29371
|
{
|
|
29381
29372
|
color: "error",
|
|
29382
29373
|
onClick: I,
|
|
@@ -29398,7 +29389,7 @@ function jW({ workbookPath: e, resourceUri: t }) {
|
|
|
29398
29389
|
] }) }),
|
|
29399
29390
|
/* @__PURE__ */ z(B0, { children: [
|
|
29400
29391
|
/* @__PURE__ */ m(
|
|
29401
|
-
|
|
29392
|
+
mn,
|
|
29402
29393
|
{
|
|
29403
29394
|
onClick: P,
|
|
29404
29395
|
color: "primary",
|
|
@@ -29407,7 +29398,7 @@ function jW({ workbookPath: e, resourceUri: t }) {
|
|
|
29407
29398
|
}
|
|
29408
29399
|
),
|
|
29409
29400
|
/* @__PURE__ */ m(
|
|
29410
|
-
|
|
29401
|
+
mn,
|
|
29411
29402
|
{
|
|
29412
29403
|
onClick: A,
|
|
29413
29404
|
color: "error",
|
|
@@ -29544,7 +29535,7 @@ function tM({
|
|
|
29544
29535
|
workbookData: e
|
|
29545
29536
|
}) {
|
|
29546
29537
|
const [t, n] = ve.useState(!1);
|
|
29547
|
-
return /* @__PURE__ */ m(
|
|
29538
|
+
return /* @__PURE__ */ m(mn, { color: "primary", onClick: async () => {
|
|
29548
29539
|
if (!e) return;
|
|
29549
29540
|
const o = e.toMalloyWorkbook();
|
|
29550
29541
|
try {
|
|
@@ -29694,7 +29685,7 @@ function qW({
|
|
|
29694
29685
|
}, _ = i.length === 0;
|
|
29695
29686
|
return /* @__PURE__ */ z(vt, { children: [
|
|
29696
29687
|
/* @__PURE__ */ m(
|
|
29697
|
-
|
|
29688
|
+
mn,
|
|
29698
29689
|
{
|
|
29699
29690
|
"aria-controls": h ? "basic-menu" : void 0,
|
|
29700
29691
|
"aria-haspopup": "true",
|
|
@@ -29856,7 +29847,7 @@ function qW({
|
|
|
29856
29847
|
) }),
|
|
29857
29848
|
/* @__PURE__ */ z(Yt, { direction: "row", spacing: 1, justifyContent: "flex-end", children: [
|
|
29858
29849
|
/* @__PURE__ */ m(
|
|
29859
|
-
|
|
29850
|
+
mn,
|
|
29860
29851
|
{
|
|
29861
29852
|
onClick: E,
|
|
29862
29853
|
variant: "outlined",
|
|
@@ -29865,7 +29856,7 @@ function qW({
|
|
|
29865
29856
|
}
|
|
29866
29857
|
),
|
|
29867
29858
|
/* @__PURE__ */ m(
|
|
29868
|
-
|
|
29859
|
+
mn,
|
|
29869
29860
|
{
|
|
29870
29861
|
onClick: (S) => T(S),
|
|
29871
29862
|
variant: "contained",
|
|
@@ -31397,7 +31388,7 @@ function N2(e, t, n) {
|
|
|
31397
31388
|
}
|
|
31398
31389
|
};
|
|
31399
31390
|
}
|
|
31400
|
-
function
|
|
31391
|
+
function xn(e, t = []) {
|
|
31401
31392
|
if (e === void 0)
|
|
31402
31393
|
return {};
|
|
31403
31394
|
const n = {};
|
|
@@ -31436,7 +31427,7 @@ function M2(e) {
|
|
|
31436
31427
|
internalRef: void 0
|
|
31437
31428
|
};
|
|
31438
31429
|
}
|
|
31439
|
-
const i =
|
|
31430
|
+
const i = xn({
|
|
31440
31431
|
...o,
|
|
31441
31432
|
...r
|
|
31442
31433
|
}), s = Rg(r), l = Rg(o), u = t(i), c = Pe(u?.className, n?.className, a, o?.className, r?.className), d = {
|
|
@@ -36451,7 +36442,7 @@ function ML(e) {
|
|
|
36451
36442
|
};
|
|
36452
36443
|
return {
|
|
36453
36444
|
getRootProps: (A = {}) => {
|
|
36454
|
-
const P =
|
|
36445
|
+
const P = xn(e);
|
|
36455
36446
|
delete P.onTransitionEnter, delete P.onTransitionExited;
|
|
36456
36447
|
const V = {
|
|
36457
36448
|
...P,
|
|
@@ -37698,7 +37689,7 @@ const iF = (e) => {
|
|
|
37698
37689
|
disableUnderline: o
|
|
37699
37690
|
}
|
|
37700
37691
|
}
|
|
37701
|
-
}, x = c ?? i ?
|
|
37692
|
+
}, x = c ?? i ? gn(c ?? i, g) : g, E = d.root ?? a.Root ?? uF, C = d.input ?? a.Input ?? cF;
|
|
37702
37693
|
return /* @__PURE__ */ m(If, {
|
|
37703
37694
|
slots: {
|
|
37704
37695
|
root: E,
|
|
@@ -37989,7 +37980,7 @@ const dF = (e) => {
|
|
|
37989
37980
|
input: {
|
|
37990
37981
|
ownerState: b
|
|
37991
37982
|
}
|
|
37992
|
-
}, E = d ?? i ?
|
|
37983
|
+
}, E = d ?? i ? gn(x, d ?? i) : x, C = f.root ?? a.Root ?? pF, T = f.input ?? a.Input ?? fF;
|
|
37993
37984
|
return /* @__PURE__ */ m(If, {
|
|
37994
37985
|
slots: {
|
|
37995
37986
|
root: C,
|
|
@@ -38442,7 +38433,7 @@ const EF = (e) => {
|
|
|
38442
38433
|
}
|
|
38443
38434
|
},
|
|
38444
38435
|
...p,
|
|
38445
|
-
classes: p ?
|
|
38436
|
+
classes: p ? gn(V, p.classes) : V,
|
|
38446
38437
|
...f ? f.props.inputProps : {}
|
|
38447
38438
|
},
|
|
38448
38439
|
...(x && E || u) && R === "outlined" ? {
|
|
@@ -48126,7 +48117,7 @@ function vz({
|
|
|
48126
48117
|
n?.value2 ?? ""
|
|
48127
48118
|
), [f, p] = Ye(
|
|
48128
48119
|
[]
|
|
48129
|
-
), [h, b] = Ye(!1), [g, x] = Ye(""), [E, C] = Ye(!1), [T, _] = Ye(!1), S =
|
|
48120
|
+
), [h, b] = Ye(!1), [g, x] = Ye(""), [E, C] = Ye(!1), [T, _] = Ye(!1), S = fn(null), M = fn(0), [L, $] = Ye(!1);
|
|
48130
48121
|
Ut(() => {
|
|
48131
48122
|
if (e.filterType !== "Retrieval" || !o) return;
|
|
48132
48123
|
const w = g.trim();
|
|
@@ -48189,12 +48180,20 @@ function vz({
|
|
|
48189
48180
|
"& .MuiInputBase-root": { fontSize: "0.75rem" },
|
|
48190
48181
|
"& .MuiInputBase-input": { padding: "6px 10px" },
|
|
48191
48182
|
"& .MuiSelect-select": { padding: "6px 10px !important" },
|
|
48192
|
-
"& .MuiAutocomplete-input": { padding: "
|
|
48183
|
+
"& .MuiAutocomplete-input": { padding: "0 !important" },
|
|
48193
48184
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
48194
|
-
padding: "
|
|
48185
|
+
padding: "5px 10px",
|
|
48186
|
+
minHeight: "29.5px",
|
|
48187
|
+
maxHeight: "29.5px",
|
|
48188
|
+
boxSizing: "border-box",
|
|
48189
|
+
overflow: "hidden"
|
|
48195
48190
|
},
|
|
48196
|
-
"& .MuiChip-root": { height: "
|
|
48191
|
+
"& .MuiChip-root": { height: "16px", margin: "0 2px 0 0" },
|
|
48197
48192
|
"& .MuiChip-label": { fontSize: "0.7rem", padding: "0 6px" },
|
|
48193
|
+
"& .MuiChip-deleteIcon": {
|
|
48194
|
+
fontSize: "14px",
|
|
48195
|
+
margin: "0 2px 0 -4px"
|
|
48196
|
+
},
|
|
48198
48197
|
"& .MuiInputLabel-root": {
|
|
48199
48198
|
fontSize: "0.75rem",
|
|
48200
48199
|
transform: "translate(10px, 6px) scale(1)"
|
|
@@ -48257,6 +48256,7 @@ function vz({
|
|
|
48257
48256
|
Ft,
|
|
48258
48257
|
{
|
|
48259
48258
|
...w,
|
|
48259
|
+
size: "small",
|
|
48260
48260
|
label: "Values",
|
|
48261
48261
|
placeholder: "Select values..."
|
|
48262
48262
|
}
|
|
@@ -48339,6 +48339,7 @@ function vz({
|
|
|
48339
48339
|
Ft,
|
|
48340
48340
|
{
|
|
48341
48341
|
...w,
|
|
48342
|
+
size: "small",
|
|
48342
48343
|
label: "Search Values",
|
|
48343
48344
|
placeholder: "Type to search...",
|
|
48344
48345
|
onFocus: () => _(!0),
|
|
@@ -48881,8 +48882,8 @@ function zz(e = {}) {
|
|
|
48881
48882
|
}, [n, o, d, c]), {
|
|
48882
48883
|
getRootProps: (x = {}) => {
|
|
48883
48884
|
const E = {
|
|
48884
|
-
...
|
|
48885
|
-
...
|
|
48885
|
+
...xn(e),
|
|
48886
|
+
...xn(x)
|
|
48886
48887
|
};
|
|
48887
48888
|
return {
|
|
48888
48889
|
// ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
|
|
@@ -49844,7 +49845,7 @@ function YW({ onClickProject: e }) {
|
|
|
49844
49845
|
}
|
|
49845
49846
|
),
|
|
49846
49847
|
n ? /* @__PURE__ */ m(O0, {}) : /* @__PURE__ */ m(
|
|
49847
|
-
|
|
49848
|
+
mn,
|
|
49848
49849
|
{
|
|
49849
49850
|
variant: "contained",
|
|
49850
49851
|
size: "large",
|
|
@@ -49984,7 +49985,7 @@ function rV({
|
|
|
49984
49985
|
}
|
|
49985
49986
|
),
|
|
49986
49987
|
/* @__PURE__ */ m(
|
|
49987
|
-
|
|
49988
|
+
mn,
|
|
49988
49989
|
{
|
|
49989
49990
|
variant: "contained",
|
|
49990
49991
|
color: "secondary",
|
|
@@ -50051,9 +50052,8 @@ function Ux({
|
|
|
50051
50052
|
tc,
|
|
50052
50053
|
{
|
|
50053
50054
|
result: n,
|
|
50054
|
-
minHeight: 800,
|
|
50055
50055
|
maxHeight: 800,
|
|
50056
|
-
|
|
50056
|
+
maxResultSize: 1e6
|
|
50057
50057
|
}
|
|
50058
50058
|
)
|
|
50059
50059
|
}
|
|
@@ -50182,7 +50182,7 @@ function aV({
|
|
|
50182
50182
|
children: [
|
|
50183
50183
|
/* @__PURE__ */ m(Ae, { variant: "body2", color: "text.secondary", children: "Click Run to execute the query" }),
|
|
50184
50184
|
/* @__PURE__ */ m(
|
|
50185
|
-
|
|
50185
|
+
mn,
|
|
50186
50186
|
{
|
|
50187
50187
|
variant: "contained",
|
|
50188
50188
|
startIcon: /* @__PURE__ */ m(oV, {}),
|
|
@@ -50208,9 +50208,7 @@ function aV({
|
|
|
50208
50208
|
tc,
|
|
50209
50209
|
{
|
|
50210
50210
|
result: g.data.result,
|
|
50211
|
-
minHeight: 300,
|
|
50212
50211
|
maxHeight: 600,
|
|
50213
|
-
hideToggle: !1,
|
|
50214
50212
|
maxResultSize: o
|
|
50215
50213
|
}
|
|
50216
50214
|
)
|
|
@@ -51349,28 +51347,12 @@ function mV({
|
|
|
51349
51347
|
tc,
|
|
51350
51348
|
{
|
|
51351
51349
|
result: e.result,
|
|
51352
|
-
minHeight: 200,
|
|
51353
51350
|
maxHeight: 700,
|
|
51354
51351
|
maxResultSize: a
|
|
51355
51352
|
}
|
|
51356
51353
|
)
|
|
51357
51354
|
}
|
|
51358
51355
|
),
|
|
51359
|
-
/* @__PURE__ */ m(
|
|
51360
|
-
He,
|
|
51361
|
-
{
|
|
51362
|
-
sx: {
|
|
51363
|
-
position: "absolute",
|
|
51364
|
-
bottom: 0,
|
|
51365
|
-
left: 0,
|
|
51366
|
-
right: 0,
|
|
51367
|
-
height: "40px",
|
|
51368
|
-
background: "linear-gradient(transparent, rgba(255, 255, 255, 0.9))",
|
|
51369
|
-
pointerEvents: "none",
|
|
51370
|
-
zIndex: 1
|
|
51371
|
-
}
|
|
51372
|
-
}
|
|
51373
|
-
),
|
|
51374
51356
|
/* @__PURE__ */ z(
|
|
51375
51357
|
Yt,
|
|
51376
51358
|
{
|
|
@@ -51581,7 +51563,7 @@ function hV({
|
|
|
51581
51563
|
Ut(() => {
|
|
51582
51564
|
!u || !l?.notebookCells || I([]);
|
|
51583
51565
|
}, [u, l, I]);
|
|
51584
|
-
const A =
|
|
51566
|
+
const A = fn("");
|
|
51585
51567
|
Ut(() => {
|
|
51586
51568
|
const V = JSON.stringify(
|
|
51587
51569
|
D.map((U) => ({
|
|
@@ -53791,7 +53773,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53791
53773
|
};
|
|
53792
53774
|
return {
|
|
53793
53775
|
getRootProps: (K = {}) => {
|
|
53794
|
-
const Y = H({},
|
|
53776
|
+
const Y = H({}, xn(e), xn(K));
|
|
53795
53777
|
let ae;
|
|
53796
53778
|
_.selected ? ae = !0 : a || _.disabled ? ae = void 0 : ae = !1;
|
|
53797
53779
|
const Z = H({}, Y, {
|
|
@@ -53816,7 +53798,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53816
53798
|
return H({}, Z, J);
|
|
53817
53799
|
},
|
|
53818
53800
|
getContentProps: (K = {}) => {
|
|
53819
|
-
const Y =
|
|
53801
|
+
const Y = xn(K), ae = H({}, Y, K, {
|
|
53820
53802
|
ref: $,
|
|
53821
53803
|
onClick: U(Y),
|
|
53822
53804
|
onMouseDown: B(Y),
|
|
@@ -53829,7 +53811,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53829
53811
|
return H({}, ae, Z);
|
|
53830
53812
|
},
|
|
53831
53813
|
getGroupTransitionProps: (K = {}) => {
|
|
53832
|
-
const Y =
|
|
53814
|
+
const Y = xn(K), ae = H({}, Y, {
|
|
53833
53815
|
unmountOnExit: !0,
|
|
53834
53816
|
component: "ul",
|
|
53835
53817
|
role: "group",
|
|
@@ -53839,13 +53821,13 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53839
53821
|
return o && (ae.indentationAtItemLevel = !0), ae;
|
|
53840
53822
|
},
|
|
53841
53823
|
getIconContainerProps: (K = {}) => {
|
|
53842
|
-
const Y =
|
|
53824
|
+
const Y = xn(K);
|
|
53843
53825
|
return H({}, Y, K, {
|
|
53844
53826
|
onClick: G(Y)
|
|
53845
53827
|
});
|
|
53846
53828
|
},
|
|
53847
53829
|
getCheckboxProps: (K = {}) => {
|
|
53848
|
-
const Y =
|
|
53830
|
+
const Y = xn(K);
|
|
53849
53831
|
return H({}, Y, {
|
|
53850
53832
|
visible: i,
|
|
53851
53833
|
ref: D,
|
|
@@ -53857,7 +53839,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53857
53839
|
});
|
|
53858
53840
|
},
|
|
53859
53841
|
getLabelProps: (K = {}) => {
|
|
53860
|
-
const Y = H({},
|
|
53842
|
+
const Y = H({}, xn(K)), ae = H({}, Y, {
|
|
53861
53843
|
children: h
|
|
53862
53844
|
}, K, {
|
|
53863
53845
|
onDoubleClick: V(Y)
|
|
@@ -53865,7 +53847,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53865
53847
|
return u.isTreeViewEditable && (ae.editable = _.editable), ae;
|
|
53866
53848
|
},
|
|
53867
53849
|
getLabelInputProps: (K = {}) => {
|
|
53868
|
-
const Y =
|
|
53850
|
+
const Y = xn(K), ae = C.labelInput?.({
|
|
53869
53851
|
rootRefObject: S,
|
|
53870
53852
|
contentRefObject: M,
|
|
53871
53853
|
externalEventHandlers: Y,
|
|
@@ -53874,7 +53856,7 @@ const QV = () => (L0 += 1, `mui-tree-view-${L0}`), jf = ({
|
|
|
53874
53856
|
return H({}, K, ae);
|
|
53875
53857
|
},
|
|
53876
53858
|
getDragAndDropOverlayProps: (K = {}) => {
|
|
53877
|
-
const Y =
|
|
53859
|
+
const Y = xn(K), ae = C.dragAndDropOverlay?.(H({}, R, {
|
|
53878
53860
|
externalEventHandlers: Y
|
|
53879
53861
|
})) ?? {};
|
|
53880
53862
|
return H({}, K, ae);
|
|
@@ -54353,9 +54335,9 @@ const oj = ["children", "className", "slots", "slotProps", "ContentComponent", "
|
|
|
54353
54335
|
handleCancelItemLabelEditing: V
|
|
54354
54336
|
}
|
|
54355
54337
|
}, yt = G.root?.(H({}, tt, {
|
|
54356
|
-
externalEventHandlers:
|
|
54338
|
+
externalEventHandlers: xn(D)
|
|
54357
54339
|
})) ?? {}, mt = G.content?.(H({}, tt, {
|
|
54358
|
-
externalEventHandlers:
|
|
54340
|
+
externalEventHandlers: xn(E)
|
|
54359
54341
|
})) ?? {}, ie = G.dragAndDropOverlay?.(H({}, tt, {
|
|
54360
54342
|
externalEventHandlers: {}
|
|
54361
54343
|
})) ?? {}, be = G.labelInput?.(H({}, tt, {
|
|
@@ -55944,7 +55926,7 @@ function cW({ resourceUri: e }) {
|
|
|
55944
55926
|
f && /* @__PURE__ */ z(He, { sx: { mt: 1 }, children: [
|
|
55945
55927
|
" ",
|
|
55946
55928
|
/* @__PURE__ */ m(
|
|
55947
|
-
|
|
55929
|
+
mn,
|
|
55948
55930
|
{
|
|
55949
55931
|
variant: "text",
|
|
55950
55932
|
size: "small",
|
|
@@ -56490,42 +56472,45 @@ function bW({
|
|
|
56490
56472
|
onDrill: n,
|
|
56491
56473
|
onSizeChange: r
|
|
56492
56474
|
}) {
|
|
56493
|
-
const o =
|
|
56475
|
+
const o = fn(null), a = fn(!1);
|
|
56494
56476
|
return DC(() => {
|
|
56495
56477
|
if (!o.current || !e) return;
|
|
56496
|
-
let
|
|
56497
|
-
const
|
|
56498
|
-
for (;
|
|
56499
|
-
|
|
56500
|
-
|
|
56501
|
-
|
|
56502
|
-
|
|
56503
|
-
|
|
56504
|
-
|
|
56505
|
-
const f =
|
|
56506
|
-
|
|
56478
|
+
let i = !0;
|
|
56479
|
+
const s = o.current;
|
|
56480
|
+
for (; s.firstChild; )
|
|
56481
|
+
s.removeChild(s.firstChild);
|
|
56482
|
+
a.current = !1;
|
|
56483
|
+
let l = null, u = null;
|
|
56484
|
+
const c = () => {
|
|
56485
|
+
if (a.current || !i || !s.firstElementChild)
|
|
56486
|
+
return;
|
|
56487
|
+
const f = s.firstElementChild.firstElementChild;
|
|
56488
|
+
if (!f) return;
|
|
56489
|
+
const p = f.firstElementChild;
|
|
56490
|
+
let h = f.scrollHeight || f.offsetHeight || 0;
|
|
56491
|
+
p && f.classList.contains("malloy-dashboard") && (h = p.scrollHeight || p.offsetHeight || 0), h > 0 && (a.current = !0, r && r(h));
|
|
56507
56492
|
};
|
|
56508
|
-
return gW(n).then((
|
|
56509
|
-
if (
|
|
56510
|
-
|
|
56511
|
-
|
|
56512
|
-
|
|
56493
|
+
return gW(n).then((d) => {
|
|
56494
|
+
if (i) {
|
|
56495
|
+
l = new MutationObserver(() => {
|
|
56496
|
+
u && clearTimeout(u), u = setTimeout(() => {
|
|
56497
|
+
c(), l?.disconnect();
|
|
56513
56498
|
}, 100);
|
|
56514
|
-
}),
|
|
56499
|
+
}), l.observe(s, {
|
|
56515
56500
|
childList: !0,
|
|
56516
56501
|
subtree: !0,
|
|
56517
56502
|
attributes: !0
|
|
56518
56503
|
});
|
|
56519
56504
|
try {
|
|
56520
|
-
|
|
56521
|
-
} catch (
|
|
56522
|
-
console.error("Error rendering visualization:",
|
|
56505
|
+
d.setResult(JSON.parse(e)), d.render(s);
|
|
56506
|
+
} catch (f) {
|
|
56507
|
+
console.error("Error rendering visualization:", f), l?.disconnect();
|
|
56523
56508
|
}
|
|
56524
56509
|
}
|
|
56525
|
-
}).catch((
|
|
56526
|
-
console.error("Failed to create renderer:",
|
|
56510
|
+
}).catch((d) => {
|
|
56511
|
+
console.error("Failed to create renderer:", d);
|
|
56527
56512
|
}), () => {
|
|
56528
|
-
|
|
56513
|
+
i = !1, l?.disconnect(), u && clearTimeout(u);
|
|
56529
56514
|
};
|
|
56530
56515
|
}, [e, n, r]), /* @__PURE__ */ m(
|
|
56531
56516
|
"div",
|
|
@@ -56533,7 +56518,7 @@ function bW({
|
|
|
56533
56518
|
ref: o,
|
|
56534
56519
|
style: {
|
|
56535
56520
|
width: "100%",
|
|
56536
|
-
height: t ? `${t}px` : "
|
|
56521
|
+
height: t ? `${t}px` : "400px"
|
|
56537
56522
|
}
|
|
56538
56523
|
}
|
|
56539
56524
|
);
|