@nembedemand/mindeportalen-v3 0.0.43 → 0.0.44

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.
@@ -4990,7 +4990,7 @@ const Vd = { class: "mp-mt-2" }, Ud = { class: "mp-flex mp-items-center mp-justi
4990
4990
  () => e.basePath.value ?? `/${d.page.value?.slug ?? ""}`
4991
4991
  ), S = () => {
4992
4992
  const P = e.routerObject.value;
4993
- C(), P && P.push(`${y.value}/blomster`);
4993
+ C(), P && P.push(`${y.value}/blomster/`);
4994
4994
  };
4995
4995
  return (P, A) => {
4996
4996
  const M = re("font-awesome-icon");
@@ -10345,7 +10345,7 @@ const og = { class: "mp-countdown-badge__label" }, oa = /* @__PURE__ */ L({
10345
10345
  const C = r.value;
10346
10346
  C && (i(), C.addEventListener("scroll", i, { passive: !0 }));
10347
10347
  });
10348
- const g = O(() => n.basePath.value ?? `/${a.page.value.slug}`), x = O(() => `${g.value}/blomster`), $ = (C) => `${g.value}/blomster/${C}`;
10348
+ const g = O(() => n.basePath.value ?? `/${a.page.value.slug}`), x = O(() => `${g.value}/blomster/`), $ = (C) => `${g.value}/blomster/${C}/`;
10349
10349
  return (C, y) => {
10350
10350
  const S = re("font-awesome-icon");
10351
10351
  return d.value ? (c(), v("div", rg, [
@@ -10644,7 +10644,7 @@ const og = { class: "mp-countdown-badge__label" }, oa = /* @__PURE__ */ L({
10644
10644
  const e = H(), a = K(), n = ie(), r = O(() => e.page.value.elements?.ceremony), s = O(() => {
10645
10645
  const C = e.page.value.elements?.deathad;
10646
10646
  return C?.active && C?.primaryAd?.url ? C.primaryAd.url : null;
10647
- }), o = O(() => r.value?.active && (r.value?.location?.title || r.value?.datestring)), m = O(() => e.page.value.elements?.greetings?.active), d = O(() => e.page.value.elements.flowers.active && (e.page.value.elements.flowers.ceremonyDelivery.deadlinedate && !he(e.page.value.elements.flowers.ceremonyDelivery.deadlinedate) && e.page.value.elements.flowers.ceremonyDelivery.active || e.page.value.elements.flowers.privateDelivery.deadlinedate && !he(e.page.value.elements.flowers.privateDelivery.deadlinedate) && e.page.value.elements.flowers.privateDelivery.active)), u = O(() => e.page.value.info.shortname || e.page.value.info.name), i = O(() => r.value?.location?.title || ""), b = O(() => r.value?.datestring || ""), h = O(() => r.value?.date ? he(r.value.date) : !1), g = O(() => n.basePath.value ?? `/${e.page.value.slug}`), x = O(() => `${g.value}/blomster`), $ = () => {
10647
+ }), o = O(() => r.value?.active && (r.value?.location?.title || r.value?.datestring)), m = O(() => e.page.value.elements?.greetings?.active), d = O(() => e.page.value.elements.flowers.active && (e.page.value.elements.flowers.ceremonyDelivery.deadlinedate && !he(e.page.value.elements.flowers.ceremonyDelivery.deadlinedate) && e.page.value.elements.flowers.ceremonyDelivery.active || e.page.value.elements.flowers.privateDelivery.deadlinedate && !he(e.page.value.elements.flowers.privateDelivery.deadlinedate) && e.page.value.elements.flowers.privateDelivery.active)), u = O(() => e.page.value.info.shortname || e.page.value.info.name), i = O(() => r.value?.location?.title || ""), b = O(() => r.value?.datestring || ""), h = O(() => r.value?.date ? he(r.value.date) : !1), g = O(() => n.basePath.value ?? `/${e.page.value.slug}`), x = O(() => `${g.value}/blomster/`), $ = () => {
10648
10648
  s.value && (a.ImageZoomPopup.value = {
10649
10649
  show: !0,
10650
10650
  title: "Dødsannonce",
@@ -10777,7 +10777,7 @@ const s0 = {
10777
10777
  }, i0 = { class: "mp-mobile-bottom-bar__ctas" }, u0 = ["href"], p0 = ["href"], m0 = /* @__PURE__ */ L({
10778
10778
  __name: "BottomBar",
10779
10779
  setup(t) {
10780
- const e = K(), a = H(), n = ie(), { showFlowersButton: r } = Xr(), { showDonationButton: s } = l0(), o = O(() => a.page.value.elements?.greetings?.active), m = O(() => n.basePath.value ?? `/${a.page.value.slug}`), d = O(() => `${m.value}/blomster`), u = O(() => `${m.value}/donation`);
10780
+ const e = K(), a = H(), n = ie(), { showFlowersButton: r } = Xr(), { showDonationButton: s } = l0(), o = O(() => a.page.value.elements?.greetings?.active), m = O(() => n.basePath.value ?? `/${a.page.value.slug}`), d = O(() => `${m.value}/blomster/`), u = O(() => `${m.value}/donation/`);
10781
10781
  return (i, b) => o.value || f(r) || f(s) ? (c(), v("div", s0, [
10782
10782
  l("div", i0, [
10783
10783
  o.value ? (c(), v("button", {
@@ -11312,7 +11312,7 @@ const c0 = /* @__PURE__ */ L({
11312
11312
  if (!d?.length) return "";
11313
11313
  const u = d.map((b) => b.toString());
11314
11314
  return n.organisations.value.filter((b) => u.includes(b.id.toString())).map((b) => b.name).join(", ");
11315
- }), o = O(() => a.basePath.value ?? `/${e.page.value.slug}`), m = O(() => `${o.value}/donation`);
11315
+ }), o = O(() => a.basePath.value ?? `/${e.page.value.slug}`), m = O(() => `${o.value}/donation/`);
11316
11316
  return (d, u) => {
11317
11317
  const i = re("font-awesome-icon");
11318
11318
  return c(), v("div", t3, [
@@ -14998,7 +14998,7 @@ function A7() {
14998
14998
  }), a = k(!1), n = async () => {
14999
14999
  if (!(!t() || typeof window > "u"))
15000
15000
  try {
15001
- const { useFrontendStore: s } = await import("./frontend-CXwgKpWD.js"), o = s();
15001
+ const { useFrontendStore: s } = await import("./frontend-CtEVelxV.js"), o = s();
15002
15002
  e.value = {
15003
15003
  widget: o.widget || !1,
15004
15004
  widgetTheme: o.widgetTheme || "dark",
@@ -15019,7 +15019,7 @@ function A7() {
15019
15019
  const r = async (s) => {
15020
15020
  if (e.value = { ...e.value, ...s }, t() && typeof window < "u")
15021
15021
  try {
15022
- const { useFrontendStore: o } = await import("./frontend-CXwgKpWD.js"), m = o();
15022
+ const { useFrontendStore: o } = await import("./frontend-CtEVelxV.js"), m = o();
15023
15023
  Object.assign(m, s);
15024
15024
  } catch (o) {
15025
15025
  console.warn("[useSafeFrontendStore] Failed to update store:", o);
@@ -15190,7 +15190,7 @@ const ph = { class: "mp-main-shelf" }, $t = /* @__PURE__ */ L({
15190
15190
  }, C = O(() => a.data.elements.flowers.flowercategories ?? []), y = O(() => a.data.elements.flowers.flowercolors ?? []), S = O(() => {
15191
15191
  let A = a.data.elements.flowers.floweritems ?? [];
15192
15192
  return m.value === "event" ? A = A.filter((M) => M.ceremonyType === 1) : m.value === "private" && (A = A.filter((M) => M.privateType === 1)), h.value.length > 0 && (A = A.filter((M) => h.value.includes(M.categoryId))), g.value.length > 0 && (A = A.filter((M) => M.colorId !== null && g.value.includes(M.colorId))), A;
15193
- }), P = (A) => `${n.value}/blomster/${A}?delivery=${m.value}`;
15193
+ }), P = (A) => `${n.value}/blomster/${A}/?delivery=${m.value}`;
15194
15194
  return (A, M) => (c(), v("div", fh, [
15195
15195
  l("div", {
15196
15196
  class: "mp-sp-wrapper",
@@ -15207,7 +15207,7 @@ const ph = { class: "mp-main-shelf" }, $t = /* @__PURE__ */ L({
15207
15207
  ])) : (c(), v("div", yh, [
15208
15208
  w(cn, {
15209
15209
  crumbs: [
15210
- { label: a.data.info.shortname || a.data.info.name, to: n.value },
15210
+ { label: a.data.info.shortname || a.data.info.name, to: `${n.value}/` },
15211
15211
  { label: "Blomster" }
15212
15212
  ]
15213
15213
  }, null, 8, ["crumbs"]),
@@ -15548,8 +15548,8 @@ const ph = { class: "mp-main-shelf" }, $t = /* @__PURE__ */ L({
15548
15548
  l("div", Yh, [
15549
15549
  w(cn, {
15550
15550
  crumbs: [
15551
- { label: e.data.info.shortname || e.data.info.name, to: a.value },
15552
- { label: "Blomster", to: `${a.value}/blomster` },
15551
+ { label: e.data.info.shortname || e.data.info.name, to: `${a.value}/` },
15552
+ { label: "Blomster", to: `${a.value}/blomster/` },
15553
15553
  { label: m.value?.name || "Produkt" }
15554
15554
  ]
15555
15555
  }, null, 8, ["crumbs"]),
@@ -15832,9 +15832,9 @@ const ph = { class: "mp-main-shelf" }, $t = /* @__PURE__ */ L({
15832
15832
  l("div", T8, [
15833
15833
  w(cn, {
15834
15834
  crumbs: [
15835
- { label: e.data.info.shortname || e.data.info.name, to: a.value },
15836
- { label: "Blomster", to: `${a.value}/blomster` },
15837
- { label: g.value, to: m.value ? `${a.value}/blomster/${m.value.flowerId}` : void 0 },
15835
+ { label: e.data.info.shortname || e.data.info.name, to: `${a.value}/` },
15836
+ { label: "Blomster", to: `${a.value}/blomster/` },
15837
+ { label: g.value, to: m.value ? `${a.value}/blomster/${m.value.flowerId}/` : void 0 },
15838
15838
  { label: "Betaling" }
15839
15839
  ]
15840
15840
  }, null, 8, ["crumbs"]),
@@ -16001,7 +16001,7 @@ const ph = { class: "mp-main-shelf" }, $t = /* @__PURE__ */ L({
16001
16001
  l("div", J8, [
16002
16002
  w(cn, {
16003
16003
  crumbs: [
16004
- { label: e.data.info.shortname || e.data.info.name, to: a.value },
16004
+ { label: e.data.info.shortname || e.data.info.name, to: `${a.value}/` },
16005
16005
  { label: "Donation" }
16006
16006
  ]
16007
16007
  }, null, 8, ["crumbs"]),
@@ -16242,4 +16242,4 @@ export {
16242
16242
  O7 as y,
16243
16243
  dn as z
16244
16244
  };
16245
- //# sourceMappingURL=index-CZz2SZXd.js.map
16245
+ //# sourceMappingURL=index-CJy5jUAS.js.map