@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
|
@@ -1214,9 +1214,10 @@ var init_fileAssetDeletion = __esmMin((() => {
|
|
|
1214
1214
|
init_src$3();
|
|
1215
1215
|
init_fileDomain();
|
|
1216
1216
|
init_fileStorage();
|
|
1217
|
-
}))
|
|
1217
|
+
}));
|
|
1218
|
+
var init_fileMimeDetection = __esmMin((() => {
|
|
1218
1219
|
new TextDecoder("latin1");
|
|
1219
|
-
})), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
|
|
1220
|
+
})), init_mimeType = __esmMin((() => {})), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
|
|
1220
1221
|
var init_uploadVerificationContract = __esmMin((() => {
|
|
1221
1222
|
init_fileDomain();
|
|
1222
1223
|
init_fileMimeDetection();
|
|
@@ -1894,6 +1895,7 @@ var init_contentMediaSnapshotAudit = __esmMin((() => {
|
|
|
1894
1895
|
init_fileAssetDeletion();
|
|
1895
1896
|
init_fileAssetCompatibility();
|
|
1896
1897
|
init_fileMimeDetection();
|
|
1898
|
+
init_mimeType();
|
|
1897
1899
|
init_filename();
|
|
1898
1900
|
init_uploadVerificationContract();
|
|
1899
1901
|
init_videoPrep();
|
|
@@ -8081,6 +8083,7 @@ var init_palette$1 = __esmMin((() => {
|
|
|
8081
8083
|
init_suggestRecipes();
|
|
8082
8084
|
init_allRecipes();
|
|
8083
8085
|
init_curated();
|
|
8086
|
+
init_curated();
|
|
8084
8087
|
})), defaultThemeTokens;
|
|
8085
8088
|
var init_tokens$1 = __esmMin((() => {
|
|
8086
8089
|
defaultThemeTokens = {
|
|
@@ -8309,49 +8312,22 @@ var init_backgroundAppearance = __esmMin((() => {
|
|
|
8309
8312
|
var init_compositionBudget = __esmMin((() => {
|
|
8310
8313
|
init_types$14();
|
|
8311
8314
|
}));
|
|
8312
|
-
var init_headerStyleParts = __esmMin((() => {}));
|
|
8313
|
-
var headerInteractionPaletteValues, headerInteractionPaletteSchema;
|
|
8314
|
-
var init_interactionPalette = __esmMin((() => {
|
|
8315
|
-
headerInteractionPaletteValues = [
|
|
8316
|
-
"primary",
|
|
8317
|
-
"secondary",
|
|
8318
|
-
"accent"
|
|
8319
|
-
];
|
|
8320
|
-
headerInteractionPaletteSchema = z$1.enum(headerInteractionPaletteValues);
|
|
8321
|
-
}));
|
|
8322
|
-
var clearSplitInteractionPalette;
|
|
8323
|
-
var init_headerInteractionPalette = __esmMin((() => {
|
|
8324
|
-
init_interactionPalette();
|
|
8325
|
-
init_lookOptionGroups();
|
|
8326
|
-
clearSplitInteractionPalette = defineLookOptionGroup({
|
|
8327
|
-
id: "interaction-palette",
|
|
8328
|
-
label: "Hover colour",
|
|
8329
|
-
defaultOptionId: "accent",
|
|
8330
|
-
options: [
|
|
8331
|
-
{
|
|
8332
|
-
id: "accent",
|
|
8333
|
-
label: "Accent"
|
|
8334
|
-
},
|
|
8335
|
-
{
|
|
8336
|
-
id: "primary",
|
|
8337
|
-
label: "Primary"
|
|
8338
|
-
},
|
|
8339
|
-
{
|
|
8340
|
-
id: "secondary",
|
|
8341
|
-
label: "Secondary"
|
|
8342
|
-
}
|
|
8343
|
-
]
|
|
8344
|
-
});
|
|
8345
|
-
}));
|
|
8346
|
-
var init_headerOpeningForeground = __esmMin((() => {
|
|
8347
|
-
init_expandPalette();
|
|
8348
|
-
init_colorConversion();
|
|
8349
|
-
init_tokens();
|
|
8350
|
-
init_colorTokenParts();
|
|
8351
|
-
init_types$14();
|
|
8352
|
-
}));
|
|
8353
8315
|
var init_customizableSurfaces = __esmMin((() => {
|
|
8354
8316
|
init_types$14();
|
|
8317
|
+
}));
|
|
8318
|
+
//#endregion
|
|
8319
|
+
//#region ../theme-core/src/site-styles/headerLookTypes.ts
|
|
8320
|
+
function asHeaderLookId(value) {
|
|
8321
|
+
return value;
|
|
8322
|
+
}
|
|
8323
|
+
function asHeaderLayoutId(value) {
|
|
8324
|
+
return value;
|
|
8325
|
+
}
|
|
8326
|
+
function asHeaderStyleId(value) {
|
|
8327
|
+
return value;
|
|
8328
|
+
}
|
|
8329
|
+
var init_headerLookTypes = __esmMin((() => {
|
|
8330
|
+
init_customizableSurfaces();
|
|
8355
8331
|
})), logoTextConfidenceValues, logoAssetShapeValues, logoKindValues, logoDensityValues, logoContainsTextSchema, logoAnalysisSourceSchema, brandDisplayModeValues, logoAccommodationPatternValues, logoSizePolicyValues;
|
|
8356
8332
|
var init_logoBranding = __esmMin((() => {
|
|
8357
8333
|
init_types$14();
|
|
@@ -8444,388 +8420,8 @@ var init_logoBranding = __esmMin((() => {
|
|
|
8444
8420
|
"display"
|
|
8445
8421
|
];
|
|
8446
8422
|
}));
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
function asHeaderLookId(value) {
|
|
8450
|
-
return value;
|
|
8451
|
-
}
|
|
8452
|
-
function asHeaderLayoutId(value) {
|
|
8453
|
-
return value;
|
|
8454
|
-
}
|
|
8455
|
-
function asHeaderStyleId(value) {
|
|
8456
|
-
return value;
|
|
8457
|
-
}
|
|
8458
|
-
/**
|
|
8459
|
-
* Starts every Look from the generated theme's header branch, then clears
|
|
8460
|
-
* optional nested styling fields that would otherwise leak from another Look.
|
|
8461
|
-
*/
|
|
8462
|
-
function baseHeader(theme) {
|
|
8463
|
-
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;
|
|
8464
|
-
return {
|
|
8465
|
-
...header,
|
|
8466
|
-
navContainer: {
|
|
8467
|
-
type: "none",
|
|
8468
|
-
tint: null,
|
|
8469
|
-
opacity: .15
|
|
8470
|
-
}
|
|
8471
|
-
};
|
|
8472
|
-
}
|
|
8473
|
-
function supportedLayouts(ids) {
|
|
8474
|
-
return ids.map(asHeaderLayoutId);
|
|
8475
|
-
}
|
|
8476
|
-
function headerStyleRepairChain(values) {
|
|
8477
|
-
return values.map(asHeaderStyleId);
|
|
8478
|
-
}
|
|
8479
|
-
function getHeaderStyle(id) {
|
|
8480
|
-
return headerStylesById.get(id) ?? null;
|
|
8481
|
-
}
|
|
8482
|
-
function isHeaderStyleCompatibleWithLayout(style, layoutId) {
|
|
8483
|
-
return style.supportedLayoutIds.includes(layoutId);
|
|
8484
|
-
}
|
|
8485
|
-
function getHeaderStyleOrThrow(id) {
|
|
8486
|
-
const style = getHeaderStyle(id);
|
|
8487
|
-
if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
|
|
8488
|
-
return style;
|
|
8489
|
-
}
|
|
8490
|
-
function resolveLegacyHeaderLookAlias(lookId) {
|
|
8491
|
-
return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
|
|
8492
|
-
}
|
|
8493
|
-
function getCompatibleHeaderStyleIds(layoutId) {
|
|
8494
|
-
return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
|
|
8495
|
-
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
8496
|
-
});
|
|
8497
|
-
}
|
|
8498
|
-
function applyNavTypography(style, typography) {
|
|
8499
|
-
switch (typography) {
|
|
8500
|
-
case "plain": return style;
|
|
8501
|
-
case "heading": return {
|
|
8502
|
-
...style,
|
|
8503
|
-
typography: "heading",
|
|
8504
|
-
fontWeight: "medium",
|
|
8505
|
-
letterSpacing: "wide"
|
|
8506
|
-
};
|
|
8507
|
-
case "quiet-caps": return {
|
|
8508
|
-
...style,
|
|
8509
|
-
textTransform: "uppercase",
|
|
8510
|
-
textSize: "sm",
|
|
8511
|
-
letterSpacing: "wide"
|
|
8512
|
-
};
|
|
8513
|
-
case "brand-caps": return {
|
|
8514
|
-
...style,
|
|
8515
|
-
textTransform: "uppercase",
|
|
8516
|
-
textSize: "sm",
|
|
8517
|
-
letterSpacing: "wider"
|
|
8518
|
-
};
|
|
8519
|
-
default: return assertNever$12(typography, "Unhandled header nav typography");
|
|
8520
|
-
}
|
|
8521
|
-
}
|
|
8522
|
-
function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
|
|
8523
|
-
return applyNavTypography({
|
|
8524
|
-
name: "Underline grow",
|
|
8525
|
-
typography: "body",
|
|
8526
|
-
fontWeight: "medium",
|
|
8527
|
-
textTransform: "none",
|
|
8528
|
-
italic: false,
|
|
8529
|
-
colorToken,
|
|
8530
|
-
padding: "compact",
|
|
8531
|
-
paddingX: "compact",
|
|
8532
|
-
borderRadius: "none",
|
|
8533
|
-
effects: { hover: [{
|
|
8534
|
-
effectId: "nav-underline",
|
|
8535
|
-
options: {
|
|
8536
|
-
style: "grow",
|
|
8537
|
-
...underlineColorToken ? { colorToken: underlineColorToken } : {}
|
|
8538
|
-
}
|
|
8539
|
-
}] }
|
|
8540
|
-
}, typography);
|
|
8541
|
-
}
|
|
8542
|
-
function themedHeaderShadow(theme) {
|
|
8543
|
-
switch (theme.shadow.elevation) {
|
|
8544
|
-
case "none": return;
|
|
8545
|
-
case "low": return { elevation: "sm" };
|
|
8546
|
-
case "medium": return { elevation: "md" };
|
|
8547
|
-
case "high": return { elevation: "lg" };
|
|
8548
|
-
default: return assertNever$12(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
8549
|
-
}
|
|
8550
|
-
}
|
|
8551
|
-
function solidBrandHeader(theme) {
|
|
8552
|
-
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
8553
|
-
return {
|
|
8554
|
-
...baseHeader(theme),
|
|
8555
|
-
variant: "classic",
|
|
8556
|
-
positioning: "sticky",
|
|
8557
|
-
shrinkOnScroll: true,
|
|
8558
|
-
background: {
|
|
8559
|
-
type: "color",
|
|
8560
|
-
color: "primary"
|
|
8561
|
-
},
|
|
8562
|
-
textColor: "primaryForeground",
|
|
8563
|
-
navColor: "primaryForeground",
|
|
8564
|
-
navStyle: "underline-grow",
|
|
8565
|
-
navWeight: "bold",
|
|
8566
|
-
navLinkStyle: {
|
|
8567
|
-
typography: "body",
|
|
8568
|
-
fontWeight: "bold",
|
|
8569
|
-
textTransform: "uppercase",
|
|
8570
|
-
italic: false,
|
|
8571
|
-
colorToken: "primaryForeground",
|
|
8572
|
-
hoverColorToken: "secondary",
|
|
8573
|
-
textSize: "sm",
|
|
8574
|
-
letterSpacing: "wider",
|
|
8575
|
-
padding: "compact",
|
|
8576
|
-
paddingX: "compact",
|
|
8577
|
-
borderRadius: "none",
|
|
8578
|
-
effects: { hover: [{
|
|
8579
|
-
effectId: "text-color-change",
|
|
8580
|
-
options: { hoverColorToken: "secondary" }
|
|
8581
|
-
}, {
|
|
8582
|
-
effectId: "nav-underline",
|
|
8583
|
-
options: {
|
|
8584
|
-
style: "grow",
|
|
8585
|
-
colorToken: "secondary"
|
|
8586
|
-
}
|
|
8587
|
-
}] }
|
|
8588
|
-
},
|
|
8589
|
-
dropdownStyle: {
|
|
8590
|
-
background: "primary-700",
|
|
8591
|
-
textColor: "primaryForeground",
|
|
8592
|
-
borderColor: null,
|
|
8593
|
-
shadow: "md",
|
|
8594
|
-
borderRadius: "md",
|
|
8595
|
-
hoverBackground: "primary-900",
|
|
8596
|
-
hoverTextColor: "secondary",
|
|
8597
|
-
textTransform: "uppercase",
|
|
8598
|
-
letterSpacing: "wider",
|
|
8599
|
-
fontWeight: "bold",
|
|
8600
|
-
textSize: "sm"
|
|
8601
|
-
},
|
|
8602
|
-
border: {
|
|
8603
|
-
style: "solid",
|
|
8604
|
-
width: "none",
|
|
8605
|
-
position: "none"
|
|
8606
|
-
},
|
|
8607
|
-
logoText: {
|
|
8608
|
-
hideOnShrink: true,
|
|
8609
|
-
mobileMaxWidth: "sm",
|
|
8610
|
-
mobileWrapLines: 2
|
|
8611
|
-
},
|
|
8612
|
-
ctaGap: "compact",
|
|
8613
|
-
ctaTreatment: "inverted",
|
|
8614
|
-
...ctaVariant ? { ctaVariant } : {}
|
|
8615
|
-
};
|
|
8616
|
-
}
|
|
8617
|
-
function cleanBaseHeader(theme) {
|
|
8618
|
-
return {
|
|
8619
|
-
...baseHeader(theme),
|
|
8620
|
-
variant: "classic",
|
|
8621
|
-
positioning: "sticky",
|
|
8622
|
-
shrinkOnScroll: false,
|
|
8623
|
-
background: {
|
|
8624
|
-
type: "color",
|
|
8625
|
-
color: "surface"
|
|
8626
|
-
},
|
|
8627
|
-
textColor: "text",
|
|
8628
|
-
navColor: "text",
|
|
8629
|
-
navStyle: "minimal",
|
|
8630
|
-
navWeight: "medium",
|
|
8631
|
-
border: {
|
|
8632
|
-
style: "solid",
|
|
8633
|
-
width: "thin",
|
|
8634
|
-
position: "bottom",
|
|
8635
|
-
colorToken: "border"
|
|
8636
|
-
},
|
|
8637
|
-
ctaTreatment: "default",
|
|
8638
|
-
ctaGap: "default"
|
|
8639
|
-
};
|
|
8640
|
-
}
|
|
8641
|
-
function classicCenteredNavHeader(theme) {
|
|
8642
|
-
return {
|
|
8643
|
-
...baseHeader(theme),
|
|
8644
|
-
variant: "classic",
|
|
8645
|
-
navPlacement: "center",
|
|
8646
|
-
positioning: "sticky",
|
|
8647
|
-
shrinkOnScroll: false,
|
|
8648
|
-
background: {
|
|
8649
|
-
type: "color",
|
|
8650
|
-
color: "surface"
|
|
8651
|
-
},
|
|
8652
|
-
textColor: "text",
|
|
8653
|
-
navColor: "text",
|
|
8654
|
-
navStyle: "underline-grow",
|
|
8655
|
-
navWeight: "medium",
|
|
8656
|
-
navLinkStyle: underlineNavLinkStyle("text", "accent"),
|
|
8657
|
-
border: {
|
|
8658
|
-
style: "solid",
|
|
8659
|
-
width: "thin",
|
|
8660
|
-
position: "bottom",
|
|
8661
|
-
colorToken: "border"
|
|
8662
|
-
},
|
|
8663
|
-
ctaTreatment: "primary",
|
|
8664
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
8665
|
-
ctaGap: "default",
|
|
8666
|
-
logoText: {
|
|
8667
|
-
mobileMaxWidth: "sm",
|
|
8668
|
-
mobileWrapLines: 1,
|
|
8669
|
-
hideOnShrink: false
|
|
8670
|
-
}
|
|
8671
|
-
};
|
|
8672
|
-
}
|
|
8673
|
-
function serifLineHeader(theme) {
|
|
8674
|
-
return {
|
|
8675
|
-
...baseHeader(theme),
|
|
8676
|
-
variant: "centered",
|
|
8677
|
-
positioning: "sticky",
|
|
8678
|
-
shrinkOnScroll: false,
|
|
8679
|
-
background: {
|
|
8680
|
-
type: "color",
|
|
8681
|
-
color: "background"
|
|
8682
|
-
},
|
|
8683
|
-
textColor: "text",
|
|
8684
|
-
navColor: "text",
|
|
8685
|
-
navStyle: "underline-grow",
|
|
8686
|
-
navWeight: "medium",
|
|
8687
|
-
logo: {
|
|
8688
|
-
fontFamily: "heading",
|
|
8689
|
-
letterSpacing: "wide",
|
|
8690
|
-
gradient: false
|
|
8691
|
-
},
|
|
8692
|
-
border: {
|
|
8693
|
-
style: "solid",
|
|
8694
|
-
width: "none",
|
|
8695
|
-
position: "none"
|
|
8696
|
-
},
|
|
8697
|
-
shadow: { elevation: "none" },
|
|
8698
|
-
ctaTreatment: "outline",
|
|
8699
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
8700
|
-
ctaGap: "relaxed"
|
|
8701
|
-
};
|
|
8702
|
-
}
|
|
8703
|
-
function centeredCalmHeader(theme) {
|
|
8704
|
-
return {
|
|
8705
|
-
...baseHeader(theme),
|
|
8706
|
-
variant: "centered",
|
|
8707
|
-
positioning: "static",
|
|
8708
|
-
shrinkOnScroll: false,
|
|
8709
|
-
background: {
|
|
8710
|
-
type: "color",
|
|
8711
|
-
color: "surface"
|
|
8712
|
-
},
|
|
8713
|
-
textColor: "text",
|
|
8714
|
-
navColor: "text",
|
|
8715
|
-
navStyle: "minimal",
|
|
8716
|
-
navWeight: "medium",
|
|
8717
|
-
ctaTreatment: "ghost",
|
|
8718
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
|
|
8719
|
-
ctaGap: "none"
|
|
8720
|
-
};
|
|
8721
|
-
}
|
|
8722
|
-
function practicalUtilityHeader(theme) {
|
|
8723
|
-
return {
|
|
8724
|
-
...baseHeader(theme),
|
|
8725
|
-
variant: "classic",
|
|
8726
|
-
positioning: "sticky",
|
|
8727
|
-
shrinkOnScroll: true,
|
|
8728
|
-
background: {
|
|
8729
|
-
type: "color",
|
|
8730
|
-
color: "surface"
|
|
8731
|
-
},
|
|
8732
|
-
textColor: "text",
|
|
8733
|
-
navColor: "text",
|
|
8734
|
-
navStyle: "solid",
|
|
8735
|
-
navWeight: "semibold",
|
|
8736
|
-
shadow: themedHeaderShadow(theme),
|
|
8737
|
-
border: {
|
|
8738
|
-
style: "solid",
|
|
8739
|
-
width: "thin",
|
|
8740
|
-
position: "bottom",
|
|
8741
|
-
colorToken: "border"
|
|
8742
|
-
},
|
|
8743
|
-
ctaTreatment: "primary",
|
|
8744
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
8745
|
-
ctaGap: "compact",
|
|
8746
|
-
logoText: {
|
|
8747
|
-
mobileMaxWidth: "sm",
|
|
8748
|
-
mobileWrapLines: 1,
|
|
8749
|
-
hideOnShrink: false
|
|
8750
|
-
}
|
|
8751
|
-
};
|
|
8752
|
-
}
|
|
8753
|
-
function minimalTransparentHeader(theme) {
|
|
8754
|
-
return {
|
|
8755
|
-
...baseHeader(theme),
|
|
8756
|
-
variant: "classic",
|
|
8757
|
-
positioning: "static",
|
|
8758
|
-
shrinkOnScroll: false,
|
|
8759
|
-
background: {
|
|
8760
|
-
type: "color",
|
|
8761
|
-
color: "transparent"
|
|
8762
|
-
},
|
|
8763
|
-
textColor: "text",
|
|
8764
|
-
navColor: "text",
|
|
8765
|
-
navStyle: "underline",
|
|
8766
|
-
navWeight: "medium",
|
|
8767
|
-
border: {
|
|
8768
|
-
style: "solid",
|
|
8769
|
-
width: "none",
|
|
8770
|
-
position: "none"
|
|
8771
|
-
},
|
|
8772
|
-
ctaTreatment: "outline",
|
|
8773
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
8774
|
-
ctaGap: "default"
|
|
8775
|
-
};
|
|
8776
|
-
}
|
|
8777
|
-
function transparentOverlayHeader(theme) {
|
|
8778
|
-
return {
|
|
8779
|
-
...baseHeader(theme),
|
|
8780
|
-
variant: "transparent",
|
|
8781
|
-
positioning: "fixed",
|
|
8782
|
-
shrinkOnScroll: true,
|
|
8783
|
-
background: {
|
|
8784
|
-
type: "color",
|
|
8785
|
-
color: "transparent"
|
|
8786
|
-
},
|
|
8787
|
-
textColor: "background",
|
|
8788
|
-
navColor: "background",
|
|
8789
|
-
navStyle: "frosted",
|
|
8790
|
-
navWeight: "semibold",
|
|
8791
|
-
border: {
|
|
8792
|
-
style: "solid",
|
|
8793
|
-
width: "none",
|
|
8794
|
-
position: "none"
|
|
8795
|
-
},
|
|
8796
|
-
ctaTreatment: "inverted",
|
|
8797
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
|
|
8798
|
-
ctaGap: "compact"
|
|
8799
|
-
};
|
|
8800
|
-
}
|
|
8801
|
-
function floatingGlassHeader(theme) {
|
|
8802
|
-
return {
|
|
8803
|
-
...transparentOverlayHeader(theme),
|
|
8804
|
-
variant: "floating",
|
|
8805
|
-
positioning: "sticky",
|
|
8806
|
-
navStyle: "frosted",
|
|
8807
|
-
navContainer: {
|
|
8808
|
-
type: "glass",
|
|
8809
|
-
tint: "text",
|
|
8810
|
-
opacity: .16
|
|
8811
|
-
},
|
|
8812
|
-
container: {
|
|
8813
|
-
rounded: "2xl",
|
|
8814
|
-
border: true,
|
|
8815
|
-
shadow: true,
|
|
8816
|
-
padding: "sm",
|
|
8817
|
-
tint: "background",
|
|
8818
|
-
opacity: .12
|
|
8819
|
-
}
|
|
8820
|
-
};
|
|
8821
|
-
}
|
|
8822
|
-
var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations, headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById, headerLookCatalog;
|
|
8823
|
-
var init_headerLooks = __esmMin((() => {
|
|
8824
|
-
init_headerCtaVariants();
|
|
8825
|
-
init_headerStyleParts();
|
|
8826
|
-
init_headerInteractionPalette();
|
|
8827
|
-
init_headerOpeningForeground();
|
|
8828
|
-
init_customizableSurfaces();
|
|
8423
|
+
var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations;
|
|
8424
|
+
var init_headerLookBranding = __esmMin((() => {
|
|
8829
8425
|
init_logoBranding();
|
|
8830
8426
|
init_types$14();
|
|
8831
8427
|
titleOnlyLogoAccommodation = {
|
|
@@ -8946,6 +8542,72 @@ var init_headerLooks = __esmMin((() => {
|
|
|
8946
8542
|
inlineMarkWithTitleLogoAccommodation,
|
|
8947
8543
|
unbackedOverlayLogoAccommodation
|
|
8948
8544
|
];
|
|
8545
|
+
}));
|
|
8546
|
+
var headerInteractionPaletteValues, headerInteractionPaletteSchema;
|
|
8547
|
+
var init_interactionPalette = __esmMin((() => {
|
|
8548
|
+
headerInteractionPaletteValues = [
|
|
8549
|
+
"primary",
|
|
8550
|
+
"secondary",
|
|
8551
|
+
"accent"
|
|
8552
|
+
];
|
|
8553
|
+
headerInteractionPaletteSchema = z$1.enum(headerInteractionPaletteValues);
|
|
8554
|
+
}));
|
|
8555
|
+
var clearSplitInteractionPalette;
|
|
8556
|
+
var init_headerInteractionPalette = __esmMin((() => {
|
|
8557
|
+
init_interactionPalette();
|
|
8558
|
+
init_lookOptionGroups();
|
|
8559
|
+
clearSplitInteractionPalette = defineLookOptionGroup({
|
|
8560
|
+
id: "interaction-palette",
|
|
8561
|
+
label: "Hover colour",
|
|
8562
|
+
defaultOptionId: "accent",
|
|
8563
|
+
options: [
|
|
8564
|
+
{
|
|
8565
|
+
id: "accent",
|
|
8566
|
+
label: "Accent"
|
|
8567
|
+
},
|
|
8568
|
+
{
|
|
8569
|
+
id: "primary",
|
|
8570
|
+
label: "Primary"
|
|
8571
|
+
},
|
|
8572
|
+
{
|
|
8573
|
+
id: "secondary",
|
|
8574
|
+
label: "Secondary"
|
|
8575
|
+
}
|
|
8576
|
+
]
|
|
8577
|
+
});
|
|
8578
|
+
}));
|
|
8579
|
+
//#endregion
|
|
8580
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
8581
|
+
function supportedLayouts(ids) {
|
|
8582
|
+
return ids.map(asHeaderLayoutId);
|
|
8583
|
+
}
|
|
8584
|
+
function headerStyleRepairChain(values) {
|
|
8585
|
+
return values.map(asHeaderStyleId);
|
|
8586
|
+
}
|
|
8587
|
+
function getHeaderStyle(id) {
|
|
8588
|
+
return headerStylesById.get(id) ?? null;
|
|
8589
|
+
}
|
|
8590
|
+
function isHeaderStyleCompatibleWithLayout(style, layoutId) {
|
|
8591
|
+
return style.supportedLayoutIds.includes(layoutId);
|
|
8592
|
+
}
|
|
8593
|
+
function getHeaderStyleOrThrow(id) {
|
|
8594
|
+
const style = getHeaderStyle(id);
|
|
8595
|
+
if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
|
|
8596
|
+
return style;
|
|
8597
|
+
}
|
|
8598
|
+
function resolveLegacyHeaderLookAlias(lookId) {
|
|
8599
|
+
return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
|
|
8600
|
+
}
|
|
8601
|
+
function getCompatibleHeaderStyleIds(layoutId) {
|
|
8602
|
+
return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
|
|
8603
|
+
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
8604
|
+
});
|
|
8605
|
+
}
|
|
8606
|
+
var headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById;
|
|
8607
|
+
var init_headerLayoutStyleCatalog = __esmMin((() => {
|
|
8608
|
+
init_types$14();
|
|
8609
|
+
init_headerInteractionPalette();
|
|
8610
|
+
init_headerLookTypes();
|
|
8949
8611
|
headerLayoutCatalog = defineExactCatalog()([
|
|
8950
8612
|
{
|
|
8951
8613
|
id: asHeaderLayoutId("classic"),
|
|
@@ -9325,6 +8987,373 @@ var init_headerLooks = __esmMin((() => {
|
|
|
9325
8987
|
}
|
|
9326
8988
|
]);
|
|
9327
8989
|
legacyHeaderLookAliasesById = new Map(legacyHeaderLookAliases.map((alias) => [alias.lookId, alias]));
|
|
8990
|
+
}));
|
|
8991
|
+
var init_headerOpeningForeground = __esmMin((() => {
|
|
8992
|
+
init_expandPalette();
|
|
8993
|
+
init_colorConversion();
|
|
8994
|
+
init_tokens();
|
|
8995
|
+
init_colorTokenParts();
|
|
8996
|
+
init_types$14();
|
|
8997
|
+
}));
|
|
8998
|
+
//#endregion
|
|
8999
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
9000
|
+
function baseHeader(theme) {
|
|
9001
|
+
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;
|
|
9002
|
+
return {
|
|
9003
|
+
...header,
|
|
9004
|
+
navContainer: {
|
|
9005
|
+
type: "none",
|
|
9006
|
+
tint: null,
|
|
9007
|
+
opacity: .15
|
|
9008
|
+
}
|
|
9009
|
+
};
|
|
9010
|
+
}
|
|
9011
|
+
function applyNavTypography(style, typography) {
|
|
9012
|
+
switch (typography) {
|
|
9013
|
+
case "plain": return style;
|
|
9014
|
+
case "heading": return {
|
|
9015
|
+
...style,
|
|
9016
|
+
typography: "heading",
|
|
9017
|
+
fontWeight: "medium",
|
|
9018
|
+
letterSpacing: "wide"
|
|
9019
|
+
};
|
|
9020
|
+
case "quiet-caps": return {
|
|
9021
|
+
...style,
|
|
9022
|
+
textTransform: "uppercase",
|
|
9023
|
+
textSize: "sm",
|
|
9024
|
+
letterSpacing: "wide"
|
|
9025
|
+
};
|
|
9026
|
+
case "brand-caps": return {
|
|
9027
|
+
...style,
|
|
9028
|
+
textTransform: "uppercase",
|
|
9029
|
+
textSize: "sm",
|
|
9030
|
+
letterSpacing: "wider"
|
|
9031
|
+
};
|
|
9032
|
+
default: return assertNever$12(typography, "Unhandled header nav typography");
|
|
9033
|
+
}
|
|
9034
|
+
}
|
|
9035
|
+
function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
|
|
9036
|
+
return applyNavTypography({
|
|
9037
|
+
name: "Underline grow",
|
|
9038
|
+
typography: "body",
|
|
9039
|
+
fontWeight: "medium",
|
|
9040
|
+
textTransform: "none",
|
|
9041
|
+
italic: false,
|
|
9042
|
+
colorToken,
|
|
9043
|
+
padding: "compact",
|
|
9044
|
+
paddingX: "compact",
|
|
9045
|
+
borderRadius: "none",
|
|
9046
|
+
effects: { hover: [{
|
|
9047
|
+
effectId: "nav-underline",
|
|
9048
|
+
options: {
|
|
9049
|
+
style: "grow",
|
|
9050
|
+
...underlineColorToken ? { colorToken: underlineColorToken } : {}
|
|
9051
|
+
}
|
|
9052
|
+
}] }
|
|
9053
|
+
}, typography);
|
|
9054
|
+
}
|
|
9055
|
+
function themedHeaderShadow(theme) {
|
|
9056
|
+
switch (theme.shadow.elevation) {
|
|
9057
|
+
case "none": return;
|
|
9058
|
+
case "low": return { elevation: "sm" };
|
|
9059
|
+
case "medium": return { elevation: "md" };
|
|
9060
|
+
case "high": return { elevation: "lg" };
|
|
9061
|
+
default: return assertNever$12(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
9062
|
+
}
|
|
9063
|
+
}
|
|
9064
|
+
var init_headerStyleCompilerPrimitives = __esmMin((() => {
|
|
9065
|
+
init_headerCtaVariants();
|
|
9066
|
+
init_headerLookTypes();
|
|
9067
|
+
init_types$14();
|
|
9068
|
+
}));
|
|
9069
|
+
var init_headerStyleCompiler = __esmMin((() => {
|
|
9070
|
+
init_headerCtaVariants();
|
|
9071
|
+
init_headerInteractionPalette();
|
|
9072
|
+
init_headerOpeningForeground();
|
|
9073
|
+
init_headerLayoutStyleCatalog();
|
|
9074
|
+
init_headerStyleCompilerPrimitives();
|
|
9075
|
+
init_types$14();
|
|
9076
|
+
}));
|
|
9077
|
+
//#endregion
|
|
9078
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
9079
|
+
function solidBrandHeader(theme) {
|
|
9080
|
+
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
9081
|
+
return {
|
|
9082
|
+
...baseHeader(theme),
|
|
9083
|
+
variant: "classic",
|
|
9084
|
+
positioning: "sticky",
|
|
9085
|
+
shrinkOnScroll: true,
|
|
9086
|
+
background: {
|
|
9087
|
+
type: "color",
|
|
9088
|
+
color: "primary"
|
|
9089
|
+
},
|
|
9090
|
+
textColor: "primaryForeground",
|
|
9091
|
+
navColor: "primaryForeground",
|
|
9092
|
+
navStyle: "underline-grow",
|
|
9093
|
+
navWeight: "bold",
|
|
9094
|
+
navLinkStyle: {
|
|
9095
|
+
typography: "body",
|
|
9096
|
+
fontWeight: "bold",
|
|
9097
|
+
textTransform: "uppercase",
|
|
9098
|
+
italic: false,
|
|
9099
|
+
colorToken: "primaryForeground",
|
|
9100
|
+
hoverColorToken: "secondary",
|
|
9101
|
+
textSize: "sm",
|
|
9102
|
+
letterSpacing: "wider",
|
|
9103
|
+
padding: "compact",
|
|
9104
|
+
paddingX: "compact",
|
|
9105
|
+
borderRadius: "none",
|
|
9106
|
+
effects: { hover: [{
|
|
9107
|
+
effectId: "text-color-change",
|
|
9108
|
+
options: { hoverColorToken: "secondary" }
|
|
9109
|
+
}, {
|
|
9110
|
+
effectId: "nav-underline",
|
|
9111
|
+
options: {
|
|
9112
|
+
style: "grow",
|
|
9113
|
+
colorToken: "secondary"
|
|
9114
|
+
}
|
|
9115
|
+
}] }
|
|
9116
|
+
},
|
|
9117
|
+
dropdownStyle: {
|
|
9118
|
+
background: "primary-700",
|
|
9119
|
+
textColor: "primaryForeground",
|
|
9120
|
+
borderColor: null,
|
|
9121
|
+
shadow: "md",
|
|
9122
|
+
borderRadius: "md",
|
|
9123
|
+
hoverBackground: "primary-900",
|
|
9124
|
+
hoverTextColor: "secondary",
|
|
9125
|
+
textTransform: "uppercase",
|
|
9126
|
+
letterSpacing: "wider",
|
|
9127
|
+
fontWeight: "bold",
|
|
9128
|
+
textSize: "sm"
|
|
9129
|
+
},
|
|
9130
|
+
border: {
|
|
9131
|
+
style: "solid",
|
|
9132
|
+
width: "none",
|
|
9133
|
+
position: "none"
|
|
9134
|
+
},
|
|
9135
|
+
logoText: {
|
|
9136
|
+
hideOnShrink: true,
|
|
9137
|
+
mobileMaxWidth: "sm",
|
|
9138
|
+
mobileWrapLines: 2
|
|
9139
|
+
},
|
|
9140
|
+
ctaGap: "compact",
|
|
9141
|
+
ctaTreatment: "inverted",
|
|
9142
|
+
...ctaVariant ? { ctaVariant } : {}
|
|
9143
|
+
};
|
|
9144
|
+
}
|
|
9145
|
+
function cleanBaseHeader(theme) {
|
|
9146
|
+
return {
|
|
9147
|
+
...baseHeader(theme),
|
|
9148
|
+
variant: "classic",
|
|
9149
|
+
positioning: "sticky",
|
|
9150
|
+
shrinkOnScroll: false,
|
|
9151
|
+
background: {
|
|
9152
|
+
type: "color",
|
|
9153
|
+
color: "surface"
|
|
9154
|
+
},
|
|
9155
|
+
textColor: "text",
|
|
9156
|
+
navColor: "text",
|
|
9157
|
+
navStyle: "minimal",
|
|
9158
|
+
navWeight: "medium",
|
|
9159
|
+
border: {
|
|
9160
|
+
style: "solid",
|
|
9161
|
+
width: "thin",
|
|
9162
|
+
position: "bottom",
|
|
9163
|
+
colorToken: "border"
|
|
9164
|
+
},
|
|
9165
|
+
ctaTreatment: "default",
|
|
9166
|
+
ctaGap: "default"
|
|
9167
|
+
};
|
|
9168
|
+
}
|
|
9169
|
+
function classicCenteredNavHeader(theme) {
|
|
9170
|
+
return {
|
|
9171
|
+
...baseHeader(theme),
|
|
9172
|
+
variant: "classic",
|
|
9173
|
+
navPlacement: "center",
|
|
9174
|
+
positioning: "sticky",
|
|
9175
|
+
shrinkOnScroll: false,
|
|
9176
|
+
background: {
|
|
9177
|
+
type: "color",
|
|
9178
|
+
color: "surface"
|
|
9179
|
+
},
|
|
9180
|
+
textColor: "text",
|
|
9181
|
+
navColor: "text",
|
|
9182
|
+
navStyle: "underline-grow",
|
|
9183
|
+
navWeight: "medium",
|
|
9184
|
+
navLinkStyle: underlineNavLinkStyle("text", "accent"),
|
|
9185
|
+
border: {
|
|
9186
|
+
style: "solid",
|
|
9187
|
+
width: "thin",
|
|
9188
|
+
position: "bottom",
|
|
9189
|
+
colorToken: "border"
|
|
9190
|
+
},
|
|
9191
|
+
ctaTreatment: "primary",
|
|
9192
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
9193
|
+
ctaGap: "default",
|
|
9194
|
+
logoText: {
|
|
9195
|
+
mobileMaxWidth: "sm",
|
|
9196
|
+
mobileWrapLines: 1,
|
|
9197
|
+
hideOnShrink: false
|
|
9198
|
+
}
|
|
9199
|
+
};
|
|
9200
|
+
}
|
|
9201
|
+
function serifLineHeader(theme) {
|
|
9202
|
+
return {
|
|
9203
|
+
...baseHeader(theme),
|
|
9204
|
+
variant: "centered",
|
|
9205
|
+
positioning: "sticky",
|
|
9206
|
+
shrinkOnScroll: false,
|
|
9207
|
+
background: {
|
|
9208
|
+
type: "color",
|
|
9209
|
+
color: "background"
|
|
9210
|
+
},
|
|
9211
|
+
textColor: "text",
|
|
9212
|
+
navColor: "text",
|
|
9213
|
+
navStyle: "underline-grow",
|
|
9214
|
+
navWeight: "medium",
|
|
9215
|
+
logo: {
|
|
9216
|
+
fontFamily: "heading",
|
|
9217
|
+
letterSpacing: "wide",
|
|
9218
|
+
gradient: false
|
|
9219
|
+
},
|
|
9220
|
+
border: {
|
|
9221
|
+
style: "solid",
|
|
9222
|
+
width: "none",
|
|
9223
|
+
position: "none"
|
|
9224
|
+
},
|
|
9225
|
+
shadow: { elevation: "none" },
|
|
9226
|
+
ctaTreatment: "outline",
|
|
9227
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
9228
|
+
ctaGap: "relaxed"
|
|
9229
|
+
};
|
|
9230
|
+
}
|
|
9231
|
+
function centeredCalmHeader(theme) {
|
|
9232
|
+
return {
|
|
9233
|
+
...baseHeader(theme),
|
|
9234
|
+
variant: "centered",
|
|
9235
|
+
positioning: "static",
|
|
9236
|
+
shrinkOnScroll: false,
|
|
9237
|
+
background: {
|
|
9238
|
+
type: "color",
|
|
9239
|
+
color: "surface"
|
|
9240
|
+
},
|
|
9241
|
+
textColor: "text",
|
|
9242
|
+
navColor: "text",
|
|
9243
|
+
navStyle: "minimal",
|
|
9244
|
+
navWeight: "medium",
|
|
9245
|
+
ctaTreatment: "ghost",
|
|
9246
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
|
|
9247
|
+
ctaGap: "none"
|
|
9248
|
+
};
|
|
9249
|
+
}
|
|
9250
|
+
function practicalUtilityHeader(theme) {
|
|
9251
|
+
return {
|
|
9252
|
+
...baseHeader(theme),
|
|
9253
|
+
variant: "classic",
|
|
9254
|
+
positioning: "sticky",
|
|
9255
|
+
shrinkOnScroll: true,
|
|
9256
|
+
background: {
|
|
9257
|
+
type: "color",
|
|
9258
|
+
color: "surface"
|
|
9259
|
+
},
|
|
9260
|
+
textColor: "text",
|
|
9261
|
+
navColor: "text",
|
|
9262
|
+
navStyle: "solid",
|
|
9263
|
+
navWeight: "semibold",
|
|
9264
|
+
shadow: themedHeaderShadow(theme),
|
|
9265
|
+
border: {
|
|
9266
|
+
style: "solid",
|
|
9267
|
+
width: "thin",
|
|
9268
|
+
position: "bottom",
|
|
9269
|
+
colorToken: "border"
|
|
9270
|
+
},
|
|
9271
|
+
ctaTreatment: "primary",
|
|
9272
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
9273
|
+
ctaGap: "compact",
|
|
9274
|
+
logoText: {
|
|
9275
|
+
mobileMaxWidth: "sm",
|
|
9276
|
+
mobileWrapLines: 1,
|
|
9277
|
+
hideOnShrink: false
|
|
9278
|
+
}
|
|
9279
|
+
};
|
|
9280
|
+
}
|
|
9281
|
+
function minimalTransparentHeader(theme) {
|
|
9282
|
+
return {
|
|
9283
|
+
...baseHeader(theme),
|
|
9284
|
+
variant: "classic",
|
|
9285
|
+
positioning: "static",
|
|
9286
|
+
shrinkOnScroll: false,
|
|
9287
|
+
background: {
|
|
9288
|
+
type: "color",
|
|
9289
|
+
color: "transparent"
|
|
9290
|
+
},
|
|
9291
|
+
textColor: "text",
|
|
9292
|
+
navColor: "text",
|
|
9293
|
+
navStyle: "underline",
|
|
9294
|
+
navWeight: "medium",
|
|
9295
|
+
border: {
|
|
9296
|
+
style: "solid",
|
|
9297
|
+
width: "none",
|
|
9298
|
+
position: "none"
|
|
9299
|
+
},
|
|
9300
|
+
ctaTreatment: "outline",
|
|
9301
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
9302
|
+
ctaGap: "default"
|
|
9303
|
+
};
|
|
9304
|
+
}
|
|
9305
|
+
function transparentOverlayHeader(theme) {
|
|
9306
|
+
return {
|
|
9307
|
+
...baseHeader(theme),
|
|
9308
|
+
variant: "transparent",
|
|
9309
|
+
positioning: "fixed",
|
|
9310
|
+
shrinkOnScroll: true,
|
|
9311
|
+
background: {
|
|
9312
|
+
type: "color",
|
|
9313
|
+
color: "transparent"
|
|
9314
|
+
},
|
|
9315
|
+
textColor: "background",
|
|
9316
|
+
navColor: "background",
|
|
9317
|
+
navStyle: "frosted",
|
|
9318
|
+
navWeight: "semibold",
|
|
9319
|
+
border: {
|
|
9320
|
+
style: "solid",
|
|
9321
|
+
width: "none",
|
|
9322
|
+
position: "none"
|
|
9323
|
+
},
|
|
9324
|
+
ctaTreatment: "inverted",
|
|
9325
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
|
|
9326
|
+
ctaGap: "compact"
|
|
9327
|
+
};
|
|
9328
|
+
}
|
|
9329
|
+
function floatingGlassHeader(theme) {
|
|
9330
|
+
return {
|
|
9331
|
+
...transparentOverlayHeader(theme),
|
|
9332
|
+
variant: "floating",
|
|
9333
|
+
positioning: "sticky",
|
|
9334
|
+
navStyle: "frosted",
|
|
9335
|
+
navContainer: {
|
|
9336
|
+
type: "glass",
|
|
9337
|
+
tint: "text",
|
|
9338
|
+
opacity: .16
|
|
9339
|
+
},
|
|
9340
|
+
container: {
|
|
9341
|
+
rounded: "2xl",
|
|
9342
|
+
border: true,
|
|
9343
|
+
shadow: true,
|
|
9344
|
+
padding: "sm",
|
|
9345
|
+
tint: "background",
|
|
9346
|
+
opacity: .12
|
|
9347
|
+
}
|
|
9348
|
+
};
|
|
9349
|
+
}
|
|
9350
|
+
var headerLookCatalog;
|
|
9351
|
+
var init_headerLegacyLooks = __esmMin((() => {
|
|
9352
|
+
init_headerCtaVariants();
|
|
9353
|
+
init_headerLookBranding();
|
|
9354
|
+
init_headerLookTypes();
|
|
9355
|
+
init_headerStyleCompilerPrimitives();
|
|
9356
|
+
init_types$14();
|
|
9328
9357
|
headerLookCatalog = defineExactCatalog()([
|
|
9329
9358
|
{
|
|
9330
9359
|
id: asHeaderLookId("clean-base"),
|
|
@@ -9398,6 +9427,22 @@ var init_headerLooks = __esmMin((() => {
|
|
|
9398
9427
|
]);
|
|
9399
9428
|
new Map(headerLookCatalog.map((look) => [look.id, look]));
|
|
9400
9429
|
}));
|
|
9430
|
+
var init_headerLookSelection = __esmMin((() => {
|
|
9431
|
+
init_customizableSurfaces();
|
|
9432
|
+
init_headerLookBranding();
|
|
9433
|
+
init_headerLookTypes();
|
|
9434
|
+
init_headerLegacyLooks();
|
|
9435
|
+
}));
|
|
9436
|
+
//#endregion
|
|
9437
|
+
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
9438
|
+
var init_headerLooks = __esmMin((() => {
|
|
9439
|
+
init_headerLookTypes();
|
|
9440
|
+
init_headerLookBranding();
|
|
9441
|
+
init_headerLayoutStyleCatalog();
|
|
9442
|
+
init_headerStyleCompiler();
|
|
9443
|
+
init_headerLegacyLooks();
|
|
9444
|
+
init_headerLookSelection();
|
|
9445
|
+
}));
|
|
9401
9446
|
var init_compilationPlan = __esmMin((() => {
|
|
9402
9447
|
init_headerLooks();
|
|
9403
9448
|
}));
|
|
@@ -15447,6 +15492,7 @@ var init_buttons = __esmMin((() => {
|
|
|
15447
15492
|
init_constants$2();
|
|
15448
15493
|
init_presets$1();
|
|
15449
15494
|
init_styles();
|
|
15495
|
+
init_styles();
|
|
15450
15496
|
}));
|
|
15451
15497
|
//#endregion
|
|
15452
15498
|
//#region ../theme-core/src/cards/types.ts
|
|
@@ -153015,6 +153061,26 @@ z$1.object({
|
|
|
153015
153061
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
153016
153062
|
}).strict();
|
|
153017
153063
|
//#endregion
|
|
153064
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
153065
|
+
init_schema$1();
|
|
153066
|
+
/**
|
|
153067
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
153068
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
153069
|
+
*/
|
|
153070
|
+
function losslessValidatedSchema(schema) {
|
|
153071
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
153072
|
+
const parsed = schema.safeParse(value);
|
|
153073
|
+
if (parsed.success) return;
|
|
153074
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
153075
|
+
code: "custom",
|
|
153076
|
+
path: issue.path,
|
|
153077
|
+
message: issue.message,
|
|
153078
|
+
params: { validationCode: issue.code }
|
|
153079
|
+
});
|
|
153080
|
+
}).transform((value) => value);
|
|
153081
|
+
}
|
|
153082
|
+
losslessValidatedSchema(themeSchema);
|
|
153083
|
+
//#endregion
|
|
153018
153084
|
//#region ../api/src/siteOnboarding.ts
|
|
153019
153085
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
153020
153086
|
requirementId: "configure_appointments",
|