@abi-software/map-side-bar 2.2.1-beta.0 → 2.2.1-beta.1

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.
@@ -10821,7 +10821,7 @@ const Ju = {
10821
10821
  transformRequest: [function(t, n) {
10822
10822
  const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, a = H.isObject(t);
10823
10823
  if (a && H.isHTMLForm(t) && (t = new FormData(t)), H.isFormData(t))
10824
- return o && o ? JSON.stringify(ev(t)) : t;
10824
+ return o ? JSON.stringify(ev(t)) : t;
10825
10825
  if (H.isArrayBuffer(t) || H.isBuffer(t) || H.isStream(t) || H.isFile(t) || H.isBlob(t))
10826
10826
  return t;
10827
10827
  if (H.isArrayBufferView(t))
@@ -11339,7 +11339,7 @@ function kf(e) {
11339
11339
  ), r.response.headers = or.from(r.response.headers))), Promise.reject(r);
11340
11340
  });
11341
11341
  }
11342
- const Ef = (e) => e instanceof or ? e.toJSON() : e;
11342
+ const Ef = (e) => e instanceof or ? { ...e } : e;
11343
11343
  function wo(e, t) {
11344
11344
  t = t || {};
11345
11345
  const n = {};
@@ -11406,7 +11406,7 @@ function wo(e, t) {
11406
11406
  H.isUndefined(g) && f !== i || (n[c] = g);
11407
11407
  }), n;
11408
11408
  }
11409
- const ov = "1.6.5", Yu = {};
11409
+ const ov = "1.6.8", Yu = {};
11410
11410
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
11411
11411
  Yu[e] = function(r) {
11412
11412
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -11467,7 +11467,21 @@ class Rs {
11467
11467
  *
11468
11468
  * @returns {Promise} The Promise to be fulfilled
11469
11469
  */
11470
- request(t, n) {
11470
+ async request(t, n) {
11471
+ try {
11472
+ return await this._request(t, n);
11473
+ } catch (r) {
11474
+ if (r instanceof Error) {
11475
+ let o;
11476
+ Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error();
11477
+ const a = o.stack ? o.stack.replace(/^.+\n/, "") : "";
11478
+ r.stack ? a && !String(r.stack).endsWith(a.replace(/^.+\n.+\n/, "")) && (r.stack += `
11479
+ ` + a) : r.stack = a;
11480
+ }
11481
+ throw r;
11482
+ }
11483
+ }
11484
+ _request(t, n) {
11471
11485
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = wo(this.defaults, n);
11472
11486
  const { transitional: r, paramsSerializer: o, headers: a } = n;
11473
11487
  r !== void 0 && Ml.assertOptions(r, {
@@ -17394,16 +17408,10 @@ const xF = ["src"], _F = ["src"], CF = {
17394
17408
  i.value ? (x(), A("img", {
17395
17409
  key: 0,
17396
17410
  src: d(r),
17397
- width: "160",
17398
- height: "160",
17399
- loading: "lazy",
17400
17411
  style: Ye(e.imageStyle)
17401
17412
  }, null, 12, xF)) : (x(), A("img", {
17402
17413
  key: 1,
17403
17414
  src: s.value,
17404
- width: "160",
17405
- height: "160",
17406
- loading: "lazy",
17407
17415
  alt: "thumbnail loading ...",
17408
17416
  style: Ye(e.imageStyle)
17409
17417
  }, null, 12, _F))
@@ -17451,7 +17459,7 @@ const xF = ["src"], _F = ["src"], CF = {
17451
17459
  }, 8, ["shadow", "body-style", "style"]);
17452
17460
  };
17453
17461
  }
17454
- }, TF = /* @__PURE__ */ Qu(OF, [["__scopeId", "data-v-05c22f49"]]), Oi = (e) => (Io("data-v-e745b327"), e = e(), Po(), e), AF = {
17462
+ }, TF = /* @__PURE__ */ Qu(OF, [["__scopeId", "data-v-cb0c992e"]]), Oi = (e) => (Io("data-v-e745b327"), e = e(), Po(), e), AF = {
17455
17463
  ref: "myButton",
17456
17464
  class: "gallery"
17457
17465
  }, IF = { class: "gallery-strip" }, PF = /* @__PURE__ */ Oi(() => /* @__PURE__ */ j("span", { class: "progress-button" }, "‹", -1)), FF = [
@@ -21131,14 +21139,14 @@ function q9(e, t, n, r, o, a) {
21131
21139
  onClick: (l) => a.openUrl(i.url)
21132
21140
  }, {
21133
21141
  default: W(() => [
21134
- Fe(" Open publications in pubmed ")
21142
+ Fe(" Open publications in PubMed ")
21135
21143
  ]),
21136
21144
  _: 2
21137
21145
  }, 1032, ["icon", "onClick"])) : q("", !0)
21138
21146
  ]))), 128))
21139
21147
  ]);
21140
21148
  }
21141
- const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-3710bb81"]]), W9 = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), K9 = function(e) {
21149
+ const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-e726c314"]]), W9 = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), K9 = function(e) {
21142
21150
  return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
21143
21151
  }, G9 = {
21144
21152
  name: "ProvenancePopup",
@@ -21231,7 +21239,7 @@ const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-3710bb8
21231
21239
  this.pubmedSearchUrl = e;
21232
21240
  }
21233
21241
  }
21234
- }, jo = (e) => (Io("data-v-d6dd8ad4"), e = e(), Po(), e), J9 = {
21242
+ }, jo = (e) => (Io("data-v-90e1c13c"), e = e(), Po(), e), J9 = {
21235
21243
  key: 0,
21236
21244
  class: "main"
21237
21245
  }, Z9 = { class: "provenance-info-title" }, Y9 = {
@@ -21434,7 +21442,7 @@ function _$(e, t, n, r, o, a) {
21434
21442
  [f, e.loading]
21435
21443
  ]) : q("", !0);
21436
21444
  }
21437
- const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-d6dd8ad4"]]), C$ = {
21445
+ const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-90e1c13c"]]), C$ = {
21438
21446
  name: "Tabs",
21439
21447
  props: {
21440
21448
  tabTitles: {
@@ -21454,7 +21462,7 @@ const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-d6dd8ad
21454
21462
  this.$emit("tab-close", e);
21455
21463
  }
21456
21464
  }
21457
- }, k$ = (e) => (Io("data-v-712d70f1"), e = e(), Po(), e), E$ = { class: "tab-container" }, O$ = ["onClick"], T$ = { class: "title-text" }, A$ = /* @__PURE__ */ k$(() => /* @__PURE__ */ j("span", { class: "visually-hidden" }, "Close", -1));
21465
+ }, k$ = (e) => (Io("data-v-5630437e"), e = e(), Po(), e), E$ = { class: "tab-container" }, O$ = ["onClick"], T$ = { class: "title-text" }, A$ = /* @__PURE__ */ k$(() => /* @__PURE__ */ j("span", { class: "visually-hidden" }, "Close", -1));
21458
21466
  function I$(e, t, n, r, o, a) {
21459
21467
  const s = Fn;
21460
21468
  return x(), A("div", E$, [
@@ -21483,7 +21491,7 @@ function I$(e, t, n, r, o, a) {
21483
21491
  ], 2))), 128))
21484
21492
  ]);
21485
21493
  }
21486
- const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-712d70f1"]]), P$ = {
21494
+ const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-5630437e"]]), P$ = {
21487
21495
  components: {
21488
21496
  SidebarContent: im,
21489
21497
  Tabs: cm,
@@ -21720,7 +21728,7 @@ function N$(e, t, n, r, o, a) {
21720
21728
  }, 8, ["modelValue"])
21721
21729
  ], 512);
21722
21730
  }
21723
- const M$ = /* @__PURE__ */ Kn(P$, [["render", N$], ["__scopeId", "data-v-82a36965"]]);
21731
+ const M$ = /* @__PURE__ */ Kn(P$, [["render", N$], ["__scopeId", "data-v-302a9e06"]]);
21724
21732
  export {
21725
21733
  M$ as SideBar
21726
21734
  };