galaxy-charts 0.0.49 → 0.0.50

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.
@@ -1,4 +1,4 @@
1
- import { ref as E, openBlock as ye, createElementBlock as Fe, createElementVNode as ze, createTextVNode as On, Fragment as xt, Comment as Ii, isVNode as Yd, defineComponent as se, readonly as li, watch as De, computed as j, onMounted as St, onBeforeUnmount as Pt, inject as qe, provide as Mt, getCurrentInstance as Bi, withDirectives as Fn, toRef as $e, h as c, Teleport as Zd, nextTick as pt, renderSlot as Oi, onActivated as Al, onDeactivated as Fl, mergeProps as lr, onBeforeMount as Ai, shallowRef as Jd, watchEffect as ot, Transition as en, TransitionGroup as Dl, vShow as Fi, cloneVNode as Hl, Text as Qd, onBeforeUpdate as ec, mergeModels as oo, useModel as Di, createBlock as et, unref as he, createVNode as Pe, createCommentVNode as _t, withCtx as Ee, toDisplayString as pn, renderList as Ll, normalizeClass as tc } from "vue";
1
+ import { ref as E, openBlock as ye, createElementBlock as Fe, createElementVNode as ze, createTextVNode as On, Fragment as xt, Comment as Ii, isVNode as Yd, defineComponent as se, readonly as li, watch as De, computed as j, onMounted as St, onBeforeUnmount as kt, inject as qe, provide as Mt, getCurrentInstance as Bi, withDirectives as Fn, toRef as $e, h as c, Teleport as Zd, nextTick as pt, renderSlot as Oi, onActivated as Al, onDeactivated as Fl, mergeProps as lr, onBeforeMount as Ai, shallowRef as Jd, watchEffect as ot, Transition as en, TransitionGroup as Dl, vShow as Fi, cloneVNode as Hl, Text as Qd, onBeforeUpdate as ec, mergeModels as oo, useModel as Di, createBlock as Je, unref as he, createVNode as Pe, createCommentVNode as Tt, withCtx as Ee, toDisplayString as pn, renderList as Ll, normalizeClass as tc } from "vue";
2
2
  import './galaxy-charts.css';function Vl(e, t = "Request failed.") {
3
3
  let n = t;
4
4
  return e && e.response && e.response.data && e.response.data.err_msg ? n = e.response.data.err_msg : e && e.data && e.data.err_msg ? n = e.data.err_msg : e && e.response ? n = `${e.response.statusText} (${e.response.status})` : e instanceof Error ? n = e.message : typeof e == "string" && (n = e), n;
@@ -323,7 +323,7 @@ function Pn(e) {
323
323
  if (e != null)
324
324
  return typeof e == "number" ? `${e}px` : e.endsWith("px") ? e : `${e}px`;
325
325
  }
326
- function Tt(e, t) {
326
+ function zt(e, t) {
327
327
  const n = e.trim().split(/\s+/g), r = {
328
328
  top: n[0]
329
329
  };
@@ -394,7 +394,7 @@ function ci(e, t, n) {
394
394
  let r = t * Math.min(n, 1 - n), o = (i, a = (i + e / 30) % 12) => n - r * Math.max(Math.min(a - 3, 9 - a, 1), -1);
395
395
  return [o(0) * 255, o(8) * 255, o(4) * 255];
396
396
  }
397
- const Gt = "^\\s*", Kt = "\\s*$", bn = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*", zt = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*", kn = "([0-9A-Fa-f])", Rn = "([0-9A-Fa-f]{2})", hc = new RegExp(`${Gt}hsl\\s*\\(${zt},${bn},${bn}\\)${Kt}`), vc = new RegExp(`${Gt}hsv\\s*\\(${zt},${bn},${bn}\\)${Kt}`), pc = new RegExp(`${Gt}hsla\\s*\\(${zt},${bn},${bn},${zt}\\)${Kt}`), bc = new RegExp(`${Gt}hsva\\s*\\(${zt},${bn},${bn},${zt}\\)${Kt}`), gc = new RegExp(`${Gt}rgb\\s*\\(${zt},${zt},${zt}\\)${Kt}`), mc = new RegExp(`${Gt}rgba\\s*\\(${zt},${zt},${zt},${zt}\\)${Kt}`), Hi = new RegExp(`${Gt}#${kn}${kn}${kn}${Kt}`), Li = new RegExp(`${Gt}#${Rn}${Rn}${Rn}${Kt}`), Vi = new RegExp(`${Gt}#${kn}${kn}${kn}${kn}${Kt}`), Ni = new RegExp(`${Gt}#${Rn}${Rn}${Rn}${Rn}${Kt}`);
397
+ const Gt = "^\\s*", Kt = "\\s*$", bn = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*", Pt = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*", kn = "([0-9A-Fa-f])", Rn = "([0-9A-Fa-f]{2})", hc = new RegExp(`${Gt}hsl\\s*\\(${Pt},${bn},${bn}\\)${Kt}`), vc = new RegExp(`${Gt}hsv\\s*\\(${Pt},${bn},${bn}\\)${Kt}`), pc = new RegExp(`${Gt}hsla\\s*\\(${Pt},${bn},${bn},${Pt}\\)${Kt}`), bc = new RegExp(`${Gt}hsva\\s*\\(${Pt},${bn},${bn},${Pt}\\)${Kt}`), gc = new RegExp(`${Gt}rgb\\s*\\(${Pt},${Pt},${Pt}\\)${Kt}`), mc = new RegExp(`${Gt}rgba\\s*\\(${Pt},${Pt},${Pt},${Pt}\\)${Kt}`), Hi = new RegExp(`${Gt}#${kn}${kn}${kn}${Kt}`), Li = new RegExp(`${Gt}#${Rn}${Rn}${Rn}${Kt}`), Vi = new RegExp(`${Gt}#${kn}${kn}${kn}${kn}${Kt}`), Ni = new RegExp(`${Gt}#${Rn}${Rn}${Rn}${Rn}${Kt}`);
398
398
  function Ct(e) {
399
399
  return parseInt(e, 16);
400
400
  }
@@ -486,7 +486,7 @@ function ui(e, t, n, r) {
486
486
  function Ao(e, t, n, r, o) {
487
487
  return tt((e * t * (1 - r) + n * r) / o);
488
488
  }
489
- function Rt(e, t) {
489
+ function _t(e, t) {
490
490
  Array.isArray(e) || (e = ct(e)), Array.isArray(t) || (t = ct(t));
491
491
  const n = e[3], r = t[3], o = Qt(n + r - n * r);
492
492
  return ui(Ao(e[0], n, t[0], r, o), Ao(e[1], n, t[1], r, o), Ao(e[2], n, t[2], r, o), o);
@@ -697,7 +697,7 @@ function zc(e) {
697
697
  right: n,
698
698
  top: r,
699
699
  bottom: o
700
- } = Tt(e);
700
+ } = zt(e);
701
701
  return `${r} ${n} ${o} ${t}`;
702
702
  }
703
703
  function Pc(e) {
@@ -1119,7 +1119,7 @@ function es(e) {
1119
1119
  Tr || tr == null || tr.then(() => {
1120
1120
  t || e();
1121
1121
  });
1122
- }), Pt(() => {
1122
+ }), kt(() => {
1123
1123
  t = !0;
1124
1124
  });
1125
1125
  }
@@ -1373,7 +1373,7 @@ function yt(e) {
1373
1373
  };
1374
1374
  St(() => {
1375
1375
  Ve("fullscreenchange", document, a);
1376
- }), Pt(() => {
1376
+ }), kt(() => {
1377
1377
  Oe("fullscreenchange", document, a);
1378
1378
  });
1379
1379
  }
@@ -1514,7 +1514,7 @@ const yo = se({
1514
1514
  }, w = () => {
1515
1515
  g.forEach((b) => b());
1516
1516
  };
1517
- return Pt(() => {
1517
+ return kt(() => {
1518
1518
  Oe("resize", window, w), l();
1519
1519
  }), {
1520
1520
  targetRef: r,
@@ -2106,7 +2106,7 @@ const Pu = Ht([
2106
2106
  head: !0,
2107
2107
  anchorMetaName: Co,
2108
2108
  ssr: l
2109
- }), Pt(() => {
2109
+ }), kt(() => {
2110
2110
  a();
2111
2111
  }), es(() => {
2112
2112
  n.value && s();
@@ -2516,7 +2516,7 @@ const co = new qu(), vn = se({
2516
2516
  return;
2517
2517
  }
2518
2518
  o.nextElementSibling !== null && (co.registerHandler(o.nextElementSibling, r), t = !0);
2519
- }), Pt(() => {
2519
+ }), kt(() => {
2520
2520
  t && co.unregisterHandler(n.$el.nextElementSibling);
2521
2521
  });
2522
2522
  },
@@ -3039,7 +3039,7 @@ const rf = se({
3039
3039
  }, {
3040
3040
  immediate: !0
3041
3041
  });
3042
- }), Pt(() => {
3042
+ }), kt(() => {
3043
3043
  Oe("keydown", document, s), o && p();
3044
3044
  });
3045
3045
  function d(w) {
@@ -3140,7 +3140,7 @@ function ys(e, t) {
3140
3140
  value: n
3141
3141
  } = e;
3142
3142
  n && co.registerHandler(n, t);
3143
- }), Pt(() => {
3143
+ }), kt(() => {
3144
3144
  const {
3145
3145
  value: n
3146
3146
  } = e;
@@ -3194,7 +3194,7 @@ function Dn(e, {
3194
3194
  } = e;
3195
3195
  return s || (o == null ? void 0 : o.mergedValidationStatus.value);
3196
3196
  });
3197
- return Pt(() => {
3197
+ return kt(() => {
3198
3198
  o && o.restoreValidation();
3199
3199
  }), {
3200
3200
  mergedSizeRef: i,
@@ -6078,7 +6078,7 @@ function gl(e) {
6078
6078
  }
6079
6079
  function vt(e) {
6080
6080
  const t = Array.from(ed);
6081
- return t[3] = Number(e), Rt(bm, t);
6081
+ return t[3] = Number(e), _t(bm, t);
6082
6082
  }
6083
6083
  const ht = Object.assign(Object.assign({
6084
6084
  name: "common"
@@ -6576,7 +6576,7 @@ const zm = y("scrollbar", `
6576
6576
  onResize: N
6577
6577
  } = e;
6578
6578
  N && N(m), _();
6579
- }, Je = (m, N) => {
6579
+ }, Qe = (m, N) => {
6580
6580
  if (!e.scrollable) return;
6581
6581
  const {
6582
6582
  value: ee
@@ -6682,7 +6682,7 @@ const zm = y("scrollbar", `
6682
6682
  return !(!((N = i.value) === null || N === void 0) && N.contains(or(m)));
6683
6683
  }
6684
6684
  function Te(m) {
6685
- m.preventDefault(), m.stopPropagation(), T = !0, Ve("mousemove", window, Be, !0), Ve("mouseup", window, Qe, !0), I = b.value, D = o != null && o.value ? window.innerWidth - m.clientX : m.clientX;
6685
+ m.preventDefault(), m.stopPropagation(), T = !0, Ve("mousemove", window, Be, !0), Ve("mouseup", window, et, !0), I = b.value, D = o != null && o.value ? window.innerWidth - m.clientX : m.clientX;
6686
6686
  }
6687
6687
  function Be(m) {
6688
6688
  if (!T) return;
@@ -6709,8 +6709,8 @@ const zm = y("scrollbar", `
6709
6709
  $t && $t(we);
6710
6710
  }
6711
6711
  }
6712
- function Qe(m) {
6713
- m.preventDefault(), m.stopPropagation(), Oe("mousemove", window, Be, !0), Oe("mouseup", window, Qe, !0), T = !1, _(), ie(m) && Ie();
6712
+ function et(m) {
6713
+ m.preventDefault(), m.stopPropagation(), Oe("mousemove", window, Be, !0), Oe("mouseup", window, et, !0), T = !1, _(), ie(m) && Ie();
6714
6714
  }
6715
6715
  function Ge(m) {
6716
6716
  m.preventDefault(), m.stopPropagation(), $ = !0, Ve("mousemove", window, Ne, !0), Ve("mouseup", window, it, !0), S = w.value, O = m.clientY;
@@ -6752,7 +6752,7 @@ const zm = y("scrollbar", `
6752
6752
  de && (m ? de.classList.remove(`${ee}-scrollbar-rail--disabled`) : de.classList.add(`${ee}-scrollbar-rail--disabled`)), ue && (N ? ue.classList.remove(`${ee}-scrollbar-rail--disabled`) : ue.classList.add(`${ee}-scrollbar-rail--disabled`));
6753
6753
  }), St(() => {
6754
6754
  e.container || _();
6755
- }), Pt(() => {
6755
+ }), kt(() => {
6756
6756
  B !== void 0 && window.clearTimeout(B), v !== void 0 && window.clearTimeout(v), Oe("mousemove", window, Ne, !0), Oe("mouseup", window, it, !0);
6757
6757
  });
6758
6758
  const wt = j(() => {
@@ -6785,7 +6785,7 @@ const zm = y("scrollbar", `
6785
6785
  }), lt = n ? bt("scrollbar", void 0, wt, e) : void 0;
6786
6786
  return Object.assign(Object.assign({}, {
6787
6787
  scrollTo: Re,
6788
- scrollBy: Je,
6788
+ scrollBy: Qe,
6789
6789
  sync: _,
6790
6790
  syncUnifiedContainer: C,
6791
6791
  handleMouseEnterWrapper: Ye,
@@ -7388,10 +7388,10 @@ const Em = y("base-select-menu", `
7388
7388
  }) : g == null || g();
7389
7389
  }, {
7390
7390
  immediate: !0
7391
- }), Pt(() => {
7391
+ }), kt(() => {
7392
7392
  g == null || g();
7393
7393
  });
7394
- const h = j(() => mt(o.value.self[ne("optionHeight", e.size)])), x = j(() => Tt(o.value.self[ne("padding", e.size)])), w = j(() => e.multiple && Array.isArray(e.value) ? new Set(e.value) : /* @__PURE__ */ new Set()), b = j(() => {
7394
+ const h = j(() => mt(o.value.self[ne("optionHeight", e.size)])), x = j(() => zt(o.value.self[ne("padding", e.size)])), w = j(() => e.multiple && Array.isArray(e.value) ? new Set(e.value) : /* @__PURE__ */ new Set()), b = j(() => {
7395
7395
  const K = s.value;
7396
7396
  return K && K.length === 0;
7397
7397
  });
@@ -7513,7 +7513,7 @@ const Em = y("base-select-menu", `
7513
7513
  optionTextColorPressed: ce,
7514
7514
  optionTextColor: je,
7515
7515
  optionTextColorDisabled: He,
7516
- optionTextColorActive: Je,
7516
+ optionTextColorActive: Qe,
7517
7517
  optionOpacityDisabled: Ue,
7518
7518
  optionCheckColor: Ye,
7519
7519
  actionTextColor: nt,
@@ -7543,12 +7543,12 @@ const Em = y("base-select-menu", `
7543
7543
  "--n-option-height": q,
7544
7544
  "--n-option-opacity-disabled": Ue,
7545
7545
  "--n-option-text-color": je,
7546
- "--n-option-text-color-active": Je,
7546
+ "--n-option-text-color-active": Qe,
7547
7547
  "--n-option-text-color-disabled": He,
7548
7548
  "--n-option-text-color-pressed": ce,
7549
7549
  "--n-option-padding": z,
7550
- "--n-option-padding-left": Tt(z, "left"),
7551
- "--n-option-padding-right": Tt(z, "right"),
7550
+ "--n-option-padding-left": zt(z, "left"),
7551
+ "--n-option-padding-right": zt(z, "right"),
7552
7552
  "--n-loading-color": A,
7553
7553
  "--n-loading-size": oe
7554
7554
  };
@@ -7706,7 +7706,7 @@ const Em = y("base-select-menu", `
7706
7706
  jn("-base-wave", Bm, $e(e, "clsPrefix"));
7707
7707
  const t = E(null), n = E(!1);
7708
7708
  let r = null;
7709
- return Pt(() => {
7709
+ return kt(() => {
7710
7710
  r !== null && window.clearTimeout(r);
7711
7711
  }), {
7712
7712
  active: n,
@@ -7835,44 +7835,44 @@ const aa = {
7835
7835
  opacity .15s var(--n-bezier-ease-in),
7836
7836
  transform .15s var(--n-bezier-ease-in);
7837
7837
  `)
7838
- ]), kt("top-start", `
7838
+ ]), Rt("top-start", `
7839
7839
  top: calc(${st} / -2);
7840
7840
  left: calc(${Jt("top-start")} - var(--v-offset-left));
7841
- `), kt("top", `
7841
+ `), Rt("top", `
7842
7842
  top: calc(${st} / -2);
7843
7843
  transform: translateX(calc(${st} / -2)) rotate(45deg);
7844
7844
  left: 50%;
7845
- `), kt("top-end", `
7845
+ `), Rt("top-end", `
7846
7846
  top: calc(${st} / -2);
7847
7847
  right: calc(${Jt("top-end")} + var(--v-offset-left));
7848
- `), kt("bottom-start", `
7848
+ `), Rt("bottom-start", `
7849
7849
  bottom: calc(${st} / -2);
7850
7850
  left: calc(${Jt("bottom-start")} - var(--v-offset-left));
7851
- `), kt("bottom", `
7851
+ `), Rt("bottom", `
7852
7852
  bottom: calc(${st} / -2);
7853
7853
  transform: translateX(calc(${st} / -2)) rotate(45deg);
7854
7854
  left: 50%;
7855
- `), kt("bottom-end", `
7855
+ `), Rt("bottom-end", `
7856
7856
  bottom: calc(${st} / -2);
7857
7857
  right: calc(${Jt("bottom-end")} + var(--v-offset-left));
7858
- `), kt("left-start", `
7858
+ `), Rt("left-start", `
7859
7859
  left: calc(${st} / -2);
7860
7860
  top: calc(${Jt("left-start")} - var(--v-offset-top));
7861
- `), kt("left", `
7861
+ `), Rt("left", `
7862
7862
  left: calc(${st} / -2);
7863
7863
  transform: translateY(calc(${st} / -2)) rotate(45deg);
7864
7864
  top: 50%;
7865
- `), kt("left-end", `
7865
+ `), Rt("left-end", `
7866
7866
  left: calc(${st} / -2);
7867
7867
  bottom: calc(${Jt("left-end")} + var(--v-offset-top));
7868
- `), kt("right-start", `
7868
+ `), Rt("right-start", `
7869
7869
  right: calc(${st} / -2);
7870
7870
  top: calc(${Jt("right-start")} - var(--v-offset-top));
7871
- `), kt("right", `
7871
+ `), Rt("right", `
7872
7872
  right: calc(${st} / -2);
7873
7873
  transform: translateY(calc(${st} / -2)) rotate(45deg);
7874
7874
  top: 50%;
7875
- `), kt("right-end", `
7875
+ `), Rt("right-end", `
7876
7876
  right: calc(${st} / -2);
7877
7877
  bottom: calc(${Jt("right-end")} + var(--v-offset-top));
7878
7878
  `), ...Hb({
@@ -7890,7 +7890,7 @@ const aa = {
7890
7890
  function Jt(e) {
7891
7891
  return ["top", "bottom"].includes(e.split("-")[0]) ? "var(--n-arrow-offset)" : "var(--n-arrow-offset-vertical)";
7892
7892
  }
7893
- function kt(e, t) {
7893
+ function Rt(e, t) {
7894
7894
  const n = e.split("-")[0], r = ["top", "bottom"].includes(n) ? "height: var(--n-space-arrow);" : "width: var(--n-space-arrow);";
7895
7895
  return L(`[v-placement="${e}"] >`, [y("popover-shared", `
7896
7896
  margin-${ti[n]}: var(--n-space);
@@ -8051,7 +8051,7 @@ const Lm = se({
8051
8051
  }), x = i ? bt("popover", void 0, g, e) : void 0;
8052
8052
  s.setBodyInstance({
8053
8053
  syncPosition: w
8054
- }), Pt(() => {
8054
+ }), kt(() => {
8055
8055
  s.setBodyInstance(null);
8056
8056
  }), De($e(e, "show"), (v) => {
8057
8057
  e.animated || (v ? f.value = !0 : f.value = !1);
@@ -8910,7 +8910,7 @@ const Km = {
8910
8910
  [ne("closeColorHover", g)]: ce,
8911
8911
  [ne("closeColorPressed", g)]: je
8912
8912
  }
8913
- } = a.value, He = Tt(V);
8913
+ } = a.value, He = zt(V);
8914
8914
  return {
8915
8915
  "--n-font-weight-strong": Z,
8916
8916
  "--n-avatar-size-override": `calc(${K} - 8px)`,
@@ -9682,7 +9682,7 @@ const sd = {
9682
9682
  } = i;
9683
9683
  C && (S(), C.focus());
9684
9684
  }
9685
- function Je() {
9685
+ function Qe() {
9686
9686
  const {
9687
9687
  value: C
9688
9688
  } = i;
@@ -9739,7 +9739,7 @@ const sd = {
9739
9739
  borderRadius: ie,
9740
9740
  color: Te,
9741
9741
  placeholderColor: Be,
9742
- textColor: Qe,
9742
+ textColor: et,
9743
9743
  paddingSingle: Ge,
9744
9744
  paddingMultiple: Ne,
9745
9745
  caretColor: it,
@@ -9785,7 +9785,7 @@ const sd = {
9785
9785
  [ne("height", C)]: Io,
9786
9786
  [ne("fontSize", C)]: Bo
9787
9787
  }
9788
- } = b.value, Gn = Tt(Ge), Kn = Tt(Ne);
9788
+ } = b.value, Gn = zt(Ge), Kn = zt(Ne);
9789
9789
  return {
9790
9790
  "--n-bezier": _,
9791
9791
  "--n-border": ue,
@@ -9812,7 +9812,7 @@ const sd = {
9812
9812
  "--n-padding-multiple-bottom": Kn.bottom,
9813
9813
  "--n-placeholder-color": Be,
9814
9814
  "--n-placeholder-color-disabled": gt,
9815
- "--n-text-color": Qe,
9815
+ "--n-text-color": et,
9816
9816
  "--n-text-color-disabled": lt,
9817
9817
  "--n-arrow-color": Ae,
9818
9818
  "--n-arrow-color-disabled": $t,
@@ -9885,7 +9885,7 @@ const sd = {
9885
9885
  focus: je,
9886
9886
  focusInput: He,
9887
9887
  blur: ce,
9888
- blurInput: Je,
9888
+ blurInput: Qe,
9889
9889
  updateCounter: Ue,
9890
9890
  getCounter: Ye,
9891
9891
  getTail: nt,
@@ -10207,10 +10207,10 @@ function i0(e) {
10207
10207
  closeIconColor: u,
10208
10208
  closeIconColorHover: p,
10209
10209
  closeIconColorPressed: g,
10210
- borderInfo: `1px solid ${Rt(o, Se(h, {
10210
+ borderInfo: `1px solid ${_t(o, Se(h, {
10211
10211
  alpha: 0.25
10212
10212
  }))}`,
10213
- colorInfo: Rt(o, Se(h, {
10213
+ colorInfo: _t(o, Se(h, {
10214
10214
  alpha: 0.08
10215
10215
  })),
10216
10216
  titleTextColorInfo: l,
@@ -10221,10 +10221,10 @@ function i0(e) {
10221
10221
  closeIconColorInfo: u,
10222
10222
  closeIconColorHoverInfo: p,
10223
10223
  closeIconColorPressedInfo: g,
10224
- borderSuccess: `1px solid ${Rt(o, Se(x, {
10224
+ borderSuccess: `1px solid ${_t(o, Se(x, {
10225
10225
  alpha: 0.25
10226
10226
  }))}`,
10227
- colorSuccess: Rt(o, Se(x, {
10227
+ colorSuccess: _t(o, Se(x, {
10228
10228
  alpha: 0.08
10229
10229
  })),
10230
10230
  titleTextColorSuccess: l,
@@ -10235,10 +10235,10 @@ function i0(e) {
10235
10235
  closeIconColorSuccess: u,
10236
10236
  closeIconColorHoverSuccess: p,
10237
10237
  closeIconColorPressedSuccess: g,
10238
- borderWarning: `1px solid ${Rt(o, Se(w, {
10238
+ borderWarning: `1px solid ${_t(o, Se(w, {
10239
10239
  alpha: 0.33
10240
10240
  }))}`,
10241
- colorWarning: Rt(o, Se(w, {
10241
+ colorWarning: _t(o, Se(w, {
10242
10242
  alpha: 0.08
10243
10243
  })),
10244
10244
  titleTextColorWarning: l,
@@ -10249,10 +10249,10 @@ function i0(e) {
10249
10249
  closeIconColorWarning: u,
10250
10250
  closeIconColorHoverWarning: p,
10251
10251
  closeIconColorPressedWarning: g,
10252
- borderError: `1px solid ${Rt(o, Se(b, {
10252
+ borderError: `1px solid ${_t(o, Se(b, {
10253
10253
  alpha: 0.25
10254
10254
  }))}`,
10255
- colorError: Rt(o, Se(b, {
10255
+ colorError: _t(o, Se(b, {
10256
10256
  alpha: 0.08
10257
10257
  })),
10258
10258
  titleTextColorError: l,
@@ -10461,7 +10461,7 @@ const c0 = y("alert", `
10461
10461
  } = e, {
10462
10462
  left: G,
10463
10463
  right: te
10464
- } = Tt($);
10464
+ } = zt($);
10465
10465
  return {
10466
10466
  "--n-bezier": g,
10467
10467
  "--n-color": h[ne("color", H)],
@@ -11363,7 +11363,7 @@ const Sl = se({
11363
11363
  } = e;
11364
11364
  P && ge(P);
11365
11365
  }
11366
- function Je() {
11366
+ function Qe() {
11367
11367
  const {
11368
11368
  onActivate: P
11369
11369
  } = e;
@@ -11443,7 +11443,7 @@ const Sl = se({
11443
11443
  ce(P), P.relatedTarget === a.value && He(), P.relatedTarget !== null && (P.relatedTarget === f.value || P.relatedTarget === u.value || P.relatedTarget === l.value) || (D.value = !1), C(P, "blur"), p.value = null;
11444
11444
  }
11445
11445
  function F(P, X) {
11446
- je(P), v.value = !0, D.value = !0, Je(), C(P, "focus"), X === 0 ? p.value = f.value : X === 1 ? p.value = u.value : X === 2 && (p.value = l.value);
11446
+ je(P), v.value = !0, D.value = !0, Qe(), C(P, "focus"), X === 0 ? p.value = f.value : X === 1 ? p.value = u.value : X === 2 && (p.value = l.value);
11447
11447
  }
11448
11448
  function q(P) {
11449
11449
  e.passivelyActivated && (nt(P), C(P, "blur"));
@@ -11474,7 +11474,7 @@ const Sl = se({
11474
11474
  source: "clear"
11475
11475
  }));
11476
11476
  }
11477
- function Qe(P) {
11477
+ function et(P) {
11478
11478
  const {
11479
11479
  onMousedown: X
11480
11480
  } = e;
@@ -11716,7 +11716,7 @@ const Sl = se({
11716
11716
  } = i.value, {
11717
11717
  left: Xd,
11718
11718
  right: qd
11719
- } = Tt(Ud);
11719
+ } = zt(Ud);
11720
11720
  return {
11721
11721
  "--n-bezier": X,
11722
11722
  "--n-count-text-color": Dd,
@@ -11817,7 +11817,7 @@ const Sl = se({
11817
11817
  handleWrapperFocus: z,
11818
11818
  handleMouseEnter: Ge,
11819
11819
  handleMouseLeave: Ne,
11820
- handleMouseDown: Qe,
11820
+ handleMouseDown: et,
11821
11821
  handleChange: _,
11822
11822
  handleClick: ie,
11823
11823
  handleClear: Te,
@@ -12124,10 +12124,10 @@ const Sl = se({
12124
12124
  }
12125
12125
  });
12126
12126
  function $n(e) {
12127
- return Rt(e, [255, 255, 255, 0.16]);
12127
+ return _t(e, [255, 255, 255, 0.16]);
12128
12128
  }
12129
12129
  function Zr(e) {
12130
- return Rt(e, [0, 0, 0, 0.12]);
12130
+ return _t(e, [0, 0, 0, 0.12]);
12131
12131
  }
12132
12132
  const z0 = "n-button-group", P0 = {
12133
12133
  paddingTiny: "0 6px",
@@ -12789,7 +12789,7 @@ const sa = {
12789
12789
  };
12790
12790
  const {
12791
12791
  [ne("height", H)]: He,
12792
- [ne("fontSize", H)]: Je,
12792
+ [ne("fontSize", H)]: Qe,
12793
12793
  [ne("padding", H)]: Ue,
12794
12794
  [ne("paddingRound", H)]: Ye,
12795
12795
  [ne("iconSize", H)]: nt,
@@ -12799,7 +12799,7 @@ const sa = {
12799
12799
  } = v, oe = {
12800
12800
  "--n-width": fe && !Q ? He : "initial",
12801
12801
  "--n-height": Q ? "initial" : He,
12802
- "--n-font-size": Je,
12802
+ "--n-font-size": Qe,
12803
12803
  "--n-padding": fe || Q ? "initial" : J ? Ye : Ue,
12804
12804
  "--n-icon-size": nt,
12805
12805
  "--n-icon-margin": Y,
@@ -14193,7 +14193,7 @@ const ex = se({
14193
14193
  } = e;
14194
14194
  A && A(), h(!1);
14195
14195
  }
14196
- function Je() {
14196
+ function Qe() {
14197
14197
  const {
14198
14198
  value: A
14199
14199
  } = b, {
@@ -14322,7 +14322,7 @@ const ex = se({
14322
14322
  class: `${_}-color-picker-action`
14323
14323
  }, z.includes("confirm") && c(Lt, {
14324
14324
  size: "small",
14325
- onClick: Je,
14325
+ onClick: Qe,
14326
14326
  theme: C.peers.Button,
14327
14327
  themeOverrides: C.peerOverrides.Button
14328
14328
  }, {
@@ -14757,7 +14757,7 @@ const ax = {
14757
14757
  f.value = "", g.value = D;
14758
14758
  }
14759
14759
  const He = E(!1);
14760
- function Je() {
14760
+ function Qe() {
14761
14761
  e.filterable && (He.value = !0);
14762
14762
  }
14763
14763
  function Ue() {
@@ -14888,7 +14888,7 @@ const ax = {
14888
14888
  function Be(m) {
14889
14889
  ke(m);
14890
14890
  }
14891
- function Qe(m) {
14891
+ function et(m) {
14892
14892
  var N, ee, de, ue, pe;
14893
14893
  if (!e.keyboard) {
14894
14894
  m.preventDefault();
@@ -14993,7 +14993,7 @@ const ax = {
14993
14993
  focused: d,
14994
14994
  activeWithoutMenuOpen: He,
14995
14995
  inlineThemeDisabled: o,
14996
- onTriggerInputFocus: Je,
14996
+ onTriggerInputFocus: Qe,
14997
14997
  onTriggerInputBlur: Ue,
14998
14998
  handleTriggerOrMenuResize: it,
14999
14999
  handleMenuFocus: Y,
@@ -15006,11 +15006,11 @@ const ax = {
15006
15006
  handleClear: ie,
15007
15007
  handleTriggerBlur: nt,
15008
15008
  handleTriggerFocus: Ie,
15009
- handleKeydown: Qe,
15009
+ handleKeydown: et,
15010
15010
  handleMenuAfterLeave: je,
15011
15011
  handleMenuClickOutside: M,
15012
15012
  handleMenuScroll: Be,
15013
- handleMenuKeydown: Qe,
15013
+ handleMenuKeydown: et,
15014
15014
  handleMenuMousedown: Te,
15015
15015
  mergedTheme: i,
15016
15016
  cssVars: o ? void 0 : lt,
@@ -15151,7 +15151,7 @@ function cx(e) {
15151
15151
  return Object.assign(Object.assign({}, dx), {
15152
15152
  borderRadius: t,
15153
15153
  boxShadow: n,
15154
- color: Rt(r, "rgba(0, 0, 0, .85)"),
15154
+ color: _t(r, "rgba(0, 0, 0, .85)"),
15155
15155
  textColor: r
15156
15156
  });
15157
15157
  }
@@ -15911,7 +15911,7 @@ const _x = L([y("input-number-suffix", `
15911
15911
  }
15912
15912
  const He = () => {
15913
15913
  Ce || Q();
15914
- }, Je = () => {
15914
+ }, Qe = () => {
15915
15915
  re || Z();
15916
15916
  };
15917
15917
  function Ue(Y) {
@@ -15990,7 +15990,7 @@ const _x = L([y("input-number-suffix", `
15990
15990
  handleClear: ve,
15991
15991
  handleMouseDown: K,
15992
15992
  handleAddClick: He,
15993
- handleMinusClick: Je,
15993
+ handleMinusClick: Qe,
15994
15994
  handleAddMousedown: je,
15995
15995
  handleMinusMousedown: ce,
15996
15996
  handleKeyDown: Ue,
@@ -16379,11 +16379,11 @@ const Ix = L([y("slider", `
16379
16379
  value: Te
16380
16380
  } = k, {
16381
16381
  range: Be
16382
- } = e, Qe = Te ? () => !1 : (Ge) => Be ? Ge >= _[0] && Ge <= _[_.length - 1] : Ge <= _[0];
16382
+ } = e, et = Te ? () => !1 : (Ge) => Be ? Ge >= _[0] && Ge <= _[_.length - 1] : Ge <= _[0];
16383
16383
  for (const Ge of Object.keys(C)) {
16384
16384
  const Ne = Number(Ge);
16385
16385
  z.push({
16386
- active: Qe(Ne),
16386
+ active: et(Ne),
16387
16387
  label: C[Ge],
16388
16388
  style: {
16389
16389
  [ie]: `${re(Ne)}%`
@@ -16459,12 +16459,12 @@ const Ix = L([y("slider", `
16459
16459
  }
16460
16460
  if (Be <= 0) return C;
16461
16461
  const {
16462
- value: Qe
16462
+ value: et
16463
16463
  } = g;
16464
16464
  let Ge;
16465
16465
  if (ie) {
16466
- const Ne = Number((C / Be).toFixed(Qe)), it = Math.floor(Ne), wt = Ne > it ? it : it - 1, lt = Ne < it ? it : it + 1;
16467
- Ge = ae(C, [Number((wt * Be).toFixed(Qe)), Number((lt * Be).toFixed(Qe)), ...Te], _);
16466
+ const Ne = Number((C / Be).toFixed(et)), it = Math.floor(Ne), wt = Ne > it ? it : it - 1, lt = Ne < it ? it : it + 1;
16467
+ Ge = ae(C, [Number((wt * Be).toFixed(et)), Number((lt * Be).toFixed(et)), ...Te], _);
16468
16468
  } else {
16469
16469
  const Ne = ke(z);
16470
16470
  Ge = ae(z, [...Te, Ne]);
@@ -16501,11 +16501,11 @@ const Ix = L([y("slider", `
16501
16501
  if (!(C != null && C.length)) return null;
16502
16502
  let ie = null, Te = -1;
16503
16503
  for (; ++Te < C.length; ) {
16504
- const Be = C[Te] - z, Qe = Math.abs(Be);
16504
+ const Be = C[Te] - z, et = Math.abs(Be);
16505
16505
  // find marks in the same direction
16506
- (_ === void 0 || Be * _ > 0) && (ie === null || Qe < ie.distance) && (ie = {
16506
+ (_ === void 0 || Be * _ > 0) && (ie === null || et < ie.distance) && (ie = {
16507
16507
  index: Te,
16508
- distance: Qe,
16508
+ distance: et,
16509
16509
  value: C[Te]
16510
16510
  });
16511
16511
  }
@@ -16563,7 +16563,7 @@ const Ix = L([y("slider", `
16563
16563
  function He() {
16564
16564
  S.value || (S.value = !0, e.onDragstart && ge(e.onDragstart), Ve("touchend", document, Ye), Ve("mouseup", document, Ye), Ve("touchmove", document, Ue), Ve("mousemove", document, Ue));
16565
16565
  }
16566
- function Je() {
16566
+ function Qe() {
16567
16567
  S.value && (S.value = !1, e.onDragend && ge(e.onDragend), Oe("touchend", document, Ye), Oe("mouseup", document, Ye), Oe("touchmove", document, Ue), Oe("mousemove", document, Ue));
16568
16568
  }
16569
16569
  function Ue(z) {
@@ -16571,20 +16571,20 @@ const Ix = L([y("slider", `
16571
16571
  value: C
16572
16572
  } = T;
16573
16573
  if (!S.value || C === -1) {
16574
- Je();
16574
+ Qe();
16575
16575
  return;
16576
16576
  }
16577
16577
  const _ = Me(z);
16578
16578
  _ !== void 0 && le(ve(_, b.value[C]), C);
16579
16579
  }
16580
16580
  function Ye() {
16581
- Je();
16581
+ Qe();
16582
16582
  }
16583
16583
  function nt(z) {
16584
16584
  T.value = z, p.value || (v.value = z);
16585
16585
  }
16586
16586
  function Ie(z) {
16587
- T.value === z && (T.value = -1, Je()), v.value === z && (v.value = -1);
16587
+ T.value === z && (T.value = -1, Qe()), v.value === z && (v.value = -1);
16588
16588
  }
16589
16589
  function Y(z) {
16590
16590
  v.value = z;
@@ -16600,8 +16600,8 @@ const Ix = L([y("slider", `
16600
16600
  });
16601
16601
  }
16602
16602
  pt(Z);
16603
- }), Pt(() => {
16604
- Je();
16603
+ }), kt(() => {
16604
+ Qe();
16605
16605
  });
16606
16606
  const oe = j(() => {
16607
16607
  const {
@@ -16612,7 +16612,7 @@ const Ix = L([y("slider", `
16612
16612
  fillColor: ie,
16613
16613
  fillColorHover: Te,
16614
16614
  handleColor: Be,
16615
- opacityDisabled: Qe,
16615
+ opacityDisabled: et,
16616
16616
  dotColor: Ge,
16617
16617
  dotColorModal: Ne,
16618
16618
  handleBoxShadow: it,
@@ -16655,7 +16655,7 @@ const Ix = L([y("slider", `
16655
16655
  "--n-handle-box-shadow-hover": wt,
16656
16656
  "--n-handle-color": Be,
16657
16657
  "--n-handle-size": ue,
16658
- "--n-opacity-disabled": Qe,
16658
+ "--n-opacity-disabled": et,
16659
16659
  "--n-rail-color": C,
16660
16660
  "--n-rail-color-hover": _,
16661
16661
  "--n-rail-height": ee,
@@ -17941,7 +17941,7 @@ const hd = se({
17941
17941
  }
17942
17942
  Ye(((F = g.value) === null || F === void 0 ? void 0 : F.$el) || null);
17943
17943
  }
17944
- const Je = qo(He, 64);
17944
+ const Qe = qo(He, 64);
17945
17945
  function Ue() {
17946
17946
  const {
17947
17947
  onAdd: M
@@ -18035,7 +18035,7 @@ const hd = se({
18035
18035
  closeIconColorHover: ie,
18036
18036
  closeIconColorPressed: Te,
18037
18037
  tabColor: Be,
18038
- tabBorderColor: Qe,
18038
+ tabBorderColor: et,
18039
18039
  paneTextColor: Ge,
18040
18040
  tabFontWeight: Ne,
18041
18041
  tabBorderRadius: it,
@@ -18073,7 +18073,7 @@ const hd = se({
18073
18073
  "--n-tab-text-color-disabled": fr,
18074
18074
  "--n-tab-text-color-hover": an,
18075
18075
  "--n-pane-text-color": Ge,
18076
- "--n-tab-border-color": Qe,
18076
+ "--n-tab-border-color": et,
18077
18077
  "--n-tab-border-radius": it,
18078
18078
  "--n-close-size": N,
18079
18079
  "--n-close-icon-size": ee,
@@ -18090,10 +18090,10 @@ const hd = se({
18090
18090
  "--n-tab-padding-vertical": Ae,
18091
18091
  "--n-tab-gap": $t,
18092
18092
  "--n-tab-gap-vertical": rn,
18093
- "--n-pane-padding-left": Tt(be, "left"),
18094
- "--n-pane-padding-right": Tt(be, "right"),
18095
- "--n-pane-padding-top": Tt(be, "top"),
18096
- "--n-pane-padding-bottom": Tt(be, "bottom"),
18093
+ "--n-pane-padding-left": zt(be, "left"),
18094
+ "--n-pane-padding-right": zt(be, "right"),
18095
+ "--n-pane-padding-top": zt(be, "top"),
18096
+ "--n-pane-padding-bottom": zt(be, "bottom"),
18097
18097
  "--n-font-weight-strong": gt,
18098
18098
  "--n-tab-color-segment": m
18099
18099
  };
@@ -18114,7 +18114,7 @@ const hd = se({
18114
18114
  handleNavResize: ce,
18115
18115
  mergedSize: b,
18116
18116
  handleScroll: nt,
18117
- handleTabsResize: Je,
18117
+ handleTabsResize: Qe,
18118
18118
  cssVars: l ? void 0 : A,
18119
18119
  themeClass: oe == null ? void 0 : oe.themeClass,
18120
18120
  animationDirection: le,
@@ -18388,11 +18388,11 @@ const jx = {
18388
18388
  g();
18389
18389
  }
18390
18390
  ), (h, x) => (ye(), Fe(xt, null, [
18391
- o.value.type === "boolean" ? (ye(), et(he(hd), {
18391
+ o.value.type === "boolean" ? (ye(), Je(he(hd), {
18392
18392
  key: 0,
18393
18393
  value: u.value,
18394
18394
  "onUpdate:value": x[0] || (x[0] = (w) => u.value = w)
18395
- }, null, 8, ["value"])) : (ye(), et(he(_o), {
18395
+ }, null, 8, ["value"])) : (ye(), Je(he(_o), {
18396
18396
  key: 1,
18397
18397
  value: l.value,
18398
18398
  "onUpdate:value": x[1] || (x[1] = (w) => l.value = w),
@@ -18405,7 +18405,7 @@ const jx = {
18405
18405
  values: a.value,
18406
18406
  "onUpdate:values": g
18407
18407
  }, null, 8, ["dataset-id", "inputs", "values"])
18408
- ])) : _t("", !0)
18408
+ ])) : Tt("", !0)
18409
18409
  ], 64));
18410
18410
  }
18411
18411
  }), Gx = {
@@ -18455,7 +18455,7 @@ const jx = {
18455
18455
  _: 1
18456
18456
  }),
18457
18457
  ze("span", null, "Selected: " + pn(r.value.name), 1)
18458
- ])) : s.optional ? _t("", !0) : (ye(), Fe("div", Kx, [
18458
+ ])) : s.optional ? Tt("", !0) : (ye(), Fe("div", Kx, [
18459
18459
  Pe(he(Bt), { class: "size-3 mr-1" }, {
18460
18460
  default: Ee(() => [
18461
18461
  Pe(he(jl))
@@ -18518,12 +18518,12 @@ const Jx = /* @__PURE__ */ se({
18518
18518
  return o(), De(
18519
18519
  () => r.value,
18520
18520
  () => i()
18521
- ), (a, l) => a.datasetId ? (ye(), et(he(_o), {
18521
+ ), (a, l) => a.datasetId ? (ye(), Je(he(_o), {
18522
18522
  key: 0,
18523
18523
  value: r.value,
18524
18524
  "onUpdate:value": l[0] || (l[0] = (s) => r.value = s),
18525
18525
  options: n.value
18526
- }, null, 8, ["value", "options"])) : (ye(), et(he(ar), {
18526
+ }, null, 8, ["value", "options"])) : (ye(), Je(he(ar), {
18527
18527
  key: 1,
18528
18528
  value: r.value,
18529
18529
  "onUpdate:value": l[1] || (l[1] = (s) => r.value = s)
@@ -18566,16 +18566,16 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18566
18566
  class: "pb-2"
18567
18567
  }, [
18568
18568
  ze("div", ey, pn(d.label || d.name), 1),
18569
- d.help ? (ye(), Fe("div", ty, pn(d.help), 1)) : _t("", !0),
18569
+ d.help ? (ye(), Fe("div", ty, pn(d.help), 1)) : Tt("", !0),
18570
18570
  ze("div", null, [
18571
- d.type === "boolean" ? (ye(), et(he(hd), {
18571
+ d.type === "boolean" ? (ye(), Je(he(hd), {
18572
18572
  key: 0,
18573
18573
  value: o.value[d.name],
18574
18574
  "onUpdate:value": [
18575
18575
  (u) => o.value[d.name] = u,
18576
18576
  s[0] || (s[0] = (u) => a())
18577
18577
  ]
18578
- }, null, 8, ["value", "onUpdate:value"])) : d.type === "color" ? (ye(), et(he(ox), {
18578
+ }, null, 8, ["value", "onUpdate:value"])) : d.type === "color" ? (ye(), Je(he(ox), {
18579
18579
  key: 1,
18580
18580
  value: o.value[d.name],
18581
18581
  "onUpdate:value": [
@@ -18584,7 +18584,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18584
18584
  ],
18585
18585
  modes: ["hex"],
18586
18586
  "show-alpha": !1
18587
- }, null, 8, ["value", "onUpdate:value"])) : d.type === "conditional" ? (ye(), et(Ux, {
18587
+ }, null, 8, ["value", "onUpdate:value"])) : d.type === "conditional" ? (ye(), Je(Ux, {
18588
18588
  key: 2,
18589
18589
  value: o.value[d.name],
18590
18590
  "onUpdate:value": [
@@ -18593,7 +18593,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18593
18593
  ],
18594
18594
  "dataset-id": l.datasetId,
18595
18595
  input: d
18596
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : d.type === "data" ? (ye(), et(Yx, {
18596
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : d.type === "data" ? (ye(), Je(Yx, {
18597
18597
  key: 3,
18598
18598
  value: o.value[d.name],
18599
18599
  "onUpdate:value": [
@@ -18602,7 +18602,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18602
18602
  ],
18603
18603
  extension: d.extension,
18604
18604
  optional: he(Cr)(d.optional)
18605
- }, null, 8, ["value", "onUpdate:value", "extension", "optional"])) : d.type === "data_column" ? (ye(), et(Jx, {
18605
+ }, null, 8, ["value", "onUpdate:value", "extension", "optional"])) : d.type === "data_column" ? (ye(), Je(Jx, {
18606
18606
  key: 4,
18607
18607
  value: o.value[d.name],
18608
18608
  "onUpdate:value": [
@@ -18614,7 +18614,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18614
18614
  "is-text": he(Cr)(d.is_text),
18615
18615
  "is-number": he(Cr)(d.is_number)
18616
18616
  }, null, 8, ["value", "onUpdate:value", "dataset-id", "is-auto", "is-text", "is-number"])) : d.type === "float" ? (ye(), Fe("div", ny, [
18617
- d.min !== void 0 && d.max !== void 0 ? (ye(), et(he(Ax), {
18617
+ d.min !== void 0 && d.max !== void 0 ? (ye(), Je(he(Ax), {
18618
18618
  key: 0,
18619
18619
  class: "mb-2",
18620
18620
  value: o.value[d.name],
@@ -18625,7 +18625,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18625
18625
  min: Number(d.min),
18626
18626
  max: Number(d.max),
18627
18627
  step: Ol
18628
- }, null, 8, ["value", "onUpdate:value", "min", "max"])) : _t("", !0),
18628
+ }, null, 8, ["value", "onUpdate:value", "min", "max"])) : Tt("", !0),
18629
18629
  Pe(he(Ex), {
18630
18630
  value: o.value[d.name],
18631
18631
  "onUpdate:value": [
@@ -18637,7 +18637,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18637
18637
  max: Number(d.max),
18638
18638
  step: Ol
18639
18639
  }, null, 8, ["value", "onUpdate:value", "min", "max"])
18640
- ])) : d.type === "select" ? (ye(), et(he(_o), {
18640
+ ])) : d.type === "select" ? (ye(), Je(he(_o), {
18641
18641
  key: 6,
18642
18642
  value: o.value[d.name],
18643
18643
  "onUpdate:value": [
@@ -18645,7 +18645,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18645
18645
  s[7] || (s[7] = (u) => a())
18646
18646
  ],
18647
18647
  options: d.data
18648
- }, null, 8, ["value", "onUpdate:value", "options"])) : d.type === "textarea" ? (ye(), et(he(ar), {
18648
+ }, null, 8, ["value", "onUpdate:value", "options"])) : d.type === "textarea" ? (ye(), Je(he(ar), {
18649
18649
  key: 7,
18650
18650
  value: o.value[d.name],
18651
18651
  "onUpdate:value": [
@@ -18654,7 +18654,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18654
18654
  ],
18655
18655
  rows: Number(d.rows),
18656
18656
  type: "textarea"
18657
- }, null, 8, ["value", "onUpdate:value", "rows"])) : (ye(), et(he(ar), {
18657
+ }, null, 8, ["value", "onUpdate:value", "rows"])) : (ye(), Je(he(ar), {
18658
18658
  key: 8,
18659
18659
  value: o.value[d.name],
18660
18660
  "onUpdate:value": [
@@ -18756,7 +18756,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18756
18756
  () => {
18757
18757
  o && clearTimeout(o), o = setTimeout(() => r("timeout"), sy);
18758
18758
  }
18759
- ), (i, a) => i.message ? (ye(), et(he(Mi), {
18759
+ ), (i, a) => i.message ? (ye(), Je(he(Mi), {
18760
18760
  key: 0,
18761
18761
  type: i.messageType,
18762
18762
  class: "m-4"
@@ -18765,7 +18765,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18765
18765
  On(pn(i.message), 1)
18766
18766
  ]),
18767
18767
  _: 1
18768
- }, 8, ["type"])) : _t("", !0);
18768
+ }, 8, ["type"])) : Tt("", !0);
18769
18769
  }
18770
18770
  }), cy = { class: "text-xs" }, uy = /* @__PURE__ */ ze("span", { class: "text-xs" }, "Galaxy is not accessible!", -1), fy = /* @__PURE__ */ se({
18771
18771
  __name: "ApiStatus",
@@ -18779,7 +18779,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18779
18779
  console.log("Unable to connect to Galaxy. Verify Galaxy is running and refer to docs."), t.value = "";
18780
18780
  }
18781
18781
  }
18782
- return n(), (r, o) => t.value ? (ye(), et(he(Ar), {
18782
+ return n(), (r, o) => t.value ? (ye(), Je(he(Ar), {
18783
18783
  key: 0,
18784
18784
  class: "mx-1",
18785
18785
  trigger: "hover"
@@ -18796,7 +18796,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18796
18796
  ze("span", cy, "Connected to Galaxy Version " + pn(t.value) + ".", 1)
18797
18797
  ]),
18798
18798
  _: 1
18799
- })) : (ye(), et(he(Ar), {
18799
+ })) : (ye(), Je(he(Ar), {
18800
18800
  key: 1,
18801
18801
  class: "mx-1",
18802
18802
  trigger: "hover"
@@ -18837,6 +18837,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18837
18837
  __name: "SidePanel",
18838
18838
  props: {
18839
18839
  datasetId: {},
18840
+ datasetUrl: {},
18840
18841
  description: {},
18841
18842
  logoUrl: {},
18842
18843
  html: {},
@@ -18886,8 +18887,11 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18886
18887
  by,
18887
18888
  Pe(fy)
18888
18889
  ]),
18889
- u.datasetId ? (ye(), Fe("div", gy, [
18890
- Pe(he(Ar), { trigger: "hover" }, {
18890
+ u.datasetUrl ? (ye(), Fe("div", gy, [
18891
+ u.datasetId ? (ye(), Je(he(Ar), {
18892
+ key: 0,
18893
+ trigger: "hover"
18894
+ }, {
18891
18895
  trigger: Ee(() => [
18892
18896
  Pe(he(Lt), {
18893
18897
  strong: "",
@@ -18911,7 +18915,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18911
18915
  my
18912
18916
  ]),
18913
18917
  _: 1
18914
- }),
18918
+ })) : Tt("", !0),
18915
18919
  Pe(he(Ar), { trigger: "hover" }, {
18916
18920
  trigger: Ee(() => [
18917
18921
  Pe(he(Lt), {
@@ -18937,7 +18941,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18937
18941
  ]),
18938
18942
  _: 1
18939
18943
  })
18940
- ])) : _t("", !0)
18944
+ ])) : Tt("", !0)
18941
18945
  ]),
18942
18946
  Pe(dy, {
18943
18947
  message: o.value,
@@ -18980,7 +18984,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
18980
18984
  "tab-class": a.value ? "!hidden" : ""
18981
18985
  }, {
18982
18986
  default: Ee(() => [
18983
- u.trackInputs.length > 0 ? (ye(), et(he(Ml), {
18987
+ u.trackInputs.length > 0 ? (ye(), Je(he(Ml), {
18984
18988
  key: 0,
18985
18989
  name: "tracks"
18986
18990
  }, {
@@ -19002,8 +19006,8 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
19002
19006
  }, null, 8, ["dataset-id", "inputs", "values-array"])
19003
19007
  ]),
19004
19008
  _: 1
19005
- })) : _t("", !0),
19006
- u.settingInputs.length > 0 ? (ye(), et(he(Ml), {
19009
+ })) : Tt("", !0),
19010
+ u.settingInputs.length > 0 ? (ye(), Je(he(Ml), {
19007
19011
  key: 1,
19008
19012
  name: "settings"
19009
19013
  }, {
@@ -19025,7 +19029,7 @@ const Qx = { class: "overflow-auto select-none" }, ey = { class: "font-bold pb-1
19025
19029
  }, null, 8, ["dataset-id", "inputs", "values"])
19026
19030
  ]),
19027
19031
  _: 1
19028
- })) : _t("", !0)
19032
+ })) : Tt("", !0)
19029
19033
  ]),
19030
19034
  _: 1
19031
19035
  }, 8, ["tab-class"])
@@ -19088,11 +19092,11 @@ const Wy = {
19088
19092
  const t = e, { root: n, visualizationConfig: r, visualizationId: o, visualizationPlugin: i, visualizationTitle: a } = Ny(
19089
19093
  t.incoming,
19090
19094
  t.container
19091
- ), l = E(!1), s = E(""), d = E(""), f = E(""), u = E(!0), p = E(""), g = E(""), h = E([]), x = E({}), w = E({}), b = E([]), k = E([]), V = E(o), $ = E(a), T = Nl();
19095
+ ), l = E(!0), s = E(""), d = E(""), f = E(""), u = E(!0), p = E(""), g = E(""), h = E([]), x = E({}), w = E({}), b = E([]), k = E([]), V = E(o), $ = E(a), T = Nl();
19092
19096
  T.setCredentials(t.credentials || "include"), T.setRoot(n || "/"), Dy(i, r).then(({ plugin: J, settings: fe, specs: le, tracks: ve }) => {
19093
19097
  s.value = J.description || "", f.value = J.html || "", u.value = !1, p.value = J.logo || "", g.value = J.name || "", h.value = J.settings || [], x.value = fe, w.value = le || {}, b.value = J.tracks || [], k.value = ve;
19094
19098
  });
19095
- const B = j(() => r.dataset_id || ""), v = j(() => r.dataset_url ? (console.debug(`GalaxyCharts: Evaluating dataset url: ${r.dataset_url}.`), r.dataset_url) : B.value ? (console.debug(`GalaxyCharts: Built dataset url from dataset id: ${B.value}.`), rc(n, B.value)) : null), S = j(() => p.value && `${n}${p.value}`), I = j(() => h.value.length === 0 && b.value.length === 0);
19099
+ const B = j(() => r.dataset_id || ""), v = j(() => r.dataset_url ? (console.debug(`GalaxyCharts: Evaluating dataset url: ${r.dataset_url}.`), r.dataset_url) : B.value ? (console.debug(`GalaxyCharts: Built dataset url from dataset id: ${B.value}.`), rc(n, B.value)) : ""), S = j(() => p.value && `${n}${p.value}`), I = j(() => h.value.length === 0 && b.value.length === 0);
19096
19100
  async function D() {
19097
19101
  l.value = !l.value, await pt(), window ? window.dispatchEvent(new Event("resize")) : console.warn("window unavailable.");
19098
19102
  }
@@ -19146,7 +19150,7 @@ const Wy = {
19146
19150
  }
19147
19151
  }
19148
19152
  return (J, fe) => (ye(), Fe(xt, null, [
19149
- d.value ? (ye(), et(he(Mi), {
19153
+ d.value ? (ye(), Je(he(Mi), {
19150
19154
  key: 0,
19151
19155
  type: "error",
19152
19156
  class: "m-2"
@@ -19155,8 +19159,8 @@ const Wy = {
19155
19159
  On(pn(d.value), 1)
19156
19160
  ]),
19157
19161
  _: 1
19158
- })) : _t("", !0),
19159
- v.value ? _t("", !0) : (ye(), et(he(Mi), {
19162
+ })) : Tt("", !0),
19163
+ v.value ? Tt("", !0) : (ye(), Je(he(Mi), {
19160
19164
  key: 1,
19161
19165
  type: "info",
19162
19166
  class: "m-2"
@@ -19184,8 +19188,8 @@ const Wy = {
19184
19188
  specs: w.value,
19185
19189
  tracks: k.value,
19186
19190
  save: Z
19187
- }) : _t("", !0),
19188
- l.value && v.value && !I.value ? (ye(), et(he(Ar), {
19191
+ }) : Tt("", !0),
19192
+ l.value && v.value && !I.value ? (ye(), Je(he(Ar), {
19189
19193
  key: 1,
19190
19194
  trigger: "hover"
19191
19195
  }, {
@@ -19212,9 +19216,10 @@ const Wy = {
19212
19216
  Uy
19213
19217
  ]),
19214
19218
  _: 1
19215
- })) : I.value ? _t("", !0) : (ye(), et(Fy, {
19219
+ })) : I.value ? Tt("", !0) : (ye(), Je(Fy, {
19216
19220
  key: 2,
19217
19221
  "dataset-id": B.value,
19222
+ "dataset-url": v.value,
19218
19223
  description: s.value,
19219
19224
  html: f.value,
19220
19225
  "logo-url": S.value,
@@ -19230,7 +19235,7 @@ const Wy = {
19230
19235
  "onUpdate:visualizationId": W,
19231
19236
  "onUpdate:visualizationTitle": Q,
19232
19237
  onToggle: D
19233
- }, null, 8, ["dataset-id", "description", "html", "logo-url", "name", "setting-inputs", "setting-values", "track-inputs", "track-values", "visualization-id", "visualization-title"]))
19238
+ }, null, 8, ["dataset-id", "dataset-url", "description", "html", "logo-url", "name", "setting-inputs", "setting-values", "track-inputs", "track-values", "visualization-id", "visualization-title"]))
19234
19239
  ], 2))
19235
19240
  ], 64));
19236
19241
  }