@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
package/dist/client/client.mjs
CHANGED
|
@@ -8737,9 +8737,10 @@ var init_fileAssetDeletion = __esmMin((() => {
|
|
|
8737
8737
|
init_src$3();
|
|
8738
8738
|
init_fileDomain();
|
|
8739
8739
|
init_fileStorage();
|
|
8740
|
-
}))
|
|
8740
|
+
}));
|
|
8741
|
+
var init_fileMimeDetection = __esmMin((() => {
|
|
8741
8742
|
new TextDecoder("latin1");
|
|
8742
|
-
})), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
|
|
8743
|
+
})), init_mimeType = __esmMin((() => {})), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
|
|
8743
8744
|
var init_uploadVerificationContract = __esmMin((() => {
|
|
8744
8745
|
init_fileDomain();
|
|
8745
8746
|
init_fileMimeDetection();
|
|
@@ -9420,6 +9421,7 @@ var init_src$2 = __esmMin((() => {
|
|
|
9420
9421
|
init_fileAssetDeletion();
|
|
9421
9422
|
init_fileAssetCompatibility();
|
|
9422
9423
|
init_fileMimeDetection();
|
|
9424
|
+
init_mimeType();
|
|
9423
9425
|
init_filename();
|
|
9424
9426
|
init_uploadVerificationContract();
|
|
9425
9427
|
init_videoPrep();
|
|
@@ -17031,6 +17033,7 @@ var init_palette$1 = __esmMin((() => {
|
|
|
17031
17033
|
init_suggestRecipes();
|
|
17032
17034
|
init_allRecipes();
|
|
17033
17035
|
init_curated();
|
|
17036
|
+
init_curated();
|
|
17034
17037
|
})), defaultThemeTokens;
|
|
17035
17038
|
var init_tokens$1 = __esmMin((() => {
|
|
17036
17039
|
defaultThemeTokens = {
|
|
@@ -17259,49 +17262,22 @@ var init_backgroundAppearance = __esmMin((() => {
|
|
|
17259
17262
|
var init_compositionBudget = __esmMin((() => {
|
|
17260
17263
|
init_types$15();
|
|
17261
17264
|
}));
|
|
17262
|
-
var init_headerStyleParts = __esmMin((() => {}));
|
|
17263
|
-
var headerInteractionPaletteValues, headerInteractionPaletteSchema;
|
|
17264
|
-
var init_interactionPalette = __esmMin((() => {
|
|
17265
|
-
headerInteractionPaletteValues = [
|
|
17266
|
-
"primary",
|
|
17267
|
-
"secondary",
|
|
17268
|
-
"accent"
|
|
17269
|
-
];
|
|
17270
|
-
headerInteractionPaletteSchema = z$1.enum(headerInteractionPaletteValues);
|
|
17271
|
-
}));
|
|
17272
|
-
var clearSplitInteractionPalette;
|
|
17273
|
-
var init_headerInteractionPalette = __esmMin((() => {
|
|
17274
|
-
init_interactionPalette();
|
|
17275
|
-
init_lookOptionGroups();
|
|
17276
|
-
clearSplitInteractionPalette = defineLookOptionGroup({
|
|
17277
|
-
id: "interaction-palette",
|
|
17278
|
-
label: "Hover colour",
|
|
17279
|
-
defaultOptionId: "accent",
|
|
17280
|
-
options: [
|
|
17281
|
-
{
|
|
17282
|
-
id: "accent",
|
|
17283
|
-
label: "Accent"
|
|
17284
|
-
},
|
|
17285
|
-
{
|
|
17286
|
-
id: "primary",
|
|
17287
|
-
label: "Primary"
|
|
17288
|
-
},
|
|
17289
|
-
{
|
|
17290
|
-
id: "secondary",
|
|
17291
|
-
label: "Secondary"
|
|
17292
|
-
}
|
|
17293
|
-
]
|
|
17294
|
-
});
|
|
17295
|
-
}));
|
|
17296
|
-
var init_headerOpeningForeground = __esmMin((() => {
|
|
17297
|
-
init_expandPalette();
|
|
17298
|
-
init_colorConversion();
|
|
17299
|
-
init_tokens();
|
|
17300
|
-
init_colorTokenParts();
|
|
17301
|
-
init_types$15();
|
|
17302
|
-
}));
|
|
17303
17265
|
var init_customizableSurfaces = __esmMin((() => {
|
|
17304
17266
|
init_types$15();
|
|
17267
|
+
}));
|
|
17268
|
+
//#endregion
|
|
17269
|
+
//#region ../theme-core/src/site-styles/headerLookTypes.ts
|
|
17270
|
+
function asHeaderLookId(value) {
|
|
17271
|
+
return value;
|
|
17272
|
+
}
|
|
17273
|
+
function asHeaderLayoutId(value) {
|
|
17274
|
+
return value;
|
|
17275
|
+
}
|
|
17276
|
+
function asHeaderStyleId(value) {
|
|
17277
|
+
return value;
|
|
17278
|
+
}
|
|
17279
|
+
var init_headerLookTypes = __esmMin((() => {
|
|
17280
|
+
init_customizableSurfaces();
|
|
17305
17281
|
})), logoTextConfidenceValues, logoAssetShapeValues, logoKindValues, logoDensityValues, logoContainsTextSchema, logoAnalysisSourceSchema, brandDisplayModeValues, logoAccommodationPatternValues, logoSizePolicyValues;
|
|
17306
17282
|
var init_logoBranding = __esmMin((() => {
|
|
17307
17283
|
init_types$15();
|
|
@@ -17394,388 +17370,8 @@ var init_logoBranding = __esmMin((() => {
|
|
|
17394
17370
|
"display"
|
|
17395
17371
|
];
|
|
17396
17372
|
}));
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
function asHeaderLookId(value) {
|
|
17400
|
-
return value;
|
|
17401
|
-
}
|
|
17402
|
-
function asHeaderLayoutId(value) {
|
|
17403
|
-
return value;
|
|
17404
|
-
}
|
|
17405
|
-
function asHeaderStyleId(value) {
|
|
17406
|
-
return value;
|
|
17407
|
-
}
|
|
17408
|
-
/**
|
|
17409
|
-
* Starts every Look from the generated theme's header branch, then clears
|
|
17410
|
-
* optional nested styling fields that would otherwise leak from another Look.
|
|
17411
|
-
*/
|
|
17412
|
-
function baseHeader(theme) {
|
|
17413
|
-
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;
|
|
17414
|
-
return {
|
|
17415
|
-
...header,
|
|
17416
|
-
navContainer: {
|
|
17417
|
-
type: "none",
|
|
17418
|
-
tint: null,
|
|
17419
|
-
opacity: .15
|
|
17420
|
-
}
|
|
17421
|
-
};
|
|
17422
|
-
}
|
|
17423
|
-
function supportedLayouts(ids) {
|
|
17424
|
-
return ids.map(asHeaderLayoutId);
|
|
17425
|
-
}
|
|
17426
|
-
function headerStyleRepairChain(values) {
|
|
17427
|
-
return values.map(asHeaderStyleId);
|
|
17428
|
-
}
|
|
17429
|
-
function getHeaderStyle(id) {
|
|
17430
|
-
return headerStylesById.get(id) ?? null;
|
|
17431
|
-
}
|
|
17432
|
-
function isHeaderStyleCompatibleWithLayout(style, layoutId) {
|
|
17433
|
-
return style.supportedLayoutIds.includes(layoutId);
|
|
17434
|
-
}
|
|
17435
|
-
function getHeaderStyleOrThrow(id) {
|
|
17436
|
-
const style = getHeaderStyle(id);
|
|
17437
|
-
if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
|
|
17438
|
-
return style;
|
|
17439
|
-
}
|
|
17440
|
-
function resolveLegacyHeaderLookAlias(lookId) {
|
|
17441
|
-
return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
|
|
17442
|
-
}
|
|
17443
|
-
function getCompatibleHeaderStyleIds(layoutId) {
|
|
17444
|
-
return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
|
|
17445
|
-
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
17446
|
-
});
|
|
17447
|
-
}
|
|
17448
|
-
function applyNavTypography(style, typography) {
|
|
17449
|
-
switch (typography) {
|
|
17450
|
-
case "plain": return style;
|
|
17451
|
-
case "heading": return {
|
|
17452
|
-
...style,
|
|
17453
|
-
typography: "heading",
|
|
17454
|
-
fontWeight: "medium",
|
|
17455
|
-
letterSpacing: "wide"
|
|
17456
|
-
};
|
|
17457
|
-
case "quiet-caps": return {
|
|
17458
|
-
...style,
|
|
17459
|
-
textTransform: "uppercase",
|
|
17460
|
-
textSize: "sm",
|
|
17461
|
-
letterSpacing: "wide"
|
|
17462
|
-
};
|
|
17463
|
-
case "brand-caps": return {
|
|
17464
|
-
...style,
|
|
17465
|
-
textTransform: "uppercase",
|
|
17466
|
-
textSize: "sm",
|
|
17467
|
-
letterSpacing: "wider"
|
|
17468
|
-
};
|
|
17469
|
-
default: return assertNever$15(typography, "Unhandled header nav typography");
|
|
17470
|
-
}
|
|
17471
|
-
}
|
|
17472
|
-
function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
|
|
17473
|
-
return applyNavTypography({
|
|
17474
|
-
name: "Underline grow",
|
|
17475
|
-
typography: "body",
|
|
17476
|
-
fontWeight: "medium",
|
|
17477
|
-
textTransform: "none",
|
|
17478
|
-
italic: false,
|
|
17479
|
-
colorToken,
|
|
17480
|
-
padding: "compact",
|
|
17481
|
-
paddingX: "compact",
|
|
17482
|
-
borderRadius: "none",
|
|
17483
|
-
effects: { hover: [{
|
|
17484
|
-
effectId: "nav-underline",
|
|
17485
|
-
options: {
|
|
17486
|
-
style: "grow",
|
|
17487
|
-
...underlineColorToken ? { colorToken: underlineColorToken } : {}
|
|
17488
|
-
}
|
|
17489
|
-
}] }
|
|
17490
|
-
}, typography);
|
|
17491
|
-
}
|
|
17492
|
-
function themedHeaderShadow(theme) {
|
|
17493
|
-
switch (theme.shadow.elevation) {
|
|
17494
|
-
case "none": return;
|
|
17495
|
-
case "low": return { elevation: "sm" };
|
|
17496
|
-
case "medium": return { elevation: "md" };
|
|
17497
|
-
case "high": return { elevation: "lg" };
|
|
17498
|
-
default: return assertNever$15(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
17499
|
-
}
|
|
17500
|
-
}
|
|
17501
|
-
function solidBrandHeader(theme) {
|
|
17502
|
-
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
17503
|
-
return {
|
|
17504
|
-
...baseHeader(theme),
|
|
17505
|
-
variant: "classic",
|
|
17506
|
-
positioning: "sticky",
|
|
17507
|
-
shrinkOnScroll: true,
|
|
17508
|
-
background: {
|
|
17509
|
-
type: "color",
|
|
17510
|
-
color: "primary"
|
|
17511
|
-
},
|
|
17512
|
-
textColor: "primaryForeground",
|
|
17513
|
-
navColor: "primaryForeground",
|
|
17514
|
-
navStyle: "underline-grow",
|
|
17515
|
-
navWeight: "bold",
|
|
17516
|
-
navLinkStyle: {
|
|
17517
|
-
typography: "body",
|
|
17518
|
-
fontWeight: "bold",
|
|
17519
|
-
textTransform: "uppercase",
|
|
17520
|
-
italic: false,
|
|
17521
|
-
colorToken: "primaryForeground",
|
|
17522
|
-
hoverColorToken: "secondary",
|
|
17523
|
-
textSize: "sm",
|
|
17524
|
-
letterSpacing: "wider",
|
|
17525
|
-
padding: "compact",
|
|
17526
|
-
paddingX: "compact",
|
|
17527
|
-
borderRadius: "none",
|
|
17528
|
-
effects: { hover: [{
|
|
17529
|
-
effectId: "text-color-change",
|
|
17530
|
-
options: { hoverColorToken: "secondary" }
|
|
17531
|
-
}, {
|
|
17532
|
-
effectId: "nav-underline",
|
|
17533
|
-
options: {
|
|
17534
|
-
style: "grow",
|
|
17535
|
-
colorToken: "secondary"
|
|
17536
|
-
}
|
|
17537
|
-
}] }
|
|
17538
|
-
},
|
|
17539
|
-
dropdownStyle: {
|
|
17540
|
-
background: "primary-700",
|
|
17541
|
-
textColor: "primaryForeground",
|
|
17542
|
-
borderColor: null,
|
|
17543
|
-
shadow: "md",
|
|
17544
|
-
borderRadius: "md",
|
|
17545
|
-
hoverBackground: "primary-900",
|
|
17546
|
-
hoverTextColor: "secondary",
|
|
17547
|
-
textTransform: "uppercase",
|
|
17548
|
-
letterSpacing: "wider",
|
|
17549
|
-
fontWeight: "bold",
|
|
17550
|
-
textSize: "sm"
|
|
17551
|
-
},
|
|
17552
|
-
border: {
|
|
17553
|
-
style: "solid",
|
|
17554
|
-
width: "none",
|
|
17555
|
-
position: "none"
|
|
17556
|
-
},
|
|
17557
|
-
logoText: {
|
|
17558
|
-
hideOnShrink: true,
|
|
17559
|
-
mobileMaxWidth: "sm",
|
|
17560
|
-
mobileWrapLines: 2
|
|
17561
|
-
},
|
|
17562
|
-
ctaGap: "compact",
|
|
17563
|
-
ctaTreatment: "inverted",
|
|
17564
|
-
...ctaVariant ? { ctaVariant } : {}
|
|
17565
|
-
};
|
|
17566
|
-
}
|
|
17567
|
-
function cleanBaseHeader(theme) {
|
|
17568
|
-
return {
|
|
17569
|
-
...baseHeader(theme),
|
|
17570
|
-
variant: "classic",
|
|
17571
|
-
positioning: "sticky",
|
|
17572
|
-
shrinkOnScroll: false,
|
|
17573
|
-
background: {
|
|
17574
|
-
type: "color",
|
|
17575
|
-
color: "surface"
|
|
17576
|
-
},
|
|
17577
|
-
textColor: "text",
|
|
17578
|
-
navColor: "text",
|
|
17579
|
-
navStyle: "minimal",
|
|
17580
|
-
navWeight: "medium",
|
|
17581
|
-
border: {
|
|
17582
|
-
style: "solid",
|
|
17583
|
-
width: "thin",
|
|
17584
|
-
position: "bottom",
|
|
17585
|
-
colorToken: "border"
|
|
17586
|
-
},
|
|
17587
|
-
ctaTreatment: "default",
|
|
17588
|
-
ctaGap: "default"
|
|
17589
|
-
};
|
|
17590
|
-
}
|
|
17591
|
-
function classicCenteredNavHeader(theme) {
|
|
17592
|
-
return {
|
|
17593
|
-
...baseHeader(theme),
|
|
17594
|
-
variant: "classic",
|
|
17595
|
-
navPlacement: "center",
|
|
17596
|
-
positioning: "sticky",
|
|
17597
|
-
shrinkOnScroll: false,
|
|
17598
|
-
background: {
|
|
17599
|
-
type: "color",
|
|
17600
|
-
color: "surface"
|
|
17601
|
-
},
|
|
17602
|
-
textColor: "text",
|
|
17603
|
-
navColor: "text",
|
|
17604
|
-
navStyle: "underline-grow",
|
|
17605
|
-
navWeight: "medium",
|
|
17606
|
-
navLinkStyle: underlineNavLinkStyle("text", "accent"),
|
|
17607
|
-
border: {
|
|
17608
|
-
style: "solid",
|
|
17609
|
-
width: "thin",
|
|
17610
|
-
position: "bottom",
|
|
17611
|
-
colorToken: "border"
|
|
17612
|
-
},
|
|
17613
|
-
ctaTreatment: "primary",
|
|
17614
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
17615
|
-
ctaGap: "default",
|
|
17616
|
-
logoText: {
|
|
17617
|
-
mobileMaxWidth: "sm",
|
|
17618
|
-
mobileWrapLines: 1,
|
|
17619
|
-
hideOnShrink: false
|
|
17620
|
-
}
|
|
17621
|
-
};
|
|
17622
|
-
}
|
|
17623
|
-
function serifLineHeader(theme) {
|
|
17624
|
-
return {
|
|
17625
|
-
...baseHeader(theme),
|
|
17626
|
-
variant: "centered",
|
|
17627
|
-
positioning: "sticky",
|
|
17628
|
-
shrinkOnScroll: false,
|
|
17629
|
-
background: {
|
|
17630
|
-
type: "color",
|
|
17631
|
-
color: "background"
|
|
17632
|
-
},
|
|
17633
|
-
textColor: "text",
|
|
17634
|
-
navColor: "text",
|
|
17635
|
-
navStyle: "underline-grow",
|
|
17636
|
-
navWeight: "medium",
|
|
17637
|
-
logo: {
|
|
17638
|
-
fontFamily: "heading",
|
|
17639
|
-
letterSpacing: "wide",
|
|
17640
|
-
gradient: false
|
|
17641
|
-
},
|
|
17642
|
-
border: {
|
|
17643
|
-
style: "solid",
|
|
17644
|
-
width: "none",
|
|
17645
|
-
position: "none"
|
|
17646
|
-
},
|
|
17647
|
-
shadow: { elevation: "none" },
|
|
17648
|
-
ctaTreatment: "outline",
|
|
17649
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
17650
|
-
ctaGap: "relaxed"
|
|
17651
|
-
};
|
|
17652
|
-
}
|
|
17653
|
-
function centeredCalmHeader(theme) {
|
|
17654
|
-
return {
|
|
17655
|
-
...baseHeader(theme),
|
|
17656
|
-
variant: "centered",
|
|
17657
|
-
positioning: "static",
|
|
17658
|
-
shrinkOnScroll: false,
|
|
17659
|
-
background: {
|
|
17660
|
-
type: "color",
|
|
17661
|
-
color: "surface"
|
|
17662
|
-
},
|
|
17663
|
-
textColor: "text",
|
|
17664
|
-
navColor: "text",
|
|
17665
|
-
navStyle: "minimal",
|
|
17666
|
-
navWeight: "medium",
|
|
17667
|
-
ctaTreatment: "ghost",
|
|
17668
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
|
|
17669
|
-
ctaGap: "none"
|
|
17670
|
-
};
|
|
17671
|
-
}
|
|
17672
|
-
function practicalUtilityHeader(theme) {
|
|
17673
|
-
return {
|
|
17674
|
-
...baseHeader(theme),
|
|
17675
|
-
variant: "classic",
|
|
17676
|
-
positioning: "sticky",
|
|
17677
|
-
shrinkOnScroll: true,
|
|
17678
|
-
background: {
|
|
17679
|
-
type: "color",
|
|
17680
|
-
color: "surface"
|
|
17681
|
-
},
|
|
17682
|
-
textColor: "text",
|
|
17683
|
-
navColor: "text",
|
|
17684
|
-
navStyle: "solid",
|
|
17685
|
-
navWeight: "semibold",
|
|
17686
|
-
shadow: themedHeaderShadow(theme),
|
|
17687
|
-
border: {
|
|
17688
|
-
style: "solid",
|
|
17689
|
-
width: "thin",
|
|
17690
|
-
position: "bottom",
|
|
17691
|
-
colorToken: "border"
|
|
17692
|
-
},
|
|
17693
|
-
ctaTreatment: "primary",
|
|
17694
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
17695
|
-
ctaGap: "compact",
|
|
17696
|
-
logoText: {
|
|
17697
|
-
mobileMaxWidth: "sm",
|
|
17698
|
-
mobileWrapLines: 1,
|
|
17699
|
-
hideOnShrink: false
|
|
17700
|
-
}
|
|
17701
|
-
};
|
|
17702
|
-
}
|
|
17703
|
-
function minimalTransparentHeader(theme) {
|
|
17704
|
-
return {
|
|
17705
|
-
...baseHeader(theme),
|
|
17706
|
-
variant: "classic",
|
|
17707
|
-
positioning: "static",
|
|
17708
|
-
shrinkOnScroll: false,
|
|
17709
|
-
background: {
|
|
17710
|
-
type: "color",
|
|
17711
|
-
color: "transparent"
|
|
17712
|
-
},
|
|
17713
|
-
textColor: "text",
|
|
17714
|
-
navColor: "text",
|
|
17715
|
-
navStyle: "underline",
|
|
17716
|
-
navWeight: "medium",
|
|
17717
|
-
border: {
|
|
17718
|
-
style: "solid",
|
|
17719
|
-
width: "none",
|
|
17720
|
-
position: "none"
|
|
17721
|
-
},
|
|
17722
|
-
ctaTreatment: "outline",
|
|
17723
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
17724
|
-
ctaGap: "default"
|
|
17725
|
-
};
|
|
17726
|
-
}
|
|
17727
|
-
function transparentOverlayHeader(theme) {
|
|
17728
|
-
return {
|
|
17729
|
-
...baseHeader(theme),
|
|
17730
|
-
variant: "transparent",
|
|
17731
|
-
positioning: "fixed",
|
|
17732
|
-
shrinkOnScroll: true,
|
|
17733
|
-
background: {
|
|
17734
|
-
type: "color",
|
|
17735
|
-
color: "transparent"
|
|
17736
|
-
},
|
|
17737
|
-
textColor: "background",
|
|
17738
|
-
navColor: "background",
|
|
17739
|
-
navStyle: "frosted",
|
|
17740
|
-
navWeight: "semibold",
|
|
17741
|
-
border: {
|
|
17742
|
-
style: "solid",
|
|
17743
|
-
width: "none",
|
|
17744
|
-
position: "none"
|
|
17745
|
-
},
|
|
17746
|
-
ctaTreatment: "inverted",
|
|
17747
|
-
ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
|
|
17748
|
-
ctaGap: "compact"
|
|
17749
|
-
};
|
|
17750
|
-
}
|
|
17751
|
-
function floatingGlassHeader(theme) {
|
|
17752
|
-
return {
|
|
17753
|
-
...transparentOverlayHeader(theme),
|
|
17754
|
-
variant: "floating",
|
|
17755
|
-
positioning: "sticky",
|
|
17756
|
-
navStyle: "frosted",
|
|
17757
|
-
navContainer: {
|
|
17758
|
-
type: "glass",
|
|
17759
|
-
tint: "text",
|
|
17760
|
-
opacity: .16
|
|
17761
|
-
},
|
|
17762
|
-
container: {
|
|
17763
|
-
rounded: "2xl",
|
|
17764
|
-
border: true,
|
|
17765
|
-
shadow: true,
|
|
17766
|
-
padding: "sm",
|
|
17767
|
-
tint: "background",
|
|
17768
|
-
opacity: .12
|
|
17769
|
-
}
|
|
17770
|
-
};
|
|
17771
|
-
}
|
|
17772
|
-
var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations, headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById, headerLookCatalog;
|
|
17773
|
-
var init_headerLooks = __esmMin((() => {
|
|
17774
|
-
init_headerCtaVariants();
|
|
17775
|
-
init_headerStyleParts();
|
|
17776
|
-
init_headerInteractionPalette();
|
|
17777
|
-
init_headerOpeningForeground();
|
|
17778
|
-
init_customizableSurfaces();
|
|
17373
|
+
var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations;
|
|
17374
|
+
var init_headerLookBranding = __esmMin((() => {
|
|
17779
17375
|
init_logoBranding();
|
|
17780
17376
|
init_types$15();
|
|
17781
17377
|
titleOnlyLogoAccommodation = {
|
|
@@ -17896,6 +17492,72 @@ var init_headerLooks = __esmMin((() => {
|
|
|
17896
17492
|
inlineMarkWithTitleLogoAccommodation,
|
|
17897
17493
|
unbackedOverlayLogoAccommodation
|
|
17898
17494
|
];
|
|
17495
|
+
}));
|
|
17496
|
+
var headerInteractionPaletteValues, headerInteractionPaletteSchema;
|
|
17497
|
+
var init_interactionPalette = __esmMin((() => {
|
|
17498
|
+
headerInteractionPaletteValues = [
|
|
17499
|
+
"primary",
|
|
17500
|
+
"secondary",
|
|
17501
|
+
"accent"
|
|
17502
|
+
];
|
|
17503
|
+
headerInteractionPaletteSchema = z$1.enum(headerInteractionPaletteValues);
|
|
17504
|
+
}));
|
|
17505
|
+
var clearSplitInteractionPalette;
|
|
17506
|
+
var init_headerInteractionPalette = __esmMin((() => {
|
|
17507
|
+
init_interactionPalette();
|
|
17508
|
+
init_lookOptionGroups();
|
|
17509
|
+
clearSplitInteractionPalette = defineLookOptionGroup({
|
|
17510
|
+
id: "interaction-palette",
|
|
17511
|
+
label: "Hover colour",
|
|
17512
|
+
defaultOptionId: "accent",
|
|
17513
|
+
options: [
|
|
17514
|
+
{
|
|
17515
|
+
id: "accent",
|
|
17516
|
+
label: "Accent"
|
|
17517
|
+
},
|
|
17518
|
+
{
|
|
17519
|
+
id: "primary",
|
|
17520
|
+
label: "Primary"
|
|
17521
|
+
},
|
|
17522
|
+
{
|
|
17523
|
+
id: "secondary",
|
|
17524
|
+
label: "Secondary"
|
|
17525
|
+
}
|
|
17526
|
+
]
|
|
17527
|
+
});
|
|
17528
|
+
}));
|
|
17529
|
+
//#endregion
|
|
17530
|
+
//#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
|
|
17531
|
+
function supportedLayouts(ids) {
|
|
17532
|
+
return ids.map(asHeaderLayoutId);
|
|
17533
|
+
}
|
|
17534
|
+
function headerStyleRepairChain(values) {
|
|
17535
|
+
return values.map(asHeaderStyleId);
|
|
17536
|
+
}
|
|
17537
|
+
function getHeaderStyle(id) {
|
|
17538
|
+
return headerStylesById.get(id) ?? null;
|
|
17539
|
+
}
|
|
17540
|
+
function isHeaderStyleCompatibleWithLayout(style, layoutId) {
|
|
17541
|
+
return style.supportedLayoutIds.includes(layoutId);
|
|
17542
|
+
}
|
|
17543
|
+
function getHeaderStyleOrThrow(id) {
|
|
17544
|
+
const style = getHeaderStyle(id);
|
|
17545
|
+
if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
|
|
17546
|
+
return style;
|
|
17547
|
+
}
|
|
17548
|
+
function resolveLegacyHeaderLookAlias(lookId) {
|
|
17549
|
+
return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
|
|
17550
|
+
}
|
|
17551
|
+
function getCompatibleHeaderStyleIds(layoutId) {
|
|
17552
|
+
return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
|
|
17553
|
+
return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
|
|
17554
|
+
});
|
|
17555
|
+
}
|
|
17556
|
+
var headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById;
|
|
17557
|
+
var init_headerLayoutStyleCatalog = __esmMin((() => {
|
|
17558
|
+
init_types$15();
|
|
17559
|
+
init_headerInteractionPalette();
|
|
17560
|
+
init_headerLookTypes();
|
|
17899
17561
|
headerLayoutCatalog = defineExactCatalog()([
|
|
17900
17562
|
{
|
|
17901
17563
|
id: asHeaderLayoutId("classic"),
|
|
@@ -18275,6 +17937,373 @@ var init_headerLooks = __esmMin((() => {
|
|
|
18275
17937
|
}
|
|
18276
17938
|
]);
|
|
18277
17939
|
legacyHeaderLookAliasesById = new Map(legacyHeaderLookAliases.map((alias) => [alias.lookId, alias]));
|
|
17940
|
+
}));
|
|
17941
|
+
var init_headerOpeningForeground = __esmMin((() => {
|
|
17942
|
+
init_expandPalette();
|
|
17943
|
+
init_colorConversion();
|
|
17944
|
+
init_tokens();
|
|
17945
|
+
init_colorTokenParts();
|
|
17946
|
+
init_types$15();
|
|
17947
|
+
}));
|
|
17948
|
+
//#endregion
|
|
17949
|
+
//#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
|
|
17950
|
+
function baseHeader(theme) {
|
|
17951
|
+
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;
|
|
17952
|
+
return {
|
|
17953
|
+
...header,
|
|
17954
|
+
navContainer: {
|
|
17955
|
+
type: "none",
|
|
17956
|
+
tint: null,
|
|
17957
|
+
opacity: .15
|
|
17958
|
+
}
|
|
17959
|
+
};
|
|
17960
|
+
}
|
|
17961
|
+
function applyNavTypography(style, typography) {
|
|
17962
|
+
switch (typography) {
|
|
17963
|
+
case "plain": return style;
|
|
17964
|
+
case "heading": return {
|
|
17965
|
+
...style,
|
|
17966
|
+
typography: "heading",
|
|
17967
|
+
fontWeight: "medium",
|
|
17968
|
+
letterSpacing: "wide"
|
|
17969
|
+
};
|
|
17970
|
+
case "quiet-caps": return {
|
|
17971
|
+
...style,
|
|
17972
|
+
textTransform: "uppercase",
|
|
17973
|
+
textSize: "sm",
|
|
17974
|
+
letterSpacing: "wide"
|
|
17975
|
+
};
|
|
17976
|
+
case "brand-caps": return {
|
|
17977
|
+
...style,
|
|
17978
|
+
textTransform: "uppercase",
|
|
17979
|
+
textSize: "sm",
|
|
17980
|
+
letterSpacing: "wider"
|
|
17981
|
+
};
|
|
17982
|
+
default: return assertNever$15(typography, "Unhandled header nav typography");
|
|
17983
|
+
}
|
|
17984
|
+
}
|
|
17985
|
+
function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
|
|
17986
|
+
return applyNavTypography({
|
|
17987
|
+
name: "Underline grow",
|
|
17988
|
+
typography: "body",
|
|
17989
|
+
fontWeight: "medium",
|
|
17990
|
+
textTransform: "none",
|
|
17991
|
+
italic: false,
|
|
17992
|
+
colorToken,
|
|
17993
|
+
padding: "compact",
|
|
17994
|
+
paddingX: "compact",
|
|
17995
|
+
borderRadius: "none",
|
|
17996
|
+
effects: { hover: [{
|
|
17997
|
+
effectId: "nav-underline",
|
|
17998
|
+
options: {
|
|
17999
|
+
style: "grow",
|
|
18000
|
+
...underlineColorToken ? { colorToken: underlineColorToken } : {}
|
|
18001
|
+
}
|
|
18002
|
+
}] }
|
|
18003
|
+
}, typography);
|
|
18004
|
+
}
|
|
18005
|
+
function themedHeaderShadow(theme) {
|
|
18006
|
+
switch (theme.shadow.elevation) {
|
|
18007
|
+
case "none": return;
|
|
18008
|
+
case "low": return { elevation: "sm" };
|
|
18009
|
+
case "medium": return { elevation: "md" };
|
|
18010
|
+
case "high": return { elevation: "lg" };
|
|
18011
|
+
default: return assertNever$15(theme.shadow.elevation, "Unhandled theme shadow elevation");
|
|
18012
|
+
}
|
|
18013
|
+
}
|
|
18014
|
+
var init_headerStyleCompilerPrimitives = __esmMin((() => {
|
|
18015
|
+
init_headerCtaVariants();
|
|
18016
|
+
init_headerLookTypes();
|
|
18017
|
+
init_types$15();
|
|
18018
|
+
}));
|
|
18019
|
+
var init_headerStyleCompiler = __esmMin((() => {
|
|
18020
|
+
init_headerCtaVariants();
|
|
18021
|
+
init_headerInteractionPalette();
|
|
18022
|
+
init_headerOpeningForeground();
|
|
18023
|
+
init_headerLayoutStyleCatalog();
|
|
18024
|
+
init_headerStyleCompilerPrimitives();
|
|
18025
|
+
init_types$15();
|
|
18026
|
+
}));
|
|
18027
|
+
//#endregion
|
|
18028
|
+
//#region ../theme-core/src/site-styles/headerLegacyLooks.ts
|
|
18029
|
+
function solidBrandHeader(theme) {
|
|
18030
|
+
const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
|
|
18031
|
+
return {
|
|
18032
|
+
...baseHeader(theme),
|
|
18033
|
+
variant: "classic",
|
|
18034
|
+
positioning: "sticky",
|
|
18035
|
+
shrinkOnScroll: true,
|
|
18036
|
+
background: {
|
|
18037
|
+
type: "color",
|
|
18038
|
+
color: "primary"
|
|
18039
|
+
},
|
|
18040
|
+
textColor: "primaryForeground",
|
|
18041
|
+
navColor: "primaryForeground",
|
|
18042
|
+
navStyle: "underline-grow",
|
|
18043
|
+
navWeight: "bold",
|
|
18044
|
+
navLinkStyle: {
|
|
18045
|
+
typography: "body",
|
|
18046
|
+
fontWeight: "bold",
|
|
18047
|
+
textTransform: "uppercase",
|
|
18048
|
+
italic: false,
|
|
18049
|
+
colorToken: "primaryForeground",
|
|
18050
|
+
hoverColorToken: "secondary",
|
|
18051
|
+
textSize: "sm",
|
|
18052
|
+
letterSpacing: "wider",
|
|
18053
|
+
padding: "compact",
|
|
18054
|
+
paddingX: "compact",
|
|
18055
|
+
borderRadius: "none",
|
|
18056
|
+
effects: { hover: [{
|
|
18057
|
+
effectId: "text-color-change",
|
|
18058
|
+
options: { hoverColorToken: "secondary" }
|
|
18059
|
+
}, {
|
|
18060
|
+
effectId: "nav-underline",
|
|
18061
|
+
options: {
|
|
18062
|
+
style: "grow",
|
|
18063
|
+
colorToken: "secondary"
|
|
18064
|
+
}
|
|
18065
|
+
}] }
|
|
18066
|
+
},
|
|
18067
|
+
dropdownStyle: {
|
|
18068
|
+
background: "primary-700",
|
|
18069
|
+
textColor: "primaryForeground",
|
|
18070
|
+
borderColor: null,
|
|
18071
|
+
shadow: "md",
|
|
18072
|
+
borderRadius: "md",
|
|
18073
|
+
hoverBackground: "primary-900",
|
|
18074
|
+
hoverTextColor: "secondary",
|
|
18075
|
+
textTransform: "uppercase",
|
|
18076
|
+
letterSpacing: "wider",
|
|
18077
|
+
fontWeight: "bold",
|
|
18078
|
+
textSize: "sm"
|
|
18079
|
+
},
|
|
18080
|
+
border: {
|
|
18081
|
+
style: "solid",
|
|
18082
|
+
width: "none",
|
|
18083
|
+
position: "none"
|
|
18084
|
+
},
|
|
18085
|
+
logoText: {
|
|
18086
|
+
hideOnShrink: true,
|
|
18087
|
+
mobileMaxWidth: "sm",
|
|
18088
|
+
mobileWrapLines: 2
|
|
18089
|
+
},
|
|
18090
|
+
ctaGap: "compact",
|
|
18091
|
+
ctaTreatment: "inverted",
|
|
18092
|
+
...ctaVariant ? { ctaVariant } : {}
|
|
18093
|
+
};
|
|
18094
|
+
}
|
|
18095
|
+
function cleanBaseHeader(theme) {
|
|
18096
|
+
return {
|
|
18097
|
+
...baseHeader(theme),
|
|
18098
|
+
variant: "classic",
|
|
18099
|
+
positioning: "sticky",
|
|
18100
|
+
shrinkOnScroll: false,
|
|
18101
|
+
background: {
|
|
18102
|
+
type: "color",
|
|
18103
|
+
color: "surface"
|
|
18104
|
+
},
|
|
18105
|
+
textColor: "text",
|
|
18106
|
+
navColor: "text",
|
|
18107
|
+
navStyle: "minimal",
|
|
18108
|
+
navWeight: "medium",
|
|
18109
|
+
border: {
|
|
18110
|
+
style: "solid",
|
|
18111
|
+
width: "thin",
|
|
18112
|
+
position: "bottom",
|
|
18113
|
+
colorToken: "border"
|
|
18114
|
+
},
|
|
18115
|
+
ctaTreatment: "default",
|
|
18116
|
+
ctaGap: "default"
|
|
18117
|
+
};
|
|
18118
|
+
}
|
|
18119
|
+
function classicCenteredNavHeader(theme) {
|
|
18120
|
+
return {
|
|
18121
|
+
...baseHeader(theme),
|
|
18122
|
+
variant: "classic",
|
|
18123
|
+
navPlacement: "center",
|
|
18124
|
+
positioning: "sticky",
|
|
18125
|
+
shrinkOnScroll: false,
|
|
18126
|
+
background: {
|
|
18127
|
+
type: "color",
|
|
18128
|
+
color: "surface"
|
|
18129
|
+
},
|
|
18130
|
+
textColor: "text",
|
|
18131
|
+
navColor: "text",
|
|
18132
|
+
navStyle: "underline-grow",
|
|
18133
|
+
navWeight: "medium",
|
|
18134
|
+
navLinkStyle: underlineNavLinkStyle("text", "accent"),
|
|
18135
|
+
border: {
|
|
18136
|
+
style: "solid",
|
|
18137
|
+
width: "thin",
|
|
18138
|
+
position: "bottom",
|
|
18139
|
+
colorToken: "border"
|
|
18140
|
+
},
|
|
18141
|
+
ctaTreatment: "primary",
|
|
18142
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
18143
|
+
ctaGap: "default",
|
|
18144
|
+
logoText: {
|
|
18145
|
+
mobileMaxWidth: "sm",
|
|
18146
|
+
mobileWrapLines: 1,
|
|
18147
|
+
hideOnShrink: false
|
|
18148
|
+
}
|
|
18149
|
+
};
|
|
18150
|
+
}
|
|
18151
|
+
function serifLineHeader(theme) {
|
|
18152
|
+
return {
|
|
18153
|
+
...baseHeader(theme),
|
|
18154
|
+
variant: "centered",
|
|
18155
|
+
positioning: "sticky",
|
|
18156
|
+
shrinkOnScroll: false,
|
|
18157
|
+
background: {
|
|
18158
|
+
type: "color",
|
|
18159
|
+
color: "background"
|
|
18160
|
+
},
|
|
18161
|
+
textColor: "text",
|
|
18162
|
+
navColor: "text",
|
|
18163
|
+
navStyle: "underline-grow",
|
|
18164
|
+
navWeight: "medium",
|
|
18165
|
+
logo: {
|
|
18166
|
+
fontFamily: "heading",
|
|
18167
|
+
letterSpacing: "wide",
|
|
18168
|
+
gradient: false
|
|
18169
|
+
},
|
|
18170
|
+
border: {
|
|
18171
|
+
style: "solid",
|
|
18172
|
+
width: "none",
|
|
18173
|
+
position: "none"
|
|
18174
|
+
},
|
|
18175
|
+
shadow: { elevation: "none" },
|
|
18176
|
+
ctaTreatment: "outline",
|
|
18177
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
18178
|
+
ctaGap: "relaxed"
|
|
18179
|
+
};
|
|
18180
|
+
}
|
|
18181
|
+
function centeredCalmHeader(theme) {
|
|
18182
|
+
return {
|
|
18183
|
+
...baseHeader(theme),
|
|
18184
|
+
variant: "centered",
|
|
18185
|
+
positioning: "static",
|
|
18186
|
+
shrinkOnScroll: false,
|
|
18187
|
+
background: {
|
|
18188
|
+
type: "color",
|
|
18189
|
+
color: "surface"
|
|
18190
|
+
},
|
|
18191
|
+
textColor: "text",
|
|
18192
|
+
navColor: "text",
|
|
18193
|
+
navStyle: "minimal",
|
|
18194
|
+
navWeight: "medium",
|
|
18195
|
+
ctaTreatment: "ghost",
|
|
18196
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
|
|
18197
|
+
ctaGap: "none"
|
|
18198
|
+
};
|
|
18199
|
+
}
|
|
18200
|
+
function practicalUtilityHeader(theme) {
|
|
18201
|
+
return {
|
|
18202
|
+
...baseHeader(theme),
|
|
18203
|
+
variant: "classic",
|
|
18204
|
+
positioning: "sticky",
|
|
18205
|
+
shrinkOnScroll: true,
|
|
18206
|
+
background: {
|
|
18207
|
+
type: "color",
|
|
18208
|
+
color: "surface"
|
|
18209
|
+
},
|
|
18210
|
+
textColor: "text",
|
|
18211
|
+
navColor: "text",
|
|
18212
|
+
navStyle: "solid",
|
|
18213
|
+
navWeight: "semibold",
|
|
18214
|
+
shadow: themedHeaderShadow(theme),
|
|
18215
|
+
border: {
|
|
18216
|
+
style: "solid",
|
|
18217
|
+
width: "thin",
|
|
18218
|
+
position: "bottom",
|
|
18219
|
+
colorToken: "border"
|
|
18220
|
+
},
|
|
18221
|
+
ctaTreatment: "primary",
|
|
18222
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
|
|
18223
|
+
ctaGap: "compact",
|
|
18224
|
+
logoText: {
|
|
18225
|
+
mobileMaxWidth: "sm",
|
|
18226
|
+
mobileWrapLines: 1,
|
|
18227
|
+
hideOnShrink: false
|
|
18228
|
+
}
|
|
18229
|
+
};
|
|
18230
|
+
}
|
|
18231
|
+
function minimalTransparentHeader(theme) {
|
|
18232
|
+
return {
|
|
18233
|
+
...baseHeader(theme),
|
|
18234
|
+
variant: "classic",
|
|
18235
|
+
positioning: "static",
|
|
18236
|
+
shrinkOnScroll: false,
|
|
18237
|
+
background: {
|
|
18238
|
+
type: "color",
|
|
18239
|
+
color: "transparent"
|
|
18240
|
+
},
|
|
18241
|
+
textColor: "text",
|
|
18242
|
+
navColor: "text",
|
|
18243
|
+
navStyle: "underline",
|
|
18244
|
+
navWeight: "medium",
|
|
18245
|
+
border: {
|
|
18246
|
+
style: "solid",
|
|
18247
|
+
width: "none",
|
|
18248
|
+
position: "none"
|
|
18249
|
+
},
|
|
18250
|
+
ctaTreatment: "outline",
|
|
18251
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
|
|
18252
|
+
ctaGap: "default"
|
|
18253
|
+
};
|
|
18254
|
+
}
|
|
18255
|
+
function transparentOverlayHeader(theme) {
|
|
18256
|
+
return {
|
|
18257
|
+
...baseHeader(theme),
|
|
18258
|
+
variant: "transparent",
|
|
18259
|
+
positioning: "fixed",
|
|
18260
|
+
shrinkOnScroll: true,
|
|
18261
|
+
background: {
|
|
18262
|
+
type: "color",
|
|
18263
|
+
color: "transparent"
|
|
18264
|
+
},
|
|
18265
|
+
textColor: "background",
|
|
18266
|
+
navColor: "background",
|
|
18267
|
+
navStyle: "frosted",
|
|
18268
|
+
navWeight: "semibold",
|
|
18269
|
+
border: {
|
|
18270
|
+
style: "solid",
|
|
18271
|
+
width: "none",
|
|
18272
|
+
position: "none"
|
|
18273
|
+
},
|
|
18274
|
+
ctaTreatment: "inverted",
|
|
18275
|
+
ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
|
|
18276
|
+
ctaGap: "compact"
|
|
18277
|
+
};
|
|
18278
|
+
}
|
|
18279
|
+
function floatingGlassHeader(theme) {
|
|
18280
|
+
return {
|
|
18281
|
+
...transparentOverlayHeader(theme),
|
|
18282
|
+
variant: "floating",
|
|
18283
|
+
positioning: "sticky",
|
|
18284
|
+
navStyle: "frosted",
|
|
18285
|
+
navContainer: {
|
|
18286
|
+
type: "glass",
|
|
18287
|
+
tint: "text",
|
|
18288
|
+
opacity: .16
|
|
18289
|
+
},
|
|
18290
|
+
container: {
|
|
18291
|
+
rounded: "2xl",
|
|
18292
|
+
border: true,
|
|
18293
|
+
shadow: true,
|
|
18294
|
+
padding: "sm",
|
|
18295
|
+
tint: "background",
|
|
18296
|
+
opacity: .12
|
|
18297
|
+
}
|
|
18298
|
+
};
|
|
18299
|
+
}
|
|
18300
|
+
var headerLookCatalog;
|
|
18301
|
+
var init_headerLegacyLooks = __esmMin((() => {
|
|
18302
|
+
init_headerCtaVariants();
|
|
18303
|
+
init_headerLookBranding();
|
|
18304
|
+
init_headerLookTypes();
|
|
18305
|
+
init_headerStyleCompilerPrimitives();
|
|
18306
|
+
init_types$15();
|
|
18278
18307
|
headerLookCatalog = defineExactCatalog()([
|
|
18279
18308
|
{
|
|
18280
18309
|
id: asHeaderLookId("clean-base"),
|
|
@@ -18348,6 +18377,22 @@ var init_headerLooks = __esmMin((() => {
|
|
|
18348
18377
|
]);
|
|
18349
18378
|
new Map(headerLookCatalog.map((look) => [look.id, look]));
|
|
18350
18379
|
}));
|
|
18380
|
+
var init_headerLookSelection = __esmMin((() => {
|
|
18381
|
+
init_customizableSurfaces();
|
|
18382
|
+
init_headerLookBranding();
|
|
18383
|
+
init_headerLookTypes();
|
|
18384
|
+
init_headerLegacyLooks();
|
|
18385
|
+
}));
|
|
18386
|
+
//#endregion
|
|
18387
|
+
//#region ../theme-core/src/site-styles/headerLooks.ts
|
|
18388
|
+
var init_headerLooks = __esmMin((() => {
|
|
18389
|
+
init_headerLookTypes();
|
|
18390
|
+
init_headerLookBranding();
|
|
18391
|
+
init_headerLayoutStyleCatalog();
|
|
18392
|
+
init_headerStyleCompiler();
|
|
18393
|
+
init_headerLegacyLooks();
|
|
18394
|
+
init_headerLookSelection();
|
|
18395
|
+
}));
|
|
18351
18396
|
var init_compilationPlan = __esmMin((() => {
|
|
18352
18397
|
init_headerLooks();
|
|
18353
18398
|
}));
|
|
@@ -24467,6 +24512,7 @@ var init_buttons = __esmMin((() => {
|
|
|
24467
24512
|
init_constants$2();
|
|
24468
24513
|
init_presets();
|
|
24469
24514
|
init_styles();
|
|
24515
|
+
init_styles();
|
|
24470
24516
|
}));
|
|
24471
24517
|
//#endregion
|
|
24472
24518
|
//#region ../theme-core/src/cards/types.ts
|
|
@@ -80775,6 +80821,26 @@ z$1.object({
|
|
|
80775
80821
|
mode: z$1.enum(["apply", "preview"]).optional()
|
|
80776
80822
|
}).strict();
|
|
80777
80823
|
//#endregion
|
|
80824
|
+
//#region ../api/src/sdkThemeWire.ts
|
|
80825
|
+
init_schema();
|
|
80826
|
+
/**
|
|
80827
|
+
* Validate a wire value without replacing it with the schema's parsed output.
|
|
80828
|
+
* The returned type is deliberately the schema input, not its canonical output.
|
|
80829
|
+
*/
|
|
80830
|
+
function losslessValidatedSchema(schema) {
|
|
80831
|
+
return z$1.unknown().superRefine((value, ctx) => {
|
|
80832
|
+
const parsed = schema.safeParse(value);
|
|
80833
|
+
if (parsed.success) return;
|
|
80834
|
+
for (const issue of parsed.error.issues) ctx.addIssue({
|
|
80835
|
+
code: "custom",
|
|
80836
|
+
path: issue.path,
|
|
80837
|
+
message: issue.message,
|
|
80838
|
+
params: { validationCode: issue.code }
|
|
80839
|
+
});
|
|
80840
|
+
}).transform((value) => value);
|
|
80841
|
+
}
|
|
80842
|
+
losslessValidatedSchema(themeSchema);
|
|
80843
|
+
//#endregion
|
|
80778
80844
|
//#region ../api/src/siteOnboarding.ts
|
|
80779
80845
|
const LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS = { configure_appointments: {
|
|
80780
80846
|
requirementId: "configure_appointments",
|
|
@@ -160259,7 +160325,7 @@ var SimpleCache = class {
|
|
|
160259
160325
|
* 1. This constant
|
|
160260
160326
|
* 2. The "version" field in package.json
|
|
160261
160327
|
*/
|
|
160262
|
-
const SDK_VERSION = "0.129.
|
|
160328
|
+
const SDK_VERSION = "0.129.1";
|
|
160263
160329
|
//#endregion
|
|
160264
160330
|
//#region src/client/error.ts
|
|
160265
160331
|
let _Symbol$for;
|