react-semaphor 0.0.432 → 0.0.434

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.
@@ -13773,53 +13773,6 @@ const fr = tx()(
13773
13773
  };
13774
13774
  });
13775
13775
  },
13776
- setTrendByColumns: (n) => {
13777
- e((r) => {
13778
- r.card.queryConfig = {
13779
- ...r.card.queryConfig,
13780
- trendByColumns: n
13781
- };
13782
- });
13783
- },
13784
- addColumnToTrendByColumns: (n) => {
13785
- e((r) => {
13786
- var o;
13787
- r.card.queryConfig = {
13788
- ...r.card.queryConfig,
13789
- trendByColumns: [
13790
- ...((o = r.card.queryConfig) == null ? void 0 : o.trendByColumns) || [],
13791
- n
13792
- ]
13793
- };
13794
- });
13795
- },
13796
- updateTrendByColumn: (n, r) => {
13797
- e((o) => {
13798
- var i, a;
13799
- o.card.queryConfig = {
13800
- ...o.card.queryConfig,
13801
- trendByColumns: (a = (i = o.card.queryConfig) == null ? void 0 : i.trendByColumns) == null ? void 0 : a.map(
13802
- (s) => s.id === n ? r : s
13803
- )
13804
- };
13805
- });
13806
- },
13807
- removeColumnFromTrendByColumns: (n) => {
13808
- e((r) => {
13809
- var o, i, a, s;
13810
- r.card.queryConfig = {
13811
- ...r.card.queryConfig,
13812
- trendByColumns: (i = (o = r.card.queryConfig) == null ? void 0 : o.trendByColumns) == null ? void 0 : i.filter(
13813
- (l) => l.id !== n
13814
- )
13815
- }, r.card.queryConfig = {
13816
- ...r.card.queryConfig,
13817
- orderBy: (s = (a = r.card.queryConfig) == null ? void 0 : a.orderBy) == null ? void 0 : s.filter(
13818
- (l) => l.columnId !== n
13819
- )
13820
- };
13821
- });
13822
- },
13823
13776
  setFilterColumns: (n) => {
13824
13777
  e((r) => {
13825
13778
  r.card.queryConfig = {
@@ -14235,9 +14188,9 @@ function aa(e) {
14235
14188
  refetchInterval: h
14236
14189
  });
14237
14190
  function b() {
14238
- var W, $, O;
14239
- const M = (W = e.queryConfig) == null ? void 0 : W.metricColumns, T = ($ = e.queryConfig) == null ? void 0 : $.groupByColumns, I = (O = e.queryConfig) == null ? void 0 : O.trendByColumns;
14240
- return !!(M && (M == null ? void 0 : M.length) > 0 || T && (T == null ? void 0 : T.length) > 0 || I && (I == null ? void 0 : I.length) > 0);
14191
+ var I, W;
14192
+ const M = (I = e.queryConfig) == null ? void 0 : I.metricColumns, T = (W = e.queryConfig) == null ? void 0 : W.groupByColumns;
14193
+ return !!(M && (M == null ? void 0 : M.length) > 0 || T && (T == null ? void 0 : T.length) > 0);
14241
14194
  }
14242
14195
  const v = {
14243
14196
  databaseName: (e == null ? void 0 : e.lastSelectedDatabase) || "",
@@ -59696,7 +59649,6 @@ const qve = tx((e) => ({
59696
59649
  setInsertIndex: (t) => e({ insertIndex: t }),
59697
59650
  setPreviewGroupByColumns: (t) => e({ previewGroupByColumns: t }),
59698
59651
  setPreviewMetricColumns: (t) => e({ previewMetricColumns: t }),
59699
- setPreviewTrendByColumns: (t) => e({ previewTrendByColumns: t }),
59700
59652
  setPreviewFilterColumns: (t) => e({ previewFilterColumns: t })
59701
59653
  }
59702
59654
  })), vSe = () => qve((e) => e.actions);