@plumile/backoffice-react 0.1.105 → 0.1.107
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/lib/esm/_virtual/_rolldown/runtime.js +7 -0
- package/lib/esm/auth/AuthRefreshNotice.js +38 -0
- package/lib/esm/auth/AuthRefreshNotice.js.map +1 -0
- package/lib/esm/auth/TotpQrCode.js +28 -0
- package/lib/esm/auth/TotpQrCode.js.map +1 -0
- package/lib/esm/auth/authRefreshNotice.css.js +7 -0
- package/lib/esm/auth/authRefreshNotice.css.js.map +1 -0
- package/lib/esm/{AuthPanel-BaIRFGbX.js → auth/login/AuthPanel.js} +7 -7
- package/lib/esm/auth/login/AuthPanel.js.map +1 -0
- package/lib/esm/auth/login/EmailCapturePanel.js +50 -0
- package/lib/esm/auth/login/EmailCapturePanel.js.map +1 -0
- package/lib/esm/auth/login/LoginFlow.js +130 -0
- package/lib/esm/auth/login/LoginFlow.js.map +1 -0
- package/lib/esm/auth/login/MethodChooser.js +49 -0
- package/lib/esm/auth/login/MethodChooser.js.map +1 -0
- package/lib/esm/auth/login/MfaChallengeForm.js +80 -0
- package/lib/esm/auth/login/MfaChallengeForm.js.map +1 -0
- package/lib/esm/auth/login/OidcButtons.js +29 -0
- package/lib/esm/auth/login/OidcButtons.js.map +1 -0
- package/lib/esm/auth/login/PasskeyLoginForm.js +81 -0
- package/lib/esm/auth/login/PasskeyLoginForm.js.map +1 -0
- package/lib/esm/auth/login/PasswordLoginPanel.js +37 -0
- package/lib/esm/auth/login/PasswordLoginPanel.js.map +1 -0
- package/lib/esm/auth/login/loginPage.css.js +7 -0
- package/lib/esm/auth/login/loginPage.css.js.map +1 -0
- package/lib/esm/auth/login/synchronizeAuthStatusQuery.js +10 -0
- package/lib/esm/auth/login/synchronizeAuthStatusQuery.js.map +1 -0
- package/lib/esm/{AcceptInvitationScreen-VaWXQPHp.js → auth/pages/AcceptInvitationScreen.js} +11 -11
- package/lib/esm/auth/pages/AcceptInvitationScreen.js.map +1 -0
- package/lib/esm/{PasswordResetCompleteScreen-Cgg96DPo.js → auth/pages/PasswordResetCompleteScreen.js} +10 -10
- package/lib/esm/auth/pages/PasswordResetCompleteScreen.js.map +1 -0
- package/lib/esm/{PasswordResetRequestScreen-I1nFvGLd.js → auth/pages/PasswordResetRequestScreen.js} +10 -10
- package/lib/esm/auth/pages/PasswordResetRequestScreen.js.map +1 -0
- package/lib/esm/{VerifyEmailScreen-Br5KyHjg.js → auth/pages/VerifyEmailScreen.js} +7 -7
- package/lib/esm/auth/pages/VerifyEmailScreen.js.map +1 -0
- package/lib/esm/{BackofficeEntityActionFormDialog-DrZxuytz.js → components/backoffice/actions/BackofficeEntityActionFormDialog.js} +123 -121
- package/lib/esm/{BackofficeEntityActionFormDialog-DrZxuytz.js.map → components/backoffice/actions/BackofficeEntityActionFormDialog.js.map} +1 -1
- package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js +26 -0
- package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js.map +1 -0
- package/lib/esm/{backofficeEntityActionFormDialog.css-DJgEKwaA.js → components/backoffice/actions/backofficeEntityActionFormDialog.css.js} +3 -2
- package/lib/esm/{backofficeEntityActionFormDialog.css-DJgEKwaA.js.map → components/backoffice/actions/backofficeEntityActionFormDialog.css.js.map} +1 -1
- package/lib/esm/{toastViewAction-DQYlcGOL.js → components/backoffice/actions/toastViewAction.js} +2 -2
- package/lib/esm/{toastViewAction-DQYlcGOL.js.map → components/backoffice/actions/toastViewAction.js.map} +1 -1
- package/lib/esm/{buildDataTableColumns-DdmF-EYq.js → components/backoffice/columns/buildDataTableColumns.js} +18 -18
- package/lib/esm/{buildDataTableColumns-DdmF-EYq.js.map → components/backoffice/columns/buildDataTableColumns.js.map} +1 -1
- package/lib/esm/components/backoffice/detail/BackofficeAuditMetadataPanel.js +31 -0
- package/lib/esm/components/backoffice/detail/BackofficeAuditMetadataPanel.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js +22 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js +40 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailField.js +30 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailField.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.css.js +7 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js +24 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailLayout.js +20 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailLayout.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js +18 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js +56 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationList.js +11 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationList.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js +123 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailSection.js +36 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js +18 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntityRefLink.js +17 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntityRefLink.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js +72 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEnumLabel.js +11 -0
- package/lib/esm/components/backoffice/detail/BackofficeEnumLabel.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js +35 -0
- package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js +37 -0
- package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js +36 -0
- package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js +22 -0
- package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js +43 -0
- package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeScopeStack.js +28 -0
- package/lib/esm/components/backoffice/detail/BackofficeScopeStack.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js +27 -0
- package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js +37 -0
- package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js +84 -0
- package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeAuditMetadataPanel.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeAuditMetadataPanel.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailField.css.js +15 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailField.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailTaggedValue.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailTaggedValue.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeKpiStrip.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeKpiStrip.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeLifecycleTimelineSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeLifecycleTimelineSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficePayloadInspectorSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficePayloadInspectorSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeReferenceValue.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeReferenceValue.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeScopeStack.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeScopeStack.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeStatusMetaBadge.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeStatusMetaBadge.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/createBackofficeEntityLinkProps.js +21 -0
- package/lib/esm/components/backoffice/detail/createBackofficeEntityLinkProps.js.map +1 -0
- package/lib/esm/components/backoffice/detail/detailPayloadUtils.js +17 -0
- package/lib/esm/components/backoffice/detail/detailPayloadUtils.js.map +1 -0
- package/lib/esm/{BackofficeErrorBoundary-BwRVSDHU.js → components/backoffice/errors/BackofficeErrorBoundary.js} +2 -2
- package/lib/esm/{BackofficeErrorBoundary-BwRVSDHU.js.map → components/backoffice/errors/BackofficeErrorBoundary.js.map} +1 -1
- package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js +46 -0
- package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js.map +1 -0
- package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js +67 -0
- package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js.map +1 -0
- package/lib/esm/components/backoffice/filters/EntityFilterValue.js +46 -0
- package/lib/esm/components/backoffice/filters/EntityFilterValue.js.map +1 -0
- package/lib/esm/components/backoffice/filters/EntityIdFilterField.js +65 -0
- package/lib/esm/components/backoffice/filters/EntityIdFilterField.js.map +1 -0
- package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js +7 -0
- package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js.map +1 -0
- package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js +7 -0
- package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js.map +1 -0
- package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js +7 -0
- package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js.map +1 -0
- package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js +83 -0
- package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js.map +1 -0
- package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js +7 -0
- package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js.map +1 -0
- package/lib/esm/{BackofficePermissionsContext-C2bdxy2z.js → components/backoffice/layout/BackofficePermissionsContext.js} +2 -2
- package/lib/esm/{BackofficePermissionsContext-C2bdxy2z.js.map → components/backoffice/layout/BackofficePermissionsContext.js.map} +1 -1
- package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js +7 -0
- package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeRightPageLayout.js +10 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeRightPageLayout.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js +69 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortal.js +12 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortal.js.map +1 -0
- package/lib/esm/{BackofficeTopbarPortalContext-Da5XFatM.js → components/backoffice/layout/breadcrumb/BackofficeTopbarPortalContext.js} +2 -2
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortalContext.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/assertValidBreadcrumb.js +16 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/assertValidBreadcrumb.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js +7 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js.map +1 -0
- package/lib/esm/{buildBreadcrumbs-C5St167Y.js → components/backoffice/layout/breadcrumb/buildBreadcrumbs.js} +7 -3
- package/lib/esm/components/backoffice/layout/breadcrumb/buildBreadcrumbs.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/types.js +0 -0
- package/lib/esm/components/backoffice/layout/buildSidebarSections.js +301 -0
- package/lib/esm/components/backoffice/layout/buildSidebarSections.js.map +1 -0
- package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js +18 -0
- package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js.map +1 -0
- package/lib/esm/{sidebarUtils-BgCBLJLv.js → components/backoffice/layout/sidebarUtils.js} +32 -22
- package/lib/esm/{sidebarUtils-BgCBLJLv.js.map → components/backoffice/layout/sidebarUtils.js.map} +1 -1
- package/lib/esm/components/backoffice/list/RowFlagsCell.css.js +7 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.css.js.map +1 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.js +37 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.js.map +1 -0
- package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js +33 -0
- package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js.map +1 -0
- package/lib/esm/components/backoffice/lists/backofficeListToolbar.css.js +13 -0
- package/lib/esm/components/backoffice/lists/backofficeListToolbar.css.js.map +1 -0
- package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js +31 -0
- package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js.map +1 -0
- package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js +7 -0
- package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js +117 -0
- package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js +7 -0
- package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js +27 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerRowBase.js +23 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerRowBase.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js +28 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/types.js +0 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityIdRef.js +35 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityIdRef.js.map +1 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityLink.js +30 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityLink.js.map +1 -0
- package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js +65 -0
- package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js.map +1 -0
- package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js +7 -0
- package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js.map +1 -0
- package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js +7 -0
- package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentBoundary.js +24 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentBoundary.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentError.js +27 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentError.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js +47 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js +25 -0
- package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeRoutePendingBar.js +12 -0
- package/lib/esm/components/backoffice/routing/BackofficeRoutePendingBar.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentError.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentError.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeRouteFallback.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeRouteFallback.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeRoutePendingBar.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeRoutePendingBar.css.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js +12 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js +506 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeListFilterContext.js +40 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeListFilterContext.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js +24 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js +7 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js +7 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js +41 -0
- package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedCurrency.js +17 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedCurrency.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedNumber.js +17 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedNumber.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js +12 -0
- package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js.map +1 -0
- package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js +16 -0
- package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js.map +1 -0
- package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js +7 -0
- package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js +41 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js +48 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js +63 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js +35 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/parseToolJson.js +13 -0
- package/lib/esm/components/backoffice/tools/parseToolJson.js.map +1 -0
- package/lib/esm/filters/filterHelpers.js +26 -0
- package/lib/esm/filters/filterHelpers.js.map +1 -0
- package/lib/esm/hooks/useAuth.js +444 -0
- package/lib/esm/hooks/useAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeAuth.js +89 -0
- package/lib/esm/hooks/useBackofficeAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js +39 -0
- package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js.map +1 -0
- package/lib/esm/hooks/useBackofficeListRefetch.js +50 -0
- package/lib/esm/hooks/useBackofficeListRefetch.js.map +1 -0
- package/lib/esm/{useBackofficeListUrlState-Ca6d7uIN.js → hooks/useBackofficeListUrlState.js} +2 -2
- package/lib/esm/hooks/useBackofficeListUrlState.js.map +1 -0
- package/lib/esm/hooks/useBackofficeLoadMore.js +18 -0
- package/lib/esm/hooks/useBackofficeLoadMore.js.map +1 -0
- package/lib/esm/hooks/useBackofficeSessionAuth.js +33 -0
- package/lib/esm/hooks/useBackofficeSessionAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeSidebarPins.js +89 -0
- package/lib/esm/hooks/useBackofficeSidebarPins.js.map +1 -0
- package/lib/esm/hooks/useConditionalSubscription.js +63 -0
- package/lib/esm/hooks/useConditionalSubscription.js.map +1 -0
- package/lib/esm/hooks/useCopyToClipboard.js +31 -0
- package/lib/esm/hooks/useCopyToClipboard.js.map +1 -0
- package/lib/esm/hooks/useInfiniteConnection.js +95 -0
- package/lib/esm/hooks/useInfiniteConnection.js.map +1 -0
- package/lib/esm/hooks/useRefetchNeededReload.js +23 -0
- package/lib/esm/hooks/useRefetchNeededReload.js.map +1 -0
- package/lib/esm/hooks/useSidebarGroupCollapse.js +70 -0
- package/lib/esm/hooks/useSidebarGroupCollapse.js.map +1 -0
- package/lib/esm/i18n/createI18nInstance.js +68 -0
- package/lib/esm/i18n/createI18nInstance.js.map +1 -0
- package/lib/esm/i18n/locales/en/backofficeReact.js +436 -0
- package/lib/esm/i18n/locales/en/backofficeReact.js.map +1 -0
- package/lib/esm/i18n/locales/fr/backofficeReact.js +439 -0
- package/lib/esm/i18n/locales/fr/backofficeReact.js.map +1 -0
- package/lib/esm/i18n/mergeResourceLanguages.js +22 -0
- package/lib/esm/i18n/mergeResourceLanguages.js.map +1 -0
- package/lib/esm/i18n/resources.js +23 -0
- package/lib/esm/i18n/resources.js.map +1 -0
- package/lib/esm/i18n/useBackofficeFormats.js +23 -0
- package/lib/esm/i18n/useBackofficeFormats.js.map +1 -0
- package/lib/esm/i18n/useBackofficeReactTranslation.js +9 -0
- package/lib/esm/i18n/useBackofficeReactTranslation.js.map +1 -0
- package/lib/esm/i18n/useReviewStatusLabel.js +19 -0
- package/lib/esm/i18n/useReviewStatusLabel.js.map +1 -0
- package/lib/esm/index.js +73 -0
- package/lib/esm/modules/base64.js +21 -0
- package/lib/esm/modules/base64.js.map +1 -0
- package/lib/esm/modules/formatFileSize.js +28 -0
- package/lib/esm/modules/formatFileSize.js.map +1 -0
- package/lib/esm/modules/sharedSchemaTypes.js +0 -0
- package/lib/esm/modules/webauthn.js +33 -0
- package/lib/esm/modules/webauthn.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +15 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayLikeToArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +15 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/defineProperty.js +20 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/defineProperty.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/iterableToArray.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/iterableToArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/nonIterableSpread.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/nonIterableSpread.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectSpread2.js +33 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectSpread2.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +19 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toConsumableArray.js +18 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toConsumableArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPrimitive.js +22 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPrimitive.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPropertyKey.js +17 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPropertyKey.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/typeof.js +18 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/typeof.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +19 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js.map +1 -0
- package/lib/esm/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +80 -0
- package/lib/esm/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js.map +1 -0
- package/lib/esm/node_modules/fbjs/lib/areEqual.js +42 -0
- package/lib/esm/node_modules/fbjs/lib/areEqual.js.map +1 -0
- package/lib/esm/node_modules/invariant/browser.js +30 -0
- package/lib/esm/node_modules/invariant/browser.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/index.js +11 -0
- package/lib/esm/node_modules/relay-test-utils/index.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayMockPayloadGenerator.js +288 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayMockPayloadGenerator.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayModernMockEnvironment.js +183 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayModernMockEnvironment.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayResolverTestUtils.js +19 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayResolverTestUtils.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/index.js +21 -0
- package/lib/esm/node_modules/relay-test-utils/lib/index.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/unwrapContainer.js +16 -0
- package/lib/esm/node_modules/relay-test-utils/lib/unwrapContainer.js.map +1 -0
- package/lib/esm/pages/BackofficeAcceptInvitationPage.js +24 -0
- package/lib/esm/pages/BackofficeAcceptInvitationPage.js.map +1 -0
- package/lib/esm/pages/BackofficeDashboardPage.helpers.js +18 -0
- package/lib/esm/pages/BackofficeDashboardPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeDashboardPage.js +266 -0
- package/lib/esm/pages/BackofficeDashboardPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +18 -0
- package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.helpers.js +14 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.js +474 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js +414 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js → pages/BackofficeEntityDetailUnknownPageRedirect.js} +3 -3
- package/lib/esm/pages/BackofficeEntityDetailUnknownPageRedirect.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityListPage.helpers.js +37 -0
- package/lib/esm/pages/BackofficeEntityListPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityListPage.js +381 -0
- package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -0
- package/lib/esm/{BackofficeHubPage-DOePQ8Fc.js → pages/BackofficeHubPage.js} +29 -28
- package/lib/esm/pages/BackofficeHubPage.js.map +1 -0
- package/lib/esm/pages/BackofficeLayoutPage.js +273 -0
- package/lib/esm/pages/BackofficeLayoutPage.js.map +1 -0
- package/lib/esm/pages/BackofficeLoginPage.js +47 -0
- package/lib/esm/pages/BackofficeLoginPage.js.map +1 -0
- package/lib/esm/{BackofficePasswordResetCompletePage-Cit5sdDm.js → pages/BackofficePasswordResetCompletePage.js} +16 -15
- package/lib/esm/pages/BackofficePasswordResetCompletePage.js.map +1 -0
- package/lib/esm/{BackofficePasswordResetRequestPage-B_TurHev.js → pages/BackofficePasswordResetRequestPage.js} +12 -12
- package/lib/esm/pages/BackofficePasswordResetRequestPage.js.map +1 -0
- package/lib/esm/{BackofficeVerifyEmailPage-DQbFIob1.js → pages/BackofficeVerifyEmailPage.js} +16 -15
- package/lib/esm/pages/BackofficeVerifyEmailPage.js.map +1 -0
- package/lib/esm/pages/backofficeDashboardPage.css.js +7 -0
- package/lib/esm/pages/backofficeDashboardPage.css.js.map +1 -0
- package/lib/esm/pages/backofficeEntityDetailPage.css.js +7 -0
- package/lib/esm/pages/backofficeEntityDetailPage.css.js.map +1 -0
- package/lib/esm/pages/backofficeEntityListPage.css.js +7 -0
- package/lib/esm/pages/backofficeEntityListPage.css.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardMetricGroup.js +25 -0
- package/lib/esm/pages/dashboard/DashboardMetricGroup.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardPanel.js +15 -0
- package/lib/esm/pages/dashboard/DashboardPanel.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardQuickActions.js +27 -0
- package/lib/esm/pages/dashboard/DashboardQuickActions.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardStatusList.js +28 -0
- package/lib/esm/pages/dashboard/DashboardStatusList.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardMetricGroup.css.js +8 -0
- package/lib/esm/pages/dashboard/dashboardMetricGroup.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardPanel.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardPanel.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardQuickActions.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardQuickActions.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardStatusList.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardStatusList.css.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailLayoutContext-C5G-PH28.js → pages/detail/BackofficeEntityDetailLayoutContext.js} +2 -2
- package/lib/esm/pages/detail/BackofficeEntityDetailLayoutContext.js.map +1 -0
- package/lib/esm/pages/detail/buildTabsItems.js +10 -0
- package/lib/esm/pages/detail/buildTabsItems.js.map +1 -0
- package/lib/esm/{pageResolution-CUaTq4Ql.js → pages/detail/pageResolution.js} +2 -2
- package/lib/esm/pages/detail/pageResolution.js.map +1 -0
- package/lib/esm/provider/BackofficeConfigContext.js +12 -0
- package/lib/esm/provider/BackofficeConfigContext.js.map +1 -0
- package/lib/esm/provider/BackofficeProvider.js +171 -0
- package/lib/esm/provider/BackofficeProvider.js.map +1 -0
- package/lib/esm/provider/entityRegistry.js +95 -0
- package/lib/esm/provider/entityRegistry.js.map +1 -0
- package/lib/esm/provider/lazyValue.js +14 -0
- package/lib/esm/provider/lazyValue.js.map +1 -0
- package/lib/esm/provider/types.js +0 -0
- package/lib/esm/provider/useBackofficeEntityLoader.js +141 -0
- package/lib/esm/provider/useBackofficeEntityLoader.js.map +1 -0
- package/lib/esm/{useBackofficeLazyValue-CW9xfRzQ.js → provider/useBackofficeLazyValue.js} +15 -7
- package/lib/esm/provider/useBackofficeLazyValue.js.map +1 -0
- package/lib/esm/relay/RelayProvider.js +13 -0
- package/lib/esm/relay/RelayProvider.js.map +1 -0
- package/lib/esm/relay/connectionUtils.js +19 -0
- package/lib/esm/relay/connectionUtils.js.map +1 -0
- package/lib/esm/relay/createInlineDataReader.js +2 -0
- package/lib/esm/relay/createInlineReader.js +7 -0
- package/lib/esm/relay/createInlineReader.js.map +1 -0
- package/lib/esm/relay/envHelpers.js +55 -0
- package/lib/esm/relay/envHelpers.js.map +1 -0
- package/lib/esm/{environment-DQfVyWHJ.js → relay/environment.js} +90 -100
- package/lib/esm/relay/environment.js.map +1 -0
- package/lib/esm/relay/identityView.js +6 -0
- package/lib/esm/relay/identityView.js.map +1 -0
- package/lib/esm/{mutationResult-C2Vb_vPt.js → relay/mutationResult.js} +2 -2
- package/lib/esm/relay/mutationResult.js.map +1 -0
- package/lib/esm/{useRelayEnvironment-vQ86aW-n.js → relay/useRelayEnvironment.js} +2 -2
- package/lib/esm/relay/useRelayEnvironment.js.map +1 -0
- package/lib/esm/{backofficeAuthPaths-2hHNn8D3.js → router/backofficeAuthPaths.js} +2 -2
- package/lib/esm/router/backofficeAuthPaths.js.map +1 -0
- package/lib/esm/router/createBackofficeRoutes.js +322 -0
- package/lib/esm/router/createBackofficeRoutes.js.map +1 -0
- package/lib/esm/storybook/relay/RelayStory.css.js +7 -0
- package/lib/esm/storybook/relay/RelayStory.css.js.map +1 -0
- package/lib/esm/storybook/relay/RelayStory.js +86 -0
- package/lib/esm/storybook/relay/RelayStory.js.map +1 -0
- package/lib/esm/storybook/relay/mockResolvers.js +99 -0
- package/lib/esm/storybook/relay/mockResolvers.js.map +1 -0
- package/lib/esm/storybook/relay/relay-test-utils.d.js +0 -0
- package/lib/esm/style.css +1 -1
- package/lib/esm/style.js +1 -0
- package/lib/esm/subscriptions/useCursorResumableSubscription.js +29 -0
- package/lib/esm/subscriptions/useCursorResumableSubscription.js.map +1 -0
- package/lib/types/auth/AuthRefreshNotice.d.ts +14 -0
- package/lib/types/auth/AuthRefreshNotice.d.ts.map +1 -0
- package/lib/types/auth/TotpQrCode.d.ts +17 -0
- package/lib/types/auth/TotpQrCode.d.ts.map +1 -0
- package/lib/types/auth/authRefreshNotice.css.d.ts +4 -0
- package/lib/types/auth/authRefreshNotice.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeAuditMetadataPanel.d.ts +19 -0
- package/lib/types/components/backoffice/detail/BackofficeAuditMetadataPanel.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEntityRefLink.d.ts +15 -0
- package/lib/types/components/backoffice/detail/BackofficeEntityRefLink.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts +34 -0
- package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEnumLabel.d.ts +9 -0
- package/lib/types/components/backoffice/detail/BackofficeEnumLabel.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeKpiStrip.d.ts +17 -0
- package/lib/types/components/backoffice/detail/BackofficeKpiStrip.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeLifecycleTimelineSection.d.ts +20 -0
- package/lib/types/components/backoffice/detail/BackofficeLifecycleTimelineSection.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficePayloadInspectorSection.d.ts +15 -0
- package/lib/types/components/backoffice/detail/BackofficePayloadInspectorSection.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeReferenceValue.d.ts +9 -0
- package/lib/types/components/backoffice/detail/BackofficeReferenceValue.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts +17 -0
- package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeScopeStack.d.ts +13 -0
- package/lib/types/components/backoffice/detail/BackofficeScopeStack.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeStatusMetaBadge.d.ts +13 -0
- package/lib/types/components/backoffice/detail/BackofficeStatusMetaBadge.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeTokenUsageBreakdown.d.ts +18 -0
- package/lib/types/components/backoffice/detail/BackofficeTokenUsageBreakdown.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts +31 -0
- package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeAuditMetadataPanel.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeAuditMetadataPanel.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeEntitySummaryHeader.css.d.ts +12 -0
- package/lib/types/components/backoffice/detail/backofficeEntitySummaryHeader.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeKpiStrip.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeKpiStrip.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeLifecycleTimelineSection.css.d.ts +3 -0
- package/lib/types/components/backoffice/detail/backofficeLifecycleTimelineSection.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficePayloadInspectorSection.css.d.ts +4 -0
- package/lib/types/components/backoffice/detail/backofficePayloadInspectorSection.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeReferenceValue.css.d.ts +3 -0
- package/lib/types/components/backoffice/detail/backofficeReferenceValue.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeRelationsSummaryGrid.css.d.ts +6 -0
- package/lib/types/components/backoffice/detail/backofficeRelationsSummaryGrid.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeScopeStack.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeScopeStack.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeStatusMetaBadge.css.d.ts +2 -0
- package/lib/types/components/backoffice/detail/backofficeStatusMetaBadge.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeUsageCostBreakdown.css.d.ts +7 -0
- package/lib/types/components/backoffice/detail/backofficeUsageCostBreakdown.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/createBackofficeEntityLinkProps.d.ts +30 -0
- package/lib/types/components/backoffice/detail/createBackofficeEntityLinkProps.d.ts.map +1 -0
- package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.stories.d.ts +12 -0
- package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/filters/EntityIdFilterField.stories.d.ts +12 -0
- package/lib/types/components/backoffice/filters/EntityIdFilterField.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/overview/BackofficeOverviewLayout.stories.d.ts +11 -0
- package/lib/types/components/backoffice/overview/BackofficeOverviewLayout.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/refs/BackofficeEntityLink.d.ts +15 -0
- package/lib/types/components/backoffice/refs/BackofficeEntityLink.d.ts.map +1 -0
- package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.stories.d.ts +11 -0
- package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedCurrency.d.ts +9 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedCurrency.d.ts.map +1 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedNumber.d.ts +9 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedNumber.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsDocPanel.d.ts +11 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsDocPanel.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsErrorFallback.d.ts +8 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsErrorFallback.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts +15 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsQueryBoundary.d.ts +7 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsQueryBoundary.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts +8 -0
- package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsForm.css.d.ts +7 -0
- package/lib/types/components/backoffice/tools/backofficeToolsForm.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsJsonForm.css.d.ts +4 -0
- package/lib/types/components/backoffice/tools/backofficeToolsJsonForm.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/parseToolJson.d.ts +2 -0
- package/lib/types/components/backoffice/tools/parseToolJson.d.ts.map +1 -0
- package/lib/types/hooks/useInfiniteConnection.d.ts +37 -0
- package/lib/types/hooks/useInfiniteConnection.d.ts.map +1 -0
- package/lib/types/i18n/resources.d.ts +54 -0
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/lib/types/index.d.ts +28 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/relay/connectionUtils.d.ts +10 -0
- package/lib/types/relay/connectionUtils.d.ts.map +1 -0
- package/lib/types/storybook/relay/RelayStory.css.d.ts +5 -0
- package/lib/types/storybook/relay/RelayStory.css.d.ts.map +1 -0
- package/lib/types/storybook/relay/RelayStory.d.ts +35 -0
- package/lib/types/storybook/relay/RelayStory.d.ts.map +1 -0
- package/lib/types/storybook/relay/mockResolvers.d.ts +3 -0
- package/lib/types/storybook/relay/mockResolvers.d.ts.map +1 -0
- package/lib/types/subscriptions/useCursorResumableSubscription.d.ts +16 -0
- package/lib/types/subscriptions/useCursorResumableSubscription.d.ts.map +1 -0
- package/package.json +24 -9
- package/lib/esm/AcceptInvitationScreen-VaWXQPHp.js.map +0 -1
- package/lib/esm/AuthPanel-BaIRFGbX.js.map +0 -1
- package/lib/esm/BackofficeAcceptInvitationPage-tpfBfhT9.js +0 -24
- package/lib/esm/BackofficeAcceptInvitationPage-tpfBfhT9.js.map +0 -1
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js +0 -329
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js.map +0 -1
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js +0 -98
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailLayoutContext-C5G-PH28.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailLayoutPage-BSgGBzSL.js +0 -18
- package/lib/esm/BackofficeEntityDetailLayoutPage-BSgGBzSL.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailPage-LB1uEJVM.js +0 -1061
- package/lib/esm/BackofficeEntityDetailPage-LB1uEJVM.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js.map +0 -1
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js +0 -432
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js.map +0 -1
- package/lib/esm/BackofficeHubPage-DOePQ8Fc.js.map +0 -1
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js +0 -82
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js.map +0 -1
- package/lib/esm/BackofficeLayoutPage-Bq2bKkYF.js +0 -783
- package/lib/esm/BackofficeLayoutPage-Bq2bKkYF.js.map +0 -1
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js +0 -109
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js.map +0 -1
- package/lib/esm/BackofficeLoginPage-DIlcOueK.js +0 -46
- package/lib/esm/BackofficeLoginPage-DIlcOueK.js.map +0 -1
- package/lib/esm/BackofficePasswordResetCompletePage-Cit5sdDm.js.map +0 -1
- package/lib/esm/BackofficePasswordResetRequestPage-B_TurHev.js.map +0 -1
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js +0 -83
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js.map +0 -1
- package/lib/esm/BackofficeTopbarPortalContext-Da5XFatM.js.map +0 -1
- package/lib/esm/BackofficeVerifyEmailPage-DQbFIob1.js.map +0 -1
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js +0 -340
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js.map +0 -1
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js +0 -670
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js.map +0 -1
- package/lib/esm/PasswordResetCompleteScreen-Cgg96DPo.js.map +0 -1
- package/lib/esm/PasswordResetRequestScreen-I1nFvGLd.js.map +0 -1
- package/lib/esm/VerifyEmailScreen-Br5KyHjg.js.map +0 -1
- package/lib/esm/backoffice-react.js +0 -1925
- package/lib/esm/backoffice-react.js.map +0 -1
- package/lib/esm/backofficeAuthPaths-2hHNn8D3.js.map +0 -1
- package/lib/esm/buildBreadcrumbs-C5St167Y.js.map +0 -1
- package/lib/esm/environment-DQfVyWHJ.js.map +0 -1
- package/lib/esm/loginPage.css-B7Io_DuU.js +0 -6
- package/lib/esm/loginPage.css-B7Io_DuU.js.map +0 -1
- package/lib/esm/mutationResult-C2Vb_vPt.js.map +0 -1
- package/lib/esm/pageResolution-CUaTq4Ql.js.map +0 -1
- package/lib/esm/synchronizeAuthStatusQuery-DNJR5MfH.js +0 -323
- package/lib/esm/synchronizeAuthStatusQuery-DNJR5MfH.js.map +0 -1
- package/lib/esm/useAuth-CWf8ZspF.js +0 -548
- package/lib/esm/useAuth-CWf8ZspF.js.map +0 -1
- package/lib/esm/useBackofficeAuth-Da7FPNys.js +0 -89
- package/lib/esm/useBackofficeAuth-Da7FPNys.js.map +0 -1
- package/lib/esm/useBackofficeLazyValue-CW9xfRzQ.js.map +0 -1
- package/lib/esm/useBackofficeListUrlState-Ca6d7uIN.js.map +0 -1
- package/lib/esm/useBackofficeReactTranslation-Btt58EIo.js +0 -18
- package/lib/esm/useBackofficeReactTranslation-Btt58EIo.js.map +0 -1
- package/lib/esm/useRelayEnvironment-vQ86aW-n.js.map +0 -1
|
@@ -1,1061 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./useRelayEnvironment-vQ86aW-n.js";
|
|
2
|
-
import { r as t, t as n } from "./useBackofficeReactTranslation-Btt58EIo.js";
|
|
3
|
-
import { t as r } from "./BackofficeErrorBoundary-BwRVSDHU.js";
|
|
4
|
-
import { n as i } from "./EntityIdPickerDialog-BSn0v3bv.js";
|
|
5
|
-
import { a, n as o, r as s, t as c } from "./BackofficeDetailPayload-CZcsDv2w.js";
|
|
6
|
-
import { i as l } from "./mutationResult-C2Vb_vPt.js";
|
|
7
|
-
import { t as u } from "./pageResolution-CUaTq4Ql.js";
|
|
8
|
-
import { t as d } from "./buildDataTableColumns-DdmF-EYq.js";
|
|
9
|
-
import { t as f } from "./BackofficeRightPageLayout-CfNkrMvH.js";
|
|
10
|
-
import { n as p, t as m } from "./toastViewAction-DQYlcGOL.js";
|
|
11
|
-
import { n as h } from "./buildBreadcrumbs-C5St167Y.js";
|
|
12
|
-
import { n as g } from "./BackofficeEntityDetailLayoutContext-C5G-PH28.js";
|
|
13
|
-
import { i as _, n as v, r as y, t as b } from "./LazyBackofficeEntityActionFormDialog-oRd_WHAK.js";
|
|
14
|
-
import { Fragment as x, Suspense as S, createElement as C, useCallback as w, useContext as T, useMemo as E, useState as D } from "react";
|
|
15
|
-
import { useTranslation as O } from "react-i18next";
|
|
16
|
-
import { HttpRedirect as k, Link as A, RoutingContext as j } from "@plumile/router";
|
|
17
|
-
import { BackofficeEmptyState as M, BackofficeKeyValueList as N, BackofficePageHeader as ee, BackofficeRelationsMenu as te, BackofficeTableSkeleton as P, BackofficeTabs as ne, Button as re, ChatCheckSvg as F, DataTable as ie, DetailPageTemplate as ae, FormattedDate as oe, HighlightCode as se, InlineBanner as ce, KeyOffSvg as I, KeySvg as le, LazyBackofficeJsonViewer as ue, LazyMarkdownRenderer as L, LinkButton as de, LockOpenSvg as R, LockSvg as z, RobotCheckSvg as B, RobotXSvg as V, RocketOffSvg as H, RocketSvg as U, SettingsCheckSvg as W, SettingsXSvg as G, ShieldLockSvg as K, ShieldOffSvg as fe, Tag as q, XBadgeSvg as pe, cx as me, useToast as J } from "@plumile/ui";
|
|
18
|
-
import * as he from "react-relay";
|
|
19
|
-
import { commitMutation as ge, useFragment as _e, usePreloadedQuery as ve } from "react-relay";
|
|
20
|
-
import { Fragment as ye, jsx as Y, jsxs as X } from "react/jsx-runtime";
|
|
21
|
-
import { BACKOFFICE_DATE_TIME_OPTIONS as be, BACKOFFICE_LIST_REFETCH_POLICY as xe, BACKOFFICE_RELATED_TAB_PAGE_SIZE as Se } from "@plumile/backoffice-core/constants.js";
|
|
22
|
-
import { buildBackofficeFallbackListHref as Ce, buildBackofficeListHref as we, buildBackofficeListLink as Te } from "@plumile/backoffice-core/state/buildListHref.js";
|
|
23
|
-
import { setWhereValue as Ee } from "@plumile/backoffice-core/filters/where.js";
|
|
24
|
-
//#region src/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.tsx
|
|
25
|
-
var De = ({ node: e, render: t, notFound: r }) => {
|
|
26
|
-
let { t: i } = n(), a = r ?? i("detail.notFound");
|
|
27
|
-
return e == null ? /* @__PURE__ */ Y(M, { title: a }) : t(e) ?? /* @__PURE__ */ Y(M, { title: a });
|
|
28
|
-
}, Oe = "txvbqb9ip txvbqbcp txvbqbao7", ke = "_1lzrtns0 txvbqb9ip txvbqbcp", Ae = "_1lzrtns1", je = ({ tone: e, icon: t, label: n }) => {
|
|
29
|
-
let r = t != null, i = null;
|
|
30
|
-
return r && (i = /* @__PURE__ */ Y("span", {
|
|
31
|
-
className: ke,
|
|
32
|
-
children: t
|
|
33
|
-
})), /* @__PURE__ */ Y(q, {
|
|
34
|
-
tone: e,
|
|
35
|
-
children: /* @__PURE__ */ X("span", {
|
|
36
|
-
className: Oe,
|
|
37
|
-
children: [i, /* @__PURE__ */ Y("span", {
|
|
38
|
-
className: Ae,
|
|
39
|
-
children: n
|
|
40
|
-
})]
|
|
41
|
-
})
|
|
42
|
-
});
|
|
43
|
-
}, Me = "txvbqb9jg txvbqbcp txvbqbao7 txvbqbajy", Ne = "txvbqb9jg txvbqbcp txvbqbany", Pe = ({ tag: e, value: t }) => /* @__PURE__ */ X("span", {
|
|
44
|
-
className: Me,
|
|
45
|
-
children: [e != null && /* @__PURE__ */ Y(q, {
|
|
46
|
-
tone: e.tone,
|
|
47
|
-
children: e.label
|
|
48
|
-
}), /* @__PURE__ */ Y("span", {
|
|
49
|
-
className: Ne,
|
|
50
|
-
children: t
|
|
51
|
-
})]
|
|
52
|
-
}), Fe = "txvbqb9ip txvbqbai7 txvbqbaop", Ie = "txvbqb9ip txvbqbai7 txvbqbao7 txvbqblb7 txvbqb1ry", Le = "txvbqb1cp txvbqb1qg txvbqbwp txvbqbv45", Re = "txvbqb9ip txvbqbai7 txvbqbany", ze = "txvbqbal7 txvbqb8y txvbqbva3", Be = "txvbqbamp", Ve = "txvbqb8y", He = ({ title: e, description: t, items: r }) => {
|
|
53
|
-
let { t: i } = n();
|
|
54
|
-
return r.length === 0 ? null : /* @__PURE__ */ Y(s, {
|
|
55
|
-
title: e,
|
|
56
|
-
description: t,
|
|
57
|
-
children: /* @__PURE__ */ Y("div", {
|
|
58
|
-
className: Fe,
|
|
59
|
-
children: r.map((e, t) => {
|
|
60
|
-
let n = i("common.notAvailable");
|
|
61
|
-
return e.details != null && (n = o(e.details)), /* @__PURE__ */ X("div", {
|
|
62
|
-
className: me(Ie, Le),
|
|
63
|
-
children: [/* @__PURE__ */ X("div", {
|
|
64
|
-
className: Re,
|
|
65
|
-
children: [/* @__PURE__ */ Y("span", {
|
|
66
|
-
className: ze,
|
|
67
|
-
children: e.code
|
|
68
|
-
}), /* @__PURE__ */ Y("span", {
|
|
69
|
-
className: Be,
|
|
70
|
-
children: e.message
|
|
71
|
-
})]
|
|
72
|
-
}), /* @__PURE__ */ Y("div", {
|
|
73
|
-
className: Ve,
|
|
74
|
-
children: /* @__PURE__ */ Y(L, { content: n })
|
|
75
|
-
})]
|
|
76
|
-
}, `${e.code}-${t}`);
|
|
77
|
-
})
|
|
78
|
-
})
|
|
79
|
-
});
|
|
80
|
-
}, { useLazyLoadQuery: Ue, usePaginationFragment: We } = he, Ge = () => {
|
|
81
|
-
let { t: e } = n();
|
|
82
|
-
return /* @__PURE__ */ Y(P, {
|
|
83
|
-
rows: 6,
|
|
84
|
-
ariaLabel: e("common.loading")
|
|
85
|
-
});
|
|
86
|
-
}, Ke = ({ title: e, config: t, entities: r, relation: i, value: a }) => {
|
|
87
|
-
let { t: o } = O(), { t: s } = n(), c = t.list, l = t.listDefaults ?? c.defaultState ?? {
|
|
88
|
-
where: null,
|
|
89
|
-
sort: null
|
|
90
|
-
}, [u, f] = D({
|
|
91
|
-
where: l.where,
|
|
92
|
-
sort: l.sort ?? null
|
|
93
|
-
}), p = E(() => a == null || a.trim() === "" ? null : Ee(u.where, i.whereKey, a, i.path), [
|
|
94
|
-
i.path,
|
|
95
|
-
i.whereKey,
|
|
96
|
-
u.where,
|
|
97
|
-
a
|
|
98
|
-
]), m = p ?? u.where, h = u.sort ?? l.sort, g = E(() => ({
|
|
99
|
-
where: m,
|
|
100
|
-
sort: h,
|
|
101
|
-
count: Se,
|
|
102
|
-
cursor: null
|
|
103
|
-
}), [m, h]), b = E(() => c.buildQueryVariables(g), [c, g]), x = Ue(c.query, b, { fetchPolicy: "store-or-network" }), { data: S, loadNext: C, hasNext: T, isLoadingNext: k, refetch: A } = We(c.fragment, x), j = c.getConnection(S), M = E(() => j.edges.map((e) => c.toRow(e.node)), [j.edges, c]), N = E(() => d(c.columns, {
|
|
104
|
-
tApp: o,
|
|
105
|
-
t: s,
|
|
106
|
-
resolveEntityHref: (e, t) => {
|
|
107
|
-
let n = r[e];
|
|
108
|
-
return n == null ? null : n.routes.detail(t);
|
|
109
|
-
}
|
|
110
|
-
}), [
|
|
111
|
-
r,
|
|
112
|
-
c.columns,
|
|
113
|
-
s,
|
|
114
|
-
o
|
|
115
|
-
]), ee = w((e) => c.getRowId(e), [c]), { onRefresh: te } = y({
|
|
116
|
-
refetch: A,
|
|
117
|
-
variables: g,
|
|
118
|
-
defaults: E(() => ({
|
|
119
|
-
where: p ?? l.where,
|
|
120
|
-
sort: l.sort,
|
|
121
|
-
count: Se,
|
|
122
|
-
cursor: null
|
|
123
|
-
}), [
|
|
124
|
-
l.sort,
|
|
125
|
-
l.where,
|
|
126
|
-
p
|
|
127
|
-
]),
|
|
128
|
-
fetchPolicy: xe,
|
|
129
|
-
buildQueryVariables: c.buildQueryVariables
|
|
130
|
-
}), P = _({
|
|
131
|
-
hasNext: T,
|
|
132
|
-
isLoadingNext: k,
|
|
133
|
-
loadNext: C,
|
|
134
|
-
count: Se
|
|
135
|
-
});
|
|
136
|
-
return /* @__PURE__ */ Y(v, {
|
|
137
|
-
config: t,
|
|
138
|
-
state: u,
|
|
139
|
-
pushState: (e) => {
|
|
140
|
-
f(e);
|
|
141
|
-
},
|
|
142
|
-
header: { title: e },
|
|
143
|
-
rows: M,
|
|
144
|
-
columns: N,
|
|
145
|
-
getRowId: ee,
|
|
146
|
-
hasNextPage: T,
|
|
147
|
-
isLoadingMore: k,
|
|
148
|
-
onLoadMore: P,
|
|
149
|
-
onRefresh: te,
|
|
150
|
-
totalCount: j.totalCount ?? null,
|
|
151
|
-
variant: "embedded"
|
|
152
|
-
});
|
|
153
|
-
}, qe = ({ title: e, relation: r, value: a }) => {
|
|
154
|
-
let { t: o } = n(), { entities: s } = t(), c = i(E(() => [r.target], [r.target]));
|
|
155
|
-
if (c.status === "loading") return /* @__PURE__ */ Y(P, {
|
|
156
|
-
rows: 6,
|
|
157
|
-
ariaLabel: o("common.loading")
|
|
158
|
-
});
|
|
159
|
-
if (c.status === "error") return /* @__PURE__ */ Y(ce, {
|
|
160
|
-
tone: "warning",
|
|
161
|
-
title: o("relations.unavailable.title"),
|
|
162
|
-
children: o("relations.unavailable.description")
|
|
163
|
-
});
|
|
164
|
-
let l = c.modules[r.target]?.config;
|
|
165
|
-
return l == null || l.list.kind === "records" ? null : /* @__PURE__ */ Y(Ke, {
|
|
166
|
-
title: e,
|
|
167
|
-
config: l,
|
|
168
|
-
entities: s,
|
|
169
|
-
relation: r,
|
|
170
|
-
value: a
|
|
171
|
-
});
|
|
172
|
-
}, Je = ({ title: e, relation: t, value: n }) => /* @__PURE__ */ Y(r, {
|
|
173
|
-
fallback: () => /* @__PURE__ */ Y(Ge, {}),
|
|
174
|
-
children: /* @__PURE__ */ Y(S, {
|
|
175
|
-
fallback: /* @__PURE__ */ Y(Ge, {}),
|
|
176
|
-
children: /* @__PURE__ */ Y(qe, {
|
|
177
|
-
title: e,
|
|
178
|
-
relation: t,
|
|
179
|
-
value: n
|
|
180
|
-
})
|
|
181
|
-
})
|
|
182
|
-
}), Ye = "txvbqb9ip txvbqbcp txvbqbdp7 txvbqbao7 txvbqbajy txvbqbk5y", Xe = "txvbqb9ip txvbqbai7 txvbqbaog", Ze = "txvbqb9ip txvbqbcp txvbqbao7 txvbqbajy", Qe = "txvbqb9ip txvbqbai7 txvbqbao7";
|
|
183
|
-
//#endregion
|
|
184
|
-
//#region src/i18n/useBackofficeFormats.ts
|
|
185
|
-
function $e() {
|
|
186
|
-
let { t: e } = n();
|
|
187
|
-
function t(t) {
|
|
188
|
-
return e("format.number", { value: t });
|
|
189
|
-
}
|
|
190
|
-
function r(t) {
|
|
191
|
-
return e("format.currency", { value: t });
|
|
192
|
-
}
|
|
193
|
-
function i(t) {
|
|
194
|
-
return e("format.percent", { value: t });
|
|
195
|
-
}
|
|
196
|
-
return {
|
|
197
|
-
formatNumber: t,
|
|
198
|
-
formatCurrency: r,
|
|
199
|
-
formatPercent: i
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region src/pages/detail/buildTabsItems.ts
|
|
204
|
-
var et = (e) => e.pages.map((t) => ({
|
|
205
|
-
id: t.id,
|
|
206
|
-
label: t.label(e.tApp),
|
|
207
|
-
to: e.detailPageHref(e.id, t.id)
|
|
208
|
-
})), Z = (e, t) => e(t), tt = (e) => typeof e == "object" && !!e && !Array.isArray(e), nt = (e) => {
|
|
209
|
-
if (!tt(e)) return null;
|
|
210
|
-
for (let t of Object.values(e)) if (tt(t) && ("status" in t || "result" in t)) return t;
|
|
211
|
-
return null;
|
|
212
|
-
}, rt = (e) => e.kind === "route", it = (e) => e.kind === "mutation", at = (e) => e.kind === "formMutation", Q = (e, t) => typeof e == "function" ? e(t) : e ?? null, ot = (e) => {
|
|
213
|
-
if (e == null) return null;
|
|
214
|
-
let t = e.trim();
|
|
215
|
-
return t === "" ? null : t;
|
|
216
|
-
}, $ = (e) => e == null ? !0 : typeof e == "string" ? e.trim() === "" : !1, st = (e, t) => typeof e == "function" ? e(t) : e, ct = (e, t, n) => {
|
|
217
|
-
switch (e) {
|
|
218
|
-
case "yesNo": return t ? {
|
|
219
|
-
tone: "success",
|
|
220
|
-
label: n("common.boolean.yes")
|
|
221
|
-
} : {
|
|
222
|
-
tone: "neutral",
|
|
223
|
-
label: n("common.boolean.no")
|
|
224
|
-
};
|
|
225
|
-
case "capability": return t ? {
|
|
226
|
-
tone: "success",
|
|
227
|
-
label: n("flags.capability.allowed"),
|
|
228
|
-
iconName: "shield-lock"
|
|
229
|
-
} : {
|
|
230
|
-
tone: "neutral",
|
|
231
|
-
label: n("flags.capability.denied"),
|
|
232
|
-
iconName: "shield-off"
|
|
233
|
-
};
|
|
234
|
-
case "enabled": return t ? {
|
|
235
|
-
tone: "success",
|
|
236
|
-
label: n("flags.enabled.enabled"),
|
|
237
|
-
iconName: "settings-check"
|
|
238
|
-
} : {
|
|
239
|
-
tone: "neutral",
|
|
240
|
-
label: n("flags.enabled.disabled"),
|
|
241
|
-
iconName: "settings-x"
|
|
242
|
-
};
|
|
243
|
-
case "failure": return t ? {
|
|
244
|
-
tone: "danger",
|
|
245
|
-
label: n("flags.failure.failed"),
|
|
246
|
-
iconName: "x-badge"
|
|
247
|
-
} : {
|
|
248
|
-
tone: "success",
|
|
249
|
-
label: n("flags.failure.ok"),
|
|
250
|
-
iconName: "chat-check"
|
|
251
|
-
};
|
|
252
|
-
case "encrypted": return t ? {
|
|
253
|
-
tone: "info",
|
|
254
|
-
label: n("flags.encrypted.encrypted"),
|
|
255
|
-
iconName: "key"
|
|
256
|
-
} : {
|
|
257
|
-
tone: "neutral",
|
|
258
|
-
label: n("flags.encrypted.notEncrypted"),
|
|
259
|
-
iconName: "key-off"
|
|
260
|
-
};
|
|
261
|
-
case "locked": return t ? {
|
|
262
|
-
tone: "warning",
|
|
263
|
-
label: n("flags.locked.locked"),
|
|
264
|
-
iconName: "lock"
|
|
265
|
-
} : {
|
|
266
|
-
tone: "success",
|
|
267
|
-
label: n("flags.locked.unlocked"),
|
|
268
|
-
iconName: "lock-open"
|
|
269
|
-
};
|
|
270
|
-
case "default": return t ? {
|
|
271
|
-
tone: "info",
|
|
272
|
-
label: n("flags.default.default")
|
|
273
|
-
} : {
|
|
274
|
-
tone: "neutral",
|
|
275
|
-
label: n("flags.default.notDefault")
|
|
276
|
-
};
|
|
277
|
-
case "agentManaged": return t ? {
|
|
278
|
-
tone: "info",
|
|
279
|
-
label: n("flags.agentManaged.agentManaged"),
|
|
280
|
-
iconName: "robot-check"
|
|
281
|
-
} : {
|
|
282
|
-
tone: "neutral",
|
|
283
|
-
label: n("flags.agentManaged.userManaged"),
|
|
284
|
-
iconName: "robot-x"
|
|
285
|
-
};
|
|
286
|
-
case "deployedProduction": return t ? {
|
|
287
|
-
tone: "success",
|
|
288
|
-
label: n("flags.deployedProduction.deployed"),
|
|
289
|
-
iconName: "rocket"
|
|
290
|
-
} : {
|
|
291
|
-
tone: "neutral",
|
|
292
|
-
label: n("flags.deployedProduction.notDeployed"),
|
|
293
|
-
iconName: "rocket-off"
|
|
294
|
-
};
|
|
295
|
-
case "forced": return t ? {
|
|
296
|
-
tone: "warning",
|
|
297
|
-
label: n("flags.forced.forced")
|
|
298
|
-
} : {
|
|
299
|
-
tone: "neutral",
|
|
300
|
-
label: n("flags.forced.normal")
|
|
301
|
-
};
|
|
302
|
-
default: throw Error(`Unsupported flag variant: ${String(e)}`);
|
|
303
|
-
}
|
|
304
|
-
}, lt = (e, t) => {
|
|
305
|
-
let { tApp: n, t: r, resolveEntityHref: i, renderLink: a } = t, o = r("common.notAvailable");
|
|
306
|
-
if (e.type === "text") {
|
|
307
|
-
let t = Q(e.value, n);
|
|
308
|
-
return $(t) ? o : t;
|
|
309
|
-
}
|
|
310
|
-
if (e.type === "entityRef") {
|
|
311
|
-
let { id: t } = e;
|
|
312
|
-
if (t == null || t.trim() === "") return o;
|
|
313
|
-
let r = Q(e.label, n), s = r != null && String(r).trim() !== "" ? r : null;
|
|
314
|
-
if (s == null) return o;
|
|
315
|
-
let c = i?.(e.entity, t) ?? null;
|
|
316
|
-
return c == null ? s : a(c, s);
|
|
317
|
-
}
|
|
318
|
-
let { href: s } = e;
|
|
319
|
-
if (s == null || s.trim() === "") return o;
|
|
320
|
-
let c = Q(e.label, n);
|
|
321
|
-
return $(c) ? o : a(s, c);
|
|
322
|
-
}, ut = (e, t, n) => {
|
|
323
|
-
let { tApp: r, t: i, resolveEntityHref: a, renderDate: o, renderLink: s } = n, c = i("common.notAvailable");
|
|
324
|
-
if (e.type === "dateTime") return o(e.value(t), c);
|
|
325
|
-
if (e.type === "entityRef") {
|
|
326
|
-
let n = e.id(t);
|
|
327
|
-
if (n == null || n.trim() === "") return c;
|
|
328
|
-
let i = Q(e.value?.(t), r), o = i != null && String(i).trim() !== "" ? i : null;
|
|
329
|
-
if (o == null) return c;
|
|
330
|
-
let l = a?.(e.entity, n) ?? null;
|
|
331
|
-
return l == null ? o : s(l, o);
|
|
332
|
-
}
|
|
333
|
-
if (e.type === "link") {
|
|
334
|
-
let n = e.href(t), i = Q(e.value(t), r);
|
|
335
|
-
return n == null || n.trim() === "" || $(i) ? c : s(n, i);
|
|
336
|
-
}
|
|
337
|
-
let l = Q(e.value(t), r);
|
|
338
|
-
return $(l) ? c : l;
|
|
339
|
-
}, dt = (e, t, n, r) => {
|
|
340
|
-
if (e.type === "badgeRow") {
|
|
341
|
-
let i = e.items(t).map((e) => {
|
|
342
|
-
let t = Q(e.label, n), r = t == null ? "" : String(t);
|
|
343
|
-
return {
|
|
344
|
-
...e,
|
|
345
|
-
label: r
|
|
346
|
-
};
|
|
347
|
-
});
|
|
348
|
-
return i.length === 0 ? void 0 : r.renderBadgeRow(i);
|
|
349
|
-
}
|
|
350
|
-
let i = Q(e.value(t), n), a = i == null ? "" : String(i);
|
|
351
|
-
if (a.trim() === "") return;
|
|
352
|
-
let o = st(e.tone, t);
|
|
353
|
-
return r.renderTag(o, a);
|
|
354
|
-
}, ft = (e, t, n) => {
|
|
355
|
-
let { tApp: r, t: i, resolveEntityHref: a, formatNumber: o, formatCurrency: s, formatPercent: c, relationEntityListRoutes: l, resolveRelationItem: u, setWhereValue: d, renderTag: f, renderBadgeRow: p, renderDate: m, renderFlagTag: h, renderLink: g, renderTaggedValue: _, wrapCustomNode: v } = n, y = [], b = [], x = [], S = i("common.notAvailable");
|
|
356
|
-
return e.forEach((e, n) => {
|
|
357
|
-
let C = `${e.type}-${n}`;
|
|
358
|
-
switch (e.type) {
|
|
359
|
-
case "text": {
|
|
360
|
-
let n = Q(e.value(t), r);
|
|
361
|
-
y.push({
|
|
362
|
-
id: C,
|
|
363
|
-
label: Z(e.label, r),
|
|
364
|
-
size: e.size,
|
|
365
|
-
value: n,
|
|
366
|
-
copyValue: e.copyValue?.(t) ?? void 0,
|
|
367
|
-
fullWidth: e.fullWidth
|
|
368
|
-
});
|
|
369
|
-
break;
|
|
370
|
-
}
|
|
371
|
-
case "badge": {
|
|
372
|
-
let n = Q(e.value(t), r), i = n == null ? "" : String(n), a = st(e.tone, t);
|
|
373
|
-
y.push({
|
|
374
|
-
id: C,
|
|
375
|
-
label: Z(e.label, r),
|
|
376
|
-
size: e.size,
|
|
377
|
-
value: i.trim() === "" ? null : f(a, i)
|
|
378
|
-
});
|
|
379
|
-
break;
|
|
380
|
-
}
|
|
381
|
-
case "badgeRow": {
|
|
382
|
-
let n = e.items(t).map((e) => {
|
|
383
|
-
let t = Q(e.label, r), n = t == null ? "" : String(t);
|
|
384
|
-
return {
|
|
385
|
-
...e,
|
|
386
|
-
label: n
|
|
387
|
-
};
|
|
388
|
-
});
|
|
389
|
-
y.push({
|
|
390
|
-
id: C,
|
|
391
|
-
label: Z(e.label, r),
|
|
392
|
-
size: e.size,
|
|
393
|
-
value: n.length > 0 ? p(n) : null,
|
|
394
|
-
fullWidth: e.fullWidth
|
|
395
|
-
});
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
case "dateTime":
|
|
399
|
-
y.push({
|
|
400
|
-
id: C,
|
|
401
|
-
label: Z(e.label, r),
|
|
402
|
-
size: e.size,
|
|
403
|
-
value: m(e.value(t), S)
|
|
404
|
-
});
|
|
405
|
-
break;
|
|
406
|
-
case "number": {
|
|
407
|
-
let n = e.value(t), i = null;
|
|
408
|
-
n != null && (i = e.format === "currency" ? s(n) : e.format === "percent" ? c(n) : o(n)), y.push({
|
|
409
|
-
id: C,
|
|
410
|
-
label: Z(e.label, r),
|
|
411
|
-
size: e.size,
|
|
412
|
-
value: i
|
|
413
|
-
});
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
case "flag": {
|
|
417
|
-
let n = e.value(t);
|
|
418
|
-
y.push({
|
|
419
|
-
id: C,
|
|
420
|
-
label: Z(e.label, r),
|
|
421
|
-
size: e.size,
|
|
422
|
-
value: n == null ? null : h(ct(e.variant, n, i))
|
|
423
|
-
});
|
|
424
|
-
break;
|
|
425
|
-
}
|
|
426
|
-
case "entityRef": {
|
|
427
|
-
let n = e.id(t), i = null;
|
|
428
|
-
if (n != null && n.trim() !== "") {
|
|
429
|
-
let r = e.value?.(t), o = r != null && r.trim() !== "" ? r : null, s = a?.(e.entity, n) ?? null;
|
|
430
|
-
o != null && (i = s == null ? o : g(s, o));
|
|
431
|
-
}
|
|
432
|
-
y.push({
|
|
433
|
-
id: C,
|
|
434
|
-
label: Z(e.label, r),
|
|
435
|
-
size: e.size,
|
|
436
|
-
value: i ?? S
|
|
437
|
-
});
|
|
438
|
-
break;
|
|
439
|
-
}
|
|
440
|
-
case "link": {
|
|
441
|
-
let n = e.href(t), i = e.value(t);
|
|
442
|
-
y.push({
|
|
443
|
-
id: C,
|
|
444
|
-
label: Z(e.label, r),
|
|
445
|
-
size: e.size,
|
|
446
|
-
value: n != null && n.trim() !== "" && !$(i) ? g(n, i) : null
|
|
447
|
-
});
|
|
448
|
-
break;
|
|
449
|
-
}
|
|
450
|
-
case "taggedValue": {
|
|
451
|
-
let n = e.tag(t), o = lt(e.value(t), {
|
|
452
|
-
tApp: r,
|
|
453
|
-
t: i,
|
|
454
|
-
resolveEntityHref: a,
|
|
455
|
-
renderLink: g
|
|
456
|
-
}), s = n == null ? null : {
|
|
457
|
-
...n,
|
|
458
|
-
label: (() => {
|
|
459
|
-
let e = Q(n.label, r);
|
|
460
|
-
return e == null ? "" : String(e);
|
|
461
|
-
})()
|
|
462
|
-
};
|
|
463
|
-
y.push({
|
|
464
|
-
id: C,
|
|
465
|
-
label: Z(e.label, r),
|
|
466
|
-
size: e.size,
|
|
467
|
-
value: s != null || o != null ? _(s, o) : null,
|
|
468
|
-
fullWidth: e.fullWidth
|
|
469
|
-
});
|
|
470
|
-
break;
|
|
471
|
-
}
|
|
472
|
-
case "relation": {
|
|
473
|
-
let n = ot(e.value(t));
|
|
474
|
-
if (n == null) break;
|
|
475
|
-
let i = l[e.relation.target];
|
|
476
|
-
if (i == null) break;
|
|
477
|
-
let a = d(null, e.relation.whereKey, n, e.relation.path);
|
|
478
|
-
if (a == null) break;
|
|
479
|
-
b.push(u({
|
|
480
|
-
id: C,
|
|
481
|
-
label: Z(e.label, r),
|
|
482
|
-
count: e.count?.(t) ?? null,
|
|
483
|
-
relation: e.relation,
|
|
484
|
-
listRoute: i,
|
|
485
|
-
value: n,
|
|
486
|
-
where: a
|
|
487
|
-
}));
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
case "custom": {
|
|
491
|
-
let n = e.render(t);
|
|
492
|
-
if (n == null) break;
|
|
493
|
-
if (e.label != null) {
|
|
494
|
-
y.push({
|
|
495
|
-
id: C,
|
|
496
|
-
label: Z(e.label, r),
|
|
497
|
-
size: e.size,
|
|
498
|
-
value: n,
|
|
499
|
-
fullWidth: e.fullWidth
|
|
500
|
-
});
|
|
501
|
-
break;
|
|
502
|
-
}
|
|
503
|
-
x.push(v(C, n));
|
|
504
|
-
break;
|
|
505
|
-
}
|
|
506
|
-
default: break;
|
|
507
|
-
}
|
|
508
|
-
}), {
|
|
509
|
-
items: y,
|
|
510
|
-
relationItems: b,
|
|
511
|
-
customNodes: x
|
|
512
|
-
};
|
|
513
|
-
}, pt = (e, t, n) => {
|
|
514
|
-
let { tApp: r, t: i, resolveEntityHref: a, renderLink: o, renderDate: s, renderTag: c, renderBadgeRow: l } = n, u = e.titleValue?.(t, r) ?? Z(e.title, r), d = u.trim() === "" ? Z(e.title, r) : u, f;
|
|
515
|
-
if (e.subtitleItems != null && e.subtitleItems.length > 0) {
|
|
516
|
-
let { subtitleItems: n } = e, s = e.subtitleSeparator ?? " / ", c = [];
|
|
517
|
-
n.forEach((e, l) => {
|
|
518
|
-
c.push(C("span", { key: e.id }, lt(e.value(t), {
|
|
519
|
-
tApp: r,
|
|
520
|
-
t: i,
|
|
521
|
-
resolveEntityHref: a,
|
|
522
|
-
renderLink: o
|
|
523
|
-
}))), l < n.length - 1 && c.push(C("span", { key: `${e.id}-sep` }, s));
|
|
524
|
-
}), f = C("span", null, ...c);
|
|
525
|
-
} else {
|
|
526
|
-
let n = e.subtitleValue?.(t, r) ?? (e.subtitle == null ? null : Z(e.subtitle, r));
|
|
527
|
-
f = n != null && n.trim() !== "" ? n : void 0;
|
|
528
|
-
}
|
|
529
|
-
let p = [];
|
|
530
|
-
e.badges?.forEach((e, n) => {
|
|
531
|
-
let i = Z(e.label, r), a = Q(e.value(t), r), o = a == null ? "" : String(a);
|
|
532
|
-
o.trim() !== "" && (p.push(c(st(e.tone, t), `${i}: ${o}`)), typeof p[p.length - 1] == "object" && (p[p.length - 1] = C(x, { key: `${i}-${n}` }, p[p.length - 1])));
|
|
533
|
-
});
|
|
534
|
-
let m = e.status == null ? void 0 : dt(e.status, t, r, {
|
|
535
|
-
renderBadgeRow: l,
|
|
536
|
-
renderTag: c
|
|
537
|
-
}), h = e.meta?.map((e, n) => {
|
|
538
|
-
let c = Z(e.label, r);
|
|
539
|
-
return {
|
|
540
|
-
id: `${c}-${n}`,
|
|
541
|
-
label: c,
|
|
542
|
-
value: ut(e, t, {
|
|
543
|
-
tApp: r,
|
|
544
|
-
t: i,
|
|
545
|
-
resolveEntityHref: a,
|
|
546
|
-
renderDate: s,
|
|
547
|
-
renderLink: o
|
|
548
|
-
})
|
|
549
|
-
};
|
|
550
|
-
});
|
|
551
|
-
return {
|
|
552
|
-
title: d,
|
|
553
|
-
subtitle: f,
|
|
554
|
-
badges: p.length > 0 ? C(x, null, ...p) : void 0,
|
|
555
|
-
status: m,
|
|
556
|
-
items: h
|
|
557
|
-
};
|
|
558
|
-
}, mt = (e, t, n) => {
|
|
559
|
-
let { tApp: r, t: i, keyPrefix: a } = n;
|
|
560
|
-
return e == null || e.length === 0 ? [] : e.map((e, o) => {
|
|
561
|
-
let s = a == null ? `${e.kind}-${o}` : `${a}-${e.kind}-${o}`;
|
|
562
|
-
if (e.kind === "custom") {
|
|
563
|
-
let i = e.render(t);
|
|
564
|
-
return i == null ? null : e.label == null ? n.wrapCustomNode(s, i) : n.renderCustomSection(s, Z(e.label, r), i);
|
|
565
|
-
}
|
|
566
|
-
let c = Z(e.label, r), l = e.description == null ? void 0 : Z(e.description, r);
|
|
567
|
-
if (e.kind === "relationList") return n.renderRelationList({
|
|
568
|
-
key: s,
|
|
569
|
-
title: c,
|
|
570
|
-
relation: e.relation,
|
|
571
|
-
value: e.value(t)
|
|
572
|
-
});
|
|
573
|
-
if (e.kind === "table") return n.renderTable({
|
|
574
|
-
key: s,
|
|
575
|
-
title: c,
|
|
576
|
-
description: l,
|
|
577
|
-
columns: n.resolveTableColumns(e.columns),
|
|
578
|
-
rows: e.rows(t)
|
|
579
|
-
});
|
|
580
|
-
if (e.kind === "json") return n.renderJson({
|
|
581
|
-
key: s,
|
|
582
|
-
title: c,
|
|
583
|
-
description: l,
|
|
584
|
-
value: e.value(t),
|
|
585
|
-
defaultCollapsed: e.presentation?.collapse?.defaultCollapsed ?? (e.presentation?.group === "technical" || e.presentation?.group === "raw")
|
|
586
|
-
});
|
|
587
|
-
if (e.kind === "code") return n.renderCode({
|
|
588
|
-
key: s,
|
|
589
|
-
title: c,
|
|
590
|
-
description: l,
|
|
591
|
-
value: e.value(t),
|
|
592
|
-
outputLabel: i("tools.output")
|
|
593
|
-
});
|
|
594
|
-
if (e.kind === "payload") return n.renderPayload({
|
|
595
|
-
key: s,
|
|
596
|
-
title: c,
|
|
597
|
-
description: l,
|
|
598
|
-
content: e.value(t),
|
|
599
|
-
format: e.format
|
|
600
|
-
});
|
|
601
|
-
if (e.kind === "errorList") return n.renderErrorList({
|
|
602
|
-
key: s,
|
|
603
|
-
title: c,
|
|
604
|
-
description: l,
|
|
605
|
-
items: e.errors(t)
|
|
606
|
-
});
|
|
607
|
-
let u = e.items.map((e, n) => {
|
|
608
|
-
let a = Z(e.label, r), o = Q(e.value(t), r);
|
|
609
|
-
return {
|
|
610
|
-
id: `${a}-${n}`,
|
|
611
|
-
label: a,
|
|
612
|
-
value: o ?? i("common.notAvailable")
|
|
613
|
-
};
|
|
614
|
-
});
|
|
615
|
-
return n.renderKeyValueListSection({
|
|
616
|
-
key: s,
|
|
617
|
-
title: c,
|
|
618
|
-
description: l,
|
|
619
|
-
items: u
|
|
620
|
-
});
|
|
621
|
-
});
|
|
622
|
-
}, ht = (e) => {
|
|
623
|
-
switch (e) {
|
|
624
|
-
case "shield-lock": return /* @__PURE__ */ Y(K, {
|
|
625
|
-
width: 14,
|
|
626
|
-
height: 14,
|
|
627
|
-
"aria-hidden": "true"
|
|
628
|
-
});
|
|
629
|
-
case "shield-off": return /* @__PURE__ */ Y(fe, {
|
|
630
|
-
width: 14,
|
|
631
|
-
height: 14,
|
|
632
|
-
"aria-hidden": "true"
|
|
633
|
-
});
|
|
634
|
-
case "settings-check": return /* @__PURE__ */ Y(W, {
|
|
635
|
-
width: 14,
|
|
636
|
-
height: 14,
|
|
637
|
-
"aria-hidden": "true"
|
|
638
|
-
});
|
|
639
|
-
case "settings-x": return /* @__PURE__ */ Y(G, {
|
|
640
|
-
width: 14,
|
|
641
|
-
height: 14,
|
|
642
|
-
"aria-hidden": "true"
|
|
643
|
-
});
|
|
644
|
-
case "x-badge": return /* @__PURE__ */ Y(pe, {
|
|
645
|
-
width: 14,
|
|
646
|
-
height: 14,
|
|
647
|
-
"aria-hidden": "true"
|
|
648
|
-
});
|
|
649
|
-
case "chat-check": return /* @__PURE__ */ Y(F, {
|
|
650
|
-
width: 14,
|
|
651
|
-
height: 14,
|
|
652
|
-
"aria-hidden": "true"
|
|
653
|
-
});
|
|
654
|
-
case "key": return /* @__PURE__ */ Y(le, {
|
|
655
|
-
width: 14,
|
|
656
|
-
height: 14,
|
|
657
|
-
"aria-hidden": "true"
|
|
658
|
-
});
|
|
659
|
-
case "key-off": return /* @__PURE__ */ Y(I, {
|
|
660
|
-
width: 14,
|
|
661
|
-
height: 14,
|
|
662
|
-
"aria-hidden": "true"
|
|
663
|
-
});
|
|
664
|
-
case "lock": return /* @__PURE__ */ Y(z, {
|
|
665
|
-
width: 14,
|
|
666
|
-
height: 14,
|
|
667
|
-
"aria-hidden": "true"
|
|
668
|
-
});
|
|
669
|
-
case "lock-open": return /* @__PURE__ */ Y(R, {
|
|
670
|
-
width: 14,
|
|
671
|
-
height: 14,
|
|
672
|
-
"aria-hidden": "true"
|
|
673
|
-
});
|
|
674
|
-
case "robot-check": return /* @__PURE__ */ Y(B, {
|
|
675
|
-
width: 14,
|
|
676
|
-
height: 14,
|
|
677
|
-
"aria-hidden": "true"
|
|
678
|
-
});
|
|
679
|
-
case "robot-x": return /* @__PURE__ */ Y(V, {
|
|
680
|
-
width: 14,
|
|
681
|
-
height: 14,
|
|
682
|
-
"aria-hidden": "true"
|
|
683
|
-
});
|
|
684
|
-
case "rocket": return /* @__PURE__ */ Y(U, {
|
|
685
|
-
width: 14,
|
|
686
|
-
height: 14,
|
|
687
|
-
"aria-hidden": "true"
|
|
688
|
-
});
|
|
689
|
-
case "rocket-off": return /* @__PURE__ */ Y(H, {
|
|
690
|
-
width: 14,
|
|
691
|
-
height: 14,
|
|
692
|
-
"aria-hidden": "true"
|
|
693
|
-
});
|
|
694
|
-
default: throw Error(`Unsupported flag icon: ${String(e)}`);
|
|
695
|
-
}
|
|
696
|
-
}, gt = (e) => {
|
|
697
|
-
if (e.presentation?.desktop === "secondary" || e.presentation?.group === "scope" || e.presentation?.group === "status") return "secondary";
|
|
698
|
-
let t = e.fields?.map((e) => e.presentation?.group) ?? [];
|
|
699
|
-
return t.length > 0 && t.every((e) => e === "scope" || e === "status") ? "secondary" : e.placement ?? "primary";
|
|
700
|
-
}, _t = ({ config: r, prepared: i }) => {
|
|
701
|
-
let { t: o } = O(), { t: _ } = n(), { formatNumber: v, formatCurrency: y, formatPercent: x } = $e(), { entities: S, entityRegistry: C } = t(), { layoutView: w } = g(), M = T(j), P = e(), F = J(), [ce, I] = D({}), [le, L] = D(null), R = u({
|
|
702
|
-
mainPage: r.pages.mainPage,
|
|
703
|
-
subPages: r.pages.subPages,
|
|
704
|
-
activePagePath: i.pagePath,
|
|
705
|
-
node: w
|
|
706
|
-
}), z = R.activePage ?? r.pages.mainPage, B = R.pages.length > 0 ? R.pages : [r.pages.mainPage], V = (e, t) => {
|
|
707
|
-
I((n) => n[e] === t ? n : {
|
|
708
|
-
...n,
|
|
709
|
-
[e]: t
|
|
710
|
-
});
|
|
711
|
-
}, { page: H } = r, U = ve(H.query, i.pageQuery), W = H.resolveNode(U, {
|
|
712
|
-
id: i.id,
|
|
713
|
-
detailId: i.detailId
|
|
714
|
-
}), G = W != null, K = _e(H.fragment, W), fe = E(() => Object.fromEntries(H.content.flatMap((e) => e.kind === "section" ? e.fields.flatMap((e) => e.type === "relation" ? [e.relation.target] : []) : []).flatMap((e) => {
|
|
715
|
-
let t = S[e];
|
|
716
|
-
return t?.hasList === !0 ? [[e, t.routes.list]] : [];
|
|
717
|
-
})), [S, H.content]);
|
|
718
|
-
if (!G) throw new k(r.routes.list);
|
|
719
|
-
return /* @__PURE__ */ Y(De, {
|
|
720
|
-
node: K,
|
|
721
|
-
render: (e) => {
|
|
722
|
-
let t = H.toView(e), n = et({
|
|
723
|
-
pages: B,
|
|
724
|
-
id: i.id,
|
|
725
|
-
tApp: o,
|
|
726
|
-
detailPageHref: r.routes.detailPage
|
|
727
|
-
}), u = (e, t) => {
|
|
728
|
-
let n = S[e];
|
|
729
|
-
return n == null ? null : n.routes.detail(t);
|
|
730
|
-
}, g = ({ id: e, label: t, count: n, relation: r, listRoute: i, value: a, where: o }) => {
|
|
731
|
-
let { target: s, filterId: c, whereKey: l, path: u } = r, d = C.getLoadedListEntity(s);
|
|
732
|
-
return {
|
|
733
|
-
id: e,
|
|
734
|
-
label: t,
|
|
735
|
-
count: n,
|
|
736
|
-
href: d == null ? Ce(i, o, [{
|
|
737
|
-
id: c ?? (u == null ? l : `${l}.${u.join(".")}`),
|
|
738
|
-
value: a
|
|
739
|
-
}]) : we(d.config, { where: o }),
|
|
740
|
-
onClick: async (e) => {
|
|
741
|
-
if (M == null || e.defaultPrevented || e.button !== 0 || e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
|
|
742
|
-
e.preventDefault();
|
|
743
|
-
let t = Te((await C.loadListEntity(s)).config, { where: o });
|
|
744
|
-
M.history.push({
|
|
745
|
-
pathname: t.pathname,
|
|
746
|
-
search: t.search === "" ? "" : `?${t.search}`,
|
|
747
|
-
hash: ""
|
|
748
|
-
});
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
}, T = pt(r.header, w, {
|
|
752
|
-
tApp: o,
|
|
753
|
-
t: _,
|
|
754
|
-
resolveEntityHref: u,
|
|
755
|
-
renderLink: (e, t) => /* @__PURE__ */ Y(A, {
|
|
756
|
-
to: e,
|
|
757
|
-
children: t
|
|
758
|
-
}),
|
|
759
|
-
renderDate: (e, t) => /* @__PURE__ */ Y(oe, {
|
|
760
|
-
value: e,
|
|
761
|
-
options: be,
|
|
762
|
-
fallback: t
|
|
763
|
-
}),
|
|
764
|
-
renderTag: (e, t) => /* @__PURE__ */ Y(q, {
|
|
765
|
-
tone: e,
|
|
766
|
-
children: t
|
|
767
|
-
}),
|
|
768
|
-
renderBadgeRow: (e) => /* @__PURE__ */ Y(a, { items: e })
|
|
769
|
-
}), E = h({
|
|
770
|
-
config: r,
|
|
771
|
-
tApp: o,
|
|
772
|
-
entityId: i.id,
|
|
773
|
-
layoutView: w,
|
|
774
|
-
pageLabel: z.label(o)
|
|
775
|
-
}), D = H.actions ?? [], O = [];
|
|
776
|
-
if (D.length > 0) {
|
|
777
|
-
let e = D.filter((e) => e.isVisible == null ? !0 : e.isVisible(t));
|
|
778
|
-
e.length > 0 && (O = e.map((e) => {
|
|
779
|
-
let n = Z(e.label, o), r = e.ariaLabel == null ? n : Z(e.ariaLabel, o), i = e.variant ?? "secondary", a = e.size ?? "small", s = ce[e.id] ?? !1, c = s || e.isDisabled?.(t) === !0;
|
|
780
|
-
return rt(e) ? /* @__PURE__ */ Y(de, {
|
|
781
|
-
to: e.to(t),
|
|
782
|
-
variant: i,
|
|
783
|
-
size: a,
|
|
784
|
-
isDisabled: c,
|
|
785
|
-
"aria-label": r,
|
|
786
|
-
children: n
|
|
787
|
-
}, e.id) : at(e) ? /* @__PURE__ */ Y(re, {
|
|
788
|
-
type: "button",
|
|
789
|
-
variant: i,
|
|
790
|
-
size: a,
|
|
791
|
-
isLoading: !1,
|
|
792
|
-
disabled: c,
|
|
793
|
-
onClick: () => {
|
|
794
|
-
L(e.id);
|
|
795
|
-
},
|
|
796
|
-
"aria-label": r,
|
|
797
|
-
children: n
|
|
798
|
-
}, e.id) : it(e) ? /* @__PURE__ */ Y(re, {
|
|
799
|
-
type: "button",
|
|
800
|
-
variant: i,
|
|
801
|
-
size: a,
|
|
802
|
-
isLoading: s,
|
|
803
|
-
disabled: c,
|
|
804
|
-
onClick: () => {
|
|
805
|
-
if (s) return;
|
|
806
|
-
let n = e.getVariables(t);
|
|
807
|
-
V(e.id, !0), ge(P, {
|
|
808
|
-
mutation: e.mutation,
|
|
809
|
-
variables: n,
|
|
810
|
-
updater: (n) => {
|
|
811
|
-
e.updater?.(n, t);
|
|
812
|
-
},
|
|
813
|
-
onCompleted: (n) => {
|
|
814
|
-
V(e.id, !1);
|
|
815
|
-
let r = nt(n);
|
|
816
|
-
if (r != null) {
|
|
817
|
-
let n = _("actions.form.errors.invalidPayload");
|
|
818
|
-
e.toasts?.error?.message == null ? e.toasts?.error?.title != null && (n = Z(e.toasts.error.title, o)) : n = Z(e.toasts.error.message, o);
|
|
819
|
-
let i = l(r, {
|
|
820
|
-
defaultErrorMessage: n,
|
|
821
|
-
mapReason: (n) => {
|
|
822
|
-
let r = e.mapErrorReason?.(n, t);
|
|
823
|
-
return r == null ? null : typeof r == "function" ? Z(r, o) : String(r);
|
|
824
|
-
}
|
|
825
|
-
});
|
|
826
|
-
if (!i.ok) {
|
|
827
|
-
let n = Error(i.message);
|
|
828
|
-
if (e.onError?.(n, t), e.toasts?.error != null) {
|
|
829
|
-
let t = m(e.toasts.error, o);
|
|
830
|
-
F.error(t.title, t.message);
|
|
831
|
-
}
|
|
832
|
-
return;
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
if (e.onCompleted?.(n, t), e.toasts?.success != null) {
|
|
836
|
-
let r = m(e.toasts.success, o), i = p({
|
|
837
|
-
toast: e.toasts.success,
|
|
838
|
-
response: n,
|
|
839
|
-
node: t,
|
|
840
|
-
tApp: o,
|
|
841
|
-
entities: S,
|
|
842
|
-
defaultLabel: _("actions.view"),
|
|
843
|
-
navigateTo: (e) => {
|
|
844
|
-
M?.history.push({ pathname: e });
|
|
845
|
-
}
|
|
846
|
-
});
|
|
847
|
-
F.push({
|
|
848
|
-
kind: "info",
|
|
849
|
-
title: r.title,
|
|
850
|
-
message: r.message,
|
|
851
|
-
actions: i
|
|
852
|
-
});
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
onError: (n) => {
|
|
856
|
-
if (V(e.id, !1), e.onError?.(n, t), e.toasts?.error != null) {
|
|
857
|
-
let t = m(e.toasts.error, o);
|
|
858
|
-
F.error(t.title, t.message);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
});
|
|
862
|
-
},
|
|
863
|
-
"aria-label": r,
|
|
864
|
-
children: n
|
|
865
|
-
}, e.id) : null;
|
|
866
|
-
}));
|
|
867
|
-
}
|
|
868
|
-
let k = D.find((e) => e.id === le), { content: j } = H, I = [], R = [], U = [];
|
|
869
|
-
j.forEach((e, n) => {
|
|
870
|
-
let r = gt(e) === "secondary" ? R : I;
|
|
871
|
-
if (e.kind === "section") {
|
|
872
|
-
let i = Z(e.title, o), c = e.description == null ? void 0 : Z(e.description, o), { items: l, relationItems: d, customNodes: f } = ft(e.fields, t, {
|
|
873
|
-
tApp: o,
|
|
874
|
-
t: _,
|
|
875
|
-
resolveEntityHref: u,
|
|
876
|
-
formatNumber: v,
|
|
877
|
-
formatCurrency: y,
|
|
878
|
-
formatPercent: x,
|
|
879
|
-
relationEntityListRoutes: fe,
|
|
880
|
-
resolveRelationItem: g,
|
|
881
|
-
setWhereValue: Ee,
|
|
882
|
-
renderTag: (e, t) => /* @__PURE__ */ Y(q, {
|
|
883
|
-
tone: e,
|
|
884
|
-
children: t
|
|
885
|
-
}),
|
|
886
|
-
renderBadgeRow: (e) => /* @__PURE__ */ Y(a, { items: e }),
|
|
887
|
-
renderDate: (e, t) => /* @__PURE__ */ Y(oe, {
|
|
888
|
-
value: e,
|
|
889
|
-
options: be,
|
|
890
|
-
fallback: t
|
|
891
|
-
}),
|
|
892
|
-
renderFlagTag: (e) => /* @__PURE__ */ Y(je, {
|
|
893
|
-
tone: e.tone,
|
|
894
|
-
icon: e.iconName == null ? void 0 : ht(e.iconName),
|
|
895
|
-
label: e.label
|
|
896
|
-
}),
|
|
897
|
-
renderLink: (e, t) => /* @__PURE__ */ Y(A, {
|
|
898
|
-
to: e,
|
|
899
|
-
children: t
|
|
900
|
-
}),
|
|
901
|
-
renderTaggedValue: (e, t) => /* @__PURE__ */ Y(Pe, {
|
|
902
|
-
tag: e,
|
|
903
|
-
value: t
|
|
904
|
-
}),
|
|
905
|
-
wrapCustomNode: (e, t) => /* @__PURE__ */ Y("div", { children: t }, e)
|
|
906
|
-
});
|
|
907
|
-
if (d.forEach((e) => {
|
|
908
|
-
U.some((t) => t.id === e.id) || U.push(e);
|
|
909
|
-
}), !(l.length > 0 || f.length > 0)) return;
|
|
910
|
-
r.push(/* @__PURE__ */ Y(s, {
|
|
911
|
-
title: i,
|
|
912
|
-
description: c,
|
|
913
|
-
items: l.length > 0 ? l : void 0,
|
|
914
|
-
children: f
|
|
915
|
-
}, `${i}-${n}`));
|
|
916
|
-
return;
|
|
917
|
-
}
|
|
918
|
-
let i = mt([e], t, {
|
|
919
|
-
tApp: o,
|
|
920
|
-
t: _,
|
|
921
|
-
resolveEntityHref: u,
|
|
922
|
-
keyPrefix: String(n),
|
|
923
|
-
renderCustomSection: (e, t, n) => /* @__PURE__ */ Y(s, {
|
|
924
|
-
title: t,
|
|
925
|
-
children: n
|
|
926
|
-
}, e),
|
|
927
|
-
wrapCustomNode: (e, t) => /* @__PURE__ */ Y("div", { children: t }, e),
|
|
928
|
-
renderRelationList: ({ key: e, title: t, relation: n, value: r }) => /* @__PURE__ */ Y(Je, {
|
|
929
|
-
title: t,
|
|
930
|
-
relation: n,
|
|
931
|
-
value: r ?? null
|
|
932
|
-
}, e),
|
|
933
|
-
resolveTableColumns: (e) => d(e, {
|
|
934
|
-
tApp: o,
|
|
935
|
-
t: _,
|
|
936
|
-
resolveEntityHref: u
|
|
937
|
-
}),
|
|
938
|
-
renderTable: ({ key: e, title: t, description: n, columns: r, rows: i }) => /* @__PURE__ */ Y(s, {
|
|
939
|
-
title: t,
|
|
940
|
-
description: n,
|
|
941
|
-
children: /* @__PURE__ */ Y(ie, {
|
|
942
|
-
columns: r,
|
|
943
|
-
rows: i,
|
|
944
|
-
getRowId: (e, t) => {
|
|
945
|
-
if (typeof e == "object" && e) {
|
|
946
|
-
let t = e.id;
|
|
947
|
-
if (typeof t == "string" && t.trim() !== "") return t;
|
|
948
|
-
}
|
|
949
|
-
return String(t);
|
|
950
|
-
}
|
|
951
|
-
})
|
|
952
|
-
}, e),
|
|
953
|
-
renderJson: ({ key: e, title: t, description: n, value: r, defaultCollapsed: i }) => {
|
|
954
|
-
let a = /* @__PURE__ */ Y(s, {
|
|
955
|
-
title: t,
|
|
956
|
-
description: n,
|
|
957
|
-
children: /* @__PURE__ */ Y(ue, {
|
|
958
|
-
value: r,
|
|
959
|
-
title: t
|
|
960
|
-
})
|
|
961
|
-
}, e);
|
|
962
|
-
return i === !0 ? /* @__PURE__ */ X("details", { children: [/* @__PURE__ */ Y("summary", { children: t }), a] }, e) : a;
|
|
963
|
-
},
|
|
964
|
-
renderCode: ({ key: e, title: t, description: n, value: r, outputLabel: i }) => /* @__PURE__ */ Y(s, {
|
|
965
|
-
title: t,
|
|
966
|
-
description: n,
|
|
967
|
-
children: /* @__PURE__ */ Y(se, {
|
|
968
|
-
badgeLabel: i,
|
|
969
|
-
copyCode: r,
|
|
970
|
-
fallbackCodeText: r
|
|
971
|
-
})
|
|
972
|
-
}, e),
|
|
973
|
-
renderPayload: ({ key: e, title: t, description: n, content: r, format: i }) => /* @__PURE__ */ Y(c, {
|
|
974
|
-
title: t,
|
|
975
|
-
description: n,
|
|
976
|
-
content: r,
|
|
977
|
-
format: i
|
|
978
|
-
}, e),
|
|
979
|
-
renderErrorList: ({ key: e, title: t, description: n, items: r }) => /* @__PURE__ */ Y(He, {
|
|
980
|
-
title: t,
|
|
981
|
-
description: n,
|
|
982
|
-
items: r
|
|
983
|
-
}, e),
|
|
984
|
-
renderKeyValueListSection: ({ key: e, title: t, description: n, items: r }) => /* @__PURE__ */ Y(s, {
|
|
985
|
-
title: t,
|
|
986
|
-
description: n,
|
|
987
|
-
children: /* @__PURE__ */ Y(N, { items: r })
|
|
988
|
-
}, e)
|
|
989
|
-
})[0];
|
|
990
|
-
i != null && r.push(i);
|
|
991
|
-
});
|
|
992
|
-
let W = U.length > 0 ? /* @__PURE__ */ Y(te, {
|
|
993
|
-
label: _("relations.menu.label"),
|
|
994
|
-
items: U
|
|
995
|
-
}) : null, G = O.length > 0 || W != null ? /* @__PURE__ */ X("div", {
|
|
996
|
-
className: Ye,
|
|
997
|
-
children: [O.length > 0 && /* @__PURE__ */ Y("div", {
|
|
998
|
-
className: "txvbqb9ip txvbqbcp txvbqbdp7 txvbqbao7 txvbqbajy",
|
|
999
|
-
children: O
|
|
1000
|
-
}), W != null && /* @__PURE__ */ Y("div", {
|
|
1001
|
-
className: "_1i6bm7z0 txvbqb9ip txvbqbcp",
|
|
1002
|
-
children: W
|
|
1003
|
-
})]
|
|
1004
|
-
}) : void 0, K = T.status != null || T.badges != null ? /* @__PURE__ */ X("div", {
|
|
1005
|
-
className: Ze,
|
|
1006
|
-
children: [T.status, T.badges]
|
|
1007
|
-
}) : void 0, pe = T.items != null && T.items.length > 0 ? /* @__PURE__ */ Y("div", {
|
|
1008
|
-
className: Qe,
|
|
1009
|
-
children: /* @__PURE__ */ Y(N, { items: T.items })
|
|
1010
|
-
}) : null, me = R.length > 0, J = null;
|
|
1011
|
-
return B.length > 1 && (J = /* @__PURE__ */ Y(ne, {
|
|
1012
|
-
items: n,
|
|
1013
|
-
activeId: z.id,
|
|
1014
|
-
onChange: () => {},
|
|
1015
|
-
variant: "underline"
|
|
1016
|
-
})), /* @__PURE__ */ X(f, {
|
|
1017
|
-
breadcrumb: E,
|
|
1018
|
-
children: [/* @__PURE__ */ Y(ae, {
|
|
1019
|
-
headerNode: /* @__PURE__ */ X("div", {
|
|
1020
|
-
className: Xe,
|
|
1021
|
-
children: [/* @__PURE__ */ Y(ee, {
|
|
1022
|
-
title: T.title,
|
|
1023
|
-
subtitle: T.subtitle,
|
|
1024
|
-
actions: G,
|
|
1025
|
-
meta: K
|
|
1026
|
-
}), pe]
|
|
1027
|
-
}),
|
|
1028
|
-
tabsNode: J,
|
|
1029
|
-
sidePanel: me ? /* @__PURE__ */ Y(ye, { children: R }) : void 0,
|
|
1030
|
-
sidePanelVariant: "plain",
|
|
1031
|
-
headerDensity: "compact",
|
|
1032
|
-
children: /* @__PURE__ */ Y(ye, { children: I })
|
|
1033
|
-
}), k != null && at(k) && /* @__PURE__ */ Y(b, {
|
|
1034
|
-
isOpen: !0,
|
|
1035
|
-
action: k,
|
|
1036
|
-
node: t,
|
|
1037
|
-
onClose: () => {
|
|
1038
|
-
L(null);
|
|
1039
|
-
}
|
|
1040
|
-
})]
|
|
1041
|
-
});
|
|
1042
|
-
}
|
|
1043
|
-
});
|
|
1044
|
-
}, vt = ({ config: e, prepared: t }) => {
|
|
1045
|
-
let { layoutView: n } = g(), r = u({
|
|
1046
|
-
mainPage: e.pages.mainPage,
|
|
1047
|
-
subPages: e.pages.subPages,
|
|
1048
|
-
activePagePath: t.pagePath,
|
|
1049
|
-
node: n
|
|
1050
|
-
});
|
|
1051
|
-
if (!r.hasVisiblePages || r.activePage == null) throw new k(e.routes.list);
|
|
1052
|
-
if (r.activePage.id !== t.pageId) throw new k(e.routes.detailPage(t.id, r.activePage.id));
|
|
1053
|
-
return /* @__PURE__ */ Y(_t, {
|
|
1054
|
-
config: t.pageConfig,
|
|
1055
|
-
prepared: t
|
|
1056
|
-
});
|
|
1057
|
-
};
|
|
1058
|
-
//#endregion
|
|
1059
|
-
export { vt as BackofficeEntityDetailPage, vt as default };
|
|
1060
|
-
|
|
1061
|
-
//# sourceMappingURL=BackofficeEntityDetailPage-LB1uEJVM.js.map
|