@abi-software/map-side-bar 2.8.3-beta.0 → 2.8.3-beta.2

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 { getCurrentScope as yh, onScopeDispose as Tc, unref as h, getCurrentInstance as He, onMounted as Je, nextTick as Fe, ref as P, readonly as ui, watch as ae, computed as w, warn as bh, inject as le, isRef as xn, shallowRef as Wr, onBeforeUnmount as pt, onBeforeMount as wh, provide as je, defineComponent as U, openBlock as C, createElementBlock as F, mergeProps as dt, renderSlot as te, toRef as st, onUnmounted as tb, useAttrs as Ch, useSlots as io, createCommentVNode as G, Fragment as Pe, normalizeClass as L, createElementVNode as W, createBlock as Y, withCtx as R, resolveDynamicComponent as ut, withModifiers as Ne, createVNode as q, toDisplayString as ue, normalizeStyle as Ge, Transition as Fr, withDirectives as Oe, vShow as wt, reactive as vn, onActivated as nb, onUpdated as Sh, cloneVNode as kh, Text as di, Comment as Eh, Teleport as xh, onDeactivated as _h, createTextVNode as Ee, toRaw as js, vModelCheckbox as Vs, toRefs as lo, vModelRadio as Oh, h as mt, resolveComponent as Se, renderList as ft, onBeforeUpdate as rb, withKeys as Vr, vModelText as Th, normalizeProps as ob, guardReactiveProps as ab, createSlots as sb, watchEffect as Ah, resolveDirective as ib, toHandlerKey as lb, createApp as Ih, pushScopeId as cb, popScopeId as ub, markRaw as Es } from "vue";
1
+ import { getCurrentScope as yh, onScopeDispose as Tc, unref as h, getCurrentInstance as He, onMounted as Je, nextTick as Fe, ref as P, readonly as ui, watch as ae, computed as w, warn as bh, inject as le, isRef as xn, shallowRef as Wr, onBeforeUnmount as pt, onBeforeMount as wh, provide as je, defineComponent as U, openBlock as C, createElementBlock as F, mergeProps as dt, renderSlot as te, toRef as st, onUnmounted as tb, useAttrs as Ch, useSlots as io, createCommentVNode as G, Fragment as Pe, normalizeClass as L, createElementVNode as W, createBlock as Y, withCtx as R, resolveDynamicComponent as ut, withModifiers as Ne, createVNode as q, toDisplayString as de, normalizeStyle as Ge, Transition as Fr, withDirectives as Oe, vShow as wt, reactive as vn, onActivated as nb, onUpdated as Sh, cloneVNode as kh, Text as di, Comment as Eh, Teleport as xh, onDeactivated as _h, createTextVNode as _e, toRaw as js, vModelCheckbox as Vs, toRefs as lo, vModelRadio as Oh, h as mt, resolveComponent as Se, renderList as ft, onBeforeUpdate as rb, withKeys as Vr, vModelText as Th, normalizeProps as ob, guardReactiveProps as ab, createSlots as sb, watchEffect as Ah, resolveDirective as ib, toHandlerKey as lb, createApp as Ih, pushScopeId as cb, popScopeId as ub, markRaw as Es } from "vue";
2
2
  import { Loading as fi, CircleCheck as db, CircleClose as pi, View as Fh, Hide as fb, Check as Ph, ArrowRight as hi, Close as _o, ArrowDown as vi, DArrowLeft as pb, MoreFilled as ld, DArrowRight as hb, ArrowLeft as Ac, Delete as Ul, Warning as $h, Location as Rh, Search as vb, WarnTriangleFilled as gb } from "@element-plus/icons-vue";
3
3
  import { CopyToClipboard as Nh, ExternalResourceCard as mb, ConnectivityGraph as yb, ConnectivityList as bb, AnnotationPopup as wb, CreateTooltipContent as Cb } from "@abi-software/map-utilities";
4
4
  const Lh = (e) => !e.getAttribute("aria-owns"), Bh = (e, t, n) => {
@@ -3190,7 +3190,7 @@ const KE = we({
3190
3190
  }, [
3191
3191
  W("span", {
3192
3192
  class: L(h(p).e("count-inner"))
3193
- }, ue(h(Xe)) + " / " + ue(ee.maxlength), 3)
3193
+ }, de(h(Xe)) + " / " + de(ee.maxlength), 3)
3194
3194
  ], 2)) : G("v-if", !0),
3195
3195
  h(Q) && h(he) && h(H) ? (C(), Y(h(ze), {
3196
3196
  key: 4,
@@ -3248,7 +3248,7 @@ const KE = we({
3248
3248
  key: 0,
3249
3249
  style: Ge(_.value),
3250
3250
  class: L(h(p).e("count"))
3251
- }, ue(h(Xe)) + " / " + ue(ee.maxlength), 7)) : G("v-if", !0)
3251
+ }, de(h(Xe)) + " / " + de(ee.maxlength), 7)) : G("v-if", !0)
3252
3252
  ], 64))
3253
3253
  ], 16, ["role"]));
3254
3254
  }
@@ -4671,7 +4671,7 @@ const i_ = U({
4671
4671
  y.rawContent ? (C(), F("span", {
4672
4672
  key: 0,
4673
4673
  innerHTML: y.content
4674
- }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, ue(y.content), 1))
4674
+ }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, de(y.content), 1))
4675
4675
  ]),
4676
4676
  y.showArrow ? (C(), Y(h(gx), {
4677
4677
  key: 0,
@@ -5497,7 +5497,7 @@ const lg = {
5497
5497
  class: L(h(t).e("header"))
5498
5498
  }, [
5499
5499
  te(n.$slots, "header", {}, () => [
5500
- Ee(ue(n.header), 1)
5500
+ _e(de(n.header), 1)
5501
5501
  ])
5502
5502
  ], 2)) : G("v-if", !0),
5503
5503
  W("div", {
@@ -5511,7 +5511,7 @@ const lg = {
5511
5511
  class: L(h(t).e("footer"))
5512
5512
  }, [
5513
5513
  te(n.$slots, "footer", {}, () => [
5514
- Ee(ue(n.footer), 1)
5514
+ _e(de(n.footer), 1)
5515
5515
  ])
5516
5516
  ], 2)) : G("v-if", !0)
5517
5517
  ], 2));
@@ -5798,7 +5798,7 @@ const Ai = ht(M_), cg = {
5798
5798
  }, [
5799
5799
  te(y.$slots, "default"),
5800
5800
  y.$slots.default ? G("v-if", !0) : (C(), F(Pe, { key: 0 }, [
5801
- Ee(ue(y.label), 1)
5801
+ _e(de(y.label), 1)
5802
5802
  ], 64))
5803
5803
  ], 2)) : G("v-if", !0)
5804
5804
  ];
@@ -5884,7 +5884,7 @@ const W_ = U({
5884
5884
  style: Ge(h(o) ? h(g) : void 0)
5885
5885
  }, [
5886
5886
  te(d.$slots, "default", {}, () => [
5887
- Ee(ue(d.label), 1)
5887
+ _e(de(d.label), 1)
5888
5888
  ])
5889
5889
  ], 6)) : G("v-if", !0)
5890
5890
  ], 2);
@@ -6081,7 +6081,7 @@ const hg = we({
6081
6081
  }, ["stop"])
6082
6082
  }, [
6083
6083
  te(g.$slots, "default", {}, () => [
6084
- Ee(ue(g.label), 1)
6084
+ _e(de(g.label), 1)
6085
6085
  ])
6086
6086
  ], 42, ["onKeydown"])
6087
6087
  ], 2);
@@ -6137,7 +6137,7 @@ const oO = we({
6137
6137
  }, ["stop"])
6138
6138
  }, [
6139
6139
  te(f.$slots, "default", {}, () => [
6140
- Ee(ue(f.label), 1)
6140
+ _e(de(f.label), 1)
6141
6141
  ])
6142
6142
  ], 46, ["onKeydown"])
6143
6143
  ], 2);
@@ -6462,13 +6462,13 @@ function mO(e, t, n, r, o, a) {
6462
6462
  ]),
6463
6463
  _: 1
6464
6464
  }, 8, ["class"]),
6465
- Ee(" " + ue(e.t("el.cascader.loading")), 1)
6465
+ _e(" " + de(e.t("el.cascader.loading")), 1)
6466
6466
  ], 2)) : e.isEmpty ? (C(), F("div", {
6467
6467
  key: 1,
6468
6468
  class: L(e.ns.e("empty-text"))
6469
6469
  }, [
6470
6470
  te(e.$slots, "empty", {}, () => [
6471
- Ee(ue(e.t("el.cascader.noData")), 1)
6471
+ _e(de(e.t("el.cascader.noData")), 1)
6472
6472
  ])
6473
6473
  ], 2)) : (u = e.panel) != null && u.isHoverMenu ? (C(), F("svg", {
6474
6474
  key: 2,
@@ -6958,8 +6958,8 @@ const Ro = ht(PO), $O = we({
6958
6958
  enabled: !0,
6959
6959
  phase: "main",
6960
6960
  fn: ({ state: Z }) => {
6961
- const { modifiersData: de, placement: fe } = Z;
6962
- ["right", "left", "bottom", "top"].includes(fe) || (de.arrow.x = 35);
6961
+ const { modifiersData: ue, placement: fe } = Z;
6962
+ ["right", "left", "bottom", "top"].includes(fe) || (ue.arrow.x = 35);
6963
6963
  },
6964
6964
  requires: ["arrow"]
6965
6965
  }
@@ -6968,23 +6968,23 @@ const Ro = ht(PO), $O = we({
6968
6968
  let s = 0, i = 0;
6969
6969
  const l = be("cascader"), c = be("input"), { t: u } = mn(), { form: f, formItem: g } = Rr(), { valueOnClear: v } = Kv(r), { isComposing: d, handleComposition: p } = nu({
6970
6970
  afterComposition(Z) {
6971
- var de;
6972
- const fe = (de = Z.target) == null ? void 0 : de.value;
6971
+ var ue;
6972
+ const fe = (ue = Z.target) == null ? void 0 : ue.value;
6973
6973
  Lr(fe);
6974
6974
  }
6975
6975
  }), m = P(null), y = P(null), E = P(null), I = P(null), x = P(null), _ = P(!1), O = P(!1), A = P(!1), $ = P(!1), D = P(""), K = P(""), j = P([]), H = P([]), Q = P([]), he = w(() => a.style), re = w(() => r.disabled || (f == null ? void 0 : f.disabled)), B = w(() => r.placeholder || u("el.cascader.placeholder")), J = w(() => K.value || j.value.length > 0 || d.value ? "" : B.value), ge = fr(), me = w(() => ["small"].includes(ge.value) ? "small" : "default"), $e = w(() => !!r.props.multiple), Re = w(() => !r.filterable || $e.value), Xe = w(() => $e.value ? K.value : D.value), vt = w(() => {
6976
6976
  var Z;
6977
6977
  return ((Z = I.value) == null ? void 0 : Z.checkedNodes) || [];
6978
6978
  }), nt = w(() => !r.clearable || re.value || A.value || !O.value ? !1 : !!vt.value.length), De = w(() => {
6979
- const { showAllLevels: Z, separator: de } = r, fe = vt.value;
6980
- return fe.length ? $e.value ? "" : fe[0].calcText(Z, de) : "";
6979
+ const { showAllLevels: Z, separator: ue } = r, fe = vt.value;
6980
+ return fe.length ? $e.value ? "" : fe[0].calcText(Z, ue) : "";
6981
6981
  }), Ve = w(() => (g == null ? void 0 : g.validateState) || ""), Qe = w({
6982
6982
  get() {
6983
6983
  return iv(r.modelValue);
6984
6984
  },
6985
6985
  set(Z) {
6986
- const de = Z ?? v.value;
6987
- n(lt, de), n(no, de), r.validateEvent && (g == null || g.validate("change").catch((fe) => Ct(fe)));
6986
+ const ue = Z ?? v.value;
6987
+ n(lt, ue), n(no, ue), r.validateEvent && (g == null || g.validate("change").catch((fe) => Ct(fe)));
6988
6988
  }
6989
6989
  }), it = w(() => [
6990
6990
  l.b(),
@@ -6996,11 +6996,11 @@ const Ro = ht(PO), $O = we({
6996
6996
  "icon-arrow-down",
6997
6997
  l.is("reverse", _.value)
6998
6998
  ]), Rt = w(() => l.is("focus", _.value || $.value)), Ot = w(() => {
6999
- var Z, de;
7000
- return (de = (Z = m.value) == null ? void 0 : Z.popperRef) == null ? void 0 : de.contentRef;
6999
+ var Z, ue;
7000
+ return (ue = (Z = m.value) == null ? void 0 : Z.popperRef) == null ? void 0 : ue.contentRef;
7001
7001
  }), rt = (Z) => {
7002
- var de, fe, qe;
7003
- re.value || (Z = Z ?? !_.value, Z !== _.value && (_.value = Z, (fe = (de = y.value) == null ? void 0 : de.input) == null || fe.setAttribute("aria-expanded", `${Z}`), Z ? (ct(), Fe((qe = I.value) == null ? void 0 : qe.scrollToExpandingNode)) : r.filterable && ee(), n("visibleChange", Z)));
7002
+ var ue, fe, qe;
7003
+ re.value || (Z = Z ?? !_.value, Z !== _.value && (_.value = Z, (fe = (ue = y.value) == null ? void 0 : ue.input) == null || fe.setAttribute("aria-expanded", `${Z}`), Z ? (ct(), Fe((qe = I.value) == null ? void 0 : qe.scrollToExpandingNode)) : r.filterable && ee(), n("visibleChange", Z)));
7004
7004
  }, ct = () => {
7005
7005
  Fe(() => {
7006
7006
  var Z;
@@ -7009,37 +7009,37 @@ const Ro = ht(PO), $O = we({
7009
7009
  }, Ut = () => {
7010
7010
  A.value = !1;
7011
7011
  }, qt = (Z) => {
7012
- const { showAllLevels: de, separator: fe } = r;
7012
+ const { showAllLevels: ue, separator: fe } = r;
7013
7013
  return {
7014
7014
  node: Z,
7015
7015
  key: Z.uid,
7016
- text: Z.calcText(de, fe),
7016
+ text: Z.calcText(ue, fe),
7017
7017
  hitState: !1,
7018
7018
  closable: !re.value && !Z.isDisabled,
7019
7019
  isCollapseTag: !1
7020
7020
  };
7021
7021
  }, Et = (Z) => {
7022
- var de;
7022
+ var ue;
7023
7023
  const fe = Z.node;
7024
- fe.doCheck(!1), (de = I.value) == null || de.calculateCheckedValue(), n("removeTag", fe.valueByOption);
7024
+ fe.doCheck(!1), (ue = I.value) == null || ue.calculateCheckedValue(), n("removeTag", fe.valueByOption);
7025
7025
  }, Kt = () => {
7026
7026
  if (!$e.value)
7027
7027
  return;
7028
- const Z = vt.value, de = [], fe = [];
7028
+ const Z = vt.value, ue = [], fe = [];
7029
7029
  if (Z.forEach((qe) => fe.push(qt(qe))), H.value = fe, Z.length) {
7030
- Z.slice(0, r.maxCollapseTags).forEach((Wt) => de.push(qt(Wt)));
7030
+ Z.slice(0, r.maxCollapseTags).forEach((Wt) => ue.push(qt(Wt)));
7031
7031
  const qe = Z.slice(r.maxCollapseTags), cn = qe.length;
7032
- cn && (r.collapseTags ? de.push({
7032
+ cn && (r.collapseTags ? ue.push({
7033
7033
  key: -1,
7034
7034
  text: `+ ${cn}`,
7035
7035
  closable: !1,
7036
7036
  isCollapseTag: !0
7037
- }) : qe.forEach((Wt) => de.push(qt(Wt))));
7037
+ }) : qe.forEach((Wt) => ue.push(qt(Wt))));
7038
7038
  }
7039
- j.value = de;
7039
+ j.value = ue;
7040
7040
  }, Nt = () => {
7041
- var Z, de;
7042
- const { filterMethod: fe, showAllLevels: qe, separator: cn } = r, Wt = (de = (Z = I.value) == null ? void 0 : Z.getFlattedNodes(!r.props.checkStrictly)) == null ? void 0 : de.filter((un) => un.isDisabled ? !1 : (un.calcText(qe, cn), fe(un, Xe.value)));
7041
+ var Z, ue;
7042
+ const { filterMethod: fe, showAllLevels: qe, separator: cn } = r, Wt = (ue = (Z = I.value) == null ? void 0 : Z.getFlattedNodes(!r.props.checkStrictly)) == null ? void 0 : ue.filter((un) => un.isDisabled ? !1 : (un.calcText(qe, cn), fe(un, Xe.value)));
7043
7043
  $e.value && (j.value.forEach((un) => {
7044
7044
  un.hitState = !1;
7045
7045
  }), H.value.forEach((un) => {
@@ -7047,11 +7047,11 @@ const Ro = ht(PO), $O = we({
7047
7047
  })), A.value = !0, Q.value = Wt, ct();
7048
7048
  }, bn = () => {
7049
7049
  var Z;
7050
- let de;
7051
- A.value && x.value ? de = x.value.$el.querySelector(`.${l.e("suggestion-item")}`) : de = (Z = I.value) == null ? void 0 : Z.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`), de && (de.focus(), !A.value && de.click());
7050
+ let ue;
7051
+ A.value && x.value ? ue = x.value.$el.querySelector(`.${l.e("suggestion-item")}`) : ue = (Z = I.value) == null ? void 0 : Z.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`), ue && (ue.focus(), !A.value && ue.click());
7052
7052
  }, Ue = () => {
7053
- var Z, de;
7054
- const fe = (Z = y.value) == null ? void 0 : Z.input, qe = E.value, cn = (de = x.value) == null ? void 0 : de.$el;
7053
+ var Z, ue;
7054
+ const fe = (Z = y.value) == null ? void 0 : Z.input, qe = E.value, cn = (ue = x.value) == null ? void 0 : ue.$el;
7055
7055
  if (!(!tt || !fe)) {
7056
7056
  if (cn) {
7057
7057
  const Wt = cn.querySelector(`.${l.e("suggestion-list")}`);
@@ -7063,8 +7063,8 @@ const Ro = ht(PO), $O = we({
7063
7063
  }
7064
7064
  }
7065
7065
  }, Tt = (Z) => {
7066
- var de;
7067
- return (de = I.value) == null ? void 0 : de.getCheckedNodes(Z);
7066
+ var ue;
7067
+ return (ue = I.value) == null ? void 0 : ue.getCheckedNodes(Z);
7068
7068
  }, Mt = (Z) => {
7069
7069
  ct(), n("expandChange", Z);
7070
7070
  }, sn = (Z) => {
@@ -7090,39 +7090,39 @@ const Ro = ht(PO), $O = we({
7090
7090
  const { value: Z } = De;
7091
7091
  D.value = Z, K.value = Z;
7092
7092
  }, Ie = (Z) => {
7093
- var de, fe;
7093
+ var ue, fe;
7094
7094
  const { checked: qe } = Z;
7095
- $e.value ? (de = I.value) == null || de.handleCheckChange(Z, !qe, !1) : (!qe && ((fe = I.value) == null || fe.handleCheckChange(Z, !0, !1)), rt(!1));
7095
+ $e.value ? (ue = I.value) == null || ue.handleCheckChange(Z, !qe, !1) : (!qe && ((fe = I.value) == null || fe.handleCheckChange(Z, !0, !1)), rt(!1));
7096
7096
  }, ot = (Z) => {
7097
- const de = Z.target, { code: fe } = Z;
7097
+ const ue = Z.target, { code: fe } = Z;
7098
7098
  switch (fe) {
7099
7099
  case Me.up:
7100
7100
  case Me.down: {
7101
7101
  const qe = fe === Me.up ? -1 : 1;
7102
- xs(Bh(de, qe, `.${l.e("suggestion-item")}[tabindex="-1"]`));
7102
+ xs(Bh(ue, qe, `.${l.e("suggestion-item")}[tabindex="-1"]`));
7103
7103
  break;
7104
7104
  }
7105
7105
  case Me.enter:
7106
- de.click();
7106
+ ue.click();
7107
7107
  break;
7108
7108
  }
7109
7109
  }, jt = () => {
7110
- const Z = j.value, de = Z[Z.length - 1];
7111
- i = K.value ? 0 : i + 1, !(!de || !i || r.collapseTags && Z.length > 1) && (de.hitState ? Et(de) : de.hitState = !0);
7110
+ const Z = j.value, ue = Z[Z.length - 1];
7111
+ i = K.value ? 0 : i + 1, !(!ue || !i || r.collapseTags && Z.length > 1) && (ue.hitState ? Et(ue) : ue.hitState = !0);
7112
7112
  }, ln = (Z) => {
7113
- const de = Z.target, fe = l.e("search-input");
7114
- de.className === fe && ($.value = !0), n("focus", Z);
7113
+ const ue = Z.target, fe = l.e("search-input");
7114
+ ue.className === fe && ($.value = !0), n("focus", Z);
7115
7115
  }, ho = (Z) => {
7116
7116
  $.value = !1, n("blur", Z);
7117
7117
  }, Yo = fv(() => {
7118
7118
  const { value: Z } = Xe;
7119
7119
  if (!Z)
7120
7120
  return;
7121
- const de = r.beforeFilter(Z);
7122
- Vb(de) ? de.then(Nt).catch(() => {
7123
- }) : de !== !1 ? Nt() : Ut();
7124
- }, r.debounce), Lr = (Z, de) => {
7125
- !_.value && rt(!0), !(de != null && de.isComposing) && (Z ? Yo() : Ut());
7121
+ const ue = r.beforeFilter(Z);
7122
+ Vb(ue) ? ue.then(Nt).catch(() => {
7123
+ }) : ue !== !1 ? Nt() : Ut();
7124
+ }, r.debounce), Lr = (Z, ue) => {
7125
+ !_.value && rt(!0), !(ue != null && ue.isComposing) && (Z ? Yo() : Ut());
7126
7126
  }, Br = (Z) => Number.parseFloat(_b(c.cssVarName("input-height"), Z).value) - 2;
7127
7127
  return ae(A, ct), ae([vt, re, () => r.collapseTags], Kt), ae(j, () => {
7128
7128
  Fe(() => Ue());
@@ -7131,15 +7131,15 @@ const Ro = ht(PO), $O = we({
7131
7131
  const Z = y.value.input;
7132
7132
  s = Br(Z) || s, Ue();
7133
7133
  }), ae(De, ee, { immediate: !0 }), Je(() => {
7134
- const Z = y.value.input, de = Br(Z);
7135
- s = Z.offsetHeight || de, Wn(Z, Ue);
7134
+ const Z = y.value.input, ue = Br(Z);
7135
+ s = Z.offsetHeight || ue, Wn(Z, Ue);
7136
7136
  }), t({
7137
7137
  getCheckedNodes: Tt,
7138
7138
  cascaderPanelRef: I,
7139
7139
  togglePopperVisible: rt,
7140
7140
  contentRef: Ot,
7141
7141
  presentText: De
7142
- }), (Z, de) => (C(), Y(h(Aa), {
7142
+ }), (Z, ue) => (C(), Y(h(Aa), {
7143
7143
  ref_key: "tooltipRef",
7144
7144
  ref: m,
7145
7145
  visible: _.value,
@@ -7227,7 +7227,7 @@ const Ro = ht(PO), $O = we({
7227
7227
  onClose: (qe) => Et(fe)
7228
7228
  }, {
7229
7229
  default: R(() => [
7230
- fe.isCollapseTag === !1 ? (C(), F("span", { key: 0 }, ue(fe.text), 1)) : (C(), Y(h(Aa), {
7230
+ fe.isCollapseTag === !1 ? (C(), F("span", { key: 0 }, de(fe.text), 1)) : (C(), Y(h(Aa), {
7231
7231
  key: 1,
7232
7232
  disabled: _.value || !Z.collapseTagsTooltip,
7233
7233
  "fallback-placements": ["bottom", "top", "right", "left"],
@@ -7235,7 +7235,7 @@ const Ro = ht(PO), $O = we({
7235
7235
  effect: "light"
7236
7236
  }, {
7237
7237
  default: R(() => [
7238
- W("span", null, ue(fe.text), 1)
7238
+ W("span", null, de(fe.text), 1)
7239
7239
  ]),
7240
7240
  content: R(() => [
7241
7241
  W("div", {
@@ -7257,7 +7257,7 @@ const Ro = ht(PO), $O = we({
7257
7257
  onClose: (Wt) => Et(qe)
7258
7258
  }, {
7259
7259
  default: R(() => [
7260
- W("span", null, ue(qe.text), 1)
7260
+ W("span", null, de(qe.text), 1)
7261
7261
  ]),
7262
7262
  _: 2
7263
7263
  }, 1032, ["type", "size", "effect", "hit", "closable", "onClose"]))
@@ -7330,7 +7330,7 @@ const Ro = ht(PO), $O = we({
7330
7330
  tabindex: -1,
7331
7331
  onClick: (qe) => Ie(fe)
7332
7332
  }, [
7333
- W("span", null, ue(fe.text), 1),
7333
+ W("span", null, de(fe.text), 1),
7334
7334
  fe.checked ? (C(), Y(h(ze), { key: 0 }, {
7335
7335
  default: R(() => [
7336
7336
  q(h(Ph))
@@ -7340,7 +7340,7 @@ const Ro = ht(PO), $O = we({
7340
7340
  ], 10, ["onClick"]))), 128)) : te(Z.$slots, "empty", { key: 1 }, () => [
7341
7341
  W("li", {
7342
7342
  class: L(h(l).e("empty-text"))
7343
- }, ue(h(u)("el.cascader.noMatch")), 3)
7343
+ }, de(h(u)("el.cascader.noMatch")), 3)
7344
7344
  ])
7345
7345
  ]),
7346
7346
  _: 3
@@ -7931,7 +7931,7 @@ const dT = uT, fT = we({
7931
7931
  role: "heading",
7932
7932
  "aria-level": $.headerAriaLevel,
7933
7933
  class: L(h(s).e("title"))
7934
- }, ue($.title), 11, ["id", "aria-level"]))
7934
+ }, de($.title), 11, ["id", "aria-level"]))
7935
7935
  ]),
7936
7936
  $.showClose ? (C(), F("button", {
7937
7937
  key: 2,
@@ -8799,7 +8799,7 @@ const c5 = ht(t5, {
8799
8799
  "aria-disabled": h(r),
8800
8800
  onClick: (s) => o.$emit("click", s)
8801
8801
  }, [
8802
- o.prevText ? (C(), F("span", { key: 0 }, ue(o.prevText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8802
+ o.prevText ? (C(), F("span", { key: 0 }, de(o.prevText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8803
8803
  default: R(() => [
8804
8804
  (C(), Y(ut(o.prevIcon)))
8805
8805
  ]),
@@ -8841,7 +8841,7 @@ const m5 = we({
8841
8841
  "aria-disabled": h(r),
8842
8842
  onClick: (s) => o.$emit("click", s)
8843
8843
  }, [
8844
- o.nextText ? (C(), F("span", { key: 0 }, ue(o.nextText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8844
+ o.nextText ? (C(), F("span", { key: 0 }, de(o.nextText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8845
8845
  default: R(() => [
8846
8846
  (C(), Y(ut(o.nextIcon)))
8847
8847
  ]),
@@ -8961,7 +8961,7 @@ function k5(e, t, n, r, o, a) {
8961
8961
  onClick: Ne(e.selectOptionClick, ["stop"])
8962
8962
  }, [
8963
8963
  te(e.$slots, "default", {}, () => [
8964
- W("span", null, ue(e.currentLabel), 1)
8964
+ W("span", null, de(e.currentLabel), 1)
8965
8965
  ])
8966
8966
  ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
8967
8967
  [wt, e.visible]
@@ -9106,7 +9106,7 @@ const O5 = 11, T5 = (e, t) => {
9106
9106
  s.previousQuery === V || I.value || (s.previousQuery = V, e.filterable && bt(e.filterMethod) ? e.filterMethod(V) : e.filterable && e.remote && bt(e.remoteMethod) && e.remoteMethod(V), e.defaultFirstOption && (e.filterable || e.remote) && De.value ? Fe(Kt) : Fe(Ue));
9107
9107
  }, Kt = () => {
9108
9108
  const V = Ve.value.filter((Ke) => Ke.visible && !Ke.disabled && !Ke.states.groupDisabled), ie = V.find((Ke) => Ke.created), Te = V[0];
9109
- s.hoveringIndex = de(Ve.value, ie || Te);
9109
+ s.hoveringIndex = ue(Ve.value, ie || Te);
9110
9110
  }, Nt = () => {
9111
9111
  if (e.multiple)
9112
9112
  s.selectedLabel = "";
@@ -9192,14 +9192,14 @@ const O5 = 11, T5 = (e, t) => {
9192
9192
  }, Z = (V) => {
9193
9193
  var ie;
9194
9194
  if (e.multiple) {
9195
- const Te = lr((ie = e.modelValue) != null ? ie : []).slice(), Ke = de(Te, V.value);
9195
+ const Te = lr((ie = e.modelValue) != null ? ie : []).slice(), Ke = ue(Te, V.value);
9196
9196
  Ke > -1 ? Te.splice(Ke, 1) : (e.multipleLimit <= 0 || Te.length < e.multipleLimit) && Te.push(V.value), t(lt, Te), ln(Te), V.created && Et(""), e.filterable && !e.reserveKeyword && (s.inputValue = "");
9197
9197
  } else
9198
9198
  t(lt, V.value), ln(V.value), D.value = !1;
9199
9199
  vo(), !D.value && Fe(() => {
9200
9200
  fe(V);
9201
9201
  });
9202
- }, de = (V = [], ie) => {
9202
+ }, ue = (V = [], ie) => {
9203
9203
  if (!It(ie))
9204
9204
  return V.indexOf(ie);
9205
9205
  const Te = e.valueKey;
@@ -9574,7 +9574,7 @@ function P5(e, t, n, r, o, a) {
9574
9574
  label: p.currentLabel,
9575
9575
  value: p.value
9576
9576
  }, () => [
9577
- Ee(ue(p.currentLabel), 1)
9577
+ _e(de(p.currentLabel), 1)
9578
9578
  ])
9579
9579
  ], 2)
9580
9580
  ]),
@@ -9606,7 +9606,7 @@ function P5(e, t, n, r, o, a) {
9606
9606
  default: R(() => [
9607
9607
  W("span", {
9608
9608
  class: L(e.nsSelect.e("tags-text"))
9609
- }, " + " + ue(e.states.selected.length - e.maxCollapseTags), 3)
9609
+ }, " + " + de(e.states.selected.length - e.maxCollapseTags), 3)
9610
9610
  ]),
9611
9611
  _: 1
9612
9612
  }, 8, ["size", "type", "effect", "style"])
@@ -9638,7 +9638,7 @@ function P5(e, t, n, r, o, a) {
9638
9638
  label: p.currentLabel,
9639
9639
  value: p.value
9640
9640
  }, () => [
9641
- Ee(ue(p.currentLabel), 1)
9641
+ _e(de(p.currentLabel), 1)
9642
9642
  ])
9643
9643
  ], 2)
9644
9644
  ]),
@@ -9697,7 +9697,7 @@ function P5(e, t, n, r, o, a) {
9697
9697
  ref: "calculatorRef",
9698
9698
  "aria-hidden": "true",
9699
9699
  class: L(e.nsSelect.e("input-calculator")),
9700
- textContent: ue(e.states.inputValue)
9700
+ textContent: de(e.states.inputValue)
9701
9701
  }, null, 10, ["textContent"])) : G("v-if", !0)
9702
9702
  ], 2)),
9703
9703
  e.shouldShowPlaceholder ? (C(), F("div", {
@@ -9713,8 +9713,8 @@ function P5(e, t, n, r, o, a) {
9713
9713
  label: e.currentPlaceholder,
9714
9714
  value: e.modelValue
9715
9715
  }, () => [
9716
- W("span", null, ue(e.currentPlaceholder), 1)
9717
- ]) : (C(), F("span", { key: 1 }, ue(e.currentPlaceholder), 1))
9716
+ W("span", null, de(e.currentPlaceholder), 1)
9717
+ ]) : (C(), F("span", { key: 1 }, de(e.currentPlaceholder), 1))
9718
9718
  ], 2)) : G("v-if", !0)
9719
9719
  ], 2),
9720
9720
  W("div", {
@@ -9806,7 +9806,7 @@ function P5(e, t, n, r, o, a) {
9806
9806
  class: L(e.nsSelect.be("dropdown", "empty"))
9807
9807
  }, [
9808
9808
  te(e.$slots, "empty", {}, () => [
9809
- W("span", null, ue(e.emptyText), 1)
9809
+ W("span", null, de(e.emptyText), 1)
9810
9810
  ])
9811
9811
  ], 2)) : G("v-if", !0),
9812
9812
  e.$slots.footer ? (C(), F("div", {
@@ -9872,7 +9872,7 @@ function N5(e, t, n, r, o, a) {
9872
9872
  }, [
9873
9873
  W("li", {
9874
9874
  class: L(e.ns.be("group", "title"))
9875
- }, ue(e.label), 3),
9875
+ }, de(e.label), 3),
9876
9876
  W("li", null, [
9877
9877
  W("ul", {
9878
9878
  class: L(e.ns.b("group"))
@@ -9983,7 +9983,7 @@ const j5 = we({
9983
9983
  }, [
9984
9984
  W("span", {
9985
9985
  class: L([h(n).e("goto")])
9986
- }, ue(h(t)("el.pagination.goto")), 3),
9986
+ }, de(h(t)("el.pagination.goto")), 3),
9987
9987
  q(h(Vo), {
9988
9988
  size: f.size,
9989
9989
  class: L([h(n).e("editor"), h(n).is("in-pagination")]),
@@ -9999,7 +9999,7 @@ const j5 = we({
9999
9999
  }, null, 8, ["size", "class", "max", "disabled", "model-value", "aria-label"]),
10000
10000
  W("span", {
10001
10001
  class: L([h(n).e("classifier")])
10002
- }, ue(h(t)("el.pagination.pageClassifier")), 3)
10002
+ }, de(h(t)("el.pagination.pageClassifier")), 3)
10003
10003
  ], 10, ["disabled"]));
10004
10004
  }
10005
10005
  });
@@ -10019,7 +10019,7 @@ const U5 = we({
10019
10019
  return (o, a) => (C(), F("span", {
10020
10020
  class: L(h(n).e("total")),
10021
10021
  disabled: h(r)
10022
- }, ue(h(t)("el.pagination.total", {
10022
+ }, de(h(t)("el.pagination.total", {
10023
10023
  total: o.total
10024
10024
  })), 11, ["disabled"]));
10025
10025
  }
@@ -10138,7 +10138,7 @@ const G5 = we({
10138
10138
  "aria-current": x.currentPage === O,
10139
10139
  "aria-label": h(a)("el.pagination.currentPage", { pager: O }),
10140
10140
  tabindex: h(p)
10141
- }, ue(O), 11, ["aria-current", "aria-label", "tabindex"]))), 128)),
10141
+ }, de(O), 11, ["aria-current", "aria-label", "tabindex"]))), 128)),
10142
10142
  i.value ? (C(), F("li", {
10143
10143
  key: 2,
10144
10144
  class: L(h(d)),
@@ -10160,7 +10160,7 @@ const G5 = we({
10160
10160
  "aria-current": x.currentPage === x.pageCount,
10161
10161
  "aria-label": h(a)("el.pagination.currentPage", { pager: x.pageCount }),
10162
10162
  tabindex: h(p)
10163
- }, ue(x.pageCount), 11, ["aria-current", "aria-label", "tabindex"])) : G("v-if", !0)
10163
+ }, de(x.pageCount), 11, ["aria-current", "aria-label", "tabindex"])) : G("v-if", !0)
10164
10164
  ], 42, ["onKeyup"]));
10165
10165
  }
10166
10166
  });
@@ -10483,9 +10483,9 @@ const $i = ht(e3), t3 = we({
10483
10483
  key: 0,
10484
10484
  class: L(h(a).e("title")),
10485
10485
  role: "title"
10486
- }, ue(m.title), 3)) : G("v-if", !0),
10486
+ }, de(m.title), 3)) : G("v-if", !0),
10487
10487
  te(m.$slots, "default", {}, () => [
10488
- Ee(ue(m.content), 1)
10488
+ _e(de(m.content), 1)
10489
10489
  ])
10490
10490
  ]),
10491
10491
  default: R(() => [
@@ -10768,7 +10768,7 @@ function m3(e, t, n, r, o, a) {
10768
10768
  key: l
10769
10769
  }, {
10770
10770
  default: R(() => [
10771
- Ee(ue(l + " (" + i.size + ")"), 1)
10771
+ _e(de(l + " (" + i.size + ")"), 1)
10772
10772
  ]),
10773
10773
  _: 2
10774
10774
  }, 1032, ["class", "onClick"])) : G("", !0)
@@ -10999,10 +10999,10 @@ const X3 = (e) => {
10999
10999
  asap: tA,
11000
11000
  isIterable: nA
11001
11001
  };
11002
- function xe(e, t, n, r, o) {
11002
+ function Ee(e, t, n, r, o) {
11003
11003
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
11004
11004
  }
11005
- M.inherits(xe, Error, {
11005
+ M.inherits(Ee, Error, {
11006
11006
  toJSON: function() {
11007
11007
  return {
11008
11008
  // Standard
@@ -11023,7 +11023,7 @@ M.inherits(xe, Error, {
11023
11023
  };
11024
11024
  }
11025
11025
  });
11026
- const Zg = xe.prototype, Yg = {};
11026
+ const Zg = Ee.prototype, Yg = {};
11027
11027
  [
11028
11028
  "ERR_BAD_OPTION_VALUE",
11029
11029
  "ERR_BAD_OPTION",
@@ -11041,13 +11041,13 @@ const Zg = xe.prototype, Yg = {};
11041
11041
  ].forEach((e) => {
11042
11042
  Yg[e] = { value: e };
11043
11043
  });
11044
- Object.defineProperties(xe, Yg);
11044
+ Object.defineProperties(Ee, Yg);
11045
11045
  Object.defineProperty(Zg, "isAxiosError", { value: !0 });
11046
- xe.from = (e, t, n, r, o, a) => {
11046
+ Ee.from = (e, t, n, r, o, a) => {
11047
11047
  const s = Object.create(Zg);
11048
11048
  return M.toFlatObject(e, s, function(l) {
11049
11049
  return l !== Error.prototype;
11050
- }, (i) => i !== "isAxiosError"), xe.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, a && Object.assign(s, a), s;
11050
+ }, (i) => i !== "isAxiosError"), Ee.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, a && Object.assign(s, a), s;
11051
11051
  };
11052
11052
  const rA = null;
11053
11053
  function sc(e) {
@@ -11085,7 +11085,7 @@ function Mi(e, t, n) {
11085
11085
  if (M.isDate(d))
11086
11086
  return d.toISOString();
11087
11087
  if (!l && M.isBlob(d))
11088
- throw new xe("Blob is not supported. Use a Buffer instead.");
11088
+ throw new Ee("Blob is not supported. Use a Buffer instead.");
11089
11089
  return M.isArrayBuffer(d) || M.isTypedArray(d) ? l && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
11090
11090
  }
11091
11091
  function u(d, p, m) {
@@ -11335,7 +11335,7 @@ const Ga = {
11335
11335
  return JSON.parse(t);
11336
11336
  } catch (i) {
11337
11337
  if (s)
11338
- throw i.name === "SyntaxError" ? xe.from(i, xe.ERR_BAD_RESPONSE, this, null, this.response) : i;
11338
+ throw i.name === "SyntaxError" ? Ee.from(i, Ee.ERR_BAD_RESPONSE, this, null, this.response) : i;
11339
11339
  }
11340
11340
  }
11341
11341
  return t;
@@ -11578,16 +11578,16 @@ function rm(e) {
11578
11578
  return !!(e && e.__CANCEL__);
11579
11579
  }
11580
11580
  function qo(e, t, n) {
11581
- xe.call(this, e ?? "canceled", xe.ERR_CANCELED, t, n), this.name = "CanceledError";
11581
+ Ee.call(this, e ?? "canceled", Ee.ERR_CANCELED, t, n), this.name = "CanceledError";
11582
11582
  }
11583
- M.inherits(qo, xe, {
11583
+ M.inherits(qo, Ee, {
11584
11584
  __CANCEL__: !0
11585
11585
  });
11586
11586
  function om(e, t, n) {
11587
11587
  const r = n.config.validateStatus;
11588
- !n.status || !r || r(n.status) ? e(n) : t(new xe(
11588
+ !n.status || !r || r(n.status) ? e(n) : t(new Ee(
11589
11589
  "Request failed with status code " + n.status,
11590
- [xe.ERR_BAD_REQUEST, xe.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
11590
+ [Ee.ERR_BAD_REQUEST, Ee.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
11591
11591
  n.config,
11592
11592
  n.request,
11593
11593
  n
@@ -11810,15 +11810,15 @@ const sm = (e) => {
11810
11810
  "onloadend" in m ? m.onloadend = y : m.onreadystatechange = function() {
11811
11811
  !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(y);
11812
11812
  }, m.onabort = function() {
11813
- m && (r(new xe("Request aborted", xe.ECONNABORTED, e, m)), m = null);
11813
+ m && (r(new Ee("Request aborted", Ee.ECONNABORTED, e, m)), m = null);
11814
11814
  }, m.onerror = function() {
11815
- r(new xe("Network Error", xe.ERR_NETWORK, e, m)), m = null;
11815
+ r(new Ee("Network Error", Ee.ERR_NETWORK, e, m)), m = null;
11816
11816
  }, m.ontimeout = function() {
11817
11817
  let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
11818
11818
  const _ = o.transitional || tm;
11819
- o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new xe(
11819
+ o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new Ee(
11820
11820
  x,
11821
- _.clarifyTimeoutError ? xe.ETIMEDOUT : xe.ECONNABORTED,
11821
+ _.clarifyTimeoutError ? Ee.ETIMEDOUT : Ee.ECONNABORTED,
11822
11822
  e,
11823
11823
  m
11824
11824
  )), m = null;
@@ -11829,7 +11829,7 @@ const sm = (e) => {
11829
11829
  }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
11830
11830
  const E = xA(o.url);
11831
11831
  if (E && Bt.protocols.indexOf(E) === -1) {
11832
- r(new xe("Unsupported protocol " + E + ":", xe.ERR_BAD_REQUEST, e));
11832
+ r(new Ee("Unsupported protocol " + E + ":", Ee.ERR_BAD_REQUEST, e));
11833
11833
  return;
11834
11834
  }
11835
11835
  m.send(a || null);
@@ -11842,11 +11842,11 @@ const sm = (e) => {
11842
11842
  if (!o) {
11843
11843
  o = !0, i();
11844
11844
  const u = c instanceof Error ? c : this.reason;
11845
- r.abort(u instanceof xe ? u : new qo(u instanceof Error ? u.message : u));
11845
+ r.abort(u instanceof Ee ? u : new qo(u instanceof Error ? u.message : u));
11846
11846
  }
11847
11847
  };
11848
11848
  let s = t && setTimeout(() => {
11849
- s = null, a(new xe(`timeout ${t} of ms exceeded`, xe.ETIMEDOUT));
11849
+ s = null, a(new Ee(`timeout ${t} of ms exceeded`, Ee.ETIMEDOUT));
11850
11850
  }, t);
11851
11851
  const i = () => {
11852
11852
  e && (s && clearTimeout(s), s = null, e.forEach((c) => {
@@ -11936,7 +11936,7 @@ const sm = (e) => {
11936
11936
  ji && ((e) => {
11937
11937
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
11938
11938
  !Ys[t] && (Ys[t] = M.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
11939
- throw new xe(`Response type '${t}' is not supported`, xe.ERR_NOT_SUPPORT, r);
11939
+ throw new Ee(`Response type '${t}' is not supported`, Ee.ERR_NOT_SUPPORT, r);
11940
11940
  });
11941
11941
  });
11942
11942
  })(new Response());
@@ -12036,11 +12036,11 @@ const jA = async (e) => {
12036
12036
  });
12037
12037
  } catch (y) {
12038
12038
  throw p && p(), y && y.name === "TypeError" && /Load failed|fetch/i.test(y.message) ? Object.assign(
12039
- new xe("Network Error", xe.ERR_NETWORK, e, d),
12039
+ new Ee("Network Error", Ee.ERR_NETWORK, e, d),
12040
12040
  {
12041
12041
  cause: y.cause || y
12042
12042
  }
12043
- ) : xe.from(y, y && y.code, e, d);
12043
+ ) : Ee.from(y, y && y.code, e, d);
12044
12044
  }
12045
12045
  }), cc = {
12046
12046
  http: rA,
@@ -12066,7 +12066,7 @@ const Xf = (e) => `- ${e}`, HA = (e) => M.isFunction(e) || e === null || e === !
12066
12066
  n = e[a];
12067
12067
  let s;
12068
12068
  if (r = n, !HA(n) && (r = cc[(s = String(n)).toLowerCase()], r === void 0))
12069
- throw new xe(`Unknown adapter '${s}'`);
12069
+ throw new Ee(`Unknown adapter '${s}'`);
12070
12070
  if (r)
12071
12071
  break;
12072
12072
  o[s || "#" + a] = r;
@@ -12078,7 +12078,7 @@ const Xf = (e) => `- ${e}`, HA = (e) => M.isFunction(e) || e === null || e === !
12078
12078
  let s = t ? a.length > 1 ? `since :
12079
12079
  ` + a.map(Xf).join(`
12080
12080
  `) : " " + Xf(a[0]) : "as no adapter specified";
12081
- throw new xe(
12081
+ throw new Ee(
12082
12082
  "There is no suitable adapter to dispatch the request " + s,
12083
12083
  "ERR_NOT_SUPPORT"
12084
12084
  );
@@ -12122,9 +12122,9 @@ Vi.transitional = function(t, n, r) {
12122
12122
  }
12123
12123
  return (a, s, i) => {
12124
12124
  if (t === !1)
12125
- throw new xe(
12125
+ throw new Ee(
12126
12126
  o(s, " has been removed" + (n ? " in " + n : "")),
12127
- xe.ERR_DEPRECATED
12127
+ Ee.ERR_DEPRECATED
12128
12128
  );
12129
12129
  return n && !ep[s] && (ep[s] = !0, console.warn(
12130
12130
  o(
@@ -12139,7 +12139,7 @@ Vi.spelling = function(t) {
12139
12139
  };
12140
12140
  function UA(e, t, n) {
12141
12141
  if (typeof e != "object")
12142
- throw new xe("options must be an object", xe.ERR_BAD_OPTION_VALUE);
12142
+ throw new Ee("options must be an object", Ee.ERR_BAD_OPTION_VALUE);
12143
12143
  const r = Object.keys(e);
12144
12144
  let o = r.length;
12145
12145
  for (; o-- > 0; ) {
@@ -12147,11 +12147,11 @@ function UA(e, t, n) {
12147
12147
  if (s) {
12148
12148
  const i = e[a], l = i === void 0 || s(i, a, e);
12149
12149
  if (l !== !0)
12150
- throw new xe("option " + a + " must be " + l, xe.ERR_BAD_OPTION_VALUE);
12150
+ throw new Ee("option " + a + " must be " + l, Ee.ERR_BAD_OPTION_VALUE);
12151
12151
  continue;
12152
12152
  }
12153
12153
  if (n !== !0)
12154
- throw new xe("Unknown option " + a, xe.ERR_BAD_OPTION);
12154
+ throw new Ee("Unknown option " + a, Ee.ERR_BAD_OPTION);
12155
12155
  }
12156
12156
  }
12157
12157
  const $s = {
@@ -12444,7 +12444,7 @@ St.CancelToken = wu;
12444
12444
  St.isCancel = rm;
12445
12445
  St.VERSION = um;
12446
12446
  St.toFormData = Mi;
12447
- St.AxiosError = xe;
12447
+ St.AxiosError = Ee;
12448
12448
  St.Cancel = St.CanceledError;
12449
12449
  St.all = function(t) {
12450
12450
  return Promise.all(t);
@@ -15498,7 +15498,7 @@ const t8 = U({
15498
15498
  y.rawContent ? (C(), F("span", {
15499
15499
  key: 0,
15500
15500
  innerHTML: y.content
15501
- }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, ue(y.content), 1))
15501
+ }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, de(y.content), 1))
15502
15502
  ]),
15503
15503
  y.showArrow ? (C(), Y(h(sR), {
15504
15504
  key: 0,
@@ -16283,7 +16283,7 @@ const I8 = _t({
16283
16283
  class: L(h(t).e("header"))
16284
16284
  }, [
16285
16285
  te(n.$slots, "header", {}, () => [
16286
- Ee(ue(n.header), 1)
16286
+ _e(de(n.header), 1)
16287
16287
  ])
16288
16288
  ], 2)) : G("v-if", !0),
16289
16289
  W("div", {
@@ -16297,7 +16297,7 @@ const I8 = _t({
16297
16297
  class: L(h(t).e("footer"))
16298
16298
  }, [
16299
16299
  te(n.$slots, "footer", {}, () => [
16300
- Ee(ue(n.footer), 1)
16300
+ _e(de(n.footer), 1)
16301
16301
  ])
16302
16302
  ], 2)) : G("v-if", !0)
16303
16303
  ], 2));
@@ -16563,9 +16563,9 @@ const H8 = _t({
16563
16563
  key: 0,
16564
16564
  class: L(h(a).e("title")),
16565
16565
  role: "title"
16566
- }, ue(m.title), 3)) : G("v-if", !0),
16566
+ }, de(m.title), 3)) : G("v-if", !0),
16567
16567
  te(m.$slots, "default", {}, () => [
16568
- Ee(ue(m.content), 1)
16568
+ _e(de(m.content), 1)
16569
16569
  ])
16570
16570
  ]),
16571
16571
  default: R(() => [
@@ -17006,10 +17006,10 @@ const j4 = (e) => {
17006
17006
  setImmediate: h0,
17007
17007
  asap: H4
17008
17008
  };
17009
- function _e(e, t, n, r, o) {
17009
+ function xe(e, t, n, r, o) {
17010
17010
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
17011
17011
  }
17012
- z.inherits(_e, Error, {
17012
+ z.inherits(xe, Error, {
17013
17013
  toJSON: function() {
17014
17014
  return {
17015
17015
  // Standard
@@ -17030,7 +17030,7 @@ z.inherits(_e, Error, {
17030
17030
  };
17031
17031
  }
17032
17032
  });
17033
- const v0 = _e.prototype, g0 = {};
17033
+ const v0 = xe.prototype, g0 = {};
17034
17034
  [
17035
17035
  "ERR_BAD_OPTION_VALUE",
17036
17036
  "ERR_BAD_OPTION",
@@ -17048,13 +17048,13 @@ const v0 = _e.prototype, g0 = {};
17048
17048
  ].forEach((e) => {
17049
17049
  g0[e] = { value: e };
17050
17050
  });
17051
- Object.defineProperties(_e, g0);
17051
+ Object.defineProperties(xe, g0);
17052
17052
  Object.defineProperty(v0, "isAxiosError", { value: !0 });
17053
- _e.from = (e, t, n, r, o, a) => {
17053
+ xe.from = (e, t, n, r, o, a) => {
17054
17054
  const s = Object.create(v0);
17055
17055
  return z.toFlatObject(e, s, function(i) {
17056
17056
  return i !== Error.prototype;
17057
- }, (i) => i !== "isAxiosError"), _e.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, a && Object.assign(s, a), s;
17057
+ }, (i) => i !== "isAxiosError"), xe.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, a && Object.assign(s, a), s;
17058
17058
  };
17059
17059
  const U4 = null;
17060
17060
  function yc(e) {
@@ -17092,7 +17092,7 @@ function Yi(e, t, n) {
17092
17092
  if (z.isDate(v))
17093
17093
  return v.toISOString();
17094
17094
  if (!i && z.isBlob(v))
17095
- throw new _e("Blob is not supported. Use a Buffer instead.");
17095
+ throw new xe("Blob is not supported. Use a Buffer instead.");
17096
17096
  return z.isArrayBuffer(v) || z.isTypedArray(v) ? i && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
17097
17097
  }
17098
17098
  function c(v, d, p) {
@@ -17338,7 +17338,7 @@ const es = {
17338
17338
  return JSON.parse(e);
17339
17339
  } catch (a) {
17340
17340
  if (o)
17341
- throw a.name === "SyntaxError" ? _e.from(a, _e.ERR_BAD_RESPONSE, this, null, this.response) : a;
17341
+ throw a.name === "SyntaxError" ? xe.from(a, xe.ERR_BAD_RESPONSE, this, null, this.response) : a;
17342
17342
  }
17343
17343
  }
17344
17344
  return e;
@@ -17573,16 +17573,16 @@ function S0(e) {
17573
17573
  return !!(e && e.__CANCEL__);
17574
17574
  }
17575
17575
  function Jo(e, t, n) {
17576
- _e.call(this, e ?? "canceled", _e.ERR_CANCELED, t, n), this.name = "CanceledError";
17576
+ xe.call(this, e ?? "canceled", xe.ERR_CANCELED, t, n), this.name = "CanceledError";
17577
17577
  }
17578
- z.inherits(Jo, _e, {
17578
+ z.inherits(Jo, xe, {
17579
17579
  __CANCEL__: !0
17580
17580
  });
17581
17581
  function k0(e, t, n) {
17582
17582
  const r = n.config.validateStatus;
17583
- !n.status || !r || r(n.status) ? e(n) : t(new _e(
17583
+ !n.status || !r || r(n.status) ? e(n) : t(new xe(
17584
17584
  "Request failed with status code " + n.status,
17585
- [_e.ERR_BAD_REQUEST, _e.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
17585
+ [xe.ERR_BAD_REQUEST, xe.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
17586
17586
  n.config,
17587
17587
  n.request,
17588
17588
  n
@@ -17832,15 +17832,15 @@ const x0 = (e) => {
17832
17832
  "onloadend" in p ? p.onloadend = m : p.onreadystatechange = function() {
17833
17833
  !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(m);
17834
17834
  }, p.onabort = function() {
17835
- p && (n(new _e("Request aborted", _e.ECONNABORTED, e, p)), p = null);
17835
+ p && (n(new xe("Request aborted", xe.ECONNABORTED, e, p)), p = null);
17836
17836
  }, p.onerror = function() {
17837
- n(new _e("Network Error", _e.ERR_NETWORK, e, p)), p = null;
17837
+ n(new xe("Network Error", xe.ERR_NETWORK, e, p)), p = null;
17838
17838
  }, p.ontimeout = function() {
17839
17839
  let E = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
17840
17840
  const I = r.transitional || w0;
17841
- r.timeoutErrorMessage && (E = r.timeoutErrorMessage), n(new _e(
17841
+ r.timeoutErrorMessage && (E = r.timeoutErrorMessage), n(new xe(
17842
17842
  E,
17843
- I.clarifyTimeoutError ? _e.ETIMEDOUT : _e.ECONNABORTED,
17843
+ I.clarifyTimeoutError ? xe.ETIMEDOUT : xe.ECONNABORTED,
17844
17844
  e,
17845
17845
  p
17846
17846
  )), p = null;
@@ -17851,7 +17851,7 @@ const x0 = (e) => {
17851
17851
  }, r.cancelToken && r.cancelToken.subscribe(c), r.signal && (r.signal.aborted ? c() : r.signal.addEventListener("abort", c)));
17852
17852
  const y = f6(r.url);
17853
17853
  if (y && on.protocols.indexOf(y) === -1) {
17854
- n(new _e("Unsupported protocol " + y + ":", _e.ERR_BAD_REQUEST, e));
17854
+ n(new xe("Unsupported protocol " + y + ":", xe.ERR_BAD_REQUEST, e));
17855
17855
  return;
17856
17856
  }
17857
17857
  p.send(o || null);
@@ -17864,11 +17864,11 @@ const x0 = (e) => {
17864
17864
  if (!o) {
17865
17865
  o = !0, i();
17866
17866
  const u = c instanceof Error ? c : this.reason;
17867
- r.abort(u instanceof _e ? u : new Jo(u instanceof Error ? u.message : u));
17867
+ r.abort(u instanceof xe ? u : new Jo(u instanceof Error ? u.message : u));
17868
17868
  }
17869
17869
  };
17870
17870
  let s = t && setTimeout(() => {
17871
- s = null, a(new _e(`timeout ${t} of ms exceeded`, _e.ETIMEDOUT));
17871
+ s = null, a(new xe(`timeout ${t} of ms exceeded`, xe.ETIMEDOUT));
17872
17872
  }, t);
17873
17873
  const i = () => {
17874
17874
  e && (s && clearTimeout(s), s = null, e.forEach((c) => {
@@ -17958,7 +17958,7 @@ const x0 = (e) => {
17958
17958
  Xi && ((e) => {
17959
17959
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
17960
17960
  !ii[t] && (ii[t] = z.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
17961
- throw new _e(`Response type '${t}' is not supported`, _e.ERR_NOT_SUPPORT, r);
17961
+ throw new xe(`Response type '${t}' is not supported`, xe.ERR_NOT_SUPPORT, r);
17962
17962
  });
17963
17963
  });
17964
17964
  })(new Response());
@@ -18055,11 +18055,11 @@ const O6 = async (e) => {
18055
18055
  });
18056
18056
  } catch (y) {
18057
18057
  throw p && p(), y && y.name === "TypeError" && /fetch/i.test(y.message) ? Object.assign(
18058
- new _e("Network Error", _e.ERR_NETWORK, e, d),
18058
+ new xe("Network Error", xe.ERR_NETWORK, e, d),
18059
18059
  {
18060
18060
  cause: y.cause || y
18061
18061
  }
18062
- ) : _e.from(y, y && y.code, e, d);
18062
+ ) : xe.from(y, y && y.code, e, d);
18063
18063
  }
18064
18064
  }), Cc = {
18065
18065
  http: U4,
@@ -18085,7 +18085,7 @@ const sh = (e) => `- ${e}`, I6 = (e) => z.isFunction(e) || e === null || e === !
18085
18085
  n = e[a];
18086
18086
  let s;
18087
18087
  if (r = n, !I6(n) && (r = Cc[(s = String(n)).toLowerCase()], r === void 0))
18088
- throw new _e(`Unknown adapter '${s}'`);
18088
+ throw new xe(`Unknown adapter '${s}'`);
18089
18089
  if (r)
18090
18090
  break;
18091
18091
  o[s || "#" + a] = r;
@@ -18097,7 +18097,7 @@ const sh = (e) => `- ${e}`, I6 = (e) => z.isFunction(e) || e === null || e === !
18097
18097
  let s = t ? a.length > 1 ? `since :
18098
18098
  ` + a.map(sh).join(`
18099
18099
  `) : " " + sh(a[0]) : "as no adapter specified";
18100
- throw new _e(
18100
+ throw new xe(
18101
18101
  "There is no suitable adapter to dispatch the request " + s,
18102
18102
  "ERR_NOT_SUPPORT"
18103
18103
  );
@@ -18141,9 +18141,9 @@ Zu.transitional = function(e, t, n) {
18141
18141
  }
18142
18142
  return (o, a, s) => {
18143
18143
  if (e === !1)
18144
- throw new _e(
18144
+ throw new xe(
18145
18145
  r(a, " has been removed" + (t ? " in " + t : "")),
18146
- _e.ERR_DEPRECATED
18146
+ xe.ERR_DEPRECATED
18147
18147
  );
18148
18148
  return t && !lh[a] && (lh[a] = !0, console.warn(
18149
18149
  r(
@@ -18155,7 +18155,7 @@ Zu.transitional = function(e, t, n) {
18155
18155
  };
18156
18156
  function F6(e, t, n) {
18157
18157
  if (typeof e != "object")
18158
- throw new _e("options must be an object", _e.ERR_BAD_OPTION_VALUE);
18158
+ throw new xe("options must be an object", xe.ERR_BAD_OPTION_VALUE);
18159
18159
  const r = Object.keys(e);
18160
18160
  let o = r.length;
18161
18161
  for (; o-- > 0; ) {
@@ -18163,11 +18163,11 @@ function F6(e, t, n) {
18163
18163
  if (s) {
18164
18164
  const i = e[a], l = i === void 0 || s(i, a, e);
18165
18165
  if (l !== !0)
18166
- throw new _e("option " + a + " must be " + l, _e.ERR_BAD_OPTION_VALUE);
18166
+ throw new xe("option " + a + " must be " + l, xe.ERR_BAD_OPTION_VALUE);
18167
18167
  continue;
18168
18168
  }
18169
18169
  if (n !== !0)
18170
- throw new _e("Unknown option " + a, _e.ERR_BAD_OPTION);
18170
+ throw new xe("Unknown option " + a, xe.ERR_BAD_OPTION);
18171
18171
  }
18172
18172
  }
18173
18173
  const Sc = {
@@ -18457,7 +18457,7 @@ kt.CancelToken = Yu;
18457
18457
  kt.isCancel = S0;
18458
18458
  kt.VERSION = A0;
18459
18459
  kt.toFormData = Yi;
18460
- kt.AxiosError = _e;
18460
+ kt.AxiosError = xe;
18461
18461
  kt.Cancel = kt.CanceledError;
18462
18462
  kt.all = function(e) {
18463
18463
  return Promise.all(e);
@@ -18608,7 +18608,7 @@ const L6 = ["src"], B6 = ["src"], D6 = {
18608
18608
  G("", !0),
18609
18609
  e.showCardDetails ? (C(), F("div", D6, [
18610
18610
  e.data.hideType ? G("", !0) : (C(), F("p", M6, [
18611
- W("b", null, ue(e.data.type), 1)
18611
+ W("b", null, de(e.data.type), 1)
18612
18612
  ])),
18613
18613
  q(I, {
18614
18614
  "virtual-ref": a.value,
@@ -18623,7 +18623,7 @@ const L6 = ["src"], B6 = ["src"], D6 = {
18623
18623
  ref_key: "titleText",
18624
18624
  ref: a,
18625
18625
  class: "title"
18626
- }, ue(e.data.title), 513), [
18626
+ }, de(e.data.title), 513), [
18627
18627
  [wt, !e.data.hideTitle]
18628
18628
  ]),
18629
18629
  Oe(W("p", j6, null, 512), [
@@ -18635,7 +18635,7 @@ const L6 = ["src"], B6 = ["src"], D6 = {
18635
18635
  size: "large"
18636
18636
  }, {
18637
18637
  default: R(() => [
18638
- Ee(" View " + ue(e.data.type), 1)
18638
+ _e(" View " + de(e.data.type), 1)
18639
18639
  ]),
18640
18640
  _: 1
18641
18641
  })
@@ -19595,9 +19595,9 @@ function AN(e, t, n, r, o, a) {
19595
19595
  W("div", {
19596
19596
  class: "title",
19597
19597
  onClick: t[0] || (t[0] = (...f) => a.cardClicked && a.cardClicked(...f))
19598
- }, ue(n.entry.name), 1),
19599
- W("div", EN, ue(a.contributors) + " " + ue(n.entry.publishDate ? `(${a.publishYear})` : ""), 1),
19600
- W("div", xN, ue(a.samples), 1),
19598
+ }, de(n.entry.name), 1),
19599
+ W("div", EN, de(a.contributors) + " " + de(n.entry.publishDate ? `(${a.publishYear})` : ""), 1),
19600
+ W("div", xN, de(a.samples), 1),
19601
19601
  n.entry.detailsReady ? G("", !0) : Oe((C(), F("div", _N, null, 512)), [
19602
19602
  [u, !n.entry.detailsReady]
19603
19603
  ]),
@@ -19610,7 +19610,7 @@ function AN(e, t, n, r, o, a) {
19610
19610
  icon: o.ElIconView
19611
19611
  }, {
19612
19612
  default: R(() => t[1] || (t[1] = [
19613
- Ee("View repository")
19613
+ _e("View repository")
19614
19614
  ])),
19615
19615
  _: 1
19616
19616
  }, 8, ["onClick", "icon"])) : G("", !0)
@@ -19676,13 +19676,10 @@ const IN = {
19676
19676
  sortSearchHistory(e, t) {
19677
19677
  return e.saved !== t.saved ? t.saved - e.saved : e.updated !== t.updated ? t.updated - e.updated : 0;
19678
19678
  },
19679
- formatFilters(e) {
19680
- return e.facet2 && (e.facet = e.facet2, delete e.facet2), e;
19681
- },
19682
19679
  addSearchToHistory(e = [], t = "") {
19683
19680
  if (t = t.trim(), !this.searchHistory.some((r) => {
19684
19681
  let o = r.filters, a = e;
19685
- o.forEach((l) => this.formatFilters(l)), a.forEach((l) => this.formatFilters(l)), o = o.sort(this.sortFilters), a = a.sort(this.sortFilters);
19682
+ o = o.sort(this.sortFilters), a = a.sort(this.sortFilters);
19686
19683
  const s = JSON.stringify(o), i = JSON.stringify(a);
19687
19684
  return r.search === t && s === i;
19688
19685
  })) {
@@ -19732,9 +19729,7 @@ const IN = {
19732
19729
  const { label: t, longLabel: n } = this.searchHistoryItemLabel(e.search, e.filters);
19733
19730
  e.label = t, e.longLabel = n;
19734
19731
  }
19735
- e.filters.forEach(
19736
- (t) => this.formatFilters(t)
19737
- ), e.filters = e.filters.sort(this.sortFilters), e.saved || (e.saved = !1), e.updated || (e.updated = (/* @__PURE__ */ new Date()).getTime());
19732
+ e.filters = e.filters.sort(this.sortFilters), e.saved || (e.saved = !1), e.updated || (e.updated = (/* @__PURE__ */ new Date()).getTime());
19738
19733
  }), this.searchHistory = this.searchHistory.sort(this.sortSearchHistory), this.removeDuplicateSearchHistory(), this.trimSearchHistory(), localStorage.setItem(this.localStorageKey, JSON.stringify(this.searchHistory));
19739
19734
  },
19740
19735
  search: function(e) {
@@ -19742,7 +19737,7 @@ const IN = {
19742
19737
  },
19743
19738
  searchHistoryItemLabel: function(e, t) {
19744
19739
  let n = e ? `"${e.trim()}"` : "", r = "", o = [], a = [];
19745
- return t && (o = t.filter((s) => s.facet !== "Show all"), a = o.map((s) => s.facet2 || s.facet)), n && o.length && (r += n, r += `, ${a.join(", ")}`, n += ` (+${o.length})`), !n && o.length && (n = o[0].facet, o.length > 1 && (r += `${a.join(", ")}`, n += ` (+${o.length - 1})`)), n ? n.length > 15 && !r && (r = n) : n = "", { label: n, longLabel: r };
19740
+ return t && (o = t.filter((s) => s.facet !== "Show all"), a = o.map((s) => s.facet)), n && o.length && (r += n, r += `, ${a.join(", ")}`, n += ` (+${o.length})`), !n && o.length && (n = o[0].facet, o.length > 1 && (r += `${a.join(", ")}`, n += ` (+${o.length - 1})`)), n ? n.length > 15 && !r && (r = n) : n = "", { label: n, longLabel: r };
19746
19741
  },
19747
19742
  toggleSavedSearch: function(e) {
19748
19743
  this.searchHistory.forEach((t) => {
@@ -19790,14 +19785,14 @@ function zN(e, t, n, r, o, a) {
19790
19785
  "popper-class": "popover-dropdown"
19791
19786
  }, {
19792
19787
  reference: R(() => [
19793
- Ee(ue(p.label), 1)
19788
+ _e(de(p.label), 1)
19794
19789
  ]),
19795
19790
  default: R(() => [
19796
- Ee(" " + ue(p.longLabel), 1)
19791
+ _e(" " + de(p.longLabel), 1)
19797
19792
  ]),
19798
19793
  _: 2
19799
19794
  }, 1024)) : (C(), F(Pe, { key: 1 }, [
19800
- Ee(ue(p.label), 1)
19795
+ _e(de(p.label), 1)
19801
19796
  ], 64))
19802
19797
  ]),
19803
19798
  _: 2
@@ -19830,17 +19825,17 @@ function zN(e, t, n, r, o, a) {
19830
19825
  W("span", {
19831
19826
  class: "dropdown-clickable-item",
19832
19827
  onClick: (m) => a.search(p)
19833
- }, ue(p.label), 9, NN)
19828
+ }, de(p.label), 9, NN)
19834
19829
  ]),
19835
19830
  default: R(() => [
19836
- Ee(" " + ue(p.longLabel), 1)
19831
+ _e(" " + de(p.longLabel), 1)
19837
19832
  ]),
19838
19833
  _: 2
19839
19834
  }, 1024)) : (C(), F("span", {
19840
19835
  key: 1,
19841
19836
  class: "dropdown-clickable-item",
19842
19837
  onClick: (m) => a.search(p)
19843
- }, ue(p.label), 9, LN))
19838
+ }, de(p.label), 9, LN))
19844
19839
  ]),
19845
19840
  W("div", null, [
19846
19841
  q(s, {
@@ -19918,7 +19913,7 @@ function zN(e, t, n, r, o, a) {
19918
19913
  ]),
19919
19914
  default: R(() => [
19920
19915
  W("span", RN, [
19921
- t[1] || (t[1] = Ee(" Search history ")),
19916
+ t[1] || (t[1] = _e(" Search history ")),
19922
19917
  q(c, { class: "el-icon--right" }, {
19923
19918
  default: R(() => [
19924
19919
  q(l)
@@ -19931,7 +19926,7 @@ function zN(e, t, n, r, o, a) {
19931
19926
  })
19932
19927
  ])) : G("", !0);
19933
19928
  }
19934
- const el = /* @__PURE__ */ $n(IN, [["render", zN], ["__scopeId", "data-v-871e93b9"]]), K0 = (e, t) => {
19929
+ const el = /* @__PURE__ */ $n(IN, [["render", zN], ["__scopeId", "data-v-566eaa1a"]]), K0 = (e, t) => {
19935
19930
  const n = e.__vccOpts || e;
19936
19931
  for (const [r, o] of t)
19937
19932
  n[r] = o;
@@ -21061,7 +21056,7 @@ var Ty = { exports: {} };
21061
21056
  return function(S, k) {
21062
21057
  return b.transporter.read({ method: j, path: "1/indexes/*/objects", data: { requests: S } }, k);
21063
21058
  };
21064
- }, de = function(b) {
21059
+ }, ue = function(b) {
21065
21060
  return function(S, k) {
21066
21061
  var T = S.map(function(N) {
21067
21062
  return o(o({}, N), {}, { params: ge(N.params || {}) });
@@ -21549,7 +21544,7 @@ var Ty = { exports: {} };
21549
21544
  return Promise.all([ce.requestsCache.clear(), ce.responsesCache.clear()]).then(function() {
21550
21545
  });
21551
21546
  } }, X.methods);
21552
- }(o(o({}, ne), {}, { methods: { search: de, searchForFacetValues: fe, multipleBatch: Br, multipleGetObjects: Z, multipleQueries: de, copyIndex: ct, copySettings: qt, copySynonyms: Et, copyRules: Ut, moveIndex: Lr, listIndices: ho, getLogs: sn, listClusters: ln, multipleSearchForFacetValues: fe, getApiKey: Ue, addApiKey: yn, listApiKeys: jt, updateApiKey: rl, deleteApiKey: Nt, restoreApiKey: Wt, assignUserID: Rt, assignUserIDs: Ot, getUserID: ee, searchUserIDs: ts, listUserIDs: Yo, getTopUserIDs: At, removeUserID: qe, hasPendingMappings: Ie, clearDictionaryEntries: rt, deleteDictionaryEntries: bn, getDictionarySettings: Mt, getAppTask: Tt, replaceDictionaryEntries: cn, saveDictionaryEntries: un, searchDictionaryEntries: vo, setDictionarySettings: nl, waitAppTask: mr, customRequest: Kt, initIndex: function(X) {
21547
+ }(o(o({}, ne), {}, { methods: { search: ue, searchForFacetValues: fe, multipleBatch: Br, multipleGetObjects: Z, multipleQueries: ue, copyIndex: ct, copySettings: qt, copySynonyms: Et, copyRules: Ut, moveIndex: Lr, listIndices: ho, getLogs: sn, listClusters: ln, multipleSearchForFacetValues: fe, getApiKey: Ue, addApiKey: yn, listApiKeys: jt, updateApiKey: rl, deleteApiKey: Nt, restoreApiKey: Wt, assignUserID: Rt, assignUserIDs: Ot, getUserID: ee, searchUserIDs: ts, listUserIDs: Yo, getTopUserIDs: At, removeUserID: qe, hasPendingMappings: Ie, clearDictionaryEntries: rt, deleteDictionaryEntries: bn, getDictionarySettings: Mt, getAppTask: Tt, replaceDictionaryEntries: cn, saveDictionaryEntries: un, searchDictionaryEntries: vo, setDictionarySettings: nl, waitAppTask: mr, customRequest: Kt, initIndex: function(X) {
21553
21548
  return function(oe) {
21554
21549
  return ot(X)(oe, { methods: { batch: Xo, delete: cl, findAnswers: qn, getObject: go, getObjects: wn, saveObject: Vy, saveObjects: dl, search: rd, searchForFacetValues: od, waitTask: gt, setSettings: Uy, getSettings: td, partialUpdateObject: By, partialUpdateObjects: nd, deleteObject: ul, deleteObjects: V, deleteBy: ll, clearObjects: sl, browseObjects: ol, getObjectPosition: rr, findObject: yr, exists: Ke, saveSynonym: Hy, saveSynonyms: pl, getSynonym: Ly, searchSynonyms: sd, browseSynonyms: al, deleteSynonym: Te, clearSynonyms: il, replaceAllObjects: Dy, replaceAllSynonyms: jy, searchRules: ad, getRule: rs, deleteRule: ie, saveRule: zy, saveRules: fl, replaceAllRules: My, browseRules: Qo, clearRules: ns } });
21555
21550
  };
@@ -21803,7 +21798,7 @@ const ci = function(e) {
21803
21798
  return e.charAt(0).toUpperCase() + e.slice(1);
21804
21799
  }, Hl = function(e) {
21805
21800
  const t = e.toLowerCase();
21806
- return li[t] ? ci(li[t]) : ci(t);
21801
+ return li[t] ? ci(li[t]) : e === e.toUpperCase() ? e : ci(t);
21807
21802
  }, oL = {
21808
21803
  name: "SearchFilters",
21809
21804
  components: {
@@ -21871,6 +21866,17 @@ const ci = function(e) {
21871
21866
  return this.entry.showFilters;
21872
21867
  }
21873
21868
  },
21869
+ watch: {
21870
+ entry: {
21871
+ deep: !0,
21872
+ immediate: !0,
21873
+ handler: function(e, t) {
21874
+ JSON.stringify(e == null ? void 0 : e.options) !== JSON.stringify(t == null ? void 0 : t.options) && (this.options = [], this.filters = [], this.cascaderIsReady = !1, this.populateCascader().then(() => {
21875
+ this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.cssMods(), this.$emit("cascaderReady");
21876
+ }));
21877
+ }
21878
+ }
21879
+ },
21874
21880
  methods: {
21875
21881
  createCascaderItemValue: function(e, t = void 0, n = void 0) {
21876
21882
  let r = e;
@@ -21883,7 +21889,7 @@ const ci = function(e) {
21883
21889
  this.options[t].total = this.countTotalFacet(e), this.options[t].label = Hl(e.label), this.options[t].value = this.createCascaderItemValue(
21884
21890
  e.key,
21885
21891
  void 0
21886
- ), this.options[t].children.unshift({
21892
+ ), this.options[t].children.find((n) => n.label === "Show all") || this.options[t].children.unshift({
21887
21893
  value: this.createCascaderItemValue("Show all"),
21888
21894
  label: "Show all"
21889
21895
  }), this.options[t].children.forEach((n, r) => {
@@ -21979,34 +21985,34 @@ const ci = function(e) {
21979
21985
  let t = [...e];
21980
21986
  if (t) {
21981
21987
  if (t = this.showAllEventModifier(t), t = this.showAllEventModifierForAutoCheckAll(t), this.__expandItem__) {
21982
- let a = 0;
21983
- this.__expandItem__.length > 1 && (a = 1);
21984
- const s = t.filter((l) => l[a] == this.__expandItem__[a]), i = t.filter((l) => l[a] !== this.__expandItem__[a]);
21985
- t = [...s, ...i];
21988
+ let o = 0;
21989
+ this.__expandItem__.length > 1 && (o = 1);
21990
+ const a = t.filter((i) => i[o] == this.__expandItem__[o]), s = t.filter((i) => i[o] !== this.__expandItem__[o]);
21991
+ t = [...a, ...s];
21986
21992
  }
21987
- let n = t.filter((a) => a !== void 0).map((a) => {
21988
- let { hString: s, bString: i } = this.findHierarachyStringAndBooleanString(a), { facet: l, facet2: c, term: u } = this.getFacetsFromHierarchyString(s);
21993
+ let n = t.filter((o) => o !== void 0).map((o) => {
21994
+ let { hString: a, bString: s } = this.findHierarachyStringAndBooleanString(o), { facet: i, facet2: l, term: c } = this.getFacetsFromHierarchyString(a);
21989
21995
  return {
21990
- facetPropPath: a[0],
21991
- facet: l,
21992
- facet2: c,
21993
- term: u,
21994
- AND: i
21996
+ facetPropPath: o[0],
21997
+ facet: i,
21998
+ facet2: l,
21999
+ term: c,
22000
+ AND: s
21995
22001
  // for setting the boolean
21996
22002
  };
21997
- }), r = t.filter((a) => a !== void 0).map((a) => {
21998
- let s, i = a[0].includes("duplicate") ? a[0].split("duplicate")[0] : a[0], { hString: l, bString: c } = this.findHierarachyStringAndBooleanString(a), { facet: u, facet2: f, term: g } = this.getFacetsFromHierarchyString(l);
21999
- return f && (u = f, s = "anatomy.organ.name"), {
22000
- facetPropPath: i,
22001
- facet: u,
22002
- term: g,
22003
- AND: c,
22003
+ }), r = t.filter((o) => o !== void 0).map((o) => {
22004
+ let a, s = o[0].includes("duplicate") ? o[0].split("duplicate")[0] : o[0], { hString: i, bString: l } = this.findHierarachyStringAndBooleanString(o), { facet: c, facet2: u, term: f } = this.getFacetsFromHierarchyString(i);
22005
+ return u && (c = u, a = "anatomy.organ.name"), {
22006
+ facetPropPath: s,
22007
+ facet: c,
22008
+ term: f,
22009
+ AND: l,
22004
22010
  // for setting the boolean
22005
- facetSubPropPath: s
22011
+ facetSubPropPath: a
22006
22012
  // will be used for filters if we are at the third level of the cascader
22007
22013
  };
22008
22014
  });
22009
- r.filter((a) => a.facet !== "Show all").length || (r = []), this.filterTimeout && clearTimeout(this.filterTimeout), this.$emit("loading", !0), this.setCascader(n), this.filterTimeout = setTimeout(() => {
22015
+ this.filterTimeout && clearTimeout(this.filterTimeout), this.$emit("loading", !0), this.setCascader(n), this.filterTimeout = setTimeout(() => {
22010
22016
  this.$emit("filterResults", r), this.cssMods();
22011
22017
  }, 600);
22012
22018
  }
@@ -22196,19 +22202,19 @@ const ci = function(e) {
22196
22202
  this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady");
22197
22203
  });
22198
22204
  }
22199
- }, aL = { class: "filters" }, sL = {
22205
+ }, aL = { class: "filters" }, sL = { key: 0 }, iL = {
22200
22206
  key: 0,
22201
22207
  class: "cascader-tag"
22202
- }, iL = { class: "el-tags-container" }, lL = { class: "el-tags-container" }, cL = { class: "search-filters transition-box" }, uL = {
22208
+ }, lL = { class: "tag-text" }, cL = { class: "el-tags-container" }, uL = { class: "el-tags-container" }, dL = { class: "search-filters transition-box" }, fL = {
22203
22209
  key: 0,
22204
22210
  class: "filter-default-value"
22205
- }, dL = { class: "dataset-shown" }, fL = { class: "dataset-results-feedback" };
22206
- function pL(e, t, n, r, o, a) {
22211
+ }, pL = { class: "dataset-shown" }, hL = { class: "dataset-results-feedback" };
22212
+ function vL(e, t, n, r, o, a) {
22207
22213
  const s = Se("MapSvgSpriteColor"), i = Ro, l = Ri, c = Sg, u = Se("MapSvgIcon"), f = vu, g = Pi, v = Ho;
22208
22214
  return C(), F("div", aL, [
22209
22215
  q(s),
22210
- Oe(W("div", null, [
22211
- e.presentTags.length > 0 ? (C(), F("div", sL, [
22216
+ a.showFilters ? (C(), F("div", sL, [
22217
+ e.presentTags.length > 0 ? (C(), F("div", iL, [
22212
22218
  q(i, {
22213
22219
  class: "ml-2",
22214
22220
  type: "info",
@@ -22216,19 +22222,19 @@ function pL(e, t, n, r, o, a) {
22216
22222
  onClose: t[0] || (t[0] = (d) => a.cascadeTagClose(e.presentTags[0]))
22217
22223
  }, {
22218
22224
  default: R(() => [
22219
- Ee(ue(e.presentTags[0]), 1)
22225
+ W("p", lL, de(e.presentTags[0]), 1)
22220
22226
  ]),
22221
22227
  _: 1
22222
22228
  }),
22223
22229
  e.presentTags.length > 1 ? (C(), Y(l, {
22224
22230
  key: 0,
22225
22231
  placement: "bottom-start",
22226
- width: 200,
22232
+ width: 250,
22227
22233
  trigger: "hover",
22228
22234
  "popper-class": "cascade-tags-popover"
22229
22235
  }, {
22230
22236
  default: R(() => [
22231
- W("div", iL, [
22237
+ W("div", cL, [
22232
22238
  (C(!0), F(Pe, null, ft(e.presentTags.slice(1), (d, p) => (C(), Y(i, {
22233
22239
  key: p,
22234
22240
  class: "ml-2",
@@ -22237,21 +22243,21 @@ function pL(e, t, n, r, o, a) {
22237
22243
  onClose: (m) => a.cascadeTagClose(d)
22238
22244
  }, {
22239
22245
  default: R(() => [
22240
- Ee(ue(d), 1)
22246
+ _e(de(d), 1)
22241
22247
  ]),
22242
22248
  _: 2
22243
22249
  }, 1032, ["onClose"]))), 128))
22244
22250
  ])
22245
22251
  ]),
22246
22252
  reference: R(() => [
22247
- W("div", lL, [
22253
+ W("div", uL, [
22248
22254
  e.presentTags.length > 1 ? (C(), Y(i, {
22249
22255
  key: 0,
22250
22256
  class: "ml-2",
22251
22257
  type: "info"
22252
22258
  }, {
22253
22259
  default: R(() => [
22254
- Ee(" +" + ue(e.presentTags.length - 1), 1)
22260
+ _e(" +" + de(e.presentTags.length - 1), 1)
22255
22261
  ]),
22256
22262
  _: 1
22257
22263
  })) : G("", !0)
@@ -22262,7 +22268,7 @@ function pL(e, t, n, r, o, a) {
22262
22268
  ])) : G("", !0),
22263
22269
  q(Fr, { name: "el-zoom-in-top" }, {
22264
22270
  default: R(() => [
22265
- Oe((C(), F("span", cL, [
22271
+ Oe((C(), F("span", dL, [
22266
22272
  q(c, {
22267
22273
  class: "cascader",
22268
22274
  ref: "cascader",
@@ -22279,7 +22285,7 @@ function pL(e, t, n, r, o, a) {
22279
22285
  "show-all-levels": !0,
22280
22286
  "popper-class": "sidebar-cascader-popper"
22281
22287
  }, null, 8, ["modelValue", "options", "props", "onExpandChange"]),
22282
- e.showFiltersText ? (C(), F("div", uL, "Filters")) : G("", !0),
22288
+ e.showFiltersText ? (C(), F("div", fL, "Filters")) : G("", !0),
22283
22289
  q(l, {
22284
22290
  title: "How do filters work?",
22285
22291
  width: "250",
@@ -22295,15 +22301,15 @@ function pL(e, t, n, r, o, a) {
22295
22301
  default: R(() => [
22296
22302
  t[5] || (t[5] = W("div", null, [
22297
22303
  W("strong", null, "Within categories:"),
22298
- Ee(" OR "),
22304
+ _e(" OR "),
22299
22305
  W("br"),
22300
- Ee(" example: 'heart' OR 'colon' "),
22306
+ _e(" example: 'heart' OR 'colon' "),
22301
22307
  W("br"),
22302
22308
  W("br"),
22303
22309
  W("strong", null, "Between categories:"),
22304
- Ee(" AND "),
22310
+ _e(" AND "),
22305
22311
  W("br"),
22306
- Ee(" example: 'rat' AND 'lung' ")
22312
+ _e(" example: 'rat' AND 'lung' ")
22307
22313
  ], -1))
22308
22314
  ]),
22309
22315
  _: 1
@@ -22314,11 +22320,9 @@ function pL(e, t, n, r, o, a) {
22314
22320
  ]),
22315
22321
  _: 1
22316
22322
  })
22317
- ], 512), [
22318
- [wt, a.showFilters]
22319
- ]),
22320
- W("div", dL, [
22321
- W("span", fL, ue(a.numberOfResultsText), 1),
22323
+ ])) : G("", !0),
22324
+ W("div", pL, [
22325
+ W("span", hL, de(a.numberOfResultsText), 1),
22322
22326
  q(g, {
22323
22327
  class: "number-shown-select",
22324
22328
  modelValue: e.numberShown,
@@ -22338,15 +22342,14 @@ function pL(e, t, n, r, o, a) {
22338
22342
  ])
22339
22343
  ]);
22340
22344
  }
22341
- const tl = /* @__PURE__ */ $n(oL, [["render", pL], ["__scopeId", "data-v-2595feb5"]]);
22342
- var hL = async function(e) {
22345
+ const tl = /* @__PURE__ */ $n(oL, [["render", vL], ["__scopeId", "data-v-403270fe"]]);
22346
+ var gL = async function(e) {
22343
22347
  if (!e.ok) {
22344
22348
  let t = await e.json();
22345
22349
  throw t ? new Error(t.message) : new Error(e);
22346
22350
  }
22347
22351
  return e;
22348
- }, vL = {
22349
- filters: [],
22352
+ }, mL = {
22350
22353
  searchInput: "",
22351
22354
  lastSearch: "",
22352
22355
  results: [],
@@ -22360,7 +22363,7 @@ var hL = async function(e) {
22360
22363
  hasSearched: !1,
22361
22364
  contextCardEnabled: !1
22362
22365
  };
22363
- const gL = {
22366
+ const yL = {
22364
22367
  components: {
22365
22368
  SearchFilters: tl,
22366
22369
  DatasetCard: q0,
@@ -22384,7 +22387,7 @@ const gL = {
22384
22387
  },
22385
22388
  entry: {
22386
22389
  type: Object,
22387
- default: () => vL
22390
+ default: () => mL
22388
22391
  },
22389
22392
  envVars: {
22390
22393
  type: Object,
@@ -22416,14 +22419,14 @@ const gL = {
22416
22419
  },
22417
22420
  methods: {
22418
22421
  hoverChanged: function(e) {
22419
- const t = e && { ...e, type: "dataset" };
22422
+ const t = e ? { ...e, tabType: "dataset" } : { tabType: "dataset" };
22420
22423
  this.$emit("hover-changed", t);
22421
22424
  },
22422
22425
  resetSearch: function() {
22423
22426
  this.numberOfHits = 0, this.discoverIds = [], this._dois = [], this.results = [], this.loadingCards = !1;
22424
22427
  },
22425
- openSearch: function(e, t = "", n = { withSearch: !0 }) {
22426
- this.searchInput = t, this.resetPageNavigation(), this.cascaderIsReady ? (this.filter = this.$refs.filtersRef.getHierarchicalValidatedFilters(e), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (n.withSearch && this.searchAlgolia(this.filter, t), this.$refs.filtersRef.setCascader(this.filter), this.searchHistoryUpdate(this.filter, t))) : (this.filter = e, (!e || e.length == 0) && n.withSearch && (this.searchAlgolia(this.filter, t), this.searchHistoryUpdate(this.filter, t)));
22428
+ openSearch: function(e, t = "") {
22429
+ this.searchInput = t, this.resetPageNavigation(), this.cascaderIsReady ? (this.filter = this.$refs.filtersRef.getHierarchicalValidatedFilters(e), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (this.searchAlgolia(this.filter, t), this.$refs.filtersRef.setCascader(this.filter), this.searchHistoryUpdate(this.filter, t))) : (this.filter = e, (!e || e.length == 0) && (this.searchAlgolia(this.filter, t), this.searchHistoryUpdate(this.filter, t)));
22427
22430
  },
22428
22431
  addFilter: function(e) {
22429
22432
  this.cascaderIsReady ? (this.resetPageNavigation(), e && this.$refs.filtersRef.addFilter(e) && this.$refs.filtersRef.initiateSearch()) : Array.isArray(this.filter) ? this.filter.push(e) : this.filter = [e];
@@ -22438,31 +22441,17 @@ const gL = {
22438
22441
  (e.keyCode === 13 || e instanceof MouseEvent) && (this.searchInput = this.searchInput.trim(), this.searchAndFilterUpdate());
22439
22442
  },
22440
22443
  filterUpdate: function(e) {
22441
- this.filters = [...e], this.searchAndFilterUpdate(), this.$emit("search-changed", {
22444
+ this.filter = [...e], this.searchAndFilterUpdate(), this.$emit("search-changed", {
22442
22445
  value: e,
22446
+ tabType: "dataset",
22443
22447
  type: "filter-update"
22444
22448
  });
22445
22449
  },
22446
- /**
22447
- * Transform filters for third level items to perform search
22448
- * because cascader keeps adding it back.
22449
- */
22450
- transformFiltersBeforeSearch: function(e) {
22451
- return e.map((t) => (t.facet2 && (t.facet = t.facet2, delete t.facet2), t));
22452
- },
22453
22450
  searchAndFilterUpdate: function() {
22454
- this.resetPageNavigation();
22455
- const e = this.transformFiltersBeforeSearch(this.filters);
22456
- this.searchAlgolia(e, this.searchInput), this.searchHistoryUpdate(this.filters, this.searchInput);
22451
+ this.resetPageNavigation(), this.searchAlgolia(this.filter, this.searchInput), this.searchHistoryUpdate(this.filter, this.searchInput);
22457
22452
  },
22458
22453
  searchHistoryUpdate: function(e, t) {
22459
- if (this.$refs.searchHistory.selectValue = "Search history", e.length || t != null && t.trim()) {
22460
- const n = this.transformFiltersBeforeSearch(e);
22461
- this.$refs.searchHistory.addSearchToHistory(
22462
- n,
22463
- t
22464
- );
22465
- }
22454
+ this.$refs.searchHistory.selectValue = "Search history", (e.length || t != null && t.trim()) && this.$refs.searchHistory.addSearchToHistory(e, t);
22466
22455
  },
22467
22456
  searchAlgolia(e, t = "") {
22468
22457
  this.loadingCards = !0, this.algoliaClient.anatomyInSearch(mh(e), t).then((n) => {
@@ -22470,6 +22459,7 @@ const gL = {
22470
22459
  }), this.algoliaClient.search(mh(e), t, this.numberPerPage, this.page).then((n) => {
22471
22460
  this.numberOfHits = n.total, this.discoverIds = n.discoverIds, this._dois = n.dois, this.results = n.items, this.loadingCards = !1, this.scrollToTop(), this.$emit("search-changed", {
22472
22461
  value: this.searchInput,
22462
+ tabType: "dataset",
22473
22463
  type: "query-update"
22474
22464
  }), this._abortController && this._abortController.abort(), this._abortController = new AbortController();
22475
22465
  const r = this._abortController.signal;
@@ -22484,7 +22474,7 @@ const gL = {
22484
22474
  },
22485
22475
  pageChange: function(e) {
22486
22476
  this.start = (e - 1) * this.numberPerPage, this.page = e, this.searchAlgolia(
22487
- this.filters,
22477
+ this.filter,
22488
22478
  this.searchInput,
22489
22479
  this.numberPerPage,
22490
22480
  this.page
@@ -22557,7 +22547,7 @@ const gL = {
22557
22547
  callSciCrunch: function(e, t = {}, n) {
22558
22548
  return new Promise((r, o) => {
22559
22549
  let a = this.envVars.API_LOCATION + this.searchEndpoint + "?" + this.createfilterParams(t);
22560
- fetch(a, { signal: n }).then(hL).then((s) => s.json()).then((s) => r(s)).catch((s) => o(s));
22550
+ fetch(a, { signal: n }).then(gL).then((s) => s.json()).then((s) => r(s)).catch((s) => o(s));
22561
22551
  });
22562
22552
  },
22563
22553
  getAlgoliaFacets: async function() {
@@ -22566,7 +22556,7 @@ const gL = {
22566
22556
  );
22567
22557
  },
22568
22558
  searchHistorySearch: function(e) {
22569
- this.searchInput = e.search, this.filters = e.filters, this.searchAndFilterUpdate(), this.openSearch([...e.filters], e.search, { withSearch: !1 });
22559
+ this.searchInput = e.search, this.filter = e.filters, this.openSearch([...e.filters], e.search);
22570
22560
  }
22571
22561
  },
22572
22562
  mounted: function() {
@@ -22579,21 +22569,21 @@ const gL = {
22579
22569
  created: function() {
22580
22570
  this.searchEndpoint = "dataset_info/using_multiple_dois/";
22581
22571
  }
22582
- }, mL = { class: "header" }, yL = {
22572
+ }, bL = { class: "header" }, wL = {
22583
22573
  class: "content scrollbar",
22584
22574
  ref: "content"
22585
- }, bL = {
22575
+ }, CL = {
22586
22576
  key: 0,
22587
22577
  class: "error-feedback"
22588
22578
  };
22589
- function wL(e, t, n, r, o, a) {
22579
+ function SL(e, t, n, r, o, a) {
22590
22580
  const s = Vo, i = Ht, l = tl, c = el, u = q0, f = $i, g = Ai, v = Ho;
22591
22581
  return C(), Y(g, {
22592
22582
  "body-style": e.bodyStyle,
22593
22583
  class: "content-card"
22594
22584
  }, {
22595
22585
  header: R(() => [
22596
- W("div", mL, [
22586
+ W("div", bL, [
22597
22587
  q(s, {
22598
22588
  class: "search-input",
22599
22589
  placeholder: "Search",
@@ -22610,7 +22600,7 @@ function wL(e, t, n, r, o, a) {
22610
22600
  size: "large"
22611
22601
  }, {
22612
22602
  default: R(() => t[4] || (t[4] = [
22613
- Ee(" Search ")
22603
+ _e(" Search ")
22614
22604
  ])),
22615
22605
  _: 1
22616
22606
  }, 8, ["onClick"]),
@@ -22621,7 +22611,7 @@ function wL(e, t, n, r, o, a) {
22621
22611
  size: "large"
22622
22612
  }, {
22623
22613
  default: R(() => t[5] || (t[5] = [
22624
- Ee(" Reset ")
22614
+ _e(" Reset ")
22625
22615
  ])),
22626
22616
  _: 1
22627
22617
  })
@@ -22643,8 +22633,8 @@ function wL(e, t, n, r, o, a) {
22643
22633
  localStorageKey: "sparc.science-dataset-search-history",
22644
22634
  onSearch: a.searchHistorySearch
22645
22635
  }, null, 8, ["onSearch"]),
22646
- Oe((C(), F("div", yL, [
22647
- e.results.length === 0 && !e.loadingCards ? (C(), F("div", bL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
22636
+ Oe((C(), F("div", wL, [
22637
+ e.results.length === 0 && !e.loadingCards ? (C(), F("div", CL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
22648
22638
  (C(!0), F(Pe, null, ft(e.results, (d) => (C(), F("div", {
22649
22639
  key: d.doi,
22650
22640
  class: "step-item"
@@ -22675,9 +22665,9 @@ function wL(e, t, n, r, o, a) {
22675
22665
  _: 1
22676
22666
  }, 8, ["body-style"]);
22677
22667
  }
22678
- const Iy = /* @__PURE__ */ $n(gL, [["render", wL], ["__scopeId", "data-v-ef9e525c"]]), CL = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), da = function(e) {
22668
+ const Iy = /* @__PURE__ */ $n(yL, [["render", SL], ["__scopeId", "data-v-6e24e300"]]), kL = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), da = function(e) {
22679
22669
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
22680
- }, SL = {
22670
+ }, EL = {
22681
22671
  name: "ConnectivityInfo",
22682
22672
  components: {
22683
22673
  Button: Ht,
@@ -22716,7 +22706,6 @@ const Iy = /* @__PURE__ */ $n(gL, [["render", wL], ["__scopeId", "data-v-ef9e525
22716
22706
  },
22717
22707
  data: function() {
22718
22708
  return {
22719
- entryIndex: 0,
22720
22709
  updatedCopyContent: "",
22721
22710
  activeView: "listView",
22722
22711
  connectivityLoading: !1,
@@ -22728,13 +22717,7 @@ const Iy = /* @__PURE__ */ $n(gL, [["render", wL], ["__scopeId", "data-v-ef9e525
22728
22717
  },
22729
22718
  computed: {
22730
22719
  entry: function() {
22731
- return this.entryId ? this.connectivityEntry.filter((e) => e.featureId[0] === this.entryId)[this.entryIndex] : this.connectivityEntry[this.entryIndex];
22732
- },
22733
- previousLabel: function() {
22734
- return this.entryIndex === 0 ? "This is the first item. Click 'Next' to see more information." : this.connectivityEntry[this.entryIndex - 1].title;
22735
- },
22736
- nextLabel: function() {
22737
- return this.entryIndex === this.connectivityEntry.length - 1 ? "This is the last item. Click 'Previous' to see more information." : this.connectivityEntry[this.entryIndex + 1].title;
22720
+ return this.connectivityEntry.find((e) => e.featureId[0] === this.entryId);
22738
22721
  },
22739
22722
  hasProvenanceTaxonomyLabel: function() {
22740
22723
  return this.entry.provenanceTaxonomyLabel && this.entry.provenanceTaxonomyLabel.length > 0;
@@ -22781,19 +22764,13 @@ const Iy = /* @__PURE__ */ $n(gL, [["render", wL], ["__scopeId", "data-v-ef9e525
22781
22764
  deep: !0,
22782
22765
  immediate: !0,
22783
22766
  handler: function(e, t) {
22784
- e !== t && (this.connectivityLoading = !0, this.activeView = localStorage.getItem("connectivity-active-view") || this.activeView, this.activeView === "graphView" && (this.graphViewLoaded = !0), this.connectivitySource = this.entry.connectivitySource, this.updateGraphConnectivity(), this.connectivityLoading = !1, (!t || (e == null ? void 0 : e.featureId[0]) !== (t == null ? void 0 : t.featureId[0])) && this.$emit("loaded"));
22767
+ e && e !== t && (this.connectivityLoading = !0, this.activeView = localStorage.getItem("connectivity-active-view") || this.activeView, this.activeView === "graphView" && (this.graphViewLoaded = !0), this.connectivitySource = this.entry.connectivitySource, this.updateGraphConnectivity(), this.connectivityLoading = !1, (!t || (e == null ? void 0 : e.featureId[0]) !== (t == null ? void 0 : t.featureId[0])) && this.$emit("loaded"));
22785
22768
  }
22786
22769
  }
22787
22770
  },
22788
22771
  methods: {
22789
- previous: function() {
22790
- this.entryIndex !== 0 && (this.entryIndex = this.entryIndex - 1);
22791
- },
22792
- next: function() {
22793
- this.entryIndex !== this.connectivityEntry.length - 1 && (this.entryIndex = this.entryIndex + 1);
22794
- },
22795
22772
  titleCase: function(e) {
22796
- return CL(e);
22773
+ return kL(e);
22797
22774
  },
22798
22775
  capitalise: function(e) {
22799
22776
  return da(e);
@@ -22943,80 +22920,31 @@ const Iy = /* @__PURE__ */ $n(gL, [["render", wL], ["__scopeId", "data-v-ef9e525
22943
22920
  this.connectivityError = { ...t };
22944
22921
  });
22945
22922
  }
22946
- }, kL = {
22923
+ }, xL = {
22947
22924
  key: 0,
22948
22925
  class: "main"
22949
- }, EL = {
22950
- key: 0,
22951
- class: "toggle-button"
22952
- }, xL = { class: "connectivity-info-title" }, _L = { class: "title-content" }, OL = {
22926
+ }, _L = { class: "connectivity-info-title" }, OL = { class: "title-content" }, TL = {
22953
22927
  key: 0,
22954
22928
  class: "block"
22955
- }, TL = { class: "title" }, AL = { style: { "word-break": "keep-all" } }, IL = { class: "subtitle" }, FL = {
22929
+ }, AL = { class: "title" }, IL = { style: { "word-break": "keep-all" } }, FL = { class: "subtitle" }, PL = {
22956
22930
  key: 0,
22957
22931
  class: "subtitle"
22958
- }, PL = {
22932
+ }, $L = {
22959
22933
  key: 1,
22960
22934
  class: "block"
22961
- }, $L = { class: "title" }, RL = { class: "title-buttons" }, NL = { class: "content-container population-display" }, LL = { class: "block attribute-title-container" }, BL = { class: "block buttons-row" }, DL = { class: "content-container content-container-connectivity" }, ML = { class: "content-container content-container-connectivity" }, jL = {
22962
- key: 1,
22935
+ }, RL = { class: "title" }, NL = { class: "title-buttons" }, LL = { class: "content-container population-display" }, BL = { class: "block attribute-title-container" }, DL = { class: "block buttons-row" }, ML = { class: "content-container content-container-connectivity" }, jL = { class: "content-container content-container-connectivity" }, VL = {
22936
+ key: 0,
22963
22937
  class: "content-container content-container-references"
22964
22938
  };
22965
- function VL(e, t, n, r, o, a) {
22966
- const s = Ht, i = Ri, l = gb, c = ze, u = Rh, f = Se("CopyToClipboard"), g = _o, v = $h, d = wg, p = dO, m = Se("connectivity-list"), y = Se("connectivity-graph"), E = Se("ExternalResourceCard"), I = Ho;
22967
- return a.entry ? (C(), F("div", kL, [
22968
- n.connectivityEntry.length > 1 && !n.entryId ? (C(), F("div", EL, [
22969
- q(i, {
22970
- width: "auto",
22971
- trigger: "hover",
22972
- teleported: !1
22973
- }, {
22974
- reference: R(() => [
22975
- q(s, {
22976
- class: "button",
22977
- onClick: a.previous,
22978
- disabled: this.entryIndex === 0
22979
- }, {
22980
- default: R(() => t[3] || (t[3] = [
22981
- Ee(" Previous ")
22982
- ])),
22983
- _: 1
22984
- }, 8, ["onClick", "disabled"])
22985
- ]),
22986
- default: R(() => [
22987
- W("span", null, ue(a.previousLabel), 1)
22988
- ]),
22989
- _: 1
22990
- }),
22991
- q(i, {
22992
- width: "auto",
22993
- trigger: "hover",
22994
- teleported: !1
22995
- }, {
22996
- reference: R(() => [
22997
- q(s, {
22998
- class: "button",
22999
- onClick: a.next,
23000
- disabled: this.entryIndex === this.connectivityEntry.length - 1
23001
- }, {
23002
- default: R(() => t[4] || (t[4] = [
23003
- Ee(" Next ")
23004
- ])),
23005
- _: 1
23006
- }, 8, ["onClick", "disabled"])
23007
- ]),
23008
- default: R(() => [
23009
- W("span", null, ue(a.nextLabel), 1)
23010
- ]),
23011
- _: 1
23012
- })
23013
- ])) : G("", !0),
23014
- W("div", xL, [
23015
- W("div", _L, [
23016
- a.entry.title ? (C(), F("div", OL, [
23017
- W("div", TL, [
23018
- W("span", null, ue(a.capitalise(a.entry.title)), 1),
23019
- a.entry.featuresAlert ? (C(), Y(i, {
22939
+ function zL(e, t, n, r, o, a) {
22940
+ const s = gb, i = ze, l = Ri, c = Rh, u = Ht, f = Se("CopyToClipboard"), g = _o, v = $h, d = wg, p = dO, m = Se("connectivity-list"), y = Se("connectivity-graph"), E = Se("ExternalResourceCard"), I = Ho;
22941
+ return a.entry ? (C(), F("div", xL, [
22942
+ W("div", _L, [
22943
+ W("div", OL, [
22944
+ a.entry.title ? (C(), F("div", TL, [
22945
+ W("div", AL, [
22946
+ W("span", null, de(a.capitalise(a.entry.title)), 1),
22947
+ a.entry.featuresAlert ? (C(), Y(l, {
23020
22948
  key: 0,
23021
22949
  width: "250",
23022
22950
  trigger: "hover",
@@ -23024,45 +22952,45 @@ function VL(e, t, n, r, o, a) {
23024
22952
  "popper-class": "popover-origin-help"
23025
22953
  }, {
23026
22954
  reference: R(() => [
23027
- q(c, { class: "alert" }, {
22955
+ q(i, { class: "alert" }, {
23028
22956
  default: R(() => [
23029
- q(l)
22957
+ q(s)
23030
22958
  ]),
23031
22959
  _: 1
23032
22960
  })
23033
22961
  ]),
23034
22962
  default: R(() => [
23035
- W("span", AL, ue(a.entry.featuresAlert), 1)
22963
+ W("span", IL, de(a.entry.featuresAlert), 1)
23036
22964
  ]),
23037
22965
  _: 1
23038
22966
  })) : G("", !0)
23039
22967
  ]),
23040
- W("div", IL, [
23041
- t[5] || (t[5] = W("strong", null, "id: ", -1)),
23042
- Ee(ue(a.entry.featureId[0]), 1)
22968
+ W("div", FL, [
22969
+ t[3] || (t[3] = W("strong", null, "id: ", -1)),
22970
+ _e(de(a.entry.featureId[0]), 1)
23043
22971
  ]),
23044
- a.hasProvenanceTaxonomyLabel ? (C(), F("div", FL, ue(a.provSpeciesDescription), 1)) : G("", !0)
23045
- ])) : (C(), F("div", PL, [
23046
- W("div", $L, ue(a.entry.featureId), 1)
22972
+ a.hasProvenanceTaxonomyLabel ? (C(), F("div", PL, de(a.provSpeciesDescription), 1)) : G("", !0)
22973
+ ])) : (C(), F("div", $L, [
22974
+ W("div", RL, de(a.entry.featureId), 1)
23047
22975
  ]))
23048
22976
  ]),
23049
- W("div", RL, [
23050
- q(i, {
22977
+ W("div", NL, [
22978
+ q(l, {
23051
22979
  width: "auto",
23052
22980
  trigger: "hover",
23053
22981
  teleported: !1,
23054
22982
  "popper-class": "popover-map-pin"
23055
22983
  }, {
23056
22984
  reference: R(() => [
23057
- q(s, {
22985
+ q(u, {
23058
22986
  class: "button-circle secondary",
23059
22987
  circle: "",
23060
22988
  onClick: a.showConnectivity
23061
22989
  }, {
23062
22990
  default: R(() => [
23063
- q(c, { color: "#8300bf" }, {
22991
+ q(i, { color: "#8300bf" }, {
23064
22992
  default: R(() => [
23065
- q(u)
22993
+ q(c)
23066
22994
  ]),
23067
22995
  _: 1
23068
22996
  })
@@ -23071,12 +22999,12 @@ function VL(e, t, n, r, o, a) {
23071
22999
  }, 8, ["onClick"])
23072
23000
  ]),
23073
23001
  default: R(() => [
23074
- t[6] || (t[6] = W("span", null, " Show connectivity on map ", -1))
23002
+ t[4] || (t[4] = W("span", null, " Show connectivity on map ", -1))
23075
23003
  ]),
23076
23004
  _: 1
23077
23005
  }),
23078
23006
  q(f, { content: e.updatedCopyContent }, null, 8, ["content"]),
23079
- n.withCloseButton ? (C(), Y(i, {
23007
+ n.withCloseButton ? (C(), Y(l, {
23080
23008
  key: 0,
23081
23009
  width: "auto",
23082
23010
  trigger: "hover",
@@ -23084,13 +23012,13 @@ function VL(e, t, n, r, o, a) {
23084
23012
  "popper-class": "popover-map-pin"
23085
23013
  }, {
23086
23014
  reference: R(() => [
23087
- q(s, {
23015
+ q(u, {
23088
23016
  class: "button-circle",
23089
23017
  circle: "",
23090
23018
  onClick: a.closeConnectivity
23091
23019
  }, {
23092
23020
  default: R(() => [
23093
- q(c, { color: "white" }, {
23021
+ q(i, { color: "white" }, {
23094
23022
  default: R(() => [
23095
23023
  q(g)
23096
23024
  ]),
@@ -23101,16 +23029,16 @@ function VL(e, t, n, r, o, a) {
23101
23029
  }, 8, ["onClick"])
23102
23030
  ]),
23103
23031
  default: R(() => [
23104
- t[7] || (t[7] = W("span", null, "Close", -1))
23032
+ t[5] || (t[5] = W("span", null, "Close", -1))
23105
23033
  ]),
23106
23034
  _: 1
23107
23035
  })) : G("", !0)
23108
23036
  ])
23109
23037
  ]),
23110
- W("div", NL, [
23111
- W("div", LL, [
23112
- t[9] || (t[9] = W("span", { class: "attribute-title" }, "Population Display", -1)),
23113
- e.activeView === "listView" ? (C(), Y(i, {
23038
+ W("div", LL, [
23039
+ W("div", BL, [
23040
+ t[7] || (t[7] = W("span", { class: "attribute-title" }, "Population Display", -1)),
23041
+ e.activeView === "listView" ? (C(), Y(l, {
23114
23042
  key: 0,
23115
23043
  width: "250",
23116
23044
  trigger: "hover",
@@ -23118,7 +23046,7 @@ function VL(e, t, n, r, o, a) {
23118
23046
  "popper-class": "popover-origin-help"
23119
23047
  }, {
23120
23048
  reference: R(() => [
23121
- q(c, { class: "info" }, {
23049
+ q(i, { class: "info" }, {
23122
23050
  default: R(() => [
23123
23051
  q(v)
23124
23052
  ]),
@@ -23126,13 +23054,13 @@ function VL(e, t, n, r, o, a) {
23126
23054
  })
23127
23055
  ]),
23128
23056
  default: R(() => [
23129
- t[8] || (t[8] = W("span", { style: { "word-break": "keep-all" } }, " This list is ordered alphabetically, switch to graph view for path details. ", -1))
23057
+ t[6] || (t[6] = W("span", { style: { "word-break": "keep-all" } }, " This list is ordered alphabetically, switch to graph view for path details. ", -1))
23130
23058
  ]),
23131
23059
  _: 1
23132
23060
  })) : G("", !0)
23133
23061
  ]),
23134
- W("div", BL, [
23135
- t[14] || (t[14] = W("span", null, "Connectivity from:", -1)),
23062
+ W("div", DL, [
23063
+ t[12] || (t[12] = W("span", null, "Connectivity from:", -1)),
23136
23064
  q(p, {
23137
23065
  modelValue: e.connectivitySource,
23138
23066
  "onUpdate:modelValue": t[0] || (t[0] = (x) => e.connectivitySource = x),
@@ -23140,41 +23068,41 @@ function VL(e, t, n, r, o, a) {
23140
23068
  }, {
23141
23069
  default: R(() => [
23142
23070
  q(d, { value: "map" }, {
23143
- default: R(() => t[10] || (t[10] = [
23144
- Ee("Map")
23071
+ default: R(() => t[8] || (t[8] = [
23072
+ _e("Map")
23145
23073
  ])),
23146
23074
  _: 1
23147
23075
  }),
23148
23076
  q(d, { value: "sckan" }, {
23149
- default: R(() => t[11] || (t[11] = [
23150
- Ee("SCKAN")
23077
+ default: R(() => t[9] || (t[9] = [
23078
+ _e("SCKAN")
23151
23079
  ])),
23152
23080
  _: 1
23153
23081
  })
23154
23082
  ]),
23155
23083
  _: 1
23156
23084
  }, 8, ["modelValue", "onChange"]),
23157
- q(s, {
23085
+ q(u, {
23158
23086
  class: L(e.activeView === "listView" ? "button" : "el-button-secondary"),
23159
23087
  onClick: t[1] || (t[1] = (x) => a.switchConnectivityView("listView"))
23160
23088
  }, {
23161
- default: R(() => t[12] || (t[12] = [
23162
- Ee(" List view ")
23089
+ default: R(() => t[10] || (t[10] = [
23090
+ _e(" List view ")
23163
23091
  ])),
23164
23092
  _: 1
23165
23093
  }, 8, ["class"]),
23166
- q(s, {
23094
+ q(u, {
23167
23095
  class: L(e.activeView === "graphView" ? "button" : "el-button-secondary"),
23168
23096
  onClick: t[2] || (t[2] = (x) => a.switchConnectivityView("graphView"))
23169
23097
  }, {
23170
- default: R(() => t[13] || (t[13] = [
23171
- Ee(" Graph view ")
23098
+ default: R(() => t[11] || (t[11] = [
23099
+ _e(" Graph view ")
23172
23100
  ])),
23173
23101
  _: 1
23174
23102
  }, 8, ["class"])
23175
23103
  ])
23176
23104
  ]),
23177
- Oe(W("div", DL, [
23105
+ Oe(W("div", ML, [
23178
23106
  Oe((C(), Y(m, {
23179
23107
  key: `${a.connectivityKey}list`,
23180
23108
  entry: a.entry,
@@ -23195,7 +23123,7 @@ function VL(e, t, n, r, o, a) {
23195
23123
  ], 512), [
23196
23124
  [wt, e.activeView === "listView"]
23197
23125
  ]),
23198
- Oe(W("div", ML, [
23126
+ Oe(W("div", jL, [
23199
23127
  e.graphViewLoaded ? Oe((C(), Y(y, {
23200
23128
  key: `${a.connectivityKey}graph`,
23201
23129
  entry: a.entry.featureId[0],
@@ -23210,7 +23138,7 @@ function VL(e, t, n, r, o, a) {
23210
23138
  ], 512), [
23211
23139
  [wt, e.activeView === "graphView"]
23212
23140
  ]),
23213
- a.resources.length ? (C(), F("div", jL, [
23141
+ a.resources.length ? (C(), F("div", VL, [
23214
23142
  q(E, {
23215
23143
  resources: a.resources,
23216
23144
  onReferencesLoaded: a.onReferencesLoaded,
@@ -23219,7 +23147,7 @@ function VL(e, t, n, r, o, a) {
23219
23147
  ])) : G("", !0)
23220
23148
  ])) : G("", !0);
23221
23149
  }
23222
- const Fy = /* @__PURE__ */ $n(SL, [["render", VL], ["__scopeId", "data-v-ed642e02"]]), zL = {
23150
+ const Fy = /* @__PURE__ */ $n(EL, [["render", zL], ["__scopeId", "data-v-d2c759b5"]]), HL = {
23223
23151
  name: "ConnectivityCard",
23224
23152
  data() {
23225
23153
  return {
@@ -23235,11 +23163,20 @@ const Fy = /* @__PURE__ */ $n(SL, [["render", VL], ["__scopeId", "data-v-ed642e0
23235
23163
  type: Object,
23236
23164
  default: () => {
23237
23165
  }
23166
+ },
23167
+ connectivityEntry: {
23168
+ type: Array,
23169
+ default: () => []
23238
23170
  }
23239
23171
  },
23240
23172
  computed: {
23241
23173
  loading: function() {
23242
- return "detailsReady" in this.entry ? !this.entry.detailsReady : !1;
23174
+ if ("ready" in this.entry)
23175
+ return !this.entry.ready;
23176
+ const e = this.connectivityEntry.find(
23177
+ (t) => t.id === this.entry.id
23178
+ );
23179
+ return e ? !e.ready : !1;
23243
23180
  }
23244
23181
  },
23245
23182
  methods: {
@@ -23247,33 +23184,33 @@ const Fy = /* @__PURE__ */ $n(SL, [["render", VL], ["__scopeId", "data-v-ed642e0
23247
23184
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
23248
23185
  },
23249
23186
  cardClicked: function(e) {
23250
- this.loading || this.$emit("connectivity-card-clicked", e);
23187
+ this.loading || this.$emit("open-connectivity", e);
23251
23188
  }
23252
23189
  }
23253
- }, HL = {
23190
+ }, UL = {
23254
23191
  class: "connectivity-card-container",
23255
23192
  ref: "container"
23256
- }, UL = {
23193
+ }, qL = {
23257
23194
  class: "connectivity-card",
23258
23195
  ref: "card"
23259
- }, qL = { class: "title" }, KL = {
23196
+ }, KL = { class: "card-title" }, WL = {
23260
23197
  key: 0,
23261
- class: "details"
23198
+ class: "card-details"
23262
23199
  };
23263
- function WL(e, t, n, r, o, a) {
23200
+ function GL(e, t, n, r, o, a) {
23264
23201
  const s = Ho;
23265
- return C(), F("div", HL, [
23266
- W("div", UL, [
23202
+ return C(), F("div", UL, [
23203
+ W("div", qL, [
23267
23204
  t[1] || (t[1] = W("div", { class: "seperator-path" }, null, -1)),
23268
23205
  Oe((C(), F("div", {
23269
- class: "card",
23206
+ class: "card-content",
23270
23207
  onClick: t[0] || (t[0] = (i) => a.cardClicked(n.entry))
23271
23208
  }, [
23272
- W("div", qL, ue(a.capitalise(n.entry.label)), 1),
23209
+ W("div", KL, de(a.capitalise(n.entry.label)), 1),
23273
23210
  (C(!0), F(Pe, null, ft(o.displayFields, (i) => (C(), F(Pe, { key: i }, [
23274
- n.entry[i] ? (C(), F("div", KL, [
23275
- W("strong", null, ue(i) + ":", 1),
23276
- Ee(" " + ue(n.entry[i]), 1)
23211
+ n.entry[i] ? (C(), F("div", WL, [
23212
+ W("strong", null, de(i) + ":", 1),
23213
+ _e(" " + de(n.entry[i]), 1)
23277
23214
  ])) : G("", !0)
23278
23215
  ], 64))), 128))
23279
23216
  ])), [
@@ -23282,9 +23219,8 @@ function WL(e, t, n, r, o, a) {
23282
23219
  ], 512)
23283
23220
  ], 512);
23284
23221
  }
23285
- const Py = /* @__PURE__ */ $n(zL, [["render", WL], ["__scopeId", "data-v-5aa5d184"]]);
23286
- var GL = {
23287
- filters: [],
23222
+ const Py = /* @__PURE__ */ $n(HL, [["render", GL], ["__scopeId", "data-v-b875232c"]]);
23223
+ var JL = {
23288
23224
  searchInput: "",
23289
23225
  lastSearch: "",
23290
23226
  results: [],
@@ -23295,7 +23231,7 @@ var GL = {
23295
23231
  page: 1,
23296
23232
  start: 0
23297
23233
  };
23298
- const JL = {
23234
+ const ZL = {
23299
23235
  components: {
23300
23236
  SearchFilters: tl,
23301
23237
  SearchHistory: el,
@@ -23315,7 +23251,7 @@ const JL = {
23315
23251
  },
23316
23252
  entry: {
23317
23253
  type: Object,
23318
- default: () => GL
23254
+ default: () => JL
23319
23255
  },
23320
23256
  envVars: {
23321
23257
  type: Object,
@@ -23329,6 +23265,10 @@ const JL = {
23329
23265
  availableAnatomyFacets: {
23330
23266
  type: Object,
23331
23267
  default: []
23268
+ },
23269
+ connectivityFilterOptions: {
23270
+ type: Array,
23271
+ default: []
23332
23272
  }
23333
23273
  },
23334
23274
  data: function() {
@@ -23339,30 +23279,6 @@ const JL = {
23339
23279
  "flex-flow": "column",
23340
23280
  display: "flex"
23341
23281
  },
23342
- filterOptions: [
23343
- {
23344
- id: 3,
23345
- key: "flatmap.connectivity.source",
23346
- label: "Connectivity",
23347
- children: [
23348
- {
23349
- facetPropPath: "flatmap.connectivity.source",
23350
- id: 0,
23351
- label: "Origins"
23352
- },
23353
- {
23354
- facetPropPath: "flatmap.connectivity.source",
23355
- id: 1,
23356
- label: "Components"
23357
- },
23358
- {
23359
- facetPropPath: "flatmap.connectivity.source",
23360
- id: 2,
23361
- label: "Destinations"
23362
- }
23363
- ]
23364
- }
23365
- ],
23366
23282
  cascaderIsReady: !1,
23367
23283
  displayConnectivity: !1,
23368
23284
  initLoading: !0,
@@ -23375,8 +23291,8 @@ const JL = {
23375
23291
  return {
23376
23292
  numberOfHits: this.numberOfHits,
23377
23293
  filterFacets: this.filter,
23378
- options: this.filterOptions,
23379
- showFilters: !1
23294
+ options: this.connectivityFilterOptions,
23295
+ showFilters: !0
23380
23296
  };
23381
23297
  },
23382
23298
  paginatedResults: function() {
@@ -23385,10 +23301,16 @@ const JL = {
23385
23301
  },
23386
23302
  watch: {
23387
23303
  connectivityKnowledge: function(e, t) {
23388
- this.expanded = "", this.initLoading = !1, this.loadingCards = !1, JSON.stringify(e) !== JSON.stringify(t) && (this.results = e.map((n) => ({
23389
- ...n,
23390
- loaded: !1
23391
- })), this.numberOfHits = this.results.length, this.numberOfHits === 1 && this.onConnectivityExplorerClicked(this.results[0]));
23304
+ this.expanded = "", this.loadingCards = !1, JSON.stringify(e) !== JSON.stringify(t) && (this.results = e, this.initLoading = !1, this.numberOfHits = this.results.length, this.numberOfHits === 1 && !("ready" in this.results[0]) && this.onConnectivityCollapseChange(this.results[0]));
23305
+ },
23306
+ // watch for connectivityEntry changes
23307
+ // card should be expanded if there is only one entry and it is ready
23308
+ connectivityEntry: function(e, t) {
23309
+ if (e.length === 1 && e[0].ready) {
23310
+ if (e[0].connectivitySource !== t[0].connectivitySource && t[0].ready)
23311
+ return;
23312
+ this.collapseChange(e[0]);
23313
+ }
23392
23314
  },
23393
23315
  paginatedResults: function() {
23394
23316
  this.loadingCards = !1;
@@ -23396,29 +23318,29 @@ const JL = {
23396
23318
  },
23397
23319
  methods: {
23398
23320
  onConnectivityClicked: function(e) {
23399
- this.searchInput = e.query, this.filters = e.filter, this.searchAndFilterUpdate();
23321
+ this.searchInput = e.query, this.filter = e.filter, this.searchAndFilterUpdate();
23400
23322
  },
23401
- openConnectivity: function(e) {
23402
- this.expanded = e.id;
23323
+ collapseChange: function(e) {
23324
+ this.expanded = this.expanded === e.id ? "" : e.id;
23403
23325
  },
23404
- closeConnectivity: function(e) {
23405
- this.expanded = "";
23406
- },
23407
- onConnectivityExplorerClicked: function(e) {
23408
- this.expanded !== e.id && (e.loaded = !1, this.openConnectivity(e), this.connectivityEntry.filter((n) => n.featureId[0] === e.id).length === 0 && this.$emit("connectivity-explorer-clicked", e));
23326
+ onConnectivityCollapseChange: function(e) {
23327
+ this.connectivityEntry.find((t) => t.featureId[0] === e.id) ? this.collapseChange(e) : (this.expanded = "", this.$nextTick(() => {
23328
+ this.$emit("connectivity-collapse-change", e);
23329
+ }));
23409
23330
  },
23410
23331
  hoverChanged: function(e) {
23411
- const t = e && { ...e, type: "connectivity" };
23332
+ const t = e ? { ...e, tabType: "connectivity" } : { tabType: "connectivity" };
23412
23333
  this.$emit("hover-changed", t);
23413
23334
  },
23414
23335
  resetSearch: function() {
23415
23336
  this.numberOfHits = 0, this.results = [], this.loadingCards = !1;
23416
23337
  },
23417
23338
  resetSearchIfNoActiveSearch: function() {
23418
- this.searchInput || this.openSearch([], "");
23339
+ const e = this.filter.some((t) => t.facet !== "Show all");
23340
+ !this.searchInput && !e && this.openSearch([], "");
23419
23341
  },
23420
- openSearch: function(e, t = "", n = { withSearch: !0 }) {
23421
- this.searchInput = t, this.resetPageNavigation(), this.cascaderIsReady ? (this.filter = this.$refs.filtersRef.getHierarchicalValidatedFilters(e), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (n.withSearch && this.searchKnowledge(this.filter, t), this.$refs.filtersRef.setCascader(this.filter))) : (this.filter = e, (!e || e.length == 0) && n.withSearch && this.searchKnowledge(this.filter, t));
23342
+ openSearch: function(e, t = "") {
23343
+ this.searchInput = t, this.resetPageNavigation(), this.cascaderIsReady ? (this.filter = this.$refs.filtersRef.getHierarchicalValidatedFilters(e), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (this.searchKnowledge(this.filter, t), this.$refs.filtersRef.setCascader(this.filter), this.searchHistoryUpdate(this.filter, t))) : (this.filter = e, (!e || e.length == 0) && (this.searchKnowledge(this.filter, t), this.searchHistoryUpdate(this.filter, t)));
23422
23344
  },
23423
23345
  addFilter: function(e) {
23424
23346
  this.cascaderIsReady ? (this.resetPageNavigation(), e && this.$refs.filtersRef.addFilter(e) && this.$refs.filtersRef.initiateSearch()) : Array.isArray(this.filter) ? this.filter.push(e) : this.filter = [e];
@@ -23427,41 +23349,27 @@ const JL = {
23427
23349
  this.cascaderIsReady = !0, this.openSearch(this.filter, this.searchInput);
23428
23350
  },
23429
23351
  clearSearchClicked: function() {
23430
- this.searchInput = "", this.searchAndFilterUpdate(), this.$refs.filtersRef.checkShowAllBoxes();
23352
+ this.searchInput = "", this.searchAndFilterUpdate();
23431
23353
  },
23432
23354
  searchEvent: function(e = !1) {
23433
- (e.keyCode === 13 || e instanceof MouseEvent) && (this.searchInput = this.searchInput.trim(), this.searchAndFilterUpdate(), this.searchInput || this.$refs.filtersRef.checkShowAllBoxes());
23355
+ (e.keyCode === 13 || e instanceof MouseEvent) && (this.searchInput = this.searchInput.trim(), this.searchAndFilterUpdate());
23434
23356
  },
23435
23357
  filterUpdate: function(e) {
23436
- this.filters = [...e], this.searchAndFilterUpdate(), this.$emit("search-changed", {
23437
- value: e,
23438
- type: "filter-update"
23439
- });
23440
- },
23441
- /**
23442
- * Transform filters for third level items to perform search
23443
- * because cascader keeps adding it back.
23444
- */
23445
- transformFiltersBeforeSearch: function(e) {
23446
- return e.map((t) => (t.facet2 && (t.facet = t.facet2, delete t.facet2), t));
23358
+ this.filter = [...e], this.searchAndFilterUpdate();
23447
23359
  },
23448
23360
  searchAndFilterUpdate: function() {
23449
- this.resetPageNavigation();
23450
- const e = this.transformFiltersBeforeSearch(
23451
- this.filters
23452
- );
23453
- this.searchKnowledge(e, this.searchInput);
23361
+ this.resetPageNavigation(), this.searchKnowledge(this.filter, this.searchInput), this.searchHistoryUpdate(this.filter, this.searchInput);
23454
23362
  },
23455
23363
  searchHistoryUpdate: function(e, t) {
23456
- this.$refs.searchHistory.selectValue = "Search history", t != null && t.trim() && this.$refs.searchHistory.addSearchToHistory(
23457
- e,
23458
- t
23459
- );
23364
+ this.$refs.searchHistory.selectValue = "Search history", (e.length || t != null && t.trim()) && this.$refs.searchHistory.addSearchToHistory(this.filter, t);
23460
23365
  },
23461
23366
  searchKnowledge: function(e, t = "") {
23462
- this.expanded = "", this.searchHistoryUpdate(e, t), this.loadingCards = !0, this.scrollToTop(), this.$emit("search-changed", {
23463
- value: this.searchInput,
23464
- type: "query-update"
23367
+ this.expanded = "", this.loadingCards = !0, this.scrollToTop(), this.$emit("search-changed", {
23368
+ // value: this.searchInput,
23369
+ // type: "query-update",
23370
+ query: t,
23371
+ filter: e,
23372
+ tabType: "connectivity"
23465
23373
  }), this.lastSearch = t;
23466
23374
  },
23467
23375
  filtersLoading: function(e) {
@@ -23471,7 +23379,7 @@ const JL = {
23471
23379
  this.numberPerPage = e, this.pageChange(1);
23472
23380
  },
23473
23381
  pageChange: function(e) {
23474
- this.start = (e - 1) * this.numberPerPage, this.page = e, this.searchKnowledge(this.filters, this.searchInput);
23382
+ this.start = (e - 1) * this.numberPerPage, this.page = e, this.searchKnowledge(this.filter, this.searchInput);
23475
23383
  },
23476
23384
  scrollToTop: function() {
23477
23385
  this.$refs.content && this.$refs.content.scroll({ top: 0, behavior: "smooth" });
@@ -23480,10 +23388,9 @@ const JL = {
23480
23388
  this.start = 0, this.page = 1;
23481
23389
  },
23482
23390
  searchHistorySearch: function(e) {
23483
- this.searchInput = e.search, this.filters = e.filters, this.searchAndFilterUpdate();
23391
+ this.searchInput = e.search, this.filter = e.filters, this.openSearch([...e.filters], e.search);
23484
23392
  },
23485
23393
  onConnectivityInfoLoaded: function(e) {
23486
- e.loaded = !0;
23487
23394
  const t = this.$refs["stepItem-" + e.id], n = this.$refs.content;
23488
23395
  this.$nextTick(() => {
23489
23396
  n && t && t[0] && (n.scrollTop = t[0].offsetTop);
@@ -23493,18 +23400,19 @@ const JL = {
23493
23400
  mounted: function() {
23494
23401
  localStorage.removeItem("connectivity-active-view"), this.openSearch(this.filter, this.searchInput);
23495
23402
  }
23496
- }, ZL = { class: "header" }, YL = {
23403
+ }, YL = { class: "header" }, XL = {
23497
23404
  key: 0,
23498
23405
  class: "error-feedback"
23499
- }, XL = ["onMouseenter"];
23500
- function QL(e, t, n, r, o, a) {
23406
+ }, QL = ["onMouseenter"];
23407
+ function e9(e, t, n, r, o, a) {
23501
23408
  const s = Vo, i = Ht, l = tl, c = el, u = Py, f = Fy, g = $i, v = Ai, d = Ho;
23502
23409
  return C(), Y(v, {
23503
23410
  "body-style": e.bodyStyle,
23504
- class: "content-card"
23411
+ class: "content-card",
23412
+ onMouseleave: t[7] || (t[7] = (p) => a.hoverChanged(void 0))
23505
23413
  }, {
23506
23414
  header: R(() => [
23507
- W("div", ZL, [
23415
+ W("div", YL, [
23508
23416
  q(s, {
23509
23417
  class: "search-input",
23510
23418
  placeholder: "Search",
@@ -23520,8 +23428,8 @@ function QL(e, t, n, r, o, a) {
23520
23428
  onClick: a.searchEvent,
23521
23429
  size: "large"
23522
23430
  }, {
23523
- default: R(() => t[7] || (t[7] = [
23524
- Ee(" Search ")
23431
+ default: R(() => t[8] || (t[8] = [
23432
+ _e(" Search ")
23525
23433
  ])),
23526
23434
  _: 1
23527
23435
  }, 8, ["onClick"]),
@@ -23531,8 +23439,8 @@ function QL(e, t, n, r, o, a) {
23531
23439
  onClick: t[1] || (t[1] = (p) => a.openSearch([], "")),
23532
23440
  size: "large"
23533
23441
  }, {
23534
- default: R(() => t[8] || (t[8] = [
23535
- Ee(" Reset ")
23442
+ default: R(() => t[9] || (t[9] = [
23443
+ _e(" Reset ")
23536
23444
  ])),
23537
23445
  _: 1
23538
23446
  })
@@ -23559,26 +23467,27 @@ function QL(e, t, n, r, o, a) {
23559
23467
  ref: "content",
23560
23468
  onMouseleave: t[6] || (t[6] = (p) => a.hoverChanged(void 0))
23561
23469
  }, [
23562
- e.results.length === 0 && !e.loadingCards ? (C(), F("div", YL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
23470
+ e.results.length === 0 && !e.loadingCards ? (C(), F("div", XL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
23563
23471
  (C(!0), F(Pe, null, ft(a.paginatedResults, (p) => (C(), F("div", {
23564
23472
  key: p.id,
23565
23473
  ref_for: !0,
23566
23474
  ref: "stepItem-" + p.id,
23567
- class: L(["step-item", {
23568
- "is-active": e.expanded === p.id && p.loaded,
23569
- "is-loading": e.expanded === p.id && !p.loaded
23570
- }]),
23475
+ class: "step-item",
23571
23476
  onMouseenter: (m) => a.hoverChanged(p)
23572
23477
  }, [
23573
- q(u, {
23574
- class: "dataset-card",
23478
+ Oe(q(u, {
23479
+ class: "connectivity-card",
23575
23480
  entry: p,
23576
- onConnectivityCardClicked: a.onConnectivityExplorerClicked
23577
- }, null, 8, ["entry", "onConnectivityCardClicked"]),
23481
+ connectivityEntry: n.connectivityEntry,
23482
+ onOpenConnectivity: a.onConnectivityCollapseChange
23483
+ }, null, 8, ["entry", "connectivityEntry", "onOpenConnectivity"]), [
23484
+ [wt, e.expanded !== p.id]
23485
+ ]),
23578
23486
  e.expanded === p.id ? (C(), Y(f, {
23579
23487
  key: 0,
23580
- connectivityEntry: n.connectivityEntry,
23488
+ class: "connectivity-info",
23581
23489
  entryId: p.id,
23490
+ connectivityEntry: n.connectivityEntry,
23582
23491
  availableAnatomyFacets: n.availableAnatomyFacets,
23583
23492
  envVars: n.envVars,
23584
23493
  withCloseButton: !0,
@@ -23587,9 +23496,9 @@ function QL(e, t, n, r, o, a) {
23587
23496
  onConnectivityClicked: a.onConnectivityClicked,
23588
23497
  onConnectivityHovered: t[4] || (t[4] = (m) => e.$emit("connectivity-hovered", m)),
23589
23498
  onLoaded: (m) => a.onConnectivityInfoLoaded(p),
23590
- onCloseConnectivity: (m) => a.closeConnectivity(p)
23591
- }, null, 8, ["connectivityEntry", "entryId", "availableAnatomyFacets", "envVars", "onConnectivityClicked", "onLoaded", "onCloseConnectivity"])) : G("", !0)
23592
- ], 42, XL))), 128)),
23499
+ onCloseConnectivity: (m) => a.onConnectivityCollapseChange(p)
23500
+ }, null, 8, ["entryId", "connectivityEntry", "availableAnatomyFacets", "envVars", "onConnectivityClicked", "onLoaded", "onCloseConnectivity"])) : G("", !0)
23501
+ ], 40, QL))), 128)),
23593
23502
  q(g, {
23594
23503
  class: "pagination",
23595
23504
  "current-page": e.page,
@@ -23608,7 +23517,7 @@ function QL(e, t, n, r, o, a) {
23608
23517
  _: 1
23609
23518
  }, 8, ["body-style"]);
23610
23519
  }
23611
- const $y = /* @__PURE__ */ $n(JL, [["render", QL], ["__scopeId", "data-v-fd04a96e"]]), e9 = {
23520
+ const $y = /* @__PURE__ */ $n(ZL, [["render", e9], ["__scopeId", "data-v-5c7b95e0"]]), t9 = {
23612
23521
  name: "AnnotationTool",
23613
23522
  components: {
23614
23523
  AnnotationPopup: wb,
@@ -23633,13 +23542,13 @@ const $y = /* @__PURE__ */ $n(JL, [["render", QL], ["__scopeId", "data-v-fd04a96
23633
23542
  ElIconDelete: Wr(Ul)
23634
23543
  };
23635
23544
  }
23636
- }, t9 = { class: "annotation-tool scrollbar" }, n9 = {
23545
+ }, n9 = { class: "annotation-tool scrollbar" }, r9 = {
23637
23546
  key: 1,
23638
23547
  class: "delete-container"
23639
23548
  };
23640
- function r9(e, t, n, r, o, a) {
23549
+ function o9(e, t, n, r, o, a) {
23641
23550
  const s = Se("CreateTooltipContent"), i = Se("annotation-popup"), l = xg, c = Ht, u = Eg;
23642
- return C(), F("div", t9, [
23551
+ return C(), F("div", n9, [
23643
23552
  Oe(q(s, {
23644
23553
  createData: n.createData,
23645
23554
  onConfirmCreate: t[0] || (t[0] = (f) => e.$emit("confirm-create", f)),
@@ -23654,7 +23563,7 @@ function r9(e, t, n, r, o, a) {
23654
23563
  annotationEntry: n.annotationEntry,
23655
23564
  onAnnotation: t[2] || (t[2] = (f) => e.$emit("annotation", f))
23656
23565
  }, null, 8, ["annotationEntry"])) : G("", !0),
23657
- n.createData && n.createData.toBeDeleted ? (C(), F("div", n9, [
23566
+ n.createData && n.createData.toBeDeleted ? (C(), F("div", r9, [
23658
23567
  q(u, null, {
23659
23568
  default: R(() => [
23660
23569
  q(l, {
@@ -23662,7 +23571,7 @@ function r9(e, t, n, r, o, a) {
23662
23571
  span: 6
23663
23572
  }, {
23664
23573
  default: R(() => t[5] || (t[5] = [
23665
- Ee("Delete this feature?")
23574
+ _e("Delete this feature?")
23666
23575
  ])),
23667
23576
  _: 1
23668
23577
  }),
@@ -23677,7 +23586,7 @@ function r9(e, t, n, r, o, a) {
23677
23586
  onClick: t[3] || (t[3] = (f) => e.$emit("confirm-delete"))
23678
23587
  }, {
23679
23588
  default: R(() => t[6] || (t[6] = [
23680
- Ee(" Delete ")
23589
+ _e(" Delete ")
23681
23590
  ])),
23682
23591
  _: 1
23683
23592
  }, 8, ["icon"])
@@ -23694,7 +23603,7 @@ function r9(e, t, n, r, o, a) {
23694
23603
  onClick: t[4] || (t[4] = (f) => e.$emit("cancel-create"))
23695
23604
  }, {
23696
23605
  default: R(() => t[7] || (t[7] = [
23697
- Ee(" Dismiss ")
23606
+ _e(" Dismiss ")
23698
23607
  ])),
23699
23608
  _: 1
23700
23609
  })
@@ -23707,7 +23616,7 @@ function r9(e, t, n, r, o, a) {
23707
23616
  ])) : G("", !0)
23708
23617
  ]);
23709
23618
  }
23710
- const Ry = /* @__PURE__ */ $n(e9, [["render", r9], ["__scopeId", "data-v-ba0c41d1"]]), o9 = {
23619
+ const Ry = /* @__PURE__ */ $n(t9, [["render", o9], ["__scopeId", "data-v-ba0c41d1"]]), a9 = {
23711
23620
  name: "Tabs",
23712
23621
  components: {
23713
23622
  ElIconClose: _o
@@ -23744,16 +23653,16 @@ const Ry = /* @__PURE__ */ $n(e9, [["render", r9], ["__scopeId", "data-v-ba0c41d
23744
23653
  this.$emit("tabClosed", { id: e.id, type: e.type });
23745
23654
  }
23746
23655
  }
23747
- }, a9 = { class: "tabs-container" }, s9 = ["onClick"], i9 = { class: "tab-title" };
23748
- function l9(e, t, n, r, o, a) {
23656
+ }, s9 = { class: "tabs-container" }, i9 = ["onClick"], l9 = { class: "tab-title" };
23657
+ function c9(e, t, n, r, o, a) {
23749
23658
  const s = _o, i = ze;
23750
- return C(), F("div", a9, [
23659
+ return C(), F("div", s9, [
23751
23660
  (C(!0), F(Pe, null, ft(a.tabs, (l) => (C(), F("div", {
23752
23661
  class: L(["tab", { "active-tab": l.id == n.activeId }]),
23753
23662
  key: l.id,
23754
23663
  onClick: (c) => a.tabClicked(l)
23755
23664
  }, [
23756
- W("span", i9, ue(l.title), 1),
23665
+ W("span", l9, de(l.title), 1),
23757
23666
  l.closable ? (C(), Y(i, {
23758
23667
  key: 0,
23759
23668
  onClick: Ne((c) => a.tabClosed(l), ["stop"]),
@@ -23764,10 +23673,10 @@ function l9(e, t, n, r, o, a) {
23764
23673
  ]),
23765
23674
  _: 2
23766
23675
  }, 1032, ["onClick"])) : G("", !0)
23767
- ], 10, s9))), 128))
23676
+ ], 10, i9))), 128))
23768
23677
  ]);
23769
23678
  }
23770
- const Ny = /* @__PURE__ */ $n(o9, [["render", l9], ["__scopeId", "data-v-9dda8d57"]]), c9 = {
23679
+ const Ny = /* @__PURE__ */ $n(a9, [["render", c9], ["__scopeId", "data-v-9dda8d57"]]), u9 = {
23771
23680
  components: {
23772
23681
  SidebarContent: Iy,
23773
23682
  Tabs: Ny,
@@ -23840,6 +23749,10 @@ const Ny = /* @__PURE__ */ $n(o9, [["render", l9], ["__scopeId", "data-v-9dda8d5
23840
23749
  connectivityKnowledge: {
23841
23750
  type: Array,
23842
23751
  default: []
23752
+ },
23753
+ filterOptions: {
23754
+ type: Array,
23755
+ default: []
23843
23756
  }
23844
23757
  },
23845
23758
  data: function() {
@@ -23850,15 +23763,15 @@ const Ny = /* @__PURE__ */ $n(o9, [["render", l9], ["__scopeId", "data-v-9dda8d5
23850
23763
  };
23851
23764
  },
23852
23765
  methods: {
23853
- onConnectivityExplorerClicked: function(e) {
23854
- this.$emit("connectivity-explorer-clicked", e);
23766
+ onConnectivityCollapseChange: function(e) {
23767
+ this.$emit("connectivity-collapse-change", e);
23855
23768
  },
23856
23769
  /**
23857
23770
  * This event is emitted when the mouse hover are changed.
23858
23771
  * @arg data
23859
23772
  */
23860
- hoverChanged: function(e) {
23861
- this.$emit("hover-changed", e);
23773
+ hoverChanged: function(e, t) {
23774
+ this.$emit("hover-changed", { ...t, tabId: e });
23862
23775
  },
23863
23776
  /**
23864
23777
  * This event is emitted when the show connectivity button is clicked.
@@ -23886,7 +23799,7 @@ const Ny = /* @__PURE__ */ $n(o9, [["render", l9], ["__scopeId", "data-v-9dda8d5
23886
23799
  * @arg `obj` {data, id}
23887
23800
  */
23888
23801
  searchChanged: function(e, t) {
23889
- this.$emit("search-changed", { ...t, id: e });
23802
+ this.$emit("search-changed", { ...t, tabId: e });
23890
23803
  },
23891
23804
  /**
23892
23805
  * The function to close sidebar.
@@ -24005,10 +23918,10 @@ const Ny = /* @__PURE__ */ $n(o9, [["render", l9], ["__scopeId", "data-v-9dda8d5
24005
23918
  this.availableAnatomyFacets = e.find((t) => t.label === "Anatomical Structure").children, this.storeAvailableAnatomyFacets(this.availableAnatomyFacets);
24006
23919
  });
24007
23920
  }
24008
- }, u9 = { ref: "container" }, d9 = { class: "box-card" }, f9 = { class: "sidebar-container" };
24009
- function p9(e, t, n, r, o, a) {
23921
+ }, d9 = { ref: "container" }, f9 = { class: "box-card" }, p9 = { class: "sidebar-container" };
23922
+ function h9(e, t, n, r, o, a) {
24010
23923
  const s = Ac, i = ze, l = hi, c = Ny, u = Ry, f = $y, g = Iy, v = uu;
24011
- return C(), F("div", u9, [
23924
+ return C(), F("div", d9, [
24012
23925
  e.drawerOpen ? G("", !0) : (C(), F("div", {
24013
23926
  key: 0,
24014
23927
  onClick: t[0] || (t[0] = (...d) => a.toggleDrawer && a.toggleDrawer(...d)),
@@ -24024,7 +23937,7 @@ function p9(e, t, n, r, o, a) {
24024
23937
  q(v, {
24025
23938
  class: "side-bar my-drawer",
24026
23939
  modelValue: e.drawerOpen,
24027
- "onUpdate:modelValue": t[8] || (t[8] = (d) => e.drawerOpen = d),
23940
+ "onUpdate:modelValue": t[6] || (t[6] = (d) => e.drawerOpen = d),
24028
23941
  teleported: !1,
24029
23942
  "modal-append-to-body": !1,
24030
23943
  size: "584",
@@ -24036,7 +23949,7 @@ function p9(e, t, n, r, o, a) {
24036
23949
  "lock-scroll": !1
24037
23950
  }, {
24038
23951
  default: R(() => [
24039
- W("div", d9, [
23952
+ W("div", f9, [
24040
23953
  e.drawerOpen ? (C(), F("div", {
24041
23954
  key: 0,
24042
23955
  onClick: t[1] || (t[1] = (...d) => a.close && a.close(...d)),
@@ -24049,7 +23962,7 @@ function p9(e, t, n, r, o, a) {
24049
23962
  _: 1
24050
23963
  })
24051
23964
  ])) : G("", !0),
24052
- W("div", f9, [
23965
+ W("div", p9, [
24053
23966
  a.tabEntries.length > 1 ? (C(), Y(c, {
24054
23967
  key: 0,
24055
23968
  tabEntries: a.tabEntries,
@@ -24078,13 +23991,14 @@ function p9(e, t, n, r, o, a) {
24078
23991
  envVars: n.envVars,
24079
23992
  connectivityEntry: n.connectivityEntry,
24080
23993
  availableAnatomyFacets: e.availableAnatomyFacets,
23994
+ connectivityFilterOptions: n.filterOptions,
24081
23995
  onSearchChanged: (p) => a.searchChanged(d.id, p),
24082
- onHoverChanged: t[6] || (t[6] = (p) => a.hoverChanged(p)),
23996
+ onHoverChanged: (p) => a.hoverChanged(d.id, p),
24083
23997
  onShowConnectivity: a.showConnectivity,
24084
23998
  onShowReferenceConnectivities: a.onShowReferenceConnectivities,
24085
23999
  onConnectivityHovered: a.onConnectivityHovered,
24086
- onConnectivityExplorerClicked: a.onConnectivityExplorerClicked
24087
- }, null, 8, ["connectivityKnowledge", "envVars", "connectivityEntry", "availableAnatomyFacets", "onSearchChanged", "onShowConnectivity", "onShowReferenceConnectivities", "onConnectivityHovered", "onConnectivityExplorerClicked"])), [
24000
+ onConnectivityCollapseChange: a.onConnectivityCollapseChange
24001
+ }, null, 8, ["connectivityKnowledge", "envVars", "connectivityEntry", "availableAnatomyFacets", "connectivityFilterOptions", "onSearchChanged", "onHoverChanged", "onShowConnectivity", "onShowReferenceConnectivities", "onConnectivityHovered", "onConnectivityCollapseChange"])), [
24088
24002
  [wt, d.id === e.activeTabId]
24089
24003
  ]) : Oe((C(), Y(g, {
24090
24004
  key: 2,
@@ -24094,8 +24008,8 @@ function p9(e, t, n, r, o, a) {
24094
24008
  ref_for: !0,
24095
24009
  ref: "datasetExplorerTab_" + d.id,
24096
24010
  onSearchChanged: (p) => a.searchChanged(d.id, p),
24097
- onHoverChanged: t[7] || (t[7] = (p) => a.hoverChanged(p))
24098
- }, null, 8, ["contextCardEntry", "envVars", "onSearchChanged"])), [
24011
+ onHoverChanged: (p) => a.hoverChanged(d.id, p)
24012
+ }, null, 8, ["contextCardEntry", "envVars", "onSearchChanged", "onHoverChanged"])), [
24099
24013
  [wt, d.id === e.activeTabId]
24100
24014
  ])
24101
24015
  ], 64))), 128))
@@ -24106,7 +24020,7 @@ function p9(e, t, n, r, o, a) {
24106
24020
  }, 8, ["modelValue"])
24107
24021
  ], 512);
24108
24022
  }
24109
- const m9 = /* @__PURE__ */ $n(c9, [["render", p9], ["__scopeId", "data-v-eb25f336"]]);
24023
+ const y9 = /* @__PURE__ */ $n(u9, [["render", h9], ["__scopeId", "data-v-d177efb9"]]);
24110
24024
  export {
24111
- m9 as SideBar
24025
+ y9 as SideBar
24112
24026
  };