riverbankcms 0.21.0 → 0.22.0
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/dist/acceptance/matrix.mjs +3 -3
- package/dist/cli/index.mjs +1691 -866
- package/dist/cli/init-docs/content/getting-started.md +17 -1
- package/dist/{entryCommands-DSQZqznu.mjs → entryCommands-CoGu0G2R.mjs} +1624 -1529
- package/dist/{eventUpsertInputSchema-zCTx0fdF.mjs → eventUpsertInputSchema-B0ubhUu5.mjs} +8 -2
- package/dist/load-config-Kg45qY-N.mjs +4 -0
- package/dist/{load-config-B68gtN45.mjs → load-config-j58KSqxl.mjs} +3 -3
- package/dist/{plan-CkMANumv.mjs → plan-C4IphkPc.mjs} +8 -3
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-CrOuJrxo.mjs → sdk-event-upsert-BqjzK2zT.mjs} +461 -35
- package/dist/{src-BENi4Q5k.mjs → src-zzwJUef5.mjs} +154 -17
- package/dist/testing.mjs +4 -4
- package/package.json +2 -2
- package/dist/load-config-ghkXBKim.mjs +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { An as
|
|
2
|
+
import { An as unsafeAsSafeDownloadFilename, B as isPresent, Bn as ok, Bt as mapReadonlyNonEmptyArray, C as stableJsonStringify, Dn as unsafeAsPositiveSeconds, En as unsafeAsPositiveByteCount, Fn as unsafeAsStorageBucketName, In as unsafeAsStoragePath, L as isCanonicalRichTextDoc, Ln as unsafeAsUploadSessionId, M as parseFooterCompositionV1, Mn as unsafeAsSiteId, N as footerNavigationLayouts, Nn as unsafeAsSiteScopedStoragePath, R as parsePublicContactDetails, Rn as unsafeAsUserId, Rt as fromArray, Sn as unsafeAsMediaAssetId, Xt as assertNever, _n as unsafeAsEntitlementId, at as localScheduleTimePattern, c as resolveSiteVerticalBookingConfig, d as ORDINARY_EVENT_PRESET_VALUES, dn as unsafeAsBookingRequirementId, fn as unsafeAsBookingSessionId, gn as unsafeAsDetectedMimeType, jn as unsafeAsSiteFontId, kn as unsafeAsProductId, mn as unsafeAsDeclaredMimeType, mt as validateBookingPaymentOptionKinds, pt as parseBookingTimeZone, r as NAVIGATION_LOCATIONS, rn as parseMediaAssetId, sn as parseSiteId, st as parseUtcIsoDateTimeString, u as EVENT_PRESET_VALUES, wn as unsafeAsOriginalFilename, xn as unsafeAsFileChecksumSha256, zn as err, zt as mapNonEmptyArray } from "./src-zzwJUef5.mjs";
|
|
3
3
|
import "node:module";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -4903,7 +4903,8 @@ const cardListItemParts = [
|
|
|
4903
4903
|
"schedule",
|
|
4904
4904
|
"dates",
|
|
4905
4905
|
"availability",
|
|
4906
|
-
"action"
|
|
4906
|
+
"action",
|
|
4907
|
+
"price"
|
|
4907
4908
|
];
|
|
4908
4909
|
/** Block supply is capability, never a second Look catalogue. */
|
|
4909
4910
|
const cardListBlockParts = {
|
|
@@ -4913,13 +4914,39 @@ const cardListBlockParts = {
|
|
|
4913
4914
|
"text",
|
|
4914
4915
|
"action"
|
|
4915
4916
|
],
|
|
4916
|
-
"block.offerings-preview":
|
|
4917
|
+
"block.offerings-preview": [
|
|
4918
|
+
"media",
|
|
4919
|
+
"title",
|
|
4920
|
+
"text",
|
|
4921
|
+
"facts",
|
|
4922
|
+
"chips",
|
|
4923
|
+
"numeral",
|
|
4924
|
+
"schedule",
|
|
4925
|
+
"dates",
|
|
4926
|
+
"availability",
|
|
4927
|
+
"action"
|
|
4928
|
+
],
|
|
4917
4929
|
"block.appointment-services": [
|
|
4918
4930
|
"media",
|
|
4919
4931
|
"title",
|
|
4920
4932
|
"text",
|
|
4921
4933
|
"facts",
|
|
4922
4934
|
"action"
|
|
4935
|
+
],
|
|
4936
|
+
"block.team-members": [
|
|
4937
|
+
"media",
|
|
4938
|
+
"title",
|
|
4939
|
+
"text",
|
|
4940
|
+
"facts",
|
|
4941
|
+
"chips",
|
|
4942
|
+
"action"
|
|
4943
|
+
],
|
|
4944
|
+
"block.shop": [
|
|
4945
|
+
"title",
|
|
4946
|
+
"text",
|
|
4947
|
+
"facts",
|
|
4948
|
+
"price",
|
|
4949
|
+
"action"
|
|
4923
4950
|
]
|
|
4924
4951
|
};
|
|
4925
4952
|
const cardListFamilyBlocks = Object.keys(cardListBlockParts);
|
|
@@ -5010,7 +5037,9 @@ const arrangementLookTargets = {
|
|
|
5010
5037
|
"image-gallery": "image-gallery",
|
|
5011
5038
|
"newsletter-signup": "newsletter",
|
|
5012
5039
|
form: "contact-form",
|
|
5013
|
-
"body-text": "body-text"
|
|
5040
|
+
"body-text": "body-text",
|
|
5041
|
+
faq: "faq",
|
|
5042
|
+
"cta-full": "cta"
|
|
5014
5043
|
};
|
|
5015
5044
|
function defineArrangementLook(id$2, block, name, arrangement, knobs, input = {}) {
|
|
5016
5045
|
const mode = block === "event-calendar" ? "list" : null;
|
|
@@ -6162,6 +6191,98 @@ const blockAppearancePresets = [
|
|
|
6162
6191
|
dates: "summary"
|
|
6163
6192
|
},
|
|
6164
6193
|
styleFallback: [id$1("feature-cards-cards")]
|
|
6194
|
+
}),
|
|
6195
|
+
defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
|
|
6196
|
+
defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], { styleFallback: [id$1("body-text-reading-column")] }),
|
|
6197
|
+
defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", []),
|
|
6198
|
+
defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], { styleFallback: [id$1("faq-questions-under-title")] }),
|
|
6199
|
+
defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], { styleFallback: [id$1("faq-questions-under-title")] }),
|
|
6200
|
+
defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
|
|
6201
|
+
defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", [], { styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")] }),
|
|
6202
|
+
defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", []),
|
|
6203
|
+
{
|
|
6204
|
+
...defineCardListLook("team-members-tall-portraits", "Tall portraits in a row", "cards", [
|
|
6205
|
+
"media",
|
|
6206
|
+
"title",
|
|
6207
|
+
"text",
|
|
6208
|
+
"facts",
|
|
6209
|
+
"chips",
|
|
6210
|
+
"action"
|
|
6211
|
+
], ["showPhotos"], {
|
|
6212
|
+
knobDefaults: { actionStyle: "link" },
|
|
6213
|
+
styleFallback: [id$1("team-members-ruled-names")]
|
|
6214
|
+
}),
|
|
6215
|
+
blockKinds: ["block.team-members"]
|
|
6216
|
+
},
|
|
6217
|
+
{
|
|
6218
|
+
...defineCardListLook("team-members-portrait-bio", "Portrait beside a longer bio", "stack", [
|
|
6219
|
+
"media",
|
|
6220
|
+
"title",
|
|
6221
|
+
"text",
|
|
6222
|
+
"facts",
|
|
6223
|
+
"chips",
|
|
6224
|
+
"action"
|
|
6225
|
+
], ["showPhotos"], {
|
|
6226
|
+
teamBiography: "profile",
|
|
6227
|
+
knobDefaults: { actionStyle: "link" },
|
|
6228
|
+
styleFallback: [id$1("team-members-tall-portraits")]
|
|
6229
|
+
}),
|
|
6230
|
+
blockKinds: ["block.team-members"]
|
|
6231
|
+
},
|
|
6232
|
+
{
|
|
6233
|
+
...defineCardListLook("team-members-ruled-names", "Names in a ruled list", "index", [
|
|
6234
|
+
"title",
|
|
6235
|
+
"text",
|
|
6236
|
+
"facts",
|
|
6237
|
+
"chips",
|
|
6238
|
+
"action"
|
|
6239
|
+
], [], {
|
|
6240
|
+
forcedKnobs: {
|
|
6241
|
+
showPhotos: "false",
|
|
6242
|
+
cardMarker: "none"
|
|
6243
|
+
},
|
|
6244
|
+
knobDefaults: { actionStyle: "link" },
|
|
6245
|
+
styleFallback: [id$1("feature-cards-index")]
|
|
6246
|
+
}),
|
|
6247
|
+
blockKinds: ["block.team-members"]
|
|
6248
|
+
},
|
|
6249
|
+
defineCardListLook("shop-price-cards", "Price cards", "cards", [
|
|
6250
|
+
"title",
|
|
6251
|
+
"text",
|
|
6252
|
+
"facts",
|
|
6253
|
+
"price",
|
|
6254
|
+
"action"
|
|
6255
|
+
], [], {
|
|
6256
|
+
itemRoles: { items: "card" },
|
|
6257
|
+
styleFallback: [id$1("shop-ruled-prices")]
|
|
6258
|
+
}),
|
|
6259
|
+
defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
|
|
6260
|
+
"title",
|
|
6261
|
+
"text",
|
|
6262
|
+
"facts",
|
|
6263
|
+
"price",
|
|
6264
|
+
"action"
|
|
6265
|
+
], [], {
|
|
6266
|
+
itemRoles: {
|
|
6267
|
+
items: "card",
|
|
6268
|
+
featured: "statement"
|
|
6269
|
+
},
|
|
6270
|
+
whenMissing: [{
|
|
6271
|
+
fact: "featured",
|
|
6272
|
+
look: id$1("shop-price-cards")
|
|
6273
|
+
}],
|
|
6274
|
+
styleFallback: [id$1("shop-price-cards")]
|
|
6275
|
+
}),
|
|
6276
|
+
defineCardListLook("shop-ruled-prices", "Prices in a ruled list", "index", [
|
|
6277
|
+
"title",
|
|
6278
|
+
"text",
|
|
6279
|
+
"facts",
|
|
6280
|
+
"price",
|
|
6281
|
+
"action"
|
|
6282
|
+
], [], {
|
|
6283
|
+
forcedKnobs: { cardMarker: "none" },
|
|
6284
|
+
knobDefaults: { actionStyle: "link" },
|
|
6285
|
+
styleFallback: [id$1("feature-cards-index")]
|
|
6165
6286
|
})
|
|
6166
6287
|
];
|
|
6167
6288
|
|
|
@@ -15774,6 +15895,9 @@ const arrangementSlotNames = [
|
|
|
15774
15895
|
"date-label",
|
|
15775
15896
|
"time",
|
|
15776
15897
|
"price",
|
|
15898
|
+
"price-amount",
|
|
15899
|
+
"price-unit",
|
|
15900
|
+
"price-note",
|
|
15777
15901
|
"mark",
|
|
15778
15902
|
"navigation",
|
|
15779
15903
|
"time-start",
|
|
@@ -15836,6 +15960,7 @@ function assignedItemRoles(look, overrides) {
|
|
|
15836
15960
|
...Object.values(look.structure.slotRoles ?? {}),
|
|
15837
15961
|
...roles.container ? [roles.container] : [],
|
|
15838
15962
|
...roles.items ? [roles.items] : [],
|
|
15963
|
+
...roles.featured ? [roles.featured] : [],
|
|
15839
15964
|
...Object.values(roles.at ?? {})
|
|
15840
15965
|
];
|
|
15841
15966
|
}
|
|
@@ -33929,6 +34054,54 @@ const folioLooks = {
|
|
|
33929
34054
|
id: id("card-list-scroll-row"),
|
|
33930
34055
|
treatment: "carousel-row-sheet",
|
|
33931
34056
|
roleMap: folioRoles
|
|
34057
|
+
},
|
|
34058
|
+
{
|
|
34059
|
+
id: id("body-text-title-beside"),
|
|
34060
|
+
treatment: "body-beside",
|
|
34061
|
+
roleMap: folioRoles
|
|
34062
|
+
},
|
|
34063
|
+
{
|
|
34064
|
+
id: id("body-text-large-opening"),
|
|
34065
|
+
treatment: "body-opening",
|
|
34066
|
+
roleMap: folioRoles
|
|
34067
|
+
},
|
|
34068
|
+
{
|
|
34069
|
+
id: id("faq-questions-under-title"),
|
|
34070
|
+
treatment: "faq-under",
|
|
34071
|
+
itemRoles: { items: "card" },
|
|
34072
|
+
roleMap: folioRoles
|
|
34073
|
+
},
|
|
34074
|
+
{
|
|
34075
|
+
id: id("faq-title-beside-questions"),
|
|
34076
|
+
treatment: "faq-beside",
|
|
34077
|
+
itemRoles: { items: "card" },
|
|
34078
|
+
roleMap: folioRoles
|
|
34079
|
+
},
|
|
34080
|
+
{
|
|
34081
|
+
id: id("faq-questions-two-columns"),
|
|
34082
|
+
treatment: "faq-columns",
|
|
34083
|
+
itemRoles: { items: "card" },
|
|
34084
|
+
roleMap: folioRoles
|
|
34085
|
+
},
|
|
34086
|
+
{
|
|
34087
|
+
id: id("image-gallery-square-tiles"),
|
|
34088
|
+
treatment: "gallery-tiles",
|
|
34089
|
+
roleMap: folioRoles
|
|
34090
|
+
},
|
|
34091
|
+
{
|
|
34092
|
+
id: id("image-gallery-lead-photo"),
|
|
34093
|
+
treatment: "gallery-lead",
|
|
34094
|
+
roleMap: folioRoles
|
|
34095
|
+
},
|
|
34096
|
+
{
|
|
34097
|
+
id: id("image-gallery-captions-under"),
|
|
34098
|
+
treatment: "gallery-captions",
|
|
34099
|
+
roleMap: folioRoles
|
|
34100
|
+
},
|
|
34101
|
+
{
|
|
34102
|
+
id: id("cta-centred"),
|
|
34103
|
+
treatment: "cta-centred",
|
|
34104
|
+
roleMap: folioRoles
|
|
33932
34105
|
}
|
|
33933
34106
|
]
|
|
33934
34107
|
};
|
|
@@ -34117,6 +34290,56 @@ const fulcrumOffers = [
|
|
|
34117
34290
|
id: id("card-list-accent-edged-cards"),
|
|
34118
34291
|
treatment: "cards-accent-edged",
|
|
34119
34292
|
roleMap: fulcrumRoles
|
|
34293
|
+
},
|
|
34294
|
+
{
|
|
34295
|
+
id: id("body-text-reading-column"),
|
|
34296
|
+
treatment: "body-column",
|
|
34297
|
+
roleMap: fulcrumRoles
|
|
34298
|
+
},
|
|
34299
|
+
{
|
|
34300
|
+
id: id("body-text-title-beside"),
|
|
34301
|
+
treatment: "body-beside",
|
|
34302
|
+
roleMap: fulcrumRoles
|
|
34303
|
+
},
|
|
34304
|
+
{
|
|
34305
|
+
id: id("body-text-large-opening"),
|
|
34306
|
+
treatment: "body-opening",
|
|
34307
|
+
roleMap: fulcrumRoles
|
|
34308
|
+
},
|
|
34309
|
+
{
|
|
34310
|
+
id: id("faq-questions-under-title"),
|
|
34311
|
+
treatment: "faq-under",
|
|
34312
|
+
roleMap: fulcrumRoles
|
|
34313
|
+
},
|
|
34314
|
+
{
|
|
34315
|
+
id: id("faq-title-beside-questions"),
|
|
34316
|
+
treatment: "faq-beside",
|
|
34317
|
+
roleMap: fulcrumRoles
|
|
34318
|
+
},
|
|
34319
|
+
{
|
|
34320
|
+
id: id("faq-questions-two-columns"),
|
|
34321
|
+
treatment: "faq-columns",
|
|
34322
|
+
roleMap: fulcrumRoles
|
|
34323
|
+
},
|
|
34324
|
+
{
|
|
34325
|
+
id: id("image-gallery-square-tiles"),
|
|
34326
|
+
treatment: "gallery-tiles",
|
|
34327
|
+
roleMap: fulcrumRoles
|
|
34328
|
+
},
|
|
34329
|
+
{
|
|
34330
|
+
id: id("image-gallery-lead-photo"),
|
|
34331
|
+
treatment: "gallery-lead",
|
|
34332
|
+
roleMap: fulcrumRoles
|
|
34333
|
+
},
|
|
34334
|
+
{
|
|
34335
|
+
id: id("image-gallery-captions-under"),
|
|
34336
|
+
treatment: "gallery-captions",
|
|
34337
|
+
roleMap: fulcrumRoles
|
|
34338
|
+
},
|
|
34339
|
+
{
|
|
34340
|
+
id: id("cta-centred"),
|
|
34341
|
+
treatment: "cta-centred",
|
|
34342
|
+
roleMap: fulcrumRoles
|
|
34120
34343
|
}
|
|
34121
34344
|
];
|
|
34122
34345
|
const fulcrumLooks = {
|
|
@@ -34362,6 +34585,56 @@ const posterOffers = [
|
|
|
34362
34585
|
id: id("card-list-scroll-row"),
|
|
34363
34586
|
treatment: "carousel-row-punchy",
|
|
34364
34587
|
roleMap: posterRoles
|
|
34588
|
+
},
|
|
34589
|
+
{
|
|
34590
|
+
id: id("body-text-reading-column"),
|
|
34591
|
+
treatment: "body-column",
|
|
34592
|
+
roleMap: posterRoles
|
|
34593
|
+
},
|
|
34594
|
+
{
|
|
34595
|
+
id: id("body-text-title-beside"),
|
|
34596
|
+
treatment: "body-beside",
|
|
34597
|
+
roleMap: posterRoles
|
|
34598
|
+
},
|
|
34599
|
+
{
|
|
34600
|
+
id: id("body-text-large-opening"),
|
|
34601
|
+
treatment: "body-opening",
|
|
34602
|
+
roleMap: posterRoles
|
|
34603
|
+
},
|
|
34604
|
+
{
|
|
34605
|
+
id: id("faq-questions-under-title"),
|
|
34606
|
+
treatment: "faq-under",
|
|
34607
|
+
roleMap: posterRoles
|
|
34608
|
+
},
|
|
34609
|
+
{
|
|
34610
|
+
id: id("faq-title-beside-questions"),
|
|
34611
|
+
treatment: "faq-beside",
|
|
34612
|
+
roleMap: posterRoles
|
|
34613
|
+
},
|
|
34614
|
+
{
|
|
34615
|
+
id: id("faq-questions-two-columns"),
|
|
34616
|
+
treatment: "faq-columns",
|
|
34617
|
+
roleMap: posterRoles
|
|
34618
|
+
},
|
|
34619
|
+
{
|
|
34620
|
+
id: id("image-gallery-square-tiles"),
|
|
34621
|
+
treatment: "gallery-tiles",
|
|
34622
|
+
roleMap: posterRoles
|
|
34623
|
+
},
|
|
34624
|
+
{
|
|
34625
|
+
id: id("image-gallery-lead-photo"),
|
|
34626
|
+
treatment: "gallery-lead",
|
|
34627
|
+
roleMap: posterRoles
|
|
34628
|
+
},
|
|
34629
|
+
{
|
|
34630
|
+
id: id("image-gallery-captions-under"),
|
|
34631
|
+
treatment: "gallery-captions",
|
|
34632
|
+
roleMap: posterRoles
|
|
34633
|
+
},
|
|
34634
|
+
{
|
|
34635
|
+
id: id("cta-centred"),
|
|
34636
|
+
treatment: "cta-centred",
|
|
34637
|
+
roleMap: posterRoles
|
|
34365
34638
|
}
|
|
34366
34639
|
];
|
|
34367
34640
|
const posterLooks = {
|
|
@@ -34408,7 +34681,8 @@ const posterLooks = {
|
|
|
34408
34681
|
},
|
|
34409
34682
|
pop: {
|
|
34410
34683
|
kind: "token",
|
|
34411
|
-
token: "accent"
|
|
34684
|
+
token: "accent",
|
|
34685
|
+
buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primary") }
|
|
34412
34686
|
},
|
|
34413
34687
|
inverse: {
|
|
34414
34688
|
kind: "token",
|
|
@@ -34680,6 +34954,44 @@ const lanternOffers = [
|
|
|
34680
34954
|
id: id("card-list-scroll-row"),
|
|
34681
34955
|
treatment: "carousel-row-cards",
|
|
34682
34956
|
roleMap: lanternRoles
|
|
34957
|
+
},
|
|
34958
|
+
{
|
|
34959
|
+
id: id("body-text-title-beside"),
|
|
34960
|
+
treatment: "body-beside",
|
|
34961
|
+
roleMap: lanternRoles
|
|
34962
|
+
},
|
|
34963
|
+
{
|
|
34964
|
+
id: id("body-text-large-opening"),
|
|
34965
|
+
treatment: "body-opening",
|
|
34966
|
+
roleMap: lanternRoles
|
|
34967
|
+
},
|
|
34968
|
+
{
|
|
34969
|
+
id: id("faq-questions-under-title"),
|
|
34970
|
+
treatment: "faq-under",
|
|
34971
|
+
itemRoles: { items: "card" },
|
|
34972
|
+
roleMap: lanternRoles
|
|
34973
|
+
},
|
|
34974
|
+
{
|
|
34975
|
+
id: id("faq-title-beside-questions"),
|
|
34976
|
+
treatment: "faq-beside",
|
|
34977
|
+
itemRoles: { items: "card" },
|
|
34978
|
+
roleMap: lanternRoles
|
|
34979
|
+
},
|
|
34980
|
+
{
|
|
34981
|
+
id: id("faq-questions-two-columns"),
|
|
34982
|
+
treatment: "faq-columns",
|
|
34983
|
+
itemRoles: { items: "card" },
|
|
34984
|
+
roleMap: lanternRoles
|
|
34985
|
+
},
|
|
34986
|
+
{
|
|
34987
|
+
id: id("image-gallery-lead-photo"),
|
|
34988
|
+
treatment: "gallery-lead",
|
|
34989
|
+
roleMap: lanternRoles
|
|
34990
|
+
},
|
|
34991
|
+
{
|
|
34992
|
+
id: id("cta-centred"),
|
|
34993
|
+
treatment: "cta-centred",
|
|
34994
|
+
roleMap: lanternRoles
|
|
34683
34995
|
}
|
|
34684
34996
|
];
|
|
34685
34997
|
const lanternLooks = {
|
|
@@ -34919,6 +35231,56 @@ const measureOffers = [
|
|
|
34919
35231
|
id: id("card-list-scroll-row"),
|
|
34920
35232
|
treatment: "carousel-row-sheets",
|
|
34921
35233
|
roleMap: measureRoles
|
|
35234
|
+
},
|
|
35235
|
+
{
|
|
35236
|
+
id: id("body-text-reading-column"),
|
|
35237
|
+
treatment: "body-column",
|
|
35238
|
+
roleMap: measureRoles
|
|
35239
|
+
},
|
|
35240
|
+
{
|
|
35241
|
+
id: id("body-text-title-beside"),
|
|
35242
|
+
treatment: "body-beside",
|
|
35243
|
+
roleMap: measureRoles
|
|
35244
|
+
},
|
|
35245
|
+
{
|
|
35246
|
+
id: id("body-text-large-opening"),
|
|
35247
|
+
treatment: "body-opening",
|
|
35248
|
+
roleMap: measureRoles
|
|
35249
|
+
},
|
|
35250
|
+
{
|
|
35251
|
+
id: id("faq-title-beside-questions"),
|
|
35252
|
+
treatment: "faq-beside",
|
|
35253
|
+
roleMap: measureRoles
|
|
35254
|
+
},
|
|
35255
|
+
{
|
|
35256
|
+
id: id("faq-questions-under-title"),
|
|
35257
|
+
treatment: "faq-under",
|
|
35258
|
+
roleMap: measureRoles
|
|
35259
|
+
},
|
|
35260
|
+
{
|
|
35261
|
+
id: id("faq-questions-two-columns"),
|
|
35262
|
+
treatment: "faq-columns",
|
|
35263
|
+
roleMap: measureRoles
|
|
35264
|
+
},
|
|
35265
|
+
{
|
|
35266
|
+
id: id("image-gallery-square-tiles"),
|
|
35267
|
+
treatment: "gallery-tiles",
|
|
35268
|
+
roleMap: measureRoles
|
|
35269
|
+
},
|
|
35270
|
+
{
|
|
35271
|
+
id: id("image-gallery-lead-photo"),
|
|
35272
|
+
treatment: "gallery-lead",
|
|
35273
|
+
roleMap: measureRoles
|
|
35274
|
+
},
|
|
35275
|
+
{
|
|
35276
|
+
id: id("image-gallery-captions-under"),
|
|
35277
|
+
treatment: "gallery-captions",
|
|
35278
|
+
roleMap: measureRoles
|
|
35279
|
+
},
|
|
35280
|
+
{
|
|
35281
|
+
id: id("cta-centred"),
|
|
35282
|
+
treatment: "cta-centred",
|
|
35283
|
+
roleMap: measureRoles
|
|
34922
35284
|
}
|
|
34923
35285
|
];
|
|
34924
35286
|
const measureLooks = {
|
|
@@ -35461,7 +35823,7 @@ const curatedSiteStyles = [
|
|
|
35461
35823
|
},
|
|
35462
35824
|
compositionBudget: quietBudget,
|
|
35463
35825
|
typography: fulcrumTypography,
|
|
35464
|
-
looks: fulcrumLooks,
|
|
35826
|
+
looks: withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles),
|
|
35465
35827
|
contentTemplateDefaults: { event: "event-header" },
|
|
35466
35828
|
themeOverrides: {
|
|
35467
35829
|
accordions: {
|
|
@@ -35599,7 +35961,10 @@ const curatedSiteStyles = [
|
|
|
35599
35961
|
},
|
|
35600
35962
|
compositionBudget: expressiveBudget,
|
|
35601
35963
|
typography: posterTypography,
|
|
35602
|
-
looks: posterLooks,
|
|
35964
|
+
looks: withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
|
|
35965
|
+
...posterRoles,
|
|
35966
|
+
statement: "pop"
|
|
35967
|
+
}),
|
|
35603
35968
|
contentTemplateDefaults: { event: "event-header" },
|
|
35604
35969
|
themeOverrides: {
|
|
35605
35970
|
accordions: boldBorderedAccordionSystem,
|
|
@@ -35653,7 +36018,7 @@ const curatedSiteStyles = [
|
|
|
35653
36018
|
},
|
|
35654
36019
|
compositionBudget: quietBudget,
|
|
35655
36020
|
typography: lanternTypography,
|
|
35656
|
-
looks: lanternLooks,
|
|
36021
|
+
looks: withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles),
|
|
35657
36022
|
contentTemplateDefaults: { event: "event-header" },
|
|
35658
36023
|
themeOverrides: {
|
|
35659
36024
|
accordions: warmInsetAccordionSystem,
|
|
@@ -35713,7 +36078,7 @@ const curatedSiteStyles = [
|
|
|
35713
36078
|
},
|
|
35714
36079
|
compositionBudget: quietBudget,
|
|
35715
36080
|
typography: measureTypography,
|
|
35716
|
-
looks: measureLooks,
|
|
36081
|
+
looks: withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles),
|
|
35717
36082
|
contentTemplateDefaults: { event: "event-header" },
|
|
35718
36083
|
themeOverrides: {
|
|
35719
36084
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -35753,7 +36118,7 @@ const curatedSiteStyles = [
|
|
|
35753
36118
|
compositionBudget: accentLedQuietBudget,
|
|
35754
36119
|
typography: folioTypography,
|
|
35755
36120
|
heroTypography: groundedSerifHeroTypography,
|
|
35756
|
-
looks: folioLooks,
|
|
36121
|
+
looks: withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles),
|
|
35757
36122
|
contentTemplateDefaults: { event: "event-header" },
|
|
35758
36123
|
themeOverrides: {
|
|
35759
36124
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -35897,6 +36262,52 @@ curatedSiteStyles.forEach((style) => {
|
|
|
35897
36262
|
const recipes = new Set([...Object.values(style.footerLookRecipes ?? {}), ...style.recommendedFooterLookIds.map((id$2) => resolveFooterLookRecipe(style, id$2))]);
|
|
35898
36263
|
recipes.forEach((recipe) => validateFooterRecipeSurfaces(style, recipe));
|
|
35899
36264
|
});
|
|
36265
|
+
function withTeamLooks(looks, roleMap) {
|
|
36266
|
+
return {
|
|
36267
|
+
...looks,
|
|
36268
|
+
offers: [
|
|
36269
|
+
{
|
|
36270
|
+
id: id("team-members-tall-portraits"),
|
|
36271
|
+
treatment: "team-portraits",
|
|
36272
|
+
roleMap
|
|
36273
|
+
},
|
|
36274
|
+
{
|
|
36275
|
+
id: id("team-members-portrait-bio"),
|
|
36276
|
+
treatment: "team-bio",
|
|
36277
|
+
roleMap
|
|
36278
|
+
},
|
|
36279
|
+
{
|
|
36280
|
+
id: id("team-members-ruled-names"),
|
|
36281
|
+
treatment: "team-names",
|
|
36282
|
+
roleMap
|
|
36283
|
+
},
|
|
36284
|
+
...looks.offers
|
|
36285
|
+
]
|
|
36286
|
+
};
|
|
36287
|
+
}
|
|
36288
|
+
function withPriceLooks(looks, roleMap, featuredRoleMap = roleMap) {
|
|
36289
|
+
return {
|
|
36290
|
+
...looks,
|
|
36291
|
+
offers: [
|
|
36292
|
+
{
|
|
36293
|
+
id: id("shop-price-cards"),
|
|
36294
|
+
treatment: "shop-prices",
|
|
36295
|
+
roleMap
|
|
36296
|
+
},
|
|
36297
|
+
{
|
|
36298
|
+
id: id("shop-price-cards-featured"),
|
|
36299
|
+
treatment: "shop-prices-featured",
|
|
36300
|
+
roleMap: featuredRoleMap
|
|
36301
|
+
},
|
|
36302
|
+
{
|
|
36303
|
+
id: id("shop-ruled-prices"),
|
|
36304
|
+
treatment: "shop-price-list",
|
|
36305
|
+
roleMap
|
|
36306
|
+
},
|
|
36307
|
+
...looks.offers
|
|
36308
|
+
]
|
|
36309
|
+
};
|
|
36310
|
+
}
|
|
35900
36311
|
|
|
35901
36312
|
//#endregion
|
|
35902
36313
|
//#region ../theme-core/src/site-styles/pageDesignEditorCapabilities.ts
|
|
@@ -45046,6 +45457,7 @@ const upsertStaffMemberCommandSchema = z.object({
|
|
|
45046
45457
|
displayName: z.string().min(1),
|
|
45047
45458
|
roleLabel: z.string().optional(),
|
|
45048
45459
|
shortBio: z.string().optional(),
|
|
45460
|
+
avatarRef: mediaRefSchema.nullable().optional(),
|
|
45049
45461
|
timezone: z.string().min(1).optional(),
|
|
45050
45462
|
specialties: stringArraySchema.optional(),
|
|
45051
45463
|
publicVisibility: z.enum(["hidden", "visible"]).optional()
|
|
@@ -46303,6 +46715,7 @@ function commandRefContributions(command) {
|
|
|
46303
46715
|
if (isBookingRefCommand(command)) {
|
|
46304
46716
|
return bookingCommandRefContributions(command);
|
|
46305
46717
|
}
|
|
46718
|
+
if (isLifecycleRefCommand(command)) return lifecycleCommandRefContributions(command);
|
|
46306
46719
|
switch (command.type) {
|
|
46307
46720
|
case "configureSiteIdentity":
|
|
46308
46721
|
case "configureBookingSettings": return {
|
|
@@ -46320,7 +46733,6 @@ function commandRefContributions(command) {
|
|
|
46320
46733
|
case "upsertPage":
|
|
46321
46734
|
case "upsertForm":
|
|
46322
46735
|
case "upsertFooterContent":
|
|
46323
|
-
case "upsertStaffMember":
|
|
46324
46736
|
case "upsertVenue":
|
|
46325
46737
|
case "upsertEventCategory": return {
|
|
46326
46738
|
provides: [{
|
|
@@ -46329,6 +46741,7 @@ function commandRefContributions(command) {
|
|
|
46329
46741
|
}],
|
|
46330
46742
|
requires: []
|
|
46331
46743
|
};
|
|
46744
|
+
case "upsertStaffMember": return staffMemberCommandRefContributions(command);
|
|
46332
46745
|
case "upsertEventSeries": return {
|
|
46333
46746
|
provides: [{
|
|
46334
46747
|
ref: command.ref,
|
|
@@ -46430,29 +46843,6 @@ function commandRefContributions(command) {
|
|
|
46430
46843
|
}],
|
|
46431
46844
|
requires: collectNavigationRefs(command.input.items, "input.items")
|
|
46432
46845
|
};
|
|
46433
|
-
case "publishPage":
|
|
46434
|
-
case "unpublishPage": return {
|
|
46435
|
-
provides: [],
|
|
46436
|
-
requires: command.input.pageRef !== undefined ? [{
|
|
46437
|
-
ref: command.input.pageRef,
|
|
46438
|
-
field: "input.pageRef"
|
|
46439
|
-
}] : []
|
|
46440
|
-
};
|
|
46441
|
-
case "publishContentEntry": return {
|
|
46442
|
-
provides: [],
|
|
46443
|
-
requires: command.input.contentEntryRef !== undefined ? [{
|
|
46444
|
-
ref: command.input.contentEntryRef,
|
|
46445
|
-
field: "input.contentEntryRef"
|
|
46446
|
-
}] : []
|
|
46447
|
-
};
|
|
46448
|
-
case "unpublishContentEntry":
|
|
46449
|
-
case "deleteContentEntry": return {
|
|
46450
|
-
provides: [],
|
|
46451
|
-
requires: command.input.contentEntryRef !== undefined ? [{
|
|
46452
|
-
ref: command.input.contentEntryRef,
|
|
46453
|
-
field: "input.contentEntryRef"
|
|
46454
|
-
}] : []
|
|
46455
|
-
};
|
|
46456
46846
|
default: return assertNever(command);
|
|
46457
46847
|
}
|
|
46458
46848
|
}
|
|
@@ -46530,6 +46920,42 @@ function collectNestedRefs(value, path) {
|
|
|
46530
46920
|
if (!isRecord(value)) return [];
|
|
46531
46921
|
return Object.entries(value).flatMap(([key, child]) => collectNestedRefs(child, `${path}.${key}`));
|
|
46532
46922
|
}
|
|
46923
|
+
function staffMemberCommandRefContributions(command) {
|
|
46924
|
+
return {
|
|
46925
|
+
provides: [{
|
|
46926
|
+
ref: command.ref,
|
|
46927
|
+
field: "ref"
|
|
46928
|
+
}],
|
|
46929
|
+
requires: optionalRef(command.input.avatarRef ?? undefined, "input.avatarRef")
|
|
46930
|
+
};
|
|
46931
|
+
}
|
|
46932
|
+
const lifecycleRefCommandTypes = [
|
|
46933
|
+
"publishPage",
|
|
46934
|
+
"unpublishPage",
|
|
46935
|
+
"publishContentEntry",
|
|
46936
|
+
"unpublishContentEntry",
|
|
46937
|
+
"deleteContentEntry"
|
|
46938
|
+
];
|
|
46939
|
+
const lifecycleRefCommandTypeSet = new Set(lifecycleRefCommandTypes);
|
|
46940
|
+
function isLifecycleRefCommand(command) {
|
|
46941
|
+
return lifecycleRefCommandTypeSet.has(command.type);
|
|
46942
|
+
}
|
|
46943
|
+
function lifecycleCommandRefContributions(command) {
|
|
46944
|
+
switch (command.type) {
|
|
46945
|
+
case "publishPage":
|
|
46946
|
+
case "unpublishPage": return {
|
|
46947
|
+
provides: [],
|
|
46948
|
+
requires: optionalRef(command.input.pageRef, "input.pageRef")
|
|
46949
|
+
};
|
|
46950
|
+
case "publishContentEntry":
|
|
46951
|
+
case "unpublishContentEntry":
|
|
46952
|
+
case "deleteContentEntry": return {
|
|
46953
|
+
provides: [],
|
|
46954
|
+
requires: optionalRef(command.input.contentEntryRef, "input.contentEntryRef")
|
|
46955
|
+
};
|
|
46956
|
+
default: return assertNever(command);
|
|
46957
|
+
}
|
|
46958
|
+
}
|
|
46533
46959
|
|
|
46534
46960
|
//#endregion
|
|
46535
46961
|
//#region ../site-commands/src/staticExecutionGaps.ts
|
|
@@ -47842,4 +48268,4 @@ function parseSdkEventRunUpsertInput(input, runIndex, options) {
|
|
|
47842
48268
|
}
|
|
47843
48269
|
|
|
47844
48270
|
//#endregion
|
|
47845
|
-
export { createNavigationRef as $,
|
|
48271
|
+
export { createNavigationRef as $, cardRoleSchema as $n, __toESM as $r, footerPreferencesSchema as $t, eventManagementTiming as A, runtimeMediaSchema as An, backgroundColorStyle as Ar, BREAKPOINT_SM as At, bookingPaymentCollectionOptionSchema as B, deriveVideoSlotPolicy as Bn, PUBLIC_BUTTON_ROLES as Br, themeButtonSizeClassName as Bt, stableStringify as C, getDirectImageUrlForRelativePath as Cn, tileTreatmentValues as Cr, themeSchema as Ct, evaluateSiteCommandBatchExposure as D, mediaPosterSchema as Dn, surfaceDecorationColors as Dr, renderHeaderPaintTargetRules as Dt, mapEventCommandContent as E, isSiteScopedDirectImageStoragePath as En, resolveSurface as Er, getHeaderPaintTargets as Et, pageIdentifierForCommand as F, buildMediaIdentifierFromFilename as Fn, opaqueSurfaceDeclarations as Fr, getComponentShadowVar as Ft, createBlockRef as G, normalizeAmbiguousStoragePathForSite as Gn, surfaceForegroundInputFromResolved as Gr, buildTextContrastShadow as Gt, require_jsx_runtime as H, getExtensionForMimeType as Hn, surfaceToneFromForegroundToken as Hr, parseThemeForPersistence as Ht, pagePathForCommand as I, parseCanonicalMediaIdentifier as In, isCssColorLiteral as Ir, ICON_CONFIG as It, createContentEntryRef as J, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Jn, expandPalette as Jr, arrangementSlotNames as Jt, createBlocksRef as K, parseRelativeStoragePath as Kn, surfaceForegroundStyle as Kr, generateNavLinkCSS as Kt, hasConfiguredBookingVertical as L, parseMediaIdentifier as Ln, resolveOnColorForThemeToken as Lr, generateDefaultButtonSystem as Lt, blockOrderIdentifiersForCommand as M, resolveManagedMediaReference as Mn, mergeStyles as Mr, MQ_MD_DOWN as Mt, entryIdentifierForCommand as N, mediaTypeDiscriminants as Nn, rgbColorValue as Nr, headerVariantValues as Nt, evaluateSiteCommandExposure as O, mediaSchema as On, resolveSurfaceForeground as Or, BREAKPOINT_LG as Ot, pageIdentifierForBlockCommand as P, mediaIdentifierSchema as Pn, textColorStyle as Pr, getComponentBorderWidthPx as Pt, createFormRef as Q, renderCssDeclarations as Qn, __commonJSMin as Qr, pageDesignIntentSchemaVersion as Qt, eventCommandScheduleSchema as R, resolveMediaIdentifier as Rn, resolveThemeColorReferenceValue as Rr, parseThemeButtonVariantId as Rt, sortRecord as S, resolveMediaTransformForAspect as Sn, testimonialsCompositionTreatmentValues as Sr, deriveSiteStyleBlockPolicy as St, parseAndPlanCommandBatchForTypes as T, getImageUrl as Tn, visibleHeadingDecorationFamilyValues as Tr, generateMobileOverlayBackdropFilterFix as Tt, require_react as U, getMimeType as Un, defaultThemeTokens as Ur, buttonStyleSelectionSchema as Ut, bookingPaymentTermsSchema as V, resolveVideoSelectionIntentForMediaField as Vn, selectLogoVariant as Vr, themeButtonVariantClassNames as Vt, ianaTimezoneSchema as W, asRecord as Wn, surfaceForegroundDeclarations as Wr, footerForegroundCandidates as Wt, createEventSeriesRef as X, managementMediaLibraryUploadLimitForMimeType as Xn, parseThemeColorToken as Xr, resolveLookSlotSurfaces as Xt, createEventCategoryRef as Y, classifyKnownMimeType as Yn, getTextColorForBackground as Yr, resolveItemSurface as Yt, createFooterRef as Z, parseSafeDownloadFilename as Zn, parseBlockColorToken as Zr, pageDesignBoundaryTreatmentSchema as Zt, normalizeLinkValue as _, looksLikeUuid as _n, featureCardCompositionTreatmentValues as _r, requireCuratedSiteStyle as _t, classifySdkEventSchedule as a, parseCanonicalRuntimeBackground as an, cardListKnobBlocks as ar, effectiveHeaderNavLinkStyle as at, isEventVisibility as b, isExplicitRectCrop as bn, makeBoundaryId as br, getGradientPreset as bt, customLinkSchema as c, boxBackgroundOverlaySchema as cn, asLayoutVariantKey as cr, transparentHeaderForegroundInput as ct, internalLinkSchema as d, siteChromeBackgroundOverrideOwner as dn, assertNever$1 as dr, readHeaderNavFontSizePreference as dt, headerRootPaint as en, cardVariantRoleValues as er, createPageRef as et, internalResolvedLinkSchema as f, stripStaleTransitionStyleGroup as fn, defineBlockDesignCapability as fr, arrangementManifestFromVariants as ft, linkSchema as g, deleteEnvSpecificKeys as gn, eyebrowTreatmentValues as gr, resolvePublishedLook as gt, isResolvedInternalLinkEntityType as h, walkAndCollectImageAttrs as hn, eventListTreatmentValues as hr, resolveModeArrangement as ht, sdkEventUpsertOptionalFieldSchemas as i, deriveSectionGround as in, cardListFamilyBlocks as ir, slugPart as it, blockIdentifierForCommand as j, buildRenderableMediaAssetIndex as jn, borderColorStyle as jr, BREAKPOINT_XL as jt, getSiteCommandMetadata as k, persistableMediaSchema as kn, TokenResolver as kr, BREAKPOINT_MD as kt, entryLinkSchema as l, boxBackgroundSchema as ln, asPageFlowPresetId as lr, readOpeningForegroundProjection as lt, isInternalResolvedLinkValue as m, summarizePortableMediaReferences as mn, defineNoBlockDesignCapability as mr, resolveEffectiveArrangement as mt, sdkCourseBookingSettingsSchema as n, composeBoundary as nn, defineBlockDesignMetadata as nr, createVenueRef as nt, classifySdkEventBookingOffer as o, resolveSectionBackground as on, asAppearancePresetId as or, headerForegroundCandidates as ot, internalRouteOnlyLinkSchema as p, collectPortableMediaReferencesFromContent as pn, defineFrameCapability as pr, readStoredMode as pt, createCommandRef as q, FILE_SIZE_LIMITS as qn, surfaceForegroundValue as qr, arrangementLookHooks as qt, sdkEventOccurrenceInputSchema as r, sectionFactsForContent as rn, resolveEffectiveKnobs as rr, refSlug as rt, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as s, resolveSectionPhotoPlacement as sn, asDesignBlockId as sr, headerLeafTextColor as st, classifySdkEventTiming as t, boundaryLayout as tn, normalizeCardRole as tr, createSiteCommandSiteRef as tt, externalLinkSchema as u, runtimeBoxBackgroundSchema as un, asSiteStyleId as ur, mergeHeaderNavTypographyPreference as ut, pageLinkSchema as v, rotateNormalizedPoint as vn, headingDecorationColorTokenValues as vr, compiledRuntimeStyleFieldNames as vt, createDryRunReport as w, getDirectImageUrlForSiteScopedPath as wn, toNonEmptyReadonlyArray as wr, generateHeaderScrollTreatmentStyles as wt, venueManagementFields as x, parseAspectRatioValue as xn, offeringsPreviewCompositionTreatmentValues as xr, parseGradientPresetId as xt, eventVisibilitySchema as y, normalizeWidthCandidates as yn, introCompositionTreatmentValues as yr, gradientToCss as yt, eventBookingOfferIntentSchema as z, slugifyMediaIdentifier as zn, resolveTokenOrCssColorValue as zr, themeButtonExtraClassesWithTrailingIcon as zt };
|