react-semaphor 0.1.570 → 0.1.571

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 (26) hide show
  1. package/dist/brand-studio/index.js +2 -2
  2. package/dist/chunks/{assistant-chat-B-Ddyy8b.js → assistant-chat-SkCraw2C.js} +2 -2
  3. package/dist/chunks/{brand-B4BdpAB_.js → brand-BoUV0iHF.js} +1 -1
  4. package/dist/chunks/{card-filter-builder-0VvKmRst.js → card-filter-builder-D-aSYpyr.js} +2 -2
  5. package/dist/chunks/{dashboard-DxGIr1vZ.js → dashboard-B_w_ekUz.js} +1 -1
  6. package/dist/chunks/{dashboard-briefing-launcher-B-quOOOQ.js → dashboard-briefing-launcher-_g1m2tJ3.js} +5 -5
  7. package/dist/chunks/{dashboard-controls-Caodx80b.js → dashboard-controls-CY0gbcCt.js} +4 -4
  8. package/dist/chunks/{dashboard-json-Ct-AGDHF.js → dashboard-json-DsM79yem.js} +1 -1
  9. package/dist/chunks/{dates-B9mL8BHE.js → dates-RSEzJ9N7.js} +1 -1
  10. package/dist/chunks/{edit-Bpdh_P_a.js → edit-9df1zOWe.js} +3 -3
  11. package/dist/chunks/{edit-dashboard-visual-DeDTuYB5.js → edit-dashboard-visual-cX0FM-4i.js} +5 -5
  12. package/dist/chunks/{filter-reach-copy-BSY33ro5.js → filter-reach-copy-thzt25Rc.js} +1195 -1261
  13. package/dist/chunks/{report-preferences-dialog-Yvhv3WX2.js → report-preferences-dialog-B_GXs91t.js} +6 -6
  14. package/dist/chunks/{semaphor-ready-indicator-ByFvqHEO.js → semaphor-ready-indicator-CBQamwQY.js} +30 -34
  15. package/dist/chunks/{shelf-drop-preview-context-CjoVaK6J.js → shelf-drop-preview-context-Bkjf0XXw.js} +1 -1
  16. package/dist/chunks/{variable-draft-9-huI1h4.js → variable-draft-DvglU8yj.js} +1 -1
  17. package/dist/dashboard/index.js +1 -1
  18. package/dist/dashboard-authoring/index.js +1919 -1853
  19. package/dist/index.js +8 -8
  20. package/dist/surfboard/index.js +1 -1
  21. package/dist/types/lib/stores/dashboard-store.d.ts +1 -1
  22. package/dist/types/lib/types/common-types.d.ts +0 -50
  23. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -2
  24. package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +6 -5
  25. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +1 -2
  26. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, Fragment as te, jsxs as h } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import jt, { useMemo as ee, useState as L, useEffect as X, createContext as $t, useRef as j, useCallback as K, useContext as qe, lazy as Ee, Suspense as Se, useLayoutEffect as Ce, Activity as Vt, useId as de } from "react";
4
- import { b as Wt, aT as He, b3 as Kt, b4 as qt, u as U, b5 as gt, w as Ht, b6 as Gt, b7 as Xt, b8 as Jt, b9 as Zt, ba as ge, bb as yt, bc as tt, bd as Yt, Y as ye, X as Qt, be as ea, bf as ta, Z as at, _ as aa, bg as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, bh as ca, D as ua, A as fa, C as ma, bi as ha, bj as pa, bk as va, bl as ba, bm as ga, bn as ya, bo as rt, bp as ke, bq as wa, br as Ge, bs as G, bt as Sa, bu as xa, bv as Ca, bw as Ia, bx as Ea } from "./semaphor-ready-indicator-ByFvqHEO.js";
4
+ import { b as Wt, aT as He, b3 as Kt, b4 as qt, u as U, b5 as gt, w as Ht, b6 as Gt, b7 as Xt, b8 as Jt, b9 as Zt, ba as ge, bb as yt, bc as tt, bd as Yt, Y as ye, X as Qt, be as ea, bf as ta, Z as at, _ as aa, bg as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, bh as ca, D as ua, A as fa, C as ma, bi as ha, bj as pa, bk as va, bl as ba, bm as ga, bn as ya, bo as rt, bp as ke, bq as wa, br as Ge, bs as G, bt as Sa, bu as xa, bv as Ca, bw as Ia, bx as Ea } from "./semaphor-ready-indicator-CBQamwQY.js";
5
5
  import { j as Na, c as B } from "./pickers-DkqmtnTL.js";
6
6
  import { az as Ta } from "./bookmark-state-CflS88gq.js";
7
7
  import { r as ka, a as wt } from "./availability-Bp5Gfu1I.js";
@@ -11,7 +11,7 @@ import "./validators-B8fpdinG.js";
11
11
  import "./matrix-operation-contract-DCVinw1o.js";
12
12
  import "./analytics-base-schemas-BaIQrEzX.js";
13
13
  import { parseValueFormatPreferencesResponse as ja, canonicalizeSupportedLocale as xt, getSupportedCurrencyCodes as $a, canonicalizeSupportedCurrencyCode as Va } from "../value-format-preferences/index.js";
14
- import { k as Wa } from "./filter-reach-copy-BSY33ro5.js";
14
+ import { k as Wa } from "./filter-reach-copy-thzt25Rc.js";
15
15
  import { a as Ka } from "./report-runtime-context-BhPzLTbS.js";
16
16
  import { ah as we, ao as ce } from "./temporal-input-presentation-CqbJjIuu.js";
17
17
  function qa() {
@@ -161,7 +161,7 @@ function Tn(e, a, t) {
161
161
  anchorSlot: n.anchorSlot
162
162
  };
163
163
  }
164
- const or = Ee(() => import("./assistant-chat-B-Ddyy8b.js"));
164
+ const or = Ee(() => import("./assistant-chat-SkCraw2C.js"));
165
165
  function kn() {
166
166
  const e = Ht(), a = lr();
167
167
  if (!e.available) return null;
@@ -603,9 +603,9 @@ function xe(e) {
603
603
  function xr() {
604
604
  return globalThis.crypto.randomUUID();
605
605
  }
606
- const Cr = Ee(() => import("./dashboard-controls-Caodx80b.js")), Ir = Ee(
607
- () => import("./edit-dashboard-visual-DeDTuYB5.js")
608
- ), Er = Ee(() => import("./dashboard-json-Ct-AGDHF.js"));
606
+ const Cr = Ee(() => import("./dashboard-controls-CY0gbcCt.js")), Ir = Ee(
607
+ () => import("./edit-dashboard-visual-cX0FM-4i.js")
608
+ ), Er = Ee(() => import("./dashboard-json-DsM79yem.js"));
609
609
  function An({
610
610
  showControls: e = !1,
611
611
  showFooter: a = !0,
@@ -30,7 +30,7 @@ import { aO as t7, aL as n7, aD as Qbe, a3 as Xbe, aC as Jbe, a2 as EP, m as Zbe
30
30
  import { c as ut, X as xn, a4 as qk, M as Wc, J as bn, Q as Yo, O as o7, ah as Ws, ai as BP, H as yi, aj as Wk, ak as a7, al as s7, am as _ye, an as l7, ao as c7, ap as $P, aq as HP, ar as Iye, as as d7, at as u7, au as Tye, a6 as jP, U as f7, av as h7, aw as m7, G as Oh, a3 as Bf, ax as Ps, j as or, B as Ve, L as jn, ay as Dye, ac as Ky, F as Xr, e as An, f as Yn, h as zn, az as qP, aA as Eye, aB as WP, K as UP, s as Nt, x as an, aC as Mye, Y as Rye, W as Aye, aD as p7, aE as g7, aF as Pye, a5 as Fye, y as jt, z as qt, A as Ut, D as Wt, E as Je, r as ml, aG as b7, aH as Oye, ag as Uk, aI as Lye, ae as Vye, af as zye, i as Lh, t as ui, u as jr, v as qr, I as Lr, w as fi, R as Ic, g as y7, d as Da, aa as Kk, T as Fs, k as Os, l as Li, n as yl, C as Gk, q as th, o as KP, a7 as Bye, p as GP, m as nh, aJ as T0, P as uz, N as ab, S as D0, aK as ud, a as fz, aL as $ye, aM as Hye, aN as jye } from "./style-sheet-parts-C7qGZuH1.js";
31
31
  import iv, { flushSync as YP, createPortal as Yk, unstable_batchedUpdates as E0 } from "react-dom";
32
32
  import { i as qye } from "./conversation-sQiWYUOb.js";
33
- import { N as Qb, _ as gI, $ as Wye, a0 as hz, a1 as x7, a2 as Uye, a3 as bM, a4 as mz, m as Kye, k as Gye, a5 as Yye, a6 as Qye, a7 as v7, a8 as Qk, a9 as ov, p as w7, q as Xye, aa as C7, ab as S7, ac as Pp, ad as Jye, ae as av, af as rh, ag as ih, ah as Oi, ai as ou, aj as Gy, ak as k7, al as yM, am as k1, an as Xk, ao as Fp, ap as Yy, aq as QP, ar as N7, as as Zye, at as exe, au as txe, av as _7, aw as N1, H as I7, u as nxe, ax as rxe, ay as T7, az as D7, aA as ixe, aB as oxe, aC as Jl, aD as py, aE as axe, aF as xM, aG as E7, aH as M7, s as R7, aI as sxe, o as pz, aJ as lxe, a as A7, aK as cxe, C as dxe, B as uxe, I as fxe, v as P7, r as hxe, d as mxe, aL as pxe, aM as gxe, aN as F7, aO as hg, P as Qd, K as bxe, R as gz, O as Op, aP as mg, aQ as Qy, T as ni, aR as gy, aS as _1, aT as au, aU as O7, L as yxe, aV as xxe, aW as vxe, aX as L7, aY as wxe, aZ as Cxe, a_ as Sxe, a$ as kxe, b0 as Nxe, b1 as _xe, b2 as Ixe, b3 as Txe, b4 as Dxe, j as Exe, F as Mxe, b5 as V7, b6 as I1, b7 as Rxe, b8 as Axe, b9 as Pxe, ba as Fxe, g as bI, c as z7, b as Oxe, J as bz, bb as Lxe, bc as Vxe, bd as yz, z as zxe, w as Bxe, x as $xe, Z as Hxe, h as jxe, be as vM, e as Ld, bf as yI, bg as qxe, bh as Wxe, bi as B7, bj as Uxe, bk as Kxe, bl as Gxe, bm as Yxe, bn as $7, f as Qxe } from "./filter-reach-copy-BSY33ro5.js";
33
+ import { N as Qb, Z as gI, _ as Wye, $ as hz, a0 as x7, a1 as Uye, a2 as bM, a3 as mz, m as Kye, k as Gye, a4 as Yye, a5 as Qye, a6 as v7, a7 as Qk, a8 as ov, p as w7, q as Xye, a9 as C7, aa as S7, ab as Pp, ac as Jye, ad as av, ae as rh, af as ih, ag as Oi, ah as ou, ai as Gy, aj as k7, ak as yM, al as k1, am as Xk, an as Fp, ao as Yy, ap as QP, aq as N7, ar as Zye, as as exe, at as txe, au as _7, av as N1, H as I7, u as nxe, aw as rxe, ax as T7, ay as D7, az as ixe, aA as oxe, aB as Jl, aC as py, aD as axe, aE as xM, aF as E7, aG as M7, s as R7, aH as sxe, o as pz, aI as lxe, a as A7, aJ as cxe, C as dxe, B as uxe, I as fxe, v as P7, r as hxe, d as mxe, aK as pxe, aL as gxe, aM as F7, aN as hg, P as Qd, K as bxe, R as gz, O as Op, aO as mg, aP as Qy, S as ni, aQ as gy, aR as _1, aS as au, aT as O7, L as yxe, aU as xxe, aV as vxe, aW as L7, aX as wxe, aY as Cxe, aZ as Sxe, a_ as kxe, a$ as Nxe, b0 as _xe, b1 as Ixe, b2 as Txe, b3 as Dxe, j as Exe, F as Mxe, b4 as V7, b5 as I1, b6 as Rxe, b7 as Axe, b8 as Pxe, b9 as Fxe, g as bI, c as z7, b as Oxe, J as bz, ba as Lxe, bb as Vxe, bc as yz, z as zxe, w as Bxe, x as $xe, Y as Hxe, h as jxe, bd as vM, e as Ld, be as yI, bf as qxe, bg as Wxe, bh as B7, bi as Uxe, bj as Kxe, bk as Gxe, bl as Yxe, bm as $7, f as Qxe } from "./filter-reach-copy-thzt25Rc.js";
34
34
  import { b as H7, c as Xxe, e as Jxe, f as j7, h as Zxe, i as Xy, j as q7, p as W7, k as XP, l as xz, m as eve, n as vz, d as U7, o as tve, q as nve, D as K7, r as rve, s as ive, t as ove, B as ave, u as sve, v as lve, w as G7, x as cve, y as dve } from "./index-y3HUzRNk.js";
35
35
  import { k as uve, j as Y7, t as fve, D as JP, l as sv, o as ZP, n as hve, r as mve } from "./export-file-format-C-tJsxsf.js";
36
36
  import { isPdfTableCardType as Q7, PDF_CAPACITY as Na, isFastPdfRowCountEligible as X7 } from "../pdf-export-policy/index.js";
@@ -49,7 +49,7 @@ import { ACTIVITY_RECENT_WINDOW_MS as Yve, parseActivityListResponse as Qve, ACT
49
49
  import { q as Nz, t as _z, u as Zy, a as Jve, f as Zve, V as CM, J as e0e, C as t0e, B as n0e, g as r0e, m as i0e } from "./matrix-analytical-definition-dkS8szLM.js";
50
50
  import { r as SM, t as o0e, p as a0e } from "./matrix-member-presentation-DRa-9e6Q.js";
51
51
  import "react-dom/client";
52
- import { D as CI, b as s0e, e as l0e } from "./edit-Bpdh_P_a.js";
52
+ import { D as CI, b as s0e, e as l0e } from "./edit-9df1zOWe.js";
53
53
  import { p as fG, c as c0e } from "./column-bands-RdM-kjDe.js";
54
54
  import { b as d0e } from "./resolver-DG_tfEpt.js";
55
55
  const u0e = { byId: /* @__PURE__ */ new Map(), pending: !1 };
@@ -3275,8 +3275,8 @@ const Q = cv()(
3275
3275
  ]);
3276
3276
  },
3277
3277
  openStyleSheet: () => {
3278
- const { dashboardStyle: n, globalStyle: r, style: i } = t().dashboard;
3279
- e({ styleSheet: { open: !0, snapshot: { dashboardStyle: n, globalStyle: r, style: i } } });
3278
+ const { dashboardStyle: n } = t().dashboard;
3279
+ e({ styleSheet: { open: !0, snapshot: { dashboardStyle: n } } });
3280
3280
  },
3281
3281
  setDashboardStyle: (n, r) => {
3282
3282
  Zo([{ op: "dashboard.style", ...n ? { style: n } : {}, sentences: r }]);
@@ -3284,11 +3284,10 @@ const Q = cv()(
3284
3284
  closeStyleSheet: (n) => {
3285
3285
  const { styleSheet: r } = t();
3286
3286
  e((i) => {
3287
- if (n === "cancel" && r.open && r.snapshot)
3288
- for (const o of ["dashboardStyle", "globalStyle", "style"]) {
3289
- const a = r.snapshot[o];
3290
- a === void 0 ? delete i.dashboard[o] : i.dashboard[o] = Ht(a);
3291
- }
3287
+ if (n === "cancel" && r.open && r.snapshot) {
3288
+ const { dashboardStyle: o } = r.snapshot;
3289
+ o === void 0 ? delete i.dashboard.dashboardStyle : i.dashboard.dashboardStyle = Ht(o);
3290
+ }
3292
3291
  i.styleSheet = { open: !1 };
3293
3292
  });
3294
3293
  },
@@ -138274,8 +138273,8 @@ function RCt({
138274
138273
  appearance: e,
138275
138274
  children: t
138276
138275
  }) {
138277
- var R, F;
138278
- const { authToken: n, id: r, tokenProps: i } = Xt(), o = rY(), a = (R = o.data) == null ? void 0 : R.organizationAppearance, s = (F = i.config) == null ? void 0 : F.appearance, [l, c] = X(!1), [u, f] = X(null), [h, m] = X(null), [p, g] = X(null), [b, y] = X(null), w = `${i.apiServiceUrl ?? ""}:${(n == null ? void 0 : n.accessToken) ?? ""}`, v = ir({
138276
+ var P, R;
138277
+ const { authToken: n, id: r, tokenProps: i } = Xt(), o = rY(), a = (P = o.data) == null ? void 0 : P.organizationAppearance, s = (R = i.config) == null ? void 0 : R.appearance, [l, c] = X(!1), [u, f] = X(null), [h, m] = X(null), [p, g] = X(null), [b, y] = X(null), w = `${i.apiServiceUrl ?? ""}:${(n == null ? void 0 : n.accessToken) ?? ""}`, v = ir({
138279
138278
  queryKey: PF({
138280
138279
  resourceType: bi.DASHBOARD,
138281
138280
  apiServiceUrl: i.apiServiceUrl,
@@ -138285,7 +138284,7 @@ function RCt({
138285
138284
  `${i.apiServiceUrl}/management/v1/dashboards`,
138286
138285
  (n == null ? void 0 : n.accessToken) || ""
138287
138286
  ),
138288
- select: ($) => ($ == null ? void 0 : $.organizationAppearance) ?? null,
138287
+ select: (F) => (F == null ? void 0 : F.organizationAppearance) ?? null,
138289
138288
  enabled: !o.dashboardIdToFetch && a === void 0 && !!(n != null && n.accessToken)
138290
138289
  });
138291
138290
  Oe(() => {
@@ -138299,38 +138298,35 @@ function RCt({
138299
138298
  appearance: v.data
138300
138299
  });
138301
138300
  }, [v.data, w]);
138302
- const k = (b == null ? void 0 : b.scopeKey) === w ? b.appearance : null, C = a !== void 0 ? a : v.data !== void 0 ? v.data : k, S = Q(($) => $.dashboard.dashboardStyle), N = Q(($) => $.dashboard.globalStyle), { style: T, organizationAppearance: _ } = B(
138303
- () => Qxe(
138304
- { dashboardStyle: S, globalStyle: N },
138305
- C
138306
- ),
138307
- [N, S, C]
138308
- ), I = B(
138309
- () => d0e({ organizationAppearance: _ }),
138310
- [_]
138311
- ), E = Te(() => {
138312
- f(p ?? h ?? I), c(!0);
138301
+ const k = (b == null ? void 0 : b.scopeKey) === w ? b.appearance : null, C = a !== void 0 ? a : v.data !== void 0 ? v.data : k, S = Q((F) => F.dashboard.dashboardStyle), { style: N, organizationAppearance: T } = B(
138302
+ () => Qxe({ dashboardStyle: S }, C),
138303
+ [S, C]
138304
+ ), _ = B(
138305
+ () => d0e({ organizationAppearance: T }),
138306
+ [T]
138307
+ ), I = Te(() => {
138308
+ f(p ?? h ?? _), c(!0);
138313
138309
  }, [
138314
138310
  p,
138315
138311
  h,
138316
- I
138317
- ]), D = Te(() => {
138312
+ _
138313
+ ]), E = Te(() => {
138318
138314
  c(!1);
138319
138315
  }, []);
138320
138316
  Oe(() => {
138321
138317
  f(null), m(null), g(null), c(!1);
138322
138318
  }, [r]);
138323
- const M = B(
138319
+ const D = B(
138324
138320
  () => ({
138325
- openBrandStudioPreview: E
138321
+ openBrandStudioPreview: I
138326
138322
  }),
138327
- [E]
138323
+ [I]
138328
138324
  );
138329
- return /* @__PURE__ */ d(k0t, { defaultTheme: "system", storageKey: "vite-ui-theme", children: /* @__PURE__ */ d(S0t, { value: M, children: /* @__PURE__ */ d(
138325
+ return /* @__PURE__ */ d(k0t, { defaultTheme: "system", storageKey: "vite-ui-theme", children: /* @__PURE__ */ d(S0t, { value: D, children: /* @__PURE__ */ d(
138330
138326
  Vfe,
138331
138327
  {
138332
- organizationAppearance: p ?? h ?? _,
138333
- dashboardStyle: T,
138328
+ organizationAppearance: p ?? h ?? T,
138329
+ dashboardStyle: N,
138334
138330
  tokenAppearance: s,
138335
138331
  reactAppearance: e,
138336
138332
  style: { height: "100%", width: "100%" },
@@ -138352,10 +138348,10 @@ function RCt({
138352
138348
  {
138353
138349
  appearance: u,
138354
138350
  onDraftChange: g,
138355
- onSave: ($) => {
138356
- m($), g($), f($);
138351
+ onSave: (F) => {
138352
+ m(F), g(F), f(F);
138357
138353
  },
138358
- onCancel: D
138354
+ onCancel: E
138359
138355
  }
138360
138356
  )
138361
138357
  }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as Ne, jsx as N, Fragment as ft } from "react/jsx-runtime";
2
2
  import * as T from "react";
3
3
  import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as q, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as ne, useState as de, useCallback as G, useMemo as W, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
4
- import { aM as In, a5 as ie, aN as Pt, aO as Rn, a6 as wt, aP as ot, aQ as Ct, aR as Et, aS as Dn, aT as An, aU as Nn, aV as Mn, u as Re, aW as Ln, aX as _n, aY as kn, aZ as Tn, a_ as Hn, a$ as Vn, b0 as $n, b1 as Fn, b2 as Kn } from "./semaphor-ready-indicator-ByFvqHEO.js";
4
+ import { aM as In, a5 as ie, aN as Pt, aO as Rn, a6 as wt, aP as ot, aQ as Ct, aR as Et, aS as Dn, aT as An, aU as Nn, aV as Mn, u as Re, aW as Ln, aX as _n, aY as kn, aZ as Tn, a_ as Hn, a$ as Vn, b0 as $n, b1 as Fn, b2 as Kn } from "./semaphor-ready-indicator-CBQamwQY.js";
5
5
  import { C as It, G as Rt, H as ze, J as me, K as Dt, M as Bn, O as On, Q as Pe, U as qn, V as At, W as Gn, Y as Un } from "./style-sheet-parts-C7qGZuH1.js";
6
6
  import { R as Wn, S as Nt, U as Mt, V as Je, W as Te, X as Yn, Y as Xn, Z as jn, T as Qn } from "./resolve-dashboard-input-context-Lkbwycwe.js";
7
7
  import { c as we } from "./pickers-DkqmtnTL.js";
@@ -1,6 +1,6 @@
1
1
  import { c as v, g as N, a as y, b as D } from "./resolve-dashboard-input-context-Lkbwycwe.js";
2
2
  import { d as M } from "./validators-B8fpdinG.js";
3
- import { g as A, a as q, b as w, c as E } from "./filter-reach-copy-BSY33ro5.js";
3
+ import { g as A, a as q, b as w, c as E } from "./filter-reach-copy-thzt25Rc.js";
4
4
  import { g as L, m as x } from "./matrix-analytical-definition-dkS8szLM.js";
5
5
  const O = [
6
6
  {
@@ -1,4 +1,4 @@
1
- import { D as o } from "../chunks/dashboard-DxGIr1vZ.js";
1
+ import { D as o } from "../chunks/dashboard-B_w_ekUz.js";
2
2
  import { C as s, E as C } from "../chunks/bookmark-state-CflS88gq.js";
3
3
  export {
4
4
  s as CONTROL_CARD_DEFAULT_VALUE,