@devtable/dashboard 8.6.2 → 8.6.4

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.
@@ -11457,7 +11457,7 @@ const XD = (e) => {
11457
11457
  getColor: al(["#fff7f1", "darkorange", "#b60000"]),
11458
11458
  name: "orange",
11459
11459
  category: "sequential"
11460
- }, yy = "@devtable/dashboard", ud = "8.6.2", by = "Apache-2.0", wy = {
11460
+ }, yy = "@devtable/dashboard", ud = "8.6.4", by = "Apache-2.0", wy = {
11461
11461
  access: "public",
11462
11462
  registry: "https://registry.npmjs.org/"
11463
11463
  }, xy = [
@@ -11881,7 +11881,6 @@ function dP({
11881
11881
  return ge(() => {
11882
11882
  s(o);
11883
11883
  }, [t]), t ? /* @__PURE__ */ l(q, {
11884
- mt: "md",
11885
11884
  spacing: "xs",
11886
11885
  children: /* @__PURE__ */ y("form", {
11887
11886
  onSubmit: a(n),
@@ -13749,7 +13748,6 @@ function fA({
13749
13748
  }, [i]), c(["x_axis", "y_axis", "reference_lines", "color"]);
13750
13749
  const p = u(), f = le(() => !jt(p, t), [p, t]);
13751
13750
  return /* @__PURE__ */ l(q, {
13752
- mt: "md",
13753
13751
  spacing: "xs",
13754
13752
  children: /* @__PURE__ */ y("form", {
13755
13753
  onSubmit: s(n),
@@ -16823,7 +16821,6 @@ function VN({
16823
16821
  }, [a]);
16824
16822
  const f = d(), h = le(() => !jt(f, i), [f, i]);
16825
16823
  return u(["dataZoom"]), /* @__PURE__ */ l(q, {
16826
- mt: "md",
16827
16824
  spacing: "xs",
16828
16825
  children: /* @__PURE__ */ y("form", {
16829
16826
  onSubmit: c(n),
@@ -18113,7 +18110,6 @@ function kI({
18113
18110
  }, [i]);
18114
18111
  const p = u(), f = le(() => !ve.isEqual(p, o), [p, o]);
18115
18112
  return c(["label_field", "value_field"]), /* @__PURE__ */ l(q, {
18116
- mt: "md",
18117
18113
  spacing: "xs",
18118
18114
  children: /* @__PURE__ */ y("form", {
18119
18115
  onSubmit: s(n),
@@ -18519,7 +18515,6 @@ function VI({
18519
18515
  }, [o]), d(["series_name_key"]);
18520
18516
  const h = p(), g = le(() => !jt(h, o), [h, o]);
18521
18517
  return /* @__PURE__ */ l(q, {
18522
- mt: "md",
18523
18518
  spacing: "xs",
18524
18519
  children: /* @__PURE__ */ y("form", {
18525
18520
  onSubmit: u(r),
@@ -19066,7 +19061,6 @@ function YI({
19066
19061
  }, [o]), s(["x_axis", "y_axis", "regression"]);
19067
19062
  const d = c(), p = le(() => !jt(d, t), [d, t]);
19068
19063
  return /* @__PURE__ */ l(q, {
19069
- mt: "md",
19070
19064
  spacing: "xs",
19071
19065
  children: /* @__PURE__ */ y("form", {
19072
19066
  onSubmit: a(n),
@@ -19668,7 +19662,6 @@ function eL({
19668
19662
  }, [r]), a(["template", "align"]);
19669
19663
  const u = s(), d = ee.useMemo(() => !ve.isEqual(u, t), [u, t]);
19670
19664
  return /* @__PURE__ */ l(q, {
19671
- mt: "md",
19672
19665
  spacing: "xs",
19673
19666
  children: /* @__PURE__ */ y("form", {
19674
19667
  onSubmit: i(n),
@@ -20200,7 +20193,6 @@ function yL({
20200
20193
  return /* @__PURE__ */ l("form", {
20201
20194
  onSubmit: s(n),
20202
20195
  children: /* @__PURE__ */ y(q, {
20203
- mt: "md",
20204
20196
  spacing: "xs",
20205
20197
  children: [/* @__PURE__ */ y(j, {
20206
20198
  position: "left",
@@ -25719,7 +25711,6 @@ function eF({
25719
25711
  }, [a]);
25720
25712
  const f = d(), h = le(() => !jt(f, i), [f, i]);
25721
25713
  return u(["dataZoom"]), /* @__PURE__ */ l(q, {
25722
- mt: "md",
25723
25714
  spacing: "xs",
25724
25715
  children: /* @__PURE__ */ y("form", {
25725
25716
  onSubmit: c(n),
@@ -26129,7 +26120,6 @@ function dF({
26129
26120
  }, [o]), s(["func_content", "horizontal_align", "font_size", "font_weight"]);
26130
26121
  const d = c(), p = ee.useMemo(() => !ve.isEqual(d, r), [d, r]);
26131
26122
  return /* @__PURE__ */ l(q, {
26132
- mt: "md",
26133
26123
  spacing: "xs",
26134
26124
  children: /* @__PURE__ */ y("form", {
26135
26125
  onSubmit: a(n),
@@ -36080,9 +36070,10 @@ const e8 = ne(() => {
36080
36070
  return r ? /* @__PURE__ */ y(q, {
36081
36071
  sx: {
36082
36072
  maxWidth: "1100px",
36083
- height: "100%"
36073
+ height: "100vh"
36084
36074
  },
36085
36075
  spacing: "sm",
36076
+ pb: 30,
36086
36077
  children: [/* @__PURE__ */ l(j, {
36087
36078
  position: "right",
36088
36079
  pt: 10,
@@ -36910,7 +36901,14 @@ const B8 = ne(() => {
36910
36901
  size: 20
36911
36902
  })
36912
36903
  })
36913
- }), p, !p && /* @__PURE__ */ l(Pg, {
36904
+ }), /* @__PURE__ */ l(Me, {
36905
+ pb: 50,
36906
+ sx: {
36907
+ maxHeight: "calc(100% - 80px)",
36908
+ overflow: "auto"
36909
+ },
36910
+ children: p
36911
+ }), !p && /* @__PURE__ */ l(Pg, {
36914
36912
  minRows: 20,
36915
36913
  label: "Config",
36916
36914
  value: JSON.stringify(t.conf, null, 2),
@@ -36942,7 +36940,8 @@ const B8 = ne(() => {
36942
36940
  children: [/* @__PURE__ */ l(Me, {
36943
36941
  sx: {
36944
36942
  maxWidth: "calc(100% - 610px - 10px)",
36945
- height: "100%"
36943
+ height: "100%",
36944
+ overflow: "auto"
36946
36945
  },
36947
36946
  children: e
36948
36947
  }), /* @__PURE__ */ l(_8, {})]
@@ -37625,7 +37624,7 @@ WHERE
37625
37624
  }) => {
37626
37625
  const t = Ge(), n = t.context.current, r = J3(e, n, t.mock_context.current, t.filters.values);
37627
37626
  return /* @__PURE__ */ l(gf, {
37628
- height: "400px",
37627
+ height: "100%",
37629
37628
  value: r
37630
37629
  });
37631
37630
  }), sW = ne(({
@@ -37643,10 +37642,12 @@ WHERE
37643
37642
  }, [e]);
37644
37643
  const h = d !== e.value, g = ii();
37645
37644
  return /* @__PURE__ */ y(q, {
37646
- my: 0,
37647
- p: 0,
37648
- pt: "md",
37649
- pr: 20,
37645
+ p: 20,
37646
+ sx: {
37647
+ maxWidth: "1100px",
37648
+ height: "100vh"
37649
+ },
37650
+ spacing: "sm",
37650
37651
  children: [/* @__PURE__ */ y(j, {
37651
37652
  sx: {
37652
37653
  alignItems: "end"
@@ -37694,6 +37695,14 @@ WHERE
37694
37695
  }), /* @__PURE__ */ y(B, {
37695
37696
  value: r,
37696
37697
  onTabChange: o,
37698
+ sx: {
37699
+ flexGrow: 1
37700
+ },
37701
+ styles: {
37702
+ panel: {
37703
+ height: "calc(100% - 50px)"
37704
+ }
37705
+ },
37697
37706
  children: [/* @__PURE__ */ y(B.List, {
37698
37707
  sx: {
37699
37708
  position: "relative"
@@ -37722,7 +37731,7 @@ WHERE
37722
37731
  value: "SQL",
37723
37732
  pt: "sm",
37724
37733
  children: /* @__PURE__ */ l(gf, {
37725
- height: "400px",
37734
+ height: "100%",
37726
37735
  value: d,
37727
37736
  onChange: p
37728
37737
  })
@@ -37739,17 +37748,10 @@ WHERE
37739
37748
  id: e
37740
37749
  }) => {
37741
37750
  const t = Ge(), n = le(() => t.sqlSnippets.findByKey(e), [e]);
37742
- return n ? /* @__PURE__ */ l(q, {
37743
- sx: {
37744
- maxWidth: "1100px",
37745
- height: "100%"
37746
- },
37747
- spacing: "sm",
37748
- children: /* @__PURE__ */ l(sW, {
37749
- item: n,
37750
- remove: () => t.sqlSnippets.removeByKey(e),
37751
- onKeyChanged: ve.noop
37752
- })
37751
+ return n ? /* @__PURE__ */ l(sW, {
37752
+ item: n,
37753
+ remove: () => t.sqlSnippets.removeByKey(e),
37754
+ onKeyChanged: ve.noop
37753
37755
  }) : /* @__PURE__ */ y(W, {
37754
37756
  size: 14,
37755
37757
  children: ["SQL Snippet by key[", e, "] is not found"]
@@ -38089,12 +38091,8 @@ const kW = ne(() => /* @__PURE__ */ l(q, {
38089
38091
  children: /* @__PURE__ */ l(m8, {
38090
38092
  id: t[1]
38091
38093
  })
38092
- }) : _W(t) ? /* @__PURE__ */ l(Me, {
38093
- p: "xs",
38094
- pl: 20,
38095
- children: /* @__PURE__ */ l(lW, {
38096
- id: t[1]
38097
- })
38094
+ }) : _W(t) ? /* @__PURE__ */ l(lW, {
38095
+ id: t[1]
38098
38096
  }) : CW(t) ? /* @__PURE__ */ l(iW, {
38099
38097
  id: t[1]
38100
38098
  }) : EW(t) ? /* @__PURE__ */ l(Me, {