@plumile/backoffice-react 0.1.103 → 0.1.105
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/{AcceptInvitationScreen-B1IPafwD.js → AcceptInvitationScreen-VaWXQPHp.js} +4 -4
- package/lib/esm/AcceptInvitationScreen-VaWXQPHp.js.map +1 -0
- package/lib/esm/{BackofficeAcceptInvitationPage-BfRsORii.js → BackofficeAcceptInvitationPage-tpfBfhT9.js} +4 -4
- package/lib/esm/{BackofficeAcceptInvitationPage-BfRsORii.js.map → BackofficeAcceptInvitationPage-tpfBfhT9.js.map} +1 -1
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js +329 -0
- package/lib/esm/BackofficeDashboardPage-D5W36DY-.js.map +1 -0
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js +98 -0
- package/lib/esm/BackofficeDetailPayload-CZcsDv2w.js.map +1 -0
- package/lib/esm/BackofficeEntityActionFormDialog-DrZxuytz.js +589 -0
- package/lib/esm/BackofficeEntityActionFormDialog-DrZxuytz.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailLayoutContext-DeuH5PCW.js → BackofficeEntityDetailLayoutContext-C5G-PH28.js} +1 -1
- package/lib/esm/{BackofficeEntityDetailLayoutContext-DeuH5PCW.js.map → BackofficeEntityDetailLayoutContext-C5G-PH28.js.map} +1 -1
- package/lib/esm/{BackofficeEntityDetailLayoutPage-Duc_DcIV.js → BackofficeEntityDetailLayoutPage-BSgGBzSL.js} +2 -2
- package/lib/esm/{BackofficeEntityDetailLayoutPage-Duc_DcIV.js.map → BackofficeEntityDetailLayoutPage-BSgGBzSL.js.map} +1 -1
- package/lib/esm/{BackofficeEntityDetailPage-ChxBrqz8.js → BackofficeEntityDetailPage-LB1uEJVM.js} +366 -358
- package/lib/esm/BackofficeEntityDetailPage-LB1uEJVM.js.map +1 -0
- package/lib/esm/{BackofficeEntityDetailUnknownPageRedirect-xupMeril.js → BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js} +3 -3
- package/lib/esm/{BackofficeEntityDetailUnknownPageRedirect-xupMeril.js.map → BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js.map} +1 -1
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js +432 -0
- package/lib/esm/BackofficeEntityListPage-D_zL-qRb.js.map +1 -0
- package/lib/esm/BackofficeHubPage-DOePQ8Fc.js +121 -0
- package/lib/esm/BackofficeHubPage-DOePQ8Fc.js.map +1 -0
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js +82 -0
- package/lib/esm/BackofficeHubTemplate-C6K55egX.js.map +1 -0
- package/lib/esm/{BackofficeLayoutPage-r6dXo9SI.js → BackofficeLayoutPage-Bq2bKkYF.js} +301 -217
- package/lib/esm/BackofficeLayoutPage-Bq2bKkYF.js.map +1 -0
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js +109 -0
- package/lib/esm/BackofficeListToolbar-loFfIPtP.js.map +1 -0
- package/lib/esm/{BackofficeLoginPage-BMPhO1cr.js → BackofficeLoginPage-DIlcOueK.js} +5 -5
- package/lib/esm/{BackofficeLoginPage-BMPhO1cr.js.map → BackofficeLoginPage-DIlcOueK.js.map} +1 -1
- package/lib/esm/{BackofficePasswordResetCompletePage-OApMUiOi.js → BackofficePasswordResetCompletePage-Cit5sdDm.js} +6 -7
- package/lib/esm/{BackofficePasswordResetCompletePage-OApMUiOi.js.map → BackofficePasswordResetCompletePage-Cit5sdDm.js.map} +1 -1
- package/lib/esm/{BackofficePasswordResetRequestPage-DPDImb37.js → BackofficePasswordResetRequestPage-B_TurHev.js} +5 -6
- package/lib/esm/{BackofficePasswordResetRequestPage-DPDImb37.js.map → BackofficePasswordResetRequestPage-B_TurHev.js.map} +1 -1
- package/lib/esm/{BackofficePermissionsContext-CmWwudBU.js → BackofficePermissionsContext-C2bdxy2z.js} +1 -1
- package/lib/esm/{BackofficePermissionsContext-CmWwudBU.js.map → BackofficePermissionsContext-C2bdxy2z.js.map} +1 -1
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js +83 -0
- package/lib/esm/BackofficeRightPageLayout-CfNkrMvH.js.map +1 -0
- package/lib/esm/{BackofficeTopbarPortalContext-CphoSrZD.js → BackofficeTopbarPortalContext-Da5XFatM.js} +1 -1
- package/lib/esm/BackofficeTopbarPortalContext-Da5XFatM.js.map +1 -0
- package/lib/esm/{BackofficeVerifyEmailPage-DHuSOxDf.js → BackofficeVerifyEmailPage-DQbFIob1.js} +6 -7
- package/lib/esm/{BackofficeVerifyEmailPage-DHuSOxDf.js.map → BackofficeVerifyEmailPage-DQbFIob1.js.map} +1 -1
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js +340 -0
- package/lib/esm/EntityIdPickerDialog-BSn0v3bv.js.map +1 -0
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js +670 -0
- package/lib/esm/LazyBackofficeEntityActionFormDialog-oRd_WHAK.js.map +1 -0
- package/lib/esm/backoffice-react.js +553 -315
- package/lib/esm/backoffice-react.js.map +1 -1
- package/lib/esm/{backofficeAuthPaths-2KMmkBLv.js → backofficeAuthPaths-2hHNn8D3.js} +1 -1
- package/lib/esm/{backofficeAuthPaths-2KMmkBLv.js.map → backofficeAuthPaths-2hHNn8D3.js.map} +1 -1
- package/lib/esm/backofficeEntityActionFormDialog.css-DJgEKwaA.js +6 -0
- package/lib/esm/backofficeEntityActionFormDialog.css-DJgEKwaA.js.map +1 -0
- package/lib/esm/{buildBreadcrumbs-C9cyiXb7.js → buildBreadcrumbs-C5St167Y.js} +1 -1
- package/lib/esm/buildBreadcrumbs-C5St167Y.js.map +1 -0
- package/lib/esm/{buildDataTableColumns-DGPjPK4N.js → buildDataTableColumns-DdmF-EYq.js} +1 -1
- package/lib/esm/{buildDataTableColumns-DGPjPK4N.js.map → buildDataTableColumns-DdmF-EYq.js.map} +1 -1
- package/lib/esm/{mutationResult-CcQMY13J.js → mutationResult-C2Vb_vPt.js} +1 -1
- package/lib/esm/{mutationResult-CcQMY13J.js.map → mutationResult-C2Vb_vPt.js.map} +1 -1
- package/lib/esm/{pageResolution-hAQA5C6S.js → pageResolution-CUaTq4Ql.js} +1 -1
- package/lib/esm/{pageResolution-hAQA5C6S.js.map → pageResolution-CUaTq4Ql.js.map} +1 -1
- package/lib/esm/{sidebarUtils-BZETlHea.js → sidebarUtils-BgCBLJLv.js} +20 -6
- package/lib/esm/sidebarUtils-BgCBLJLv.js.map +1 -0
- package/lib/esm/style.css +1 -1
- package/lib/esm/{synchronizeAuthStatusQuery-BoPKMrP1.js → synchronizeAuthStatusQuery-DNJR5MfH.js} +8 -9
- package/lib/esm/synchronizeAuthStatusQuery-DNJR5MfH.js.map +1 -0
- package/lib/esm/{toastViewAction-DJkv_4p9.js → toastViewAction-DQYlcGOL.js} +1 -1
- package/lib/esm/{toastViewAction-DJkv_4p9.js.map → toastViewAction-DQYlcGOL.js.map} +1 -1
- package/lib/esm/{useAuth-CheTnq60.js → useAuth-CWf8ZspF.js} +70 -66
- package/lib/esm/useAuth-CWf8ZspF.js.map +1 -0
- package/lib/esm/{useBackofficeAuth-DVAXNAjP.js → useBackofficeAuth-Da7FPNys.js} +2 -2
- package/lib/esm/{useBackofficeAuth-DVAXNAjP.js.map → useBackofficeAuth-Da7FPNys.js.map} +1 -1
- package/lib/esm/{useBackofficeLazyValue-CoIAK-5N.js → useBackofficeLazyValue-CW9xfRzQ.js} +1 -1
- package/lib/esm/{useBackofficeLazyValue-CoIAK-5N.js.map → useBackofficeLazyValue-CW9xfRzQ.js.map} +1 -1
- package/lib/esm/{useBackofficeListUrlState-D4fx5O7u.js → useBackofficeListUrlState-Ca6d7uIN.js} +1 -1
- package/lib/esm/useBackofficeListUrlState-Ca6d7uIN.js.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/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/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/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/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/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/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/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/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/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/i18n/resources.d.ts +84 -7
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/lib/types/index.d.ts +3 -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/router/createBackofficeRoutes.d.ts.map +1 -1
- package/package.json +5 -5
- package/lib/esm/AcceptInvitationScreen-B1IPafwD.js.map +0 -1
- package/lib/esm/BackofficeDashboardPage-C0zP0QO7.js +0 -344
- package/lib/esm/BackofficeDashboardPage-C0zP0QO7.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/BackofficeEntityDetailPage-ChxBrqz8.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.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/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/buildBreadcrumbs-C9cyiXb7.js.map +0 -1
- package/lib/esm/sidebarUtils-BZETlHea.js.map +0 -1
- package/lib/esm/synchronizeAuthStatusQuery-BoPKMrP1.js.map +0 -1
- package/lib/esm/useAuth-CheTnq60.js.map +0 -1
- package/lib/esm/useBackofficeListUrlState-D4fx5O7u.js.map +0 -1
- package/lib/types/pages/backofficeHubPage.css.d.ts.map +0 -1
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./environment-DQfVyWHJ.js";
|
|
2
2
|
import { t as s } from "./useRelayEnvironment-vQ86aW-n.js";
|
|
3
3
|
import { n as c, r as l, t as u } from "./useBackofficeReactTranslation-Btt58EIo.js";
|
|
4
|
-
import { l as d, s as f, t as p } from "./sidebarUtils-
|
|
5
|
-
import { a as m, i as h, n as g, r as _, t as v } from "./useAuth-
|
|
6
|
-
import { n as y, t as b } from "./synchronizeAuthStatusQuery-
|
|
7
|
-
import { t as x } from "./AcceptInvitationScreen-
|
|
4
|
+
import { l as d, s as f, t as p } from "./sidebarUtils-BgCBLJLv.js";
|
|
5
|
+
import { a as m, i as h, n as g, r as _, t as v } from "./useAuth-CWf8ZspF.js";
|
|
6
|
+
import { n as y, t as b } from "./synchronizeAuthStatusQuery-DNJR5MfH.js";
|
|
7
|
+
import { t as x } from "./AcceptInvitationScreen-VaWXQPHp.js";
|
|
8
8
|
import { t as S } from "./PasswordResetCompleteScreen-Cgg96DPo.js";
|
|
9
9
|
import { t as C } from "./PasswordResetRequestScreen-I1nFvGLd.js";
|
|
10
10
|
import { t as ee } from "./VerifyEmailScreen-Br5KyHjg.js";
|
|
11
11
|
import { t as te } from "./BackofficeErrorBoundary-BwRVSDHU.js";
|
|
12
|
-
import {
|
|
13
|
-
import { i as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
12
|
+
import { a as ne, n as re, r as ie, t as ae } from "./BackofficeListToolbar-loFfIPtP.js";
|
|
13
|
+
import { i as oe, t as se } from "./EntityIdPickerDialog-BSn0v3bv.js";
|
|
14
|
+
import { t as w } from "./BackofficeHubTemplate-C6K55egX.js";
|
|
15
|
+
import { a as ce, i as le, r as ue, t as de } from "./BackofficeDetailPayload-CZcsDv2w.js";
|
|
16
|
+
import { t as fe } from "./useBackofficeListUrlState-Ca6d7uIN.js";
|
|
17
|
+
import { i as pe, n as me, r as he, t as ge } from "./mutationResult-C2Vb_vPt.js";
|
|
18
|
+
import { t as _e } from "./pageResolution-CUaTq4Ql.js";
|
|
19
|
+
import { t as ve } from "./buildDataTableColumns-DdmF-EYq.js";
|
|
20
|
+
import { t as ye } from "./BackofficeRightPageLayout-CfNkrMvH.js";
|
|
21
|
+
import { StrictMode as be, useCallback as T, useContext as xe, useEffect as E, useMemo as D, useRef as Se, useState as O, useSyncExternalStore as Ce } from "react";
|
|
22
|
+
import { createInstance as we } from "i18next";
|
|
23
|
+
import { I18nextProvider as Te, initReactI18next as Ee, useTranslation as k } from "react-i18next";
|
|
24
|
+
import { HttpRedirect as De, Link as A, RouterRenderer as Oe, RoutingContext as ke, createRouter as Ae, getResourcePage as j, r as je } from "@plumile/router";
|
|
25
|
+
import { BackofficeTabs as Me, DetailPageTemplate as Ne, ExternalLinkSvg as Pe, SidebarSearchSvg as Fe, Spinner as Ie, ThemeProvider as Le, cx as M } from "@plumile/ui";
|
|
25
26
|
import Re from "i18next-browser-languagedetector";
|
|
26
|
-
import * as
|
|
27
|
-
import { jsx as
|
|
27
|
+
import * as N from "react-relay";
|
|
28
|
+
import { jsx as P, jsxs as F } from "react/jsx-runtime";
|
|
28
29
|
import { BACKOFFICE_LIST_DEFAULTS as ze } from "@plumile/backoffice-core/constants.js";
|
|
29
|
-
import { resolveBackofficeLoadedFacetModule as
|
|
30
|
-
import { buildBackofficeFallbackListHref as Be, buildBackofficeListLink as
|
|
30
|
+
import { resolveBackofficeLoadedFacetModule as I } from "@plumile/backoffice-core/resolve.js";
|
|
31
|
+
import { buildBackofficeFallbackListHref as Be, buildBackofficeListLink as L } from "@plumile/backoffice-core/state/buildListHref.js";
|
|
31
32
|
import { setWhereValue as Ve } from "@plumile/backoffice-core/filters/where.js";
|
|
32
33
|
//#region src/i18n/createI18nInstance.ts
|
|
33
34
|
var He = { maximumFractionDigits: 2 }, Ue = {
|
|
@@ -41,7 +42,7 @@ var He = { maximumFractionDigits: 2 }, Ue = {
|
|
|
41
42
|
function qe(e) {
|
|
42
43
|
return Array.isArray(e) ? e[0] : e;
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function R(e) {
|
|
45
46
|
if (e == null) return "";
|
|
46
47
|
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint") return String(e);
|
|
47
48
|
if (typeof e == "symbol") return e.toString();
|
|
@@ -52,21 +53,21 @@ function F(e) {
|
|
|
52
53
|
return "";
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
function
|
|
56
|
-
if (t == null) return
|
|
56
|
+
function z(e, t, n) {
|
|
57
|
+
if (t == null) return R(e);
|
|
57
58
|
let r = qe(n);
|
|
58
59
|
if (t === "number" && typeof e == "number") return new Intl.NumberFormat(r, He).format(e);
|
|
59
60
|
if (t === "currency" && typeof e == "number") return new Intl.NumberFormat(r, Ue).format(e);
|
|
60
61
|
if (t === "percent" && typeof e == "number") return new Intl.NumberFormat(r, Ke).format(e);
|
|
61
62
|
if ((t === "date" || t === "datetime") && e != null) {
|
|
62
63
|
let n;
|
|
63
|
-
if (n = e instanceof Date ? e : typeof e == "string" || typeof e == "number" ? new Date(e) : new Date(
|
|
64
|
+
if (n = e instanceof Date ? e : typeof e == "string" || typeof e == "number" ? new Date(e) : new Date(R(e)), !Number.isNaN(n.getTime())) return t === "date" ? new Intl.DateTimeFormat(r, We).format(n) : new Intl.DateTimeFormat(r, Ge).format(n);
|
|
64
65
|
}
|
|
65
|
-
return
|
|
66
|
+
return R(e);
|
|
66
67
|
}
|
|
67
68
|
async function Je(e) {
|
|
68
|
-
let { resources: t, lng: n, fallbackLng: r = "en", initOptions: i = {}, instance: a =
|
|
69
|
-
o && a.use(Re), a.use(
|
|
69
|
+
let { resources: t, lng: n, fallbackLng: r = "en", initOptions: i = {}, instance: a = we(), useLanguageDetector: o = !1, detection: s } = e, { interpolation: c, ...l } = i;
|
|
70
|
+
o && a.use(Re), a.use(Ee);
|
|
70
71
|
try {
|
|
71
72
|
let e = {
|
|
72
73
|
...l,
|
|
@@ -81,7 +82,7 @@ async function Je(e) {
|
|
|
81
82
|
let u = s ?? i.detection;
|
|
82
83
|
o && u != null && (e.detection = u), await a.init(e);
|
|
83
84
|
let { formatter: d } = a.services;
|
|
84
|
-
d != null && (d.add("number", (e, t) =>
|
|
85
|
+
d != null && (d.add("number", (e, t) => z(e, "number", t)), d.add("currency", (e, t) => z(e, "currency", t)), d.add("percent", (e, t) => z(e, "percent", t)), d.add("date", (e, t) => z(e, "date", t)), d.add("datetime", (e, t) => z(e, "datetime", t)));
|
|
85
86
|
} catch {}
|
|
86
87
|
return a;
|
|
87
88
|
}
|
|
@@ -95,8 +96,10 @@ var Ye = {
|
|
|
95
96
|
invalidJsonObject: "{{label}} must be a valid JSON object.",
|
|
96
97
|
invalidNumber: "{{label}} must be a valid number.",
|
|
97
98
|
invalidPayload: "The submitted payload is invalid.",
|
|
98
|
-
required: "{{label}} is required."
|
|
99
|
-
|
|
99
|
+
required: "{{label}} is required.",
|
|
100
|
+
submitFailed: "Unable to complete this action. Please try again."
|
|
101
|
+
},
|
|
102
|
+
submitting: "Submitting..."
|
|
100
103
|
},
|
|
101
104
|
view: "View"
|
|
102
105
|
},
|
|
@@ -112,7 +115,8 @@ var Ye = {
|
|
|
112
115
|
missingToken: "Invitation link is missing or invalid.",
|
|
113
116
|
passwordMismatch: "Password and confirmation do not match.",
|
|
114
117
|
passwordPolicyViolation: "Your password does not meet policy requirements.",
|
|
115
|
-
rateLimited: "Too many attempts. Please try again later."
|
|
118
|
+
rateLimited: "Too many attempts. Please try again later.",
|
|
119
|
+
unavailable: "Invitation acceptance is not available."
|
|
116
120
|
},
|
|
117
121
|
form: {
|
|
118
122
|
confirmLabel: "Confirm password",
|
|
@@ -161,6 +165,7 @@ var Ye = {
|
|
|
161
165
|
mfa: "Two-factor authentication"
|
|
162
166
|
}
|
|
163
167
|
},
|
|
168
|
+
logout: { errors: { default: "Logout failed." } },
|
|
164
169
|
methodChooser: {
|
|
165
170
|
actions: { back: "Back" },
|
|
166
171
|
locked: "Too many attempts. Try again later.",
|
|
@@ -206,6 +211,7 @@ var Ye = {
|
|
|
206
211
|
submitting: "Waiting for passkey..."
|
|
207
212
|
},
|
|
208
213
|
errors: {
|
|
214
|
+
cancelled: "Passkey sign-in was cancelled.",
|
|
209
215
|
challengeExpired: "Passkey request expired. Try again.",
|
|
210
216
|
emailRequired: "Enter your email to continue.",
|
|
211
217
|
failed: "Passkey sign-in failed.",
|
|
@@ -214,6 +220,7 @@ var Ye = {
|
|
|
214
220
|
invalidEmail: "Enter a valid email address.",
|
|
215
221
|
locked: "Too many attempts. Try again later.",
|
|
216
222
|
lockedWithTime: "Too many attempts. Try again at {{time}}.",
|
|
223
|
+
noCredential: "No credential was returned by the authenticator.",
|
|
217
224
|
notAvailable: "Passkeys are not available on this device.",
|
|
218
225
|
notFound: "No passkey found for this account."
|
|
219
226
|
},
|
|
@@ -309,6 +316,8 @@ var Ye = {
|
|
|
309
316
|
no: "No",
|
|
310
317
|
yes: "Yes"
|
|
311
318
|
},
|
|
319
|
+
breadcrumb: "Breadcrumb",
|
|
320
|
+
errors: { unexpected: "An unexpected error occurred." },
|
|
312
321
|
loading: "Loading...",
|
|
313
322
|
notAvailable: "N/A"
|
|
314
323
|
},
|
|
@@ -332,20 +341,25 @@ var Ye = {
|
|
|
332
341
|
}
|
|
333
342
|
},
|
|
334
343
|
filters: {
|
|
335
|
-
actions: {
|
|
344
|
+
actions: {
|
|
345
|
+
apply: "Apply",
|
|
346
|
+
filterBy: "Filter by {{label}}"
|
|
347
|
+
},
|
|
336
348
|
all: "All {{label}}",
|
|
337
|
-
allFilters: "All filters",
|
|
338
|
-
allFiltersWithCount_one: "All filters ({{count}})",
|
|
339
|
-
allFiltersWithCount_other: "All filters ({{count}})",
|
|
340
349
|
boolean: {
|
|
341
350
|
no: "No",
|
|
342
351
|
yes: "Yes"
|
|
343
352
|
},
|
|
353
|
+
drawer: { emptySearchResults: "No filters match this search." },
|
|
344
354
|
placeholders: {
|
|
355
|
+
anyEntity: "All",
|
|
345
356
|
search: "Search {{label}}",
|
|
346
357
|
unresolved: "Unresolved ID"
|
|
347
358
|
},
|
|
348
|
-
sections: { default: "Filters" }
|
|
359
|
+
sections: { default: "Filters" },
|
|
360
|
+
trigger: "Filters",
|
|
361
|
+
triggerWithCount_one: "Filters ({{count}})",
|
|
362
|
+
triggerWithCount_other: "Filters ({{count}})"
|
|
349
363
|
},
|
|
350
364
|
flags: {
|
|
351
365
|
agentManaged: {
|
|
@@ -406,21 +420,30 @@ var Ye = {
|
|
|
406
420
|
list: {
|
|
407
421
|
actions: {
|
|
408
422
|
refresh: "Refresh",
|
|
423
|
+
refreshing: "Refreshing…",
|
|
409
424
|
retry: "Retry"
|
|
410
425
|
},
|
|
411
426
|
errors: {
|
|
427
|
+
fetchFailed: "Unable to refresh the list. Please try again.",
|
|
412
428
|
tableFailed: "The table failed to load.",
|
|
413
429
|
title: "Table error"
|
|
414
430
|
},
|
|
431
|
+
loaded_one: "{{count, number}} item loaded",
|
|
432
|
+
loaded_other: "{{count, number}} items loaded",
|
|
415
433
|
loadMore: {
|
|
416
434
|
end: "End of results",
|
|
417
435
|
loading: "Loading more…"
|
|
418
436
|
},
|
|
419
437
|
showing: "Showing {{shown, number}} of {{total, number}}",
|
|
438
|
+
sort: { label: "Sort order" },
|
|
420
439
|
title: ""
|
|
421
440
|
},
|
|
422
441
|
overview: "",
|
|
423
442
|
picker: {
|
|
443
|
+
empty: {
|
|
444
|
+
description: "Try another search term.",
|
|
445
|
+
title: "No result"
|
|
446
|
+
},
|
|
424
447
|
errors: { loadFailed: "Failed to load." },
|
|
425
448
|
searchPlaceholder: { default: "Search..." },
|
|
426
449
|
searchRequired: "Enter an ID to search.",
|
|
@@ -431,6 +454,11 @@ var Ye = {
|
|
|
431
454
|
labelWithCount_one: "{{label}} ({{count}})",
|
|
432
455
|
labelWithCount_other: "{{label}} ({{count}})",
|
|
433
456
|
menu: { label: "Relations" },
|
|
457
|
+
openFilteredList: "Open filtered list: {{label}}",
|
|
458
|
+
unavailable: {
|
|
459
|
+
description: "This related list cannot be loaded right now.",
|
|
460
|
+
title: "Relation unavailable"
|
|
461
|
+
},
|
|
434
462
|
viewList: "View list"
|
|
435
463
|
},
|
|
436
464
|
review: { status: {
|
|
@@ -441,11 +469,14 @@ var Ye = {
|
|
|
441
469
|
} },
|
|
442
470
|
sidebar: {
|
|
443
471
|
actions: {
|
|
472
|
+
collapseSidebar: "Close",
|
|
473
|
+
expandSidebar: "Open",
|
|
444
474
|
pin: "Pin",
|
|
445
475
|
reorder: "Reorder",
|
|
446
476
|
unpin: "Unpin"
|
|
447
477
|
},
|
|
448
478
|
items: { dashboard: "Dashboard" },
|
|
479
|
+
navigationAriaLabel: "Backoffice navigation",
|
|
449
480
|
profile: {
|
|
450
481
|
actions: { signOut: "Sign out" },
|
|
451
482
|
menuAriaLabel: "Open profile menu",
|
|
@@ -469,8 +500,10 @@ var Ye = {
|
|
|
469
500
|
invalidJsonObject: "{{label}} doit être un objet JSON valide.",
|
|
470
501
|
invalidNumber: "{{label}} doit être un nombre valide.",
|
|
471
502
|
invalidPayload: "La charge utile soumise est invalide.",
|
|
472
|
-
required: "{{label}} est requis."
|
|
473
|
-
|
|
503
|
+
required: "{{label}} est requis.",
|
|
504
|
+
submitFailed: "Impossible de terminer cette action. Veuillez réessayer."
|
|
505
|
+
},
|
|
506
|
+
submitting: "Envoi..."
|
|
474
507
|
},
|
|
475
508
|
view: "Voir"
|
|
476
509
|
},
|
|
@@ -486,7 +519,8 @@ var Ye = {
|
|
|
486
519
|
missingToken: "Le lien d'invitation est manquant ou invalide.",
|
|
487
520
|
passwordMismatch: "Le mot de passe et sa confirmation ne correspondent pas.",
|
|
488
521
|
passwordPolicyViolation: "Votre mot de passe ne respecte pas la politique de sécurité.",
|
|
489
|
-
rateLimited: "Trop de tentatives. Veuillez réessayer plus tard."
|
|
522
|
+
rateLimited: "Trop de tentatives. Veuillez réessayer plus tard.",
|
|
523
|
+
unavailable: "L'acceptation d'invitation n'est pas disponible."
|
|
490
524
|
},
|
|
491
525
|
form: {
|
|
492
526
|
confirmLabel: "Confirmer le mot de passe",
|
|
@@ -535,6 +569,7 @@ var Ye = {
|
|
|
535
569
|
mfa: "Authentification à deux facteurs"
|
|
536
570
|
}
|
|
537
571
|
},
|
|
572
|
+
logout: { errors: { default: "Échec de la déconnexion." } },
|
|
538
573
|
methodChooser: {
|
|
539
574
|
actions: { back: "Retour" },
|
|
540
575
|
locked: "Trop de tentatives. Veuillez réessayer plus tard.",
|
|
@@ -580,6 +615,7 @@ var Ye = {
|
|
|
580
615
|
submitting: "En attente de la passkey..."
|
|
581
616
|
},
|
|
582
617
|
errors: {
|
|
618
|
+
cancelled: "La connexion par passkey a été annulée.",
|
|
583
619
|
challengeExpired: "La demande de passkey a expiré. Réessayez.",
|
|
584
620
|
emailRequired: "Entrez votre email pour continuer.",
|
|
585
621
|
failed: "Échec de la connexion par passkey.",
|
|
@@ -588,6 +624,7 @@ var Ye = {
|
|
|
588
624
|
invalidEmail: "Entrez une adresse email valide.",
|
|
589
625
|
locked: "Trop de tentatives. Veuillez réessayer plus tard.",
|
|
590
626
|
lockedWithTime: "Trop de tentatives. Veuillez réessayer à {{time}}.",
|
|
627
|
+
noCredential: "L'authentificateur n'a retourné aucun identifiant.",
|
|
591
628
|
notAvailable: "Les passkeys ne sont pas disponibles sur cet appareil.",
|
|
592
629
|
notFound: "Aucune passkey n'est associée à ce compte."
|
|
593
630
|
},
|
|
@@ -683,6 +720,8 @@ var Ye = {
|
|
|
683
720
|
no: "Non",
|
|
684
721
|
yes: "Oui"
|
|
685
722
|
},
|
|
723
|
+
breadcrumb: "Fil d'Ariane",
|
|
724
|
+
errors: { unexpected: "Une erreur inattendue est survenue." },
|
|
686
725
|
loading: "Chargement...",
|
|
687
726
|
notAvailable: "N/D"
|
|
688
727
|
},
|
|
@@ -706,21 +745,26 @@ var Ye = {
|
|
|
706
745
|
}
|
|
707
746
|
},
|
|
708
747
|
filters: {
|
|
709
|
-
actions: {
|
|
748
|
+
actions: {
|
|
749
|
+
apply: "Appliquer",
|
|
750
|
+
filterBy: "Filtrer par {{label}}"
|
|
751
|
+
},
|
|
710
752
|
all: "Tous {{label}}",
|
|
711
|
-
allFilters: "Tous les filtres",
|
|
712
|
-
allFiltersWithCount_one: "Tous les filtres ({{count}})",
|
|
713
|
-
allFiltersWithCount_many: "Tous les filtres ({{count}})",
|
|
714
|
-
allFiltersWithCount_other: "Tous les filtres ({{count}})",
|
|
715
753
|
boolean: {
|
|
716
754
|
no: "Non",
|
|
717
755
|
yes: "Oui"
|
|
718
756
|
},
|
|
757
|
+
drawer: { emptySearchResults: "Aucun filtre ne correspond à cette recherche." },
|
|
719
758
|
placeholders: {
|
|
759
|
+
anyEntity: "Tous",
|
|
720
760
|
search: "Rechercher {{label}}",
|
|
721
761
|
unresolved: "ID introuvable"
|
|
722
762
|
},
|
|
723
|
-
sections: { default: "Filtres" }
|
|
763
|
+
sections: { default: "Filtres" },
|
|
764
|
+
trigger: "Filtres",
|
|
765
|
+
triggerWithCount_one: "Filtres ({{count}})",
|
|
766
|
+
triggerWithCount_many: "Filtres ({{count}})",
|
|
767
|
+
triggerWithCount_other: "Filtres ({{count}})"
|
|
724
768
|
},
|
|
725
769
|
flags: {
|
|
726
770
|
agentManaged: {
|
|
@@ -781,21 +825,31 @@ var Ye = {
|
|
|
781
825
|
list: {
|
|
782
826
|
actions: {
|
|
783
827
|
refresh: "Actualiser",
|
|
828
|
+
refreshing: "Actualisation…",
|
|
784
829
|
retry: "Réessayer"
|
|
785
830
|
},
|
|
786
831
|
errors: {
|
|
832
|
+
fetchFailed: "Impossible d'actualiser la liste. Veuillez réessayer.",
|
|
787
833
|
tableFailed: "Le tableau n'a pas pu se charger.",
|
|
788
834
|
title: "Erreur du tableau"
|
|
789
835
|
},
|
|
836
|
+
loaded_one: "{{count, number}} élément chargé",
|
|
837
|
+
loaded_many: "{{count, number}} éléments chargés",
|
|
838
|
+
loaded_other: "{{count, number}} éléments chargés",
|
|
790
839
|
loadMore: {
|
|
791
840
|
end: "Fin des résultats",
|
|
792
841
|
loading: "Chargement…"
|
|
793
842
|
},
|
|
794
843
|
showing: "Affichage de {{shown, number}} sur {{total, number}}",
|
|
844
|
+
sort: { label: "Ordre de tri" },
|
|
795
845
|
title: ""
|
|
796
846
|
},
|
|
797
847
|
overview: "",
|
|
798
848
|
picker: {
|
|
849
|
+
empty: {
|
|
850
|
+
description: "Essayez un autre terme de recherche.",
|
|
851
|
+
title: "Aucun résultat"
|
|
852
|
+
},
|
|
799
853
|
errors: { loadFailed: "Échec du chargement." },
|
|
800
854
|
searchPlaceholder: { default: "Rechercher..." },
|
|
801
855
|
searchRequired: "Saisissez un ID pour rechercher.",
|
|
@@ -807,6 +861,11 @@ var Ye = {
|
|
|
807
861
|
labelWithCount_many: "{{label}} ({{count}})",
|
|
808
862
|
labelWithCount_other: "{{label}} ({{count}})",
|
|
809
863
|
menu: { label: "Relations" },
|
|
864
|
+
openFilteredList: "Ouvrir la liste filtrée : {{label}}",
|
|
865
|
+
unavailable: {
|
|
866
|
+
description: "Cette liste liée ne peut pas être chargée pour le moment.",
|
|
867
|
+
title: "Relation indisponible"
|
|
868
|
+
},
|
|
810
869
|
viewList: "Voir la liste"
|
|
811
870
|
},
|
|
812
871
|
review: { status: {
|
|
@@ -817,11 +876,14 @@ var Ye = {
|
|
|
817
876
|
} },
|
|
818
877
|
sidebar: {
|
|
819
878
|
actions: {
|
|
879
|
+
collapseSidebar: "Fermer",
|
|
880
|
+
expandSidebar: "Ouvrir",
|
|
820
881
|
pin: "Épingler",
|
|
821
882
|
reorder: "Réordonner",
|
|
822
883
|
unpin: "Désépingler"
|
|
823
884
|
},
|
|
824
885
|
items: { dashboard: "Tableau de bord" },
|
|
886
|
+
navigationAriaLabel: "Navigation backoffice",
|
|
825
887
|
profile: {
|
|
826
888
|
actions: { signOut: "Se déconnecter" },
|
|
827
889
|
menuAriaLabel: "Ouvrir le menu profil",
|
|
@@ -835,13 +897,13 @@ var Ye = {
|
|
|
835
897
|
}
|
|
836
898
|
},
|
|
837
899
|
tools: { output: "Résultat" }
|
|
838
|
-
},
|
|
900
|
+
}, B = (e) => typeof e == "object" && !!e && !Array.isArray(e), Ze = (e) => B(e) ? e : {};
|
|
839
901
|
function Qe(...e) {
|
|
840
902
|
let t = {};
|
|
841
903
|
return e.forEach((e) => {
|
|
842
904
|
Object.entries(e).forEach(([e, n]) => {
|
|
843
905
|
let r = t[e];
|
|
844
|
-
if (
|
|
906
|
+
if (B(r) && B(n)) {
|
|
845
907
|
t[e] = Qe(Ze(r), Ze(n));
|
|
846
908
|
return;
|
|
847
909
|
}
|
|
@@ -854,36 +916,52 @@ function Qe(...e) {
|
|
|
854
916
|
var $e = {
|
|
855
917
|
en: { backofficeReact: Ye },
|
|
856
918
|
fr: { backofficeReact: Xe }
|
|
857
|
-
}, et = (e) => typeof e == "object" && !!e,
|
|
919
|
+
}, et = (e) => typeof e == "object" && !!e, V = (e) => et(e) ? e : {};
|
|
858
920
|
function tt(e = {}) {
|
|
859
921
|
let t = {}, n = $e;
|
|
860
922
|
return new Set([...Object.keys(n), ...Object.keys(e)]).forEach((r) => {
|
|
861
|
-
let i =
|
|
923
|
+
let i = V(n[r]), a = V(e[r]);
|
|
862
924
|
t[r] = {
|
|
863
925
|
...i,
|
|
864
926
|
...a,
|
|
865
|
-
backofficeReact: Qe(
|
|
927
|
+
backofficeReact: Qe(V(i.backofficeReact), V(a.backofficeReact))
|
|
866
928
|
};
|
|
867
929
|
}), t;
|
|
868
930
|
}
|
|
869
931
|
//#endregion
|
|
870
932
|
//#region src/relay/RelayProvider.tsx
|
|
871
|
-
var { RelayEnvironmentProvider: nt } =
|
|
933
|
+
var { RelayEnvironmentProvider: nt } = N, rt = ({ children: e }) => (Ce(a, () => t().generation, () => t().generation), /* @__PURE__ */ P(nt, {
|
|
872
934
|
environment: n(),
|
|
873
935
|
children: e
|
|
874
|
-
})), { loadQuery:
|
|
936
|
+
})), { loadQuery: H, usePreloadedQuery: it } = N, at = j("WrapperPage", async () => ({ default: (await import("@plumile/ui")).WrapperPage })), ot = j("BackofficeLayoutPage", async () => import("./BackofficeLayoutPage-Bq2bKkYF.js")), st = j("BackofficeEntityListPage", async () => import("./BackofficeEntityListPage-D_zL-qRb.js")), ct = j("BackofficeEntityDetailPage", async () => import("./BackofficeEntityDetailPage-LB1uEJVM.js")), lt = j("BackofficeEntityDetailLayoutPage", async () => import("./BackofficeEntityDetailLayoutPage-BSgGBzSL.js")), ut = j("BackofficeEntityDetailUnknownPageRedirect", async () => import("./BackofficeEntityDetailUnknownPageRedirect-Iu4R3WvX.js")), dt = j("BackofficeDashboardPage", async () => import("./BackofficeDashboardPage-D5W36DY-.js")), ft = j("BackofficeHubPage", async () => import("./BackofficeHubPage-DOePQ8Fc.js")), pt = j("BackofficeLoginPage", async () => import("./BackofficeLoginPage-DIlcOueK.js")), mt = j("BackofficePasswordResetRequestPage", async () => import("./BackofficePasswordResetRequestPage-B_TurHev.js")), ht = j("BackofficePasswordResetCompletePage", async () => import("./BackofficePasswordResetCompletePage-Cit5sdDm.js")), gt = j("BackofficeVerifyEmailPage", async () => import("./BackofficeVerifyEmailPage-DQbFIob1.js")), _t = j("BackofficeAcceptInvitationPage", async () => import("./BackofficeAcceptInvitationPage-tpfBfhT9.js")), vt = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i }) => /* @__PURE__ */ P(t, {
|
|
937
|
+
permissionsQuery: r,
|
|
938
|
+
prepared: n?.permissionsQuery ?? null,
|
|
939
|
+
authStatus: null,
|
|
940
|
+
activeGroupId: i,
|
|
941
|
+
children: e
|
|
942
|
+
}), yt = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i, authStatusQuery: a, authStatusPrepared: o, loginRedirectPath: s }) => {
|
|
943
|
+
let c = it(a, o);
|
|
944
|
+
if (c?.isLoggedIn !== !0) throw new De(s);
|
|
945
|
+
return /* @__PURE__ */ P(t, {
|
|
946
|
+
permissionsQuery: r,
|
|
947
|
+
prepared: n?.permissionsQuery ?? null,
|
|
948
|
+
authStatus: c,
|
|
949
|
+
activeGroupId: i,
|
|
950
|
+
children: e
|
|
951
|
+
});
|
|
952
|
+
}, bt = (e) => {
|
|
875
953
|
let t = e.trim();
|
|
876
954
|
return t === "" || t === "/" ? "" : t.replace(/^\/+|\/+$/g, "");
|
|
877
|
-
},
|
|
955
|
+
}, xt = (e) => {
|
|
878
956
|
let t = e.trim();
|
|
879
957
|
return t === "" ? "/" : `/${t}`.replace(/\/+/g, "/");
|
|
880
|
-
},
|
|
958
|
+
}, U = (e, t) => {
|
|
881
959
|
let n = t.replace(/^\/+|\/+$/g, "");
|
|
882
960
|
return e === "" ? n : n === "" ? e : `${e}/${n}`;
|
|
883
|
-
},
|
|
884
|
-
let n =
|
|
961
|
+
}, St = (e, t) => xt(U(e, t)), W = (e, t) => {
|
|
962
|
+
let n = xt(e), r = t === "" ? "" : `/${t}`;
|
|
885
963
|
return r !== "" && n.startsWith(r) ? n.slice(r.length).replace(/^\/+/, "") : n.replace(/^\/+/, "");
|
|
886
|
-
},
|
|
964
|
+
}, Ct = (e, t) => {
|
|
887
965
|
if (e?.routes == null) return null;
|
|
888
966
|
for (let n = e.routes.length - 1; n >= 0; --n) {
|
|
889
967
|
let r = e.routes[n];
|
|
@@ -893,7 +971,7 @@ var { RelayEnvironmentProvider: nt } = A, rt = ({ children: e }) => (xe(a, () =>
|
|
|
893
971
|
}
|
|
894
972
|
}
|
|
895
973
|
return null;
|
|
896
|
-
},
|
|
974
|
+
}, wt = (e) => {
|
|
897
975
|
let t = new URLSearchParams();
|
|
898
976
|
return Object.entries(e).forEach(([e, n]) => {
|
|
899
977
|
if (n != null) {
|
|
@@ -906,49 +984,55 @@ var { RelayEnvironmentProvider: nt } = A, rt = ({ children: e }) => (xe(a, () =>
|
|
|
906
984
|
t.set(e, String(n));
|
|
907
985
|
}
|
|
908
986
|
}), t;
|
|
909
|
-
},
|
|
910
|
-
function
|
|
911
|
-
let { basePath: t, entityManifest: n, entityRegistry: r, sidebar: i, auth: a, dashboard: o } = e, s =
|
|
987
|
+
}, G = je;
|
|
988
|
+
function Tt(e) {
|
|
989
|
+
let { basePath: t, entityManifest: n, entityRegistry: r, sidebar: i, auth: a, dashboard: o } = e, s = bt(t), c = U(s, "login"), l = U(s, "login/reset"), u = U(s, "login/reset/complete"), m = U(s, "verify-email"), h = U(s, "accept-invitation"), g = St(s, "login"), _ = f(n, i), v = d(_, i), y = p(_, i), b = /* @__PURE__ */ new Map();
|
|
912
990
|
y.forEach((e, t) => {
|
|
913
991
|
b.set(t, e.groupId);
|
|
914
992
|
});
|
|
915
993
|
let x = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), C = i?.permissionsQuery, ee = async ({ context: e }) => {
|
|
916
994
|
let t = await a.session.load();
|
|
917
995
|
return {
|
|
918
|
-
permissionsQuery: C == null ? null :
|
|
919
|
-
authStatusQuery: t.authStatusQuery == null ? null :
|
|
996
|
+
permissionsQuery: C == null ? null : H(e.relayEnvironment, C, {}),
|
|
997
|
+
authStatusQuery: t.authStatusQuery == null ? null : H(e.relayEnvironment, t.authStatusQuery, {}, { fetchPolicy: "network-only" })
|
|
920
998
|
};
|
|
921
|
-
}, te =
|
|
999
|
+
}, te = G({
|
|
922
1000
|
path: "",
|
|
923
1001
|
resourcePage: dt,
|
|
924
1002
|
prepare: async () => (o == null || await o.load(), null),
|
|
925
|
-
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */
|
|
926
|
-
}), ne =
|
|
927
|
-
|
|
928
|
-
|
|
1003
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1004
|
+
}), ne = G({
|
|
1005
|
+
path: "dashboard",
|
|
1006
|
+
resourcePage: dt,
|
|
1007
|
+
prepare: async () => (o == null || await o.load(), null),
|
|
1008
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1009
|
+
}), re = Object.values(n).filter((e) => e.kind === "list-detail"), ie = v.map((e) => {
|
|
1010
|
+
let t = G({
|
|
1011
|
+
path: W(e.hub.href, s),
|
|
929
1012
|
resourcePage: ft,
|
|
930
1013
|
prepare: () => ({
|
|
931
1014
|
hubId: e.hub.id,
|
|
932
1015
|
hub: e.hub
|
|
933
1016
|
}),
|
|
934
|
-
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */
|
|
1017
|
+
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ P(t, { prepared: e })
|
|
935
1018
|
});
|
|
936
1019
|
return e.groupId != null && S.set(t, e.groupId), t;
|
|
937
|
-
}),
|
|
938
|
-
let t = e.routes.list, n =
|
|
1020
|
+
}), ae = re.map((e) => {
|
|
1021
|
+
let t = e.routes.list, n = W(t, s), i = [];
|
|
939
1022
|
if (e.hasList) {
|
|
940
|
-
let t =
|
|
1023
|
+
let t = G({
|
|
941
1024
|
path: "",
|
|
942
1025
|
resourcePage: st,
|
|
1026
|
+
prepareSearchBehavior: "path",
|
|
943
1027
|
prepare: async ({ context: t, query: n }) => {
|
|
944
1028
|
let { config: i } = await r.loadListEntity(e.id), { list: a, listUrlCodec: o, listDefaults: s } = i;
|
|
945
1029
|
if (o == null || s == null) throw Error(`Backoffice entity ${e.id} does not expose a list configuration.`);
|
|
946
|
-
let c =
|
|
1030
|
+
let c = wt(n), l = o.parse(c), { pageSize: u } = ze, d = {
|
|
947
1031
|
where: l.where,
|
|
948
1032
|
sort: l.sort ?? s.sort,
|
|
949
1033
|
count: u,
|
|
950
1034
|
cursor: null
|
|
951
|
-
}, f = a.
|
|
1035
|
+
}, f = a.buildQueryVariables(d), p = H(t.relayEnvironment, a.query, f);
|
|
952
1036
|
return {
|
|
953
1037
|
entityId: e.id,
|
|
954
1038
|
entityManifest: e,
|
|
@@ -959,7 +1043,7 @@ function Ct(e) {
|
|
|
959
1043
|
render: ({ prepared: e, Component: t }) => {
|
|
960
1044
|
if (t == null) return null;
|
|
961
1045
|
let n = e;
|
|
962
|
-
return /* @__PURE__ */
|
|
1046
|
+
return /* @__PURE__ */ P(t, {
|
|
963
1047
|
entityManifest: n.entityManifest,
|
|
964
1048
|
config: n.entityConfig,
|
|
965
1049
|
prepared: n
|
|
@@ -968,11 +1052,11 @@ function Ct(e) {
|
|
|
968
1052
|
});
|
|
969
1053
|
x.set(t, e.id), i.push(t);
|
|
970
1054
|
}
|
|
971
|
-
let a =
|
|
1055
|
+
let a = G({
|
|
972
1056
|
path: ":id",
|
|
973
1057
|
resourcePage: lt,
|
|
974
1058
|
prepare: async ({ context: t, variables: n }) => {
|
|
975
|
-
let { config: i } = await r.loadDetailLayoutEntity(e.id), a = String(n.id ?? ""), o = i.layoutPage.buildVariables == null ? { variables: { id: a } } : i.layoutPage.buildVariables({ id: a }), s =
|
|
1059
|
+
let { config: i } = await r.loadDetailLayoutEntity(e.id), a = String(n.id ?? ""), o = i.layoutPage.buildVariables == null ? { variables: { id: a } } : i.layoutPage.buildVariables({ id: a }), s = H(t.relayEnvironment, i.layoutPage.query, o.variables);
|
|
976
1060
|
return {
|
|
977
1061
|
entityId: e.id,
|
|
978
1062
|
entityManifest: e,
|
|
@@ -984,7 +1068,7 @@ function Ct(e) {
|
|
|
984
1068
|
render: ({ children: e, prepared: t, Component: n }) => {
|
|
985
1069
|
if (n == null) return null;
|
|
986
1070
|
let r = t;
|
|
987
|
-
return /* @__PURE__ */
|
|
1071
|
+
return /* @__PURE__ */ P(n, {
|
|
988
1072
|
entityManifest: r.entityManifest,
|
|
989
1073
|
config: r.entityConfig,
|
|
990
1074
|
prepared: r,
|
|
@@ -992,7 +1076,7 @@ function Ct(e) {
|
|
|
992
1076
|
});
|
|
993
1077
|
},
|
|
994
1078
|
children: [
|
|
995
|
-
|
|
1079
|
+
G({
|
|
996
1080
|
path: "",
|
|
997
1081
|
resourcePage: at,
|
|
998
1082
|
prepare: ({ variables: t }) => {
|
|
@@ -1002,14 +1086,14 @@ function Ct(e) {
|
|
|
1002
1086
|
render: ({ prepared: e }) => {
|
|
1003
1087
|
let t = e.redirectTo ?? null;
|
|
1004
1088
|
if (t == null) return null;
|
|
1005
|
-
throw new
|
|
1089
|
+
throw new De(t);
|
|
1006
1090
|
}
|
|
1007
1091
|
}),
|
|
1008
|
-
...(e.detailPages ?? []).map((t) =>
|
|
1092
|
+
...(e.detailPages ?? []).map((t) => G({
|
|
1009
1093
|
path: t.pathSegment,
|
|
1010
1094
|
resourcePage: ct,
|
|
1011
1095
|
prepare: async ({ context: n, variables: i }) => {
|
|
1012
|
-
let a = String(i.id ?? ""), o = await r.loadDetailPageEntity(e.id, t.id), s = o.config.page.buildVariables == null ? { variables: { id: a } } : o.config.page.buildVariables({ id: a }), c =
|
|
1096
|
+
let a = String(i.id ?? ""), o = await r.loadDetailPageEntity(e.id, t.id), s = o.config.page.buildVariables == null ? { variables: { id: a } } : o.config.page.buildVariables({ id: a }), c = H(n.relayEnvironment, o.config.page.query, s.variables);
|
|
1013
1097
|
return {
|
|
1014
1098
|
entityId: e.id,
|
|
1015
1099
|
entityManifest: e,
|
|
@@ -1025,14 +1109,14 @@ function Ct(e) {
|
|
|
1025
1109
|
render: ({ prepared: e, Component: t }) => {
|
|
1026
1110
|
if (t == null) return null;
|
|
1027
1111
|
let n = e;
|
|
1028
|
-
return /* @__PURE__ */
|
|
1112
|
+
return /* @__PURE__ */ P(t, {
|
|
1029
1113
|
entityManifest: n.entityManifest,
|
|
1030
1114
|
config: n.entityConfig,
|
|
1031
1115
|
prepared: n
|
|
1032
1116
|
});
|
|
1033
1117
|
}
|
|
1034
1118
|
})),
|
|
1035
|
-
|
|
1119
|
+
G({
|
|
1036
1120
|
path: ":pagePath",
|
|
1037
1121
|
resourcePage: ut,
|
|
1038
1122
|
prepare: async ({ variables: t }) => {
|
|
@@ -1047,7 +1131,7 @@ function Ct(e) {
|
|
|
1047
1131
|
render: ({ prepared: e, Component: t }) => {
|
|
1048
1132
|
if (t == null) return null;
|
|
1049
1133
|
let n = e;
|
|
1050
|
-
return /* @__PURE__ */
|
|
1134
|
+
return /* @__PURE__ */ P(t, {
|
|
1051
1135
|
entityManifest: n.entityManifest,
|
|
1052
1136
|
config: n.entityConfig,
|
|
1053
1137
|
prepared: n
|
|
@@ -1056,14 +1140,14 @@ function Ct(e) {
|
|
|
1056
1140
|
})
|
|
1057
1141
|
]
|
|
1058
1142
|
});
|
|
1059
|
-
return x.set(a, e.id), i.push(a),
|
|
1143
|
+
return x.set(a, e.id), i.push(a), G({
|
|
1060
1144
|
path: n,
|
|
1061
1145
|
children: i,
|
|
1062
1146
|
resourcePage: at
|
|
1063
1147
|
});
|
|
1064
|
-
}),
|
|
1065
|
-
let n =
|
|
1066
|
-
path:
|
|
1148
|
+
}), oe = Object.values(n).filter((e) => e.kind === "tool").map((t) => {
|
|
1149
|
+
let n = G({
|
|
1150
|
+
path: W(t.routes.list, s),
|
|
1067
1151
|
resourcePage: e.toolsOperationPage ?? null,
|
|
1068
1152
|
prepare: async () => {
|
|
1069
1153
|
let e = await r.loadToolEntity(t.id);
|
|
@@ -1076,7 +1160,7 @@ function Ct(e) {
|
|
|
1076
1160
|
render: ({ prepared: e, Component: t }) => {
|
|
1077
1161
|
if (t == null) return null;
|
|
1078
1162
|
let n = e;
|
|
1079
|
-
return /* @__PURE__ */
|
|
1163
|
+
return /* @__PURE__ */ P(t, {
|
|
1080
1164
|
entityManifest: n.entityManifest,
|
|
1081
1165
|
operation: n.entityConfig.tool.operation,
|
|
1082
1166
|
toolId: n.entityConfig.id
|
|
@@ -1084,94 +1168,103 @@ function Ct(e) {
|
|
|
1084
1168
|
}
|
|
1085
1169
|
});
|
|
1086
1170
|
return x.set(n, t.id), n;
|
|
1087
|
-
}),
|
|
1171
|
+
}), se = G({
|
|
1088
1172
|
path: s,
|
|
1089
1173
|
resourcePage: ot,
|
|
1174
|
+
prepareSearchBehavior: "path",
|
|
1090
1175
|
prepare: ee,
|
|
1091
1176
|
render: ({ children: e, prepared: t, route: n, Component: r }) => {
|
|
1092
1177
|
if (r == null) return null;
|
|
1093
|
-
let o = t, s =
|
|
1094
|
-
|
|
1095
|
-
l
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1178
|
+
let o = t, s = Ct(n, x), c = s == null ? Ct(n, S) : b.get(s) ?? null, l = r, u = a.session.get()?.authStatusQuery ?? null;
|
|
1179
|
+
return u != null && o?.authStatusQuery != null ? /* @__PURE__ */ P(yt, {
|
|
1180
|
+
Component: l,
|
|
1181
|
+
preparedLayout: o,
|
|
1182
|
+
permissionsQuery: i?.permissionsQuery,
|
|
1183
|
+
activeGroupId: c,
|
|
1184
|
+
authStatusQuery: u,
|
|
1185
|
+
authStatusPrepared: o.authStatusQuery,
|
|
1186
|
+
loginRedirectPath: g,
|
|
1187
|
+
children: e
|
|
1188
|
+
}) : /* @__PURE__ */ P(vt, {
|
|
1189
|
+
Component: l,
|
|
1190
|
+
preparedLayout: o,
|
|
1100
1191
|
permissionsQuery: i?.permissionsQuery,
|
|
1101
|
-
prepared: o?.permissionsQuery ?? null,
|
|
1102
|
-
authStatus: l,
|
|
1103
1192
|
activeGroupId: c,
|
|
1104
1193
|
children: e
|
|
1105
1194
|
});
|
|
1106
1195
|
},
|
|
1107
1196
|
children: [
|
|
1108
1197
|
te,
|
|
1109
|
-
...re,
|
|
1110
1198
|
...ie,
|
|
1111
|
-
...ae
|
|
1199
|
+
...ae,
|
|
1200
|
+
...oe,
|
|
1201
|
+
ne
|
|
1112
1202
|
]
|
|
1113
1203
|
}), w = [
|
|
1114
|
-
|
|
1204
|
+
G({
|
|
1115
1205
|
path: c,
|
|
1116
1206
|
resourcePage: pt,
|
|
1117
1207
|
prepare: async ({ context: e }) => {
|
|
1118
1208
|
let t = await a.login.load();
|
|
1119
|
-
return { query:
|
|
1209
|
+
return { query: H(e.relayEnvironment, t.loginQuery, {}) };
|
|
1120
1210
|
},
|
|
1121
|
-
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */
|
|
1211
|
+
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ P(t, { prepared: e })
|
|
1122
1212
|
}),
|
|
1123
|
-
|
|
1213
|
+
G({
|
|
1124
1214
|
path: l,
|
|
1125
1215
|
resourcePage: mt,
|
|
1126
1216
|
prepare: async () => (await a.passwordResetRequest.load(), null),
|
|
1127
|
-
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */
|
|
1217
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1128
1218
|
}),
|
|
1129
|
-
|
|
1219
|
+
G({
|
|
1130
1220
|
path: u,
|
|
1131
1221
|
resourcePage: ht,
|
|
1132
1222
|
prepare: async () => (await a.passwordResetComplete.load(), null),
|
|
1133
|
-
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */
|
|
1223
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1134
1224
|
}),
|
|
1135
|
-
|
|
1225
|
+
G({
|
|
1136
1226
|
path: m,
|
|
1137
1227
|
resourcePage: gt,
|
|
1138
1228
|
prepare: async () => (await a.verifyEmail.load(), null),
|
|
1139
|
-
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */
|
|
1229
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1140
1230
|
})
|
|
1141
1231
|
];
|
|
1142
|
-
return (a.hasAcceptInvitation === !0 || a.acceptInvitation != null) && w.push(
|
|
1232
|
+
return (a.hasAcceptInvitation === !0 || a.acceptInvitation != null) && w.push(G({
|
|
1143
1233
|
path: h,
|
|
1144
1234
|
resourcePage: _t,
|
|
1145
1235
|
prepare: async () => (await a.acceptInvitation?.load(), null),
|
|
1146
|
-
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */
|
|
1147
|
-
})), w.push(
|
|
1236
|
+
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ P(e, {})
|
|
1237
|
+
})), w.push(se), w;
|
|
1148
1238
|
}
|
|
1149
1239
|
//#endregion
|
|
1150
1240
|
//#region src/components/backoffice/routing/backofficeRouteFallback.css.ts
|
|
1151
|
-
var
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
})
|
|
1163
|
-
},
|
|
1164
|
-
|
|
1241
|
+
var Et = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop txvbqbv43 txvbqbva1", Dt = "txvbqbva3", Ot = ({ label: e = "Loading..." }) => /* @__PURE__ */ F("div", {
|
|
1242
|
+
className: Et,
|
|
1243
|
+
role: "status",
|
|
1244
|
+
"aria-live": "polite",
|
|
1245
|
+
"aria-busy": "true",
|
|
1246
|
+
children: [/* @__PURE__ */ P(Ie, {
|
|
1247
|
+
size: 28,
|
|
1248
|
+
ariaLabel: e
|
|
1249
|
+
}), /* @__PURE__ */ P("div", {
|
|
1250
|
+
className: Dt,
|
|
1251
|
+
children: e
|
|
1252
|
+
})]
|
|
1253
|
+
}), kt = () => {
|
|
1254
|
+
let { t: e, i18n: t } = k("backofficeReact", { useSuspense: !1 }), n = "Loading...";
|
|
1255
|
+
return t.isInitialized && (n = e("common.loading")), /* @__PURE__ */ P(Ot, { label: n });
|
|
1256
|
+
}, At = "_11exksg1 txvbqbv45 txvbqbptp txvbqbt7y txvbqbdqg txvbqbl7g txvbqb2k txvbqbu7g txvbqbuwp", jt = "_11exksg2 txvbqbcgg txvbqbuog", Mt = () => /* @__PURE__ */ P("div", {
|
|
1257
|
+
className: At,
|
|
1165
1258
|
"aria-hidden": "true",
|
|
1166
|
-
children: /* @__PURE__ */
|
|
1167
|
-
}),
|
|
1259
|
+
children: /* @__PURE__ */ P("div", { className: jt })
|
|
1260
|
+
}), Nt = "cache-first", K = "detail-page", q = "detail-layout", J = "list", Pt = "picker", Ft = "tool", Y = (e) => e.kind === "list-detail", It = (e) => e.kind === "tool", X = (e, t, n) => t === K ? `${e}:${t}:${n ?? ""}` : `${e}:${t}`, Lt = (e) => e instanceof Error ? e : Error(String(e)), Z = (e) => e?.status !== "loaded" || e.module == null ? null : e.module, Q = (e, t) => {
|
|
1168
1261
|
let n = e[t];
|
|
1169
1262
|
if (n == null) throw Error(`Unknown backoffice entity: ${t}`);
|
|
1170
1263
|
return n;
|
|
1171
|
-
},
|
|
1264
|
+
}, Rt = (e, t) => {
|
|
1172
1265
|
let n = /* @__PURE__ */ new Map(), r = (t) => e[t] ?? null, i = async (e, t, r) => {
|
|
1173
|
-
if ((t?.mode ??
|
|
1174
|
-
let t =
|
|
1266
|
+
if ((t?.mode ?? Nt) === "cache-first") {
|
|
1267
|
+
let t = Z(n.get(e));
|
|
1175
1268
|
if (t != null) return t;
|
|
1176
1269
|
let r = n.get(e);
|
|
1177
1270
|
if (r?.status === "loading" && r.promise != null) return r.promise;
|
|
@@ -1180,7 +1273,7 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1180
1273
|
status: "loaded",
|
|
1181
1274
|
module: t
|
|
1182
1275
|
}), t)).catch((t) => {
|
|
1183
|
-
let r =
|
|
1276
|
+
let r = Lt(t);
|
|
1184
1277
|
throw n.set(e, {
|
|
1185
1278
|
status: "error",
|
|
1186
1279
|
error: r
|
|
@@ -1193,72 +1286,72 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1193
1286
|
};
|
|
1194
1287
|
return {
|
|
1195
1288
|
getManifest: r,
|
|
1196
|
-
getLoadedListEntity: (e) =>
|
|
1197
|
-
getLoadedPickerEntity: (e) =>
|
|
1198
|
-
getLoadedDetailLayoutEntity: (e) =>
|
|
1199
|
-
getLoadedDetailPageEntity: (e, t) =>
|
|
1200
|
-
getLoadedToolEntity: (e) =>
|
|
1289
|
+
getLoadedListEntity: (e) => Z(n.get(X(e, J))),
|
|
1290
|
+
getLoadedPickerEntity: (e) => Z(n.get(X(e, Pt))),
|
|
1291
|
+
getLoadedDetailLayoutEntity: (e) => Z(n.get(X(e, q))),
|
|
1292
|
+
getLoadedDetailPageEntity: (e, t) => Z(n.get(X(e, K, t))),
|
|
1293
|
+
getLoadedToolEntity: (e) => Z(n.get(X(e, Ft))),
|
|
1201
1294
|
loadListEntity: async (n, r) => {
|
|
1202
|
-
let a =
|
|
1203
|
-
if (!
|
|
1295
|
+
let a = Q(e, n);
|
|
1296
|
+
if (!Y(a)) throw Error(`Backoffice entity ${n} does not expose a list facet.`);
|
|
1204
1297
|
let o = a.facets.list;
|
|
1205
1298
|
if (o == null) throw Error(`Backoffice entity ${n} does not expose a list facet.`);
|
|
1206
|
-
return i(
|
|
1207
|
-
let e =
|
|
1208
|
-
if (e.kind !==
|
|
1299
|
+
return i(X(n, J), r, async () => {
|
|
1300
|
+
let e = I(a, await o(), t);
|
|
1301
|
+
if (e.kind !== J) throw Error(`Backoffice entity ${n} did not resolve to a list facet.`);
|
|
1209
1302
|
return e;
|
|
1210
1303
|
});
|
|
1211
1304
|
},
|
|
1212
1305
|
loadPickerEntity: async (n, r) => {
|
|
1213
|
-
let a =
|
|
1214
|
-
if (!
|
|
1306
|
+
let a = Q(e, n);
|
|
1307
|
+
if (!Y(a)) throw Error(`Backoffice entity ${n} does not expose a picker facet.`);
|
|
1215
1308
|
let o = a.facets.picker;
|
|
1216
1309
|
if (o == null) throw Error(`Backoffice entity ${n} does not expose a picker facet.`);
|
|
1217
|
-
return i(
|
|
1218
|
-
let e =
|
|
1219
|
-
if (e.kind !==
|
|
1310
|
+
return i(X(n, Pt), r, async () => {
|
|
1311
|
+
let e = I(a, await o(), t);
|
|
1312
|
+
if (e.kind !== Pt) throw Error(`Backoffice entity ${n} did not resolve to a picker facet.`);
|
|
1220
1313
|
return e;
|
|
1221
1314
|
});
|
|
1222
1315
|
},
|
|
1223
1316
|
loadDetailLayoutEntity: async (n, r) => {
|
|
1224
|
-
let a =
|
|
1225
|
-
if (!
|
|
1226
|
-
return i(
|
|
1227
|
-
let e =
|
|
1228
|
-
if (e.kind !==
|
|
1317
|
+
let a = Q(e, n);
|
|
1318
|
+
if (!Y(a)) throw Error(`Backoffice entity ${n} does not expose a detail-layout facet.`);
|
|
1319
|
+
return i(X(n, q), r, async () => {
|
|
1320
|
+
let e = I(a, await a.facets.detailLayout(), t);
|
|
1321
|
+
if (e.kind !== q) throw Error(`Backoffice entity ${n} did not resolve to a detail-layout facet.`);
|
|
1229
1322
|
return e;
|
|
1230
1323
|
});
|
|
1231
1324
|
},
|
|
1232
1325
|
loadDetailPageEntity: async (n, r, a) => {
|
|
1233
|
-
let o =
|
|
1234
|
-
if (!
|
|
1235
|
-
return i(
|
|
1236
|
-
let e =
|
|
1237
|
-
if (e.kind !==
|
|
1326
|
+
let o = Q(e, n);
|
|
1327
|
+
if (!Y(o)) throw Error(`Backoffice entity ${n} does not expose a detail-page facet.`);
|
|
1328
|
+
return i(X(n, K, r), a, async () => {
|
|
1329
|
+
let e = I(o, await o.facets.detailPage(r), t);
|
|
1330
|
+
if (e.kind !== K) throw Error(`Backoffice entity ${n} did not resolve to a detail-page facet.`);
|
|
1238
1331
|
return e;
|
|
1239
1332
|
});
|
|
1240
1333
|
},
|
|
1241
1334
|
loadToolEntity: async (n, r) => {
|
|
1242
|
-
let a =
|
|
1243
|
-
if (!
|
|
1244
|
-
return i(
|
|
1245
|
-
let e =
|
|
1246
|
-
if (e.kind !==
|
|
1335
|
+
let a = Q(e, n);
|
|
1336
|
+
if (!It(a)) throw Error(`Backoffice entity ${n} does not expose a tool facet.`);
|
|
1337
|
+
return i(X(n, Ft), r, async () => {
|
|
1338
|
+
let e = I(a, await a.facets.tool(), t);
|
|
1339
|
+
if (e.kind !== Ft) throw Error(`Backoffice entity ${n} did not resolve to a tool facet.`);
|
|
1247
1340
|
return e;
|
|
1248
1341
|
});
|
|
1249
1342
|
}
|
|
1250
1343
|
};
|
|
1251
|
-
},
|
|
1252
|
-
let n =
|
|
1344
|
+
}, zt = (e) => e.trim() === "" || e === "/" ? "/" : e.startsWith("/") ? e.endsWith("/") ? e.slice(0, -1) : e : `/${e}`, Bt = (e, t) => {
|
|
1345
|
+
let n = zt(t), r = zt(e);
|
|
1253
1346
|
return r === "/" || n === r || n.startsWith(`${r}/`) ? n : n === "/" ? r : `${r}${n}`;
|
|
1254
|
-
},
|
|
1347
|
+
}, Vt = (e, t) => Object.fromEntries(Object.entries(e).map(([e, n]) => [e, {
|
|
1255
1348
|
...n,
|
|
1256
1349
|
routes: {
|
|
1257
|
-
list:
|
|
1258
|
-
detail: (e) =>
|
|
1259
|
-
detailPage: (e, r) =>
|
|
1350
|
+
list: Bt(t, n.routes.list),
|
|
1351
|
+
detail: (e) => Bt(t, n.routes.detail(e)),
|
|
1352
|
+
detailPage: (e, r) => Bt(t, n.routes.detailPage(e, r))
|
|
1260
1353
|
}
|
|
1261
|
-
}])),
|
|
1354
|
+
}])), Ht = ({ routes: e, context: t, instrumentations: n }) => {
|
|
1262
1355
|
let [r, i] = O(null);
|
|
1263
1356
|
return E(() => {
|
|
1264
1357
|
let r = Ae(e, {
|
|
@@ -1273,22 +1366,22 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1273
1366
|
n,
|
|
1274
1367
|
e
|
|
1275
1368
|
]), r;
|
|
1276
|
-
},
|
|
1277
|
-
let n = s(), r =
|
|
1369
|
+
}, Ut = ({ routes: e, instrumentations: t }) => {
|
|
1370
|
+
let n = s(), r = Ht({
|
|
1278
1371
|
routes: e,
|
|
1279
1372
|
context: D(() => ({ relayEnvironment: n }), [n]),
|
|
1280
1373
|
instrumentations: t
|
|
1281
1374
|
});
|
|
1282
|
-
return r == null ? /* @__PURE__ */
|
|
1375
|
+
return r == null ? /* @__PURE__ */ P(kt, {}) : /* @__PURE__ */ P(ke.Provider, {
|
|
1283
1376
|
value: r.context,
|
|
1284
|
-
children: /* @__PURE__ */
|
|
1377
|
+
children: /* @__PURE__ */ P(Oe, {
|
|
1285
1378
|
enableTransition: !0,
|
|
1286
|
-
fallback: /* @__PURE__ */
|
|
1287
|
-
pending: /* @__PURE__ */
|
|
1379
|
+
fallback: /* @__PURE__ */ P(kt, {}),
|
|
1380
|
+
pending: /* @__PURE__ */ P(Mt, {})
|
|
1288
1381
|
})
|
|
1289
1382
|
});
|
|
1290
|
-
},
|
|
1291
|
-
let t =
|
|
1383
|
+
}, Wt = (e) => {
|
|
1384
|
+
let t = zt(e.basePath ?? "/"), n = D(() => Vt(e.entityManifest, t), [t, e.entityManifest]), r = D(() => Rt(n, { basePath: t }), [t, n]), i = e.graphql;
|
|
1292
1385
|
E(() => {
|
|
1293
1386
|
o({
|
|
1294
1387
|
httpUrl: i.httpUrl ?? i.endpoint,
|
|
@@ -1306,26 +1399,42 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1306
1399
|
i.wsEndpoint,
|
|
1307
1400
|
i.wsUrl
|
|
1308
1401
|
]);
|
|
1309
|
-
let a = D(() => tt(e.i18n?.resources ?? {}), [e.i18n?.resources]), s = D(() => e.i18n?.instance ??
|
|
1310
|
-
|
|
1311
|
-
let t =
|
|
1402
|
+
let a = D(() => tt(e.i18n?.resources ?? {}), [e.i18n?.resources]), s = D(() => e.i18n?.instance ?? we(), [e.i18n?.instance]), [l, u] = O(s.isInitialized);
|
|
1403
|
+
E(() => {
|
|
1404
|
+
let t = !0, n = () => {
|
|
1405
|
+
t && u(!0);
|
|
1406
|
+
};
|
|
1407
|
+
if (s.on("initialized", n), s.isInitialized) return n(), () => {
|
|
1408
|
+
t = !1, s.off("initialized", n);
|
|
1409
|
+
};
|
|
1410
|
+
let r = globalThis.setTimeout(() => {
|
|
1411
|
+
s.isInitialized && n();
|
|
1412
|
+
}, 0), i = e.i18n?.initOptions ?? {}, o = i.defaultNS ?? "translations", c = i.ns ?? [
|
|
1312
1413
|
"backofficeReact",
|
|
1313
1414
|
"translations",
|
|
1314
1415
|
"ui"
|
|
1315
1416
|
];
|
|
1316
|
-
Je({
|
|
1417
|
+
return Je({
|
|
1317
1418
|
resources: a,
|
|
1318
1419
|
lng: e.i18n?.lng,
|
|
1319
1420
|
fallbackLng: e.i18n?.fallbackLng,
|
|
1320
1421
|
initOptions: {
|
|
1321
|
-
...
|
|
1322
|
-
defaultNS:
|
|
1323
|
-
ns:
|
|
1422
|
+
...i,
|
|
1423
|
+
defaultNS: o,
|
|
1424
|
+
ns: c,
|
|
1425
|
+
react: {
|
|
1426
|
+
useSuspense: !1,
|
|
1427
|
+
...i.react
|
|
1428
|
+
}
|
|
1324
1429
|
},
|
|
1325
1430
|
instance: s,
|
|
1326
1431
|
useLanguageDetector: e.i18n?.useLanguageDetector,
|
|
1327
1432
|
detection: e.i18n?.detection
|
|
1328
|
-
}).catch(
|
|
1433
|
+
}).then(n).catch((e) => {
|
|
1434
|
+
n(), console.error(e);
|
|
1435
|
+
}), () => {
|
|
1436
|
+
t = !1, globalThis.clearTimeout(r), s.off("initialized", n);
|
|
1437
|
+
};
|
|
1329
1438
|
}, [
|
|
1330
1439
|
s,
|
|
1331
1440
|
a,
|
|
@@ -1334,52 +1443,54 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1334
1443
|
e.i18n?.fallbackLng,
|
|
1335
1444
|
e.i18n?.lng,
|
|
1336
1445
|
e.i18n?.useLanguageDetector
|
|
1337
|
-
])
|
|
1446
|
+
]);
|
|
1447
|
+
let d = D(() => ({
|
|
1448
|
+
basePath: t,
|
|
1449
|
+
entities: n,
|
|
1450
|
+
entityManifest: n,
|
|
1451
|
+
entityRegistry: r,
|
|
1452
|
+
filterColumnAliases: e.filterColumnAliases,
|
|
1453
|
+
sidebar: e.sidebar,
|
|
1454
|
+
dashboard: e.dashboard,
|
|
1455
|
+
auth: e.auth,
|
|
1456
|
+
graphql: e.graphql
|
|
1457
|
+
}), [
|
|
1458
|
+
t,
|
|
1459
|
+
e.auth,
|
|
1460
|
+
e.dashboard,
|
|
1461
|
+
n,
|
|
1462
|
+
r,
|
|
1463
|
+
e.filterColumnAliases,
|
|
1464
|
+
e.graphql,
|
|
1465
|
+
e.sidebar
|
|
1466
|
+
]), f = D(() => Tt({
|
|
1467
|
+
basePath: t,
|
|
1468
|
+
entityManifest: n,
|
|
1469
|
+
entityRegistry: r,
|
|
1470
|
+
sidebar: e.sidebar,
|
|
1471
|
+
auth: e.auth,
|
|
1472
|
+
dashboard: e.dashboard,
|
|
1473
|
+
toolsOperationPage: e.toolsOperationPage
|
|
1474
|
+
}), [
|
|
1475
|
+
t,
|
|
1476
|
+
n,
|
|
1477
|
+
r,
|
|
1478
|
+
e.auth,
|
|
1479
|
+
e.dashboard,
|
|
1480
|
+
e.toolsOperationPage,
|
|
1481
|
+
e.sidebar
|
|
1482
|
+
]), p = /* @__PURE__ */ P(Ot, { label: "Loading..." });
|
|
1483
|
+
return l && (p = /* @__PURE__ */ P(Le, { children: /* @__PURE__ */ P(rt, { children: /* @__PURE__ */ F(c, {
|
|
1484
|
+
value: d,
|
|
1485
|
+
children: [e.overlay, /* @__PURE__ */ P(Ut, {
|
|
1486
|
+
routes: f,
|
|
1487
|
+
instrumentations: e.instrumentations
|
|
1488
|
+
})]
|
|
1489
|
+
}) }) })), /* @__PURE__ */ P(be, { children: /* @__PURE__ */ P(Te, {
|
|
1338
1490
|
i18n: s,
|
|
1339
|
-
children:
|
|
1340
|
-
value: D(() => ({
|
|
1341
|
-
basePath: t,
|
|
1342
|
-
entities: n,
|
|
1343
|
-
entityManifest: n,
|
|
1344
|
-
entityRegistry: r,
|
|
1345
|
-
filterColumnAliases: e.filterColumnAliases,
|
|
1346
|
-
sidebar: e.sidebar,
|
|
1347
|
-
dashboard: e.dashboard,
|
|
1348
|
-
auth: e.auth,
|
|
1349
|
-
graphql: e.graphql
|
|
1350
|
-
}), [
|
|
1351
|
-
t,
|
|
1352
|
-
e.auth,
|
|
1353
|
-
e.dashboard,
|
|
1354
|
-
n,
|
|
1355
|
-
r,
|
|
1356
|
-
e.filterColumnAliases,
|
|
1357
|
-
e.graphql,
|
|
1358
|
-
e.sidebar
|
|
1359
|
-
]),
|
|
1360
|
-
children: /* @__PURE__ */ j(Lt, {
|
|
1361
|
-
routes: D(() => Ct({
|
|
1362
|
-
basePath: t,
|
|
1363
|
-
entityManifest: n,
|
|
1364
|
-
entityRegistry: r,
|
|
1365
|
-
sidebar: e.sidebar,
|
|
1366
|
-
auth: e.auth,
|
|
1367
|
-
dashboard: e.dashboard,
|
|
1368
|
-
toolsOperationPage: e.toolsOperationPage
|
|
1369
|
-
}), [
|
|
1370
|
-
t,
|
|
1371
|
-
n,
|
|
1372
|
-
r,
|
|
1373
|
-
e.auth,
|
|
1374
|
-
e.dashboard,
|
|
1375
|
-
e.toolsOperationPage,
|
|
1376
|
-
e.sidebar
|
|
1377
|
-
]),
|
|
1378
|
-
instrumentations: e.instrumentations
|
|
1379
|
-
})
|
|
1380
|
-
}) }) })
|
|
1491
|
+
children: p
|
|
1381
1492
|
}) });
|
|
1382
|
-
},
|
|
1493
|
+
}, Gt = (e) => {
|
|
1383
1494
|
let t = null, n = null;
|
|
1384
1495
|
return {
|
|
1385
1496
|
get: () => t,
|
|
@@ -1387,15 +1498,15 @@ var wt = "txvbqb9ip txvbqbai7 txvbqbcp txvbqbdoy txvbqbk5p txvbqbu7g txvbqbaop t
|
|
|
1387
1498
|
n = null;
|
|
1388
1499
|
}), n)
|
|
1389
1500
|
};
|
|
1390
|
-
},
|
|
1501
|
+
}, Kt = (e, t) => {
|
|
1391
1502
|
let n = e ?? [], r = t ?? [];
|
|
1392
1503
|
return n.length === r.length ? n.every((e, t) => e === r[t]) : !1;
|
|
1393
1504
|
};
|
|
1394
1505
|
function $(e, t, n) {
|
|
1395
1506
|
let { filters: r } = e.list;
|
|
1396
|
-
return r.find((e) => String(e.whereKey ?? e.id) === t &&
|
|
1507
|
+
return r.find((e) => String(e.whereKey ?? e.id) === t && Kt(e.path, n)) ?? null;
|
|
1397
1508
|
}
|
|
1398
|
-
function
|
|
1509
|
+
function qt(e, t, n) {
|
|
1399
1510
|
let r = $(e, t);
|
|
1400
1511
|
if (r != null) return r;
|
|
1401
1512
|
let { [t]: i } = n ?? {};
|
|
@@ -1405,25 +1516,25 @@ function Vt(e, t, n) {
|
|
|
1405
1516
|
}
|
|
1406
1517
|
return $(e, `${t}Contains`) ?? null;
|
|
1407
1518
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return t == null ? !1 : e.kind === "boolean" ? typeof t == "boolean" : e.kind === "entityId" ? typeof t == "string" && t.trim() !== "" : typeof t == "number"
|
|
1519
|
+
function Jt(e, t) {
|
|
1520
|
+
return t == null ? !1 : e.kind === "boolean" ? typeof t == "boolean" : e.kind === "entityId" ? typeof t == "string" && t.trim() !== "" : e.kind === "number" ? typeof t == "number" && Number.isFinite(t) : e.kind === "datetime" ? typeof t == "string" && t.trim() !== "" : typeof t == "number" || typeof t != "string" ? !1 : t.trim() !== "";
|
|
1410
1521
|
}
|
|
1411
1522
|
//#endregion
|
|
1412
1523
|
//#region src/components/backoffice/filters/backofficeFilterAction.css.ts
|
|
1413
|
-
var
|
|
1414
|
-
let { t } =
|
|
1524
|
+
var Yt = "hwnq700 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxy txvbqbc6y txvbqblag txvbqb1rg txvbqb1cp txvbqb1qg txvbqbwp txvbqbv45 txvbqbvaz txvbqbv txvbqb3b txvbqb78 txvbqb6w txvbqb7k", Xt = "txvbqbtx7 txvbqbc67", Zt = (e, t) => e(t), Qt = (e) => {
|
|
1525
|
+
let { t } = k(), { t: n } = u(), { filterColumnAliases: r } = l(), { whereKey: i, value: a, path: o, label: s, listConfig: c } = e, d = ne(), f = null;
|
|
1415
1526
|
if (c == null ? d != null && (f = d.config) : f = c, f == null) return null;
|
|
1416
1527
|
let p = $(f, i, o);
|
|
1417
|
-
if (p == null && o == null && (p =
|
|
1418
|
-
let m =
|
|
1528
|
+
if (p == null && o == null && (p = qt(f, i, r)), p == null || !Jt(p, a)) return null;
|
|
1529
|
+
let m = Zt(p.label, t), h = s ?? n("filters.actions.filterBy", { label: m }), g = /* @__PURE__ */ P(Fe, {
|
|
1419
1530
|
width: 14,
|
|
1420
1531
|
height: 14,
|
|
1421
|
-
className:
|
|
1532
|
+
className: Xt,
|
|
1422
1533
|
"aria-hidden": "true"
|
|
1423
1534
|
});
|
|
1424
|
-
if (d != null) return /* @__PURE__ */
|
|
1535
|
+
if (d != null) return /* @__PURE__ */ P("button", {
|
|
1425
1536
|
type: "button",
|
|
1426
|
-
className:
|
|
1537
|
+
className: Yt,
|
|
1427
1538
|
title: h,
|
|
1428
1539
|
"aria-label": h,
|
|
1429
1540
|
onClick: () => {
|
|
@@ -1432,58 +1543,62 @@ var Ut = "hwnq700 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxp txvbqbc6p txvbqblag txv
|
|
|
1432
1543
|
children: g
|
|
1433
1544
|
});
|
|
1434
1545
|
let _ = Ve(f.listDefaults?.where ?? f.list.defaultState?.where ?? null, i, a, o);
|
|
1435
|
-
return /* @__PURE__ */
|
|
1436
|
-
to:
|
|
1437
|
-
className:
|
|
1546
|
+
return /* @__PURE__ */ P(A, {
|
|
1547
|
+
to: L(f, { where: _ }),
|
|
1548
|
+
className: Yt,
|
|
1549
|
+
title: h,
|
|
1550
|
+
"aria-label": h,
|
|
1438
1551
|
children: g
|
|
1439
1552
|
});
|
|
1440
|
-
},
|
|
1553
|
+
}, $t = "txvbqb9ip txvbqbai7 txvbqbap7", en = "txvbqb9ip txvbqbai7 txvbqbaop", tn = "txvbqb9iy txvbqbbwy txvbqbap7 txvbqbcg", nn = "txvbqb9ip txvbqbai7 txvbqbap7", rn = "txvbqb9ip txvbqbai7 txvbqbap7", an = ({ summary: e, aside: t, children: n, className: r }) => {
|
|
1441
1554
|
let i = null;
|
|
1442
|
-
e != null && (i = /* @__PURE__ */
|
|
1443
|
-
className:
|
|
1555
|
+
e != null && (i = /* @__PURE__ */ P("div", {
|
|
1556
|
+
className: en,
|
|
1444
1557
|
children: e
|
|
1445
1558
|
}));
|
|
1446
1559
|
let a = null;
|
|
1447
|
-
t != null && (a = /* @__PURE__ */
|
|
1448
|
-
className:
|
|
1560
|
+
t != null && (a = /* @__PURE__ */ P("aside", {
|
|
1561
|
+
className: rn,
|
|
1449
1562
|
children: t
|
|
1450
1563
|
}));
|
|
1451
1564
|
let o = null;
|
|
1452
|
-
return (n != null || a != null) && (o = /* @__PURE__ */
|
|
1453
|
-
className:
|
|
1565
|
+
return (n != null || a != null) && (o = /* @__PURE__ */ P("div", {
|
|
1566
|
+
className: nn,
|
|
1454
1567
|
children: n
|
|
1455
|
-
})), /* @__PURE__ */
|
|
1456
|
-
className:
|
|
1457
|
-
children: [i, /* @__PURE__ */
|
|
1458
|
-
className:
|
|
1568
|
+
})), /* @__PURE__ */ F("div", {
|
|
1569
|
+
className: M($t, r),
|
|
1570
|
+
children: [i, /* @__PURE__ */ F("div", {
|
|
1571
|
+
className: tn,
|
|
1459
1572
|
children: [o, a]
|
|
1460
1573
|
})]
|
|
1461
1574
|
});
|
|
1462
|
-
},
|
|
1463
|
-
let {
|
|
1464
|
-
typeof e == "number" && Number.isFinite(e) && (
|
|
1465
|
-
let
|
|
1466
|
-
if (
|
|
1467
|
-
let
|
|
1468
|
-
|
|
1469
|
-
let
|
|
1470
|
-
let r =
|
|
1471
|
-
r.search !== "" && (
|
|
1575
|
+
}, on = "kk18lv0 txvbqbnvy txvbqboj7 txvbqbp67 txvbqblxy txvbqb9jg txvbqbcp txvbqbdoy txvbqbany txvbqbk87 txvbqbv9z txvbqbv43 txvbqbwp txvbqb1qg txvbqb1dg txvbqb1t7 txvbqbamp txvbqbfag txvbqb3b txvbqb78 txvbqb6w txvbqb7k", sn = "txvbqbk6g txvbqbt6y txvbqbakg", cn = "kk18lv1 txvbqbaj7 txvbqbva1 txvbqb8y txvbqbfag txvbqb78 txvbqb6w txvbqb7k", ln = ({ count: e, entity: t, where: n }) => {
|
|
1576
|
+
let { t: r } = k(), { t: i } = u(), { entities: a, entityRegistry: o } = l(), s = xe(ke), c = 0;
|
|
1577
|
+
typeof e == "number" && Number.isFinite(e) && (c = e);
|
|
1578
|
+
let d = a[t];
|
|
1579
|
+
if (d == null) return /* @__PURE__ */ P("span", { children: c });
|
|
1580
|
+
let f = i("relations.openFilteredList", { label: d.label(r) }), p = o.getLoadedListEntity(t), m;
|
|
1581
|
+
m = p == null ? Be(d.routes.list, n) : L(p.config, { where: n });
|
|
1582
|
+
let h = async (e) => {
|
|
1583
|
+
let r = L((await o.loadListEntity(t)).config, { where: n }), i = "";
|
|
1584
|
+
r.search !== "" && (i = `?${r.search}`), e.push({
|
|
1472
1585
|
pathname: r.pathname,
|
|
1473
|
-
search:
|
|
1586
|
+
search: i,
|
|
1474
1587
|
hash: ""
|
|
1475
1588
|
});
|
|
1476
1589
|
};
|
|
1477
|
-
return /* @__PURE__ */
|
|
1478
|
-
to:
|
|
1479
|
-
className:
|
|
1590
|
+
return /* @__PURE__ */ F(A, {
|
|
1591
|
+
to: m,
|
|
1592
|
+
className: on,
|
|
1593
|
+
title: f,
|
|
1594
|
+
"aria-label": f,
|
|
1480
1595
|
onClick: (e) => {
|
|
1481
|
-
if (
|
|
1596
|
+
if (p != null || s == null || e.defaultPrevented || e.button !== 0 || e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
|
|
1482
1597
|
e.preventDefault();
|
|
1483
|
-
let { history: t } =
|
|
1484
|
-
|
|
1485
|
-
if (typeof
|
|
1486
|
-
let e = new URL(
|
|
1598
|
+
let { history: t } = s;
|
|
1599
|
+
h(t).catch(() => {
|
|
1600
|
+
if (typeof m == "string") {
|
|
1601
|
+
let e = new URL(m, window.location.origin);
|
|
1487
1602
|
t.push({
|
|
1488
1603
|
pathname: e.pathname,
|
|
1489
1604
|
search: e.search,
|
|
@@ -1492,40 +1607,163 @@ var Ut = "hwnq700 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxp txvbqbc6p txvbqblag txv
|
|
|
1492
1607
|
return;
|
|
1493
1608
|
}
|
|
1494
1609
|
let e = "";
|
|
1495
|
-
|
|
1496
|
-
pathname:
|
|
1610
|
+
m.search !== "" && (e = `?${m.search}`), t.push({
|
|
1611
|
+
pathname: m.pathname,
|
|
1497
1612
|
search: e,
|
|
1498
1613
|
hash: ""
|
|
1499
1614
|
});
|
|
1500
1615
|
});
|
|
1501
1616
|
},
|
|
1502
|
-
children:
|
|
1617
|
+
children: [/* @__PURE__ */ P("span", {
|
|
1618
|
+
className: sn,
|
|
1619
|
+
children: c
|
|
1620
|
+
}), /* @__PURE__ */ P("span", {
|
|
1621
|
+
className: cn,
|
|
1622
|
+
"aria-hidden": "true",
|
|
1623
|
+
children: "›"
|
|
1624
|
+
})]
|
|
1503
1625
|
});
|
|
1504
|
-
},
|
|
1626
|
+
}, un = "txvbqb9ip", dn = "txvbqb9ip txvbqbai7 txvbqbaop", fn = ({ headerNode: e, tabs: t, activeId: n, children: r }) => {
|
|
1505
1627
|
let i = null;
|
|
1506
|
-
return t != null && t.length > 1 && n != null && (i = /* @__PURE__ */
|
|
1628
|
+
return t != null && t.length > 1 && n != null && (i = /* @__PURE__ */ P(Me, {
|
|
1507
1629
|
items: t,
|
|
1508
1630
|
activeId: n,
|
|
1509
1631
|
onChange: () => {},
|
|
1510
|
-
className:
|
|
1511
|
-
})), /* @__PURE__ */
|
|
1632
|
+
className: un
|
|
1633
|
+
})), /* @__PURE__ */ P(Ne, {
|
|
1512
1634
|
headerNode: e,
|
|
1513
1635
|
tabsNode: i,
|
|
1514
|
-
children: /* @__PURE__ */
|
|
1515
|
-
className:
|
|
1636
|
+
children: /* @__PURE__ */ P("div", {
|
|
1637
|
+
className: dn,
|
|
1516
1638
|
children: r
|
|
1517
1639
|
})
|
|
1518
1640
|
});
|
|
1519
|
-
},
|
|
1520
|
-
className:
|
|
1641
|
+
}, pn = "txvbqb9jg txvbqbcp txvbqbany txvbqbajp txvbqbjep txvbqbk5y", mn = ({ children: e, className: t }) => /* @__PURE__ */ P("span", {
|
|
1642
|
+
className: M(pn, t),
|
|
1521
1643
|
children: e
|
|
1522
|
-
})
|
|
1523
|
-
|
|
1524
|
-
|
|
1644
|
+
});
|
|
1645
|
+
//#endregion
|
|
1646
|
+
//#region ../../node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js
|
|
1647
|
+
function hn(e, t) {
|
|
1648
|
+
if (typeof e != "object" || !e) return e;
|
|
1649
|
+
var n = e[Symbol.toPrimitive];
|
|
1650
|
+
if (n !== void 0) {
|
|
1651
|
+
var r = n.call(e, t || "default");
|
|
1652
|
+
if (typeof r != "object") return r;
|
|
1653
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1654
|
+
}
|
|
1655
|
+
return (t === "string" ? String : Number)(e);
|
|
1656
|
+
}
|
|
1657
|
+
function gn(e) {
|
|
1658
|
+
var t = hn(e, "string");
|
|
1659
|
+
return typeof t == "symbol" ? t : String(t);
|
|
1660
|
+
}
|
|
1661
|
+
function _n(e, t, n) {
|
|
1662
|
+
return t = gn(t), t in e ? Object.defineProperty(e, t, {
|
|
1663
|
+
value: n,
|
|
1664
|
+
enumerable: !0,
|
|
1665
|
+
configurable: !0,
|
|
1666
|
+
writable: !0
|
|
1667
|
+
}) : e[t] = n, e;
|
|
1668
|
+
}
|
|
1669
|
+
function vn(e, t) {
|
|
1670
|
+
var n = Object.keys(e);
|
|
1671
|
+
if (Object.getOwnPropertySymbols) {
|
|
1672
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
1673
|
+
t && (r = r.filter(function(t) {
|
|
1674
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
1675
|
+
})), n.push.apply(n, r);
|
|
1676
|
+
}
|
|
1677
|
+
return n;
|
|
1525
1678
|
}
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1679
|
+
function yn(e) {
|
|
1680
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1681
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
1682
|
+
t % 2 ? vn(Object(n), !0).forEach(function(t) {
|
|
1683
|
+
_n(e, t, n[t]);
|
|
1684
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vn(Object(n)).forEach(function(t) {
|
|
1685
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1686
|
+
});
|
|
1687
|
+
}
|
|
1688
|
+
return e;
|
|
1689
|
+
}
|
|
1690
|
+
function bn(e, t) {
|
|
1691
|
+
var n = {};
|
|
1692
|
+
for (var r in e) n[r] = t(e[r], r);
|
|
1693
|
+
return n;
|
|
1694
|
+
}
|
|
1695
|
+
var xn = (e, t, n) => {
|
|
1696
|
+
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
1697
|
+
return !0;
|
|
1698
|
+
}, Sn = (e) => {
|
|
1699
|
+
var t = (t) => {
|
|
1700
|
+
var n = e.defaultClassName, r = yn(yn({}, e.defaultVariants), t);
|
|
1701
|
+
for (var i in r) {
|
|
1702
|
+
var a = r[i] ?? e.defaultVariants[i];
|
|
1703
|
+
if (a != null) {
|
|
1704
|
+
var o = a;
|
|
1705
|
+
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
1706
|
+
var s = e.variantClassNames[i][o];
|
|
1707
|
+
s && (n += " " + s);
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
for (var [c, l] of e.compoundVariants) xn(c, r, e.defaultVariants) && (n += " " + l);
|
|
1711
|
+
return n;
|
|
1712
|
+
};
|
|
1713
|
+
return t.variants = () => Object.keys(e.variantClassNames), t.classNames = {
|
|
1714
|
+
get base() {
|
|
1715
|
+
return e.defaultClassName.split(" ")[0];
|
|
1716
|
+
},
|
|
1717
|
+
get variants() {
|
|
1718
|
+
return bn(e.variantClassNames, (e) => bn(e, (e) => e.split(" ")[0]));
|
|
1719
|
+
}
|
|
1720
|
+
}, t;
|
|
1721
|
+
}, Cn = "_1q232kj0 txvbqbcp txvbqb8v7 txvbqbjep txvbqbk5y txvbqb7q", wn = "txvbqb9jg txvbqbcp txvbqbdoy", Tn = "txvbqb9jg txvbqbcp txvbqbany txvbqbk5y txvbqbjep", En = Sn({
|
|
1722
|
+
defaultClassName: "_1q232kj1 txvbqbk5y txvbqbjep",
|
|
1723
|
+
variantClassNames: { wrap: {
|
|
1724
|
+
false: "_1q232kj2 txvbqbl7g txvbqbt7g txvbqbuxg",
|
|
1725
|
+
true: "_1q232kj3 txvbqbuxp txvbqbuu7"
|
|
1726
|
+
} },
|
|
1727
|
+
defaultVariants: { wrap: !1 },
|
|
1728
|
+
compoundVariants: []
|
|
1729
|
+
}), Dn = "_1q232kj4 txvbqb9jg txvbqbcp txvbqbany txvbqbk5y txvbqbjep txvbqbvaz txvbqbamp txvbqb3b txvbqb78 txvbqb6w txvbqb7k", On = "_1q232kj5 txvbqbaj7 txvbqbva1", kn = ({ filterAction: e, children: t, href: n, title: r, openInNewTab: i = !1, wrap: a = !1, className: o }) => {
|
|
1730
|
+
let s = /* @__PURE__ */ P("span", {
|
|
1731
|
+
className: En({ wrap: a }),
|
|
1732
|
+
children: t
|
|
1733
|
+
}), c = /* @__PURE__ */ P("span", {
|
|
1734
|
+
className: Tn,
|
|
1735
|
+
children: s
|
|
1736
|
+
});
|
|
1737
|
+
if (n != null && n.trim() !== "") {
|
|
1738
|
+
let e = {};
|
|
1739
|
+
i && (e = {
|
|
1740
|
+
target: "_blank",
|
|
1741
|
+
rel: "noreferrer"
|
|
1742
|
+
}), c = /* @__PURE__ */ F(A, {
|
|
1743
|
+
to: n,
|
|
1744
|
+
className: Dn,
|
|
1745
|
+
title: r,
|
|
1746
|
+
...e,
|
|
1747
|
+
children: [s, /* @__PURE__ */ P(Pe, {
|
|
1748
|
+
className: On,
|
|
1749
|
+
"aria-hidden": "true"
|
|
1750
|
+
})]
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
return /* @__PURE__ */ F("span", {
|
|
1754
|
+
className: M(Cn, o),
|
|
1755
|
+
children: [/* @__PURE__ */ P("span", {
|
|
1756
|
+
className: wn,
|
|
1757
|
+
children: e
|
|
1758
|
+
}), c]
|
|
1759
|
+
});
|
|
1760
|
+
}, An = [];
|
|
1761
|
+
function jn() {
|
|
1762
|
+
return Reflect.get(N, "default") ?? N;
|
|
1763
|
+
}
|
|
1764
|
+
var Mn = jn();
|
|
1765
|
+
function Nn(e, n) {
|
|
1766
|
+
let r = Mn.useRelayEnvironment(), [i, o] = O(null), [s, c] = O(!1), [l, u] = O(!1), d = Ce(a, () => t().generation, () => t().generation), { enabled: f = !0, deps: p = An, getVariables: m } = n, h = T(() => {
|
|
1529
1767
|
try {
|
|
1530
1768
|
return m == null ? e.variables : m();
|
|
1531
1769
|
} catch {
|
|
@@ -1538,10 +1776,10 @@ function un(e, n) {
|
|
|
1538
1776
|
} catch {
|
|
1539
1777
|
return null;
|
|
1540
1778
|
}
|
|
1541
|
-
}, [g]), v = !!f, y = v && g != null && s && i == null && !l, b =
|
|
1779
|
+
}, [g]), v = !!f, y = v && g != null && s && i == null && !l, b = Se(null);
|
|
1542
1780
|
return E(() => {
|
|
1543
1781
|
let t = null, n = h();
|
|
1544
|
-
return v && n != null && (o(null), u(!1), c(!0), t =
|
|
1782
|
+
return v && n != null && (o(null), u(!1), c(!0), t = Mn.requestSubscription(r, {
|
|
1545
1783
|
subscription: e.subscription,
|
|
1546
1784
|
variables: n,
|
|
1547
1785
|
cacheConfig: e.cacheConfig,
|
|
@@ -1576,14 +1814,14 @@ function un(e, n) {
|
|
|
1576
1814
|
}
|
|
1577
1815
|
//#endregion
|
|
1578
1816
|
//#region src/hooks/useCopyToClipboard.ts
|
|
1579
|
-
var
|
|
1580
|
-
function
|
|
1817
|
+
var Pn = "copy-to-clipboard-fallback";
|
|
1818
|
+
function Fn(e) {
|
|
1581
1819
|
if (typeof document > "u") return;
|
|
1582
|
-
let t = document.getElementById(
|
|
1583
|
-
t ?? (t = document.createElement("textarea"), t.id =
|
|
1820
|
+
let t = document.getElementById(Pn);
|
|
1821
|
+
t ?? (t = document.createElement("textarea"), t.id = Pn, t.setAttribute("readonly", ""), t.style.position = "absolute", t.style.left = "-9999px", t.style.top = "0", t.style.opacity = "0", document.body.appendChild(t)), t.value = e, t.select(), document.execCommand("copy");
|
|
1584
1822
|
}
|
|
1585
|
-
function
|
|
1586
|
-
let [t, n] = O(null), r =
|
|
1823
|
+
function In(e = 2e3) {
|
|
1824
|
+
let [t, n] = O(null), r = Se(null);
|
|
1587
1825
|
return E(() => () => {
|
|
1588
1826
|
r.current != null && window.clearTimeout(r.current);
|
|
1589
1827
|
}, []), {
|
|
@@ -1595,7 +1833,7 @@ function pn(e = 2e3) {
|
|
|
1595
1833
|
} catch {
|
|
1596
1834
|
a = !1;
|
|
1597
1835
|
}
|
|
1598
|
-
return a ||= (
|
|
1836
|
+
return a ||= (Fn(t), !0), i != null && (n(i), r.current != null && window.clearTimeout(r.current), r.current = window.setTimeout(() => {
|
|
1599
1837
|
n(null), r.current = null;
|
|
1600
1838
|
}, e)), a;
|
|
1601
1839
|
}, [e])
|
|
@@ -1603,7 +1841,7 @@ function pn(e = 2e3) {
|
|
|
1603
1841
|
}
|
|
1604
1842
|
//#endregion
|
|
1605
1843
|
//#region src/hooks/useRefetchNeededReload.ts
|
|
1606
|
-
function
|
|
1844
|
+
function Ln(e) {
|
|
1607
1845
|
let [t, n] = O(null);
|
|
1608
1846
|
return E(() => {
|
|
1609
1847
|
n(null);
|
|
@@ -1622,7 +1860,7 @@ function mn(e) {
|
|
|
1622
1860
|
}
|
|
1623
1861
|
//#endregion
|
|
1624
1862
|
//#region src/i18n/useReviewStatusLabel.ts
|
|
1625
|
-
function
|
|
1863
|
+
function Rn() {
|
|
1626
1864
|
let { t: e } = u();
|
|
1627
1865
|
function t(t) {
|
|
1628
1866
|
if (t == null) return e("review.status.unknown");
|
|
@@ -1637,7 +1875,7 @@ function hn() {
|
|
|
1637
1875
|
}
|
|
1638
1876
|
//#endregion
|
|
1639
1877
|
//#region src/modules/base64.ts
|
|
1640
|
-
function
|
|
1878
|
+
function zn(e) {
|
|
1641
1879
|
if (typeof e != "string") throw TypeError("encodeUtf8ToBase64 expects a string input.");
|
|
1642
1880
|
if (typeof globalThis.btoa == "function") {
|
|
1643
1881
|
let t = encodeURIComponent(e).replace(/%([0-9A-F]{2})/g, (e, t) => String.fromCharCode(Number.parseInt(t, 16)));
|
|
@@ -1645,7 +1883,7 @@ function gn(e) {
|
|
|
1645
1883
|
}
|
|
1646
1884
|
throw Error("No base64 encoder is available in this environment.");
|
|
1647
1885
|
}
|
|
1648
|
-
function
|
|
1886
|
+
function Bn(e) {
|
|
1649
1887
|
if (typeof e != "string") throw TypeError("decodeBase64ToUtf8 expects a string input.");
|
|
1650
1888
|
if (typeof globalThis.atob == "function") {
|
|
1651
1889
|
let t = globalThis.atob(e), n = Array.from(t, (e) => `%${e.charCodeAt(0).toString(16).padStart(2, "0")}`).join("");
|
|
@@ -1655,33 +1893,33 @@ function _n(e) {
|
|
|
1655
1893
|
}
|
|
1656
1894
|
//#endregion
|
|
1657
1895
|
//#region src/modules/formatFileSize.ts
|
|
1658
|
-
var
|
|
1896
|
+
var Vn = [
|
|
1659
1897
|
"B",
|
|
1660
1898
|
"KB",
|
|
1661
1899
|
"MB",
|
|
1662
1900
|
"GB",
|
|
1663
1901
|
"TB"
|
|
1664
|
-
],
|
|
1902
|
+
], Hn = 1024, Un = (e, t) => {
|
|
1665
1903
|
if (t === "B") return Math.round(e).toString();
|
|
1666
1904
|
let n = 1;
|
|
1667
1905
|
return e >= 10 && (n = 0), e.toFixed(n);
|
|
1668
1906
|
};
|
|
1669
|
-
function
|
|
1907
|
+
function Wn(e) {
|
|
1670
1908
|
let t = e;
|
|
1671
1909
|
Number.isFinite(e) || (t = 0);
|
|
1672
1910
|
let n = t < 0, r = Math.abs(t), i = 0;
|
|
1673
|
-
for (; r >=
|
|
1674
|
-
let a =
|
|
1911
|
+
for (; r >= Hn && i < Vn.length - 1;) r /= Hn, i += 1;
|
|
1912
|
+
let a = Vn[i] ?? "B", o = r;
|
|
1675
1913
|
return n && (o = -r), {
|
|
1676
1914
|
value: o,
|
|
1677
1915
|
unit: a,
|
|
1678
|
-
displayValue:
|
|
1916
|
+
displayValue: Un(o, a)
|
|
1679
1917
|
};
|
|
1680
1918
|
}
|
|
1681
1919
|
//#endregion
|
|
1682
1920
|
//#region src/relay/createInlineReader.ts
|
|
1683
|
-
var { readInlineData:
|
|
1921
|
+
var { readInlineData: Gn } = N, Kn = (e) => (t) => Gn(e, t), qn = (e) => e;
|
|
1684
1922
|
//#endregion
|
|
1685
|
-
export { x as AcceptInvitationScreen,
|
|
1923
|
+
export { x as AcceptInvitationScreen, ce as BackofficeDetailBadgeRow, le as BackofficeDetailField, de as BackofficeDetailPayload, ue as BackofficeDetailSection, te as BackofficeErrorBoundary, Qt as BackofficeFilterAction, kn as BackofficeFilterableCell, w as BackofficeHubTemplate, mn as BackofficeInlineFilterRow, ae as BackofficeListToolbar, an as BackofficeOverviewLayout, Wt as BackofficeProvider, ln as BackofficeRelatedCountLink, ye as BackofficeRightPageLayout, fn as BackofficeTabbedDetailShell, re as EntityFilterValue, ie as EntityFilterValueText, oe as EntityIdFilterField, se as EntityIdPickerDialog, y as LoginFlow, S as PasswordResetCompleteScreen, C as PasswordResetRequestScreen, rt as RelayProvider, ee as VerifyEmailScreen, $e as backofficeReactI18nResources, g as base64UrlToBuffer, _ as bufferToBase64Url, ve as buildDataTableColumns, o as configureRelayEnvironment, Gt as createBackofficeLazyValue, Je as createI18nInstance, Kn as createInlineDataReader, v as createUseAuth, Bn as decodeBase64ToUtf8, zn as encodeUtf8ToBase64, Wn as formatFileSize, n as getEnvironment, i as getNetwork, t as getRelayTransportSnapshot, qn as identityView, h as mapWebAuthnRegistrationError, m as parseSignCount, e as reconnectRelayWebSocket, ge as requireField, me as requireLinkedRecordId, r as resetRelayStore, he as resolveAgentStartOutcome, pe as resolveMutationOutcome, _e as resolveVisibleDetailPages, a as subscribeRelayTransport, b as synchronizeAuthStatusQuery, l as useBackofficeConfig, fe as useBackofficeListUrlState, Nn as useConditionalSubscription, In as useCopyToClipboard, Ln as useRefetchNeededReload, Rn as useReviewStatusLabel, tt as withBackofficeReactI18nResources };
|
|
1686
1924
|
|
|
1687
1925
|
//# sourceMappingURL=backoffice-react.js.map
|