react-semaphor 0.1.509 → 0.1.511

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 (40) hide show
  1. package/dist/brand-studio/index.cjs +1 -1
  2. package/dist/brand-studio/index.js +1 -1
  3. package/dist/chunks/{dashboard-briefing-launcher-BoXFrqq0.cjs → dashboard-briefing-launcher-BQFNo0jl.cjs} +1 -1
  4. package/dist/chunks/{dashboard-briefing-launcher-B5AQu-Vb.js → dashboard-briefing-launcher-CKH7Tf1f.js} +103 -103
  5. package/dist/chunks/{dashboard-controls-gUVkQm8o.cjs → dashboard-controls-ClFLfxq2.cjs} +1 -1
  6. package/dist/chunks/{dashboard-controls-CKKkSXEX.js → dashboard-controls-DmjRr3rv.js} +130 -130
  7. package/dist/chunks/{dashboard-json-CAJJquVx.js → dashboard-json-75yKcetl.js} +2 -2
  8. package/dist/chunks/{dashboard-json-B7fSi6_b.cjs → dashboard-json-DfqjM_p3.cjs} +1 -1
  9. package/dist/chunks/edit-dashboard-visual-BRSB4-Gg.cjs +172 -0
  10. package/dist/chunks/{edit-dashboard-visual-DCnbqRRn.js → edit-dashboard-visual-D--Ctlyq.js} +5604 -5597
  11. package/dist/chunks/{editor-action-buttons-DDA5JGwO.js → editor-action-buttons-DFrdNdTp.js} +27 -27
  12. package/dist/chunks/{editor-action-buttons-CBQsVYdt.cjs → editor-action-buttons-DxV1NKMw.cjs} +1 -1
  13. package/dist/chunks/{index-DkEAikW8.cjs → index-Bym8NiEh.cjs} +237 -238
  14. package/dist/chunks/{index-CL2lvhwk.js → index-bH_soNi5.js} +40505 -40547
  15. package/dist/chunks/{report-preferences-dialog-Bv2VIOKc.js → report-preferences-dialog-BMkvjfq4.js} +7 -7
  16. package/dist/chunks/{report-preferences-dialog-Wg9g9fIj.cjs → report-preferences-dialog-BrrpSEMl.cjs} +1 -1
  17. package/dist/chunks/{switch-iC1x2dcE.cjs → switch-BkcJCTS7.cjs} +14 -14
  18. package/dist/chunks/{switch-CD4uGTZI.js → switch-CrstROAR.js} +169 -161
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/data-app-builder/index.cjs +1 -1
  22. package/dist/data-app-builder/index.js +50 -50
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +216 -234
  25. package/dist/style.css +1 -1
  26. package/dist/surfboard/index.cjs +1 -1
  27. package/dist/surfboard/index.js +2 -2
  28. package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +7 -1
  29. package/dist/types/components/error-fallbacks/fallback.d.ts +23 -11
  30. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +5 -0
  31. package/dist/types/lib/dashboard/open-card-in-visual-editor.d.ts +15 -0
  32. package/dist/types/lib/dashboard-pagination/dashboard-card-pagination.d.ts +24 -0
  33. package/dist/types/lib/hooks/use-dashboard-card.d.ts +4 -0
  34. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +3 -1
  35. package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +4 -1
  36. package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +14 -2
  37. package/dist/types/lib/stores/dashboard-store.d.ts +4 -0
  38. package/dist/types/lib/utils/card-loading-state.d.ts +1 -0
  39. package/package.json +1 -1
  40. package/dist/chunks/edit-dashboard-visual-AZetLUv1.cjs +0 -172
@@ -1,7 +1,7 @@
1
- import { j as lm, c as ot, C as ed } from "./x-CXDkqdur.js";
2
1
  import { jsx as T, jsxs as De, Fragment as xr } from "react/jsx-runtime";
3
2
  import * as m from "react";
4
- import R, { forwardRef as td, isValidElement as Ei, useLayoutEffect as cm, useState as dm, useRef as Qs, useMemo as um, useId as fm, useImperativeHandle as pm } from "react";
3
+ import R, { forwardRef as ed, isValidElement as Ei, useLayoutEffect as lm, useState as cm, useRef as Qs, useMemo as dm, useId as um, useImperativeHandle as fm } from "react";
4
+ import { j as pm, c as ot, C as td } from "./x-CXDkqdur.js";
5
5
  import { r as hm, l as ja, v as en, D as mo, B as qa, n as mm, o as gm, h as nd, p as go, q as ym, s as Xs, t as bm, u as Zs, x as Ve } from "./card-config-utils-Bq1enstT.js";
6
6
  import { am as vm, ak as rt, b as dr, a4 as Im, ay as Sm, F as Cm, q as Js, A as yo, a_ as _t, ah as Xt } from "./validators-BDYzZFgs.js";
7
7
  import { J as jo, w as tn, x as wm, y as xm, u as na } from "./matrix-operation-contract-xL8IhFzp.js";
@@ -7876,7 +7876,7 @@ function bS(e, n) {
7876
7876
  }) : l(s);
7877
7877
  }), t;
7878
7878
  }
7879
- var fk = td(function(e, n) {
7879
+ var fk = ed(function(e, n) {
7880
7880
  let { invert: t, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: a, className: s, offset: l, mobileOffset: c, theme: d = "light", richColors: u, duration: p, style: f, visibleToasts: g = cS, toastOptions: h, dir: I = Ul(), gap: C = pS, loadingIcon: y, icons: v, containerAriaLabel: S = "Notifications", pauseWhenPageIsHidden: x } = e, [w, b] = R.useState([]), E = R.useMemo(() => Array.from(new Set([r].concat(w.filter((j) => j.position).map((j) => j.position)))), [w, r]), [F, D] = R.useState([]), [A, P] = R.useState(!1), [_, B] = R.useState(!1), [Z, L] = R.useState(d !== "system" ? d : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), V = R.useRef(null), M = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), O = R.useRef(null), Q = R.useRef(!1), ie = R.useCallback((j) => {
7881
7881
  b((J) => {
7882
7882
  var $;
@@ -10976,23 +10976,23 @@ function sc(e, n, t) {
10976
10976
  e.dashboard.defaultInputValues,
10977
10977
  n,
10978
10978
  t
10979
- ), zS(e, n, t), e.cardViewState[n] && (e.cardViewState[t] = e.cardViewState[n], delete e.cardViewState[n]), delete e.insightRenderRequests[n];
10979
+ ), zS(e, n, t), e.cardViewState[n] && (e.cardViewState[t] = e.cardViewState[n], delete e.cardViewState[n]), e.dashboardCardPagination[n] && (e.dashboardCardPagination[t] = e.dashboardCardPagination[n], delete e.dashboardCardPagination[n]), delete e.insightRenderRequests[n];
10980
10980
  }
10981
10981
  function lc(e, n, t) {
10982
10982
  var r;
10983
10983
  (r = e == null ? void 0 : e.byCardId) != null && r[n] && (e.byCardId[t] = e.byCardId[n], delete e.byCardId[n]);
10984
10984
  }
10985
10985
  function co(e, n) {
10986
- var t, r, o, i, a;
10986
+ var t, r, o, i, a, s;
10987
10987
  if (n.size) {
10988
10988
  HS(e, n);
10989
- for (const s of n)
10990
- (t = e.cardViewState) == null || delete t[s], (r = e.insightRenderRequests) == null || delete r[s];
10989
+ for (const l of n)
10990
+ (t = e.cardViewState) == null || delete t[l], (r = e.dashboardCardPagination) == null || delete r[l], (o = e.insightRenderRequests) == null || delete o[l];
10991
10991
  e.dashboard.inputs && (e.dashboard.inputs = e.dashboard.inputs.map(
10992
- (s) => ao(s, n)
10992
+ (l) => ao(l, n)
10993
10993
  ));
10994
- for (const s of n)
10995
- (o = e.dashboardInputValues.byCardId) == null || delete o[s], (a = (i = e.dashboard.defaultInputValues) == null ? void 0 : i.byCardId) == null || delete a[s];
10994
+ for (const l of n)
10995
+ (i = e.dashboardInputValues.byCardId) == null || delete i[l], (s = (a = e.dashboard.defaultInputValues) == null ? void 0 : a.byCardId) == null || delete s[l];
10996
10996
  e.dashboardInputValues = Ee(
10997
10997
  e.dashboardInputValues
10998
10998
  ), e.dashboard.defaultInputValues && (e.dashboard.defaultInputValues = Ee(
@@ -11286,6 +11286,7 @@ const yt = gs()(
11286
11286
  cardControlValuesMap: {},
11287
11287
  dashboardInputValues: {},
11288
11288
  cardViewState: {},
11289
+ dashboardCardPagination: {},
11289
11290
  dashboardInputReferenceTime: void 0,
11290
11291
  semanticExecutionPayload: Qr(),
11291
11292
  reportContext: null,
@@ -11321,7 +11322,7 @@ const yt = gs()(
11321
11322
  a.relaodToken = 0, a.isSessionExpired = !1, a.authToken = void 0, a.currentBreakpoint = "lg", a.dashboard = {
11322
11323
  id: "",
11323
11324
  style: Zs
11324
- }, a.dashboardAssistantDraftScopeKey = uc(), a.showContext = !1, a.selectedSheetId = null, a.selectedCardId = null, a.selectedFrameId = null, a.selectedCard = null, a.selectedDocumentSectionIdsBySheetId = {}, a.documentInspectorTabsBySheetId = {}, a.documentInputRuntimeBySheetId = {}, a.visualEditPendingFrameRewrites = {}, a.visualEditPendingFilterRewrites = {}, a.visualEditPendingDashboardCalculatedFields = void 0, a.showFilters = !1, a.isDashboardEditing = !1, a.isVisualEditing = !1, a.showDashboardJSON = !1, a.filteringCards = [], a.selectedLensId = void 0, a.filterValues = void 0, a.inlineFilterValuesMap = {}, a.controlValues = {}, a.cardControlValuesMap = {}, a.dashboardInputValues = {}, a.cardViewState = {}, a.insightRenderRequests = {}, a.restoredTransientContextScope = null, a.outgoingTransientContextScope = null, a.pendingDrillThrough = null, a.dashboardInputReferenceTime = void 0, a.semanticExecutionPayload = Qr(), a.reportContext = null, a.reportContextSessionAccessToken = null;
11325
+ }, a.dashboardAssistantDraftScopeKey = uc(), a.showContext = !1, a.selectedSheetId = null, a.selectedCardId = null, a.selectedFrameId = null, a.selectedCard = null, a.selectedDocumentSectionIdsBySheetId = {}, a.documentInspectorTabsBySheetId = {}, a.documentInputRuntimeBySheetId = {}, a.visualEditPendingFrameRewrites = {}, a.visualEditPendingFilterRewrites = {}, a.visualEditPendingDashboardCalculatedFields = void 0, a.showFilters = !1, a.isDashboardEditing = !1, a.isVisualEditing = !1, a.showDashboardJSON = !1, a.filteringCards = [], a.selectedLensId = void 0, a.filterValues = void 0, a.inlineFilterValuesMap = {}, a.controlValues = {}, a.cardControlValuesMap = {}, a.dashboardInputValues = {}, a.cardViewState = {}, a.dashboardCardPagination = {}, a.insightRenderRequests = {}, a.restoredTransientContextScope = null, a.outgoingTransientContextScope = null, a.pendingDrillThrough = null, a.dashboardInputReferenceTime = void 0, a.semanticExecutionPayload = Qr(), a.reportContext = null, a.reportContextSessionAccessToken = null;
11325
11326
  });
11326
11327
  },
11327
11328
  triggerReload: () => {
@@ -11938,6 +11939,12 @@ const yt = gs()(
11938
11939
  t.cardViewState = {};
11939
11940
  });
11940
11941
  },
11942
+ setDashboardCardPagination: (t, r) => {
11943
+ e((o) => {
11944
+ const i = o.dashboardCardPagination[t];
11945
+ (i == null ? void 0 : i.page) === r.page && i.pageSize === r.pageSize && i.queryInputIdentity === r.queryInputIdentity || (o.dashboardCardPagination[t] = r);
11946
+ });
11947
+ },
11941
11948
  setDashboardControlsModel: (t, r, o) => {
11942
11949
  e((i) => {
11943
11950
  const a = o != null && o.renamed ? {
@@ -12261,7 +12268,7 @@ const yt = gs()(
12261
12268
  });
12262
12269
  },
12263
12270
  setDashboard: (t, r) => {
12264
- var c, d, u, p, f, g, h, I, C, y, v, S, x, w, b, E;
12271
+ var c, d, u, p, f, g, h, I, C, y, v, S, x, w, b, E, F;
12265
12272
  fc(t);
12266
12273
  const o = Gl(t), i = n(), a = ((c = r == null ? void 0 : r.reportContext) == null ? void 0 : c.calendar.tz) ?? ((d = i.reportContext) == null ? void 0 : d.calendar.tz), s = Nl(
12267
12274
  o,
@@ -12279,7 +12286,7 @@ const yt = gs()(
12279
12286
  e({
12280
12287
  dashboard: o,
12281
12288
  selectedSheetId: (f = o.sheets) != null && f.some(
12282
- (F) => F.id === i.selectedSheetId
12289
+ (D) => D.id === i.selectedSheetId
12283
12290
  ) ? i.selectedSheetId : ((h = (g = o.sheets) == null ? void 0 : g[0]) == null ? void 0 : h.id) ?? null,
12284
12291
  selectedDocumentSectionIdsBySheetId: {},
12285
12292
  documentInspectorTabsBySheetId: {},
@@ -12291,17 +12298,18 @@ const yt = gs()(
12291
12298
  cardControlValuesMap: l.cardControlValuesMap,
12292
12299
  dashboardInputValues: (r == null ? void 0 : r.dashboardInputValues) ?? (((I = i.dashboard) == null ? void 0 : I.id) === o.id ? i.dashboardInputValues : {}),
12293
12300
  cardViewState: ((C = i.dashboard) == null ? void 0 : C.id) === o.id ? i.cardViewState : {},
12294
- restoredTransientContextScope: ((y = i.dashboard) == null ? void 0 : y.id) === o.id ? i.restoredTransientContextScope : null,
12295
- outgoingTransientContextScope: ((v = i.dashboard) == null ? void 0 : v.id) === o.id ? i.outgoingTransientContextScope : null,
12296
- dashboardInputReferenceTime: (r == null ? void 0 : r.dashboardInputReferenceTime) ?? (((S = i.dashboard) == null ? void 0 : S.id) === o.id ? i.dashboardInputReferenceTime : void 0),
12301
+ dashboardCardPagination: ((y = i.dashboard) == null ? void 0 : y.id) === o.id ? i.dashboardCardPagination : {},
12302
+ restoredTransientContextScope: ((v = i.dashboard) == null ? void 0 : v.id) === o.id ? i.restoredTransientContextScope : null,
12303
+ outgoingTransientContextScope: ((S = i.dashboard) == null ? void 0 : S.id) === o.id ? i.outgoingTransientContextScope : null,
12304
+ dashboardInputReferenceTime: (r == null ? void 0 : r.dashboardInputReferenceTime) ?? (((x = i.dashboard) == null ? void 0 : x.id) === o.id ? i.dashboardInputReferenceTime : void 0),
12297
12305
  semanticExecutionPayload: (r == null ? void 0 : r.semanticExecutionPayload) ?? // Same-dashboard local replacements (JSON editor, discard/undo, etc.)
12298
12306
  // preserve the existing runtime registry unless a fresh authoritative
12299
12307
  // snapshot is supplied explicitly. Raw JSON-editor semantic-ref
12300
12308
  // changes are intentionally out of scope for v1 and do not trigger
12301
12309
  // semantic payload regeneration here.
12302
- (((x = i.dashboard) == null ? void 0 : x.id) === o.id ? i.semanticExecutionPayload : Qr()),
12303
- reportContext: (r == null ? void 0 : r.reportContext) ?? (((w = i.dashboard) == null ? void 0 : w.id) === o.id ? i.reportContext : null),
12304
- reportContextSessionAccessToken: r != null && r.reportContext ? ((b = i.authToken) == null ? void 0 : b.accessToken) ?? null : ((E = i.dashboard) == null ? void 0 : E.id) === o.id ? i.reportContextSessionAccessToken : null
12310
+ (((w = i.dashboard) == null ? void 0 : w.id) === o.id ? i.semanticExecutionPayload : Qr()),
12311
+ reportContext: (r == null ? void 0 : r.reportContext) ?? (((b = i.dashboard) == null ? void 0 : b.id) === o.id ? i.reportContext : null),
12312
+ reportContextSessionAccessToken: r != null && r.reportContext ? ((E = i.authToken) == null ? void 0 : E.accessToken) ?? null : ((F = i.dashboard) == null ? void 0 : F.id) === o.id ? i.reportContextSessionAccessToken : null
12305
12313
  });
12306
12314
  },
12307
12315
  setDashboardWithFilterValues: (t, r, o, i) => {
@@ -12319,7 +12327,7 @@ const yt = gs()(
12319
12327
  i,
12320
12328
  "dashboardInputValues"
12321
12329
  );
12322
- l.dashboard = a, l.filterValues = r, l.controlValues = s.dashboardControlValues, l.cardControlValuesMap = s.cardControlValuesMap, d ? (l.dashboardInputValues = (i == null ? void 0 : i.dashboardInputValues) || {}, l.dashboardInputReferenceTime = i == null ? void 0 : i.dashboardInputReferenceTime) : c || (l.dashboardInputValues = {}, l.dashboardInputReferenceTime = void 0), i != null && i.cardViewState ? l.cardViewState = i.cardViewState : c || (l.cardViewState = {}), i != null && i.transientContexts ? l.restoredTransientContextScope = {
12330
+ l.dashboard = a, l.filterValues = r, l.controlValues = s.dashboardControlValues, l.cardControlValuesMap = s.cardControlValuesMap, d ? (l.dashboardInputValues = (i == null ? void 0 : i.dashboardInputValues) || {}, l.dashboardInputReferenceTime = i == null ? void 0 : i.dashboardInputReferenceTime) : c || (l.dashboardInputValues = {}, l.dashboardInputReferenceTime = void 0), i != null && i.cardViewState ? l.cardViewState = i.cardViewState : c || (l.cardViewState = {}), c || (l.dashboardCardPagination = {}), i != null && i.transientContexts ? l.restoredTransientContextScope = {
12323
12331
  dashboardId: a.id,
12324
12332
  contexts: i.transientContexts
12325
12333
  } : c || (l.restoredTransientContextScope = null), c || (l.outgoingTransientContextScope = null), l.semanticExecutionPayload = (i == null ? void 0 : i.semanticExecutionPayload) ?? Qr(), l.reportContext = (i == null ? void 0 : i.reportContext) ?? (c ? l.reportContext : null), l.reportContextSessionAccessToken = i != null && i.reportContext ? ((p = i.authToken) == null ? void 0 : p.accessToken) ?? ((f = l.authToken) == null ? void 0 : f.accessToken) ?? null : c ? l.reportContextSessionAccessToken : null, l.authToken = (i == null ? void 0 : i.authToken) ?? l.authToken, l.dashboardInputValues = Ft({
@@ -15893,7 +15901,7 @@ async function JC(e, n, t = {}, r = "POST") {
15893
15901
  }
15894
15902
  const ew = typeof window < "u" && window.isSecureContext, Zk = ew ? ZC : JC;
15895
15903
  function Jk(e) {
15896
- return e ? lm(e).params : void 0;
15904
+ return e ? pm(e).params : void 0;
15897
15905
  }
15898
15906
  function eR(e) {
15899
15907
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -15978,116 +15986,6 @@ const Le = (e) => {
15978
15986
  const t = rt(e);
15979
15987
  return t === "datetime" ? "date" : t === "unknown" ? "string" : t;
15980
15988
  };
15981
- /**
15982
- * @license lucide-react v0.453.0 - ISC
15983
- *
15984
- * This source code is licensed under the ISC license.
15985
- * See the LICENSE file in the root directory of this source tree.
15986
- */
15987
- const lR = ot("ChartColumn", [
15988
- ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
15989
- ["path", { d: "M18 17V9", key: "2bz60n" }],
15990
- ["path", { d: "M13 17V5", key: "1frdt8" }],
15991
- ["path", { d: "M8 17v-3", key: "17ska0" }]
15992
- ]);
15993
- /**
15994
- * @license lucide-react v0.453.0 - ISC
15995
- *
15996
- * This source code is licensed under the ISC license.
15997
- * See the LICENSE file in the root directory of this source tree.
15998
- */
15999
- const tw = ot("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
16000
- /**
16001
- * @license lucide-react v0.453.0 - ISC
16002
- *
16003
- * This source code is licensed under the ISC license.
16004
- * See the LICENSE file in the root directory of this source tree.
16005
- */
16006
- const nw = ot("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
16007
- /**
16008
- * @license lucide-react v0.453.0 - ISC
16009
- *
16010
- * This source code is licensed under the ISC license.
16011
- * See the LICENSE file in the root directory of this source tree.
16012
- */
16013
- const cR = ot("Info", [
16014
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
16015
- ["path", { d: "M12 16v-4", key: "1dtifu" }],
16016
- ["path", { d: "M12 8h.01", key: "e9boi3" }]
16017
- ]);
16018
- /**
16019
- * @license lucide-react v0.453.0 - ISC
16020
- *
16021
- * This source code is licensed under the ISC license.
16022
- * See the LICENSE file in the root directory of this source tree.
16023
- */
16024
- const dR = ot("LoaderCircle", [
16025
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
16026
- ]);
16027
- /**
16028
- * @license lucide-react v0.453.0 - ISC
16029
- *
16030
- * This source code is licensed under the ISC license.
16031
- * See the LICENSE file in the root directory of this source tree.
16032
- */
16033
- const uR = ot("RotateCcw", [
16034
- ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
16035
- ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
16036
- ]);
16037
- /**
16038
- * @license lucide-react v0.453.0 - ISC
16039
- *
16040
- * This source code is licensed under the ISC license.
16041
- * See the LICENSE file in the root directory of this source tree.
16042
- */
16043
- const fR = ot("SlidersHorizontal", [
16044
- ["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
16045
- ["line", { x1: "10", x2: "3", y1: "4", y2: "4", key: "1q6298" }],
16046
- ["line", { x1: "21", x2: "12", y1: "12", y2: "12", key: "1iu8h1" }],
16047
- ["line", { x1: "8", x2: "3", y1: "12", y2: "12", key: "ntss68" }],
16048
- ["line", { x1: "21", x2: "16", y1: "20", y2: "20", key: "14d8ph" }],
16049
- ["line", { x1: "12", x2: "3", y1: "20", y2: "20", key: "m0wm8r" }],
16050
- ["line", { x1: "14", x2: "14", y1: "2", y2: "6", key: "14e1ph" }],
16051
- ["line", { x1: "8", x2: "8", y1: "10", y2: "14", key: "1i6ji0" }],
16052
- ["line", { x1: "16", x2: "16", y1: "18", y2: "22", key: "1lctlv" }]
16053
- ]);
16054
- /**
16055
- * @license lucide-react v0.453.0 - ISC
16056
- *
16057
- * This source code is licensed under the ISC license.
16058
- * See the LICENSE file in the root directory of this source tree.
16059
- */
16060
- const pR = ot("Table2", [
16061
- [
16062
- "path",
16063
- {
16064
- d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",
16065
- key: "gugj83"
16066
- }
16067
- ]
16068
- ]);
16069
- /**
16070
- * @license lucide-react v0.453.0 - ISC
16071
- *
16072
- * This source code is licensed under the ISC license.
16073
- * See the LICENSE file in the root directory of this source tree.
16074
- */
16075
- const hR = ot("Type", [
16076
- ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
16077
- ["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
16078
- ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
16079
- ]);
16080
- /**
16081
- * @license lucide-react v0.453.0 - ISC
16082
- *
16083
- * This source code is licensed under the ISC license.
16084
- * See the LICENSE file in the root directory of this source tree.
16085
- */
16086
- const mR = ot("Upload", [
16087
- ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
16088
- ["polyline", { points: "17 8 12 3 7 8", key: "t8dd8p" }],
16089
- ["line", { x1: "12", x2: "12", y1: "3", y2: "15", key: "widbto" }]
16090
- ]);
16091
15989
  function vc(e, n) {
16092
15990
  if (typeof e == "function")
16093
15991
  return e(n);
@@ -16112,19 +16010,19 @@ function Bn(...e) {
16112
16010
  function oe(...e) {
16113
16011
  return m.useCallback(Bn(...e), e);
16114
16012
  }
16115
- var rw = Symbol.for("react.lazy"), Oo = m[" use ".trim().toString()];
16116
- function ow(e) {
16013
+ var tw = Symbol.for("react.lazy"), Oo = m[" use ".trim().toString()];
16014
+ function nw(e) {
16117
16015
  return typeof e == "object" && e !== null && "then" in e;
16118
16016
  }
16119
16017
  function bf(e) {
16120
- return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === rw && "_payload" in e && ow(e._payload);
16018
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === tw && "_payload" in e && nw(e._payload);
16121
16019
  }
16122
16020
  // @__NO_SIDE_EFFECTS__
16123
16021
  function Ts(e) {
16124
- const n = /* @__PURE__ */ iw(e), t = m.forwardRef((r, o) => {
16022
+ const n = /* @__PURE__ */ rw(e), t = m.forwardRef((r, o) => {
16125
16023
  let { children: i, ...a } = r;
16126
16024
  bf(i) && typeof Oo == "function" && (i = Oo(i._payload));
16127
- const s = m.Children.toArray(i), l = s.find(sw);
16025
+ const s = m.Children.toArray(i), l = s.find(iw);
16128
16026
  if (l) {
16129
16027
  const c = l.props.children, d = s.map((u) => u === l ? m.Children.count(c) > 1 ? m.Children.only(null) : m.isValidElement(c) ? c.props.children : null : u);
16130
16028
  return /* @__PURE__ */ T(n, { ...a, ref: o, children: m.isValidElement(c) ? m.cloneElement(c, void 0, d) : null });
@@ -16135,22 +16033,22 @@ function Ts(e) {
16135
16033
  }
16136
16034
  var vf = /* @__PURE__ */ Ts("Slot");
16137
16035
  // @__NO_SIDE_EFFECTS__
16138
- function iw(e) {
16036
+ function rw(e) {
16139
16037
  const n = m.forwardRef((t, r) => {
16140
16038
  let { children: o, ...i } = t;
16141
16039
  if (bf(o) && typeof Oo == "function" && (o = Oo(o._payload)), m.isValidElement(o)) {
16142
- const a = cw(o), s = lw(i, o.props);
16040
+ const a = sw(o), s = aw(i, o.props);
16143
16041
  return o.type !== m.Fragment && (s.ref = r ? Bn(r, a) : a), m.cloneElement(o, s);
16144
16042
  }
16145
16043
  return m.Children.count(o) > 1 ? m.Children.only(null) : null;
16146
16044
  });
16147
16045
  return n.displayName = `${e}.SlotClone`, n;
16148
16046
  }
16149
- var aw = Symbol("radix.slottable");
16150
- function sw(e) {
16151
- return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === aw;
16047
+ var ow = Symbol("radix.slottable");
16048
+ function iw(e) {
16049
+ return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ow;
16152
16050
  }
16153
- function lw(e, n) {
16051
+ function aw(e, n) {
16154
16052
  const t = { ...n };
16155
16053
  for (const r in n) {
16156
16054
  const o = e[r], i = n[r];
@@ -16161,7 +16059,7 @@ function lw(e, n) {
16161
16059
  }
16162
16060
  return { ...e, ...t };
16163
16061
  }
16164
- function cw(e) {
16062
+ function sw(e) {
16165
16063
  var r, o;
16166
16064
  let n = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, t = n && "isReactWarning" in n && n.isReactWarning;
16167
16065
  return t ? e.ref : (n = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, t = n && "isReactWarning" in n && n.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
@@ -16195,7 +16093,7 @@ const Ic = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Sc = Po, $
16195
16093
  ] : c;
16196
16094
  }, []);
16197
16095
  return Sc(e, a, l, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
16198
- }, dw = $t(
16096
+ }, lw = $t(
16199
16097
  // Focus: no ring, no offset. Per-variant focus style mirrors the variant's
16200
16098
  // hover state (filled → slight bg darken, outline → border-ring, ghost →
16201
16099
  // bg-accent). See src/components/ui/CHANGES.md.
@@ -16224,17 +16122,127 @@ const Ic = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Sc = Po, $
16224
16122
  size: "default"
16225
16123
  }
16226
16124
  }
16227
- ), uw = m.forwardRef(
16125
+ ), cw = m.forwardRef(
16228
16126
  ({ className: e, variant: n, size: t, asChild: r = !1, ...o }, i) => /* @__PURE__ */ T(
16229
16127
  r ? vf : "button",
16230
16128
  {
16231
- className: he(dw({ variant: n, size: t, className: e })),
16129
+ className: he(lw({ variant: n, size: t, className: e })),
16232
16130
  ref: i,
16233
16131
  ...o
16234
16132
  }
16235
16133
  )
16236
16134
  );
16237
- uw.displayName = "Button";
16135
+ cw.displayName = "Button";
16136
+ /**
16137
+ * @license lucide-react v0.453.0 - ISC
16138
+ *
16139
+ * This source code is licensed under the ISC license.
16140
+ * See the LICENSE file in the root directory of this source tree.
16141
+ */
16142
+ const lR = ot("ChartColumn", [
16143
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
16144
+ ["path", { d: "M18 17V9", key: "2bz60n" }],
16145
+ ["path", { d: "M13 17V5", key: "1frdt8" }],
16146
+ ["path", { d: "M8 17v-3", key: "17ska0" }]
16147
+ ]);
16148
+ /**
16149
+ * @license lucide-react v0.453.0 - ISC
16150
+ *
16151
+ * This source code is licensed under the ISC license.
16152
+ * See the LICENSE file in the root directory of this source tree.
16153
+ */
16154
+ const dw = ot("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
16155
+ /**
16156
+ * @license lucide-react v0.453.0 - ISC
16157
+ *
16158
+ * This source code is licensed under the ISC license.
16159
+ * See the LICENSE file in the root directory of this source tree.
16160
+ */
16161
+ const uw = ot("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
16162
+ /**
16163
+ * @license lucide-react v0.453.0 - ISC
16164
+ *
16165
+ * This source code is licensed under the ISC license.
16166
+ * See the LICENSE file in the root directory of this source tree.
16167
+ */
16168
+ const cR = ot("Info", [
16169
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
16170
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
16171
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
16172
+ ]);
16173
+ /**
16174
+ * @license lucide-react v0.453.0 - ISC
16175
+ *
16176
+ * This source code is licensed under the ISC license.
16177
+ * See the LICENSE file in the root directory of this source tree.
16178
+ */
16179
+ const dR = ot("LoaderCircle", [
16180
+ ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
16181
+ ]);
16182
+ /**
16183
+ * @license lucide-react v0.453.0 - ISC
16184
+ *
16185
+ * This source code is licensed under the ISC license.
16186
+ * See the LICENSE file in the root directory of this source tree.
16187
+ */
16188
+ const uR = ot("RotateCcw", [
16189
+ ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
16190
+ ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
16191
+ ]);
16192
+ /**
16193
+ * @license lucide-react v0.453.0 - ISC
16194
+ *
16195
+ * This source code is licensed under the ISC license.
16196
+ * See the LICENSE file in the root directory of this source tree.
16197
+ */
16198
+ const fR = ot("SlidersHorizontal", [
16199
+ ["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
16200
+ ["line", { x1: "10", x2: "3", y1: "4", y2: "4", key: "1q6298" }],
16201
+ ["line", { x1: "21", x2: "12", y1: "12", y2: "12", key: "1iu8h1" }],
16202
+ ["line", { x1: "8", x2: "3", y1: "12", y2: "12", key: "ntss68" }],
16203
+ ["line", { x1: "21", x2: "16", y1: "20", y2: "20", key: "14d8ph" }],
16204
+ ["line", { x1: "12", x2: "3", y1: "20", y2: "20", key: "m0wm8r" }],
16205
+ ["line", { x1: "14", x2: "14", y1: "2", y2: "6", key: "14e1ph" }],
16206
+ ["line", { x1: "8", x2: "8", y1: "10", y2: "14", key: "1i6ji0" }],
16207
+ ["line", { x1: "16", x2: "16", y1: "18", y2: "22", key: "1lctlv" }]
16208
+ ]);
16209
+ /**
16210
+ * @license lucide-react v0.453.0 - ISC
16211
+ *
16212
+ * This source code is licensed under the ISC license.
16213
+ * See the LICENSE file in the root directory of this source tree.
16214
+ */
16215
+ const pR = ot("Table2", [
16216
+ [
16217
+ "path",
16218
+ {
16219
+ d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",
16220
+ key: "gugj83"
16221
+ }
16222
+ ]
16223
+ ]);
16224
+ /**
16225
+ * @license lucide-react v0.453.0 - ISC
16226
+ *
16227
+ * This source code is licensed under the ISC license.
16228
+ * See the LICENSE file in the root directory of this source tree.
16229
+ */
16230
+ const hR = ot("Type", [
16231
+ ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
16232
+ ["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
16233
+ ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
16234
+ ]);
16235
+ /**
16236
+ * @license lucide-react v0.453.0 - ISC
16237
+ *
16238
+ * This source code is licensed under the ISC license.
16239
+ * See the LICENSE file in the root directory of this source tree.
16240
+ */
16241
+ const mR = ot("Upload", [
16242
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
16243
+ ["polyline", { points: "17 8 12 3 7 8", key: "t8dd8p" }],
16244
+ ["line", { x1: "12", x2: "12", y1: "3", y2: "15", key: "widbto" }]
16245
+ ]);
16238
16246
  function q(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
16239
16247
  return function(o) {
16240
16248
  if (e == null || e(o), t === !1 || !o.defaultPrevented)
@@ -17925,7 +17933,7 @@ const yR = Ef, Px = lx, Ox = cx, Nx = ix, Mx = ux, _x = ax, Bc = ox, Vx = dx, Lx
17925
17933
  });
17926
17934
  };
17927
17935
  var Bx = typeof document < "u", $x = function() {
17928
- }, uo = Bx ? cm : $x;
17936
+ }, uo = Bx ? lm : $x;
17929
17937
  function Vo(e, n) {
17930
17938
  if (e === n)
17931
17939
  return !0;
@@ -18687,7 +18695,7 @@ function Zi(e, n) {
18687
18695
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
18688
18696
  }
18689
18697
  function E0(e, n) {
18690
- var t = dm(function() {
18698
+ var t = cm(function() {
18691
18699
  return {
18692
18700
  // value
18693
18701
  value: e,
@@ -20673,7 +20681,7 @@ const CR = hE, wR = vE, xR = mE, CE = $t(
20673
20681
  children: [
20674
20682
  n,
20675
20683
  /* @__PURE__ */ T(gE, { asChild: !0, children: /* @__PURE__ */ T(
20676
- ed,
20684
+ td,
20677
20685
  {
20678
20686
  className: he(
20679
20687
  "opacity-50",
@@ -20694,7 +20702,7 @@ const Ch = m.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ T(
20694
20702
  e
20695
20703
  ),
20696
20704
  ...n,
20697
- children: /* @__PURE__ */ T(nw, { className: "h-3.5 w-3.5" })
20705
+ children: /* @__PURE__ */ T(uw, { className: "h-3.5 w-3.5" })
20698
20706
  }
20699
20707
  ));
20700
20708
  Ch.displayName = vh.displayName;
@@ -20707,7 +20715,7 @@ const wh = m.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ T(
20707
20715
  e
20708
20716
  ),
20709
20717
  ...n,
20710
- children: /* @__PURE__ */ T(ed, { className: "h-3.5 w-3.5" })
20718
+ children: /* @__PURE__ */ T(td, { className: "h-3.5 w-3.5" })
20711
20719
  }
20712
20720
  ));
20713
20721
  wh.displayName = Ih.displayName;
@@ -20765,7 +20773,7 @@ const EE = m.forwardRef(({ className: e, children: n, ...t }, r) => /* @__PURE__
20765
20773
  ),
20766
20774
  ...t,
20767
20775
  children: [
20768
- /* @__PURE__ */ T("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ T(SE, { children: /* @__PURE__ */ T(tw, { className: "h-3.5 w-3.5" }) }) }),
20776
+ /* @__PURE__ */ T("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ T(SE, { children: /* @__PURE__ */ T(dw, { className: "h-3.5 w-3.5" }) }) }),
20769
20777
  /* @__PURE__ */ T(IE, { children: n })
20770
20778
  ]
20771
20779
  }
@@ -23732,9 +23740,9 @@ function OF({
23732
23740
  // own right padding is the only thing separating line numbers from
23733
23741
  // the code, and 16px there ends up visually ~28px with the gutter.
23734
23742
  left: a ? 8 : 16
23735
- }, y = um(() => e.split(`
23736
- `).length, [e]), v = Math.max(2, String(y).length), S = fm(), x = f ?? S, w = d ?? c;
23737
- return pm(
23743
+ }, y = dm(() => e.split(`
23744
+ `).length, [e]), v = Math.max(2, String(y).length), S = um(), x = f ?? S, w = d ?? c;
23745
+ return fm(
23738
23746
  g,
23739
23747
  () => ({
23740
23748
  captureSession() {
@@ -23836,7 +23844,7 @@ function OF({
23836
23844
  }
23837
23845
  );
23838
23846
  }
23839
- const kR = td(OF);
23847
+ const kR = ed(OF);
23840
23848
  var wi = "Switch", [NF] = St(wi), [MF, _F] = NF(wi), Zh = m.forwardRef(
23841
23849
  (e, n) => {
23842
23850
  const {
@@ -23995,7 +24003,7 @@ jF.displayName = rm.displayName;
23995
24003
  export {
23996
24004
  wE as $,
23997
24005
  Ik as A,
23998
- uw as B,
24006
+ cw as B,
23999
24007
  kR as C,
24000
24008
  ri as D,
24001
24009
  Sk as E,
@@ -24137,7 +24145,7 @@ export {
24137
24145
  pk as bj,
24138
24146
  hk as bk,
24139
24147
  yk as bl,
24140
- nw as bm,
24148
+ uw as bm,
24141
24149
  Ku as bn,
24142
24150
  eR as bo,
24143
24151
  Le as bp,
@@ -24163,7 +24171,7 @@ export {
24163
24171
  St as c7,
24164
24172
  q as c8,
24165
24173
  oe as c9,
24166
- dw as cA,
24174
+ lw as cA,
24167
24175
  ST as cB,
24168
24176
  wT as cC,
24169
24177
  Ip as cD,
@@ -24216,7 +24224,7 @@ export {
24216
24224
  Gk as cx,
24217
24225
  Xk as cy,
24218
24226
  gR as cz,
24219
- tw as d,
24227
+ dw as d,
24220
24228
  qr as d$,
24221
24229
  Vp as d0,
24222
24230
  Lf as d1,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/index-DkEAikW8.cjs"),e=require("../chunks/common-types-nBuCd3u2.cjs");exports.Dashboard=o.Dashboard;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/index-Bym8NiEh.cjs"),e=require("../chunks/common-types-nBuCd3u2.cjs");exports.Dashboard=o.Dashboard;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as o } from "../chunks/index-CL2lvhwk.js";
1
+ import { D as o } from "../chunks/index-bH_soNi5.js";
2
2
  import { C as s, E as C } from "../chunks/common-types-C6cAQgyh.js";
3
3
  export {
4
4
  s as CONTROL_CARD_DEFAULT_VALUE,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),An=require("react-dom/client"),k=require("../chunks/index-DkEAikW8.cjs"),w=require("../chunks/switch-iC1x2dcE.cjs"),Ze=require("../data-app-builder-browser-runtime/index.cjs"),te=require("../chunks/x-B6ghREd2.cjs"),Cn=require("../chunks/save-3dYRmehL.cjs"),Rn=require("../chunks/mouse-pointer-2-DX4A_XZw.cjs"),tt=require("../chunks/selection-reducer-CGKKsaPa.cjs");function Tr(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const d=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,d.get?d:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const Bn=Tr(p),Dn=Tr(An);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),An=require("react-dom/client"),k=require("../chunks/index-Bym8NiEh.cjs"),w=require("../chunks/switch-BkcJCTS7.cjs"),Ze=require("../data-app-builder-browser-runtime/index.cjs"),te=require("../chunks/x-B6ghREd2.cjs"),Cn=require("../chunks/save-3dYRmehL.cjs"),Rn=require("../chunks/mouse-pointer-2-DX4A_XZw.cjs"),tt=require("../chunks/selection-reducer-CGKKsaPa.cjs");function Tr(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const d=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,d.get?d:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const Bn=Tr(p),Dn=Tr(An);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.