@riverbankcms/sdk 0.129.0 → 0.129.1
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 +19 -256
- package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
- package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +3 -3
- package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +460 -393
- package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
- package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
- package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/config/types.d.ts +4 -4
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
- package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
- package/dist/client/client.mjs +492 -426
- package/dist/client/hooks.mjs +59 -36
- package/dist/client/rendering/client.mjs +593 -547
- package/dist/client/rendering.mjs +491 -425
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
- package/dist/{separator-DkTe68HE.mjs → separator-BE3NCquy.mjs} +1 -1
- package/dist/server/components.mjs +72 -49
- package/dist/server/config-validation.mjs +59 -36
- package/dist/server/config.mjs +59 -36
- package/dist/server/data.mjs +59 -36
- package/dist/server/index.mjs +1 -1
- package/dist/server/manifest.mjs +4966 -0
- package/dist/server/next.mjs +73 -50
- package/dist/server/page-converter.mjs +40 -36
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +72 -49
- package/dist/server/rendering.mjs +72 -49
- package/dist/server/routing.mjs +472 -402
- package/dist/server/server.mjs +60 -37
- package/dist/server/theme-bridge.mjs +70 -66
- package/package.json +9 -12
- package/dist/_dts/api/src/event-presentation.d.ts +0 -14
- package/dist/_dts/blocks/src/definitions.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
- package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
- package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
- package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
- package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
- package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
- package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
- package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
- package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
- package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
- package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
- package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
- package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
- package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
- package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
- package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
- package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
- package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
- package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
- package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
- package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
- package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
- package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
- package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
- package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
- package/dist/_dts/sdk/src/test/env.d.ts +0 -4
- package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
- package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
- package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
- package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
- package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
- package/dist/_dts/site-commands/src/domain.d.ts +0 -104
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
- package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
- package/dist/_dts/site-commands/src/guards.d.ts +0 -1
- package/dist/_dts/site-commands/src/index.d.ts +0 -18
- package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
- package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
- package/dist/_dts/site-commands/src/planner.d.ts +0 -58
- package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
- package/dist/_dts/site-commands/src/refs.d.ts +0 -90
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
- package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
- package/dist/_dts/theme-core/src/data.d.ts +0 -12
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
- package/dist/cli/index.mjs +0 -162988
- package/dist/cli/init-docs/content/agents-section.md +0 -67
- package/dist/cli/init-docs/content/cli-reference.md +0 -1238
- package/dist/cli/init-docs/content/content-management.md +0 -792
- package/dist/cli/init-docs/content/context-brand.md +0 -125
- package/dist/cli/init-docs/content/context-brief.md +0 -77
- package/dist/cli/init-docs/content/context-knowledge.md +0 -111
- package/dist/cli/init-docs/content/getting-started.md +0 -171
- package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
- package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
- package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
- package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
- package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
- package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
- package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
- package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
- package/dist/cli/init-docs/content/workflow-publish.md +0 -285
- package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
- package/dist/cli/init-docs/content/workflow-templates.md +0 -381
- /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
|
@@ -4,13 +4,13 @@ import React from "react";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-Bt87-62u.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-C20CVWbb.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-C20CVWbb.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewQueryProvider-B1kbhaJD.mjs";
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-Bt87-62u.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ea as Primitive, ka as cn } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { Ea as Primitive, ka as cn } from "./SiteChromeCustomizeContext-BLl-OlL4.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -8723,32 +8723,15 @@ function parseBackgroundAppearanceColorToken(value) {
|
|
|
8723
8723
|
function uniqueStrings(values) {
|
|
8724
8724
|
return Array.from(new Set(values));
|
|
8725
8725
|
}
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
label: "Hover colour",
|
|
8736
|
-
defaultOptionId: "accent",
|
|
8737
|
-
options: [
|
|
8738
|
-
{
|
|
8739
|
-
id: "accent",
|
|
8740
|
-
label: "Accent"
|
|
8741
|
-
},
|
|
8742
|
-
{
|
|
8743
|
-
id: "primary",
|
|
8744
|
-
label: "Primary"
|
|
8745
|
-
},
|
|
8746
|
-
{
|
|
8747
|
-
id: "secondary",
|
|
8748
|
-
label: "Secondary"
|
|
8749
|
-
}
|
|
8750
|
-
]
|
|
8751
|
-
});
|
|
8726
|
+
function asHeaderLookId(value) {
|
|
8727
|
+
return value;
|
|
8728
|
+
}
|
|
8729
|
+
function asHeaderLayoutId(value) {
|
|
8730
|
+
return value;
|
|
8731
|
+
}
|
|
8732
|
+
function asHeaderStyleId(value) {
|
|
8733
|
+
return value;
|
|
8734
|
+
}
|
|
8752
8735
|
//#endregion
|
|
8753
8736
|
//#region ../theme-core/src/site-styles/logoBranding.ts
|
|
8754
8737
|
const logoTextConfidenceValues = [
|
|
@@ -8839,15 +8822,8 @@ const logoSizePolicyValues = [
|
|
|
8839
8822
|
"generous",
|
|
8840
8823
|
"display"
|
|
8841
8824
|
];
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
}
|
|
8845
|
-
function asHeaderLayoutId(value) {
|
|
8846
|
-
return value;
|
|
8847
|
-
}
|
|
8848
|
-
function asHeaderStyleId(value) {
|
|
8849
|
-
return value;
|
|
8850
|
-
}
|
|
8825
|
+
//#endregion
|
|
8826
|
+
//#region ../theme-core/src/site-styles/headerLookBranding.ts
|
|
8851
8827
|
const titleOnlyLogoAccommodation = {
|
|
8852
8828
|
pattern: "title-only",
|
|
8853
8829
|
supportedShapes: [
|
|
@@ -8966,21 +8942,34 @@ const overlayLogoAccommodations = [
|
|
|
8966
8942
|
inlineMarkWithTitleLogoAccommodation,
|
|
8967
8943
|
unbackedOverlayLogoAccommodation
|
|
8968
8944
|
];
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8945
|
+
const headerInteractionPaletteSchema = z$1.enum([
|
|
8946
|
+
"primary",
|
|
8947
|
+
"secondary",
|
|
8948
|
+
"accent"
|
|
8949
|
+
]);
|
|
8950
|
+
//#endregion
|
|
8951
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
8952
|
+
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
8953
|
+
id: "interaction-palette",
|
|
8954
|
+
label: "Hover colour",
|
|
8955
|
+
defaultOptionId: "accent",
|
|
8956
|
+
options: [
|
|
8957
|
+
{
|
|
8958
|
+
id: "accent",
|
|
8959
|
+
label: "Accent"
|
|
8960
|
+
},
|
|
8961
|
+
{
|
|
8962
|
+
id: "primary",
|
|
8963
|
+
label: "Primary"
|
|
8964
|
+
},
|
|
8965
|
+
{
|
|
8966
|
+
id: "secondary",
|
|
8967
|
+
label: "Secondary"
|
|
8981
8968
|
}
|
|
8982
|
-
|
|
8983
|
-
}
|
|
8969
|
+
]
|
|
8970
|
+
});
|
|
8971
|
+
//#endregion
|
|
8972
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
8984
8973
|
const headerLayoutCatalog = defineExactCatalog()([
|
|
8985
8974
|
{
|
|
8986
8975
|
id: asHeaderLayoutId("classic"),
|
|
@@ -9385,6 +9374,19 @@ function getCompatibleHeaderStyleIds(layoutId) {
|
|
|
9385
9374
|
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
9386
9375
|
});
|
|
9387
9376
|
}
|
|
9377
|
+
//#endregion
|
|
9378
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
9379
|
+
function baseHeader(theme) {
|
|
9380
|
+
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
9381
|
+
return {
|
|
9382
|
+
...header,
|
|
9383
|
+
navContainer: {
|
|
9384
|
+
type: "none",
|
|
9385
|
+
tint: null,
|
|
9386
|
+
opacity: .15
|
|
9387
|
+
}
|
|
9388
|
+
};
|
|
9389
|
+
}
|
|
9388
9390
|
function applyNavTypography(style, typography) {
|
|
9389
9391
|
switch (typography) {
|
|
9390
9392
|
case "plain": return style;
|
|
@@ -9438,6 +9440,8 @@ function themedHeaderShadow(theme) {
|
|
|
9438
9440
|
default: return assertNever$15(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
9439
9441
|
}
|
|
9440
9442
|
}
|
|
9443
|
+
//#endregion
|
|
9444
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
9441
9445
|
function solidBrandHeader(theme) {
|
|
9442
9446
|
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
9443
9447
|
return {
|
|
@@ -72252,6 +72256,25 @@ z$1.object({
|
|
|
72252
72256
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
72253
72257
|
}).strict();
|
|
72254
72258
|
//#endregion
|
|
72259
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
72260
|
+
/**
|
|
72261
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
72262
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
72263
|
+
*/
|
|
72264
|
+
function losslessValidatedSchema(schema) {
|
|
72265
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
72266
|
+
const parsed = schema.safeParse(value);
|
|
72267
|
+
if (parsed.success) return;
|
|
72268
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
72269
|
+
code: "custom",
|
|
72270
|
+
path: issue.path,
|
|
72271
|
+
message: issue.message,
|
|
72272
|
+
params: { validationCode: issue.code }
|
|
72273
|
+
});
|
|
72274
|
+
}).transform((value) => value);
|
|
72275
|
+
}
|
|
72276
|
+
losslessValidatedSchema(themeSchema);
|
|
72277
|
+
//#endregion
|
|
72255
72278
|
//#region ../api/src/siteOnboarding.ts
|
|
72256
72279
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
72257
72280
|
requirementId: "configure_appointments",
|
|
@@ -9439,28 +9439,7 @@ function uniqueStrings(values) {
|
|
|
9439
9439
|
return Array.from(new Set(values));
|
|
9440
9440
|
}
|
|
9441
9441
|
//#endregion
|
|
9442
|
-
//#region ../theme-core/src/site-styles/
|
|
9443
|
-
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9444
|
-
id: "interaction-palette",
|
|
9445
|
-
label: "Hover colour",
|
|
9446
|
-
defaultOptionId: "accent",
|
|
9447
|
-
options: [
|
|
9448
|
-
{
|
|
9449
|
-
id: "accent",
|
|
9450
|
-
label: "Accent"
|
|
9451
|
-
},
|
|
9452
|
-
{
|
|
9453
|
-
id: "primary",
|
|
9454
|
-
label: "Primary"
|
|
9455
|
-
},
|
|
9456
|
-
{
|
|
9457
|
-
id: "secondary",
|
|
9458
|
-
label: "Secondary"
|
|
9459
|
-
}
|
|
9460
|
-
]
|
|
9461
|
-
});
|
|
9462
|
-
//#endregion
|
|
9463
|
-
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
9442
|
+
//#region ../theme-core/src/site-styles/headerLookTypes.ts
|
|
9464
9443
|
function asHeaderLookId(value) {
|
|
9465
9444
|
return value;
|
|
9466
9445
|
}
|
|
@@ -9470,6 +9449,8 @@ function asHeaderLayoutId(value) {
|
|
|
9470
9449
|
function asHeaderStyleId(value) {
|
|
9471
9450
|
return value;
|
|
9472
9451
|
}
|
|
9452
|
+
//#endregion
|
|
9453
|
+
//#region ../theme-core/src/site-styles/headerLookBranding.ts
|
|
9473
9454
|
const titleOnlyLogoAccommodation = {
|
|
9474
9455
|
pattern: "title-only",
|
|
9475
9456
|
supportedShapes: [
|
|
@@ -9588,21 +9569,29 @@ const overlayLogoAccommodations = [
|
|
|
9588
9569
|
inlineMarkWithTitleLogoAccommodation,
|
|
9589
9570
|
unbackedOverlayLogoAccommodation
|
|
9590
9571
|
];
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9572
|
+
//#endregion
|
|
9573
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
9574
|
+
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9575
|
+
id: "interaction-palette",
|
|
9576
|
+
label: "Hover colour",
|
|
9577
|
+
defaultOptionId: "accent",
|
|
9578
|
+
options: [
|
|
9579
|
+
{
|
|
9580
|
+
id: "accent",
|
|
9581
|
+
label: "Accent"
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
id: "primary",
|
|
9585
|
+
label: "Primary"
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
id: "secondary",
|
|
9589
|
+
label: "Secondary"
|
|
9603
9590
|
}
|
|
9604
|
-
|
|
9605
|
-
}
|
|
9591
|
+
]
|
|
9592
|
+
});
|
|
9593
|
+
//#endregion
|
|
9594
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
9606
9595
|
const headerLayoutCatalog = defineExactCatalog()([
|
|
9607
9596
|
{
|
|
9608
9597
|
id: asHeaderLayoutId("classic"),
|
|
@@ -10007,6 +9996,19 @@ function getCompatibleHeaderStyleIds(layoutId) {
|
|
|
10007
9996
|
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
10008
9997
|
});
|
|
10009
9998
|
}
|
|
9999
|
+
//#endregion
|
|
10000
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
10001
|
+
function baseHeader(theme) {
|
|
10002
|
+
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
10003
|
+
return {
|
|
10004
|
+
...header,
|
|
10005
|
+
navContainer: {
|
|
10006
|
+
type: "none",
|
|
10007
|
+
tint: null,
|
|
10008
|
+
opacity: .15
|
|
10009
|
+
}
|
|
10010
|
+
};
|
|
10011
|
+
}
|
|
10010
10012
|
function applyNavTypography(style, typography) {
|
|
10011
10013
|
switch (typography) {
|
|
10012
10014
|
case "plain": return style;
|
|
@@ -10060,6 +10062,8 @@ function themedHeaderShadow(theme) {
|
|
|
10060
10062
|
default: return assertNever$1(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
10061
10063
|
}
|
|
10062
10064
|
}
|
|
10065
|
+
//#endregion
|
|
10066
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
10063
10067
|
function solidBrandHeader(theme) {
|
|
10064
10068
|
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
10065
10069
|
return {
|
|
@@ -36098,6 +36102,25 @@ z$1.object({
|
|
|
36098
36102
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
36099
36103
|
}).strict();
|
|
36100
36104
|
//#endregion
|
|
36105
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
36106
|
+
/**
|
|
36107
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
36108
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
36109
|
+
*/
|
|
36110
|
+
function losslessValidatedSchema(schema) {
|
|
36111
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
36112
|
+
const parsed = schema.safeParse(value);
|
|
36113
|
+
if (parsed.success) return;
|
|
36114
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
36115
|
+
code: "custom",
|
|
36116
|
+
path: issue.path,
|
|
36117
|
+
message: issue.message,
|
|
36118
|
+
params: { validationCode: issue.code }
|
|
36119
|
+
});
|
|
36120
|
+
}).transform((value) => value);
|
|
36121
|
+
}
|
|
36122
|
+
losslessValidatedSchema(themeSchema);
|
|
36123
|
+
//#endregion
|
|
36101
36124
|
//#region ../api/src/siteOnboarding.ts
|
|
36102
36125
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
36103
36126
|
requirementId: "configure_appointments",
|
package/dist/server/config.mjs
CHANGED
|
@@ -9515,28 +9515,7 @@ function uniqueStrings(values) {
|
|
|
9515
9515
|
return Array.from(new Set(values));
|
|
9516
9516
|
}
|
|
9517
9517
|
//#endregion
|
|
9518
|
-
//#region ../theme-core/src/site-styles/
|
|
9519
|
-
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9520
|
-
id: "interaction-palette",
|
|
9521
|
-
label: "Hover colour",
|
|
9522
|
-
defaultOptionId: "accent",
|
|
9523
|
-
options: [
|
|
9524
|
-
{
|
|
9525
|
-
id: "accent",
|
|
9526
|
-
label: "Accent"
|
|
9527
|
-
},
|
|
9528
|
-
{
|
|
9529
|
-
id: "primary",
|
|
9530
|
-
label: "Primary"
|
|
9531
|
-
},
|
|
9532
|
-
{
|
|
9533
|
-
id: "secondary",
|
|
9534
|
-
label: "Secondary"
|
|
9535
|
-
}
|
|
9536
|
-
]
|
|
9537
|
-
});
|
|
9538
|
-
//#endregion
|
|
9539
|
-
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
9518
|
+
//#region ../theme-core/src/site-styles/headerLookTypes.ts
|
|
9540
9519
|
function asHeaderLookId(value) {
|
|
9541
9520
|
return value;
|
|
9542
9521
|
}
|
|
@@ -9546,6 +9525,8 @@ function asHeaderLayoutId(value) {
|
|
|
9546
9525
|
function asHeaderStyleId(value) {
|
|
9547
9526
|
return value;
|
|
9548
9527
|
}
|
|
9528
|
+
//#endregion
|
|
9529
|
+
//#region ../theme-core/src/site-styles/headerLookBranding.ts
|
|
9549
9530
|
const titleOnlyLogoAccommodation = {
|
|
9550
9531
|
pattern: "title-only",
|
|
9551
9532
|
supportedShapes: [
|
|
@@ -9664,21 +9645,29 @@ const overlayLogoAccommodations = [
|
|
|
9664
9645
|
inlineMarkWithTitleLogoAccommodation,
|
|
9665
9646
|
unbackedOverlayLogoAccommodation
|
|
9666
9647
|
];
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9648
|
+
//#endregion
|
|
9649
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
9650
|
+
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9651
|
+
id: "interaction-palette",
|
|
9652
|
+
label: "Hover colour",
|
|
9653
|
+
defaultOptionId: "accent",
|
|
9654
|
+
options: [
|
|
9655
|
+
{
|
|
9656
|
+
id: "accent",
|
|
9657
|
+
label: "Accent"
|
|
9658
|
+
},
|
|
9659
|
+
{
|
|
9660
|
+
id: "primary",
|
|
9661
|
+
label: "Primary"
|
|
9662
|
+
},
|
|
9663
|
+
{
|
|
9664
|
+
id: "secondary",
|
|
9665
|
+
label: "Secondary"
|
|
9679
9666
|
}
|
|
9680
|
-
|
|
9681
|
-
}
|
|
9667
|
+
]
|
|
9668
|
+
});
|
|
9669
|
+
//#endregion
|
|
9670
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
9682
9671
|
const headerLayoutCatalog = defineExactCatalog()([
|
|
9683
9672
|
{
|
|
9684
9673
|
id: asHeaderLayoutId("classic"),
|
|
@@ -10083,6 +10072,19 @@ function getCompatibleHeaderStyleIds(layoutId) {
|
|
|
10083
10072
|
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
10084
10073
|
});
|
|
10085
10074
|
}
|
|
10075
|
+
//#endregion
|
|
10076
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
10077
|
+
function baseHeader(theme) {
|
|
10078
|
+
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
10079
|
+
return {
|
|
10080
|
+
...header,
|
|
10081
|
+
navContainer: {
|
|
10082
|
+
type: "none",
|
|
10083
|
+
tint: null,
|
|
10084
|
+
opacity: .15
|
|
10085
|
+
}
|
|
10086
|
+
};
|
|
10087
|
+
}
|
|
10086
10088
|
function applyNavTypography(style, typography) {
|
|
10087
10089
|
switch (typography) {
|
|
10088
10090
|
case "plain": return style;
|
|
@@ -10136,6 +10138,8 @@ function themedHeaderShadow(theme) {
|
|
|
10136
10138
|
default: return assertNever$1(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
10137
10139
|
}
|
|
10138
10140
|
}
|
|
10141
|
+
//#endregion
|
|
10142
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
10139
10143
|
function solidBrandHeader(theme) {
|
|
10140
10144
|
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
10141
10145
|
return {
|
|
@@ -36174,6 +36178,25 @@ z$1.object({
|
|
|
36174
36178
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
36175
36179
|
}).strict();
|
|
36176
36180
|
//#endregion
|
|
36181
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
36182
|
+
/**
|
|
36183
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
36184
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
36185
|
+
*/
|
|
36186
|
+
function losslessValidatedSchema(schema) {
|
|
36187
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
36188
|
+
const parsed = schema.safeParse(value);
|
|
36189
|
+
if (parsed.success) return;
|
|
36190
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
36191
|
+
code: "custom",
|
|
36192
|
+
path: issue.path,
|
|
36193
|
+
message: issue.message,
|
|
36194
|
+
params: { validationCode: issue.code }
|
|
36195
|
+
});
|
|
36196
|
+
}).transform((value) => value);
|
|
36197
|
+
}
|
|
36198
|
+
losslessValidatedSchema(themeSchema);
|
|
36199
|
+
//#endregion
|
|
36177
36200
|
//#region ../api/src/siteOnboarding.ts
|
|
36178
36201
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
36179
36202
|
requirementId: "configure_appointments",
|
package/dist/server/data.mjs
CHANGED
|
@@ -9541,28 +9541,7 @@ function uniqueStrings(values) {
|
|
|
9541
9541
|
return Array.from(new Set(values));
|
|
9542
9542
|
}
|
|
9543
9543
|
//#endregion
|
|
9544
|
-
//#region ../theme-core/src/site-styles/
|
|
9545
|
-
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9546
|
-
id: "interaction-palette",
|
|
9547
|
-
label: "Hover colour",
|
|
9548
|
-
defaultOptionId: "accent",
|
|
9549
|
-
options: [
|
|
9550
|
-
{
|
|
9551
|
-
id: "accent",
|
|
9552
|
-
label: "Accent"
|
|
9553
|
-
},
|
|
9554
|
-
{
|
|
9555
|
-
id: "primary",
|
|
9556
|
-
label: "Primary"
|
|
9557
|
-
},
|
|
9558
|
-
{
|
|
9559
|
-
id: "secondary",
|
|
9560
|
-
label: "Secondary"
|
|
9561
|
-
}
|
|
9562
|
-
]
|
|
9563
|
-
});
|
|
9564
|
-
//#endregion
|
|
9565
|
-
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
9544
|
+
//#region ../theme-core/src/site-styles/headerLookTypes.ts
|
|
9566
9545
|
function asHeaderLookId(value) {
|
|
9567
9546
|
return value;
|
|
9568
9547
|
}
|
|
@@ -9572,6 +9551,8 @@ function asHeaderLayoutId(value) {
|
|
|
9572
9551
|
function asHeaderStyleId(value) {
|
|
9573
9552
|
return value;
|
|
9574
9553
|
}
|
|
9554
|
+
//#endregion
|
|
9555
|
+
//#region ../theme-core/src/site-styles/headerLookBranding.ts
|
|
9575
9556
|
const titleOnlyLogoAccommodation = {
|
|
9576
9557
|
pattern: "title-only",
|
|
9577
9558
|
supportedShapes: [
|
|
@@ -9690,21 +9671,29 @@ const overlayLogoAccommodations = [
|
|
|
9690
9671
|
inlineMarkWithTitleLogoAccommodation,
|
|
9691
9672
|
unbackedOverlayLogoAccommodation
|
|
9692
9673
|
];
|
|
9693
|
-
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9674
|
+
//#endregion
|
|
9675
|
+
//#region ../theme-core/src/site-styles/headerInteractionPalette.ts
|
|
9676
|
+
const clearSplitInteractionPalette = defineLookOptionGroup({
|
|
9677
|
+
id: "interaction-palette",
|
|
9678
|
+
label: "Hover colour",
|
|
9679
|
+
defaultOptionId: "accent",
|
|
9680
|
+
options: [
|
|
9681
|
+
{
|
|
9682
|
+
id: "accent",
|
|
9683
|
+
label: "Accent"
|
|
9684
|
+
},
|
|
9685
|
+
{
|
|
9686
|
+
id: "primary",
|
|
9687
|
+
label: "Primary"
|
|
9688
|
+
},
|
|
9689
|
+
{
|
|
9690
|
+
id: "secondary",
|
|
9691
|
+
label: "Secondary"
|
|
9705
9692
|
}
|
|
9706
|
-
|
|
9707
|
-
}
|
|
9693
|
+
]
|
|
9694
|
+
});
|
|
9695
|
+
//#endregion
|
|
9696
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
9708
9697
|
const headerLayoutCatalog = defineExactCatalog()([
|
|
9709
9698
|
{
|
|
9710
9699
|
id: asHeaderLayoutId("classic"),
|
|
@@ -10109,6 +10098,19 @@ function getCompatibleHeaderStyleIds(layoutId) {
|
|
|
10109
10098
|
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
10110
10099
|
});
|
|
10111
10100
|
}
|
|
10101
|
+
//#endregion
|
|
10102
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
10103
|
+
function baseHeader(theme) {
|
|
10104
|
+
const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
|
|
10105
|
+
return {
|
|
10106
|
+
...header,
|
|
10107
|
+
navContainer: {
|
|
10108
|
+
type: "none",
|
|
10109
|
+
tint: null,
|
|
10110
|
+
opacity: .15
|
|
10111
|
+
}
|
|
10112
|
+
};
|
|
10113
|
+
}
|
|
10112
10114
|
function applyNavTypography(style, typography) {
|
|
10113
10115
|
switch (typography) {
|
|
10114
10116
|
case "plain": return style;
|
|
@@ -10162,6 +10164,8 @@ function themedHeaderShadow(theme) {
|
|
|
10162
10164
|
default: return assertNever$2(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
10163
10165
|
}
|
|
10164
10166
|
}
|
|
10167
|
+
//#endregion
|
|
10168
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
10165
10169
|
function solidBrandHeader(theme) {
|
|
10166
10170
|
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
10167
10171
|
return {
|
|
@@ -36771,6 +36775,25 @@ z$1.object({
|
|
|
36771
36775
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
36772
36776
|
}).strict();
|
|
36773
36777
|
//#endregion
|
|
36778
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
36779
|
+
/**
|
|
36780
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
36781
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
36782
|
+
*/
|
|
36783
|
+
function losslessValidatedSchema(schema) {
|
|
36784
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
36785
|
+
const parsed = schema.safeParse(value);
|
|
36786
|
+
if (parsed.success) return;
|
|
36787
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
36788
|
+
code: "custom",
|
|
36789
|
+
path: issue.path,
|
|
36790
|
+
message: issue.message,
|
|
36791
|
+
params: { validationCode: issue.code }
|
|
36792
|
+
});
|
|
36793
|
+
}).transform((value) => value);
|
|
36794
|
+
}
|
|
36795
|
+
losslessValidatedSchema(themeSchema);
|
|
36796
|
+
//#endregion
|
|
36774
36797
|
//#region ../api/src/siteOnboarding.ts
|
|
36775
36798
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
36776
36799
|
requirementId: "configure_appointments",
|
package/dist/server/index.mjs
CHANGED
|
@@ -7917,7 +7917,7 @@ var SimpleCache = class {
|
|
|
7917
7917
|
* 1. This constant
|
|
7918
7918
|
* 2. The "version" field in package.json
|
|
7919
7919
|
*/
|
|
7920
|
-
const SDK_VERSION = "0.129.
|
|
7920
|
+
const SDK_VERSION = "0.129.1";
|
|
7921
7921
|
//#endregion
|
|
7922
7922
|
//#region src/client/error.ts
|
|
7923
7923
|
let _Symbol$for;
|