@malloy-publisher/sdk 0.17.0 → 0.17.2
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 +32 -50
- package/dist/{RenderedResult-BcEDcw0V.es.js → RenderedResult-CYJ2Y9Fm.es.js} +24 -24
- package/dist/{RenderedResult-uT2oc6ke.cjs.js → RenderedResult-hRvgFMAF.cjs.js} +1 -1
- package/dist/ServerProvider-DeVejmVr.cjs.js +1 -0
- package/dist/{ServerProvider-vmEUjlEu.es.js → ServerProvider-DzzfVDg_.es.js} +1314 -1712
- package/dist/builder/index.cjs.js +12 -12
- package/dist/builder/index.es.js +4 -9
- package/dist/client/api.d.ts +63 -506
- package/dist/client/configuration.d.ts +1 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.es.js +132 -144
- package/dist/components/Dashboard/DashboardGrid.d.ts +1 -1
- package/dist/components/Model/ExplorerPage.d.ts +1 -3
- package/dist/components/Model/Model.d.ts +1 -4
- package/dist/components/Model/ModelExplorer.d.ts +1 -2
- package/dist/components/Package/reportQueries.d.ts +2 -4
- package/dist/components/Report/Report.d.ts +20 -9
- package/dist/components/{legacy → Report}/malloynb/CellRunnerView.d.ts +13 -16
- package/dist/components/Report/malloynb/MalloynbReport.d.ts +11 -0
- package/dist/components/{legacy → Report}/malloynb/cellKind.d.ts +1 -1
- package/dist/components/ServerProvider.d.ts +1 -3
- package/dist/components/drill/drillClauses.d.ts +8 -9
- package/dist/components/drill/rowsTarget.d.ts +7 -9
- package/dist/components/legacy/index.d.ts +3 -7
- package/dist/components/modelPage.d.ts +2 -5
- package/dist/hooks/useModelGivens.d.ts +2 -2
- package/dist/hooks/useQueryResult.d.ts +7 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.es.js +8799 -8903
- package/dist/{useCompiledDocument-h5-Kc1Zh.cjs.js → useCompiledDocument-BCr-xB_i.cjs.js} +4 -4
- package/dist/{useCompiledDocument-rOwDSK_s.es.js → useCompiledDocument-E0tU5KzP.es.js} +266 -277
- package/package.json +1 -1
- package/src/components/Dashboard/DashboardGrid.tsx +1 -1
- package/src/components/Dashboard/DashboardTile.spec.tsx +1 -1
- package/src/components/Model/ExplorerPage.tsx +1 -3
- package/src/components/Model/Model.tsx +1 -4
- package/src/components/Model/ModelExplorer.tsx +1 -2
- package/src/components/Package/Package.tsx +1 -5
- package/src/components/Package/reportQueries.ts +3 -15
- package/src/components/Report/Report.malloynb.spec.tsx +230 -0
- package/src/components/Report/Report.spec.tsx +429 -38
- package/src/components/Report/Report.telemetry.spec.tsx +51 -10
- package/src/components/Report/Report.tsx +63 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.spec.tsx +11 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.tsx +63 -107
- package/src/components/Report/malloynb/MalloynbReport.tsx +110 -0
- package/src/components/{legacy → Report}/malloynb/cellKind.ts +5 -4
- package/src/components/ReportBuilder/EditorSurface.tsx +3 -3
- package/src/components/ReportBuilder/ReportBuilder.spec.tsx +2 -2
- package/src/components/ReportBuilder/ReportEditor.notebook.spec.tsx +0 -4
- package/src/components/ReportBuilder/ReportEditor.queryVersion.spec.tsx +0 -1
- package/src/components/ReportBuilder/ReportEditor.resourceUri.spec.tsx +3 -3
- package/src/components/ReportBuilder/ReportEditor.tsx +1 -1
- package/src/components/ReportBuilder/loadMalloy.ts +1 -4
- package/src/components/ReportBuilder/useSaveChannel.ts +1 -6
- package/src/components/ServerProvider.tsx +0 -4
- package/src/components/drill/drillClauses.ts +8 -9
- package/src/components/drill/rowsTarget.ts +7 -9
- package/src/components/index.ts +2 -3
- package/src/components/legacy/index.ts +3 -7
- package/src/components/modelPage.ts +2 -5
- package/src/hooks/useGivensState.ts +8 -8
- package/src/hooks/useModelGivens.ts +2 -2
- package/src/hooks/useQueryResult.ts +30 -18
- package/test/README.md +4 -4
- package/dist/ServerProvider-DDRwHiPz.cjs.js +0 -1
- package/dist/components/legacy/Dashboard.d.ts +0 -68
- package/dist/components/legacy/malloynb/MalloynbCells.d.ts +0 -13
- package/dist/components/legacy/malloynb/Notebook.d.ts +0 -15
- package/dist/components/legacy/queryKeys.d.ts +0 -8
- package/src/components/legacy/Dashboard.spec.tsx +0 -242
- package/src/components/legacy/Dashboard.tsx +0 -181
- package/src/components/legacy/malloynb/MalloynbCells.tsx +0 -88
- package/src/components/legacy/malloynb/Notebook.layout.spec.tsx +0 -103
- package/src/components/legacy/malloynb/Notebook.served.spec.tsx +0 -84
- package/src/components/legacy/malloynb/Notebook.spec.tsx +0 -223
- package/src/components/legacy/malloynb/Notebook.tsx +0 -46
- package/src/components/legacy/queryKeys.ts +0 -26
- /package/dist/components/{legacy → Report}/malloynb/NotebookCell.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/runPlan.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/types.d.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/NotebookCell.tsx +0 -0
- /package/src/components/{legacy → Report}/malloynb/cellKind.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/types.ts +0 -0
package/dist/builder/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _, jsxs as L, Fragment as Fe } from "react/jsx-runtime";
|
|
2
|
-
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, W as Nn, X as jl, Y as es, Z as nr, _ as fd, $ as Ep, a0 as Tp, a1 as hd, a2 as Hl, a3 as to, a4 as pd, a5 as Op, a6 as Cp, a7 as gd, a8 as Dp, a9 as Mp, aa as _s, ab as ks, ac as Ip, ad as Ss, ae as Ap, af as md, ag as Pp, ah as Rp, ai as Lp, aj as Wp, ak as zp, al as rn, am as Np, an as $s, ao as Fp, ap as Bp, aq as jp, ar as vd, as as Hp, at as Gp, au as qp, av as Up, aw as Kp, ax as Vp, ay as Yp, az as Xp, aA as Qp, aB as Ia, aC as Zp, aD as Jp, aE as eg, aF as tg, aG as ng, aH as rg, aI as Es, aJ as Gl, aK as og, aL as ig, aM as sg, aN as ag, aO as lg, aP as cg, aQ as dg, aR as yd, aS as bd, aT as wd, aU as ug, aV as xd, aW as fg, aX as hg, aY as pg, aZ as gg, a_ as mg, a$ as vg, b0 as yg, b1 as bg, b2 as wg, b3 as xg, b4 as _g, b5 as kg, b6 as Sg, b7 as $g, b8 as Eg } from "../useCompiledDocument-
|
|
3
|
-
import { b9 as g_, ba as m_, bb as v_, bc as y_, bd as b_, be as w_, bf as x_, bg as __, bh as k_, bi as S_, bj as $_ } from "../useCompiledDocument-
|
|
2
|
+
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, W as Nn, X as jl, Y as es, Z as nr, _ as fd, $ as Ep, a0 as Tp, a1 as hd, a2 as Hl, a3 as to, a4 as pd, a5 as Op, a6 as Cp, a7 as gd, a8 as Dp, a9 as Mp, aa as _s, ab as ks, ac as Ip, ad as Ss, ae as Ap, af as md, ag as Pp, ah as Rp, ai as Lp, aj as Wp, ak as zp, al as rn, am as Np, an as $s, ao as Fp, ap as Bp, aq as jp, ar as vd, as as Hp, at as Gp, au as qp, av as Up, aw as Kp, ax as Vp, ay as Yp, az as Xp, aA as Qp, aB as Ia, aC as Zp, aD as Jp, aE as eg, aF as tg, aG as ng, aH as rg, aI as Es, aJ as Gl, aK as og, aL as ig, aM as sg, aN as ag, aO as lg, aP as cg, aQ as dg, aR as yd, aS as bd, aT as wd, aU as ug, aV as xd, aW as fg, aX as hg, aY as pg, aZ as gg, a_ as mg, a$ as vg, b0 as yg, b1 as bg, b2 as wg, b3 as xg, b4 as _g, b5 as kg, b6 as Sg, b7 as $g, b8 as Eg } from "../useCompiledDocument-E0tU5KzP.es.js";
|
|
3
|
+
import { b9 as g_, ba as m_, bb as v_, bc as y_, bd as b_, be as w_, bf as x_, bg as __, bh as k_, bi as S_, bj as $_ } from "../useCompiledDocument-E0tU5KzP.es.js";
|
|
4
4
|
import { Tooltip as Lt, ButtonBase as _d, Box as H, Menu as rr, MenuItem as it, Stack as yt, Button as Ne, Divider as lr, IconButton as Dn, Typography as we, TextField as on, ToggleButtonGroup as kd, ToggleButton as Ts, Switch as Tg, Checkbox as Os, ListItemText as Kt, Collapse as Og, Autocomplete as Cg, ListItemIcon as Sd, InputBase as $d, SvgIcon as Dg, useMediaQuery as Ed, Alert as vt } from "@mui/material";
|
|
5
5
|
import { useState as j, useRef as q, useEffect as re, useMemo as V, createElement as Mg, useLayoutEffect as fi, useCallback as le, useInsertionEffect as Ig, createContext as Td, memo as Ag, forwardRef as Pg, startTransition as Rg, useImperativeHandle as Lg, useContext as Od, useId as Wg } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { bq as Xe, bv as Aa, br as Pa } from "../ServerProvider-DzzfVDg_.es.js";
|
|
7
7
|
import { i as Cs, a as Cd, m as zg, b as Ng, t as Fg, c as Dd, s as Bg, d as jg, e as Md, f as Ra, g as Hg, A as Gg, h as qg, r as Ug, j as Id, k as ql, l as La } from "../text-entry-YKJZbRPo.es.js";
|
|
8
8
|
import { flushSync as Kg } from "react-dom";
|
|
9
9
|
import { useQueries as Vg, useQueryClient as Yg } from "@tanstack/react-query";
|
|
@@ -14581,12 +14581,7 @@ function jx({
|
|
|
14581
14581
|
})
|
|
14582
14582
|
}
|
|
14583
14583
|
]
|
|
14584
|
-
}), pg(
|
|
14585
|
-
u,
|
|
14586
|
-
o,
|
|
14587
|
-
i,
|
|
14588
|
-
s
|
|
14589
|
-
);
|
|
14584
|
+
}), pg(u);
|
|
14590
14585
|
},
|
|
14591
14586
|
[
|
|
14592
14587
|
l,
|