scope360-core 0.0.470 → 0.0.472

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.
@@ -11543,7 +11543,7 @@ class ni {
11543
11543
  return Za.get();
11544
11544
  }
11545
11545
  }
11546
- const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scope-dropzone__container" }, mO = {
11546
+ const iv = (t) => (_t("data-v-ad37ac50"), t = t(), yt(), t), fO = { class: "scope-dropzone__container" }, mO = {
11547
11547
  key: 0,
11548
11548
  class: "scope-dropzone__label"
11549
11549
  }, pO = {
@@ -11564,7 +11564,11 @@ const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scop
11564
11564
  lengthError: String,
11565
11565
  prompt: String,
11566
11566
  mediaUrl: String,
11567
- isDelete: Boolean
11567
+ isDelete: Boolean,
11568
+ contentID: {
11569
+ type: Number,
11570
+ default: 3
11571
+ }
11568
11572
  }, {
11569
11573
  modelValue: {},
11570
11574
  modelModifiers: {}
@@ -11593,7 +11597,7 @@ const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scop
11593
11597
  `${n.mediaUrl}/auth/media/delete/${g.id}`,
11594
11598
  {
11595
11599
  headers: {
11596
- "Content-Type-ID": 3,
11600
+ "Content-Type-ID": n.contentID,
11597
11601
  Authorization: ni.getItem("isOAuth") ? ni.getItem("access_token") : "Bearer " + ni.getItem("access_token")
11598
11602
  }
11599
11603
  }
@@ -11611,7 +11615,7 @@ const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scop
11611
11615
  g,
11612
11616
  {
11613
11617
  headers: {
11614
- "Content-Type-ID": 3,
11618
+ "Content-Type-ID": n.contentID,
11615
11619
  Authorization: ni.getItem("isOAuth") ? ni.getItem("access_token") : "Bearer " + ni.getItem("access_token")
11616
11620
  }
11617
11621
  }
@@ -11623,15 +11627,24 @@ const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scop
11623
11627
  const { data: g } = await h(m), _ = g.path.substring(g.path.lastIndexOf("/") + 1);
11624
11628
  g.path.lastIndexOf("/");
11625
11629
  const b = `${n.mediaUrl}/media/${g.path}`;
11626
- s.value.push({ id: g.id, name: _, url: b, compressedUrl: f(b), shortcut: g.shortcut });
11630
+ s.value.push({
11631
+ id: g.id,
11632
+ name: _,
11633
+ url: b,
11634
+ compressedUrl: f(b),
11635
+ shortcut: g.shortcut
11636
+ });
11627
11637
  };
11628
11638
  return B_(() => {
11629
11639
  i.value.forEach((m) => {
11630
11640
  s.value.push(m);
11631
11641
  });
11632
- }), qe(() => n.isDelete, (m) => {
11633
- m && d();
11634
- }), (m, g) => (w(), O("div", fO, [
11642
+ }), qe(
11643
+ () => n.isDelete,
11644
+ (m) => {
11645
+ m && d();
11646
+ }
11647
+ ), (m, g) => (w(), O("div", fO, [
11635
11648
  t.label ? (w(), O("div", mO, J(t.label), 1)) : B("", !0),
11636
11649
  t.prompt ? (w(), O("div", pO, J(t.prompt), 1)) : B("", !0),
11637
11650
  k("div", {
@@ -11686,7 +11699,7 @@ const iv = (t) => (_t("data-v-6c371e0f"), t = t(), yt(), t), fO = { class: "scop
11686
11699
  ])) : B("", !0)
11687
11700
  ]));
11688
11701
  }
11689
- }, S4 = /* @__PURE__ */ Re(MO, [["__scopeId", "data-v-6c371e0f"]]), TO = { class: "scope-tooltip" }, DO = {
11702
+ }, S4 = /* @__PURE__ */ Re(MO, [["__scopeId", "data-v-ad37ac50"]]), TO = { class: "scope-tooltip" }, DO = {
11690
11703
  __name: "Tooltip",
11691
11704
  props: {
11692
11705
  alternative: Boolean,
@@ -30033,11 +30046,11 @@ function Fr(t) {
30033
30046
  "USDC",
30034
30047
  "CNH"
30035
30048
  ];
30036
- for (let n of e)
30037
- if (t.startsWith(n)) {
30038
- const s = n, i = t.substring(n.length);
30049
+ for (let n = 1; n < t.length; n++) {
30050
+ const s = t.substring(0, n), i = t.substring(n);
30051
+ if (e.includes(s) || e.includes(i))
30039
30052
  return `${s}/${i}`;
30040
- }
30053
+ }
30041
30054
  return t;
30042
30055
  }
30043
30056
  function Bu(t, e) {