@plumile/backoffice-react 0.1.105 → 0.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/_virtual/_rolldown/runtime.js +7 -0
- package/lib/esm/auth/AuthRefreshNotice.js +38 -0
- package/lib/esm/auth/AuthRefreshNotice.js.map +1 -0
- package/lib/esm/auth/TotpQrCode.js +28 -0
- package/lib/esm/auth/TotpQrCode.js.map +1 -0
- package/lib/esm/auth/authRefreshNotice.css.js +7 -0
- package/lib/esm/auth/authRefreshNotice.css.js.map +1 -0
- package/lib/esm/{AuthPanel-BaIRFGbX.js → auth/login/AuthPanel.js} +7 -7
- package/lib/esm/auth/login/AuthPanel.js.map +1 -0
- package/lib/esm/auth/login/EmailCapturePanel.js +50 -0
- package/lib/esm/auth/login/EmailCapturePanel.js.map +1 -0
- package/lib/esm/auth/login/LoginFlow.js +130 -0
- package/lib/esm/auth/login/LoginFlow.js.map +1 -0
- package/lib/esm/auth/login/MethodChooser.js +49 -0
- package/lib/esm/auth/login/MethodChooser.js.map +1 -0
- package/lib/esm/auth/login/MfaChallengeForm.js +80 -0
- package/lib/esm/auth/login/MfaChallengeForm.js.map +1 -0
- package/lib/esm/auth/login/OidcButtons.js +29 -0
- package/lib/esm/auth/login/OidcButtons.js.map +1 -0
- package/lib/esm/auth/login/PasskeyLoginForm.js +81 -0
- package/lib/esm/auth/login/PasskeyLoginForm.js.map +1 -0
- package/lib/esm/auth/login/PasswordLoginPanel.js +37 -0
- package/lib/esm/auth/login/PasswordLoginPanel.js.map +1 -0
- package/lib/esm/auth/login/loginPage.css.js +7 -0
- package/lib/esm/auth/login/loginPage.css.js.map +1 -0
- package/lib/esm/auth/login/synchronizeAuthStatusQuery.js +10 -0
- package/lib/esm/auth/login/synchronizeAuthStatusQuery.js.map +1 -0
- package/lib/esm/{AcceptInvitationScreen-VaWXQPHp.js → auth/pages/AcceptInvitationScreen.js} +11 -11
- package/lib/esm/auth/pages/AcceptInvitationScreen.js.map +1 -0
- package/lib/esm/{PasswordResetCompleteScreen-Cgg96DPo.js → auth/pages/PasswordResetCompleteScreen.js} +10 -10
- package/lib/esm/auth/pages/PasswordResetCompleteScreen.js.map +1 -0
- package/lib/esm/{PasswordResetRequestScreen-I1nFvGLd.js → auth/pages/PasswordResetRequestScreen.js} +10 -10
- package/lib/esm/auth/pages/PasswordResetRequestScreen.js.map +1 -0
- package/lib/esm/{VerifyEmailScreen-Br5KyHjg.js → auth/pages/VerifyEmailScreen.js} +7 -7
- package/lib/esm/auth/pages/VerifyEmailScreen.js.map +1 -0
- package/lib/esm/{BackofficeEntityActionFormDialog-DrZxuytz.js → components/backoffice/actions/BackofficeEntityActionFormDialog.js} +123 -121
- package/lib/esm/{BackofficeEntityActionFormDialog-DrZxuytz.js.map → components/backoffice/actions/BackofficeEntityActionFormDialog.js.map} +1 -1
- package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js +26 -0
- package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js.map +1 -0
- package/lib/esm/{backofficeEntityActionFormDialog.css-DJgEKwaA.js → components/backoffice/actions/backofficeEntityActionFormDialog.css.js} +3 -2
- package/lib/esm/{backofficeEntityActionFormDialog.css-DJgEKwaA.js.map → components/backoffice/actions/backofficeEntityActionFormDialog.css.js.map} +1 -1
- package/lib/esm/{toastViewAction-DQYlcGOL.js → components/backoffice/actions/toastViewAction.js} +2 -2
- package/lib/esm/{toastViewAction-DQYlcGOL.js.map → components/backoffice/actions/toastViewAction.js.map} +1 -1
- package/lib/esm/{buildDataTableColumns-DdmF-EYq.js → components/backoffice/columns/buildDataTableColumns.js} +18 -18
- package/lib/esm/{buildDataTableColumns-DdmF-EYq.js.map → components/backoffice/columns/buildDataTableColumns.js.map} +1 -1
- package/lib/esm/components/backoffice/detail/BackofficeAuditMetadataPanel.js +31 -0
- package/lib/esm/components/backoffice/detail/BackofficeAuditMetadataPanel.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js +22 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js +40 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailField.js +30 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailField.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.css.js +7 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js +24 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailLayout.js +20 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailLayout.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js +18 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js +56 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationList.js +11 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationList.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js +123 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailSection.js +36 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js +18 -0
- package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntityRefLink.js +17 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntityRefLink.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js +72 -0
- package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeEnumLabel.js +11 -0
- package/lib/esm/components/backoffice/detail/BackofficeEnumLabel.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js +35 -0
- package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js +37 -0
- package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js +36 -0
- package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js +22 -0
- package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js +43 -0
- package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeScopeStack.js +28 -0
- package/lib/esm/components/backoffice/detail/BackofficeScopeStack.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js +27 -0
- package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js +37 -0
- package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js.map +1 -0
- package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js +84 -0
- package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeAuditMetadataPanel.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeAuditMetadataPanel.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailField.css.js +15 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailField.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailTaggedValue.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeDetailTaggedValue.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeKpiStrip.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeKpiStrip.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeLifecycleTimelineSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeLifecycleTimelineSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficePayloadInspectorSection.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficePayloadInspectorSection.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeReferenceValue.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeReferenceValue.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeScopeStack.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeScopeStack.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeStatusMetaBadge.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeStatusMetaBadge.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js +7 -0
- package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js.map +1 -0
- package/lib/esm/components/backoffice/detail/createBackofficeEntityLinkProps.js +21 -0
- package/lib/esm/components/backoffice/detail/createBackofficeEntityLinkProps.js.map +1 -0
- package/lib/esm/components/backoffice/detail/detailPayloadUtils.js +17 -0
- package/lib/esm/components/backoffice/detail/detailPayloadUtils.js.map +1 -0
- package/lib/esm/{BackofficeErrorBoundary-BwRVSDHU.js → components/backoffice/errors/BackofficeErrorBoundary.js} +2 -2
- package/lib/esm/{BackofficeErrorBoundary-BwRVSDHU.js.map → components/backoffice/errors/BackofficeErrorBoundary.js.map} +1 -1
- package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js +46 -0
- package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js.map +1 -0
- package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js +67 -0
- package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js.map +1 -0
- package/lib/esm/components/backoffice/filters/EntityFilterValue.js +46 -0
- package/lib/esm/components/backoffice/filters/EntityFilterValue.js.map +1 -0
- package/lib/esm/components/backoffice/filters/EntityIdFilterField.js +65 -0
- package/lib/esm/components/backoffice/filters/EntityIdFilterField.js.map +1 -0
- package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js +7 -0
- package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js.map +1 -0
- package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js +7 -0
- package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js.map +1 -0
- package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js +7 -0
- package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js.map +1 -0
- package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js +83 -0
- package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js.map +1 -0
- package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js +7 -0
- package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js.map +1 -0
- package/lib/esm/{BackofficePermissionsContext-C2bdxy2z.js → components/backoffice/layout/BackofficePermissionsContext.js} +2 -2
- package/lib/esm/{BackofficePermissionsContext-C2bdxy2z.js.map → components/backoffice/layout/BackofficePermissionsContext.js.map} +1 -1
- package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js +7 -0
- package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeRightPageLayout.js +10 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeRightPageLayout.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js +69 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortal.js +12 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortal.js.map +1 -0
- package/lib/esm/{BackofficeTopbarPortalContext-Da5XFatM.js → components/backoffice/layout/breadcrumb/BackofficeTopbarPortalContext.js} +2 -2
- package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarPortalContext.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/assertValidBreadcrumb.js +16 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/assertValidBreadcrumb.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js +7 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js.map +1 -0
- package/lib/esm/{buildBreadcrumbs-C5St167Y.js → components/backoffice/layout/breadcrumb/buildBreadcrumbs.js} +7 -3
- package/lib/esm/components/backoffice/layout/breadcrumb/buildBreadcrumbs.js.map +1 -0
- package/lib/esm/components/backoffice/layout/breadcrumb/types.js +0 -0
- package/lib/esm/components/backoffice/layout/buildSidebarSections.js +301 -0
- package/lib/esm/components/backoffice/layout/buildSidebarSections.js.map +1 -0
- package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js +18 -0
- package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js.map +1 -0
- package/lib/esm/{sidebarUtils-BgCBLJLv.js → components/backoffice/layout/sidebarUtils.js} +32 -22
- package/lib/esm/{sidebarUtils-BgCBLJLv.js.map → components/backoffice/layout/sidebarUtils.js.map} +1 -1
- package/lib/esm/components/backoffice/list/RowFlagsCell.css.js +7 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.css.js.map +1 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.js +37 -0
- package/lib/esm/components/backoffice/list/RowFlagsCell.js.map +1 -0
- package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js +33 -0
- package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js.map +1 -0
- package/lib/esm/components/backoffice/lists/backofficeListToolbar.css.js +13 -0
- package/lib/esm/components/backoffice/lists/backofficeListToolbar.css.js.map +1 -0
- package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js +31 -0
- package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js.map +1 -0
- package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js +7 -0
- package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js +117 -0
- package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js +7 -0
- package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js +27 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerRowBase.js +23 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerRowBase.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js +28 -0
- package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js.map +1 -0
- package/lib/esm/components/backoffice/pickers/types.js +0 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityIdRef.js +35 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityIdRef.js.map +1 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityLink.js +30 -0
- package/lib/esm/components/backoffice/refs/BackofficeEntityLink.js.map +1 -0
- package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js +65 -0
- package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js.map +1 -0
- package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js +7 -0
- package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js.map +1 -0
- package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js +7 -0
- package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentBoundary.js +24 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentBoundary.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentError.js +27 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentError.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js +47 -0
- package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js +25 -0
- package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js.map +1 -0
- package/lib/esm/components/backoffice/routing/BackofficeRoutePendingBar.js +12 -0
- package/lib/esm/components/backoffice/routing/BackofficeRoutePendingBar.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentError.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentError.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeRouteFallback.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeRouteFallback.css.js.map +1 -0
- package/lib/esm/components/backoffice/routing/backofficeRoutePendingBar.css.js +7 -0
- package/lib/esm/components/backoffice/routing/backofficeRoutePendingBar.css.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js +12 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js +506 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeListFilterContext.js +40 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeListFilterContext.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js +24 -0
- package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js +7 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js.map +1 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js +7 -0
- package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js +41 -0
- package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedCurrency.js +17 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedCurrency.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedNumber.js +17 -0
- package/lib/esm/components/backoffice/shared/BackofficeFormattedNumber.js.map +1 -0
- package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js +12 -0
- package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js.map +1 -0
- package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js +16 -0
- package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js.map +1 -0
- package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js +7 -0
- package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js +41 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js +48 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js +63 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js.map +1 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js +35 -0
- package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js +7 -0
- package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js.map +1 -0
- package/lib/esm/components/backoffice/tools/parseToolJson.js +13 -0
- package/lib/esm/components/backoffice/tools/parseToolJson.js.map +1 -0
- package/lib/esm/filters/filterHelpers.js +26 -0
- package/lib/esm/filters/filterHelpers.js.map +1 -0
- package/lib/esm/hooks/useAuth.js +444 -0
- package/lib/esm/hooks/useAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeAuth.js +89 -0
- package/lib/esm/hooks/useBackofficeAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js +39 -0
- package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js.map +1 -0
- package/lib/esm/hooks/useBackofficeListRefetch.js +50 -0
- package/lib/esm/hooks/useBackofficeListRefetch.js.map +1 -0
- package/lib/esm/{useBackofficeListUrlState-Ca6d7uIN.js → hooks/useBackofficeListUrlState.js} +2 -2
- package/lib/esm/hooks/useBackofficeListUrlState.js.map +1 -0
- package/lib/esm/hooks/useBackofficeLoadMore.js +18 -0
- package/lib/esm/hooks/useBackofficeLoadMore.js.map +1 -0
- package/lib/esm/hooks/useBackofficeSessionAuth.js +33 -0
- package/lib/esm/hooks/useBackofficeSessionAuth.js.map +1 -0
- package/lib/esm/hooks/useBackofficeSidebarPins.js +89 -0
- package/lib/esm/hooks/useBackofficeSidebarPins.js.map +1 -0
- package/lib/esm/hooks/useConditionalSubscription.js +63 -0
- package/lib/esm/hooks/useConditionalSubscription.js.map +1 -0
- package/lib/esm/hooks/useCopyToClipboard.js +31 -0
- package/lib/esm/hooks/useCopyToClipboard.js.map +1 -0
- package/lib/esm/hooks/useInfiniteConnection.js +95 -0
- package/lib/esm/hooks/useInfiniteConnection.js.map +1 -0
- package/lib/esm/hooks/useRefetchNeededReload.js +23 -0
- package/lib/esm/hooks/useRefetchNeededReload.js.map +1 -0
- package/lib/esm/hooks/useSidebarGroupCollapse.js +70 -0
- package/lib/esm/hooks/useSidebarGroupCollapse.js.map +1 -0
- package/lib/esm/i18n/createI18nInstance.js +68 -0
- package/lib/esm/i18n/createI18nInstance.js.map +1 -0
- package/lib/esm/i18n/locales/en/backofficeReact.js +436 -0
- package/lib/esm/i18n/locales/en/backofficeReact.js.map +1 -0
- package/lib/esm/i18n/locales/fr/backofficeReact.js +439 -0
- package/lib/esm/i18n/locales/fr/backofficeReact.js.map +1 -0
- package/lib/esm/i18n/mergeResourceLanguages.js +22 -0
- package/lib/esm/i18n/mergeResourceLanguages.js.map +1 -0
- package/lib/esm/i18n/resources.js +23 -0
- package/lib/esm/i18n/resources.js.map +1 -0
- package/lib/esm/i18n/useBackofficeFormats.js +23 -0
- package/lib/esm/i18n/useBackofficeFormats.js.map +1 -0
- package/lib/esm/i18n/useBackofficeReactTranslation.js +9 -0
- package/lib/esm/i18n/useBackofficeReactTranslation.js.map +1 -0
- package/lib/esm/i18n/useReviewStatusLabel.js +19 -0
- package/lib/esm/i18n/useReviewStatusLabel.js.map +1 -0
- package/lib/esm/index.js +73 -0
- package/lib/esm/modules/base64.js +21 -0
- package/lib/esm/modules/base64.js.map +1 -0
- package/lib/esm/modules/formatFileSize.js +28 -0
- package/lib/esm/modules/formatFileSize.js.map +1 -0
- package/lib/esm/modules/sharedSchemaTypes.js +0 -0
- package/lib/esm/modules/webauthn.js +33 -0
- package/lib/esm/modules/webauthn.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +15 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayLikeToArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +15 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/defineProperty.js +20 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/defineProperty.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/interopRequireDefault.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/iterableToArray.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/iterableToArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/nonIterableSpread.js +13 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/nonIterableSpread.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectSpread2.js +33 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectSpread2.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +19 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toConsumableArray.js +18 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toConsumableArray.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPrimitive.js +22 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPrimitive.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPropertyKey.js +17 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/toPropertyKey.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/typeof.js +18 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/typeof.js.map +1 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +19 -0
- package/lib/esm/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js.map +1 -0
- package/lib/esm/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +80 -0
- package/lib/esm/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js.map +1 -0
- package/lib/esm/node_modules/fbjs/lib/areEqual.js +42 -0
- package/lib/esm/node_modules/fbjs/lib/areEqual.js.map +1 -0
- package/lib/esm/node_modules/invariant/browser.js +30 -0
- package/lib/esm/node_modules/invariant/browser.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/index.js +11 -0
- package/lib/esm/node_modules/relay-test-utils/index.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayMockPayloadGenerator.js +288 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayMockPayloadGenerator.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayModernMockEnvironment.js +183 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayModernMockEnvironment.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayResolverTestUtils.js +19 -0
- package/lib/esm/node_modules/relay-test-utils/lib/RelayResolverTestUtils.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/index.js +21 -0
- package/lib/esm/node_modules/relay-test-utils/lib/index.js.map +1 -0
- package/lib/esm/node_modules/relay-test-utils/lib/unwrapContainer.js +16 -0
- package/lib/esm/node_modules/relay-test-utils/lib/unwrapContainer.js.map +1 -0
- package/lib/esm/pages/BackofficeAcceptInvitationPage.js +24 -0
- package/lib/esm/pages/BackofficeAcceptInvitationPage.js.map +1 -0
- package/lib/esm/pages/BackofficeDashboardPage.helpers.js +18 -0
- package/lib/esm/pages/BackofficeDashboardPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeDashboardPage.js +266 -0
- package/lib/esm/pages/BackofficeDashboardPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +18 -0
- package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.helpers.js +14 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.js +474 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js +414 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js → pages/BackofficeEntityDetailUnknownPageRedirect.js} +3 -3
- package/lib/esm/pages/BackofficeEntityDetailUnknownPageRedirect.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityListPage.helpers.js +37 -0
- package/lib/esm/pages/BackofficeEntityListPage.helpers.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityListPage.js +381 -0
- package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -0
- package/lib/esm/{BackofficeHubPage-DOePQ8Fc.js → pages/BackofficeHubPage.js} +29 -28
- package/lib/esm/pages/BackofficeHubPage.js.map +1 -0
- package/lib/esm/pages/BackofficeLayoutPage.js +273 -0
- package/lib/esm/pages/BackofficeLayoutPage.js.map +1 -0
- package/lib/esm/pages/BackofficeLoginPage.js +47 -0
- package/lib/esm/pages/BackofficeLoginPage.js.map +1 -0
- package/lib/esm/{BackofficePasswordResetCompletePage-Cit5sdDm.js → pages/BackofficePasswordResetCompletePage.js} +16 -15
- package/lib/esm/pages/BackofficePasswordResetCompletePage.js.map +1 -0
- package/lib/esm/{BackofficePasswordResetRequestPage-B_TurHev.js → pages/BackofficePasswordResetRequestPage.js} +12 -12
- package/lib/esm/pages/BackofficePasswordResetRequestPage.js.map +1 -0
- package/lib/esm/{BackofficeVerifyEmailPage-DQbFIob1.js → pages/BackofficeVerifyEmailPage.js} +16 -15
- package/lib/esm/pages/BackofficeVerifyEmailPage.js.map +1 -0
- package/lib/esm/pages/backofficeDashboardPage.css.js +7 -0
- package/lib/esm/pages/backofficeDashboardPage.css.js.map +1 -0
- package/lib/esm/pages/backofficeEntityDetailPage.css.js +7 -0
- package/lib/esm/pages/backofficeEntityDetailPage.css.js.map +1 -0
- package/lib/esm/pages/backofficeEntityListPage.css.js +7 -0
- package/lib/esm/pages/backofficeEntityListPage.css.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardMetricGroup.js +25 -0
- package/lib/esm/pages/dashboard/DashboardMetricGroup.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardPanel.js +15 -0
- package/lib/esm/pages/dashboard/DashboardPanel.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardQuickActions.js +27 -0
- package/lib/esm/pages/dashboard/DashboardQuickActions.js.map +1 -0
- package/lib/esm/pages/dashboard/DashboardStatusList.js +28 -0
- package/lib/esm/pages/dashboard/DashboardStatusList.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardMetricGroup.css.js +8 -0
- package/lib/esm/pages/dashboard/dashboardMetricGroup.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardPanel.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardPanel.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardQuickActions.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardQuickActions.css.js.map +1 -0
- package/lib/esm/pages/dashboard/dashboardStatusList.css.js +7 -0
- package/lib/esm/pages/dashboard/dashboardStatusList.css.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailLayoutContext-C5G-PH28.js → pages/detail/BackofficeEntityDetailLayoutContext.js} +2 -2
- package/lib/esm/pages/detail/BackofficeEntityDetailLayoutContext.js.map +1 -0
- package/lib/esm/pages/detail/buildTabsItems.js +10 -0
- package/lib/esm/pages/detail/buildTabsItems.js.map +1 -0
- package/lib/esm/{pageResolution-CUaTq4Ql.js → pages/detail/pageResolution.js} +2 -2
- package/lib/esm/pages/detail/pageResolution.js.map +1 -0
- package/lib/esm/provider/BackofficeConfigContext.js +12 -0
- package/lib/esm/provider/BackofficeConfigContext.js.map +1 -0
- package/lib/esm/provider/BackofficeProvider.js +171 -0
- package/lib/esm/provider/BackofficeProvider.js.map +1 -0
- package/lib/esm/provider/entityRegistry.js +95 -0
- package/lib/esm/provider/entityRegistry.js.map +1 -0
- package/lib/esm/provider/lazyValue.js +14 -0
- package/lib/esm/provider/lazyValue.js.map +1 -0
- package/lib/esm/provider/types.js +0 -0
- package/lib/esm/provider/useBackofficeEntityLoader.js +141 -0
- package/lib/esm/provider/useBackofficeEntityLoader.js.map +1 -0
- package/lib/esm/{useBackofficeLazyValue-CW9xfRzQ.js → provider/useBackofficeLazyValue.js} +15 -7
- package/lib/esm/provider/useBackofficeLazyValue.js.map +1 -0
- package/lib/esm/relay/RelayProvider.js +13 -0
- package/lib/esm/relay/RelayProvider.js.map +1 -0
- package/lib/esm/relay/connectionUtils.js +19 -0
- package/lib/esm/relay/connectionUtils.js.map +1 -0
- package/lib/esm/relay/createInlineDataReader.js +2 -0
- package/lib/esm/relay/createInlineReader.js +7 -0
- package/lib/esm/relay/createInlineReader.js.map +1 -0
- package/lib/esm/relay/envHelpers.js +55 -0
- package/lib/esm/relay/envHelpers.js.map +1 -0
- package/lib/esm/{environment-DQfVyWHJ.js → relay/environment.js} +90 -100
- package/lib/esm/relay/environment.js.map +1 -0
- package/lib/esm/relay/identityView.js +6 -0
- package/lib/esm/relay/identityView.js.map +1 -0
- package/lib/esm/{mutationResult-C2Vb_vPt.js → relay/mutationResult.js} +2 -2
- package/lib/esm/relay/mutationResult.js.map +1 -0
- package/lib/esm/{useRelayEnvironment-vQ86aW-n.js → relay/useRelayEnvironment.js} +2 -2
- package/lib/esm/relay/useRelayEnvironment.js.map +1 -0
- package/lib/esm/{backofficeAuthPaths-2hHNn8D3.js → router/backofficeAuthPaths.js} +2 -2
- package/lib/esm/router/backofficeAuthPaths.js.map +1 -0
- package/lib/esm/router/createBackofficeRoutes.js +322 -0
- package/lib/esm/router/createBackofficeRoutes.js.map +1 -0
- package/lib/esm/storybook/relay/RelayStory.css.js +7 -0
- package/lib/esm/storybook/relay/RelayStory.css.js.map +1 -0
- package/lib/esm/storybook/relay/RelayStory.js +86 -0
- package/lib/esm/storybook/relay/RelayStory.js.map +1 -0
- package/lib/esm/storybook/relay/mockResolvers.js +99 -0
- package/lib/esm/storybook/relay/mockResolvers.js.map +1 -0
- package/lib/esm/storybook/relay/relay-test-utils.d.js +0 -0
- package/lib/esm/style.css +1 -1
- package/lib/esm/style.js +1 -0
- package/lib/esm/subscriptions/useCursorResumableSubscription.js +29 -0
- package/lib/esm/subscriptions/useCursorResumableSubscription.js.map +1 -0
- package/lib/types/auth/AuthRefreshNotice.d.ts +14 -0
- package/lib/types/auth/AuthRefreshNotice.d.ts.map +1 -0
- package/lib/types/auth/TotpQrCode.d.ts +17 -0
- package/lib/types/auth/TotpQrCode.d.ts.map +1 -0
- package/lib/types/auth/authRefreshNotice.css.d.ts +4 -0
- package/lib/types/auth/authRefreshNotice.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeAuditMetadataPanel.d.ts +19 -0
- package/lib/types/components/backoffice/detail/BackofficeAuditMetadataPanel.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEntityRefLink.d.ts +15 -0
- package/lib/types/components/backoffice/detail/BackofficeEntityRefLink.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts +34 -0
- package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeEnumLabel.d.ts +9 -0
- package/lib/types/components/backoffice/detail/BackofficeEnumLabel.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeKpiStrip.d.ts +17 -0
- package/lib/types/components/backoffice/detail/BackofficeKpiStrip.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeLifecycleTimelineSection.d.ts +20 -0
- package/lib/types/components/backoffice/detail/BackofficeLifecycleTimelineSection.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficePayloadInspectorSection.d.ts +15 -0
- package/lib/types/components/backoffice/detail/BackofficePayloadInspectorSection.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeReferenceValue.d.ts +9 -0
- package/lib/types/components/backoffice/detail/BackofficeReferenceValue.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts +17 -0
- package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeScopeStack.d.ts +13 -0
- package/lib/types/components/backoffice/detail/BackofficeScopeStack.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeStatusMetaBadge.d.ts +13 -0
- package/lib/types/components/backoffice/detail/BackofficeStatusMetaBadge.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeTokenUsageBreakdown.d.ts +18 -0
- package/lib/types/components/backoffice/detail/BackofficeTokenUsageBreakdown.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts +31 -0
- package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeAuditMetadataPanel.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeAuditMetadataPanel.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeEntitySummaryHeader.css.d.ts +12 -0
- package/lib/types/components/backoffice/detail/backofficeEntitySummaryHeader.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeKpiStrip.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeKpiStrip.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeLifecycleTimelineSection.css.d.ts +3 -0
- package/lib/types/components/backoffice/detail/backofficeLifecycleTimelineSection.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficePayloadInspectorSection.css.d.ts +4 -0
- package/lib/types/components/backoffice/detail/backofficePayloadInspectorSection.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeReferenceValue.css.d.ts +3 -0
- package/lib/types/components/backoffice/detail/backofficeReferenceValue.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeRelationsSummaryGrid.css.d.ts +6 -0
- package/lib/types/components/backoffice/detail/backofficeRelationsSummaryGrid.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeScopeStack.css.d.ts +5 -0
- package/lib/types/components/backoffice/detail/backofficeScopeStack.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeStatusMetaBadge.css.d.ts +2 -0
- package/lib/types/components/backoffice/detail/backofficeStatusMetaBadge.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/backofficeUsageCostBreakdown.css.d.ts +7 -0
- package/lib/types/components/backoffice/detail/backofficeUsageCostBreakdown.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/detail/createBackofficeEntityLinkProps.d.ts +30 -0
- package/lib/types/components/backoffice/detail/createBackofficeEntityLinkProps.d.ts.map +1 -0
- package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.stories.d.ts +12 -0
- package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/filters/EntityIdFilterField.stories.d.ts +12 -0
- package/lib/types/components/backoffice/filters/EntityIdFilterField.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/overview/BackofficeOverviewLayout.stories.d.ts +11 -0
- package/lib/types/components/backoffice/overview/BackofficeOverviewLayout.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/refs/BackofficeEntityLink.d.ts +15 -0
- package/lib/types/components/backoffice/refs/BackofficeEntityLink.d.ts.map +1 -0
- package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.stories.d.ts +11 -0
- package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.stories.d.ts.map +1 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedCurrency.d.ts +9 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedCurrency.d.ts.map +1 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedNumber.d.ts +9 -0
- package/lib/types/components/backoffice/shared/BackofficeFormattedNumber.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsDocPanel.d.ts +11 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsDocPanel.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsErrorFallback.d.ts +8 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsErrorFallback.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts +15 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsQueryBoundary.d.ts +7 -0
- package/lib/types/components/backoffice/tools/BackofficeToolsQueryBoundary.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts +8 -0
- package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsForm.css.d.ts +7 -0
- package/lib/types/components/backoffice/tools/backofficeToolsForm.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/backofficeToolsJsonForm.css.d.ts +4 -0
- package/lib/types/components/backoffice/tools/backofficeToolsJsonForm.css.d.ts.map +1 -0
- package/lib/types/components/backoffice/tools/parseToolJson.d.ts +2 -0
- package/lib/types/components/backoffice/tools/parseToolJson.d.ts.map +1 -0
- package/lib/types/hooks/useInfiniteConnection.d.ts +37 -0
- package/lib/types/hooks/useInfiniteConnection.d.ts.map +1 -0
- package/lib/types/i18n/resources.d.ts +54 -0
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/lib/types/index.d.ts +28 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/relay/connectionUtils.d.ts +10 -0
- package/lib/types/relay/connectionUtils.d.ts.map +1 -0
- package/lib/types/storybook/relay/RelayStory.css.d.ts +5 -0
- package/lib/types/storybook/relay/RelayStory.css.d.ts.map +1 -0
- package/lib/types/storybook/relay/RelayStory.d.ts +35 -0
- package/lib/types/storybook/relay/RelayStory.d.ts.map +1 -0
- package/lib/types/storybook/relay/mockResolvers.d.ts +3 -0
- package/lib/types/storybook/relay/mockResolvers.d.ts.map +1 -0
- package/lib/types/subscriptions/useCursorResumableSubscription.d.ts +16 -0
- package/lib/types/subscriptions/useCursorResumableSubscription.d.ts.map +1 -0
- package/package.json +24 -9
- package/lib/esm/AcceptInvitationScreen-VaWXQPHp.js.map +0 -1
- package/lib/esm/AuthPanel-BaIRFGbX.js.map +0 -1
- package/lib/esm/BackofficeAcceptInvitationPage-tpfBfhT9.js +0 -24
- package/lib/esm/BackofficeAcceptInvitationPage-tpfBfhT9.js.map +0 -1
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js +0 -329
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js.map +0 -1
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js +0 -98
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailLayoutContext-C5G-PH28.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailLayoutPage-BSgGBzSL.js +0 -18
- package/lib/esm/BackofficeEntityDetailLayoutPage-BSgGBzSL.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailPage-LB1uEJVM.js +0 -1061
- package/lib/esm/BackofficeEntityDetailPage-LB1uEJVM.js.map +0 -1
- package/lib/esm/BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js.map +0 -1
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js +0 -432
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js.map +0 -1
- package/lib/esm/BackofficeHubPage-DOePQ8Fc.js.map +0 -1
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js +0 -82
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js.map +0 -1
- package/lib/esm/BackofficeLayoutPage-Bq2bKkYF.js +0 -783
- package/lib/esm/BackofficeLayoutPage-Bq2bKkYF.js.map +0 -1
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js +0 -109
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js.map +0 -1
- package/lib/esm/BackofficeLoginPage-DIlcOueK.js +0 -46
- package/lib/esm/BackofficeLoginPage-DIlcOueK.js.map +0 -1
- package/lib/esm/BackofficePasswordResetCompletePage-Cit5sdDm.js.map +0 -1
- package/lib/esm/BackofficePasswordResetRequestPage-B_TurHev.js.map +0 -1
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js +0 -83
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js.map +0 -1
- package/lib/esm/BackofficeTopbarPortalContext-Da5XFatM.js.map +0 -1
- package/lib/esm/BackofficeVerifyEmailPage-DQbFIob1.js.map +0 -1
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js +0 -340
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js.map +0 -1
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js +0 -670
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js.map +0 -1
- package/lib/esm/PasswordResetCompleteScreen-Cgg96DPo.js.map +0 -1
- package/lib/esm/PasswordResetRequestScreen-I1nFvGLd.js.map +0 -1
- package/lib/esm/VerifyEmailScreen-Br5KyHjg.js.map +0 -1
- package/lib/esm/backoffice-react.js +0 -1925
- package/lib/esm/backoffice-react.js.map +0 -1
- package/lib/esm/backofficeAuthPaths-2hHNn8D3.js.map +0 -1
- package/lib/esm/buildBreadcrumbs-C5St167Y.js.map +0 -1
- package/lib/esm/environment-DQfVyWHJ.js.map +0 -1
- package/lib/esm/loginPage.css-B7Io_DuU.js +0 -6
- package/lib/esm/loginPage.css-B7Io_DuU.js.map +0 -1
- package/lib/esm/mutationResult-C2Vb_vPt.js.map +0 -1
- package/lib/esm/pageResolution-CUaTq4Ql.js.map +0 -1
- package/lib/esm/synchronizeAuthStatusQuery-DNJR5MfH.js +0 -323
- package/lib/esm/synchronizeAuthStatusQuery-DNJR5MfH.js.map +0 -1
- package/lib/esm/useAuth-CWf8ZspF.js +0 -548
- package/lib/esm/useAuth-CWf8ZspF.js.map +0 -1
- package/lib/esm/useBackofficeAuth-Da7FPNys.js +0 -89
- package/lib/esm/useBackofficeAuth-Da7FPNys.js.map +0 -1
- package/lib/esm/useBackofficeLazyValue-CW9xfRzQ.js.map +0 -1
- package/lib/esm/useBackofficeListUrlState-Ca6d7uIN.js.map +0 -1
- package/lib/esm/useBackofficeReactTranslation-Btt58EIo.js +0 -18
- package/lib/esm/useBackofficeReactTranslation-Btt58EIo.js.map +0 -1
- package/lib/esm/useRelayEnvironment-vQ86aW-n.js.map +0 -1
|
@@ -1,783 +0,0 @@
|
|
|
1
|
-
import { o as e } from "./environment-DQfVyWHJ.js";
|
|
2
|
-
import { t } from "./useRelayEnvironment-vQ86aW-n.js";
|
|
3
|
-
import { r as n, t as r } from "./useBackofficeReactTranslation-Btt58EIo.js";
|
|
4
|
-
import { a as i, c as a, i as o, n as s, o as c, r as l, s as u, t as d, u as f } from "./sidebarUtils-BgCBLJLv.js";
|
|
5
|
-
import { t as p } from "./BackofficeErrorBoundary-BwRVSDHU.js";
|
|
6
|
-
import { t as m } from "./BackofficeTopbarPortalContext-Da5XFatM.js";
|
|
7
|
-
import { t as h } from "./backofficeAuthPaths-2hHNn8D3.js";
|
|
8
|
-
import { t as g } from "./BackofficePermissionsContext-C2bdxy2z.js";
|
|
9
|
-
import { Suspense as _, useCallback as v, useContext as ee, useEffect as y, useMemo as b, useState as x } from "react";
|
|
10
|
-
import { useTranslation as S } from "react-i18next";
|
|
11
|
-
import { RoutingContext as te, useLocation as ne } from "@plumile/router";
|
|
12
|
-
import { AdminShellLayout as re, BackofficeSidebarHistorySvg as C, BackofficeSidebarProfileMenu as w, Button as T, EnvironmentBadge as E, GlobalSearchInput as D, GripDotsSvg as O, InlineBanner as k, PinFilledSvg as A, PinSvg as j, SidebarHomeSvg as ie, SidebarTasksSvg as M, Skeleton as N, ToastProvider as P } from "@plumile/ui";
|
|
13
|
-
import { commitMutation as F, usePreloadedQuery as I } from "react-relay";
|
|
14
|
-
import { jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
15
|
-
//#region src/hooks/useBackofficeSidebarPins.ts
|
|
16
|
-
var z = "backoffice.sidebar.pins.v1", B = (e) => {
|
|
17
|
-
if (typeof window > "u") return [];
|
|
18
|
-
try {
|
|
19
|
-
let t = window.localStorage.getItem(e);
|
|
20
|
-
if (t == null) return [];
|
|
21
|
-
let n = JSON.parse(t);
|
|
22
|
-
return Array.isArray(n) ? n.filter((e) => typeof e == "string") : [];
|
|
23
|
-
} catch {
|
|
24
|
-
return [];
|
|
25
|
-
}
|
|
26
|
-
}, V = (e, t) => {
|
|
27
|
-
let n = [], r = /* @__PURE__ */ new Set();
|
|
28
|
-
return e.forEach((e) => {
|
|
29
|
-
t.has(e) && (r.has(e) || (r.add(e), n.push(e)));
|
|
30
|
-
}), n;
|
|
31
|
-
}, ae = (e) => {
|
|
32
|
-
let { enabled: t = !0, storageKey: n = z, visibleEntityIds: r } = e, i = b(() => new Set(r), [r]), [a, o] = x(() => t ? V(B(n), i) : []);
|
|
33
|
-
y(() => {
|
|
34
|
-
if (!t) {
|
|
35
|
-
o([]);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
o((e) => {
|
|
39
|
-
let t = V(e, i);
|
|
40
|
-
if (t.length === e.length) {
|
|
41
|
-
let n = !0;
|
|
42
|
-
for (let r = 0; r < t.length; r += 1) if (t[r] !== e[r]) {
|
|
43
|
-
n = !1;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
if (n) return e;
|
|
47
|
-
}
|
|
48
|
-
return t;
|
|
49
|
-
});
|
|
50
|
-
}, [t, i]), y(() => {
|
|
51
|
-
if (!t) {
|
|
52
|
-
o([]);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
o(V(B(n), i));
|
|
56
|
-
}, [
|
|
57
|
-
t,
|
|
58
|
-
n,
|
|
59
|
-
i
|
|
60
|
-
]), y(() => {
|
|
61
|
-
if (!(!t || typeof window > "u")) try {
|
|
62
|
-
window.localStorage.setItem(n, JSON.stringify(a));
|
|
63
|
-
} catch {}
|
|
64
|
-
}, [
|
|
65
|
-
t,
|
|
66
|
-
a,
|
|
67
|
-
n
|
|
68
|
-
]);
|
|
69
|
-
let s = b(() => new Set(a), [a]), c = v((e) => {
|
|
70
|
-
t && i.has(e) && o((t) => t.includes(e) ? t : [...t, e]);
|
|
71
|
-
}, [t, i]), l = v((e) => {
|
|
72
|
-
t && o((t) => t.filter((t) => t !== e));
|
|
73
|
-
}, [t]), u = v((e) => {
|
|
74
|
-
s.has(e) ? l(e) : c(e);
|
|
75
|
-
}, [
|
|
76
|
-
c,
|
|
77
|
-
s,
|
|
78
|
-
l
|
|
79
|
-
]), d = v((e, n) => {
|
|
80
|
-
t && e !== n && o((t) => {
|
|
81
|
-
let r = t.indexOf(e), i = t.indexOf(n);
|
|
82
|
-
if (r === -1 || i === -1 || r === i) return t;
|
|
83
|
-
let a = [...t];
|
|
84
|
-
return a.splice(r, 1), a.splice(i, 0, e), a;
|
|
85
|
-
});
|
|
86
|
-
}, [t]);
|
|
87
|
-
return {
|
|
88
|
-
pins: a,
|
|
89
|
-
isPinned: v((e) => s.has(e), [s]),
|
|
90
|
-
pin: c,
|
|
91
|
-
unpin: l,
|
|
92
|
-
toggle: u,
|
|
93
|
-
reorder: d
|
|
94
|
-
};
|
|
95
|
-
}, oe = (e) => {
|
|
96
|
-
if (e == null || typeof window > "u") return null;
|
|
97
|
-
try {
|
|
98
|
-
let t = window.localStorage.getItem(e);
|
|
99
|
-
if (t == null) return null;
|
|
100
|
-
let n = JSON.parse(t);
|
|
101
|
-
if (typeof n != "object" || !n) return null;
|
|
102
|
-
let r = {};
|
|
103
|
-
return Object.entries(n).forEach(([e, t]) => {
|
|
104
|
-
typeof t == "boolean" && (r[e] = t);
|
|
105
|
-
}), r;
|
|
106
|
-
} catch {
|
|
107
|
-
return null;
|
|
108
|
-
}
|
|
109
|
-
}, H = (e, t, n) => {
|
|
110
|
-
let r = {};
|
|
111
|
-
return e.forEach((e) => {
|
|
112
|
-
r[e] = n?.[e] ?? !0;
|
|
113
|
-
}), t != null && e.includes(t) && (r[t] = !1), r;
|
|
114
|
-
}, se = (e) => {
|
|
115
|
-
let { activeGroupId: t, defaultCollapsedByGroupId: n, groupIds: r, persist: i = !1, storageKey: a } = e, o = b(() => [...r], [r]), [s, c] = x(() => {
|
|
116
|
-
if (i) {
|
|
117
|
-
let e = oe(a);
|
|
118
|
-
if (e != null) return {
|
|
119
|
-
...H(o, t, n),
|
|
120
|
-
...e
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
return H(o, t, n);
|
|
124
|
-
});
|
|
125
|
-
return y(() => {
|
|
126
|
-
c((e) => {
|
|
127
|
-
let r = {};
|
|
128
|
-
return o.forEach((t) => {
|
|
129
|
-
r[t] = e[t] ?? n?.[t] ?? !0;
|
|
130
|
-
}), t != null && o.includes(t) && (r[t] = !1), r;
|
|
131
|
-
});
|
|
132
|
-
}, [
|
|
133
|
-
t,
|
|
134
|
-
n,
|
|
135
|
-
o
|
|
136
|
-
]), y(() => {
|
|
137
|
-
if (!(!i || a == null || typeof window > "u")) try {
|
|
138
|
-
window.localStorage.setItem(a, JSON.stringify(s));
|
|
139
|
-
} catch {}
|
|
140
|
-
}, [
|
|
141
|
-
s,
|
|
142
|
-
i,
|
|
143
|
-
a
|
|
144
|
-
]), y(() => {
|
|
145
|
-
t != null && c((e) => e[t] === !1 ? e : {
|
|
146
|
-
...e,
|
|
147
|
-
[t]: !1
|
|
148
|
-
});
|
|
149
|
-
}, [t]), {
|
|
150
|
-
collapsedByGroupId: s,
|
|
151
|
-
setCollapsed: v((e, t) => {
|
|
152
|
-
c((n) => n[e] === t ? n : {
|
|
153
|
-
...n,
|
|
154
|
-
[e]: t
|
|
155
|
-
});
|
|
156
|
-
}, [])
|
|
157
|
-
};
|
|
158
|
-
}, U = "_1xws1b00 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxp txvbqbc6p txvbqb1rg txvbqb12g txvbqb1py txvbqblag txvbqbv0t txvbqbva1 txvbqbv txvbqb78 txvbqb6x txvbqb7k", W = (e, t, n = 18) => e == null ? t ?? null : /* @__PURE__ */ L(e, {
|
|
159
|
-
width: n,
|
|
160
|
-
height: n,
|
|
161
|
-
"aria-hidden": "true"
|
|
162
|
-
});
|
|
163
|
-
function ce(e) {
|
|
164
|
-
let { basePath: t, pathname: n, entities: r, sidebar: l, permissions: f, searchQuery: p, tApp: m, t: h, pinnedEntityIds: g = [], recentItems: _ = [], onTogglePin: v, onReorderPin: ee, collapsedByGroupId: y, onGroupCollapsedChange: b, sidebarCollapsed: x = !1 } = e, S = u(r, l), te = Object.entries(S), ne = new Set(g), re = h("sidebar.actions.pin"), w = h("sidebar.actions.unpin"), T = h("sidebar.actions.reorder"), E = d(S, l), D = p?.trim().toLowerCase() ?? "", k = (e) => D === "" || e.toLowerCase().includes(D), N = (e) => {
|
|
165
|
-
if (v == null) return null;
|
|
166
|
-
let t = ne.has(e), n = re, r = j;
|
|
167
|
-
return t && (n = w, r = A), /* @__PURE__ */ L("button", {
|
|
168
|
-
type: "button",
|
|
169
|
-
className: U,
|
|
170
|
-
"aria-pressed": t,
|
|
171
|
-
"aria-label": n,
|
|
172
|
-
title: n,
|
|
173
|
-
onClick: (t) => {
|
|
174
|
-
t.preventDefault(), t.stopPropagation(), v(e);
|
|
175
|
-
},
|
|
176
|
-
children: /* @__PURE__ */ L(r, {
|
|
177
|
-
width: 14,
|
|
178
|
-
height: 14,
|
|
179
|
-
"aria-hidden": "true"
|
|
180
|
-
})
|
|
181
|
-
});
|
|
182
|
-
}, P = (e) => {
|
|
183
|
-
if (l?.isItemVisible?.({
|
|
184
|
-
kind: "dashboard",
|
|
185
|
-
id: "dashboard"
|
|
186
|
-
}, f) === !1) return null;
|
|
187
|
-
let r = h("sidebar.items.dashboard");
|
|
188
|
-
return k(r) ? {
|
|
189
|
-
id: "dashboard",
|
|
190
|
-
data: {
|
|
191
|
-
kind: "dashboard",
|
|
192
|
-
id: "dashboard",
|
|
193
|
-
groupId: e
|
|
194
|
-
},
|
|
195
|
-
label: r,
|
|
196
|
-
href: t,
|
|
197
|
-
icon: W(void 0, /* @__PURE__ */ L(ie, {
|
|
198
|
-
width: 18,
|
|
199
|
-
height: 18,
|
|
200
|
-
"aria-hidden": "true"
|
|
201
|
-
})),
|
|
202
|
-
isActive: s(n, t),
|
|
203
|
-
ariaLabel: r
|
|
204
|
-
} : null;
|
|
205
|
-
}, F = (e) => {
|
|
206
|
-
let { entityId: t, groupId: i, groupIcon: a, itemIcon: o, itemLabel: u, enableReorder: d } = e, p = r[t];
|
|
207
|
-
if (p == null) return null;
|
|
208
|
-
let h = {
|
|
209
|
-
kind: "entity",
|
|
210
|
-
id: t
|
|
211
|
-
};
|
|
212
|
-
if (p.kind === "tool" && (h = {
|
|
213
|
-
kind: "tool",
|
|
214
|
-
id: t
|
|
215
|
-
}), l?.isItemVisible?.(h, f) === !1) return null;
|
|
216
|
-
if (p.kind === "tool") {
|
|
217
|
-
let e = u ?? c(p.label, m);
|
|
218
|
-
return D !== "" && !e.toLowerCase().includes(D) ? null : {
|
|
219
|
-
id: `tool-${t}`,
|
|
220
|
-
data: {
|
|
221
|
-
kind: "tool",
|
|
222
|
-
id: t,
|
|
223
|
-
groupId: i
|
|
224
|
-
},
|
|
225
|
-
label: e,
|
|
226
|
-
href: p.routes.list,
|
|
227
|
-
icon: W(o ?? a, /* @__PURE__ */ L(M, {
|
|
228
|
-
width: 18,
|
|
229
|
-
height: 18,
|
|
230
|
-
"aria-hidden": "true"
|
|
231
|
-
})),
|
|
232
|
-
isActive: s(n, p.routes.list),
|
|
233
|
-
ariaLabel: e,
|
|
234
|
-
actionSlot: N(t)
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
if (!p.hasList) return null;
|
|
238
|
-
let g = u ?? c(p.label, m);
|
|
239
|
-
if (D !== "" && !g.toLowerCase().includes(D)) return null;
|
|
240
|
-
let _, v, y, b, x = !1;
|
|
241
|
-
d === !0 && ee != null && (x = !0, _ = /* @__PURE__ */ L(O, {
|
|
242
|
-
width: 14,
|
|
243
|
-
height: 14,
|
|
244
|
-
"aria-hidden": "true"
|
|
245
|
-
}), v = (e) => {
|
|
246
|
-
let { dataTransfer: n } = e;
|
|
247
|
-
n.effectAllowed = "move", n.setData("text/plain", t);
|
|
248
|
-
}, y = (e) => {
|
|
249
|
-
e.preventDefault();
|
|
250
|
-
let { dataTransfer: t } = e;
|
|
251
|
-
t.dropEffect = "move";
|
|
252
|
-
}, b = (e) => {
|
|
253
|
-
e.preventDefault();
|
|
254
|
-
let n = e.dataTransfer.getData("text/plain");
|
|
255
|
-
n === "" || n === t || ee(n, t);
|
|
256
|
-
});
|
|
257
|
-
let S;
|
|
258
|
-
return _ != null && (S = T), {
|
|
259
|
-
id: t,
|
|
260
|
-
data: {
|
|
261
|
-
kind: "entity",
|
|
262
|
-
id: t,
|
|
263
|
-
groupId: i
|
|
264
|
-
},
|
|
265
|
-
label: g,
|
|
266
|
-
href: p.routes.list,
|
|
267
|
-
icon: W(o ?? a, /* @__PURE__ */ L(M, {
|
|
268
|
-
width: 18,
|
|
269
|
-
height: 18,
|
|
270
|
-
"aria-hidden": "true"
|
|
271
|
-
})),
|
|
272
|
-
isActive: s(n, p.routes.list),
|
|
273
|
-
ariaLabel: g,
|
|
274
|
-
actionSlot: N(t),
|
|
275
|
-
dragHandleSlot: _,
|
|
276
|
-
dragHandleLabel: S,
|
|
277
|
-
draggable: x,
|
|
278
|
-
onDragStart: v,
|
|
279
|
-
onDragOver: y,
|
|
280
|
-
onDrop: b
|
|
281
|
-
};
|
|
282
|
-
}, I = (e) => {
|
|
283
|
-
let { hub: t, groupId: a, icon: o } = e, u = {
|
|
284
|
-
kind: "hub",
|
|
285
|
-
id: t.id
|
|
286
|
-
};
|
|
287
|
-
if (l?.isItemVisible?.(u, f) === !1) return null;
|
|
288
|
-
let d = i(t), p = d.map((e) => r[e] ?? null).filter((e) => {
|
|
289
|
-
if (e == null) return !1;
|
|
290
|
-
let t = "entity";
|
|
291
|
-
e.kind === "tool" && (t = "tool");
|
|
292
|
-
let n = {
|
|
293
|
-
kind: t,
|
|
294
|
-
id: e.id
|
|
295
|
-
};
|
|
296
|
-
return !(l?.isItemVisible?.(n, f) === !1 || e.kind !== "tool" && !e.hasList);
|
|
297
|
-
});
|
|
298
|
-
if (d.length > 0 && p.length === 0) return null;
|
|
299
|
-
let h = c(t.title, m), g = k(h), _ = p.some((e) => k(c(e.label, m)));
|
|
300
|
-
if (!g && !_) return null;
|
|
301
|
-
let v = s(n, t.href) || p.some((e) => s(n, e.routes.list));
|
|
302
|
-
return {
|
|
303
|
-
id: `hub-${t.id}`,
|
|
304
|
-
data: {
|
|
305
|
-
kind: "hub",
|
|
306
|
-
id: t.id,
|
|
307
|
-
groupId: a
|
|
308
|
-
},
|
|
309
|
-
label: h,
|
|
310
|
-
href: t.href,
|
|
311
|
-
icon: W(o, /* @__PURE__ */ L(M, {
|
|
312
|
-
width: 18,
|
|
313
|
-
height: 18,
|
|
314
|
-
"aria-hidden": "true"
|
|
315
|
-
})),
|
|
316
|
-
isActive: v,
|
|
317
|
-
ariaLabel: h
|
|
318
|
-
};
|
|
319
|
-
}, R = [], z = l?.primaryItems ?? [];
|
|
320
|
-
if (z.length > 0) {
|
|
321
|
-
let e = z.map((e) => {
|
|
322
|
-
if (e.kind === "dashboard") return P();
|
|
323
|
-
if (e.kind === "hub") return I({
|
|
324
|
-
hub: a(e, l),
|
|
325
|
-
icon: e.icon
|
|
326
|
-
});
|
|
327
|
-
let t;
|
|
328
|
-
return e.label != null && (t = c(e.label, m)), F({
|
|
329
|
-
entityId: e.id,
|
|
330
|
-
itemIcon: e.icon,
|
|
331
|
-
itemLabel: t
|
|
332
|
-
});
|
|
333
|
-
}).filter((e) => e != null);
|
|
334
|
-
e.length > 0 && R.push({
|
|
335
|
-
id: "primary",
|
|
336
|
-
items: e,
|
|
337
|
-
collapsible: !1
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
if (g.length > 0) {
|
|
341
|
-
let e = g.map((e) => {
|
|
342
|
-
let t = E.get(e);
|
|
343
|
-
return F({
|
|
344
|
-
entityId: e,
|
|
345
|
-
groupId: t?.groupId,
|
|
346
|
-
groupIcon: t?.groupIcon,
|
|
347
|
-
itemIcon: t?.itemIcon,
|
|
348
|
-
enableReorder: !0
|
|
349
|
-
});
|
|
350
|
-
}).filter((e) => e != null);
|
|
351
|
-
e.length > 0 && R.push({
|
|
352
|
-
id: "pinned",
|
|
353
|
-
title: h("sidebar.sections.pinned"),
|
|
354
|
-
icon: W(void 0, /* @__PURE__ */ L(j, {
|
|
355
|
-
width: 16,
|
|
356
|
-
height: 16,
|
|
357
|
-
"aria-hidden": "true"
|
|
358
|
-
})),
|
|
359
|
-
items: e,
|
|
360
|
-
collapsible: !1
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
if (_.length > 0) {
|
|
364
|
-
let e = _.map((e) => {
|
|
365
|
-
if (r[e.id] == null) return null;
|
|
366
|
-
let t = {
|
|
367
|
-
kind: e.kind,
|
|
368
|
-
id: e.id
|
|
369
|
-
};
|
|
370
|
-
if (l?.isItemVisible?.(t, f) === !1 || D !== "" && !e.label.toLowerCase().includes(D)) return null;
|
|
371
|
-
let i = E.get(e.id);
|
|
372
|
-
return {
|
|
373
|
-
id: `recent-${e.kind}-${e.id}`,
|
|
374
|
-
data: {
|
|
375
|
-
kind: e.kind,
|
|
376
|
-
id: e.id,
|
|
377
|
-
groupId: i?.groupId
|
|
378
|
-
},
|
|
379
|
-
label: e.label,
|
|
380
|
-
href: e.href,
|
|
381
|
-
icon: W(i?.itemIcon ?? i?.groupIcon, /* @__PURE__ */ L(M, {
|
|
382
|
-
width: 18,
|
|
383
|
-
height: 18,
|
|
384
|
-
"aria-hidden": "true"
|
|
385
|
-
})),
|
|
386
|
-
isActive: s(n, e.href),
|
|
387
|
-
ariaLabel: e.label
|
|
388
|
-
};
|
|
389
|
-
}).filter((e) => e != null);
|
|
390
|
-
e.length > 0 && R.push({
|
|
391
|
-
id: "recent",
|
|
392
|
-
title: h("sidebar.sections.recent"),
|
|
393
|
-
icon: W(void 0, /* @__PURE__ */ L(C, {
|
|
394
|
-
width: 16,
|
|
395
|
-
height: 16,
|
|
396
|
-
"aria-hidden": "true"
|
|
397
|
-
})),
|
|
398
|
-
items: e,
|
|
399
|
-
collapsible: !1
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
return te.forEach(([e, t]) => {
|
|
403
|
-
if (t.isVisible != null && !t.isVisible(f)) return;
|
|
404
|
-
let n = [], r = o(t);
|
|
405
|
-
r.length > 0 && r.forEach((r) => {
|
|
406
|
-
if (r.kind === "dashboard") {
|
|
407
|
-
let t = P(e);
|
|
408
|
-
t != null && n.push(t);
|
|
409
|
-
return;
|
|
410
|
-
}
|
|
411
|
-
if (r.kind === "hub") {
|
|
412
|
-
let i = I({
|
|
413
|
-
hub: a(r, l),
|
|
414
|
-
groupId: e,
|
|
415
|
-
icon: r.icon ?? t.icon
|
|
416
|
-
});
|
|
417
|
-
i != null && n.push(i);
|
|
418
|
-
return;
|
|
419
|
-
}
|
|
420
|
-
let i;
|
|
421
|
-
r.label != null && (i = c(r.label, m));
|
|
422
|
-
let o = F({
|
|
423
|
-
entityId: r.id,
|
|
424
|
-
groupId: e,
|
|
425
|
-
groupIcon: t.icon,
|
|
426
|
-
itemIcon: r.icon,
|
|
427
|
-
itemLabel: i
|
|
428
|
-
});
|
|
429
|
-
o != null && n.push(o);
|
|
430
|
-
});
|
|
431
|
-
let i = n;
|
|
432
|
-
if (x && t.behavior?.showInCollapsedRail !== !0 && (i = n.filter((e) => e.id === "dashboard" || e.isActive === !0)), i.length === 0) return;
|
|
433
|
-
let s;
|
|
434
|
-
t.title != null && (s = c(t.title, m));
|
|
435
|
-
let u = y?.[e], d;
|
|
436
|
-
b != null && (d = (t) => {
|
|
437
|
-
b(e, t);
|
|
438
|
-
}), R.push({
|
|
439
|
-
id: e,
|
|
440
|
-
title: s,
|
|
441
|
-
icon: W(t.icon, void 0, 16),
|
|
442
|
-
items: i,
|
|
443
|
-
collapsible: t.behavior?.collapsible ?? !0,
|
|
444
|
-
defaultCollapsed: t.behavior?.defaultCollapsed ?? !0,
|
|
445
|
-
isCollapsed: u,
|
|
446
|
-
onCollapsedChange: d
|
|
447
|
-
});
|
|
448
|
-
}), R;
|
|
449
|
-
}
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region src/components/backoffice/routing/backofficeContentError.css.ts
|
|
452
|
-
var G = "txvbqb9ip txvbqbai7 txvbqbu7g", K = "txvbqbwy", le = ({ onRetry: e }) => {
|
|
453
|
-
let { t } = r();
|
|
454
|
-
return /* @__PURE__ */ L("div", {
|
|
455
|
-
className: G,
|
|
456
|
-
children: /* @__PURE__ */ L(k, {
|
|
457
|
-
tone: "danger",
|
|
458
|
-
className: K,
|
|
459
|
-
actions: /* @__PURE__ */ L(T, {
|
|
460
|
-
type: "button",
|
|
461
|
-
variant: "secondary",
|
|
462
|
-
size: "small",
|
|
463
|
-
onClick: e,
|
|
464
|
-
children: t("common.actions.retry")
|
|
465
|
-
}),
|
|
466
|
-
children: t("common.errors.unexpected")
|
|
467
|
-
})
|
|
468
|
-
});
|
|
469
|
-
}, q = "txvbqb9ip txvbqbai7 txvbqbaop txvbqbu7g txvbqbjs7", ue = "txvbqbjfg", de = "txvbqb9iy txvbqbaop txvbqbc17", fe = "txvbqb9ip txvbqbai7 txvbqbaog txvbqblbg txvbqbjny txvbqb1ry txvbqb1cp txvbqb1qg txvbqbwp txvbqbv45", J = () => /* @__PURE__ */ R("div", {
|
|
470
|
-
className: q,
|
|
471
|
-
role: "status",
|
|
472
|
-
"aria-live": "polite",
|
|
473
|
-
"aria-busy": "true",
|
|
474
|
-
children: [
|
|
475
|
-
/* @__PURE__ */ L(N, {
|
|
476
|
-
variant: "text",
|
|
477
|
-
width: "38%",
|
|
478
|
-
className: ue
|
|
479
|
-
}),
|
|
480
|
-
/* @__PURE__ */ L(N, {
|
|
481
|
-
variant: "text",
|
|
482
|
-
width: "62%"
|
|
483
|
-
}),
|
|
484
|
-
/* @__PURE__ */ L("div", {
|
|
485
|
-
className: de,
|
|
486
|
-
children: Array.from({ length: 4 }, (e, t) => /* @__PURE__ */ R("div", {
|
|
487
|
-
className: fe,
|
|
488
|
-
children: [
|
|
489
|
-
/* @__PURE__ */ L(N, {
|
|
490
|
-
variant: "text",
|
|
491
|
-
width: "46%"
|
|
492
|
-
}),
|
|
493
|
-
/* @__PURE__ */ L(N, {
|
|
494
|
-
variant: "text",
|
|
495
|
-
width: "82%",
|
|
496
|
-
lines: 2
|
|
497
|
-
}),
|
|
498
|
-
/* @__PURE__ */ L(N, {
|
|
499
|
-
variant: "block",
|
|
500
|
-
width: "100%",
|
|
501
|
-
height: 120
|
|
502
|
-
})
|
|
503
|
-
]
|
|
504
|
-
}, `content-skeleton-${t}`))
|
|
505
|
-
})
|
|
506
|
-
]
|
|
507
|
-
}), Y = "txvbqb9ip txvbqbai7 txvbqbjs7 txvbqbu7g txvbqbk5y", pe = ({ children: e }) => /* @__PURE__ */ L("div", {
|
|
508
|
-
className: Y,
|
|
509
|
-
children: /* @__PURE__ */ L(p, {
|
|
510
|
-
fallback: ({ error: e, reset: t }) => /* @__PURE__ */ L(le, {
|
|
511
|
-
error: e,
|
|
512
|
-
onRetry: t
|
|
513
|
-
}),
|
|
514
|
-
children: /* @__PURE__ */ L(_, {
|
|
515
|
-
fallback: /* @__PURE__ */ L(J, {}),
|
|
516
|
-
children: e
|
|
517
|
-
})
|
|
518
|
-
})
|
|
519
|
-
}), X = (e) => e?.trim() ?? "", me = ({ viewer: e, unknownUserLabel: t }) => {
|
|
520
|
-
let n = [X(e?.firstName), X(e?.lastName)].filter((e) => e !== "").join(" ").trim();
|
|
521
|
-
n === "" && (n = t);
|
|
522
|
-
let r = X(e?.email), i = X(e?.initials);
|
|
523
|
-
i === "" && (i = "?");
|
|
524
|
-
let a = [n];
|
|
525
|
-
return r !== "" && a.push(r), {
|
|
526
|
-
displayName: n,
|
|
527
|
-
email: r,
|
|
528
|
-
initials: i,
|
|
529
|
-
ariaLabel: a.join(" - ")
|
|
530
|
-
};
|
|
531
|
-
}, he = "plumile:backoffice:recent-items", ge = "plumile:backoffice:sidebar", _e = (e) => {
|
|
532
|
-
if (typeof window > "u") return [];
|
|
533
|
-
try {
|
|
534
|
-
let t = window.localStorage.getItem(e);
|
|
535
|
-
if (t == null) return [];
|
|
536
|
-
let n = JSON.parse(t);
|
|
537
|
-
return Array.isArray(n) ? n.filter((e) => {
|
|
538
|
-
if (typeof e != "object" || !e) return !1;
|
|
539
|
-
let t = e;
|
|
540
|
-
return (t.kind === "entity" || t.kind === "tool") && typeof t.id == "string" && typeof t.label == "string" && typeof t.href == "string" && typeof t.visitedAt == "number";
|
|
541
|
-
}) : [];
|
|
542
|
-
} catch {
|
|
543
|
-
return [];
|
|
544
|
-
}
|
|
545
|
-
}, ve = (e, t) => {
|
|
546
|
-
if (!(typeof window > "u")) try {
|
|
547
|
-
window.localStorage.setItem(e, JSON.stringify(t));
|
|
548
|
-
} catch {}
|
|
549
|
-
}, Z = ({ children: i, permissions: a, authStatus: o, activeGroupId: s }) => {
|
|
550
|
-
let { t: c } = S(), { t: d } = r(), { pathname: p } = ne(), _ = ee(te), C = t(), { auth: T, basePath: O, entities: k, sidebar: A } = n(), [j, ie] = x(""), M = A?.preferences?.storageKey ?? ge, N = A?.preferences?.persistCollapsed === !0, [I, R] = x(() => {
|
|
551
|
-
if (!N || typeof window > "u") return !1;
|
|
552
|
-
try {
|
|
553
|
-
return window.localStorage.getItem(`${M}:collapsed`) === "true";
|
|
554
|
-
} catch {
|
|
555
|
-
return !1;
|
|
556
|
-
}
|
|
557
|
-
}), [z, B] = x(!1), [V, oe] = x(null), H = A?.recentItems, U = H?.enabled === !0, W = H?.storageKey ?? he, G = H?.maxItems ?? 8, [K, le] = x(() => U ? _e(W) : []);
|
|
558
|
-
y(() => {
|
|
559
|
-
if (!(!N || typeof window > "u")) try {
|
|
560
|
-
window.localStorage.setItem(`${M}:collapsed`, String(I));
|
|
561
|
-
} catch {}
|
|
562
|
-
}, [
|
|
563
|
-
I,
|
|
564
|
-
N,
|
|
565
|
-
M
|
|
566
|
-
]);
|
|
567
|
-
let q = b(() => u(k, A), [k, A]), ue = b(() => Object.keys(q), [q]), de = b(() => Object.fromEntries(Object.entries(q).map(([e, t]) => [e, t.behavior?.defaultCollapsed ?? !0])), [q]), fe = b(() => f(q, k, A, a), [
|
|
568
|
-
k,
|
|
569
|
-
q,
|
|
570
|
-
a,
|
|
571
|
-
A
|
|
572
|
-
]), J = b(() => l(p, k), [k, p]);
|
|
573
|
-
y(() => {
|
|
574
|
-
if (!U || J == null) return;
|
|
575
|
-
let e = k[J];
|
|
576
|
-
if (e == null || e.kind !== "tool" && !e.hasList) return;
|
|
577
|
-
let t = e.routes.list, n = "entity";
|
|
578
|
-
e.kind === "tool" && (n = "tool");
|
|
579
|
-
let r = {
|
|
580
|
-
kind: n,
|
|
581
|
-
id: J,
|
|
582
|
-
label: e.label(c),
|
|
583
|
-
href: t,
|
|
584
|
-
visitedAt: Date.now()
|
|
585
|
-
};
|
|
586
|
-
le((e) => {
|
|
587
|
-
let t = [r, ...e.filter((e) => e.id !== r.id || e.kind !== r.kind)].slice(0, G);
|
|
588
|
-
return ve(W, t), t;
|
|
589
|
-
});
|
|
590
|
-
}, [
|
|
591
|
-
J,
|
|
592
|
-
k,
|
|
593
|
-
U,
|
|
594
|
-
G,
|
|
595
|
-
W,
|
|
596
|
-
c
|
|
597
|
-
]);
|
|
598
|
-
let { pins: Y, toggle: X, reorder: Z } = ae({
|
|
599
|
-
enabled: A?.pinnedItems?.enabled === !0,
|
|
600
|
-
storageKey: A?.pinnedItems?.storageKey,
|
|
601
|
-
visibleEntityIds: fe
|
|
602
|
-
}), ye;
|
|
603
|
-
A?.preferences?.storageKey != null && (ye = `${A.preferences.storageKey}:groups`);
|
|
604
|
-
let { collapsedByGroupId: Q, setCollapsed: $ } = se({
|
|
605
|
-
groupIds: ue,
|
|
606
|
-
activeGroupId: s,
|
|
607
|
-
defaultCollapsedByGroupId: de,
|
|
608
|
-
persist: A?.preferences?.persistGroups === !0,
|
|
609
|
-
storageKey: ye
|
|
610
|
-
}), be = b(() => ce({
|
|
611
|
-
basePath: O,
|
|
612
|
-
pathname: p,
|
|
613
|
-
entities: k,
|
|
614
|
-
sidebar: A,
|
|
615
|
-
permissions: a,
|
|
616
|
-
searchQuery: j,
|
|
617
|
-
tApp: c,
|
|
618
|
-
t: d,
|
|
619
|
-
pinnedEntityIds: Y,
|
|
620
|
-
recentItems: K,
|
|
621
|
-
onTogglePin: X,
|
|
622
|
-
onReorderPin: Z,
|
|
623
|
-
collapsedByGroupId: Q,
|
|
624
|
-
onGroupCollapsedChange: $,
|
|
625
|
-
sidebarCollapsed: !1
|
|
626
|
-
}), [
|
|
627
|
-
O,
|
|
628
|
-
Q,
|
|
629
|
-
k,
|
|
630
|
-
p,
|
|
631
|
-
a,
|
|
632
|
-
Y,
|
|
633
|
-
K,
|
|
634
|
-
Z,
|
|
635
|
-
$,
|
|
636
|
-
A,
|
|
637
|
-
j,
|
|
638
|
-
d,
|
|
639
|
-
c,
|
|
640
|
-
X
|
|
641
|
-
]), xe = b(() => ce({
|
|
642
|
-
basePath: O,
|
|
643
|
-
pathname: p,
|
|
644
|
-
entities: k,
|
|
645
|
-
sidebar: A,
|
|
646
|
-
permissions: a,
|
|
647
|
-
searchQuery: j,
|
|
648
|
-
tApp: c,
|
|
649
|
-
t: d,
|
|
650
|
-
pinnedEntityIds: Y,
|
|
651
|
-
recentItems: K,
|
|
652
|
-
onTogglePin: X,
|
|
653
|
-
onReorderPin: Z,
|
|
654
|
-
collapsedByGroupId: Q,
|
|
655
|
-
onGroupCollapsedChange: $,
|
|
656
|
-
sidebarCollapsed: !1
|
|
657
|
-
}), [
|
|
658
|
-
O,
|
|
659
|
-
Q,
|
|
660
|
-
k,
|
|
661
|
-
p,
|
|
662
|
-
a,
|
|
663
|
-
Y,
|
|
664
|
-
K,
|
|
665
|
-
Z,
|
|
666
|
-
$,
|
|
667
|
-
A,
|
|
668
|
-
j,
|
|
669
|
-
d,
|
|
670
|
-
c,
|
|
671
|
-
X
|
|
672
|
-
]), Se = b(() => import.meta.env?.DEV === !0 ? "dev" : "prod", []), Ce = v(() => {
|
|
673
|
-
z || (B(!0), (async () => {
|
|
674
|
-
try {
|
|
675
|
-
let t = await T.logout.load();
|
|
676
|
-
await new Promise((e, n) => {
|
|
677
|
-
F(C, {
|
|
678
|
-
mutation: t.logoutMutation,
|
|
679
|
-
variables: {},
|
|
680
|
-
onCompleted: () => {
|
|
681
|
-
e();
|
|
682
|
-
},
|
|
683
|
-
onError: (e) => {
|
|
684
|
-
n(e);
|
|
685
|
-
}
|
|
686
|
-
});
|
|
687
|
-
}), localStorage.removeItem("auth_token"), localStorage.removeItem("remember_me"), e(), _?.history.push({ pathname: h(O) });
|
|
688
|
-
} finally {
|
|
689
|
-
B(!1);
|
|
690
|
-
}
|
|
691
|
-
})().catch(() => {}));
|
|
692
|
-
}, [
|
|
693
|
-
T.logout,
|
|
694
|
-
O,
|
|
695
|
-
z,
|
|
696
|
-
C,
|
|
697
|
-
_
|
|
698
|
-
]), we = o?.me ?? null, Te = b(() => me({
|
|
699
|
-
viewer: we,
|
|
700
|
-
unknownUserLabel: d("sidebar.profile.unknownUser")
|
|
701
|
-
}), [d, we]), Ee = /* @__PURE__ */ L(w, {
|
|
702
|
-
collapsed: !1,
|
|
703
|
-
viewer: Te,
|
|
704
|
-
labels: {
|
|
705
|
-
sectionTitle: d("sidebar.profile.title"),
|
|
706
|
-
menuAriaLabel: d("sidebar.profile.menuAriaLabel"),
|
|
707
|
-
signOut: d("sidebar.profile.actions.signOut")
|
|
708
|
-
},
|
|
709
|
-
onSignOut: Ce,
|
|
710
|
-
isSigningOut: z
|
|
711
|
-
}), De = /* @__PURE__ */ L(w, {
|
|
712
|
-
collapsed: !1,
|
|
713
|
-
viewer: Te,
|
|
714
|
-
labels: {
|
|
715
|
-
sectionTitle: d("sidebar.profile.title"),
|
|
716
|
-
menuAriaLabel: d("sidebar.profile.menuAriaLabel"),
|
|
717
|
-
signOut: d("sidebar.profile.actions.signOut")
|
|
718
|
-
},
|
|
719
|
-
onSignOut: Ce,
|
|
720
|
-
isSigningOut: z
|
|
721
|
-
}), Oe = null;
|
|
722
|
-
V != null && (Oe = /* @__PURE__ */ L(pe, { children: i }));
|
|
723
|
-
let ke = /* @__PURE__ */ L(D, {
|
|
724
|
-
value: j,
|
|
725
|
-
onChange: ie,
|
|
726
|
-
placeholder: d("sidebar.search.placeholder"),
|
|
727
|
-
ariaLabel: d("sidebar.search.placeholder")
|
|
728
|
-
});
|
|
729
|
-
return /* @__PURE__ */ L(P, { children: /* @__PURE__ */ L(re, {
|
|
730
|
-
sidebar: {
|
|
731
|
-
sections: be,
|
|
732
|
-
header: /* @__PURE__ */ L(E, { environment: Se }),
|
|
733
|
-
search: ke,
|
|
734
|
-
footer: Ee,
|
|
735
|
-
isCollapsed: I,
|
|
736
|
-
onCollapsedChange: R,
|
|
737
|
-
collapseToggleLabel: d("sidebar.actions.collapseSidebar"),
|
|
738
|
-
expandToggleLabel: d("sidebar.actions.expandSidebar"),
|
|
739
|
-
navigationAriaLabel: d("sidebar.navigationAriaLabel")
|
|
740
|
-
},
|
|
741
|
-
mobileSidebar: {
|
|
742
|
-
sections: xe,
|
|
743
|
-
header: /* @__PURE__ */ L(E, { environment: Se }),
|
|
744
|
-
search: ke,
|
|
745
|
-
footer: De,
|
|
746
|
-
isCollapsed: !1,
|
|
747
|
-
hideCollapseToggle: !0,
|
|
748
|
-
navigationAriaLabel: d("sidebar.navigationAriaLabel")
|
|
749
|
-
},
|
|
750
|
-
topbar: { breadcrumb: /* @__PURE__ */ L("div", { ref: oe }) },
|
|
751
|
-
children: /* @__PURE__ */ L(g, {
|
|
752
|
-
permissions: a,
|
|
753
|
-
children: /* @__PURE__ */ L(m, {
|
|
754
|
-
value: {
|
|
755
|
-
target: V,
|
|
756
|
-
dashboardHref: O,
|
|
757
|
-
dashboardLabel: d("sidebar.items.dashboard")
|
|
758
|
-
},
|
|
759
|
-
children: Oe
|
|
760
|
-
})
|
|
761
|
-
})
|
|
762
|
-
}) });
|
|
763
|
-
}, ye = ({ children: e, permissionsQuery: t, prepared: n, authStatus: r, activeGroupId: i }) => /* @__PURE__ */ L(Z, {
|
|
764
|
-
permissions: I(t, n),
|
|
765
|
-
authStatus: r,
|
|
766
|
-
activeGroupId: i,
|
|
767
|
-
children: e
|
|
768
|
-
}), Q = ({ children: e, permissionsQuery: t, prepared: n, authStatus: r, activeGroupId: i }) => t != null && n != null ? /* @__PURE__ */ L(ye, {
|
|
769
|
-
permissionsQuery: t,
|
|
770
|
-
prepared: n,
|
|
771
|
-
authStatus: r,
|
|
772
|
-
activeGroupId: i,
|
|
773
|
-
children: e
|
|
774
|
-
}) : /* @__PURE__ */ L(Z, {
|
|
775
|
-
permissions: null,
|
|
776
|
-
authStatus: r,
|
|
777
|
-
activeGroupId: i,
|
|
778
|
-
children: e
|
|
779
|
-
});
|
|
780
|
-
//#endregion
|
|
781
|
-
export { Q as BackofficeLayoutPage, Q as default };
|
|
782
|
-
|
|
783
|
-
//# sourceMappingURL=BackofficeLayoutPage-Bq2bKkYF.js.map
|