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