react-semaphor 0.1.381 → 0.1.382

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.
Files changed (74) hide show
  1. package/DATA_APP_SDK.md +238 -0
  2. package/README.md +7 -0
  3. package/dist/analytics-protocol/index.cjs +1 -1
  4. package/dist/analytics-protocol/index.js +45 -41
  5. package/dist/brand-studio/index.cjs +1 -1
  6. package/dist/brand-studio/index.js +6 -6
  7. package/dist/chunks/analyze-result-contract-CtXfp3nv.js +1 -0
  8. package/dist/chunks/analyze-result-contract-DuhlklhI.js +102 -0
  9. package/dist/chunks/{braces-BT-ZyB-g.js → braces-CGi-YFZp.js} +1 -1
  10. package/dist/chunks/{braces-DOxxfERN.js → braces-CP8BEzl3.js} +1 -1
  11. package/dist/chunks/{calendar-preferences-dialog-Dsgs8WDv.js → calendar-preferences-dialog-CV4xF2Tp.js} +3 -3
  12. package/dist/chunks/{calendar-preferences-dialog-iZs8XqyH.js → calendar-preferences-dialog-rDDobeLo.js} +1 -1
  13. package/dist/chunks/catalog-field-grounding-Bnx-3tE0.js +1 -0
  14. package/dist/chunks/catalog-field-grounding-CJKAqtiC.js +100 -0
  15. package/dist/chunks/{dashboard-briefing-launcher-Coks66cV.js → dashboard-briefing-launcher-BT00MvGB.js} +5 -5
  16. package/dist/chunks/{dashboard-briefing-launcher-B5vPTl8P.js → dashboard-briefing-launcher-Dcbh-mjY.js} +1 -1
  17. package/dist/chunks/{dashboard-controls-BfkcnIdy.js → dashboard-controls-B6y7jkKO.js} +8 -8
  18. package/dist/chunks/{dashboard-controls-Dyqye6fh.js → dashboard-controls-CRqnPibB.js} +1 -1
  19. package/dist/chunks/{dashboard-json-DjXi4cI6.js → dashboard-json-CfIUG8k1.js} +3 -3
  20. package/dist/chunks/{dashboard-json-CV_LnO9x.js → dashboard-json-DEQqRR1x.js} +1 -1
  21. package/dist/chunks/{edit-dashboard-visual-DOW1Ap1N.js → edit-dashboard-visual-DMbf89xa.js} +5 -5
  22. package/dist/chunks/{edit-dashboard-visual-yinO0yU-.js → edit-dashboard-visual-wDOcHak3.js} +1 -1
  23. package/dist/chunks/{index-DlprYjr6.js → index-BAsWLkZ8.js} +169 -168
  24. package/dist/chunks/{index-CkoRCh3g.js → index-CrKxP9uF.js} +5 -5
  25. package/dist/chunks/{layout-grid-DTbOIOsE.js → layout-grid-BsKH3TgY.js} +1 -1
  26. package/dist/chunks/{layout-grid-DccceHv4.js → layout-grid-jJQUqDN9.js} +1 -1
  27. package/dist/chunks/operators-C8TxpM4C.js +48 -0
  28. package/dist/chunks/operators-DrTQsJXv.js +1 -0
  29. package/dist/chunks/{palette-SimHJELn.js → palette-9zLPGlj2.js} +1 -1
  30. package/dist/chunks/{palette-DCzLwqIw.js → palette-xU9Qt6bE.js} +1 -1
  31. package/dist/chunks/{save-D2O96E5A.js → save-8A_q6K4E.js} +1 -1
  32. package/dist/chunks/{save-zNVYH02T.js → save-DzciESDh.js} +1 -1
  33. package/dist/chunks/{source-identity-Dj3dryN9.js → source-identity-CN4xiyKJ.js} +5 -5
  34. package/dist/chunks/{switch-DMPsMpHW.js → switch-DArtNJZh.js} +292 -291
  35. package/dist/chunks/{switch-Jhyl63RF.js → switch-k7kj6NRg.js} +1 -1
  36. package/dist/chunks/{use-create-flow-overlay-state-r5JKyXU8.js → use-create-flow-overlay-state-BdG1DiSx.js} +4 -4
  37. package/dist/chunks/{use-create-flow-overlay-state-NsqFPwdB.js → use-create-flow-overlay-state-ipeaE65_.js} +1 -1
  38. package/dist/chunks/{validators-CtNmgsvG.js → validators-CHPH6ORs.js} +641 -498
  39. package/dist/chunks/validators-lWo8m0Q7.js +1 -0
  40. package/dist/dashboard/index.cjs +1 -1
  41. package/dist/dashboard/index.js +1 -1
  42. package/dist/dashboard-authoring/index.cjs +3 -3
  43. package/dist/dashboard-authoring/index.js +105 -92
  44. package/dist/data-app-builder/index.cjs +1 -1
  45. package/dist/data-app-builder/index.js +3 -3
  46. package/dist/data-app-sdk/index.cjs +1 -1
  47. package/dist/data-app-sdk/index.js +444 -380
  48. package/dist/data-app-sdk-adapters/index.cjs +1 -0
  49. package/dist/data-app-sdk-adapters/index.js +383 -0
  50. package/dist/data-app-sdk-validation/index.cjs +1 -1
  51. package/dist/data-app-sdk-validation/index.js +1073 -6
  52. package/dist/index.cjs +1 -1
  53. package/dist/index.js +7 -7
  54. package/dist/surfboard/index.cjs +1 -1
  55. package/dist/surfboard/index.js +2 -2
  56. package/dist/types/analytics-protocol.d.ts +58 -31
  57. package/dist/types/dashboard-assistant.d.ts +40 -15
  58. package/dist/types/dashboard-authoring.d.ts +36 -16
  59. package/dist/types/dashboard.d.ts +8 -8
  60. package/dist/types/data-app-builder.d.ts +35 -11
  61. package/dist/types/data-app-sdk-adapters.d.ts +733 -0
  62. package/dist/types/data-app-sdk-validation.d.ts +85 -25
  63. package/dist/types/data-app-sdk.d.ts +99 -155
  64. package/dist/types/main.d.ts +35 -11
  65. package/dist/types/shared.d.ts +8 -8
  66. package/dist/types/surfboard.d.ts +8 -8
  67. package/dist/types/types.d.ts +8 -8
  68. package/package.json +9 -2
  69. package/src/data-app-sdk/README.md +240 -0
  70. package/dist/chunks/catalog-field-grounding-8L9I0zdg.js +0 -1
  71. package/dist/chunks/catalog-field-grounding-BK4BX8sZ.js +0 -200
  72. package/dist/chunks/validation-BM3-ShHV.js +0 -1003
  73. package/dist/chunks/validation-BVpqRFar.js +0 -1
  74. package/dist/chunks/validators-jpoYhpHh.js +0 -1
@@ -19,17 +19,18 @@ import * as J from "react";
19
19
  import ae, { createContext as Sr, useContext as Fn, useState as ee, useMemo as Q, useEffect as we, useCallback as pe, useRef as Pe, forwardRef as Ii, isValidElement as sg, memo as ds, useLayoutEffect as la, Component as LY, createElement as Lo, Suspense as rc, cloneElement as kO, Fragment as Qx, useId as Ic, useSyncExternalStore as _S, useTransition as Ppe, useReducer as Fpe, Children as Ope, startTransition as $Y, useImperativeHandle as zY, lazy as Vk } from "react";
20
20
  import * as PA from "react-dom";
21
21
  import Jx, { flushSync as au, createPortal as Bm, unstable_batchedUpdates as T1 } from "react-dom";
22
- import { bC as su, bD as ew, bE as FA, E as Sn, bF as Bk, bG as VY, u as te, bH as Lpe, bk as Gn, b3 as Pa, bI as Yz, bJ as $pe, bK as zpe, bL as Vpe, aF as Bpe, bM as jpe, r as Is, a as X, c as nt, X as dn, bN as Tu, bO as _l, bP as en, bQ as lo, bR as IO, bS as Hs, bT as TO, bU as $n, bV as jk, bW as Hk, bX as BY, bY as jY, bZ as HY, b_ as UY, b$ as EO, c0 as DO, c1 as qY, c2 as WY, c3 as YY, c4 as Hpe, aA as MO, c5 as Uk, c6 as AO, c7 as ca, c8 as GY, c9 as kl, ca as bc, e as ur, B as Ae, f as Gr, cb as RO, by as Ou, cc as tw, aD as qk, aE as si, cd as Qr, ce as Upe, g as fa, Q as Ja, aC as Wd, cf as bN, P as dr, b as vr, d as xr, aM as qpe, cg as Wpe, aN as Ype, ch as nw, L as ct, a0 as Bt, aI as go, bh as Gpe, ci as Kpe, cj as KY, ck as Zpe, cl as yN, cm as OA, cn as bb, co as yb, cp as Gz, cq as Xpe, cr as ZY, cs as XY, ct as Qpe, cu as Jpe, cv as ege, cw as tge, aV as Eu, aJ as rw, bt as PO, G as it, aO as or, ay as FO, cx as LA, bj as QY, br as Rs, bs as al, cy as nge, cz as rge, H as yo, cA as JY, cB as vN, cC as eG, cD as tG, aG as Wk, cE as Yk, cF as OO, cG as LO, bv as Lu, cH as nG, bu as $u, cI as oge, cJ as $O, bw as zO, cK as ige, bf as FE, aP as es, cL as bh, cM as im, y as age, V as Ga, a1 as qt, a2 as Wt, a3 as Gt, a4 as Yt, a5 as Ye, cN as rG, cO as sge, aU as jm, cP as lge, cQ as Di, be as qo, bc as cge, bd as uge, S as Lg, cR as VO, cS as oG, cT as iG, cU as aG, cV as xN, W as bo, Y as kr, Z as Ir, _ as io, $ as qr, cW as dge, b4 as sG, cX as lG, cY as fge, cZ as hge, c_ as mge, T as zu, I as Vu, J as Ci, M as Od, K as Du, bA as xd, bB as lu, c$ as Y0, d0 as kS, d1 as IS, d2 as G0, d3 as Xf, d4 as Qf, d5 as Js, d6 as TS, d7 as ES, d8 as K0, d9 as $A, da as zA, db as VA, dc as cG, n as yl, m as Yd, dd as pge, de as m0, df as gge, dg as uG, dh as OE, di as LE, dj as bge, dk as yge, dl as vge, dm as xge, dn as wge, dp as Cge, dq as BO, aL as Sge, dr as Nge, ds as _ge, dt as dG, du as fG, C as Gk, aW as hG, dv as kge, dw as Ige, b2 as mG, dx as Tge, aB as Ege, dy as Dge, dz as pG, b5 as gG, dA as Mge, b8 as wd, dB as Mv, b9 as jO, dC as bG, dD as Sy, bi as Kz, dE as yG, dF as Age, dG as Rge, dH as Pge, dI as vG, dJ as Zz, dK as xG, dL as ld, dM as wG, dN as CG, dO as HO, a6 as yc, dP as Fge, dQ as Oge, bn as Kk, aH as Z0, aR as UO, N as qO, A as Lge, dR as $ge, dS as zge, O as BA, dT as Vge, dU as Xz, dV as Qz, dW as SG, dX as Bge, dY as jge, dZ as Hge, d_ as Uge, d$ as qge, e0 as Wge, e1 as Yge, e2 as Gge, e3 as Kge, w as jA, q as NG, p as _G, l as Zge, k as Jz, e4 as HA, e5 as Xge, e6 as Qge, e7 as Jge, e8 as ebe, e9 as tbe, ea as Ld, eb as WO, ec as Xl, bx as nbe, ed as rbe, ee as kG, ef as obe, am as YO, eg as GO, ah as Zk, ai as ibe, ak as IG, eh as abe, al as $E, ei as sbe, ej as lbe, ek as cbe, aZ as ube, a_ as dbe, as as fbe, aa as TG, el as Pl, ad as hbe, af as EG, ae as zE, ar as DG, an as MG, at as UA, aw as e6, av as mbe, ag as AG, em as qA, en as Cd, R as t6, eo as RG, ep as E1, eq as pbe, er as KO, es as WA, et as gbe, eu as Av, aS as bbe, ev as ybe, a8 as vbe, az as xbe, U as ZO, ew as wbe, bo as vb, bp as PG, bq as FG, ex as OG, ey as XO, ez as QO, bm as LG, b6 as Cbe, eA as Sbe, eB as Nbe, eC as _be, eD as kbe, eE as Ibe, eF as $G } from "./switch-DMPsMpHW.js";
22
+ import { bC as su, bD as ew, bE as FA, E as Sn, bF as Bk, bG as VY, u as te, bH as Lpe, bk as Gn, b3 as Pa, bI as Yz, bJ as $pe, bK as zpe, bL as Vpe, aF as Bpe, bM as jpe, r as Is, a as X, c as nt, X as dn, bN as Tu, bO as _l, bP as en, bQ as lo, bR as IO, bS as Hs, bT as TO, bU as $n, bV as jk, bW as Hk, bX as BY, bY as jY, bZ as HY, b_ as UY, b$ as EO, c0 as DO, c1 as qY, c2 as WY, c3 as YY, c4 as Hpe, aA as MO, c5 as Uk, c6 as AO, c7 as ca, c8 as GY, c9 as kl, ca as bc, e as ur, B as Ae, f as Gr, cb as RO, by as Ou, cc as tw, aD as qk, aE as si, cd as Qr, ce as Upe, g as fa, Q as Ja, aC as Wd, cf as bN, P as dr, b as vr, d as xr, aM as qpe, cg as Wpe, aN as Ype, ch as nw, L as ct, a0 as Bt, aI as go, bh as Gpe, ci as Kpe, cj as KY, ck as Zpe, cl as yN, cm as OA, cn as bb, co as yb, cp as Gz, cq as Xpe, cr as ZY, cs as XY, ct as Qpe, cu as Jpe, cv as ege, cw as tge, aV as Eu, aJ as rw, bt as PO, G as it, aO as or, ay as FO, cx as LA, bj as QY, br as Rs, bs as al, cy as nge, cz as rge, H as yo, cA as JY, cB as vN, cC as eG, cD as tG, aG as Wk, cE as Yk, cF as OO, cG as LO, bv as Lu, cH as nG, bu as $u, cI as oge, cJ as $O, bw as zO, cK as ige, bf as FE, aP as es, cL as bh, cM as im, y as age, V as Ga, a1 as qt, a2 as Wt, a3 as Gt, a4 as Yt, a5 as Ye, cN as rG, cO as sge, aU as jm, cP as lge, cQ as Di, be as qo, bc as cge, bd as uge, S as Lg, cR as VO, cS as oG, cT as iG, cU as aG, cV as xN, W as bo, Y as kr, Z as Ir, _ as io, $ as qr, cW as dge, b4 as sG, cX as lG, cY as fge, cZ as hge, c_ as mge, T as zu, I as Vu, J as Ci, M as Od, K as Du, bA as xd, bB as lu, c$ as Y0, d0 as kS, d1 as IS, d2 as G0, d3 as Xf, d4 as Qf, d5 as Js, d6 as TS, d7 as ES, d8 as K0, d9 as $A, da as zA, db as VA, dc as cG, n as yl, m as Yd, dd as pge, de as m0, df as gge, dg as uG, dh as OE, di as LE, dj as bge, dk as yge, dl as vge, dm as xge, dn as wge, dp as Cge, dq as BO, aL as Sge, dr as Nge, ds as _ge, dt as dG, du as fG, C as Gk, aW as hG, dv as kge, dw as Ige, b2 as mG, dx as Tge, aB as Ege, dy as Dge, dz as pG, b5 as gG, dA as Mge, b8 as wd, dB as Mv, b9 as jO, dC as bG, dD as Sy, bi as Kz, dE as yG, dF as Age, dG as Rge, dH as Pge, dI as vG, dJ as Zz, dK as xG, dL as ld, dM as wG, dN as CG, dO as HO, a6 as yc, dP as Fge, dQ as Oge, bn as Kk, aH as Z0, aR as UO, N as qO, A as Lge, dR as $ge, dS as zge, O as BA, dT as Vge, dU as Xz, dV as Qz, dW as SG, dX as Bge, dY as jge, dZ as Hge, d_ as Uge, d$ as qge, e0 as Wge, e1 as Yge, e2 as Gge, e3 as Kge, w as jA, q as NG, p as _G, l as Zge, k as Jz, e4 as HA, e5 as Xge, e6 as Qge, e7 as Jge, e8 as ebe, e9 as tbe, ea as Ld, eb as WO, ec as Xl, bx as nbe, ed as rbe, ee as kG, ef as obe, am as YO, eg as GO, ah as Zk, ai as ibe, ak as IG, eh as abe, al as $E, ei as sbe, ej as lbe, ek as cbe, aZ as ube, a_ as dbe, as as fbe, aa as TG, el as Pl, ad as hbe, af as EG, ae as zE, ar as DG, an as MG, at as UA, aw as e6, av as mbe, ag as AG, em as qA, en as Cd, R as t6, eo as RG, ep as E1, eq as pbe, er as KO, es as WA, et as gbe, eu as Av, aS as bbe, ev as ybe, a8 as vbe, az as xbe, U as ZO, ew as wbe, bo as vb, bp as PG, bq as FG, ex as OG, ey as XO, ez as QO, bm as LG, b6 as Cbe, eA as Sbe, eB as Nbe, eC as _be, eD as kbe, eE as Ibe, eF as $G } from "./switch-DArtNJZh.js";
23
23
  import { j as Tbe } from "./index-CuHybtft.js";
24
- import { c as Ebe } from "./catalog-field-grounding-BK4BX8sZ.js";
25
- import { c as ow, d as Dbe, A as Mbe, r as zG } from "./index-CJdxSyQq.js";
26
- import { createRoot as Abe } from "react-dom/client";
27
- import { DEFAULT_SEMANTIC_DOMAIN_ACCESS as Rbe } from "../types/index.js";
28
- import { i as Pbe, g as Fbe, c as YA, d as Obe, f as pf, a as iw, b as Hm, j as lg } from "./date-formatter-CzcPZx39.js";
29
- import { t as JO, c as Lbe, j as e5, k as VG, f as Ur, i as $be, h as n6, d as BG } from "./index-DFOb_6HB.js";
24
+ import "./analyze-result-contract-DuhlklhI.js";
25
+ import { c as ow, d as Ebe, A as Dbe, r as zG } from "./index-CJdxSyQq.js";
26
+ import { createRoot as Mbe } from "react-dom/client";
27
+ import { DEFAULT_SEMANTIC_DOMAIN_ACCESS as Abe } from "../types/index.js";
28
+ import { i as Rbe, g as Pbe, c as YA, d as Fbe, f as pf, a as iw, b as Hm, j as lg } from "./date-formatter-CzcPZx39.js";
29
+ import { t as JO, c as Obe, j as e5, k as VG, f as Ur, i as Lbe, h as n6, d as BG } from "./index-DFOb_6HB.js";
30
30
  import { a as ts, b as r6 } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
31
- import { a as os, c as o6, C as $d, i as jG, b as zbe, d as Vbe } from "./common-types-4bjoIgvm.js";
32
- import { a as Bbe } from "./source-identity-Dj3dryN9.js";
31
+ import { a as os, c as o6, C as $d, i as jG, b as $be, d as zbe } from "./common-types-4bjoIgvm.js";
32
+ import { b as Vbe } from "./catalog-field-grounding-CJKAqtiC.js";
33
+ import { b as Bbe } from "./source-identity-CN4xiyKJ.js";
33
34
  import { isDashboardAssistantVisualToolPartType as HG } from "../dashboard-assistant/index.js";
34
35
  import { D as jbe } from "./contracts-CoCOpd_i.js";
35
36
  import { createFrameLayouts as Hbe } from "../layouts/index.js";
@@ -39,7 +40,7 @@ result = df.to_dict('records') # must return 'result' as [dict] type
39
40
  `;
40
41
  function Ube(e, t) {
41
42
  const n = +JO(e);
42
- return Lbe(e, n + t);
43
+ return Obe(e, n + t);
43
44
  }
44
45
  function wN(e, t) {
45
46
  return Ube(e, t * e5);
@@ -3236,7 +3237,7 @@ const Ui = Bk()(
3236
3237
  }
3237
3238
  }
3238
3239
  }))
3239
- ), Nkt = () => Ui((e) => e.selectedVisual), wb = () => Ui((e) => e.actions);
3240
+ ), _kt = () => Ui((e) => e.selectedVisual), wb = () => Ui((e) => e.actions);
3240
3241
  function Qk() {
3241
3242
  const {
3242
3243
  authToken: e,
@@ -6395,7 +6396,7 @@ var Hxe = "DropdownMenuSubContent", CZ = J.forwardRef((e, t) => {
6395
6396
  });
6396
6397
  CZ.displayName = Hxe;
6397
6398
  var Uxe = lZ, qxe = uZ, Wxe = dZ, SZ = hZ, NZ = mZ, _Z = pZ, kZ = gZ, Yxe = bZ, IZ = yZ, TZ = vZ, EZ = xZ, Gxe = Bxe, DZ = wZ, MZ = CZ;
6398
- const Wi = Uxe, Yi = qxe, AZ = Gxe, _kt = Yxe, S5 = J.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ C(
6399
+ const Wi = Uxe, Yi = qxe, AZ = Gxe, kkt = Yxe, S5 = J.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ C(
6399
6400
  DZ,
6400
6401
  {
6401
6402
  ref: o,
@@ -7526,14 +7527,14 @@ function Ywe(e, t) {
7526
7527
  t
7527
7528
  );
7528
7529
  }
7529
- function Ikt(e, t) {
7530
+ function Tkt(e, t) {
7530
7531
  return zZ(
7531
7532
  Oo.VISUAL,
7532
7533
  e,
7533
7534
  t
7534
7535
  );
7535
7536
  }
7536
- function Tkt(e) {
7537
+ function Ekt(e) {
7537
7538
  const { authToken: t, tokenProps: n } = Et(), r = jo();
7538
7539
  return ua({
7539
7540
  mutationFn: (o) => si(
@@ -7551,7 +7552,7 @@ function Tkt(e) {
7551
7552
  }
7552
7553
  });
7553
7554
  }
7554
- function Ekt() {
7555
+ function Dkt() {
7555
7556
  const { authToken: e, tokenProps: t } = Et(), n = jo();
7556
7557
  return ua({
7557
7558
  mutationFn: async ({
@@ -8082,7 +8083,7 @@ function oX(e) {
8082
8083
  const h = y1e(f);
8083
8084
  h && n.add(h);
8084
8085
  };
8085
- return t && (r(t.source), t.kind === "metric" && ((o = t.metrics) == null || o.forEach((f) => r(f.source)), r((i = t.primaryMetric) == null ? void 0 : i.source), (a = t.dimensions) == null || a.forEach((f) => r(f.source)), r((s = t.dateField) == null ? void 0 : s.source), (l = t.filters) == null || l.forEach((f) => r(f.field.source))), t.kind === "records" && ((c = t.fields) == null || c.forEach((f) => r(f.source)), r((u = t.dateField) == null ? void 0 : u.source))), n;
8086
+ return t && (r(t.source), t.kind === "metric" && ((o = t.measures) == null || o.forEach((f) => r(f.source)), r((i = t.primaryMeasure) == null ? void 0 : i.source), (a = t.dimensions) == null || a.forEach((f) => r(f.source)), r((s = t.dateField) == null ? void 0 : s.source), (l = t.filters) == null || l.forEach((f) => r(f.field.source))), t.kind === "records" && ((c = t.fields) == null || c.forEach((f) => r(f.source)), r((u = t.dateField) == null ? void 0 : u.source))), n;
8086
8087
  }
8087
8088
  function v1e(e) {
8088
8089
  var i;
@@ -9217,7 +9218,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
9217
9218
  ) || console.warn(t);
9218
9219
  }, [t, e]), null;
9219
9220
  }, H1e = aX, U1e = sX, q1e = lX, yX = cX, vX = uX, xX = pX, wX = bX, CX = fX, SX = mX;
9220
- const Ib = H1e, Dkt = U1e, W1e = q1e, NX = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
9221
+ const Ib = H1e, Mkt = U1e, W1e = q1e, NX = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
9221
9222
  yX,
9222
9223
  {
9223
9224
  className: X(
@@ -9377,7 +9378,7 @@ function Z1e(e = {}) {
9377
9378
  refetch: o.refetch
9378
9379
  };
9379
9380
  }
9380
- function Mkt(e) {
9381
+ function Akt(e) {
9381
9382
  const { authToken: t, tokenProps: n } = Et(), r = (n == null ? void 0 : n.endUserId) || (n == null ? void 0 : n.orgUserId);
9382
9383
  return ar({
9383
9384
  queryKey: ["group-members", e],
@@ -11153,7 +11154,7 @@ function F6(e, t = {}) {
11153
11154
  return n;
11154
11155
  }
11155
11156
  function ky(e) {
11156
- return e ? Dbe(e) : void 0;
11157
+ return e ? Ebe(e) : void 0;
11157
11158
  }
11158
11159
  function VCe(e) {
11159
11160
  return `${Number((e / 16).toFixed(4))}rem`;
@@ -11552,22 +11553,22 @@ function ZCe(e) {
11552
11553
  // as these are viewing preferences, not data modifications
11553
11554
  };
11554
11555
  }
11555
- function Akt(e) {
11556
- return e ? e.type === "organization" ? !0 : e.type === "tenant" ? hw(e.role) : !1 : !1;
11557
- }
11558
11556
  function Rkt(e) {
11559
11557
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? hw(e.role) : !1 : !1;
11560
11558
  }
11561
11559
  function Pkt(e) {
11560
+ return e ? e.type === "organization" ? !0 : e.type === "tenant" ? hw(e.role) : !1 : !1;
11561
+ }
11562
+ function Fkt(e) {
11562
11563
  return !!e;
11563
11564
  }
11564
11565
  function XCe(e) {
11565
11566
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? hw(e.role) : !1 : !1;
11566
11567
  }
11567
- function Fkt(e) {
11568
+ function Okt(e) {
11568
11569
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? hw(e.role) : !1 : !1;
11569
11570
  }
11570
- function Okt(e) {
11571
+ function Lkt(e) {
11571
11572
  var t;
11572
11573
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? ((t = e.role) == null ? void 0 : t.toUpperCase()) === "POWER_USER" : !1 : !1;
11573
11574
  }
@@ -12153,7 +12154,7 @@ const A5 = Bk()(
12153
12154
  )
12154
12155
  }
12155
12156
  }))
12156
- ), lSe = () => A5((e) => e.actions), Lkt = () => A5((e) => e.activeExports), $kt = () => A5((e) => Array.from(e.activeExports.values()).filter(
12157
+ ), lSe = () => A5((e) => e.actions), $kt = () => A5((e) => e.activeExports), zkt = () => A5((e) => Array.from(e.activeExports.values()).filter(
12157
12158
  (n) => ["pending", "processing", "chunking", "compacting"].includes(n.status)
12158
12159
  ).length);
12159
12160
  function cSe() {
@@ -17523,7 +17524,7 @@ function Tke(e) {
17523
17524
  return t === "date" || t === "datetime" ? "date" : "dimension";
17524
17525
  }
17525
17526
  function DQ(e) {
17526
- const t = Ebe(e);
17527
+ const t = Vbe(e);
17527
17528
  return t === "string" || t === "number" || t === "boolean" || t === "date" || t === "datetime" ? t : "unknown";
17528
17529
  }
17529
17530
  function d2(e) {
@@ -18156,7 +18157,7 @@ function Xke(e, t) {
18156
18157
  n
18157
18158
  ) || null;
18158
18159
  }
18159
- function Bkt(e, t) {
18160
+ function jkt(e, t) {
18160
18161
  var n;
18161
18162
  if (!e || !t)
18162
18163
  return null;
@@ -18265,7 +18266,7 @@ function xw(e) {
18265
18266
  function iIe() {
18266
18267
  return typeof globalThis < "u" && globalThis.crypto && typeof globalThis.crypto.randomUUID == "function" ? `global-date-filter:${globalThis.crypto.randomUUID()}` : `global-date-filter:${Date.now().toString(36)}:${Math.random().toString(36).slice(2)}`;
18267
18268
  }
18268
- function jkt() {
18269
+ function Hkt() {
18269
18270
  return {
18270
18271
  kind: "global-date",
18271
18272
  id: iIe(),
@@ -18280,7 +18281,7 @@ function jkt() {
18280
18281
  toolbarWidth: 220
18281
18282
  };
18282
18283
  }
18283
- function Hkt(e, t) {
18284
+ function Ukt(e, t) {
18284
18285
  const n = e ? rw(e) : [], r = n.filter(
18285
18286
  (o) => yw({
18286
18287
  card: o,
@@ -19423,7 +19424,7 @@ function Cw(e) {
19423
19424
  var t, n, r, o;
19424
19425
  return ((o = (r = (n = (t = e.preferences) == null ? void 0 : t.tablePrefs) == null ? void 0 : n.tableStyle) == null ? void 0 : r.totals) == null ? void 0 : o.enabled) === !0;
19425
19426
  }
19426
- function Ukt(e) {
19427
+ function qkt(e) {
19427
19428
  return ww(e) ? Cw(e) : !1;
19428
19429
  }
19429
19430
  function JIe(e) {
@@ -19939,7 +19940,7 @@ function v8(e, t, n) {
19939
19940
  const r = Eb();
19940
19941
  return r[t % r.length];
19941
19942
  }
19942
- function qkt(e, t) {
19943
+ function Wkt(e, t) {
19943
19944
  const n = Eb(), r = n[t % n.length];
19944
19945
  return e === r;
19945
19946
  }
@@ -22188,7 +22189,7 @@ function jJ(e, t = {}) {
22188
22189
  );
22189
22190
  }
22190
22191
  function HJ(e, t = {}) {
22191
- return Obe(e, {
22192
+ return Fbe(e, {
22192
22193
  ...BN(t, {
22193
22194
  min: 2,
22194
22195
  max: 2
@@ -22222,13 +22223,13 @@ function sEe(e, t = {}) {
22222
22223
  }
22223
22224
  }
22224
22225
  function lEe(e, t = {}) {
22225
- return Fbe(
22226
+ return Pbe(
22226
22227
  e,
22227
22228
  BN(t, { min: 2, max: 2 })
22228
22229
  );
22229
22230
  }
22230
22231
  function cEe(e, t = {}) {
22231
- return Pbe(e, {
22232
+ return Rbe(e, {
22232
22233
  inputUnit: t.durationInputUnit,
22233
22234
  outputStyle: t.durationDisplayStyle,
22234
22235
  largestUnit: t.durationLargestUnit,
@@ -23470,7 +23471,7 @@ function Nf(e) {
23470
23471
  };
23471
23472
  }
23472
23473
  }
23473
- function Wkt(e) {
23474
+ function Ykt(e) {
23474
23475
  var t, n, r, o, i, a, s, l, c, u, f, h, m, p, g, b, y, x;
23475
23476
  return !e || ((r = (n = (t = e == null ? void 0 : e.scales) == null ? void 0 : t.x) == null ? void 0 : n.grid) == null ? void 0 : r.display) === !0 && ((a = (i = (o = e == null ? void 0 : e.scales) == null ? void 0 : o.y) == null ? void 0 : i.grid) == null ? void 0 : a.display) === !0 ? "xy" : (c = (l = (s = e.scales) == null ? void 0 : s.x) == null ? void 0 : l.grid) != null && c.display ? "x" : (h = (f = (u = e.scales) == null ? void 0 : u.y) == null ? void 0 : f.grid) != null && h.display ? "y" : ((g = (p = (m = e.scales) == null ? void 0 : m.x) == null ? void 0 : p.grid) == null ? void 0 : g.display) === !1 && ((x = (y = (b = e.scales) == null ? void 0 : b.y) == null ? void 0 : y.grid) == null ? void 0 : x.display) === !1 ? "none" : "xy";
23476
23477
  }
@@ -40886,7 +40887,7 @@ function tLe(e, t) {
40886
40887
  return !0;
40887
40888
  });
40888
40889
  }
40889
- function Kkt(e) {
40890
+ function Zkt(e) {
40890
40891
  if (e.role !== "metric")
40891
40892
  return e.label || e.name;
40892
40893
  const t = e, n = e.label || e.name;
@@ -41113,7 +41114,7 @@ function hLe(e) {
41113
41114
  const t = (i = e.config) == null ? void 0 : i.metricColumns, n = (a = e.config) == null ? void 0 : a.groupByColumns, r = (s = e.config) == null ? void 0 : s.pivotByColumns, o = (l = e.config) == null ? void 0 : l.detailColumns;
41114
41115
  return !!(t && (t == null ? void 0 : t.length) > 0 || n && (n == null ? void 0 : n.length) > 0 || r && (r == null ? void 0 : r.length) > 0 || o && (o == null ? void 0 : o.length) > 0);
41115
41116
  }
41116
- function Zkt(e) {
41117
+ function Xkt(e) {
41117
41118
  var a, s;
41118
41119
  const [t] = ee({
41119
41120
  id: "",
@@ -42328,7 +42329,7 @@ async function FLe(e, t, n) {
42328
42329
  }
42329
42330
  return o;
42330
42331
  }
42331
- async function Xkt(e, t, n) {
42332
+ async function Qkt(e, t, n) {
42332
42333
  var i;
42333
42334
  const r = new URL(`${e}/v1/exports`);
42334
42335
  (i = n == null ? void 0 : n.status) != null && i.length && r.searchParams.set("status", n.status.join(",")), n != null && n.limit && r.searchParams.set("limit", String(n.limit));
@@ -42339,7 +42340,7 @@ async function Xkt(e, t, n) {
42339
42340
  throw new Rw("Failed to fetch exports", o.status);
42340
42341
  return o.json();
42341
42342
  }
42342
- async function Qkt(e, t, n) {
42343
+ async function Jkt(e, t, n) {
42343
42344
  const r = await fetch(`${e}/v1/exports/${n}`, {
42344
42345
  headers: { Authorization: `Bearer ${t}` }
42345
42346
  });
@@ -42347,7 +42348,7 @@ async function Qkt(e, t, n) {
42347
42348
  throw new Rw("Failed to fetch export status", r.status);
42348
42349
  return r.json();
42349
42350
  }
42350
- async function Jkt(e, t, n) {
42351
+ async function eIt(e, t, n) {
42351
42352
  const r = await fetch(
42352
42353
  `${e}/v1/exports/${n}/download`,
42353
42354
  {
@@ -42360,7 +42361,7 @@ async function Jkt(e, t, n) {
42360
42361
  }
42361
42362
  throw new Rw("Failed to get download URL", r.status);
42362
42363
  }
42363
- async function eIt(e, t, n) {
42364
+ async function tIt(e, t, n) {
42364
42365
  const r = await fetch(`${e}/v1/exports/${n}`, {
42365
42366
  method: "DELETE",
42366
42367
  headers: { Authorization: `Bearer ${t}` }
@@ -42373,13 +42374,13 @@ class Rw extends Error {
42373
42374
  super(t), this.status = n, this.details = r, this.name = "ExportError";
42374
42375
  }
42375
42376
  }
42376
- function tIt(e) {
42377
+ function nIt(e) {
42377
42378
  return ["pending", "processing", "chunking", "compacting"].includes(e);
42378
42379
  }
42379
- function nIt(e) {
42380
+ function rIt(e) {
42380
42381
  return ["completed", "failed", "cancelled"].includes(e);
42381
42382
  }
42382
- function rIt(e) {
42383
+ function oIt(e) {
42383
42384
  return !e || e === 0 ? "" : e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
42384
42385
  }
42385
42386
  const OLe = [];
@@ -42529,7 +42530,7 @@ function zLe(e, t, n) {
42529
42530
  const r = { ...e || {} };
42530
42531
  return n ? delete r[t] : r[t] = !1, Object.keys(r).length > 0 ? r : void 0;
42531
42532
  }
42532
- function oIt() {
42533
+ function iIt() {
42533
42534
  }
42534
42535
  function VLe(e, t) {
42535
42536
  return e.filter(
@@ -45724,7 +45725,7 @@ function _L({
45724
45725
  )
45725
45726
  ] });
45726
45727
  }
45727
- const U$e = cI, iIt = D5, q$e = uI, $ne = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
45728
+ const U$e = cI, aIt = D5, q$e = uI, $ne = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
45728
45729
  _b,
45729
45730
  {
45730
45731
  className: X(
@@ -71164,7 +71165,7 @@ function YWe(e, t) {
71164
71165
  setInitialDateRange: i
71165
71166
  };
71166
71167
  }
71167
- function uIt(e) {
71168
+ function dIt(e) {
71168
71169
  const t = te(
71169
71170
  (o) => {
71170
71171
  var i, a;
@@ -71792,7 +71793,7 @@ function ase({
71792
71793
  };
71793
71794
  if (_ === "months") {
71794
71795
  const z = k != null && k.from ? (() => {
71795
- const P = $be(k.from, r);
71796
+ const P = Lbe(k.from, r);
71796
71797
  return {
71797
71798
  year: Wbe(P),
71798
71799
  month: qbe(P)
@@ -72067,7 +72068,7 @@ function oYe(e, t, n, r = {}) {
72067
72068
  searchQuery: k
72068
72069
  };
72069
72070
  }
72070
- function dIt(e) {
72071
+ function fIt(e) {
72071
72072
  const t = te(
72072
72073
  (i) => {
72073
72074
  var a, s;
@@ -75990,7 +75991,7 @@ function LT(e) {
75990
75991
  colors: [...e.chartPalette],
75991
75992
  mode: e.mode,
75992
75993
  appearance: {
75993
- version: Mbe,
75994
+ version: Dbe,
75994
75995
  mode: e.mode,
75995
75996
  colors: Ka(e.colorValues),
75996
75997
  typography: Ka(t == null ? void 0 : t.typography),
@@ -76730,7 +76731,7 @@ function $T(e, t) {
76730
76731
  o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
76731
76732
  return n;
76732
76733
  }
76733
- var FZe = ["color"], pIt = /* @__PURE__ */ Ii(function(e, t) {
76734
+ var FZe = ["color"], gIt = /* @__PURE__ */ Ii(function(e, t) {
76734
76735
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = $T(e, FZe);
76735
76736
  return Lo("svg", Object.assign({
76736
76737
  width: "15",
@@ -76746,7 +76747,7 @@ var FZe = ["color"], pIt = /* @__PURE__ */ Ii(function(e, t) {
76746
76747
  fillRule: "evenodd",
76747
76748
  clipRule: "evenodd"
76748
76749
  }));
76749
- }), OZe = ["color"], gIt = /* @__PURE__ */ Ii(function(e, t) {
76750
+ }), OZe = ["color"], bIt = /* @__PURE__ */ Ii(function(e, t) {
76750
76751
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = $T(e, OZe);
76751
76752
  return Lo("svg", Object.assign({
76752
76753
  width: "15",
@@ -76778,7 +76779,7 @@ var FZe = ["color"], pIt = /* @__PURE__ */ Ii(function(e, t) {
76778
76779
  fillRule: "evenodd",
76779
76780
  clipRule: "evenodd"
76780
76781
  }));
76781
- }), zZe = ["color"], bIt = /* @__PURE__ */ Ii(function(e, t) {
76782
+ }), zZe = ["color"], yIt = /* @__PURE__ */ Ii(function(e, t) {
76782
76783
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = $T(e, zZe);
76783
76784
  return Lo("svg", Object.assign({
76784
76785
  width: "15",
@@ -78473,7 +78474,7 @@ function ble(e) {
78473
78474
  r in t || (t[r] = null);
78474
78475
  return t;
78475
78476
  }
78476
- function yIt(e) {
78477
+ function vIt(e) {
78477
78478
  return e.map((t, n) => !t.customCardPreferences || t.customCardPreferences.slotIndex === n ? t : {
78478
78479
  ...t,
78479
78480
  customCardPreferences: {
@@ -78482,7 +78483,7 @@ function yIt(e) {
78482
78483
  }
78483
78484
  });
78484
78485
  }
78485
- function vIt(e) {
78486
+ function xIt(e) {
78486
78487
  const t = ple(e);
78487
78488
  if (t)
78488
78489
  return Q$(t);
@@ -78492,7 +78493,7 @@ function wv(e, t, n) {
78492
78493
  const r = uXe(n, t);
78493
78494
  return e.type === "custom" && r ? r : e.type;
78494
78495
  }
78495
- function xIt(e, t, n) {
78496
+ function wIt(e, t, n) {
78496
78497
  var p;
78497
78498
  const r = {
78498
78499
  dataSource: n.dataSource,
@@ -78594,7 +78595,7 @@ function VT(e, t) {
78594
78595
  const r = (o = e.customCardPreferences) == null ? void 0 : o.visualType;
78595
78596
  return r || ((i = e.customCardPreferences) != null && i.dataInputCardIds ? "multiple" : null);
78596
78597
  }
78597
- function wIt(e) {
78598
+ function CIt(e) {
78598
78599
  return e.visualType === "multiple" || e.slots && e.slots.length > 0 || (e.minInputs || 0) > 1 || (e.maxInputs || 0) > 1 || (e.dataInputs || []).length > 1 ? "multiple" : "single";
78599
78600
  }
78600
78601
  function xle(e) {
@@ -84932,7 +84933,7 @@ function qle(e) {
84932
84933
  activeCardId: o
84933
84934
  };
84934
84935
  }
84935
- function CIt(e) {
84936
+ function SIt(e) {
84936
84937
  var a;
84937
84938
  const t = /* @__PURE__ */ new Map(), n = e.activeCardId, o = e.cards.map((s) => {
84938
84939
  const l = go();
@@ -85108,7 +85109,7 @@ function Yle() {
85108
85109
  [t == null ? void 0 : t.accessToken, e, n.apiServiceUrl]
85109
85110
  );
85110
85111
  }
85111
- function SIt() {
85112
+ function NIt() {
85112
85113
  const e = te(
85113
85114
  (n) => n.semanticExecutionPayload
85114
85115
  ), t = Yle();
@@ -97445,7 +97446,7 @@ const hrt = /* @__PURE__ */ new Set(["COUNT", "DISTINCT"]), mrt = /* @__PURE__ *
97445
97446
  function prt(e) {
97446
97447
  return Gn(e.dataType || "") === "number" ? !0 : e.aggregate ? hrt.has(e.aggregate.toUpperCase()) : !1;
97447
97448
  }
97448
- function NIt(e, t) {
97449
+ function _It(e, t) {
97449
97450
  var r, o;
97450
97451
  return !!((o = (r = e.parameters) == null ? void 0 : r.windowTransform) == null ? void 0 : o.function);
97451
97452
  }
@@ -97487,7 +97488,7 @@ function grt({
97487
97488
  function brt(e) {
97488
97489
  return e.find((t) => Gn(t.dataType || "") === "date");
97489
97490
  }
97490
- function _It(e) {
97491
+ function kIt(e) {
97491
97492
  return e;
97492
97493
  }
97493
97494
  function sN({
@@ -99674,7 +99675,7 @@ function Zrt(e, t, n, r, o, i, a, s, l, c) {
99674
99675
  description: `Calculated field: ${e}`
99675
99676
  };
99676
99677
  }
99677
- function kIt(e) {
99678
+ function IIt(e) {
99678
99679
  var r, o;
99679
99680
  const t = oE.find((i) => i.id === e.operation);
99680
99681
  if (!t)
@@ -100625,7 +100626,7 @@ function Pot({
100625
100626
  () => Eot(e, r),
100626
100627
  [e, r]
100627
100628
  ), s = Q(() => Dot(a), [a]), l = Q(() => a.map((p) => {
100628
- const g = p.label || p.name, b = p.role === "metric" && jG(p) || p.role === "groupby" && zbe(p);
100629
+ const g = p.label || p.name, b = p.role === "metric" && jG(p) || p.role === "groupby" && $be(p);
100629
100630
  return {
100630
100631
  ...p,
100631
100632
  baseLabel: g,
@@ -101477,7 +101478,7 @@ function qot(e, t) {
101477
101478
  (r) => Ld(r, e, { allowComparableFallback: n })
101478
101479
  );
101479
101480
  }
101480
- function IIt(e, t) {
101481
+ function TIt(e, t) {
101481
101482
  const n = {
101482
101483
  ...e,
101483
101484
  fieldScope: "domain"
@@ -103188,10 +103189,10 @@ function Pit(e) {
103188
103189
  activeCardId: e.card.id
103189
103190
  };
103190
103191
  }
103191
- function TIt(e, t) {
103192
+ function EIt(e, t) {
103192
103193
  return e.cards.find((n) => n.id === t) || null;
103193
103194
  }
103194
- function EIt(e) {
103195
+ function DIt(e) {
103195
103196
  return Rit.includes(
103196
103197
  e.type
103197
103198
  );
@@ -104448,7 +104449,7 @@ function rat(e) {
104448
104449
  a ? /* @__PURE__ */ d("p", { className: "text-[11px] text-muted-foreground", children: a }) : null
104449
104450
  ] });
104450
104451
  }
104451
- function DIt(e) {
104452
+ function MIt(e) {
104452
104453
  const { control: t, onChange: n } = e;
104453
104454
  return /* @__PURE__ */ C("div", { className: "space-y-3", children: [
104454
104455
  /* @__PURE__ */ d("div", { className: "space-y-1", children: /* @__PURE__ */ C("label", { className: "flex items-center gap-2 text-[13px]", children: [
@@ -104483,7 +104484,7 @@ function tde(e) {
104483
104484
  const t = _x(e);
104484
104485
  return e.scope === "dashboard" ? t === "advanced" ? "More controls" : "dashboard toolbar" : t === "advanced" ? "More options" : "card header";
104485
104486
  }
104486
- function MIt(e) {
104487
+ function AIt(e) {
104487
104488
  const t = /* @__PURE__ */ new Map();
104488
104489
  for (const n of e.controls || [])
104489
104490
  t.set(n.id, 0);
@@ -104522,7 +104523,7 @@ function MIt(e) {
104522
104523
  })
104523
104524
  );
104524
104525
  }
104525
- function AIt(e) {
104526
+ function RIt(e) {
104526
104527
  const t = new Set(i1(e.card));
104527
104528
  return Object.fromEntries(
104528
104529
  e.controls.map((n) => {
@@ -112119,7 +112120,7 @@ function ict({
112119
112120
  exports: fE(c)
112120
112121
  };
112121
112122
  }
112122
- function RIt({
112123
+ function PIt({
112123
112124
  control: e,
112124
112125
  existingInputs: t,
112125
112126
  sheetId: n,
@@ -116600,7 +116601,7 @@ const yut = ({
116600
116601
  ),
116601
116602
  ...t
116602
116603
  }
116603
- ), wq = Vde, PIt = ({
116604
+ ), wq = Vde, FIt = ({
116604
116605
  withHandle: e,
116605
116606
  className: t,
116606
116607
  ...n
@@ -122605,7 +122606,7 @@ function mgt({
122605
122606
  addToolOutput: r.current.addToolOutput
122606
122607
  };
122607
122608
  }
122608
- function FIt(e, t) {
122609
+ function OIt(e, t) {
122609
122610
  return e.some(
122610
122611
  (n) => (
122611
122612
  // t.connectionId === aiScope.connectionId &&
@@ -122613,7 +122614,7 @@ function FIt(e, t) {
122613
122614
  )
122614
122615
  );
122615
122616
  }
122616
- function OIt(e) {
122617
+ function LIt(e) {
122617
122618
  return e.filter(
122618
122619
  (n, r, o) => r === o.findIndex(
122619
122620
  (i) => (
@@ -122623,7 +122624,7 @@ function OIt(e) {
122623
122624
  )
122624
122625
  );
122625
122626
  }
122626
- function LIt(e, t) {
122627
+ function $It(e, t) {
122627
122628
  return e.filter(
122628
122629
  (n) => !(n.connectionId === t.connectionId && n.tableName === t.tableName && n.datamodelName === t.datamodelName)
122629
122630
  );
@@ -122816,7 +122817,7 @@ function xgt(e) {
122816
122817
  return "dimension";
122817
122818
  }
122818
122819
  function wgt(e) {
122819
- return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated || Vbe(e));
122820
+ return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated || zbe(e));
122820
122821
  }
122821
122822
  function Cgt(e, t) {
122822
122823
  const n = t == null ? void 0 : t(e), r = xgt(e);
@@ -124946,7 +124947,7 @@ function Ohe({
124946
124947
  saveAsDashboardDefault: a = !1
124947
124948
  }) {
124948
124949
  var le, Ce;
124949
- const { tokenProps: s } = Et(), l = s.config, c = s.semanticDomainAccess || Rbe, [u, f] = ee([]), [h, m] = ee(void 0), [p, g] = ee(""), [b, y] = ee("all"), [x, v] = ee(
124950
+ const { tokenProps: s } = Et(), l = s.config, c = s.semanticDomainAccess || Abe, [u, f] = ee([]), [h, m] = ee(void 0), [p, g] = ee(""), [b, y] = ee("all"), [x, v] = ee(
124950
124951
  void 0
124951
124952
  ), w = Pe(!1), { updateDataSource: S } = yo(), N = te((ue) => ue.isVisualEditing), _ = te((ue) => ue.dashboard.aiContext), { setAiContext: k } = Sn(), E = c.mode, I = (l == null ? void 0 : l.showDirectSource) !== !1, T = E === "include" || E === "exclude" || !I, D = E !== "all", R = I && !T, F = T ? "semanticDomain" : n.mode, A = r === "dataSource" && !I, H = E === "include" && (((le = c.domainIds) == null ? void 0 : le.length) || 0) === 1 ? (Ce = c.domainIds) == null ? void 0 : Ce[0] : void 0, $ = pe(
124952
124953
  (ue) => {
@@ -138531,7 +138532,7 @@ const Lz = [
138531
138532
  { id: "kpi", icon: USt, label: "KPI" },
138532
138533
  { id: "text", icon: T0e, label: "Text" },
138533
138534
  { id: "map", icon: ove, label: "Map" }
138534
- ], $It = (e) => {
138535
+ ], zIt = (e) => {
138535
138536
  const t = e.toLowerCase();
138536
138537
  for (const n of Lz)
138537
138538
  if (n.id === "doughnut") {
@@ -138544,7 +138545,7 @@ const Lz = [
138544
138545
  return ae.createElement(r, { className: "h-4 w-4" });
138545
138546
  }
138546
138547
  return null;
138547
- }, zIt = (e, t = "h-4 w-4") => {
138548
+ }, VIt = (e, t = "h-4 w-4") => {
138548
138549
  const n = Lz.find((r) => r.id === e);
138549
138550
  if (n) {
138550
138551
  const r = n.icon;
@@ -142292,7 +142293,7 @@ const ape = Sr({
142292
142293
  openBrandStudioPreview: () => {
142293
142294
  }
142294
142295
  }), i_t = ape.Provider;
142295
- function VIt() {
142296
+ function BIt() {
142296
142297
  return Fn(ape);
142297
142298
  }
142298
142299
  function a_t({
@@ -142653,10 +142654,10 @@ function p_t() {
142653
142654
  }
142654
142655
  );
142655
142656
  }
142656
- const g_t = Vk(() => import("./dashboard-controls-BfkcnIdy.js")), b_t = Vk(
142657
- () => import("./edit-dashboard-visual-DOW1Ap1N.js")
142658
- ), y_t = Vk(() => import("./dashboard-json-DjXi4cI6.js"));
142659
- function BIt({
142657
+ const g_t = Vk(() => import("./dashboard-controls-B6y7jkKO.js")), b_t = Vk(
142658
+ () => import("./edit-dashboard-visual-DMbf89xa.js")
142659
+ ), y_t = Vk(() => import("./dashboard-json-CfIUG8k1.js"));
142660
+ function jIt({
142660
142661
  showControls: e = !1,
142661
142662
  showFooter: t = !0,
142662
142663
  ...n
@@ -142831,7 +142832,7 @@ function T_t(e, t, n) {
142831
142832
  return h;
142832
142833
  }
142833
142834
  function E_t(e, t, n) {
142834
- const r = Abe(e), o = ae.createElement(t, n);
142835
+ const r = Mbe(e), o = ae.createElement(t, n);
142835
142836
  return r.render(o), {
142836
142837
  root: r,
142837
142838
  ReactComponent: t
@@ -142875,9 +142876,9 @@ const R_t = {
142875
142876
  selectedSheetId: "string",
142876
142877
  eventHandlers: "json",
142877
142878
  preferences: "json"
142878
- }, jIt = A_t(d_t, {
142879
+ }, HIt = A_t(d_t, {
142879
142880
  props: R_t
142880
- }), HIt = ae.memo(function({
142881
+ }), UIt = ae.memo(function({
142881
142882
  context: t = "editor"
142882
142883
  } = {}) {
142883
142884
  return /* @__PURE__ */ C(
@@ -142900,16 +142901,16 @@ const R_t = {
142900
142901
  "getTableColumns",
142901
142902
  "getUserSql",
142902
142903
  "validateCardConfigFormat"
142903
- ]), UIt = /* @__PURE__ */ new Set([
142904
+ ]), qIt = /* @__PURE__ */ new Set([
142904
142905
  "createChartFromSql",
142905
142906
  "createForecast",
142906
142907
  "generateQueryConfig",
142907
142908
  "getChartDataFromCardConfig",
142908
142909
  "getChartDataFromSqlAndPython",
142909
142910
  "getForecastDataFromSqlAndPython"
142910
- ]), qIt = Array.from(
142911
+ ]), WIt = Array.from(
142911
142912
  P_t
142912
- ).join(", "), WIt = 3, YIt = "Self-heal", GIt = /* @__PURE__ */ new Set([
142913
+ ).join(", "), YIt = 3, GIt = "Self-heal", KIt = /* @__PURE__ */ new Set([
142913
142914
  "SQL_PARSE_ERROR",
142914
142915
  "SQL_EXPLAIN_ERROR"
142915
142916
  ]);
@@ -143089,13 +143090,13 @@ function F_t({ card: e }) {
143089
143090
  (M = f.customCardPreferences) == null ? void 0 : M.componentName
143090
143091
  ) }) : null;
143091
143092
  }
143092
- const KIt = ds(
143093
+ const ZIt = ds(
143093
143094
  F_t,
143094
143095
  (e, t) => {
143095
143096
  var n, r, o, i, a, s, l, c;
143096
143097
  return e.card.id === t.card.id && e.card.inlineFilters === t.card.inlineFilters && ((n = e.card.customCardPreferences) == null ? void 0 : n.settings) === ((r = t.card.customCardPreferences) == null ? void 0 : r.settings) && ((o = e.card.customCardPreferences) == null ? void 0 : o.slotSettings) === ((i = t.card.customCardPreferences) == null ? void 0 : i.slotSettings) && ((a = e.card.customCardPreferences) == null ? void 0 : a.url) === ((s = t.card.customCardPreferences) == null ? void 0 : s.url) && ((l = e.card.customCardPreferences) == null ? void 0 : l.componentName) === ((c = t.card.customCardPreferences) == null ? void 0 : c.componentName);
143097
143098
  }
143098
- ), ZIt = Bk()(
143099
+ ), XIt = Bk()(
143099
143100
  Ibe(
143100
143101
  (e, t) => ({
143101
143102
  starredCharts: [],
@@ -143561,7 +143562,7 @@ const kpe = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"], tkt = kpe.reduce(
143561
143562
  // Mon–Fri
143562
143563
  isCustom: !1
143563
143564
  };
143564
- function XIt(e) {
143565
+ function QIt(e) {
143565
143566
  if (!e || !e.trim())
143566
143567
  return { ...od };
143567
143568
  const t = e.trim(), r = (t.startsWith("cron(") && t.endsWith(")") ? t.slice(5, -1) : t).trim().split(/\s+/);
@@ -143595,7 +143596,7 @@ function XIt(e) {
143595
143596
  minute: c
143596
143597
  } : { ...od, hour: u, minute: c, isCustom: !0 };
143597
143598
  }
143598
- function QIt(e) {
143599
+ function JIt(e) {
143599
143600
  const t = e.minute, n = e.hour;
143600
143601
  switch (e.repeats) {
143601
143602
  case "daily":
@@ -143624,7 +143625,7 @@ function okt(e) {
143624
143625
  const r = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
143625
143626
  return t.map((o) => r[o]).join(", ");
143626
143627
  }
143627
- function JIt(e, t, n, r) {
143628
+ function eTt(e, t, n, r) {
143628
143629
  const o = nkt(e.hour, e.minute), i = rkt(t);
143629
143630
  let a;
143630
143631
  if (e.isCustom)
@@ -143647,7 +143648,7 @@ function JIt(e, t, n, r) {
143647
143648
  const s = [];
143648
143649
  return n && n !== "Today" && s.push(`from ${n}`), r && s.push(`until ${r}`), s.length > 0 ? `${a}, ${s.join(" ")}` : a;
143649
143650
  }
143650
- const eTt = [
143651
+ const tTt = [
143651
143652
  "UTC",
143652
143653
  "America/New_York",
143653
143654
  "America/Chicago",
@@ -143662,20 +143663,20 @@ const eTt = [
143662
143663
  export {
143663
143664
  GJe as $,
143664
143665
  Oo as A,
143665
- uIt as B,
143666
+ dIt as B,
143666
143667
  B0e as C,
143667
143668
  d_t as D,
143668
143669
  _c as E,
143669
143670
  c4 as F,
143670
- dIt as G,
143671
+ fIt as G,
143671
143672
  r0e as H,
143672
143673
  Fd as I,
143673
143674
  FCe as J,
143674
143675
  zZ as K,
143675
143676
  qwe as L,
143676
143677
  OL as M,
143677
- Zkt as N,
143678
- jIt as O,
143678
+ Xkt as N,
143679
+ HIt as O,
143679
143680
  $Te as P,
143680
143681
  mJ as Q,
143681
143682
  vc as R,
@@ -143688,28 +143689,28 @@ export {
143688
143689
  jXe as Y,
143689
143690
  Rle as Z,
143690
143691
  Srt as _,
143691
- BIt as a,
143692
+ jIt as a,
143692
143693
  tat as a$,
143693
143694
  A5 as a0,
143694
143695
  lSe as a1,
143695
- Lkt as a2,
143696
- $kt as a3,
143696
+ $kt as a2,
143697
+ zkt as a3,
143697
143698
  T4 as a4,
143698
143699
  FLe as a5,
143699
- Xkt as a6,
143700
- Qkt as a7,
143701
- Jkt as a8,
143702
- eIt as a9,
143700
+ Qkt as a6,
143701
+ Jkt as a7,
143702
+ eIt as a8,
143703
+ tIt as a9,
143703
143704
  qi as aA,
143704
143705
  Cg as aB,
143705
143706
  kK as aC,
143706
143707
  LHe as aD,
143707
143708
  jo as aE,
143708
143709
  Gle as aF,
143709
- Nkt as aG,
143710
+ _kt as aG,
143710
143711
  wb as aH,
143711
143712
  k5 as aI,
143712
- CIt as aJ,
143713
+ SIt as aJ,
143713
143714
  g3 as aK,
143714
143715
  uue as aL,
143715
143716
  vle as aM,
@@ -143720,22 +143721,22 @@ export {
143720
143721
  wv as aR,
143721
143722
  ti as aS,
143722
143723
  p3 as aT,
143723
- Ekt as aU,
143724
- SIt as aV,
143725
- Bkt as aW,
143724
+ Dkt as aU,
143725
+ NIt as aV,
143726
+ jkt as aW,
143726
143727
  sr as aX,
143727
143728
  Au as aY,
143728
143729
  Yit as aZ,
143729
143730
  eat as a_,
143730
143731
  Rw as aa,
143731
- tIt as ab,
143732
- nIt as ac,
143733
- rIt as ad,
143732
+ nIt as ab,
143733
+ rIt as ac,
143734
+ oIt as ad,
143734
143735
  Xk as ae,
143735
143736
  yut as af,
143736
143737
  wq as ag,
143737
143738
  Ib as ah,
143738
- Dkt as ai,
143739
+ Mkt as ai,
143739
143740
  RK as aj,
143740
143741
  Wm as ak,
143741
143742
  Ym as al,
@@ -143746,7 +143747,7 @@ export {
143746
143747
  Xm as aq,
143747
143748
  so as ar,
143748
143749
  pve as as,
143749
- PIt as at,
143750
+ FIt as at,
143750
143751
  Y0e as au,
143751
143752
  cm as av,
143752
143753
  oI as aw,
@@ -143759,7 +143760,7 @@ export {
143759
143760
  cf as b1,
143760
143761
  uf as b2,
143761
143762
  Bit as b3,
143762
- DIt as b4,
143763
+ MIt as b4,
143763
143764
  Jk as b5,
143764
143765
  j0e as b6,
143765
143766
  YG as b7,
@@ -143781,7 +143782,7 @@ export {
143781
143782
  S5 as bN,
143782
143783
  N5 as bO,
143783
143784
  YNt as bP,
143784
- Ikt as bQ,
143785
+ Tkt as bQ,
143785
143786
  Wwe as bR,
143786
143787
  LCe as bS,
143787
143788
  z0e as bT,
@@ -143790,46 +143791,46 @@ export {
143790
143791
  Os as bW,
143791
143792
  Eve as bX,
143792
143793
  Tb as bY,
143793
- Tkt as bZ,
143794
+ Ekt as bZ,
143794
143795
  Mhe as b_,
143795
143796
  vl as ba,
143796
- _kt as bb,
143797
+ kkt as bb,
143797
143798
  Kxe as bc,
143798
143799
  eve as bd,
143799
- bIt as be,
143800
+ yIt as be,
143800
143801
  ju as bf,
143801
143802
  Il as bg,
143802
143803
  ZCe as bh,
143803
- Fkt as bi,
143804
+ Okt as bi,
143804
143805
  XCe as bj,
143805
- Pkt as bk,
143806
- Rkt as bl,
143807
- Akt as bm,
143806
+ Fkt as bk,
143807
+ Pkt as bl,
143808
+ Rkt as bm,
143808
143809
  ua as bn,
143809
143810
  Z1e as bo,
143810
143811
  eI as bp,
143811
- Mkt as bq,
143812
+ Akt as bq,
143812
143813
  _X as br,
143813
143814
  m5 as bs,
143814
143815
  Ts as bt,
143815
143816
  uw as bu,
143816
- VIt as bv,
143817
+ BIt as bv,
143817
143818
  cSe as bw,
143818
143819
  M1e as bx,
143819
143820
  Swe as by,
143820
- Okt as bz,
143821
+ Lkt as bz,
143821
143822
  pa as c,
143822
143823
  UG as c$,
143823
143824
  fat as c0,
143824
143825
  iat as c1,
143825
- MIt as c2,
143826
+ AIt as c2,
143826
143827
  hE as c3,
143827
143828
  lm as c4,
143828
- RIt as c5,
143829
+ PIt as c5,
143829
143830
  xf as c6,
143830
143831
  Vg as c7,
143831
143832
  crt as c8,
143832
- Hkt as c9,
143833
+ Ukt as c9,
143833
143834
  dM as cA,
143834
143835
  d5 as cB,
143835
143836
  J0e as cC,
@@ -143856,10 +143857,10 @@ export {
143856
143857
  EK as cX,
143857
143858
  hc as cY,
143858
143859
  Ohe as cZ,
143859
- HIt as c_,
143860
+ UIt as c_,
143860
143861
  xw as ca,
143861
143862
  A0e as cb,
143862
- jkt as cc,
143863
+ Hkt as cc,
143863
143864
  Zot as cd,
143864
143865
  ug as ce,
143865
143866
  _Ee as cf,
@@ -143877,24 +143878,24 @@ export {
143877
143878
  Bg as cr,
143878
143879
  rN as cs,
143879
143880
  I0e as ct,
143880
- XIt as cu,
143881
- JIt as cv,
143881
+ QIt as cu,
143882
+ eTt as cv,
143882
143883
  Nb as cw,
143883
- eTt as cx,
143884
- QIt as cy,
143884
+ tTt as cx,
143885
+ JIt as cy,
143885
143886
  nkt as cz,
143886
143887
  El as d,
143887
143888
  Mu as d$,
143888
- qIt as d0,
143889
- YIt as d1,
143890
- WIt as d2,
143891
- UIt as d3,
143889
+ WIt as d0,
143890
+ GIt as d1,
143891
+ YIt as d2,
143892
+ qIt as d3,
143892
143893
  P_t as d4,
143893
143894
  mgt as d5,
143894
143895
  lhe as d6,
143895
143896
  lW as d7,
143896
143897
  lgt as d8,
143897
- GIt as d9,
143898
+ KIt as d9,
143898
143899
  wf as dA,
143899
143900
  dT as dB,
143900
143901
  PL as dC,
@@ -143919,7 +143920,7 @@ export {
143919
143920
  iJe as dV,
143920
143921
  sU as dW,
143921
143922
  LL as dX,
143922
- KIt as dY,
143923
+ ZIt as dY,
143923
143924
  uze as dZ,
143924
143925
  AK as d_,
143925
143926
  Yr as da,
@@ -143929,8 +143930,8 @@ export {
143929
143930
  J$ as de,
143930
143931
  cze as df,
143931
143932
  g4e as dg,
143932
- gIt as dh,
143933
- pIt as di,
143933
+ bIt as dh,
143934
+ gIt as di,
143934
143935
  NL as dj,
143935
143936
  $$e as dk,
143936
143937
  SL as dl,
@@ -143950,13 +143951,13 @@ export {
143950
143951
  ga as e,
143951
143952
  xm as e$,
143952
143953
  dye as e0,
143953
- zIt as e1,
143954
- $It as e2,
143954
+ VIt as e1,
143955
+ zIt as e2,
143955
143956
  wve as e3,
143956
- ZIt as e4,
143957
+ XIt as e4,
143957
143958
  ule as e5,
143958
- wIt as e6,
143959
- xIt as e7,
143959
+ CIt as e6,
143960
+ wIt as e7,
143960
143961
  Lz as e8,
143961
143962
  nI as e9,
143962
143963
  dk as eA,
@@ -143964,8 +143965,8 @@ export {
143964
143965
  dle as eC,
143965
143966
  HWe as eD,
143966
143967
  zg as eE,
143967
- AIt as eF,
143968
- Wkt as eG,
143968
+ RIt as eF,
143969
+ Ykt as eG,
143969
143970
  PK as eH,
143970
143971
  LT as eI,
143971
143972
  ble as eJ,
@@ -143980,7 +143981,7 @@ export {
143980
143981
  u5 as eS,
143981
143982
  Aae as eT,
143982
143983
  Sle as eU,
143983
- yIt as eV,
143984
+ vIt as eV,
143984
143985
  Q$ as eW,
143985
143986
  d4 as eX,
143986
143987
  bLe as eY,
@@ -144035,9 +144036,9 @@ export {
144035
144036
  Pgt as fI,
144036
144037
  tW as fJ,
144037
144038
  bgt as fK,
144038
- LIt as fL,
144039
- OIt as fM,
144040
- FIt as fN,
144039
+ $It as fL,
144040
+ LIt as fM,
144041
+ OIt as fN,
144041
144042
  ggt as fO,
144042
144043
  Lgt as fP,
144043
144044
  Sbt as fQ,
@@ -144055,19 +144056,19 @@ export {
144055
144056
  GQ as fb,
144056
144057
  ore as fc,
144057
144058
  ww as fd,
144058
- Ukt as fe,
144059
+ qkt as fe,
144059
144060
  Alt as ff,
144060
144061
  Mlt as fg,
144061
144062
  _lt as fh,
144062
144063
  Qlt as fi,
144063
144064
  zLe as fj,
144064
- oIt as fk,
144065
+ iIt as fk,
144065
144066
  il as fl,
144066
144067
  Kh as fm,
144067
144068
  rl as fn,
144068
144069
  Eb as fo,
144069
144070
  v8 as fp,
144070
- qkt as fq,
144071
+ Wkt as fq,
144071
144072
  Iw as fr,
144072
144073
  R8 as fs,
144073
144074
  A8 as ft,
@@ -144085,7 +144086,7 @@ export {
144085
144086
  Lm as g4,
144086
144087
  gue as g5,
144087
144088
  mc as g6,
144088
- IIt as g7,
144089
+ TIt as g7,
144089
144090
  Bs as g8,
144090
144091
  ck as g9,
144091
144092
  ZT as gA,
@@ -144099,7 +144100,7 @@ export {
144099
144100
  Q3e as gI,
144100
144101
  wrt as gJ,
144101
144102
  drt as gK,
144102
- iIt as gL,
144103
+ aIt as gL,
144103
144104
  d4e as gM,
144104
144105
  aU as gN,
144105
144106
  Oz as gO,
@@ -144108,14 +144109,14 @@ export {
144108
144109
  iSe as gR,
144109
144110
  aSe as gS,
144110
144111
  sSe as gT,
144111
- TIt as gU,
144112
- EIt as gV,
144113
- NIt as ga,
144112
+ EIt as gU,
144113
+ DIt as gV,
144114
+ _It as ga,
144114
144115
  grt as gb,
144115
- _It as gc,
144116
+ kIt as gc,
144116
144117
  sN as gd,
144117
144118
  cue as ge,
144118
- Kkt as gf,
144119
+ Zkt as gf,
144119
144120
  bf as gg,
144120
144121
  UT as gh,
144121
144122
  Fi as gi,
@@ -144124,11 +144125,11 @@ export {
144124
144125
  Ap as gl,
144125
144126
  HU as gm,
144126
144127
  jU as gn,
144127
- kIt as go,
144128
+ IIt as go,
144128
144129
  H0e as gp,
144129
144130
  ytt as gq,
144130
144131
  urt as gr,
144131
- vIt as gs,
144132
+ xIt as gs,
144132
144133
  D0e as gt,
144133
144134
  Cb as gu,
144134
144135
  d1 as gv,