@getmicdrop/venue-calendar 4.3.117 → 4.3.118

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 (39) hide show
  1. package/dist/{CalendarFoundryView-B3J3OpP5.js → CalendarFoundryView-0R64KICL.js} +1 -1
  2. package/dist/{Checkout-JGthqqs-.js → Checkout-06U4m7pN.js} +1 -1
  3. package/dist/{Checkout-DOG64hFG.js → Checkout-wTWkk1vH.js} +1 -1
  4. package/dist/{CollectionView-Cxz75nqf.js → CollectionView-BEt1C1Cs.js} +2 -2
  5. package/dist/{Event-B-FDXrnA.js → Event-CUSr7idI.js} +2 -2
  6. package/dist/{EventPage-CFAgJ7ii.js → EventPage-A3s6hjD0.js} +2 -2
  7. package/dist/{Heading-Db8kKUvN.js → Heading-vOVPxhJF.js} +45 -19
  8. package/dist/{RecommendationsRail-C3FXg2oO.js → RecommendationsRail-NGy6-gbC.js} +1 -1
  9. package/dist/{SeriesPage-byd8v915.js → SeriesPage-Bv_OY09w.js} +2 -2
  10. package/dist/{Success-D5_89YJA.js → Success-Bt0VBW34.js} +2 -2
  11. package/dist/{ViewTicketsEmbed-BmFbj8iP.js → ViewTicketsEmbed-BnuypZ1H.js} +1 -1
  12. package/dist/venue-calendar.es.js +12 -12
  13. package/dist/venue-calendar.iife.js +26 -26
  14. package/dist/venue-calendar.umd.js +57 -57
  15. package/package.json +2 -2
  16. /package/dist/locales/{4.3.117 → 4.3.118}/flow/de.js +0 -0
  17. /package/dist/locales/{4.3.117 → 4.3.118}/flow/es.js +0 -0
  18. /package/dist/locales/{4.3.117 → 4.3.118}/flow/fr.js +0 -0
  19. /package/dist/locales/{4.3.117 → 4.3.118}/flow/id.js +0 -0
  20. /package/dist/locales/{4.3.117 → 4.3.118}/flow/it.js +0 -0
  21. /package/dist/locales/{4.3.117 → 4.3.118}/flow/ja.js +0 -0
  22. /package/dist/locales/{4.3.117 → 4.3.118}/flow/ko.js +0 -0
  23. /package/dist/locales/{4.3.117 → 4.3.118}/flow/nl.js +0 -0
  24. /package/dist/locales/{4.3.117 → 4.3.118}/flow/pl.js +0 -0
  25. /package/dist/locales/{4.3.117 → 4.3.118}/flow/pt-br.js +0 -0
  26. /package/dist/locales/{4.3.117 → 4.3.118}/flow/tr.js +0 -0
  27. /package/dist/locales/{4.3.117 → 4.3.118}/flow/zh.js +0 -0
  28. /package/dist/locales/{4.3.117 → 4.3.118}/main/de.js +0 -0
  29. /package/dist/locales/{4.3.117 → 4.3.118}/main/es.js +0 -0
  30. /package/dist/locales/{4.3.117 → 4.3.118}/main/fr.js +0 -0
  31. /package/dist/locales/{4.3.117 → 4.3.118}/main/id.js +0 -0
  32. /package/dist/locales/{4.3.117 → 4.3.118}/main/it.js +0 -0
  33. /package/dist/locales/{4.3.117 → 4.3.118}/main/ja.js +0 -0
  34. /package/dist/locales/{4.3.117 → 4.3.118}/main/ko.js +0 -0
  35. /package/dist/locales/{4.3.117 → 4.3.118}/main/nl.js +0 -0
  36. /package/dist/locales/{4.3.117 → 4.3.118}/main/pl.js +0 -0
  37. /package/dist/locales/{4.3.117 → 4.3.118}/main/pt-br.js +0 -0
  38. /package/dist/locales/{4.3.117 → 4.3.118}/main/tr.js +0 -0
  39. /package/dist/locales/{4.3.117 → 4.3.118}/main/zh.js +0 -0
@@ -27,7 +27,7 @@ import { r as et, t as Q } from "./Button-VUB2WJ88.js";
27
27
  import { t as tt } from "./LiveRegion-D9Me4kBs.js";
28
28
  import { a as nt, i as rt, n as it, o as at, r as ot, s as st, t as ct } from "./ModalFooter-9RwP9PR1.js";
29
29
  import { t as lt } from "./portal-BZBgqs8B.js";
30
- import { n as ut, t as dt } from "./Heading-Db8kKUvN.js";
30
+ import { n as ut, t as dt } from "./Heading-vOVPxhJF.js";
31
31
  import { t as ft } from "./Checkbox-BtJwg_CF.js";
32
32
  import { t as pt } from "./floatingPosition-Dka8Z2M5.js";
33
33
  import { n as mt, t as ht } from "./controlAria-CGb-KeRn.js";
@@ -10,7 +10,7 @@ import { r as y, t as b } from "./Button-VUB2WJ88.js";
10
10
  import { Z as x, i as S, rt as C, tt as ee } from "./orders-BWVwv3P0.js";
11
11
  import "./api-OjCXecbx.js";
12
12
  import { t as te } from "./LiveRegion-D9Me4kBs.js";
13
- import { n as w, t as T } from "./Heading-Db8kKUvN.js";
13
+ import { n as w, t as T } from "./Heading-vOVPxhJF.js";
14
14
  import { t as E } from "./Checkbox-BtJwg_CF.js";
15
15
  import { t as D } from "./Modal-hKMSS6bJ.js";
16
16
  import { t as O } from "./Text-CqjLjIF8.js";
@@ -16,7 +16,7 @@ import { t as le } from "./event-transform-B5i2_NHJ.js";
16
16
  import { t as ue } from "./venue-BBoZBuhu.js";
17
17
  import { b as de, g as fe, h as pe, l as me, r as he, v as ge } from "./utils-vLhNHY0t.js";
18
18
  import { a as _e } from "./AddOnCard-D_d9UHNs.js";
19
- import ve, { n as ye, t as be } from "./Checkout-JGthqqs-.js";
19
+ import ve, { n as ye, t as be } from "./Checkout-06U4m7pN.js";
20
20
  import { n as xe } from "./buyerEmail-BfCq-gDt.js";
21
21
  import "svelte/internal/disclose-version";
22
22
  import * as N from "svelte/internal/client";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./Event-B-FDXrnA.js";
1
+ import { t as e } from "./Event-CUSr7idI.js";
2
2
  import { g as t } from "./sizing-B7ixYndz.js";
3
- import { i as n } from "./RecommendationsRail-C3FXg2oO.js";
3
+ import { i as n } from "./RecommendationsRail-NGy6-gbC.js";
4
4
  import { t as r } from "./defaultLabels-CsRGNP7f.js";
5
5
  import { t as i } from "./Button-VUB2WJ88.js";
6
6
  import { E as a } from "./api-OjCXecbx.js";
@@ -8,7 +8,7 @@ import { D as d, S as f, Y as p, c as m, f as h, i as g, m as _, n as v, o as y,
8
8
  import { n as C, r as w } from "./WarningCircleIcon-BEbthCpd.js";
9
9
  import { t as T } from "./CalendarIcon-29_IwvHT.js";
10
10
  import { a as E, i as D, o as O, r as k, s as A, t as j } from "./href-Dv7vLRDA.js";
11
- import { n as M, o as ee, t as te } from "./RecommendationsRail-C3FXg2oO.js";
11
+ import { n as M, o as ee, t as te } from "./RecommendationsRail-NGy6-gbC.js";
12
12
  import { n as N } from "./copyToClipboard-pMnstOiv.js";
13
13
  import { r as P, s as F, t as I } from "./ScarcityBadge-BiseR8MX.js";
14
14
  import { f as L, n as R, t as z } from "./z-index-CeYVHpUz.js";
@@ -17,7 +17,7 @@ import { r as U, t as W } from "./Button-VUB2WJ88.js";
17
17
  import { F as G, R as K, t as ae } from "./orders-BWVwv3P0.js";
18
18
  import { t as oe } from "./serverTotals-D57U4Nju.js";
19
19
  import { H as q, U as se, g as ce, j as le } from "./api-OjCXecbx.js";
20
- import { n as J, t as Y } from "./Heading-Db8kKUvN.js";
20
+ import { n as J, t as Y } from "./Heading-vOVPxhJF.js";
21
21
  import { t as ue } from "./Grid-kuP6V0GW.js";
22
22
  import { t as X } from "./Text-CqjLjIF8.js";
23
23
  import { a as de, o as fe, t as pe } from "./to-event-card-props-BquqSDuB.js";
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./Button-B58iYo_t.js";
2
2
  import { i as t } from "./keyboard-DhCcdIyh.js";
3
- import { t as n } from "./Event-B-FDXrnA.js";
3
+ import { t as n } from "./Event-CUSr7idI.js";
4
4
  import { d as r, g as i, m as a, v as o } from "./sizing-B7ixYndz.js";
5
5
  import { n as s, t as c } from "./Input-CvK81EKX.js";
6
6
  import { a as l, i as u, o as d, t as f } from "./createErrorGate.svelte-DgREjCbj.js";
7
7
  import { n as p } from "./WarningCircleIcon-BEbthCpd.js";
8
8
  import { s as m } from "./href-Dv7vLRDA.js";
9
- import { r as h } from "./RecommendationsRail-C3FXg2oO.js";
9
+ import { r as h } from "./RecommendationsRail-NGy6-gbC.js";
10
10
  import { i as g } from "./ScarcityBadge-BiseR8MX.js";
11
11
  import { M as _, P as v, t as y } from "./defaultLabels-CsRGNP7f.js";
12
12
  import { t as b } from "./Button-VUB2WJ88.js";
@@ -31,7 +31,8 @@ function s(r, i) {
31
31
  }
32
32
  //#endregion
33
33
  //#region node_modules/@getmicdrop/svelte-components/dist/components/Heading.svelte
34
- function c(e, t) {
34
+ var c = n.from_html("<h1><!></h1>"), l = n.from_html("<h2><!></h2>"), u = n.from_html("<h3><!></h3>"), d = n.from_html("<h4><!></h4>"), f = n.from_html("<h5><!></h5>"), p = n.from_html("<h6><!></h6>");
35
+ function m(e, t) {
35
36
  n.push(t, !0);
36
37
  let r = n.prop(t, "level", 3, 2), i = n.prop(t, "class", 3, ""), a = n.prop(t, "weight", 3, "semibold"), o = n.prop(t, "color", 3, "default"), s = {
37
38
  primary: "tone-primary",
@@ -41,14 +42,14 @@ function c(e, t) {
41
42
  success: "tone-success",
42
43
  warning: "tone-warning",
43
44
  danger: "tone-danger"
44
- }, c = {
45
+ }, m = {
45
46
  1: "3xl",
46
47
  2: "2xl",
47
48
  3: "xl",
48
49
  4: "lg",
49
50
  5: "base",
50
51
  6: "sm"
51
- }, l = {
52
+ }, h = {
52
53
  xs: "type-caption",
53
54
  sm: "type-body",
54
55
  base: "type-bodyLarge",
@@ -59,30 +60,55 @@ function c(e, t) {
59
60
  "3xl": "text-3xl",
60
61
  "4xl": "text-4xl",
61
62
  "5xl": "text-5xl"
62
- }, u = {
63
+ }, g = {
63
64
  normal: "font-normal",
64
65
  medium: "font-medium",
65
66
  semibold: "font-semibold",
66
67
  bold: "font-bold"
67
- }, d = {
68
+ }, _ = {
68
69
  default: "tone-primary",
69
70
  muted: "tone-secondary",
70
71
  primary: "text-brand-primary",
71
72
  none: ""
72
- }, f = n.derived(() => `h${r()}`), p = n.derived(() => (t.variant ? [`type-${t.variant}`, t.tone ? s[t.tone] : ""] : [
73
- l[t.size || c[r()]] || "text-lg",
74
- u[a()],
75
- t.tone ? s[t.tone] : d[o()] || ""
73
+ }, v = n.derived(() => Number(r())), y = n.derived(() => (t.variant ? [`type-${t.variant}`, t.tone ? s[t.tone] : ""] : [
74
+ h[t.size || m[r()]] || "text-lg",
75
+ g[a()],
76
+ t.tone ? s[t.tone] : _[o()] || ""
76
77
  ]).concat(i()).filter(Boolean).join(" "));
77
- var m = n.comment(), h = n.first_child(m);
78
- n.element(h, () => n.get(f), !1, (e, r) => {
79
- n.attribute_effect(e, () => ({
80
- id: t.id,
81
- class: n.get(p)
82
- }));
83
- var i = n.comment(), a = n.first_child(i);
84
- n.snippet(a, () => t.children), n.append(r, i);
85
- }), n.append(e, m), n.pop();
78
+ var b = n.comment(), x = n.first_child(b), S = (e) => {
79
+ var r = c(), i = n.child(r);
80
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
81
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
82
+ }), n.append(e, r);
83
+ }, C = (e) => {
84
+ var r = l(), i = n.child(r);
85
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
86
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
87
+ }), n.append(e, r);
88
+ }, w = (e) => {
89
+ var r = u(), i = n.child(r);
90
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
91
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
92
+ }), n.append(e, r);
93
+ }, T = (e) => {
94
+ var r = d(), i = n.child(r);
95
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
96
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
97
+ }), n.append(e, r);
98
+ }, E = (e) => {
99
+ var r = f(), i = n.child(r);
100
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
101
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
102
+ }), n.append(e, r);
103
+ }, D = (e) => {
104
+ var r = p(), i = n.child(r);
105
+ n.snippet(i, () => t.children), n.reset(r), n.template_effect(() => {
106
+ n.set_attribute(r, "id", t.id), n.set_class(r, 1, n.clsx(n.get(y)));
107
+ }), n.append(e, r);
108
+ };
109
+ n.if(x, (e) => {
110
+ n.get(v) === 1 ? e(S) : n.get(v) === 2 ? e(C, 1) : n.get(v) === 3 ? e(w, 2) : n.get(v) === 4 ? e(T, 3) : n.get(v) === 5 ? e(E, 4) : e(D, -1);
111
+ }), n.append(e, b), n.pop();
86
112
  }
87
113
  //#endregion
88
- export { s as n, c as t };
114
+ export { s as n, m as t };
@@ -4,7 +4,7 @@ import { C as i, O as a, g as o, x as s } from "./defaultLabels-CsRGNP7f.js";
4
4
  import { r as c } from "./Button-VUB2WJ88.js";
5
5
  import { K as l, V as u, z as d } from "./orders-BWVwv3P0.js";
6
6
  import { L as f } from "./api-OjCXecbx.js";
7
- import { t as p } from "./Heading-Db8kKUvN.js";
7
+ import { t as p } from "./Heading-vOVPxhJF.js";
8
8
  import { t as m } from "./Grid-kuP6V0GW.js";
9
9
  import { a as h, o as g, t as _ } from "./to-event-card-props-BquqSDuB.js";
10
10
  import { n as v } from "./imageUrl-xyMedKrE.js";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./Event-B-FDXrnA.js";
1
+ import { t as e } from "./Event-CUSr7idI.js";
2
2
  import { g as t } from "./sizing-B7ixYndz.js";
3
- import { a as n } from "./RecommendationsRail-C3FXg2oO.js";
3
+ import { a as n } from "./RecommendationsRail-NGy6-gbC.js";
4
4
  import { t as r } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
5
5
  import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
6
6
  import "svelte/internal/disclose-version";
@@ -4,13 +4,13 @@ import { t as a } from "./ArrowLeftIcon-Bs7mUb9F.js";
4
4
  import { t as o } from "./CalendarIcon-29_IwvHT.js";
5
5
  import { t as s } from "./ChevronDownIcon-Denff3IQ.js";
6
6
  import { n as c, t as l } from "./MailIcon-DdNZD4Cv.js";
7
- import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-C3FXg2oO.js";
7
+ import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-NGy6-gbC.js";
8
8
  import { n as m } from "./copyToClipboard-pMnstOiv.js";
9
9
  import { A as h, L as g, V as _, j as v, z as y } from "./defaultLabels-CsRGNP7f.js";
10
10
  import { t as b } from "./Button-VUB2WJ88.js";
11
11
  import { Q as x, W as S, c as C, et as w, nt as T, v as E } from "./orders-BWVwv3P0.js";
12
12
  import { C as D, H as O, g as k, h as A } from "./api-OjCXecbx.js";
13
- import { n as j, t as M } from "./Heading-Db8kKUvN.js";
13
+ import { n as j, t as M } from "./Heading-vOVPxhJF.js";
14
14
  import { t as N } from "./Text-CqjLjIF8.js";
15
15
  import { c as P, r as ee } from "./pixels-BAPQbj_Y.js";
16
16
  import { i as F, n as te, t as I } from "./i18n-B-mcjNXL.js";
@@ -2,7 +2,7 @@ import { m as e, v as t } from "./sizing-B7ixYndz.js";
2
2
  import { V as n, i as r, n as i, t as a } from "./defaultLabels-CsRGNP7f.js";
3
3
  import { t as o } from "./Button-VUB2WJ88.js";
4
4
  import { P as s, a as c } from "./orders-BWVwv3P0.js";
5
- import { n as l, t as u } from "./Heading-Db8kKUvN.js";
5
+ import { n as l, t as u } from "./Heading-vOVPxhJF.js";
6
6
  import { t as d } from "./Textarea-Cymhixzd.js";
7
7
  import { t as f } from "./Spinner-BgdjQygI.js";
8
8
  import { t as p } from "./Text-CqjLjIF8.js";
@@ -2069,7 +2069,7 @@ function ai(e, n) {
2069
2069
  on({
2070
2070
  widgetId: pe(),
2071
2071
  treatmentShare: typeof e == "number" ? e : void 0
2072
- }) === "treatment" && import("./CalendarFoundryView-B3J3OpP5.js").then((e) => {
2072
+ }) === "treatment" && import("./CalendarFoundryView-0R64KICL.js").then((e) => {
2073
2073
  G.get(V) && (G.set(Ct, e.default, !0), G.set(St, !0));
2074
2074
  }).catch((e) => Zr.error("Foundry calendar load failed:", e));
2075
2075
  }
@@ -2204,7 +2204,7 @@ function ai(e, n) {
2204
2204
  }
2205
2205
  }
2206
2206
  async function pn(e) {
2207
- e === "series" ? G.get(Je) || G.set(Je, (await import("./SeriesPage-byd8v915.js")).default, !0) : e === "collection" ? G.get(Ye) || G.set(Ye, (await import("./CollectionView-Cxz75nqf.js")).default, !0) : G.get(qe) || G.set(qe, (await import("./EventPage-CFAgJ7ii.js")).default, !0);
2207
+ e === "series" ? G.get(Je) || G.set(Je, (await import("./SeriesPage-Bv_OY09w.js")).default, !0) : e === "collection" ? G.get(Ye) || G.set(Ye, (await import("./CollectionView-BEt1C1Cs.js")).default, !0) : G.get(qe) || G.set(qe, (await import("./EventPage-A3s6hjD0.js")).default, !0);
2208
2208
  }
2209
2209
  async function mn({ type: e, id: t, slug: n = "", data: r = null, initialEventData: i = null, pushHash: a = !0 }) {
2210
2210
  Ke++, G.set(U, {
@@ -2265,7 +2265,7 @@ function ai(e, n) {
2265
2265
  block: "start",
2266
2266
  behavior: "auto"
2267
2267
  });
2268
- }), G.get(Xe) || G.set(Xe, (await import("./Checkout-DOG64hFG.js")).default, !0);
2268
+ }), G.get(Xe) || G.set(Xe, (await import("./Checkout-wTWkk1vH.js")).default, !0);
2269
2269
  }
2270
2270
  async function xn(e) {
2271
2271
  Ke++, G.set(Ue, e || {}, !0), G.set(H, "success"), typeof window < "u" && requestAnimationFrame(() => {
@@ -2273,7 +2273,7 @@ function ai(e, n) {
2273
2273
  block: "start",
2274
2274
  behavior: "auto"
2275
2275
  });
2276
- }), G.get(rt) || G.set(rt, (await import("./Success-D5_89YJA.js")).default, !0);
2276
+ }), G.get(rt) || G.set(rt, (await import("./Success-Bt0VBW34.js")).default, !0);
2277
2277
  }
2278
2278
  function Sn() {
2279
2279
  G.get(U) ? mn({
@@ -3765,7 +3765,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
3765
3765
  }
3766
3766
  //#endregion
3767
3767
  //#region src/lib/VenueCalendar.js
3768
- var Bi = "4.3.117", Vi = e("VenueCalendar"), Hi = null;
3768
+ var Bi = "4.3.118", Vi = e("VenueCalendar"), Hi = null;
3769
3769
  function Ui(e = {}) {
3770
3770
  typeof e.onError == "function" && (Hi = e.onError, ue({ onError: (t) => {
3771
3771
  try {
@@ -3796,14 +3796,14 @@ function Ki(e, t) {
3796
3796
  return Gi.has(e) || Gi.set(e, t()), Gi.get(e);
3797
3797
  }
3798
3798
  var $ = {
3799
- EventPage: () => Ki("EventPage", () => import("./EventPage-CFAgJ7ii.js").then((e) => e.default)),
3800
- Checkout: () => Ki("Checkout", () => import("./Checkout-DOG64hFG.js").then((e) => e.default)),
3801
- Success: () => Ki("Success", () => import("./Success-D5_89YJA.js").then((e) => e.default)),
3799
+ EventPage: () => Ki("EventPage", () => import("./EventPage-A3s6hjD0.js").then((e) => e.default)),
3800
+ Checkout: () => Ki("Checkout", () => import("./Checkout-wTWkk1vH.js").then((e) => e.default)),
3801
+ Success: () => Ki("Success", () => import("./Success-Bt0VBW34.js").then((e) => e.default)),
3802
3802
  CartView: () => Ki("CartView", () => import("./CartView-H9Z2y9CT.js").then((e) => e.default)),
3803
- ViewTicketsEmbed: () => Ki("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-BmFbj8iP.js").then((e) => e.default)),
3804
- CheckoutMain: () => Ki("CheckoutMain", () => import("./Checkout-JGthqqs-.js").then((e) => e.default)),
3805
- SeriesPage: () => Ki("SeriesPage", () => import("./SeriesPage-byd8v915.js").then((e) => e.default)),
3806
- CollectionView: () => Ki("CollectionView", () => import("./CollectionView-Cxz75nqf.js").then((e) => e.default))
3803
+ ViewTicketsEmbed: () => Ki("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-BnuypZ1H.js").then((e) => e.default)),
3804
+ CheckoutMain: () => Ki("CheckoutMain", () => import("./Checkout-06U4m7pN.js").then((e) => e.default)),
3805
+ SeriesPage: () => Ki("SeriesPage", () => import("./SeriesPage-Bv_OY09w.js").then((e) => e.default)),
3806
+ CollectionView: () => Ki("CollectionView", () => import("./CollectionView-BEt1C1Cs.js").then((e) => e.default))
3807
3807
  };
3808
3808
  function qi(e, t) {
3809
3809
  let n;