galaxy-charts 0.0.71 → 0.0.72

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 M, openBlock as we, createElementBlock as De, createElementVNode as ke, readonly as hi, watch as Oe, computed as N, onMounted as $t, onBeforeUnmount as Pt, inject as Ke, onActivated as Vl, onDeactivated as Wl, createTextVNode as nr, Fragment as yt, Comment as Oi, defineComponent as de, provide as kt, getCurrentInstance as Di, withDirectives as yn, toRef as Ce, h as c, Teleport as dc, nextTick as bt, renderSlot as Li, mergeProps as lr, isVNode as cc, shallowRef as uc, watchEffect as it, onBeforeMount as Hi, Transition as nn, TransitionGroup as Nl, vShow as wo, cloneVNode as jl, Text as fc, onBeforeUpdate as hc, mergeModels as ao, useModel as Vi, createBlock as et, unref as ge, createVNode as Re, createCommentVNode as _t, withCtx as Fe, renderList as Ul, normalizeClass as Gl, toDisplayString as An } from "vue";
1
+ import { ref as M, openBlock as we, createElementBlock as Oe, createElementVNode as ke, readonly as hi, watch as De, computed as N, onMounted as $t, onBeforeUnmount as Pt, inject as Ke, onActivated as Vl, onDeactivated as Wl, createTextVNode as nr, Fragment as St, Comment as Oi, defineComponent as de, provide as kt, getCurrentInstance as Di, withDirectives as yn, toRef as Ce, h as c, Teleport as dc, nextTick as bt, renderSlot as Li, mergeProps as lr, isVNode as cc, shallowRef as uc, watchEffect as it, onBeforeMount as Hi, Transition as nn, TransitionGroup as Nl, vShow as wo, cloneVNode as jl, Text as fc, onBeforeUpdate as hc, mergeModels as ao, useModel as Vi, createBlock as et, unref as ge, createVNode as Re, createCommentVNode as _t, withCtx as Fe, renderList as Ul, normalizeClass as Gl, toDisplayString as An } from "vue";
2
2
  import './galaxy-charts.css';function Kl(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;
@@ -104,7 +104,7 @@ function pc(e, t) {
104
104
  return `${e}api/datasets/${t}/display`;
105
105
  }
106
106
  const ma = ["auto"], pr = M({});
107
- function Hy() {
107
+ function Wy() {
108
108
  function e(r, o) {
109
109
  return r.every((i) => o.every((l) => typeof i[l] == "string" && i[l].trim() !== ""));
110
110
  }
@@ -145,7 +145,7 @@ function Hy() {
145
145
  };
146
146
  }
147
147
  function bc(e, t) {
148
- return we(), De("svg", {
148
+ return we(), Oe("svg", {
149
149
  xmlns: "http://www.w3.org/2000/svg",
150
150
  fill: "none",
151
151
  viewBox: "0 0 24 24",
@@ -162,7 +162,7 @@ function bc(e, t) {
162
162
  ]);
163
163
  }
164
164
  function gc(e, t) {
165
- return we(), De("svg", {
165
+ return we(), Oe("svg", {
166
166
  xmlns: "http://www.w3.org/2000/svg",
167
167
  fill: "none",
168
168
  viewBox: "0 0 24 24",
@@ -179,7 +179,7 @@ function gc(e, t) {
179
179
  ]);
180
180
  }
181
181
  function mc(e, t) {
182
- return we(), De("svg", {
182
+ return we(), Oe("svg", {
183
183
  xmlns: "http://www.w3.org/2000/svg",
184
184
  fill: "none",
185
185
  viewBox: "0 0 24 24",
@@ -196,7 +196,7 @@ function mc(e, t) {
196
196
  ]);
197
197
  }
198
198
  function xc(e, t) {
199
- return we(), De("svg", {
199
+ return we(), Oe("svg", {
200
200
  xmlns: "http://www.w3.org/2000/svg",
201
201
  fill: "none",
202
202
  viewBox: "0 0 24 24",
@@ -213,7 +213,7 @@ function xc(e, t) {
213
213
  ]);
214
214
  }
215
215
  function yc(e, t) {
216
- return we(), De("svg", {
216
+ return we(), Oe("svg", {
217
217
  xmlns: "http://www.w3.org/2000/svg",
218
218
  fill: "none",
219
219
  viewBox: "0 0 24 24",
@@ -230,7 +230,7 @@ function yc(e, t) {
230
230
  ]);
231
231
  }
232
232
  function wc(e, t) {
233
- return we(), De("svg", {
233
+ return we(), Oe("svg", {
234
234
  xmlns: "http://www.w3.org/2000/svg",
235
235
  fill: "none",
236
236
  viewBox: "0 0 24 24",
@@ -247,7 +247,7 @@ function wc(e, t) {
247
247
  ]);
248
248
  }
249
249
  function Xl(e, t) {
250
- return we(), De("svg", {
250
+ return we(), Oe("svg", {
251
251
  xmlns: "http://www.w3.org/2000/svg",
252
252
  fill: "none",
253
253
  viewBox: "0 0 24 24",
@@ -264,7 +264,7 @@ function Xl(e, t) {
264
264
  ]);
265
265
  }
266
266
  function Yl(e, t) {
267
- return we(), De("svg", {
267
+ return we(), Oe("svg", {
268
268
  xmlns: "http://www.w3.org/2000/svg",
269
269
  fill: "none",
270
270
  viewBox: "0 0 24 24",
@@ -281,7 +281,7 @@ function Yl(e, t) {
281
281
  ]);
282
282
  }
283
283
  function Cc(e, t) {
284
- return we(), De("svg", {
284
+ return we(), Oe("svg", {
285
285
  xmlns: "http://www.w3.org/2000/svg",
286
286
  fill: "none",
287
287
  viewBox: "0 0 24 24",
@@ -298,7 +298,7 @@ function Cc(e, t) {
298
298
  ]);
299
299
  }
300
300
  function Sc(e, t) {
301
- return we(), De("svg", {
301
+ return we(), Oe("svg", {
302
302
  xmlns: "http://www.w3.org/2000/svg",
303
303
  fill: "none",
304
304
  viewBox: "0 0 24 24",
@@ -660,7 +660,7 @@ const Wc = "n", lo = `.${Wc}-`, Nc = "__", jc = "--", ts = es(), ns = $c({
660
660
  ts.use(ns);
661
661
  const {
662
662
  c: V,
663
- find: Vy
663
+ find: Ny
664
664
  } = ts, {
665
665
  cB: y,
666
666
  cE: R,
@@ -916,7 +916,7 @@ function co(e, t, n) {
916
916
  return [o(0) * 255, o(8) * 255, o(4) * 255];
917
917
  }
918
918
  const Kt = "^\\s*", qt = "\\s*$", gn = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*", zt = "\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*", Rn = "([0-9A-Fa-f])", En = "([0-9A-Fa-f]{2})", as = new RegExp(`${Kt}hsl\\s*\\(${zt},${gn},${gn}\\)${qt}`), ls = new RegExp(`${Kt}hsv\\s*\\(${zt},${gn},${gn}\\)${qt}`), ss = new RegExp(`${Kt}hsla\\s*\\(${zt},${gn},${gn},${zt}\\)${qt}`), ds = new RegExp(`${Kt}hsva\\s*\\(${zt},${gn},${gn},${zt}\\)${qt}`), Xc = new RegExp(`${Kt}rgb\\s*\\(${zt},${zt},${zt}\\)${qt}`), Yc = new RegExp(`${Kt}rgba\\s*\\(${zt},${zt},${zt},${zt}\\)${qt}`), Wi = new RegExp(`${Kt}#${Rn}${Rn}${Rn}${qt}`), Ni = new RegExp(`${Kt}#${En}${En}${En}${qt}`), ji = new RegExp(`${Kt}#${Rn}${Rn}${Rn}${Rn}${qt}`), Ui = new RegExp(`${Kt}#${En}${En}${En}${En}${qt}`);
919
- function St(e) {
919
+ function Ct(e) {
920
920
  return parseInt(e, 16);
921
921
  }
922
922
  function Mn(e) {
@@ -957,7 +957,7 @@ function ct(e) {
957
957
  try {
958
958
  let t;
959
959
  if (t = Ni.exec(e))
960
- return [St(t[1]), St(t[2]), St(t[3]), 1];
960
+ return [Ct(t[1]), Ct(t[2]), Ct(t[3]), 1];
961
961
  if (t = Xc.exec(e))
962
962
  return [nt(t[1]), nt(t[5]), nt(t[9]), 1];
963
963
  if (t = Yc.exec(e))
@@ -969,24 +969,24 @@ function ct(e) {
969
969
  ];
970
970
  if (t = Wi.exec(e))
971
971
  return [
972
- St(t[1] + t[1]),
973
- St(t[2] + t[2]),
974
- St(t[3] + t[3]),
972
+ Ct(t[1] + t[1]),
973
+ Ct(t[2] + t[2]),
974
+ Ct(t[3] + t[3]),
975
975
  1
976
976
  ];
977
977
  if (t = Ui.exec(e))
978
978
  return [
979
- St(t[1]),
980
- St(t[2]),
981
- St(t[3]),
982
- tn(St(t[4]) / 255)
979
+ Ct(t[1]),
980
+ Ct(t[2]),
981
+ Ct(t[3]),
982
+ tn(Ct(t[4]) / 255)
983
983
  ];
984
984
  if (t = ji.exec(e))
985
985
  return [
986
- St(t[1] + t[1]),
987
- St(t[2] + t[2]),
988
- St(t[3] + t[3]),
989
- tn(St(t[4] + t[4]) / 255)
986
+ Ct(t[1] + t[1]),
987
+ Ct(t[2] + t[2]),
988
+ Ct(t[3] + t[3]),
989
+ tn(Ct(t[4] + t[4]) / 255)
990
990
  ];
991
991
  if (e in Ca)
992
992
  return ct(Ca[e]);
@@ -1317,14 +1317,14 @@ function iu(e) {
1317
1317
  const t = M(!!e.value);
1318
1318
  if (t.value)
1319
1319
  return hi(t);
1320
- const n = Oe(e, (r) => {
1320
+ const n = De(e, (r) => {
1321
1321
  r && (t.value = !0, n());
1322
1322
  });
1323
1323
  return hi(t);
1324
1324
  }
1325
1325
  function tt(e) {
1326
1326
  const t = N(e), n = M(t.value);
1327
- return Oe(t, (r) => {
1327
+ return De(t, (r) => {
1328
1328
  n.value = r;
1329
1329
  }), typeof e == "function" ? n : {
1330
1330
  __v_isRef: !0,
@@ -1358,7 +1358,7 @@ function us(e) {
1358
1358
  });
1359
1359
  }
1360
1360
  function Gt(e, t) {
1361
- return Oe(e, (n) => {
1361
+ return De(e, (n) => {
1362
1362
  n !== void 0 && (t.value = n);
1363
1363
  }), N(() => e.value === void 0 ? t.value : e.value);
1364
1364
  }
@@ -1382,7 +1382,7 @@ function du() {
1382
1382
  return su;
1383
1383
  }
1384
1384
  const Gi = "n-internal-select-menu", fs = "n-internal-select-menu-body", hs = "n-drawer-body", vs = "n-modal-body", ps = "n-popover-body", bs = "__disabled__";
1385
- function wt(e) {
1385
+ function yt(e) {
1386
1386
  const t = Ke(vs, null), n = Ke(hs, null), r = Ke(ps, null), o = Ke(fs, null), i = M();
1387
1387
  if (typeof document < "u") {
1388
1388
  i.value = document.fullscreenElement;
@@ -1403,8 +1403,8 @@ function wt(e) {
1403
1403
  return a !== void 0 ? a === !1 ? bs : a === !0 ? i.value || "body" : a : t != null && t.value ? (l = t.value.$el) !== null && l !== void 0 ? l : t.value : n != null && n.value ? n.value : r != null && r.value ? r.value : o != null && o.value ? o.value : a ?? (i.value || "body");
1404
1404
  });
1405
1405
  }
1406
- wt.tdkey = bs;
1407
- wt.propTo = {
1406
+ yt.tdkey = bs;
1407
+ yt.propTo = {
1408
1408
  type: [String, Object, Boolean],
1409
1409
  default: void 0
1410
1410
  };
@@ -1441,7 +1441,7 @@ function Si(e, t = !0, n = []) {
1441
1441
  Si(r, t, n);
1442
1442
  return;
1443
1443
  }
1444
- if (r.type === yt) {
1444
+ if (r.type === St) {
1445
1445
  if (r.children === null)
1446
1446
  return;
1447
1447
  Array.isArray(r.children) && Si(r.children, t, n);
@@ -2160,7 +2160,7 @@ const ku = Ht([
2160
2160
  const S = No(v), F = No(o.value), { left: L, top: Y, placement: q } = $u($, g, S, T, B, w), D = Tu(q, w), { left: U, top: H, transform: Q } = zu(q, F, g, Y, L, w);
2161
2161
  v.setAttribute("v-placement", q), v.style.setProperty("--v-offset-left", `${Math.round(L)}px`), v.style.setProperty("--v-offset-top", `${Math.round(Y)}px`), v.style.transform = `translateX(${U}) translateY(${H}) ${Q}`, v.style.setProperty("--v-transform-origin", D), v.style.transformOrigin = D;
2162
2162
  };
2163
- Oe(n, (v) => {
2163
+ De(n, (v) => {
2164
2164
  v ? (i(), d()) : l();
2165
2165
  });
2166
2166
  const d = () => {
@@ -2176,10 +2176,10 @@ const ku = Ht([
2176
2176
  "overlap",
2177
2177
  "minWidth"
2178
2178
  ].forEach((v) => {
2179
- Oe(Ce(e, v), s);
2179
+ De(Ce(e, v), s);
2180
2180
  }), ["teleportDisabled"].forEach((v) => {
2181
- Oe(Ce(e, v), d);
2182
- }), Oe(Ce(e, "syncTrigger"), (v) => {
2181
+ De(Ce(e, v), d);
2182
+ }), De(Ce(e, "syncTrigger"), (v) => {
2183
2183
  v.includes("resize") ? t.addResizeListener(s) : t.removeResizeListener(s), v.includes("scroll") ? t.addScrollListener(s) : t.removeScrollListener(s);
2184
2184
  });
2185
2185
  const f = dr(), u = tt(() => {
@@ -3176,7 +3176,7 @@ const of = de({
3176
3176
  w.code === "Escape" && a() && ((g = e.onEsc) === null || g === void 0 || g.call(e, w));
3177
3177
  }
3178
3178
  $t(() => {
3179
- Oe(() => e.active, (w) => {
3179
+ De(() => e.active, (w) => {
3180
3180
  w ? (u(), Ne("keydown", document, s)) : (Ae("keydown", document, s), o && v());
3181
3181
  }, {
3182
3182
  immediate: !0
@@ -3257,7 +3257,7 @@ const of = de({
3257
3257
  if (this.disabled)
3258
3258
  return e();
3259
3259
  const { active: t, focusableStyle: n } = this;
3260
- return c(yt, null, [
3260
+ return c(St, null, [
3261
3261
  c("div", {
3262
3262
  "aria-hidden": "true",
3263
3263
  tabindex: t ? "0" : "-1",
@@ -3366,7 +3366,7 @@ function er(e, t = !0, n = []) {
3366
3366
  er(r, t, n);
3367
3367
  return;
3368
3368
  }
3369
- if (r.type === yt) {
3369
+ if (r.type === St) {
3370
3370
  if (r.children === null) return;
3371
3371
  Array.isArray(r.children) && er(r.children, t, n);
3372
3372
  } else {
@@ -3408,7 +3408,7 @@ function _n(e, ...t) {
3408
3408
  return typeof e == "function" ? e(...t) : typeof e == "string" ? nr(e) : typeof e == "number" ? nr(String(e)) : null;
3409
3409
  }
3410
3410
  function Or(e) {
3411
- return e.some((t) => cc(t) ? !(t.type === Oi || t.type === yt && !Or(t.children)) : !0) ? e : null;
3411
+ return e.some((t) => cc(t) ? !(t.type === Oi || t.type === St && !Or(t.children)) : !0) ? e : null;
3412
3412
  }
3413
3413
  function Nt(e, t) {
3414
3414
  return e && Or(e()) || t();
@@ -6597,7 +6597,7 @@ const ud = {
6597
6597
  }), Pt(() => {
6598
6598
  B !== void 0 && window.clearTimeout(B), p !== void 0 && window.clearTimeout(p), Ae("mousemove", window, Ve, !0), Ae("mouseup", window, at, !0);
6599
6599
  });
6600
- const Ct = N(() => {
6600
+ const wt = N(() => {
6601
6601
  const {
6602
6602
  common: {
6603
6603
  cubicBezierEaseInOut: m
@@ -6628,7 +6628,7 @@ const ud = {
6628
6628
  "--n-scrollbar-rail-inset-vertical-left": o != null && o.value ? Na(vt) : vt,
6629
6629
  "--n-scrollbar-rail-color": Ot
6630
6630
  };
6631
- }), st = n ? gt("scrollbar", void 0, Ct, e) : void 0;
6631
+ }), st = n ? gt("scrollbar", void 0, wt, e) : void 0;
6632
6632
  return Object.assign(Object.assign({}, {
6633
6633
  scrollTo: Pe,
6634
6634
  scrollBy: Je,
@@ -6659,7 +6659,7 @@ const ud = {
6659
6659
  handleContainerResize: He,
6660
6660
  handleYScrollMouseDown: Ge,
6661
6661
  handleXScrollMouseDown: $e,
6662
- cssVars: n ? void 0 : Ct,
6662
+ cssVars: n ? void 0 : wt,
6663
6663
  themeClass: st == null ? void 0 : st.themeClass,
6664
6664
  onRender: st == null ? void 0 : st.onRender
6665
6665
  });
@@ -6745,7 +6745,7 @@ const ud = {
6745
6745
  }, {
6746
6746
  default: u
6747
6747
  });
6748
- return i ? c(yt, null, v, f(this.themeClass, this.cssVars)) : v;
6748
+ return i ? c(St, null, v, f(this.themeClass, this.cssVars)) : v;
6749
6749
  }
6750
6750
  }), im = la;
6751
6751
  function Cl(e) {
@@ -7806,8 +7806,8 @@ const Hm = y("base-select-menu", `
7806
7806
  G && !e.treeMate.getNode(G.key) && (f.value = null);
7807
7807
  }
7808
7808
  let b;
7809
- Oe(() => e.show, (G) => {
7810
- G ? b = Oe(() => e.treeMate, () => {
7809
+ De(() => e.show, (G) => {
7810
+ G ? b = De(() => e.treeMate, () => {
7811
7811
  e.resetMenuOnOptionsChange ? (e.autoPending ? u() : v(), bt(H)) : v();
7812
7812
  }, {
7813
7813
  immediate: !0
@@ -8292,7 +8292,7 @@ function Rt(e, t) {
8292
8292
  `, [y("popover-arrow", t)])])]);
8293
8293
  }
8294
8294
  const bd = Object.assign(Object.assign({}, Ee.props), {
8295
- to: wt.propTo,
8295
+ to: yt.propTo,
8296
8296
  show: Boolean,
8297
8297
  trigger: String,
8298
8298
  showArrow: Boolean,
@@ -8436,7 +8436,7 @@ const Gm = de({
8436
8436
  syncPosition: w
8437
8437
  }), Pt(() => {
8438
8438
  s.setBodyInstance(null);
8439
- }), Oe(Ce(e, "show"), (p) => {
8439
+ }), De(Ce(e, "show"), (p) => {
8440
8440
  e.animated || (p ? f.value = !0 : f.value = !1);
8441
8441
  });
8442
8442
  function w() {
@@ -8484,7 +8484,7 @@ const Gm = de({
8484
8484
  internalTrapFocus: q
8485
8485
  } = e, D = !tr(t.header) || !tr(t.footer), U = () => {
8486
8486
  var H, Q;
8487
- const J = D ? c(yt, null, Xe(t.header, (re) => re ? c("div", {
8487
+ const J = D ? c(St, null, Xe(t.header, (re) => re ? c("div", {
8488
8488
  class: [`${L}-popover__header`, e.headerClass],
8489
8489
  style: e.headerStyle
8490
8490
  }, re) : null), Xe(t.default, (re) => re ? c("div", {
@@ -8539,7 +8539,7 @@ const Gm = de({
8539
8539
  isMounted: s.isMountedRef,
8540
8540
  zIndex: s.zIndexRef,
8541
8541
  followerRef: a,
8542
- adjustedTo: wt(e),
8542
+ adjustedTo: yt(e),
8543
8543
  followerEnabled: f,
8544
8544
  renderContentNode: B
8545
8545
  };
@@ -8558,7 +8558,7 @@ const Gm = de({
8558
8558
  containerClass: this.namespace,
8559
8559
  overlap: this.overlap,
8560
8560
  width: this.width === "trigger" ? "target" : void 0,
8561
- teleportDisabled: this.adjustedTo === wt.tdkey
8561
+ teleportDisabled: this.adjustedTo === yt.tdkey
8562
8562
  }, {
8563
8563
  default: () => this.animated ? c(nn, {
8564
8564
  name: "popover-transition",
@@ -8651,7 +8651,7 @@ const gd = {
8651
8651
  default: !0
8652
8652
  },
8653
8653
  zIndex: Number,
8654
- to: wt.propTo,
8654
+ to: yt.propTo,
8655
8655
  scrollable: Boolean,
8656
8656
  contentClass: String,
8657
8657
  contentStyle: [Object, String],
@@ -9878,9 +9878,9 @@ const yd = {
9878
9878
  } = b;
9879
9879
  C && (C.style.display = "inline-block");
9880
9880
  }
9881
- Oe(Ce(e, "active"), (C) => {
9881
+ De(Ce(e, "active"), (C) => {
9882
9882
  C || p();
9883
- }), Oe(Ce(e, "pattern"), () => {
9883
+ }), De(Ce(e, "pattern"), () => {
9884
9884
  e.multiple && bt(B);
9885
9885
  });
9886
9886
  function F(C) {
@@ -10032,7 +10032,7 @@ const yd = {
10032
10032
  function _(C) {
10033
10033
  C || (Z(), h.value = !1);
10034
10034
  }
10035
- Oe(T, (C) => {
10035
+ De(T, (C) => {
10036
10036
  C || (h.value = !1);
10037
10037
  }), $t(() => {
10038
10038
  it(() => {
@@ -10057,7 +10057,7 @@ const yd = {
10057
10057
  textColor: Ge,
10058
10058
  paddingSingle: Ve,
10059
10059
  paddingMultiple: at,
10060
- caretColor: Ct,
10060
+ caretColor: wt,
10061
10061
  colorDisabled: st,
10062
10062
  textColorDisabled: mt,
10063
10063
  placeholderColorDisabled: m,
@@ -10111,7 +10111,7 @@ const yd = {
10111
10111
  "--n-box-shadow-active": ce,
10112
10112
  "--n-box-shadow-focus": ee,
10113
10113
  "--n-box-shadow-hover": fe,
10114
- "--n-caret-color": Ct,
10114
+ "--n-caret-color": wt,
10115
10115
  "--n-color": _e,
10116
10116
  "--n-color-active": W,
10117
10117
  "--n-color-disabled": st,
@@ -10359,7 +10359,7 @@ const yd = {
10359
10359
  class: `${a}-base-selection-tags`,
10360
10360
  tabindex: r ? void 0 : 0
10361
10361
  }, p, x);
10362
- w = c(yt, null, h ? c(md, Object.assign({}, F, {
10362
+ w = c(St, null, h ? c(md, Object.assign({}, F, {
10363
10363
  scrollable: !0,
10364
10364
  style: "max-height: calc(var(--v-target-height) * 6.6);"
10365
10365
  }), {
@@ -11383,7 +11383,7 @@ function T0(e) {
11383
11383
  function o() {
11384
11384
  t.value = null;
11385
11385
  }
11386
- return Oe(e, o), {
11386
+ return De(e, o), {
11387
11387
  recordCursor: n,
11388
11388
  restoreCursor: r
11389
11389
  };
@@ -11822,7 +11822,7 @@ const Pl = de({
11822
11822
  function at() {
11823
11823
  T.value || J.value === "click" && (le.value = !le.value);
11824
11824
  }
11825
- function Ct(P) {
11825
+ function wt(P) {
11826
11826
  if (T.value) return;
11827
11827
  P.preventDefault();
11828
11828
  const K = (je) => {
@@ -11940,13 +11940,13 @@ const Pl = de({
11940
11940
  autosize: P,
11941
11941
  type: K
11942
11942
  } = e;
11943
- P && K === "textarea" ? an = Oe(k, (xe) => {
11943
+ P && K === "textarea" ? an = De(k, (xe) => {
11944
11944
  !Array.isArray(xe) && xe !== Y && Ie(xe);
11945
11945
  }) : an == null || an();
11946
11946
  });
11947
11947
  let ln = null;
11948
11948
  it(() => {
11949
- e.type === "textarea" ? ln = Oe(k, (P) => {
11949
+ e.type === "textarea" ? ln = De(k, (P) => {
11950
11950
  var K;
11951
11951
  !Array.isArray(P) && P !== Y && ((K = h.value) === null || K === void 0 || K.syncUnifiedContainer());
11952
11952
  }) : ln == null || ln();
@@ -12134,7 +12134,7 @@ const Pl = de({
12134
12134
  handleClick: ie,
12135
12135
  handleClear: $e,
12136
12136
  handlePasswordToggleClick: at,
12137
- handlePasswordToggleMousedown: Ct,
12137
+ handlePasswordToggleMousedown: wt,
12138
12138
  handleWrapperKeydown: mt,
12139
12139
  handleWrapperKeyup: st,
12140
12140
  handleTextAreaMirrorResize: vt,
@@ -12199,7 +12199,7 @@ const Pl = de({
12199
12199
  } = this, v = {
12200
12200
  width: this.autosize && u && `${u}px`
12201
12201
  };
12202
- return c(yt, null, c("textarea", Object.assign({}, this.inputProps, {
12202
+ return c(St, null, c("textarea", Object.assign({}, this.inputProps, {
12203
12203
  ref: "textareaElRef",
12204
12204
  class: [`${n}-input__textarea-el`, (d = this.inputProps) === null || d === void 0 ? void 0 : d.class],
12205
12205
  autofocus: this.autofocus,
@@ -14317,7 +14317,7 @@ const tx = de({
14317
14317
  type: String,
14318
14318
  default: "bottom-start"
14319
14319
  },
14320
- to: wt.propTo,
14320
+ to: yt.propTo,
14321
14321
  showAlpha: {
14322
14322
  type: Boolean,
14323
14323
  default: !0
@@ -14572,7 +14572,7 @@ const tx = de({
14572
14572
  } = k;
14573
14573
  return A.length > 1 && I.value < A.length - 1;
14574
14574
  });
14575
- Oe(b, (A) => {
14575
+ De(b, (A) => {
14576
14576
  A || (k.value = [g.value], I.value = 0);
14577
14577
  }), it(() => {
14578
14578
  if (!(r && r === g.value)) {
@@ -14733,7 +14733,7 @@ const tx = de({
14733
14733
  mergedShow: b,
14734
14734
  mergedDisabled: l,
14735
14735
  isMounted: dr(),
14736
- adjustedTo: wt(e),
14736
+ adjustedTo: yt(e),
14737
14737
  mergedValue: g,
14738
14738
  handleTriggerClick() {
14739
14739
  h(!0);
@@ -14773,7 +14773,7 @@ const tx = de({
14773
14773
  placement: this.placement,
14774
14774
  show: this.mergedShow,
14775
14775
  containerClass: this.namespace,
14776
- teleportDisabled: this.adjustedTo === wt.tdkey,
14776
+ teleportDisabled: this.adjustedTo === yt.tdkey,
14777
14777
  to: this.adjustedTo
14778
14778
  }, {
14779
14779
  default: () => c(nn, {
@@ -14816,7 +14816,7 @@ const hx = {
14816
14816
  `, [Br({
14817
14817
  originalTransition: "background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"
14818
14818
  })])]), px = Object.assign(Object.assign({}, Ee.props), {
14819
- to: wt.propTo,
14819
+ to: yt.propTo,
14820
14820
  bordered: {
14821
14821
  type: Boolean,
14822
14822
  default: void 0
@@ -15310,8 +15310,8 @@ const hx = {
15310
15310
  var m;
15311
15311
  $.value && ((m = B.value) === null || m === void 0 || m.syncPosition());
15312
15312
  }
15313
- se(), Oe(Ce(e, "options"), se);
15314
- const Ct = {
15313
+ se(), De(Ce(e, "options"), se);
15314
+ const wt = {
15315
15315
  focus: () => {
15316
15316
  var m;
15317
15317
  (m = T.value) === null || m === void 0 || m.focus();
@@ -15338,7 +15338,7 @@ const hx = {
15338
15338
  "--n-menu-box-shadow": m
15339
15339
  };
15340
15340
  }), mt = o ? gt("select", void 0, st, e) : void 0;
15341
- return Object.assign(Object.assign({}, Ct), {
15341
+ return Object.assign(Object.assign({}, wt), {
15342
15342
  mergedStatus: ae,
15343
15343
  mergedClsPrefix: t,
15344
15344
  mergedBordered: n,
@@ -15350,7 +15350,7 @@ const hx = {
15350
15350
  pattern: f,
15351
15351
  uncontrolledShow: I,
15352
15352
  mergedShow: $,
15353
- adjustedTo: wt(e),
15353
+ adjustedTo: yt(e),
15354
15354
  uncontrolledValue: l,
15355
15355
  mergedValue: s,
15356
15356
  followerRef: B,
@@ -15441,7 +15441,7 @@ const hx = {
15441
15441
  ref: "followerRef",
15442
15442
  show: this.mergedShow,
15443
15443
  to: this.adjustedTo,
15444
- teleportDisabled: this.adjustedTo === wt.tdkey,
15444
+ teleportDisabled: this.adjustedTo === yt.tdkey,
15445
15445
  containerClass: this.namespace,
15446
15446
  width: this.consistentMenuWidth ? "target" : void 0,
15447
15447
  minWidth: "target",
@@ -16320,7 +16320,7 @@ const Ml = 800, Fl = 100, Dx = Object.assign(Object.assign({}, Ee.props), {
16320
16320
  fixPrecision: !1
16321
16321
  });
16322
16322
  }
16323
- Oe(x, () => {
16323
+ De(x, () => {
16324
16324
  p();
16325
16325
  });
16326
16326
  const rt = {
@@ -16646,7 +16646,7 @@ function Il() {
16646
16646
  }), [e, t];
16647
16647
  }
16648
16648
  const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
16649
- to: wt.propTo,
16649
+ to: yt.propTo,
16650
16650
  defaultValue: {
16651
16651
  type: [Number, Array],
16652
16652
  default: 0
@@ -16834,8 +16834,8 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
16834
16834
  } = b;
16835
16835
  let Ge;
16836
16836
  if (ie) {
16837
- const Ve = Number((C / _e).toFixed(Qe)), at = Math.floor(Ve), Ct = Ve > at ? at : at - 1, st = Ve < at ? at : at + 1;
16838
- Ge = se(C, [Number((Ct * _e).toFixed(Qe)), Number((st * _e).toFixed(Qe)), ...$e], E);
16837
+ const Ve = Number((C / _e).toFixed(Qe)), at = Math.floor(Ve), wt = Ve > at ? at : at - 1, st = Ve < at ? at : at + 1;
16838
+ Ge = se(C, [Number((wt * _e).toFixed(Qe)), Number((st * _e).toFixed(Qe)), ...$e], E);
16839
16839
  } else {
16840
16840
  const Ve = ze(z);
16841
16841
  Ge = se(z, [...$e, Ve]);
@@ -16963,7 +16963,7 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
16963
16963
  function A(z) {
16964
16964
  p.value === z && (p.value = -1);
16965
16965
  }
16966
- Oe(T, (z, C) => void bt(() => B.value = C)), Oe(w, () => {
16966
+ De(T, (z, C) => void bt(() => B.value = C)), De(w, () => {
16967
16967
  if (e.marks) {
16968
16968
  if (F.value) return;
16969
16969
  F.value = !0, bt(() => {
@@ -16987,7 +16987,7 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
16987
16987
  dotColor: Ge,
16988
16988
  dotColorModal: Ve,
16989
16989
  handleBoxShadow: at,
16990
- handleBoxShadowHover: Ct,
16990
+ handleBoxShadowHover: wt,
16991
16991
  handleBoxShadowActive: st,
16992
16992
  handleBoxShadowFocus: mt,
16993
16993
  dotBorder: m,
@@ -17023,7 +17023,7 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
17023
17023
  "--n-handle-box-shadow": at,
17024
17024
  "--n-handle-box-shadow-active": st,
17025
17025
  "--n-handle-box-shadow-focus": mt,
17026
- "--n-handle-box-shadow-hover": Ct,
17026
+ "--n-handle-box-shadow-hover": wt,
17027
17027
  "--n-handle-color": _e,
17028
17028
  "--n-handle-size": fe,
17029
17029
  "--n-opacity-disabled": Qe,
@@ -17059,7 +17059,7 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
17059
17059
  mergedDisabled: v,
17060
17060
  mergedPlacement: I,
17061
17061
  isMounted: dr(),
17062
- adjustedTo: wt(e),
17062
+ adjustedTo: yt(e),
17063
17063
  dotTransitionDisabled: F,
17064
17064
  markInfos: q,
17065
17065
  isShowTooltip: U,
@@ -17156,7 +17156,7 @@ const Vx = 0, Wx = Object.assign(Object.assign({}, Ee.props), {
17156
17156
  show: l,
17157
17157
  to: this.adjustedTo,
17158
17158
  enabled: this.showTooltip && !this.range || this.followerEnabledIndexSet.has(i),
17159
- teleportDisabled: this.adjustedTo === wt.tdkey,
17159
+ teleportDisabled: this.adjustedTo === yt.tdkey,
17160
17160
  placement: this.mergedPlacement,
17161
17161
  containerClass: this.namespace
17162
17162
  }, {
@@ -17663,7 +17663,7 @@ const zd = de({
17663
17663
  style: e ? this.addStyle : this.style
17664
17664
  }, this.internalCreatedByPane ? this.tabProps || {} : this.$attrs)), c("span", {
17665
17665
  class: `${t}-tabs-tab__label`
17666
- }, e ? c(yt, null, c("div", {
17666
+ }, e ? c(St, null, c("div", {
17667
17667
  class: `${t}-tabs-tab__height-placeholder`
17668
17668
  }, " "), c(It, {
17669
17669
  clsPrefix: t
@@ -18100,7 +18100,7 @@ const zd = de({
18100
18100
  justifyContent: e.justifyContent
18101
18101
  };
18102
18102
  });
18103
- Oe($, () => {
18103
+ De($, () => {
18104
18104
  T.id = 0, Y(), q();
18105
18105
  });
18106
18106
  function p() {
@@ -18269,7 +18269,7 @@ const zd = de({
18269
18269
  const X = p();
18270
18270
  X && ze.value && (ze.value.style.width = `${X.offsetWidth}px`, ze.value.style.height = `${X.offsetHeight}px`, ze.value.style.transform = `translateX(${X.offsetLeft - xt(getComputedStyle(O).paddingLeft)}px)`, _ && ze.value.offsetWidth), _ && O.classList.remove("transition-disabled");
18271
18271
  }
18272
- Oe([$], () => {
18272
+ De([$], () => {
18273
18273
  e.type === "segment" && bt(() => {
18274
18274
  se({
18275
18275
  transitionDisabled: !1
@@ -18297,7 +18297,7 @@ const zd = de({
18297
18297
  }
18298
18298
  }
18299
18299
  const ue = ni(Pe, 64);
18300
- Oe([() => e.justifyContent, () => e.size], () => {
18300
+ De([() => e.justifyContent, () => e.size], () => {
18301
18301
  bt(() => {
18302
18302
  const {
18303
18303
  type: _
@@ -18426,7 +18426,7 @@ const zd = de({
18426
18426
  paneTextColor: Ge,
18427
18427
  tabFontWeight: Ve,
18428
18428
  tabBorderRadius: at,
18429
- tabFontWeightActive: Ct,
18429
+ tabFontWeightActive: wt,
18430
18430
  colorSegment: st,
18431
18431
  fontWeightStrong: mt,
18432
18432
  tabColorSegment: m,
@@ -18472,7 +18472,7 @@ const zd = de({
18472
18472
  "--n-close-icon-color-pressed": $e,
18473
18473
  "--n-tab-color": _e,
18474
18474
  "--n-tab-font-weight": Ve,
18475
- "--n-tab-font-weight-active": Ct,
18475
+ "--n-tab-font-weight-active": wt,
18476
18476
  "--n-tab-padding": Se,
18477
18477
  "--n-tab-padding-vertical": Ie,
18478
18478
  "--n-tab-gap": vt,
@@ -18795,17 +18795,17 @@ const ty = {
18795
18795
  }
18796
18796
  r("update:value", x);
18797
18797
  }
18798
- return Oe(
18798
+ return De(
18799
18799
  () => l.value,
18800
18800
  () => {
18801
18801
  a.value = v();
18802
18802
  }
18803
- ), Oe(
18803
+ ), De(
18804
18804
  () => a.value,
18805
18805
  () => {
18806
18806
  b();
18807
18807
  }
18808
- ), (h, x) => (we(), De(yt, null, [
18808
+ ), (h, x) => (we(), Oe(St, null, [
18809
18809
  o.value.type === "boolean" ? (we(), et(ge(zd), {
18810
18810
  key: 0,
18811
18811
  value: u.value,
@@ -18816,7 +18816,7 @@ const ty = {
18816
18816
  "onUpdate:value": x[1] || (x[1] = (w) => a.value = w),
18817
18817
  options: o.value.data
18818
18818
  }, null, 8, ["value", "options"])),
18819
- f.value ? (we(), De("div", ty, [
18819
+ f.value ? (we(), Oe("div", ty, [
18820
18820
  Re(va, {
18821
18821
  "dataset-id": h.datasetId,
18822
18822
  inputs: f.value,
@@ -18837,10 +18837,10 @@ function Ed() {
18837
18837
  getDataset: e
18838
18838
  };
18839
18839
  }
18840
- const ry = {
18840
+ const ry = { key: 0 }, oy = {
18841
18841
  key: 0,
18842
18842
  class: "text-red-600 mb-1"
18843
- }, oy = 100, iy = /* @__PURE__ */ de({
18843
+ }, iy = { key: 1 }, ay = 100, ly = /* @__PURE__ */ de({
18844
18844
  __name: "InputData",
18845
18845
  props: /* @__PURE__ */ ao({
18846
18846
  datasetId: {},
@@ -18858,7 +18858,7 @@ const ry = {
18858
18858
  i.value = !0;
18859
18859
  try {
18860
18860
  const { data: v } = await t(n.datasetId), b = v.history_id, h = "v=dev&order=hid&q=deleted&qv=false&q=visible&qv=true&", x = n.extension ? `q=extension-eq&qv=${n.extension}&` : "", w = u ? `q=name-contains&qv=${u}&` : "", { data: g } = await sr().GET(
18861
- `/api/histories/${b}/contents?${h}${x}${w}limit=${oy}`
18861
+ `/api/histories/${b}/contents?${h}${x}${w}limit=${ay}`
18862
18862
  );
18863
18863
  if (g && g.length > 0) {
18864
18864
  const k = g.map((I) => ({
@@ -18905,15 +18905,15 @@ const ry = {
18905
18905
  u.label
18906
18906
  );
18907
18907
  }
18908
- return Oe(
18908
+ return De(
18909
18909
  () => o.value,
18910
18910
  () => {
18911
18911
  var u;
18912
18912
  l.value = ((u = o.value) == null ? void 0 : u.name) || null;
18913
18913
  },
18914
18914
  { immediate: !0 }
18915
- ), a(), (u, v) => (we(), De(yt, null, [
18916
- !u.optional && !o.value ? (we(), De("div", ry, [
18915
+ ), a(), (u, v) => u.datasetId ? (we(), Oe("div", ry, [
18916
+ !u.optional && !o.value ? (we(), Oe("div", oy, [
18917
18917
  Re(ge(Bt), { class: "size-3 mr-1" }, {
18918
18918
  default: Fe(() => [
18919
18919
  Re(ge(Xl))
@@ -18936,10 +18936,10 @@ const ry = {
18936
18936
  options: r.value,
18937
18937
  onSearch: a
18938
18938
  }, null, 8, ["value", "loading", "options"])
18939
- ], 64));
18939
+ ])) : (we(), Oe("div", iy, "Selection deferred."));
18940
18940
  }
18941
18941
  });
18942
- function ay(e, t, n, r) {
18942
+ function sy(e, t, n, r) {
18943
18943
  const o = [];
18944
18944
  t && o.push({ label: "Column: Default", value: "auto" });
18945
18945
  const i = e.metadata_column_types;
@@ -18947,7 +18947,7 @@ function ay(e, t, n, r) {
18947
18947
  (r && ["int", "float"].includes(i[l]) || n && i[l] === "str" || !r && !n) && o.push({ label: "Column: " + (parseInt(l) + 1), value: l });
18948
18948
  return o;
18949
18949
  }
18950
- const ly = /* @__PURE__ */ de({
18950
+ const dy = /* @__PURE__ */ de({
18951
18951
  __name: "InputDataColumn",
18952
18952
  props: /* @__PURE__ */ ao({
18953
18953
  datasetId: {},
@@ -18964,7 +18964,7 @@ const ly = /* @__PURE__ */ de({
18964
18964
  async function i() {
18965
18965
  if (n.datasetId)
18966
18966
  try {
18967
- const { data: a } = await t(n.datasetId), s = ay(a, n.isAuto, n.isText, n.isNumber);
18967
+ const { data: a } = await t(n.datasetId), s = sy(a, n.isAuto, n.isText, n.isNumber);
18968
18968
  r.value = s, l();
18969
18969
  } catch (a) {
18970
18970
  console.debug(a);
@@ -18975,7 +18975,7 @@ const ly = /* @__PURE__ */ de({
18975
18975
  function l() {
18976
18976
  r.value.length > 0 && o.value === null && (o.value = r.value[0].value);
18977
18977
  }
18978
- return i(), Oe(
18978
+ return i(), De(
18979
18979
  () => o.value,
18980
18980
  () => l()
18981
18981
  ), (a, s) => a.datasetId ? (we(), et(ge(Bo), {
@@ -18989,10 +18989,10 @@ const ly = /* @__PURE__ */ de({
18989
18989
  "onUpdate:value": s[1] || (s[1] = (d) => o.value = d)
18990
18990
  }, null, 8, ["value"]));
18991
18991
  }
18992
- }), sy = { class: "select-none" }, dy = { class: "font-bold mb-1" }, cy = {
18992
+ }), cy = { class: "select-none" }, uy = { class: "font-bold mb-1" }, fy = {
18993
18993
  key: 0,
18994
18994
  class: "text-xs mb-1"
18995
- }, uy = { key: 5 }, Hl = 0.01, va = /* @__PURE__ */ de({
18995
+ }, hy = { key: 5 }, Hl = 0.01, va = /* @__PURE__ */ de({
18996
18996
  __name: "InputForm",
18997
18997
  props: {
18998
18998
  datasetId: {},
@@ -19011,18 +19011,18 @@ const ly = /* @__PURE__ */ de({
19011
19011
  function l() {
19012
19012
  r("update:values", o.value);
19013
19013
  }
19014
- return Oe(
19014
+ return De(
19015
19015
  () => n.values,
19016
19016
  () => {
19017
19017
  o.value = i();
19018
19018
  }
19019
- ), (a, s) => (we(), De("div", sy, [
19020
- (we(!0), De(yt, null, Ul(a.inputs, (d, f) => (we(), De("div", {
19019
+ ), (a, s) => (we(), Oe("div", cy, [
19020
+ (we(!0), Oe(St, null, Ul(a.inputs, (d, f) => (we(), Oe("div", {
19021
19021
  key: f,
19022
19022
  class: Gl(f < a.inputs.length - 1 ? "pb-2" : "")
19023
19023
  }, [
19024
- ke("div", dy, An(d.label || d.name), 1),
19025
- d.help ? (we(), De("div", cy, An(d.help), 1)) : _t("", !0),
19024
+ ke("div", uy, An(d.label || d.name), 1),
19025
+ d.help ? (we(), Oe("div", fy, An(d.help), 1)) : _t("", !0),
19026
19026
  ke("div", null, [
19027
19027
  d.type === "boolean" ? (we(), et(ge(zd), {
19028
19028
  key: 0,
@@ -19040,14 +19040,14 @@ const ly = /* @__PURE__ */ de({
19040
19040
  "onUpdate:value": [(u) => o.value[d.name] = u, l],
19041
19041
  "dataset-id": a.datasetId,
19042
19042
  input: d
19043
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : d.type === "data" ? (we(), et(iy, {
19043
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : d.type === "data" ? (we(), et(ly, {
19044
19044
  key: 3,
19045
19045
  value: o.value[d.name],
19046
19046
  "onUpdate:value": [(u) => o.value[d.name] = u, l],
19047
19047
  "dataset-id": a.datasetId,
19048
19048
  extension: d.extension,
19049
19049
  optional: ge(Cr)(d.optional)
19050
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "extension", "optional"])) : d.type === "data_column" ? (we(), et(ly, {
19050
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "extension", "optional"])) : d.type === "data_column" ? (we(), et(dy, {
19051
19051
  key: 4,
19052
19052
  value: o.value[d.name],
19053
19053
  "onUpdate:value": [(u) => o.value[d.name] = u, l],
@@ -19055,7 +19055,7 @@ const ly = /* @__PURE__ */ de({
19055
19055
  "is-auto": ge(Cr)(d.is_auto),
19056
19056
  "is-text": ge(Cr)(d.is_text),
19057
19057
  "is-number": ge(Cr)(d.is_number)
19058
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "is-auto", "is-text", "is-number"])) : ["float", "integer"].includes(d.type) ? (we(), De("div", uy, [
19058
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "is-auto", "is-text", "is-number"])) : ["float", "integer"].includes(d.type) ? (we(), Oe("div", hy, [
19059
19059
  d.min !== void 0 && d.max !== void 0 ? (we(), et(ge(Nx), {
19060
19060
  key: 0,
19061
19061
  class: "mb-2",
@@ -19096,7 +19096,7 @@ const ly = /* @__PURE__ */ de({
19096
19096
  ], 2))), 128))
19097
19097
  ]));
19098
19098
  }
19099
- }), fy = { class: "border border-dotted border-green-600 rounded p-2" }, hy = { class: "mx-1" }, vy = /* @__PURE__ */ de({
19099
+ }), vy = { class: "border border-dotted border-green-600 rounded p-2" }, py = { class: "mx-1" }, by = /* @__PURE__ */ de({
19100
19100
  __name: "InputRepeats",
19101
19101
  props: {
19102
19102
  datasetId: {},
@@ -19118,7 +19118,7 @@ const ly = /* @__PURE__ */ de({
19118
19118
  const f = [...n.valuesArray];
19119
19119
  f[s] = { ...d }, r("update:values-array", f);
19120
19120
  }
19121
- return (s, d) => (we(), De(yt, null, [
19121
+ return (s, d) => (we(), Oe(St, null, [
19122
19122
  Re(ge(Vt), {
19123
19123
  size: "tiny",
19124
19124
  type: "primary",
@@ -19135,11 +19135,11 @@ const ly = /* @__PURE__ */ de({
19135
19135
  ]),
19136
19136
  _: 1
19137
19137
  }),
19138
- (we(!0), De(yt, null, Ul(s.valuesArray, (f, u) => (we(), De("div", {
19138
+ (we(!0), Oe(St, null, Ul(s.valuesArray, (f, u) => (we(), Oe("div", {
19139
19139
  key: u,
19140
19140
  class: "py-2"
19141
19141
  }, [
19142
- ke("div", fy, [
19142
+ ke("div", vy, [
19143
19143
  Re(va, {
19144
19144
  "dataset-id": s.datasetId,
19145
19145
  inputs: s.inputs,
@@ -19161,7 +19161,7 @@ const ly = /* @__PURE__ */ de({
19161
19161
  ]),
19162
19162
  _: 1
19163
19163
  }),
19164
- ke("span", hy, "Remove Track " + An(s.valuesArray.length - u), 1)
19164
+ ke("span", py, "Remove Track " + An(s.valuesArray.length - u), 1)
19165
19165
  ]),
19166
19166
  _: 2
19167
19167
  }, 1032, ["disabled", "onClick"])
@@ -19169,7 +19169,7 @@ const ly = /* @__PURE__ */ de({
19169
19169
  ]))), 128))
19170
19170
  ], 64));
19171
19171
  }
19172
- }), py = 2e3, by = /* @__PURE__ */ de({
19172
+ }), gy = 2e3, my = /* @__PURE__ */ de({
19173
19173
  __name: "AlertNotify",
19174
19174
  props: {
19175
19175
  message: {},
@@ -19179,10 +19179,10 @@ const ly = /* @__PURE__ */ de({
19179
19179
  setup(e, { emit: t }) {
19180
19180
  const n = e, r = t;
19181
19181
  let o = null;
19182
- return Oe(
19182
+ return De(
19183
19183
  () => n.message,
19184
19184
  () => {
19185
- o && clearTimeout(o), o = setTimeout(() => r("timeout"), py);
19185
+ o && clearTimeout(o), o = setTimeout(() => r("timeout"), gy);
19186
19186
  }
19187
19187
  ), (i, l) => i.message ? (we(), et(ge(wd), {
19188
19188
  key: 0,
@@ -19194,7 +19194,7 @@ const ly = /* @__PURE__ */ de({
19194
19194
  _: 1
19195
19195
  }, 8, ["type"])) : _t("", !0);
19196
19196
  }
19197
- }), gy = { class: "text-xs" }, my = /* @__PURE__ */ de({
19197
+ }), xy = { class: "text-xs" }, yy = /* @__PURE__ */ de({
19198
19198
  __name: "ApiStatus",
19199
19199
  setup(e) {
19200
19200
  const t = M("...");
@@ -19221,7 +19221,7 @@ const ly = /* @__PURE__ */ de({
19221
19221
  })
19222
19222
  ]),
19223
19223
  default: Fe(() => [
19224
- ke("span", gy, "Connected to Galaxy Version " + An(t.value) + ".", 1)
19224
+ ke("span", xy, "Connected to Galaxy Version " + An(t.value) + ".", 1)
19225
19225
  ]),
19226
19226
  _: 1
19227
19227
  })) : (we(), et(ge(Ar), {
@@ -19244,19 +19244,19 @@ const ly = /* @__PURE__ */ de({
19244
19244
  _: 1
19245
19245
  }));
19246
19246
  }
19247
- }), xy = (e, t) => {
19247
+ }), wy = (e, t) => {
19248
19248
  const n = e.__vccOpts || e;
19249
19249
  for (const [r, o] of t)
19250
19250
  n[r] = o;
19251
19251
  return n;
19252
- }, yy = {}, wy = {
19252
+ }, Cy = {}, Sy = {
19253
19253
  xmlns: "http://www.w3.org/2000/svg",
19254
19254
  fill: "none",
19255
19255
  viewBox: "0 0 100 100",
19256
19256
  class: "size-14"
19257
19257
  };
19258
- function Cy(e, t) {
19259
- return we(), De("svg", wy, t[0] || (t[0] = [
19258
+ function $y(e, t) {
19259
+ return we(), Oe("svg", Sy, t[0] || (t[0] = [
19260
19260
  ke("circle", {
19261
19261
  cx: "50",
19262
19262
  cy: "50",
@@ -19270,10 +19270,10 @@ function Cy(e, t) {
19270
19270
  }, null, -1)
19271
19271
  ]));
19272
19272
  }
19273
- const Sy = /* @__PURE__ */ xy(yy, [["render", Cy]]), $y = { class: "overflow-auto select-none bg-white z-10 p-2" }, Ty = {
19273
+ const Ty = /* @__PURE__ */ wy(Cy, [["render", $y]]), zy = { class: "overflow-auto select-none bg-white z-10 p-2" }, ky = {
19274
19274
  key: 0,
19275
19275
  class: "flex"
19276
- }, zy = { class: "flex-1 font-thin text-lg mt-1" }, ky = { class: "bg-sky-50 text-sky-900 rounded my-2 p-2" }, Py = { class: "flex" }, Ry = { class: "flex justify-center center-items" }, Ey = { class: "m-2" }, _y = ["src"], My = { class: "overflow-hidden break-words p-1" }, Fy = { class: "font-bold" }, By = ["innerHTML"], Iy = /* @__PURE__ */ de({
19276
+ }, Py = { class: "flex-1 font-thin text-lg mt-1" }, Ry = { class: "bg-sky-50 text-sky-900 rounded my-2 p-2" }, Ey = { class: "flex" }, _y = { class: "flex justify-center center-items" }, My = { class: "m-2" }, Fy = ["src"], By = { class: "overflow-hidden break-words p-1" }, Iy = { class: "font-bold" }, Ay = ["innerHTML"], Oy = /* @__PURE__ */ de({
19277
19277
  __name: "SidePanel",
19278
19278
  props: {
19279
19279
  datasetId: {},
@@ -19321,11 +19321,11 @@ const Sy = /* @__PURE__ */ xy(yy, [["render", Cy]]), $y = { class: "overflow-aut
19321
19321
  function f(u) {
19322
19322
  r("update:visualization-title", u);
19323
19323
  }
19324
- return (u, v) => (we(), De("div", $y, [
19325
- u.datasetUrl ? (we(), De("div", Ty, [
19326
- ke("div", zy, [
19324
+ return (u, v) => (we(), Oe("div", zy, [
19325
+ u.datasetUrl ? (we(), Oe("div", ky, [
19326
+ ke("div", Py, [
19327
19327
  v[2] || (v[2] = ke("span", null, "Charts", -1)),
19328
- Re(my)
19328
+ Re(yy)
19329
19329
  ]),
19330
19330
  ke("div", null, [
19331
19331
  u.datasetId ? (we(), et(ge(Ar), {
@@ -19388,29 +19388,29 @@ const Sy = /* @__PURE__ */ xy(yy, [["render", Cy]]), $y = { class: "overflow-aut
19388
19388
  })
19389
19389
  ])
19390
19390
  ])) : _t("", !0),
19391
- Re(by, {
19391
+ Re(my, {
19392
19392
  message: o.value,
19393
19393
  "message-type": i.value,
19394
19394
  onTimeout: v[1] || (v[1] = (b) => o.value = ""),
19395
19395
  class: "mt-2"
19396
19396
  }, null, 8, ["message", "message-type"]),
19397
- ke("div", ky, [
19398
- ke("div", Py, [
19399
- ke("div", Ry, [
19400
- ke("div", Ey, [
19401
- n.logoUrl ? (we(), De("img", {
19397
+ ke("div", Ry, [
19398
+ ke("div", Ey, [
19399
+ ke("div", _y, [
19400
+ ke("div", My, [
19401
+ n.logoUrl ? (we(), Oe("img", {
19402
19402
  key: 0,
19403
19403
  src: n.logoUrl,
19404
19404
  class: "min-w-14 max-w-14 object-contain"
19405
- }, null, 8, _y)) : (we(), et(Sy, { key: 1 }))
19405
+ }, null, 8, Fy)) : (we(), et(Ty, { key: 1 }))
19406
19406
  ])
19407
19407
  ]),
19408
- ke("div", My, [
19409
- ke("span", Fy, An(u.html), 1),
19408
+ ke("div", By, [
19409
+ ke("span", Iy, An(u.html), 1),
19410
19410
  ke("div", {
19411
19411
  class: "text-xs",
19412
19412
  innerHTML: u.description
19413
- }, null, 8, By)
19413
+ }, null, 8, Ay)
19414
19414
  ])
19415
19415
  ])
19416
19416
  ]),
@@ -19444,7 +19444,7 @@ const Sy = /* @__PURE__ */ xy(yy, [["render", Cy]]), $y = { class: "overflow-aut
19444
19444
  v[7] || (v[7] = ke("span", { class: "mx-1" }, "Tracks", -1))
19445
19445
  ]),
19446
19446
  default: Fe(() => [
19447
- Re(vy, {
19447
+ Re(by, {
19448
19448
  "dataset-id": u.datasetId,
19449
19449
  inputs: u.trackInputs,
19450
19450
  "values-array": u.trackValues,
@@ -19482,7 +19482,7 @@ const Sy = /* @__PURE__ */ xy(yy, [["render", Cy]]), $y = { class: "overflow-aut
19482
19482
  ]));
19483
19483
  }
19484
19484
  });
19485
- function Ay(e, t = "app") {
19485
+ function Dy(e, t = "app") {
19486
19486
  if (e === void 0) {
19487
19487
  const a = document.getElementById(t);
19488
19488
  if (a)
@@ -19493,13 +19493,13 @@ function Ay(e, t = "app") {
19493
19493
  const n = (e == null ? void 0 : e.root) ?? "/", r = (e == null ? void 0 : e.visualization_config) ?? {}, o = (e == null ? void 0 : e.visualization_id) ?? null, i = (e == null ? void 0 : e.visualization_plugin) ?? {}, l = (e == null ? void 0 : e.visualization_title) ?? "Unnamed Visualization";
19494
19494
  return { root: n, visualizationConfig: r, visualizationId: o, visualizationPlugin: i, visualizationTitle: l };
19495
19495
  }
19496
- const Oy = {
19496
+ const Ly = {
19497
19497
  key: 1,
19498
19498
  class: "m-2"
19499
- }, Dy = {
19499
+ }, Hy = {
19500
19500
  key: 0,
19501
19501
  class: "relative max-w-full h-screen overflow-hidden"
19502
- }, Wy = /* @__PURE__ */ de({
19502
+ }, jy = /* @__PURE__ */ de({
19503
19503
  __name: "GalaxyCharts",
19504
19504
  props: {
19505
19505
  container: {},
@@ -19507,14 +19507,14 @@ const Oy = {
19507
19507
  incoming: {}
19508
19508
  },
19509
19509
  setup(e) {
19510
- const t = e, { root: n, visualizationConfig: r, visualizationId: o, visualizationPlugin: i, visualizationTitle: l } = Ay(
19510
+ const t = e, { root: n, visualizationConfig: r, visualizationId: o, visualizationPlugin: i, visualizationTitle: l } = Dy(
19511
19511
  t.incoming,
19512
19512
  t.container
19513
19513
  ), a = M(!0), s = M(""), d = M(""), f = M(""), u = M(!0), v = M(""), b = M(""), h = M([]), x = M({}), w = M({}), g = M([]), k = M([]), I = M(o), $ = M(l), T = ql();
19514
19514
  T.setCredentials(t.credentials || "include"), T.setRoot(n || "/"), Zx(i, r).then(({ plugin: ae, settings: re, specs: he, tracks: G }) => {
19515
19515
  s.value = ae.description || "", f.value = ae.html || "", u.value = !1, v.value = ae.logo || "", b.value = ae.name || "", h.value = ae.settings || [], x.value = re, w.value = he || {}, g.value = ae.tracks || [], k.value = G;
19516
19516
  });
19517
- const B = N(() => r.dataset_id || ""), p = N(() => 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}.`), pc(n, B.value)) : ""), S = N(() => v.value && `${n}${v.value}`), F = N(() => h.value.length === 0 && g.value.length === 0);
19517
+ const B = N(() => r.dataset_id || ""), p = N(() => B.value ? (console.debug(`GalaxyCharts: Built dataset url from dataset id: ${B.value}.`), pc(n, B.value)) : ""), S = N(() => v.value && `${n}${v.value}`), F = N(() => h.value.length === 0 && g.value.length === 0);
19518
19518
  async function L() {
19519
19519
  a.value = !a.value, await bt(), window ? window.dispatchEvent(new Event("resize")) : console.warn("window unavailable.");
19520
19520
  }
@@ -19537,7 +19537,6 @@ const Oy = {
19537
19537
  function q() {
19538
19538
  return {
19539
19539
  dataset_id: B.value,
19540
- dataset_url: p.value,
19541
19540
  settings: x.value,
19542
19541
  tracks: k.value
19543
19542
  };
@@ -19571,7 +19570,7 @@ const Oy = {
19571
19570
  function le(ae) {
19572
19571
  D({ ...x.value, ...ae });
19573
19572
  }
19574
- return (ae, re) => (we(), De(yt, null, [
19573
+ return (ae, re) => (we(), Oe(St, null, [
19575
19574
  d.value ? (we(), et(ge(wd), {
19576
19575
  key: 0,
19577
19576
  type: "error",
@@ -19582,16 +19581,16 @@ const Oy = {
19582
19581
  ]),
19583
19582
  _: 1
19584
19583
  })) : _t("", !0),
19585
- u.value ? (we(), De("div", Oy, [
19584
+ u.value ? (we(), Oe("div", Ly, [
19586
19585
  ke("span", null, [
19587
19586
  Re(ge(gc), { class: "animate-spin size-4 inline mx-1" })
19588
19587
  ]),
19589
19588
  re[0] || (re[0] = ke("span", { class: "text-xs" }, "Please wait...", -1))
19590
- ])) : (we(), De("div", {
19589
+ ])) : (we(), Oe("div", {
19591
19590
  key: 2,
19592
19591
  class: Gl(["grid h-screen", { "grid-cols-[1fr_17rem]": !a.value && !F.value && p.value }])
19593
19592
  }, [
19594
- p.value ? (we(), De("div", Dy, [
19593
+ p.value ? (we(), Oe("div", Hy, [
19595
19594
  Li(ae.$slots, "default", {
19596
19595
  datasetId: B.value,
19597
19596
  datasetUrl: p.value,
@@ -19632,7 +19631,7 @@ const Oy = {
19632
19631
  ]),
19633
19632
  _: 1
19634
19633
  })) : _t("", !0),
19635
- yn(Re(Iy, {
19634
+ yn(Re(Oy, {
19636
19635
  "dataset-id": B.value,
19637
19636
  "dataset-url": p.value,
19638
19637
  description: s.value,
@@ -19659,6 +19658,6 @@ const Oy = {
19659
19658
  });
19660
19659
  export {
19661
19660
  sr as GalaxyApi,
19662
- Wy as GalaxyCharts,
19663
- Hy as useColumnsStore
19661
+ jy as GalaxyCharts,
19662
+ Wy as useColumnsStore
19664
19663
  };