@getmicdrop/venue-calendar 4.3.77 → 4.3.79

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.
Files changed (29) hide show
  1. package/dist/{CalendarFoundryView-CZUMunNv.js → CalendarFoundryView-BTuQjA0Z.js} +12 -6
  2. package/dist/venue-calendar.es.js +2 -2
  3. package/dist/venue-calendar.iife.js +2 -2
  4. package/dist/venue-calendar.umd.js +2 -2
  5. package/package.json +2 -2
  6. /package/dist/locales/{4.3.77 → 4.3.79}/flow/de.js +0 -0
  7. /package/dist/locales/{4.3.77 → 4.3.79}/flow/es.js +0 -0
  8. /package/dist/locales/{4.3.77 → 4.3.79}/flow/fr.js +0 -0
  9. /package/dist/locales/{4.3.77 → 4.3.79}/flow/id.js +0 -0
  10. /package/dist/locales/{4.3.77 → 4.3.79}/flow/it.js +0 -0
  11. /package/dist/locales/{4.3.77 → 4.3.79}/flow/ja.js +0 -0
  12. /package/dist/locales/{4.3.77 → 4.3.79}/flow/ko.js +0 -0
  13. /package/dist/locales/{4.3.77 → 4.3.79}/flow/nl.js +0 -0
  14. /package/dist/locales/{4.3.77 → 4.3.79}/flow/pl.js +0 -0
  15. /package/dist/locales/{4.3.77 → 4.3.79}/flow/pt-br.js +0 -0
  16. /package/dist/locales/{4.3.77 → 4.3.79}/flow/tr.js +0 -0
  17. /package/dist/locales/{4.3.77 → 4.3.79}/flow/zh.js +0 -0
  18. /package/dist/locales/{4.3.77 → 4.3.79}/main/de.js +0 -0
  19. /package/dist/locales/{4.3.77 → 4.3.79}/main/es.js +0 -0
  20. /package/dist/locales/{4.3.77 → 4.3.79}/main/fr.js +0 -0
  21. /package/dist/locales/{4.3.77 → 4.3.79}/main/id.js +0 -0
  22. /package/dist/locales/{4.3.77 → 4.3.79}/main/it.js +0 -0
  23. /package/dist/locales/{4.3.77 → 4.3.79}/main/ja.js +0 -0
  24. /package/dist/locales/{4.3.77 → 4.3.79}/main/ko.js +0 -0
  25. /package/dist/locales/{4.3.77 → 4.3.79}/main/nl.js +0 -0
  26. /package/dist/locales/{4.3.77 → 4.3.79}/main/pl.js +0 -0
  27. /package/dist/locales/{4.3.77 → 4.3.79}/main/pt-br.js +0 -0
  28. /package/dist/locales/{4.3.77 → 4.3.79}/main/tr.js +0 -0
  29. /package/dist/locales/{4.3.77 → 4.3.79}/main/zh.js +0 -0
@@ -5276,7 +5276,13 @@ function Vc(e, t) {
5276
5276
  let n = $.prop(t, "title", 3, "Discard changes?"), r = $.prop(t, "description", 3, "You have unsaved changes. Leaving this page will lose them."), i = $.prop(t, "confirmText", 3, "Discard"), a = $.prop(t, "cancelText", 3, "Keep editing"), o = $.state(null), s = $.state(!1);
5277
5277
  function c() {
5278
5278
  let e = $.get(o);
5279
- $.set(o, null), $.set(s, !1), e && (t.onconfirm?.(), Bc(e));
5279
+ if ($.set(o, null), $.set(s, !1), e) {
5280
+ if (t.onconfirm?.(), e.origin !== globalThis.location.origin) {
5281
+ globalThis.location.href = e.href;
5282
+ return;
5283
+ }
5284
+ Bc(e);
5285
+ }
5280
5286
  }
5281
5287
  function l() {
5282
5288
  $.set(o, null), $.set(s, !1), t.oncancel?.();
@@ -5686,11 +5692,6 @@ var Tl = {
5686
5692
  bgColor: "bg-status-success-bg",
5687
5693
  icon: Ce
5688
5694
  },
5689
- "sold-out": {
5690
- textColor: "text-accent-success",
5691
- bgColor: "bg-status-success-bg",
5692
- icon: ri
5693
- },
5694
5695
  "order-completed": {
5695
5696
  textColor: "text-accent-success",
5696
5697
  bgColor: "bg-status-success-bg",
@@ -5726,6 +5727,11 @@ var Tl = {
5726
5727
  bgColor: "bg-status-warning-bg",
5727
5728
  icon: tr
5728
5729
  },
5730
+ "sold-out": {
5731
+ textColor: "tone-secondary",
5732
+ bgColor: "bg-muted",
5733
+ icon: ri
5734
+ },
5729
5735
  invited: {
5730
5736
  textColor: "text-brand-primary",
5731
5737
  bgColor: "bg-status-info-bg",
@@ -1792,7 +1792,7 @@ function kr(e, n) {
1792
1792
  Xt({
1793
1793
  widgetId: pe(),
1794
1794
  treatmentShare: typeof e == "number" ? e : void 0
1795
- }) === "treatment" && import("./CalendarFoundryView-CZUMunNv.js").then((e) => {
1795
+ }) === "treatment" && import("./CalendarFoundryView-BTuQjA0Z.js").then((e) => {
1796
1796
  K.get(V) && (K.set(bt, e.default, !0), K.set(yt, !0));
1797
1797
  }).catch((e) => xr.error("Foundry calendar load failed:", e));
1798
1798
  }
@@ -3481,7 +3481,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
3481
3481
  }
3482
3482
  //#endregion
3483
3483
  //#region src/lib/VenueCalendar.js
3484
- var ui = "4.3.77", di = e("VenueCalendar"), fi = null;
3484
+ var ui = "4.3.79", di = e("VenueCalendar"), fi = null;
3485
3485
  function pi(e = {}) {
3486
3486
  typeof e.onError == "function" && (fi = e.onError, A({ onError: (t) => {
3487
3487
  try {