@devtable/dashboard 13.27.9-beta.1 → 13.27.11

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.
@@ -6126,7 +6126,7 @@ class vl {
6126
6126
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
6127
6127
  }
6128
6128
  }
6129
- const gp = "13.27.9-beta.1", Cw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6129
+ const gp = "13.27.11", Cw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6130
6130
  __proto__: null,
6131
6131
  version: gp
6132
6132
  }, Symbol.toStringTag, { value: "Module" }));
@@ -19470,7 +19470,7 @@ const BD = {
19470
19470
  } = e, o = T(() => {
19471
19471
  const l = Pe({}, i, $a);
19472
19472
  return l.content ? hp(l.content, s, t.payloadForViz, a) : "";
19473
- }, [i, s, t.payloadForViz]);
19473
+ }, [a, i, s, t.payloadForViz]);
19474
19474
  return o ? /* @__PURE__ */ r.jsx(Zi, { value: o, styles: {
19475
19475
  root: {
19476
19476
  border: "none",
@@ -21217,7 +21217,7 @@ const cE = D(({
21217
21217
  } = e.viewport, h = T(() => {
21218
21218
  const m = Pe({}, a, Go);
21219
21219
  return m.content ? hp(m.content, c, s.payloadForViz, l) : "";
21220
- }, [a, c, s.payloadForViz]), p = Ge(() => {
21220
+ }, [l, a, c, s.payloadForViz]), p = Ge(() => {
21221
21221
  i.forEach((m) => {
21222
21222
  n.runInteraction(m.id, {
21223
21223
  variables: o.variableValueMap
@@ -28655,6 +28655,14 @@ const gP = x.model("FilterDateRangeConfigMeta", {
28655
28655
  return !!e.options_query_id;
28656
28656
  }
28657
28657
  })).views((e) => ({
28658
+ get optionsLoading() {
28659
+ if (!e.usingQuery)
28660
+ return !1;
28661
+ const {
28662
+ state: t
28663
+ } = e.contentModel.getDataStuffByID(e.options_query_id);
28664
+ return t === "loading";
28665
+ },
28658
28666
  get options() {
28659
28667
  if (!e.usingQuery)
28660
28668
  return e.static_options;
@@ -28719,6 +28727,8 @@ const gP = x.model("FilterDateRangeConfigMeta", {
28719
28727
  e.min_width = t;
28720
28728
  },
28721
28729
  setDefaultSelection() {
28730
+ if (e.optionsLoading)
28731
+ return;
28722
28732
  const t = ft(e).content.filters, n = et(e).key, i = new Set(e.options.map((a) => a.value)), s = (t.values[n] ?? []).filter((a) => i.has(a));
28723
28733
  s.length > 0 ? t.setValueByKey(n, s) : t.setValueByKey(n, e.default_selection);
28724
28734
  }