@plumile/backoffice-react 0.1.108 → 0.1.112

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.
Files changed (319) hide show
  1. package/lib/esm/auth/AuthRefreshNotice.js +2 -2
  2. package/lib/esm/auth/AuthRefreshNotice.js.map +1 -1
  3. package/lib/esm/auth/authRefreshNotice.css.js +1 -0
  4. package/lib/esm/auth/authRefreshNotice.css.js.map +1 -1
  5. package/lib/esm/auth/login/EmailCapturePanel.js +12 -9
  6. package/lib/esm/auth/login/EmailCapturePanel.js.map +1 -1
  7. package/lib/esm/auth/login/LoginFlow.js +10 -10
  8. package/lib/esm/auth/login/LoginFlow.js.map +1 -1
  9. package/lib/esm/auth/login/MethodChooser.js +14 -12
  10. package/lib/esm/auth/login/MethodChooser.js.map +1 -1
  11. package/lib/esm/auth/login/MfaChallengeForm.js +13 -10
  12. package/lib/esm/auth/login/MfaChallengeForm.js.map +1 -1
  13. package/lib/esm/auth/login/OidcButtons.js +4 -4
  14. package/lib/esm/auth/login/OidcButtons.js.map +1 -1
  15. package/lib/esm/auth/login/PasskeyLoginForm.js +13 -10
  16. package/lib/esm/auth/login/PasskeyLoginForm.js.map +1 -1
  17. package/lib/esm/auth/login/PasswordLoginPanel.js +8 -8
  18. package/lib/esm/auth/login/PasswordLoginPanel.js.map +1 -1
  19. package/lib/esm/auth/login/loginPage.css.js.map +1 -1
  20. package/lib/esm/auth/pages/AcceptInvitationScreen.js +18 -14
  21. package/lib/esm/auth/pages/AcceptInvitationScreen.js.map +1 -1
  22. package/lib/esm/auth/pages/PasswordResetCompleteScreen.js +16 -12
  23. package/lib/esm/auth/pages/PasswordResetCompleteScreen.js.map +1 -1
  24. package/lib/esm/auth/pages/PasswordResetRequestScreen.js +15 -11
  25. package/lib/esm/auth/pages/PasswordResetRequestScreen.js.map +1 -1
  26. package/lib/esm/auth/pages/VerifyEmailScreen.js +13 -11
  27. package/lib/esm/auth/pages/VerifyEmailScreen.js.map +1 -1
  28. package/lib/esm/components/backoffice/actions/BackofficeEntityActionFormDialog.js +66 -54
  29. package/lib/esm/components/backoffice/actions/BackofficeEntityActionFormDialog.js.map +1 -1
  30. package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js +8 -8
  31. package/lib/esm/components/backoffice/actions/LazyBackofficeEntityActionFormDialog.js.map +1 -1
  32. package/lib/esm/components/backoffice/actions/backofficeEntityActionFormDialog.css.js.map +1 -1
  33. package/lib/esm/components/backoffice/actions/toastViewAction.js.map +1 -1
  34. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js +13 -12
  35. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js.map +1 -1
  36. package/lib/esm/components/backoffice/detail/BackofficeCopyButton.js +3 -3
  37. package/lib/esm/components/backoffice/detail/BackofficeCopyButton.js.map +1 -1
  38. package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js +8 -8
  39. package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js.map +1 -1
  40. package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js +12 -11
  41. package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js.map +1 -1
  42. package/lib/esm/components/backoffice/detail/BackofficeDetailField.js +8 -7
  43. package/lib/esm/components/backoffice/detail/BackofficeDetailField.js.map +1 -1
  44. package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.css.js.map +1 -1
  45. package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js +6 -6
  46. package/lib/esm/components/backoffice/detail/BackofficeDetailFlagTag.js.map +1 -1
  47. package/lib/esm/components/backoffice/detail/BackofficeDetailHeader.js +3 -3
  48. package/lib/esm/components/backoffice/detail/BackofficeDetailHeader.js.map +1 -1
  49. package/lib/esm/components/backoffice/detail/BackofficeDetailPage.js +3 -3
  50. package/lib/esm/components/backoffice/detail/BackofficeDetailPage.js.map +1 -1
  51. package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js +4 -4
  52. package/lib/esm/components/backoffice/detail/BackofficeDetailPayload.js.map +1 -1
  53. package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js +1 -1
  54. package/lib/esm/components/backoffice/detail/BackofficeDetailRelationLink.js.map +1 -1
  55. package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js +30 -29
  56. package/lib/esm/components/backoffice/detail/BackofficeDetailRelationListBlock.js.map +1 -1
  57. package/lib/esm/components/backoffice/detail/BackofficeDetailTable.js +3 -3
  58. package/lib/esm/components/backoffice/detail/BackofficeDetailTable.js.map +1 -1
  59. package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js +5 -5
  60. package/lib/esm/components/backoffice/detail/BackofficeDetailTaggedValue.js.map +1 -1
  61. package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js +21 -19
  62. package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js.map +1 -1
  63. package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js +9 -6
  64. package/lib/esm/components/backoffice/detail/BackofficeKpiStrip.js.map +1 -1
  65. package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js +7 -7
  66. package/lib/esm/components/backoffice/detail/BackofficeLifecycleTimelineSection.js.map +1 -1
  67. package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js +8 -8
  68. package/lib/esm/components/backoffice/detail/BackofficePayloadInspectorSection.js.map +1 -1
  69. package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js +5 -5
  70. package/lib/esm/components/backoffice/detail/BackofficeReferenceValue.js.map +1 -1
  71. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js +1 -1
  72. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js.map +1 -1
  73. package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js +4 -4
  74. package/lib/esm/components/backoffice/detail/BackofficeStatusMetaBadge.js.map +1 -1
  75. package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js +1 -1
  76. package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js.map +1 -1
  77. package/lib/esm/components/backoffice/detail/backofficeAuditMetadataPanel.css.js.map +1 -1
  78. package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js.map +1 -1
  79. package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js.map +1 -1
  80. package/lib/esm/components/backoffice/detail/backofficeDetailField.css.js.map +1 -1
  81. package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js.map +1 -1
  82. package/lib/esm/components/backoffice/detail/backofficeDetailRelationLink.css.js.map +1 -1
  83. package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js.map +1 -1
  84. package/lib/esm/components/backoffice/detail/backofficeDetailSection.css.js.map +1 -1
  85. package/lib/esm/components/backoffice/detail/backofficeDetailTaggedValue.css.js.map +1 -1
  86. package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js.map +1 -1
  87. package/lib/esm/components/backoffice/detail/backofficeKpiStrip.css.js.map +1 -1
  88. package/lib/esm/components/backoffice/detail/backofficeLifecycleTimelineSection.css.js.map +1 -1
  89. package/lib/esm/components/backoffice/detail/backofficePayloadInspectorSection.css.js.map +1 -1
  90. package/lib/esm/components/backoffice/detail/backofficeReferenceValue.css.js.map +1 -1
  91. package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js.map +1 -1
  92. package/lib/esm/components/backoffice/detail/backofficeScopeStack.css.js.map +1 -1
  93. package/lib/esm/components/backoffice/detail/backofficeStatusMetaBadge.css.js.map +1 -1
  94. package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js.map +1 -1
  95. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js +12 -12
  96. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js.map +1 -1
  97. package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js +11 -9
  98. package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js.map +1 -1
  99. package/lib/esm/components/backoffice/filters/EntityFilterValue.js +16 -8
  100. package/lib/esm/components/backoffice/filters/EntityFilterValue.js.map +1 -1
  101. package/lib/esm/components/backoffice/filters/EntityIdFilterField.js +86 -53
  102. package/lib/esm/components/backoffice/filters/EntityIdFilterField.js.map +1 -1
  103. package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js.map +1 -1
  104. package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js.map +1 -1
  105. package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js +2 -2
  106. package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js.map +1 -1
  107. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js +25 -23
  108. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js.map +1 -1
  109. package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js.map +1 -1
  110. package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js.map +1 -1
  111. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js +14 -14
  112. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js.map +1 -1
  113. package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js.map +1 -1
  114. package/lib/esm/components/backoffice/layout/buildSidebarSections.js +42 -37
  115. package/lib/esm/components/backoffice/layout/buildSidebarSections.js.map +1 -1
  116. package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js.map +1 -1
  117. package/lib/esm/components/backoffice/links/BackofficeInlineLink.js +1 -1
  118. package/lib/esm/components/backoffice/links/BackofficeInlineLink.js.map +1 -1
  119. package/lib/esm/components/backoffice/links/BackofficeLink.js +1 -1
  120. package/lib/esm/components/backoffice/links/BackofficeLink.js.map +1 -1
  121. package/lib/esm/components/backoffice/links/backofficeLink.css.js.map +1 -1
  122. package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js +1 -1
  123. package/lib/esm/components/backoffice/lists/BackofficeListToolbar.js.map +1 -1
  124. package/lib/esm/components/backoffice/lists/backofficeListToolbar.css.js.map +1 -1
  125. package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js +1 -1
  126. package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js.map +1 -1
  127. package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js.map +1 -1
  128. package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js +31 -27
  129. package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js.map +1 -1
  130. package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js +2 -2
  131. package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js.map +1 -1
  132. package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js +26 -20
  133. package/lib/esm/components/backoffice/pickers/shared/EntityPickerList.js.map +1 -1
  134. package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js +4 -4
  135. package/lib/esm/components/backoffice/pickers/shared/EntityPickerShell.js.map +1 -1
  136. package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js +1 -1
  137. package/lib/esm/components/backoffice/refs/BackofficeRelatedCountLink.js.map +1 -1
  138. package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js.map +1 -1
  139. package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js.map +1 -1
  140. package/lib/esm/components/backoffice/routing/BackofficeContentError.js +6 -5
  141. package/lib/esm/components/backoffice/routing/BackofficeContentError.js.map +1 -1
  142. package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js +10 -10
  143. package/lib/esm/components/backoffice/routing/BackofficeContentFallback.js.map +1 -1
  144. package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js +10 -10
  145. package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js.map +1 -1
  146. package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js.map +1 -1
  147. package/lib/esm/components/backoffice/routing/backofficeContentError.css.js.map +1 -1
  148. package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js.map +1 -1
  149. package/lib/esm/components/backoffice/routing/backofficeRouteFallback.css.js.map +1 -1
  150. package/lib/esm/components/backoffice/routing/backofficeRoutePendingBar.css.js.map +1 -1
  151. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js +3 -3
  152. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js.map +1 -1
  153. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js +198 -181
  154. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js.map +1 -1
  155. package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js +6 -5
  156. package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js.map +1 -1
  157. package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js.map +1 -1
  158. package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js.map +1 -1
  159. package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js +10 -9
  160. package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js.map +1 -1
  161. package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js +1 -1
  162. package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js.map +1 -1
  163. package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js.map +1 -1
  164. package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js.map +1 -1
  165. package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js +11 -9
  166. package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js.map +1 -1
  167. package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js +7 -7
  168. package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js.map +1 -1
  169. package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js +17 -12
  170. package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js.map +1 -1
  171. package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js +10 -10
  172. package/lib/esm/components/backoffice/tools/BackofficeToolsQueryBoundary.js.map +1 -1
  173. package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js.map +1 -1
  174. package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js.map +1 -1
  175. package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js.map +1 -1
  176. package/lib/esm/hooks/useBackofficeListUrlState.js +2 -1
  177. package/lib/esm/hooks/useBackofficeListUrlState.js.map +1 -1
  178. package/lib/esm/pages/BackofficeAcceptInvitationPage.js +1 -1
  179. package/lib/esm/pages/BackofficeAcceptInvitationPage.js.map +1 -1
  180. package/lib/esm/pages/BackofficeDashboardPage.js +72 -68
  181. package/lib/esm/pages/BackofficeDashboardPage.js.map +1 -1
  182. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +1 -1
  183. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -1
  184. package/lib/esm/pages/BackofficeEntityDetailPage.js +207 -184
  185. package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -1
  186. package/lib/esm/pages/BackofficeEntityDetailUnknownPageRedirect.js +1 -1
  187. package/lib/esm/pages/BackofficeEntityDetailUnknownPageRedirect.js.map +1 -1
  188. package/lib/esm/pages/BackofficeEntityListPage.helpers.js.map +1 -1
  189. package/lib/esm/pages/BackofficeEntityListPage.js +143 -139
  190. package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -1
  191. package/lib/esm/pages/BackofficeHubPage.js +10 -9
  192. package/lib/esm/pages/BackofficeHubPage.js.map +1 -1
  193. package/lib/esm/pages/BackofficeLayoutPage.js +44 -39
  194. package/lib/esm/pages/BackofficeLayoutPage.js.map +1 -1
  195. package/lib/esm/pages/BackofficeLoginPage.js +1 -1
  196. package/lib/esm/pages/BackofficeLoginPage.js.map +1 -1
  197. package/lib/esm/pages/BackofficePasswordResetCompletePage.js +1 -1
  198. package/lib/esm/pages/BackofficePasswordResetCompletePage.js.map +1 -1
  199. package/lib/esm/pages/BackofficeVerifyEmailPage.js +1 -1
  200. package/lib/esm/pages/BackofficeVerifyEmailPage.js.map +1 -1
  201. package/lib/esm/pages/backofficeDashboardPage.css.js.map +1 -1
  202. package/lib/esm/pages/backofficeEntityDetailPage.css.js.map +1 -1
  203. package/lib/esm/pages/backofficeEntityListPage.css.js.map +1 -1
  204. package/lib/esm/pages/dashboard/DashboardMetricGroup.js +10 -9
  205. package/lib/esm/pages/dashboard/DashboardMetricGroup.js.map +1 -1
  206. package/lib/esm/pages/dashboard/DashboardPanel.js +3 -3
  207. package/lib/esm/pages/dashboard/DashboardPanel.js.map +1 -1
  208. package/lib/esm/pages/dashboard/DashboardQuickActions.js +2 -2
  209. package/lib/esm/pages/dashboard/DashboardQuickActions.js.map +1 -1
  210. package/lib/esm/pages/dashboard/DashboardStatusList.js +1 -1
  211. package/lib/esm/pages/dashboard/DashboardStatusList.js.map +1 -1
  212. package/lib/esm/pages/dashboard/dashboardMetricGroup.css.js.map +1 -1
  213. package/lib/esm/pages/dashboard/dashboardPanel.css.js.map +1 -1
  214. package/lib/esm/pages/dashboard/dashboardQuickActions.css.js.map +1 -1
  215. package/lib/esm/pages/dashboard/dashboardStatusList.css.js.map +1 -1
  216. package/lib/esm/pages/detail/buildTabsItems.js.map +1 -1
  217. package/lib/esm/provider/BackofficeProvider.js +22 -20
  218. package/lib/esm/provider/BackofficeProvider.js.map +1 -1
  219. package/lib/esm/router/createBackofficeRoutes.js +33 -30
  220. package/lib/esm/router/createBackofficeRoutes.js.map +1 -1
  221. package/lib/esm/storybook/relay/RelayStory.css.js.map +1 -1
  222. package/lib/esm/style.css +1 -1
  223. package/lib/types/auth/AuthFlows.stories.d.ts +19 -0
  224. package/lib/types/auth/AuthFlows.stories.d.ts.map +1 -0
  225. package/lib/types/auth/AuthRefreshNotice.d.ts +1 -1
  226. package/lib/types/auth/AuthRefreshNotice.d.ts.map +1 -1
  227. package/lib/types/auth/authRefreshNotice.css.d.ts.map +1 -1
  228. package/lib/types/auth/login/EmailCapturePanel.d.ts.map +1 -1
  229. package/lib/types/auth/login/MethodChooser.d.ts.map +1 -1
  230. package/lib/types/auth/login/MfaChallengeForm.d.ts.map +1 -1
  231. package/lib/types/auth/login/PasskeyLoginForm.d.ts.map +1 -1
  232. package/lib/types/auth/login/PasswordLoginPanel.d.ts +1 -1
  233. package/lib/types/auth/login/PasswordLoginPanel.d.ts.map +1 -1
  234. package/lib/types/auth/login/loginPage.css.d.ts.map +1 -1
  235. package/lib/types/auth/pages/AcceptInvitationScreen.d.ts.map +1 -1
  236. package/lib/types/auth/pages/PasswordResetCompleteScreen.d.ts.map +1 -1
  237. package/lib/types/auth/pages/PasswordResetRequestScreen.d.ts.map +1 -1
  238. package/lib/types/auth/pages/VerifyEmailScreen.d.ts.map +1 -1
  239. package/lib/types/components/backoffice/actions/BackofficeEntityActionFormDialog.d.ts.map +1 -1
  240. package/lib/types/components/backoffice/actions/toastViewAction.d.ts +1 -1
  241. package/lib/types/components/backoffice/actions/toastViewAction.d.ts.map +1 -1
  242. package/lib/types/components/backoffice/columns/buildDataTableColumns.d.ts +1 -1
  243. package/lib/types/components/backoffice/columns/buildDataTableColumns.d.ts.map +1 -1
  244. package/lib/types/components/backoffice/detail/BackofficeCopyButton.d.ts +1 -1
  245. package/lib/types/components/backoffice/detail/BackofficeCopyButton.d.ts.map +1 -1
  246. package/lib/types/components/backoffice/detail/BackofficeDetailErrorList.d.ts.map +1 -1
  247. package/lib/types/components/backoffice/detail/BackofficeDetailField.d.ts.map +1 -1
  248. package/lib/types/components/backoffice/detail/BackofficeDetailFlagTag.d.ts +1 -1
  249. package/lib/types/components/backoffice/detail/BackofficeDetailFlagTag.d.ts.map +1 -1
  250. package/lib/types/components/backoffice/detail/BackofficeDetailPrimitives.stories.d.ts +17 -0
  251. package/lib/types/components/backoffice/detail/BackofficeDetailPrimitives.stories.d.ts.map +1 -0
  252. package/lib/types/components/backoffice/detail/BackofficeDetailRelationListBlock.d.ts.map +1 -1
  253. package/lib/types/components/backoffice/detail/BackofficeDetailTable.d.ts +1 -1
  254. package/lib/types/components/backoffice/detail/BackofficeDetailTable.d.ts.map +1 -1
  255. package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts.map +1 -1
  256. package/lib/types/components/backoffice/detail/BackofficeKpiStrip.d.ts.map +1 -1
  257. package/lib/types/components/backoffice/detail/backofficeDetailRelationLink.css.d.ts.map +1 -1
  258. package/lib/types/components/backoffice/filters/DeferredFilterSearchInput.d.ts.map +1 -1
  259. package/lib/types/components/backoffice/filters/EntityFilterValue.d.ts +5 -1
  260. package/lib/types/components/backoffice/filters/EntityFilterValue.d.ts.map +1 -1
  261. package/lib/types/components/backoffice/filters/EntityIdFilterField.d.ts +1 -0
  262. package/lib/types/components/backoffice/filters/EntityIdFilterField.d.ts.map +1 -1
  263. package/lib/types/components/backoffice/filters/backofficeFilterAction.css.d.ts.map +1 -1
  264. package/lib/types/components/backoffice/filters/entityIdFilterField.css.d.ts +5 -2
  265. package/lib/types/components/backoffice/filters/entityIdFilterField.css.d.ts.map +1 -1
  266. package/lib/types/components/backoffice/hub/BackofficeHubTemplate.d.ts.map +1 -1
  267. package/lib/types/components/backoffice/hub/BackofficeHubTemplate.stories.d.ts +48 -0
  268. package/lib/types/components/backoffice/hub/BackofficeHubTemplate.stories.d.ts.map +1 -0
  269. package/lib/types/components/backoffice/hub/backofficeHubTemplate.css.d.ts.map +1 -1
  270. package/lib/types/components/backoffice/layout/backofficeSidebarActions.css.d.ts.map +1 -1
  271. package/lib/types/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.d.ts.map +1 -1
  272. package/lib/types/components/backoffice/layout/buildSidebarSections.d.ts +1 -1
  273. package/lib/types/components/backoffice/layout/buildSidebarSections.d.ts.map +1 -1
  274. package/lib/types/components/backoffice/layout/mapViewerToSidebarProfileView.d.ts +1 -1
  275. package/lib/types/components/backoffice/layout/mapViewerToSidebarProfileView.d.ts.map +1 -1
  276. package/lib/types/components/backoffice/lists/BackofficeListToolbar.stories.d.ts +13 -0
  277. package/lib/types/components/backoffice/lists/BackofficeListToolbar.stories.d.ts.map +1 -0
  278. package/lib/types/components/backoffice/overview/BackofficeOverviewLayout.stories.d.ts.map +1 -1
  279. package/lib/types/components/backoffice/pickers/EntityIdPickerDialog.d.ts.map +1 -1
  280. package/lib/types/components/backoffice/pickers/EntityIdPickerDialog.stories.d.ts +11 -0
  281. package/lib/types/components/backoffice/pickers/EntityIdPickerDialog.stories.d.ts.map +1 -0
  282. package/lib/types/components/backoffice/pickers/entityIdPickerDialog.css.d.ts +2 -0
  283. package/lib/types/components/backoffice/pickers/entityIdPickerDialog.css.d.ts.map +1 -1
  284. package/lib/types/components/backoffice/pickers/shared/EntityPickerList.d.ts.map +1 -1
  285. package/lib/types/components/backoffice/refs/backofficeRelatedCountLink.css.d.ts.map +1 -1
  286. package/lib/types/components/backoffice/routing/BackofficeContentError.d.ts.map +1 -1
  287. package/lib/types/components/backoffice/routing/backofficeRoutePendingBar.css.d.ts.map +1 -1
  288. package/lib/types/components/backoffice/scaffolds/BackofficeEntityListScaffold.d.ts +1 -1
  289. package/lib/types/components/backoffice/scaffolds/BackofficeEntityListScaffold.d.ts.map +1 -1
  290. package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.d.ts +1 -1
  291. package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.d.ts.map +1 -1
  292. package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.stories.d.ts.map +1 -1
  293. package/lib/types/components/backoffice/shared/BackofficeFilterableCell.d.ts.map +1 -1
  294. package/lib/types/components/backoffice/shared/backofficeFilterableCell.css.d.ts.map +1 -1
  295. package/lib/types/components/backoffice/tools/BackofficeTools.stories.d.ts +17 -0
  296. package/lib/types/components/backoffice/tools/BackofficeTools.stories.d.ts.map +1 -0
  297. package/lib/types/components/backoffice/tools/BackofficeToolsDocPanel.d.ts.map +1 -1
  298. package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts.map +1 -1
  299. package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts.map +1 -1
  300. package/lib/types/hooks/useBackofficeListUrlState.d.ts.map +1 -1
  301. package/lib/types/pages/BackofficeEntityDetailPage.d.ts.map +1 -1
  302. package/lib/types/pages/BackofficeEntityListPage.helpers.d.ts +2 -1
  303. package/lib/types/pages/BackofficeEntityListPage.helpers.d.ts.map +1 -1
  304. package/lib/types/pages/BackofficeHubPage.d.ts.map +1 -1
  305. package/lib/types/pages/BackofficeLayoutPage.d.ts.map +1 -1
  306. package/lib/types/pages/backofficeEntityDetailPage.css.d.ts.map +1 -1
  307. package/lib/types/pages/dashboard/DashboardMetricGroup.d.ts.map +1 -1
  308. package/lib/types/pages/dashboard/dashboardMetricGroup.css.d.ts.map +1 -1
  309. package/lib/types/pages/dashboard/dashboardPanel.css.d.ts.map +1 -1
  310. package/lib/types/pages/dashboard/dashboardQuickActions.css.d.ts.map +1 -1
  311. package/lib/types/pages/dashboard/dashboardStatusList.css.d.ts.map +1 -1
  312. package/lib/types/pages/detail/buildTabsItems.d.ts +1 -1
  313. package/lib/types/pages/detail/buildTabsItems.d.ts.map +1 -1
  314. package/lib/types/provider/BackofficeProvider.d.ts.map +1 -1
  315. package/lib/types/provider/types.d.ts +2 -1
  316. package/lib/types/provider/types.d.ts.map +1 -1
  317. package/lib/types/router/createBackofficeRoutes.d.ts +2 -1
  318. package/lib/types/router/createBackofficeRoutes.d.ts.map +1 -1
  319. package/package.json +14 -10
@@ -20,201 +20,224 @@ import { BackofficeRightPageLayout as se } from "../components/backoffice/layout
20
20
  import { buildEntityDetailBreadcrumb as ce } from "../components/backoffice/layout/breadcrumb/buildBreadcrumbs.js";
21
21
  import { BackofficeEntityDetailScaffold as f } from "../components/backoffice/scaffolds/BackofficeEntityDetailScaffold.js";
22
22
  import { useBackofficeFormats as p } from "../i18n/useBackofficeFormats.js";
23
- import { useRelayEnvironment as m } from "../relay/useRelayEnvironment.js";
24
- import { resolveVisibleDetailPages as h } from "./detail/pageResolution.js";
25
- import { useBackofficeEntityDetailLayoutContext as g } from "./detail/BackofficeEntityDetailLayoutContext.js";
26
- import { extractMutationPayload as le, isFormMutationAction as _, isMutationAction as ue, isRouteAction as de, resolveLabel as v } from "./BackofficeEntityDetailPage.helpers.js";
27
- import { headerActions as fe, headerBlock as pe, headerMeta as me, headerMetaList as he } from "./backofficeEntityDetailPage.css.js";
28
- import { buildTabsItems as ge } from "./detail/buildTabsItems.js";
29
- import { buildFieldItems as _e, renderBlocks as ve, resolveHeaderItems as ye } from "./BackofficeEntityDetailPage.view-helpers.js";
30
- import { useContext as y, useMemo as b, useState as x } from "react";
31
- import { BackofficeKeyValueList as S, BackofficeRelationsMenu as be, BackofficeTabs as xe, Button as C, ChatCheckSvg as w, FormattedDate as T, KeyOffSvg as E, KeySvg as D, LinkButton as Se, LockOpenSvg as O, LockSvg as k, RobotCheckSvg as A, RobotXSvg as j, RocketOffSvg as M, RocketSvg as N, SettingsCheckSvg as P, SettingsXSvg as F, ShieldLockSvg as Ce, ShieldOffSvg as I, Tag as L, XBadgeSvg as we, useToast as Te } from "@plumile/ui";
32
- import { Fragment as Ee, jsx as R, jsxs as z } from "react/jsx-runtime";
33
- import { useTranslation as B } from "react-i18next";
34
- import { commitMutation as De, useFragment as V, usePreloadedQuery as H } from "react-relay";
35
- import { HttpRedirect as U, Link as W, RoutingContext as Oe } from "@plumile/router";
36
- import { BACKOFFICE_DATE_TIME_OPTIONS as G } from "@plumile/backoffice-core/constants.js";
37
- import { buildBackofficeFallbackListHref as ke, buildBackofficeListHref as Ae, buildBackofficeListLink as je } from "@plumile/backoffice-core/state/buildListHref.js";
38
- import { setWhereValue as Me } from "@plumile/backoffice-core/filters/where.js";
23
+ import { useRelayEnvironment as le } from "../relay/useRelayEnvironment.js";
24
+ import { resolveVisibleDetailPages as m } from "./detail/pageResolution.js";
25
+ import { useBackofficeEntityDetailLayoutContext as h } from "./detail/BackofficeEntityDetailLayoutContext.js";
26
+ import { extractMutationPayload as ue, isFormMutationAction as g, isMutationAction as de, isRouteAction as fe, resolveLabel as _ } from "./BackofficeEntityDetailPage.helpers.js";
27
+ import { headerActions as pe, headerBlock as me, headerMeta as he, headerMetaList as ge } from "./backofficeEntityDetailPage.css.js";
28
+ import { buildTabsItems as _e } from "./detail/buildTabsItems.js";
29
+ import { buildFieldItems as ve, renderBlocks as ye, resolveHeaderItems as be } from "./BackofficeEntityDetailPage.view-helpers.js";
30
+ import { useContext as v, useMemo as y, useState as b } from "react";
31
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
32
+ import { useTranslation as xe } from "react-i18next";
33
+ import { Button as w } from "@plumile/ui/atomic/atoms/button/Button.js";
34
+ import { commitMutation as Se, useFragment as T, usePreloadedQuery as E } from "react-relay";
35
+ import { useToast as D } from "@plumile/ui/atomic/molecules/toast/ToastProvider.js";
36
+ import O from "@plumile/router/routing/RoutingContext.js";
37
+ import { BACKOFFICE_DATE_TIME_OPTIONS as k } from "@plumile/backoffice-core/constants.js";
38
+ import A from "@plumile/router/routing/Link.js";
39
+ import { FormattedDate as j } from "@plumile/ui/atomic/atoms/formatted-date/FormattedDate.js";
40
+ import { Tag as M } from "@plumile/ui/backoffice/atoms/tag/Tag.js";
41
+ import { buildBackofficeFallbackListHref as Ce, buildBackofficeListHref as we, buildBackofficeListLink as Te } from "@plumile/backoffice-core/state/buildListHref.js";
42
+ import { setWhereValue as Ee } from "@plumile/backoffice-core/filters/where.js";
43
+ import { BackofficeTabs as De } from "@plumile/ui/backoffice/molecules/backoffice_tabs/BackofficeTabs.js";
44
+ import N from "@plumile/router/errors/HttpRedirect.js";
45
+ import { LinkButton as Oe } from "@plumile/ui/atomic/atoms/button/LinkButton.js";
46
+ import { BackofficeKeyValueList as P } from "@plumile/ui/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js";
47
+ import { BackofficeRelationsMenu as ke } from "@plumile/ui/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js";
48
+ import { ChatCheckSvg as F } from "@plumile/ui/icons/ChatCheckSvg.js";
49
+ import { KeyOffSvg as I } from "@plumile/ui/icons/KeyOffSvg.js";
50
+ import { KeySvg as L } from "@plumile/ui/icons/KeySvg.js";
51
+ import { LockOpenSvg as R } from "@plumile/ui/icons/LockOpenSvg.js";
52
+ import { LockSvg as z } from "@plumile/ui/icons/LockSvg.js";
53
+ import { RobotCheckSvg as B } from "@plumile/ui/icons/RobotCheckSvg.js";
54
+ import { RobotXSvg as V } from "@plumile/ui/icons/RobotXSvg.js";
55
+ import { RocketOffSvg as H } from "@plumile/ui/icons/RocketOffSvg.js";
56
+ import { RocketSvg as U } from "@plumile/ui/icons/RocketSvg.js";
57
+ import { SettingsCheckSvg as W } from "@plumile/ui/icons/SettingsCheckSvg.js";
58
+ import { SettingsXSvg as G } from "@plumile/ui/icons/SettingsXSvg.js";
59
+ import { ShieldLockSvg as Ae } from "@plumile/ui/icons/ShieldLockSvg.js";
60
+ import { ShieldOffSvg as K } from "@plumile/ui/icons/ShieldOffSvg.js";
61
+ import { XBadgeSvg as je } from "@plumile/ui/icons/XBadgeSvg.js";
39
62
  //#region src/pages/BackofficeEntityDetailPage.tsx
40
- var Ne = (e) => {
63
+ var Me = (e) => {
41
64
  switch (e) {
42
- case "shield-lock": return /* @__PURE__ */ R(Ce, {
65
+ case "shield-lock": return /* @__PURE__ */ S(Ae, {
43
66
  width: 14,
44
67
  height: 14,
45
68
  "aria-hidden": "true"
46
69
  });
47
- case "shield-off": return /* @__PURE__ */ R(I, {
70
+ case "shield-off": return /* @__PURE__ */ S(K, {
48
71
  width: 14,
49
72
  height: 14,
50
73
  "aria-hidden": "true"
51
74
  });
52
- case "settings-check": return /* @__PURE__ */ R(P, {
75
+ case "settings-check": return /* @__PURE__ */ S(W, {
53
76
  width: 14,
54
77
  height: 14,
55
78
  "aria-hidden": "true"
56
79
  });
57
- case "settings-x": return /* @__PURE__ */ R(F, {
80
+ case "settings-x": return /* @__PURE__ */ S(G, {
58
81
  width: 14,
59
82
  height: 14,
60
83
  "aria-hidden": "true"
61
84
  });
62
- case "x-badge": return /* @__PURE__ */ R(we, {
85
+ case "x-badge": return /* @__PURE__ */ S(je, {
63
86
  width: 14,
64
87
  height: 14,
65
88
  "aria-hidden": "true"
66
89
  });
67
- case "chat-check": return /* @__PURE__ */ R(w, {
90
+ case "chat-check": return /* @__PURE__ */ S(F, {
68
91
  width: 14,
69
92
  height: 14,
70
93
  "aria-hidden": "true"
71
94
  });
72
- case "key": return /* @__PURE__ */ R(D, {
95
+ case "key": return /* @__PURE__ */ S(L, {
73
96
  width: 14,
74
97
  height: 14,
75
98
  "aria-hidden": "true"
76
99
  });
77
- case "key-off": return /* @__PURE__ */ R(E, {
100
+ case "key-off": return /* @__PURE__ */ S(I, {
78
101
  width: 14,
79
102
  height: 14,
80
103
  "aria-hidden": "true"
81
104
  });
82
- case "lock": return /* @__PURE__ */ R(k, {
105
+ case "lock": return /* @__PURE__ */ S(z, {
83
106
  width: 14,
84
107
  height: 14,
85
108
  "aria-hidden": "true"
86
109
  });
87
- case "lock-open": return /* @__PURE__ */ R(O, {
110
+ case "lock-open": return /* @__PURE__ */ S(R, {
88
111
  width: 14,
89
112
  height: 14,
90
113
  "aria-hidden": "true"
91
114
  });
92
- case "robot-check": return /* @__PURE__ */ R(A, {
115
+ case "robot-check": return /* @__PURE__ */ S(B, {
93
116
  width: 14,
94
117
  height: 14,
95
118
  "aria-hidden": "true"
96
119
  });
97
- case "robot-x": return /* @__PURE__ */ R(j, {
120
+ case "robot-x": return /* @__PURE__ */ S(V, {
98
121
  width: 14,
99
122
  height: 14,
100
123
  "aria-hidden": "true"
101
124
  });
102
- case "rocket": return /* @__PURE__ */ R(N, {
125
+ case "rocket": return /* @__PURE__ */ S(U, {
103
126
  width: 14,
104
127
  height: 14,
105
128
  "aria-hidden": "true"
106
129
  });
107
- case "rocket-off": return /* @__PURE__ */ R(M, {
130
+ case "rocket-off": return /* @__PURE__ */ S(H, {
108
131
  width: 14,
109
132
  height: 14,
110
133
  "aria-hidden": "true"
111
134
  });
112
135
  default: throw Error(`Unsupported flag icon: ${String(e)}`);
113
136
  }
114
- }, Pe = (e) => {
137
+ }, Ne = (e) => {
115
138
  if (e.presentation?.desktop === "secondary" || e.presentation?.group === "scope" || e.presentation?.group === "status") return "secondary";
116
139
  let t = e.fields?.map((e) => e.presentation?.group) ?? [];
117
140
  return t.length > 0 && t.every((e) => e === "scope" || e === "status") || e.placement === "side" || e.placement === "secondary" ? "secondary" : "primary";
118
- }, K = ({ config: w, prepared: E }) => {
119
- let { t: D } = B(), { t: O } = e(), { formatNumber: k, formatCurrency: A, formatPercent: j } = p(), { entities: M, entityRegistry: N } = n(), { layoutView: P } = g(), F = y(Oe), Ce = m(), I = Te(), [we, K] = x({}), [q, Fe] = x(null), J = h({
120
- mainPage: w.pages.mainPage,
121
- subPages: w.pages.subPages,
122
- activePagePath: E.pagePath,
123
- node: P
124
- }), Y = J.activePage ?? w.pages.mainPage, Ie = J.pages.length > 0 ? J.pages : [w.pages.mainPage], X = (e, t) => {
125
- K((n) => n[e] === t ? n : {
141
+ }, q = ({ config: F, prepared: I }) => {
142
+ let { t: L } = xe(), { t: R } = e(), { formatNumber: z, formatCurrency: B, formatPercent: V } = p(), { entities: H, entityRegistry: U } = n(), { layoutView: W } = h(), G = v(O), Ae = le(), K = D(), [je, q] = b({}), [J, Pe] = b(null), Y = m({
143
+ mainPage: F.pages.mainPage,
144
+ subPages: F.pages.subPages,
145
+ activePagePath: I.pagePath,
146
+ node: W
147
+ }), X = Y.activePage ?? F.pages.mainPage, Fe = Y.pages.length > 0 ? Y.pages : [F.pages.mainPage], Z = (e, t) => {
148
+ q((n) => n[e] === t ? n : {
126
149
  ...n,
127
150
  [e]: t
128
151
  });
129
- }, { page: Z } = w, Q = H(Z.query, E.pageQuery), $ = Z.resolveNode(Q, {
130
- id: E.id,
131
- detailId: E.detailId
132
- }), Le = $ != null, Re = V(Z.fragment, $), ze = b(() => Object.fromEntries(Z.content.flatMap((e) => e.kind === "fieldSet" ? e.fields.flatMap((e) => e.type === "relation" ? [e.relation.target] : []) : []).flatMap((e) => {
133
- let t = M[e];
152
+ }, { page: Q } = F, Ie = E(Q.query, I.pageQuery), $ = Q.resolveNode(Ie, {
153
+ id: I.id,
154
+ detailId: I.detailId
155
+ }), Le = $ != null, Re = T(Q.fragment, $), ze = y(() => Object.fromEntries(Q.content.flatMap((e) => e.kind === "fieldSet" ? e.fields.flatMap((e) => e.type === "relation" ? [e.relation.target] : []) : []).flatMap((e) => {
156
+ let t = H[e];
134
157
  return t?.hasList === !0 ? [[e, t.routes.list]] : [];
135
- })), [M, Z.content]);
136
- if (!Le) throw new U(w.routes.list);
137
- return /* @__PURE__ */ R(f, {
158
+ })), [H, Q.content]);
159
+ if (!Le) throw new N(F.routes.list);
160
+ return /* @__PURE__ */ S(f, {
138
161
  node: Re,
139
162
  render: (e) => {
140
- let n = Z.toView(e), f = ge({
141
- pages: Ie,
142
- id: E.id,
143
- tApp: D,
144
- detailPageHref: w.routes.detailPage
163
+ let n = Q.toView(e), f = _e({
164
+ pages: Fe,
165
+ id: I.id,
166
+ tApp: L,
167
+ detailPageHref: F.routes.detailPage
145
168
  }), p = (e, t) => {
146
- let n = M[e];
169
+ let n = H[e];
147
170
  return n == null ? null : n.routes.detail(t);
148
- }, m = ({ id: e, label: t, count: n, relation: r, listRoute: i, value: a, where: o }) => {
149
- let { target: s, filterId: c, whereKey: l, path: u } = r, d = N.getLoadedListEntity(s);
171
+ }, le = ({ id: e, label: t, count: n, relation: r, listRoute: i, value: a, where: o }) => {
172
+ let { target: s, filterId: c, whereKey: l, path: u } = r, d = U.getLoadedListEntity(s);
150
173
  return {
151
174
  id: e,
152
175
  label: t,
153
176
  count: n,
154
- href: d == null ? ke(i, o, [{
177
+ href: d == null ? Ce(i, o, [{
155
178
  id: c ?? (u == null ? l : `${l}.${u.join(".")}`),
156
179
  value: a
157
- }]) : Ae(d.config, { where: o }),
180
+ }]) : we(d.config, { where: o }),
158
181
  onClick: async (e) => {
159
- if (F == null || e.defaultPrevented || e.button !== 0 || e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
182
+ if (G == null || e.defaultPrevented || e.button !== 0 || e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
160
183
  e.preventDefault();
161
- let t = je((await N.loadListEntity(s)).config, { where: o });
162
- F.history.push({
184
+ let t = Te((await U.loadListEntity(s)).config, { where: o });
185
+ G.history.push({
163
186
  pathname: t.pathname,
164
187
  search: t.search === "" ? "" : `?${t.search}`,
165
188
  hash: ""
166
189
  });
167
190
  }
168
191
  };
169
- }, h = ye(w.header, P, {
170
- tApp: D,
171
- t: O,
192
+ }, m = be(F.header, W, {
193
+ tApp: L,
194
+ t: R,
172
195
  resolveEntityHref: p,
173
- renderLink: (e, t) => /* @__PURE__ */ R(W, {
196
+ renderLink: (e, t) => /* @__PURE__ */ S(A, {
174
197
  to: e,
175
198
  children: t
176
199
  }),
177
- renderDate: (e, t) => /* @__PURE__ */ R(T, {
200
+ renderDate: (e, t) => /* @__PURE__ */ S(j, {
178
201
  value: e,
179
- options: G,
202
+ options: k,
180
203
  fallback: t
181
204
  }),
182
- renderTag: (e, t) => /* @__PURE__ */ R(L, {
205
+ renderTag: (e, t) => /* @__PURE__ */ S(M, {
183
206
  tone: e,
184
207
  children: t
185
208
  }),
186
- renderBadgeRow: (e) => /* @__PURE__ */ R(c, { items: e })
187
- }), g = ce({
188
- config: w,
189
- tApp: D,
190
- entityId: E.id,
191
- layoutView: P,
192
- pageLabel: Y.label(D),
193
- pageId: Y.id
194
- }), y = Z.actions ?? [], b = [];
195
- if (y.length > 0) {
196
- let e = y.filter((e) => e.isVisible == null ? !0 : e.isVisible(n));
197
- e.length > 0 && (b = e.map((e) => {
198
- let a = v(e.label, D), o = e.ariaLabel == null ? a : v(e.ariaLabel, D), s = e.variant ?? "secondary", c = e.size ?? "small", l = we[e.id] ?? !1, u = l || e.isDisabled?.(n) === !0;
199
- return de(e) ? /* @__PURE__ */ R(Se, {
209
+ renderBadgeRow: (e) => /* @__PURE__ */ S(c, { items: e })
210
+ }), h = ce({
211
+ config: F,
212
+ tApp: L,
213
+ entityId: I.id,
214
+ layoutView: W,
215
+ pageLabel: X.label(L),
216
+ pageId: X.id
217
+ }), v = Q.actions ?? [], y = [];
218
+ if (v.length > 0) {
219
+ let e = v.filter((e) => e.isVisible == null ? !0 : e.isVisible(n));
220
+ e.length > 0 && (y = e.map((e) => {
221
+ let a = _(e.label, L), o = e.ariaLabel == null ? a : _(e.ariaLabel, L), s = e.variant ?? "secondary", c = e.size ?? "small", l = je[e.id] ?? !1, u = l || e.isDisabled?.(n) === !0;
222
+ return fe(e) ? /* @__PURE__ */ S(Oe, {
200
223
  to: e.to(n),
201
224
  variant: s,
202
225
  size: c,
203
226
  isDisabled: u,
204
227
  "aria-label": o,
205
228
  children: a
206
- }, e.id) : _(e) ? /* @__PURE__ */ R(C, {
229
+ }, e.id) : g(e) ? /* @__PURE__ */ S(w, {
207
230
  type: "button",
208
231
  variant: s,
209
232
  size: c,
210
233
  isLoading: !1,
211
234
  disabled: u,
212
235
  onClick: () => {
213
- Fe(e.id);
236
+ Pe(e.id);
214
237
  },
215
238
  "aria-label": o,
216
239
  children: a
217
- }, e.id) : ue(e) ? /* @__PURE__ */ R(C, {
240
+ }, e.id) : de(e) ? /* @__PURE__ */ S(w, {
218
241
  type: "button",
219
242
  variant: s,
220
243
  size: c,
@@ -223,47 +246,47 @@ var Ne = (e) => {
223
246
  onClick: () => {
224
247
  if (l) return;
225
248
  let a = e.getVariables(n);
226
- X(e.id, !0), De(Ce, {
249
+ Z(e.id, !0), Se(Ae, {
227
250
  mutation: e.mutation,
228
251
  variables: a,
229
252
  updater: (t) => {
230
253
  e.updater?.(t, n);
231
254
  },
232
255
  onCompleted: (a) => {
233
- X(e.id, !1);
234
- let o = le(a);
256
+ Z(e.id, !1);
257
+ let o = ue(a);
235
258
  if (o != null) {
236
- let i = O("actions.form.errors.invalidPayload");
237
- e.toasts?.error?.message == null ? e.toasts?.error?.title != null && (i = v(e.toasts.error.title, D)) : i = v(e.toasts.error.message, D);
259
+ let i = R("actions.form.errors.invalidPayload");
260
+ e.toasts?.error?.message == null ? e.toasts?.error?.title != null && (i = _(e.toasts.error.title, L)) : i = _(e.toasts.error.message, L);
238
261
  let a = t(o, {
239
262
  defaultErrorMessage: i,
240
263
  mapReason: (t) => {
241
264
  let r = e.mapErrorReason?.(t, n);
242
- return r == null ? null : typeof r == "function" ? v(r, D) : String(r);
265
+ return r == null ? null : typeof r == "function" ? _(r, L) : String(r);
243
266
  }
244
267
  });
245
268
  if (!a.ok) {
246
269
  let t = Error(a.message);
247
270
  if (e.onError?.(t, n), e.toasts?.error != null) {
248
- let t = r(e.toasts.error, D);
249
- I.error(t.title, t.message);
271
+ let t = r(e.toasts.error, L);
272
+ K.error(t.title, t.message);
250
273
  }
251
274
  return;
252
275
  }
253
276
  }
254
277
  if (e.onCompleted?.(a, n), e.toasts?.success != null) {
255
- let t = r(e.toasts.success, D), o = i({
278
+ let t = r(e.toasts.success, L), o = i({
256
279
  toast: e.toasts.success,
257
280
  response: a,
258
281
  node: n,
259
- tApp: D,
260
- entities: M,
261
- defaultLabel: O("actions.view"),
282
+ tApp: L,
283
+ entities: H,
284
+ defaultLabel: R("actions.view"),
262
285
  navigateTo: (e) => {
263
- F?.history.push({ pathname: e });
286
+ G?.history.push({ pathname: e });
264
287
  }
265
288
  });
266
- I.push({
289
+ K.push({
267
290
  kind: "info",
268
291
  title: t.title,
269
292
  message: t.message,
@@ -272,9 +295,9 @@ var Ne = (e) => {
272
295
  }
273
296
  },
274
297
  onError: (t) => {
275
- if (X(e.id, !1), e.onError?.(t, n), e.toasts?.error != null) {
276
- let t = r(e.toasts.error, D);
277
- I.error(t.title, t.message);
298
+ if (Z(e.id, !1), e.onError?.(t, n), e.toasts?.error != null) {
299
+ let t = r(e.toasts.error, L);
300
+ K.error(t.title, t.message);
278
301
  }
279
302
  }
280
303
  });
@@ -284,49 +307,49 @@ var Ne = (e) => {
284
307
  }, e.id) : null;
285
308
  }));
286
309
  }
287
- let x = y.find((e) => e.id === q), { content: Te } = Z, B = [], V = [], H = [];
288
- Te.forEach((e, t) => {
289
- let r = Pe(e) === "secondary" ? V : B;
310
+ let b = v.find((e) => e.id === J), { content: xe } = Q, T = [], E = [], D = [];
311
+ xe.forEach((e, t) => {
312
+ let r = Ne(e) === "secondary" ? E : T;
290
313
  if (e.kind === "fieldSet") {
291
- let i = v(e.title, D), a = e.description == null ? void 0 : v(e.description, D), { items: o, relationItems: u, customNodes: d } = _e(e.fields, n, {
292
- tApp: D,
293
- t: O,
314
+ let i = _(e.title, L), a = e.description == null ? void 0 : _(e.description, L), { items: o, relationItems: u, customNodes: d } = ve(e.fields, n, {
315
+ tApp: L,
316
+ t: R,
294
317
  resolveEntityHref: p,
295
- formatNumber: k,
296
- formatCurrency: A,
297
- formatPercent: j,
318
+ formatNumber: z,
319
+ formatCurrency: B,
320
+ formatPercent: V,
298
321
  relationEntityListRoutes: ze,
299
- resolveRelationItem: m,
300
- setWhereValue: Me,
301
- renderTag: (e, t) => /* @__PURE__ */ R(L, {
322
+ resolveRelationItem: le,
323
+ setWhereValue: Ee,
324
+ renderTag: (e, t) => /* @__PURE__ */ S(M, {
302
325
  tone: e,
303
326
  children: t
304
327
  }),
305
- renderBadgeRow: (e) => /* @__PURE__ */ R(c, { items: e }),
306
- renderDate: (e, t) => /* @__PURE__ */ R(T, {
328
+ renderBadgeRow: (e) => /* @__PURE__ */ S(c, { items: e }),
329
+ renderDate: (e, t) => /* @__PURE__ */ S(j, {
307
330
  value: e,
308
- options: G,
331
+ options: k,
309
332
  fallback: t
310
333
  }),
311
- renderFlagTag: (e) => /* @__PURE__ */ R(l, {
334
+ renderFlagTag: (e) => /* @__PURE__ */ S(l, {
312
335
  tone: e.tone,
313
- icon: e.iconName == null ? void 0 : Ne(e.iconName),
336
+ icon: e.iconName == null ? void 0 : Me(e.iconName),
314
337
  label: e.label
315
338
  }),
316
- renderLink: (e, t) => /* @__PURE__ */ R(W, {
339
+ renderLink: (e, t) => /* @__PURE__ */ S(A, {
317
340
  to: e,
318
341
  children: t
319
342
  }),
320
- renderTaggedValue: (e, t) => /* @__PURE__ */ R(ne, {
343
+ renderTaggedValue: (e, t) => /* @__PURE__ */ S(ne, {
321
344
  tag: e,
322
345
  value: t
323
346
  }),
324
- wrapCustomNode: (e, t) => /* @__PURE__ */ R("div", { children: t }, e)
347
+ wrapCustomNode: (e, t) => /* @__PURE__ */ S("div", { children: t }, e)
325
348
  });
326
349
  if (u.forEach((e) => {
327
- H.some((t) => t.id === e.id) || H.push(e);
350
+ D.some((t) => t.id === e.id) || D.push(e);
328
351
  }), !(o.length > 0 || d.length > 0)) return;
329
- r.push(/* @__PURE__ */ R(s, {
352
+ r.push(/* @__PURE__ */ S(s, {
330
353
  title: i,
331
354
  description: a,
332
355
  items: o.length > 0 ? o : void 0,
@@ -334,58 +357,58 @@ var Ne = (e) => {
334
357
  }, `${i}-${t}`));
335
358
  return;
336
359
  }
337
- let i = ve([e], n, {
338
- tApp: D,
339
- t: O,
360
+ let i = ye([e], n, {
361
+ tApp: L,
362
+ t: R,
340
363
  resolveEntityHref: p,
341
364
  keyPrefix: String(t),
342
- renderLink: (e, t) => /* @__PURE__ */ R(W, {
365
+ renderLink: (e, t) => /* @__PURE__ */ S(A, {
343
366
  to: e,
344
367
  children: t
345
368
  }),
346
- renderDate: (e, t) => /* @__PURE__ */ R(T, {
369
+ renderDate: (e, t) => /* @__PURE__ */ S(j, {
347
370
  value: e,
348
- options: G,
371
+ options: k,
349
372
  fallback: t
350
373
  }),
351
- renderTag: (e, t) => /* @__PURE__ */ R(L, {
374
+ renderTag: (e, t) => /* @__PURE__ */ S(M, {
352
375
  tone: e,
353
376
  children: t
354
377
  }),
355
- renderMetricGroup: ({ key: e, title: t, description: n, density: r, items: i }) => /* @__PURE__ */ R(s, {
378
+ renderMetricGroup: ({ key: e, title: t, description: n, density: r, items: i }) => /* @__PURE__ */ S(s, {
356
379
  title: t,
357
380
  description: n,
358
- children: /* @__PURE__ */ R(re, {
381
+ children: /* @__PURE__ */ S(re, {
359
382
  items: i,
360
383
  density: r ?? "comfortable"
361
384
  })
362
385
  }, e),
363
- renderTimeline: ({ key: e, title: t, description: n, events: r }) => /* @__PURE__ */ R(ie, {
386
+ renderTimeline: ({ key: e, title: t, description: n, events: r }) => /* @__PURE__ */ S(ie, {
364
387
  title: t,
365
388
  description: n,
366
389
  events: r
367
390
  }, e),
368
- renderRelations: ({ key: e, title: t, items: n }) => /* @__PURE__ */ R(ae, {
391
+ renderRelations: ({ key: e, title: t, items: n }) => /* @__PURE__ */ S(ae, {
369
392
  title: t,
370
393
  items: n
371
394
  }, e),
372
- renderContextStack: ({ key: e, title: t, items: n }) => /* @__PURE__ */ R(oe, {
395
+ renderContextStack: ({ key: e, title: t, items: n }) => /* @__PURE__ */ S(oe, {
373
396
  title: t,
374
397
  items: n
375
398
  }, e),
376
- renderCustomSection: (e, t, n) => /* @__PURE__ */ R(s, {
399
+ renderCustomSection: (e, t, n) => /* @__PURE__ */ S(s, {
377
400
  title: t,
378
401
  children: n
379
402
  }, e),
380
- wrapCustomNode: (e, t) => /* @__PURE__ */ R("div", { children: t }, e),
403
+ wrapCustomNode: (e, t) => /* @__PURE__ */ S("div", { children: t }, e),
381
404
  resolveTableColumns: (e) => o(e, {
382
- tApp: D,
383
- t: O
405
+ tApp: L,
406
+ t: R
384
407
  }),
385
- renderTable: ({ key: e, title: t, description: n, columns: r, rows: i }) => /* @__PURE__ */ R(s, {
408
+ renderTable: ({ key: e, title: t, description: n, columns: r, rows: i }) => /* @__PURE__ */ S(s, {
386
409
  title: t,
387
410
  description: n,
388
- children: /* @__PURE__ */ R(te, {
411
+ children: /* @__PURE__ */ S(te, {
389
412
  columns: r,
390
413
  rows: i,
391
414
  getRowId: (e, t) => {
@@ -397,87 +420,87 @@ var Ne = (e) => {
397
420
  }
398
421
  })
399
422
  }, e),
400
- renderPayload: ({ key: e, title: t, description: n, content: r, format: i }) => /* @__PURE__ */ R(ee, {
423
+ renderPayload: ({ key: e, title: t, description: n, content: r, format: i }) => /* @__PURE__ */ S(ee, {
401
424
  title: t,
402
425
  description: n,
403
426
  content: r,
404
427
  format: i
405
428
  }, e),
406
- renderKeyValueListSection: ({ key: e, title: t, description: n, items: r }) => /* @__PURE__ */ R(s, {
429
+ renderKeyValueListSection: ({ key: e, title: t, description: n, items: r }) => /* @__PURE__ */ S(s, {
407
430
  title: t,
408
431
  description: n,
409
- children: /* @__PURE__ */ R(S, { items: r })
432
+ children: /* @__PURE__ */ S(P, { items: r })
410
433
  }, e)
411
434
  })[0];
412
435
  i != null && r.push(i);
413
436
  });
414
- let U = H.length > 0 ? /* @__PURE__ */ R(be, {
415
- label: O("relations.menu.label"),
416
- items: H
417
- }) : null, Oe = b.length > 0 || U != null ? /* @__PURE__ */ z("div", {
418
- className: fe,
419
- children: [b.length > 0 && /* @__PURE__ */ R("div", {
437
+ let O = D.length > 0 ? /* @__PURE__ */ S(ke, {
438
+ label: R("relations.menu.label"),
439
+ items: D
440
+ }) : null, N = y.length > 0 || O != null ? /* @__PURE__ */ C("div", {
441
+ className: pe,
442
+ children: [y.length > 0 && /* @__PURE__ */ S("div", {
420
443
  className: "txvbqb9ip txvbqbcp txvbqbdp7 txvbqbao7 txvbqbajy",
421
- children: b
422
- }), U != null && /* @__PURE__ */ R("div", {
444
+ children: y
445
+ }), O != null && /* @__PURE__ */ S("div", {
423
446
  className: "_1i6bm7z0 txvbqb9ip txvbqbcp",
424
- children: U
447
+ children: O
425
448
  })]
426
- }) : void 0, K = h.status != null || h.badges != null ? /* @__PURE__ */ z("div", {
427
- className: me,
428
- children: [h.status, h.badges]
429
- }) : void 0, J = h.items != null && h.items.length > 0 ? /* @__PURE__ */ R("div", {
449
+ }) : void 0, q = m.status != null || m.badges != null ? /* @__PURE__ */ C("div", {
430
450
  className: he,
431
- children: /* @__PURE__ */ R(S, { items: h.items })
432
- }) : null, Q = V.length > 0, $ = null;
433
- return Ie.length > 1 && ($ = /* @__PURE__ */ R(xe, {
451
+ children: [m.status, m.badges]
452
+ }) : void 0, Y = m.items != null && m.items.length > 0 ? /* @__PURE__ */ S("div", {
453
+ className: ge,
454
+ children: /* @__PURE__ */ S(P, { items: m.items })
455
+ }) : null, Ie = E.length > 0, $ = null;
456
+ return Fe.length > 1 && ($ = /* @__PURE__ */ S(De, {
434
457
  items: f,
435
- activeId: Y.id,
458
+ activeId: X.id,
436
459
  onChange: () => {},
437
460
  variant: "underline"
438
- })), /* @__PURE__ */ z(se, {
439
- breadcrumb: g,
440
- children: [/* @__PURE__ */ R(d, {
441
- headerNode: /* @__PURE__ */ z("div", {
442
- className: pe,
443
- children: [/* @__PURE__ */ R(u, {
444
- title: h.title,
445
- subtitle: h.subtitle,
446
- actions: Oe,
447
- meta: K
448
- }), J]
461
+ })), /* @__PURE__ */ C(se, {
462
+ breadcrumb: h,
463
+ children: [/* @__PURE__ */ S(d, {
464
+ headerNode: /* @__PURE__ */ C("div", {
465
+ className: me,
466
+ children: [/* @__PURE__ */ S(u, {
467
+ title: m.title,
468
+ subtitle: m.subtitle,
469
+ actions: N,
470
+ meta: q
471
+ }), Y]
449
472
  }),
450
473
  tabsNode: $,
451
- sidePanel: Q ? /* @__PURE__ */ R(Ee, { children: V }) : void 0,
474
+ sidePanel: Ie ? /* @__PURE__ */ S(x, { children: E }) : void 0,
452
475
  sidePanelVariant: "plain",
453
476
  headerDensity: "compact",
454
- children: /* @__PURE__ */ R(Ee, { children: B })
455
- }), x != null && _(x) && /* @__PURE__ */ R(a, {
477
+ children: /* @__PURE__ */ S(x, { children: T })
478
+ }), b != null && g(b) && /* @__PURE__ */ S(a, {
456
479
  isOpen: !0,
457
- action: x,
480
+ action: b,
458
481
  node: n,
459
482
  onClose: () => {
460
- Fe(null);
483
+ Pe(null);
461
484
  }
462
485
  })]
463
486
  });
464
487
  }
465
488
  });
466
- }, q = ({ config: e, prepared: t }) => {
467
- let { layoutView: n } = g(), r = h({
489
+ }, J = ({ config: e, prepared: t }) => {
490
+ let { layoutView: n } = h(), r = m({
468
491
  mainPage: e.pages.mainPage,
469
492
  subPages: e.pages.subPages,
470
493
  activePagePath: t.pagePath,
471
494
  node: n
472
495
  });
473
- if (!r.hasVisiblePages || r.activePage == null) throw new U(e.routes.list);
474
- if (r.activePage.id !== t.pageId) throw new U(e.routes.detailPage(t.id, r.activePage.id));
475
- return /* @__PURE__ */ R(K, {
496
+ if (!r.hasVisiblePages || r.activePage == null) throw new N(e.routes.list);
497
+ if (r.activePage.id !== t.pageId) throw new N(e.routes.detailPage(t.id, r.activePage.id));
498
+ return /* @__PURE__ */ S(q, {
476
499
  config: t.pageConfig,
477
500
  prepared: t
478
501
  });
479
502
  };
480
503
  //#endregion
481
- export { q as BackofficeEntityDetailPage, q as default };
504
+ export { J as BackofficeEntityDetailPage, J as default };
482
505
 
483
506
  //# sourceMappingURL=BackofficeEntityDetailPage.js.map