@abi-software/map-side-bar 2.8.3-beta.4 → 2.8.3-beta.6

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 ht, onBeforeMount as wh, provide as je, defineComponent as U, openBlock as C, createElementBlock as F, mergeProps as ft, 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 dt, withModifiers as Ne, createVNode as q, toDisplayString as de, normalizeStyle as Ge, Transition as Fr, withDirectives as Oe, vShow as Ct, 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 yt, resolveComponent as Se, renderList as pt, 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 ht, onBeforeMount as wh, provide as je, defineComponent as U, openBlock as C, createElementBlock as F, mergeProps as ft, 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 dt, withModifiers as Ne, createVNode as q, toDisplayString as ue, normalizeStyle as Ge, Transition as Fr, withDirectives as Oe, vShow as Ct, 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 yt, resolveComponent as Se, renderList as pt, 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
- }, de(h(Xe)) + " / " + de(ee.maxlength), 3)
3193
+ }, ue(h(Xe)) + " / " + ue(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
- }, de(h(Xe)) + " / " + de(ee.maxlength), 7)) : G("v-if", !0)
3251
+ }, ue(h(Xe)) + " / " + ue(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 }, de(y.content), 1))
4674
+ }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, ue(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
- _e(de(n.header), 1)
5500
+ _e(ue(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
- _e(de(n.footer), 1)
5514
+ _e(ue(n.footer), 1)
5515
5515
  ])
5516
5516
  ], 2)) : G("v-if", !0)
5517
5517
  ], 2));
@@ -5798,7 +5798,7 @@ const Ai = vt(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
- _e(de(y.label), 1)
5801
+ _e(ue(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
- _e(de(d.label), 1)
5887
+ _e(ue(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
- _e(de(g.label), 1)
6084
+ _e(ue(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
- _e(de(f.label), 1)
6140
+ _e(ue(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
- _e(" " + de(e.t("el.cascader.loading")), 1)
6465
+ _e(" " + ue(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
- _e(de(e.t("el.cascader.noData")), 1)
6471
+ _e(ue(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 = vt(PO), $O = we({
6958
6958
  enabled: !0,
6959
6959
  phase: "main",
6960
6960
  fn: ({ state: Z }) => {
6961
- const { modifiersData: ue, placement: fe } = Z;
6962
- ["right", "left", "bottom", "top"].includes(fe) || (ue.arrow.x = 35);
6961
+ const { modifiersData: de, placement: fe } = Z;
6962
+ ["right", "left", "bottom", "top"].includes(fe) || (de.arrow.x = 35);
6963
6963
  },
6964
6964
  requires: ["arrow"]
6965
6965
  }
@@ -6968,23 +6968,23 @@ const Ro = vt(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 ue;
6972
- const fe = (ue = Z.target) == null ? void 0 : ue.value;
6971
+ var de;
6972
+ const fe = (de = Z.target) == null ? void 0 : de.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), gt = 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 : !!gt.value.length), De = w(() => {
6979
- const { showAllLevels: Z, separator: ue } = r, fe = gt.value;
6980
- return fe.length ? $e.value ? "" : fe[0].calcText(Z, ue) : "";
6979
+ const { showAllLevels: Z, separator: de } = r, fe = gt.value;
6980
+ return fe.length ? $e.value ? "" : fe[0].calcText(Z, de) : "";
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 ue = Z ?? v.value;
6987
- n(lt, ue), n(no, ue), r.validateEvent && (g == null || g.validate("change").catch((fe) => St(fe)));
6986
+ const de = Z ?? v.value;
6987
+ n(lt, de), n(no, de), r.validateEvent && (g == null || g.validate("change").catch((fe) => St(fe)));
6988
6988
  }
6989
6989
  }), it = w(() => [
6990
6990
  l.b(),
@@ -6996,11 +6996,11 @@ const Ro = vt(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, ue;
7000
- return (ue = (Z = m.value) == null ? void 0 : Z.popperRef) == null ? void 0 : ue.contentRef;
6999
+ var Z, de;
7000
+ return (de = (Z = m.value) == null ? void 0 : Z.popperRef) == null ? void 0 : de.contentRef;
7001
7001
  }), rt = (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)));
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)));
7004
7004
  }, ct = () => {
7005
7005
  Fe(() => {
7006
7006
  var Z;
@@ -7009,37 +7009,37 @@ const Ro = vt(PO), $O = we({
7009
7009
  }, Ut = () => {
7010
7010
  A.value = !1;
7011
7011
  }, qt = (Z) => {
7012
- const { showAllLevels: ue, separator: fe } = r;
7012
+ const { showAllLevels: de, separator: fe } = r;
7013
7013
  return {
7014
7014
  node: Z,
7015
7015
  key: Z.uid,
7016
- text: Z.calcText(ue, fe),
7016
+ text: Z.calcText(de, fe),
7017
7017
  hitState: !1,
7018
7018
  closable: !re.value && !Z.isDisabled,
7019
7019
  isCollapseTag: !1
7020
7020
  };
7021
7021
  }, xt = (Z) => {
7022
- var ue;
7022
+ var de;
7023
7023
  const fe = Z.node;
7024
- fe.doCheck(!1), (ue = I.value) == null || ue.calculateCheckedValue(), n("removeTag", fe.valueByOption);
7024
+ fe.doCheck(!1), (de = I.value) == null || de.calculateCheckedValue(), n("removeTag", fe.valueByOption);
7025
7025
  }, Kt = () => {
7026
7026
  if (!$e.value)
7027
7027
  return;
7028
- const Z = gt.value, ue = [], fe = [];
7028
+ const Z = gt.value, de = [], fe = [];
7029
7029
  if (Z.forEach((qe) => fe.push(qt(qe))), H.value = fe, Z.length) {
7030
- Z.slice(0, r.maxCollapseTags).forEach((Wt) => ue.push(qt(Wt)));
7030
+ Z.slice(0, r.maxCollapseTags).forEach((Wt) => de.push(qt(Wt)));
7031
7031
  const qe = Z.slice(r.maxCollapseTags), cn = qe.length;
7032
- cn && (r.collapseTags ? ue.push({
7032
+ cn && (r.collapseTags ? de.push({
7033
7033
  key: -1,
7034
7034
  text: `+ ${cn}`,
7035
7035
  closable: !1,
7036
7036
  isCollapseTag: !0
7037
- }) : qe.forEach((Wt) => ue.push(qt(Wt))));
7037
+ }) : qe.forEach((Wt) => de.push(qt(Wt))));
7038
7038
  }
7039
- j.value = ue;
7039
+ j.value = de;
7040
7040
  }, Nt = () => {
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)));
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)));
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 = vt(PO), $O = we({
7047
7047
  })), A.value = !0, Q.value = Wt, ct();
7048
7048
  }, bn = () => {
7049
7049
  var Z;
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());
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());
7052
7052
  }, Ue = () => {
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;
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;
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 = vt(PO), $O = we({
7063
7063
  }
7064
7064
  }
7065
7065
  }, Tt = (Z) => {
7066
- var ue;
7067
- return (ue = I.value) == null ? void 0 : ue.getCheckedNodes(Z);
7066
+ var de;
7067
+ return (de = I.value) == null ? void 0 : de.getCheckedNodes(Z);
7068
7068
  }, Mt = (Z) => {
7069
7069
  ct(), n("expandChange", Z);
7070
7070
  }, sn = (Z) => {
@@ -7090,39 +7090,39 @@ const Ro = vt(PO), $O = we({
7090
7090
  const { value: Z } = De;
7091
7091
  D.value = Z, K.value = Z;
7092
7092
  }, Ie = (Z) => {
7093
- var ue, fe;
7093
+ var de, fe;
7094
7094
  const { checked: qe } = Z;
7095
- $e.value ? (ue = I.value) == null || ue.handleCheckChange(Z, !qe, !1) : (!qe && ((fe = I.value) == null || fe.handleCheckChange(Z, !0, !1)), rt(!1));
7095
+ $e.value ? (de = I.value) == null || de.handleCheckChange(Z, !qe, !1) : (!qe && ((fe = I.value) == null || fe.handleCheckChange(Z, !0, !1)), rt(!1));
7096
7096
  }, ot = (Z) => {
7097
- const ue = Z.target, { code: fe } = Z;
7097
+ const de = 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(ue, qe, `.${l.e("suggestion-item")}[tabindex="-1"]`));
7102
+ xs(Bh(de, qe, `.${l.e("suggestion-item")}[tabindex="-1"]`));
7103
7103
  break;
7104
7104
  }
7105
7105
  case Me.enter:
7106
- ue.click();
7106
+ de.click();
7107
7107
  break;
7108
7108
  }
7109
7109
  }, jt = () => {
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 ? xt(ue) : ue.hitState = !0);
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 ? xt(de) : de.hitState = !0);
7112
7112
  }, ln = (Z) => {
7113
- const ue = Z.target, fe = l.e("search-input");
7114
- ue.className === fe && ($.value = !0), n("focus", Z);
7113
+ const de = Z.target, fe = l.e("search-input");
7114
+ de.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 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());
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());
7126
7126
  }, Br = (Z) => Number.parseFloat(_b(c.cssVarName("input-height"), Z).value) - 2;
7127
7127
  return ae(A, ct), ae([gt, re, () => r.collapseTags], Kt), ae(j, () => {
7128
7128
  Fe(() => Ue());
@@ -7131,15 +7131,15 @@ const Ro = vt(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, ue = Br(Z);
7135
- s = Z.offsetHeight || ue, Wn(Z, Ue);
7134
+ const Z = y.value.input, de = Br(Z);
7135
+ s = Z.offsetHeight || de, 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, ue) => (C(), Y(h(Aa), {
7142
+ }), (Z, de) => (C(), Y(h(Aa), {
7143
7143
  ref_key: "tooltipRef",
7144
7144
  ref: m,
7145
7145
  visible: _.value,
@@ -7227,7 +7227,7 @@ const Ro = vt(PO), $O = we({
7227
7227
  onClose: (qe) => xt(fe)
7228
7228
  }, {
7229
7229
  default: R(() => [
7230
- fe.isCollapseTag === !1 ? (C(), F("span", { key: 0 }, de(fe.text), 1)) : (C(), Y(h(Aa), {
7230
+ fe.isCollapseTag === !1 ? (C(), F("span", { key: 0 }, ue(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 = vt(PO), $O = we({
7235
7235
  effect: "light"
7236
7236
  }, {
7237
7237
  default: R(() => [
7238
- W("span", null, de(fe.text), 1)
7238
+ W("span", null, ue(fe.text), 1)
7239
7239
  ]),
7240
7240
  content: R(() => [
7241
7241
  W("div", {
@@ -7257,7 +7257,7 @@ const Ro = vt(PO), $O = we({
7257
7257
  onClose: (Wt) => xt(qe)
7258
7258
  }, {
7259
7259
  default: R(() => [
7260
- W("span", null, de(qe.text), 1)
7260
+ W("span", null, ue(qe.text), 1)
7261
7261
  ]),
7262
7262
  _: 2
7263
7263
  }, 1032, ["type", "size", "effect", "hit", "closable", "onClose"]))
@@ -7330,7 +7330,7 @@ const Ro = vt(PO), $O = we({
7330
7330
  tabindex: -1,
7331
7331
  onClick: (qe) => Ie(fe)
7332
7332
  }, [
7333
- W("span", null, de(fe.text), 1),
7333
+ W("span", null, ue(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 = vt(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
- }, de(h(u)("el.cascader.noMatch")), 3)
7343
+ }, ue(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
- }, de($.title), 11, ["id", "aria-level"]))
7934
+ }, ue($.title), 11, ["id", "aria-level"]))
7935
7935
  ]),
7936
7936
  $.showClose ? (C(), F("button", {
7937
7937
  key: 2,
@@ -8799,7 +8799,7 @@ const c5 = vt(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 }, de(o.prevText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8802
+ o.prevText ? (C(), F("span", { key: 0 }, ue(o.prevText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8803
8803
  default: R(() => [
8804
8804
  (C(), Y(dt(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 }, de(o.nextText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8844
+ o.nextText ? (C(), F("span", { key: 0 }, ue(o.nextText), 1)) : (C(), Y(h(ze), { key: 1 }, {
8845
8845
  default: R(() => [
8846
8846
  (C(), Y(dt(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, de(e.currentLabel), 1)
8964
+ W("span", null, ue(e.currentLabel), 1)
8965
8965
  ])
8966
8966
  ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
8967
8967
  [Ct, e.visible]
@@ -9106,7 +9106,7 @@ const O5 = 11, T5 = (e, t) => {
9106
9106
  s.previousQuery === V || I.value || (s.previousQuery = V, e.filterable && wt(e.filterMethod) ? e.filterMethod(V) : e.filterable && e.remote && wt(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 = ue(Ve.value, ie || Te);
9109
+ s.hoveringIndex = de(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 = ue(Te, V.value);
9195
+ const Te = lr((ie = e.modelValue) != null ? ie : []).slice(), Ke = de(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 && xt(""), 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
- }, ue = (V = [], ie) => {
9202
+ }, de = (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
- _e(de(p.currentLabel), 1)
9577
+ _e(ue(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
- }, " + " + de(e.states.selected.length - e.maxCollapseTags), 3)
9609
+ }, " + " + ue(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
- _e(de(p.currentLabel), 1)
9641
+ _e(ue(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: de(e.states.inputValue)
9700
+ textContent: ue(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, de(e.currentPlaceholder), 1)
9717
- ]) : (C(), F("span", { key: 1 }, de(e.currentPlaceholder), 1))
9716
+ W("span", null, ue(e.currentPlaceholder), 1)
9717
+ ]) : (C(), F("span", { key: 1 }, ue(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, de(e.emptyText), 1)
9809
+ W("span", null, ue(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
- }, de(e.label), 3),
9875
+ }, ue(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
- }, de(h(t)("el.pagination.goto")), 3),
9986
+ }, ue(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
- }, de(h(t)("el.pagination.pageClassifier")), 3)
10002
+ }, ue(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
- }, de(h(t)("el.pagination.total", {
10022
+ }, ue(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
- }, de(O), 11, ["aria-current", "aria-label", "tabindex"]))), 128)),
10141
+ }, ue(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
- }, de(x.pageCount), 11, ["aria-current", "aria-label", "tabindex"])) : G("v-if", !0)
10163
+ }, ue(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 = vt(e3), t3 = we({
10483
10483
  key: 0,
10484
10484
  class: L(h(a).e("title")),
10485
10485
  role: "title"
10486
- }, de(m.title), 3)) : G("v-if", !0),
10486
+ }, ue(m.title), 3)) : G("v-if", !0),
10487
10487
  te(m.$slots, "default", {}, () => [
10488
- _e(de(m.content), 1)
10488
+ _e(ue(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
- _e(de(l + " (" + i.size + ")"), 1)
10771
+ _e(ue(l + " (" + i.size + ")"), 1)
10772
10772
  ]),
10773
10773
  _: 2
10774
10774
  }, 1032, ["class", "onClick"])) : G("", !0)
@@ -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 }, de(y.content), 1))
15501
+ }, null, 8, ["innerHTML"])) : (C(), F("span", { key: 1 }, ue(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
- _e(de(n.header), 1)
16286
+ _e(ue(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
- _e(de(n.footer), 1)
16300
+ _e(ue(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
- }, de(m.title), 3)) : G("v-if", !0),
16566
+ }, ue(m.title), 3)) : G("v-if", !0),
16567
16567
  te(m.$slots, "default", {}, () => [
16568
- _e(de(m.content), 1)
16568
+ _e(ue(m.content), 1)
16569
16569
  ])
16570
16570
  ]),
16571
16571
  default: R(() => [
@@ -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, de(e.data.type), 1)
18611
+ W("b", null, ue(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
- }, de(e.data.title), 513), [
18626
+ }, ue(e.data.title), 513), [
18627
18627
  [Ct, !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
- _e(" View " + de(e.data.type), 1)
18638
+ _e(" View " + ue(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
- }, 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),
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),
19601
19601
  n.entry.detailsReady ? G("", !0) : Oe((C(), F("div", _N, null, 512)), [
19602
19602
  [u, !n.entry.detailsReady]
19603
19603
  ]),
@@ -19785,14 +19785,14 @@ function zN(e, t, n, r, o, a) {
19785
19785
  "popper-class": "popover-dropdown"
19786
19786
  }, {
19787
19787
  reference: R(() => [
19788
- _e(de(p.label), 1)
19788
+ _e(ue(p.label), 1)
19789
19789
  ]),
19790
19790
  default: R(() => [
19791
- _e(" " + de(p.longLabel), 1)
19791
+ _e(" " + ue(p.longLabel), 1)
19792
19792
  ]),
19793
19793
  _: 2
19794
19794
  }, 1024)) : (C(), F(Pe, { key: 1 }, [
19795
- _e(de(p.label), 1)
19795
+ _e(ue(p.label), 1)
19796
19796
  ], 64))
19797
19797
  ]),
19798
19798
  _: 2
@@ -19825,17 +19825,17 @@ function zN(e, t, n, r, o, a) {
19825
19825
  W("span", {
19826
19826
  class: "dropdown-clickable-item",
19827
19827
  onClick: (m) => a.search(p)
19828
- }, de(p.label), 9, NN)
19828
+ }, ue(p.label), 9, NN)
19829
19829
  ]),
19830
19830
  default: R(() => [
19831
- _e(" " + de(p.longLabel), 1)
19831
+ _e(" " + ue(p.longLabel), 1)
19832
19832
  ]),
19833
19833
  _: 2
19834
19834
  }, 1024)) : (C(), F("span", {
19835
19835
  key: 1,
19836
19836
  class: "dropdown-clickable-item",
19837
19837
  onClick: (m) => a.search(p)
19838
- }, de(p.label), 9, LN))
19838
+ }, ue(p.label), 9, LN))
19839
19839
  ]),
19840
19840
  W("div", null, [
19841
19841
  q(s, {
@@ -21056,7 +21056,7 @@ var Ty = { exports: {} };
21056
21056
  return function(S, k) {
21057
21057
  return b.transporter.read({ method: j, path: "1/indexes/*/objects", data: { requests: S } }, k);
21058
21058
  };
21059
- }, ue = function(b) {
21059
+ }, de = function(b) {
21060
21060
  return function(S, k) {
21061
21061
  var T = S.map(function(N) {
21062
21062
  return o(o({}, N), {}, { params: ge(N.params || {}) });
@@ -21544,7 +21544,7 @@ var Ty = { exports: {} };
21544
21544
  return Promise.all([ce.requestsCache.clear(), ce.responsesCache.clear()]).then(function() {
21545
21545
  });
21546
21546
  } }, X.methods);
21547
- }(o(o({}, ne), {}, { methods: { search: ue, searchForFacetValues: fe, multipleBatch: Br, multipleGetObjects: Z, multipleQueries: ue, copyIndex: ct, copySettings: qt, copySynonyms: xt, 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: de, searchForFacetValues: fe, multipleBatch: Br, multipleGetObjects: Z, multipleQueries: de, copyIndex: ct, copySettings: qt, copySynonyms: xt, 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) {
21548
21548
  return function(oe) {
21549
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: mt, 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 } });
21550
21550
  };
@@ -22222,7 +22222,7 @@ function vL(e, t, n, r, o, a) {
22222
22222
  onClose: t[0] || (t[0] = (d) => a.cascadeTagClose(e.presentTags[0]))
22223
22223
  }, {
22224
22224
  default: R(() => [
22225
- W("p", lL, de(e.presentTags[0]), 1)
22225
+ W("span", lL, ue(e.presentTags[0]), 1)
22226
22226
  ]),
22227
22227
  _: 1
22228
22228
  }),
@@ -22243,7 +22243,7 @@ function vL(e, t, n, r, o, a) {
22243
22243
  onClose: (m) => a.cascadeTagClose(d)
22244
22244
  }, {
22245
22245
  default: R(() => [
22246
- _e(de(d), 1)
22246
+ _e(ue(d), 1)
22247
22247
  ]),
22248
22248
  _: 2
22249
22249
  }, 1032, ["onClose"]))), 128))
@@ -22257,7 +22257,7 @@ function vL(e, t, n, r, o, a) {
22257
22257
  type: "info"
22258
22258
  }, {
22259
22259
  default: R(() => [
22260
- _e(" +" + de(e.presentTags.length - 1), 1)
22260
+ _e(" +" + ue(e.presentTags.length - 1), 1)
22261
22261
  ]),
22262
22262
  _: 1
22263
22263
  })) : G("", !0)
@@ -22299,18 +22299,18 @@ function vL(e, t, n, r, o, a) {
22299
22299
  })
22300
22300
  ]),
22301
22301
  default: R(() => [
22302
- t[5] || (t[5] = W("div", null, [
22303
- W("strong", null, "Within categories:"),
22304
- _e(" OR "),
22305
- W("br"),
22306
- _e(" example: 'heart' OR 'colon' "),
22307
- W("br"),
22308
- W("br"),
22309
- W("strong", null, "Between categories:"),
22310
- _e(" AND "),
22311
- W("br"),
22312
- _e(" example: 'rat' AND 'lung' ")
22313
- ], -1))
22302
+ W("div", null, [
22303
+ t[5] || (t[5] = W("strong", null, "Within categories:", -1)),
22304
+ t[6] || (t[6] = _e(" OR ")),
22305
+ t[7] || (t[7] = W("br", null, null, -1)),
22306
+ _e(" example: " + ue(n.entry.helper.within) + " ", 1),
22307
+ t[8] || (t[8] = W("br", null, null, -1)),
22308
+ t[9] || (t[9] = W("br", null, null, -1)),
22309
+ t[10] || (t[10] = W("strong", null, "Between categories:", -1)),
22310
+ t[11] || (t[11] = _e(" AND ")),
22311
+ t[12] || (t[12] = W("br", null, null, -1)),
22312
+ _e(" example: " + ue(n.entry.helper.between), 1)
22313
+ ])
22314
22314
  ]),
22315
22315
  _: 1
22316
22316
  })
@@ -22322,7 +22322,7 @@ function vL(e, t, n, r, o, a) {
22322
22322
  })
22323
22323
  ])) : G("", !0),
22324
22324
  W("div", pL, [
22325
- W("span", hL, de(a.numberOfResultsText), 1),
22325
+ W("span", hL, ue(a.numberOfResultsText), 1),
22326
22326
  q(g, {
22327
22327
  class: "number-shown-select",
22328
22328
  modelValue: e.numberShown,
@@ -22342,7 +22342,7 @@ function vL(e, t, n, r, o, a) {
22342
22342
  ])
22343
22343
  ]);
22344
22344
  }
22345
- const tl = /* @__PURE__ */ $n(oL, [["render", vL], ["__scopeId", "data-v-403270fe"]]);
22345
+ const tl = /* @__PURE__ */ $n(oL, [["render", vL], ["__scopeId", "data-v-abd92758"]]);
22346
22346
  var gL = async function(e) {
22347
22347
  if (!e.ok) {
22348
22348
  let t = await e.json();
@@ -22413,7 +22413,11 @@ const yL = {
22413
22413
  return {
22414
22414
  numberOfHits: this.numberOfHits,
22415
22415
  filterFacets: this.filter,
22416
- showFilters: !0
22416
+ showFilters: !0,
22417
+ helper: {
22418
+ within: "'heart' OR 'colon'",
22419
+ between: "'rat' AND 'lung'"
22420
+ }
22417
22421
  };
22418
22422
  }
22419
22423
  },
@@ -22665,7 +22669,7 @@ function SL(e, t, n, r, o, a) {
22665
22669
  _: 1
22666
22670
  }, 8, ["body-style"]);
22667
22671
  }
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) {
22672
+ const Iy = /* @__PURE__ */ $n(yL, [["render", SL], ["__scopeId", "data-v-66d857f2"]]), kL = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), da = function(e) {
22669
22673
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
22670
22674
  }, EL = {
22671
22675
  name: "ConnectivityInfo",
@@ -22943,7 +22947,7 @@ function zL(e, t, n, r, o, a) {
22943
22947
  W("div", OL, [
22944
22948
  a.entry.title ? (C(), F("div", TL, [
22945
22949
  W("div", AL, [
22946
- W("span", null, de(a.capitalise(a.entry.title)), 1),
22950
+ W("span", null, ue(a.capitalise(a.entry.title)), 1),
22947
22951
  a.entry.featuresAlert ? (C(), Y(l, {
22948
22952
  key: 0,
22949
22953
  width: "250",
@@ -22960,18 +22964,18 @@ function zL(e, t, n, r, o, a) {
22960
22964
  })
22961
22965
  ]),
22962
22966
  default: R(() => [
22963
- W("span", IL, de(a.entry.featuresAlert), 1)
22967
+ W("span", IL, ue(a.entry.featuresAlert), 1)
22964
22968
  ]),
22965
22969
  _: 1
22966
22970
  })) : G("", !0)
22967
22971
  ]),
22968
22972
  W("div", FL, [
22969
22973
  t[3] || (t[3] = W("strong", null, "id: ", -1)),
22970
- _e(de(a.entry.featureId[0]), 1)
22974
+ _e(ue(a.entry.featureId[0]), 1)
22971
22975
  ]),
22972
- a.hasProvenanceTaxonomyLabel ? (C(), F("div", PL, de(a.provSpeciesDescription), 1)) : G("", !0)
22976
+ a.hasProvenanceTaxonomyLabel ? (C(), F("div", PL, ue(a.provSpeciesDescription), 1)) : G("", !0)
22973
22977
  ])) : (C(), F("div", $L, [
22974
- W("div", RL, de(a.entry.featureId), 1)
22978
+ W("div", RL, ue(a.entry.featureId), 1)
22975
22979
  ]))
22976
22980
  ]),
22977
22981
  W("div", NL, [
@@ -23206,11 +23210,11 @@ function GL(e, t, n, r, o, a) {
23206
23210
  class: "card-content",
23207
23211
  onClick: t[0] || (t[0] = (i) => a.cardClicked(n.entry))
23208
23212
  }, [
23209
- W("div", KL, de(a.capitalise(n.entry.label)), 1),
23213
+ W("div", KL, ue(a.capitalise(n.entry.label)), 1),
23210
23214
  (C(!0), F(Pe, null, pt(o.displayFields, (i) => (C(), F(Pe, { key: i }, [
23211
23215
  n.entry[i] ? (C(), F("div", WL, [
23212
- W("strong", null, de(i) + ":", 1),
23213
- _e(" " + de(n.entry[i]), 1)
23216
+ W("strong", null, ue(i) + ":", 1),
23217
+ _e(" " + ue(n.entry[i]), 1)
23214
23218
  ])) : G("", !0)
23215
23219
  ], 64))), 128))
23216
23220
  ])), [
@@ -23293,7 +23297,11 @@ const ZL = {
23293
23297
  numberOfHits: this.numberOfHits,
23294
23298
  filterFacets: this.filter,
23295
23299
  options: this.connectivityFilterOptions,
23296
- showFilters: !0
23300
+ showFilters: !0,
23301
+ helper: {
23302
+ within: "'CNS' OR 'Local circuit neuron'",
23303
+ between: "'Somatic lower motor' AND 'Human'"
23304
+ }
23297
23305
  };
23298
23306
  },
23299
23307
  paginatedResults: function() {
@@ -23302,14 +23310,12 @@ const ZL = {
23302
23310
  },
23303
23311
  watch: {
23304
23312
  connectivityKnowledge: function(e, t) {
23305
- this.expanded = "", this.expandedData = null, 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]));
23313
+ this.expanded = "", this.expandedData = null, 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]), this.numberOfHits > 0 && "ready" in this.results[0] && (this.$refs.filtersRef.checkShowAllBoxes(), this.searchInput = "", this.filter = []));
23306
23314
  },
23307
23315
  // watch for connectivityEntry changes
23308
23316
  // card should be expanded if there is only one entry and it is ready
23309
23317
  connectivityEntry: function(e, t) {
23310
- if (e.length > 0)
23311
- this.$refs.filtersRef.checkShowAllBoxes(), this.searchInput = "", this.filter = [];
23312
- else if (e.length === 1 && e[0].ready) {
23318
+ if (e.length === 1 && e[0].ready) {
23313
23319
  if (e[0].connectivitySource !== t[0].connectivitySource && t[0].ready)
23314
23320
  return;
23315
23321
  this.collapseChange(e[0]);
@@ -23334,6 +23340,10 @@ const ZL = {
23334
23340
  this.$emit("connectivity-collapse-change", e);
23335
23341
  }));
23336
23342
  },
23343
+ onHoverChanged: function(e, t) {
23344
+ const { target: n } = e;
23345
+ (t || n && n.checkVisibility()) && this.hoverChanged(t);
23346
+ },
23337
23347
  hoverChanged: function(e) {
23338
23348
  let t = { tabType: "connectivity" };
23339
23349
  e ? t = { ...t, ...e } : this.expandedData && (t = { ...t, ...this.expandedData }), this.$emit("hover-changed", t);
@@ -23417,7 +23427,7 @@ function e9(e, t, n, r, o, a) {
23417
23427
  return C(), Y(v, {
23418
23428
  "body-style": e.bodyStyle,
23419
23429
  class: "content-card",
23420
- onMouseleave: t[7] || (t[7] = (p) => a.hoverChanged(void 0))
23430
+ onMouseleave: t[7] || (t[7] = (p) => a.onHoverChanged(p, void 0))
23421
23431
  }, {
23422
23432
  header: R(() => [
23423
23433
  W("div", YL, [
@@ -23473,7 +23483,7 @@ function e9(e, t, n, r, o, a) {
23473
23483
  Oe((C(), F("div", {
23474
23484
  class: "content scrollbar",
23475
23485
  ref: "content",
23476
- onMouseleave: t[6] || (t[6] = (p) => a.hoverChanged(void 0))
23486
+ onMouseleave: t[6] || (t[6] = (p) => a.onHoverChanged(p, void 0))
23477
23487
  }, [
23478
23488
  e.results.length === 0 && !e.loadingCards ? (C(), F("div", XL, " No results found - Please change your search / filter criteria. ")) : G("", !0),
23479
23489
  (C(!0), F(Pe, null, pt(a.paginatedResults, (p) => (C(), F("div", {
@@ -23481,7 +23491,7 @@ function e9(e, t, n, r, o, a) {
23481
23491
  ref_for: !0,
23482
23492
  ref: "stepItem-" + p.id,
23483
23493
  class: "step-item",
23484
- onMouseenter: (m) => a.hoverChanged(p)
23494
+ onMouseenter: (m) => a.onHoverChanged(m, p)
23485
23495
  }, [
23486
23496
  Oe(q(u, {
23487
23497
  class: "connectivity-card",
@@ -23525,7 +23535,7 @@ function e9(e, t, n, r, o, a) {
23525
23535
  _: 1
23526
23536
  }, 8, ["body-style"]);
23527
23537
  }
23528
- const $y = /* @__PURE__ */ $n(ZL, [["render", e9], ["__scopeId", "data-v-494938d9"]]), t9 = {
23538
+ const $y = /* @__PURE__ */ $n(ZL, [["render", e9], ["__scopeId", "data-v-ae659b09"]]), t9 = {
23529
23539
  name: "AnnotationTool",
23530
23540
  components: {
23531
23541
  AnnotationPopup: wb,
@@ -23547,7 +23557,8 @@ const $y = /* @__PURE__ */ $n(ZL, [["render", e9], ["__scopeId", "data-v-494938d
23547
23557
  },
23548
23558
  data: function() {
23549
23559
  return {
23550
- ElIconDelete: Wr(Ul)
23560
+ ElIconDelete: Wr(Ul),
23561
+ annotationPopupData: null
23551
23562
  };
23552
23563
  }
23553
23564
  }, n9 = { class: "annotation-tool scrollbar" }, r9 = {
@@ -23569,7 +23580,8 @@ function o9(e, t, n, r, o, a) {
23569
23580
  key: 0,
23570
23581
  class: "annotation-popup",
23571
23582
  annotationEntry: n.annotationEntry,
23572
- onAnnotation: t[2] || (t[2] = (f) => e.$emit("annotation", f))
23583
+ onAnnotation: t[2] || (t[2] = (f) => e.$emit("annotation", f)),
23584
+ onHoverChanged: t[3] || (t[3] = (f) => e.$emit("hover-changed", f))
23573
23585
  }, null, 8, ["annotationEntry"])) : G("", !0),
23574
23586
  n.createData && n.createData.toBeDeleted ? (C(), F("div", r9, [
23575
23587
  q(u, null, {
@@ -23578,7 +23590,7 @@ function o9(e, t, n, r, o, a) {
23578
23590
  offset: 1,
23579
23591
  span: 6
23580
23592
  }, {
23581
- default: R(() => t[5] || (t[5] = [
23593
+ default: R(() => t[6] || (t[6] = [
23582
23594
  _e("Delete this feature?")
23583
23595
  ])),
23584
23596
  _: 1
@@ -23591,9 +23603,9 @@ function o9(e, t, n, r, o, a) {
23591
23603
  q(c, {
23592
23604
  class: "delete-button",
23593
23605
  icon: e.ElIconDelete,
23594
- onClick: t[3] || (t[3] = (f) => e.$emit("confirm-delete"))
23606
+ onClick: t[4] || (t[4] = (f) => e.$emit("confirm-delete"))
23595
23607
  }, {
23596
- default: R(() => t[6] || (t[6] = [
23608
+ default: R(() => t[7] || (t[7] = [
23597
23609
  _e(" Delete ")
23598
23610
  ])),
23599
23611
  _: 1
@@ -23608,9 +23620,9 @@ function o9(e, t, n, r, o, a) {
23608
23620
  default: R(() => [
23609
23621
  q(c, {
23610
23622
  class: "delete-button",
23611
- onClick: t[4] || (t[4] = (f) => e.$emit("cancel-create"))
23623
+ onClick: t[5] || (t[5] = (f) => e.$emit("cancel-create"))
23612
23624
  }, {
23613
- default: R(() => t[7] || (t[7] = [
23625
+ default: R(() => t[8] || (t[8] = [
23614
23626
  _e(" Dismiss ")
23615
23627
  ])),
23616
23628
  _: 1
@@ -23624,7 +23636,7 @@ function o9(e, t, n, r, o, a) {
23624
23636
  ])) : G("", !0)
23625
23637
  ]);
23626
23638
  }
23627
- const Ry = /* @__PURE__ */ $n(t9, [["render", o9], ["__scopeId", "data-v-ba0c41d1"]]), a9 = {
23639
+ const Ry = /* @__PURE__ */ $n(t9, [["render", o9], ["__scopeId", "data-v-82a15370"]]), a9 = {
23628
23640
  name: "Tabs",
23629
23641
  components: {
23630
23642
  ElIconClose: _o
@@ -23670,7 +23682,7 @@ function c9(e, t, n, r, o, a) {
23670
23682
  key: l.id,
23671
23683
  onClick: (c) => a.tabClicked(l)
23672
23684
  }, [
23673
- W("span", l9, de(l.title), 1),
23685
+ W("span", l9, ue(l.title), 1),
23674
23686
  l.closable ? (C(), Y(i, {
23675
23687
  key: 0,
23676
23688
  onClick: Ne((c) => a.tabClosed(l), ["stop"]),
@@ -23767,7 +23779,9 @@ const Ny = /* @__PURE__ */ $n(a9, [["render", c9], ["__scopeId", "data-v-9dda8d5
23767
23779
  return {
23768
23780
  drawerOpen: !1,
23769
23781
  availableAnatomyFacets: [],
23770
- activeTabId: 1
23782
+ activeTabId: 1,
23783
+ activeAnnotationData: { tabType: "annotation" },
23784
+ activeConnectivityData: { tabType: "connectivity" }
23771
23785
  };
23772
23786
  },
23773
23787
  methods: {
@@ -23788,6 +23802,8 @@ const Ny = /* @__PURE__ */ $n(a9, [["render", c9], ["__scopeId", "data-v-9dda8d5
23788
23802
  */
23789
23803
  hoverChanged: function(e, t) {
23790
23804
  this.$emit("hover-changed", { ...t, tabId: e });
23805
+ const n = this.getActiveTabTypeById(e);
23806
+ n === "connectivityExplorer" && (this.activeConnectivityData = t), n === "annotation" && (this.activeAnnotationData = t);
23791
23807
  },
23792
23808
  /**
23793
23809
  * This event is emitted when the show connectivity button is clicked.
@@ -23884,8 +23900,20 @@ const Ny = /* @__PURE__ */ $n(a9, [["render", c9], ["__scopeId", "data-v-9dda8d5
23884
23900
  const t = this.tabs.filter((r) => r.id === e.id && r.type === e.type), n = t.length ? t : this.tabEntries;
23885
23901
  this.activeTabId = n[0].id;
23886
23902
  },
23903
+ getActiveTabTypeById: function(e) {
23904
+ const t = this.tabs.find((n) => n.id === e);
23905
+ return t ? t.type : "";
23906
+ },
23907
+ highlightActiveTabData: function(e) {
23908
+ let t = null;
23909
+ if (e.type === "connectivityExplorer") {
23910
+ const n = this.getTabRef(void 0, "connectivityExplorer", !0);
23911
+ n && !n.expanded ? t = { tabType: "connectivity" } : t = { ...this.activeConnectivityData };
23912
+ } else e.type === "annotation" && (t = { ...this.activeAnnotationData });
23913
+ t && this.$emit("hover-changed", { ...t, tabId: e.id });
23914
+ },
23887
23915
  tabClicked: function(e) {
23888
- this.setActiveTab(e), this.$emit("tabClicked", e);
23916
+ this.setActiveTab(e), this.$emit("tabClicked", e), this.highlightActiveTabData(e);
23889
23917
  },
23890
23918
  tabClosed: function(e) {
23891
23919
  this.$emit("tabClosed", e);
@@ -23999,8 +24027,9 @@ function h9(e, t, n, r, o, a) {
23999
24027
  onAnnotation: t[2] || (t[2] = (p) => e.$emit("annotation-submitted", p)),
24000
24028
  onConfirmCreate: t[3] || (t[3] = (p) => e.$emit("confirm-create", p)),
24001
24029
  onCancelCreate: t[4] || (t[4] = (p) => e.$emit("cancel-create")),
24002
- onConfirmDelete: t[5] || (t[5] = (p) => e.$emit("confirm-delete", p))
24003
- }, null, 8, ["annotationEntry", "createData"])), [
24030
+ onConfirmDelete: t[5] || (t[5] = (p) => e.$emit("confirm-delete", p)),
24031
+ onHoverChanged: (p) => a.hoverChanged(d.id, p)
24032
+ }, null, 8, ["annotationEntry", "createData", "onHoverChanged"])), [
24004
24033
  [Ct, d.id === e.activeTabId]
24005
24034
  ]) : d.type === "connectivityExplorer" ? Oe((C(), Y(f, {
24006
24035
  key: 1,
@@ -24040,7 +24069,7 @@ function h9(e, t, n, r, o, a) {
24040
24069
  }, 8, ["modelValue"])
24041
24070
  ], 512);
24042
24071
  }
24043
- const y9 = /* @__PURE__ */ $n(u9, [["render", h9], ["__scopeId", "data-v-87cced63"]]);
24072
+ const y9 = /* @__PURE__ */ $n(u9, [["render", h9], ["__scopeId", "data-v-8da1209d"]]);
24044
24073
  export {
24045
24074
  y9 as SideBar
24046
24075
  };