@getmicdrop/venue-calendar 4.3.26 → 4.3.27

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-CBo25IoE.js → CalendarFoundryView-Dy1wY7cG.js} +24 -6
  2. package/dist/venue-calendar.es.js +2 -2
  3. package/dist/venue-calendar.iife.js +3 -3
  4. package/dist/venue-calendar.umd.js +3 -3
  5. package/package.json +2 -2
  6. /package/dist/locales/{4.3.26 → 4.3.27}/flow/de.js +0 -0
  7. /package/dist/locales/{4.3.26 → 4.3.27}/flow/es.js +0 -0
  8. /package/dist/locales/{4.3.26 → 4.3.27}/flow/fr.js +0 -0
  9. /package/dist/locales/{4.3.26 → 4.3.27}/flow/id.js +0 -0
  10. /package/dist/locales/{4.3.26 → 4.3.27}/flow/it.js +0 -0
  11. /package/dist/locales/{4.3.26 → 4.3.27}/flow/ja.js +0 -0
  12. /package/dist/locales/{4.3.26 → 4.3.27}/flow/ko.js +0 -0
  13. /package/dist/locales/{4.3.26 → 4.3.27}/flow/nl.js +0 -0
  14. /package/dist/locales/{4.3.26 → 4.3.27}/flow/pl.js +0 -0
  15. /package/dist/locales/{4.3.26 → 4.3.27}/flow/pt-br.js +0 -0
  16. /package/dist/locales/{4.3.26 → 4.3.27}/flow/tr.js +0 -0
  17. /package/dist/locales/{4.3.26 → 4.3.27}/flow/zh.js +0 -0
  18. /package/dist/locales/{4.3.26 → 4.3.27}/main/de.js +0 -0
  19. /package/dist/locales/{4.3.26 → 4.3.27}/main/es.js +0 -0
  20. /package/dist/locales/{4.3.26 → 4.3.27}/main/fr.js +0 -0
  21. /package/dist/locales/{4.3.26 → 4.3.27}/main/id.js +0 -0
  22. /package/dist/locales/{4.3.26 → 4.3.27}/main/it.js +0 -0
  23. /package/dist/locales/{4.3.26 → 4.3.27}/main/ja.js +0 -0
  24. /package/dist/locales/{4.3.26 → 4.3.27}/main/ko.js +0 -0
  25. /package/dist/locales/{4.3.26 → 4.3.27}/main/nl.js +0 -0
  26. /package/dist/locales/{4.3.26 → 4.3.27}/main/pl.js +0 -0
  27. /package/dist/locales/{4.3.26 → 4.3.27}/main/pt-br.js +0 -0
  28. /package/dist/locales/{4.3.26 → 4.3.27}/main/tr.js +0 -0
  29. /package/dist/locales/{4.3.26 → 4.3.27}/main/zh.js +0 -0
@@ -8538,15 +8538,30 @@ function Ed(e, t) {
8538
8538
  //#region node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/FallbackBlock.svelte
8539
8539
  function Dd(e, t) {
8540
8540
  $.push(t, !0);
8541
- let n = Jl().i18n;
8541
+ let n = (e) => {
8542
+ Q(e, {
8543
+ variant: "outline",
8544
+ size: "xs",
8545
+ onclick: () => t.onretry?.(),
8546
+ children: (e, t) => {
8547
+ $.next();
8548
+ var n = $.text();
8549
+ $.template_effect((e) => $.set_text(n, e), [() => r.common_retry()]), $.append(e, n);
8550
+ },
8551
+ $$slots: { default: !0 }
8552
+ });
8553
+ }, r = Jl().i18n;
8542
8554
  {
8543
- let r = $.derived(() => n.foundry_block_unavailable()), i = $.derived(() => t.reason ?? n.foundry_no_renderer({ tag: t.descriptor.tag }));
8555
+ let i = $.derived(() => r.foundry_block_unavailable()), a = $.derived(() => t.reason ?? r.foundry_no_renderer({ tag: t.descriptor.tag })), o = $.derived(() => t.onretry ? n : void 0);
8544
8556
  D(e, {
8545
8557
  get title() {
8546
- return $.get(r);
8558
+ return $.get(i);
8547
8559
  },
8548
8560
  get subtext() {
8549
- return $.get(i);
8561
+ return $.get(a);
8562
+ },
8563
+ get children() {
8564
+ return $.get(o);
8550
8565
  }
8551
8566
  });
8552
8567
  }
@@ -13803,7 +13818,7 @@ function d_(e, t) {
13803
13818
  var i = $.comment(), s = $.first_child(i);
13804
13819
  $.boundary(s, {
13805
13820
  onerror: (e) => o(e),
13806
- failed: (e) => {
13821
+ failed: (e, r = $.noop, i = $.noop) => {
13807
13822
  {
13808
13823
  let r = $.derived(() => n.foundry_block_load_error());
13809
13824
  Dd(e, {
@@ -13812,6 +13827,9 @@ function d_(e, t) {
13812
13827
  },
13813
13828
  get reason() {
13814
13829
  return $.get(r);
13830
+ },
13831
+ onretry: () => {
13832
+ t.blockState?.onretry?.(), i()();
13815
13833
  }
13816
13834
  });
13817
13835
  }
@@ -16853,7 +16871,7 @@ function ky(e, t) {
16853
16871
  }
16854
16872
  function Ut(e) {
16855
16873
  let t = e.submit;
16856
- if (!t || f.busy || yt(e.fields) || $.get(b) || !ke(e.fields) || !de(e.fields)) return;
16874
+ if (!t || f.busy || yt(e.fields) || $.get(b) || !ke(e.fields) || e.fields.length > 0 && !de(e.fields)) return;
16857
16875
  let n = {};
16858
16876
  for (let t of Im(e.fields, K)) n[t.key] = K[t.key];
16859
16877
  Nt(t.intent, t.precheckRef, Wt(t), n, () => Kt(e, t, n));
@@ -1740,7 +1740,7 @@ function Tr(t, n) {
1740
1740
  qt({
1741
1741
  widgetId: fe(),
1742
1742
  treatmentShare: typeof e == "number" ? e : void 0
1743
- }) === "treatment" && import("./CalendarFoundryView-CBo25IoE.js").then((e) => {
1743
+ }) === "treatment" && import("./CalendarFoundryView-Dy1wY7cG.js").then((e) => {
1744
1744
  q.get(U) && (q.set(ht, e.default, !0), q.set(mt, !0));
1745
1745
  }).catch((e) => _r.error("Foundry calendar load failed:", e));
1746
1746
  }
@@ -3346,7 +3346,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
3346
3346
  }
3347
3347
  //#endregion
3348
3348
  //#region src/lib/VenueCalendar.js
3349
- var ti = "4.3.26", ni = t("VenueCalendar"), ri = null;
3349
+ var ti = "4.3.27", ni = t("VenueCalendar"), ri = null;
3350
3350
  function ii(e = {}) {
3351
3351
  typeof e.onError == "function" && (ri = e.onError, I({ onError: (t) => {
3352
3352
  try {