@malloy-publisher/sdk 0.9.12 → 0.9.13
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 +5 -7
- package/dist/{RenderedResult-CDiXJAh9.es.js → RenderedResult-DnBtf-cI.es.js} +2 -2
- package/dist/{RenderedResult-De51QvsZ.cjs.js → RenderedResult-DtQtNV0d.cjs.js} +1 -1
- package/dist/ServerProvider-BIFPCzTD.cjs.js +1 -0
- package/dist/{ServerProvider-RvKSbvnL.es.js → ServerProvider-BV7IoDMR.es.js} +805 -606
- package/dist/builder/index.cjs.js +72 -72
- package/dist/builder/index.es.js +4156 -4219
- package/dist/builder-entry.d.ts +1 -0
- package/dist/client/api.d.ts +178 -0
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +41 -37
- package/dist/components/Report/telemetry.d.ts +0 -5
- package/dist/components/ReportBuilder/BuilderBar.d.ts +1 -1
- package/dist/components/ReportBuilder/BuilderToolbar.d.ts +14 -10
- package/dist/components/ReportBuilder/EditorSurface.d.ts +1 -2
- package/dist/components/ReportBuilder/ReportBuilder.d.ts +3 -10
- package/dist/components/ReportBuilder/ReportEditor.d.ts +2 -9
- package/dist/components/ReportBuilder/SaveStatus.d.ts +16 -0
- package/dist/components/ReportBuilder/TileFrame.d.ts +9 -2
- package/dist/components/ReportBuilder/builderControls.d.ts +14 -6
- package/dist/components/ReportBuilder/useBuilderSession.d.ts +1 -1
- package/dist/components/ReportBuilder/useReportDraft.d.ts +6 -2
- package/dist/components/given/GivenInput.d.ts +18 -1
- package/dist/components/given/GivensPanel.d.ts +12 -1
- package/dist/components/given/useOptionSearch.d.ts +30 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useDocumentControls.d.ts +5 -0
- package/dist/hooks/useGivensState.d.ts +7 -0
- package/dist/hooks/useSuggestOptions.d.ts +60 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist/{useCompiledDocument-Bf4RSfB6.es.js → useCompiledDocument-B4QF1mIl.es.js} +6912 -6759
- package/dist/useCompiledDocument-D0OAMejE.cjs.js +142 -0
- package/package.json +1 -1
- package/src/builder-entry.ts +1 -0
- package/src/components/Report/ReportPage.tsx +5 -1
- package/src/components/Report/telemetry.ts +0 -6
- package/src/components/ReportBuilder/AddTileDialog.tsx +2 -2
- package/src/components/ReportBuilder/BuilderBar.tsx +5 -256
- package/src/components/ReportBuilder/BuilderHeader.tsx +9 -3
- package/src/components/ReportBuilder/BuilderToolbar.tsx +15 -38
- package/src/components/ReportBuilder/EditorSurface.tsx +0 -3
- package/src/components/ReportBuilder/FilterDialog.tsx +1 -1
- package/src/components/ReportBuilder/ReportBuilder.controls.spec.tsx +210 -24
- package/src/components/ReportBuilder/ReportBuilder.tsx +43 -85
- package/src/components/ReportBuilder/ReportEditor.package.spec.tsx +0 -36
- package/src/components/ReportBuilder/ReportEditor.tsx +2 -13
- package/src/components/ReportBuilder/SaveStatus.tsx +271 -0
- package/src/components/ReportBuilder/TileFrame.spec.ts +34 -0
- package/src/components/ReportBuilder/TileFrame.tsx +10 -3
- package/src/components/ReportBuilder/builderControls.ts +39 -13
- package/src/components/ReportBuilder/emptyStart.spec.ts +1 -1
- package/src/components/ReportBuilder/useReportDraft.ts +38 -4
- package/src/components/given/GivenInput.tsx +219 -104
- package/src/components/given/GivensPanel.spec.tsx +19 -0
- package/src/components/given/GivensPanel.tsx +31 -1
- package/src/components/given/useOptionSearch.spec.tsx +218 -0
- package/src/components/given/useOptionSearch.ts +100 -0
- package/src/hooks/index.ts +5 -1
- package/src/hooks/useDocumentControls.ts +12 -1
- package/src/hooks/useGivensState.spec.ts +54 -0
- package/src/hooks/useGivensState.ts +21 -1
- package/src/hooks/useSuggestOptions.dom.spec.ts +125 -4
- package/src/hooks/useSuggestOptions.spec.ts +73 -2
- package/src/hooks/useSuggestOptions.ts +234 -62
- package/dist/ServerProvider-DKrBcXL7.cjs.js +0 -1
- package/dist/useCompiledDocument-XsQz85Ri.cjs.js +0 -141
- package/src/components/ReportBuilder/ReportBuilder.layoutSwitch.spec.tsx +0 -145
package/dist/index.es.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsx as n, jsxs as C, Fragment as be } from "react/jsx-runtime";
|
|
|
2
2
|
import { Link as uu, useMediaQuery as du, Stack as Ve, Typography as te, Button as bt, Menu as pr, ListSubheader as hu, MenuItem as Un, Dialog as Mi, DialogTitle as Di, Box as ee, IconButton as Yt, DialogContent as Ei, DialogActions as fu, Alert as Ct, Tooltip as wn, TextField as Hn, Grid as ur, Paper as gi, FormControlLabel as Ls, Switch as _s, Divider as hr, List as qs, ListItemButton as Ws, ListItemText as Dn, TableContainer as mu, Table as xo, TableHead as So, TableRow as On, TableCell as Te, TableBody as Co, Snackbar as To, ListItemIcon as gr, Container as Ii, FormGroup as pu, Chip as gu, AlertTitle as yu, ButtonBase as bu, InputBase as vu, InputAdornment as wu, CircularProgress as ku, LinearProgress as xu } from "@mui/material";
|
|
3
3
|
import * as me from "react";
|
|
4
4
|
import Se, { useState as K, useCallback as st, useMemo as _e, useRef as Ot, useEffect as nt, useId as zs } from "react";
|
|
5
|
-
import { g as Ge, aY as Zo, aZ as Su, a_ as Cu, a$ as Tu, b0 as Ou, b1 as Mu, b2 as Du, b3 as $i, ab as Eu, b4 as Ni, a1 as Gr, b5 as Pi, ah as Fi, b6 as Vs, b7 as Iu, b8 as Oo, a6 as $u, ai as Nu, a9 as yi, ap as Pu, Q as Fu, H as Au, b9 as Ru, ak as Hs, al as Lu, an as _u, ao as qu, am as Wu, Y as Us, aq as Ai, W as Bs, T as Mo, P as fr, ac as rt, ba as Pe, aj as Pt, S as Qr, aK as Dt, bb as zu, bc as Vn, bd as La, be as js, bf as Vu, bg as Ko, bh as hn, bi as Zt, bj as fn, bk as Gt, bl as mn, bm as je, bn as Ri, bo as Ft, bp as _a, bq as Hu, br as Nt, bs as Uu, bt as Et, bu as dn, bv as Jr, j as vt, bw as Bu, bx as ju, by as Gu, bz as bo, bA as ze, bB as qa, bC as Yu, bD as Gs, bE as Li, bF as Ce, A as Ys, bG as Do, bH as pt, bI as Eo, bJ as Zu, bK as po, bL as Ku, bM as Xu, bN as Zs, bO as Qu, bP as sr, bQ as Ln, bR as Wa, bS as Xo, bT as yn, bU as za, bV as Va, bW as Ha, bX as Ju, bY as Ua, bZ as Ba, b_ as Qo, b$ as ed, c0 as Mn, c1 as td, c2 as nd, c3 as Ks, c4 as rd, c5 as ja, c6 as od, c7 as id, C as ad, c8 as Xs, c9 as sd, ca as Yr, cb as Zr, cc as ld, cd, ce as ud, cf as Io, ad as dd, cg as Qs, ax as bi, ch as Js, aX as hd, n as Jo, aN as fd, aU as md, ci as pd, aR as gd, h as el, r as Ga, V as yd, aD as _i, aO as bd, cj as vd, aG as tl, as as nl, ag as wd, aP as kd, aA as xd, p as Sd, aF as $o, ck as Cd, cl as Td, cm as vo, cn as rl, co as Od, au as Md, N as Ya, cp as Dd, O as Ed, cq as Id, cr as $d, cs as Za } from "./useCompiledDocument-
|
|
6
|
-
import { ct as Hg, cu as Ug, cv as Bg, M as jg, cw as Gg, cx as Yg, cy as Zg, cz as Kg, cA as Xg, cB as Qg, U as Jg, c as ey, aL as ty, f as ny, o as ry, af as oy, cC as iy, cD as ay, cE as sy, cF as ly, aa as cy, cG as uy, m as dy, cH as hy, q as fy, d as my, aI as py, cI as gy, cJ as yy, cK as by, a as vy, a0 as wy, ae as ky, cL as xy, cM as Sy, cN as Cy, cO as Ty, cP as Oy, cQ as My, cR as Dy } from "./useCompiledDocument-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { g as Ge, aY as Zo, aZ as Su, a_ as Cu, a$ as Tu, b0 as Ou, b1 as Mu, b2 as Du, b3 as $i, ab as Eu, b4 as Ni, a1 as Gr, b5 as Pi, ah as Fi, b6 as Vs, b7 as Iu, b8 as Oo, a6 as $u, ai as Nu, a9 as yi, ap as Pu, Q as Fu, H as Au, b9 as Ru, ak as Hs, al as Lu, an as _u, ao as qu, am as Wu, Y as Us, aq as Ai, W as Bs, T as Mo, P as fr, ac as rt, ba as Pe, aj as Pt, S as Qr, aK as Dt, bb as zu, bc as Vn, bd as La, be as js, bf as Vu, bg as Ko, bh as hn, bi as Zt, bj as fn, bk as Gt, bl as mn, bm as je, bn as Ri, bo as Ft, bp as _a, bq as Hu, br as Nt, bs as Uu, bt as Et, bu as dn, bv as Jr, j as vt, bw as Bu, bx as ju, by as Gu, bz as bo, bA as ze, bB as qa, bC as Yu, bD as Gs, bE as Li, bF as Ce, A as Ys, bG as Do, bH as pt, bI as Eo, bJ as Zu, bK as po, bL as Ku, bM as Xu, bN as Zs, bO as Qu, bP as sr, bQ as Ln, bR as Wa, bS as Xo, bT as yn, bU as za, bV as Va, bW as Ha, bX as Ju, bY as Ua, bZ as Ba, b_ as Qo, b$ as ed, c0 as Mn, c1 as td, c2 as nd, c3 as Ks, c4 as rd, c5 as ja, c6 as od, c7 as id, C as ad, c8 as Xs, c9 as sd, ca as Yr, cb as Zr, cc as ld, cd, ce as ud, cf as Io, ad as dd, cg as Qs, ax as bi, ch as Js, aX as hd, n as Jo, aN as fd, aU as md, ci as pd, aR as gd, h as el, r as Ga, V as yd, aD as _i, aO as bd, cj as vd, aG as tl, as as nl, ag as wd, aP as kd, aA as xd, p as Sd, aF as $o, ck as Cd, cl as Td, cm as vo, cn as rl, co as Od, au as Md, N as Ya, cp as Dd, O as Ed, cq as Id, cr as $d, cs as Za } from "./useCompiledDocument-B4QF1mIl.es.js";
|
|
6
|
+
import { ct as Hg, cu as Ug, cv as Bg, M as jg, cw as Gg, cx as Yg, cy as Zg, cz as Kg, cA as Xg, cB as Qg, U as Jg, c as ey, aL as ty, f as ny, o as ry, af as oy, cC as iy, cD as ay, cE as sy, cF as ly, aa as cy, cG as uy, m as dy, cH as hy, q as fy, d as my, aI as py, cI as gy, cJ as yy, cK as by, a as vy, a0 as wy, ae as ky, cL as xy, cM as Sy, cN as Cy, cO as Ty, cP as Oy, cQ as My, cR as Dy } from "./useCompiledDocument-B4QF1mIl.es.js";
|
|
7
|
+
import { b8 as yr, b9 as qe, bd as mt, m as Ka, d as ol, be as qi, a2 as Mt, ao as fo, a1 as Nd, bf as il, bg as al, bh as Pd, bi as sl, bj as Fd, bk as Ad, bl as _n } from "./ServerProvider-BV7IoDMR.es.js";
|
|
8
|
+
import { bm as Iy, bc as $y, aS as Ny, bn as Py, bo as Fy, bp as Ay, bq as Ry, br as Ly, bb as _y } from "./ServerProvider-BV7IoDMR.es.js";
|
|
9
9
|
import { useQueryClient as No } from "@tanstack/react-query";
|
|
10
10
|
import { createBox as Rd, createStack as Ld, Stack as _d, Box as ll } from "@mui/system";
|
|
11
11
|
import { Delete as Po, Edit as Wi, MoreVert as Fo } from "@mui/icons-material";
|
|
12
12
|
import { h as qd, k as Xa, n as Wd } from "./text-entry-72YFLeNk.es.js";
|
|
13
|
-
import { D as Wy, R as zy, b as Vy, a as Hy, d as Uy, m as By, r as jy } from "./RenderedResult-
|
|
13
|
+
import { D as Wy, R as zy, b as Vy, a as Hy, d as Uy, m as By, r as jy } from "./RenderedResult-DnBtf-cI.es.js";
|
|
14
14
|
import { useNavigate as cl, useSearchParams as zd, useLocation as Vd } from "react-router-dom";
|
|
15
15
|
const Hd = Ge(/* @__PURE__ */ n("path", {
|
|
16
16
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|