@wildo-ai/saas-frontend-lib 1.1.16 → 1.1.18
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/LICENSE +114 -26
- package/LICENSE.enterprise +129 -0
- package/dist/esm/companion-exports.d.ts +5 -2
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +4 -2
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/components/actions/action-bar.d.ts +16 -1
- package/dist/esm/components/actions/action-bar.d.ts.map +1 -1
- package/dist/esm/components/actions/action-bar.js.map +1 -1
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts.map +1 -1
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js +6 -14
- package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js.map +1 -1
- package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts.map +1 -1
- package/dist/esm/components/app/AppLayout_DecisionInbox.js +2 -4
- package/dist/esm/components/app/AppLayout_DecisionInbox.js.map +1 -1
- package/dist/esm/components/app/AppLayout_Home.d.ts.map +1 -1
- package/dist/esm/components/app/AppLayout_Home.js +14 -7
- package/dist/esm/components/app/AppLayout_Home.js.map +1 -1
- package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts +13 -0
- package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts.map +1 -0
- package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js +16 -0
- package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js.map +1 -0
- package/dist/esm/components/app/DecisionInboxSection.d.ts +10 -0
- package/dist/esm/components/app/DecisionInboxSection.d.ts.map +1 -0
- package/dist/esm/components/app/DecisionInboxSection.js +15 -0
- package/dist/esm/components/app/DecisionInboxSection.js.map +1 -0
- package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts +13 -0
- package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts.map +1 -0
- package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js +28 -0
- package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js.map +1 -0
- package/dist/esm/components/app/IdentityPortalPage_Home.d.ts +10 -0
- package/dist/esm/components/app/IdentityPortalPage_Home.d.ts.map +1 -0
- package/dist/esm/components/app/IdentityPortalPage_Home.js +40 -0
- package/dist/esm/components/app/IdentityPortalPage_Home.js.map +1 -0
- package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts +16 -0
- package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts.map +1 -0
- package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js +41 -0
- package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js.map +1 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts +15 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js +268 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js.map +1 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts +3 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js +35 -0
- package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js.map +1 -0
- package/dist/esm/components/auth/Auth_Main.d.ts.map +1 -1
- package/dist/esm/components/auth/Auth_Main.js +5 -0
- package/dist/esm/components/auth/Auth_Main.js.map +1 -1
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts +19 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js +156 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js.map +1 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts +3 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts.map +1 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js +107 -0
- package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js.map +1 -0
- package/dist/esm/components/auth/StepUpAuthDialog.d.ts +31 -10
- package/dist/esm/components/auth/StepUpAuthDialog.d.ts.map +1 -1
- package/dist/esm/components/auth/StepUpAuthDialog.js +81 -17
- package/dist/esm/components/auth/StepUpAuthDialog.js.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.d.ts.map +1 -1
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js +19 -0
- package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js.map +1 -1
- package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts +11 -0
- package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts.map +1 -0
- package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js +25 -0
- package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js.map +1 -0
- package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts +11 -0
- package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts.map +1 -0
- package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js +25 -0
- package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js.map +1 -0
- package/dist/esm/components/billing/billing-pricing-table.d.ts.map +1 -1
- package/dist/esm/components/billing/billing-pricing-table.js +40 -7
- package/dist/esm/components/billing/billing-pricing-table.js.map +1 -1
- package/dist/esm/components/billing/billing-subscription-status.d.ts.map +1 -1
- package/dist/esm/components/billing/billing-subscription-status.js +9 -1
- package/dist/esm/components/billing/billing-subscription-status.js.map +1 -1
- package/dist/esm/components/billing/billing-usage-dashboard.d.ts.map +1 -1
- package/dist/esm/components/billing/billing-usage-dashboard.js +3 -2
- package/dist/esm/components/billing/billing-usage-dashboard.js.map +1 -1
- package/dist/esm/components/compliance/EmbeddedSigningFrame.d.ts.map +1 -1
- package/dist/esm/components/compliance/EmbeddedSigningFrame.js +17 -6
- package/dist/esm/components/compliance/EmbeddedSigningFrame.js.map +1 -1
- package/dist/esm/components/data-display/AutomaticDisplayer.d.ts.map +1 -1
- package/dist/esm/components/data-display/AutomaticDisplayer.js +7 -2
- package/dist/esm/components/data-display/AutomaticDisplayer.js.map +1 -1
- package/dist/esm/components/data-display/DisplayField.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayField.js +67 -45
- package/dist/esm/components/data-display/DisplayField.js.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditable.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayFieldEditable.js +4 -1
- package/dist/esm/components/data-display/DisplayFieldEditable.js.map +1 -1
- package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts.map +1 -1
- package/dist/esm/components/data-display/DisplayValueDispatcher.js +16 -6
- package/dist/esm/components/data-display/DisplayValueDispatcher.js.map +1 -1
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.d.ts.map +1 -1
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js +3 -1
- package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js.map +1 -1
- package/dist/esm/components/data-display/approval-seal.d.ts +7 -5
- package/dist/esm/components/data-display/approval-seal.d.ts.map +1 -1
- package/dist/esm/components/data-display/approval-seal.js +10 -4
- package/dist/esm/components/data-display/approval-seal.js.map +1 -1
- package/dist/esm/components/data-display/signature-requests.d.ts +81 -0
- package/dist/esm/components/data-display/signature-requests.d.ts.map +1 -0
- package/dist/esm/components/data-display/signature-requests.js +123 -0
- package/dist/esm/components/data-display/signature-requests.js.map +1 -0
- package/dist/esm/components/feedback/empty-state-marker.d.ts +16 -0
- package/dist/esm/components/feedback/empty-state-marker.d.ts.map +1 -0
- package/dist/esm/components/feedback/empty-state-marker.js +16 -0
- package/dist/esm/components/feedback/empty-state-marker.js.map +1 -0
- package/dist/esm/components/feedback/empty-state.d.ts.map +1 -1
- package/dist/esm/components/feedback/empty-state.js +2 -1
- package/dist/esm/components/feedback/empty-state.js.map +1 -1
- package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts +7 -1
- package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts.map +1 -1
- package/dist/esm/components/feedback/features/feature-unavailable-prompt.js +8 -2
- package/dist/esm/components/feedback/features/feature-unavailable-prompt.js.map +1 -1
- package/dist/esm/components/feedback/resource-empty-state.d.ts.map +1 -1
- package/dist/esm/components/feedback/resource-empty-state.js +2 -1
- package/dist/esm/components/feedback/resource-empty-state.js.map +1 -1
- package/dist/esm/components/flows-actors/approval.d.ts +25 -1
- package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/approval.js +22 -24
- package/dist/esm/components/flows-actors/approval.js.map +1 -1
- package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/approval.labels.js +30 -0
- package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-node.labels.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-node.labels.js +4 -1
- package/dist/esm/components/flows-actors/flow-node.labels.js.map +1 -1
- package/dist/esm/components/flows-actors/flow-step-visuals.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/flow-step-visuals.js +8 -2
- package/dist/esm/components/flows-actors/flow-step-visuals.js.map +1 -1
- package/dist/esm/components/flows-actors/human-decision-form.d.ts.map +1 -1
- package/dist/esm/components/flows-actors/human-decision-form.js +4 -1
- package/dist/esm/components/flows-actors/human-decision-form.js.map +1 -1
- package/dist/esm/components/form/Form.d.ts +2 -0
- package/dist/esm/components/form/Form.d.ts.map +1 -1
- package/dist/esm/components/form/Form.js +1 -0
- package/dist/esm/components/form/Form.js.map +1 -1
- package/dist/esm/components/form/automated/AutomatedArrayField.d.ts.map +1 -1
- package/dist/esm/components/form/automated/AutomatedArrayField.js +7 -4
- package/dist/esm/components/form/automated/AutomatedArrayField.js.map +1 -1
- package/dist/esm/components/form/automated/AutosaveContext.d.ts.map +1 -1
- package/dist/esm/components/form/automated/AutosaveContext.js +8 -0
- package/dist/esm/components/form/automated/AutosaveContext.js.map +1 -1
- package/dist/esm/components/form/automated/FormField.d.ts +5 -3
- package/dist/esm/components/form/automated/FormField.d.ts.map +1 -1
- package/dist/esm/components/form/automated/FormField.js +38 -13
- package/dist/esm/components/form/automated/FormField.js.map +1 -1
- package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts +1 -1
- package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
- package/dist/esm/components/form/automated/ResourceAutomatedForm.js +75 -47
- package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
- package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.d.ts +1 -1
- package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js +1 -1
- package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js.map +1 -1
- package/dist/esm/components/form/validation-errors/form-validation.d.ts +5 -7
- package/dist/esm/components/form/validation-errors/form-validation.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/form-validation.js +7 -22
- package/dist/esm/components/form/validation-errors/form-validation.js.map +1 -1
- package/dist/esm/components/form/validation-errors/getFieldError.d.ts +25 -2
- package/dist/esm/components/form/validation-errors/getFieldError.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/getFieldError.js +29 -2
- package/dist/esm/components/form/validation-errors/getFieldError.js.map +1 -1
- package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts +5 -0
- package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js +3 -0
- package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js.map +1 -1
- package/dist/esm/components/form/validation-errors/save-attempt.d.ts +9 -0
- package/dist/esm/components/form/validation-errors/save-attempt.d.ts.map +1 -0
- package/dist/esm/components/form/validation-errors/save-attempt.js +42 -0
- package/dist/esm/components/form/validation-errors/save-attempt.js.map +1 -0
- package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts +3 -1
- package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/unstarted-field-visit.js +3 -1
- package/dist/esm/components/form/validation-errors/unstarted-field-visit.js.map +1 -1
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts +2 -2
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts.map +1 -1
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js +3 -0
- package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js.map +1 -1
- package/dist/esm/components/navigation/NavigationItemBadge.d.ts +16 -0
- package/dist/esm/components/navigation/NavigationItemBadge.d.ts.map +1 -1
- package/dist/esm/components/navigation/NavigationItemBadge.js +14 -2
- package/dist/esm/components/navigation/NavigationItemBadge.js.map +1 -1
- package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.d.ts +3 -3
- package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js +3 -3
- package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js.map +1 -1
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts +5 -13
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +30 -255
- package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts +22 -1
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +57 -26
- package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts +1 -1
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js +40 -4
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts +1 -1
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +26 -4
- package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
- package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts +31 -0
- package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts.map +1 -0
- package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js +42 -0
- package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js.map +1 -0
- package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts +76 -0
- package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts.map +1 -0
- package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js +268 -0
- package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js.map +1 -0
- package/dist/esm/components/navigation/command.d.ts +5 -0
- package/dist/esm/components/navigation/command.d.ts.map +1 -1
- package/dist/esm/components/navigation/command.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts +19 -0
- package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_DangerZone.js +51 -12
- package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +21 -7
- package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_List.js +17 -7
- package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts +1 -1
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +4 -1
- package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Search.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceLayout_Search.js +12 -8
- package/dist/esm/components/resources/ResourceLayout_Search.js.map +1 -1
- package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts +1 -1
- package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts.map +1 -1
- package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js +11 -4
- package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js.map +1 -1
- package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.d.ts.map +1 -1
- package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js +4 -1
- package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js.map +1 -1
- package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.d.ts.map +1 -1
- package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js +4 -1
- package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js.map +1 -1
- package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.d.ts.map +1 -1
- package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js +4 -1
- package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js.map +1 -1
- package/dist/esm/components/resources/embeds/RelatedResourceSections.d.ts +1 -1
- package/dist/esm/components/resources/embeds/RelatedResourceSections.js.map +1 -1
- package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts +5 -5
- package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts.map +1 -1
- package/dist/esm/components/resources/embeds/ResourceEmbeds.js +21 -14
- package/dist/esm/components/resources/embeds/ResourceEmbeds.js.map +1 -1
- package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/DisplayLayout.js +40 -4
- package/dist/esm/components/resources/skeleton/DisplayLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/FormLayout.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/FormLayout.js +22 -6
- package/dist/esm/components/resources/skeleton/FormLayout.js.map +1 -1
- package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/Group.js +4 -1
- package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts +1 -1
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js +1 -1
- package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js.map +1 -1
- package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts +21 -1
- package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts.map +1 -1
- package/dist/esm/components/resources/skeleton/SectionFieldsContext.js +53 -9
- package/dist/esm/components/resources/skeleton/SectionFieldsContext.js.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
- package/dist/esm/components/sections/ContentSectionContainer.js +11 -7
- package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
- package/dist/esm/components/sections/content-section.d.ts +1 -3
- package/dist/esm/components/sections/content-section.d.ts.map +1 -1
- package/dist/esm/components/sections/content-section.js.map +1 -1
- package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_AgentActivitySettings.js +2 -1
- package/dist/esm/components/settings/AppPage_AgentActivitySettings.js.map +1 -1
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +12 -0
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +28 -6
- package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
- package/dist/esm/components/settings/SettingsHub.d.ts +15 -0
- package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
- package/dist/esm/components/settings/SettingsHub.js +14 -4
- package/dist/esm/components/settings/SettingsHub.js.map +1 -1
- package/dist/esm/components/typography/document-heading-level.d.ts +28 -0
- package/dist/esm/components/typography/document-heading-level.d.ts.map +1 -0
- package/dist/esm/components/typography/document-heading-level.js +63 -0
- package/dist/esm/components/typography/document-heading-level.js.map +1 -0
- package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts +3 -2
- package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts.map +1 -1
- package/dist/esm/components/views/chart-dashboard/ChartDashboard.js +4 -3
- package/dist/esm/components/views/chart-dashboard/ChartDashboard.js.map +1 -1
- package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts +1 -1
- package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts.map +1 -1
- package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts +33 -0
- package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/ChartKpiFigure.js +63 -4
- package/dist/esm/components/views/chart-view/ChartKpiFigure.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.js +52 -22
- package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.labels.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.labels.js +76 -3
- package/dist/esm/components/views/chart-view/ChartView.labels.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.lazy.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/ChartView.lazy.js +2 -1
- package/dist/esm/components/views/chart-view/ChartView.lazy.js.map +1 -1
- package/dist/esm/components/views/chart-view/ChartWidget.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/ChartWidget.js +12 -4
- package/dist/esm/components/views/chart-view/ChartWidget.js.map +1 -1
- package/dist/esm/components/views/chart-view/chart-export.utils.d.ts +8 -0
- package/dist/esm/components/views/chart-view/chart-export.utils.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/chart-export.utils.js +15 -25
- package/dist/esm/components/views/chart-view/chart-export.utils.js.map +1 -1
- package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts +6 -0
- package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts.map +1 -0
- package/dist/esm/components/views/chart-view/chart-view-defaults.js +6 -0
- package/dist/esm/components/views/chart-view/chart-view-defaults.js.map +1 -0
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +47 -12
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +87 -32
- package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +8 -8
- package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js +7 -3
- package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js +6 -2
- package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js +8 -2
- package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js +13 -9
- package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +9 -8
- package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js +2 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js +10 -11
- package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js +2 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js +5 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js +7 -3
- package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js +13 -13
- package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js.map +1 -1
- package/dist/esm/components/views/chart-view/useResourceChartData.d.ts +1 -1
- package/dist/esm/components/views/chart-view/useResourceChartData.js +1 -1
- package/dist/esm/components/views/chart-view/useResourceChartData.js.map +1 -1
- package/dist/esm/components/views/composite-view/CompositeView.d.ts +6 -0
- package/dist/esm/components/views/composite-view/CompositeView.d.ts.map +1 -1
- package/dist/esm/components/views/composite-view/CompositeView.js +6 -2
- package/dist/esm/components/views/composite-view/CompositeView.js.map +1 -1
- package/dist/esm/components/views/execution-view/ExecutionView.d.ts +7 -0
- package/dist/esm/components/views/execution-view/ExecutionView.d.ts.map +1 -1
- package/dist/esm/components/views/execution-view/ExecutionView.js +11 -1
- package/dist/esm/components/views/execution-view/ExecutionView.js.map +1 -1
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +7 -0
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +6 -2
- package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
- package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts +7 -0
- package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts.map +1 -1
- package/dist/esm/components/views/full-custom-view/FullCustomView.js +8 -3
- package/dist/esm/components/views/full-custom-view/FullCustomView.js.map +1 -1
- package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts +7 -0
- package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts.map +1 -1
- package/dist/esm/components/views/onboarding-view/OnboardingView.js +11 -1
- package/dist/esm/components/views/onboarding-view/OnboardingView.js.map +1 -1
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.d.ts +2 -2
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.js +2 -2
- package/dist/esm/core/app-shell/AppShellBuildingBlocks.js.map +1 -1
- package/dist/esm/core/app-shell/app-shell.schemas.d.ts +87 -16
- package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
- package/dist/esm/core/app-shell/app-shell.schemas.js +16 -0
- package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts +4 -4
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js +3 -3
- package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js.map +1 -1
- package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts +45 -0
- package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts.map +1 -0
- package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js +72 -0
- package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js.map +1 -0
- package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts +4 -3
- package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js +4 -3
- package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js.map +1 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts +15 -8
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js +22 -21
- package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js.map +1 -1
- package/dist/esm/core/billing/BillingContext.d.ts +27 -4
- package/dist/esm/core/billing/BillingContext.d.ts.map +1 -1
- package/dist/esm/core/billing/BillingContext.js +61 -2
- package/dist/esm/core/billing/BillingContext.js.map +1 -1
- package/dist/esm/core/billing/useBillingAction.d.ts.map +1 -1
- package/dist/esm/core/billing/useBillingAction.js +3 -2
- package/dist/esm/core/billing/useBillingAction.js.map +1 -1
- package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts +19 -0
- package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts.map +1 -0
- package/dist/esm/core/components-registry/RegisteredComponentRoot.js +23 -0
- package/dist/esm/core/components-registry/RegisteredComponentRoot.js.map +1 -0
- package/dist/esm/core/components-registry/register-framework-layouts.d.ts.map +1 -1
- package/dist/esm/core/components-registry/register-framework-layouts.js +4 -0
- package/dist/esm/core/components-registry/register-framework-layouts.js.map +1 -1
- package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts +159 -0
- package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/app-configuration-frontend.schemas.js +68 -3
- package/dist/esm/core/config/app-configuration-frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts +2 -2
- package/dist/esm/core/config/app-level-components.frontend.schemas.js +2 -2
- package/dist/esm/core/config/app-level-components.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/chart-view.frontend.schemas.d.ts +59 -18
- package/dist/esm/core/config/chart-view.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/chart-view.frontend.schemas.js +42 -7
- package/dist/esm/core/config/chart-view.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/composite-view.schemas.d.ts +8 -1
- package/dist/esm/core/config/composite-view.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/composite-view.schemas.js +1 -0
- package/dist/esm/core/config/composite-view.schemas.js.map +1 -1
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts +1 -1
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js +1 -1
- package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js.map +1 -1
- package/dist/esm/core/config/engine-settings-destinations.d.ts +6 -0
- package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
- package/dist/esm/core/config/engine-settings-destinations.js +12 -0
- package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
- package/dist/esm/core/config/execution-view.schemas.d.ts +1 -1
- package/dist/esm/core/config/execution-view.schemas.js.map +1 -1
- package/dist/esm/core/config/identity-portal-settings.frontend.d.ts +17 -0
- package/dist/esm/core/config/identity-portal-settings.frontend.d.ts.map +1 -0
- package/dist/esm/core/config/identity-portal-settings.frontend.js +64 -0
- package/dist/esm/core/config/identity-portal-settings.frontend.js.map +1 -0
- package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts +8 -8
- package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/launcher-items.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts +1 -1
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.js +1 -1
- package/dist/esm/core/config/settings-hub-gating.frontend.utils.js.map +1 -1
- package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +17 -6
- package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
- package/dist/esm/core/config/useSettingsHubConfig.d.ts.map +1 -1
- package/dist/esm/core/config/useSettingsHubConfig.js +1 -0
- package/dist/esm/core/config/useSettingsHubConfig.js.map +1 -1
- package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts +7 -0
- package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts.map +1 -1
- package/dist/esm/core/config/useVisibleSettingsHubConfig.js +9 -1
- package/dist/esm/core/config/useVisibleSettingsHubConfig.js.map +1 -1
- package/dist/esm/core/config/verify-launcher-content.d.ts +7 -1
- package/dist/esm/core/config/verify-launcher-content.d.ts.map +1 -1
- package/dist/esm/core/config/verify-launcher-content.js +31 -0
- package/dist/esm/core/config/verify-launcher-content.js.map +1 -1
- package/dist/esm/core/errors/GlobalErrorHandler.d.ts.map +1 -1
- package/dist/esm/core/errors/GlobalErrorHandler.js +10 -0
- package/dist/esm/core/errors/GlobalErrorHandler.js.map +1 -1
- package/dist/esm/core/errors/backend-refusal.frontend.d.ts +1 -1
- package/dist/esm/core/errors/backend-refusal.frontend.d.ts.map +1 -1
- package/dist/esm/core/errors/backend-refusal.frontend.js.map +1 -1
- package/dist/esm/core/events/NotificationContext.d.ts.map +1 -1
- package/dist/esm/core/events/NotificationContext.js +19 -2
- package/dist/esm/core/events/NotificationContext.js.map +1 -1
- package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts +21 -2
- package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/events/notification-display-policy.frontend.schemas.js +25 -4
- package/dist/esm/core/events/notification-display-policy.frontend.schemas.js.map +1 -1
- package/dist/esm/core/execution/useExecution.d.ts +3 -3
- package/dist/esm/core/execution/useExecution.js.map +1 -1
- package/dist/esm/core/external-providers/ConsentBasedProviderSdks.d.ts +1 -1
- package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js +1 -1
- package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js.map +1 -1
- package/dist/esm/core/features/FeatureGate.d.ts +13 -1
- package/dist/esm/core/features/FeatureGate.d.ts.map +1 -1
- package/dist/esm/core/features/FeatureGate.js +6 -1
- package/dist/esm/core/features/FeatureGate.js.map +1 -1
- package/dist/esm/core/features/InPlaceFeatureLock.d.ts +28 -0
- package/dist/esm/core/features/InPlaceFeatureLock.d.ts.map +1 -0
- package/dist/esm/core/features/InPlaceFeatureLock.js +49 -0
- package/dist/esm/core/features/InPlaceFeatureLock.js.map +1 -0
- package/dist/esm/core/features/PlanRefusalPrompt.d.ts +12 -0
- package/dist/esm/core/features/PlanRefusalPrompt.d.ts.map +1 -0
- package/dist/esm/core/features/PlanRefusalPrompt.js +90 -0
- package/dist/esm/core/features/PlanRefusalPrompt.js.map +1 -0
- package/dist/esm/core/features/RequiredFeaturesGate.d.ts +39 -0
- package/dist/esm/core/features/RequiredFeaturesGate.d.ts.map +1 -0
- package/dist/esm/core/features/RequiredFeaturesGate.js +51 -0
- package/dist/esm/core/features/RequiredFeaturesGate.js.map +1 -0
- package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts +6 -0
- package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/features/feature-unavailability.frontend.utils.js +27 -10
- package/dist/esm/core/features/feature-unavailability.frontend.utils.js.map +1 -1
- package/dist/esm/core/features/plan-refusal.frontend.d.ts +43 -0
- package/dist/esm/core/features/plan-refusal.frontend.d.ts.map +1 -0
- package/dist/esm/core/features/plan-refusal.frontend.js +67 -0
- package/dist/esm/core/features/plan-refusal.frontend.js.map +1 -0
- package/dist/esm/core/features/required-features-gate-presentation.d.ts +21 -0
- package/dist/esm/core/features/required-features-gate-presentation.d.ts.map +1 -0
- package/dist/esm/core/features/required-features-gate-presentation.js +26 -0
- package/dist/esm/core/features/required-features-gate-presentation.js.map +1 -0
- package/dist/esm/core/features/useFeatureAvailability.d.ts.map +1 -1
- package/dist/esm/core/features/useFeatureAvailability.js +4 -0
- package/dist/esm/core/features/useFeatureAvailability.js.map +1 -1
- package/dist/esm/core/features/useOperationFeatureAvailability.d.ts +2 -0
- package/dist/esm/core/features/useOperationFeatureAvailability.d.ts.map +1 -1
- package/dist/esm/core/features/useOperationFeatureAvailability.js +6 -1
- package/dist/esm/core/features/useOperationFeatureAvailability.js.map +1 -1
- package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +11 -0
- package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
- package/dist/esm/core/flows-actors/FlowsActorsContext.js +117 -3
- package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
- package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.d.ts.map +1 -1
- package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js +3 -1
- package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js.map +1 -1
- package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
- package/dist/esm/core/navigation/NavigationContentAreas.js +28 -9
- package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
- package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.d.ts → core/navigation/chart-read-gate.d.ts} +11 -7
- package/dist/esm/core/navigation/chart-read-gate.d.ts.map +1 -0
- package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.js → core/navigation/chart-read-gate.js} +27 -11
- package/dist/esm/core/navigation/chart-read-gate.js.map +1 -0
- package/dist/esm/core/navigation/home-resolution.d.ts +36 -0
- package/dist/esm/core/navigation/home-resolution.d.ts.map +1 -0
- package/dist/esm/core/navigation/home-resolution.js +46 -0
- package/dist/esm/core/navigation/home-resolution.js.map +1 -0
- package/dist/esm/core/navigation/launcher-resolution.d.ts +2 -34
- package/dist/esm/core/navigation/launcher-resolution.d.ts.map +1 -1
- package/dist/esm/core/navigation/launcher-resolution.js +13 -18
- package/dist/esm/core/navigation/launcher-resolution.js.map +1 -1
- package/dist/esm/core/navigation/launcher-runtime-availability.d.ts +1 -1
- package/dist/esm/core/navigation/launcher-runtime-availability.d.ts.map +1 -1
- package/dist/esm/core/navigation/launcher-runtime-availability.js +7 -2
- package/dist/esm/core/navigation/launcher-runtime-availability.js.map +1 -1
- package/dist/esm/core/navigation/primary-destination-layout.d.ts +2 -2
- package/dist/esm/core/navigation/primary-destination-layout.d.ts.map +1 -1
- package/dist/esm/core/navigation/primary-destination-layout.js +1 -1
- package/dist/esm/core/navigation/primary-destination-layout.js.map +1 -1
- package/dist/esm/core/navigation/useChartReadDecision.d.ts +26 -0
- package/dist/esm/core/navigation/useChartReadDecision.d.ts.map +1 -0
- package/dist/esm/core/navigation/useChartReadDecision.js +58 -0
- package/dist/esm/core/navigation/useChartReadDecision.js.map +1 -0
- package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts +1 -1
- package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts.map +1 -1
- package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.js.map +1 -1
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts +1 -1
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts.map +1 -1
- package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js.map +1 -1
- package/dist/esm/core/navigation/view-title-resolution.d.ts +21 -0
- package/dist/esm/core/navigation/view-title-resolution.d.ts.map +1 -1
- package/dist/esm/core/navigation/view-title-resolution.js +25 -0
- package/dist/esm/core/navigation/view-title-resolution.js.map +1 -1
- package/dist/esm/core/navigation/viewer-field-reader.d.ts +81 -0
- package/dist/esm/core/navigation/viewer-field-reader.d.ts.map +1 -0
- package/dist/esm/core/navigation/viewer-field-reader.js +113 -0
- package/dist/esm/core/navigation/viewer-field-reader.js.map +1 -0
- package/dist/esm/core/navigation/viewer-roles.d.ts +40 -0
- package/dist/esm/core/navigation/viewer-roles.d.ts.map +1 -0
- package/dist/esm/core/navigation/viewer-roles.js +26 -0
- package/dist/esm/core/navigation/viewer-roles.js.map +1 -0
- package/dist/esm/core/requests/user-interaction-clock.d.ts +32 -0
- package/dist/esm/core/requests/user-interaction-clock.d.ts.map +1 -0
- package/dist/esm/core/requests/user-interaction-clock.js +47 -0
- package/dist/esm/core/requests/user-interaction-clock.js.map +1 -0
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.d.ts.map +1 -1
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.js +2 -0
- package/dist/esm/core/requests/websockets/WebSocketEventBridge.js.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +66 -10
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +63 -8
- package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
- package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/requests/wildo-http-client.frontend.service.js +13 -0
- package/dist/esm/core/requests/wildo-http-client.frontend.service.js.map +1 -1
- package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
- package/dist/esm/core/resources/hooks/useOperationEnabled.js +45 -3
- package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts +1 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts.map +1 -1
- package/dist/esm/core/resources/resource-addressability.frontend.utils.js.map +1 -1
- package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-repository.frontend.service.js +2 -0
- package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
- package/dist/esm/core/resources/resources.frontend.schemas.d.ts +29 -23
- package/dist/esm/core/resources/resources.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/resources/resources.frontend.schemas.js +20 -20
- package/dist/esm/core/resources/resources.frontend.schemas.js.map +1 -1
- package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts.map +1 -1
- package/dist/esm/core/resources/rmm/ResourceMutationManager.js +4 -0
- package/dist/esm/core/resources/rmm/ResourceMutationManager.js.map +1 -1
- package/dist/esm/core/resources/useResourceOperationActions.d.ts.map +1 -1
- package/dist/esm/core/resources/useResourceOperationActions.js +7 -7
- package/dist/esm/core/resources/useResourceOperationActions.js.map +1 -1
- package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
- package/dist/esm/core/runtime/AppRouter.js +11 -33
- package/dist/esm/core/runtime/AppRouter.js.map +1 -1
- package/dist/esm/core/runtime/ApplicationMainContext.d.ts +15 -1
- package/dist/esm/core/runtime/ApplicationMainContext.d.ts.map +1 -1
- package/dist/esm/core/runtime/ApplicationMainContext.js +41 -23
- package/dist/esm/core/runtime/ApplicationMainContext.js.map +1 -1
- package/dist/esm/core/runtime/IdentityPortalRouter.d.ts +20 -0
- package/dist/esm/core/runtime/IdentityPortalRouter.d.ts.map +1 -0
- package/dist/esm/core/runtime/IdentityPortalRouter.js +31 -0
- package/dist/esm/core/runtime/IdentityPortalRouter.js.map +1 -0
- package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts +9 -0
- package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts.map +1 -1
- package/dist/esm/core/runtime/domain-module.frontend.definitions.js +3 -2
- package/dist/esm/core/runtime/domain-module.frontend.definitions.js.map +1 -1
- package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts +21 -0
- package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts.map +1 -1
- package/dist/esm/core/runtime/frontend-companion-resource-inputs.js +19 -1
- package/dist/esm/core/runtime/frontend-companion-resource-inputs.js.map +1 -1
- package/dist/esm/core/runtime/identity-routes.d.ts +13 -0
- package/dist/esm/core/runtime/identity-routes.d.ts.map +1 -0
- package/dist/esm/core/runtime/identity-routes.js +50 -0
- package/dist/esm/core/runtime/identity-routes.js.map +1 -0
- package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +19 -0
- package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
- package/dist/esm/core/runtime/routes.frontend.definitions.js +20 -1
- package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
- package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts +3 -1
- package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/core/runtime/runtime.frontend.schemas.js +2 -0
- package/dist/esm/core/runtime/runtime.frontend.schemas.js.map +1 -1
- package/dist/esm/core/runtime/start-application.frontend.service.d.ts +7 -0
- package/dist/esm/core/runtime/start-application.frontend.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/start-application.frontend.service.js +4 -2
- package/dist/esm/core/runtime/start-application.frontend.service.js.map +1 -1
- package/dist/esm/core/search/command-score.d.ts +33 -0
- package/dist/esm/core/search/command-score.d.ts.map +1 -0
- package/dist/esm/core/search/command-score.js +109 -0
- package/dist/esm/core/search/command-score.js.map +1 -0
- package/dist/esm/core/security/AuthSessionContext.d.ts.map +1 -1
- package/dist/esm/core/security/AuthSessionContext.js +4 -0
- package/dist/esm/core/security/AuthSessionContext.js.map +1 -1
- package/dist/esm/core/security/StepUpAuthContext.d.ts +3 -2
- package/dist/esm/core/security/StepUpAuthContext.d.ts.map +1 -1
- package/dist/esm/core/security/StepUpAuthContext.js +7 -2
- package/dist/esm/core/security/StepUpAuthContext.js.map +1 -1
- package/dist/esm/core/security/federated-reauthentication.frontend.d.ts +13 -2
- package/dist/esm/core/security/federated-reauthentication.frontend.d.ts.map +1 -1
- package/dist/esm/core/security/federated-reauthentication.frontend.js +21 -1
- package/dist/esm/core/security/federated-reauthentication.frontend.js.map +1 -1
- package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts +24 -0
- package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts.map +1 -0
- package/dist/esm/core/security/useAuthenticatedRouteEntry.js +37 -0
- package/dist/esm/core/security/useAuthenticatedRouteEntry.js.map +1 -0
- package/dist/esm/core/ui/design-token.utils.d.ts +9 -0
- package/dist/esm/core/ui/design-token.utils.d.ts.map +1 -1
- package/dist/esm/core/ui/design-token.utils.js +24 -3
- package/dist/esm/core/ui/design-token.utils.js.map +1 -1
- package/dist/esm/core/ui/themes/focus-indicator.d.ts +1 -1
- package/dist/esm/core/ui/themes/focus-indicator.js +1 -1
- package/dist/esm/core/ui/themes/focus-indicator.js.map +1 -1
- package/dist/esm/core/ui/ui.frontend.schemas.d.ts.map +1 -1
- package/dist/esm/index.d.ts +19 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +22 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/testing/mock-builders.d.ts +1 -1
- package/dist/esm/testing/mock-builders.d.ts.map +1 -1
- package/dist/esm/testing/mock-builders.js +1 -0
- package/dist/esm/testing/mock-builders.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +9 -6
- package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.d.ts.map +0 -1
- package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Route, Routes } from 'react-router';
|
|
3
|
+
import { AppPage_SecuritySettings } from '../../components/auth/admin-config/AppPage_SecuritySettings.js';
|
|
4
|
+
import { DecisionInboxSection } from '../../components/app/DecisionInboxSection.js';
|
|
5
|
+
import { IdentityPortalLayout_AuthenticatedRoute } from '../../components/app/IdentityPortalLayout_AuthenticatedRoute.js';
|
|
6
|
+
import { IdentityPortalPage_Home } from '../../components/app/IdentityPortalPage_Home.js';
|
|
7
|
+
import { IdentityPortalPage_SettingsDestination } from '../../components/app/IdentityPortalPage_SettingsDestination.js';
|
|
8
|
+
import { RouterErrorBoundary } from '../../core/errors/RouterErrorBoundary.js';
|
|
9
|
+
import { identityRouteElements } from './identity-routes.js';
|
|
10
|
+
import { CommonRoutePaths } from './routes.frontend.definitions.js';
|
|
11
|
+
/**
|
|
12
|
+
* The router of the runtime mounted as an identity portal (`AppFrontendSurface.IDENTITY_PORTAL`): the surface of an
|
|
13
|
+
* application whose product is not a browser application.
|
|
14
|
+
*
|
|
15
|
+
* It mounts the public identity routes the product mounts (`identityRouteElements()`, the one definition both use) and
|
|
16
|
+
* a few signed-in pages under the portal's slim shell, and nothing else: no resource, view or chart route and no
|
|
17
|
+
* Settings Hub, so a product path answers the not-found page here.
|
|
18
|
+
*
|
|
19
|
+
* - `/` is the portal home, so every default landing reaches it.
|
|
20
|
+
* - `/decisions` is the decision inbox, the same component the product renders, without the product's views around it.
|
|
21
|
+
* - `/settings/security` is the account-security page, the same component the Settings Hub renders for its Security
|
|
22
|
+
* section, at the path emails already link to.
|
|
23
|
+
* - `/settings/<destination>` (and its sub-tab) is one of the hub's destinations the portal mounts
|
|
24
|
+
* (`IDENTITY_PORTAL_SETTINGS_DESTINATIONS`: a member's invitations and chat accounts, the administration of OAuth
|
|
25
|
+
* clients, chat and agents), rendered by the hub's own renderer and gated by the hub's own checks. Any other
|
|
26
|
+
* destination, or one the person may not open, answers the not-found page.
|
|
27
|
+
*/
|
|
28
|
+
export function IdentityPortalRouter() {
|
|
29
|
+
return (_jsxs(Routes, { children: [identityRouteElements(), _jsxs(Route, { element: _jsx(IdentityPortalLayout_AuthenticatedRoute, {}), errorElement: _jsx(RouterErrorBoundary, {}), children: [_jsx(Route, { path: CommonRoutePaths.home, element: _jsx(IdentityPortalPage_Home, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.decisions, element: _jsx(DecisionInboxSection, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.accountSecurity, element: _jsx(AppPage_SecuritySettings, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSection, element: _jsx(IdentityPortalPage_SettingsDestination, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSectionSubTab, element: _jsx(IdentityPortalPage_SettingsDestination, {}), errorElement: _jsx(RouterErrorBoundary, {}) })] }), _jsx(Route, { path: "*", element: _jsx(RouterErrorBoundary, {}) })] }));
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=IdentityPortalRouter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentityPortalRouter.js","sourceRoot":"","sources":["../../../../src/core/runtime/IdentityPortalRouter.tsx"],"names":[],"m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,mBAAmB,KAAG,GAAI,EAC7I,KAAC,KAAK,IAAC,IAAI,EAAE,gBAAgB,CAAC,qBAAqB,EAAE,OAAO,EAAE,KAAC,sCAAsC,KAAG,EAAE,YAAY,EAAE,KAAC,mBAAmB,KAAG,GAAI,IAC7I,EACR,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,KAAC,mBAAmB,KAAG,GAAI,IAC7C,CACV,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { Route, Routes } from 'react-router';\n\nimport { AppPage_SecuritySettings } from '~wildo-frontend-lib/components/auth/admin-config/AppPage_SecuritySettings';\nimport { DecisionInboxSection } from '~wildo-frontend-lib/components/app/DecisionInboxSection';\nimport { IdentityPortalLayout_AuthenticatedRoute } from '~wildo-frontend-lib/components/app/IdentityPortalLayout_AuthenticatedRoute';\nimport { IdentityPortalPage_Home } from '~wildo-frontend-lib/components/app/IdentityPortalPage_Home';\nimport { IdentityPortalPage_SettingsDestination } from '~wildo-frontend-lib/components/app/IdentityPortalPage_SettingsDestination';\nimport { RouterErrorBoundary } from '~wildo-frontend-lib/core/errors/RouterErrorBoundary';\nimport { identityRouteElements } from './identity-routes';\nimport { CommonRoutePaths } from './routes.frontend.definitions';\n\n/**\n * The router of the runtime mounted as an identity portal (`AppFrontendSurface.IDENTITY_PORTAL`): the surface of an\n * application whose product is not a browser application.\n *\n * It mounts the public identity routes the product mounts (`identityRouteElements()`, the one definition both use) and\n * a few signed-in pages under the portal's slim shell, and nothing else: no resource, view or chart route and no\n * Settings Hub, so a product path answers the not-found page here.\n *\n * - `/` is the portal home, so every default landing reaches it.\n * - `/decisions` is the decision inbox, the same component the product renders, without the product's views around it.\n * - `/settings/security` is the account-security page, the same component the Settings Hub renders for its Security\n * section, at the path emails already link to.\n * - `/settings/<destination>` (and its sub-tab) is one of the hub's destinations the portal mounts\n * (`IDENTITY_PORTAL_SETTINGS_DESTINATIONS`: a member's invitations and chat accounts, the administration of OAuth\n * clients, chat and agents), rendered by the hub's own renderer and gated by the hub's own checks. Any other\n * destination, or one the person may not open, answers the not-found page.\n */\nexport function IdentityPortalRouter(): React.JSX.Element {\n return (\n <Routes>\n {identityRouteElements()}\n <Route element={<IdentityPortalLayout_AuthenticatedRoute />} errorElement={<RouterErrorBoundary />}>\n <Route path={CommonRoutePaths.home} element={<IdentityPortalPage_Home />} errorElement={<RouterErrorBoundary />} />\n <Route path={CommonRoutePaths.decisions} element={<DecisionInboxSection />} errorElement={<RouterErrorBoundary />} />\n <Route path={CommonRoutePaths.accountSecurity} element={<AppPage_SecuritySettings />} errorElement={<RouterErrorBoundary />} />\n <Route path={CommonRoutePaths.settingsSection} element={<IdentityPortalPage_SettingsDestination />} errorElement={<RouterErrorBoundary />} />\n <Route path={CommonRoutePaths.settingsSectionSubTab} element={<IdentityPortalPage_SettingsDestination />} errorElement={<RouterErrorBoundary />} />\n </Route>\n <Route path=\"*\" element={<RouterErrorBoundary />} />\n </Routes>\n );\n}\n"]}
|
|
@@ -75,6 +75,13 @@ export interface FrontendModuleRegistry {
|
|
|
75
75
|
flowsActorsViews: NonNullable<FrontendModule['flowsActorsViews']>;
|
|
76
76
|
componentRegistrations: FrontendComponentRegistration[];
|
|
77
77
|
}
|
|
78
|
+
/** A registration the merge kept, with the preset it resolves under and the module that made it. */
|
|
79
|
+
export interface OwnedFrontendComponentRegistration {
|
|
80
|
+
registration: FrontendComponentRegistration;
|
|
81
|
+
/** `registration.preset`, or the Default preset when it names none: the registry's key. */
|
|
82
|
+
preset: string;
|
|
83
|
+
moduleId: string;
|
|
84
|
+
}
|
|
78
85
|
/** A component registration one module made and a LATER module replaced, under the same component and preset. */
|
|
79
86
|
export interface ReplacedFrontendComponentRegistration {
|
|
80
87
|
componentRef: string;
|
|
@@ -98,6 +105,8 @@ export interface ReplacedFrontendComponentRegistration {
|
|
|
98
105
|
export declare function mergeFrontendComponentRegistrations(modules: readonly FrontendModule[]): {
|
|
99
106
|
registrations: FrontendComponentRegistration[];
|
|
100
107
|
replaced: ReplacedFrontendComponentRegistration[];
|
|
108
|
+
/** The same registrations, each with its resolved preset and the module that made it (#4396: the companion lists them). */
|
|
109
|
+
owned: OwnedFrontendComponentRegistration[];
|
|
101
110
|
};
|
|
102
111
|
export declare function buildFrontendModuleRegistry(...modules: FrontendModule[]): FrontendModuleRegistry;
|
|
103
112
|
export declare function buildFrontendModuleAppScope(moduleRegistry: FrontendModuleRegistry): FrontendModule['appScope'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-module.frontend.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/domain-module.frontend.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAU1C,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,cAAc,EACf,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAElF,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;CAE/D;AAED,wBAAgB,0BAA0B,CACxC,GAAG,OAAO,EAAE,oBAAoB,EAAE,G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C;IACpC,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;IACvC,mBAAmB,EAAE,uCAAuC,EAAE,CAAC;IAC/D,QAAQ,EAAE,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;IAClD,eAAe,EAAE,WAAW,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAChE,eAAe,EAAE,WAAW,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAChE,aAAa,EAAE,WAAW,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAC5D,gBAAgB,EAAE,WAAW,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAClE,sBAAsB,EAAE,6BAA6B,EAAE,CAAC;CACzD;AAiCD,iHAAiH;AACjH,MAAM,WAAW,qCAAqC;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,gBAAgB,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,GAAG;IACvF,aAAa,EAAE,6BAA6B,EAAE,CAAC;IAC/C,QAAQ,EAAE,qCAAqC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"domain-module.frontend.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/domain-module.frontend.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MA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AC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,gBAAgB,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,GAAG;IACvF,aAAa,EAAE,6BAA6B,EAAE,CAAC;IAC/C,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IAClD,2HAA2H;IAC3H,KAAK,EAAE,kCAAkC,EAAE,CAAC;CAC7C,CAcA;AA6BD,wBAAgB,2BAA2B,CACzC,GAAG,OAAO,EAAE,cAAc,EAAE,GAC3B,sBAAsB,CAgDxB;AAcD,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,sBAAsB,GACrC,cAAc,CAAC,UAAU,CAAC,CAc5B;AAED,wBAAgB,kCAAkC,CAChD,YAAY,EAAE,cAAc,EAAE,GAAG,SAAS,EAC1C,cAAc,EAAE,sBAAsB,GACrC,cAAc,EAAE,CAclB;AAED,wBAAgB,6CAA6C,CAC3D,iBAAiB,EAAE,yBAAyB,CAAC,4BAA4B,CAAC,EAC1E,cAAc,EAAE,sBAAsB,GACrC,yBAAyB,CAAC,4BAA4B,CAAC,CAsCzD"}
|
|
@@ -48,10 +48,11 @@ export function mergeFrontendComponentRegistrations(modules) {
|
|
|
48
48
|
const previous = merged.get(key);
|
|
49
49
|
if (previous)
|
|
50
50
|
replaced.push({ componentRef: registration.componentRef, preset, replacedModuleId: previous.moduleId, byModuleId: module.moduleId });
|
|
51
|
-
merged.set(key, { registration, moduleId: module.moduleId });
|
|
51
|
+
merged.set(key, { registration, preset, moduleId: module.moduleId });
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
const owned = Array.from(merged.values());
|
|
55
|
+
return { registrations: owned.map((entry) => entry.registration), replaced, owned };
|
|
55
56
|
}
|
|
56
57
|
function buildFrontendModuleBaseRegistry(...modules) {
|
|
57
58
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-module.frontend.definitions.js","sourceRoot":"","sources":["../../../../src/core/runtime/domain-module.frontend.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAM9E,OAAO,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EACL,iCAAiC,EACjC,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAoB1C,MAAM,UAAU,0BAA0B,CACxC,GAAG,OAA+B;IAElC,OAAO;QACL,sBAAsB,EAAE,MAAM,CAAC,MAAM,CACnC,EAAE,EACF,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CACC;QAChE,wBAAwB,EAAE,MAAM,CAAC,MAAM,CACrC,EAAE,EACF,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CACtC;QAC3B,qBAAqB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,IAAI,EAAE,CAAC;KAC3E,CAAC;AACJ,CAAC;AAqED,SAAS,wBAAwB,CAC/B,IAA+B,EAC/B,KAAgC;IAEhC,MAAM,UAAU,GAAG,IAAI,GAAG,EAAmC,CAAC;IAE9D,KAAK,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;QACxC,UAAU,CAAC,GAAG,CAAC,KAA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AAC;AACJ,CAAC","sourcesContent":["import type React from 'react';\nimport { CorePresetNames } from '@wildo-ai/presets-components-models';\nimport type { GuidanceFlowDefinition, SharedDomainModule } from '@wildo-ai/saas-models';\nimport { ApplicationLevelComponentType } from '../config/app-level-components.frontend.schemas';\nimport { LoggerFrontendService } from '../monitoring/logger.frontend.service';\nimport type { AppConfiguration_Frontend } from '../config/app-configuration-frontend.schemas';\nimport type {\n AppCompositeViewsConfig,\n CompositeViewDefinition,\n} from '../config/composite-view.schemas';\nimport { buildApplicationCompositeViewDefinitions } from '../config/composite-view.schemas';\nimport {\n appendNavChildrenToSidebarSection,\n mergeCommandMenuCommandLists,\n mergeFullCustomViewsByRef,\n mergeMenubarLauncherItems,\n combineModuleSidebarSections,\n mergeSidebarSections,\n} from '../config/config-merge-utilities';\nimport type {\n QuickSwitcherScopeField,\n ShellModuleContributions,\n} from '../config/app-configuration-frontend.schemas';\nimport type { FlowsActorsViewDefinition } from '../config/flows-actors-view.schemas';\nimport type { FullCustomViewDefinition } from '../config/full-custom-view.schemas';\nimport type {\n CommandMenuCommand,\n MenubarLauncherItem,\n SidebarItem,\n SidebarSection,\n} from '../config/launcher-items.frontend.schemas';\nimport type { OnboardingViewDefinition } from '../config/onboarding-view.frontend.schemas';\nimport type { ResourceUIBehavior } from '../resources/resources.frontend.schemas';\n\nexport interface FrontendDomainModule extends SharedDomainModule {\n // Frontend-specific concerns added as needs emerge\n}\n\nexport function mergeFrontendDomainModules(\n ...modules: FrontendDomainModule[]\n): FrontendDomainModule {\n return {\n resourceConfigurations: Object.assign(\n {},\n ...modules.map(m => m.resourceConfigurations).filter(Boolean),\n ) as NonNullable<FrontendDomainModule['resourceConfigurations']>,\n resourceFieldIdentifiers: Object.assign(\n {},\n ...modules.map(m => m.resourceFieldIdentifiers).filter(Boolean),\n ) as Record<string, string>,\n resourceRelationships: modules.flatMap(m => m.resourceRelationships ?? []),\n };\n}\n\n/**\n * @wildo_source:part:start saas.frontend.component-registration.entry facet:layer:frontend facet:family:component-registry\n *\n * One lazy-loaded React component bound to a stable `componentRef` for launcher and ui-behavior resolution.\n */\nexport interface FrontendComponentRegistration {\n componentRef: string;\n loadComponent: () => Promise<React.ComponentType<any>>;\n preset?: CorePresetNames;\n isConfigurable?: boolean;\n}\n/** @wildo_source:part:end saas.frontend.component-registration.entry */\n\n/**\n * Launcher rows need an explicit target section so authored config can stay in\n * app-owned config while framework modules only contribute placement fragments.\n */\nexport interface FrontendSidebarSectionItemsContribution {\n sectionRef: string;\n items: SidebarItem[];\n}\n\n/**\n * @wildo_source:part:start saas.frontend.domain-module facet:layer:frontend facet:family:module\n *\n * Canonical frontend package module contract.\n *\n * A module is the unit an app exports from its registered module surface so both the\n * browser runtime and companion/tooling can compose the same authored graph.\n */\nexport interface FrontendModule extends Omit<ShellModuleContributions, 'sidebarItems'> {\n moduleId: string;\n resourceUIBehavior?: ResourceUIBehavior;\n /**\n * The module's sidebar sections. Modules are peers: when several declare the same navigation section (every\n * scaffolded module declares `main`), their entries are gathered in module order under the first declaration's\n * properties — see `combineModuleSidebarSections`. The application's own shell configuration then overrides the result.\n */\n sidebarSections?: SidebarSection[];\n quickSwitcherFields?: QuickSwitcherScopeField[];\n compositeViews?: AppCompositeViewsConfig;\n fullCustomViews?: FullCustomViewDefinition[];\n onboardingViews?: OnboardingViewDefinition[];\n guidanceFlows?: GuidanceFlowDefinition[];\n flowsActorsViews?: FlowsActorsViewDefinition[];\n sidebarSectionItems?: FrontendSidebarSectionItemsContribution[];\n componentRegistrations?: FrontendComponentRegistration[];\n}\n/** @wildo_source:part:end saas.frontend.domain-module */\n\nexport interface FrontendModuleRegistry {\n moduleIds: string[];\n resourceUIBehavior: ResourceUIBehavior;\n sidebarSections: SidebarSection[];\n quickSwitcherFields: QuickSwitcherScopeField[];\n compositeViews: CompositeViewDefinition[];\n menubarItems: MenubarLauncherItem[];\n commandMenuItems: CommandMenuCommand[];\n sidebarSectionItems: FrontendSidebarSectionItemsContribution[];\n appScope: NonNullable<FrontendModule['appScope']>;\n fullCustomViews: NonNullable<FrontendModule['fullCustomViews']>;\n onboardingViews: NonNullable<FrontendModule['onboardingViews']>;\n guidanceFlows: NonNullable<FrontendModule['guidanceFlows']>;\n flowsActorsViews: NonNullable<FrontendModule['flowsActorsViews']>;\n componentRegistrations: FrontendComponentRegistration[];\n}\n\nfunction mergeQuickSwitcherFields(\n base: QuickSwitcherScopeField[],\n extra: QuickSwitcherScopeField[],\n): QuickSwitcherScopeField[] {\n const mergedById = new Map<string, QuickSwitcherScopeField>();\n\n for (const field of [...base, ...extra]) {\n mergedById.set(field.fieldIdentifier, field);\n }\n\n return Array.from(mergedById.values());\n}\n\nfunction mergeByKey<T>(\n base: T[],\n extra: T[],\n keyFn: (item: T) => string,\n): T[] {\n const merged = new Map<string, T>();\n\n for (const item of base) {\n merged.set(keyFn(item), item);\n }\n\n for (const item of extra) {\n merged.set(keyFn(item), item);\n }\n\n return Array.from(merged.values());\n}\n\n/** A component registration one module made and a LATER module replaced, under the same component and preset. */\nexport interface ReplacedFrontendComponentRegistration {\n componentRef: string;\n preset: string;\n /** The module whose registration was dropped. */\n replacedModuleId: string;\n /** The module whose registration won. */\n byModuleId: string;\n}\n\n/**\n * Merge every module's component registrations, keyed by component AND preset — the registry's own key\n * (`ComponentRegistryKeyBuilder`) — and REPORT each registration a later module replaced.\n *\n * Keyed by the component alone (until #1822), a module registering one preset of a component silently dropped\n * another module's registration of a DIFFERENT preset of it. Two registrations of the same component AND preset\n * still resolve to the later one, as the registry would; what changed is that the loser is no longer silent.\n * That matters most for a registration an application made on purpose and would never see disappear: the\n * optional 3D layout replaces the Default main container, and a later module registering it again would turn\n * the application back to 2D with nothing said.\n */\nexport function mergeFrontendComponentRegistrations(modules: readonly FrontendModule[]): {\n registrations: FrontendComponentRegistration[];\n replaced: ReplacedFrontendComponentRegistration[];\n} {\n const merged = new Map<string, { registration: FrontendComponentRegistration; moduleId: string }>();\n const replaced: ReplacedFrontendComponentRegistration[] = [];\n for (const module of modules) {\n for (const registration of module.componentRegistrations ?? []) {\n const preset = registration.preset ?? CorePresetNames.DEFAULT;\n const key = `${registration.componentRef}\\u0000${preset}`;\n const previous = merged.get(key);\n if (previous) replaced.push({ componentRef: registration.componentRef, preset, replacedModuleId: previous.moduleId, byModuleId: module.moduleId });\n merged.set(key, { registration, moduleId: module.moduleId });\n }\n }\n return { registrations: Array.from(merged.values(), (entry) => entry.registration), replaced };\n}\n\nfunction buildFrontendModuleBaseRegistry(\n ...modules: FrontendModule[]\n): Pick<\n FrontendModuleRegistry,\n 'moduleIds' | 'resourceUIBehavior' | 'sidebarSections' | 'quickSwitcherFields' | 'compositeViews'\n > {\n return {\n moduleIds: modules.map((module) => module.moduleId),\n resourceUIBehavior: Object.assign(\n {},\n ...modules.map((module) => module.resourceUIBehavior ?? {}),\n ) as ResourceUIBehavior,\n sidebarSections: modules.reduce<SidebarSection[]>(\n // Peers combine their entries; an application's own shell config overrides the result below.\n (sections, module) => combineModuleSidebarSections(sections, module.sidebarSections),\n [],\n ),\n quickSwitcherFields: modules.reduce<QuickSwitcherScopeField[]>(\n (fields, module) => mergeQuickSwitcherFields(fields, module.quickSwitcherFields ?? []),\n [],\n ),\n compositeViews: modules.flatMap((module) => buildApplicationCompositeViewDefinitions(\n module.compositeViews,\n )),\n };\n}\n\nexport function buildFrontendModuleRegistry(\n ...modules: FrontendModule[]\n): FrontendModuleRegistry {\n const moduleBaseRegistry = buildFrontendModuleBaseRegistry(...modules);\n\n return {\n ...moduleBaseRegistry,\n menubarItems: modules.flatMap((module) => module.menubarItems ?? []),\n commandMenuItems: modules.reduce<CommandMenuCommand[]>(\n (commands, module) => mergeCommandMenuCommandLists(\n commands,\n module.commandMenuItems,\n ),\n [],\n ),\n sidebarSectionItems: modules.flatMap(\n (module) => module.sidebarSectionItems ?? [],\n ),\n appScope: modules.reduce<NonNullable<FrontendModule['appScope']>>(\n (scope, module) => ({\n ...scope,\n ...module.appScope,\n fields: mergeQuickSwitcherFields(\n scope.fields ?? [],\n module.appScope?.fields ?? [],\n ),\n }),\n {},\n ),\n fullCustomViews: modules.reduce<NonNullable<FrontendModule['fullCustomViews']>>(\n (views, module) => mergeFullCustomViewsByRef(views, module.fullCustomViews),\n [],\n ),\n onboardingViews: mergeByKey(\n [],\n modules.flatMap((module) => module.onboardingViews ?? []),\n (view) => view.ref,\n ),\n guidanceFlows: mergeByKey(\n [],\n modules.flatMap((module) => module.guidanceFlows ?? []),\n (flow) => flow.ref,\n ),\n flowsActorsViews: mergeByKey(\n [],\n modules.flatMap((module) => module.flowsActorsViews ?? []),\n (view) => view.ref,\n ),\n componentRegistrations: mergedComponentRegistrations(modules),\n };\n}\n\n/** The merged registrations, with every replacement said out loud — see {@link mergeFrontendComponentRegistrations}. */\nfunction mergedComponentRegistrations(modules: readonly FrontendModule[]): FrontendComponentRegistration[] {\n const { registrations, replaced } = mergeFrontendComponentRegistrations(modules);\n for (const replacement of replaced) {\n LoggerFrontendService.getLogger().warn(\n `[frontend-modules] module '${replacement.byModuleId}' replaces module '${replacement.replacedModuleId}''s registration of ${replacement.componentRef} (${replacement.preset}); only the later one is registered.`,\n { ...replacement },\n );\n }\n return registrations;\n}\n\nexport function buildFrontendModuleAppScope(\n moduleRegistry: FrontendModuleRegistry,\n): FrontendModule['appScope'] {\n const fields = mergeQuickSwitcherFields(\n moduleRegistry.appScope.fields ?? [],\n moduleRegistry.quickSwitcherFields,\n );\n\n if (fields.length === 0) {\n return moduleRegistry.appScope;\n }\n\n return {\n ...moduleRegistry.appScope,\n fields,\n };\n}\n\nexport function buildFrontendModuleSidebarSections(\n baseSections: SidebarSection[] | undefined,\n moduleRegistry: FrontendModuleRegistry,\n): SidebarSection[] {\n const mergedSections = mergeSidebarSections(\n baseSections,\n moduleRegistry.sidebarSections,\n );\n\n return moduleRegistry.sidebarSectionItems.reduce(\n (sections, moduleSectionItems) => appendNavChildrenToSidebarSection(\n sections,\n moduleSectionItems.sectionRef,\n moduleSectionItems.items,\n ),\n mergedSections,\n );\n}\n\nexport function buildFrontendModuleAppComponentsConfiguration(\n baseConfiguration: AppConfiguration_Frontend['appComponentsConfiguration'],\n moduleRegistry: FrontendModuleRegistry,\n): AppConfiguration_Frontend['appComponentsConfiguration'] {\n const menubarConfig = baseConfiguration[ApplicationLevelComponentType.MENUBAR];\n const sidebarConfig = baseConfiguration[ApplicationLevelComponentType.SIDEBAR];\n const commandMenuConfig = baseConfiguration[ApplicationLevelComponentType.COMMAND_MENU];\n\n return {\n ...baseConfiguration,\n [ApplicationLevelComponentType.MENUBAR]:\n menubarConfig && typeof menubarConfig === 'object' && !Array.isArray(menubarConfig)\n ? {\n ...menubarConfig,\n items: mergeMenubarLauncherItems(\n menubarConfig.items,\n moduleRegistry.menubarItems,\n ),\n }\n : menubarConfig,\n [ApplicationLevelComponentType.SIDEBAR]:\n sidebarConfig && typeof sidebarConfig === 'object'\n ? {\n ...sidebarConfig,\n contentSections: buildFrontendModuleSidebarSections(\n sidebarConfig.contentSections,\n moduleRegistry,\n ),\n }\n : sidebarConfig,\n [ApplicationLevelComponentType.COMMAND_MENU]:\n commandMenuConfig && typeof commandMenuConfig === 'object'\n ? {\n ...commandMenuConfig,\n commands: mergeCommandMenuCommandLists(\n commandMenuConfig.commands,\n moduleRegistry.commandMenuItems,\n ),\n }\n : commandMenuConfig,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"domain-module.frontend.definitions.js","sourceRoot":"","sources":["../../../../src/core/runtime/domain-module.frontend.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAM9E,OAAO,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EACL,iCAAiC,EACjC,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC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,OAAO,CAAC,CAAC;IAC/E,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC;IAExF,OAAO;QACL,GAAG,iBAAiB;QACpB,CAAC,6BAA6B,CAAC,OAAO,CAAC,EACrC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;YACjF,CAAC,CAAC;gBACE,GAAG,aAAa;gBAChB,KAAK,EAAE,yBAAyB,CAC9B,aAAa,CAAC,KAAK,EACnB,cAAc,CAAC,YAAY,CAC5B;aACF;YACH,CAAC,CAAC,aAAa;QACnB,CAAC,6BAA6B,CAAC,OAAO,CAAC,EACrC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ;YAChD,CAAC,CAAC;gBACE,GAAG,aAAa;gBAChB,eAAe,EAAE,kCAAkC,CACjD,aAAa,CAAC,eAAe,EAC7B,cAAc,CACf;aACF;YACH,CAAC,CAAC,aAAa;QACnB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAC1C,iBAAiB,IAAI,OAAO,iBAAiB,KAAK,QAAQ;YACxD,CAAC,CAAC;gBACE,GAAG,iBAAiB;gBACpB,QAAQ,EAAE,4BAA4B,CACpC,iBAAiB,CAAC,QAAQ,EAC1B,cAAc,CAAC,gBAAgB,CAChC;aACF;YACH,CAAC,CAAC,iBAAiB;KACxB,CAAC;AACJ,CAAC","sourcesContent":["import type React from 'react';\nimport { CorePresetNames } from '@wildo-ai/presets-components-models';\nimport type { GuidanceFlowDefinition, SharedDomainModule } from '@wildo-ai/saas-models';\nimport { ApplicationLevelComponentType } from '../config/app-level-components.frontend.schemas';\nimport { LoggerFrontendService } from '../monitoring/logger.frontend.service';\nimport type { AppConfiguration_Frontend } from '../config/app-configuration-frontend.schemas';\nimport type {\n AppCompositeViewsConfig,\n CompositeViewDefinition,\n} from '../config/composite-view.schemas';\nimport { buildApplicationCompositeViewDefinitions } from '../config/composite-view.schemas';\nimport {\n appendNavChildrenToSidebarSection,\n mergeCommandMenuCommandLists,\n mergeFullCustomViewsByRef,\n mergeMenubarLauncherItems,\n combineModuleSidebarSections,\n mergeSidebarSections,\n} from '../config/config-merge-utilities';\nimport type {\n QuickSwitcherScopeField,\n ShellModuleContributions,\n} from '../config/app-configuration-frontend.schemas';\nimport type { FlowsActorsViewDefinition } from '../config/flows-actors-view.schemas';\nimport type { FullCustomViewDefinition } from '../config/full-custom-view.schemas';\nimport type {\n CommandMenuCommand,\n MenubarLauncherItem,\n SidebarItem,\n SidebarSection,\n} from '../config/launcher-items.frontend.schemas';\nimport type { OnboardingViewDefinition } from '../config/onboarding-view.frontend.schemas';\nimport type { ResourceUIBehavior } from '../resources/resources.frontend.schemas';\n\nexport interface FrontendDomainModule extends SharedDomainModule {\n // Frontend-specific concerns added as needs emerge\n}\n\nexport function mergeFrontendDomainModules(\n ...modules: FrontendDomainModule[]\n): FrontendDomainModule {\n return {\n resourceConfigurations: Object.assign(\n {},\n ...modules.map(m => m.resourceConfigurations).filter(Boolean),\n ) as NonNullable<FrontendDomainModule['resourceConfigurations']>,\n resourceFieldIdentifiers: Object.assign(\n {},\n ...modules.map(m => m.resourceFieldIdentifiers).filter(Boolean),\n ) as Record<string, string>,\n resourceRelationships: modules.flatMap(m => m.resourceRelationships ?? []),\n };\n}\n\n/**\n * @wildo_source:part:start saas.frontend.component-registration.entry facet:layer:frontend facet:family:component-registry\n *\n * One lazy-loaded React component bound to a stable `componentRef` for launcher and ui-behavior resolution.\n */\nexport interface FrontendComponentRegistration {\n componentRef: string;\n loadComponent: () => Promise<React.ComponentType<any>>;\n preset?: CorePresetNames;\n isConfigurable?: boolean;\n}\n/** @wildo_source:part:end saas.frontend.component-registration.entry */\n\n/**\n * Launcher rows need an explicit target section so authored config can stay in\n * app-owned config while framework modules only contribute placement fragments.\n */\nexport interface FrontendSidebarSectionItemsContribution {\n sectionRef: string;\n items: SidebarItem[];\n}\n\n/**\n * @wildo_source:part:start saas.frontend.domain-module facet:layer:frontend facet:family:module\n *\n * Canonical frontend package module contract.\n *\n * A module is the unit an app exports from its registered module surface so both the\n * browser runtime and companion/tooling can compose the same authored graph.\n */\nexport interface FrontendModule extends Omit<ShellModuleContributions, 'sidebarItems'> {\n moduleId: string;\n resourceUIBehavior?: ResourceUIBehavior;\n /**\n * The module's sidebar sections. Modules are peers: when several declare the same navigation section (every\n * scaffolded module declares `main`), their entries are gathered in module order under the first declaration's\n * properties — see `combineModuleSidebarSections`. The application's own shell configuration then overrides the result.\n */\n sidebarSections?: SidebarSection[];\n quickSwitcherFields?: QuickSwitcherScopeField[];\n compositeViews?: AppCompositeViewsConfig;\n fullCustomViews?: FullCustomViewDefinition[];\n onboardingViews?: OnboardingViewDefinition[];\n guidanceFlows?: GuidanceFlowDefinition[];\n flowsActorsViews?: FlowsActorsViewDefinition[];\n sidebarSectionItems?: FrontendSidebarSectionItemsContribution[];\n componentRegistrations?: FrontendComponentRegistration[];\n}\n/** @wildo_source:part:end saas.frontend.domain-module */\n\nexport interface FrontendModuleRegistry {\n moduleIds: string[];\n resourceUIBehavior: ResourceUIBehavior;\n sidebarSections: SidebarSection[];\n quickSwitcherFields: QuickSwitcherScopeField[];\n compositeViews: CompositeViewDefinition[];\n menubarItems: MenubarLauncherItem[];\n commandMenuItems: CommandMenuCommand[];\n sidebarSectionItems: FrontendSidebarSectionItemsContribution[];\n appScope: NonNullable<FrontendModule['appScope']>;\n fullCustomViews: NonNullable<FrontendModule['fullCustomViews']>;\n onboardingViews: NonNullable<FrontendModule['onboardingViews']>;\n guidanceFlows: NonNullable<FrontendModule['guidanceFlows']>;\n flowsActorsViews: NonNullable<FrontendModule['flowsActorsViews']>;\n componentRegistrations: FrontendComponentRegistration[];\n}\n\nfunction mergeQuickSwitcherFields(\n base: QuickSwitcherScopeField[],\n extra: QuickSwitcherScopeField[],\n): QuickSwitcherScopeField[] {\n const mergedById = new Map<string, QuickSwitcherScopeField>();\n\n for (const field of [...base, ...extra]) {\n mergedById.set(field.fieldIdentifier, field);\n }\n\n return Array.from(mergedById.values());\n}\n\nfunction mergeByKey<T>(\n base: T[],\n extra: T[],\n keyFn: (item: T) => string,\n): T[] {\n const merged = new Map<string, T>();\n\n for (const item of base) {\n merged.set(keyFn(item), item);\n }\n\n for (const item of extra) {\n merged.set(keyFn(item), item);\n }\n\n return Array.from(merged.values());\n}\n\n/** A registration the merge kept, with the preset it resolves under and the module that made it. */\nexport interface OwnedFrontendComponentRegistration {\n registration: FrontendComponentRegistration;\n /** `registration.preset`, or the Default preset when it names none: the registry's key. */\n preset: string;\n moduleId: string;\n}\n\n/** A component registration one module made and a LATER module replaced, under the same component and preset. */\nexport interface ReplacedFrontendComponentRegistration {\n componentRef: string;\n preset: string;\n /** The module whose registration was dropped. */\n replacedModuleId: string;\n /** The module whose registration won. */\n byModuleId: string;\n}\n\n/**\n * Merge every module's component registrations, keyed by component AND preset — the registry's own key\n * (`ComponentRegistryKeyBuilder`) — and REPORT each registration a later module replaced.\n *\n * Keyed by the component alone (until #1822), a module registering one preset of a component silently dropped\n * another module's registration of a DIFFERENT preset of it. Two registrations of the same component AND preset\n * still resolve to the later one, as the registry would; what changed is that the loser is no longer silent.\n * That matters most for a registration an application made on purpose and would never see disappear: the\n * optional 3D layout replaces the Default main container, and a later module registering it again would turn\n * the application back to 2D with nothing said.\n */\nexport function mergeFrontendComponentRegistrations(modules: readonly FrontendModule[]): {\n registrations: FrontendComponentRegistration[];\n replaced: ReplacedFrontendComponentRegistration[];\n /** The same registrations, each with its resolved preset and the module that made it (#4396: the companion lists them). */\n owned: OwnedFrontendComponentRegistration[];\n} {\n const merged = new Map<string, OwnedFrontendComponentRegistration>();\n const replaced: ReplacedFrontendComponentRegistration[] = [];\n for (const module of modules) {\n for (const registration of module.componentRegistrations ?? []) {\n const preset = registration.preset ?? CorePresetNames.DEFAULT;\n const key = `${registration.componentRef}\\u0000${preset}`;\n const previous = merged.get(key);\n if (previous) replaced.push({ componentRef: registration.componentRef, preset, replacedModuleId: previous.moduleId, byModuleId: module.moduleId });\n merged.set(key, { registration, preset, moduleId: module.moduleId });\n }\n }\n const owned = Array.from(merged.values());\n return { registrations: owned.map((entry) => entry.registration), replaced, owned };\n}\n\nfunction buildFrontendModuleBaseRegistry(\n ...modules: FrontendModule[]\n): Pick<\n FrontendModuleRegistry,\n 'moduleIds' | 'resourceUIBehavior' | 'sidebarSections' | 'quickSwitcherFields' | 'compositeViews'\n > {\n return {\n moduleIds: modules.map((module) => module.moduleId),\n resourceUIBehavior: Object.assign(\n {},\n ...modules.map((module) => module.resourceUIBehavior ?? {}),\n ) as ResourceUIBehavior,\n sidebarSections: modules.reduce<SidebarSection[]>(\n // Peers combine their entries; an application's own shell config overrides the result below.\n (sections, module) => combineModuleSidebarSections(sections, module.sidebarSections),\n [],\n ),\n quickSwitcherFields: modules.reduce<QuickSwitcherScopeField[]>(\n (fields, module) => mergeQuickSwitcherFields(fields, module.quickSwitcherFields ?? []),\n [],\n ),\n compositeViews: modules.flatMap((module) => buildApplicationCompositeViewDefinitions(\n module.compositeViews,\n )),\n };\n}\n\nexport function buildFrontendModuleRegistry(\n ...modules: FrontendModule[]\n): FrontendModuleRegistry {\n const moduleBaseRegistry = buildFrontendModuleBaseRegistry(...modules);\n\n return {\n ...moduleBaseRegistry,\n menubarItems: modules.flatMap((module) => module.menubarItems ?? []),\n commandMenuItems: modules.reduce<CommandMenuCommand[]>(\n (commands, module) => mergeCommandMenuCommandLists(\n commands,\n module.commandMenuItems,\n ),\n [],\n ),\n sidebarSectionItems: modules.flatMap(\n (module) => module.sidebarSectionItems ?? [],\n ),\n appScope: modules.reduce<NonNullable<FrontendModule['appScope']>>(\n (scope, module) => ({\n ...scope,\n ...module.appScope,\n fields: mergeQuickSwitcherFields(\n scope.fields ?? [],\n module.appScope?.fields ?? [],\n ),\n }),\n {},\n ),\n fullCustomViews: modules.reduce<NonNullable<FrontendModule['fullCustomViews']>>(\n (views, module) => mergeFullCustomViewsByRef(views, module.fullCustomViews),\n [],\n ),\n onboardingViews: mergeByKey(\n [],\n modules.flatMap((module) => module.onboardingViews ?? []),\n (view) => view.ref,\n ),\n guidanceFlows: mergeByKey(\n [],\n modules.flatMap((module) => module.guidanceFlows ?? []),\n (flow) => flow.ref,\n ),\n flowsActorsViews: mergeByKey(\n [],\n modules.flatMap((module) => module.flowsActorsViews ?? []),\n (view) => view.ref,\n ),\n componentRegistrations: mergedComponentRegistrations(modules),\n };\n}\n\n/** The merged registrations, with every replacement said out loud — see {@link mergeFrontendComponentRegistrations}. */\nfunction mergedComponentRegistrations(modules: readonly FrontendModule[]): FrontendComponentRegistration[] {\n const { registrations, replaced } = mergeFrontendComponentRegistrations(modules);\n for (const replacement of replaced) {\n LoggerFrontendService.getLogger().warn(\n `[frontend-modules] module '${replacement.byModuleId}' replaces module '${replacement.replacedModuleId}''s registration of ${replacement.componentRef} (${replacement.preset}); only the later one is registered.`,\n { ...replacement },\n );\n }\n return registrations;\n}\n\nexport function buildFrontendModuleAppScope(\n moduleRegistry: FrontendModuleRegistry,\n): FrontendModule['appScope'] {\n const fields = mergeQuickSwitcherFields(\n moduleRegistry.appScope.fields ?? [],\n moduleRegistry.quickSwitcherFields,\n );\n\n if (fields.length === 0) {\n return moduleRegistry.appScope;\n }\n\n return {\n ...moduleRegistry.appScope,\n fields,\n };\n}\n\nexport function buildFrontendModuleSidebarSections(\n baseSections: SidebarSection[] | undefined,\n moduleRegistry: FrontendModuleRegistry,\n): SidebarSection[] {\n const mergedSections = mergeSidebarSections(\n baseSections,\n moduleRegistry.sidebarSections,\n );\n\n return moduleRegistry.sidebarSectionItems.reduce(\n (sections, moduleSectionItems) => appendNavChildrenToSidebarSection(\n sections,\n moduleSectionItems.sectionRef,\n moduleSectionItems.items,\n ),\n mergedSections,\n );\n}\n\nexport function buildFrontendModuleAppComponentsConfiguration(\n baseConfiguration: AppConfiguration_Frontend['appComponentsConfiguration'],\n moduleRegistry: FrontendModuleRegistry,\n): AppConfiguration_Frontend['appComponentsConfiguration'] {\n const menubarConfig = baseConfiguration[ApplicationLevelComponentType.MENUBAR];\n const sidebarConfig = baseConfiguration[ApplicationLevelComponentType.SIDEBAR];\n const commandMenuConfig = baseConfiguration[ApplicationLevelComponentType.COMMAND_MENU];\n\n return {\n ...baseConfiguration,\n [ApplicationLevelComponentType.MENUBAR]:\n menubarConfig && typeof menubarConfig === 'object' && !Array.isArray(menubarConfig)\n ? {\n ...menubarConfig,\n items: mergeMenubarLauncherItems(\n menubarConfig.items,\n moduleRegistry.menubarItems,\n ),\n }\n : menubarConfig,\n [ApplicationLevelComponentType.SIDEBAR]:\n sidebarConfig && typeof sidebarConfig === 'object'\n ? {\n ...sidebarConfig,\n contentSections: buildFrontendModuleSidebarSections(\n sidebarConfig.contentSections,\n moduleRegistry,\n ),\n }\n : sidebarConfig,\n [ApplicationLevelComponentType.COMMAND_MENU]:\n commandMenuConfig && typeof commandMenuConfig === 'object'\n ? {\n ...commandMenuConfig,\n commands: mergeCommandMenuCommandLists(\n commandMenuConfig.commands,\n moduleRegistry.commandMenuItems,\n ),\n }\n : commandMenuConfig,\n };\n}\n"]}
|
|
@@ -7,4 +7,25 @@ import { type FrontendModule } from './domain-module.frontend.definitions';
|
|
|
7
7
|
* application assembly instead of introducing a separate app-local helper file.
|
|
8
8
|
*/
|
|
9
9
|
export declare function buildFrontendCompanionResourceUIBehavior(...modules: FrontendModule[]): ResourceUIBehavior;
|
|
10
|
+
/**
|
|
11
|
+
* One component registration an application's frontend modules make, as companion tooling lists it (#4396): the slot,
|
|
12
|
+
* the preset it registers under, and the module that made it. The loader and every other function value are left out.
|
|
13
|
+
*/
|
|
14
|
+
export interface FrontendCompanionComponentRegistration {
|
|
15
|
+
componentRef: string;
|
|
16
|
+
/** The preset the registration resolves under: the one it names, or the Default preset. */
|
|
17
|
+
preset: string;
|
|
18
|
+
/** The frontend module that made the registration the application runs. */
|
|
19
|
+
moduleId: string;
|
|
20
|
+
isConfigurable: boolean;
|
|
21
|
+
/** Modules whose registration of the same component and preset this one replaced, earliest first. */
|
|
22
|
+
replacedModuleIds: string[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The component registrations the application's frontend modules make, merged exactly as the application merges them
|
|
26
|
+
* (`mergeFrontendComponentRegistrations`: component AND preset is the key, a later module replaces an earlier one), each
|
|
27
|
+
* with the module that made it. The framework's own presets are registered by the framework, not by a module, and are
|
|
28
|
+
* not listed.
|
|
29
|
+
*/
|
|
30
|
+
export declare function listFrontendCompanionComponentRegistrations(...modules: FrontendModule[]): FrontendCompanionComponentRegistration[];
|
|
10
31
|
//# sourceMappingURL=frontend-companion-resource-inputs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-companion-resource-inputs.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/frontend-companion-resource-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"frontend-companion-resource-inputs.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/frontend-companion-resource-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,sCAAsC,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,wCAAwC,CACtD,GAAG,OAAO,EAAE,cAAc,EAAE,GAC3B,kBAAkB,CAEpB;AAED;;;GAGG;AACH,MAAM,WAAW,sCAAsC;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,2FAA2F;IAC3F,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,qGAAqG;IACrG,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED;;;;;GAKG;AACH,wBAAgB,2CAA2C,CACzD,GAAG,OAAO,EAAE,cAAc,EAAE,GAC3B,sCAAsC,EAAE,CAW1C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildFrontendModuleRegistry, } from './domain-module.frontend.definitions.js';
|
|
1
|
+
import { buildFrontendModuleRegistry, mergeFrontendComponentRegistrations, } from './domain-module.frontend.definitions.js';
|
|
2
2
|
/**
|
|
3
3
|
* Extract the merged resource UI overlay from the real frontend module chain.
|
|
4
4
|
*
|
|
@@ -8,4 +8,22 @@ import { buildFrontendModuleRegistry, } from './domain-module.frontend.definitio
|
|
|
8
8
|
export function buildFrontendCompanionResourceUIBehavior(...modules) {
|
|
9
9
|
return buildFrontendModuleRegistry(...modules).resourceUIBehavior;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The component registrations the application's frontend modules make, merged exactly as the application merges them
|
|
13
|
+
* (`mergeFrontendComponentRegistrations`: component AND preset is the key, a later module replaces an earlier one), each
|
|
14
|
+
* with the module that made it. The framework's own presets are registered by the framework, not by a module, and are
|
|
15
|
+
* not listed.
|
|
16
|
+
*/
|
|
17
|
+
export function listFrontendCompanionComponentRegistrations(...modules) {
|
|
18
|
+
const { owned, replaced } = mergeFrontendComponentRegistrations(modules);
|
|
19
|
+
return owned.map((entry) => ({
|
|
20
|
+
componentRef: entry.registration.componentRef,
|
|
21
|
+
preset: entry.preset,
|
|
22
|
+
moduleId: entry.moduleId,
|
|
23
|
+
isConfigurable: entry.registration.isConfigurable === true,
|
|
24
|
+
replacedModuleIds: replaced
|
|
25
|
+
.filter((replacement) => replacement.componentRef === entry.registration.componentRef && replacement.preset === entry.preset)
|
|
26
|
+
.map((replacement) => replacement.replacedModuleId),
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
11
29
|
//# sourceMappingURL=frontend-companion-resource-inputs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-companion-resource-inputs.js","sourceRoot":"","sources":["../../../../src/core/runtime/frontend-companion-resource-inputs.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"frontend-companion-resource-inputs.js","sourceRoot":"","sources":["../../../../src/core/runtime/frontend-companion-resource-inputs.ts"],"names":[],"mappings":"AACA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GAEpC,MAAM,sCAAsC,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,UAAU,wCAAwC,CACtD,GAAG,OAAyB;IAE5B,OAAO,2BAA2B,CAAC,GAAG,OAAO,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC;AAiBD;;;;;GAKG;AACH,MAAM,UAAU,2CAA2C,CACzD,GAAG,OAAyB;IAE5B,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,mCAAmC,CAAC,OAAO,CAAC,CAAC;IACzE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY;QAC7C,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,cAAc,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,KAAK,IAAI;QAC1D,iBAAiB,EAAE,QAAQ;aACxB,MAAM,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,YAAY,KAAK,KAAK,CAAC,YAAY,CAAC,YAAY,IAAI,WAAW,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,CAAC;aAC5H,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,gBAAgB,CAAC;KACtD,CAAC,CAAC,CAAC;AACN,CAAC","sourcesContent":["import type { ResourceUIBehavior } from '../resources/resources.frontend.schemas';\nimport {\n buildFrontendModuleRegistry,\n mergeFrontendComponentRegistrations,\n type FrontendModule,\n} from './domain-module.frontend.definitions';\n\n/**\n * Extract the merged resource UI overlay from the real frontend module chain.\n *\n * Companion callers should reuse the same module-level ownership structure as the\n * application assembly instead of introducing a separate app-local helper file.\n */\nexport function buildFrontendCompanionResourceUIBehavior(\n ...modules: FrontendModule[]\n): ResourceUIBehavior {\n return buildFrontendModuleRegistry(...modules).resourceUIBehavior;\n}\n\n/**\n * One component registration an application's frontend modules make, as companion tooling lists it (#4396): the slot,\n * the preset it registers under, and the module that made it. The loader and every other function value are left out.\n */\nexport interface FrontendCompanionComponentRegistration {\n componentRef: string;\n /** The preset the registration resolves under: the one it names, or the Default preset. */\n preset: string;\n /** The frontend module that made the registration the application runs. */\n moduleId: string;\n isConfigurable: boolean;\n /** Modules whose registration of the same component and preset this one replaced, earliest first. */\n replacedModuleIds: string[];\n}\n\n/**\n * The component registrations the application's frontend modules make, merged exactly as the application merges them\n * (`mergeFrontendComponentRegistrations`: component AND preset is the key, a later module replaces an earlier one), each\n * with the module that made it. The framework's own presets are registered by the framework, not by a module, and are\n * not listed.\n */\nexport function listFrontendCompanionComponentRegistrations(\n ...modules: FrontendModule[]\n): FrontendCompanionComponentRegistration[] {\n const { owned, replaced } = mergeFrontendComponentRegistrations(modules);\n return owned.map((entry) => ({\n componentRef: entry.registration.componentRef,\n preset: entry.preset,\n moduleId: entry.moduleId,\n isConfigurable: entry.registration.isConfigurable === true,\n replacedModuleIds: replaced\n .filter((replacement) => replacement.componentRef === entry.registration.componentRef && replacement.preset === entry.preset)\n .map((replacement) => replacement.replacedModuleId),\n }));\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The engine's public identity routes: every page a person reaches without being signed in or to prove who they are
|
|
4
|
+
* (sign-in and its callbacks, MFA, registration, password recovery, invitation and email-verification landings, OAuth
|
|
5
|
+
* consent and logout, chat-account linking, answering a decision from its email), with the public pages those link to (the governed documents and the legal
|
|
6
|
+
* notice) and the public file-upload drop page.
|
|
7
|
+
*
|
|
8
|
+
* Defined ONCE, so the product router and the identity portal mount the same pages under the same providers: a page added
|
|
9
|
+
* here reaches both surfaces, and neither can drift from the other. Returned as a fragment of `<Route>` elements, which
|
|
10
|
+
* `<Routes>` reads exactly like children written in place.
|
|
11
|
+
*/
|
|
12
|
+
export declare function identityRouteElements(): React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=identity-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-routes.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/identity-routes.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqC1B;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,CA0KzD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LEGAL_NOTICE_ROUTE_PATH, PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS, readPublicGovernedDocumentReleaseQuery } from '@wildo-ai/saas-models';
|
|
3
|
+
import { Route, useSearchParams } from 'react-router';
|
|
4
|
+
import { AuthPage_AuthCallback } from '../../components/auth/pages/AuthPage_AuthCallback.js';
|
|
5
|
+
import { AuthPage_ReAuthenticationCallback } from '../../components/auth/pages/AuthPage_ReAuthenticationCallback.js';
|
|
6
|
+
import { AuthPage_MagicLinkVerify } from '../../components/auth/pages/AuthPage_MagicLinkVerify.js';
|
|
7
|
+
import { AuthPage_MfaChallenge } from '../../components/auth/pages/AuthPage_MfaChallenge.js';
|
|
8
|
+
import { AuthPage_EnrollmentRequired } from '../../components/auth/pages/AuthPage_EnrollmentRequired.js';
|
|
9
|
+
import { AuthPage_OrganizationOnboarding } from '../../components/auth/pages/AuthPage_OrganizationOnboarding.js';
|
|
10
|
+
import { AuthPage_Main } from '../../components/auth/pages/AuthPage_Main.js';
|
|
11
|
+
import { AuthPage_ConfirmEmail } from '../../components/auth/pages/AuthPage_ConfirmEmail.js';
|
|
12
|
+
import { AuthPage_Invitation } from '../../components/auth/pages/AuthPage_Invitation.js';
|
|
13
|
+
import { AuthPage_OneOffSession } from '../../components/auth/pages/AuthPage_OneOffSession.js';
|
|
14
|
+
import { FilesPage_UploadGrant } from '../../components/files/pages/FilesPage_UploadGrant.js';
|
|
15
|
+
import { AuthPage_AuthExchange } from '../../components/auth/pages/AuthPage_AuthExchange.js';
|
|
16
|
+
import { AuthPage_PasswordLost } from '../../components/auth/pages/AuthPage_PasswordLost.js';
|
|
17
|
+
import { AuthPage_OAuthConsent } from '../../components/auth/pages/AuthPage_OAuthConsent.js';
|
|
18
|
+
import { AuthPage_OAuthDeviceVerification } from '../../components/auth/pages/AuthPage_OAuthDeviceVerification.js';
|
|
19
|
+
import { AuthPage_ChatIdentityLink } from '../../components/auth/pages/AuthPage_ChatIdentityLink.js';
|
|
20
|
+
import { AuthPage_DecisionEmailAnswer } from '../../components/auth/pages/AuthPage_DecisionEmailAnswer.js';
|
|
21
|
+
import { AuthPage_OAuthLoggedOut } from '../../components/auth/pages/AuthPage_OAuthLoggedOut.js';
|
|
22
|
+
import { AuthPage_OAuthLogoutConfirm } from '../../components/auth/pages/AuthPage_OAuthLogoutConfirm.js';
|
|
23
|
+
import { AuthPage_Register } from '../../components/auth/pages/AuthPage_Register.js';
|
|
24
|
+
import { PublicLayout_Terms } from '../../components/app/PublicLayout_Terms.js';
|
|
25
|
+
import { PublicLayout_LegalNotice } from '../../components/app/PublicLayout_LegalNotice.js';
|
|
26
|
+
import { RouterErrorBoundary } from '../../core/errors/RouterErrorBoundary.js';
|
|
27
|
+
import { CommonRoutePaths } from './routes.frontend.definitions.js';
|
|
28
|
+
/**
|
|
29
|
+
* The route element of a public governed-document page: the release a link named, read from the query string, handed
|
|
30
|
+
* to the page (#3187). The page stays free of the router; this is the one place the URL is read.
|
|
31
|
+
*/
|
|
32
|
+
function PublicGovernedDocumentRoute({ documentRef }) {
|
|
33
|
+
const [searchParams] = useSearchParams();
|
|
34
|
+
const namedRelease = readPublicGovernedDocumentReleaseQuery(searchParams);
|
|
35
|
+
return _jsx(PublicLayout_Terms, { documentRef: documentRef, ...(namedRelease ? { namedRelease } : {}) });
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The engine's public identity routes: every page a person reaches without being signed in or to prove who they are
|
|
39
|
+
* (sign-in and its callbacks, MFA, registration, password recovery, invitation and email-verification landings, OAuth
|
|
40
|
+
* consent and logout, chat-account linking, answering a decision from its email), with the public pages those link to (the governed documents and the legal
|
|
41
|
+
* notice) and the public file-upload drop page.
|
|
42
|
+
*
|
|
43
|
+
* Defined ONCE, so the product router and the identity portal mount the same pages under the same providers: a page added
|
|
44
|
+
* here reaches both surfaces, and neither can drift from the other. Returned as a fragment of `<Route>` elements, which
|
|
45
|
+
* `<Routes>` reads exactly like children written in place.
|
|
46
|
+
*/
|
|
47
|
+
export function identityRouteElements() {
|
|
48
|
+
return (_jsxs(_Fragment, { children: [_jsx(Route, { path: CommonRoutePaths.authCallback, element: _jsx(AuthPage_AuthCallback, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.reAuthenticationCallback, element: _jsx(AuthPage_ReAuthenticationCallback, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.magicLinkVerify, element: _jsx(AuthPage_MagicLinkVerify, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.mfaChallenge, element: _jsx(AuthPage_MfaChallenge, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.enrollmentRequired, element: _jsx(AuthPage_EnrollmentRequired, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.organizationOnboarding, element: _jsx(AuthPage_OrganizationOnboarding, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oneOffSession, element: _jsx(AuthPage_OneOffSession, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.fileUploadGrant, element: _jsx(FilesPage_UploadGrant, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.authExchange, element: _jsx(AuthPage_AuthExchange, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), Object.entries(PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS).map(([documentRef, path]) => (_jsx(Route, { path: path, element: _jsx(PublicGovernedDocumentRoute, { documentRef: documentRef }), errorElement: _jsx(RouterErrorBoundary, {}) }, documentRef))), _jsx(Route, { path: LEGAL_NOTICE_ROUTE_PATH, element: _jsx(PublicLayout_LegalNotice, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.login, element: _jsx(AuthPage_Main, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.register, element: _jsx(AuthPage_Register, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.passwordLost, element: _jsx(AuthPage_PasswordLost, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthConsent, element: _jsx(AuthPage_OAuthConsent, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthDeviceVerification, element: _jsx(AuthPage_OAuthDeviceVerification, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.chatIdentityLink, element: _jsx(AuthPage_ChatIdentityLink, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.decisionEmailAnswer, element: _jsx(AuthPage_DecisionEmailAnswer, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthLoggedOut, element: _jsx(AuthPage_OAuthLoggedOut, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthLogoutConfirm, element: _jsx(AuthPage_OAuthLogoutConfirm, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.invitation, element: _jsx(AuthPage_Invitation, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.confirmEmail, element: _jsx(AuthPage_ConfirmEmail, {}), errorElement: _jsx(RouterErrorBoundary, {}) })] }));
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=identity-routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-routes.js","sourceRoot":"","sources":["../../../../src/core/runtime/identity-routes.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,oCAAoC,EAAE,sCAAsC,EAAE,MAAM,uBAAuB,CAAC;AAE9I,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iEAAiE,CAAC;AACxG,OAAO,EAAE,iCAAiC,EAAE,MAAM,6EAA6E,CAAC;AAChI,OAAO,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AAC9G,OAAO,EAAE,qBAAqB,EAAE,MAAM,iEAAiE,CAAC;AACxG,OAAO,EAAE,2BAA2B,EAAE,MAAM,uEAAuE,CAAC;AACpH,OAAO,EAAE,+BAA+B,EAAE,MAAM,2EAA2E,CAAC;AAC5H,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iEAAiE,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,kEAAkE,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM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AE,KAAC,mBAAmB,KAAG,GACrC,EACF,KAAC,KAAK,IACJ,IAAI,EAAE,gBAAgB,CAAC,cAAc,EACrC,OAAO,EAAE,KAAC,uBAAuB,KAAG,EACpC,YAAY,EAAE,KAAC,mBAAmB,KAAG,GACrC,EACF,KAAC,KAAK,IACJ,IAAI,EAAE,gBAAgB,CAAC,kBAAkB,EACzC,OAAO,EAAE,KAAC,2BAA2B,KAAG,EACxC,YAAY,EAAE,KAAC,mBAAmB,KAAG,GACrC,EACF,KAAC,KAAK,IACJ,IAAI,EAAE,gBAAgB,CAAC,UAAU,EACjC,OAAO,EAAE,KAAC,mBAAmB,KAAG,EAChC,YAAY,EAAE,KAAC,mBAAmB,KAAG,GACrC,EACF,KAAC,KAAK,IACJ,IAAI,EAAE,gBAAgB,CAAC,YAAY,EACnC,OAAO,EAAE,KAAC,qBAAqB,KAAG,EAClC,YAAY,EAAE,KAAC,mBAAmB,KAAG,GACrC,IACD,CACJ,CAAC;AACJ,CAAC","sourcesContent":["import { LEGAL_NOTICE_ROUTE_PATH, PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS, readPublicGovernedDocumentReleaseQuery } from '@wildo-ai/saas-models';\nimport React from 'react';\nimport { Route, useSearchParams } from 'react-router';\nimport { AuthPage_AuthCallback } from '~wildo-frontend-lib/components/auth/pages/AuthPage_AuthCallback';\nimport { AuthPage_ReAuthenticationCallback } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ReAuthenticationCallback';\nimport { AuthPage_MagicLinkVerify } from '~wildo-frontend-lib/components/auth/pages/AuthPage_MagicLinkVerify';\nimport { AuthPage_MfaChallenge } from '~wildo-frontend-lib/components/auth/pages/AuthPage_MfaChallenge';\nimport { AuthPage_EnrollmentRequired } from '~wildo-frontend-lib/components/auth/pages/AuthPage_EnrollmentRequired';\nimport { AuthPage_OrganizationOnboarding } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OrganizationOnboarding';\nimport { AuthPage_Main } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Main';\nimport { AuthPage_ConfirmEmail } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ConfirmEmail';\nimport { AuthPage_Invitation } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Invitation';\nimport { AuthPage_OneOffSession } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OneOffSession';\nimport { FilesPage_UploadGrant } from '~wildo-frontend-lib/components/files/pages/FilesPage_UploadGrant';\nimport { AuthPage_AuthExchange } from '~wildo-frontend-lib/components/auth/pages/AuthPage_AuthExchange';\nimport { AuthPage_PasswordLost } from '~wildo-frontend-lib/components/auth/pages/AuthPage_PasswordLost';\nimport { AuthPage_OAuthConsent } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthConsent';\nimport { AuthPage_OAuthDeviceVerification } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthDeviceVerification';\nimport { AuthPage_ChatIdentityLink } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ChatIdentityLink';\nimport { AuthPage_DecisionEmailAnswer } from '~wildo-frontend-lib/components/auth/pages/AuthPage_DecisionEmailAnswer';\nimport { AuthPage_OAuthLoggedOut } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthLoggedOut';\nimport { AuthPage_OAuthLogoutConfirm } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthLogoutConfirm';\nimport { AuthPage_Register } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Register';\nimport { PublicLayout_Terms } from '~wildo-frontend-lib/components/app/PublicLayout_Terms';\nimport { PublicLayout_LegalNotice } from '~wildo-frontend-lib/components/app/PublicLayout_LegalNotice';\nimport { RouterErrorBoundary } from '~wildo-frontend-lib/core/errors/RouterErrorBoundary';\nimport { CommonRoutePaths } from './routes.frontend.definitions';\n\n/**\n * The route element of a public governed-document page: the release a link named, read from the query string, handed\n * to the page (#3187). The page stays free of the router; this is the one place the URL is read.\n */\nfunction PublicGovernedDocumentRoute({ documentRef }: { readonly documentRef: string }): React.JSX.Element {\n const [searchParams] = useSearchParams();\n const namedRelease = readPublicGovernedDocumentReleaseQuery(searchParams);\n return <PublicLayout_Terms documentRef={documentRef} {...(namedRelease ? { namedRelease } : {})} />;\n}\n\n/**\n * The engine's public identity routes: every page a person reaches without being signed in or to prove who they are\n * (sign-in and its callbacks, MFA, registration, password recovery, invitation and email-verification landings, OAuth\n * consent and logout, chat-account linking, answering a decision from its email), with the public pages those link to (the governed documents and the legal\n * notice) and the public file-upload drop page.\n *\n * Defined ONCE, so the product router and the identity portal mount the same pages under the same providers: a page added\n * here reaches both surfaces, and neither can drift from the other. Returned as a fragment of `<Route>` elements, which\n * `<Routes>` reads exactly like children written in place.\n */\nexport function identityRouteElements(): React.JSX.Element {\n return (\n <>\n {/* OAuth2 callback — shared across all app types */}\n <Route\n path={CommonRoutePaths.authCallback}\n element={<AuthPage_AuthCallback />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Federated re-authentication landing, inside the step-up dialog's popup (#1441) */}\n <Route\n path={CommonRoutePaths.reAuthenticationCallback}\n element={<AuthPage_ReAuthenticationCallback />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Magic link verification — shared across all app types */}\n <Route\n path={CommonRoutePaths.magicLinkVerify}\n element={<AuthPage_MagicLinkVerify />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* MFA challenge — shared across all app types, serves all first-factor methods */}\n <Route\n path={CommonRoutePaths.mfaChallenge}\n element={<AuthPage_MfaChallenge />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* MFA enrollment required — shown when MFA is mandated but user has no enrolled methods */}\n <Route\n path={CommonRoutePaths.enrollmentRequired}\n element={<AuthPage_EnrollmentRequired />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Organization onboarding — an account parked at ONBOARDING_PENDING names the organization it owes (#1090) */}\n <Route\n path={CommonRoutePaths.organizationOnboarding}\n element={<AuthPage_OrganizationOnboarding />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* One-off session exchange — shared across all app types */}\n <Route\n path={CommonRoutePaths.oneOffSession}\n element={<AuthPage_OneOffSession />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* File-upload-grant drop page — public, the grant token in the URL is the only credential */}\n <Route\n path={CommonRoutePaths.fileUploadGrant}\n element={<FilesPage_UploadGrant />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Cross-frontend handoff exchange landing — cross-app-jwt-propagation Step 5 */}\n <Route\n path={CommonRoutePaths.authExchange}\n element={<AuthPage_AuthExchange />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/*\n * Public governed-document pages. Issue #168.\n *\n * Both paths have been declared in `CommonRoutePaths` since the compliance vocabulary\n * landed, and NEITHER was mounted — `/privacy` and `/terms` answered the not-found route in\n * every application, while the component they name had no implementation at all.\n *\n * One component serves both: it takes the document ref as a prop and reads the application's\n * own `compliance.publicDocuments`, so an application adding a third public document adds a\n * route rather than a component. A document never released shows its latest draft, marked\n * as a draft. Otherwise it fails CLOSED — nothing in force renders an unavailable notice,\n * never a partial document.\n *\n * Whether an unapproved release may be shown is NOT decided here. It is the application's\n * approval gate, `compliance.governedDocumentApprovalGate`, which the page reads alongside\n * every acceptance surface so the page cannot be armed alone (#1565). It used to be a prop\n * this route declined to pass. Arming it is part of Gate 3's membership test (\"an application\n * may face a real user\") — see `.claude/rules/one-source-of-truth.md` D5.\n */}\n {/*\n * Mounted FROM the pairing rather than beside it. `PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS` is\n * total over `PUBLIC_GOVERNED_DOCUMENT_REFS`, and the registration form reads the same map to\n * link a required document to the page that renders it — so the two readers cannot disagree,\n * and a third public document gets its route by joining the vocabulary.\n */}\n {Object.entries(PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS).map(([documentRef, path]) => (\n <Route\n key={documentRef}\n path={path}\n element={<PublicGovernedDocumentRoute documentRef={documentRef} />}\n errorElement={<RouterErrorBoundary />}\n />\n ))}\n {/*\n * The legal notice (imprint), #2588. Mounted for every application, from the same atom the marketing website links\n * it from: the page itself says when the operator owes none, so a link followed in error lands on a statement\n * rather than a 404.\n */}\n <Route path={LEGAL_NOTICE_ROUTE_PATH} element={<PublicLayout_LegalNotice />} errorElement={<RouterErrorBoundary />} />\n\n {/* Public auth routes — always present; auth behavior is driven by AppConfiguration_Shared.auth */}\n <Route\n path={CommonRoutePaths.login}\n element={<AuthPage_Main />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.register}\n element={<AuthPage_Register />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.passwordLost}\n element={<AuthPage_PasswordLost />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthConsent}\n element={<AuthPage_OAuthConsent />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* Device verification page: public, self-redirects to sign in; a device's code is approved only on explicit confirmation. */}\n <Route\n path={CommonRoutePaths.oauthDeviceVerification}\n element={<AuthPage_OAuthDeviceVerification />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* Chat-link page (#2660): public, self-redirects to sign in; links a chat account on explicit confirmation. */}\n <Route\n path={CommonRoutePaths.chatIdentityLink}\n element={<AuthPage_ChatIdentityLink />}\n errorElement={<RouterErrorBoundary />}\n />\n {/*\n * Decision-answer page: public, the email link's single-use token is the credential. Opening it answers nothing;\n * the person confirms there, and signs in first only when the decision requires a step-up.\n */}\n <Route\n path={CommonRoutePaths.decisionEmailAnswer}\n element={<AuthPage_DecisionEmailAnswer />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthLoggedOut}\n element={<AuthPage_OAuthLoggedOut />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthLogoutConfirm}\n element={<AuthPage_OAuthLogoutConfirm />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.invitation}\n element={<AuthPage_Invitation />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.confirmEmail}\n element={<AuthPage_ConfirmEmail />}\n errorElement={<RouterErrorBoundary />}\n />\n </>\n );\n}\n"]}
|
|
@@ -29,6 +29,12 @@ export declare const CommonRoutePaths: {
|
|
|
29
29
|
* `redirect_to`. Public route (self-redirects to login when unauthenticated).
|
|
30
30
|
*/
|
|
31
31
|
readonly oauthConsent: "/oauth/consent";
|
|
32
|
+
/**
|
|
33
|
+
* The OAuth device authorization grant's verification page (RFC 8628): a signed-in person enters the code a device
|
|
34
|
+
* without a browser shows, checks which client asks to act for them, and approves or denies. The authorization server
|
|
35
|
+
* answers it as `verification_uri`, from the same constant. Public route (self-redirects to sign-in).
|
|
36
|
+
*/
|
|
37
|
+
readonly oauthDeviceVerification: "/device";
|
|
32
38
|
/**
|
|
33
39
|
* OIDC RP-Initiated Logout landing (revocation-C, §5). Where `GET /oauth/end-session` sends the browser
|
|
34
40
|
* after terminating the End-User's OP session when the request carried NO valid `post_logout_redirect_uri`
|
|
@@ -52,6 +58,13 @@ export declare const CommonRoutePaths: {
|
|
|
52
58
|
* disagree. Public route; the page sends a visitor who is not signed in to sign in first, link intact.
|
|
53
59
|
*/
|
|
54
60
|
readonly chatIdentityLink: "/chat-link";
|
|
61
|
+
/**
|
|
62
|
+
* Where a person who opened an answer link of a decision's email sees the decision and confirms the answer. Derived
|
|
63
|
+
* from `HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH`, so the URL the email carries and the route mounted here cannot
|
|
64
|
+
* disagree. Public route: the link's token is the credential; the page signs the person in first only when the
|
|
65
|
+
* decision requires a step-up.
|
|
66
|
+
*/
|
|
67
|
+
readonly decisionEmailAnswer: "/decision-answer";
|
|
55
68
|
/**
|
|
56
69
|
* Browser-only OAuth2 / SAML callback landing.
|
|
57
70
|
*
|
|
@@ -97,6 +110,12 @@ export declare const CommonRoutePaths: {
|
|
|
97
110
|
* stated contract, which is that the URL is its single source of truth.
|
|
98
111
|
*/
|
|
99
112
|
readonly settingsSectionSubTab: "/settings/:sectionRef/:subTabRef";
|
|
113
|
+
/**
|
|
114
|
+
* The identity portal's account-security page: how the person signs in (password, passkeys, an authenticator app, a
|
|
115
|
+
* phone) and where they are signed in. The same path as the Settings Hub's Security section, so the links emails and
|
|
116
|
+
* notices already carry (`applicationSettingsDestinationPath(SECURITY)`) open the same page on a portal.
|
|
117
|
+
*/
|
|
118
|
+
readonly accountSecurity: `/settings/${string}`;
|
|
100
119
|
/** W7.3b: One-off session token exchange — public, uses EphemeralSessionTokenStorage */
|
|
101
120
|
readonly oneOffSession: "/one-off-session/:token";
|
|
102
121
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.frontend.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/routes.frontend.definitions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routes.frontend.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/routes.frontend.definitions.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB;IAC3B;;;;OAIG;;;;;;;IAOH;;;;;;OAMG;;IAEH,2FAA2F;;IAE3F;;;;;;;OAOG;;IAEH;;;;OAIG;;IAEH;;;;;;OAMG;;IAEH;;;;;;;OAOG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;IAEH;;;;;;;OAOG;;IAEH;;;;OAIG;;;;;IAKH,oMAAoM;;IAGpM;;;OAGG;;IAEH;;;;OAIG;;IAEH,4IAA4I;;IAE5I,mHAAmH;;IAEnH;;;;;;;;OAQG;;IAEH;;;;OAIG;;IAGH,wFAAwF;;IAGxF;;;;OAIG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;;;;CAMK,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APPLICATION_ENTRY_POINT_PATHS, APPLICATION_SETTINGS_PATH, ApplicationEntryPoint, CHAT_IDENTITY_LINK_PAGE_PATH, CONVERSATION_LINK_PAGE_PATH, FILE_UPLOAD_GRANT_PAGE_PATH, HUMAN_DECISION_INBOX_PAGE_PATH, REAUTHENTICATION_CALLBACK_PAGE_PATH, PUBLIC_GOVERNED_DOCUMENT_REFS, PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS, } from '@wildo-ai/saas-models';
|
|
1
|
+
import { APPLICATION_ENTRY_POINT_PATHS, APPLICATION_SETTINGS_PATH, ApplicationEntryPoint, CHAT_IDENTITY_LINK_PAGE_PATH, EngineSettingsDestinationRef, CONVERSATION_LINK_PAGE_PATH, FILE_UPLOAD_GRANT_PAGE_PATH, HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH, HUMAN_DECISION_INBOX_PAGE_PATH, OAUTH_DEVICE_VERIFICATION_ROUTE_PATH, REAUTHENTICATION_CALLBACK_PAGE_PATH, applicationSettingsDestinationPath, PUBLIC_GOVERNED_DOCUMENT_REFS, PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS, } from '@wildo-ai/saas-models';
|
|
2
2
|
// Common route paths
|
|
3
3
|
export const CommonRoutePaths = {
|
|
4
4
|
/**
|
|
@@ -31,6 +31,12 @@ export const CommonRoutePaths = {
|
|
|
31
31
|
* `redirect_to`. Public route (self-redirects to login when unauthenticated).
|
|
32
32
|
*/
|
|
33
33
|
oauthConsent: '/oauth/consent',
|
|
34
|
+
/**
|
|
35
|
+
* The OAuth device authorization grant's verification page (RFC 8628): a signed-in person enters the code a device
|
|
36
|
+
* without a browser shows, checks which client asks to act for them, and approves or denies. The authorization server
|
|
37
|
+
* answers it as `verification_uri`, from the same constant. Public route (self-redirects to sign-in).
|
|
38
|
+
*/
|
|
39
|
+
oauthDeviceVerification: OAUTH_DEVICE_VERIFICATION_ROUTE_PATH,
|
|
34
40
|
/**
|
|
35
41
|
* OIDC RP-Initiated Logout landing (revocation-C, §5). Where `GET /oauth/end-session` sends the browser
|
|
36
42
|
* after terminating the End-User's OP session when the request carried NO valid `post_logout_redirect_uri`
|
|
@@ -54,6 +60,13 @@ export const CommonRoutePaths = {
|
|
|
54
60
|
* disagree. Public route; the page sends a visitor who is not signed in to sign in first, link intact.
|
|
55
61
|
*/
|
|
56
62
|
chatIdentityLink: CHAT_IDENTITY_LINK_PAGE_PATH,
|
|
63
|
+
/**
|
|
64
|
+
* Where a person who opened an answer link of a decision's email sees the decision and confirms the answer. Derived
|
|
65
|
+
* from `HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH`, so the URL the email carries and the route mounted here cannot
|
|
66
|
+
* disagree. Public route: the link's token is the credential; the page signs the person in first only when the
|
|
67
|
+
* decision requires a step-up.
|
|
68
|
+
*/
|
|
69
|
+
decisionEmailAnswer: HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH,
|
|
57
70
|
/**
|
|
58
71
|
* Browser-only OAuth2 / SAML callback landing.
|
|
59
72
|
*
|
|
@@ -99,6 +112,12 @@ export const CommonRoutePaths = {
|
|
|
99
112
|
* stated contract, which is that the URL is its single source of truth.
|
|
100
113
|
*/
|
|
101
114
|
settingsSectionSubTab: `${APPLICATION_SETTINGS_PATH}/:sectionRef/:subTabRef`,
|
|
115
|
+
/**
|
|
116
|
+
* The identity portal's account-security page: how the person signs in (password, passkeys, an authenticator app, a
|
|
117
|
+
* phone) and where they are signed in. The same path as the Settings Hub's Security section, so the links emails and
|
|
118
|
+
* notices already carry (`applicationSettingsDestinationPath(SECURITY)`) open the same page on a portal.
|
|
119
|
+
*/
|
|
120
|
+
accountSecurity: applicationSettingsDestinationPath(EngineSettingsDestinationRef.SECURITY),
|
|
102
121
|
/** W7.3b: One-off session token exchange — public, uses EphemeralSessionTokenStorage */
|
|
103
122
|
oneOffSession: '/one-off-session/:token',
|
|
104
123
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.frontend.definitions.js","sourceRoot":"","sources":["../../../../src/core/runtime/routes.frontend.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,E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c;IAC3D;;;;;;;;OAQG;IACH,qBAAqB,EAAE,GAAG,yBAAyB,yBAAyB;IAE5E,wFAAwF;IACxF,aAAa,EAAE,yBAAyB;IAExC;;;;OAIG;IACH,eAAe,EAAE,GAAG,2BAA2B,SAAS;IAExD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,YAAY,EAAE,gBAAgB;IAE9B,qBAAqB;IACrB,OAAO,EAAE,YAAY;IACrB,eAAe,EAAE,qBAAqB;CAC9B,CAAC","sourcesContent":["import {\n APPLICATION_ENTRY_POINT_PATHS,\n APPLICATION_SETTINGS_PATH,\n ApplicationEntryPoint,\n CHAT_IDENTITY_LINK_PAGE_PATH,\n CONVERSATION_LINK_PAGE_PATH,\n FILE_UPLOAD_GRANT_PAGE_PATH,\n HUMAN_DECISION_INBOX_PAGE_PATH,\n REAUTHENTICATION_CALLBACK_PAGE_PATH,\n PUBLIC_GOVERNED_DOCUMENT_REFS,\n PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS,\n} from '@wildo-ai/saas-models';\n\n// Common route paths\nexport const CommonRoutePaths = {\n /**\n * The three public entry pages are DERIVED from `APPLICATION_ENTRY_POINT_PATHS`: the marketing website links to\n * them (\"Sign in\", \"Get started\") and cannot import this frontend module, so the paths live beside the\n * vocabulary both read.\n */\n home: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.HOME],\n login: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.SIGN_IN],\n register: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.SIGN_UP],\n passwordLost: '/password-lost',\n invitation: '/invitation',\n confirmEmail: '/confirm-email',\n /**\n * Public, exact-release privacy notice. Candidate or unverified bytes are never rendered here.\n *\n * Derived from `PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS` rather than spelled here: the consent panel and\n * the marketing website link to the same page and cannot reach this frontend-only module, so the\n * pairing lives beside the document refs where all three readers can see it.\n */\n privacy: PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS[PUBLIC_GOVERNED_DOCUMENT_REFS.PRIVACY_NOTICE],\n /** Public, exact-release service terms. Derived for the same reason as `privacy` above. */\n terms: PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS[PUBLIC_GOVERNED_DOCUMENT_REFS.SERVICE_TERMS],\n /**\n * OIDC interactive-consent screen (S1). A third-party client that acts on the user's behalf\n * redirects the browser here with the OAuth authorize query (`client_id`, `redirect_uri`,\n * `response_type=code`, `code_challenge`, optional `scope`/`resource`/`state`/`nonce`). The page\n * calls `GET /oauth/authorize` (Bearer), renders the requesting client + scopes + agent resource,\n * and on approve/deny POSTs to `/oauth/authorize/decision` then navigates to the returned\n * `redirect_to`. Public route (self-redirects to login when unauthenticated).\n */\n oauthConsent: '/oauth/consent',\n /**\n * OIDC RP-Initiated Logout landing (revocation-C, §5). Where `GET /oauth/end-session` sends the browser\n * after terminating the End-User's OP session when the request carried NO valid `post_logout_redirect_uri`\n * — the OP displays a \"you have been signed out\" confirmation rather than redirecting back to the relying\n * party. A request WITH a registered `post_logout_redirect_uri` skips this and redirects straight to the RP\n * (with `state` echoed). Public route; the session is already terminated server-side before the browser lands.\n */\n oauthLoggedOut: '/oauth/logged-out',\n /**\n * OIDC RP-Initiated Logout §6 confirmation prompt (revocation-C). Where `GET /oauth/end-session` sends the\n * browser for a NON-trusted logout — anything except a trusted RP presenting a valid `id_token_hint` AND an\n * exact-match registered `post_logout_redirect_uri` (which is logged out directly, no prompt — the\n * Keycloak-style posture). Carries a single-use `?token=` naming the session; the page asks the End-User to\n * confirm, then POSTs the token to `POST /oauth/end-session/confirm` (which terminates the session) and lands\n * on `/oauth/logged-out`. Public route; token-driven (never gates on a Bearer).\n */\n oauthLogoutConfirm: '/oauth/logout-confirm',\n /**\n * Where a signed-in member confirms and completes the one-time link a chat bot (Slack, Microsoft Teams) gave them\n * (#2660). Derived from `CHAT_IDENTITY_LINK_PAGE_PATH`, so the URL the bot writes and the route mounted here cannot\n * disagree. Public route; the page sends a visitor who is not signed in to sign in first, link intact.\n */\n chatIdentityLink: CHAT_IDENTITY_LINK_PAGE_PATH,\n /**\n * Browser-only OAuth2 / SAML callback landing.\n *\n * Renders `AuthPage_AuthCallback`, which extracts `code` from the URL\n * search params and delegates to `handleAuthCodeExchange`. The framework\n * targets web stacks exclusively, so there is no native deep-link\n * variant for this path.\n */\n authCallback: '/auth/callback',\n /**\n * The page a federated re-authentication returns to, inside the step-up dialog's popup (#1441). Derived\n * from the shared `REAUTHENTICATION_CALLBACK_PAGE_PATH`, so the URL the backend redirects to and the\n * route mounted here cannot disagree.\n */\n reAuthenticationCallback: REAUTHENTICATION_CALLBACK_PAGE_PATH,\n magicLinkVerify: '/auth/magic-link/verify',\n mfaChallenge: '/auth/mfa',\n enrollmentRequired: '/auth/enrollment-required',\n /** The organization-name step for an account parked at onboarding (#1090). Carries no session id: the parked session mints, so it stays in the auth context and out of history and request logs. */\n organizationOnboarding: '/auth/organization-onboarding',\n\n /**\n * The engine's decision inbox (#2527, `EnginePageRef.DECISIONS`): every pending decision the signed-in person may act\n * on. Placed by the engine for an application whose agents can wait on a person's decision.\n */\n decisions: HUMAN_DECISION_INBOX_PAGE_PATH,\n /**\n * The link to one of the signed-in person's conversations (#4013), which a notice or an email about the conversation\n * opens: it sends the person on to the view the application shows that conversation's system in. Derived from the\n * shared `CONVERSATION_LINK_PAGE_PATH`, so the link the backend writes and the route mounted here cannot disagree.\n */\n conversationLink: CONVERSATION_LINK_PAGE_PATH,\n /** Unified Settings Hub (overlay) — opened at its default section. `/settings/security` resolves here too (hub at its Security section). */\n settings: APPLICATION_SETTINGS_PATH,\n /** Unified Settings Hub (overlay) — opened at a specific section. URL-addressable for deep-link reconstruction. */\n settingsSection: `${APPLICATION_SETTINGS_PATH}/:sectionRef`,\n /**\n * Unified Settings Hub (overlay) — opened at a specific SUB-TAB of a section.\n *\n * Ten destinations render as sub-tabs and they carry twenty-one panels between them, none of\n * which was addressable before 2026-09-17: `SettingsSubTabs` held the active tab in local state\n * seeded from `subTabs[0]`, so every link to a sub-tabbed section landed on its first tab and\n * \"Single sign-on → Connections\" could not be sent to anybody. That contradicted the hub's own\n * stated contract, which is that the URL is its single source of truth.\n */\n settingsSectionSubTab: `${APPLICATION_SETTINGS_PATH}/:sectionRef/:subTabRef`,\n\n /** W7.3b: One-off session token exchange — public, uses EphemeralSessionTokenStorage */\n oneOffSession: '/one-off-session/:token',\n\n /**\n * Public drop page for a single-use file-upload grant (issue #312, D12). Derived from the shared\n * `FILE_UPLOAD_GRANT_PAGE_PATH` so the URL the backend writes into a grant's `uploadPageUrl` and the\n * route the frontend mounts cannot disagree.\n */\n fileUploadGrant: `${FILE_UPLOAD_GRANT_PAGE_PATH}/:token`,\n\n /**\n * Cross-frontend handoff exchange landing.\n *\n * The cross-frontend handoff issuer (`POST /auth/cross-frontend-handoff`)\n * composes a redirect URL of the shape\n * `<targetPublicUrl>/auth/exchange?code=<token>&return=<encodedReturnPath>`.\n * Every receiving frontend MUST mount a handler at this path. This entry\n * pins the path (and lets `Auth_OneOffSession` in\n * `mode='cross-frontend-handoff'` consume it via the shared `AppRouter`).\n *\n * Distinct from `authCallback` (`/auth/callback`) on purpose — the OAuth2\n * callback URL carries provider-specific query params (`state`, `error`,\n * `error_description`) that are irrelevant to a cross-frontend handoff,\n * and the two flows have distinct telemetry / breadcrumb semantics.\n * Distinct from `oneOffSession` (`/one-off-session/:token`) on purpose —\n * one-off sessions consume W7.3b ephemeral tokens via a different backend\n * endpoint (`/auth/one-off-session/exchange`); cross-frontend handoffs\n * consume AUTH_CODE_EXCHANGE tokens via `/auth/token/exchange`.\n *\n * The query-param form (`?code=` rather than `:token` in the path) matches\n * the docs-site `AuthExchangePage` already mounted at the same path on the\n * docs target — keeping the URL shape uniform across SaaS-app and\n * docs-site receivers means the handoff issuer composes ONE URL shape.\n */\n authExchange: '/auth/exchange',\n\n // Development routes\n devTest: '/_dev/test',\n devThemeGallery: '/_dev/theme-gallery',\n} as const;\n\nexport type CommonRouteKey = keyof typeof CommonRoutePaths;\n\n"]}
|
|
1
|
+
{"version":3,"file":"routes.frontend.definitions.js","sourceRoot":"","sources":["../../../../src/core/runtime/routes.frontend.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAC3B,2BAA2B,EAC3B,qCAAqC,EACrC,8BAA8B,EAC9B,oCAAoC,EACpC,mCAAmC,EACnC,kCAAkC,EAClC,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,uBAAuB,CAAC;AAE/B,qBAAqB;AACrB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;;;;OAIG;IACH,IAAI,EAAE,6BAA6B,CAAC,qBAAqB,CAAC,IAAI,CAAC;IAC/D,KAAK,EAAE,6BAA6B,CAAC,qBAAqB,CAAC,OAAO,CAAC;IACnE,QAAQ,EAAE,6BAA6B,CAAC,qBAAqB,CAAC,OAAO,CAAC;IACtE,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,gBAAgB;IAC9B;;;;;;OAMG;IACH,OAAO,EAAE,oCAAoC,CAAC,6BAA6B,CAAC,cAAc,CAAC;IAC3F,2FAA2F;IAC3F,KAAK,EAAE,oCAAoC,CAAC,6BAA6B,CAAC,aAAa,CAAC;IACxF;;;;;;;OAOG;IACH,YAAY,EAAE,gBAAgB;IAC9B;;;;OAIG;IACH,uBAAuB,EAAE,oCAAoC;IAC7D;;;;;;OAMG;IACH,cAAc,EAAE,mBAAmB;IACnC;;;;;;;OAOG;IACH,kBAAkB,EAAE,uBAAuB;IAC3C;;;;OAIG;IACH,gBAAgB,EAAE,4BAA4B;IAC9C;;;;;OAKG;IACH,mBAAmB,EAAE,qCAAqC;IAC1D;;;;;;;OAOG;IACH,YAAY,EAAE,gBAAgB;IAC9B;;;;OAIG;IACH,wBAAwB,EAAE,mCAAmC;IAC7D,eAAe,EAAE,yBAAyB;IAC1C,YAAY,EAAE,WAAW;IACzB,kBAAkB,EAAE,2BAA2B;IAC/C,oMAAoM;IACpM,sBAAsB,EAAE,+BAA+B;IAEvD;;;OAGG;IACH,SAAS,EAAE,8BAA8B;IACzC;;;;OAIG;IACH,gBAAgB,EAAE,2BAA2B;IAC7C,4IAA4I;IAC5I,QAAQ,EAAE,yBAAyB;IACnC,mHAAmH;IACnH,eAAe,EAAE,GAAG,yBAAyB,cAAc;IAC3D;;;;;;;;OAQG;IACH,qBAAqB,EAAE,GAAG,yBAAyB,yBAAyB;IAC5E;;;;OAIG;IACH,eAAe,EAAE,kCAAkC,CAAC,4BAA4B,CAAC,QAAQ,CAAC;IAE1F,wFAAwF;IACxF,aAAa,EAAE,yBAAyB;IAExC;;;;OAIG;IACH,eAAe,EAAE,GAAG,2BAA2B,SAAS;IAExD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,YAAY,EAAE,gBAAgB;IAE9B,qBAAqB;IACrB,OAAO,EAAE,YAAY;IACrB,eAAe,EAAE,qBAAqB;CAC9B,CAAC","sourcesContent":["import {\n APPLICATION_ENTRY_POINT_PATHS,\n APPLICATION_SETTINGS_PATH,\n ApplicationEntryPoint,\n CHAT_IDENTITY_LINK_PAGE_PATH,\n EngineSettingsDestinationRef,\n CONVERSATION_LINK_PAGE_PATH,\n FILE_UPLOAD_GRANT_PAGE_PATH,\n HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH,\n HUMAN_DECISION_INBOX_PAGE_PATH,\n OAUTH_DEVICE_VERIFICATION_ROUTE_PATH,\n REAUTHENTICATION_CALLBACK_PAGE_PATH,\n applicationSettingsDestinationPath,\n PUBLIC_GOVERNED_DOCUMENT_REFS,\n PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS,\n} from '@wildo-ai/saas-models';\n\n// Common route paths\nexport const CommonRoutePaths = {\n /**\n * The three public entry pages are DERIVED from `APPLICATION_ENTRY_POINT_PATHS`: the marketing website links to\n * them (\"Sign in\", \"Get started\") and cannot import this frontend module, so the paths live beside the\n * vocabulary both read.\n */\n home: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.HOME],\n login: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.SIGN_IN],\n register: APPLICATION_ENTRY_POINT_PATHS[ApplicationEntryPoint.SIGN_UP],\n passwordLost: '/password-lost',\n invitation: '/invitation',\n confirmEmail: '/confirm-email',\n /**\n * Public, exact-release privacy notice. Candidate or unverified bytes are never rendered here.\n *\n * Derived from `PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS` rather than spelled here: the consent panel and\n * the marketing website link to the same page and cannot reach this frontend-only module, so the\n * pairing lives beside the document refs where all three readers can see it.\n */\n privacy: PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS[PUBLIC_GOVERNED_DOCUMENT_REFS.PRIVACY_NOTICE],\n /** Public, exact-release service terms. Derived for the same reason as `privacy` above. */\n terms: PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS[PUBLIC_GOVERNED_DOCUMENT_REFS.SERVICE_TERMS],\n /**\n * OIDC interactive-consent screen (S1). A third-party client that acts on the user's behalf\n * redirects the browser here with the OAuth authorize query (`client_id`, `redirect_uri`,\n * `response_type=code`, `code_challenge`, optional `scope`/`resource`/`state`/`nonce`). The page\n * calls `GET /oauth/authorize` (Bearer), renders the requesting client + scopes + agent resource,\n * and on approve/deny POSTs to `/oauth/authorize/decision` then navigates to the returned\n * `redirect_to`. Public route (self-redirects to login when unauthenticated).\n */\n oauthConsent: '/oauth/consent',\n /**\n * The OAuth device authorization grant's verification page (RFC 8628): a signed-in person enters the code a device\n * without a browser shows, checks which client asks to act for them, and approves or denies. The authorization server\n * answers it as `verification_uri`, from the same constant. Public route (self-redirects to sign-in).\n */\n oauthDeviceVerification: OAUTH_DEVICE_VERIFICATION_ROUTE_PATH,\n /**\n * OIDC RP-Initiated Logout landing (revocation-C, §5). Where `GET /oauth/end-session` sends the browser\n * after terminating the End-User's OP session when the request carried NO valid `post_logout_redirect_uri`\n * — the OP displays a \"you have been signed out\" confirmation rather than redirecting back to the relying\n * party. A request WITH a registered `post_logout_redirect_uri` skips this and redirects straight to the RP\n * (with `state` echoed). Public route; the session is already terminated server-side before the browser lands.\n */\n oauthLoggedOut: '/oauth/logged-out',\n /**\n * OIDC RP-Initiated Logout §6 confirmation prompt (revocation-C). Where `GET /oauth/end-session` sends the\n * browser for a NON-trusted logout — anything except a trusted RP presenting a valid `id_token_hint` AND an\n * exact-match registered `post_logout_redirect_uri` (which is logged out directly, no prompt — the\n * Keycloak-style posture). Carries a single-use `?token=` naming the session; the page asks the End-User to\n * confirm, then POSTs the token to `POST /oauth/end-session/confirm` (which terminates the session) and lands\n * on `/oauth/logged-out`. Public route; token-driven (never gates on a Bearer).\n */\n oauthLogoutConfirm: '/oauth/logout-confirm',\n /**\n * Where a signed-in member confirms and completes the one-time link a chat bot (Slack, Microsoft Teams) gave them\n * (#2660). Derived from `CHAT_IDENTITY_LINK_PAGE_PATH`, so the URL the bot writes and the route mounted here cannot\n * disagree. Public route; the page sends a visitor who is not signed in to sign in first, link intact.\n */\n chatIdentityLink: CHAT_IDENTITY_LINK_PAGE_PATH,\n /**\n * Where a person who opened an answer link of a decision's email sees the decision and confirms the answer. Derived\n * from `HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH`, so the URL the email carries and the route mounted here cannot\n * disagree. Public route: the link's token is the credential; the page signs the person in first only when the\n * decision requires a step-up.\n */\n decisionEmailAnswer: HUMAN_DECISION_EMAIL_ANSWER_PAGE_PATH,\n /**\n * Browser-only OAuth2 / SAML callback landing.\n *\n * Renders `AuthPage_AuthCallback`, which extracts `code` from the URL\n * search params and delegates to `handleAuthCodeExchange`. The framework\n * targets web stacks exclusively, so there is no native deep-link\n * variant for this path.\n */\n authCallback: '/auth/callback',\n /**\n * The page a federated re-authentication returns to, inside the step-up dialog's popup (#1441). Derived\n * from the shared `REAUTHENTICATION_CALLBACK_PAGE_PATH`, so the URL the backend redirects to and the\n * route mounted here cannot disagree.\n */\n reAuthenticationCallback: REAUTHENTICATION_CALLBACK_PAGE_PATH,\n magicLinkVerify: '/auth/magic-link/verify',\n mfaChallenge: '/auth/mfa',\n enrollmentRequired: '/auth/enrollment-required',\n /** The organization-name step for an account parked at onboarding (#1090). Carries no session id: the parked session mints, so it stays in the auth context and out of history and request logs. */\n organizationOnboarding: '/auth/organization-onboarding',\n\n /**\n * The engine's decision inbox (#2527, `EnginePageRef.DECISIONS`): every pending decision the signed-in person may act\n * on. Placed by the engine for an application whose agents can wait on a person's decision.\n */\n decisions: HUMAN_DECISION_INBOX_PAGE_PATH,\n /**\n * The link to one of the signed-in person's conversations (#4013), which a notice or an email about the conversation\n * opens: it sends the person on to the view the application shows that conversation's system in. Derived from the\n * shared `CONVERSATION_LINK_PAGE_PATH`, so the link the backend writes and the route mounted here cannot disagree.\n */\n conversationLink: CONVERSATION_LINK_PAGE_PATH,\n /** Unified Settings Hub (overlay) — opened at its default section. `/settings/security` resolves here too (hub at its Security section). */\n settings: APPLICATION_SETTINGS_PATH,\n /** Unified Settings Hub (overlay) — opened at a specific section. URL-addressable for deep-link reconstruction. */\n settingsSection: `${APPLICATION_SETTINGS_PATH}/:sectionRef`,\n /**\n * Unified Settings Hub (overlay) — opened at a specific SUB-TAB of a section.\n *\n * Ten destinations render as sub-tabs and they carry twenty-one panels between them, none of\n * which was addressable before 2026-09-17: `SettingsSubTabs` held the active tab in local state\n * seeded from `subTabs[0]`, so every link to a sub-tabbed section landed on its first tab and\n * \"Single sign-on → Connections\" could not be sent to anybody. That contradicted the hub's own\n * stated contract, which is that the URL is its single source of truth.\n */\n settingsSectionSubTab: `${APPLICATION_SETTINGS_PATH}/:sectionRef/:subTabRef`,\n /**\n * The identity portal's account-security page: how the person signs in (password, passkeys, an authenticator app, a\n * phone) and where they are signed in. The same path as the Settings Hub's Security section, so the links emails and\n * notices already carry (`applicationSettingsDestinationPath(SECURITY)`) open the same page on a portal.\n */\n accountSecurity: applicationSettingsDestinationPath(EngineSettingsDestinationRef.SECURITY),\n\n /** W7.3b: One-off session token exchange — public, uses EphemeralSessionTokenStorage */\n oneOffSession: '/one-off-session/:token',\n\n /**\n * Public drop page for a single-use file-upload grant (issue #312, D12). Derived from the shared\n * `FILE_UPLOAD_GRANT_PAGE_PATH` so the URL the backend writes into a grant's `uploadPageUrl` and the\n * route the frontend mounts cannot disagree.\n */\n fileUploadGrant: `${FILE_UPLOAD_GRANT_PAGE_PATH}/:token`,\n\n /**\n * Cross-frontend handoff exchange landing.\n *\n * The cross-frontend handoff issuer (`POST /auth/cross-frontend-handoff`)\n * composes a redirect URL of the shape\n * `<targetPublicUrl>/auth/exchange?code=<token>&return=<encodedReturnPath>`.\n * Every receiving frontend MUST mount a handler at this path. This entry\n * pins the path (and lets `Auth_OneOffSession` in\n * `mode='cross-frontend-handoff'` consume it via the shared `AppRouter`).\n *\n * Distinct from `authCallback` (`/auth/callback`) on purpose — the OAuth2\n * callback URL carries provider-specific query params (`state`, `error`,\n * `error_description`) that are irrelevant to a cross-frontend handoff,\n * and the two flows have distinct telemetry / breadcrumb semantics.\n * Distinct from `oneOffSession` (`/one-off-session/:token`) on purpose —\n * one-off sessions consume W7.3b ephemeral tokens via a different backend\n * endpoint (`/auth/one-off-session/exchange`); cross-frontend handoffs\n * consume AUTH_CODE_EXCHANGE tokens via `/auth/token/exchange`.\n *\n * The query-param form (`?code=` rather than `:token` in the path) matches\n * the docs-site `AuthExchangePage` already mounted at the same path on the\n * docs target — keeping the URL shape uniform across SaaS-app and\n * docs-site receivers means the handoff issuer composes ONE URL shape.\n */\n authExchange: '/auth/exchange',\n\n // Development routes\n devTest: '/_dev/test',\n devThemeGallery: '/_dev/theme-gallery',\n} as const;\n\nexport type CommonRouteKey = keyof typeof CommonRoutePaths;\n\n"]}
|
|
@@ -15,7 +15,9 @@ export declare enum MainContextInitComponents {
|
|
|
15
15
|
ROUTER = "router",
|
|
16
16
|
I18N = "i18n",
|
|
17
17
|
APP_MAIN_CONTAINER = "appMainContainer",
|
|
18
|
-
PUBLIC_APP_CONTAINER = "publicAppContainer"
|
|
18
|
+
PUBLIC_APP_CONTAINER = "publicAppContainer",
|
|
19
|
+
/** The identity portal's signed-in shell, in place of the product shell when the runtime runs as the portal. */
|
|
20
|
+
IDENTITY_PORTAL_CONTAINER = "identityPortalContainer"
|
|
19
21
|
}
|
|
20
22
|
export declare const InitializationStatusSchema: z.ZodRecord<z.ZodEnum<typeof MainContextInitComponents>, z.ZodBoolean>;
|
|
21
23
|
export type InitializationStatus = z.infer<typeof InitializationStatusSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.frontend.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/runtime.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB;;;GAGG;AACH,oBAAY,yBAAyB;IACnC,YAAY,gBAAgB;IAC5B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,kBAAkB,qBAAqB;IACvC,oBAAoB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"runtime.frontend.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/runtime.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB;;;GAGG;AACH,oBAAY,yBAAyB;IACnC,YAAY,gBAAgB;IAC5B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,kBAAkB,qBAAqB;IACvC,oBAAoB,uBAAuB;IAC3C,gHAAgH;IAChH,yBAAyB,4BAA4B;CACtD;AAED,eAAO,MAAM,0BAA0B,wEAGtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -17,6 +17,8 @@ export var MainContextInitComponents;
|
|
|
17
17
|
MainContextInitComponents["I18N"] = "i18n";
|
|
18
18
|
MainContextInitComponents["APP_MAIN_CONTAINER"] = "appMainContainer";
|
|
19
19
|
MainContextInitComponents["PUBLIC_APP_CONTAINER"] = "publicAppContainer";
|
|
20
|
+
/** The identity portal's signed-in shell, in place of the product shell when the runtime runs as the portal. */
|
|
21
|
+
MainContextInitComponents["IDENTITY_PORTAL_CONTAINER"] = "identityPortalContainer";
|
|
20
22
|
})(MainContextInitComponents || (MainContextInitComponents = {}));
|
|
21
23
|
export const InitializationStatusSchema = z.record(z.enum(MainContextInitComponents), z.boolean());
|
|
22
24
|
//# sourceMappingURL=runtime.frontend.schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.frontend.schemas.js","sourceRoot":"","sources":["../../../../src/core/runtime/runtime.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"runtime.frontend.schemas.js","sourceRoot":"","sources":["../../../../src/core/runtime/runtime.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB;;;GAGG;AACH,MAAM,CAAN,IAAY,yBAWX;AAXD,WAAY,yBAAyB;IACnC,yDAA4B,CAAA;IAC5B,sCAAS,CAAA;IACT,8CAAiB,CAAA;IACjB,8CAAiB,CAAA;IACjB,8CAAiB,CAAA;IACjB,0CAAa,CAAA;IACb,oEAAuC,CAAA;IACvC,wEAA2C,CAAA;IAC3C,gHAAgH;IAChH,kFAAqD,CAAA;AACvD,CAAC,EAXW,yBAAyB,KAAzB,yBAAyB,QAWpC;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAChD,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,EACjC,CAAC,CAAC,OAAO,EAAE,CACZ,CAAC","sourcesContent":["/**\n * Frontend Runtime Schemas\n * Minimal abstractions that simplify breakpoint-responsive configurations from saas-models\n */\n\nimport { z } from 'zod';\n/**\n * Main Context Initialization Components\n * Tracks initialization state of key application components\n */\nexport enum MainContextInitComponents {\n MAIN_CONTEXT = 'mainContext',\n UI = 'ui',\n LOADER = 'loader',\n ERRORS = 'errors',\n ROUTER = 'router',\n I18N = 'i18n',\n APP_MAIN_CONTAINER = 'appMainContainer',\n PUBLIC_APP_CONTAINER = 'publicAppContainer',\n /** The identity portal's signed-in shell, in place of the product shell when the runtime runs as the portal. */\n IDENTITY_PORTAL_CONTAINER = 'identityPortalContainer',\n}\n\nexport const InitializationStatusSchema = z.record(\n z.enum(MainContextInitComponents),\n z.boolean()\n);\nexport type InitializationStatus = z.infer<typeof InitializationStatusSchema>;\n\n\n"]}
|