react-semaphor 0.0.533 → 0.0.535

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.
@@ -4226,7 +4226,7 @@ const oe = La()(
4226
4226
  n.isSessionExpired = !1, n.currentBreakpoint = "lg", n.dashboard = {
4227
4227
  id: "",
4228
4228
  style: rb
4229
- }, n.showContext = !1, n.selectedSheetId = null, n.selectedCardId = null, n.selectedFrameId = null, n.selectedCard = null, n.showFilters = !1, n.isDashboardEditing = !0, n.isVisualEditing = !1, n.showDashboardJSON = !1, n.filteringCards = [], n.selectedLensId = void 0, n.filterValues = void 0;
4229
+ }, n.showContext = !1, n.selectedSheetId = null, n.selectedCardId = null, n.selectedFrameId = null, n.selectedCard = null, n.showFilters = !1, n.isDashboardEditing = !1, n.isVisualEditing = !1, n.showDashboardJSON = !1, n.filteringCards = [], n.selectedLensId = void 0, n.filterValues = void 0;
4230
4230
  });
4231
4231
  },
4232
4232
  setAiContext: (n) => {
@@ -82250,7 +82250,7 @@ function H$e() {
82250
82250
  );
82251
82251
  }
82252
82252
  function W6e() {
82253
- const { setTempQueryData: e } = Xn(), t = xr(), n = pe((m) => m.isDevMode), r = pe((m) => m.tempQueryData), o = pe((m) => m.card), { queryKey: i } = ai(o), {
82253
+ const { setTempQueryData: e } = Xn(), t = xr(), n = pe((b) => b.isDevMode), r = pe((b) => b.tempQueryData), o = pe((b) => b.card), { queryKey: i } = ai(o), {
82254
82254
  setCardSql: a,
82255
82255
  setSqlGen: s,
82256
82256
  setCardPython: l,
@@ -82258,19 +82258,20 @@ function W6e() {
82258
82258
  setCardPreferences: u,
82259
82259
  updateDataSource: d,
82260
82260
  clearQueryConfig: f,
82261
- setCardConfig: h
82261
+ setCardConfig: h,
82262
+ setCardType: g
82262
82263
  } = Xn();
82263
- function g() {
82264
- const m = t.getQueryData(i);
82264
+ function m() {
82265
+ const b = t.getQueryData(i);
82265
82266
  r != null && r.queryData || e({
82266
82267
  queryKey: i,
82267
- queryData: m
82268
- }), t.setQueryData(i, null), t.removeQueries({ queryKey: i, exact: !0 }), n && d(fE), a(""), s({}), f(), h(void 0), l(""), c(""), u({});
82268
+ queryData: b
82269
+ }), t.setQueryData(i, null), t.removeQueries({ queryKey: i, exact: !0 }), n && d(fE), a(""), s({}), f(), h(void 0), l(""), c(""), u({}), g("bar");
82269
82270
  }
82270
82271
  return /* @__PURE__ */ P(
82271
82272
  Ne,
82272
82273
  {
82273
- onClick: g,
82274
+ onClick: m,
82274
82275
  className: "h-8",
82275
82276
  size: "sm",
82276
82277
  variant: "secondary",
@@ -82573,9 +82574,7 @@ function aLe({
82573
82574
  onDebugToggle: t,
82574
82575
  onAccept: n
82575
82576
  }) {
82576
- const r = pe((g) => g.isDevMode), o = pe((g) => g.card), i = $2(o), { config: a } = mt(DE).tokenProps, s = (a == null ? void 0 : a.showAdvancedMode) !== !1, { setIsDevMode: l } = Xn(), c = pe((g) => g.showAIDialog), u = pe((g) => g.frame), d = Sd((g) => g.selectedVisual);
82577
- console.log("frame", u.id, d == null ? void 0 : d.id);
82578
- const f = (d == null ? void 0 : d.id) === (u == null ? void 0 : u.id), { setShowAIDialog: h } = Xn();
82577
+ const r = pe((g) => g.isDevMode), o = pe((g) => g.card), i = $2(o), { config: a } = mt(DE).tokenProps, s = (a == null ? void 0 : a.showAdvancedMode) !== !1, { setIsDevMode: l } = Xn(), c = pe((g) => g.showAIDialog), u = pe((g) => g.frame), d = Sd((g) => g.selectedVisual), f = (d == null ? void 0 : d.id) === (u == null ? void 0 : u.id), { setShowAIDialog: h } = Xn();
82579
82578
  return /* @__PURE__ */ P(
82580
82579
  "div",
82581
82580
  {
@@ -82983,7 +82982,7 @@ export {
82983
82982
  kG as cy,
82984
82983
  V0e as cz,
82985
82984
  G6e as d,
82986
- eae as d$,
82985
+ NF as d$,
82987
82986
  rLe as d0,
82988
82987
  oLe as d1,
82989
82988
  iLe as d2,
@@ -83002,25 +83001,25 @@ export {
83002
83001
  fE as dF,
83003
83002
  Gg as dG,
83004
83003
  DG as dH,
83005
- Ia as dI,
83006
- tae as dJ,
83007
- NG as dK,
83004
+ NG as dI,
83005
+ eae as dJ,
83006
+ tae as dK,
83008
83007
  _4 as dL,
83009
83008
  R4 as dM,
83010
83009
  C6e as dN,
83011
83010
  iFe as dO,
83012
- BW as dP,
83013
- rZ as dQ,
83014
- Mne as dR,
83015
- gy as dS,
83016
- h8 as dT,
83017
- tZ as dU,
83018
- D4 as dV,
83019
- ZF as dW,
83020
- fy as dX,
83021
- hy as dY,
83022
- WF as dZ,
83023
- NF as d_,
83011
+ Ia as dP,
83012
+ BW as dQ,
83013
+ rZ as dR,
83014
+ Mne as dS,
83015
+ gy as dT,
83016
+ h8 as dU,
83017
+ tZ as dV,
83018
+ D4 as dW,
83019
+ ZF as dX,
83020
+ fy as dY,
83021
+ hy as dZ,
83022
+ WF as d_,
83024
83023
  AQ as da,
83025
83024
  hme as db,
83026
83025
  Mg as dc,