react-semaphor 0.1.445 → 0.1.447

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 (91) hide show
  1. package/dist/analytics-protocol/index.js +8 -8
  2. package/dist/appearance/index.cjs +1 -1
  3. package/dist/appearance/index.js +1 -1
  4. package/dist/brand-studio/index.cjs +2 -2
  5. package/dist/brand-studio/index.js +9 -9
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-DUv3QnMl.js → analyze-result-contract-T-0Ntzys.js} +1 -1
  8. package/dist/chunks/{braces-BdbUk_r9.js → braces-8TRlDwDw.js} +1 -1
  9. package/dist/chunks/{braces-BKimshER.cjs → braces-v55uLCAK.cjs} +1 -1
  10. package/dist/chunks/{catalog-field-grounding-AOGwWu0K.js → catalog-field-grounding-S2jKwKGD.js} +9 -9
  11. package/dist/chunks/{common-types-DFsDdpH7.js → common-types-B7Jk3Rtj.js} +5 -5
  12. package/dist/chunks/{dashboard-briefing-launcher-2SLNOaTg.js → dashboard-briefing-launcher-CDjcivK2.js} +192 -191
  13. package/dist/chunks/dashboard-briefing-launcher-D44Au-Qp.cjs +26 -0
  14. package/dist/chunks/dashboard-controls-DH3J4L1D.cjs +52 -0
  15. package/dist/chunks/dashboard-controls-tHwb3g3W.js +2409 -0
  16. package/dist/chunks/{dashboard-date-comparison-definition-BaYxjLi5.js → dashboard-date-comparison-definition-Ba-clViK.js} +1 -1
  17. package/dist/chunks/{dashboard-input-contract-BFpERluO.js → dashboard-input-contract-DSt8dGzP.js} +4 -4
  18. package/dist/chunks/{dashboard-json-BZwq3EcS.js → dashboard-json-Bihrrl5_.js} +11 -11
  19. package/dist/chunks/dashboard-json-VOXcUBqx.cjs +1 -0
  20. package/dist/chunks/edit-dashboard-visual-8XtuSSKG.cjs +177 -0
  21. package/dist/chunks/{edit-dashboard-visual-njLPYip3.js → edit-dashboard-visual-Dsc9mZnc.js} +7113 -7097
  22. package/dist/chunks/{editor-action-buttons-CBVMFipA.cjs → editor-action-buttons-BFqvBlLw.cjs} +1 -1
  23. package/dist/chunks/{editor-action-buttons-BhLX5Q6m.js → editor-action-buttons-BbVgPOda.js} +41 -41
  24. package/dist/chunks/{format-types-CZH5w1lo.js → format-types-DZGgYj39.js} +5 -5
  25. package/dist/chunks/index-BSTyv45D.cjs +1395 -0
  26. package/dist/chunks/{index-If0wlXGi.js → index-CJdxSyQq.js} +308 -308
  27. package/dist/chunks/{index-Dpm_VET4.cjs → index-DRlMUglg.cjs} +2 -2
  28. package/dist/chunks/{dashboard-u61yfU6u.js → index-srGACKDr.js} +148223 -151540
  29. package/dist/chunks/{layout-grid-D5tYJg1-.js → layout-grid-CiubineE.js} +1 -1
  30. package/dist/chunks/{layout-grid-3-HWzEwU.cjs → layout-grid-xm8pqtx0.cjs} +1 -1
  31. package/dist/chunks/{metric-comparison-BJ_Qu1ZF.js → metric-comparison-97zHGEx5.js} +7 -7
  32. package/dist/chunks/mouse-pointer-2-BZvGk45-.js +19 -0
  33. package/dist/chunks/mouse-pointer-2-DX4A_XZw.cjs +6 -0
  34. package/dist/chunks/{palette-DW_l7Jr0.cjs → palette-BN-jYtaK.cjs} +1 -1
  35. package/dist/chunks/{palette-jqaAcwiQ.js → palette-Cp1hqZtm.js} +1 -1
  36. package/dist/chunks/{pivot-result-identity-B6QCWOSi.js → pivot-result-identity-CwJWpKI7.js} +3 -3
  37. package/dist/chunks/{pivot-result-lifecycle-BM3Pl-D1.js → pivot-result-lifecycle-BBabQ_da.js} +27 -27
  38. package/dist/chunks/{presentation-execution-CGlb7YZ6.js → presentation-execution-BLfPTGX_.js} +10 -10
  39. package/dist/chunks/{report-preferences-dialog-D_NJu2wU.js → report-preferences-dialog-DZez53xw.js} +6 -6
  40. package/dist/chunks/report-preferences-dialog-TYTIHpHi.cjs +1 -0
  41. package/dist/chunks/{report-runtime-context-Qzn11HQe.js → report-runtime-context-bCy3CVzK.js} +1 -1
  42. package/dist/chunks/{save-4_uMnE6s.cjs → save-3dYRmehL.cjs} +1 -1
  43. package/dist/chunks/{save-HCJjjzdX.js → save-DgMfP0j8.js} +1 -1
  44. package/dist/chunks/{search-DHZCro8B.js → search-BHsQIWBV.js} +1 -1
  45. package/dist/chunks/{search-6ZmeMq55.cjs → search-BqqhaMx9.cjs} +1 -1
  46. package/dist/chunks/{code-editor-B4gTfvc5.js → switch-Bz2uj3q0.js} +9405 -9330
  47. package/dist/chunks/switch-rbwGjmad.cjs +138 -0
  48. package/dist/chunks/{temporal-bucket-authoring-BUZMuVca.js → temporal-bucket-authoring-CgOuakGW.js} +2 -2
  49. package/dist/chunks/{temporal-bucket-contract-B2bJ1oe4.js → temporal-bucket-contract-_F6vNhhH.js} +3 -3
  50. package/dist/chunks/{temporal-result-owner-Cb27SSG9.js → temporal-result-owner-6peubmhU.js} +3 -3
  51. package/dist/chunks/{token-types-DLo91nOf.js → token-types-BHR58aTy.js} +1 -1
  52. package/dist/chunks/{update-policy-eg59mQqv.js → update-policy-g0rCQ9BM.js} +9 -9
  53. package/dist/chunks/{validators-wZ2WlNHc.js → validators-Cs74WVie.js} +46 -46
  54. package/dist/chunks/x-B6ghREd2.cjs +31 -0
  55. package/dist/chunks/{index-xHCrHprY.js → x-CXDkqdur.js} +59 -59
  56. package/dist/dashboard/index.cjs +1 -1
  57. package/dist/dashboard/index.js +2 -2
  58. package/dist/dashboard-authoring/index.js +6 -6
  59. package/dist/data-app-builder/index.cjs +13 -18
  60. package/dist/data-app-builder/index.js +92 -106
  61. package/dist/data-app-codegen/index.js +2 -2
  62. package/dist/data-app-codegen-node/index.js +3 -3
  63. package/dist/data-app-sdk/index.cjs +1 -1
  64. package/dist/data-app-sdk/index.js +6 -6
  65. package/dist/data-app-sdk-adapters/index.js +2 -2
  66. package/dist/data-app-sdk-validation/index.js +4 -4
  67. package/dist/format-utils/index.js +8 -8
  68. package/dist/index.cjs +1 -1
  69. package/dist/index.js +16 -16
  70. package/dist/report-runtime-context/index.js +2 -2
  71. package/dist/style.css +1 -1
  72. package/dist/surfboard/index.cjs +1 -1
  73. package/dist/surfboard/index.js +3 -3
  74. package/dist/types/brand-studio.d.ts +2 -2
  75. package/dist/types/dashboard.d.ts +3 -2
  76. package/dist/types/data-app-builder.d.ts +2 -2
  77. package/dist/types/data-app-sdk.d.ts +1 -1
  78. package/dist/types/index.cjs +1 -1
  79. package/dist/types/index.js +7 -7
  80. package/dist/types/main.d.ts +27 -25
  81. package/dist/types/surfboard.d.ts +3 -2
  82. package/package.json +1 -2
  83. package/dist/chunks/code-editor-BYVorgOf.cjs +0 -138
  84. package/dist/chunks/dashboard-CAiwJW3L.cjs +0 -1397
  85. package/dist/chunks/dashboard-briefing-launcher-CHwjpUYz.cjs +0 -26
  86. package/dist/chunks/dashboard-controls-BfL14aqO.js +0 -2238
  87. package/dist/chunks/dashboard-controls-BgGTg4yw.cjs +0 -36
  88. package/dist/chunks/dashboard-json-BOv8tCa9.cjs +0 -1
  89. package/dist/chunks/edit-dashboard-visual-BdVCH0DJ.cjs +0 -182
  90. package/dist/chunks/index-jSrCwPQz.cjs +0 -31
  91. package/dist/chunks/report-preferences-dialog-r8QzOSFb.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";const J=require("./index-jSrCwPQz.cjs"),v=require("react"),s=require("./code-editor-BYVorgOf.cjs"),f=require("./dashboard-CAiwJW3L.cjs"),e=require("react/jsx-runtime");require("./validators-9D4KBqKD.cjs");require("./analyze-result-contract-BHb7sUUW.cjs");require("../value-format-preferences/index.cjs");const ge=require("./search-6ZmeMq55.cjs"),Se=require("./save-4_uMnE6s.cjs");/**
1
+ "use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-rbwGjmad.cjs"),f=require("./index-BSTyv45D.cjs"),e=require("react/jsx-runtime");require("./validators-9D4KBqKD.cjs");require("./analyze-result-contract-BHb7sUUW.cjs");require("../value-format-preferences/index.cjs");const ge=require("./search-BqqhaMx9.cjs"),Se=require("./save-3dYRmehL.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,13 +1,13 @@
1
- import { c as Te, C as je, X as Ze } from "./index-xHCrHprY.js";
2
- import { useState as H, useEffect as ie, useCallback as z, useMemo as oe, useRef as ke, Fragment as ht } from "react";
3
- import { D as de, A as _e, u as J, E as U, a4 as bt, Q as gt, V as yt, W as vt, c as fe, Y as xt, a5 as Ct, a6 as kt, a7 as pe, a8 as Re, a9 as Qe, aa as Se, ab as Ne, ac as St, ad as $e, ae as Nt, af as wt, ag as me, ah as Dt, ai as Pe, B as L, aj as et, ak as tt, al as rt, O as ne, Z as at, _ as we, $ as De, a0 as Ee, a1 as Fe, a2 as Ie, am as st, an as Et, ao as We, ap as Ft, aq as He, ar as It, as as Vt, at as Ve, d as Tt, L as nt, au as _t, av as At } from "./code-editor-B4gTfvc5.js";
4
- import { b7 as Lt, az as qt, b8 as ce, b9 as Mt, ba as Ae, bb as Ot, bc as Ut, bd as zt, aG as B, be as Bt, bf as jt, bg as Rt, bh as ot, bi as lt, bj as Qt, av as $t, bk as Pt, bl as Wt, bm as Ht, bn as Kt, bo as it, bp as dt, bq as Yt, br as Gt, bs as Xt, bt as Jt, bu as Zt, aZ as er, bv as tr, bw as rr, bx as ct, by as ar } from "./dashboard-u61yfU6u.js";
1
+ import { c as Te, C as je, X as Ze } from "./x-CXDkqdur.js";
2
+ import { useState as H, useEffect as ie, useCallback as U, useMemo as oe, useRef as ke, Fragment as ht } from "react";
3
+ import { E as de, z as _e, u as J, D as z, a4 as bt, Q as gt, V as yt, W as vt, c as fe, Y as xt, a5 as Ct, a6 as kt, a7 as pe, a8 as Re, a9 as Qe, aa as Se, ab as Ne, ac as St, ad as $e, ae as Nt, af as wt, ag as me, ah as Dt, ai as Pe, B as L, aj as et, ak as tt, al as rt, O as ne, Z as at, _ as we, $ as De, a0 as Ee, a1 as Fe, a2 as Ie, am as st, an as Et, ao as Ft, ap as We, aq as It, ar as He, as as Vt, at as Ve, d as Tt, L as nt, au as _t, av as At } from "./switch-Bz2uj3q0.js";
4
+ import { b7 as Lt, az as qt, b8 as ce, b9 as Mt, ba as Ae, bb as Ot, bc as zt, bd as Ut, aG as B, be as Bt, bf as jt, bg as Rt, bh as ot, bi as lt, bj as Qt, u as $t, bk as Pt, bl as Wt, bm as Ht, bn as Kt, bo as it, bp as dt, bq as Yt, br as Gt, bs as Xt, bt as Jt, bu as Zt, aZ as er, bv as tr, bw as rr, bx as ct, by as ar } from "./index-srGACKDr.js";
5
5
  import { jsx as r, jsxs as p, Fragment as re } from "react/jsx-runtime";
6
- import "./validators-wZ2WlNHc.js";
7
- import "./analyze-result-contract-DUv3QnMl.js";
6
+ import "./validators-Cs74WVie.js";
7
+ import "./analyze-result-contract-T-0Ntzys.js";
8
8
  import "../value-format-preferences/index.js";
9
- import { C as Ke } from "./search-DHZCro8B.js";
10
- import { S as ut } from "./save-HCJjjzdX.js";
9
+ import { C as Ke } from "./search-BHsQIWBV.js";
10
+ import { S as ut } from "./save-DgMfP0j8.js";
11
11
  /**
12
12
  * @license lucide-react v0.453.0 - ISC
13
13
  *
@@ -168,13 +168,13 @@ function dr(t, a) {
168
168
  }), !0) : !1;
169
169
  }
170
170
  function cr() {
171
- const t = U(
171
+ const t = z(
172
172
  (s) => {
173
173
  var i;
174
174
  return ((i = s.card.customCardPreferences) == null ? void 0 : i.url) || "";
175
175
  }
176
176
  ), a = or(t);
177
- return { getUpdatedFrame: z(() => {
177
+ return { getUpdatedFrame: U(() => {
178
178
  var V;
179
179
  jt();
180
180
  const {
@@ -187,7 +187,7 @@ function cr() {
187
187
  selectedDatabaseName: v,
188
188
  selectedTableName: y,
189
189
  selectedConnectionId: b
190
- } = U.getState(), x = i.sql, D = (V = a == null ? void 0 : a.getState()) == null ? void 0 : V.settings, k = bt(i, {
190
+ } = z.getState(), x = i.sql, D = (V = a == null ? void 0 : a.getState()) == null ? void 0 : V.settings, k = bt(i, {
191
191
  isDevMode: c,
192
192
  cardSql: x,
193
193
  isShowingVisual: m,
@@ -233,9 +233,9 @@ function Le() {
233
233
  clearSelectedFrameId: P
234
234
  } = _e(), M = J((_) => _.selectedSheetId), Y = J((_) => _.selectedFrameId), G = J((_) => _.dashboard), ee = J((_) => _.filterValues), q = J(
235
235
  (_) => _.inlineFilterValuesMap
236
- ), X = Ut((i == null ? void 0 : i.id) || "", {
236
+ ), X = zt((i == null ? void 0 : i.id) || "", {
237
237
  enabled: !!(i != null && i.id) && !!(t != null && t.accessToken)
238
- }), ae = z(
238
+ }), ae = U(
239
239
  async (_) => {
240
240
  try {
241
241
  c(_), P(), Z();
@@ -306,7 +306,7 @@ function Le() {
306
306
  ee,
307
307
  q
308
308
  ]
309
- ), be = z(
309
+ ), be = U(
310
310
  async (_) => {
311
311
  var W;
312
312
  const F = (A) => (B.error(A), { success: !1, error: A });
@@ -326,7 +326,7 @@ function Le() {
326
326
  if (!(Q != null && Q.cards) || Q.cards.length === 0)
327
327
  return F("Visual frame is malformed");
328
328
  const le = {
329
- ...zt(Q),
329
+ ...Ut(Q),
330
330
  visualId: _.id
331
331
  // Link this frame to the library visual
332
332
  };
@@ -364,7 +364,7 @@ function Le() {
364
364
  };
365
365
  }
366
366
  function Fr() {
367
- const t = U((m) => m.card.dataSource), {
367
+ const t = z((m) => m.card.dataSource), {
368
368
  setSelectedConnectionId: a,
369
369
  setSelectedDatabaseName: o,
370
370
  setSelectedSchemaName: s,
@@ -402,7 +402,7 @@ function ur(t, a) {
402
402
  };
403
403
  }
404
404
  function pr() {
405
- const { setTempQueryData: t } = de(), a = ce(), o = U((R) => R.tempQueryData), s = U((R) => R.card), i = ot(), c = oe(() => i !== s.type ? { ...s, type: i } : s, [s, i]), { queryKey: m } = lt(c), {
405
+ const { setTempQueryData: t } = de(), a = ce(), o = z((R) => R.tempQueryData), s = z((R) => R.card), i = ot(), c = oe(() => i !== s.type ? { ...s, type: i } : s, [s, i]), { queryKey: m } = lt(c), {
406
406
  setCardSql: h,
407
407
  setSqlGen: u,
408
408
  setCardPython: v,
@@ -422,7 +422,7 @@ function pr() {
422
422
  queryKey: m,
423
423
  queryData: R
424
424
  }), a.setQueryData(m, null), a.removeQueries({ queryKey: m, exact: !0 }), h(""), u({}), x(), D(void 0), v(""), y(""), b({});
425
- const $ = U.getState().frame, Z = U.getState().card, E = Qt($, Z), n = ((P = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : P.visualType) === "multiple" || !!((M = E == null ? void 0 : E.customCardPreferences) != null && M.dataInputCardIds) || (((Y = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : Y.minInputs) || 0) > 1 || (((G = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : G.maxInputs) || 0) > 1, w = ur(Z, n);
425
+ const $ = z.getState().frame, Z = z.getState().card, E = Qt($, Z), n = ((P = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : P.visualType) === "multiple" || !!((M = E == null ? void 0 : E.customCardPreferences) != null && M.dataInputCardIds) || (((Y = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : Y.minInputs) || 0) > 1 || (((G = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : G.maxInputs) || 0) > 1, w = ur(Z, n);
426
426
  N({
427
427
  ...$,
428
428
  cards: $.cards.map(
@@ -439,7 +439,7 @@ function Ir({
439
439
  showLabel: s = !1,
440
440
  showLocal: i = !1
441
441
  }) {
442
- const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h = U((N) => N.frame);
442
+ const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h = z((N) => N.frame);
443
443
  let u;
444
444
  if (t)
445
445
  u = t;
@@ -798,7 +798,7 @@ function Vr({
798
798
  const V = oe(
799
799
  () => new Set(o || []),
800
800
  [o]
801
- ), j = It(t), K = kt(t), [R, $] = H(
801
+ ), j = Et(t), K = kt(t), [R, $] = H(
802
802
  null
803
803
  ), [Z, E] = H(
804
804
  null
@@ -813,7 +813,7 @@ function Vr({
813
813
  return e;
814
814
  const d = new Set(D);
815
815
  return e.filter((l) => d.has(l.value));
816
- }, [D, x, t]), ee = z(
816
+ }, [D, x, t]), ee = U(
817
817
  (e) => {
818
818
  const d = Re({
819
819
  scope: t,
@@ -826,7 +826,7 @@ function Vr({
826
826
  return d.filter((f) => l.has(f.value));
827
827
  },
828
828
  [D, x, t]
829
- ), q = z(
829
+ ), q = U(
830
830
  (e) => t === "dashboard" && (e === "field_selector" || e === "metric_selector"),
831
831
  [t]
832
832
  ), X = oe(
@@ -931,7 +931,7 @@ function Vr({
931
931
  nextControl: f,
932
932
  cardBindingsById: C
933
933
  };
934
- }, F = z(
934
+ }, F = U(
935
935
  (e, d = s, l = { type: "update" }) => {
936
936
  const f = e.map((C) => (Ne({
937
937
  control: C,
@@ -1022,7 +1022,7 @@ function Vr({
1022
1022
  }
1023
1023
  const l = { ...s };
1024
1024
  delete l[e], F(d, l, { type: "remove", controlId: e });
1025
- }, ue = z(() => {
1025
+ }, ue = U(() => {
1026
1026
  M.current = void 0, w({
1027
1027
  step: 1,
1028
1028
  control: pe(t, a, Array.from(V))
@@ -1074,7 +1074,7 @@ function Vr({
1074
1074
  var S;
1075
1075
  if (!n)
1076
1076
  return;
1077
- const e = $e(n.control), d = Ft({
1077
+ const e = $e(n.control), d = It({
1078
1078
  label: e.label,
1079
1079
  fallbackId: e.id,
1080
1080
  existingControls: a,
@@ -1098,9 +1098,9 @@ function Vr({
1098
1098
  selectedCardIds: n.selectedCardIds,
1099
1099
  cardBindingsById: f
1100
1100
  });
1101
- }, ve = z(() => {
1101
+ }, ve = U(() => {
1102
1102
  w(null);
1103
- }, []), Oe = z(() => {
1103
+ }, []), Oe = U(() => {
1104
1104
  if (!(n != null && n.createdControlId)) {
1105
1105
  w(null);
1106
1106
  return;
@@ -1141,10 +1141,10 @@ function Vr({
1141
1141
  }
1142
1142
  );
1143
1143
  E(d), w(null), N == null || N();
1144
- }, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], Ue = n != null && n.createdControlId ? `[[param.${n.createdControlId}]]` : n ? `[[param.${Dt(n.control.label) || n.control.id}]]` : "", xe = Pe({
1144
+ }, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], ze = n != null && n.createdControlId ? `[[param.${n.createdControlId}]]` : n ? `[[param.${Dt(n.control.label) || n.control.id}]]` : "", xe = Pe({
1145
1145
  controls: a,
1146
1146
  defaultValues: s
1147
- }), Ce = n ? [...a, n.control] : a, ze = n ? Pe({
1147
+ }), Ce = n ? [...a, n.control] : a, Ue = n ? Pe({
1148
1148
  controls: Ce,
1149
1149
  defaultValues: s,
1150
1150
  overrides: [
@@ -1317,7 +1317,7 @@ function Vr({
1317
1317
  availableFieldChoices: ae.fields,
1318
1318
  availableMetricChoices: ae.metrics,
1319
1319
  previewControlDefinitions: Ce,
1320
- previewControlValues: ze,
1320
+ previewControlValues: Ue,
1321
1321
  onControlChange: (e) => Q(() => e),
1322
1322
  onLabelChange: (e) => Q((d) => ({
1323
1323
  ...d,
@@ -1342,7 +1342,7 @@ function Vr({
1342
1342
  availableFieldChoices: ae.fields,
1343
1343
  availableMetricChoices: ae.metrics,
1344
1344
  previewControlDefinitions: Ce,
1345
- previewControlValues: ze,
1345
+ previewControlValues: Ue,
1346
1346
  onControlChange: (e) => Q(() => e),
1347
1347
  onLabelChange: (e) => Q((d) => ({
1348
1348
  ...d,
@@ -1364,7 +1364,7 @@ function Vr({
1364
1364
  {
1365
1365
  control: n.control,
1366
1366
  scope: t,
1367
- createdReference: Ue,
1367
+ createdReference: ze,
1368
1368
  explorerContent: /* @__PURE__ */ p(re, { children: [
1369
1369
  "Open the card and use",
1370
1370
  " ",
@@ -1388,7 +1388,7 @@ function Vr({
1388
1388
  {
1389
1389
  control: n.control,
1390
1390
  scope: t,
1391
- createdReference: Ue,
1391
+ createdReference: ze,
1392
1392
  summaryDetail: /* @__PURE__ */ p(re, { children: [
1393
1393
  "Used by ",
1394
1394
  (n.selectedCardIds || []).length,
@@ -1628,7 +1628,7 @@ function Vr({
1628
1628
  })),
1629
1629
  children: [
1630
1630
  /* @__PURE__ */ r(De, { size: "xs", children: /* @__PURE__ */ r(Ee, {}) }),
1631
- /* @__PURE__ */ r(Fe, { children: Et.map((g) => /* @__PURE__ */ r(
1631
+ /* @__PURE__ */ r(Fe, { children: Ft.map((g) => /* @__PURE__ */ r(
1632
1632
  Ie,
1633
1633
  {
1634
1634
  value: g.value,
@@ -1681,18 +1681,18 @@ function Tr(t) {
1681
1681
  dismissMode: i = "passive"
1682
1682
  } = t, c = a !== void 0, [m, h] = H(!1), [u, v] = H(
1683
1683
  s
1684
- ), y = c ? a : m, b = z(
1684
+ ), y = c ? a : m, b = U(
1685
1685
  (k) => {
1686
1686
  !k && u && i === "passive" || (c || h(k), k || v(!1), o == null || o(k));
1687
1687
  },
1688
1688
  [c, u, i, o]
1689
- ), x = z(() => {
1689
+ ), x = U(() => {
1690
1690
  c || h(!1), v(!1), o == null || o(!1);
1691
1691
  }, [c, o]);
1692
1692
  ie(() => {
1693
1693
  y || v(!1);
1694
1694
  }, [y]);
1695
- const D = z(
1695
+ const D = U(
1696
1696
  (k) => {
1697
1697
  u && k.preventDefault();
1698
1698
  },
@@ -1715,7 +1715,7 @@ function _r({
1715
1715
  className: t,
1716
1716
  variant: a = "outline"
1717
1717
  }) {
1718
- const o = U((c) => c.onSave), { getUpdatedFrame: s } = Le();
1718
+ const o = z((c) => c.onSave), { getUpdatedFrame: s } = Le();
1719
1719
  function i() {
1720
1720
  const c = s();
1721
1721
  qe(c) && (o == null || o(c));
@@ -1738,7 +1738,7 @@ function Ar({
1738
1738
  className: t,
1739
1739
  variant: a = "default"
1740
1740
  }) {
1741
- const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u = U((b) => b.frame), v = ct();
1741
+ const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u = z((b) => b.frame), v = ct();
1742
1742
  return /* @__PURE__ */ r(
1743
1743
  L,
1744
1744
  {
@@ -1787,7 +1787,7 @@ function Ar({
1787
1787
  function Lr({
1788
1788
  className: t
1789
1789
  }) {
1790
- const a = ce(), [o, s] = H(!1), i = Ae(), c = U((k) => k.frame), m = J((k) => k.selectedSheetId), h = J((k) => k.dashboard), { updateFrame: u, setIsVisualEditing: v } = _e(), { getUpdatedFrame: y } = Le(), b = ct(), x = ar();
1790
+ const a = ce(), [o, s] = H(!1), i = Ae(), c = z((k) => k.frame), m = J((k) => k.selectedSheetId), h = J((k) => k.dashboard), { updateFrame: u, setIsVisualEditing: v } = _e(), { getUpdatedFrame: y } = Le(), b = ct(), x = ar();
1791
1791
  return /* @__PURE__ */ r(
1792
1792
  L,
1793
1793
  {
@@ -1848,7 +1848,7 @@ function Lr({
1848
1848
  );
1849
1849
  }
1850
1850
  function qr({ className: t }) {
1851
- const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i = U((b) => b.tempQueryData), c = U((b) => b.onClose), m = U((b) => b.card), h = ot(), u = oe(() => h !== m.type ? { ...m, type: h } : m, [m, h]), { queryKey: v } = lt(u);
1851
+ const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i = z((b) => b.tempQueryData), c = z((b) => b.onClose), m = z((b) => b.card), h = ot(), u = oe(() => h !== m.type ? { ...m, type: h } : m, [m, h]), { queryKey: v } = lt(u);
1852
1852
  function y() {
1853
1853
  if (i) {
1854
1854
  const { queryKey: b, queryData: x } = i;
@@ -1646,13 +1646,13 @@ function en(e) {
1646
1646
  return t === "number" || t === "currency" || t === "percent" || t === "scientific";
1647
1647
  }
1648
1648
  export {
1649
- Bt as a,
1650
- p as b,
1649
+ Z as a,
1650
+ Bt as b,
1651
1651
  D as c,
1652
- Jt as d,
1652
+ bt as d,
1653
1653
  Ze as e,
1654
- bt as f,
1655
- Z as g,
1654
+ Jt as f,
1655
+ p as g,
1656
1656
  Kt as h,
1657
1657
  en as i,
1658
1658
  Gt as j,