@malloy-publisher/sdk 0.4.0 → 0.4.1
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 +19 -0
- package/dist/{DocumentStorageProvider-CyOJ0hqf.es.js → DocumentStorage-BiFqO15i.es.js} +137 -129
- package/dist/{DocumentStorageProvider-DGPQEd_l.cjs.js → DocumentStorage-CMyLifsz.cjs.js} +26 -26
- package/dist/{RenderedResult-Dp22kZsQ.cjs.js → RenderedResult-CZzE8wv-.cjs.js} +2 -2
- package/dist/{RenderedResult-BnPzJ9Jf.es.js → RenderedResult-CvrmYyr5.es.js} +1 -1
- package/dist/builder/index.cjs.js +50 -50
- package/dist/builder/index.es.js +3265 -3185
- package/dist/components/Dashboard/telemetry.d.ts +20 -8
- package/dist/components/DashboardBuilder/DashboardBuilder.d.ts +16 -4
- package/dist/components/DashboardBuilder/DashboardEditor.d.ts +17 -5
- package/dist/components/DocumentStorage/DocumentStorage.d.ts +69 -5
- package/dist/components/DocumentStorage/index.d.ts +1 -0
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +508 -506
- package/package.json +1 -1
- package/src/components/Dashboard/telemetry.ts +20 -8
- package/src/components/DashboardBuilder/DashboardBuilder.tsx +21 -3
- package/src/components/DashboardBuilder/DashboardEditor.authoritative.spec.tsx +706 -0
- package/src/components/DashboardBuilder/DashboardEditor.tsx +358 -84
- package/src/components/DocumentStorage/BrowserDocumentStorage.ts +7 -6
- package/src/components/DocumentStorage/DocumentStorage.ts +78 -5
- package/src/components/DocumentStorage/index.ts +1 -0
- package/src/components/Package/Package.tsx +12 -7
package/dist/index.es.js
CHANGED
|
@@ -2,16 +2,16 @@ import { jsx as a, jsxs as T, Fragment as se } from "react/jsx-runtime";
|
|
|
2
2
|
import { Link as tc, Box as re, Typography as ee, Stack as Oe, Tooltip as Ot, IconButton as ut, TextField as Nt, Button as dt, Grid as ln, Paper as ia, FormControlLabel as Es, Switch as Is, Divider as un, List as $s, ListItemButton as Ns, ListItemText as Lt, TableContainer as nc, Table as Bn, TableHead as jn, TableRow as bt, TableCell as le, TableBody as Zn, Snackbar as wr, Menu as Yn, MenuItem as Ft, ListItemIcon as hn, Container as ka, FormGroup as rc, Dialog as sa, DialogTitle as oa, Chip as ac, DialogContent as la, Alert as pr, CircularProgress as ic, LinearProgress as sc } from "@mui/material";
|
|
3
3
|
import * as pe from "react";
|
|
4
4
|
import be, { useMemo as Qe, useRef as ot, useCallback as gt, useState as G, useEffect as Re, useId as oc } from "react";
|
|
5
|
-
import { e as Ne, v as xe,
|
|
6
|
-
import {
|
|
7
|
-
import { u as Se, aG as Je, d as Ki, A as Hs, aH as Ca, m as Pe, P as hr, ag as
|
|
8
|
-
import { aM as
|
|
5
|
+
import { e as Ne, v as xe, H as De, L as vt, P as ca, S as Gn, x as et, I as lc, J as ua, K as zi, M as Fs, N as cc, O as jr, Q as Pt, R as wt, U as Rt, V as je, W as At, X as qt, Y as uc, Z as Bt, _ as Hi, $ as dc, a0 as ct, a1 as hc, a2 as ht, a3 as xt, a4 as Xn, g as Le, a5 as fc, a6 as mc, a7 as pc, a8 as yr, a9 as ge, aa as Vi, ab as yc, ac as As, ad as Sa, ae as de, A as _s, af as Ls, ag as $e, ah as kr, ai as Ct, aj as Ui, ak as Bi, al as ji, am as Zi, an as gc, ao as Yi, ap as Gi, aq as Zr, ar as bc, as as _t, at as vc, au as wc, av as da, aw as kc, ax as Ps, ay as Sc, az as Xi, aA as Cc, aB as xc, C as Tc, aC as Rs, aD as Mc, aE as qs, aF as Hn, aG as Ws, aH as Oc, aI as Dc, aJ as Ec, aK as zs, aL as Ic, aM as $c, y as Nc, aN as Fc, F as Ac, aO as _c, u as Lc, aP as Pc } from "./DocumentStorage-BiFqO15i.es.js";
|
|
6
|
+
import { aR as Df, aQ as Ef, f as If, z as $f, b2 as Nf, aY as Ff, a_ as Af, aZ as _f, B as Lf, T as Pf, h as Rf, b1 as qf, b as Wf, d as zf, aS as Hf, aT as Vf, aU as Uf, aV as Bf, a$ as jf, w as Zf, m as Yf, b6 as Gf, a as Xf, aW as Kf, b0 as Jf, r as Qf, b3 as em, aX as tm, b4 as nm, b5 as rm } from "./DocumentStorage-BiFqO15i.es.js";
|
|
7
|
+
import { u as Se, aG as Je, d as Ki, A as Hs, aH as Ca, m as Pe, P as hr, ag as Rc, aE as Vs, aI as Rn, aJ as qc, aK as Wc, aL as an } from "./ServerProvider-BWOEKg0O.es.js";
|
|
8
|
+
import { aM as im, S as sm, aO as om, aN as lm, aF as cm } from "./ServerProvider-BWOEKg0O.es.js";
|
|
9
9
|
import { useQueryClient as Sr } from "@tanstack/react-query";
|
|
10
|
-
import { createBox as
|
|
10
|
+
import { createBox as zc, createStack as Hc } from "@mui/system";
|
|
11
11
|
import { Delete as Cr, Edit as xa, MoreVert as xr } from "@mui/icons-material";
|
|
12
|
-
import { D as
|
|
13
|
-
import { useNavigate as Us, useSearchParams as
|
|
14
|
-
const
|
|
12
|
+
import { D as dm, R as hm, b as fm, a as mm, d as pm, m as ym, r as gm } from "./RenderedResult-CvrmYyr5.es.js";
|
|
13
|
+
import { useNavigate as Us, useSearchParams as Vc, useLocation as Uc } from "react-router-dom";
|
|
14
|
+
const Bc = Ne(/* @__PURE__ */ a("path", {
|
|
15
15
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|
|
16
16
|
}));
|
|
17
17
|
function Bs({
|
|
@@ -46,14 +46,14 @@ function Bs({
|
|
|
46
46
|
"&:hover": { color: "primary.main" }
|
|
47
47
|
},
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */ a(
|
|
49
|
+
/* @__PURE__ */ a(Bc, { sx: { fontSize: 18 } }),
|
|
50
50
|
"Back to ",
|
|
51
51
|
t
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Qh() {
|
|
57
57
|
const t = Us();
|
|
58
58
|
return (l, f) => {
|
|
59
59
|
if (!f || !f.metaKey && !f.ctrlKey && !f.shiftKey && f.button !== 1) {
|
|
@@ -64,8 +64,8 @@ function Jh() {
|
|
|
64
64
|
(f.metaKey || f.ctrlKey || f.button === 1 || f.shiftKey) && window.open(i, "_blank");
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const [t] =
|
|
67
|
+
function ef() {
|
|
68
|
+
const [t] = Vc(), l = Us(), f = Uc(), i = Qe(
|
|
69
69
|
() => Object.fromEntries(t.entries()),
|
|
70
70
|
[t]
|
|
71
71
|
), m = ot(/* @__PURE__ */ new Set()), o = gt(
|
|
@@ -92,14 +92,14 @@ function Qh() {
|
|
|
92
92
|
}
|
|
93
93
|
const js = Ne(/* @__PURE__ */ a("path", {
|
|
94
94
|
d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
|
|
95
|
-
})),
|
|
96
|
-
function
|
|
97
|
-
return typeof t == "object" && t !== null && t.type ===
|
|
95
|
+
})), jc = "publisher:resize";
|
|
96
|
+
function Zc(t) {
|
|
97
|
+
return typeof t == "object" && t !== null && t.type === jc && typeof t.height == "number";
|
|
98
98
|
}
|
|
99
99
|
function Zs(t) {
|
|
100
100
|
return t.replace(/\/api\/v0\/?$/, "");
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Yc({
|
|
103
103
|
server: t,
|
|
104
104
|
environmentName: l,
|
|
105
105
|
packageName: f,
|
|
@@ -110,7 +110,7 @@ function Zc({
|
|
|
110
110
|
l
|
|
111
111
|
)}/packages/${encodeURIComponent(f)}/` + m;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Gc(t) {
|
|
114
114
|
try {
|
|
115
115
|
const { environmentName: l, packageName: f, modelPath: i } = De(t);
|
|
116
116
|
return !l || !f || !i ? null : { environmentName: l, packageName: f, dataAppPath: i };
|
|
@@ -118,9 +118,9 @@ function Yc(t) {
|
|
|
118
118
|
return null;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
const { server: l, apiClients: f } = Se(), i =
|
|
123
|
-
() =>
|
|
121
|
+
function tf({ resourceUri: t }) {
|
|
122
|
+
const { server: l, apiClients: f } = Se(), i = Gc(t), m = i?.environmentName ?? "", o = i?.packageName ?? "", c = i?.dataAppPath ?? "", h = Qe(
|
|
123
|
+
() => Yc({
|
|
124
124
|
server: l,
|
|
125
125
|
environmentName: m,
|
|
126
126
|
packageName: o,
|
|
@@ -137,7 +137,7 @@ function ef({ resourceUri: t }) {
|
|
|
137
137
|
return Re(() => {
|
|
138
138
|
if (v) return;
|
|
139
139
|
function w(C) {
|
|
140
|
-
|
|
140
|
+
Zc(C.data) && C.source === b.current?.contentWindow && C.data.height > 0 && k(Math.ceil(C.data.height));
|
|
141
141
|
}
|
|
142
142
|
return window.addEventListener("message", w), () => window.removeEventListener("message", w);
|
|
143
143
|
}, [v]), i ? /* @__PURE__ */ T(
|
|
@@ -297,7 +297,7 @@ function lt({
|
|
|
297
297
|
/* @__PURE__ */ a(re, { children: m })
|
|
298
298
|
] });
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Xc({ resourceUri: t }) {
|
|
301
301
|
const { environmentName: l } = De(t), { apiClients: f } = Se(), [i, m] = G(!1), o = 90, { data: c, isSuccess: h, isError: u, error: d } = xe({
|
|
302
302
|
queryKey: ["about", l],
|
|
303
303
|
queryFn: () => f.environments.getEnvironment(l, !1)
|
|
@@ -323,7 +323,7 @@ function Gc({ resourceUri: t }) {
|
|
|
323
323
|
)
|
|
324
324
|
] });
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Kc(t = {}) {
|
|
327
327
|
const {
|
|
328
328
|
autoHideDuration: l = null,
|
|
329
329
|
disableWindowBlurListener: f = !1,
|
|
@@ -395,10 +395,10 @@ function Xc(t = {}) {
|
|
|
395
395
|
function Ji(t) {
|
|
396
396
|
return t.substring(2).toLowerCase();
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Jc(t, l) {
|
|
399
399
|
return l.documentElement.clientWidth < t.clientX || l.documentElement.clientHeight < t.clientY;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function Qc(t) {
|
|
402
402
|
const {
|
|
403
403
|
children: l,
|
|
404
404
|
disableReactTree: f = !1,
|
|
@@ -415,7 +415,7 @@ function Jc(t) {
|
|
|
415
415
|
const w = d.current;
|
|
416
416
|
d.current = !1;
|
|
417
417
|
const C = jr(h.current);
|
|
418
|
-
if (!u.current || !h.current || "clientX" in k &&
|
|
418
|
+
if (!u.current || !h.current || "clientX" in k && Jc(k, C))
|
|
419
419
|
return;
|
|
420
420
|
if (c.current) {
|
|
421
421
|
c.current = !1;
|
|
@@ -454,11 +454,11 @@ function Jc(t) {
|
|
|
454
454
|
}
|
|
455
455
|
}, [v, i]), /* @__PURE__ */ pe.cloneElement(l, y);
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function eu(t) {
|
|
458
458
|
return Pt("MuiSnackbarContent", t);
|
|
459
459
|
}
|
|
460
460
|
wt("MuiSnackbarContent", ["root", "message", "action"]);
|
|
461
|
-
const
|
|
461
|
+
const tu = (t) => {
|
|
462
462
|
const {
|
|
463
463
|
classes: l
|
|
464
464
|
} = t;
|
|
@@ -466,8 +466,8 @@ const eu = (t) => {
|
|
|
466
466
|
root: ["root"],
|
|
467
467
|
action: ["action"],
|
|
468
468
|
message: ["message"]
|
|
469
|
-
},
|
|
470
|
-
},
|
|
469
|
+
}, eu, l);
|
|
470
|
+
}, nu = je(uc, {
|
|
471
471
|
name: "MuiSnackbarContent",
|
|
472
472
|
slot: "Root"
|
|
473
473
|
})(Bt(({
|
|
@@ -488,12 +488,12 @@ const eu = (t) => {
|
|
|
488
488
|
minWidth: 288
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
|
-
})),
|
|
491
|
+
})), ru = je("div", {
|
|
492
492
|
name: "MuiSnackbarContent",
|
|
493
493
|
slot: "Message"
|
|
494
494
|
})({
|
|
495
495
|
padding: "8px 0"
|
|
496
|
-
}),
|
|
496
|
+
}), au = je("div", {
|
|
497
497
|
name: "MuiSnackbarContent",
|
|
498
498
|
slot: "Action"
|
|
499
499
|
})({
|
|
@@ -502,7 +502,7 @@ const eu = (t) => {
|
|
|
502
502
|
marginLeft: "auto",
|
|
503
503
|
paddingLeft: 16,
|
|
504
504
|
marginRight: -8
|
|
505
|
-
}),
|
|
505
|
+
}), iu = /* @__PURE__ */ pe.forwardRef(function(l, f) {
|
|
506
506
|
const i = Rt({
|
|
507
507
|
props: l,
|
|
508
508
|
name: "MuiSnackbarContent"
|
|
@@ -512,38 +512,38 @@ const eu = (t) => {
|
|
|
512
512
|
message: c,
|
|
513
513
|
role: h = "alert",
|
|
514
514
|
...u
|
|
515
|
-
} = i, d = i, g =
|
|
516
|
-
return /* @__PURE__ */ T(
|
|
515
|
+
} = i, d = i, g = tu(d);
|
|
516
|
+
return /* @__PURE__ */ T(nu, {
|
|
517
517
|
role: h,
|
|
518
518
|
elevation: 6,
|
|
519
519
|
className: At(g.root, o),
|
|
520
520
|
ownerState: d,
|
|
521
521
|
ref: f,
|
|
522
522
|
...u,
|
|
523
|
-
children: [/* @__PURE__ */ a(
|
|
523
|
+
children: [/* @__PURE__ */ a(ru, {
|
|
524
524
|
className: g.message,
|
|
525
525
|
ownerState: d,
|
|
526
526
|
children: c
|
|
527
|
-
}), m ? /* @__PURE__ */ a(
|
|
527
|
+
}), m ? /* @__PURE__ */ a(au, {
|
|
528
528
|
className: g.action,
|
|
529
529
|
ownerState: d,
|
|
530
530
|
children: m
|
|
531
531
|
}) : null]
|
|
532
532
|
});
|
|
533
533
|
});
|
|
534
|
-
function
|
|
534
|
+
function su(t) {
|
|
535
535
|
return Pt("MuiSnackbar", t);
|
|
536
536
|
}
|
|
537
537
|
wt("MuiSnackbar", ["root", "anchorOriginTopCenter", "anchorOriginBottomCenter", "anchorOriginTopRight", "anchorOriginBottomRight", "anchorOriginTopLeft", "anchorOriginBottomLeft"]);
|
|
538
|
-
const
|
|
538
|
+
const ou = (t) => {
|
|
539
539
|
const {
|
|
540
540
|
classes: l,
|
|
541
541
|
anchorOrigin: f
|
|
542
542
|
} = t, i = {
|
|
543
543
|
root: ["root", `anchorOrigin${ht(f.vertical)}${ht(f.horizontal)}`]
|
|
544
544
|
};
|
|
545
|
-
return qt(i,
|
|
546
|
-
},
|
|
545
|
+
return qt(i, su, l);
|
|
546
|
+
}, lu = je("div", {
|
|
547
547
|
name: "MuiSnackbar",
|
|
548
548
|
slot: "Root",
|
|
549
549
|
overridesResolver: (t, l) => {
|
|
@@ -616,7 +616,7 @@ const su = (t) => {
|
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
}]
|
|
619
|
-
}))),
|
|
619
|
+
}))), cu = /* @__PURE__ */ pe.forwardRef(function(l, f) {
|
|
620
620
|
const i = Rt({
|
|
621
621
|
props: l,
|
|
622
622
|
name: "MuiSnackbar"
|
|
@@ -666,10 +666,10 @@ const su = (t) => {
|
|
|
666
666
|
disableWindowBlurListener: k,
|
|
667
667
|
TransitionComponent: N,
|
|
668
668
|
transitionDuration: R
|
|
669
|
-
}, Y =
|
|
669
|
+
}, Y = ou(X), {
|
|
670
670
|
getRootProps: J,
|
|
671
671
|
onClickAway: V
|
|
672
|
-
} =
|
|
672
|
+
} = Kc({
|
|
673
673
|
...X
|
|
674
674
|
}), [Q, q] = pe.useState(!0), K = (ze) => {
|
|
675
675
|
q(!0), A && A(ze);
|
|
@@ -686,10 +686,10 @@ const su = (t) => {
|
|
|
686
686
|
transition: L,
|
|
687
687
|
...B
|
|
688
688
|
}
|
|
689
|
-
}, [
|
|
689
|
+
}, [ue, j] = ct("root", {
|
|
690
690
|
ref: f,
|
|
691
691
|
className: [Y.root, v],
|
|
692
|
-
elementType:
|
|
692
|
+
elementType: lu,
|
|
693
693
|
getSlotProps: J,
|
|
694
694
|
externalForwardedProps: {
|
|
695
695
|
...Z,
|
|
@@ -700,7 +700,7 @@ const su = (t) => {
|
|
|
700
700
|
ownerState: Fe,
|
|
701
701
|
...Ee
|
|
702
702
|
}] = ct("clickAwayListener", {
|
|
703
|
-
elementType:
|
|
703
|
+
elementType: Qc,
|
|
704
704
|
externalForwardedProps: Z,
|
|
705
705
|
getSlotProps: (ze) => ({
|
|
706
706
|
onClickAway: (...Ie) => {
|
|
@@ -710,7 +710,7 @@ const su = (t) => {
|
|
|
710
710
|
}),
|
|
711
711
|
ownerState: X
|
|
712
712
|
}), [qe, Ze] = ct("content", {
|
|
713
|
-
elementType:
|
|
713
|
+
elementType: iu,
|
|
714
714
|
shouldForwardComponentProp: !0,
|
|
715
715
|
externalForwardedProps: Z,
|
|
716
716
|
additionalProps: {
|
|
@@ -742,7 +742,7 @@ const su = (t) => {
|
|
|
742
742
|
...P.clickAwayListener && {
|
|
743
743
|
ownerState: Fe
|
|
744
744
|
},
|
|
745
|
-
children: /* @__PURE__ */ a(
|
|
745
|
+
children: /* @__PURE__ */ a(ue, {
|
|
746
746
|
...j,
|
|
747
747
|
children: /* @__PURE__ */ a(Ve, {
|
|
748
748
|
...We,
|
|
@@ -754,7 +754,7 @@ const su = (t) => {
|
|
|
754
754
|
});
|
|
755
755
|
});
|
|
756
756
|
let ha;
|
|
757
|
-
function
|
|
757
|
+
function nf(t) {
|
|
758
758
|
ha = t;
|
|
759
759
|
}
|
|
760
760
|
function Qi(t) {
|
|
@@ -817,7 +817,7 @@ function fn({
|
|
|
817
817
|
mutate: d.mutate,
|
|
818
818
|
isPending: d.isPending,
|
|
819
819
|
notice: /* @__PURE__ */ a(
|
|
820
|
-
|
|
820
|
+
cu,
|
|
821
821
|
{
|
|
822
822
|
open: h !== "",
|
|
823
823
|
autoHideDuration: 6e3,
|
|
@@ -849,7 +849,7 @@ const Ys = "https://docs.malloydata.dev/documentation", Yr = `${Ys}/user_guides/
|
|
|
849
849
|
// Database and query-engine connections.
|
|
850
850
|
connections: `${sn}/connections.md`
|
|
851
851
|
};
|
|
852
|
-
function
|
|
852
|
+
function uu({
|
|
853
853
|
resourceUri: t
|
|
854
854
|
}) {
|
|
855
855
|
const [l, f] = G(!1), { apiClients: i } = Se(), { environmentName: m } = De(t), o = fn({
|
|
@@ -961,7 +961,7 @@ function cu({
|
|
|
961
961
|
o.notice
|
|
962
962
|
] });
|
|
963
963
|
}
|
|
964
|
-
const
|
|
964
|
+
const du = Ne(/* @__PURE__ */ a("path", {
|
|
965
965
|
d: "M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"
|
|
966
966
|
}));
|
|
967
967
|
function Tr({
|
|
@@ -1082,12 +1082,12 @@ function Tr({
|
|
|
1082
1082
|
}
|
|
1083
1083
|
const Gs = Ne(/* @__PURE__ */ a("path", {
|
|
1084
1084
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
1085
|
-
})),
|
|
1085
|
+
})), hu = wt("MuiBox", ["root"]), fu = mc(), ve = zc({
|
|
1086
1086
|
themeId: pc,
|
|
1087
|
-
defaultTheme:
|
|
1088
|
-
defaultClassName:
|
|
1087
|
+
defaultTheme: fu,
|
|
1088
|
+
defaultClassName: hu.root,
|
|
1089
1089
|
generateClassName: fc.generate
|
|
1090
|
-
}), Mr =
|
|
1090
|
+
}), Mr = Hc({
|
|
1091
1091
|
createStyledComponent: je("div", {
|
|
1092
1092
|
name: "MuiStack",
|
|
1093
1093
|
slot: "Root"
|
|
@@ -1097,18 +1097,18 @@ const Gs = Ne(/* @__PURE__ */ a("path", {
|
|
|
1097
1097
|
name: "MuiStack"
|
|
1098
1098
|
})
|
|
1099
1099
|
}), es = wt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
1100
|
-
function
|
|
1100
|
+
function mu(t) {
|
|
1101
1101
|
return Pt("MuiListItemIcon", t);
|
|
1102
1102
|
}
|
|
1103
|
-
const ts = wt("MuiListItemIcon", ["root", "alignItemsFlexStart"]),
|
|
1103
|
+
const ts = wt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), pu = (t) => {
|
|
1104
1104
|
const {
|
|
1105
1105
|
alignItems: l,
|
|
1106
1106
|
classes: f
|
|
1107
1107
|
} = t;
|
|
1108
1108
|
return qt({
|
|
1109
1109
|
root: ["root", l === "flex-start" && "alignItemsFlexStart"]
|
|
1110
|
-
},
|
|
1111
|
-
},
|
|
1110
|
+
}, mu, f);
|
|
1111
|
+
}, yu = je("div", {
|
|
1112
1112
|
name: "MuiListItemIcon",
|
|
1113
1113
|
slot: "Root",
|
|
1114
1114
|
overridesResolver: (t, l) => {
|
|
@@ -1142,18 +1142,18 @@ const ts = wt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), mu = (t) => {
|
|
|
1142
1142
|
} = i, c = pe.useContext(yr), h = {
|
|
1143
1143
|
...i,
|
|
1144
1144
|
alignItems: c.alignItems
|
|
1145
|
-
}, u =
|
|
1146
|
-
return /* @__PURE__ */ a(
|
|
1145
|
+
}, u = pu(h);
|
|
1146
|
+
return /* @__PURE__ */ a(yu, {
|
|
1147
1147
|
className: At(u.root, m),
|
|
1148
1148
|
ownerState: h,
|
|
1149
1149
|
ref: f,
|
|
1150
1150
|
...o
|
|
1151
1151
|
});
|
|
1152
1152
|
});
|
|
1153
|
-
function
|
|
1153
|
+
function gu(t) {
|
|
1154
1154
|
return Pt("MuiListItemText", t);
|
|
1155
1155
|
}
|
|
1156
|
-
const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]),
|
|
1156
|
+
const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), bu = (t) => {
|
|
1157
1157
|
const {
|
|
1158
1158
|
classes: l,
|
|
1159
1159
|
inset: f,
|
|
@@ -1165,8 +1165,8 @@ const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
1165
1165
|
root: ["root", f && "inset", o && "dense", i && m && "multiline"],
|
|
1166
1166
|
primary: ["primary"],
|
|
1167
1167
|
secondary: ["secondary"]
|
|
1168
|
-
},
|
|
1169
|
-
},
|
|
1168
|
+
}, gu, l);
|
|
1169
|
+
}, vu = je("div", {
|
|
1170
1170
|
name: "MuiListItemText",
|
|
1171
1171
|
slot: "Root",
|
|
1172
1172
|
overridesResolver: (t, l) => {
|
|
@@ -1233,7 +1233,7 @@ const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
1233
1233
|
primary: !!C,
|
|
1234
1234
|
secondary: !!x,
|
|
1235
1235
|
dense: w
|
|
1236
|
-
}, I =
|
|
1236
|
+
}, I = bu(M), E = {
|
|
1237
1237
|
slots: b,
|
|
1238
1238
|
slotProps: {
|
|
1239
1239
|
primary: d,
|
|
@@ -1242,7 +1242,7 @@ const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
1242
1242
|
}
|
|
1243
1243
|
}, [_, W] = ct("root", {
|
|
1244
1244
|
className: At(I.root, o),
|
|
1245
|
-
elementType:
|
|
1245
|
+
elementType: vu,
|
|
1246
1246
|
externalForwardedProps: {
|
|
1247
1247
|
...E,
|
|
1248
1248
|
...k
|
|
@@ -1275,15 +1275,15 @@ const cn = wt("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
1275
1275
|
children: [C, x]
|
|
1276
1276
|
});
|
|
1277
1277
|
});
|
|
1278
|
-
function
|
|
1278
|
+
function wu(t) {
|
|
1279
1279
|
return Pt("MuiMenuItem", t);
|
|
1280
1280
|
}
|
|
1281
|
-
const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]),
|
|
1281
|
+
const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), ku = (t, l) => {
|
|
1282
1282
|
const {
|
|
1283
1283
|
ownerState: f
|
|
1284
1284
|
} = t;
|
|
1285
1285
|
return [l.root, f.dense && l.dense, f.divider && l.divider, !f.disableGutters && l.gutters];
|
|
1286
|
-
},
|
|
1286
|
+
}, Su = (t) => {
|
|
1287
1287
|
const {
|
|
1288
1288
|
disabled: l,
|
|
1289
1289
|
dense: f,
|
|
@@ -1293,16 +1293,16 @@ const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
1293
1293
|
classes: c
|
|
1294
1294
|
} = t, u = qt({
|
|
1295
1295
|
root: ["root", f && "dense", l && "disabled", !m && "gutters", i && "divider", o && "selected"]
|
|
1296
|
-
},
|
|
1296
|
+
}, wu, c);
|
|
1297
1297
|
return {
|
|
1298
1298
|
...c,
|
|
1299
1299
|
...u
|
|
1300
1300
|
};
|
|
1301
|
-
},
|
|
1301
|
+
}, Cu = je(As, {
|
|
1302
1302
|
shouldForwardProp: (t) => Sa(t) || t === "classes",
|
|
1303
1303
|
name: "MuiMenuItem",
|
|
1304
1304
|
slot: "Root",
|
|
1305
|
-
overridesResolver:
|
|
1305
|
+
overridesResolver: ku
|
|
1306
1306
|
})(Bt(({
|
|
1307
1307
|
theme: t
|
|
1308
1308
|
}) => ({
|
|
@@ -1428,11 +1428,11 @@ const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
1428
1428
|
dense: w.dense,
|
|
1429
1429
|
divider: h,
|
|
1430
1430
|
disableGutters: u
|
|
1431
|
-
}, M =
|
|
1431
|
+
}, M = Su(i), I = Fs(C, f);
|
|
1432
1432
|
let E;
|
|
1433
1433
|
return i.disabled || (E = v !== void 0 ? v : -1), /* @__PURE__ */ a(yr.Provider, {
|
|
1434
1434
|
value: w,
|
|
1435
|
-
children: /* @__PURE__ */ a(
|
|
1435
|
+
children: /* @__PURE__ */ a(Cu, {
|
|
1436
1436
|
ref: I,
|
|
1437
1437
|
role: g,
|
|
1438
1438
|
tabIndex: E,
|
|
@@ -1840,7 +1840,7 @@ const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
1840
1840
|
type: "password",
|
|
1841
1841
|
required: !0
|
|
1842
1842
|
}
|
|
1843
|
-
],
|
|
1843
|
+
], xu = [
|
|
1844
1844
|
{
|
|
1845
1845
|
label: "Auth Type",
|
|
1846
1846
|
name: "authType",
|
|
@@ -1895,9 +1895,9 @@ const On = wt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
1895
1895
|
}
|
|
1896
1896
|
];
|
|
1897
1897
|
function gr(t) {
|
|
1898
|
-
return t === "postgres" || t === "bigquery" || t === "snowflake" ? Mt[t] || [] : t === "s3" ? Vn : t === "gcs" ? Un : t === "azure" ?
|
|
1898
|
+
return t === "postgres" || t === "bigquery" || t === "snowflake" ? Mt[t] || [] : t === "s3" ? Vn : t === "gcs" ? Un : t === "azure" ? xu : [];
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function Tu({
|
|
1901
1901
|
onSubmit: t,
|
|
1902
1902
|
isSubmitting: l
|
|
1903
1903
|
}) {
|
|
@@ -2113,7 +2113,7 @@ function xu({
|
|
|
2113
2113
|
] }),
|
|
2114
2114
|
children: /* @__PURE__ */ a("form", { onSubmit: C, id: "connection-form", children: /* @__PURE__ */ T(Mr, { sx: { gap: 2 }, children: [
|
|
2115
2115
|
/* @__PURE__ */ a(
|
|
2116
|
-
|
|
2116
|
+
de,
|
|
2117
2117
|
{
|
|
2118
2118
|
autoFocus: !0,
|
|
2119
2119
|
required: !0,
|
|
@@ -2126,7 +2126,7 @@ function xu({
|
|
|
2126
2126
|
}
|
|
2127
2127
|
),
|
|
2128
2128
|
/* @__PURE__ */ a(
|
|
2129
|
-
|
|
2129
|
+
de,
|
|
2130
2130
|
{
|
|
2131
2131
|
id: "type",
|
|
2132
2132
|
name: "type",
|
|
@@ -2161,7 +2161,7 @@ function xu({
|
|
|
2161
2161
|
}
|
|
2162
2162
|
),
|
|
2163
2163
|
/* @__PURE__ */ a(
|
|
2164
|
-
|
|
2164
|
+
de,
|
|
2165
2165
|
{
|
|
2166
2166
|
id: "ducklake_catalogType",
|
|
2167
2167
|
label: "Catalog Type",
|
|
@@ -2175,7 +2175,7 @@ function xu({
|
|
|
2175
2175
|
),
|
|
2176
2176
|
u === "postgres" && /* @__PURE__ */ a(se, { children: Mt.postgres.map(
|
|
2177
2177
|
(E) => /* @__PURE__ */ a(
|
|
2178
|
-
|
|
2178
|
+
de,
|
|
2179
2179
|
{
|
|
2180
2180
|
id: `ducklake_pg_${E.name}`,
|
|
2181
2181
|
name: `ducklake_pg_${E.name}`,
|
|
@@ -2211,7 +2211,7 @@ function xu({
|
|
|
2211
2211
|
}
|
|
2212
2212
|
),
|
|
2213
2213
|
/* @__PURE__ */ T(
|
|
2214
|
-
|
|
2214
|
+
de,
|
|
2215
2215
|
{
|
|
2216
2216
|
id: "ducklake_storageType",
|
|
2217
2217
|
label: "Storage Type",
|
|
@@ -2227,7 +2227,7 @@ function xu({
|
|
|
2227
2227
|
}
|
|
2228
2228
|
),
|
|
2229
2229
|
/* @__PURE__ */ a(
|
|
2230
|
-
|
|
2230
|
+
de,
|
|
2231
2231
|
{
|
|
2232
2232
|
required: !0,
|
|
2233
2233
|
id: "ducklake_bucketUrl",
|
|
@@ -2251,7 +2251,7 @@ function xu({
|
|
|
2251
2251
|
Vn.filter(
|
|
2252
2252
|
(E) => E.visibleWhen ? b === E.visibleWhen.value : !0
|
|
2253
2253
|
).map((E) => /* @__PURE__ */ a(
|
|
2254
|
-
|
|
2254
|
+
de,
|
|
2255
2255
|
{
|
|
2256
2256
|
id: `ducklake_s3_${E.name}`,
|
|
2257
2257
|
name: `ducklake_s3_${E.name}`,
|
|
@@ -2291,7 +2291,7 @@ function xu({
|
|
|
2291
2291
|
}
|
|
2292
2292
|
),
|
|
2293
2293
|
Un.map((E) => /* @__PURE__ */ a(
|
|
2294
|
-
|
|
2294
|
+
de,
|
|
2295
2295
|
{
|
|
2296
2296
|
id: `ducklake_gcs_${E.name}`,
|
|
2297
2297
|
name: `ducklake_gcs_${E.name}`,
|
|
@@ -2382,7 +2382,7 @@ function xu({
|
|
|
2382
2382
|
}
|
|
2383
2383
|
),
|
|
2384
2384
|
/* @__PURE__ */ a(
|
|
2385
|
-
|
|
2385
|
+
de,
|
|
2386
2386
|
{
|
|
2387
2387
|
required: !0,
|
|
2388
2388
|
id: `attachedDb_${_}_name`,
|
|
@@ -2395,7 +2395,7 @@ function xu({
|
|
|
2395
2395
|
}
|
|
2396
2396
|
),
|
|
2397
2397
|
/* @__PURE__ */ a(
|
|
2398
|
-
|
|
2398
|
+
de,
|
|
2399
2399
|
{
|
|
2400
2400
|
id: `attachedDb_${_}_type`,
|
|
2401
2401
|
name: `attachedDb_${_}_type`,
|
|
@@ -2416,7 +2416,7 @@ function xu({
|
|
|
2416
2416
|
W.filter((P) => P.visibleWhen ? (E[P.visibleWhen.field] || W.find(
|
|
2417
2417
|
(N) => N.name === P.visibleWhen?.field
|
|
2418
2418
|
)?.selectOptions?.[0]?.value) === P.visibleWhen.value : !0).map((P) => /* @__PURE__ */ a(
|
|
2419
|
-
|
|
2419
|
+
de,
|
|
2420
2420
|
{
|
|
2421
2421
|
id: `attachedDb_${_}_${P.name}`,
|
|
2422
2422
|
name: `attachedDb_${_}_${P.name}`,
|
|
@@ -2457,7 +2457,7 @@ function xu({
|
|
|
2457
2457
|
);
|
|
2458
2458
|
})
|
|
2459
2459
|
] }) : Mt[m].map((E) => /* @__PURE__ */ a(
|
|
2460
|
-
|
|
2460
|
+
de,
|
|
2461
2461
|
{
|
|
2462
2462
|
id: E.name,
|
|
2463
2463
|
name: E.name,
|
|
@@ -2474,7 +2474,7 @@ function xu({
|
|
|
2474
2474
|
)
|
|
2475
2475
|
] });
|
|
2476
2476
|
}
|
|
2477
|
-
function
|
|
2477
|
+
function Mu({
|
|
2478
2478
|
connection: t,
|
|
2479
2479
|
onCloseDialog: l,
|
|
2480
2480
|
isMutating: f,
|
|
@@ -2556,7 +2556,7 @@ function as(t) {
|
|
|
2556
2556
|
const l = t.ducklakeConnection;
|
|
2557
2557
|
return l && l.storage?.gcsConnection ? "gcs" : "s3";
|
|
2558
2558
|
}
|
|
2559
|
-
function
|
|
2559
|
+
function Ou({
|
|
2560
2560
|
connection: t,
|
|
2561
2561
|
onSubmit: l,
|
|
2562
2562
|
isSubmitting: f,
|
|
@@ -2647,9 +2647,9 @@ function Mu({
|
|
|
2647
2647
|
}, K = gr(V);
|
|
2648
2648
|
if (K && K.length > 0) {
|
|
2649
2649
|
const F = {};
|
|
2650
|
-
if (K.forEach((
|
|
2651
|
-
const j = R.get(`attachedDb_${J}_${
|
|
2652
|
-
j && (F[
|
|
2650
|
+
if (K.forEach((ue) => {
|
|
2651
|
+
const j = R.get(`attachedDb_${J}_${ue.name}`)?.toString();
|
|
2652
|
+
j && (F[ue.name] = j);
|
|
2653
2653
|
}), V === "s3") {
|
|
2654
2654
|
if (F.provider === "credential_chain")
|
|
2655
2655
|
delete F.accessKeyId, delete F.secretAccessKey, delete F.sessionToken;
|
|
@@ -2790,7 +2790,7 @@ function Mu({
|
|
|
2790
2790
|
] }),
|
|
2791
2791
|
children: /* @__PURE__ */ a("form", { onSubmit: I, id: "connection-form", children: /* @__PURE__ */ T(Mr, { sx: { gap: 2 }, children: [
|
|
2792
2792
|
/* @__PURE__ */ a(
|
|
2793
|
-
|
|
2793
|
+
de,
|
|
2794
2794
|
{
|
|
2795
2795
|
autoFocus: !0,
|
|
2796
2796
|
required: !0,
|
|
@@ -2804,7 +2804,7 @@ function Mu({
|
|
|
2804
2804
|
}
|
|
2805
2805
|
),
|
|
2806
2806
|
/* @__PURE__ */ a(
|
|
2807
|
-
|
|
2807
|
+
de,
|
|
2808
2808
|
{
|
|
2809
2809
|
id: "type",
|
|
2810
2810
|
name: "type",
|
|
@@ -2839,7 +2839,7 @@ function Mu({
|
|
|
2839
2839
|
}
|
|
2840
2840
|
),
|
|
2841
2841
|
/* @__PURE__ */ a(
|
|
2842
|
-
|
|
2842
|
+
de,
|
|
2843
2843
|
{
|
|
2844
2844
|
id: "ducklake_catalogType",
|
|
2845
2845
|
label: "Catalog Type",
|
|
@@ -2853,7 +2853,7 @@ function Mu({
|
|
|
2853
2853
|
),
|
|
2854
2854
|
v === "postgres" && /* @__PURE__ */ a(se, { children: Mt.postgres.map(
|
|
2855
2855
|
(N) => /* @__PURE__ */ a(
|
|
2856
|
-
|
|
2856
|
+
de,
|
|
2857
2857
|
{
|
|
2858
2858
|
id: `ducklake_pg_${N.name}`,
|
|
2859
2859
|
name: `ducklake_pg_${N.name}`,
|
|
@@ -2892,7 +2892,7 @@ function Mu({
|
|
|
2892
2892
|
}
|
|
2893
2893
|
),
|
|
2894
2894
|
/* @__PURE__ */ T(
|
|
2895
|
-
|
|
2895
|
+
de,
|
|
2896
2896
|
{
|
|
2897
2897
|
id: "ducklake_storageType",
|
|
2898
2898
|
label: "Storage Type",
|
|
@@ -2908,7 +2908,7 @@ function Mu({
|
|
|
2908
2908
|
}
|
|
2909
2909
|
),
|
|
2910
2910
|
/* @__PURE__ */ a(
|
|
2911
|
-
|
|
2911
|
+
de,
|
|
2912
2912
|
{
|
|
2913
2913
|
required: !0,
|
|
2914
2914
|
id: "ducklake_bucketUrl",
|
|
@@ -2933,7 +2933,7 @@ function Mu({
|
|
|
2933
2933
|
Vn.filter(
|
|
2934
2934
|
(N) => N.visibleWhen ? w === N.visibleWhen.value : !0
|
|
2935
2935
|
).map((N) => /* @__PURE__ */ a(
|
|
2936
|
-
|
|
2936
|
+
de,
|
|
2937
2937
|
{
|
|
2938
2938
|
id: `ducklake_s3_${N.name}`,
|
|
2939
2939
|
name: `ducklake_s3_${N.name}`,
|
|
@@ -2977,7 +2977,7 @@ function Mu({
|
|
|
2977
2977
|
}
|
|
2978
2978
|
),
|
|
2979
2979
|
Un.map((N) => /* @__PURE__ */ a(
|
|
2980
|
-
|
|
2980
|
+
de,
|
|
2981
2981
|
{
|
|
2982
2982
|
id: `ducklake_gcs_${N.name}`,
|
|
2983
2983
|
name: `ducklake_gcs_${N.name}`,
|
|
@@ -3075,7 +3075,7 @@ function Mu({
|
|
|
3075
3075
|
}
|
|
3076
3076
|
),
|
|
3077
3077
|
/* @__PURE__ */ a(
|
|
3078
|
-
|
|
3078
|
+
de,
|
|
3079
3079
|
{
|
|
3080
3080
|
required: !0,
|
|
3081
3081
|
id: `attachedDb_${R}_name`,
|
|
@@ -3088,7 +3088,7 @@ function Mu({
|
|
|
3088
3088
|
}
|
|
3089
3089
|
),
|
|
3090
3090
|
/* @__PURE__ */ a(
|
|
3091
|
-
|
|
3091
|
+
de,
|
|
3092
3092
|
{
|
|
3093
3093
|
id: `attachedDb_${R}_type`,
|
|
3094
3094
|
name: `attachedDb_${R}_type`,
|
|
@@ -3112,7 +3112,7 @@ function Mu({
|
|
|
3112
3112
|
) || H.find(
|
|
3113
3113
|
(U) => U.name === A.visibleWhen?.field
|
|
3114
3114
|
)?.selectOptions?.[0]?.value) === A.visibleWhen.value : !0).map((A) => /* @__PURE__ */ a(
|
|
3115
|
-
|
|
3115
|
+
de,
|
|
3116
3116
|
{
|
|
3117
3117
|
id: `attachedDb_${R}_${A.name}`,
|
|
3118
3118
|
name: `attachedDb_${R}_${A.name}`,
|
|
@@ -3160,7 +3160,7 @@ function Mu({
|
|
|
3160
3160
|
`${qn[c] ?? ""}.${N.name}`
|
|
3161
3161
|
);
|
|
3162
3162
|
return /* @__PURE__ */ a(
|
|
3163
|
-
|
|
3163
|
+
de,
|
|
3164
3164
|
{
|
|
3165
3165
|
id: N.name,
|
|
3166
3166
|
name: N.name,
|
|
@@ -3186,10 +3186,10 @@ function is(t, l) {
|
|
|
3186
3186
|
(i) => i.type === "azure" && i.name === l
|
|
3187
3187
|
);
|
|
3188
3188
|
}
|
|
3189
|
-
function
|
|
3189
|
+
function Du(t) {
|
|
3190
3190
|
return t.startsWith("gs://") || t.startsWith("s3://") || t.startsWith("https://") || t.startsWith("abfss://") || t.startsWith("az://");
|
|
3191
3191
|
}
|
|
3192
|
-
function
|
|
3192
|
+
function Eu({
|
|
3193
3193
|
connectionName: t,
|
|
3194
3194
|
resourceUri: l,
|
|
3195
3195
|
schema: f,
|
|
@@ -3271,7 +3271,7 @@ function Du({
|
|
|
3271
3271
|
)
|
|
3272
3272
|
] }) }),
|
|
3273
3273
|
/* @__PURE__ */ a(ln, { size: { xs: 12, md: f ? 6 : 4 }, children: u && /* @__PURE__ */ a(ia, { sx: { p: 1, m: 0 }, children: /* @__PURE__ */ a(
|
|
3274
|
-
|
|
3274
|
+
Nu,
|
|
3275
3275
|
{
|
|
3276
3276
|
connectionName: t,
|
|
3277
3277
|
schemaName: u,
|
|
@@ -3283,7 +3283,7 @@ function Du({
|
|
|
3283
3283
|
}
|
|
3284
3284
|
) }) }),
|
|
3285
3285
|
/* @__PURE__ */ a(ln, { size: { xs: 12, md: f ? 6 : 4 }, children: u && c && /* @__PURE__ */ a(
|
|
3286
|
-
|
|
3286
|
+
Iu,
|
|
3287
3287
|
{
|
|
3288
3288
|
environmentName: o,
|
|
3289
3289
|
connectionName: t,
|
|
@@ -3293,7 +3293,7 @@ function Du({
|
|
|
3293
3293
|
) })
|
|
3294
3294
|
] });
|
|
3295
3295
|
}
|
|
3296
|
-
function
|
|
3296
|
+
function Iu({
|
|
3297
3297
|
environmentName: t,
|
|
3298
3298
|
connectionName: l,
|
|
3299
3299
|
schemaName: f,
|
|
@@ -3331,10 +3331,10 @@ function Eu({
|
|
|
3331
3331
|
context: `${t} > ${l} > ${f} > ${i}`
|
|
3332
3332
|
}
|
|
3333
3333
|
),
|
|
3334
|
-
!h && /* @__PURE__ */ a(
|
|
3334
|
+
!h && /* @__PURE__ */ a($u, { table: d, loading: c })
|
|
3335
3335
|
] });
|
|
3336
3336
|
}
|
|
3337
|
-
function
|
|
3337
|
+
function $u({ table: t, loading: l }) {
|
|
3338
3338
|
return l ? /* @__PURE__ */ a(vt, { text: "Loading columns..." }) : /* @__PURE__ */ T(se, { children: [
|
|
3339
3339
|
/* @__PURE__ */ T(
|
|
3340
3340
|
ee,
|
|
@@ -3374,7 +3374,7 @@ function Iu({ table: t, loading: l }) {
|
|
|
3374
3374
|
) }) })
|
|
3375
3375
|
] });
|
|
3376
3376
|
}
|
|
3377
|
-
function
|
|
3377
|
+
function Nu({
|
|
3378
3378
|
connectionName: t,
|
|
3379
3379
|
schemaName: l,
|
|
3380
3380
|
onTableSelect: f,
|
|
@@ -3392,7 +3392,7 @@ function $u({
|
|
|
3392
3392
|
w(M.resource)
|
|
3393
3393
|
)) : [];
|
|
3394
3394
|
return /* @__PURE__ */ T(se, { children: [
|
|
3395
|
-
/* @__PURE__ */ a(ee, { variant: "overline", fontWeight: "bold", children:
|
|
3395
|
+
/* @__PURE__ */ a(ee, { variant: "overline", fontWeight: "bold", children: Du(l) || is(m, l) ? `Files in ${l}` : `Tables in ${l}` }),
|
|
3396
3396
|
/* @__PURE__ */ a(un, {}),
|
|
3397
3397
|
/* @__PURE__ */ a(re, { sx: { mt: 1, mb: 1 }, children: /* @__PURE__ */ a(
|
|
3398
3398
|
Nt,
|
|
@@ -3438,7 +3438,7 @@ function $u({
|
|
|
3438
3438
|
] })
|
|
3439
3439
|
] });
|
|
3440
3440
|
}
|
|
3441
|
-
const
|
|
3441
|
+
const Fu = {
|
|
3442
3442
|
bigquery: "BigQuery",
|
|
3443
3443
|
snowflake: "Snowflake",
|
|
3444
3444
|
postgres: "PostgreSQL",
|
|
@@ -3451,10 +3451,10 @@ const Nu = {
|
|
|
3451
3451
|
gcs: "GCS",
|
|
3452
3452
|
azure: "Azure"
|
|
3453
3453
|
};
|
|
3454
|
-
function
|
|
3455
|
-
return t ?
|
|
3454
|
+
function Au(t) {
|
|
3455
|
+
return t ? Fu[t] ?? t : "";
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3457
|
+
function _u({ resourceUri: t }) {
|
|
3458
3458
|
const { apiClients: l, mutable: f } = Se(), i = Sr(), { environmentName: m } = De(t), [o, c] = G(""), [h, u] = G(
|
|
3459
3459
|
null
|
|
3460
3460
|
), d = kr({
|
|
@@ -3540,7 +3540,7 @@ function Au({ resourceUri: t }) {
|
|
|
3540
3540
|
description: "Database connections available to packages in this environment",
|
|
3541
3541
|
...f && v ? {
|
|
3542
3542
|
action: /* @__PURE__ */ a(
|
|
3543
|
-
|
|
3543
|
+
Tu,
|
|
3544
3544
|
{
|
|
3545
3545
|
onSubmit: (I) => k.mutateAsync(I),
|
|
3546
3546
|
isSubmitting: k.isPending
|
|
@@ -3558,7 +3558,7 @@ function Au({ resourceUri: t }) {
|
|
|
3558
3558
|
),
|
|
3559
3559
|
v && x.length === 0 && /* @__PURE__ */ a(ee, { variant: "body2", color: "text.secondary", children: "No connections yet." }),
|
|
3560
3560
|
v && x.length > 0 && /* @__PURE__ */ a(Oe, { children: x.map((I) => /* @__PURE__ */ a(
|
|
3561
|
-
|
|
3561
|
+
Lu,
|
|
3562
3562
|
{
|
|
3563
3563
|
connection: I,
|
|
3564
3564
|
mutable: f,
|
|
@@ -3587,7 +3587,7 @@ function Au({ resourceUri: t }) {
|
|
|
3587
3587
|
title: `Connection explorer: ${h ?? ""}`,
|
|
3588
3588
|
showClose: !0,
|
|
3589
3589
|
children: h && /* @__PURE__ */ a(
|
|
3590
|
-
|
|
3590
|
+
Eu,
|
|
3591
3591
|
{
|
|
3592
3592
|
resourceUri: d,
|
|
3593
3593
|
connectionName: h,
|
|
@@ -3602,7 +3602,7 @@ function Au({ resourceUri: t }) {
|
|
|
3602
3602
|
}
|
|
3603
3603
|
);
|
|
3604
3604
|
}
|
|
3605
|
-
function
|
|
3605
|
+
function Lu({
|
|
3606
3606
|
connection: t,
|
|
3607
3607
|
mutable: l,
|
|
3608
3608
|
isMutating: f,
|
|
@@ -3616,11 +3616,11 @@ function _u({
|
|
|
3616
3616
|
return /* @__PURE__ */ a(
|
|
3617
3617
|
Tr,
|
|
3618
3618
|
{
|
|
3619
|
-
icon: /* @__PURE__ */ a(
|
|
3619
|
+
icon: /* @__PURE__ */ a(du, { sx: { fontSize: 18 } }),
|
|
3620
3620
|
tint: Ca.connection,
|
|
3621
3621
|
label: t.name ?? "",
|
|
3622
3622
|
ariaLabel: t.name ?? "",
|
|
3623
|
-
description:
|
|
3623
|
+
description: Au(t.type),
|
|
3624
3624
|
onClick: i,
|
|
3625
3625
|
...l ? {
|
|
3626
3626
|
trailingAction: /* @__PURE__ */ T(se, { children: [
|
|
@@ -3650,7 +3650,7 @@ function _u({
|
|
|
3650
3650
|
},
|
|
3651
3651
|
children: [
|
|
3652
3652
|
/* @__PURE__ */ a(
|
|
3653
|
-
|
|
3653
|
+
Ou,
|
|
3654
3654
|
{
|
|
3655
3655
|
connection: t,
|
|
3656
3656
|
onSubmit: m,
|
|
@@ -3659,7 +3659,7 @@ function _u({
|
|
|
3659
3659
|
}
|
|
3660
3660
|
),
|
|
3661
3661
|
/* @__PURE__ */ a(
|
|
3662
|
-
|
|
3662
|
+
Mu,
|
|
3663
3663
|
{
|
|
3664
3664
|
connection: t,
|
|
3665
3665
|
onCloseDialog: g,
|
|
@@ -3675,12 +3675,12 @@ function _u({
|
|
|
3675
3675
|
}
|
|
3676
3676
|
);
|
|
3677
3677
|
}
|
|
3678
|
-
const
|
|
3678
|
+
const Pu = Ne([/* @__PURE__ */ a("path", {
|
|
3679
3679
|
d: "M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-1 18H5V9h14zm1-13H4V4h16z"
|
|
3680
3680
|
}, "0"), /* @__PURE__ */ a("path", {
|
|
3681
3681
|
d: "M9 12h6v2H9z"
|
|
3682
3682
|
}, "1")]);
|
|
3683
|
-
function
|
|
3683
|
+
function Ru({
|
|
3684
3684
|
resourceUri: t,
|
|
3685
3685
|
onCloseDialog: l
|
|
3686
3686
|
}) {
|
|
@@ -3731,7 +3731,7 @@ function Pu({
|
|
|
3731
3731
|
d.notice
|
|
3732
3732
|
] });
|
|
3733
3733
|
}
|
|
3734
|
-
function
|
|
3734
|
+
function qu({
|
|
3735
3735
|
package: t,
|
|
3736
3736
|
resourceUri: l,
|
|
3737
3737
|
onCloseDialog: f
|
|
@@ -3795,7 +3795,7 @@ function Ru({
|
|
|
3795
3795
|
] }),
|
|
3796
3796
|
children: /* @__PURE__ */ a("form", { onSubmit: v, id: "package-form", children: /* @__PURE__ */ T(Oe, { sx: { gap: 2 }, children: [
|
|
3797
3797
|
/* @__PURE__ */ a(
|
|
3798
|
-
|
|
3798
|
+
de,
|
|
3799
3799
|
{
|
|
3800
3800
|
autoFocus: !0,
|
|
3801
3801
|
required: !0,
|
|
@@ -3811,7 +3811,7 @@ function Ru({
|
|
|
3811
3811
|
}
|
|
3812
3812
|
),
|
|
3813
3813
|
/* @__PURE__ */ a(
|
|
3814
|
-
|
|
3814
|
+
de,
|
|
3815
3815
|
{
|
|
3816
3816
|
id: "description",
|
|
3817
3817
|
name: "description",
|
|
@@ -3830,7 +3830,7 @@ function Ru({
|
|
|
3830
3830
|
g.notice
|
|
3831
3831
|
] });
|
|
3832
3832
|
}
|
|
3833
|
-
function
|
|
3833
|
+
function Wu({
|
|
3834
3834
|
onSelectPackage: t,
|
|
3835
3835
|
resourceUri: l
|
|
3836
3836
|
}) {
|
|
@@ -3859,7 +3859,7 @@ function qu({
|
|
|
3859
3859
|
packageName: d.name
|
|
3860
3860
|
});
|
|
3861
3861
|
return /* @__PURE__ */ a(
|
|
3862
|
-
|
|
3862
|
+
zu,
|
|
3863
3863
|
{
|
|
3864
3864
|
pkg: d,
|
|
3865
3865
|
packageResourceUri: g,
|
|
@@ -3870,7 +3870,7 @@ function qu({
|
|
|
3870
3870
|
}) })
|
|
3871
3871
|
);
|
|
3872
3872
|
}
|
|
3873
|
-
function
|
|
3873
|
+
function zu({
|
|
3874
3874
|
pkg: t,
|
|
3875
3875
|
packageResourceUri: l,
|
|
3876
3876
|
onSelectPackage: f
|
|
@@ -3881,7 +3881,7 @@ function Wu({
|
|
|
3881
3881
|
return /* @__PURE__ */ a(
|
|
3882
3882
|
Tr,
|
|
3883
3883
|
{
|
|
3884
|
-
icon: /* @__PURE__ */ a(
|
|
3884
|
+
icon: /* @__PURE__ */ a(Pu, { sx: { fontSize: 18 } }),
|
|
3885
3885
|
tint: Ca.package,
|
|
3886
3886
|
label: t.name,
|
|
3887
3887
|
ariaLabel: t.name,
|
|
@@ -3915,7 +3915,7 @@ function Wu({
|
|
|
3915
3915
|
},
|
|
3916
3916
|
children: [
|
|
3917
3917
|
/* @__PURE__ */ a(
|
|
3918
|
-
|
|
3918
|
+
qu,
|
|
3919
3919
|
{
|
|
3920
3920
|
package: t,
|
|
3921
3921
|
resourceUri: l,
|
|
@@ -3923,7 +3923,7 @@ function Wu({
|
|
|
3923
3923
|
}
|
|
3924
3924
|
),
|
|
3925
3925
|
/* @__PURE__ */ a(
|
|
3926
|
-
|
|
3926
|
+
Ru,
|
|
3927
3927
|
{
|
|
3928
3928
|
resourceUri: l,
|
|
3929
3929
|
onCloseDialog: u
|
|
@@ -3937,7 +3937,7 @@ function Wu({
|
|
|
3937
3937
|
}
|
|
3938
3938
|
);
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function rf({
|
|
3941
3941
|
onSelectPackage: t,
|
|
3942
3942
|
resourceUri: l
|
|
3943
3943
|
}) {
|
|
@@ -3978,9 +3978,9 @@ function nf({
|
|
|
3978
3978
|
title: "Packages",
|
|
3979
3979
|
...o.isSuccess ? { count: o.data.data.length } : {},
|
|
3980
3980
|
description: "Published packages available for use in this environment",
|
|
3981
|
-
...i ? { action: /* @__PURE__ */ a(
|
|
3981
|
+
...i ? { action: /* @__PURE__ */ a(uu, { resourceUri: l }) } : {},
|
|
3982
3982
|
children: /* @__PURE__ */ a(
|
|
3983
|
-
|
|
3983
|
+
Wu,
|
|
3984
3984
|
{
|
|
3985
3985
|
onSelectPackage: t,
|
|
3986
3986
|
resourceUri: l
|
|
@@ -3988,8 +3988,8 @@ function nf({
|
|
|
3988
3988
|
)
|
|
3989
3989
|
}
|
|
3990
3990
|
),
|
|
3991
|
-
/* @__PURE__ */ a(
|
|
3992
|
-
/* @__PURE__ */ a(
|
|
3991
|
+
/* @__PURE__ */ a(_u, { resourceUri: l }),
|
|
3992
|
+
/* @__PURE__ */ a(Xc, { resourceUri: l })
|
|
3993
3993
|
]
|
|
3994
3994
|
}
|
|
3995
3995
|
);
|
|
@@ -4012,13 +4012,13 @@ function Gr(t) {
|
|
|
4012
4012
|
return [];
|
|
4013
4013
|
}
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4015
|
+
function Hu(t) {
|
|
4016
4016
|
return t === "DateMinMax";
|
|
4017
4017
|
}
|
|
4018
4018
|
function Xr(t) {
|
|
4019
4019
|
return t === "Between";
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function af({
|
|
4022
4022
|
spec: t,
|
|
4023
4023
|
values: l,
|
|
4024
4024
|
selection: f,
|
|
@@ -4059,7 +4059,7 @@ function rf({
|
|
|
4059
4059
|
t.defaultMatchType ?? (t.filterType === "DateMinMax" ? "Between" : Gr(t.filterType)[0] || "Equals")
|
|
4060
4060
|
)) : f && (h(f.matchType), d(f.value ?? ""), v(f.value2 ?? ""));
|
|
4061
4061
|
}, [f, t.filterType, t.defaultMatchType]);
|
|
4062
|
-
const R = Gr(t.filterType), H =
|
|
4062
|
+
const R = Gr(t.filterType), H = Hu(t.filterType), A = Xr(c), L = H && l.length >= 2 && l[0].value instanceof Date ? Ct.utc(l[0].value) : void 0, U = H && l.length >= 2 && l[1].value instanceof Date ? Ct.utc(l[1].value) : void 0, X = t.filterType === "MinMax" && l.length >= 2 && typeof l[0].value == "number" ? l[0].value : void 0, Y = t.filterType === "MinMax" && l.length >= 2 && typeof l[1].value == "number" ? l[1].value : void 0;
|
|
4063
4063
|
if (R.length === 0)
|
|
4064
4064
|
return null;
|
|
4065
4065
|
const J = (q) => {
|
|
@@ -4193,7 +4193,7 @@ function rf({
|
|
|
4193
4193
|
},
|
|
4194
4194
|
noOptionsText: "No matches found",
|
|
4195
4195
|
renderInput: (q) => /* @__PURE__ */ a(
|
|
4196
|
-
|
|
4196
|
+
de,
|
|
4197
4197
|
{
|
|
4198
4198
|
...q,
|
|
4199
4199
|
size: "small",
|
|
@@ -4216,7 +4216,7 @@ function rf({
|
|
|
4216
4216
|
}
|
|
4217
4217
|
),
|
|
4218
4218
|
t.filterType === "Star" && c === "Contains" && /* @__PURE__ */ a(
|
|
4219
|
-
|
|
4219
|
+
de,
|
|
4220
4220
|
{
|
|
4221
4221
|
size: "small",
|
|
4222
4222
|
label: "Search Text",
|
|
@@ -4280,7 +4280,7 @@ function rf({
|
|
|
4280
4280
|
},
|
|
4281
4281
|
noOptionsText: C.trim().length <= 2 ? "Type at least 3 characters to search" : "No matches found",
|
|
4282
4282
|
renderInput: (q) => /* @__PURE__ */ a(
|
|
4283
|
-
|
|
4283
|
+
de,
|
|
4284
4284
|
{
|
|
4285
4285
|
...q,
|
|
4286
4286
|
size: "small",
|
|
@@ -4320,7 +4320,7 @@ function rf({
|
|
|
4320
4320
|
}
|
|
4321
4321
|
),
|
|
4322
4322
|
t.filterType === "MinMax" && !A && /* @__PURE__ */ a(
|
|
4323
|
-
|
|
4323
|
+
de,
|
|
4324
4324
|
{
|
|
4325
4325
|
size: "small",
|
|
4326
4326
|
type: "number",
|
|
@@ -4341,7 +4341,7 @@ function rf({
|
|
|
4341
4341
|
t.filterType === "MinMax" && A && /* @__PURE__ */ T(ve, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
4342
4342
|
/* @__PURE__ */ T(ve, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
4343
4343
|
/* @__PURE__ */ a(
|
|
4344
|
-
|
|
4344
|
+
de,
|
|
4345
4345
|
{
|
|
4346
4346
|
size: "small",
|
|
4347
4347
|
type: "number",
|
|
@@ -4363,7 +4363,7 @@ function rf({
|
|
|
4363
4363
|
),
|
|
4364
4364
|
/* @__PURE__ */ a(ve, { children: "to" }),
|
|
4365
4365
|
/* @__PURE__ */ a(
|
|
4366
|
-
|
|
4366
|
+
de,
|
|
4367
4367
|
{
|
|
4368
4368
|
size: "small",
|
|
4369
4369
|
type: "number",
|
|
@@ -4508,14 +4508,14 @@ function rf({
|
|
|
4508
4508
|
}
|
|
4509
4509
|
);
|
|
4510
4510
|
}
|
|
4511
|
-
function
|
|
4511
|
+
function sf(t) {
|
|
4512
4512
|
const l = /* @__PURE__ */ new Set(), f = t.schema?.fields;
|
|
4513
4513
|
if (!f) return l;
|
|
4514
4514
|
for (const i of f)
|
|
4515
4515
|
"kind" in i && i.kind === "join" && i.name && l.add(i.name);
|
|
4516
4516
|
return l;
|
|
4517
4517
|
}
|
|
4518
|
-
function
|
|
4518
|
+
function of(t) {
|
|
4519
4519
|
if (!t) return null;
|
|
4520
4520
|
for (const l of t)
|
|
4521
4521
|
if (l.startsWith("##(filters)")) {
|
|
@@ -4541,7 +4541,7 @@ function sf(t) {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
return null;
|
|
4543
4543
|
}
|
|
4544
|
-
function
|
|
4544
|
+
function Vu(t) {
|
|
4545
4545
|
if (t.startsWith("#(filter)")) {
|
|
4546
4546
|
const l = t.slice(9).trim();
|
|
4547
4547
|
try {
|
|
@@ -4554,11 +4554,11 @@ function Hu(t) {
|
|
|
4554
4554
|
}
|
|
4555
4555
|
return null;
|
|
4556
4556
|
}
|
|
4557
|
-
function
|
|
4557
|
+
function Uu(t) {
|
|
4558
4558
|
const l = t.match(/^#\s*label\s*=\s*"([^"]+)"/);
|
|
4559
4559
|
return l ? l[1] : null;
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function lf(t) {
|
|
4562
4562
|
const l = /* @__PURE__ */ new Map();
|
|
4563
4563
|
let f = "";
|
|
4564
4564
|
for (const i of t)
|
|
@@ -4581,7 +4581,7 @@ function of(t) {
|
|
|
4581
4581
|
}
|
|
4582
4582
|
return { sourceInfoMap: l, modelPath: f };
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function cf(t, l, f) {
|
|
4585
4585
|
const i = [];
|
|
4586
4586
|
for (const { source: m, dimension: o } of l) {
|
|
4587
4587
|
const c = t.get(m);
|
|
@@ -4620,11 +4620,11 @@ function lf(t, l, f) {
|
|
|
4620
4620
|
if ("annotations" in u && u.annotations) {
|
|
4621
4621
|
for (const v of u.annotations)
|
|
4622
4622
|
if (v.value) {
|
|
4623
|
-
const b =
|
|
4623
|
+
const b = Vu(
|
|
4624
4624
|
v.value
|
|
4625
4625
|
);
|
|
4626
4626
|
b && (d = b.type);
|
|
4627
|
-
const y =
|
|
4627
|
+
const y = Uu(v.value);
|
|
4628
4628
|
y && (g = y);
|
|
4629
4629
|
}
|
|
4630
4630
|
}
|
|
@@ -4638,7 +4638,7 @@ function lf(t, l, f) {
|
|
|
4638
4638
|
}
|
|
4639
4639
|
return i;
|
|
4640
4640
|
}
|
|
4641
|
-
function
|
|
4641
|
+
function uf(t, l, f) {
|
|
4642
4642
|
return t.length === 0 ? "" : t.map((m) => {
|
|
4643
4643
|
const {
|
|
4644
4644
|
dimensionName: o,
|
|
@@ -4668,17 +4668,17 @@ function cf(t, l, f) {
|
|
|
4668
4668
|
}
|
|
4669
4669
|
}).filter((m) => m.length > 0).join(" and ");
|
|
4670
4670
|
}
|
|
4671
|
-
function
|
|
4671
|
+
function df(t) {
|
|
4672
4672
|
const l = t.match(/run\s*:\s*(\w+)\s*->/);
|
|
4673
4673
|
if (l)
|
|
4674
4674
|
return l[1];
|
|
4675
4675
|
const f = t.match(/^\s*(\w+)\s*->/m);
|
|
4676
4676
|
return f ? f[1] : null;
|
|
4677
4677
|
}
|
|
4678
|
-
function
|
|
4678
|
+
function hf(t, l) {
|
|
4679
4679
|
return `${t.trimEnd()} + {where: ${l}}`;
|
|
4680
4680
|
}
|
|
4681
|
-
const
|
|
4681
|
+
const Bu = Ne(/* @__PURE__ */ a("path", {
|
|
4682
4682
|
d: "m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"
|
|
4683
4683
|
})), Ks = (t) => {
|
|
4684
4684
|
if (!t)
|
|
@@ -4755,7 +4755,7 @@ function ss() {
|
|
|
4755
4755
|
] }),
|
|
4756
4756
|
children: /* @__PURE__ */ a("form", { onSubmit: c, id: "environment-form", children: /* @__PURE__ */ T(Mr, { sx: { gap: 2 }, children: [
|
|
4757
4757
|
/* @__PURE__ */ a(
|
|
4758
|
-
|
|
4758
|
+
de,
|
|
4759
4759
|
{
|
|
4760
4760
|
autoFocus: !0,
|
|
4761
4761
|
required: !0,
|
|
@@ -4769,7 +4769,7 @@ function ss() {
|
|
|
4769
4769
|
}
|
|
4770
4770
|
),
|
|
4771
4771
|
/* @__PURE__ */ a(
|
|
4772
|
-
|
|
4772
|
+
de,
|
|
4773
4773
|
{
|
|
4774
4774
|
id: "description",
|
|
4775
4775
|
name: "description",
|
|
@@ -4787,7 +4787,7 @@ function ss() {
|
|
|
4787
4787
|
o.notice
|
|
4788
4788
|
] });
|
|
4789
4789
|
}
|
|
4790
|
-
function
|
|
4790
|
+
function ju({
|
|
4791
4791
|
environment: t,
|
|
4792
4792
|
onCloseDialog: l
|
|
4793
4793
|
}) {
|
|
@@ -4838,7 +4838,7 @@ function Bu({
|
|
|
4838
4838
|
h.notice
|
|
4839
4839
|
] });
|
|
4840
4840
|
}
|
|
4841
|
-
function
|
|
4841
|
+
function Zu({
|
|
4842
4842
|
environment: t,
|
|
4843
4843
|
onCloseDialog: l
|
|
4844
4844
|
}) {
|
|
@@ -4903,7 +4903,7 @@ function ju({
|
|
|
4903
4903
|
] }),
|
|
4904
4904
|
children: /* @__PURE__ */ a("form", { onSubmit: u, id: "environment-form", children: /* @__PURE__ */ T(Mr, { sx: { gap: 2 }, children: [
|
|
4905
4905
|
/* @__PURE__ */ a(
|
|
4906
|
-
|
|
4906
|
+
de,
|
|
4907
4907
|
{
|
|
4908
4908
|
autoFocus: !0,
|
|
4909
4909
|
required: !0,
|
|
@@ -4919,7 +4919,7 @@ function ju({
|
|
|
4919
4919
|
}
|
|
4920
4920
|
),
|
|
4921
4921
|
/* @__PURE__ */ a(
|
|
4922
|
-
|
|
4922
|
+
de,
|
|
4923
4923
|
{
|
|
4924
4924
|
id: "description",
|
|
4925
4925
|
name: "description",
|
|
@@ -4939,7 +4939,7 @@ function ju({
|
|
|
4939
4939
|
h.notice
|
|
4940
4940
|
] });
|
|
4941
4941
|
}
|
|
4942
|
-
const
|
|
4942
|
+
const Yu = [
|
|
4943
4943
|
{
|
|
4944
4944
|
title: "Model",
|
|
4945
4945
|
body: "An agent writes what the data means in Malloy — sources, joins, measures — from a warehouse or a file, and validates each edit without a restart.",
|
|
@@ -4976,7 +4976,7 @@ const Zu = [
|
|
|
4976
4976
|
href: $t.connections
|
|
4977
4977
|
}
|
|
4978
4978
|
];
|
|
4979
|
-
function
|
|
4979
|
+
function Gu({
|
|
4980
4980
|
href: t,
|
|
4981
4981
|
children: l
|
|
4982
4982
|
}) {
|
|
@@ -4992,7 +4992,7 @@ function Yu({
|
|
|
4992
4992
|
}
|
|
4993
4993
|
);
|
|
4994
4994
|
}
|
|
4995
|
-
function
|
|
4995
|
+
function ff({ onClickEnvironment: t }) {
|
|
4996
4996
|
const { apiClients: l, mutable: f } = Se(), { data: i, isSuccess: m, isError: o, error: c } = xe({
|
|
4997
4997
|
queryKey: ["environments"],
|
|
4998
4998
|
queryFn: () => l.environments.listEnvironments()
|
|
@@ -5024,7 +5024,7 @@ function hf({ onClickEnvironment: t }) {
|
|
|
5024
5024
|
}
|
|
5025
5025
|
)
|
|
5026
5026
|
] }),
|
|
5027
|
-
/* @__PURE__ */ a(ln, { container: !0, spacing: 4, sx: { mb: 5 }, children:
|
|
5027
|
+
/* @__PURE__ */ a(ln, { container: !0, spacing: 4, sx: { mb: 5 }, children: Yu.map((u) => /* @__PURE__ */ a(ln, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ T(Oe, { spacing: 1, children: [
|
|
5028
5028
|
/* @__PURE__ */ a(
|
|
5029
5029
|
ee,
|
|
5030
5030
|
{
|
|
@@ -5061,7 +5061,7 @@ function hf({ onClickEnvironment: t }) {
|
|
|
5061
5061
|
description: "Published environments available on this server",
|
|
5062
5062
|
...f ? { action: /* @__PURE__ */ a(ss, {}) } : {},
|
|
5063
5063
|
children: /* @__PURE__ */ a(Oe, { children: h.map((u) => /* @__PURE__ */ a(
|
|
5064
|
-
|
|
5064
|
+
Xu,
|
|
5065
5065
|
{
|
|
5066
5066
|
environment: u,
|
|
5067
5067
|
...t ? { onClickEnvironment: t } : {}
|
|
@@ -5109,7 +5109,7 @@ function hf({ onClickEnvironment: t }) {
|
|
|
5109
5109
|
children: [
|
|
5110
5110
|
"Join the",
|
|
5111
5111
|
" ",
|
|
5112
|
-
/* @__PURE__ */ a(
|
|
5112
|
+
/* @__PURE__ */ a(Gu, { href: "https://join.slack.com/t/malloy-community/shared_invite/zt-1kgfwgi5g-CrsdaRqs81QY67QW0~t_uw", children: "Malloy Slack community" }),
|
|
5113
5113
|
" ",
|
|
5114
5114
|
"to ask questions, share ideas, and contribute."
|
|
5115
5115
|
]
|
|
@@ -5117,7 +5117,7 @@ function hf({ onClickEnvironment: t }) {
|
|
|
5117
5117
|
)
|
|
5118
5118
|
] });
|
|
5119
5119
|
}
|
|
5120
|
-
function
|
|
5120
|
+
function Xu({
|
|
5121
5121
|
environment: t,
|
|
5122
5122
|
onClickEnvironment: l
|
|
5123
5123
|
}) {
|
|
@@ -5127,7 +5127,7 @@ function Gu({
|
|
|
5127
5127
|
return /* @__PURE__ */ a(
|
|
5128
5128
|
Tr,
|
|
5129
5129
|
{
|
|
5130
|
-
icon: /* @__PURE__ */ a(
|
|
5130
|
+
icon: /* @__PURE__ */ a(Bu, { sx: { fontSize: 18 } }),
|
|
5131
5131
|
tint: Ca.environment,
|
|
5132
5132
|
label: t.name ?? "",
|
|
5133
5133
|
ariaLabel: t.name ?? "",
|
|
@@ -5163,14 +5163,14 @@ function Gu({
|
|
|
5163
5163
|
},
|
|
5164
5164
|
children: [
|
|
5165
5165
|
/* @__PURE__ */ a(
|
|
5166
|
-
|
|
5166
|
+
Zu,
|
|
5167
5167
|
{
|
|
5168
5168
|
environment: t,
|
|
5169
5169
|
onCloseDialog: u
|
|
5170
5170
|
}
|
|
5171
5171
|
),
|
|
5172
5172
|
/* @__PURE__ */ a(
|
|
5173
|
-
|
|
5173
|
+
ju,
|
|
5174
5174
|
{
|
|
5175
5175
|
environment: t,
|
|
5176
5176
|
onCloseDialog: u
|
|
@@ -5185,7 +5185,7 @@ function Gu({
|
|
|
5185
5185
|
);
|
|
5186
5186
|
}
|
|
5187
5187
|
var Vt = {}, Ue = {}, Dn = {}, Ut = {}, Kr = {}, os;
|
|
5188
|
-
function
|
|
5188
|
+
function Ku() {
|
|
5189
5189
|
return os || (os = 1, Object.defineProperty(Kr, "__esModule", { value: !0 })), Kr;
|
|
5190
5190
|
}
|
|
5191
5191
|
var En = {}, In = {}, ls;
|
|
@@ -5374,7 +5374,7 @@ function jt() {
|
|
|
5374
5374
|
return In.CronField = t, In;
|
|
5375
5375
|
}
|
|
5376
5376
|
var cs;
|
|
5377
|
-
function
|
|
5377
|
+
function Ju() {
|
|
5378
5378
|
if (cs) return En;
|
|
5379
5379
|
cs = 1, Object.defineProperty(En, "__esModule", { value: !0 }), En.CronDayOfMonth = void 0;
|
|
5380
5380
|
const t = jt(), l = 1, f = 31, i = Object.freeze(["L"]);
|
|
@@ -5411,7 +5411,7 @@ function Ku() {
|
|
|
5411
5411
|
return En.CronDayOfMonth = m, En;
|
|
5412
5412
|
}
|
|
5413
5413
|
var $n = {}, us;
|
|
5414
|
-
function
|
|
5414
|
+
function Qu() {
|
|
5415
5415
|
if (us) return $n;
|
|
5416
5416
|
us = 1, Object.defineProperty($n, "__esModule", { value: !0 }), $n.CronDayOfWeek = void 0;
|
|
5417
5417
|
const t = jt(), l = 0, f = 7, i = Object.freeze(["L"]);
|
|
@@ -5455,7 +5455,7 @@ function Ju() {
|
|
|
5455
5455
|
return $n.CronDayOfWeek = m, $n;
|
|
5456
5456
|
}
|
|
5457
5457
|
var Nn = {}, ds;
|
|
5458
|
-
function
|
|
5458
|
+
function ed() {
|
|
5459
5459
|
if (ds) return Nn;
|
|
5460
5460
|
ds = 1, Object.defineProperty(Nn, "__esModule", { value: !0 }), Nn.CronHour = void 0;
|
|
5461
5461
|
const t = jt(), l = 0, f = 23, i = Object.freeze([]);
|
|
@@ -5488,7 +5488,7 @@ function Qu() {
|
|
|
5488
5488
|
return Nn.CronHour = m, Nn;
|
|
5489
5489
|
}
|
|
5490
5490
|
var Fn = {}, hs;
|
|
5491
|
-
function
|
|
5491
|
+
function td() {
|
|
5492
5492
|
if (hs) return Fn;
|
|
5493
5493
|
hs = 1, Object.defineProperty(Fn, "__esModule", { value: !0 }), Fn.CronMinute = void 0;
|
|
5494
5494
|
const t = jt(), l = 0, f = 59, i = Object.freeze([]);
|
|
@@ -5521,7 +5521,7 @@ function ed() {
|
|
|
5521
5521
|
return Fn.CronMinute = m, Fn;
|
|
5522
5522
|
}
|
|
5523
5523
|
var An = {}, Jr = {}, He = {}, fs;
|
|
5524
|
-
function
|
|
5524
|
+
function nd() {
|
|
5525
5525
|
if (fs) return He;
|
|
5526
5526
|
fs = 1, Object.defineProperty(He, "__esModule", { value: !0 });
|
|
5527
5527
|
class t extends Error {
|
|
@@ -5838,7 +5838,7 @@ function td() {
|
|
|
5838
5838
|
const n = r.format(e).replace(/\u200E/g, ""), s = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n), [, p, S, O, D, $, z, te] = s;
|
|
5839
5839
|
return [O, p, S, D, $, z, te];
|
|
5840
5840
|
}
|
|
5841
|
-
function
|
|
5841
|
+
function ue(r, e) {
|
|
5842
5842
|
const n = r.formatToParts(e), s = [];
|
|
5843
5843
|
for (let p = 0; p < n.length; p++) {
|
|
5844
5844
|
const {
|
|
@@ -5961,7 +5961,7 @@ function td() {
|
|
|
5961
5961
|
const n = new Date(e);
|
|
5962
5962
|
if (isNaN(n)) return NaN;
|
|
5963
5963
|
const s = K(this.name);
|
|
5964
|
-
let [p, S, O, D, $, z, te] = s.formatToParts ?
|
|
5964
|
+
let [p, S, O, D, $, z, te] = s.formatToParts ? ue(s, n) : Z(s, n);
|
|
5965
5965
|
D === "BC" && (p = -Math.abs(p) + 1);
|
|
5966
5966
|
const ye = nr({
|
|
5967
5967
|
year: p,
|
|
@@ -7645,7 +7645,7 @@ function td() {
|
|
|
7645
7645
|
conversionAccuracy: e.conversionAccuracy || r.conversionAccuracy,
|
|
7646
7646
|
matrix: e.matrix || r.matrix
|
|
7647
7647
|
};
|
|
7648
|
-
return new
|
|
7648
|
+
return new he(s);
|
|
7649
7649
|
}
|
|
7650
7650
|
function bi(r, e) {
|
|
7651
7651
|
var n;
|
|
@@ -7680,7 +7680,7 @@ function td() {
|
|
|
7680
7680
|
s !== 0 && (e[n] = s);
|
|
7681
7681
|
return e;
|
|
7682
7682
|
}
|
|
7683
|
-
class
|
|
7683
|
+
class he {
|
|
7684
7684
|
/**
|
|
7685
7685
|
* @private
|
|
7686
7686
|
*/
|
|
@@ -7699,7 +7699,7 @@ function td() {
|
|
|
7699
7699
|
* @return {Duration}
|
|
7700
7700
|
*/
|
|
7701
7701
|
static fromMillis(e, n) {
|
|
7702
|
-
return
|
|
7702
|
+
return he.fromObject({
|
|
7703
7703
|
milliseconds: e
|
|
7704
7704
|
}, n);
|
|
7705
7705
|
}
|
|
@@ -7726,8 +7726,8 @@ function td() {
|
|
|
7726
7726
|
static fromObject(e, n = {}) {
|
|
7727
7727
|
if (e == null || typeof e != "object")
|
|
7728
7728
|
throw new c(`Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`);
|
|
7729
|
-
return new
|
|
7730
|
-
values: ar(e,
|
|
7729
|
+
return new he({
|
|
7730
|
+
values: ar(e, he.normalizeUnit),
|
|
7731
7731
|
loc: me.fromObject(n),
|
|
7732
7732
|
conversionAccuracy: n.conversionAccuracy,
|
|
7733
7733
|
matrix: n.matrix
|
|
@@ -7745,11 +7745,11 @@ function td() {
|
|
|
7745
7745
|
*/
|
|
7746
7746
|
static fromDurationLike(e) {
|
|
7747
7747
|
if (Et(e))
|
|
7748
|
-
return
|
|
7749
|
-
if (
|
|
7748
|
+
return he.fromMillis(e);
|
|
7749
|
+
if (he.isDuration(e))
|
|
7750
7750
|
return e;
|
|
7751
7751
|
if (typeof e == "object")
|
|
7752
|
-
return
|
|
7752
|
+
return he.fromObject(e);
|
|
7753
7753
|
throw new c(`Unknown duration argument ${e} of type ${typeof e}`);
|
|
7754
7754
|
}
|
|
7755
7755
|
/**
|
|
@@ -7768,7 +7768,7 @@ function td() {
|
|
|
7768
7768
|
*/
|
|
7769
7769
|
static fromISO(e, n) {
|
|
7770
7770
|
const [s] = vl(e);
|
|
7771
|
-
return s ?
|
|
7771
|
+
return s ? he.fromObject(s, n) : he.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
|
|
7772
7772
|
}
|
|
7773
7773
|
/**
|
|
7774
7774
|
* Create a Duration from an ISO 8601 time string.
|
|
@@ -7788,7 +7788,7 @@ function td() {
|
|
|
7788
7788
|
*/
|
|
7789
7789
|
static fromISOTime(e, n) {
|
|
7790
7790
|
const [s] = kl(e);
|
|
7791
|
-
return s ?
|
|
7791
|
+
return s ? he.fromObject(s, n) : he.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
|
|
7792
7792
|
}
|
|
7793
7793
|
/**
|
|
7794
7794
|
* Create an invalid Duration.
|
|
@@ -7802,7 +7802,7 @@ function td() {
|
|
|
7802
7802
|
const s = e instanceof rt ? e : new rt(e, n);
|
|
7803
7803
|
if (we.throwOnInvalid)
|
|
7804
7804
|
throw new i(s);
|
|
7805
|
-
return new
|
|
7805
|
+
return new he({
|
|
7806
7806
|
invalid: s
|
|
7807
7807
|
});
|
|
7808
7808
|
}
|
|
@@ -8019,7 +8019,7 @@ function td() {
|
|
|
8019
8019
|
*/
|
|
8020
8020
|
plus(e) {
|
|
8021
8021
|
if (!this.isValid) return this;
|
|
8022
|
-
const n =
|
|
8022
|
+
const n = he.fromDurationLike(e), s = {};
|
|
8023
8023
|
for (const p of zt)
|
|
8024
8024
|
(Zt(n.values, p) || Zt(this.values, p)) && (s[p] = n.get(p) + this.get(p));
|
|
8025
8025
|
return St(this, {
|
|
@@ -8033,7 +8033,7 @@ function td() {
|
|
|
8033
8033
|
*/
|
|
8034
8034
|
minus(e) {
|
|
8035
8035
|
if (!this.isValid) return this;
|
|
8036
|
-
const n =
|
|
8036
|
+
const n = he.fromDurationLike(e);
|
|
8037
8037
|
return this.plus(n.negate());
|
|
8038
8038
|
}
|
|
8039
8039
|
/**
|
|
@@ -8061,7 +8061,7 @@ function td() {
|
|
|
8061
8061
|
* @return {number}
|
|
8062
8062
|
*/
|
|
8063
8063
|
get(e) {
|
|
8064
|
-
return this[
|
|
8064
|
+
return this[he.normalizeUnit(e)];
|
|
8065
8065
|
}
|
|
8066
8066
|
/**
|
|
8067
8067
|
* "Set" the values of specified units. Return a newly-constructed Duration.
|
|
@@ -8074,7 +8074,7 @@ function td() {
|
|
|
8074
8074
|
if (!this.isValid) return this;
|
|
8075
8075
|
const n = {
|
|
8076
8076
|
...this.values,
|
|
8077
|
-
...ar(e,
|
|
8077
|
+
...ar(e, he.normalizeUnit)
|
|
8078
8078
|
};
|
|
8079
8079
|
return St(this, {
|
|
8080
8080
|
values: n
|
|
@@ -8155,7 +8155,7 @@ function td() {
|
|
|
8155
8155
|
if (!this.isValid) return this;
|
|
8156
8156
|
if (e.length === 0)
|
|
8157
8157
|
return this;
|
|
8158
|
-
e = e.map((O) =>
|
|
8158
|
+
e = e.map((O) => he.normalizeUnit(O));
|
|
8159
8159
|
const n = {}, s = {}, p = this.toObject();
|
|
8160
8160
|
let S;
|
|
8161
8161
|
for (const O of zt)
|
|
@@ -8358,7 +8358,7 @@ function td() {
|
|
|
8358
8358
|
* @return {Interval}
|
|
8359
8359
|
*/
|
|
8360
8360
|
static after(e, n) {
|
|
8361
|
-
const s =
|
|
8361
|
+
const s = he.fromDurationLike(n), p = Cn(e);
|
|
8362
8362
|
return ke.fromDateTimes(p, p.plus(s));
|
|
8363
8363
|
}
|
|
8364
8364
|
/**
|
|
@@ -8368,7 +8368,7 @@ function td() {
|
|
|
8368
8368
|
* @return {Interval}
|
|
8369
8369
|
*/
|
|
8370
8370
|
static before(e, n) {
|
|
8371
|
-
const s =
|
|
8371
|
+
const s = he.fromDurationLike(n), p = Cn(e);
|
|
8372
8372
|
return ke.fromDateTimes(p.minus(s), p);
|
|
8373
8373
|
}
|
|
8374
8374
|
/**
|
|
@@ -8397,11 +8397,11 @@ function td() {
|
|
|
8397
8397
|
if (O && $)
|
|
8398
8398
|
return ke.fromDateTimes(S, D);
|
|
8399
8399
|
if (O) {
|
|
8400
|
-
const z =
|
|
8400
|
+
const z = he.fromISO(p, n);
|
|
8401
8401
|
if (z.isValid)
|
|
8402
8402
|
return ke.after(S, z);
|
|
8403
8403
|
} else if ($) {
|
|
8404
|
-
const z =
|
|
8404
|
+
const z = he.fromISO(s, n);
|
|
8405
8405
|
if (z.isValid)
|
|
8406
8406
|
return ke.before(D, z);
|
|
8407
8407
|
}
|
|
@@ -8560,7 +8560,7 @@ function td() {
|
|
|
8560
8560
|
* @return {Array}
|
|
8561
8561
|
*/
|
|
8562
8562
|
splitBy(e) {
|
|
8563
|
-
const n =
|
|
8563
|
+
const n = he.fromDurationLike(e);
|
|
8564
8564
|
if (!this.isValid || !n.isValid || n.as("milliseconds") === 0)
|
|
8565
8565
|
return [];
|
|
8566
8566
|
let {
|
|
@@ -8775,7 +8775,7 @@ function td() {
|
|
|
8775
8775
|
* @return {Duration}
|
|
8776
8776
|
*/
|
|
8777
8777
|
toDuration(e, n) {
|
|
8778
|
-
return this.isValid ? this.e.diff(this.s, e, n) :
|
|
8778
|
+
return this.isValid ? this.e.diff(this.s, e, n) : he.invalid(this.invalidReason);
|
|
8779
8779
|
}
|
|
8780
8780
|
/**
|
|
8781
8781
|
* Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
|
|
@@ -9001,7 +9001,7 @@ function td() {
|
|
|
9001
9001
|
const n = (p) => p.toUTC(0, {
|
|
9002
9002
|
keepLocalTime: !0
|
|
9003
9003
|
}).startOf("day").valueOf(), s = n(e) - n(r);
|
|
9004
|
-
return Math.floor(
|
|
9004
|
+
return Math.floor(he.fromMillis(s).as("days"));
|
|
9005
9005
|
}
|
|
9006
9006
|
function Il(r, e, n) {
|
|
9007
9007
|
const s = [["years", ($, z) => z.year - $.year], ["quarters", ($, z) => z.quarter - $.quarter + (z.year - $.year) * 4], ["months", ($, z) => z.month - $.month + (z.year - $.year) * 12], ["weeks", ($, z) => {
|
|
@@ -9019,8 +9019,8 @@ function td() {
|
|
|
9019
9019
|
z.length === 0 && (O < e && (O = p.plus({
|
|
9020
9020
|
[D]: 1
|
|
9021
9021
|
})), O !== p && (S[D] = (S[D] || 0) + $ / (O - p)));
|
|
9022
|
-
const te =
|
|
9023
|
-
return z.length > 0 ?
|
|
9022
|
+
const te = he.fromObject(S, s);
|
|
9023
|
+
return z.length > 0 ? he.fromMillis($, s).shiftTo(...z).plus(te) : te;
|
|
9024
9024
|
}
|
|
9025
9025
|
const Nl = "missing Intl.DateTimeFormat.formatToParts support";
|
|
9026
9026
|
function fe(r, e = (n) => n) {
|
|
@@ -9432,7 +9432,7 @@ function td() {
|
|
|
9432
9432
|
year: s,
|
|
9433
9433
|
month: p,
|
|
9434
9434
|
day: Math.min(r.c.day, tr(s, p)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
|
|
9435
|
-
}, O =
|
|
9435
|
+
}, O = he.fromObject({
|
|
9436
9436
|
years: e.years - Math.trunc(e.years),
|
|
9437
9437
|
quarters: e.quarters - Math.trunc(e.quarters),
|
|
9438
9438
|
months: e.months - Math.trunc(e.months),
|
|
@@ -10520,7 +10520,7 @@ function td() {
|
|
|
10520
10520
|
*/
|
|
10521
10521
|
plus(e) {
|
|
10522
10522
|
if (!this.isValid) return this;
|
|
10523
|
-
const n =
|
|
10523
|
+
const n = he.fromDurationLike(e);
|
|
10524
10524
|
return Ht(this, Ni(this, n));
|
|
10525
10525
|
}
|
|
10526
10526
|
/**
|
|
@@ -10531,7 +10531,7 @@ function td() {
|
|
|
10531
10531
|
*/
|
|
10532
10532
|
minus(e) {
|
|
10533
10533
|
if (!this.isValid) return this;
|
|
10534
|
-
const n =
|
|
10534
|
+
const n = he.fromDurationLike(e).negate();
|
|
10535
10535
|
return Ht(this, Ni(this, n));
|
|
10536
10536
|
}
|
|
10537
10537
|
/**
|
|
@@ -10550,7 +10550,7 @@ function td() {
|
|
|
10550
10550
|
useLocaleWeeks: n = !1
|
|
10551
10551
|
} = {}) {
|
|
10552
10552
|
if (!this.isValid) return this;
|
|
10553
|
-
const s = {}, p =
|
|
10553
|
+
const s = {}, p = he.normalizeUnit(e);
|
|
10554
10554
|
switch (p) {
|
|
10555
10555
|
case "years":
|
|
10556
10556
|
s.month = 1;
|
|
@@ -10900,12 +10900,12 @@ function td() {
|
|
|
10900
10900
|
*/
|
|
10901
10901
|
diff(e, n = "milliseconds", s = {}) {
|
|
10902
10902
|
if (!this.isValid || !e.isValid)
|
|
10903
|
-
return
|
|
10903
|
+
return he.invalid("created by diffing an invalid DateTime");
|
|
10904
10904
|
const p = {
|
|
10905
10905
|
locale: this.locale,
|
|
10906
10906
|
numberingSystem: this.numberingSystem,
|
|
10907
10907
|
...s
|
|
10908
|
-
}, S = Do(n).map(
|
|
10908
|
+
}, S = Do(n).map(he.normalizeUnit), O = e.valueOf() > this.valueOf(), D = O ? this : e, $ = O ? e : this, z = $l(D, $, S, p);
|
|
10909
10909
|
return O ? z.negate() : z;
|
|
10910
10910
|
}
|
|
10911
10911
|
/**
|
|
@@ -11275,13 +11275,13 @@ function td() {
|
|
|
11275
11275
|
throw new c(`Unknown datetime argument: ${r}, of type ${typeof r}`);
|
|
11276
11276
|
}
|
|
11277
11277
|
const Gl = "3.7.2";
|
|
11278
|
-
return He.DateTime = ie, He.Duration =
|
|
11278
|
+
return He.DateTime = ie, He.Duration = he, He.FixedOffsetZone = Ae, He.IANAZone = ce, He.Info = wn, He.Interval = ke, He.InvalidZone = Ia, He.Settings = we, He.SystemZone = Q, He.VERSION = Gl, He.Zone = J, He;
|
|
11279
11279
|
}
|
|
11280
11280
|
var ms;
|
|
11281
11281
|
function Oa() {
|
|
11282
11282
|
return ms || (ms = 1, (function(t) {
|
|
11283
11283
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CronDate = t.DAYS_IN_MONTH = t.DateMathOp = t.TimeUnit = void 0;
|
|
11284
|
-
const l = /* @__PURE__ */
|
|
11284
|
+
const l = /* @__PURE__ */ nd();
|
|
11285
11285
|
var f;
|
|
11286
11286
|
(function(o) {
|
|
11287
11287
|
o.Second = "Second", o.Minute = "Minute", o.Hour = "Hour", o.Day = "Day", o.Month = "Month", o.Year = "Year";
|
|
@@ -11744,7 +11744,7 @@ function Oa() {
|
|
|
11744
11744
|
})(Jr)), Jr;
|
|
11745
11745
|
}
|
|
11746
11746
|
var ps;
|
|
11747
|
-
function
|
|
11747
|
+
function rd() {
|
|
11748
11748
|
if (ps) return An;
|
|
11749
11749
|
ps = 1, Object.defineProperty(An, "__esModule", { value: !0 }), An.CronMonth = void 0;
|
|
11750
11750
|
const t = Oa(), l = jt(), f = 1, i = 12, m = Object.freeze([]);
|
|
@@ -11780,7 +11780,7 @@ function nd() {
|
|
|
11780
11780
|
return An.CronMonth = o, An;
|
|
11781
11781
|
}
|
|
11782
11782
|
var _n = {}, ys;
|
|
11783
|
-
function
|
|
11783
|
+
function ad() {
|
|
11784
11784
|
if (ys) return _n;
|
|
11785
11785
|
ys = 1, Object.defineProperty(_n, "__esModule", { value: !0 }), _n.CronSecond = void 0;
|
|
11786
11786
|
const t = jt(), l = 0, f = 59, i = Object.freeze([]);
|
|
@@ -11826,7 +11826,7 @@ function Da() {
|
|
|
11826
11826
|
})), f = Ut && Ut.__exportStar || function(i, m) {
|
|
11827
11827
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(m, o) && l(m, i, o);
|
|
11828
11828
|
};
|
|
11829
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), f(
|
|
11829
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), f(Ku(), t), f(Ju(), t), f(Qu(), t), f(jt(), t), f(ed(), t), f(td(), t), f(rd(), t), f(ad(), t);
|
|
11830
11830
|
})(Ut)), Ut;
|
|
11831
11831
|
}
|
|
11832
11832
|
var bs;
|
|
@@ -12491,7 +12491,7 @@ function to() {
|
|
|
12491
12491
|
})(Qr)), Qr;
|
|
12492
12492
|
}
|
|
12493
12493
|
var fr = {}, ws;
|
|
12494
|
-
function
|
|
12494
|
+
function id() {
|
|
12495
12495
|
if (ws) return fr;
|
|
12496
12496
|
ws = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.seededRandom = f;
|
|
12497
12497
|
function t(i) {
|
|
@@ -12516,7 +12516,7 @@ var ks;
|
|
|
12516
12516
|
function ma() {
|
|
12517
12517
|
if (ks) return Ue;
|
|
12518
12518
|
ks = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.CronExpressionParser = Ue.DayOfWeek = Ue.Months = Ue.CronUnit = Ue.PredefinedExpressions = void 0;
|
|
12519
|
-
const t = eo(), l = to(), f =
|
|
12519
|
+
const t = eo(), l = to(), f = id(), i = Da();
|
|
12520
12520
|
var m;
|
|
12521
12521
|
(function(d) {
|
|
12522
12522
|
d["@yearly"] = "0 0 0 1 1 *", d["@annually"] = "0 0 0 1 1 *", d["@monthly"] = "0 0 0 1 * *", d["@weekly"] = "0 0 0 * * 0", d["@daily"] = "0 0 0 * * *", d["@hourly"] = "0 0 * * * *", d["@minutely"] = "0 * * * * *", d["@secondly"] = "* * * * * *", d["@weekdays"] = "0 0 0 * * 1-5", d["@weekends"] = "0 0 0 * * 0,6";
|
|
@@ -12775,12 +12775,12 @@ function ma() {
|
|
|
12775
12775
|
return Ue.CronExpressionParser = u, Ue;
|
|
12776
12776
|
}
|
|
12777
12777
|
var st = {};
|
|
12778
|
-
const
|
|
12778
|
+
const sd = {}, od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12779
12779
|
__proto__: null,
|
|
12780
|
-
default:
|
|
12781
|
-
}, Symbol.toStringTag, { value: "Module" })), Ss = /* @__PURE__ */ vc(
|
|
12780
|
+
default: sd
|
|
12781
|
+
}, Symbol.toStringTag, { value: "Module" })), Ss = /* @__PURE__ */ vc(od);
|
|
12782
12782
|
var Cs;
|
|
12783
|
-
function
|
|
12783
|
+
function ld() {
|
|
12784
12784
|
if (Cs) return st;
|
|
12785
12785
|
Cs = 1;
|
|
12786
12786
|
var t = st && st.__createBinding || (Object.create ? (function(o, c, h, u) {
|
|
@@ -12878,7 +12878,7 @@ function od() {
|
|
|
12878
12878
|
return st.CronFileParser = m, st;
|
|
12879
12879
|
}
|
|
12880
12880
|
var xs;
|
|
12881
|
-
function
|
|
12881
|
+
function cd() {
|
|
12882
12882
|
return xs || (xs = 1, (function(t) {
|
|
12883
12883
|
var l = Vt && Vt.__createBinding || (Object.create ? (function(d, g, v, b) {
|
|
12884
12884
|
b === void 0 && (b = v);
|
|
@@ -12909,14 +12909,14 @@ function ld() {
|
|
|
12909
12909
|
Object.defineProperty(t, "CronExpressionParser", { enumerable: !0, get: function() {
|
|
12910
12910
|
return h.CronExpressionParser;
|
|
12911
12911
|
} });
|
|
12912
|
-
var u =
|
|
12912
|
+
var u = ld();
|
|
12913
12913
|
Object.defineProperty(t, "CronFileParser", { enumerable: !0, get: function() {
|
|
12914
12914
|
return u.CronFileParser;
|
|
12915
12915
|
} }), f(Da(), t), t.default = i.CronExpressionParser;
|
|
12916
12916
|
})(Vt)), Vt;
|
|
12917
12917
|
}
|
|
12918
|
-
var
|
|
12919
|
-
function
|
|
12918
|
+
var ud = cd(), ea = { exports: {} }, Ts;
|
|
12919
|
+
function dd() {
|
|
12920
12920
|
return Ts || (Ts = 1, (function(t, l) {
|
|
12921
12921
|
(function(i, m) {
|
|
12922
12922
|
t.exports = m();
|
|
@@ -13582,8 +13582,8 @@ function ud() {
|
|
|
13582
13582
|
));
|
|
13583
13583
|
})(ea)), ea.exports;
|
|
13584
13584
|
}
|
|
13585
|
-
var
|
|
13586
|
-
const
|
|
13585
|
+
var hd = dd();
|
|
13586
|
+
const fd = /* @__PURE__ */ wc(hd), md = /* @__PURE__ */ new Set([
|
|
13587
13587
|
"JAN",
|
|
13588
13588
|
"FEB",
|
|
13589
13589
|
"MAR",
|
|
@@ -13604,11 +13604,11 @@ const hd = /* @__PURE__ */ wc(dd), fd = /* @__PURE__ */ new Set([
|
|
|
13604
13604
|
"FRI",
|
|
13605
13605
|
"SAT"
|
|
13606
13606
|
]);
|
|
13607
|
-
function
|
|
13607
|
+
function pd(t) {
|
|
13608
13608
|
for (const l of t.trim().split(/\s+/)) {
|
|
13609
13609
|
if (/[#?]/.test(l)) return !1;
|
|
13610
13610
|
for (const f of l.split(/[,\-/]/))
|
|
13611
|
-
if (!(f === "" || f === "*") && /[A-Za-z]/.test(f) && !
|
|
13611
|
+
if (!(f === "" || f === "*") && /[A-Za-z]/.test(f) && !md.has(f.toUpperCase()))
|
|
13612
13612
|
return !1;
|
|
13613
13613
|
}
|
|
13614
13614
|
return !0;
|
|
@@ -13622,7 +13622,7 @@ function no(t) {
|
|
|
13622
13622
|
nextRun: null,
|
|
13623
13623
|
error: "Expected a 5-field UNIX cron: minute hour day-of-month month day-of-week."
|
|
13624
13624
|
};
|
|
13625
|
-
if (!
|
|
13625
|
+
if (!pd(l))
|
|
13626
13626
|
return {
|
|
13627
13627
|
valid: !1,
|
|
13628
13628
|
description: "",
|
|
@@ -13630,10 +13630,10 @@ function no(t) {
|
|
|
13630
13630
|
error: "Unsupported cron syntax: L, W, #, and ? extensions are not allowed (plain 5-field UNIX cron only)."
|
|
13631
13631
|
};
|
|
13632
13632
|
try {
|
|
13633
|
-
const f =
|
|
13633
|
+
const f = fd.toString(l, {
|
|
13634
13634
|
use24HourTimeFormat: !0,
|
|
13635
13635
|
verbose: !1
|
|
13636
|
-
}), i =
|
|
13636
|
+
}), i = ud.CronExpressionParser.parse(l, { tz: "UTC" }).next().toDate();
|
|
13637
13637
|
return { valid: !0, description: f, nextRun: i };
|
|
13638
13638
|
} catch (f) {
|
|
13639
13639
|
return {
|
|
@@ -13655,7 +13655,7 @@ function ro(t) {
|
|
|
13655
13655
|
hour12: !1
|
|
13656
13656
|
}) + " UTC" : "—";
|
|
13657
13657
|
}
|
|
13658
|
-
function
|
|
13658
|
+
function yd({
|
|
13659
13659
|
onSubmit: t,
|
|
13660
13660
|
isSubmitting: l,
|
|
13661
13661
|
disabled: f,
|
|
@@ -13733,7 +13733,7 @@ function pa({ children: t }) {
|
|
|
13733
13733
|
function br(t) {
|
|
13734
13734
|
return t === Pe.Pending || t === Pe.ManifestRowsReady;
|
|
13735
13735
|
}
|
|
13736
|
-
function
|
|
13736
|
+
function gd(t) {
|
|
13737
13737
|
return t === Pe.ManifestFileReady || t === Pe.Failed || t === Pe.Cancelled;
|
|
13738
13738
|
}
|
|
13739
13739
|
function ao(t) {
|
|
@@ -13769,7 +13769,7 @@ function ya(t) {
|
|
|
13769
13769
|
function io(t) {
|
|
13770
13770
|
return t.metadata ?? {};
|
|
13771
13771
|
}
|
|
13772
|
-
function
|
|
13772
|
+
function bd(t) {
|
|
13773
13773
|
return t.trigger === "SCHEDULER" ? "Scheduled" : "Manual";
|
|
13774
13774
|
}
|
|
13775
13775
|
function so(t, l) {
|
|
@@ -13794,7 +13794,7 @@ function ga(t) {
|
|
|
13794
13794
|
minute: "2-digit"
|
|
13795
13795
|
});
|
|
13796
13796
|
}
|
|
13797
|
-
function
|
|
13797
|
+
function vd(t) {
|
|
13798
13798
|
if (!t) return "-";
|
|
13799
13799
|
const l = new Date(t).getTime(), f = Math.round((Date.now() - l) / 1e3);
|
|
13800
13800
|
if (f < 60) return "just now";
|
|
@@ -13803,7 +13803,7 @@ function bd(t) {
|
|
|
13803
13803
|
const m = Math.floor(i / 60);
|
|
13804
13804
|
return m < 24 ? `${m}h ago` : `${Math.floor(m / 24)}d ago`;
|
|
13805
13805
|
}
|
|
13806
|
-
function
|
|
13806
|
+
function wd({ entries: t, builtAt: l }) {
|
|
13807
13807
|
const f = Object.entries(t ?? {});
|
|
13808
13808
|
return /* @__PURE__ */ T(re, { children: [
|
|
13809
13809
|
/* @__PURE__ */ T(
|
|
@@ -13855,11 +13855,11 @@ function oo({
|
|
|
13855
13855
|
Ot,
|
|
13856
13856
|
{
|
|
13857
13857
|
title: l ? "Fired by the materialization schedule" : "Triggered manually",
|
|
13858
|
-
children: /* @__PURE__ */ a(ee, { variant: "body2", color: "text.secondary", children:
|
|
13858
|
+
children: /* @__PURE__ */ a(ee, { variant: "body2", color: "text.secondary", children: bd(t) })
|
|
13859
13859
|
}
|
|
13860
13860
|
);
|
|
13861
13861
|
}
|
|
13862
|
-
function
|
|
13862
|
+
function kd({
|
|
13863
13863
|
materialization: t,
|
|
13864
13864
|
buildPlan: l,
|
|
13865
13865
|
onClose: f
|
|
@@ -14060,7 +14060,7 @@ function wd({
|
|
|
14060
14060
|
] })
|
|
14061
14061
|
] }),
|
|
14062
14062
|
/* @__PURE__ */ a(
|
|
14063
|
-
|
|
14063
|
+
wd,
|
|
14064
14064
|
{
|
|
14065
14065
|
entries: t.manifest?.entries,
|
|
14066
14066
|
builtAt: t.manifest?.builtAt
|
|
@@ -14077,14 +14077,14 @@ function Ln({ label: t, value: l }) {
|
|
|
14077
14077
|
/* @__PURE__ */ a(ee, { variant: "body2", children: l })
|
|
14078
14078
|
] });
|
|
14079
14079
|
}
|
|
14080
|
-
const
|
|
14080
|
+
const Sd = Ne(/* @__PURE__ */ a("path", {
|
|
14081
14081
|
d: "M6 6h12v12H6z"
|
|
14082
14082
|
}));
|
|
14083
|
-
function
|
|
14083
|
+
function Cd(t) {
|
|
14084
14084
|
return Pt("PrivateSwitchBase", t);
|
|
14085
14085
|
}
|
|
14086
14086
|
wt("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
14087
|
-
const
|
|
14087
|
+
const xd = (t) => {
|
|
14088
14088
|
const {
|
|
14089
14089
|
classes: l,
|
|
14090
14090
|
checked: f,
|
|
@@ -14094,8 +14094,8 @@ const Cd = (t) => {
|
|
|
14094
14094
|
root: ["root", f && "checked", i && "disabled", m && `edge${ht(m)}`],
|
|
14095
14095
|
input: ["input"]
|
|
14096
14096
|
};
|
|
14097
|
-
return qt(o,
|
|
14098
|
-
},
|
|
14097
|
+
return qt(o, Cd, l);
|
|
14098
|
+
}, Td = je(As, {
|
|
14099
14099
|
name: "MuiSwitchBase"
|
|
14100
14100
|
})({
|
|
14101
14101
|
padding: 9,
|
|
@@ -14133,7 +14133,7 @@ const Cd = (t) => {
|
|
|
14133
14133
|
marginRight: -12
|
|
14134
14134
|
}
|
|
14135
14135
|
}]
|
|
14136
|
-
}),
|
|
14136
|
+
}), Md = je("input", {
|
|
14137
14137
|
name: "MuiSwitchBase",
|
|
14138
14138
|
shouldForwardProp: Sa
|
|
14139
14139
|
})({
|
|
@@ -14147,7 +14147,7 @@ const Cd = (t) => {
|
|
|
14147
14147
|
margin: 0,
|
|
14148
14148
|
padding: 0,
|
|
14149
14149
|
zIndex: 1
|
|
14150
|
-
}),
|
|
14150
|
+
}), Od = /* @__PURE__ */ pe.forwardRef(function(l, f) {
|
|
14151
14151
|
const {
|
|
14152
14152
|
autoFocus: i,
|
|
14153
14153
|
checked: m,
|
|
@@ -14195,7 +14195,7 @@ const Cd = (t) => {
|
|
|
14195
14195
|
disabled: Y,
|
|
14196
14196
|
disableFocusRipple: u,
|
|
14197
14197
|
edge: d
|
|
14198
|
-
}, Q =
|
|
14198
|
+
}, Q = xd(V), q = {
|
|
14199
14199
|
slots: P,
|
|
14200
14200
|
slotProps: {
|
|
14201
14201
|
input: b,
|
|
@@ -14203,7 +14203,7 @@ const Cd = (t) => {
|
|
|
14203
14203
|
}
|
|
14204
14204
|
}, [K, F] = ct("root", {
|
|
14205
14205
|
ref: f,
|
|
14206
|
-
elementType:
|
|
14206
|
+
elementType: Td,
|
|
14207
14207
|
className: Q.root,
|
|
14208
14208
|
shouldForwardComponentProp: !0,
|
|
14209
14209
|
externalForwardedProps: {
|
|
@@ -14228,9 +14228,9 @@ const Cd = (t) => {
|
|
|
14228
14228
|
role: void 0,
|
|
14229
14229
|
tabIndex: null
|
|
14230
14230
|
}
|
|
14231
|
-
}), [Z,
|
|
14231
|
+
}), [Z, ue] = ct("input", {
|
|
14232
14232
|
ref: y,
|
|
14233
|
-
elementType:
|
|
14233
|
+
elementType: Md,
|
|
14234
14234
|
className: Q.input,
|
|
14235
14235
|
externalForwardedProps: q,
|
|
14236
14236
|
getSlotProps: (j) => ({
|
|
@@ -14259,20 +14259,20 @@ const Cd = (t) => {
|
|
|
14259
14259
|
return /* @__PURE__ */ T(K, {
|
|
14260
14260
|
...F,
|
|
14261
14261
|
children: [/* @__PURE__ */ a(Z, {
|
|
14262
|
-
...
|
|
14262
|
+
...ue
|
|
14263
14263
|
}), R ? o : g]
|
|
14264
14264
|
});
|
|
14265
|
-
}),
|
|
14265
|
+
}), Dd = Ne(/* @__PURE__ */ a("path", {
|
|
14266
14266
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
14267
|
-
})), Dd = Ne(/* @__PURE__ */ a("path", {
|
|
14268
|
-
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
14269
14267
|
})), Ed = Ne(/* @__PURE__ */ a("path", {
|
|
14268
|
+
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
14269
|
+
})), Id = Ne(/* @__PURE__ */ a("path", {
|
|
14270
14270
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
14271
14271
|
}));
|
|
14272
|
-
function
|
|
14272
|
+
function $d(t) {
|
|
14273
14273
|
return Pt("MuiCheckbox", t);
|
|
14274
14274
|
}
|
|
14275
|
-
const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]),
|
|
14275
|
+
const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Nd = (t) => {
|
|
14276
14276
|
const {
|
|
14277
14277
|
classes: l,
|
|
14278
14278
|
indeterminate: f,
|
|
@@ -14280,13 +14280,13 @@ const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
14280
14280
|
size: m
|
|
14281
14281
|
} = t, o = {
|
|
14282
14282
|
root: ["root", f && "indeterminate", `color${ht(i)}`, `size${ht(m)}`]
|
|
14283
|
-
}, c = qt(o,
|
|
14283
|
+
}, c = qt(o, $d, l);
|
|
14284
14284
|
return {
|
|
14285
14285
|
...l,
|
|
14286
14286
|
// forward the disabled and checked classes to the SwitchBase
|
|
14287
14287
|
...c
|
|
14288
14288
|
};
|
|
14289
|
-
},
|
|
14289
|
+
}, Fd = je(Od, {
|
|
14290
14290
|
shouldForwardProp: (t) => Sa(t) || t === "classes",
|
|
14291
14291
|
name: "MuiCheckbox",
|
|
14292
14292
|
slot: "Root",
|
|
@@ -14346,16 +14346,16 @@ const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
14346
14346
|
}
|
|
14347
14347
|
}
|
|
14348
14348
|
}]
|
|
14349
|
-
}))),
|
|
14349
|
+
}))), Ad = /* @__PURE__ */ a(Ed, {}), _d = /* @__PURE__ */ a(Dd, {}), Ld = /* @__PURE__ */ a(Id, {}), Pd = /* @__PURE__ */ pe.forwardRef(function(l, f) {
|
|
14350
14350
|
const i = Rt({
|
|
14351
14351
|
props: l,
|
|
14352
14352
|
name: "MuiCheckbox"
|
|
14353
14353
|
}), {
|
|
14354
|
-
checkedIcon: m =
|
|
14354
|
+
checkedIcon: m = Ad,
|
|
14355
14355
|
color: o = "primary",
|
|
14356
|
-
icon: c =
|
|
14356
|
+
icon: c = _d,
|
|
14357
14357
|
indeterminate: h = !1,
|
|
14358
|
-
indeterminateIcon: u =
|
|
14358
|
+
indeterminateIcon: u = Ld,
|
|
14359
14359
|
inputProps: d,
|
|
14360
14360
|
size: g = "medium",
|
|
14361
14361
|
disableRipple: v = !1,
|
|
@@ -14369,9 +14369,9 @@ const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
14369
14369
|
color: o,
|
|
14370
14370
|
indeterminate: h,
|
|
14371
14371
|
size: g
|
|
14372
|
-
}, I =
|
|
14372
|
+
}, I = Nd(M), E = k.input ?? d, [_, W] = ct("root", {
|
|
14373
14373
|
ref: f,
|
|
14374
|
-
elementType:
|
|
14374
|
+
elementType: Fd,
|
|
14375
14375
|
className: At(I.root, b),
|
|
14376
14376
|
shouldForwardComponentProp: !0,
|
|
14377
14377
|
externalForwardedProps: {
|
|
@@ -14402,10 +14402,10 @@ const ta = wt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
14402
14402
|
classes: I
|
|
14403
14403
|
});
|
|
14404
14404
|
});
|
|
14405
|
-
function
|
|
14405
|
+
function Rd(t) {
|
|
14406
14406
|
return Pt("MuiFormControlLabel", t);
|
|
14407
14407
|
}
|
|
14408
|
-
const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]),
|
|
14408
|
+
const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), qd = (t) => {
|
|
14409
14409
|
const {
|
|
14410
14410
|
classes: l,
|
|
14411
14411
|
disabled: f,
|
|
@@ -14417,8 +14417,8 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14417
14417
|
label: ["label", f && "disabled"],
|
|
14418
14418
|
asterisk: ["asterisk", m && "error"]
|
|
14419
14419
|
};
|
|
14420
|
-
return qt(c,
|
|
14421
|
-
},
|
|
14420
|
+
return qt(c, Rd, l);
|
|
14421
|
+
}, Wd = je("label", {
|
|
14422
14422
|
name: "MuiFormControlLabel",
|
|
14423
14423
|
slot: "Root",
|
|
14424
14424
|
overridesResolver: (t, l) => {
|
|
@@ -14480,7 +14480,7 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14480
14480
|
// used for row presentation of radio/checkbox
|
|
14481
14481
|
}
|
|
14482
14482
|
}]
|
|
14483
|
-
}))),
|
|
14483
|
+
}))), zd = je("span", {
|
|
14484
14484
|
name: "MuiFormControlLabel",
|
|
14485
14485
|
slot: "Asterisk"
|
|
14486
14486
|
})(Bt(({
|
|
@@ -14489,7 +14489,7 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14489
14489
|
[`&.${zn.error}`]: {
|
|
14490
14490
|
color: (t.vars || t).palette.error.main
|
|
14491
14491
|
}
|
|
14492
|
-
}))),
|
|
14492
|
+
}))), Hd = /* @__PURE__ */ pe.forwardRef(function(l, f) {
|
|
14493
14493
|
const i = Rt({
|
|
14494
14494
|
props: l,
|
|
14495
14495
|
name: "MuiFormControlLabel"
|
|
@@ -14527,7 +14527,7 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14527
14527
|
labelPlacement: b,
|
|
14528
14528
|
required: W,
|
|
14529
14529
|
error: B.error
|
|
14530
|
-
}, R =
|
|
14530
|
+
}, R = qd(N), H = {
|
|
14531
14531
|
slots: C,
|
|
14532
14532
|
slotProps: {
|
|
14533
14533
|
...c,
|
|
@@ -14544,13 +14544,13 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14544
14544
|
...L,
|
|
14545
14545
|
className: At(R.label, L?.className),
|
|
14546
14546
|
children: U
|
|
14547
|
-
})), /* @__PURE__ */ T(
|
|
14547
|
+
})), /* @__PURE__ */ T(Wd, {
|
|
14548
14548
|
className: At(R.root, o),
|
|
14549
14549
|
ownerState: N,
|
|
14550
14550
|
ref: f,
|
|
14551
14551
|
...I,
|
|
14552
14552
|
children: [/* @__PURE__ */ pe.cloneElement(h, P), W ? /* @__PURE__ */ T("div", {
|
|
14553
|
-
children: [U, /* @__PURE__ */ T(
|
|
14553
|
+
children: [U, /* @__PURE__ */ T(zd, {
|
|
14554
14554
|
ownerState: N,
|
|
14555
14555
|
"aria-hidden": !0,
|
|
14556
14556
|
className: R.asterisk,
|
|
@@ -14559,7 +14559,7 @@ const zn = wt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
14559
14559
|
}) : U]
|
|
14560
14560
|
});
|
|
14561
14561
|
});
|
|
14562
|
-
function
|
|
14562
|
+
function Vd({
|
|
14563
14563
|
materialization: t,
|
|
14564
14564
|
onCloseDialog: l,
|
|
14565
14565
|
isMutating: f,
|
|
@@ -14606,10 +14606,10 @@ function Hd({
|
|
|
14606
14606
|
children: [
|
|
14607
14607
|
/* @__PURE__ */ a(ge, { variant: "body2", children: "Delete this run's record? This cannot be undone." }),
|
|
14608
14608
|
/* @__PURE__ */ a(
|
|
14609
|
-
|
|
14609
|
+
Hd,
|
|
14610
14610
|
{
|
|
14611
14611
|
control: /* @__PURE__ */ a(
|
|
14612
|
-
|
|
14612
|
+
Pd,
|
|
14613
14613
|
{
|
|
14614
14614
|
checked: c,
|
|
14615
14615
|
onChange: (g) => h(g.target.checked)
|
|
@@ -14623,7 +14623,7 @@ function Hd({
|
|
|
14623
14623
|
)
|
|
14624
14624
|
] });
|
|
14625
14625
|
}
|
|
14626
|
-
function
|
|
14626
|
+
function Ud({
|
|
14627
14627
|
materializations: t,
|
|
14628
14628
|
mutable: l,
|
|
14629
14629
|
isMutating: f,
|
|
@@ -14659,7 +14659,7 @@ function Vd({
|
|
|
14659
14659
|
/* @__PURE__ */ a(le, { align: "right", children: "Actions" })
|
|
14660
14660
|
] }) }),
|
|
14661
14661
|
/* @__PURE__ */ a(Zn, { children: t.map((c) => /* @__PURE__ */ a(
|
|
14662
|
-
|
|
14662
|
+
Bd,
|
|
14663
14663
|
{
|
|
14664
14664
|
materialization: c,
|
|
14665
14665
|
mutable: l,
|
|
@@ -14674,7 +14674,7 @@ function Vd({
|
|
|
14674
14674
|
}
|
|
14675
14675
|
);
|
|
14676
14676
|
}
|
|
14677
|
-
function
|
|
14677
|
+
function Bd({
|
|
14678
14678
|
materialization: t,
|
|
14679
14679
|
mutable: l,
|
|
14680
14680
|
isMutating: f,
|
|
@@ -14682,7 +14682,7 @@ function Ud({
|
|
|
14682
14682
|
onDelete: m,
|
|
14683
14683
|
onViewDetails: o
|
|
14684
14684
|
}) {
|
|
14685
|
-
const [c, h] = G(null), u = !!c, d = () => h(null), g = io(t), v = g.sourcesBuilt !== void 0 || g.sourcesReused !== void 0 ? `${g.sourcesBuilt ?? 0} built, ${g.sourcesReused ?? 0} reused` : "-", b = br(t.status), y =
|
|
14685
|
+
const [c, h] = G(null), u = !!c, d = () => h(null), g = io(t), v = g.sourcesBuilt !== void 0 || g.sourcesReused !== void 0 ? `${g.sourcesBuilt ?? 0} built, ${g.sourcesReused ?? 0} reused` : "-", b = br(t.status), y = gd(t.status), k = t.error ?? void 0, w = l && (b || y);
|
|
14686
14686
|
return /* @__PURE__ */ T(
|
|
14687
14687
|
bt,
|
|
14688
14688
|
{
|
|
@@ -14718,7 +14718,7 @@ function Ud({
|
|
|
14718
14718
|
k && /* @__PURE__ */ a(Ot, { title: k, children: /* @__PURE__ */ a(xc, { fontSize: "small", color: "error" }) })
|
|
14719
14719
|
] }) }),
|
|
14720
14720
|
/* @__PURE__ */ a(le, { children: /* @__PURE__ */ a(oo, { meta: g }) }),
|
|
14721
|
-
/* @__PURE__ */ a(le, { children:
|
|
14721
|
+
/* @__PURE__ */ a(le, { children: vd(
|
|
14722
14722
|
t.startedAt ?? t.createdAt
|
|
14723
14723
|
) }),
|
|
14724
14724
|
/* @__PURE__ */ a(le, { children: so(
|
|
@@ -14754,13 +14754,13 @@ function Ud({
|
|
|
14754
14754
|
d(), i(t);
|
|
14755
14755
|
},
|
|
14756
14756
|
children: [
|
|
14757
|
-
/* @__PURE__ */ a(hn, { children: /* @__PURE__ */ a(
|
|
14757
|
+
/* @__PURE__ */ a(hn, { children: /* @__PURE__ */ a(Sd, { fontSize: "small" }) }),
|
|
14758
14758
|
/* @__PURE__ */ a(Lt, { children: "Stop" })
|
|
14759
14759
|
]
|
|
14760
14760
|
}
|
|
14761
14761
|
),
|
|
14762
14762
|
l && y && /* @__PURE__ */ a(
|
|
14763
|
-
|
|
14763
|
+
Vd,
|
|
14764
14764
|
{
|
|
14765
14765
|
materialization: t,
|
|
14766
14766
|
isMutating: f,
|
|
@@ -14776,13 +14776,13 @@ function Ud({
|
|
|
14776
14776
|
}
|
|
14777
14777
|
);
|
|
14778
14778
|
}
|
|
14779
|
-
const
|
|
14779
|
+
const jd = Ne(/* @__PURE__ */ a("path", {
|
|
14780
14780
|
d: "m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27zm0-11.47L17.74 9 12 13.47 6.26 9z"
|
|
14781
|
-
})),
|
|
14781
|
+
})), Zd = {
|
|
14782
14782
|
package: "Materialized artifacts are shared across versions",
|
|
14783
14783
|
version: "Materialized artifacts are per published version"
|
|
14784
14784
|
};
|
|
14785
|
-
function
|
|
14785
|
+
function Yd({
|
|
14786
14786
|
scope: t,
|
|
14787
14787
|
disabled: l,
|
|
14788
14788
|
disabledReason: f,
|
|
@@ -14798,7 +14798,7 @@ function Zd({
|
|
|
14798
14798
|
Gn,
|
|
14799
14799
|
{
|
|
14800
14800
|
label: "Scope",
|
|
14801
|
-
icon: /* @__PURE__ */ a(
|
|
14801
|
+
icon: /* @__PURE__ */ a(jd, {}),
|
|
14802
14802
|
onClick: (u) => c(u.currentTarget),
|
|
14803
14803
|
disabled: l || i,
|
|
14804
14804
|
...f ? { disabledReason: f } : {},
|
|
@@ -14825,7 +14825,7 @@ function Zd({
|
|
|
14825
14825
|
Lt,
|
|
14826
14826
|
{
|
|
14827
14827
|
primary: u,
|
|
14828
|
-
secondary:
|
|
14828
|
+
secondary: Zd[u]
|
|
14829
14829
|
}
|
|
14830
14830
|
)
|
|
14831
14831
|
]
|
|
@@ -14836,12 +14836,12 @@ function Zd({
|
|
|
14836
14836
|
)
|
|
14837
14837
|
] });
|
|
14838
14838
|
}
|
|
14839
|
-
const
|
|
14839
|
+
const Gd = Ne([/* @__PURE__ */ a("path", {
|
|
14840
14840
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
14841
14841
|
}, "0"), /* @__PURE__ */ a("path", {
|
|
14842
14842
|
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
14843
14843
|
}, "1")]), Ms = "0 6 * * *";
|
|
14844
|
-
function
|
|
14844
|
+
function Xd({
|
|
14845
14845
|
currentSchedule: t,
|
|
14846
14846
|
isSubmitting: l,
|
|
14847
14847
|
disabled: f,
|
|
@@ -14861,7 +14861,7 @@ function Gd({
|
|
|
14861
14861
|
Gn,
|
|
14862
14862
|
{
|
|
14863
14863
|
label: "Schedule",
|
|
14864
|
-
icon: /* @__PURE__ */ a(
|
|
14864
|
+
icon: /* @__PURE__ */ a(Gd, {}),
|
|
14865
14865
|
onClick: d,
|
|
14866
14866
|
disabled: f,
|
|
14867
14867
|
...i ? { disabledReason: i } : {},
|
|
@@ -14926,8 +14926,8 @@ function Gd({
|
|
|
14926
14926
|
)
|
|
14927
14927
|
] });
|
|
14928
14928
|
}
|
|
14929
|
-
const
|
|
14930
|
-
function
|
|
14929
|
+
const Kd = 3e3;
|
|
14930
|
+
function Jd({
|
|
14931
14931
|
resourceUri: t
|
|
14932
14932
|
}) {
|
|
14933
14933
|
const { apiClients: l, mutable: f } = Se(), i = Sr(), { environmentName: m, packageName: o } = De(t), [c, h] = G(""), [u, d] = G(null);
|
|
@@ -14941,7 +14941,7 @@ function Kd({
|
|
|
14941
14941
|
m,
|
|
14942
14942
|
o
|
|
14943
14943
|
),
|
|
14944
|
-
refetchInterval: (L) => (L.state.data?.data ?? []).some((Y) => br(Y.status)) ?
|
|
14944
|
+
refetchInterval: (L) => (L.state.data?.data ?? []).some((Y) => br(Y.status)) ? Kd : !1
|
|
14945
14945
|
}), v = xe({
|
|
14946
14946
|
queryKey: ["package", m, o],
|
|
14947
14947
|
queryFn: () => l.packages.getPackage(m, o)
|
|
@@ -14973,7 +14973,7 @@ function Kd({
|
|
|
14973
14973
|
m,
|
|
14974
14974
|
o,
|
|
14975
14975
|
L.id,
|
|
14976
|
-
|
|
14976
|
+
Rc.Stop
|
|
14977
14977
|
)
|
|
14978
14978
|
),
|
|
14979
14979
|
onSuccess() {
|
|
@@ -15055,7 +15055,7 @@ function Kd({
|
|
|
15055
15055
|
count: g.isSuccess ? I.length : void 0,
|
|
15056
15056
|
action: f && /* @__PURE__ */ T(Oe, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
15057
15057
|
!N && /* @__PURE__ */ a(
|
|
15058
|
-
|
|
15058
|
+
Yd,
|
|
15059
15059
|
{
|
|
15060
15060
|
scope: B,
|
|
15061
15061
|
disabled: !!P,
|
|
@@ -15067,7 +15067,7 @@ function Kd({
|
|
|
15067
15067
|
}
|
|
15068
15068
|
),
|
|
15069
15069
|
!N && /* @__PURE__ */ a(
|
|
15070
|
-
|
|
15070
|
+
Xd,
|
|
15071
15071
|
{
|
|
15072
15072
|
currentSchedule: P,
|
|
15073
15073
|
isSubmitting: x.isPending,
|
|
@@ -15077,7 +15077,7 @@ function Kd({
|
|
|
15077
15077
|
}
|
|
15078
15078
|
),
|
|
15079
15079
|
/* @__PURE__ */ a(
|
|
15080
|
-
|
|
15080
|
+
yd,
|
|
15081
15081
|
{
|
|
15082
15082
|
onSubmit: (L) => y.mutateAsync(L),
|
|
15083
15083
|
isSubmitting: y.isPending,
|
|
@@ -15105,7 +15105,7 @@ function Kd({
|
|
|
15105
15105
|
),
|
|
15106
15106
|
!g.isSuccess && !g.isError && /* @__PURE__ */ a(vt, { text: "Loading materializations..." }),
|
|
15107
15107
|
g.isSuccess && /* @__PURE__ */ a(
|
|
15108
|
-
|
|
15108
|
+
Ud,
|
|
15109
15109
|
{
|
|
15110
15110
|
materializations: I,
|
|
15111
15111
|
mutable: f,
|
|
@@ -15122,7 +15122,7 @@ function Kd({
|
|
|
15122
15122
|
}
|
|
15123
15123
|
),
|
|
15124
15124
|
/* @__PURE__ */ a(
|
|
15125
|
-
|
|
15125
|
+
kd,
|
|
15126
15126
|
{
|
|
15127
15127
|
materialization: E,
|
|
15128
15128
|
buildPlan: v.data?.data?.buildPlan ?? null,
|
|
@@ -15144,7 +15144,7 @@ const lo = Ne(/* @__PURE__ */ a("path", {
|
|
|
15144
15144
|
d: "M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"
|
|
15145
15145
|
})), vr = Ne(/* @__PURE__ */ a("path", {
|
|
15146
15146
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
15147
|
-
})),
|
|
15147
|
+
})), Qd = Ne(/* @__PURE__ */ a("path", {
|
|
15148
15148
|
d: "M8 5v14l11-7z"
|
|
15149
15149
|
})), na = {
|
|
15150
15150
|
scopeName: "source.malloy",
|
|
@@ -15673,7 +15673,7 @@ const lo = Ne(/* @__PURE__ */ a("path", {
|
|
|
15673
15673
|
]
|
|
15674
15674
|
}
|
|
15675
15675
|
}
|
|
15676
|
-
},
|
|
15676
|
+
}, eh = {
|
|
15677
15677
|
...na,
|
|
15678
15678
|
patterns: [...na.patterns, { include: "#docvar" }],
|
|
15679
15679
|
repository: {
|
|
@@ -15693,7 +15693,7 @@ const lo = Ne(/* @__PURE__ */ a("path", {
|
|
|
15693
15693
|
]
|
|
15694
15694
|
}
|
|
15695
15695
|
}
|
|
15696
|
-
},
|
|
15696
|
+
}, th = {
|
|
15697
15697
|
name: "Malloy SQL",
|
|
15698
15698
|
scopeName: "source.malloy-sql",
|
|
15699
15699
|
patterns: [{ include: "#malloysql-sql" }],
|
|
@@ -15756,9 +15756,9 @@ const lo = Ne(/* @__PURE__ */ a("path", {
|
|
|
15756
15756
|
]
|
|
15757
15757
|
}
|
|
15758
15758
|
}
|
|
15759
|
-
},
|
|
15759
|
+
}, nh = "github-light", rh = "github-dark";
|
|
15760
15760
|
let ra;
|
|
15761
|
-
function
|
|
15761
|
+
function ah() {
|
|
15762
15762
|
return ra || (ra = (async () => {
|
|
15763
15763
|
const [
|
|
15764
15764
|
{ createHighlighterCore: t },
|
|
@@ -15788,22 +15788,22 @@ function rh() {
|
|
|
15788
15788
|
name: "malloy",
|
|
15789
15789
|
scopeName: "source.malloy",
|
|
15790
15790
|
embeddedLangs: ["sql"],
|
|
15791
|
-
...
|
|
15791
|
+
...eh
|
|
15792
15792
|
},
|
|
15793
15793
|
{
|
|
15794
15794
|
name: "malloysql",
|
|
15795
15795
|
scopeName: "source.malloy-sql",
|
|
15796
15796
|
embeddedLangs: ["sql"],
|
|
15797
|
-
...
|
|
15797
|
+
...th
|
|
15798
15798
|
}
|
|
15799
15799
|
]
|
|
15800
15800
|
});
|
|
15801
15801
|
})()), ra;
|
|
15802
15802
|
}
|
|
15803
15803
|
async function ba(t, l, f = "light") {
|
|
15804
|
-
return (await
|
|
15804
|
+
return (await ah()).codeToHtml(t, {
|
|
15805
15805
|
lang: l,
|
|
15806
|
-
theme: f === "dark" ?
|
|
15806
|
+
theme: f === "dark" ? rh : nh
|
|
15807
15807
|
});
|
|
15808
15808
|
}
|
|
15809
15809
|
function co({
|
|
@@ -15835,7 +15835,7 @@ function co({
|
|
|
15835
15835
|
}
|
|
15836
15836
|
);
|
|
15837
15837
|
}
|
|
15838
|
-
function
|
|
15838
|
+
function ih({
|
|
15839
15839
|
queryName: t,
|
|
15840
15840
|
annotations: l,
|
|
15841
15841
|
resourceUri: f,
|
|
@@ -15937,7 +15937,7 @@ function ah({
|
|
|
15937
15937
|
dt,
|
|
15938
15938
|
{
|
|
15939
15939
|
variant: "contained",
|
|
15940
|
-
startIcon: /* @__PURE__ */ a(
|
|
15940
|
+
startIcon: /* @__PURE__ */ a(Qd, {}),
|
|
15941
15941
|
onClick: () => g(!0),
|
|
15942
15942
|
children: "Run Query"
|
|
15943
15943
|
}
|
|
@@ -15969,7 +15969,7 @@ function ah({
|
|
|
15969
15969
|
)
|
|
15970
15970
|
] });
|
|
15971
15971
|
}
|
|
15972
|
-
function
|
|
15972
|
+
function wf({
|
|
15973
15973
|
onChange: t,
|
|
15974
15974
|
resourceUri: l,
|
|
15975
15975
|
runOnDemand: f = !1,
|
|
@@ -16096,7 +16096,7 @@ function vf({
|
|
|
16096
16096
|
}
|
|
16097
16097
|
) }),
|
|
16098
16098
|
o.queries.map((W) => /* @__PURE__ */ a(
|
|
16099
|
-
|
|
16099
|
+
ih,
|
|
16100
16100
|
{
|
|
16101
16101
|
queryName: W.name,
|
|
16102
16102
|
annotations: W.annotations,
|
|
@@ -16156,7 +16156,7 @@ function vf({
|
|
|
16156
16156
|
)
|
|
16157
16157
|
] });
|
|
16158
16158
|
}
|
|
16159
|
-
function
|
|
16159
|
+
function sh({
|
|
16160
16160
|
ready: t,
|
|
16161
16161
|
lastRunKey: l,
|
|
16162
16162
|
pendingKey: f,
|
|
@@ -16171,7 +16171,7 @@ function ih({
|
|
|
16171
16171
|
const c = l === null || !l.startsWith(`${m}|`);
|
|
16172
16172
|
return { cancelPending: o, dispatch: c ? "now" : "settle" };
|
|
16173
16173
|
}
|
|
16174
|
-
function
|
|
16174
|
+
function oh(t) {
|
|
16175
16175
|
return Qe(() => {
|
|
16176
16176
|
if (!t?.sources?.length) return [];
|
|
16177
16177
|
const l = /* @__PURE__ */ new Map();
|
|
@@ -16182,9 +16182,9 @@ function sh(t) {
|
|
|
16182
16182
|
return Array.from(l.values());
|
|
16183
16183
|
}, [t]);
|
|
16184
16184
|
}
|
|
16185
|
-
const
|
|
16185
|
+
const lh = Ne(/* @__PURE__ */ a("path", {
|
|
16186
16186
|
d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
|
|
16187
|
-
})),
|
|
16187
|
+
})), ch = Ne(/* @__PURE__ */ a("path", {
|
|
16188
16188
|
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
|
|
16189
16189
|
}));
|
|
16190
16190
|
function uo(t) {
|
|
@@ -16200,7 +16200,7 @@ function uo(t) {
|
|
|
16200
16200
|
...t
|
|
16201
16201
|
});
|
|
16202
16202
|
}
|
|
16203
|
-
function
|
|
16203
|
+
function kf({
|
|
16204
16204
|
embeddedQueryResult: t
|
|
16205
16205
|
}) {
|
|
16206
16206
|
const { query: l, sourceName: f, queryName: i, resourceUri: m, height: o } = JSON.parse(
|
|
@@ -16209,7 +16209,7 @@ function wf({
|
|
|
16209
16209
|
if (!c || !l && (!i || !f) || typeof c != "string")
|
|
16210
16210
|
throw new Error("Invalid embedded query result: " + t);
|
|
16211
16211
|
return /* @__PURE__ */ a(
|
|
16212
|
-
|
|
16212
|
+
uh,
|
|
16213
16213
|
{
|
|
16214
16214
|
query: l,
|
|
16215
16215
|
sourceName: f,
|
|
@@ -16219,7 +16219,7 @@ function wf({
|
|
|
16219
16219
|
}
|
|
16220
16220
|
);
|
|
16221
16221
|
}
|
|
16222
|
-
function
|
|
16222
|
+
function uh({
|
|
16223
16223
|
query: t,
|
|
16224
16224
|
sourceName: l,
|
|
16225
16225
|
queryName: f,
|
|
@@ -16249,7 +16249,7 @@ function ch({
|
|
|
16249
16249
|
}
|
|
16250
16250
|
);
|
|
16251
16251
|
}
|
|
16252
|
-
function
|
|
16252
|
+
function dh({
|
|
16253
16253
|
cell: t,
|
|
16254
16254
|
hideCodeCellIcon: l,
|
|
16255
16255
|
hideEmbeddingIcon: f,
|
|
@@ -16329,7 +16329,7 @@ function uh({
|
|
|
16329
16329
|
_(j);
|
|
16330
16330
|
});
|
|
16331
16331
|
}, [F, Z]);
|
|
16332
|
-
const
|
|
16332
|
+
const ue = () => {
|
|
16333
16333
|
const j = window.location.href;
|
|
16334
16334
|
navigator.clipboard.writeText(j).then(() => N("URL copied to clipboard!")).catch(() => N("Failed to copy URL"));
|
|
16335
16335
|
};
|
|
@@ -16351,7 +16351,7 @@ function uh({
|
|
|
16351
16351
|
cursor: "pointer",
|
|
16352
16352
|
marginTop: "26px"
|
|
16353
16353
|
},
|
|
16354
|
-
onClick:
|
|
16354
|
+
onClick: ue
|
|
16355
16355
|
}
|
|
16356
16356
|
) })
|
|
16357
16357
|
]
|
|
@@ -16563,7 +16563,7 @@ function uh({
|
|
|
16563
16563
|
F
|
|
16564
16564
|
);
|
|
16565
16565
|
},
|
|
16566
|
-
children: /* @__PURE__ */ a(
|
|
16566
|
+
children: /* @__PURE__ */ a(ch, {})
|
|
16567
16567
|
}
|
|
16568
16568
|
) })
|
|
16569
16569
|
]
|
|
@@ -16666,7 +16666,7 @@ function uh({
|
|
|
16666
16666
|
onClick: (j) => {
|
|
16667
16667
|
j.stopPropagation(), y(!0);
|
|
16668
16668
|
},
|
|
16669
|
-
children: /* @__PURE__ */ a(
|
|
16669
|
+
children: /* @__PURE__ */ a(lh, {})
|
|
16670
16670
|
}
|
|
16671
16671
|
),
|
|
16672
16672
|
/* @__PURE__ */ a(
|
|
@@ -16685,12 +16685,12 @@ function uh({
|
|
|
16685
16685
|
)
|
|
16686
16686
|
] });
|
|
16687
16687
|
}
|
|
16688
|
-
const
|
|
16689
|
-
function
|
|
16688
|
+
const hh = 4, fh = 400;
|
|
16689
|
+
function mh(t) {
|
|
16690
16690
|
const l = t?.response?.data?.message;
|
|
16691
16691
|
return typeof l == "string" && l !== "" ? l : t instanceof Error && t.message !== "" ? t.message : "The server did not say why.";
|
|
16692
16692
|
}
|
|
16693
|
-
function
|
|
16693
|
+
function ph({
|
|
16694
16694
|
resourceUri: t,
|
|
16695
16695
|
maxResultSize: l = 0,
|
|
16696
16696
|
givens: f,
|
|
@@ -16718,7 +16718,7 @@ function mh({
|
|
|
16718
16718
|
)).data
|
|
16719
16719
|
}), [w, C] = G(
|
|
16720
16720
|
[]
|
|
16721
|
-
), [x, M] = G(!1), [I, E] = G(!1), _ = ot(void 0), [W, P] = G(null), B =
|
|
16721
|
+
), [x, M] = G(!1), [I, E] = G(!1), _ = ot(void 0), [W, P] = G(null), B = oh(v), N = v?.autorun !== !1, R = Nc({
|
|
16722
16722
|
specs: B,
|
|
16723
16723
|
loaded: b,
|
|
16724
16724
|
// Where the controls start, from a file-level `## givens { … }`.
|
|
@@ -16740,8 +16740,8 @@ function mh({
|
|
|
16740
16740
|
canSelf: L,
|
|
16741
16741
|
onSelf: U
|
|
16742
16742
|
} = R, X = gt(
|
|
16743
|
-
(
|
|
16744
|
-
const j = Fc(
|
|
16743
|
+
(ue) => {
|
|
16744
|
+
const j = Fc(ue, A);
|
|
16745
16745
|
return Object.keys(j).length > 0 ? JSON.stringify(j) : void 0;
|
|
16746
16746
|
},
|
|
16747
16747
|
[A]
|
|
@@ -16753,13 +16753,13 @@ function mh({
|
|
|
16753
16753
|
[]
|
|
16754
16754
|
);
|
|
16755
16755
|
const q = gt(
|
|
16756
|
-
async (
|
|
16756
|
+
async (ue = /* @__PURE__ */ new Map()) => {
|
|
16757
16757
|
if (!b || !v?.notebookCells) return;
|
|
16758
16758
|
const j = ++Y.current;
|
|
16759
16759
|
J.current?.abort();
|
|
16760
16760
|
const ce = new AbortController();
|
|
16761
16761
|
J.current = ce, C(v.notebookCells.map((Ee) => ({ ...Ee }))), M(!0), P(null);
|
|
16762
|
-
const Fe = X(
|
|
16762
|
+
const Fe = X(ue);
|
|
16763
16763
|
try {
|
|
16764
16764
|
const Ee = [];
|
|
16765
16765
|
for (let Ze = 0; Ze < v.notebookCells.length; Ze++) {
|
|
@@ -16795,7 +16795,7 @@ function mh({
|
|
|
16795
16795
|
`Error executing cell ${We}:`,
|
|
16796
16796
|
Ie
|
|
16797
16797
|
);
|
|
16798
|
-
const Ye =
|
|
16798
|
+
const Ye = mh(Ie);
|
|
16799
16799
|
C((mn) => {
|
|
16800
16800
|
const tt = [...mn];
|
|
16801
16801
|
return tt[We] || (tt[We] = { ...Ve }), tt[We] = {
|
|
@@ -16812,7 +16812,7 @@ function mh({
|
|
|
16812
16812
|
const Ve = Ze().then(() => {
|
|
16813
16813
|
qe.splice(qe.indexOf(Ve), 1);
|
|
16814
16814
|
});
|
|
16815
|
-
qe.push(Ve), qe.length >=
|
|
16815
|
+
qe.push(Ve), qe.length >= hh && await Promise.race(qe);
|
|
16816
16816
|
}
|
|
16817
16817
|
await Promise.all(qe);
|
|
16818
16818
|
} catch (Ee) {
|
|
@@ -16836,14 +16836,14 @@ function mh({
|
|
|
16836
16836
|
F.current !== v && (F.current = v, K.current += 1);
|
|
16837
16837
|
const Z = K.current;
|
|
16838
16838
|
return Re(() => {
|
|
16839
|
-
const
|
|
16840
|
-
_.current !== void 0 && _.current !==
|
|
16841
|
-
const ce =
|
|
16839
|
+
const ue = `${t}|${Z}`, j = `${ue}|${X(H) ?? ""}`;
|
|
16840
|
+
_.current !== void 0 && _.current !== ue && (J.current?.abort(), J.current = null), _.current = ue;
|
|
16841
|
+
const ce = sh({
|
|
16842
16842
|
ready: b && !!v?.notebookCells,
|
|
16843
16843
|
lastRunKey: V.current,
|
|
16844
16844
|
pendingKey: Q.current?.key,
|
|
16845
16845
|
runKey: j,
|
|
16846
|
-
documentKey:
|
|
16846
|
+
documentKey: ue
|
|
16847
16847
|
});
|
|
16848
16848
|
if (ce.cancelPending && (clearTimeout(Q.current?.timer), Q.current = void 0, E(!1)), ce.dispatch === "none") return;
|
|
16849
16849
|
const Fe = () => {
|
|
@@ -16855,7 +16855,7 @@ function mh({
|
|
|
16855
16855
|
}
|
|
16856
16856
|
E(!0), Q.current = {
|
|
16857
16857
|
key: j,
|
|
16858
|
-
timer: setTimeout(Fe,
|
|
16858
|
+
timer: setTimeout(Fe, fh)
|
|
16859
16859
|
};
|
|
16860
16860
|
}, [
|
|
16861
16861
|
b,
|
|
@@ -16865,13 +16865,13 @@ function mh({
|
|
|
16865
16865
|
H,
|
|
16866
16866
|
X,
|
|
16867
16867
|
q
|
|
16868
|
-
]), /* @__PURE__ */ a(
|
|
16868
|
+
]), /* @__PURE__ */ a(qc, { children: /* @__PURE__ */ a(Wc, { children: /* @__PURE__ */ T(Oe, { spacing: 3, component: "section", children: [
|
|
16869
16869
|
/* @__PURE__ */ a(Ac, { ...R.panel }),
|
|
16870
16870
|
!b && !y && /* @__PURE__ */ a(vt, { text: "Fetching Notebook..." }),
|
|
16871
|
-
b && (w.length > 0 ? w : v?.notebookCells || []).map((
|
|
16872
|
-
|
|
16871
|
+
b && (w.length > 0 ? w : v?.notebookCells || []).map((ue, j) => /* @__PURE__ */ a(
|
|
16872
|
+
dh,
|
|
16873
16873
|
{
|
|
16874
|
-
cell:
|
|
16874
|
+
cell: ue,
|
|
16875
16875
|
index: j,
|
|
16876
16876
|
resourceUri: t,
|
|
16877
16877
|
maxResultSize: l,
|
|
@@ -16909,13 +16909,13 @@ function mh({
|
|
|
16909
16909
|
)
|
|
16910
16910
|
] }) }) });
|
|
16911
16911
|
}
|
|
16912
|
-
const
|
|
16912
|
+
const yh = Ne(/* @__PURE__ */ a("path", {
|
|
16913
16913
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"
|
|
16914
16914
|
}));
|
|
16915
|
-
function
|
|
16915
|
+
function gh(t) {
|
|
16916
16916
|
return t.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 80);
|
|
16917
16917
|
}
|
|
16918
|
-
function
|
|
16918
|
+
function bh({
|
|
16919
16919
|
title: t,
|
|
16920
16920
|
modelPath: l,
|
|
16921
16921
|
source: f,
|
|
@@ -16935,7 +16935,7 @@ function gh({
|
|
|
16935
16935
|
].join(`
|
|
16936
16936
|
`);
|
|
16937
16937
|
}
|
|
16938
|
-
function
|
|
16938
|
+
function vh({
|
|
16939
16939
|
open: t,
|
|
16940
16940
|
environmentName: l,
|
|
16941
16941
|
packageName: f,
|
|
@@ -16987,7 +16987,7 @@ function bh({
|
|
|
16987
16987
|
}, [t, k, P]), Re(() => {
|
|
16988
16988
|
t || (d(""), v(""), y(""), w(!1), I(void 0));
|
|
16989
16989
|
}, [t]);
|
|
16990
|
-
const B =
|
|
16990
|
+
const B = gh(b), N = m.includes(B), R = P !== void 0 && B !== "" && !N, H = async () => {
|
|
16991
16991
|
if (!(!R || P === void 0)) {
|
|
16992
16992
|
x(!0), I(void 0);
|
|
16993
16993
|
try {
|
|
@@ -16996,7 +16996,7 @@ function bh({
|
|
|
16996
16996
|
f,
|
|
16997
16997
|
`dashboards/${B}.malloy`,
|
|
16998
16998
|
{
|
|
16999
|
-
source:
|
|
16999
|
+
source: bh({
|
|
17000
17000
|
title: b,
|
|
17001
17001
|
modelPath: u,
|
|
17002
17002
|
source: P.source,
|
|
@@ -17095,7 +17095,7 @@ function bh({
|
|
|
17095
17095
|
}
|
|
17096
17096
|
);
|
|
17097
17097
|
}
|
|
17098
|
-
const
|
|
17098
|
+
const wh = {
|
|
17099
17099
|
dashboard: an.blue,
|
|
17100
17100
|
report: an.violet,
|
|
17101
17101
|
model: an.cyan,
|
|
@@ -17103,7 +17103,7 @@ const vh = {
|
|
|
17103
17103
|
data: an.lime,
|
|
17104
17104
|
materialization: an.amber
|
|
17105
17105
|
};
|
|
17106
|
-
function
|
|
17106
|
+
function kh({
|
|
17107
17107
|
type: t,
|
|
17108
17108
|
size: l = 18,
|
|
17109
17109
|
sx: f,
|
|
@@ -17124,19 +17124,19 @@ function wh({
|
|
|
17124
17124
|
strokeLinejoin: "round",
|
|
17125
17125
|
...f
|
|
17126
17126
|
},
|
|
17127
|
-
children:
|
|
17127
|
+
children: Sh[t]()
|
|
17128
17128
|
}
|
|
17129
17129
|
);
|
|
17130
17130
|
}
|
|
17131
|
-
const
|
|
17132
|
-
report:
|
|
17133
|
-
model:
|
|
17134
|
-
data:
|
|
17135
|
-
materialization:
|
|
17136
|
-
dataApp:
|
|
17137
|
-
dashboard:
|
|
17131
|
+
const Sh = {
|
|
17132
|
+
report: Ch,
|
|
17133
|
+
model: xh,
|
|
17134
|
+
data: Th,
|
|
17135
|
+
materialization: Mh,
|
|
17136
|
+
dataApp: Dh,
|
|
17137
|
+
dashboard: Oh
|
|
17138
17138
|
};
|
|
17139
|
-
function
|
|
17139
|
+
function Ch() {
|
|
17140
17140
|
return /* @__PURE__ */ T(se, { children: [
|
|
17141
17141
|
/* @__PURE__ */ a("path", { d: "M14 3 H6 a2 2 0 0 0 -2 2 v14 a2 2 0 0 0 2 2 h12 a2 2 0 0 0 2 -2 V9 z" }),
|
|
17142
17142
|
/* @__PURE__ */ a("path", { d: "M14 3 v4 a2 2 0 0 0 2 2 h4" }),
|
|
@@ -17145,28 +17145,28 @@ function Sh() {
|
|
|
17145
17145
|
/* @__PURE__ */ a("path", { d: "M16 17 v-4" })
|
|
17146
17146
|
] });
|
|
17147
17147
|
}
|
|
17148
|
-
function
|
|
17148
|
+
function xh() {
|
|
17149
17149
|
return /* @__PURE__ */ T(se, { children: [
|
|
17150
17150
|
/* @__PURE__ */ a("path", { d: "M12 3 L4 7 v10 l8 4 l8 -4 V7 z" }),
|
|
17151
17151
|
/* @__PURE__ */ a("path", { d: "M4 7 l8 4 l8 -4" }),
|
|
17152
17152
|
/* @__PURE__ */ a("path", { d: "M12 11 v10" })
|
|
17153
17153
|
] });
|
|
17154
17154
|
}
|
|
17155
|
-
function
|
|
17155
|
+
function Th() {
|
|
17156
17156
|
return /* @__PURE__ */ T(se, { children: [
|
|
17157
17157
|
/* @__PURE__ */ a("rect", { x: "3.5", y: "3.5", width: "17", height: "17", rx: "2" }),
|
|
17158
17158
|
/* @__PURE__ */ a("path", { d: "M3.5 9.5 H20.5" }),
|
|
17159
17159
|
/* @__PURE__ */ a("path", { d: "M9.5 3.5 V20.5" })
|
|
17160
17160
|
] });
|
|
17161
17161
|
}
|
|
17162
|
-
function
|
|
17162
|
+
function Mh() {
|
|
17163
17163
|
return /* @__PURE__ */ T(se, { children: [
|
|
17164
17164
|
/* @__PURE__ */ a("path", { d: "M12 3 L21 7.5 L12 12 L3 7.5 Z" }),
|
|
17165
17165
|
/* @__PURE__ */ a("path", { d: "M3 12 L12 16.5 L21 12" }),
|
|
17166
17166
|
/* @__PURE__ */ a("path", { d: "M3 16.5 L12 21 L21 16.5" })
|
|
17167
17167
|
] });
|
|
17168
17168
|
}
|
|
17169
|
-
function
|
|
17169
|
+
function Oh() {
|
|
17170
17170
|
return /* @__PURE__ */ T(se, { children: [
|
|
17171
17171
|
/* @__PURE__ */ a("rect", { x: "3.5", y: "3.5", width: "17", height: "17", rx: "2" }),
|
|
17172
17172
|
/* @__PURE__ */ a("path", { d: "M3.5 9.5 H20.5" }),
|
|
@@ -17174,7 +17174,7 @@ function Mh() {
|
|
|
17174
17174
|
/* @__PURE__ */ a("path", { d: "M12 15 H20.5" })
|
|
17175
17175
|
] });
|
|
17176
17176
|
}
|
|
17177
|
-
function
|
|
17177
|
+
function Dh() {
|
|
17178
17178
|
return /* @__PURE__ */ T(se, { children: [
|
|
17179
17179
|
/* @__PURE__ */ a("rect", { x: "3.5", y: "4.5", width: "17", height: "15", rx: "2" }),
|
|
17180
17180
|
/* @__PURE__ */ a("path", { d: "M3.5 9.5 H20.5" }),
|
|
@@ -17183,7 +17183,7 @@ function Oh() {
|
|
|
17183
17183
|
] });
|
|
17184
17184
|
}
|
|
17185
17185
|
const Os = "README.malloynb";
|
|
17186
|
-
function
|
|
17186
|
+
function Sf({
|
|
17187
17187
|
onClickPackageFile: t,
|
|
17188
17188
|
resourceUri: l
|
|
17189
17189
|
}) {
|
|
@@ -17192,12 +17192,12 @@ function kf({
|
|
|
17192
17192
|
}), { environmentName: h, packageName: u, versionId: d } = De(l), [g, v] = G(null), [b, y] = G(!1), k = Lc()?.documentStorage, [w, C] = G([]), x = `${h}/${u}/dashboards/`, M = gt(async () => {
|
|
17193
17193
|
if (!k) return;
|
|
17194
17194
|
const F = await k.listWorkspaces(!0), Z = [];
|
|
17195
|
-
for (const
|
|
17195
|
+
for (const ue of F)
|
|
17196
17196
|
for (const j of await k.listDocuments(
|
|
17197
|
-
|
|
17197
|
+
ue,
|
|
17198
17198
|
"dashboard"
|
|
17199
17199
|
))
|
|
17200
|
-
j.path.startsWith(x) && Z.push(j);
|
|
17200
|
+
j.path.startsWith(x) && Z.push({ locator: j, where: ue.description });
|
|
17201
17201
|
C(Z);
|
|
17202
17202
|
}, [k, x]);
|
|
17203
17203
|
Re(() => {
|
|
@@ -17304,7 +17304,7 @@ function kf({
|
|
|
17304
17304
|
] }),
|
|
17305
17305
|
K && /* @__PURE__ */ a(vt, { text: "Loading package..." }),
|
|
17306
17306
|
/* @__PURE__ */ a(
|
|
17307
|
-
|
|
17307
|
+
vh,
|
|
17308
17308
|
{
|
|
17309
17309
|
open: b,
|
|
17310
17310
|
environmentName: h,
|
|
@@ -17345,13 +17345,13 @@ function kf({
|
|
|
17345
17345
|
type: "dashboard",
|
|
17346
17346
|
label: Z ? F.title : F.name,
|
|
17347
17347
|
rightLabel: Z ? F.name : void 0,
|
|
17348
|
-
onClick: (
|
|
17348
|
+
onClick: (ue) => c(
|
|
17349
17349
|
`/${h}/${u}/dashboards/` + // The slug comes from a filename, which
|
|
17350
17350
|
// can hold characters that would read as
|
|
17351
17351
|
// structure in a path. The server encodes
|
|
17352
17352
|
// it in `resource` for the same reason.
|
|
17353
17353
|
encodeURIComponent(F.name ?? ""),
|
|
17354
|
-
|
|
17354
|
+
ue
|
|
17355
17355
|
)
|
|
17356
17356
|
},
|
|
17357
17357
|
F.name
|
|
@@ -17360,25 +17360,25 @@ function kf({
|
|
|
17360
17360
|
]
|
|
17361
17361
|
}
|
|
17362
17362
|
),
|
|
17363
|
-
w.length > 0 && /* @__PURE__ */ a(lt, { title: "Drafts", count: w.length, children: w.map((F) => /* @__PURE__ */ a(
|
|
17363
|
+
w.length > 0 && /* @__PURE__ */ a(lt, { title: "Drafts", count: w.length, children: w.map(({ locator: F, where: Z }) => /* @__PURE__ */ a(
|
|
17364
17364
|
on,
|
|
17365
17365
|
{
|
|
17366
17366
|
type: "dashboard",
|
|
17367
17367
|
label: I(F),
|
|
17368
|
-
rightLabel:
|
|
17369
|
-
onClick: (
|
|
17368
|
+
rightLabel: Z,
|
|
17369
|
+
onClick: (ue) => c(
|
|
17370
17370
|
`/${h}/${u}/dashboards/${encodeURIComponent(I(F))}/edit`,
|
|
17371
|
-
|
|
17371
|
+
ue
|
|
17372
17372
|
),
|
|
17373
17373
|
trailingAction: /* @__PURE__ */ a(Ot, { title: "Delete this draft", children: /* @__PURE__ */ a(
|
|
17374
17374
|
ut,
|
|
17375
17375
|
{
|
|
17376
17376
|
size: "small",
|
|
17377
17377
|
"aria-label": `Delete draft ${I(F)}`,
|
|
17378
|
-
onClick: (
|
|
17379
|
-
|
|
17378
|
+
onClick: (ue) => {
|
|
17379
|
+
ue.stopPropagation(), k?.deleteDocument(F).then(M);
|
|
17380
17380
|
},
|
|
17381
|
-
children: /* @__PURE__ */ a(
|
|
17381
|
+
children: /* @__PURE__ */ a(yh, { fontSize: "small" })
|
|
17382
17382
|
}
|
|
17383
17383
|
) })
|
|
17384
17384
|
},
|
|
@@ -17392,16 +17392,16 @@ function kf({
|
|
|
17392
17392
|
type: "report",
|
|
17393
17393
|
label: Z ? F.title : F.path,
|
|
17394
17394
|
rightLabel: Z ? F.path : void 0,
|
|
17395
|
-
onClick: (
|
|
17395
|
+
onClick: (ue) => c(
|
|
17396
17396
|
`/${h}/${u}/${F.path}`,
|
|
17397
|
-
|
|
17397
|
+
ue
|
|
17398
17398
|
)
|
|
17399
17399
|
},
|
|
17400
17400
|
F.path
|
|
17401
17401
|
);
|
|
17402
17402
|
}) }),
|
|
17403
17403
|
N.length > 0 && /* @__PURE__ */ a(lt, { title: "Data Apps", count: N.length, children: N.map((F) => {
|
|
17404
|
-
const Z = !!F.title && F.title !== F.path,
|
|
17404
|
+
const Z = !!F.title && F.title !== F.path, ue = `${Zs(i)}${F.resource}`;
|
|
17405
17405
|
return /* @__PURE__ */ a(
|
|
17406
17406
|
on,
|
|
17407
17407
|
{
|
|
@@ -17412,13 +17412,13 @@ function kf({
|
|
|
17412
17412
|
t ? t(
|
|
17413
17413
|
`/${h}/${u}/data-apps/${F.path}`,
|
|
17414
17414
|
j
|
|
17415
|
-
) : j && (j.metaKey || j.ctrlKey) ? window.open(
|
|
17415
|
+
) : j && (j.metaKey || j.ctrlKey) ? window.open(ue, "_blank") : window.location.href = ue;
|
|
17416
17416
|
},
|
|
17417
17417
|
trailingAction: /* @__PURE__ */ a(Ot, { title: "Open standalone in new tab", children: /* @__PURE__ */ a(
|
|
17418
17418
|
ut,
|
|
17419
17419
|
{
|
|
17420
17420
|
size: "small",
|
|
17421
|
-
href:
|
|
17421
|
+
href: ue,
|
|
17422
17422
|
target: "_blank",
|
|
17423
17423
|
rel: "noopener noreferrer",
|
|
17424
17424
|
"aria-label": "Open standalone in new tab",
|
|
@@ -17456,7 +17456,7 @@ function kf({
|
|
|
17456
17456
|
// A file the server could not probe is listed with
|
|
17457
17457
|
// `error` and no `info`; show that instead of a
|
|
17458
17458
|
// row count rather than reading through undefined.
|
|
17459
|
-
F.info ?
|
|
17459
|
+
F.info ? Eh(F.info.rowCount) : "Unreadable"
|
|
17460
17460
|
),
|
|
17461
17461
|
onClick: () => v(F)
|
|
17462
17462
|
},
|
|
@@ -17464,9 +17464,9 @@ function kf({
|
|
|
17464
17464
|
)),
|
|
17465
17465
|
J.length === 0 && /* @__PURE__ */ a(aa, { label: "No data files" })
|
|
17466
17466
|
] }),
|
|
17467
|
-
/* @__PURE__ */ a(
|
|
17467
|
+
/* @__PURE__ */ a(Jd, { resourceUri: l }),
|
|
17468
17468
|
Q && /* @__PURE__ */ a(re, { sx: { mt: 6 }, children: /* @__PURE__ */ a(
|
|
17469
|
-
|
|
17469
|
+
ph,
|
|
17470
17470
|
{
|
|
17471
17471
|
resourceUri: q,
|
|
17472
17472
|
onNavigate: c
|
|
@@ -17509,8 +17509,8 @@ function on({
|
|
|
17509
17509
|
return /* @__PURE__ */ a(
|
|
17510
17510
|
Tr,
|
|
17511
17511
|
{
|
|
17512
|
-
icon: /* @__PURE__ */ a(
|
|
17513
|
-
tint:
|
|
17512
|
+
icon: /* @__PURE__ */ a(kh, { type: t }),
|
|
17513
|
+
tint: wh[t],
|
|
17514
17514
|
label: l,
|
|
17515
17515
|
mono: !0,
|
|
17516
17516
|
...f === void 0 ? {} : { rightLabel: f },
|
|
@@ -17530,7 +17530,7 @@ function aa({ label: t }) {
|
|
|
17530
17530
|
}
|
|
17531
17531
|
);
|
|
17532
17532
|
}
|
|
17533
|
-
function
|
|
17533
|
+
function Eh(t) {
|
|
17534
17534
|
return t >= 1e9 ? `${(t / 1e9).toFixed(1)} B rows` : t >= 1e6 ? `${(t / 1e6).toFixed(1)} M rows` : t >= 1e3 ? `${(t / 1e3).toFixed(1)} K rows` : `${t} rows`;
|
|
17535
17535
|
}
|
|
17536
17536
|
const va = {
|
|
@@ -17538,7 +17538,7 @@ const va = {
|
|
|
17538
17538
|
description: "Stored in this browser only",
|
|
17539
17539
|
writeable: !0
|
|
17540
17540
|
}, wa = "publisher:document:";
|
|
17541
|
-
class
|
|
17541
|
+
class Cf {
|
|
17542
17542
|
async listWorkspaces(l) {
|
|
17543
17543
|
return [va];
|
|
17544
17544
|
}
|
|
@@ -17546,7 +17546,7 @@ class Sf {
|
|
|
17546
17546
|
if (l.name !== va.name) return [];
|
|
17547
17547
|
const i = [];
|
|
17548
17548
|
for (let m = 0; m < localStorage.length; m++) {
|
|
17549
|
-
const o = localStorage.key(m), c = o === null ? void 0 :
|
|
17549
|
+
const o = localStorage.key(m), c = o === null ? void 0 : Ih(o);
|
|
17550
17550
|
c && (f === void 0 || c.type === f) && i.push(c);
|
|
17551
17551
|
}
|
|
17552
17552
|
return i;
|
|
@@ -17572,7 +17572,7 @@ class Sf {
|
|
|
17572
17572
|
function Pn(t) {
|
|
17573
17573
|
return `${wa}${t.type}:${t.path}`;
|
|
17574
17574
|
}
|
|
17575
|
-
function
|
|
17575
|
+
function Ih(t) {
|
|
17576
17576
|
if (!t.startsWith(wa)) return;
|
|
17577
17577
|
const l = t.slice(wa.length), f = l.indexOf(":");
|
|
17578
17578
|
if (f <= 0) return;
|
|
@@ -17585,20 +17585,20 @@ function Eh(t) {
|
|
|
17585
17585
|
};
|
|
17586
17586
|
}
|
|
17587
17587
|
function Ds(t) {
|
|
17588
|
-
return new
|
|
17588
|
+
return new Pc(
|
|
17589
17589
|
`No ${t.type} at ${t.workspace}/${t.path}`
|
|
17590
17590
|
);
|
|
17591
17591
|
}
|
|
17592
|
-
function
|
|
17592
|
+
function $h(t, l) {
|
|
17593
17593
|
return `${t}:${l}`;
|
|
17594
17594
|
}
|
|
17595
17595
|
function dn(t) {
|
|
17596
|
-
return
|
|
17596
|
+
return $h(t.source, t.filterName ?? t.dimensionName);
|
|
17597
17597
|
}
|
|
17598
17598
|
function mt(t, l = !1) {
|
|
17599
17599
|
return t == null ? "null" : l ? t instanceof Date ? `@${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")}` : `@${t}` : typeof t == "string" ? `'${_t(t)}'` : typeof t == "number" ? String(t) : typeof t == "boolean" ? t ? "true" : "false" : String(t);
|
|
17600
17600
|
}
|
|
17601
|
-
function
|
|
17601
|
+
function Nh(t) {
|
|
17602
17602
|
const { dimensionName: l, matchType: f, value: i, value2: m } = t, o = `\`${l}\``, c = i instanceof Date;
|
|
17603
17603
|
switch (f) {
|
|
17604
17604
|
case "Equals":
|
|
@@ -17622,7 +17622,7 @@ function $h(t) {
|
|
|
17622
17622
|
return "";
|
|
17623
17623
|
}
|
|
17624
17624
|
}
|
|
17625
|
-
function
|
|
17625
|
+
function Fh(t) {
|
|
17626
17626
|
const l = /* @__PURE__ */ new Map();
|
|
17627
17627
|
for (const f of t) {
|
|
17628
17628
|
const i = `${f.source}|${f.model}`, m = l.get(i) || [];
|
|
@@ -17630,7 +17630,7 @@ function Nh(t) {
|
|
|
17630
17630
|
}
|
|
17631
17631
|
return l;
|
|
17632
17632
|
}
|
|
17633
|
-
function
|
|
17633
|
+
function Ah(t, l, f, i) {
|
|
17634
17634
|
const m = l.filter(
|
|
17635
17635
|
(d) => (d.filterType === "Star" || d.filterType === "MinMax" || d.filterType === "DateMinMax") && !d.values
|
|
17636
17636
|
);
|
|
@@ -17638,7 +17638,7 @@ function Fh(t, l, f, i) {
|
|
|
17638
17638
|
return "";
|
|
17639
17639
|
const c = [
|
|
17640
17640
|
...new Set(m.map((d) => d.dimensionName))
|
|
17641
|
-
].map((d) => `\`${d}\``).join(", "), h = i?.filter((d) => d.source === t) || [], u = h.length > 0 ? h.map((d) =>
|
|
17641
|
+
].map((d) => `\`${d}\``).join(", "), h = i?.filter((d) => d.source === t) || [], u = h.length > 0 ? h.map((d) => Nh(d)).filter((d) => d.length > 0).join(" and ") : "";
|
|
17642
17642
|
return `
|
|
17643
17643
|
run: ${t} -> {
|
|
17644
17644
|
${u ? `where: ${u}` : ""}
|
|
@@ -17651,7 +17651,7 @@ function Fh(t, l, f, i) {
|
|
|
17651
17651
|
}
|
|
17652
17652
|
`;
|
|
17653
17653
|
}
|
|
17654
|
-
function
|
|
17654
|
+
function _h(t, l) {
|
|
17655
17655
|
const f = /* @__PURE__ */ new Map();
|
|
17656
17656
|
for (const g of l) {
|
|
17657
17657
|
const v = dn(g);
|
|
@@ -17763,7 +17763,7 @@ function Ah(t, l) {
|
|
|
17763
17763
|
}
|
|
17764
17764
|
return { values: f, noRowsMatchedFilter: d };
|
|
17765
17765
|
}
|
|
17766
|
-
function
|
|
17766
|
+
function Lh(t) {
|
|
17767
17767
|
const {
|
|
17768
17768
|
environment: l,
|
|
17769
17769
|
package: f,
|
|
@@ -17773,12 +17773,12 @@ function _h(t) {
|
|
|
17773
17773
|
indexLimit: c = 1e4,
|
|
17774
17774
|
activeFilters: h = []
|
|
17775
17775
|
} = t, u = Qe(
|
|
17776
|
-
() =>
|
|
17776
|
+
() => Fh(i),
|
|
17777
17777
|
[i]
|
|
17778
17778
|
), d = Qe(() => {
|
|
17779
17779
|
const w = [];
|
|
17780
17780
|
for (const [C, x] of u) {
|
|
17781
|
-
const [M, I] = C.split("|"), E =
|
|
17781
|
+
const [M, I] = C.split("|"), E = Ah(
|
|
17782
17782
|
M,
|
|
17783
17783
|
x,
|
|
17784
17784
|
c,
|
|
@@ -17821,7 +17821,7 @@ function _h(t) {
|
|
|
17821
17821
|
);
|
|
17822
17822
|
return {
|
|
17823
17823
|
config: M,
|
|
17824
|
-
result:
|
|
17824
|
+
result: _h(
|
|
17825
17825
|
I.data.result,
|
|
17826
17826
|
M.specs
|
|
17827
17827
|
)
|
|
@@ -17867,7 +17867,7 @@ function _h(t) {
|
|
|
17867
17867
|
function pt(t, l = !1) {
|
|
17868
17868
|
return t == null ? "null" : l ? t instanceof Date ? `@${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")}` : `@${t}` : typeof t == "string" ? `'${_t(t)}'` : typeof t == "number" ? String(t) : typeof t == "boolean" ? t ? "true" : "false" : String(t);
|
|
17869
17869
|
}
|
|
17870
|
-
function
|
|
17870
|
+
function Ph(t) {
|
|
17871
17871
|
const { dimensionName: l, matchType: f, value: i, value2: m } = t, o = `\`${l}\``, c = i instanceof Date;
|
|
17872
17872
|
switch (f) {
|
|
17873
17873
|
case "Equals":
|
|
@@ -17891,7 +17891,7 @@ function Lh(t) {
|
|
|
17891
17891
|
return "";
|
|
17892
17892
|
}
|
|
17893
17893
|
}
|
|
17894
|
-
function
|
|
17894
|
+
function Rh(t) {
|
|
17895
17895
|
const { dimensionSpecs: l } = t, [f, i] = G(() => {
|
|
17896
17896
|
const d = /* @__PURE__ */ new Map();
|
|
17897
17897
|
return l.forEach((g) => {
|
|
@@ -17949,7 +17949,7 @@ function Ph(t) {
|
|
|
17949
17949
|
const d = h();
|
|
17950
17950
|
if (d.length === 0)
|
|
17951
17951
|
return "";
|
|
17952
|
-
const g = d.map((v) =>
|
|
17952
|
+
const g = d.map((v) => Ph(v)).filter((v) => v.length > 0);
|
|
17953
17953
|
return g.length === 0 ? "" : `where ${g.join(" and ")}`;
|
|
17954
17954
|
}, [h]);
|
|
17955
17955
|
return {
|
|
@@ -17964,7 +17964,7 @@ function Ph(t) {
|
|
|
17964
17964
|
function yt(t, l = !1) {
|
|
17965
17965
|
return t == null ? "null" : l ? t instanceof Date ? `@${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")}` : `@${t}` : typeof t == "string" ? `'${_t(t)}'` : typeof t == "number" ? String(t) : typeof t == "boolean" ? t ? "true" : "false" : String(t);
|
|
17966
17966
|
}
|
|
17967
|
-
function
|
|
17967
|
+
function qh(t) {
|
|
17968
17968
|
const { dimensionName: l, matchType: f, value: i, value2: m } = t, o = `\`${l}\``, c = i instanceof Date;
|
|
17969
17969
|
switch (f) {
|
|
17970
17970
|
case "Equals":
|
|
@@ -17988,14 +17988,14 @@ function Rh(t) {
|
|
|
17988
17988
|
return "";
|
|
17989
17989
|
}
|
|
17990
17990
|
}
|
|
17991
|
-
function
|
|
17991
|
+
function Wh(t) {
|
|
17992
17992
|
if (t.length === 0)
|
|
17993
17993
|
return "";
|
|
17994
|
-
const l = t.map((f) =>
|
|
17994
|
+
const l = t.map((f) => qh(f)).filter((f) => f.length > 0);
|
|
17995
17995
|
return l.length === 0 ? "" : l.join(" and ");
|
|
17996
17996
|
}
|
|
17997
|
-
function
|
|
17998
|
-
const m =
|
|
17997
|
+
function zh(t, l, f, i = 1e3) {
|
|
17998
|
+
const m = Wh(l), c = f && f.length > 0 ? `group_by: ${f.map((h) => `\`${h}\``).join(", ")}` : "select: *";
|
|
17999
17999
|
return m ? `
|
|
18000
18000
|
run: ${t} -> {
|
|
18001
18001
|
where: ${m}
|
|
@@ -18009,7 +18009,7 @@ function Wh(t, l, f, i = 1e3) {
|
|
|
18009
18009
|
}
|
|
18010
18010
|
`;
|
|
18011
18011
|
}
|
|
18012
|
-
function
|
|
18012
|
+
function Hh(t) {
|
|
18013
18013
|
const {
|
|
18014
18014
|
environment: l,
|
|
18015
18015
|
package: f,
|
|
@@ -18019,7 +18019,7 @@ function zh(t) {
|
|
|
18019
18019
|
fields: c,
|
|
18020
18020
|
limit: h = 1e3
|
|
18021
18021
|
} = t, [u, d] = G(null), g = Qe(
|
|
18022
|
-
() =>
|
|
18022
|
+
() => zh(m, o, c, h),
|
|
18023
18023
|
[m, o, c, h]
|
|
18024
18024
|
), v = Qe(
|
|
18025
18025
|
() => kr({
|
|
@@ -18047,21 +18047,21 @@ function zh(t) {
|
|
|
18047
18047
|
canExecute: b
|
|
18048
18048
|
};
|
|
18049
18049
|
}
|
|
18050
|
-
function
|
|
18051
|
-
const f = t.dimensionSpecs[0]?.source ?? "", i = t.dimensionSpecs[0]?.model ?? "", { filterStates: m, updateFilter: o, clearAllFilters: c, getActiveFilters: h } =
|
|
18050
|
+
function xf(t, l = 5e3) {
|
|
18051
|
+
const f = t.dimensionSpecs[0]?.source ?? "", i = t.dimensionSpecs[0]?.model ?? "", { filterStates: m, updateFilter: o, clearAllFilters: c, getActiveFilters: h } = Rh({
|
|
18052
18052
|
dimensionSpecs: t.dimensionSpecs
|
|
18053
18053
|
}), u = Qe(
|
|
18054
18054
|
() => h(),
|
|
18055
18055
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
18056
18056
|
[m, h]
|
|
18057
|
-
), { data: d, noRowsMatchedFilter: g, isLoading: v, isError: b, error: y, refetch: k } =
|
|
18057
|
+
), { data: d, noRowsMatchedFilter: g, isLoading: v, isError: b, error: y, refetch: k } = Lh({
|
|
18058
18058
|
environment: t.environment,
|
|
18059
18059
|
package: t.package,
|
|
18060
18060
|
indexLimit: t.indexLimit,
|
|
18061
18061
|
dimensionSpecs: t.dimensionSpecs,
|
|
18062
18062
|
versionId: t.versionId,
|
|
18063
18063
|
activeFilters: u
|
|
18064
|
-
}), w = v && !d, { embeddedQueryResult: C, queryString: x, executeQuery: M, canExecute: I } =
|
|
18064
|
+
}), w = v && !d, { embeddedQueryResult: C, queryString: x, executeQuery: M, canExecute: I } = Hh({
|
|
18065
18065
|
environment: t.environment,
|
|
18066
18066
|
package: t.package,
|
|
18067
18067
|
model: i,
|
|
@@ -18091,7 +18091,7 @@ function Cf(t, l = 5e3) {
|
|
|
18091
18091
|
canExecute: I
|
|
18092
18092
|
};
|
|
18093
18093
|
}
|
|
18094
|
-
function
|
|
18094
|
+
function Tf({
|
|
18095
18095
|
modelPath: t,
|
|
18096
18096
|
query: l,
|
|
18097
18097
|
sourceName: f,
|
|
@@ -18142,101 +18142,103 @@ export {
|
|
|
18142
18142
|
et as ApiErrorDisplay,
|
|
18143
18143
|
Le as AppDialog,
|
|
18144
18144
|
Bs as BackLink,
|
|
18145
|
-
|
|
18146
|
-
|
|
18147
|
-
|
|
18145
|
+
Cf as BrowserDocumentStorage,
|
|
18146
|
+
Eu as ConnectionExplorer,
|
|
18147
|
+
im as DEFAULT_THEME,
|
|
18148
18148
|
$t as DOC_LINKS,
|
|
18149
|
-
|
|
18150
|
-
|
|
18151
|
-
|
|
18152
|
-
|
|
18153
|
-
|
|
18154
|
-
|
|
18155
|
-
|
|
18156
|
-
|
|
18157
|
-
|
|
18158
|
-
|
|
18159
|
-
|
|
18149
|
+
dm as DRILL_CELL_CLASS,
|
|
18150
|
+
Df as DRILL_SELF,
|
|
18151
|
+
Ef as Dashboard,
|
|
18152
|
+
If as DashboardBar,
|
|
18153
|
+
$f as DashboardTile,
|
|
18154
|
+
tf as DataAppViewer,
|
|
18155
|
+
af as DimensionFilter,
|
|
18156
|
+
Pc as DocumentNotFoundError,
|
|
18157
|
+
Nf as DocumentStorageProvider,
|
|
18158
|
+
kf as EmbeddedQueryResult,
|
|
18159
|
+
rf as Environment,
|
|
18160
|
+
Ff as GivenInput,
|
|
18160
18161
|
Ac as GivensPanel,
|
|
18161
|
-
|
|
18162
|
-
|
|
18162
|
+
ff as Home,
|
|
18163
|
+
Af as INITIAL_RENDER_HEIGHT,
|
|
18163
18164
|
vt as Loading,
|
|
18164
18165
|
Oc as MODEL_CELL_MAX_HEIGHT,
|
|
18165
|
-
|
|
18166
|
-
|
|
18166
|
+
Jd as Materializations,
|
|
18167
|
+
wf as Model,
|
|
18167
18168
|
Ec as ModelExplorer,
|
|
18168
18169
|
zs as ModelExplorerDialog,
|
|
18169
18170
|
$c as NOTEBOOK_CELL_MAX_HEIGHT,
|
|
18170
|
-
|
|
18171
|
+
ph as Notebook,
|
|
18171
18172
|
an as PALETTE,
|
|
18172
|
-
|
|
18173
|
-
|
|
18173
|
+
Sf as Package,
|
|
18174
|
+
Wu as Packages,
|
|
18174
18175
|
ca as Prose,
|
|
18175
|
-
|
|
18176
|
+
uh as QueryResult,
|
|
18176
18177
|
Mc as RESULTS_DIALOG_MAX_HEIGHT,
|
|
18177
|
-
|
|
18178
|
+
hm as RenderedResult,
|
|
18178
18179
|
Rs as ResultContainer,
|
|
18179
18180
|
Ws as ResultPanel,
|
|
18180
18181
|
Ca as SURFACE_TINT,
|
|
18181
18182
|
Gn as SecondaryButton,
|
|
18182
|
-
|
|
18183
|
-
|
|
18184
|
-
|
|
18185
|
-
|
|
18186
|
-
|
|
18187
|
-
|
|
18188
|
-
|
|
18189
|
-
|
|
18190
|
-
|
|
18191
|
-
|
|
18192
|
-
|
|
18183
|
+
sm as ServerProvider,
|
|
18184
|
+
_f as SourcesExplorer,
|
|
18185
|
+
Lf as TILE_MAX_HEIGHT,
|
|
18186
|
+
om as ThemeProvider,
|
|
18187
|
+
Pf as TileCard,
|
|
18188
|
+
Rf as TileHeading,
|
|
18189
|
+
qf as UNCAPPED_CONTAINER_HEIGHT,
|
|
18190
|
+
fm as buildMalloyExplicitTheme,
|
|
18191
|
+
Wf as buildTableCssVars,
|
|
18192
|
+
mm as buildVegaThemeOverride,
|
|
18193
|
+
zf as contentNodeDepth,
|
|
18193
18194
|
uo as createEmbeddedQueryResult,
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18195
|
+
Hf as drillDestinations,
|
|
18196
|
+
Vf as drillValueToFilter,
|
|
18197
|
+
pm as drillableFieldNames,
|
|
18198
|
+
Uf as encodeDrillValue,
|
|
18198
18199
|
kr as encodeResourceUri,
|
|
18199
|
-
|
|
18200
|
-
|
|
18201
|
-
|
|
18200
|
+
cf as extractDimensionSpecs,
|
|
18201
|
+
df as extractSourceFromQuery,
|
|
18202
|
+
uf as generateFilterClause,
|
|
18202
18203
|
dn as getDimensionKey,
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
|
|
18208
|
-
|
|
18209
|
-
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
|
|
18204
|
+
sf as getJoinedSources,
|
|
18205
|
+
Bf as humanizeSlug,
|
|
18206
|
+
jf as initialResultHeight,
|
|
18207
|
+
hf as injectWhereClause,
|
|
18208
|
+
Zf as isDocumentNotFound,
|
|
18209
|
+
ym as markDrillableCells,
|
|
18210
|
+
Yf as measureContentHeight,
|
|
18211
|
+
Yc as packageFileUrl,
|
|
18212
|
+
lf as parseAllSourceInfos,
|
|
18213
|
+
Vu as parseDimensionFilterAnnotation,
|
|
18214
|
+
of as parseNotebookFilterAnnotation,
|
|
18213
18215
|
De as parseResourceUri,
|
|
18214
|
-
|
|
18215
|
-
|
|
18216
|
-
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
18220
|
-
|
|
18221
|
-
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
|
|
18226
|
-
|
|
18216
|
+
Gf as queryResultKey,
|
|
18217
|
+
gm as readChartAnnotations,
|
|
18218
|
+
Xf as remeasuresAfterReady,
|
|
18219
|
+
Kf as resolveDrill,
|
|
18220
|
+
lm as resolveMode,
|
|
18221
|
+
Jf as resolveResultHeight,
|
|
18222
|
+
cm as resolveTheme,
|
|
18223
|
+
Qf as resultSizing,
|
|
18224
|
+
nf as setConsoleEventHandler,
|
|
18225
|
+
Rh as useDimensionFilters,
|
|
18226
|
+
xf as useDimensionFiltersFromSpec,
|
|
18227
|
+
Hh as useDimensionFiltersQuery,
|
|
18228
|
+
Lh as useDimensionalFilterRangeData,
|
|
18227
18229
|
Nc as useDocumentControls,
|
|
18228
|
-
|
|
18230
|
+
em as useDocumentStorage,
|
|
18229
18231
|
Ic as useDrill,
|
|
18230
|
-
|
|
18231
|
-
|
|
18232
|
-
|
|
18232
|
+
tm as useDrillSelf,
|
|
18233
|
+
ef as useGivenUrlParams,
|
|
18234
|
+
nm as useGivensState,
|
|
18233
18235
|
Dc as useModelData,
|
|
18234
|
-
|
|
18236
|
+
oh as useModelGivens,
|
|
18235
18237
|
Lc as useOptionalDocumentStorage,
|
|
18236
18238
|
Vs as usePublisherTheme,
|
|
18237
18239
|
qs as useQueryResult,
|
|
18238
|
-
|
|
18239
|
-
|
|
18240
|
+
Tf as useRawQueryData,
|
|
18241
|
+
Qh as useRouterClickHandler,
|
|
18240
18242
|
Se as useServer,
|
|
18241
|
-
|
|
18243
|
+
rm as useSuggestOptions
|
|
18242
18244
|
};
|