@expedite-commerce/expedite-components 0.2.136 → 0.2.138

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.
@@ -5457,8 +5457,13 @@ const Dn = $t("error", {
5457
5457
  }), y2 = $t("comShare", () => {
5458
5458
  const e = G({}), n = G(""), t = G(""), r = G(""), o = G(""), i = G(""), a = G(""), s = G(""), l = G(""), u = G("Single"), c = G({}), h = xe(() => u.value === "Single"), d = G({});
5459
5459
  function p(g) {
5460
- var m;
5461
- return !g || g.includes("http") || g.includes("://") || !((m = d.value) != null && m.siteUrl) ? g : `${d.value.siteUrl}${g}`;
5460
+ var y;
5461
+ if (!g || g.includes("://") || !((y = d.value) != null && y.siteUrl))
5462
+ return g;
5463
+ if (/^[\w-]+(\.[\w-]+)+\//.test(g))
5464
+ return `https://${g}`;
5465
+ const m = d.value.siteUrl.replace(/\/+$/, ""), v = g.replace(/^(?:\.\.?\/)+/, "").replace(/^\/+/, "");
5466
+ return `${m}/${v}`;
5462
5467
  }
5463
5468
  async function f(g, m, v, y) {
5464
5469
  n.value = g.orgType || "Production", t.value = g.orgId || "", r.value = g.userId || "", o.value = g.accountId || "", i.value = g.opportunityId || "", l.value = g.userLocale || "en_US", u.value = g.pricingSchema || "Single", e.value = m || {}, c.value = v || {}, d.value = y || {};
@@ -11454,7 +11459,7 @@ const Uc = /* @__PURE__ */ Ne(T9, [["render", F9]]), en = (e, n = {}) => {
11454
11459
  ], 40, Fm);
11455
11460
  };
11456
11461
  }
11457
- }, Ea = /* @__PURE__ */ Ne(Pm, [["__scopeId", "data-v-5cd60070"]]), U2 = (e) => (sn("data-v-58fd16d7"), e = e(), ln(), e), qm = ["data-test-id", "data-publish-key"], $m = {
11462
+ }, Ea = /* @__PURE__ */ Ne(Pm, [["__scopeId", "data-v-5cd60070"]]), U2 = (e) => (sn("data-v-e1277629"), e = e(), ln(), e), qm = ["data-test-id", "data-publish-key"], $m = {
11458
11463
  key: 0,
11459
11464
  class: "ect-text-xs ect-text-gray-500 ect-text-white ect-font-medium ect-leading-tight ect-absolute ect-top-[-.7rem] ect-left-[-1rem] ect-bg-text-success ect-rounded-xl ect-px-2 ect-py-1"
11460
11465
  }, Um = {
@@ -11558,7 +11563,7 @@ const Uc = /* @__PURE__ */ Ne(T9, [["render", F9]]), en = (e, n = {}) => {
11558
11563
  key: 0,
11559
11564
  src: e.imageUrl,
11560
11565
  alt: u.value,
11561
- class: "ect-w-full ect-h-full ect-object-cover"
11566
+ class: "ect-w-full ect-h-full ect-object-contain"
11562
11567
  }, null, 8, Hm)) : (F(), Oe(Xe, {
11563
11568
  key: 1,
11564
11569
  disabled: "",
@@ -11663,7 +11668,7 @@ const Uc = /* @__PURE__ */ Ne(T9, [["render", F9]]), en = (e, n = {}) => {
11663
11668
  key: 0,
11664
11669
  src: e.imageUrl,
11665
11670
  alt: e.name,
11666
- class: "ect-w-full ect-h-full ect-object-cover"
11671
+ class: "ect-w-full ect-h-full ect-object-contain"
11667
11672
  }, null, 8, og)) : ge("", !0)
11668
11673
  ])) : ge("", !0),
11669
11674
  _("div", ig, [
@@ -11761,7 +11766,7 @@ const Uc = /* @__PURE__ */ Ne(T9, [["render", F9]]), en = (e, n = {}) => {
11761
11766
  ])) : ge("", !0)
11762
11767
  ], 10, qm));
11763
11768
  }
11764
- }, vg = /* @__PURE__ */ Ne(yg, [["__scopeId", "data-v-58fd16d7"]]), bg = {
11769
+ }, vg = /* @__PURE__ */ Ne(yg, [["__scopeId", "data-v-e1277629"]]), bg = {
11765
11770
  "af-ZA": ",",
11766
11771
  "sq-AL": ",",
11767
11772
  "ar-DZ": ",",
@@ -22538,7 +22543,7 @@ const wd = {
22538
22543
  key: 0,
22539
22544
  src: e.config.defaultImageURL,
22540
22545
  alt: e.config.itemName,
22541
- class: "ect-w-full ect-h-full ect-object-cover"
22546
+ class: "ect-w-full ect-h-full ect-object-contain"
22542
22547
  }, null, 8, _v)) : ge("", !0)
22543
22548
  ], 2)) : ge("", !0),
22544
22549
  e.scroll < 50 ? (F(), q("div", Cv, [