@riverbankcms/sdk 0.70.2 → 0.70.3
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.
- package/README.md +29 -0
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +8 -33
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +81 -0
- package/dist/_dts/sdk/src/components.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/overrideResolution.d.ts +10 -0
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +12 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/cli/index.mjs +678 -100
- package/dist/client/client.mjs +201 -201
- package/dist/client/rendering.mjs +25412 -25402
- package/dist/preview-next/client/runtime.mjs +8 -1
- package/dist/server/components.mjs +10 -0
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +82 -3
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering.mjs +10 -0
- package/dist/server/server.mjs +1 -1
- package/package.json +4 -3
package/dist/client/client.mjs
CHANGED
|
@@ -42651,6 +42651,131 @@ var init_themeScopeUtils = __esm({
|
|
|
42651
42651
|
}
|
|
42652
42652
|
});
|
|
42653
42653
|
|
|
42654
|
+
// src/rendering/islands/enhancers/accordion.ts
|
|
42655
|
+
var accordion_exports = {};
|
|
42656
|
+
__export(accordion_exports, {
|
|
42657
|
+
enhance: () => enhance
|
|
42658
|
+
});
|
|
42659
|
+
function parseDefaultValues(value) {
|
|
42660
|
+
if (!value) return [];
|
|
42661
|
+
return value.split(",").map((v) => v.trim()).filter(Boolean);
|
|
42662
|
+
}
|
|
42663
|
+
function getItemValue(item, index) {
|
|
42664
|
+
return item.getAttribute("data-accordion-value") ?? String(index);
|
|
42665
|
+
}
|
|
42666
|
+
function normalizeType(domValue, propsValue) {
|
|
42667
|
+
if (propsValue === "multiple") return "multiple";
|
|
42668
|
+
if (propsValue === "single") return "single";
|
|
42669
|
+
return domValue === "multiple" ? "multiple" : "single";
|
|
42670
|
+
}
|
|
42671
|
+
function normalizeCollapsible(propsValue) {
|
|
42672
|
+
if (propsValue === false) return false;
|
|
42673
|
+
return true;
|
|
42674
|
+
}
|
|
42675
|
+
function normalizeDefaultValues(domValue, propsValue) {
|
|
42676
|
+
if (Array.isArray(propsValue)) return propsValue.map(String).filter(Boolean);
|
|
42677
|
+
if (typeof propsValue === "string" && propsValue.trim()) return [propsValue.trim()];
|
|
42678
|
+
return parseDefaultValues(domValue);
|
|
42679
|
+
}
|
|
42680
|
+
var enhance;
|
|
42681
|
+
var init_accordion = __esm({
|
|
42682
|
+
"src/rendering/islands/enhancers/accordion.ts"() {
|
|
42683
|
+
"use strict";
|
|
42684
|
+
enhance = (root, props2) => {
|
|
42685
|
+
if (root.dataset.rbAccordionEnhanced === "true") return;
|
|
42686
|
+
root.dataset.rbAccordionEnhanced = "true";
|
|
42687
|
+
const type = normalizeType(root.getAttribute("data-accordion-type"), props2?.type);
|
|
42688
|
+
const collapsible = type === "single" ? normalizeCollapsible(props2?.collapsible) : true;
|
|
42689
|
+
const defaultValues = new Set(
|
|
42690
|
+
normalizeDefaultValues(root.getAttribute("data-default-value"), props2?.defaultValue)
|
|
42691
|
+
);
|
|
42692
|
+
const items = Array.from(root.querySelectorAll(".accordion-item"));
|
|
42693
|
+
const cleanups = [];
|
|
42694
|
+
const closeAnimations = /* @__PURE__ */ new WeakMap();
|
|
42695
|
+
const setMeasuredContentHeight = (content) => {
|
|
42696
|
+
content.style.setProperty("--radix-accordion-content-height", `${content.scrollHeight}px`);
|
|
42697
|
+
};
|
|
42698
|
+
const setOpen = (item, open, options) => {
|
|
42699
|
+
const trigger = item.querySelector(".accordion-trigger");
|
|
42700
|
+
const content = item.querySelector(".accordion-content");
|
|
42701
|
+
if (!trigger || !content) return;
|
|
42702
|
+
const cancelPendingClose = closeAnimations.get(content);
|
|
42703
|
+
if (cancelPendingClose) {
|
|
42704
|
+
cancelPendingClose();
|
|
42705
|
+
closeAnimations.delete(content);
|
|
42706
|
+
}
|
|
42707
|
+
if (open && content.hidden) content.hidden = false;
|
|
42708
|
+
setMeasuredContentHeight(content);
|
|
42709
|
+
item.dataset.state = open ? "open" : "closed";
|
|
42710
|
+
content.dataset.state = open ? "open" : "closed";
|
|
42711
|
+
if (!content.dataset.animation) content.dataset.animation = "accordion";
|
|
42712
|
+
trigger.setAttribute("role", "button");
|
|
42713
|
+
trigger.tabIndex = 0;
|
|
42714
|
+
trigger.setAttribute("aria-expanded", open ? "true" : "false");
|
|
42715
|
+
if (open) {
|
|
42716
|
+
content.hidden = false;
|
|
42717
|
+
content.setAttribute("aria-hidden", "false");
|
|
42718
|
+
content.removeAttribute("inert");
|
|
42719
|
+
return;
|
|
42720
|
+
}
|
|
42721
|
+
content.setAttribute("aria-hidden", "true");
|
|
42722
|
+
content.setAttribute("inert", "");
|
|
42723
|
+
const onAnimationEnd = () => {
|
|
42724
|
+
if (content.dataset.state !== "closed") return;
|
|
42725
|
+
content.hidden = true;
|
|
42726
|
+
closeAnimations.delete(content);
|
|
42727
|
+
};
|
|
42728
|
+
if (options?.immediateClose) {
|
|
42729
|
+
content.hidden = true;
|
|
42730
|
+
return;
|
|
42731
|
+
}
|
|
42732
|
+
content.addEventListener("animationend", onAnimationEnd, { once: true });
|
|
42733
|
+
closeAnimations.set(content, () => {
|
|
42734
|
+
content.removeEventListener("animationend", onAnimationEnd);
|
|
42735
|
+
});
|
|
42736
|
+
};
|
|
42737
|
+
const closeAllExcept = (keep) => {
|
|
42738
|
+
items.forEach((item) => {
|
|
42739
|
+
if (keep && item === keep) return;
|
|
42740
|
+
setOpen(item, false);
|
|
42741
|
+
});
|
|
42742
|
+
};
|
|
42743
|
+
items.forEach((item, index) => {
|
|
42744
|
+
const value = getItemValue(item, index);
|
|
42745
|
+
const initiallyOpen = defaultValues.has(value);
|
|
42746
|
+
setOpen(item, initiallyOpen, initiallyOpen ? void 0 : { immediateClose: true });
|
|
42747
|
+
const trigger = item.querySelector(".accordion-trigger");
|
|
42748
|
+
if (!trigger) return;
|
|
42749
|
+
const toggle = () => {
|
|
42750
|
+
const expanded = trigger.getAttribute("aria-expanded") === "true";
|
|
42751
|
+
const nextOpen = !expanded;
|
|
42752
|
+
if (type === "single" && expanded && !collapsible) return;
|
|
42753
|
+
if (type === "single" && nextOpen) closeAllExcept(item);
|
|
42754
|
+
setOpen(item, nextOpen);
|
|
42755
|
+
};
|
|
42756
|
+
const onClick = (event) => {
|
|
42757
|
+
event.preventDefault();
|
|
42758
|
+
toggle();
|
|
42759
|
+
};
|
|
42760
|
+
const onKeyDown = (event) => {
|
|
42761
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
42762
|
+
event.preventDefault();
|
|
42763
|
+
toggle();
|
|
42764
|
+
};
|
|
42765
|
+
trigger.addEventListener("click", onClick);
|
|
42766
|
+
trigger.addEventListener("keydown", onKeyDown);
|
|
42767
|
+
cleanups.push(() => {
|
|
42768
|
+
trigger.removeEventListener("click", onClick);
|
|
42769
|
+
trigger.removeEventListener("keydown", onKeyDown);
|
|
42770
|
+
});
|
|
42771
|
+
});
|
|
42772
|
+
return () => {
|
|
42773
|
+
cleanups.forEach((fn2) => fn2());
|
|
42774
|
+
};
|
|
42775
|
+
};
|
|
42776
|
+
}
|
|
42777
|
+
});
|
|
42778
|
+
|
|
42654
42779
|
// ../blocks/src/system/runtime/api/deduplication.ts
|
|
42655
42780
|
function createDeduplicationCache(options = {}) {
|
|
42656
42781
|
const { ttl = 100 } = options;
|
|
@@ -43940,7 +44065,7 @@ function ze() {
|
|
|
43940
44065
|
/* @__PURE__ */ Te(P)
|
|
43941
44066
|
);
|
|
43942
44067
|
}
|
|
43943
|
-
function
|
|
44068
|
+
function z73(e) {
|
|
43944
44069
|
if (L) {
|
|
43945
44070
|
if (/* @__PURE__ */ Te(P) !== null)
|
|
43946
44071
|
throw Tt(), Je;
|
|
@@ -45969,12 +46094,12 @@ function ha(e, t) {
|
|
|
45969
46094
|
var mt = we(Dr, 2);
|
|
45970
46095
|
let Pr;
|
|
45971
46096
|
var We = X2(mt);
|
|
45972
|
-
en(We), We.__change = ui,
|
|
46097
|
+
en(We), We.__change = ui, z73(mt);
|
|
45973
46098
|
var Ut = we(mt, 2), wi = X2(Ut);
|
|
45974
46099
|
{
|
|
45975
46100
|
var pi = (n) => {
|
|
45976
46101
|
var u = na(), _ = Gr(u), y = X2(_);
|
|
45977
|
-
Ge(y, () => c(re).verified),
|
|
46102
|
+
Ge(y, () => c(re).verified), z73(_);
|
|
45978
46103
|
var T = we(_, 2);
|
|
45979
46104
|
en(T), Pe(() => {
|
|
45980
46105
|
se(T, "name", V()), jo(T, c(Le));
|
|
@@ -45983,10 +46108,10 @@ function ha(e, t) {
|
|
|
45983
46108
|
{
|
|
45984
46109
|
var _ = (T) => {
|
|
45985
46110
|
var E = ia(), p = X2(E);
|
|
45986
|
-
Ge(p, () => c(re).verifying),
|
|
46111
|
+
Ge(p, () => c(re).verifying), z73(E), ne(T, E);
|
|
45987
46112
|
}, y = (T) => {
|
|
45988
46113
|
var E = oa(), p = X2(E);
|
|
45989
|
-
Ge(p, () => c(re).label),
|
|
46114
|
+
Ge(p, () => c(re).label), z73(E), Pe(() => se(E, "for", c(cr))), ne(T, E);
|
|
45990
46115
|
};
|
|
45991
46116
|
$e(
|
|
45992
46117
|
n,
|
|
@@ -46001,18 +46126,18 @@ function ha(e, t) {
|
|
|
46001
46126
|
c(C) === b.VERIFIED ? n(pi) : n(bi, false);
|
|
46002
46127
|
});
|
|
46003
46128
|
}
|
|
46004
|
-
|
|
46129
|
+
z73(Ut);
|
|
46005
46130
|
var yi = we(Ut, 2);
|
|
46006
46131
|
{
|
|
46007
46132
|
var Ei = (n) => {
|
|
46008
46133
|
var u = aa(), _ = X2(u);
|
|
46009
|
-
se(_, "href", sr),
|
|
46134
|
+
se(_, "href", sr), z73(u), Pe(() => se(_, "aria-label", c(re).ariaLinkLabel)), ne(n, u);
|
|
46010
46135
|
};
|
|
46011
46136
|
$e(yi, (n) => {
|
|
46012
46137
|
(N() !== true || c(Dt)) && n(Ei);
|
|
46013
46138
|
});
|
|
46014
46139
|
}
|
|
46015
|
-
|
|
46140
|
+
z73(Mt);
|
|
46016
46141
|
var Or = we(Mt, 2);
|
|
46017
46142
|
{
|
|
46018
46143
|
var xi = (n) => {
|
|
@@ -46020,16 +46145,16 @@ function ha(e, t) {
|
|
|
46020
46145
|
{
|
|
46021
46146
|
var y = (E) => {
|
|
46022
46147
|
var p = la(), x = X2(p);
|
|
46023
|
-
Ge(x, () => c(re).expired),
|
|
46148
|
+
Ge(x, () => c(re).expired), z73(p), Pe(() => se(p, "title", c(He))), ne(E, p);
|
|
46024
46149
|
}, T = (E) => {
|
|
46025
46150
|
var p = sa(), x = X2(p);
|
|
46026
|
-
Ge(x, () => c(re).error),
|
|
46151
|
+
Ge(x, () => c(re).error), z73(p), Pe(() => se(p, "title", c(He))), ne(E, p);
|
|
46027
46152
|
};
|
|
46028
46153
|
$e(_, (E) => {
|
|
46029
46154
|
c(C) === b.EXPIRED ? E(y) : E(T, false);
|
|
46030
46155
|
});
|
|
46031
46156
|
}
|
|
46032
|
-
|
|
46157
|
+
z73(u), ne(n, u);
|
|
46033
46158
|
};
|
|
46034
46159
|
$e(Or, (n) => {
|
|
46035
46160
|
(c(He) || c(C) === b.EXPIRED) && n(xi);
|
|
@@ -46039,7 +46164,7 @@ function ha(e, t) {
|
|
|
46039
46164
|
{
|
|
46040
46165
|
var $i = (n) => {
|
|
46041
46166
|
var u = ua(), _ = X2(u), y = X2(_);
|
|
46042
|
-
Ge(y, () => c(re).footer),
|
|
46167
|
+
Ge(y, () => c(re).footer), z73(_), z73(u), ne(n, u);
|
|
46043
46168
|
};
|
|
46044
46169
|
$e(Fr, (n) => {
|
|
46045
46170
|
c(re).footer && (k() !== true || c(Dt)) && n($i);
|
|
@@ -46055,7 +46180,7 @@ function ha(e, t) {
|
|
|
46055
46180
|
v() && n(Ci);
|
|
46056
46181
|
});
|
|
46057
46182
|
}
|
|
46058
|
-
return
|
|
46183
|
+
return z73(ot), nn(ot, (n) => D(B, n), () => c(B)), Pe(
|
|
46059
46184
|
(n) => {
|
|
46060
46185
|
se(ot, "data-state", c(C)), se(ot, "data-floating", v()), Pr = Fo(mt, 1, "altcha-checkbox", null, Pr, n), se(We, "id", c(cr)), We.required = r2() !== "onsubmit" && (!v() || r2() !== "off");
|
|
46061
46186
|
},
|
|
@@ -63618,131 +63743,6 @@ var init_client3 = __esm({
|
|
|
63618
63743
|
}
|
|
63619
63744
|
});
|
|
63620
63745
|
|
|
63621
|
-
// src/rendering/islands/enhancers/accordion.ts
|
|
63622
|
-
var accordion_exports = {};
|
|
63623
|
-
__export(accordion_exports, {
|
|
63624
|
-
enhance: () => enhance
|
|
63625
|
-
});
|
|
63626
|
-
function parseDefaultValues(value) {
|
|
63627
|
-
if (!value) return [];
|
|
63628
|
-
return value.split(",").map((v) => v.trim()).filter(Boolean);
|
|
63629
|
-
}
|
|
63630
|
-
function getItemValue(item, index) {
|
|
63631
|
-
return item.getAttribute("data-accordion-value") ?? String(index);
|
|
63632
|
-
}
|
|
63633
|
-
function normalizeType(domValue, propsValue) {
|
|
63634
|
-
if (propsValue === "multiple") return "multiple";
|
|
63635
|
-
if (propsValue === "single") return "single";
|
|
63636
|
-
return domValue === "multiple" ? "multiple" : "single";
|
|
63637
|
-
}
|
|
63638
|
-
function normalizeCollapsible(propsValue) {
|
|
63639
|
-
if (propsValue === false) return false;
|
|
63640
|
-
return true;
|
|
63641
|
-
}
|
|
63642
|
-
function normalizeDefaultValues(domValue, propsValue) {
|
|
63643
|
-
if (Array.isArray(propsValue)) return propsValue.map(String).filter(Boolean);
|
|
63644
|
-
if (typeof propsValue === "string" && propsValue.trim()) return [propsValue.trim()];
|
|
63645
|
-
return parseDefaultValues(domValue);
|
|
63646
|
-
}
|
|
63647
|
-
var enhance;
|
|
63648
|
-
var init_accordion = __esm({
|
|
63649
|
-
"src/rendering/islands/enhancers/accordion.ts"() {
|
|
63650
|
-
"use strict";
|
|
63651
|
-
enhance = (root, props2) => {
|
|
63652
|
-
if (root.dataset.rbAccordionEnhanced === "true") return;
|
|
63653
|
-
root.dataset.rbAccordionEnhanced = "true";
|
|
63654
|
-
const type = normalizeType(root.getAttribute("data-accordion-type"), props2?.type);
|
|
63655
|
-
const collapsible = type === "single" ? normalizeCollapsible(props2?.collapsible) : true;
|
|
63656
|
-
const defaultValues = new Set(
|
|
63657
|
-
normalizeDefaultValues(root.getAttribute("data-default-value"), props2?.defaultValue)
|
|
63658
|
-
);
|
|
63659
|
-
const items = Array.from(root.querySelectorAll(".accordion-item"));
|
|
63660
|
-
const cleanups = [];
|
|
63661
|
-
const closeAnimations = /* @__PURE__ */ new WeakMap();
|
|
63662
|
-
const setMeasuredContentHeight = (content) => {
|
|
63663
|
-
content.style.setProperty("--radix-accordion-content-height", `${content.scrollHeight}px`);
|
|
63664
|
-
};
|
|
63665
|
-
const setOpen = (item, open, options) => {
|
|
63666
|
-
const trigger = item.querySelector(".accordion-trigger");
|
|
63667
|
-
const content = item.querySelector(".accordion-content");
|
|
63668
|
-
if (!trigger || !content) return;
|
|
63669
|
-
const cancelPendingClose = closeAnimations.get(content);
|
|
63670
|
-
if (cancelPendingClose) {
|
|
63671
|
-
cancelPendingClose();
|
|
63672
|
-
closeAnimations.delete(content);
|
|
63673
|
-
}
|
|
63674
|
-
if (open && content.hidden) content.hidden = false;
|
|
63675
|
-
setMeasuredContentHeight(content);
|
|
63676
|
-
item.dataset.state = open ? "open" : "closed";
|
|
63677
|
-
content.dataset.state = open ? "open" : "closed";
|
|
63678
|
-
if (!content.dataset.animation) content.dataset.animation = "accordion";
|
|
63679
|
-
trigger.setAttribute("role", "button");
|
|
63680
|
-
trigger.tabIndex = 0;
|
|
63681
|
-
trigger.setAttribute("aria-expanded", open ? "true" : "false");
|
|
63682
|
-
if (open) {
|
|
63683
|
-
content.hidden = false;
|
|
63684
|
-
content.setAttribute("aria-hidden", "false");
|
|
63685
|
-
content.removeAttribute("inert");
|
|
63686
|
-
return;
|
|
63687
|
-
}
|
|
63688
|
-
content.setAttribute("aria-hidden", "true");
|
|
63689
|
-
content.setAttribute("inert", "");
|
|
63690
|
-
const onAnimationEnd = () => {
|
|
63691
|
-
if (content.dataset.state !== "closed") return;
|
|
63692
|
-
content.hidden = true;
|
|
63693
|
-
closeAnimations.delete(content);
|
|
63694
|
-
};
|
|
63695
|
-
if (options?.immediateClose) {
|
|
63696
|
-
content.hidden = true;
|
|
63697
|
-
return;
|
|
63698
|
-
}
|
|
63699
|
-
content.addEventListener("animationend", onAnimationEnd, { once: true });
|
|
63700
|
-
closeAnimations.set(content, () => {
|
|
63701
|
-
content.removeEventListener("animationend", onAnimationEnd);
|
|
63702
|
-
});
|
|
63703
|
-
};
|
|
63704
|
-
const closeAllExcept = (keep) => {
|
|
63705
|
-
items.forEach((item) => {
|
|
63706
|
-
if (keep && item === keep) return;
|
|
63707
|
-
setOpen(item, false);
|
|
63708
|
-
});
|
|
63709
|
-
};
|
|
63710
|
-
items.forEach((item, index) => {
|
|
63711
|
-
const value = getItemValue(item, index);
|
|
63712
|
-
const initiallyOpen = defaultValues.has(value);
|
|
63713
|
-
setOpen(item, initiallyOpen, initiallyOpen ? void 0 : { immediateClose: true });
|
|
63714
|
-
const trigger = item.querySelector(".accordion-trigger");
|
|
63715
|
-
if (!trigger) return;
|
|
63716
|
-
const toggle = () => {
|
|
63717
|
-
const expanded = trigger.getAttribute("aria-expanded") === "true";
|
|
63718
|
-
const nextOpen = !expanded;
|
|
63719
|
-
if (type === "single" && expanded && !collapsible) return;
|
|
63720
|
-
if (type === "single" && nextOpen) closeAllExcept(item);
|
|
63721
|
-
setOpen(item, nextOpen);
|
|
63722
|
-
};
|
|
63723
|
-
const onClick = (event) => {
|
|
63724
|
-
event.preventDefault();
|
|
63725
|
-
toggle();
|
|
63726
|
-
};
|
|
63727
|
-
const onKeyDown = (event) => {
|
|
63728
|
-
if (event.key !== "Enter" && event.key !== " ") return;
|
|
63729
|
-
event.preventDefault();
|
|
63730
|
-
toggle();
|
|
63731
|
-
};
|
|
63732
|
-
trigger.addEventListener("click", onClick);
|
|
63733
|
-
trigger.addEventListener("keydown", onKeyDown);
|
|
63734
|
-
cleanups.push(() => {
|
|
63735
|
-
trigger.removeEventListener("click", onClick);
|
|
63736
|
-
trigger.removeEventListener("keydown", onKeyDown);
|
|
63737
|
-
});
|
|
63738
|
-
});
|
|
63739
|
-
return () => {
|
|
63740
|
-
cleanups.forEach((fn2) => fn2());
|
|
63741
|
-
};
|
|
63742
|
-
};
|
|
63743
|
-
}
|
|
63744
|
-
});
|
|
63745
|
-
|
|
63746
63746
|
// src/rendering/islands/enhancers/headerSection.ts
|
|
63747
63747
|
var headerSection_exports = {};
|
|
63748
63748
|
__export(headerSection_exports, {
|
|
@@ -83637,72 +83637,72 @@ import { useEffect as useEffect29 } from "react";
|
|
|
83637
83637
|
init_runtime();
|
|
83638
83638
|
init_shop_shared();
|
|
83639
83639
|
init_schemas2();
|
|
83640
|
-
import { z as
|
|
83641
|
-
var accordionIslandSchema =
|
|
83642
|
-
type:
|
|
83643
|
-
defaultValue:
|
|
83644
|
-
collapsible:
|
|
83645
|
-
});
|
|
83646
|
-
var headerSectionIslandSchema =
|
|
83647
|
-
enabled:
|
|
83648
|
-
scrollEnabled:
|
|
83649
|
-
});
|
|
83650
|
-
var responsiveSlidesToShowSchema =
|
|
83651
|
-
mobile:
|
|
83652
|
-
tablet:
|
|
83653
|
-
desktop:
|
|
83654
|
-
});
|
|
83655
|
-
var carouselIslandSchema =
|
|
83656
|
-
slidesToShow:
|
|
83657
|
-
transition:
|
|
83658
|
-
showControls:
|
|
83659
|
-
showDots:
|
|
83660
|
-
arrowVisibility:
|
|
83661
|
-
autoplay:
|
|
83662
|
-
autoplayDelay:
|
|
83663
|
-
loop:
|
|
83664
|
-
});
|
|
83665
|
-
var eventDetailsOccurrenceContextSchema =
|
|
83666
|
-
id:
|
|
83667
|
-
seriesId:
|
|
83668
|
-
startsAt:
|
|
83669
|
-
endsAt:
|
|
83670
|
-
timeZone:
|
|
83671
|
-
});
|
|
83672
|
-
var eventDetailsContentEntrySchema =
|
|
83673
|
-
id:
|
|
83674
|
-
slug:
|
|
83675
|
-
contentTypeSlug:
|
|
83676
|
-
});
|
|
83677
|
-
var eventDetailsIslandSchema =
|
|
83640
|
+
import { z as z72 } from "zod";
|
|
83641
|
+
var accordionIslandSchema = z72.object({
|
|
83642
|
+
type: z72.enum(["single", "multiple"]).optional(),
|
|
83643
|
+
defaultValue: z72.union([z72.string(), z72.array(z72.string())]).optional(),
|
|
83644
|
+
collapsible: z72.boolean().optional()
|
|
83645
|
+
});
|
|
83646
|
+
var headerSectionIslandSchema = z72.object({
|
|
83647
|
+
enabled: z72.boolean().optional(),
|
|
83648
|
+
scrollEnabled: z72.boolean().optional()
|
|
83649
|
+
});
|
|
83650
|
+
var responsiveSlidesToShowSchema = z72.object({
|
|
83651
|
+
mobile: z72.union([z72.number(), z72.string()]).optional(),
|
|
83652
|
+
tablet: z72.union([z72.number(), z72.string()]).optional(),
|
|
83653
|
+
desktop: z72.union([z72.number(), z72.string()]).optional()
|
|
83654
|
+
});
|
|
83655
|
+
var carouselIslandSchema = z72.object({
|
|
83656
|
+
slidesToShow: z72.union([z72.number(), z72.string(), responsiveSlidesToShowSchema]).optional(),
|
|
83657
|
+
transition: z72.enum(["slide", "fade"]).optional(),
|
|
83658
|
+
showControls: z72.union([z72.boolean(), z72.string()]).optional(),
|
|
83659
|
+
showDots: z72.union([z72.boolean(), z72.string()]).optional(),
|
|
83660
|
+
arrowVisibility: z72.enum(["always", "hover", "never"]).optional(),
|
|
83661
|
+
autoplay: z72.union([z72.boolean(), z72.string()]).optional(),
|
|
83662
|
+
autoplayDelay: z72.union([z72.number(), z72.string()]).optional(),
|
|
83663
|
+
loop: z72.union([z72.boolean(), z72.string()]).optional()
|
|
83664
|
+
});
|
|
83665
|
+
var eventDetailsOccurrenceContextSchema = z72.object({
|
|
83666
|
+
id: z72.string(),
|
|
83667
|
+
seriesId: z72.string(),
|
|
83668
|
+
startsAt: z72.string(),
|
|
83669
|
+
endsAt: z72.string(),
|
|
83670
|
+
timeZone: z72.string()
|
|
83671
|
+
});
|
|
83672
|
+
var eventDetailsContentEntrySchema = z72.object({
|
|
83673
|
+
id: z72.string(),
|
|
83674
|
+
slug: z72.string(),
|
|
83675
|
+
contentTypeSlug: z72.string()
|
|
83676
|
+
});
|
|
83677
|
+
var eventDetailsIslandSchema = z72.object({
|
|
83678
83678
|
occurrenceContext: eventDetailsOccurrenceContextSchema.nullable().optional(),
|
|
83679
83679
|
contentEntry: eventDetailsContentEntrySchema.nullable().optional(),
|
|
83680
|
-
events:
|
|
83681
|
-
showVenue:
|
|
83682
|
-
showMap:
|
|
83683
|
-
showOtherDates:
|
|
83684
|
-
otherDatesLimit:
|
|
83685
|
-
showCost:
|
|
83686
|
-
showAcceptedPasses:
|
|
83687
|
-
showAcceptedMemberships:
|
|
83688
|
-
sitePasses:
|
|
83689
|
-
siteMemberships:
|
|
83680
|
+
events: z72.array(publicEventSchema).nullable().optional(),
|
|
83681
|
+
showVenue: z72.boolean().optional(),
|
|
83682
|
+
showMap: z72.boolean().optional(),
|
|
83683
|
+
showOtherDates: z72.boolean().optional(),
|
|
83684
|
+
otherDatesLimit: z72.string().optional(),
|
|
83685
|
+
showCost: z72.boolean().optional(),
|
|
83686
|
+
showAcceptedPasses: z72.boolean().optional(),
|
|
83687
|
+
showAcceptedMemberships: z72.boolean().optional(),
|
|
83688
|
+
sitePasses: z72.object({ passes: z72.array(publicPassProductSchema) }).nullable().optional(),
|
|
83689
|
+
siteMemberships: z72.object({ memberships: z72.array(publicMembershipProductSchema) }).nullable().optional(),
|
|
83690
83690
|
autoApplyDiscount: eventAutoApplyDiscountPreviewSchema.nullable().optional(),
|
|
83691
|
-
className:
|
|
83692
|
-
nowIso:
|
|
83693
|
-
});
|
|
83694
|
-
var locationMapIslandSchema =
|
|
83695
|
-
location:
|
|
83696
|
-
addressText:
|
|
83697
|
-
lat:
|
|
83698
|
-
lng:
|
|
83691
|
+
className: z72.string().nullable().optional(),
|
|
83692
|
+
nowIso: z72.string().optional()
|
|
83693
|
+
});
|
|
83694
|
+
var locationMapIslandSchema = z72.object({
|
|
83695
|
+
location: z72.object({
|
|
83696
|
+
addressText: z72.string().nullable(),
|
|
83697
|
+
lat: z72.number().nullable(),
|
|
83698
|
+
lng: z72.number().nullable()
|
|
83699
83699
|
}).nullable().optional(),
|
|
83700
|
-
zoom:
|
|
83701
|
-
heightPx:
|
|
83702
|
-
showAddressText:
|
|
83703
|
-
showDirections:
|
|
83704
|
-
directionsLabel:
|
|
83705
|
-
className:
|
|
83700
|
+
zoom: z72.number().nullable().optional(),
|
|
83701
|
+
heightPx: z72.number().nullable().optional(),
|
|
83702
|
+
showAddressText: z72.boolean().optional(),
|
|
83703
|
+
showDirections: z72.boolean().optional(),
|
|
83704
|
+
directionsLabel: z72.string().nullable().optional(),
|
|
83705
|
+
className: z72.string().nullable().optional()
|
|
83706
83706
|
});
|
|
83707
83707
|
var accordionIslandPropsCodec = createZodCodec(accordionIslandSchema);
|
|
83708
83708
|
var headerSectionIslandPropsCodec = createZodCodec(headerSectionIslandSchema);
|
|
@@ -84296,7 +84296,7 @@ var SimpleCache = class {
|
|
|
84296
84296
|
};
|
|
84297
84297
|
|
|
84298
84298
|
// src/version.ts
|
|
84299
|
-
var SDK_VERSION = "0.70.
|
|
84299
|
+
var SDK_VERSION = "0.70.3";
|
|
84300
84300
|
|
|
84301
84301
|
// src/client/error.ts
|
|
84302
84302
|
var RiverbankApiError = class _RiverbankApiError extends Error {
|