@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSectionContainer.js","sourceRoot":"","sources":["../../../../src/components/sections/ContentSectionContainer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAwB,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAoB/F,OAAO,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAChH,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,cAAc,EAAE,UAAU,EAAE,iBAAiB,EAAE,cAAc,EAAoB,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC5L,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAChH,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAE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I,EAAC,MAAM,YACjH,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CAChC,MAAC,KAAK,CAAC,QAAQ,eACb,MAAC,WAAW,IACV,IAAI,EAAE,KAAK,EACX,IAAI,EAAC,UAAU,gBACH,OAAO,CAAC,EAAE,sBACJ,MAAM,CAAC,KAAK,CAAC,kBACjB,MAAM,CAAC,KAAK,CAAC,KAAK,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,aAE9E,KAAC,gBAAgB,IAAC,IAAI,EAAE,KAAK,iBAAc,MAAM,GAAG,EACpD,eAAK,SAAS,EAAC,gBAAgB,aAC7B,KAAC,YAAY,IAAC,IAAI,EAAE,KAAK,YAAG,OAAO,CAAC,KAAK,GAAgB,EACxD,OAAO,CAAC,WAAW,IAAI,IAAI,IAAI,KAAC,kBAAkB,IAAC,IAAI,EAAE,KAAK,YAAG,OAAO,CAAC,WAAW,GAAsB,EAC3G,cAAK,SAAS,EAAC,UAAU,YAAE,OAAO,CAAC,OAAO,GAAO,IAC7C,IACM,EAEb,KAAK,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,KAAK,iBAAc,MAAM,EAAC,SAAS,EAAC,gCAAgC,GAAG,KAhB5G,OAAO,CAAC,EAAE,CAiBd,CAClB,CAAC,GACM,GACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,uBAAuB,CAAC,WAAW,GAAG,yBAAyB,CAAC;AAEhE,eAAe,uBAAuB,CAAC","sourcesContent":["/**\n * ContentSectionContainer Component\n *\n * A universal container for rendering content sections in various modes.\n * Part of the UI Abstraction Patterns implementation.\n *\n * Uses the `SectionConfig` discriminated union — each mode variant\n * carries only its relevant parameters, enabling TypeScript narrowing\n * in the `switch (config.mode)` dispatcher.\n *\n * Supports 14 modes across 4 categories:\n * - Solo: default, card, ghost, collapsible\n * - Layout: inline, grid, columns\n * - Navigation: tabs, vertical_tabs, pills\n * - Expandable: accordion, expandable\n * - Guided: stepper, timeline, stages (a record's lifecycle, read-only)\n */\n\nimport React, { useCallback, useEffect, useId, useRef, useState } from 'react';\nimport { SectionMode, type SoloSectionMode, DisplayDirection } from '@wildo-ai/zod-decorators';\nimport type {\n AutoSectionWrap,\n SectionConfig,\n SectionConfig_Default,\n SectionConfig_Card,\n SectionConfig_Ghost,\n SectionConfig_Inline,\n SectionConfig_Grid,\n SectionConfig_Columns,\n SectionConfig_Tabs,\n SectionConfig_VerticalTabs,\n SectionConfig_Pills,\n SectionConfig_Accordion,\n SectionConfig_Collapsible,\n SectionConfig_Expandable,\n SectionConfig_Stepper,\n SectionConfig_Timeline,\n SectionConfig_Stages,\n} from '@wildo-ai/presets-components-models';\nimport { cn } from '~wildo-frontend-lib/core/ui/cn';\nimport { focusIndicatorClasses, FocusIndicatorShape } from '~wildo-frontend-lib/core/ui/themes/focus-indicator';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport { useSurfacePolicy } from '~wildo-frontend-lib/core/ui/SurfacePolicyContext';\nimport { ButtonSize, FrontendComponentType, LabellingTypes, UIBehavior, SelectableVariant, SurfaceVariant, IndicatorVariant, TypographyVariant } from '@wildo-ai/presets-components-models';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useIconRegistry } from '~wildo-frontend-lib/core/icons/useIconRegistry';\nimport { IconSize, StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport { sectionHeadingClassName } from '~wildo-frontend-lib/components/sections/section-legend-voice';\n\nimport { Tabs, TabsList, TabsTrigger, TabsContent } from '~wildo-frontend-lib/components/sections/tabs';\nimport { Timeline, TimelineBody, TimelineEntry } from '~wildo-frontend-lib/components/data-display/timeline';\nimport { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from '~wildo-frontend-lib/components/sections/accordion';\nimport { ToggleGroupType } from '~wildo-frontend-lib/components/form/controls/enum/toggle-group';\nimport { Collapsible, CollapsibleTrigger, CollapsibleContent } from '~wildo-frontend-lib/components/sections/collapsible';\nimport { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle } from '~wildo-frontend-lib/components/sections/stepper';\nimport { SectionStageState, resolveSectionStageStates } from '~wildo-frontend-lib/components/sections/section-stages';\nimport { LoggerFrontendService } from '~wildo-frontend-lib/core/monitoring/logger.frontend.service';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Badge } from '~wildo-frontend-lib/components/data-display/badge';\nimport { Surface } from '~wildo-frontend-lib/components/sections/surface';\nimport { ContentSection } from '~wildo-frontend-lib/components/sections/content-section';\nimport { EmptyState } from '~wildo-frontend-lib/components/feedback/empty-state';\nimport { DEFAULT_EXPANDABLE_INITIAL_VISIBLE_COUNT } from '~wildo-frontend-lib/components/sections/section-grouping.shared';\nimport { fieldRevealPanelAttributes, useFieldRevealRequests, useKeepsHiddenPanelsMounted } from '~wildo-frontend-lib/components/form/validation-errors/field-reveal';\n\n// =============================================================================\n// TYPES\n// =============================================================================\n\nexport interface ContentSectionDescriptor {\n /** Unique identifier for the section */\n id: string;\n /** Display title resolved from i18n. */\n title?: React.ReactNode;\n /** Optional description */\n description?: React.ReactNode;\n /** Content to render */\n content: React.ReactNode;\n /** Optional icon */\n icon?: React.ReactNode;\n /** A count the section's tab carries beside its title, in the tone it reads in (#1325). */\n count?: number;\n countTone?: IndicatorVariant;\n /** Whether section is disabled */\n disabled?: boolean;\n}\n\nexport interface ContentSectionContainerProps {\n /** Array of sections to render */\n sections: ContentSectionDescriptor[];\n /** Configuration — discriminated union, narrowed by `config.mode` */\n config: SectionConfig;\n /** Additional CSS classes */\n className?: string;\n /** Callback when active section changes */\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\nfunction resolveSectionWrapMode(value: string | undefined): AutoSectionWrap {\n switch (value) {\n case 'grouped':\n case 'flat':\n case 'separator-only':\n return value;\n default:\n return 'card-each';\n }\n}\n\n/**\n * Maps the surface-policy `autoSectionWrap` to a {@link ContentSection}\n * `appearance` (+ optional className). Every container panel renders through\n * the registry-resolved `ContentSection` primitive, so panels inherit the native\n * `<fieldset disabled>` cascade solo sections have:\n * - `card-each` → CARD (a framed fieldset; an authored card paints its frame in every context, nested or not)\n * - `flat` → DEFAULT (bare fieldset, no frame)\n * - `separator-only` → DEFAULT + a bottom-divider className\n *\n * Container panels render through ContentSection's PANEL mode: a titled card with a\n * header band (an `<h3>` with icon over a `border-b` divider, content in a `p-card`\n * area) for CARD, a flat group otherwise.\n */\nfunction wrapModeToAppearance(wrapMode: AutoSectionWrap): { appearance: SoloSectionMode; className?: string } {\n switch (wrapMode) {\n case 'flat':\n return { appearance: SectionMode.DEFAULT };\n case 'separator-only':\n return { appearance: SectionMode.DEFAULT, className: 'border-b pb-field last:border-b-0 last:pb-0' };\n // `grouped` renders its own single-card + eyebrow chrome in the stacked path\n // (see GroupedSectionsCard). Any OTHER container mode (grid/tabs/columns/…)\n // that resolves `grouped` falls back to `card-each` here — those modes supply\n // their own layout, so a per-section card is the sensible frame.\n case 'grouped':\n case 'card-each':\n default:\n return { appearance: SectionMode.CARD };\n }\n}\n\n/**\n * GROUPED wrap-mode chrome (T3) — the modern default for stacked forms/settings.\n *\n * Renders ALL sections inside ONE `SurfaceVariant.CARD`, each as a flat group\n * introduced by an **eyebrow** label (the theme's `TypographyVariant.EYEBROW` recipe, the same voice\n * a TITLE-styled field label takes) and separated by `divide-y` — instead of a bordered card\n * per section with a floating `<legend>`. Each group's body is a flat\n * `ContentSection` (`SectionMode.DEFAULT`) so the native `<fieldset disabled>`\n * cascade + inter-field spacing are preserved; the section title is promoted to\n * the eyebrow (not the fieldset legend), so there is no nested per-group border.\n *\n * Used only by the stacked composition (single-section + InlineMode). It does not\n * touch the `ContentSection` primitive itself — it composes it.\n */\nconst GroupedSectionsCard: React.FC<{\n sections: ContentSectionDescriptor[];\n className?: string;\n}> = ({ sections, className }) => {\n const { getRecipe } = useUI();\n const cardRecipe = getRecipe(UIBehavior.SURFACE, SurfaceVariant.CARD);\n const eyebrowRecipe = getRecipe(UIBehavior.TYPOGRAPHY, TypographyVariant.EYEBROW);\n const getLabel = useContentSectionContainerLabel();\n\n return (\n <Surface\n asChild\n emitPolicyVars={false}\n variant={SurfaceVariant.CARD}\n policyOverride={{ nesting: { framingMode: 'always' as const } }}\n >\n <div\n role=\"region\"\n aria-label={getLabel('contentSectionsRegion')}\n className={cn(cardRecipe.base, 'divide-y divide-border', className)}\n >\n {sections.map((section) => (\n <section key={section.id} data-slot=\"content-group\" className=\"space-y-field p-card\">\n {(section.title != null || section.icon != null) && (\n <div className={cn('flex items-center gap-element-xs', eyebrowRecipe.base)}>\n {section.icon != null && <span className=\"inline-flex items-center\">{section.icon}</span>}\n {section.title}\n </div>\n )}\n {section.description != null && (\n <p className=\"text-sm text-muted-foreground\">{section.description}</p>\n )}\n <ContentSection appearance={SectionMode.DEFAULT} disabled={section.disabled}>\n {section.content}\n </ContentSection>\n </section>\n ))}\n </div>\n </Surface>\n );\n};\n\n/**\n * Renders a section panel WITH its heading through `ContentSection` in PANEL mode:\n * the heading renders as an `<h3>`/`<h4>` band (icon + title, level per `titleTag`,\n * default `h3`) with a `border-b` divider above the `p-card` content area (the\n * titled-card-with-header look), framed per `wrapMode` via a `<fieldset>` that\n * carries the disabled cascade (a `card-each` panel always paints its card, a flat\n * one never frames). Used by the panel-heading\n * modes (single / inline / grid / columns / collapsible / expandable). Collapsible\n * panels pass `titleTag: 'h4'` since they nest under the collapsible-all `<h3>`.\n * The explicit `section.disabled` flows to the panel `<fieldset disabled>` for the\n * content cascade (plan Decision 4: panel content disabling is explicit/form-driven,\n * distinct from nav-trigger gating).\n */\nfunction renderPanelSection(section: ContentSectionDescriptor, params?: {\n titleTag?: 'h3' | 'h4';\n wrapMode?: AutoSectionWrap;\n}): React.ReactNode {\n const { appearance, className } = wrapModeToAppearance(params?.wrapMode ?? 'card-each');\n\n return (\n <ContentSection\n key={section.id}\n panel\n appearance={appearance}\n headingTag={params?.titleTag}\n legend={section.title}\n icon={section.icon}\n description={section.description}\n disabled={section.disabled}\n className={className}\n >\n {section.content}\n </ContentSection>\n );\n}\n\n/**\n * Renders a section panel WITHOUT a panel heading through `ContentSection` — used\n * by the navigation/guided modes (tabs / vertical-tabs / pills / accordion /\n * stepper / timeline) where the heading lives in the trigger or nav and any\n * description/title is already injected into `content`. No `disabled` is passed:\n * nav-trigger gating stays on the trigger, and form-context disabling already\n * cascades from the form-level `<fieldset disabled>` (plan Decision 4).\n */\nfunction renderSectionContentChrome(\n section: ContentSectionDescriptor,\n content: React.ReactNode = section.content,\n wrapMode: AutoSectionWrap = 'card-each',\n): React.ReactNode {\n const { appearance, className } = wrapModeToAppearance(wrapMode);\n\n return (\n <ContentSection key={section.id} panel appearance={appearance} className={className}>\n {content}\n </ContentSection>\n );\n}\n\n/**\n * A section's content, introduced by its description. The modes whose heading lives OUTSIDE the panel (a tab, a\n * pill, a step, an accordion row) render the panel content-only, so the description had nowhere to go and was\n * dropped: TABS, VERTICAL_TABS, PILLS and STEPPER showed a section without the sentence that says what it is for,\n * which every other mode shows. It leads the panel, in the theme's description voice.\n */\nfunction SectionPanelContent({ section }: { section: ContentSectionDescriptor }): React.ReactNode {\n const { getRecipe } = useUI();\n if (section.description == null) return section.content;\n return (\n <>\n <p className={cn('mb-field', getRecipe(UIBehavior.TYPOGRAPHY, TypographyVariant.DESCRIPTION).base)}>{section.description}</p>\n {section.content}\n </>\n );\n}\n\n// =============================================================================\n// MAIN COMPONENT\n// =============================================================================\n\nexport const ContentSectionContainer: React.FC<ContentSectionContainerProps> = ({\n sections,\n config,\n className,\n onSectionChange,\n}) => {\n const surfacePolicy = useSurfacePolicy();\n const sectionWrapMode = resolveSectionWrapMode(surfacePolicy.autoRender?.autoSectionWrap);\n\n if (sections.length === 0) {\n if (config.emptyStateMessage) {\n return (\n <EmptyState\n title={config.emptyStateMessage}\n variant=\"compact\"\n className={className}\n />\n );\n }\n return null;\n }\n\n if (sections.length === 1 && !config.showSingleSectionNav) {\n if (sectionWrapMode === 'grouped') {\n return <GroupedSectionsCard sections={sections} className={className} />;\n }\n return (\n <div className={className}>\n {renderPanelSection(sections[0], { wrapMode: sectionWrapMode })}\n </div>\n );\n }\n\n switch (config.mode) {\n case SectionMode.DEFAULT:\n case SectionMode.CARD:\n case SectionMode.GHOST:\n case SectionMode.INLINE:\n return <InlineMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.GRID:\n return <GridMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.COLUMNS:\n return <ColumnsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.TABS:\n return <TabsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.VERTICAL_TABS:\n return <VerticalTabsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.PILLS:\n return <PillsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.ACCORDION:\n return <AccordionMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.COLLAPSIBLE:\n return <CollapsibleMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.EXPANDABLE:\n return <ExpandableMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.STEPPER:\n return <StepperMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.TIMELINE:\n return <TimelineMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.STAGES:\n return <StagesMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n default:\n return <InlineMode sections={sections} config={{ mode: SectionMode.INLINE }} className={className} sectionWrapMode={sectionWrapMode} />;\n }\n};\n\n// =============================================================================\n// LAYOUT-BASED MODES\n// =============================================================================\n\n// =============================================================================\n// GAP HELPER\n// =============================================================================\n\nconst GAP_CLASSES = {\n sm: 'gap-element',\n md: 'gap-field',\n lg: 'gap-section',\n} as const;\n\n/** The length each gap class stands for, for a column computation that has to subtract the gaps. */\nconst GAP_LENGTHS = {\n sm: 'var(--spacing-element)',\n md: 'var(--spacing-field)',\n lg: 'var(--spacing-section)',\n} as const;\n\n/** The narrowest a COLUMNS column gets before the columns become fewer (the GRID default minimum, for one look). */\nconst COLUMNS_MIN_WIDTH = '300px';\n\nconst CONTENT_SECTION_CONTAINER_COMPONENT = FrontendComponentType.LOW_LEVEL_CONTENT_SECTION_CONTAINER;\n\nfunction useContentSectionContainerLabel(): (\n key: string,\n params?: Record<string, string | number>,\n) => string {\n const { tComponent } = useI18n({\n component: CONTENT_SECTION_CONTAINER_COMPONENT,\n });\n\n return useCallback((key: string, params?: Record<string, string | number>) => {\n const result = tComponent(CONTENT_SECTION_CONTAINER_COMPONENT, key, params);\n const base = `${LabellingTypes.COMPONENTS}.${CONTENT_SECTION_CONTAINER_COMPONENT}.${key}`;\n return result === base ? '' : result;\n }, [tComponent]);\n}\n\n// =============================================================================\n// LAYOUT-BASED MODES\n// =============================================================================\n\ninterface InlineModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Default | SectionConfig_Card | SectionConfig_Ghost | SectionConfig_Inline;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst InlineMode: React.FC<InlineModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const gap = ('gap' in config ? config.gap : undefined) ?? 'md';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n\n // GROUPED (modern default): one card, eyebrow-labelled groups, divide-y.\n if (sectionWrapMode === 'grouped') {\n return <GroupedSectionsCard sections={sections} className={className} />;\n }\n\n return (\n <div\n // A column with the configured gap. `space-y-field` beside a `gap-*` class gave every gap the field spacing:\n // `gap` does nothing on a block container, so the `gap` option was a no-op.\n className={cn('flex flex-col', gapClass, className)}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentSectionsRegion')}\n >\n {sections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n );\n};\n\ninterface GridModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Grid;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst GridMode: React.FC<GridModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n // `'auto'` is the documented default (`SectionConfig_Grid.columnCount`); the code defaulted to 2.\n const columnCount = config.columnCount === 'auto' || config.columnCount === undefined ? undefined : config.columnCount;\n const gap = config.gap ?? 'md';\n const minColumnWidth = config.minColumnWidth ?? '300px';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n\n /*\n * Responsive in both shapes. `auto` fits as many columns of `minColumnWidth` as the container holds. A column\n * COUNT is a ceiling, not a constant: each column is at least its share of the row (so a wide container shows\n * exactly N) and at least `minColumnWidth` (so a narrow one shows fewer, down to one). A fixed `repeat(N, 1fr)`\n * squeezed two columns into a phone. `min(100%, …)` keeps a single column from overflowing a container narrower\n * than the minimum.\n *\n * The two shapes differ when there are fewer sections than columns. A COUNT keeps its columns (`auto-fill`): two\n * sections in a three-column grid take two of three columns, as `grid-cols-3` does, so they line up with a\n * three-column grid beside them. `auto` lets the sections fill the row (`auto-fit` collapses the empty columns).\n */\n const columnWidth = columnCount\n ? `max(${minColumnWidth}, calc((100% - ${columnCount - 1} * ${GAP_LENGTHS[gap]}) / ${columnCount}))`\n : minColumnWidth;\n const repeatMode = columnCount ? 'auto-fill' : 'auto-fit';\n const style: React.CSSProperties = { gridTemplateColumns: `repeat(${repeatMode}, minmax(min(100%, ${columnWidth}), 1fr))` };\n\n return (\n <div\n className={cn('grid', gapClass, className)}\n style={style}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentGridRegion')}\n >\n {sections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n );\n};\n\ninterface ColumnsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Columns;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst ColumnsMode: React.FC<ColumnsModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const gap = config.gap ?? 'md';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n /*\n * CSS multi-column with a minimum width: `columns: <count> <width>` is \"at most <count> columns, none narrower\n * than <width>\", so a narrow container flows into fewer. `'auto'`, the documented default, sets the width alone\n * and lets the container decide the count. The code used a fixed two columns whatever the width.\n */\n const columns = config.columnCount === 'auto' || config.columnCount === undefined\n ? COLUMNS_MIN_WIDTH\n : `${config.columnCount} ${COLUMNS_MIN_WIDTH}`;\n\n return (\n <div\n className={cn(gapClass, className)}\n style={{ columns }}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentColumnsRegion')}\n >\n {sections.map((section) => (\n <div\n key={section.id}\n className={cn(\n 'break-inside-avoid mb-field',\n sectionWrapMode === 'separator-only' && 'border-b pb-field last:border-b-0 last:pb-0'\n )}\n >\n {renderPanelSection(section, { wrapMode: sectionWrapMode === 'separator-only' ? 'flat' : sectionWrapMode })}\n </div>\n ))}\n </div>\n );\n};\n\n// =============================================================================\n// NAVIGATION-BASED MODES\n// =============================================================================\n\ninterface TabsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Tabs;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * The tab a tab set shows, with the controlled/uncontrolled contract an OWNER can drive it through (deep links,\n * cross-pane navigation): with `config.activeSection` present the owner's value renders and a selection is only\n * REPORTED through `onSectionChange` (an owner that sets it and ignores the callback has frozen its tabs); without it\n * the set keeps its own. Held here rather than inside Radix so the set can answer a reveal request.\n */\nfunction useActiveTab(\n config: { defaultActive?: string; activeSection?: string },\n sections: ContentSectionDescriptor[],\n onSectionChange: ((sectionId: string | string[]) => void) | undefined,\n): { active: string | undefined; select: (id: string) => void; revealContainerId: string } {\n const [localActive, setLocalActive] = useState(config.defaultActive ?? sections[0]?.id);\n const active = config.activeSection ?? localActive;\n const select = (id: string): void => {\n setLocalActive(id);\n onSectionChange?.(id);\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (id === active) return false;\n select(id);\n return true;\n });\n return { active, select, revealContainerId };\n}\n\nconst TabsMode: React.FC<TabsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const getLabel = useContentSectionContainerLabel();\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { active, select, revealContainerId } = useActiveTab(config, sections, onSectionChange);\n\n return (\n <Tabs value={active} className={className} onValueChange={select}>\n {/* Radix wires role, `aria-controls` and `aria-labelledby` between each trigger and its panel. */}\n <TabsList aria-label={config.ariaLabel ?? getLabel('sectionTabsNav')}>\n {sections.map((section) => (\n <TabsTrigger\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n {...(section.count !== undefined ? { count: section.count } : {})}\n {...(section.countTone !== undefined ? { countTone: section.countTone } : {})}\n >\n {section.icon && <span className=\"me-element\">{section.icon}</span>}\n {section.title}\n </TabsTrigger>\n ))}\n </TabsList>\n {sections.map((section) => (\n <TabsContent\n key={section.id}\n value={section.id}\n {...(keepPanelsMounted ? { forceMount: true, hidden: section.id !== active } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n // The active panel appears fresh on each switch (mounted outside a form, un-hidden inside one, and a CSS\n // animation restarts when an element stops being `display: none`), so `animate-in fade-in-0` runs once per\n // activation: a subtle cross-fade instead of an instant pop.\n className=\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </TabsContent>\n ))}\n </Tabs>\n );\n};\n\ninterface VerticalTabsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_VerticalTabs;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * VERTICAL_TABS — side nav rail + content pane.\n *\n * Built on the Radix `Tabs` primitive (`orientation=\"vertical\"`) rather than a\n * hand-rolled `<nav>` of buttons. The prior hand-rolled version had three real\n * defects the primitive fixes for free: (1) the icon rendered STACKED above the\n * label because the plain button lacked `inline-flex items-center` (the Tabs\n * trigger preset supplies it); (2) `aria-controls` / `aria-labelledby` pointed at\n * ids that were never emitted on the trigger side, so the tab↔panel relationship\n * was broken for AT; (3) `role=\"tab\"` buttons had no roving `tabindex` or\n * Arrow-key navigation. The Tabs preset already styles `data-[orientation=vertical]`\n * as a left-aligned nav rail, so the look is preserved.\n */\n/**\n * Below this width the rail sits ABOVE its panel instead of beside it: the default 12rem rail plus the 24rem a\n * label-and-value row needs. Measured on the SSO policy in the Settings Hub at phone width (#2329): a 390px screen\n * left the rail half the pane and its fields about 80px, wrapping \"Require SSO\" a word per line. Nothing collapsed\n * the rail at any width. It is the CONTAINER that decides, not the viewport: the same section is narrow in a\n * settings pane on a wide screen.\n */\nconst VERTICAL_TABS_STACKING_THRESHOLD_REM = 36;\n\n/** Whether the element is narrower than `thresholdRem`, re-measured as it resizes. False until measured, and where nothing can measure. */\nfunction useNarrowerThan(thresholdRem: number): [React.RefCallback<HTMLElement>, boolean] {\n const [element, setElement] = useState<HTMLElement | null>(null);\n const [narrow, setNarrow] = useState(false);\n useEffect(() => {\n if (!element || typeof ResizeObserver === 'undefined') return undefined;\n const rootFontSize = Number.parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;\n const measure = (width: number) => setNarrow(width > 0 && width < thresholdRem * rootFontSize);\n measure(element.getBoundingClientRect().width);\n const observer = new ResizeObserver(([entry]) => { if (entry) measure(entry.contentRect.width); });\n observer.observe(element);\n return () => observer.disconnect();\n }, [element, thresholdRem]);\n return [setElement, narrow];\n}\n\nconst VerticalTabsMode: React.FC<VerticalTabsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const getLabel = useContentSectionContainerLabel();\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { active, select, revealContainerId } = useActiveTab(config, sections, onSectionChange);\n const navWidth = config.navWidth ?? 'w-48';\n // In a narrow container the rail becomes the horizontal strip, which already scrolls and fades at its edges. The\n // same `Tabs` instance changes orientation, so the open tab is kept, and Radix announces the orientation (and\n // takes the arrow keys) that is actually on screen.\n const [measureRef, stacked] = useNarrowerThan(VERTICAL_TABS_STACKING_THRESHOLD_REM);\n\n return (\n <div ref={measureRef} className=\"min-w-0\" data-vertical-tabs-stacked={stacked || undefined}>\n <Tabs\n /* Controlled/uncontrolled split — same contract as TabsMode above (`useActiveTab`). */\n value={active}\n orientation={stacked ? DisplayDirection.HORIZONTAL : DisplayDirection.VERTICAL}\n /*\n * `mt-field` — the rail and its panel start BELOW whatever introduces them. A vertical tab\n * set is a navigation surface, not a paragraph: butted against the preceding content its\n * first rail item read as one more line of that content rather than as the top of a\n * different control. The horizontal set gets its separation for free from the strip's own\n * bottom rule; this one has no such edge, so the space has to be declared.\n */\n className={cn('mt-field', className)}\n onValueChange={select}\n >\n <TabsList\n className={stacked ? undefined : cn(navWidth, 'shrink-0 self-start border-e pe-card')}\n aria-label={config.ariaLabel ?? getLabel('verticalTabsRegion')}\n >\n {sections.map((section) => (\n <TabsTrigger\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n {...(section.count !== undefined ? { count: section.count } : {})}\n {...(section.countTone !== undefined ? { countTone: section.countTone } : {})}\n >\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </TabsTrigger>\n ))}\n </TabsList>\n {sections.map((section) => (\n <TabsContent\n key={section.id}\n value={section.id}\n {...(keepPanelsMounted ? { forceMount: true, hidden: section.id !== active } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className=\"min-w-0 flex-1 animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </TabsContent>\n ))}\n </Tabs>\n </div>\n );\n};\n\ninterface PillsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Pills;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * PILLS — a horizontal nav tablist over a single content pane.\n *\n * Styled as the HORIZONTAL EQUIVALENT OF THE VERTICAL RAIL for coherence: the\n * same `SELECTABLE.FILLED` recipe (a soft tinted fill on the selected item) and\n * `rounded-md` shape the vertical-tabs rail uses — just laid out in a row instead\n * of a column. Separated items, NO connecting tray (a tray would read as a\n * segmented control, colliding with TABS's underline bar). The FILLED family is\n * the \"filled-selection\" pattern; TABS (underline) is the distinct sibling.\n *\n * Hand-rolled (the horizontal-row layout differs from the Radix rail) but\n * a11y-complete: `inline-flex items-center` so the icon sits INLINE with the\n * label; a roving `tabindex` (only the active item is tabbable) with\n * Arrow/Home/End keys per the WAI-ARIA tabs pattern; real `useId`-based\n * `aria-controls`/`aria-labelledby`. Each item carries `data-state` so the\n * recipe's `data-[state=active]:` selected fill actually applies — without it the\n * selection did not persist (only the transient focus ring showed).\n */\nconst PillsMode: React.FC<PillsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const [uncontrolledActiveSection, setUncontrolledActiveSection] = useState(config.defaultActive ?? sections[0]?.id);\n /*\n * Hand-rolled twin of the Radix controlled/uncontrolled contract the two Tabs modes get for\n * free: with `config.activeSection` present the OWNER's value renders and a click is only\n * REPORTED; without it the local state applies. The local setter still runs in the controlled\n * shape — harmlessly, and it keeps the uncontrolled fallback warm if the owner later removes\n * the prop (the same behavior Radix exhibits).\n */\n const activeSection = config.activeSection ?? uncontrolledActiveSection;\n const setActiveSection = setUncontrolledActiveSection;\n const { getRecipe } = useUI();\n const getLabel = useContentSectionContainerLabel();\n const baseId = useId();\n const tablistRef = useRef<HTMLDivElement>(null);\n // FILLED — the SAME recipe the vertical-tabs rail uses, so the two are coherent.\n const selectableRecipe = getRecipe(UIBehavior.SELECTABLE, SelectableVariant.FILLED);\n\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n\n const tabId = (id: string): string => `${baseId}-tab-${id}`;\n const panelId = (id: string): string => `${baseId}-panel-${id}`;\n\n const handleSectionChange = (id: string): void => {\n setActiveSection(id);\n onSectionChange?.(id);\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (id === activeSection) return false;\n handleSectionChange(id);\n return true;\n });\n\n // WAI-ARIA tabs keyboard model: Arrow keys move (and activate) among ENABLED\n // pills, wrapping at the ends; Home/End jump to first/last. Focus follows the\n // selection so the roving tabindex stays coherent.\n const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>): void => {\n const keys = ['ArrowRight', 'ArrowLeft', 'Home', 'End'];\n if (!keys.includes(event.key)) return;\n const enabledIds = sections.filter((s) => !s.disabled).map((s) => s.id);\n if (enabledIds.length === 0) return;\n event.preventDefault();\n const current = enabledIds.indexOf(activeSection);\n let nextIndex = current < 0 ? 0 : current;\n if (event.key === 'ArrowRight') nextIndex = (current + 1) % enabledIds.length;\n else if (event.key === 'ArrowLeft') nextIndex = (current - 1 + enabledIds.length) % enabledIds.length;\n else if (event.key === 'Home') nextIndex = 0;\n else if (event.key === 'End') nextIndex = enabledIds.length - 1;\n const nextId = enabledIds[nextIndex];\n handleSectionChange(nextId);\n tablistRef.current?.querySelector<HTMLElement>(`#${CSS.escape(tabId(nextId))}`)?.focus();\n };\n\n const activeContentSection = sections.find(s => s.id === activeSection);\n\n /*\n * One panel per pill, each labelled by its own pill. Outside a form only the active one renders (keyed by its id,\n * so it mounts fresh and cross-fades on each switch); inside one every panel stays mounted and the others are hidden\n * (`useKeepsHiddenPanelsMounted`).\n */\n const renderPanel = (section: ContentSectionDescriptor): React.ReactNode => (\n <div\n key={section.id}\n role=\"tabpanel\"\n id={panelId(section.id)}\n aria-labelledby={tabId(section.id)}\n tabIndex={0}\n hidden={section.id !== activeSection}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className={cn(\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\", focusIndicatorClasses(FocusIndicatorShape.INSET))}\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </div>\n );\n\n return (\n <div\n className={cn('space-y-field', className)}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('pillNavigationRegion')}\n >\n <div\n ref={tablistRef}\n className=\"flex flex-wrap items-center gap-item\"\n role=\"tablist\"\n aria-label={config.ariaLabel ?? getLabel('sectionTabsNav')}\n onKeyDown={handleKeyDown}\n >\n {sections.map((section) => {\n const isActive = activeSection === section.id;\n return (\n <button\n key={section.id}\n id={tabId(section.id)}\n type=\"button\"\n role=\"tab\"\n aria-selected={isActive}\n aria-controls={panelId(section.id)}\n // `data-state` drives the PILL recipe's `data-[state=active]:` solid\n // fill — the persistent selected indicator (was missing → no fill).\n data-state={isActive ? 'active' : 'inactive'}\n tabIndex={isActive ? 0 : -1}\n disabled={section.disabled}\n className={cn(\n // Mirror the vertical rail item: FILLED recipe + rounded-md.\n 'inline-flex items-center gap-element rounded-md px-card-sm py-item font-medium',\n selectableRecipe.base,\n selectableRecipe.motion?.transition,\n selectableRecipe.states.focus,\n // Hover only when NOT active, so the hover tint can't override the\n // selected fill on the active item.\n !isActive && selectableRecipe.states.hover,\n isActive && selectableRecipe.states.selected,\n section.disabled && 'opacity-[var(--opacity-disabled)] cursor-not-allowed'\n )}\n onClick={() => handleSectionChange(section.id)}\n >\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </button>\n );\n })}\n </div>\n\n {keepPanelsMounted ? sections.map(renderPanel) : activeContentSection && renderPanel(activeContentSection)}\n </div>\n );\n};\n\n// =============================================================================\n// EXPANDABLE MODES\n// =============================================================================\n\ninterface AccordionModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Accordion;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\nconst AccordionMode: React.FC<AccordionModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const defaultValue = config.defaultExpanded ?? [sections[0]?.id];\n // A true ACCORDION is single-open: opening one row collapses the others. Left\n // multi-open (the prior `!== false` default), it was indistinguishable from a\n // stack of independent EXPANDABLE toggles — the two modes lost their semantic\n // distinction. Multi-open stays available via explicit `allowMultiple: true`.\n const allowMultiple = config.allowMultiple ?? false;\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { getRecipe } = useUI();\n const sectionTitleClassName = sectionHeadingClassName(getRecipe);\n // The open rows, held here rather than inside Radix so a reveal request can open the row holding a field.\n const [openItems, setOpenItems] = useState<string[]>(allowMultiple ? defaultValue : defaultValue.slice(0, 1));\n const changeOpenItems = (next: string[]): void => {\n setOpenItems(next);\n onSectionChange?.(allowMultiple ? next : (next[0] ?? ''));\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (openItems.includes(id)) return false;\n changeOpenItems(allowMultiple ? [...openItems, id] : [id]);\n return true;\n });\n\n const accordionItems = sections.map((section) => (\n <AccordionItem\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n >\n <AccordionTrigger\n className={cn(section.disabled && 'opacity-[var(--opacity-disabled)] cursor-not-allowed')}\n >\n {/*\n * Wrap icon + title in ONE flex group so the trigger's own\n * `justify-between` separates [icon+title] from the chevron only. Passing\n * icon and title as two SIBLING children made `justify-between` distribute\n * THREE items (icon | title | chevron) and shove the title to the centre.\n */}\n {/* Each row IS a section, so its title speaks as every section heading does (`sectionHeadingClassName`). */}\n <span className={cn('flex items-center gap-element', sectionTitleClassName)}>\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </span>\n </AccordionTrigger>\n <AccordionContent\n {...(keepPanelsMounted ? { forceMount: true, hidden: !openItems.includes(section.id) } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n >\n {/*\n FLAT, whatever the wrap policy: a disclosure panel's frame is the ITEM (the row and its divider), and its\n content joins the trigger above it (`AccordionContent`). A per-section card here floated the open content\n as a separate card under its own row.\n */}\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, 'flat')}\n </AccordionContent>\n </AccordionItem>\n ));\n\n if (allowMultiple) {\n return (\n <Accordion\n type={ToggleGroupType.MULTIPLE}\n value={openItems}\n className={className}\n onValueChange={(value: string[]) => changeOpenItems(value)}\n >\n {accordionItems}\n </Accordion>\n );\n }\n\n return (\n <Accordion\n type={ToggleGroupType.SINGLE}\n value={openItems[0] ?? ''}\n className={className}\n collapsible\n onValueChange={(value: string) => changeOpenItems(value ? [value] : [])}\n >\n {accordionItems}\n </Accordion>\n );\n};\n\ninterface CollapsibleModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Collapsible;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\n/** COLLAPSIBLE folds every section at once, so it has a single panel. */\nconst COLLAPSIBLE_PANEL_ID = 'all';\n\nconst CollapsibleMode: React.FC<CollapsibleModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const [isOpen, setIsOpen] = useState(true);\n const getLabel = useContentSectionContainerLabel();\n const openLabel = config.triggerLabel?.open ?? getLabel('accordionCollapseAll');\n const closedLabel = config.triggerLabel?.closed ?? getLabel('accordionExpandAll');\n const sectionCountLabel = getLabel('accordionSectionCount', { count: sections.length });\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const revealContainerId = useFieldRevealRequests(() => {\n if (isOpen) return false;\n setIsOpen(true);\n return true;\n });\n\n return (\n <Collapsible open={isOpen} onOpenChange={setIsOpen} className={className}>\n <div className=\"flex items-center justify-between\">\n <h3 className=\"font-semibold\">{sectionCountLabel}</h3>\n <CollapsibleTrigger asChild>\n <Button type=\"button\" variant={ButtonVariants_Variant.GHOST} size={ButtonSize.SM} aria-expanded={isOpen}>\n {isOpen ? openLabel : closedLabel}\n </Button>\n </CollapsibleTrigger>\n </div>\n\n <CollapsibleContent\n className=\"space-y-field mt-field\"\n {...(keepPanelsMounted ? { forceMount: true, hidden: !isOpen } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, COLLAPSIBLE_PANEL_ID)}\n >\n {sections.map((section) => renderPanelSection(section, { titleTag: 'h4', wrapMode: sectionWrapMode }))}\n </CollapsibleContent>\n </Collapsible>\n );\n};\n\ninterface ExpandableModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Expandable;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\n/** The panel EXPANDABLE folds behind \"show more\": every section past the first `initialVisibleCount`. */\nconst EXPANDABLE_FOLDED_PANEL_ID = 'folded';\n\nconst ExpandableMode: React.FC<ExpandableModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const initialCount = config.initialVisibleCount ?? DEFAULT_EXPANDABLE_INITIAL_VISIBLE_COUNT;\n const [showAll, setShowAll] = useState(false);\n const getLabel = useContentSectionContainerLabel();\n\n const visibleSections = showAll ? sections : sections.slice(0, initialCount);\n const hiddenCount = sections.length - initialCount;\n\n const showMoreLabel = config.showMoreLabel ?? getLabel('expandableShowMore', { count: hiddenCount });\n const showLessLabel = config.showLessLabel ?? getLabel('expandableShowLess');\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { renderIcon } = useIconRegistry();\n const revealContainerId = useFieldRevealRequests(() => {\n if (showAll) return false;\n setShowAll(true);\n return true;\n });\n\n return (\n <div className={cn('flex flex-col gap-field', className)}>\n {keepPanelsMounted ? (\n <>\n {sections.slice(0, initialCount).map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n {/* The folded sections, kept mounted in a form (`useKeepsHiddenPanelsMounted`). */}\n {hiddenCount > 0 && (\n <div className=\"flex flex-col gap-field\" hidden={!showAll} {...fieldRevealPanelAttributes(revealContainerId, EXPANDABLE_FOLDED_PANEL_ID)}>\n {sections.slice(initialCount).map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n )}\n </>\n ) : (\n visibleSections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))\n )}\n\n {hiddenCount > 0 && (\n /*\n * A quiet disclosure control under the last visible section, sized to its words: the full-width outline bar it\n * was read as the heaviest thing in the group. The chevron says which way it goes.\n */\n <Button\n type=\"button\"\n variant={ButtonVariants_Variant.GHOST}\n size={ButtonSize.SM}\n className=\"self-start\"\n onClick={() => setShowAll(!showAll)}\n aria-expanded={showAll}\n >\n {showAll ? showLessLabel : showMoreLabel}\n {renderIcon(showAll ? StandardIconReference.CHEVRON_UP : StandardIconReference.CHEVRON_DOWN, { size: IconSize.SM })}\n </Button>\n )}\n </div>\n );\n};\n\n// =============================================================================\n// GUIDED MODES\n// =============================================================================\n\ninterface StepperModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Stepper;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * STEPPER — a guided sequence, one section at a time.\n *\n * Drawn with the framework's `Stepper`, the same one a form wizard uses, so a section stepper and a wizard look and\n * behave as one thing (a hand-drawn second stepper diverged in glyph, state and focus). A step a person may go to\n * is a button; a step holding nothing selectable yet is not. There is no \"Complete\" on the last step: a section\n * stepper completes nothing (a form's own submit does that), and the button it showed was always disabled.\n */\nconst StepperMode: React.FC<StepperModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const [currentStep, setCurrentStep] = useState(0);\n const getLabel = useContentSectionContainerLabel();\n const progressNavId = useId();\n const orientation = config.orientation ?? DisplayDirection.HORIZONTAL;\n // The numbered step indicators ALREADY communicate progress, so the separate linear progress bar is redundant\n // by default — a double indicator for the same state. Opt in via `config.showProgress` only.\n const showProgress = config.showProgress ?? false;\n const allowSkip = config.allowSkip ?? false;\n const nextLabel = config.nextLabel ?? getLabel('stepperNext');\n const previousLabel = config.previousLabel ?? getLabel('stepperPrevious');\n\n // Single source of truth for \"can the user go to this step?\": any visited step and the next one; `allowSkip`\n // unlocks every step.\n const canNavigate = (index: number): boolean => allowSkip || index <= currentStep + 1;\n\n const handleStepChange = (index: number) => {\n if (index < 0 || index >= sections.length) return;\n if (!canNavigate(index)) return;\n setCurrentStep(index);\n onSectionChange?.(sections[index].id);\n };\n\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n // A field that must be shown takes the stepper to its step, whatever `canNavigate` says: it is where the repair is.\n const revealContainerId = useFieldRevealRequests((id) => {\n const index = sections.findIndex((section) => section.id === id);\n if (index < 0 || index === currentStep) return false;\n setCurrentStep(index);\n onSectionChange?.(id);\n return true;\n });\n\n const currentSection = sections[currentStep];\n const renderStepPanel = (section: ContentSectionDescriptor, index: number): React.ReactNode => (\n <div\n key={section.id}\n hidden={index !== currentStep}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className=\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </div>\n );\n\n return (\n <div className={cn('flex flex-col gap-section', className)}>\n <nav id={progressNavId} aria-label={config.ariaLabel ?? getLabel('stepperProgressNav')}>\n <Stepper\n currentStep={currentStep}\n totalSteps={sections.length}\n orientation={orientation}\n onStepSelect={handleStepChange}\n isStepSelectable={(index) => index !== currentStep && canNavigate(index)}\n {...(config.completedIcon !== undefined ? { completedIcon: config.completedIcon } : {})}\n role=\"list\"\n >\n {sections.map((section, index) => (\n <React.Fragment key={section.id}>\n <StepperItem step={index} role=\"listitem\" aria-current={index === currentStep ? 'step' : undefined}>\n <StepperIndicator step={index} aria-hidden=\"true\" />\n <StepperTitle step={index}>{section.title}</StepperTitle>\n </StepperItem>\n {index < sections.length - 1 && <StepperSeparator step={index} aria-hidden=\"true\" />}\n </React.Fragment>\n ))}\n </Stepper>\n </nav>\n\n {showProgress && (\n <div className=\"w-full bg-muted rounded-full h-2\">\n <div\n className=\"bg-primary h-2 rounded-full transition-[width]\"\n style={{ width: `${((currentStep + 1) / sections.length) * 100}%` }}\n role=\"progressbar\"\n /*\n * Named by the step navigation it summarises. `aria-labelledby` resolves the referenced\n * element's own `aria-label`, so the bar takes the SAME translated name as the landmark —\n * \"Step progress\" — with no second label key for every application to generate.\n */\n aria-labelledby={progressNavId}\n aria-valuenow={currentStep + 1}\n aria-valuemin={1}\n aria-valuemax={sections.length}\n />\n </div>\n )}\n\n {/* The step and its navigation read as one block: the navigation sits right under the panel it moves. */}\n <div className=\"flex flex-col gap-field\">\n {/* Every step stays mounted in a form (`useKeepsHiddenPanelsMounted`); elsewhere only the current one renders. */}\n {keepPanelsMounted ? sections.map(renderStepPanel) : currentSection && renderStepPanel(currentSection, currentStep)}\n\n <div className=\"flex justify-between\">\n {/* `type=\"button\"`: inside a form a bare button SUBMITS it, so moving between steps sent the record. */}\n <Button\n type=\"button\"\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={() => handleStepChange(currentStep - 1)}\n disabled={currentStep === 0}\n >\n {previousLabel}\n </Button>\n {currentStep < sections.length - 1 && (\n <Button type=\"button\" onClick={() => handleStepChange(currentStep + 1)}>\n {nextLabel}\n </Button>\n )}\n </div>\n </div>\n </div>\n );\n};\n\ninterface TimelineModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Timeline;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst TimelineMode: React.FC<TimelineModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const getLabel = useContentSectionContainerLabel();\n\n /*\n * Drawn on the framework's own `Timeline` since #1317 — this mode used to draw a private rail and\n * dot of its own, the first of three hand-drawn timelines the one component replaced. Each section\n * is an entry; a section step has no status, so the marker is the NEUTRAL tone.\n */\n return (\n <div className={className} role=\"region\" aria-label={config.ariaLabel ?? getLabel('timelineRegion')}>\n <Timeline className=\"gap-section\">\n {sections.map((section, index) => (\n <TimelineEntry key={section.id}>\n <TimelineBody>\n {renderSectionContentChrome(\n section,\n <>\n <div className=\"flex items-center gap-element mb-element\">\n {section.icon}\n <h3 className=\"font-semibold\">{section.title}</h3>\n <Badge variant=\"outline\" className=\"ms-auto\">\n {getLabel('timelineStep', { step: index + 1 })}\n </Badge>\n </div>\n {section.description && (\n <p className=\"text-sm text-muted-foreground mb-element\">{section.description}</p>\n )}\n {section.content}\n </>,\n sectionWrapMode,\n )}\n </TimelineBody>\n </TimelineEntry>\n ))}\n </Timeline>\n </div>\n );\n};\n\ninterface StagesModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Stages;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst stagesWithoutRecordWarned = new Set<string>();\n\n/**\n * STAGES — where ONE record stands in its lifecycle, read-only (#1786).\n *\n * The record's stage comes from the layout host (`config.currentStage`, derived by `DisplayLayout` from the bound\n * field), never from local state: every stage before it is drawn reached, its own stage current, later stages not\n * reached. Drawn with the framework's `Stepper` as a display of progress (no `onStepSelect`), so there are no\n * buttons and no step is a control. Each stage carries its title, its authored description (the sentence that says\n * what the stage means for the person) and its fields, in one column.\n *\n * A host that holds no record (a form, a composite view) leaves `currentStage` absent. Marking stages there would be\n * a guess, so the sections are stacked as INLINE and the authoring mistake is reported once.\n */\nconst StagesMode: React.FC<StagesModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const getLabel = useContentSectionContainerLabel();\n const currentStage = config.currentStage;\n if (currentStage === undefined) {\n const warnKey = sections.map((section) => section.id).join('|');\n if (process.env.NODE_ENV !== 'production' && !stagesWithoutRecordWarned.has(warnKey)) {\n stagesWithoutRecordWarned.add(warnKey);\n LoggerFrontendService.getLogger().warn(\n `[Section] STAGES group (${sections.map((section) => section.id).join(', ')}) is rendered by a host that holds no record, so no stage can be marked; the sections are stacked instead. STAGES belongs in a DisplayLayout, which reads the record's bound field.`,\n { sections: sections.map((section) => section.id) },\n );\n }\n return <InlineMode sections={sections} config={{ mode: SectionMode.INLINE }} className={className} sectionWrapMode={sectionWrapMode} />;\n }\n\n const states = resolveSectionStageStates(sections.map((section) => section.id), currentStage);\n const currentIndex = states.indexOf(SectionStageState.CURRENT);\n\n return (\n <div className={className} role=\"region\" aria-label={config.ariaLabel ?? getLabel('stagesRegion')} data-current-stage={currentStage ?? undefined}>\n {/* `currentStep` -1 when the record is at no stage: the preset then draws every stage pending. */}\n <Stepper currentStep={currentIndex} totalSteps={sections.length} orientation={DisplayDirection.VERTICAL} role=\"list\">\n {sections.map((section, index) => (\n <React.Fragment key={section.id}>\n <StepperItem\n step={index}\n role=\"listitem\"\n data-stage={section.id}\n data-stage-state={states[index]}\n aria-current={states[index] === SectionStageState.CURRENT ? 'step' : undefined}\n >\n <StepperIndicator step={index} aria-hidden=\"true\" />\n <div className=\"min-w-0 flex-1\">\n <StepperTitle step={index}>{section.title}</StepperTitle>\n {section.description != null && <StepperDescription step={index}>{section.description}</StepperDescription>}\n <div className=\"mt-field\">{section.content}</div>\n </div>\n </StepperItem>\n {/* Centred under the 2rem indicator. */}\n {index < sections.length - 1 && <StepperSeparator step={index} aria-hidden=\"true\" className=\"ms-[calc(1rem-1px)] my-element\" />}\n </React.Fragment>\n ))}\n </Stepper>\n </div>\n );\n};\n\n// =============================================================================\n// EXPORTS\n// =============================================================================\n\nContentSectionContainer.displayName = 'ContentSectionContainer';\n\nexport default ContentSectionContainer;\n"]}
|
|
1
|
+
{"version":3,"file":"ContentSectionContainer.js","sourceRoot":"","sources":["../../../../src/components/sections/ContentSectionContainer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAwB,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAoB/F,OAAO,EAAE,EAAE,EAAE,MAAM,gCAAgC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,YAAY,IAAC,IAAI,EAAE,KAAK,YAAG,OAAO,CAAC,KAAK,GAAgB,EACxD,OAAO,CAAC,WAAW,IAAI,IAAI,IAAI,KAAC,kBAAkB,IAAC,IAAI,EAAE,KAAK,YAAG,OAAO,CAAC,WAAW,GAAsB,EAC3G,cAAK,SAAS,EAAC,UAAU,YAAE,OAAO,CAAC,OAAO,GAAO,IAC7C,IACM,EAEb,KAAK,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,KAAK,iBAAc,MAAM,EAAC,SAAS,EAAC,gCAAgC,GAAG,KAhB5G,OAAO,CAAC,EAAE,CAiBd,CAClB,CAAC,GACM,GACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,uBAAuB,CAAC,WAAW,GAAG,yBAAyB,CAAC;AAEhE,eAAe,uBAAuB,CAAC","sourcesContent":["/**\n * ContentSectionContainer Component\n *\n * A universal container for rendering content sections in various modes.\n * Part of the UI Abstraction Patterns implementation.\n *\n * Uses the `SectionConfig` discriminated union — each mode variant\n * carries only its relevant parameters, enabling TypeScript narrowing\n * in the `switch (config.mode)` dispatcher.\n *\n * Supports 14 modes across 4 categories:\n * - Solo: default, card, ghost, collapsible\n * - Layout: inline, grid, columns\n * - Navigation: tabs, vertical_tabs, pills\n * - Expandable: accordion, expandable\n * - Guided: stepper, timeline, stages (a record's lifecycle, read-only)\n */\n\nimport React, { useCallback, useEffect, useId, useRef, useState } from 'react';\nimport { SectionMode, type SoloSectionMode, DisplayDirection } from '@wildo-ai/zod-decorators';\nimport type {\n AutoSectionWrap,\n SectionConfig,\n SectionConfig_Default,\n SectionConfig_Card,\n SectionConfig_Ghost,\n SectionConfig_Inline,\n SectionConfig_Grid,\n SectionConfig_Columns,\n SectionConfig_Tabs,\n SectionConfig_VerticalTabs,\n SectionConfig_Pills,\n SectionConfig_Accordion,\n SectionConfig_Collapsible,\n SectionConfig_Expandable,\n SectionConfig_Stepper,\n SectionConfig_Timeline,\n SectionConfig_Stages,\n} from '@wildo-ai/presets-components-models';\nimport { cn } from '~wildo-frontend-lib/core/ui/cn';\nimport { focusIndicatorClasses, FocusIndicatorShape } from '~wildo-frontend-lib/core/ui/themes/focus-indicator';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport { useSurfacePolicy } from '~wildo-frontend-lib/core/ui/SurfacePolicyContext';\nimport { ButtonSize, FrontendComponentType, LabellingTypes, UIBehavior, SelectableVariant, SurfaceVariant, IndicatorVariant, TypographyVariant } from '@wildo-ai/presets-components-models';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useIconRegistry } from '~wildo-frontend-lib/core/icons/useIconRegistry';\nimport { IconSize, StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport { sectionHeadingClassName } from '~wildo-frontend-lib/components/sections/section-legend-voice';\n\nimport { Tabs, TabsList, TabsTrigger, TabsContent } from '~wildo-frontend-lib/components/sections/tabs';\nimport { Timeline, TimelineBody, TimelineEntry } from '~wildo-frontend-lib/components/data-display/timeline';\nimport { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from '~wildo-frontend-lib/components/sections/accordion';\nimport { ToggleGroupType } from '~wildo-frontend-lib/components/form/controls/enum/toggle-group';\nimport { Collapsible, CollapsibleTrigger, CollapsibleContent } from '~wildo-frontend-lib/components/sections/collapsible';\nimport { Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle } from '~wildo-frontend-lib/components/sections/stepper';\nimport { SectionStageState, resolveSectionStageStates } from '~wildo-frontend-lib/components/sections/section-stages';\nimport { LoggerFrontendService } from '~wildo-frontend-lib/core/monitoring/logger.frontend.service';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Badge } from '~wildo-frontend-lib/components/data-display/badge';\nimport { Surface } from '~wildo-frontend-lib/components/sections/surface';\nimport { ContentSection } from '~wildo-frontend-lib/components/sections/content-section';\nimport { documentHeadingTag, NestedDocumentHeadingLevel, useDocumentHeadingLevel } from '~wildo-frontend-lib/components/typography/document-heading-level';\nimport { EmptyState } from '~wildo-frontend-lib/components/feedback/empty-state';\nimport { DEFAULT_EXPANDABLE_INITIAL_VISIBLE_COUNT } from '~wildo-frontend-lib/components/sections/section-grouping.shared';\nimport { fieldRevealPanelAttributes, useFieldRevealRequests, useKeepsHiddenPanelsMounted } from '~wildo-frontend-lib/components/form/validation-errors/field-reveal';\n\n// =============================================================================\n// TYPES\n// =============================================================================\n\nexport interface ContentSectionDescriptor {\n /** Unique identifier for the section */\n id: string;\n /** Display title resolved from i18n. */\n title?: React.ReactNode;\n /** Optional description */\n description?: React.ReactNode;\n /** Content to render */\n content: React.ReactNode;\n /** Optional icon */\n icon?: React.ReactNode;\n /** A count the section's tab carries beside its title, in the tone it reads in (#1325). */\n count?: number;\n countTone?: IndicatorVariant;\n /** Whether section is disabled */\n disabled?: boolean;\n}\n\nexport interface ContentSectionContainerProps {\n /** Array of sections to render */\n sections: ContentSectionDescriptor[];\n /** Configuration — discriminated union, narrowed by `config.mode` */\n config: SectionConfig;\n /** Additional CSS classes */\n className?: string;\n /** Callback when active section changes */\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\nfunction resolveSectionWrapMode(value: string | undefined): AutoSectionWrap {\n switch (value) {\n case 'grouped':\n case 'flat':\n case 'separator-only':\n return value;\n default:\n return 'card-each';\n }\n}\n\n/**\n * Maps the surface-policy `autoSectionWrap` to a {@link ContentSection}\n * `appearance` (+ optional className). Every container panel renders through\n * the registry-resolved `ContentSection` primitive, so panels inherit the native\n * `<fieldset disabled>` cascade solo sections have:\n * - `card-each` → CARD (a framed fieldset; an authored card paints its frame in every context, nested or not)\n * - `flat` → DEFAULT (bare fieldset, no frame)\n * - `separator-only` → DEFAULT + a bottom-divider className\n *\n * Container panels render through ContentSection's PANEL mode: a titled card with a\n * header band (a heading at the outline's level, with icon, over a `border-b` divider, content in a `p-card`\n * area) for CARD, a flat group otherwise.\n */\nfunction wrapModeToAppearance(wrapMode: AutoSectionWrap): { appearance: SoloSectionMode; className?: string } {\n switch (wrapMode) {\n case 'flat':\n return { appearance: SectionMode.DEFAULT };\n case 'separator-only':\n return { appearance: SectionMode.DEFAULT, className: 'border-b pb-field last:border-b-0 last:pb-0' };\n // `grouped` renders its own single-card + eyebrow chrome in the stacked path\n // (see GroupedSectionsCard). Any OTHER container mode (grid/tabs/columns/…)\n // that resolves `grouped` falls back to `card-each` here — those modes supply\n // their own layout, so a per-section card is the sensible frame.\n case 'grouped':\n case 'card-each':\n default:\n return { appearance: SectionMode.CARD };\n }\n}\n\n/**\n * GROUPED wrap-mode chrome (T3) — the modern default for stacked forms/settings.\n *\n * Renders ALL sections inside ONE `SurfaceVariant.CARD`, each as a flat group\n * introduced by an **eyebrow** label (the theme's `TypographyVariant.EYEBROW` recipe, the same voice\n * a TITLE-styled field label takes) and separated by `divide-y` — instead of a bordered card\n * per section with a floating `<legend>`. Each group's body is a flat\n * `ContentSection` (`SectionMode.DEFAULT`) so the native `<fieldset disabled>`\n * cascade + inter-field spacing are preserved; the section title is promoted to\n * the eyebrow (not the fieldset legend), so there is no nested per-group border.\n *\n * Used only by the stacked composition (single-section + InlineMode). It does not\n * touch the `ContentSection` primitive itself — it composes it.\n */\nconst GroupedSectionsCard: React.FC<{\n sections: ContentSectionDescriptor[];\n className?: string;\n}> = ({ sections, className }) => {\n const { getRecipe } = useUI();\n const cardRecipe = getRecipe(UIBehavior.SURFACE, SurfaceVariant.CARD);\n const eyebrowRecipe = getRecipe(UIBehavior.TYPOGRAPHY, TypographyVariant.EYEBROW);\n const getLabel = useContentSectionContainerLabel();\n\n return (\n <Surface\n asChild\n emitPolicyVars={false}\n variant={SurfaceVariant.CARD}\n policyOverride={{ nesting: { framingMode: 'always' as const } }}\n >\n <div\n role=\"region\"\n aria-label={getLabel('contentSectionsRegion')}\n className={cn(cardRecipe.base, 'divide-y divide-border', className)}\n >\n {sections.map((section) => (\n <section key={section.id} data-slot=\"content-group\" className=\"space-y-field p-card\">\n {(section.title != null || section.icon != null) && (\n <div className={cn('flex items-center gap-element-xs', eyebrowRecipe.base)}>\n {section.icon != null && <span className=\"inline-flex items-center\">{section.icon}</span>}\n {section.title}\n </div>\n )}\n {section.description != null && (\n <p className=\"text-sm text-muted-foreground\">{section.description}</p>\n )}\n <ContentSection appearance={SectionMode.DEFAULT} disabled={section.disabled}>\n {section.content}\n </ContentSection>\n </section>\n ))}\n </div>\n </Surface>\n );\n};\n\n/**\n * Renders a section panel WITH its heading through `ContentSection` in PANEL mode:\n * the heading renders as a heading band (icon + title, at the level the outline gives it —\n * `useDocumentHeadingLevel`) with a `border-b` divider above the `p-card` content area (the\n * titled-card-with-header look), framed per `wrapMode` via a `<fieldset>` that\n * carries the disabled cascade (a `card-each` panel always paints its card, a flat\n * one never frames). Used by the panel-heading\n * modes (single / inline / grid / columns / collapsible / expandable). Collapsible\n * panels nest one level under the collapsible-all heading through `NestedDocumentHeadingLevel`.\n * The explicit `section.disabled` flows to the panel `<fieldset disabled>` for the\n * content cascade (plan Decision 4: panel content disabling is explicit/form-driven,\n * distinct from nav-trigger gating).\n */\nfunction renderPanelSection(section: ContentSectionDescriptor, params?: {\n wrapMode?: AutoSectionWrap;\n}): React.ReactNode {\n const { appearance, className } = wrapModeToAppearance(params?.wrapMode ?? 'card-each');\n\n return (\n <ContentSection\n key={section.id}\n panel\n appearance={appearance}\n legend={section.title}\n icon={section.icon}\n description={section.description}\n disabled={section.disabled}\n className={className}\n >\n {section.content}\n </ContentSection>\n );\n}\n\n/**\n * Renders a section panel WITHOUT a panel heading through `ContentSection` — used\n * by the navigation/guided modes (tabs / vertical-tabs / pills / accordion /\n * stepper / timeline) where the heading lives in the trigger or nav and any\n * description/title is already injected into `content`. No `disabled` is passed:\n * nav-trigger gating stays on the trigger, and form-context disabling already\n * cascades from the form-level `<fieldset disabled>` (plan Decision 4).\n */\nfunction renderSectionContentChrome(\n section: ContentSectionDescriptor,\n content: React.ReactNode = section.content,\n wrapMode: AutoSectionWrap = 'card-each',\n): React.ReactNode {\n const { appearance, className } = wrapModeToAppearance(wrapMode);\n\n return (\n <ContentSection key={section.id} panel appearance={appearance} className={className}>\n {content}\n </ContentSection>\n );\n}\n\n/**\n * A section's content, introduced by its description. The modes whose heading lives OUTSIDE the panel (a tab, a\n * pill, a step, an accordion row) render the panel content-only, so the description had nowhere to go and was\n * dropped: TABS, VERTICAL_TABS, PILLS and STEPPER showed a section without the sentence that says what it is for,\n * which every other mode shows. It leads the panel, in the theme's description voice.\n */\nfunction SectionPanelContent({ section }: { section: ContentSectionDescriptor }): React.ReactNode {\n const { getRecipe } = useUI();\n if (section.description == null) return section.content;\n return (\n <>\n <p className={cn('mb-field', getRecipe(UIBehavior.TYPOGRAPHY, TypographyVariant.DESCRIPTION).base)}>{section.description}</p>\n {section.content}\n </>\n );\n}\n\n// =============================================================================\n// MAIN COMPONENT\n// =============================================================================\n\nexport const ContentSectionContainer: React.FC<ContentSectionContainerProps> = ({\n sections,\n config,\n className,\n onSectionChange,\n}) => {\n const surfacePolicy = useSurfacePolicy();\n const sectionWrapMode = resolveSectionWrapMode(surfacePolicy.autoRender?.autoSectionWrap);\n\n if (sections.length === 0) {\n if (config.emptyStateMessage) {\n return (\n <EmptyState\n title={config.emptyStateMessage}\n variant=\"compact\"\n className={className}\n />\n );\n }\n return null;\n }\n\n if (sections.length === 1 && !config.showSingleSectionNav) {\n if (sectionWrapMode === 'grouped') {\n return <GroupedSectionsCard sections={sections} className={className} />;\n }\n return (\n <div className={className}>\n {renderPanelSection(sections[0], { wrapMode: sectionWrapMode })}\n </div>\n );\n }\n\n switch (config.mode) {\n case SectionMode.DEFAULT:\n case SectionMode.CARD:\n case SectionMode.GHOST:\n case SectionMode.INLINE:\n return <InlineMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.GRID:\n return <GridMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.COLUMNS:\n return <ColumnsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.TABS:\n return <TabsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.VERTICAL_TABS:\n return <VerticalTabsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.PILLS:\n return <PillsMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.ACCORDION:\n return <AccordionMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.COLLAPSIBLE:\n return <CollapsibleMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.EXPANDABLE:\n return <ExpandableMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.STEPPER:\n return <StepperMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} onSectionChange={onSectionChange} />;\n case SectionMode.TIMELINE:\n return <TimelineMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n case SectionMode.STAGES:\n return <StagesMode sections={sections} config={config} className={className} sectionWrapMode={sectionWrapMode} />;\n default:\n return <InlineMode sections={sections} config={{ mode: SectionMode.INLINE }} className={className} sectionWrapMode={sectionWrapMode} />;\n }\n};\n\n// =============================================================================\n// LAYOUT-BASED MODES\n// =============================================================================\n\n// =============================================================================\n// GAP HELPER\n// =============================================================================\n\nconst GAP_CLASSES = {\n sm: 'gap-element',\n md: 'gap-field',\n lg: 'gap-section',\n} as const;\n\n/** The length each gap class stands for, for a column computation that has to subtract the gaps. */\nconst GAP_LENGTHS = {\n sm: 'var(--spacing-element)',\n md: 'var(--spacing-field)',\n lg: 'var(--spacing-section)',\n} as const;\n\n/** The narrowest a COLUMNS column gets before the columns become fewer (the GRID default minimum, for one look). */\nconst COLUMNS_MIN_WIDTH = '300px';\n\nconst CONTENT_SECTION_CONTAINER_COMPONENT = FrontendComponentType.LOW_LEVEL_CONTENT_SECTION_CONTAINER;\n\nfunction useContentSectionContainerLabel(): (\n key: string,\n params?: Record<string, string | number>,\n) => string {\n const { tComponent } = useI18n({\n component: CONTENT_SECTION_CONTAINER_COMPONENT,\n });\n\n return useCallback((key: string, params?: Record<string, string | number>) => {\n const result = tComponent(CONTENT_SECTION_CONTAINER_COMPONENT, key, params);\n const base = `${LabellingTypes.COMPONENTS}.${CONTENT_SECTION_CONTAINER_COMPONENT}.${key}`;\n return result === base ? '' : result;\n }, [tComponent]);\n}\n\n// =============================================================================\n// LAYOUT-BASED MODES\n// =============================================================================\n\ninterface InlineModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Default | SectionConfig_Card | SectionConfig_Ghost | SectionConfig_Inline;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst InlineMode: React.FC<InlineModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const gap = ('gap' in config ? config.gap : undefined) ?? 'md';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n\n // GROUPED (modern default): one card, eyebrow-labelled groups, divide-y.\n if (sectionWrapMode === 'grouped') {\n return <GroupedSectionsCard sections={sections} className={className} />;\n }\n\n return (\n <div\n // A column with the configured gap. `space-y-field` beside a `gap-*` class gave every gap the field spacing:\n // `gap` does nothing on a block container, so the `gap` option was a no-op.\n className={cn('flex flex-col', gapClass, className)}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentSectionsRegion')}\n >\n {sections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n );\n};\n\ninterface GridModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Grid;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst GridMode: React.FC<GridModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n // `'auto'` is the documented default (`SectionConfig_Grid.columnCount`); the code defaulted to 2.\n const columnCount = config.columnCount === 'auto' || config.columnCount === undefined ? undefined : config.columnCount;\n const gap = config.gap ?? 'md';\n const minColumnWidth = config.minColumnWidth ?? '300px';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n\n /*\n * Responsive in both shapes. `auto` fits as many columns of `minColumnWidth` as the container holds. A column\n * COUNT is a ceiling, not a constant: each column is at least its share of the row (so a wide container shows\n * exactly N) and at least `minColumnWidth` (so a narrow one shows fewer, down to one). A fixed `repeat(N, 1fr)`\n * squeezed two columns into a phone. `min(100%, …)` keeps a single column from overflowing a container narrower\n * than the minimum.\n *\n * The two shapes differ when there are fewer sections than columns. A COUNT keeps its columns (`auto-fill`): two\n * sections in a three-column grid take two of three columns, as `grid-cols-3` does, so they line up with a\n * three-column grid beside them. `auto` lets the sections fill the row (`auto-fit` collapses the empty columns).\n */\n const columnWidth = columnCount\n ? `max(${minColumnWidth}, calc((100% - ${columnCount - 1} * ${GAP_LENGTHS[gap]}) / ${columnCount}))`\n : minColumnWidth;\n const repeatMode = columnCount ? 'auto-fill' : 'auto-fit';\n const style: React.CSSProperties = { gridTemplateColumns: `repeat(${repeatMode}, minmax(min(100%, ${columnWidth}), 1fr))` };\n\n return (\n <div\n className={cn('grid', gapClass, className)}\n style={style}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentGridRegion')}\n >\n {sections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n );\n};\n\ninterface ColumnsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Columns;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst ColumnsMode: React.FC<ColumnsModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const gap = config.gap ?? 'md';\n const gapClass = GAP_CLASSES[gap];\n const getLabel = useContentSectionContainerLabel();\n /*\n * CSS multi-column with a minimum width: `columns: <count> <width>` is \"at most <count> columns, none narrower\n * than <width>\", so a narrow container flows into fewer. `'auto'`, the documented default, sets the width alone\n * and lets the container decide the count. The code used a fixed two columns whatever the width.\n */\n const columns = config.columnCount === 'auto' || config.columnCount === undefined\n ? COLUMNS_MIN_WIDTH\n : `${config.columnCount} ${COLUMNS_MIN_WIDTH}`;\n\n return (\n <div\n className={cn(gapClass, className)}\n style={{ columns }}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('contentColumnsRegion')}\n >\n {sections.map((section) => (\n <div\n key={section.id}\n className={cn(\n 'break-inside-avoid mb-field',\n sectionWrapMode === 'separator-only' && 'border-b pb-field last:border-b-0 last:pb-0'\n )}\n >\n {renderPanelSection(section, { wrapMode: sectionWrapMode === 'separator-only' ? 'flat' : sectionWrapMode })}\n </div>\n ))}\n </div>\n );\n};\n\n// =============================================================================\n// NAVIGATION-BASED MODES\n// =============================================================================\n\ninterface TabsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Tabs;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * The tab a tab set shows, with the controlled/uncontrolled contract an OWNER can drive it through (deep links,\n * cross-pane navigation): with `config.activeSection` present the owner's value renders and a selection is only\n * REPORTED through `onSectionChange` (an owner that sets it and ignores the callback has frozen its tabs); without it\n * the set keeps its own. Held here rather than inside Radix so the set can answer a reveal request.\n */\nfunction useActiveTab(\n config: { defaultActive?: string; activeSection?: string },\n sections: ContentSectionDescriptor[],\n onSectionChange: ((sectionId: string | string[]) => void) | undefined,\n): { active: string | undefined; select: (id: string) => void; revealContainerId: string } {\n const [localActive, setLocalActive] = useState(config.defaultActive ?? sections[0]?.id);\n const active = config.activeSection ?? localActive;\n const select = (id: string): void => {\n setLocalActive(id);\n onSectionChange?.(id);\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (id === active) return false;\n select(id);\n return true;\n });\n return { active, select, revealContainerId };\n}\n\nconst TabsMode: React.FC<TabsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const getLabel = useContentSectionContainerLabel();\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { active, select, revealContainerId } = useActiveTab(config, sections, onSectionChange);\n\n return (\n <Tabs value={active} className={className} onValueChange={select}>\n {/* Radix wires role, `aria-controls` and `aria-labelledby` between each trigger and its panel. */}\n <TabsList aria-label={config.ariaLabel ?? getLabel('sectionTabsNav')}>\n {sections.map((section) => (\n <TabsTrigger\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n {...(section.count !== undefined ? { count: section.count } : {})}\n {...(section.countTone !== undefined ? { countTone: section.countTone } : {})}\n >\n {section.icon && <span className=\"me-element\">{section.icon}</span>}\n {section.title}\n </TabsTrigger>\n ))}\n </TabsList>\n {sections.map((section) => (\n <TabsContent\n key={section.id}\n value={section.id}\n {...(keepPanelsMounted ? { forceMount: true, hidden: section.id !== active } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n // The active panel appears fresh on each switch (mounted outside a form, un-hidden inside one, and a CSS\n // animation restarts when an element stops being `display: none`), so `animate-in fade-in-0` runs once per\n // activation: a subtle cross-fade instead of an instant pop.\n className=\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </TabsContent>\n ))}\n </Tabs>\n );\n};\n\ninterface VerticalTabsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_VerticalTabs;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * VERTICAL_TABS — side nav rail + content pane.\n *\n * Built on the Radix `Tabs` primitive (`orientation=\"vertical\"`) rather than a\n * hand-rolled `<nav>` of buttons. The prior hand-rolled version had three real\n * defects the primitive fixes for free: (1) the icon rendered STACKED above the\n * label because the plain button lacked `inline-flex items-center` (the Tabs\n * trigger preset supplies it); (2) `aria-controls` / `aria-labelledby` pointed at\n * ids that were never emitted on the trigger side, so the tab↔panel relationship\n * was broken for AT; (3) `role=\"tab\"` buttons had no roving `tabindex` or\n * Arrow-key navigation. The Tabs preset already styles `data-[orientation=vertical]`\n * as a left-aligned nav rail, so the look is preserved.\n */\n/**\n * Below this width the rail sits ABOVE its panel instead of beside it: the default 12rem rail plus the 24rem a\n * label-and-value row needs. Measured on the SSO policy in the Settings Hub at phone width (#2329): a 390px screen\n * left the rail half the pane and its fields about 80px, wrapping \"Require SSO\" a word per line. Nothing collapsed\n * the rail at any width. It is the CONTAINER that decides, not the viewport: the same section is narrow in a\n * settings pane on a wide screen.\n */\nconst VERTICAL_TABS_STACKING_THRESHOLD_REM = 36;\n\n/** Whether the element is narrower than `thresholdRem`, re-measured as it resizes. False until measured, and where nothing can measure. */\nfunction useNarrowerThan(thresholdRem: number): [React.RefCallback<HTMLElement>, boolean] {\n const [element, setElement] = useState<HTMLElement | null>(null);\n const [narrow, setNarrow] = useState(false);\n useEffect(() => {\n if (!element || typeof ResizeObserver === 'undefined') return undefined;\n const rootFontSize = Number.parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;\n const measure = (width: number) => setNarrow(width > 0 && width < thresholdRem * rootFontSize);\n measure(element.getBoundingClientRect().width);\n const observer = new ResizeObserver(([entry]) => { if (entry) measure(entry.contentRect.width); });\n observer.observe(element);\n return () => observer.disconnect();\n }, [element, thresholdRem]);\n return [setElement, narrow];\n}\n\nconst VerticalTabsMode: React.FC<VerticalTabsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const getLabel = useContentSectionContainerLabel();\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { active, select, revealContainerId } = useActiveTab(config, sections, onSectionChange);\n const navWidth = config.navWidth ?? 'w-48';\n // In a narrow container the rail becomes the horizontal strip, which already scrolls and fades at its edges. The\n // same `Tabs` instance changes orientation, so the open tab is kept, and Radix announces the orientation (and\n // takes the arrow keys) that is actually on screen.\n const [measureRef, stacked] = useNarrowerThan(VERTICAL_TABS_STACKING_THRESHOLD_REM);\n\n return (\n <div ref={measureRef} className=\"min-w-0\" data-vertical-tabs-stacked={stacked || undefined}>\n <Tabs\n /* Controlled/uncontrolled split — same contract as TabsMode above (`useActiveTab`). */\n value={active}\n orientation={stacked ? DisplayDirection.HORIZONTAL : DisplayDirection.VERTICAL}\n /*\n * `mt-field` — the rail and its panel start BELOW whatever introduces them. A vertical tab\n * set is a navigation surface, not a paragraph: butted against the preceding content its\n * first rail item read as one more line of that content rather than as the top of a\n * different control. The horizontal set gets its separation for free from the strip's own\n * bottom rule; this one has no such edge, so the space has to be declared.\n */\n className={cn('mt-field', className)}\n onValueChange={select}\n >\n <TabsList\n className={stacked ? undefined : cn(navWidth, 'shrink-0 self-start border-e pe-card')}\n aria-label={config.ariaLabel ?? getLabel('verticalTabsRegion')}\n >\n {sections.map((section) => (\n <TabsTrigger\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n {...(section.count !== undefined ? { count: section.count } : {})}\n {...(section.countTone !== undefined ? { countTone: section.countTone } : {})}\n >\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </TabsTrigger>\n ))}\n </TabsList>\n {sections.map((section) => (\n <TabsContent\n key={section.id}\n value={section.id}\n {...(keepPanelsMounted ? { forceMount: true, hidden: section.id !== active } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className=\"min-w-0 flex-1 animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </TabsContent>\n ))}\n </Tabs>\n </div>\n );\n};\n\ninterface PillsModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Pills;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * PILLS — a horizontal nav tablist over a single content pane.\n *\n * Styled as the HORIZONTAL EQUIVALENT OF THE VERTICAL RAIL for coherence: the\n * same `SELECTABLE.FILLED` recipe (a soft tinted fill on the selected item) and\n * `rounded-md` shape the vertical-tabs rail uses — just laid out in a row instead\n * of a column. Separated items, NO connecting tray (a tray would read as a\n * segmented control, colliding with TABS's underline bar). The FILLED family is\n * the \"filled-selection\" pattern; TABS (underline) is the distinct sibling.\n *\n * Hand-rolled (the horizontal-row layout differs from the Radix rail) but\n * a11y-complete: `inline-flex items-center` so the icon sits INLINE with the\n * label; a roving `tabindex` (only the active item is tabbable) with\n * Arrow/Home/End keys per the WAI-ARIA tabs pattern; real `useId`-based\n * `aria-controls`/`aria-labelledby`. Each item carries `data-state` so the\n * recipe's `data-[state=active]:` selected fill actually applies — without it the\n * selection did not persist (only the transient focus ring showed).\n */\nconst PillsMode: React.FC<PillsModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const [uncontrolledActiveSection, setUncontrolledActiveSection] = useState(config.defaultActive ?? sections[0]?.id);\n /*\n * Hand-rolled twin of the Radix controlled/uncontrolled contract the two Tabs modes get for\n * free: with `config.activeSection` present the OWNER's value renders and a click is only\n * REPORTED; without it the local state applies. The local setter still runs in the controlled\n * shape — harmlessly, and it keeps the uncontrolled fallback warm if the owner later removes\n * the prop (the same behavior Radix exhibits).\n */\n const activeSection = config.activeSection ?? uncontrolledActiveSection;\n const setActiveSection = setUncontrolledActiveSection;\n const { getRecipe } = useUI();\n const getLabel = useContentSectionContainerLabel();\n const baseId = useId();\n const tablistRef = useRef<HTMLDivElement>(null);\n // FILLED — the SAME recipe the vertical-tabs rail uses, so the two are coherent.\n const selectableRecipe = getRecipe(UIBehavior.SELECTABLE, SelectableVariant.FILLED);\n\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n\n const tabId = (id: string): string => `${baseId}-tab-${id}`;\n const panelId = (id: string): string => `${baseId}-panel-${id}`;\n\n const handleSectionChange = (id: string): void => {\n setActiveSection(id);\n onSectionChange?.(id);\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (id === activeSection) return false;\n handleSectionChange(id);\n return true;\n });\n\n // WAI-ARIA tabs keyboard model: Arrow keys move (and activate) among ENABLED\n // pills, wrapping at the ends; Home/End jump to first/last. Focus follows the\n // selection so the roving tabindex stays coherent.\n const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>): void => {\n const keys = ['ArrowRight', 'ArrowLeft', 'Home', 'End'];\n if (!keys.includes(event.key)) return;\n const enabledIds = sections.filter((s) => !s.disabled).map((s) => s.id);\n if (enabledIds.length === 0) return;\n event.preventDefault();\n const current = enabledIds.indexOf(activeSection);\n let nextIndex = current < 0 ? 0 : current;\n if (event.key === 'ArrowRight') nextIndex = (current + 1) % enabledIds.length;\n else if (event.key === 'ArrowLeft') nextIndex = (current - 1 + enabledIds.length) % enabledIds.length;\n else if (event.key === 'Home') nextIndex = 0;\n else if (event.key === 'End') nextIndex = enabledIds.length - 1;\n const nextId = enabledIds[nextIndex];\n handleSectionChange(nextId);\n tablistRef.current?.querySelector<HTMLElement>(`#${CSS.escape(tabId(nextId))}`)?.focus();\n };\n\n const activeContentSection = sections.find(s => s.id === activeSection);\n\n /*\n * One panel per pill, each labelled by its own pill. Outside a form only the active one renders (keyed by its id,\n * so it mounts fresh and cross-fades on each switch); inside one every panel stays mounted and the others are hidden\n * (`useKeepsHiddenPanelsMounted`).\n */\n const renderPanel = (section: ContentSectionDescriptor): React.ReactNode => (\n <div\n key={section.id}\n role=\"tabpanel\"\n id={panelId(section.id)}\n aria-labelledby={tabId(section.id)}\n tabIndex={0}\n hidden={section.id !== activeSection}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className={cn(\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\", focusIndicatorClasses(FocusIndicatorShape.INSET))}\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </div>\n );\n\n return (\n <div\n className={cn('space-y-field', className)}\n role=\"region\"\n aria-label={config.ariaLabel ?? getLabel('pillNavigationRegion')}\n >\n <div\n ref={tablistRef}\n className=\"flex flex-wrap items-center gap-item\"\n role=\"tablist\"\n aria-label={config.ariaLabel ?? getLabel('sectionTabsNav')}\n onKeyDown={handleKeyDown}\n >\n {sections.map((section) => {\n const isActive = activeSection === section.id;\n return (\n <button\n key={section.id}\n id={tabId(section.id)}\n type=\"button\"\n role=\"tab\"\n aria-selected={isActive}\n aria-controls={panelId(section.id)}\n // `data-state` drives the PILL recipe's `data-[state=active]:` solid\n // fill — the persistent selected indicator (was missing → no fill).\n data-state={isActive ? 'active' : 'inactive'}\n tabIndex={isActive ? 0 : -1}\n disabled={section.disabled}\n className={cn(\n // Mirror the vertical rail item: FILLED recipe + rounded-md.\n 'inline-flex items-center gap-element rounded-md px-card-sm py-item font-medium',\n selectableRecipe.base,\n selectableRecipe.motion?.transition,\n selectableRecipe.states.focus,\n // Hover only when NOT active, so the hover tint can't override the\n // selected fill on the active item.\n !isActive && selectableRecipe.states.hover,\n isActive && selectableRecipe.states.selected,\n section.disabled && 'opacity-[var(--opacity-disabled)] cursor-not-allowed'\n )}\n onClick={() => handleSectionChange(section.id)}\n >\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </button>\n );\n })}\n </div>\n\n {keepPanelsMounted ? sections.map(renderPanel) : activeContentSection && renderPanel(activeContentSection)}\n </div>\n );\n};\n\n// =============================================================================\n// EXPANDABLE MODES\n// =============================================================================\n\ninterface AccordionModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Accordion;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\nconst AccordionMode: React.FC<AccordionModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const defaultValue = config.defaultExpanded ?? [sections[0]?.id];\n // A true ACCORDION is single-open: opening one row collapses the others. Left\n // multi-open (the prior `!== false` default), it was indistinguishable from a\n // stack of independent EXPANDABLE toggles — the two modes lost their semantic\n // distinction. Multi-open stays available via explicit `allowMultiple: true`.\n const allowMultiple = config.allowMultiple ?? false;\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { getRecipe } = useUI();\n const sectionTitleClassName = sectionHeadingClassName(getRecipe);\n // The open rows, held here rather than inside Radix so a reveal request can open the row holding a field.\n const [openItems, setOpenItems] = useState<string[]>(allowMultiple ? defaultValue : defaultValue.slice(0, 1));\n const changeOpenItems = (next: string[]): void => {\n setOpenItems(next);\n onSectionChange?.(allowMultiple ? next : (next[0] ?? ''));\n };\n const revealContainerId = useFieldRevealRequests((id) => {\n if (openItems.includes(id)) return false;\n changeOpenItems(allowMultiple ? [...openItems, id] : [id]);\n return true;\n });\n\n const accordionItems = sections.map((section) => (\n <AccordionItem\n key={section.id}\n value={section.id}\n disabled={section.disabled}\n >\n <AccordionTrigger\n className={cn(section.disabled && 'opacity-[var(--opacity-disabled)] cursor-not-allowed')}\n >\n {/*\n * Wrap icon + title in ONE flex group so the trigger's own\n * `justify-between` separates [icon+title] from the chevron only. Passing\n * icon and title as two SIBLING children made `justify-between` distribute\n * THREE items (icon | title | chevron) and shove the title to the centre.\n */}\n {/* Each row IS a section, so its title speaks as every section heading does (`sectionHeadingClassName`). */}\n <span className={cn('flex items-center gap-element', sectionTitleClassName)}>\n {section.icon && <span className=\"inline-flex items-center shrink-0\">{section.icon}</span>}\n {section.title}\n </span>\n </AccordionTrigger>\n <AccordionContent\n {...(keepPanelsMounted ? { forceMount: true, hidden: !openItems.includes(section.id) } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n >\n {/*\n FLAT, whatever the wrap policy: a disclosure panel's frame is the ITEM (the row and its divider), and its\n content joins the trigger above it (`AccordionContent`). A per-section card here floated the open content\n as a separate card under its own row.\n */}\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, 'flat')}\n </AccordionContent>\n </AccordionItem>\n ));\n\n if (allowMultiple) {\n return (\n <Accordion\n type={ToggleGroupType.MULTIPLE}\n value={openItems}\n className={className}\n onValueChange={(value: string[]) => changeOpenItems(value)}\n >\n {accordionItems}\n </Accordion>\n );\n }\n\n return (\n <Accordion\n type={ToggleGroupType.SINGLE}\n value={openItems[0] ?? ''}\n className={className}\n collapsible\n onValueChange={(value: string) => changeOpenItems(value ? [value] : [])}\n >\n {accordionItems}\n </Accordion>\n );\n};\n\ninterface CollapsibleModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Collapsible;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\n/** COLLAPSIBLE folds every section at once, so it has a single panel. */\nconst COLLAPSIBLE_PANEL_ID = 'all';\n\nconst CollapsibleMode: React.FC<CollapsibleModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const [isOpen, setIsOpen] = useState(true);\n const getLabel = useContentSectionContainerLabel();\n const openLabel = config.triggerLabel?.open ?? getLabel('accordionCollapseAll');\n const closedLabel = config.triggerLabel?.closed ?? getLabel('accordionExpandAll');\n const sectionCountLabel = getLabel('accordionSectionCount', { count: sections.length });\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n // The collapsible-all heading takes the outline's level; the panels it folds nest one level under it.\n const CountHeadingTag = documentHeadingTag(useDocumentHeadingLevel());\n const revealContainerId = useFieldRevealRequests(() => {\n if (isOpen) return false;\n setIsOpen(true);\n return true;\n });\n\n return (\n <Collapsible open={isOpen} onOpenChange={setIsOpen} className={className}>\n <div className=\"flex items-center justify-between\">\n <CountHeadingTag className=\"font-semibold\">{sectionCountLabel}</CountHeadingTag>\n <CollapsibleTrigger asChild>\n <Button type=\"button\" variant={ButtonVariants_Variant.GHOST} size={ButtonSize.SM} aria-expanded={isOpen}>\n {isOpen ? openLabel : closedLabel}\n </Button>\n </CollapsibleTrigger>\n </div>\n\n <CollapsibleContent\n className=\"space-y-field mt-field\"\n {...(keepPanelsMounted ? { forceMount: true, hidden: !isOpen } : {})}\n {...fieldRevealPanelAttributes(revealContainerId, COLLAPSIBLE_PANEL_ID)}\n >\n <NestedDocumentHeadingLevel>\n {sections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </NestedDocumentHeadingLevel>\n </CollapsibleContent>\n </Collapsible>\n );\n};\n\ninterface ExpandableModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Expandable;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\n/** The panel EXPANDABLE folds behind \"show more\": every section past the first `initialVisibleCount`. */\nconst EXPANDABLE_FOLDED_PANEL_ID = 'folded';\n\nconst ExpandableMode: React.FC<ExpandableModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const initialCount = config.initialVisibleCount ?? DEFAULT_EXPANDABLE_INITIAL_VISIBLE_COUNT;\n const [showAll, setShowAll] = useState(false);\n const getLabel = useContentSectionContainerLabel();\n\n const visibleSections = showAll ? sections : sections.slice(0, initialCount);\n const hiddenCount = sections.length - initialCount;\n\n const showMoreLabel = config.showMoreLabel ?? getLabel('expandableShowMore', { count: hiddenCount });\n const showLessLabel = config.showLessLabel ?? getLabel('expandableShowLess');\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n const { renderIcon } = useIconRegistry();\n const revealContainerId = useFieldRevealRequests(() => {\n if (showAll) return false;\n setShowAll(true);\n return true;\n });\n\n return (\n <div className={cn('flex flex-col gap-field', className)}>\n {keepPanelsMounted ? (\n <>\n {sections.slice(0, initialCount).map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n {/* The folded sections, kept mounted in a form (`useKeepsHiddenPanelsMounted`). */}\n {hiddenCount > 0 && (\n <div className=\"flex flex-col gap-field\" hidden={!showAll} {...fieldRevealPanelAttributes(revealContainerId, EXPANDABLE_FOLDED_PANEL_ID)}>\n {sections.slice(initialCount).map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))}\n </div>\n )}\n </>\n ) : (\n visibleSections.map((section) => renderPanelSection(section, { wrapMode: sectionWrapMode }))\n )}\n\n {hiddenCount > 0 && (\n /*\n * A quiet disclosure control under the last visible section, sized to its words: the full-width outline bar it\n * was read as the heaviest thing in the group. The chevron says which way it goes.\n */\n <Button\n type=\"button\"\n variant={ButtonVariants_Variant.GHOST}\n size={ButtonSize.SM}\n className=\"self-start\"\n onClick={() => setShowAll(!showAll)}\n aria-expanded={showAll}\n >\n {showAll ? showLessLabel : showMoreLabel}\n {renderIcon(showAll ? StandardIconReference.CHEVRON_UP : StandardIconReference.CHEVRON_DOWN, { size: IconSize.SM })}\n </Button>\n )}\n </div>\n );\n};\n\n// =============================================================================\n// GUIDED MODES\n// =============================================================================\n\ninterface StepperModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Stepper;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n onSectionChange?: (sectionId: string | string[]) => void;\n}\n\n/**\n * STEPPER — a guided sequence, one section at a time.\n *\n * Drawn with the framework's `Stepper`, the same one a form wizard uses, so a section stepper and a wizard look and\n * behave as one thing (a hand-drawn second stepper diverged in glyph, state and focus). A step a person may go to\n * is a button; a step holding nothing selectable yet is not. There is no \"Complete\" on the last step: a section\n * stepper completes nothing (a form's own submit does that), and the button it showed was always disabled.\n */\nconst StepperMode: React.FC<StepperModeProps> = ({ sections, config, className, sectionWrapMode, onSectionChange }) => {\n const [currentStep, setCurrentStep] = useState(0);\n const getLabel = useContentSectionContainerLabel();\n const progressNavId = useId();\n const orientation = config.orientation ?? DisplayDirection.HORIZONTAL;\n // The numbered step indicators ALREADY communicate progress, so the separate linear progress bar is redundant\n // by default — a double indicator for the same state. Opt in via `config.showProgress` only.\n const showProgress = config.showProgress ?? false;\n const allowSkip = config.allowSkip ?? false;\n const nextLabel = config.nextLabel ?? getLabel('stepperNext');\n const previousLabel = config.previousLabel ?? getLabel('stepperPrevious');\n\n // Single source of truth for \"can the user go to this step?\": any visited step and the next one; `allowSkip`\n // unlocks every step.\n const canNavigate = (index: number): boolean => allowSkip || index <= currentStep + 1;\n\n const handleStepChange = (index: number) => {\n if (index < 0 || index >= sections.length) return;\n if (!canNavigate(index)) return;\n setCurrentStep(index);\n onSectionChange?.(sections[index].id);\n };\n\n const keepPanelsMounted = useKeepsHiddenPanelsMounted();\n // A field that must be shown takes the stepper to its step, whatever `canNavigate` says: it is where the repair is.\n const revealContainerId = useFieldRevealRequests((id) => {\n const index = sections.findIndex((section) => section.id === id);\n if (index < 0 || index === currentStep) return false;\n setCurrentStep(index);\n onSectionChange?.(id);\n return true;\n });\n\n const currentSection = sections[currentStep];\n const renderStepPanel = (section: ContentSectionDescriptor, index: number): React.ReactNode => (\n <div\n key={section.id}\n hidden={index !== currentStep}\n {...fieldRevealPanelAttributes(revealContainerId, section.id)}\n className=\"animate-in fade-in-0 duration-[var(--motion-duration-fast)]\"\n >\n {renderSectionContentChrome(section, <SectionPanelContent section={section} />, sectionWrapMode)}\n </div>\n );\n\n return (\n <div className={cn('flex flex-col gap-section', className)}>\n <nav id={progressNavId} aria-label={config.ariaLabel ?? getLabel('stepperProgressNav')}>\n <Stepper\n currentStep={currentStep}\n totalSteps={sections.length}\n orientation={orientation}\n onStepSelect={handleStepChange}\n isStepSelectable={(index) => index !== currentStep && canNavigate(index)}\n {...(config.completedIcon !== undefined ? { completedIcon: config.completedIcon } : {})}\n role=\"list\"\n >\n {sections.map((section, index) => (\n <React.Fragment key={section.id}>\n <StepperItem step={index} role=\"listitem\" aria-current={index === currentStep ? 'step' : undefined}>\n <StepperIndicator step={index} aria-hidden=\"true\" />\n <StepperTitle step={index}>{section.title}</StepperTitle>\n </StepperItem>\n {index < sections.length - 1 && <StepperSeparator step={index} aria-hidden=\"true\" />}\n </React.Fragment>\n ))}\n </Stepper>\n </nav>\n\n {showProgress && (\n <div className=\"w-full bg-muted rounded-full h-2\">\n <div\n className=\"bg-primary h-2 rounded-full transition-[width]\"\n style={{ width: `${((currentStep + 1) / sections.length) * 100}%` }}\n role=\"progressbar\"\n /*\n * Named by the step navigation it summarises. `aria-labelledby` resolves the referenced\n * element's own `aria-label`, so the bar takes the SAME translated name as the landmark —\n * \"Step progress\" — with no second label key for every application to generate.\n */\n aria-labelledby={progressNavId}\n aria-valuenow={currentStep + 1}\n aria-valuemin={1}\n aria-valuemax={sections.length}\n />\n </div>\n )}\n\n {/* The step and its navigation read as one block: the navigation sits right under the panel it moves. */}\n <div className=\"flex flex-col gap-field\">\n {/* Every step stays mounted in a form (`useKeepsHiddenPanelsMounted`); elsewhere only the current one renders. */}\n {keepPanelsMounted ? sections.map(renderStepPanel) : currentSection && renderStepPanel(currentSection, currentStep)}\n\n <div className=\"flex justify-between\">\n {/* `type=\"button\"`: inside a form a bare button SUBMITS it, so moving between steps sent the record. */}\n <Button\n type=\"button\"\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={() => handleStepChange(currentStep - 1)}\n disabled={currentStep === 0}\n >\n {previousLabel}\n </Button>\n {currentStep < sections.length - 1 && (\n <Button type=\"button\" onClick={() => handleStepChange(currentStep + 1)}>\n {nextLabel}\n </Button>\n )}\n </div>\n </div>\n </div>\n );\n};\n\ninterface TimelineModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Timeline;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst TimelineMode: React.FC<TimelineModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const getLabel = useContentSectionContainerLabel();\n const StepHeadingTag = documentHeadingTag(useDocumentHeadingLevel());\n\n /*\n * Drawn on the framework's own `Timeline` since #1317 — this mode used to draw a private rail and\n * dot of its own, the first of three hand-drawn timelines the one component replaced. Each section\n * is an entry; a section step has no status, so the marker is the NEUTRAL tone.\n */\n return (\n <div className={className} role=\"region\" aria-label={config.ariaLabel ?? getLabel('timelineRegion')}>\n <Timeline className=\"gap-section\">\n {sections.map((section, index) => (\n <TimelineEntry key={section.id}>\n <TimelineBody>\n {renderSectionContentChrome(\n section,\n <>\n <div className=\"flex items-center gap-element mb-element\">\n {section.icon}\n <StepHeadingTag className=\"font-semibold\">{section.title}</StepHeadingTag>\n <Badge variant=\"outline\" className=\"ms-auto\">\n {getLabel('timelineStep', { step: index + 1 })}\n </Badge>\n </div>\n {section.description && (\n <p className=\"text-sm text-muted-foreground mb-element\">{section.description}</p>\n )}\n <NestedDocumentHeadingLevel>{section.content}</NestedDocumentHeadingLevel>\n </>,\n sectionWrapMode,\n )}\n </TimelineBody>\n </TimelineEntry>\n ))}\n </Timeline>\n </div>\n );\n};\n\ninterface StagesModeProps {\n sections: ContentSectionDescriptor[];\n config: SectionConfig_Stages;\n className?: string;\n sectionWrapMode: AutoSectionWrap;\n}\n\nconst stagesWithoutRecordWarned = new Set<string>();\n\n/**\n * STAGES — where ONE record stands in its lifecycle, read-only (#1786).\n *\n * The record's stage comes from the layout host (`config.currentStage`, derived by `DisplayLayout` from the bound\n * field), never from local state: every stage before it is drawn reached, its own stage current, later stages not\n * reached. Drawn with the framework's `Stepper` as a display of progress (no `onStepSelect`), so there are no\n * buttons and no step is a control. Each stage carries its title, its authored description (the sentence that says\n * what the stage means for the person) and its fields, in one column.\n *\n * A host that holds no record (a form, a composite view) leaves `currentStage` absent. Marking stages there would be\n * a guess, so the sections are stacked as INLINE and the authoring mistake is reported once.\n */\nconst StagesMode: React.FC<StagesModeProps> = ({ sections, config, className, sectionWrapMode }) => {\n const getLabel = useContentSectionContainerLabel();\n const currentStage = config.currentStage;\n if (currentStage === undefined) {\n const warnKey = sections.map((section) => section.id).join('|');\n if (process.env.NODE_ENV !== 'production' && !stagesWithoutRecordWarned.has(warnKey)) {\n stagesWithoutRecordWarned.add(warnKey);\n LoggerFrontendService.getLogger().warn(\n `[Section] STAGES group (${sections.map((section) => section.id).join(', ')}) is rendered by a host that holds no record, so no stage can be marked; the sections are stacked instead. STAGES belongs in a DisplayLayout, which reads the record's bound field.`,\n { sections: sections.map((section) => section.id) },\n );\n }\n return <InlineMode sections={sections} config={{ mode: SectionMode.INLINE }} className={className} sectionWrapMode={sectionWrapMode} />;\n }\n\n const states = resolveSectionStageStates(sections.map((section) => section.id), currentStage);\n const currentIndex = states.indexOf(SectionStageState.CURRENT);\n\n return (\n <div className={className} role=\"region\" aria-label={config.ariaLabel ?? getLabel('stagesRegion')} data-current-stage={currentStage ?? undefined}>\n {/* `currentStep` -1 when the record is at no stage: the preset then draws every stage pending. */}\n <Stepper currentStep={currentIndex} totalSteps={sections.length} orientation={DisplayDirection.VERTICAL} role=\"list\">\n {sections.map((section, index) => (\n <React.Fragment key={section.id}>\n <StepperItem\n step={index}\n role=\"listitem\"\n data-stage={section.id}\n data-stage-state={states[index]}\n aria-current={states[index] === SectionStageState.CURRENT ? 'step' : undefined}\n >\n <StepperIndicator step={index} aria-hidden=\"true\" />\n <div className=\"min-w-0 flex-1\">\n <StepperTitle step={index}>{section.title}</StepperTitle>\n {section.description != null && <StepperDescription step={index}>{section.description}</StepperDescription>}\n <div className=\"mt-field\">{section.content}</div>\n </div>\n </StepperItem>\n {/* Centred under the 2rem indicator. */}\n {index < sections.length - 1 && <StepperSeparator step={index} aria-hidden=\"true\" className=\"ms-[calc(1rem-1px)] my-element\" />}\n </React.Fragment>\n ))}\n </Stepper>\n </div>\n );\n};\n\n// =============================================================================\n// EXPORTS\n// =============================================================================\n\nContentSectionContainer.displayName = 'ContentSectionContainer';\n\nexport default ContentSectionContainer;\n"]}
|
|
@@ -18,7 +18,7 @@ export type ContentSectionProps = React.ComponentProps<'fieldset'> & {
|
|
|
18
18
|
/**
|
|
19
19
|
* Container-panel chrome (used by `ContentSectionContainer` for tabs/grid/
|
|
20
20
|
* accordion/… panels). When `true`, the heading renders as a heading element
|
|
21
|
-
* (`
|
|
21
|
+
* (`icon` + title, at the level the outline gives it — `useDocumentHeadingLevel`) with a header-bar/divider layout instead of a
|
|
22
22
|
* `<legend>`, framed per `appearance` (CARD = card-each, DEFAULT = flat). The
|
|
23
23
|
* element stays a `<fieldset>` so the disabled cascade still applies. When
|
|
24
24
|
* `false` (default) the section renders form-style (legend +
|
|
@@ -27,8 +27,6 @@ export type ContentSectionProps = React.ComponentProps<'fieldset'> & {
|
|
|
27
27
|
panel?: boolean;
|
|
28
28
|
/** Panel-mode heading icon (rendered before the heading text). */
|
|
29
29
|
icon?: ReactNode;
|
|
30
|
-
/** Panel-mode heading level. Defaults to `h3`. */
|
|
31
|
-
headingTag?: 'h3' | 'h4';
|
|
32
30
|
};
|
|
33
31
|
/** Props for {@link ContentSectionGroup} — the child-grouping container. */
|
|
34
32
|
export type ContentSectionGroupProps = React.ComponentProps<'div'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-section.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/content-section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAA;AACvH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAqB/D,8DAA8D;AAC9D,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG;IACnE;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,kGAAkG;IAClG,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,sDAAsD;IACtD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kEAAkE;IAClE,IAAI,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"content-section.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/content-section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAA;AACvH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAqB/D,8DAA8D;AAC9D,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG;IACnE;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,kGAAkG;IAClG,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,sDAAsD;IACtD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kEAAkE;IAClE,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,4EAA4E;AAC5E,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;AAElE,4EAA4E;AAC5E,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;CAAE,CAAA;AAEzG;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAG5I;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGtJ;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGxJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-section.js","sourceRoot":"","sources":["../../../../src/components/sections/content-section.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAA;AACzH,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"content-section.js","sourceRoot":"","sources":["../../../../src/components/sections/content-section.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAA;AACzH,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAwD5F;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,GAAG,KAAK,EAA8C;IACvH,MAAM,SAAS,GAAG,uBAAuB,CAAsB,qBAAqB,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;IACzI,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAA;AACjC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,GAAG,KAAK,EAAmD;IACjI,MAAM,SAAS,GAAG,uBAAuB,CAA2B,qBAAqB,CAAC,+BAA+B,EAAE,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;IACzJ,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAA;AACjC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,GAAG,KAAK,EAAoD;IACnI,MAAM,SAAS,GAAG,uBAAuB,CAA4B,qBAAqB,CAAC,gCAAgC,EAAE,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;IAC5J,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAA;AACjC,CAAC","sourcesContent":["import React from 'react'\nimport type { ReactNode } from 'react'\nimport { createComponentResolver } from '~wildo-frontend-lib/core/components-registry/component-resolver.frontend.helper'\nimport { FrontendComponentType, CorePresetNames } from '@wildo-ai/presets-components-models'\nimport { ComponentPresetProps } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas'\nimport type { SoloSectionMode } from '@wildo-ai/zod-decorators'\n\n// =============================================================================\n// CONTENT SECTION — low-level section primitive\n// =============================================================================\n//\n// The registry-resolved replacement for the deprecated FieldSet family\n// (`LOW_LEVEL_FIELD_SET` / `_GROUP` / `_LEGEND`). `ContentSection` renders a\n// native `<fieldset>` for the DEFAULT / CARD appearances (so the native\n// `disabled` cascade disables every descendant control with no per-field\n// wiring), a flat `<div>` for GHOST, and a `Collapsible` for COLLAPSIBLE.\n//\n// `legend` and `description` are STRUCTURED props (not just free children)\n// because COLLAPSIBLE renders the legend as a clickable trigger and GHOST stacks\n// the heading outside any `<fieldset>` — the primitive owns the per-mode\n// arrangement. This mirrors the `ContentSectionDescriptor` data shape so\n// `ContentSectionContainer` can render every panel through this same primitive.\n// Children are the section content (fields). The imperative composite/record/\n// array sites omit the structured props and pass `<ContentSectionLegend>` /\n// `<ContentSectionGroup>` as children (DEFAULT appearance), which also works.\n\n/** Props for the {@link ContentSection} section primitive. */\nexport type ContentSectionProps = React.ComponentProps<'fieldset'> & {\n /**\n * Solo-mode chrome. DEFAULT/CARD frame via a native `<fieldset>`; GHOST is a\n * flat `<div>`; COLLAPSIBLE wraps the fieldset content in a toggle.\n */\n appearance?: SoloSectionMode\n /** Section heading — a `<legend>` (DEFAULT/CARD/GHOST) or a collapsible trigger (COLLAPSIBLE). */\n legend?: ReactNode\n /** Section description, rendered under the legend. */\n description?: ReactNode\n /** COLLAPSIBLE only: initial open state. Defaults to open. */\n defaultOpen?: boolean\n /**\n * Container-panel chrome (used by `ContentSectionContainer` for tabs/grid/\n * accordion/… panels). When `true`, the heading renders as a heading element\n * (`icon` + title, at the level the outline gives it — `useDocumentHeadingLevel`) with a header-bar/divider layout instead of a\n * `<legend>`, framed per `appearance` (CARD = card-each, DEFAULT = flat). The\n * element stays a `<fieldset>` so the disabled cascade still applies. When\n * `false` (default) the section renders form-style (legend +\n * flat `gap-field` fieldset).\n */\n panel?: boolean\n /** Panel-mode heading icon (rendered before the heading text). */\n icon?: ReactNode\n}\n\n/** Props for {@link ContentSectionGroup} — the child-grouping container. */\nexport type ContentSectionGroupProps = React.ComponentProps<'div'>\n\n/** Props for {@link ContentSectionLegend} — the section heading element. */\nexport type ContentSectionLegendProps = React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }\n\n/**\n * Section primitive. Resolves the `LOW_LEVEL_CONTENT_SECTION` slot. See the\n * module header for the per-appearance rendering contract.\n */\nexport function ContentSection({ preset = CorePresetNames.DEFAULT, ...props }: ContentSectionProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<ContentSectionProps>(FrontendComponentType.LOW_LEVEL_CONTENT_SECTION, 'ContentSection')(preset)\n return <Component {...props} />\n}\n\n/**\n * Child-grouping container + named container-query / group anchor\n * (`@container/field-group`, `group/field-group`) consumed by responsive `Field`\n * orientation and `FieldSeparator`. Resolves `LOW_LEVEL_CONTENT_SECTION_GROUP`.\n */\nexport function ContentSectionGroup({ preset = CorePresetNames.DEFAULT, ...props }: ContentSectionGroupProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<ContentSectionGroupProps>(FrontendComponentType.LOW_LEVEL_CONTENT_SECTION_GROUP, 'ContentSectionGroup')(preset)\n return <Component {...props} />\n}\n\n/**\n * Section heading element (native `<legend>`, two-size `variant`). Resolves\n * `LOW_LEVEL_CONTENT_SECTION_LEGEND`.\n */\nexport function ContentSectionLegend({ preset = CorePresetNames.DEFAULT, ...props }: ContentSectionLegendProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<ContentSectionLegendProps>(FrontendComponentType.LOW_LEVEL_CONTENT_SECTION_LEGEND, 'ContentSectionLegend')(preset)\n return <Component {...props} />\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppPage_AgentActivitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/AppPage_AgentActivitySettings.ts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IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAO/J;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,CAerE;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC;CACpC;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,
|
|
1
|
+
{"version":3,"file":"AppPage_AgentActivitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/AppPage_AgentActivitySettings.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EACL,oBAAoB,EAGpB,yBAAyB,EAOzB,KAAK,sBAAsB,EAE3B,KAAK,iBAAiB,EAGvB,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,EAAkC,KAAK,iBAAiB,EAAE,KAAK,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAC5J,OAAO,EAAqD,KAAK,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAQnK,+GAA+G;AAC/G,oBAAY,kBAAkB;IAC5B,8DAA8D;IAC9D,YAAY,iBAAiB;IAC7B,uGAAuG;IACvG,WAAW,gBAAgB;CAC5B;AAWD,kGAAkG;AAClG,eAAO,MAAM,2BAA2B,QAA2E,CAAC;AAEpH,+GAA+G;AAC/G,eAAO,MAAM,4BAA4B,QAAiE,CAAC;AAE3G,yFAAyF;AACzF,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,yBAAyB,GAAG,MAAM,CAE9E;AAED,8EAA8E;AAC9E,wBAAgB,eAAe,CAAC,IAAI,EAAE,oBAAoB,GAAG,MAAM,CAElE;AASD,kFAAkF;AAClF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,sBAAsB,EAAE,eAAe,CAAC,GAAG,oBAAoB,EAAE,CAE3G;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,IAAI,CAAC,sBAAsB,EAAE,SAAS,GAAG,eAAe,CAAC,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,6BAA6B,EAAE,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAa9K;AAED,kHAAkH;AAClH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAO/J;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,CAerE;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC;CACpC;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAuGtF,CAAC"}
|
|
@@ -141,7 +141,8 @@ export const AppPage_AgentActivitySettings = ({ scope }) => {
|
|
|
141
141
|
const { currentOrganizationId } = useUserOrgs();
|
|
142
142
|
const tc = useCallback((key, params) => tComponent(COMPONENT, key, params), [tComponent]);
|
|
143
143
|
/** The organization this panel reads: the current one at organization scope, none (every one) at application scope. */
|
|
144
|
-
|
|
144
|
+
// `useUserOrgs` reports no current organization as `null`; this panel's reads and props name "none" as `undefined`.
|
|
145
|
+
const organizationId = scope === AgentActivityScope.ORGANIZATION ? currentOrganizationId ?? undefined : undefined;
|
|
145
146
|
const awaitsOrganization = scope === AgentActivityScope.ORGANIZATION && !currentOrganizationId;
|
|
146
147
|
const [pages, setPages] = useState(null);
|
|
147
148
|
const [readState, setReadState] = useState(AgentActivityReadState.LOADING);
|