@wildo-ai/saas-frontend-lib 1.1.17 → 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/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/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 +14 -9
- 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 +31 -18
- 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/app-level/useMenuBarBehavior.d.ts.map +1 -1
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js +5 -3
- package/dist/esm/components/navigation/app-level/useMenuBarBehavior.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 +47 -11
- 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 +17 -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 +13 -6
- 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.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/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/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/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/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 +33 -7
- 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 +69 -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 +35 -9
- 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 +69 -21
- 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 +6 -7
- 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/heatmap.builder.js +2 -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/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 +7 -7
- 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/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 +6 -8
- 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/statistical-family.builder.d.ts.map +1 -1
- package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js +4 -1
- 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/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 +27 -6
- 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 +30 -7
- 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 +4 -0
- 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/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 +14 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +17 -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":"ResourceLayout_InsertedViews.js","sourceRoot":"","sources":["../../../../src/components/resources/ResourceLayout_InsertedViews.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,EAAE,oCAAoC,EAAE,MAAM,mEAAmE,CAAC;AACzH,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AAC7H,OAAO,EAAE,KAAK,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KAAK,gBAAgB,EAAE,CAAC;QAC/C,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACzC,OAAO;IACT,CAAC;IAED,gBAAgB,CAAC,IAAI,CAAC;QACpB,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,CAAC,YAAY,CAAC;KACtB,CAAC,CAAC;AACL,CAAC;AAED,SAAS,oCAAoC,CAAC,OAAe;IAC3D,OAAO,qBAAqB,CAAC,uBAAuB,CAClD,2BAA2B,CAAC,aAAa,EACzC;QACE,SAAS,EAAE,8BAA8B;QACzC,OAAO;KACR,CACF,CAAC;AACJ,CAAC;AAED,eAAe,4BAA4B,CAAC","sourcesContent":["import React, { createContext, useCallback, useContext, useMemo } from 'react';\n\nimport { RESOURCE_HEADER_NARROW_SR_ONLY_CLASS } from '~wildo-frontend-lib/components/resources/resource-header-geometry';\nimport { CoreResourceOperation, ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { TypographyVariant, UIBehavior } from '@wildo-ai/presets-components-models';\nimport { SectionLegendVoiceHost, useSectionLegendVoice } from '~wildo-frontend-lib/components/sections/section-legend-voice';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport { documentHeadingTag, useDocumentHeadingLevel } from '~wildo-frontend-lib/components/typography/document-heading-level';\nimport {\n buildResolvedInsertedChartDescriptor,\n buildResourceInsertedChartIdentity,\n type InsertedChartDeclaration,\n} from '~wildo-frontend-lib/core/config/chart-view.frontend.schemas';\nimport { ChartView } from '~wildo-frontend-lib/components/views/chart-view/ChartView.lazy';\nimport { FeatureRouteGuard } from '~wildo-frontend-lib/core/features/FeatureRouteGuard';\nimport { useIconRegistry } from '~wildo-frontend-lib/core/icons/useIconRegistry';\nimport {\n IconCategory,\n IconSize,\n} from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { cn } from '~wildo-frontend-lib/core/ui/cn';\nimport { useNavigationController } from '~wildo-frontend-lib/core/navigation/useNavigationController';\nimport {\n NavigationContentType,\n type NavigationIconReference,\n type NavigationInitiatorContext,\n type NavigationZone,\n} from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport { EmbedResourceOwnedCompositeView } from './ResourceOwnedViewEmbeds';\nimport {\n buildCompositeViewLabelKey,\n buildNavigationViewLabelKey,\n buildResourceViewTranslationRef,\n resolveNavigationViewTitle,\n} from '~wildo-frontend-lib/core/navigation/view-title-resolution';\nimport {\n resolveItemRef,\n type LauncherResolutionContext,\n type ResolvedNavigationTarget,\n} from '~wildo-frontend-lib/core/navigation/launcher-resolution';\nimport type {\n FrontendResourceOperationContext,\n} from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport { FrontendResourceUtils } from '~wildo-frontend-lib/core/resources/frontend-resource.utils';\nimport { useResourceRegistry } from '~wildo-frontend-lib/core/resources/useResourceRegistry';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport {\n ButtonSize,\n NavigationViewLabelFamily,\n} from '@wildo-ai/presets-components-models';\nimport { LauncherItemTargetKind } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport { serializeSurfaceOperation } from '~wildo-frontend-lib/core/config/execution-view.schemas';\nimport {\n InsertedViewLauncherPlacement,\n resolveInsertedViewLauncherConfig,\n type InsertedViewLauncherConfig,\n} from '~wildo-frontend-lib/core/config/inserted-view-launcher.schemas';\n\nimport {\n areMandatoryParentRequirementsSatisfied,\n normalizeInsertedResourceViewContextResourceIdentifiers,\n} from './inserted-resource-view.frontend.utils';\n\n/**\n * WHICH SLOT of the host page this mount renders.\n *\n * A record page offers three distinct homes for a resource-owned view's entry\n * point, and each view chooses one via its authored\n * {@link InsertedViewLauncherPlacement}. The host mounts this component once per\n * slot; each mount renders only the launchers that asked for it.\n *\n * `CONTENT` additionally owns the segments that are not launchers at all —\n * inline charts and embedded composites — because those ARE content and belong\n * in the body flow after the record's fields.\n *\n * `ALL` renders everything in one block, for hosts that do not split the slots\n * (the semantic-operation fallback).\n */\nexport enum InsertedViewRenderSlot {\n /** Inside the record's action cluster, beside its own operations. */\n ACTION_BAR = 'action_bar',\n /** A ruled strip directly under the record header. */\n RECORD_NAVIGATION = 'record_navigation',\n /** The body flow: charts, embedded composites, and content-card launchers. */\n CONTENT = 'content',\n ALL = 'all',\n}\n\nexport interface ResourceLayout_InsertedViewsProps {\n resourceContext: FrontendResourceOperationContext;\n navigationZone: NavigationZone;\n navigationInitiator?: NavigationInitiatorContext;\n className?: string;\n chartHeight?: number;\n showCharts?: boolean;\n /**\n * Which slot this mount renders. Defaults to `ALL` so hosts that do not split\n * the slots keep rendering one combined block.\n */\n renderSlot?: InsertedViewRenderSlot;\n}\n\n/**\n * Composite refs currently being EMBEDDED inline up the tree (D1). A\n * non-addressable resource-owned composite is rendered in place by\n * `ResourceLayout_InsertedViews`; if that composite embeds its own host READ\n * (e.g. `task-workspace` → `EmbedHostResourceOperation(READ)`), the host read\n * renders another `ResourceLayout_InsertedViews` that would re-embed the SAME\n * composite → infinite recursion. Each inline embed adds its ref here; a\n * descendant InsertedViews whose composite ref is already active SKIPS the\n * re-embed. Mirrors `ActiveCustomViewOperationsContext` in `ResourceLayout_Read`.\n */\nconst ActiveEmbeddedCompositeRefsContext = createContext<ReadonlySet<string>>(new Set<string>());\n\ninterface ResourceOwnedLauncherView {\n kind: NavigationContentType.COMPOSITE_VIEW | NavigationContentType.EXECUTION_VIEW;\n ref: string;\n label: string;\n /** The resolved launcher icon, as a reference this component renders (#1828). */\n iconReference?: NavigationIconReference;\n urlPath: string;\n contextResourceIdentifiers?: Record<string, string>;\n requiredFeatures: unknown;\n /** Resolved presentation (placement / emphasis / label) for this launcher. */\n presentation: ReturnType<typeof resolveInsertedViewLauncherConfig>;\n}\n\ntype ResourceOwnedInsertedViewSegment =\n | {\n type: 'chart';\n ref: string;\n chartView: InsertedChartDeclaration;\n /**\n * Resolved display title (labelling pipeline: `views.chart.{translationRef}.title`).\n * Empty string only while the label bundle is still loading — the heading is then\n * omitted. A label that is not generated yet is its KEY PATH once settled (#1450):\n * labels are i18n-owned, never derived in code, and a missing one must look missing.\n */\n title: string;\n }\n | {\n type: 'launcher-group';\n views: ResourceOwnedLauncherView[];\n }\n | {\n /** D1: a non-addressable resource-owned composite embedded inline in place. */\n type: 'embedded-composite';\n ref: string;\n };\n\nexport function ResourceLayout_InsertedViews({\n resourceContext,\n navigationZone,\n navigationInitiator,\n className = '',\n chartHeight = 320,\n showCharts = true,\n renderSlot = InsertedViewRenderSlot.ALL,\n}: ResourceLayout_InsertedViewsProps): React.JSX.Element | null {\n const { registry } = useResourceRegistry();\n const activeEmbeddedCompositeRefs = useContext(ActiveEmbeddedCompositeRefsContext);\n const { navigate } = useNavigationController();\n const { renderIcon } = useIconRegistry();\n const frontendConfiguration = registry.resourceConfigurations[resourceContext.resourceType]?.frontendConfiguration;\n const compositeLabelKeys = useMemo(() => (\n (frontendConfiguration?.compositeViews ?? []).map((view) => (\n buildCompositeViewLabelKey(view.translationRef)\n ))\n ), [frontendConfiguration?.compositeViews]);\n const viewLabelKeys = useMemo(() => ([\n ...((frontendConfiguration?.chartViews ?? []).map((view) => (\n buildNavigationViewLabelKey({\n family: NavigationViewLabelFamily.CHART,\n translationRef: buildResourceViewTranslationRef(\n resourceContext.resourceType,\n view.ref,\n ),\n })\n ))),\n ...((frontendConfiguration?.executionViews ?? []).map((view) => (\n buildNavigationViewLabelKey({\n family: NavigationViewLabelFamily.EXECUTION,\n translationRef: buildResourceViewTranslationRef(\n resourceContext.resourceType,\n view.ref,\n ),\n })\n ))),\n ]), [\n frontendConfiguration?.chartViews,\n frontendConfiguration?.executionViews,\n resourceContext.resourceType,\n ]);\n const { tCompositeView, tResourceHeader, tResourceOperation, tView } = useI18n({\n keys: [...compositeLabelKeys, ...viewLabelKeys],\n });\n\n const contextResourceIdentifiers = useMemo(() => {\n return normalizeInsertedResourceViewContextResourceIdentifiers(resourceContext);\n }, [resourceContext]);\n\n /**\n * Resource-owned view declarations are the **single source of truth** for\n * which inserted views surface inside a given operation host:\n *\n * - `compositeView.operationLike` / `chartView.operationLike` (single op) —\n * the view surfaces inside the default (non-variant) instance of that\n * core operation.\n * - `executionView.surfaceInOperations` (list of `OperationKey`) — the\n * view surfaces inside every listed host, including specific operation\n * variants (`[operationId, variantKey]`).\n *\n * We resolve the current operation's identity into a serialized\n * `OperationKey` and a base-op shortcut, then filter each family directly\n * — no per-operation compiled view list is consulted.\n */\n const operationView = resourceContext.operation;\n const isCurrentDefaultOperationHost =\n operationView.isOperationDefault === true || !operationView.variantKey;\n const currentBaseOperation = String(operationView.operationIdentifier);\n /*\n * On a record's READ page the inserted views belong to the read body, after it: a composite's section\n * titles and a chart's title name groups there just as `DisplayLayout`'s legends do, so they speak in\n * the same EYEBROW voice (measured 2026-10-01 on the Wonder Todos todo: \"Supporting Tasks\" at 16px under\n * eyebrow-voiced \"CHECKLIST\"). On any other host the voice is whatever that host chose.\n */\n const inheritedLegendVoice = useSectionLegendVoice();\n const legendVoice = currentBaseOperation === CoreResourceOperation.READ ? TypographyVariant.EYEBROW : inheritedLegendVoice;\n const { getRecipe } = useUI();\n // A chart card's title takes its level from the outline it sits in: under a record page's `h1` it is an `h2`.\n // It was a hard-coded `h3`, which axe reported as a skipped level on the record read view (#3867).\n const ChartTitleTag = documentHeadingTag(useDocumentHeadingLevel());\n const currentSerializedOperationKey = useMemo(() => (\n isCurrentDefaultOperationHost\n ? currentBaseOperation\n : serializeSurfaceOperation([currentBaseOperation, String(operationView.variantKey)])\n ), [currentBaseOperation, isCurrentDefaultOperationHost, operationView.variantKey]);\n\n // Beyond the operation-host match, every family is additionally gated on\n // MANDATORY parent-context satisfiability: a view whose declared parent id is\n // absent from the host's context would fetch/anchor against the wrong scope\n // (see `areMandatoryParentRequirementsSatisfied`).\n const applicableCompositeViews = useMemo(() => (\n isCurrentDefaultOperationHost\n ? (frontendConfiguration?.compositeViews ?? []).filter(\n (view) => String(view.operationLike) === currentBaseOperation\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers),\n )\n : []\n ), [contextResourceIdentifiers, currentBaseOperation, frontendConfiguration?.compositeViews, isCurrentDefaultOperationHost]);\n\n const applicableChartViews = useMemo(() => (\n isCurrentDefaultOperationHost\n ? (frontendConfiguration?.chartViews ?? []).filter(\n (view) => String(view.operationLike) === currentBaseOperation\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers),\n )\n : []\n ), [contextResourceIdentifiers, currentBaseOperation, frontendConfiguration?.chartViews, isCurrentDefaultOperationHost]);\n\n const applicableExecutionViews = useMemo(() => (\n (frontendConfiguration?.executionViews ?? []).filter((view) => (\n (view.surfaceInOperations ?? []).some(\n (op) => serializeSurfaceOperation(op) === currentSerializedOperationKey,\n )\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers)\n ))\n ), [contextResourceIdentifiers, currentSerializedOperationKey, frontendConfiguration?.executionViews]);\n\n const insertedViewSegments = useMemo<ResourceOwnedInsertedViewSegment[]>(() => {\n if (\n applicableCompositeViews.length === 0\n && applicableChartViews.length === 0\n && applicableExecutionViews.length === 0\n ) {\n return [];\n }\n\n const resolutionContext: LauncherResolutionContext = {\n registry,\n contextResourceIdentifiers,\n views: {},\n tResourceHeader,\n tResourceOperation,\n tViewTitle: (viewRef, contentType) => resolveNavigationViewTitle({\n viewRef,\n contentType,\n tCompositeView,\n tView,\n }),\n t: (key) => key,\n // This context resolves resource-owned views only, never a settings row, so no section icon is ever asked for.\n settingsSectionIcon: () => undefined,\n // Nor its authored label.\n settingsSectionLabel: () => undefined,\n // Nor a settings row, so there is no section visibility to filter by.\n settingsSectionVisible: null,\n // These are the current resource's own views, already authorized by the page that hosts them: no role filter.\n viewerRoles: null,\n };\n\n const resolvedSegments: ResourceOwnedInsertedViewSegment[] = [];\n\n // Canonical rendering order — fixed by the framework now that there is\n // no author-controlled `additionalViews` list:\n // 1. composites (primary structured views)\n // 2. charts (at-a-glance metrics)\n // 3. executions (action runners)\n // Within each family, declaration iteration order is preserved: composites\n // and executions follow authored key order in the `ResourceCompositeViewsConfig`\n // / `ResourceExecutionViewsConfig` maps; charts follow the authored array\n // order in `chartViews`.\n\n for (const compositeView of applicableCompositeViews) {\n // D1: only an ADDRESSABLE composite gets a routing launcher (a\n // non-addressable one has no `urlPath`, so its launcher would no-op — the\n // dead-launcher bug). A non-addressable composite is EMBEDDED INLINE in\n // place instead, unless it is already being embedded up the tree (recursion\n // guard for composites that embed their own host READ).\n if (compositeView.isAddressable) {\n pushResourceOwnedLauncherView({\n resolvedSegments,\n resolutionContext,\n resourceType: resourceContext.resourceType,\n viewRef: compositeView.ref,\n operationIdentifier: operationView.operationIdentifier,\n familyLabel: 'composite',\n launcher: (compositeView as { launcher?: InsertedViewLauncherConfig }).launcher,\n });\n continue;\n }\n if (activeEmbeddedCompositeRefs.has(compositeView.ref)) {\n continue;\n }\n resolvedSegments.push({ type: 'embedded-composite', ref: compositeView.ref });\n }\n\n if (showCharts) {\n for (const chartView of applicableChartViews) {\n resolvedSegments.push({\n type: 'chart',\n ref: chartView.ref,\n chartView,\n title: tView(\n NavigationViewLabelFamily.CHART,\n buildResourceViewTranslationRef(resourceContext.resourceType, chartView.ref),\n 'title',\n ),\n });\n }\n }\n\n for (const executionView of applicableExecutionViews) {\n pushResourceOwnedLauncherView({\n resolvedSegments,\n resolutionContext,\n resourceType: resourceContext.resourceType,\n viewRef: executionView.ref,\n operationIdentifier: operationView.operationIdentifier,\n familyLabel: 'execution',\n launcher: (executionView as { launcher?: InsertedViewLauncherConfig }).launcher,\n });\n }\n\n return resolvedSegments;\n }, [\n activeEmbeddedCompositeRefs,\n applicableCompositeViews,\n applicableChartViews,\n applicableExecutionViews,\n contextResourceIdentifiers,\n operationView.operationIdentifier,\n registry,\n resourceContext.resourceType,\n showCharts,\n tCompositeView,\n tView,\n tResourceHeader,\n tResourceOperation,\n ]);\n\n const handleOpenView = useCallback((view: ResourceOwnedLauncherView) => {\n navigate({\n content: {\n contentType: view.kind,\n viewRef: view.ref,\n contextResourceIdentifiers: view.contextResourceIdentifiers,\n },\n initiator: {\n sourceZone: navigationZone,\n },\n urlPath: view.urlPath,\n });\n }, [navigate, navigationZone]);\n\n // Each launcher renders in the slot its own `placement` asked for; charts and\n // embedded composites are content and render only in the CONTENT slot. A\n // launcher group whose views all belong to other slots drops out entirely.\n const visibleSegments = useMemo(() => {\n if (renderSlot === InsertedViewRenderSlot.ALL) {\n return insertedViewSegments;\n }\n\n const slotForPlacement: Record<InsertedViewLauncherPlacement, InsertedViewRenderSlot> = {\n [InsertedViewLauncherPlacement.ACTION_BAR]: InsertedViewRenderSlot.ACTION_BAR,\n [InsertedViewLauncherPlacement.RECORD_NAVIGATION]: InsertedViewRenderSlot.RECORD_NAVIGATION,\n [InsertedViewLauncherPlacement.CONTENT_CARD]: InsertedViewRenderSlot.CONTENT,\n };\n\n return insertedViewSegments.flatMap((segment): ResourceOwnedInsertedViewSegment[] => {\n if (segment.type !== 'launcher-group') {\n return renderSlot === InsertedViewRenderSlot.CONTENT ? [segment] : [];\n }\n const views = segment.views.filter(\n (view) => slotForPlacement[view.presentation.placement] === renderSlot,\n );\n return views.length > 0 ? [{ ...segment, views }] : [];\n });\n }, [insertedViewSegments, renderSlot]);\n\n if (visibleSegments.length === 0) {\n return null;\n }\n\n return (\n <SectionLegendVoiceHost voice={legendVoice}>\n <div className={cn('space-y-section', className)} data-testid=\"resource-layout-inserted-views\">\n {visibleSegments.map((segment, segmentIndex) => (\n segment.type === 'embedded-composite'\n ? (\n // D1: render the non-addressable composite's BODY in place. The\n // provider marks this ref active so a nested InsertedViews (e.g. from\n // the composite's own embedded host READ) won't re-embed it.\n <ActiveEmbeddedCompositeRefsContext.Provider\n key={`embedded-composite:${segment.ref}:${segmentIndex}`}\n value={new Set<string>([...activeEmbeddedCompositeRefs, segment.ref])}\n >\n <EmbedResourceOwnedCompositeView\n resourceContext={resourceContext}\n viewRef={segment.ref}\n navigationZone={navigationZone}\n navigationInitiator={navigationInitiator}\n />\n </ActiveEmbeddedCompositeRefsContext.Provider>\n )\n : segment.type === 'chart'\n ? (\n <section\n key={`chart:${segment.ref}:${segmentIndex}`}\n className=\"rounded-lg border border-border bg-card p-field shadow-sm\"\n >\n {segment.title && (\n <ChartTitleTag className={cn('mb-element-sm', legendVoice ? getRecipe(UIBehavior.TYPOGRAPHY, legendVoice).base : 'text-sm font-medium text-foreground')}>\n {segment.title}\n </ChartTitleTag>\n )}\n <FeatureRouteGuard requiredFeatures={segment.chartView.chartDefinition.requiredFeatures}>\n <ChartView\n viewDefinition={segment.chartView}\n runtimeDescriptor={buildResolvedInsertedChartDescriptor({\n identity: buildResourceInsertedChartIdentity(resourceContext.resourceType, segment.chartView),\n chartView: segment.chartView,\n contextResourceIdentifiers,\n })}\n height={chartHeight}\n // Inserted chart tile on a detail page → degrade locally, no\n // page-level toast (per-widget error isolation).\n localErrorOnly\n />\n </FeatureRouteGuard>\n </section>\n )\n : (\n /* Record-level secondary navigation: a quiet strip of routes into\n other views of THIS record, sitting under the record's identity\n rather than in a card of its own. A bordered card of OUTLINE\n buttons read as an actions panel — a peer of the record's content\n — which is why these launchers were previously mistaken for\n page-bottom controls. A bottom-ruled row of ghost items reads as\n navigation: same affordance vocabulary as the app's horizontal\n tabs, without claiming a selected state these routes do not have\n while the reader is on the record's own page. */\n /* Launcher presentation is per-slot chrome around the SAME buttons.\n ACTION_BAR contributes bare buttons into the record's action\n cluster (the host owns that row, so no wrapper here);\n RECORD_NAVIGATION is a ruled sub-navigation strip under the\n header; CONTENT_CARD keeps the standalone card in the body flow.\n TODO(i18n): name the RECORD_NAVIGATION landmark once a\n `RESOURCES_LAYOUTS_INSERTED_VIEWS` component label is registered and\n generated — an ungenerated key would render as its raw path, so it\n stays unnamed rather than mislabelled. */\n <LauncherSlotChrome\n key={`launcher-group:${segmentIndex}`}\n renderSlot={renderSlot}\n >\n {segment.views.map((view) => (\n <FeatureRouteGuard key={`${view.kind}:${view.ref}`} requiredFeatures={view.requiredFeatures}>\n <Button\n data-testid={`inserted-view-launcher-${view.ref}`}\n type=\"button\"\n // In the record navigation strip a quiet launcher is a GHOST item, so the strip reads as\n // navigation (see the chrome note above); elsewhere it keeps the outlined look.\n variant={view.presentation.emphasized\n ? ButtonVariants_Variant.DEFAULT\n : renderSlot === InsertedViewRenderSlot.RECORD_NAVIGATION\n ? ButtonVariants_Variant.GHOST\n : ButtonVariants_Variant.OUTLINE}\n size={ButtonSize.SM}\n onClick={() => handleOpenView(view)}\n // An icon-only launcher must still announce itself.\n aria-label={view.presentation.showLabel ? undefined : view.label}\n title={view.presentation.showLabel && renderSlot !== InsertedViewRenderSlot.ACTION_BAR ? undefined : view.label}\n >\n {view.iconReference ? renderIcon(view.iconReference, { size: IconSize.SM }) : (\n view.kind === NavigationContentType.COMPOSITE_VIEW\n ? renderIcon(\n { category: IconCategory.COMPOSITE_VIEW, viewReference: view.ref },\n { size: IconSize.SM },\n )\n : renderIcon(\n { category: IconCategory.CUSTOM, customReference: `view-execution-${view.ref}` },\n { size: IconSize.SM },\n )\n )}\n {/* In the record header's action cluster the words yield to a narrow header (a split\n pane): the header puts the actions on its TITLE line, and a 200px labelled\n launcher is what pushed them off it (Wonder Todos, 2026-09-30). The words stay\n the accessible name and the tooltip; on a wide page they show. */}\n {view.presentation.showLabel && (\n <span className={renderSlot === InsertedViewRenderSlot.ACTION_BAR ? RESOURCE_HEADER_NARROW_SR_ONLY_CLASS : undefined}>\n {view.label}\n </span>\n )}\n </Button>\n </FeatureRouteGuard>\n ))}\n </LauncherSlotChrome>\n )\n ))}\n </div>\n </SectionLegendVoiceHost>\n );\n}\n\n/**\n * Per-slot wrapper around a group of launcher buttons.\n *\n * The buttons are identical in every slot — only the chrome around them differs,\n * which is what keeps \"where does this view's entry point live\" a placement\n * decision rather than three divergent renderers.\n */\nfunction LauncherSlotChrome({\n renderSlot,\n children,\n}: {\n renderSlot: InsertedViewRenderSlot;\n children: React.ReactNode;\n}): React.JSX.Element {\n if (renderSlot === InsertedViewRenderSlot.ACTION_BAR) {\n // The host action cluster owns the row; contribute buttons only.\n return <>{children}</>;\n }\n\n if (renderSlot === InsertedViewRenderSlot.RECORD_NAVIGATION) {\n return (\n <nav className=\"-mt-element flex flex-wrap items-center gap-item-xs border-b border-border pb-element-sm\">\n {children}\n </nav>\n );\n }\n\n return (\n <section className=\"rounded-lg border border-border bg-card p-field shadow-sm\">\n <div className=\"flex flex-wrap gap-item-sm\">{children}</div>\n </section>\n );\n}\n\nfunction isResourceOwnedLauncherView(\n resolvedView: ResolvedNavigationTarget | null,\n): resolvedView is ResolvedNavigationTarget & {\n contentType: NavigationContentType.COMPOSITE_VIEW | NavigationContentType.EXECUTION_VIEW;\n viewRef: string;\n label: string;\n} {\n return resolvedView?.contentType === NavigationContentType.COMPOSITE_VIEW\n || resolvedView?.contentType === NavigationContentType.EXECUTION_VIEW;\n}\n\n/**\n * Resolve a resource-owned composite/execution view ref into a launcher entry\n * and append it to `resolvedSegments`, grouping adjacent launchers into a\n * single `launcher-group` segment. Charts are handled inline at the call site\n * because they render as standalone segments with no grouping semantics.\n */\nfunction pushResourceOwnedLauncherView(params: {\n resolvedSegments: ResourceOwnedInsertedViewSegment[];\n resolutionContext: LauncherResolutionContext;\n resourceType: string;\n viewRef: string;\n operationIdentifier: string | number | symbol;\n familyLabel: 'composite' | 'execution';\n launcher?: InsertedViewLauncherConfig;\n}): void {\n const {\n resolvedSegments,\n resolutionContext,\n resourceType,\n viewRef,\n operationIdentifier,\n familyLabel,\n launcher,\n } = params;\n const resolvedView = resolveItemRef(\n {\n kind: LauncherItemTargetKind.RESOURCE_VIEW,\n resourceType,\n viewRef,\n },\n resolutionContext,\n );\n if (!resolvedView) {\n throw buildInsertedViewsConfigurationError(\n `Operation \"${String(operationIdentifier)}\" on resource \"${resourceType}\" could not resolve resource-owned ${familyLabel} view \"${viewRef}\".`,\n );\n }\n\n if (!isResourceOwnedLauncherView(resolvedView)) {\n throw buildInsertedViewsConfigurationError(\n `Operation \"${String(operationIdentifier)}\" on resource \"${resourceType}\" resolved ${familyLabel} view \"${viewRef}\" into unsupported content type \"${resolvedView.contentType}\".`,\n );\n }\n\n const launcherView: ResourceOwnedLauncherView = {\n kind: resolvedView.contentType,\n ref: resolvedView.viewRef,\n label: resolvedView.label,\n iconReference: resolvedView.iconReference,\n urlPath: resolvedView.urlPath,\n contextResourceIdentifiers: resolvedView.contextResourceIdentifiers,\n requiredFeatures: resolvedView.requiredFeatures,\n presentation: resolveInsertedViewLauncherConfig(launcher),\n };\n\n const previousSegment = resolvedSegments[resolvedSegments.length - 1];\n if (previousSegment?.type === 'launcher-group') {\n previousSegment.views.push(launcherView);\n return;\n }\n\n resolvedSegments.push({\n type: 'launcher-group',\n views: [launcherView],\n });\n}\n\nfunction buildInsertedViewsConfigurationError(message: string): Error {\n return FrontendResourceUtils.buildConfigurationError(\n ErrorCustomMessageReference.CONFIGURATION,\n {\n component: 'ResourceLayout_InsertedViews',\n message,\n },\n );\n}\n\nexport default ResourceLayout_InsertedViews;\n"]}
|
|
1
|
+
{"version":3,"file":"ResourceLayout_InsertedViews.js","sourceRoot":"","sources":["../../../../src/components/resources/ResourceLayout_InsertedViews.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE1G,OAAO,EAAE,oCAAoC,EAAE,MAAM,mEAAmE,CAAC;AACzH,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AAC7H,OAAO,EAAE,KAAK,EAAE,MAAM,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zB,KAAK,EAAE,YAAY,CAAC,KAAK;QACzB,aAAa,EAAE,YAAY,CAAC,aAAa;QACzC,OAAO,EAAE,YAAY,CAAC,OAAO;QAC7B,0BAA0B,EAAE,YAAY,CAAC,0BAA0B;QACnE,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;QAC/C,YAAY,EAAE,iCAAiC,CAAC,QAAQ,CAAC;KAC1D,CAAC;IAEF,MAAM,eAAe,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACtE,IAAI,eAAe,EAAE,IAAI,KAAK,gBAAgB,EAAE,CAAC;QAC/C,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACzC,OAAO;IACT,CAAC;IAED,gBAAgB,CAAC,IAAI,CAAC;QACpB,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,CAAC,YAAY,CAAC;KACtB,CAAC,CAAC;AACL,CAAC;AAED,SAAS,oCAAoC,CAAC,OAAe;IAC3D,OAAO,qBAAqB,CAAC,uBAAuB,CAClD,2BAA2B,CAAC,aAAa,EACzC;QACE,SAAS,EAAE,8BAA8B;QACzC,OAAO;KACR,CACF,CAAC;AACJ,CAAC;AAED,eAAe,4BAA4B,CAAC","sourcesContent":["import React, { createContext, useCallback, useContext, useMemo } from 'react';\nimport { useViewerMayReadChartPredicate } from '~wildo-frontend-lib/core/navigation/useChartReadDecision';\n\nimport { RESOURCE_HEADER_NARROW_SR_ONLY_CLASS } from '~wildo-frontend-lib/components/resources/resource-header-geometry';\nimport { CoreResourceOperation, ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { TypographyVariant, UIBehavior } from '@wildo-ai/presets-components-models';\nimport { SectionLegendVoiceHost, useSectionLegendVoice } from '~wildo-frontend-lib/components/sections/section-legend-voice';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport { documentHeadingTag, useDocumentHeadingLevel } from '~wildo-frontend-lib/components/typography/document-heading-level';\nimport {\n buildResolvedInsertedChartDescriptor,\n buildResourceInsertedChartIdentity,\n isChartViewInsertedIntoOperationHost,\n type InsertedChartDeclaration,\n} from '~wildo-frontend-lib/core/config/chart-view.frontend.schemas';\nimport { ChartView } from '~wildo-frontend-lib/components/views/chart-view/ChartView.lazy';\nimport { RequiredFeaturesGate } from '~wildo-frontend-lib/core/features/RequiredFeaturesGate';\nimport { RequiredFeaturesGatePresentation } from '~wildo-frontend-lib/core/features/required-features-gate-presentation';\nimport { useIconRegistry } from '~wildo-frontend-lib/core/icons/useIconRegistry';\nimport {\n IconCategory,\n IconSize,\n} from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { cn } from '~wildo-frontend-lib/core/ui/cn';\nimport { useNavigationController } from '~wildo-frontend-lib/core/navigation/useNavigationController';\nimport {\n NavigationContentType,\n type NavigationIconReference,\n type NavigationInitiatorContext,\n type NavigationZone,\n} from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport { EmbedResourceOwnedCompositeView } from './ResourceOwnedViewEmbeds';\nimport {\n buildCompositeViewLabelKey,\n buildNavigationViewLabelKey,\n buildResourceViewTranslationRef,\n resolveNavigationViewTitle,\n} from '~wildo-frontend-lib/core/navigation/view-title-resolution';\nimport {\n resolveItemRef,\n type LauncherResolutionContext,\n type ResolvedNavigationTarget,\n} from '~wildo-frontend-lib/core/navigation/launcher-resolution';\nimport type {\n FrontendResourceOperationContext,\n} from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport { FrontendResourceUtils } from '~wildo-frontend-lib/core/resources/frontend-resource.utils';\nimport { useResourceRegistry } from '~wildo-frontend-lib/core/resources/useResourceRegistry';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport {\n ButtonSize,\n NavigationViewLabelFamily,\n} from '@wildo-ai/presets-components-models';\nimport { LauncherItemTargetKind } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport { serializeSurfaceOperation } from '~wildo-frontend-lib/core/config/execution-view.schemas';\nimport {\n InsertedViewLauncherPlacement,\n resolveInsertedViewLauncherConfig,\n type InsertedViewLauncherConfig,\n} from '~wildo-frontend-lib/core/config/inserted-view-launcher.schemas';\n\nimport {\n areMandatoryParentRequirementsSatisfied,\n normalizeInsertedResourceViewContextResourceIdentifiers,\n} from './inserted-resource-view.frontend.utils';\n\n/**\n * WHICH SLOT of the host page this mount renders.\n *\n * A record page offers three distinct homes for a resource-owned view's entry\n * point, and each view chooses one via its authored\n * {@link InsertedViewLauncherPlacement}. The host mounts this component once per\n * slot; each mount renders only the launchers that asked for it.\n *\n * `CONTENT` additionally owns the segments that are not launchers at all —\n * inline charts and embedded composites — because those ARE content and belong\n * in the body flow after the record's fields.\n *\n * `ALL` renders everything in one block, for hosts that do not split the slots\n * (the semantic-operation fallback).\n */\nexport enum InsertedViewRenderSlot {\n /** Inside the record's action cluster, beside its own operations. */\n ACTION_BAR = 'action_bar',\n /** A ruled strip directly under the record header. */\n RECORD_NAVIGATION = 'record_navigation',\n /** The body flow: charts, embedded composites, and content-card launchers. */\n CONTENT = 'content',\n ALL = 'all',\n}\n\nexport interface ResourceLayout_InsertedViewsProps {\n resourceContext: FrontendResourceOperationContext;\n navigationZone: NavigationZone;\n navigationInitiator?: NavigationInitiatorContext;\n className?: string;\n chartHeight?: number;\n showCharts?: boolean;\n /**\n * Which slot this mount renders. Defaults to `ALL` so hosts that do not split\n * the slots keep rendering one combined block.\n */\n renderSlot?: InsertedViewRenderSlot;\n}\n\n/**\n * Composite refs currently being EMBEDDED inline up the tree (D1). A\n * non-addressable resource-owned composite is rendered in place by\n * `ResourceLayout_InsertedViews`; if that composite embeds its own host READ\n * (e.g. `task-workspace` → `EmbedHostResourceOperation(READ)`), the host read\n * renders another `ResourceLayout_InsertedViews` that would re-embed the SAME\n * composite → infinite recursion. Each inline embed adds its ref here; a\n * descendant InsertedViews whose composite ref is already active SKIPS the\n * re-embed. Mirrors `ActiveCustomViewOperationsContext` in `ResourceLayout_Read`.\n */\nconst ActiveEmbeddedCompositeRefsContext = createContext<ReadonlySet<string>>(new Set<string>());\n\ninterface ResourceOwnedLauncherView {\n kind: NavigationContentType.COMPOSITE_VIEW | NavigationContentType.EXECUTION_VIEW;\n ref: string;\n label: string;\n /** The resolved launcher icon, as a reference this component renders (#1828). */\n iconReference?: NavigationIconReference;\n urlPath: string;\n contextResourceIdentifiers?: Record<string, string>;\n requiredFeatures: unknown;\n /** Resolved presentation (placement / emphasis / label) for this launcher. */\n presentation: ReturnType<typeof resolveInsertedViewLauncherConfig>;\n}\n\ntype ResourceOwnedInsertedViewSegment =\n | {\n type: 'chart';\n ref: string;\n chartView: InsertedChartDeclaration;\n /**\n * Resolved display title (labelling pipeline: `views.chart.{translationRef}.title`).\n * Empty string only while the label bundle is still loading — the heading is then\n * omitted. A label that is not generated yet is its KEY PATH once settled (#1450):\n * labels are i18n-owned, never derived in code, and a missing one must look missing.\n */\n title: string;\n }\n | {\n type: 'launcher-group';\n views: ResourceOwnedLauncherView[];\n }\n | {\n /** D1: a non-addressable resource-owned composite embedded inline in place. */\n type: 'embedded-composite';\n ref: string;\n };\n\nexport function ResourceLayout_InsertedViews({\n resourceContext,\n navigationZone,\n navigationInitiator,\n className = '',\n chartHeight = 320,\n showCharts = true,\n renderSlot = InsertedViewRenderSlot.ALL,\n}: ResourceLayout_InsertedViewsProps): React.JSX.Element | null {\n const { registry } = useResourceRegistry();\n const activeEmbeddedCompositeRefs = useContext(ActiveEmbeddedCompositeRefsContext);\n const { navigate } = useNavigationController();\n const { renderIcon } = useIconRegistry();\n const frontendConfiguration = registry.resourceConfigurations[resourceContext.resourceType]?.frontendConfiguration;\n const compositeLabelKeys = useMemo(() => (\n (frontendConfiguration?.compositeViews ?? []).map((view) => (\n buildCompositeViewLabelKey(view.translationRef)\n ))\n ), [frontendConfiguration?.compositeViews]);\n const viewLabelKeys = useMemo(() => ([\n ...((frontendConfiguration?.chartViews ?? []).map((view) => (\n buildNavigationViewLabelKey({\n family: NavigationViewLabelFamily.CHART,\n translationRef: buildResourceViewTranslationRef(\n resourceContext.resourceType,\n view.ref,\n ),\n })\n ))),\n ...((frontendConfiguration?.executionViews ?? []).map((view) => (\n buildNavigationViewLabelKey({\n family: NavigationViewLabelFamily.EXECUTION,\n translationRef: buildResourceViewTranslationRef(\n resourceContext.resourceType,\n view.ref,\n ),\n })\n ))),\n ]), [\n frontendConfiguration?.chartViews,\n frontendConfiguration?.executionViews,\n resourceContext.resourceType,\n ]);\n const { tCompositeView, tResourceHeader, tResourceOperation, tView } = useI18n({\n keys: [...compositeLabelKeys, ...viewLabelKeys],\n });\n\n const contextResourceIdentifiers = useMemo(() => {\n return normalizeInsertedResourceViewContextResourceIdentifiers(resourceContext);\n }, [resourceContext]);\n\n /**\n * Resource-owned view declarations are the **single source of truth** for\n * which inserted views surface inside a given operation host:\n *\n * - `compositeView.operationLike` / `chartView.operationLike` (single op) —\n * the view surfaces inside the default (non-variant) instance of that\n * core operation.\n * - `executionView.surfaceInOperations` (list of `OperationKey`) — the\n * view surfaces inside every listed host, including specific operation\n * variants (`[operationId, variantKey]`).\n *\n * We resolve the current operation's identity into a serialized\n * `OperationKey` and a base-op shortcut, then filter each family directly\n * — no per-operation compiled view list is consulted.\n */\n const operationView = resourceContext.operation;\n const isCurrentDefaultOperationHost =\n operationView.isOperationDefault === true || !operationView.variantKey;\n const currentBaseOperation = String(operationView.operationIdentifier);\n /*\n * On a record's READ page the inserted views belong to the read body, after it: a composite's section\n * titles and a chart's title name groups there just as `DisplayLayout`'s legends do, so they speak in\n * the same EYEBROW voice (measured 2026-10-01 on the Wonder Todos todo: \"Supporting Tasks\" at 16px under\n * eyebrow-voiced \"CHECKLIST\"). On any other host the voice is whatever that host chose.\n */\n const inheritedLegendVoice = useSectionLegendVoice();\n const legendVoice = currentBaseOperation === CoreResourceOperation.READ ? TypographyVariant.EYEBROW : inheritedLegendVoice;\n const { getRecipe } = useUI();\n // A chart card's title takes its level from the outline it sits in: under a record page's `h1` it is an `h2`.\n // It was a hard-coded `h3`, which axe reported as a skipped level on the record read view (#3867).\n const ChartTitleTag = documentHeadingTag(useDocumentHeadingLevel());\n const currentSerializedOperationKey = useMemo(() => (\n isCurrentDefaultOperationHost\n ? currentBaseOperation\n : serializeSurfaceOperation([currentBaseOperation, String(operationView.variantKey)])\n ), [currentBaseOperation, isCurrentDefaultOperationHost, operationView.variantKey]);\n\n // Beyond the operation-host match, every family is additionally gated on\n // MANDATORY parent-context satisfiability: a view whose declared parent id is\n // absent from the host's context would fetch/anchor against the wrong scope\n // (see `areMandatoryParentRequirementsSatisfied`).\n const applicableCompositeViews = useMemo(() => (\n isCurrentDefaultOperationHost\n ? (frontendConfiguration?.compositeViews ?? []).filter(\n (view) => String(view.operationLike) === currentBaseOperation\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers),\n )\n : []\n ), [contextResourceIdentifiers, currentBaseOperation, frontendConfiguration?.compositeViews, isCurrentDefaultOperationHost]);\n\n // #4252: a chart is also gated on whether the backend's chart gate would answer this viewer. The host page being\n // readable does not settle it: a chart narrows its readers (`accessControl.roles`) and asks every resource it joins.\n const viewerMayReadChart = useViewerMayReadChartPredicate();\n const applicableChartViews = useMemo(() => (\n isCurrentDefaultOperationHost\n ? (frontendConfiguration?.chartViews ?? []).filter(\n // An EMBEDS_ONLY chart is placed by whoever embeds it, never by a host (InsertedChartSurfacing).\n (view) => isChartViewInsertedIntoOperationHost(view)\n && String(view.operationLike) === currentBaseOperation\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers)\n && viewerMayReadChart(view.chartDefinition),\n )\n : []\n ), [contextResourceIdentifiers, currentBaseOperation, frontendConfiguration?.chartViews, isCurrentDefaultOperationHost, viewerMayReadChart]);\n\n const applicableExecutionViews = useMemo(() => (\n (frontendConfiguration?.executionViews ?? []).filter((view) => (\n (view.surfaceInOperations ?? []).some(\n (op) => serializeSurfaceOperation(op) === currentSerializedOperationKey,\n )\n && areMandatoryParentRequirementsSatisfied(view.parentResourcesRequirements, contextResourceIdentifiers)\n ))\n ), [contextResourceIdentifiers, currentSerializedOperationKey, frontendConfiguration?.executionViews]);\n\n const insertedViewSegments = useMemo<ResourceOwnedInsertedViewSegment[]>(() => {\n if (\n applicableCompositeViews.length === 0\n && applicableChartViews.length === 0\n && applicableExecutionViews.length === 0\n ) {\n return [];\n }\n\n const resolutionContext: LauncherResolutionContext = {\n registry,\n contextResourceIdentifiers,\n views: {},\n tResourceHeader,\n tResourceOperation,\n tViewTitle: (viewRef, contentType) => resolveNavigationViewTitle({\n viewRef,\n contentType,\n tCompositeView,\n tView,\n }),\n t: (key) => key,\n // This context resolves resource-owned views only, never a settings row, so no section icon is ever asked for.\n settingsSectionIcon: () => undefined,\n // Nor its authored label.\n settingsSectionLabel: () => undefined,\n // Nor a settings row, so there is no section visibility to filter by.\n settingsSectionVisible: null,\n // These are the current resource's own views, already authorized by the page that hosts them: no role filter.\n // Its charts were filtered by the chart gate above (#4252), which the host page's authorization does not settle.\n viewerRoles: null,\n };\n\n const resolvedSegments: ResourceOwnedInsertedViewSegment[] = [];\n\n // Canonical rendering order — fixed by the framework now that there is\n // no author-controlled `additionalViews` list:\n // 1. composites (primary structured views)\n // 2. charts (at-a-glance metrics)\n // 3. executions (action runners)\n // Within each family, declaration iteration order is preserved: composites\n // and executions follow authored key order in the `ResourceCompositeViewsConfig`\n // / `ResourceExecutionViewsConfig` maps; charts follow the authored array\n // order in `chartViews`.\n\n for (const compositeView of applicableCompositeViews) {\n // D1: only an ADDRESSABLE composite gets a routing launcher (a\n // non-addressable one has no `urlPath`, so its launcher would no-op — the\n // dead-launcher bug). A non-addressable composite is EMBEDDED INLINE in\n // place instead, unless it is already being embedded up the tree (recursion\n // guard for composites that embed their own host READ).\n if (compositeView.isAddressable) {\n pushResourceOwnedLauncherView({\n resolvedSegments,\n resolutionContext,\n resourceType: resourceContext.resourceType,\n viewRef: compositeView.ref,\n operationIdentifier: operationView.operationIdentifier,\n familyLabel: 'composite',\n launcher: (compositeView as { launcher?: InsertedViewLauncherConfig }).launcher,\n });\n continue;\n }\n if (activeEmbeddedCompositeRefs.has(compositeView.ref)) {\n continue;\n }\n resolvedSegments.push({ type: 'embedded-composite', ref: compositeView.ref });\n }\n\n if (showCharts) {\n for (const chartView of applicableChartViews) {\n resolvedSegments.push({\n type: 'chart',\n ref: chartView.ref,\n chartView,\n title: tView(\n NavigationViewLabelFamily.CHART,\n buildResourceViewTranslationRef(resourceContext.resourceType, chartView.ref),\n 'title',\n ),\n });\n }\n }\n\n for (const executionView of applicableExecutionViews) {\n pushResourceOwnedLauncherView({\n resolvedSegments,\n resolutionContext,\n resourceType: resourceContext.resourceType,\n viewRef: executionView.ref,\n operationIdentifier: operationView.operationIdentifier,\n familyLabel: 'execution',\n launcher: (executionView as { launcher?: InsertedViewLauncherConfig }).launcher,\n });\n }\n\n return resolvedSegments;\n }, [\n activeEmbeddedCompositeRefs,\n applicableCompositeViews,\n applicableChartViews,\n applicableExecutionViews,\n contextResourceIdentifiers,\n operationView.operationIdentifier,\n registry,\n resourceContext.resourceType,\n showCharts,\n tCompositeView,\n tView,\n tResourceHeader,\n tResourceOperation,\n ]);\n\n const handleOpenView = useCallback((view: ResourceOwnedLauncherView) => {\n navigate({\n content: {\n contentType: view.kind,\n viewRef: view.ref,\n contextResourceIdentifiers: view.contextResourceIdentifiers,\n },\n initiator: {\n sourceZone: navigationZone,\n },\n urlPath: view.urlPath,\n });\n }, [navigate, navigationZone]);\n\n // Each launcher renders in the slot its own `placement` asked for; charts and\n // embedded composites are content and render only in the CONTENT slot. A\n // launcher group whose views all belong to other slots drops out entirely.\n const visibleSegments = useMemo(() => {\n if (renderSlot === InsertedViewRenderSlot.ALL) {\n return insertedViewSegments;\n }\n\n const slotForPlacement: Record<InsertedViewLauncherPlacement, InsertedViewRenderSlot> = {\n [InsertedViewLauncherPlacement.ACTION_BAR]: InsertedViewRenderSlot.ACTION_BAR,\n [InsertedViewLauncherPlacement.RECORD_NAVIGATION]: InsertedViewRenderSlot.RECORD_NAVIGATION,\n [InsertedViewLauncherPlacement.CONTENT_CARD]: InsertedViewRenderSlot.CONTENT,\n };\n\n return insertedViewSegments.flatMap((segment): ResourceOwnedInsertedViewSegment[] => {\n if (segment.type !== 'launcher-group') {\n return renderSlot === InsertedViewRenderSlot.CONTENT ? [segment] : [];\n }\n const views = segment.views.filter(\n (view) => slotForPlacement[view.presentation.placement] === renderSlot,\n );\n return views.length > 0 ? [{ ...segment, views }] : [];\n });\n }, [insertedViewSegments, renderSlot]);\n\n if (visibleSegments.length === 0) {\n return null;\n }\n\n return (\n <SectionLegendVoiceHost voice={legendVoice}>\n <div className={cn('space-y-section', className)} data-testid=\"resource-layout-inserted-views\">\n {visibleSegments.map((segment, segmentIndex) => (\n segment.type === 'embedded-composite'\n ? (\n // D1: render the non-addressable composite's BODY in place. The\n // provider marks this ref active so a nested InsertedViews (e.g. from\n // the composite's own embedded host READ) won't re-embed it.\n <ActiveEmbeddedCompositeRefsContext.Provider\n key={`embedded-composite:${segment.ref}:${segmentIndex}`}\n value={new Set<string>([...activeEmbeddedCompositeRefs, segment.ref])}\n >\n <EmbedResourceOwnedCompositeView\n resourceContext={resourceContext}\n viewRef={segment.ref}\n navigationZone={navigationZone}\n navigationInitiator={navigationInitiator}\n />\n </ActiveEmbeddedCompositeRefsContext.Provider>\n )\n : segment.type === 'chart'\n ? (\n <section\n key={`chart:${segment.ref}:${segmentIndex}`}\n className=\"rounded-lg border border-border bg-card p-field shadow-sm\"\n >\n {segment.title && (\n <ChartTitleTag className={cn('mb-element-sm', legendVoice ? getRecipe(UIBehavior.TYPOGRAPHY, legendVoice).base : 'text-sm font-medium text-foreground')}>\n {segment.title}\n </ChartTitleTag>\n )}\n <RequiredFeaturesGate requiredFeatures={segment.chartView.chartDefinition.requiredFeatures} presentation={RequiredFeaturesGatePresentation.TILE} lockedTileHeight={chartHeight}>\n <ChartView\n viewDefinition={segment.chartView}\n runtimeDescriptor={buildResolvedInsertedChartDescriptor({\n identity: buildResourceInsertedChartIdentity(resourceContext.resourceType, segment.chartView),\n chartView: segment.chartView,\n contextResourceIdentifiers,\n })}\n height={chartHeight}\n // Inserted chart tile on a detail page → degrade locally, no\n // page-level toast (per-widget error isolation).\n localErrorOnly\n />\n </RequiredFeaturesGate>\n </section>\n )\n : (\n /* Record-level secondary navigation: a quiet strip of routes into\n other views of THIS record, sitting under the record's identity\n rather than in a card of its own. A bordered card of OUTLINE\n buttons read as an actions panel — a peer of the record's content\n — which is why these launchers were previously mistaken for\n page-bottom controls. A bottom-ruled row of ghost items reads as\n navigation: same affordance vocabulary as the app's horizontal\n tabs, without claiming a selected state these routes do not have\n while the reader is on the record's own page. */\n /* Launcher presentation is per-slot chrome around the SAME buttons.\n ACTION_BAR contributes bare buttons into the record's action\n cluster (the host owns that row, so no wrapper here);\n RECORD_NAVIGATION is a ruled sub-navigation strip under the\n header; CONTENT_CARD keeps the standalone card in the body flow.\n TODO(i18n): name the RECORD_NAVIGATION landmark once a\n `RESOURCES_LAYOUTS_INSERTED_VIEWS` component label is registered and\n generated — an ungenerated key would render as its raw path, so it\n stays unnamed rather than mislabelled. */\n <LauncherSlotChrome\n key={`launcher-group:${segmentIndex}`}\n renderSlot={renderSlot}\n >\n {segment.views.map((view) => (\n <RequiredFeaturesGate key={`${view.kind}:${view.ref}`} requiredFeatures={view.requiredFeatures} presentation={RequiredFeaturesGatePresentation.CONTROL}>\n <Button\n data-testid={`inserted-view-launcher-${view.ref}`}\n type=\"button\"\n // In the record navigation strip a quiet launcher is a GHOST item, so the strip reads as\n // navigation (see the chrome note above); elsewhere it keeps the outlined look.\n variant={view.presentation.emphasized\n ? ButtonVariants_Variant.DEFAULT\n : renderSlot === InsertedViewRenderSlot.RECORD_NAVIGATION\n ? ButtonVariants_Variant.GHOST\n : ButtonVariants_Variant.OUTLINE}\n size={ButtonSize.SM}\n onClick={() => handleOpenView(view)}\n // An icon-only launcher must still announce itself.\n aria-label={view.presentation.showLabel ? undefined : view.label}\n title={view.presentation.showLabel && renderSlot !== InsertedViewRenderSlot.ACTION_BAR ? undefined : view.label}\n >\n {view.iconReference ? renderIcon(view.iconReference, { size: IconSize.SM }) : (\n view.kind === NavigationContentType.COMPOSITE_VIEW\n ? renderIcon(\n { category: IconCategory.COMPOSITE_VIEW, viewReference: view.ref },\n { size: IconSize.SM },\n )\n : renderIcon(\n { category: IconCategory.CUSTOM, customReference: `view-execution-${view.ref}` },\n { size: IconSize.SM },\n )\n )}\n {/* In the record header's action cluster the words yield to a narrow header (a split\n pane): the header puts the actions on its TITLE line, and a 200px labelled\n launcher is what pushed them off it (Wonder Todos, 2026-09-30). The words stay\n the accessible name and the tooltip; on a wide page they show. */}\n {view.presentation.showLabel && (\n <span className={renderSlot === InsertedViewRenderSlot.ACTION_BAR ? RESOURCE_HEADER_NARROW_SR_ONLY_CLASS : undefined}>\n {view.label}\n </span>\n )}\n </Button>\n </RequiredFeaturesGate>\n ))}\n </LauncherSlotChrome>\n )\n ))}\n </div>\n </SectionLegendVoiceHost>\n );\n}\n\n/**\n * Per-slot wrapper around a group of launcher buttons.\n *\n * The buttons are identical in every slot — only the chrome around them differs,\n * which is what keeps \"where does this view's entry point live\" a placement\n * decision rather than three divergent renderers.\n */\nfunction LauncherSlotChrome({\n renderSlot,\n children,\n}: {\n renderSlot: InsertedViewRenderSlot;\n children: React.ReactNode;\n}): React.JSX.Element {\n if (renderSlot === InsertedViewRenderSlot.ACTION_BAR) {\n // The host action cluster owns the row; contribute buttons only.\n return <>{children}</>;\n }\n\n if (renderSlot === InsertedViewRenderSlot.RECORD_NAVIGATION) {\n return (\n <nav className=\"-mt-element flex flex-wrap items-center gap-item-xs border-b border-border pb-element-sm\">\n {children}\n </nav>\n );\n }\n\n return (\n <section className=\"rounded-lg border border-border bg-card p-field shadow-sm\">\n <div className=\"flex flex-wrap gap-item-sm\">{children}</div>\n </section>\n );\n}\n\nfunction isResourceOwnedLauncherView(\n resolvedView: ResolvedNavigationTarget | null,\n): resolvedView is ResolvedNavigationTarget & {\n contentType: NavigationContentType.COMPOSITE_VIEW | NavigationContentType.EXECUTION_VIEW;\n viewRef: string;\n label: string;\n} {\n return resolvedView?.contentType === NavigationContentType.COMPOSITE_VIEW\n || resolvedView?.contentType === NavigationContentType.EXECUTION_VIEW;\n}\n\n/**\n * Resolve a resource-owned composite/execution view ref into a launcher entry\n * and append it to `resolvedSegments`, grouping adjacent launchers into a\n * single `launcher-group` segment. Charts are handled inline at the call site\n * because they render as standalone segments with no grouping semantics.\n */\nfunction pushResourceOwnedLauncherView(params: {\n resolvedSegments: ResourceOwnedInsertedViewSegment[];\n resolutionContext: LauncherResolutionContext;\n resourceType: string;\n viewRef: string;\n operationIdentifier: string | number | symbol;\n familyLabel: 'composite' | 'execution';\n launcher?: InsertedViewLauncherConfig;\n}): void {\n const {\n resolvedSegments,\n resolutionContext,\n resourceType,\n viewRef,\n operationIdentifier,\n familyLabel,\n launcher,\n } = params;\n const resolvedView = resolveItemRef(\n {\n kind: LauncherItemTargetKind.RESOURCE_VIEW,\n resourceType,\n viewRef,\n },\n resolutionContext,\n );\n if (!resolvedView) {\n throw buildInsertedViewsConfigurationError(\n `Operation \"${String(operationIdentifier)}\" on resource \"${resourceType}\" could not resolve resource-owned ${familyLabel} view \"${viewRef}\".`,\n );\n }\n\n if (!isResourceOwnedLauncherView(resolvedView)) {\n throw buildInsertedViewsConfigurationError(\n `Operation \"${String(operationIdentifier)}\" on resource \"${resourceType}\" resolved ${familyLabel} view \"${viewRef}\" into unsupported content type \"${resolvedView.contentType}\".`,\n );\n }\n\n const launcherView: ResourceOwnedLauncherView = {\n kind: resolvedView.contentType,\n ref: resolvedView.viewRef,\n label: resolvedView.label,\n iconReference: resolvedView.iconReference,\n urlPath: resolvedView.urlPath,\n contextResourceIdentifiers: resolvedView.contextResourceIdentifiers,\n requiredFeatures: resolvedView.requiredFeatures,\n presentation: resolveInsertedViewLauncherConfig(launcher),\n };\n\n const previousSegment = resolvedSegments[resolvedSegments.length - 1];\n if (previousSegment?.type === 'launcher-group') {\n previousSegment.views.push(launcherView);\n return;\n }\n\n resolvedSegments.push({\n type: 'launcher-group',\n views: [launcherView],\n });\n}\n\nfunction buildInsertedViewsConfigurationError(message: string): Error {\n return FrontendResourceUtils.buildConfigurationError(\n ErrorCustomMessageReference.CONFIGURATION,\n {\n component: 'ResourceLayout_InsertedViews',\n message,\n },\n );\n}\n\nexport default ResourceLayout_InsertedViews;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceLayout_List.d.ts","sourceRoot":"","sources":["../../../../src/components/resources/ResourceLayout_List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAejF,OAAO,EAOL,QAAQ,EAGT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,qBAAqB,EAOtB,MAAM,+DAA+D,CAAC;AAyEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAA;AAOvH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAA;AAI9F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"ResourceLayout_List.d.ts","sourceRoot":"","sources":["../../../../src/components/resources/ResourceLayout_List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAejF,OAAO,EAOL,QAAQ,EAGT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,qBAAqB,EAOtB,MAAM,+DAA+D,CAAC;AAyEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAA;AAOvH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAA;AAI9F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAQ3G,MAAM,WAAW,sCAAuC,SAAQ,wBAAwB;IACtF,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,kBAAkB,CAAC,EAAE,4BAA4B,CAAC;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,qBAAqB,CAAC;CACzC;AAWD,eAAO,MAAM,iCAAiC,GAAI,oIAQ/C,sCAAsC,KAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IA+jD/D,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,sCAAsC,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAqC1I"}
|
|
@@ -60,6 +60,7 @@ import { resolveResourceOperationPresetKey, resolveResourceOperationCustomView,
|
|
|
60
60
|
import { ResourceLayout_OperationsItems } from '../../components/resources/ResourceLayout_OperationsItems.js';
|
|
61
61
|
import { LoadingGate } from '../../core/loading/LoadingGate.js';
|
|
62
62
|
import { Skeleton } from '../../components/feedback/skeleton.js';
|
|
63
|
+
import { useViewerCollectionControls, useViewerSummaryFields, ViewerFieldReaderProvider } from '../../core/navigation/viewer-field-reader.js';
|
|
63
64
|
import { pickPreferredOperationForCoreSemanticAddressability } from '../../core/resources/resource-addressability.frontend.utils.js';
|
|
64
65
|
import { viewerMayPerformOperation } from '../../core/navigation/launcher-resolution.js';
|
|
65
66
|
import { useViewerEffectiveRolesInOrganization } from '../../core/navigation/launcher-runtime-availability.js';
|
|
@@ -331,7 +332,7 @@ export const ResourceLayoutPreset_List_Default = ({ resourceContext, navigationZ
|
|
|
331
332
|
// The transport context lets the parser exclude fields the transport already
|
|
332
333
|
// pins (primary-scope FK + selected-route URL parameters) and classify FK
|
|
333
334
|
// fields as reference selectors. See FilterFieldTransportContext.
|
|
334
|
-
const { sortFields, filterFields, searchEnabled, filtersEnabled } = useMemo(() => {
|
|
335
|
+
const { sortFields: declaredSortFields, filterFields: declaredFilterFields, searchEnabled, filtersEnabled } = useMemo(() => {
|
|
335
336
|
const listOp = operation;
|
|
336
337
|
const searchOp = availableOperations.search;
|
|
337
338
|
const sortFields = (listOp?.sortFields?.length ? listOp.sortFields : searchOp?.sortFields) ?? [];
|
|
@@ -353,6 +354,9 @@ export const ResourceLayoutPreset_List_Default = ({ resourceContext, navigationZ
|
|
|
353
354
|
const readerFilterFields = ResourceLayoutUtils.withoutPinnedFilterFields(filterFields, resourceContext.pinnedFilters);
|
|
354
355
|
return { sortFields, filterFields: readerFilterFields, searchEnabled, filtersEnabled };
|
|
355
356
|
}, [availableOperations.search, operation, registry, resourceConfig, contextualParameters, resourceContext.parentResourcesRequirements, resourceContext.pinnedFilters]);
|
|
357
|
+
// Without a field the viewer may not read (`.readableBy`, #4434): no sort key, no filter, no board column.
|
|
358
|
+
// And no authored preset that assigns one (#4459 F13).
|
|
359
|
+
const { sortFields, filterFields, presetFilters: viewerPresetFilters } = useViewerCollectionControls(resourceConfig, declaredSortFields, declaredFilterFields, presetFilters);
|
|
356
360
|
/*
|
|
357
361
|
* The CALENDAR and the TIMELINE (#2298). The displayed month is local state shared by both, so switching between them
|
|
358
362
|
* keeps the month. What it shows becomes a window on the date field(s) for the fetch (`displayWindows`), so the
|
|
@@ -412,9 +416,8 @@ export const ResourceLayoutPreset_List_Default = ({ resourceContext, navigationZ
|
|
|
412
416
|
return { quickFilterDef: undefined, panelFilterFields: filterFields };
|
|
413
417
|
return { quickFilterDef: def, panelFilterFields: filterFields.filter((f) => f !== def) };
|
|
414
418
|
}, [filterFields, quickFilterFieldName]);
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}, [resourceConfig]);
|
|
419
|
+
// Without a field the viewer may not read (`.readableBy`, #4434): no column, rather than a column of empty cells.
|
|
420
|
+
const summaryFields = useViewerSummaryFields(resourceConfig);
|
|
418
421
|
const errorLoadingLabel = useMemo(() => resolveComponentLabel({
|
|
419
422
|
tComponent,
|
|
420
423
|
componentType: FrontendComponentType.RESOURCES_LAYOUTS_LIST,
|
|
@@ -1164,7 +1167,7 @@ export const ResourceLayoutPreset_List_Default = ({ resourceContext, navigationZ
|
|
|
1164
1167
|
field: quickFilterDef,
|
|
1165
1168
|
value: filterValues[quickFilterDef.fieldName],
|
|
1166
1169
|
onChange: handleQuickFilterChange,
|
|
1167
|
-
} : undefined, presetFilters:
|
|
1170
|
+
} : undefined, presetFilters: viewerPresetFilters, search: inlineSearch.isVisible ? {
|
|
1168
1171
|
query: inlineSearch.query,
|
|
1169
1172
|
onChange: inlineSearch.handleChange,
|
|
1170
1173
|
onClear: inlineSearch.handleClear,
|
|
@@ -1249,6 +1252,10 @@ export function ResourceLayout_List({ preset, ...props }) {
|
|
|
1249
1252
|
// the spacing a parent puts between its children; a flex column that grows, so a destination declaring
|
|
1250
1253
|
// `zoneContentFillsHeight` still reaches a preset or custom view whose root fills it (`flex-1 min-h-0`).
|
|
1251
1254
|
// Inside an ordinary block parent `flex-1` does nothing.
|
|
1252
|
-
|
|
1255
|
+
//
|
|
1256
|
+
// The field reader is provided here too, for the organization the collection is addressed in (#4434 review F2): the
|
|
1257
|
+
// backend reads a field's roles in that organization, so a platform operator viewing another tenant's rows is judged
|
|
1258
|
+
// there, by the same address the toolbar's Create already reads (`createViewer`).
|
|
1259
|
+
return (_jsx(InPlaceOperationProvider, { resourceType: props.resourceContext.resourceType, children: _jsx(ViewerFieldReaderProvider, { organizationId: resolveActionSurfaceOrganizationId(props.resourceContext.contextResourceIdentifiers, undefined) ?? undefined, children: _jsx("div", { className: "flex min-h-0 flex-1 flex-col", [COLLECTION_SURFACE_ATTRIBUTE]: true, children: body }) }) }));
|
|
1253
1260
|
}
|
|
1254
1261
|
//# sourceMappingURL=ResourceLayout_List.js.map
|