@plumile/backoffice-react 0.2.3 → 0.2.5

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 (296) hide show
  1. package/README.md +14 -3
  2. package/lib/esm/auth/AuthRefreshNotice.js +21 -18
  3. package/lib/esm/auth/AuthRefreshNotice.js.map +1 -1
  4. package/lib/esm/auth/TotpQrCode.js +20 -12
  5. package/lib/esm/auth/TotpQrCode.js.map +1 -1
  6. package/lib/esm/auth/authRefreshNotice.css.js +2 -1
  7. package/lib/esm/auth/authRefreshNotice.css.js.map +1 -1
  8. package/lib/esm/auth/login/AuthPanel.js.map +1 -1
  9. package/lib/esm/auth/login/EmailCapturePanel.js +26 -28
  10. package/lib/esm/auth/login/EmailCapturePanel.js.map +1 -1
  11. package/lib/esm/auth/login/LoginFlow.js +11 -11
  12. package/lib/esm/auth/login/LoginFlow.js.map +1 -1
  13. package/lib/esm/auth/login/MethodChooser.js +18 -16
  14. package/lib/esm/auth/login/MethodChooser.js.map +1 -1
  15. package/lib/esm/auth/login/MfaChallengeForm.js +47 -52
  16. package/lib/esm/auth/login/MfaChallengeForm.js.map +1 -1
  17. package/lib/esm/auth/login/OidcButtons.js +3 -2
  18. package/lib/esm/auth/login/OidcButtons.js.map +1 -1
  19. package/lib/esm/auth/login/PasskeyLoginForm.js +13 -15
  20. package/lib/esm/auth/login/PasskeyLoginForm.js.map +1 -1
  21. package/lib/esm/auth/login/PasswordLoginPanel.js +8 -8
  22. package/lib/esm/auth/login/PasswordLoginPanel.js.map +1 -1
  23. package/lib/esm/auth/login/loginPage.css.js +1 -1
  24. package/lib/esm/auth/login/loginPage.css.js.map +1 -1
  25. package/lib/esm/auth/pages/AcceptInvitationScreen.js +80 -75
  26. package/lib/esm/auth/pages/AcceptInvitationScreen.js.map +1 -1
  27. package/lib/esm/auth/pages/PasswordResetCompleteScreen.js +31 -31
  28. package/lib/esm/auth/pages/PasswordResetCompleteScreen.js.map +1 -1
  29. package/lib/esm/auth/pages/PasswordResetRequestScreen.js +33 -29
  30. package/lib/esm/auth/pages/PasswordResetRequestScreen.js.map +1 -1
  31. package/lib/esm/auth/pages/VerifyEmailScreen.js +42 -40
  32. package/lib/esm/auth/pages/VerifyEmailScreen.js.map +1 -1
  33. package/lib/esm/components/backoffice/actions/BackofficeEntityActionFormDialog.js +202 -210
  34. package/lib/esm/components/backoffice/actions/BackofficeEntityActionFormDialog.js.map +1 -1
  35. package/lib/esm/components/backoffice/actions/backofficeEntityActionFormDialog.css.js +1 -1
  36. package/lib/esm/components/backoffice/actions/backofficeEntityActionFormDialog.css.js.map +1 -1
  37. package/lib/esm/components/backoffice/actions/toastViewAction.js.map +1 -1
  38. package/lib/esm/components/backoffice/billing/BackofficeBillingUsageChart.js +36 -30
  39. package/lib/esm/components/backoffice/billing/BackofficeBillingUsageChart.js.map +1 -1
  40. package/lib/esm/components/backoffice/billing/backofficeBillingUsageChart.css.js +1 -1
  41. package/lib/esm/components/backoffice/billing/backofficeBillingUsageChart.css.js.map +1 -1
  42. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js +36 -33
  43. package/lib/esm/components/backoffice/columns/buildDataTableColumns.js.map +1 -1
  44. package/lib/esm/components/backoffice/detail/BackofficeDetailBadgeRow.js.map +1 -1
  45. package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js +1 -1
  46. package/lib/esm/components/backoffice/detail/BackofficeDetailErrorList.js.map +1 -1
  47. package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js +24 -20
  48. package/lib/esm/components/backoffice/detail/BackofficeEntitySummaryHeader.js.map +1 -1
  49. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js +1 -1
  50. package/lib/esm/components/backoffice/detail/BackofficeRelationsSummaryGrid.js.map +1 -1
  51. package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js +7 -8
  52. package/lib/esm/components/backoffice/detail/BackofficeTokenUsageBreakdown.js.map +1 -1
  53. package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js +49 -45
  54. package/lib/esm/components/backoffice/detail/BackofficeUsageCostBreakdown.js.map +1 -1
  55. package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js +1 -1
  56. package/lib/esm/components/backoffice/detail/backofficeDetailBadgeRow.css.js.map +1 -1
  57. package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js +1 -1
  58. package/lib/esm/components/backoffice/detail/backofficeDetailErrorList.css.js.map +1 -1
  59. package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js +1 -1
  60. package/lib/esm/components/backoffice/detail/backofficeDetailLayout.css.js.map +1 -1
  61. package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js +1 -1
  62. package/lib/esm/components/backoffice/detail/backofficeDetailRelationList.css.js.map +1 -1
  63. package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js +1 -1
  64. package/lib/esm/components/backoffice/detail/backofficeEntitySummaryHeader.css.js.map +1 -1
  65. package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js +1 -1
  66. package/lib/esm/components/backoffice/detail/backofficeRelationsSummaryGrid.css.js.map +1 -1
  67. package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js +1 -1
  68. package/lib/esm/components/backoffice/detail/backofficeUsageCostBreakdown.css.js.map +1 -1
  69. package/lib/esm/components/backoffice/errors/BackofficeErrorBoundary.js +1 -1
  70. package/lib/esm/components/backoffice/errors/BackofficeErrorBoundary.js.map +1 -1
  71. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js +1 -1
  72. package/lib/esm/components/backoffice/filters/BackofficeFilterAction.js.map +1 -1
  73. package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js +15 -15
  74. package/lib/esm/components/backoffice/filters/DeferredFilterSearchInput.js.map +1 -1
  75. package/lib/esm/components/backoffice/filters/EntityIdFilterField.js +53 -65
  76. package/lib/esm/components/backoffice/filters/EntityIdFilterField.js.map +1 -1
  77. package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js +1 -1
  78. package/lib/esm/components/backoffice/filters/backofficeFilterAction.css.js.map +1 -1
  79. package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js +1 -1
  80. package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js.map +1 -1
  81. package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js +2 -2
  82. package/lib/esm/components/backoffice/filters/entityIdFilterField.css.js.map +1 -1
  83. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js +6 -6
  84. package/lib/esm/components/backoffice/hub/BackofficeHubTemplate.js.map +1 -1
  85. package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js +1 -1
  86. package/lib/esm/components/backoffice/hub/backofficeHubTemplate.css.js.map +1 -1
  87. package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js +1 -1
  88. package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js.map +1 -1
  89. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js +3 -3
  90. package/lib/esm/components/backoffice/layout/breadcrumb/BackofficeTopbarBreadcrumb.js.map +1 -1
  91. package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js +1 -1
  92. package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js.map +1 -1
  93. package/lib/esm/components/backoffice/layout/buildSidebarSections.js +152 -172
  94. package/lib/esm/components/backoffice/layout/buildSidebarSections.js.map +1 -1
  95. package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js +2 -5
  96. package/lib/esm/components/backoffice/layout/mapViewerToSidebarProfileView.js.map +1 -1
  97. package/lib/esm/components/backoffice/layout/sidebarUtils.js +1 -1
  98. package/lib/esm/components/backoffice/layout/sidebarUtils.js.map +1 -1
  99. package/lib/esm/components/backoffice/links/BackofficeLinkContent.js +1 -1
  100. package/lib/esm/components/backoffice/links/backofficeLink.css.js +1 -1
  101. package/lib/esm/components/backoffice/links/backofficeLink.css.js.map +1 -1
  102. package/lib/esm/components/backoffice/list/RowFlagsCell.css.js +1 -1
  103. package/lib/esm/components/backoffice/list/RowFlagsCell.css.js.map +1 -1
  104. package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js +1 -1
  105. package/lib/esm/components/backoffice/overview/BackofficeOverviewLayout.js.map +1 -1
  106. package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js +1 -1
  107. package/lib/esm/components/backoffice/overview/backofficeOverviewLayout.css.js.map +1 -1
  108. package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js +93 -82
  109. package/lib/esm/components/backoffice/pickers/EntityIdPickerDialog.js.map +1 -1
  110. package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js +1 -1
  111. package/lib/esm/components/backoffice/pickers/entityIdPickerDialog.css.js.map +1 -1
  112. package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js +1 -1
  113. package/lib/esm/components/backoffice/refs/backofficeRelatedCountLink.css.js.map +1 -1
  114. package/lib/esm/components/backoffice/routing/BackofficeContentError.js +6 -3
  115. package/lib/esm/components/backoffice/routing/BackofficeContentError.js.map +1 -1
  116. package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js +7 -7
  117. package/lib/esm/components/backoffice/routing/BackofficeRouteFallback.js.map +1 -1
  118. package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js +1 -1
  119. package/lib/esm/components/backoffice/routing/backofficeContentBoundary.css.js.map +1 -1
  120. package/lib/esm/components/backoffice/routing/backofficeContentError.css.js +1 -1
  121. package/lib/esm/components/backoffice/routing/backofficeContentError.css.js.map +1 -1
  122. package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js +1 -1
  123. package/lib/esm/components/backoffice/routing/backofficeContentFallback.css.js.map +1 -1
  124. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailNotFound.js +3 -2
  125. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityDetailNotFound.js.map +1 -1
  126. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js +314 -309
  127. package/lib/esm/components/backoffice/scaffolds/BackofficeEntityListScaffold.js.map +1 -1
  128. package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js +1 -1
  129. package/lib/esm/components/backoffice/scaffolds/BackofficeTabbedDetailShell.js.map +1 -1
  130. package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js +1 -1
  131. package/lib/esm/components/backoffice/scaffolds/backofficeEntityListScaffold.css.js.map +1 -1
  132. package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js +1 -1
  133. package/lib/esm/components/backoffice/scaffolds/backofficeTabbedDetailShell.css.js.map +1 -1
  134. package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js +2 -2
  135. package/lib/esm/components/backoffice/shared/BackofficeFilterableCell.js.map +1 -1
  136. package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js +1 -1
  137. package/lib/esm/components/backoffice/shared/BackofficeInlineFilterRow.js.map +1 -1
  138. package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js +5 -5
  139. package/lib/esm/components/backoffice/shared/backofficeFilterableCell.css.js.map +1 -1
  140. package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js +1 -1
  141. package/lib/esm/components/backoffice/shared/backofficeInlineFilterRow.css.js.map +1 -1
  142. package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js +12 -12
  143. package/lib/esm/components/backoffice/tools/BackofficeToolsDocPanel.js.map +1 -1
  144. package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js +3 -2
  145. package/lib/esm/components/backoffice/tools/BackofficeToolsErrorFallback.js.map +1 -1
  146. package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js +15 -19
  147. package/lib/esm/components/backoffice/tools/BackofficeToolsJsonForm.js.map +1 -1
  148. package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js +1 -1
  149. package/lib/esm/components/backoffice/tools/backofficeToolsDocPanel.css.js.map +1 -1
  150. package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js +1 -1
  151. package/lib/esm/components/backoffice/tools/backofficeToolsForm.css.js.map +1 -1
  152. package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js +1 -1
  153. package/lib/esm/components/backoffice/tools/backofficeToolsJsonForm.css.js.map +1 -1
  154. package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js +17 -9
  155. package/lib/esm/hooks/useBackofficeInfiniteScrollSentinel.js.map +1 -1
  156. package/lib/esm/hooks/useCopyToClipboard.js +1 -1
  157. package/lib/esm/hooks/useCopyToClipboard.js.map +1 -1
  158. package/lib/esm/i18n/locales/en/backofficeReact.js +21 -2
  159. package/lib/esm/i18n/locales/en/backofficeReact.js.map +1 -1
  160. package/lib/esm/i18n/locales/fr/backofficeReact.js +21 -2
  161. package/lib/esm/i18n/locales/fr/backofficeReact.js.map +1 -1
  162. package/lib/esm/pages/BackofficeDashboardPage.js +42 -41
  163. package/lib/esm/pages/BackofficeDashboardPage.js.map +1 -1
  164. package/lib/esm/pages/BackofficeDashboardWidgetContent.js +291 -255
  165. package/lib/esm/pages/BackofficeDashboardWidgetContent.js.map +1 -1
  166. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +47 -49
  167. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -1
  168. package/lib/esm/pages/BackofficeEntityDetailPage.js +111 -105
  169. package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -1
  170. package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js +213 -213
  171. package/lib/esm/pages/BackofficeEntityDetailPage.view-helpers.js.map +1 -1
  172. package/lib/esm/pages/BackofficeEntityListDataPage.js +101 -83
  173. package/lib/esm/pages/BackofficeEntityListDataPage.js.map +1 -1
  174. package/lib/esm/pages/BackofficeEntityListPage.helpers.js +10 -4
  175. package/lib/esm/pages/BackofficeEntityListPage.helpers.js.map +1 -1
  176. package/lib/esm/pages/BackofficeEntityListPage.js +55 -54
  177. package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -1
  178. package/lib/esm/pages/BackofficeEntityListRouteContext.js.map +1 -1
  179. package/lib/esm/pages/BackofficeHubPage.js +1 -1
  180. package/lib/esm/pages/BackofficeHubPage.js.map +1 -1
  181. package/lib/esm/pages/BackofficeLayoutPage.js +64 -56
  182. package/lib/esm/pages/BackofficeLayoutPage.js.map +1 -1
  183. package/lib/esm/pages/backofficeDashboardPage.css.js +1 -1
  184. package/lib/esm/pages/backofficeDashboardPage.css.js.map +1 -1
  185. package/lib/esm/pages/backofficeEntityDetailPage.css.js +1 -1
  186. package/lib/esm/pages/backofficeEntityDetailPage.css.js.map +1 -1
  187. package/lib/esm/pages/backofficeEntityListPage.css.js +1 -1
  188. package/lib/esm/pages/backofficeEntityListPage.css.js.map +1 -1
  189. package/lib/esm/pages/detail/BackofficeEntityDetailLayoutContext.js.map +1 -1
  190. package/lib/esm/pages/detail/BackofficeEntityDetailManifestFallback.js +11 -11
  191. package/lib/esm/pages/detail/BackofficeEntityDetailManifestFallback.js.map +1 -1
  192. package/lib/esm/pages/detail/buildTabsItems.js.map +1 -1
  193. package/lib/esm/provider/BackofficeProvider.js +41 -39
  194. package/lib/esm/provider/BackofficeProvider.js.map +1 -1
  195. package/lib/esm/router/createBackofficeRoutes.js +23 -23
  196. package/lib/esm/router/createBackofficeRoutes.js.map +1 -1
  197. package/lib/esm/storybook/backofficeDashboardPageStory.css.js +6 -0
  198. package/lib/esm/storybook/backofficeDashboardPageStory.css.js.map +1 -0
  199. package/lib/esm/storybook/relay/RelayStory.css.js +1 -1
  200. package/lib/esm/storybook/relay/RelayStory.css.js.map +1 -1
  201. package/lib/esm/style.css +1 -1
  202. package/lib/types/auth/AuthRefreshNotice.d.ts +5 -1
  203. package/lib/types/auth/AuthRefreshNotice.d.ts.map +1 -1
  204. package/lib/types/auth/TotpQrCode.d.ts +2 -1
  205. package/lib/types/auth/TotpQrCode.d.ts.map +1 -1
  206. package/lib/types/auth/authRefreshNotice.css.d.ts.map +1 -1
  207. package/lib/types/auth/login/AuthPanel.d.ts.map +1 -1
  208. package/lib/types/auth/login/EmailCapturePanel.d.ts.map +1 -1
  209. package/lib/types/auth/login/LoginFlow.d.ts.map +1 -1
  210. package/lib/types/auth/login/MethodChooser.d.ts.map +1 -1
  211. package/lib/types/auth/login/MfaChallengeForm.d.ts.map +1 -1
  212. package/lib/types/auth/login/OidcButtons.d.ts.map +1 -1
  213. package/lib/types/auth/login/PasskeyLoginForm.d.ts.map +1 -1
  214. package/lib/types/auth/login/PasswordLoginPanel.d.ts +1 -1
  215. package/lib/types/auth/login/PasswordLoginPanel.d.ts.map +1 -1
  216. package/lib/types/auth/login/loginPage.css.d.ts.map +1 -1
  217. package/lib/types/auth/pages/AcceptInvitationScreen.d.ts.map +1 -1
  218. package/lib/types/auth/pages/PasswordResetCompleteScreen.d.ts.map +1 -1
  219. package/lib/types/auth/pages/PasswordResetRequestScreen.d.ts.map +1 -1
  220. package/lib/types/auth/pages/VerifyEmailScreen.d.ts.map +1 -1
  221. package/lib/types/components/backoffice/actions/BackofficeEntityActionFormDialog.d.ts +3 -3
  222. package/lib/types/components/backoffice/actions/BackofficeEntityActionFormDialog.d.ts.map +1 -1
  223. package/lib/types/components/backoffice/actions/toastViewAction.d.ts +1 -1
  224. package/lib/types/components/backoffice/actions/toastViewAction.d.ts.map +1 -1
  225. package/lib/types/components/backoffice/billing/BackofficeBillingUsageChart.d.ts +2 -1
  226. package/lib/types/components/backoffice/billing/BackofficeBillingUsageChart.d.ts.map +1 -1
  227. package/lib/types/components/backoffice/columns/buildDataTableColumns.d.ts +2 -2
  228. package/lib/types/components/backoffice/columns/buildDataTableColumns.d.ts.map +1 -1
  229. package/lib/types/components/backoffice/detail/BackofficeDetailBadgeRow.d.ts.map +1 -1
  230. package/lib/types/components/backoffice/detail/BackofficeEntitySummaryHeader.d.ts.map +1 -1
  231. package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts +1 -1
  232. package/lib/types/components/backoffice/detail/BackofficeRelationsSummaryGrid.d.ts.map +1 -1
  233. package/lib/types/components/backoffice/detail/BackofficeTokenUsageBreakdown.d.ts.map +1 -1
  234. package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts +1 -1
  235. package/lib/types/components/backoffice/detail/BackofficeUsageCostBreakdown.d.ts.map +1 -1
  236. package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.d.ts +1 -1
  237. package/lib/types/components/backoffice/errors/BackofficeErrorBoundary.d.ts.map +1 -1
  238. package/lib/types/components/backoffice/filters/EntityIdFilterField.d.ts.map +1 -1
  239. package/lib/types/components/backoffice/filters/backofficeFilterAction.css.d.ts.map +1 -1
  240. package/lib/types/components/backoffice/filters/deferredFilterSearchInput.css.d.ts.map +1 -1
  241. package/lib/types/components/backoffice/filters/entityIdFilterField.css.d.ts +0 -1
  242. package/lib/types/components/backoffice/filters/entityIdFilterField.css.d.ts.map +1 -1
  243. package/lib/types/components/backoffice/hub/backofficeHubTemplate.css.d.ts.map +1 -1
  244. package/lib/types/components/backoffice/layout/backofficeSidebarActions.css.d.ts.map +1 -1
  245. package/lib/types/components/backoffice/layout/buildSidebarSections.d.ts +2 -2
  246. package/lib/types/components/backoffice/layout/buildSidebarSections.d.ts.map +1 -1
  247. package/lib/types/components/backoffice/layout/mapViewerToSidebarProfileView.d.ts +1 -1
  248. package/lib/types/components/backoffice/layout/mapViewerToSidebarProfileView.d.ts.map +1 -1
  249. package/lib/types/components/backoffice/list/RowFlagsCell.css.d.ts.map +1 -1
  250. package/lib/types/components/backoffice/overview/backofficeOverviewLayout.css.d.ts.map +1 -1
  251. package/lib/types/components/backoffice/pickers/EntityIdPickerDialog.d.ts +3 -3
  252. package/lib/types/components/backoffice/pickers/EntityIdPickerDialog.d.ts.map +1 -1
  253. package/lib/types/components/backoffice/refs/backofficeRelatedCountLink.css.d.ts.map +1 -1
  254. package/lib/types/components/backoffice/routing/BackofficeContentError.d.ts.map +1 -1
  255. package/lib/types/components/backoffice/scaffolds/BackofficeEntityDetailNotFound.d.ts.map +1 -1
  256. package/lib/types/components/backoffice/scaffolds/BackofficeEntityListScaffold.d.ts +2 -2
  257. package/lib/types/components/backoffice/scaffolds/BackofficeEntityListScaffold.d.ts.map +1 -1
  258. package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.d.ts +1 -1
  259. package/lib/types/components/backoffice/scaffolds/BackofficeTabbedDetailShell.d.ts.map +1 -1
  260. package/lib/types/components/backoffice/shared/backofficeFilterableCell.css.d.ts.map +1 -1
  261. package/lib/types/components/backoffice/tools/BackofficeToolsErrorFallback.d.ts.map +1 -1
  262. package/lib/types/components/backoffice/tools/BackofficeToolsJsonForm.d.ts.map +1 -1
  263. package/lib/types/components/backoffice/tools/backofficeToolsDocPanel.css.d.ts.map +1 -1
  264. package/lib/types/hooks/useBackofficeInfiniteScrollSentinel.d.ts +1 -2
  265. package/lib/types/hooks/useBackofficeInfiniteScrollSentinel.d.ts.map +1 -1
  266. package/lib/types/i18n/resources.d.ts +44 -2
  267. package/lib/types/i18n/resources.d.ts.map +1 -1
  268. package/lib/types/pages/BackofficeDashboardPage.d.ts.map +1 -1
  269. package/lib/types/pages/BackofficeDashboardWidgetContent.d.ts.map +1 -1
  270. package/lib/types/pages/BackofficeEntityDetailLayoutPage.d.ts.map +1 -1
  271. package/lib/types/pages/BackofficeEntityDetailPage.d.ts.map +1 -1
  272. package/lib/types/pages/BackofficeEntityDetailPage.view-helpers.d.ts +1 -1
  273. package/lib/types/pages/BackofficeEntityDetailPage.view-helpers.d.ts.map +1 -1
  274. package/lib/types/pages/BackofficeEntityListDataPage.d.ts.map +1 -1
  275. package/lib/types/pages/BackofficeEntityListPage.d.ts.map +1 -1
  276. package/lib/types/pages/BackofficeEntityListPage.helpers.d.ts +9 -9
  277. package/lib/types/pages/BackofficeEntityListPage.helpers.d.ts.map +1 -1
  278. package/lib/types/pages/BackofficeEntityListRouteContext.d.ts +2 -2
  279. package/lib/types/pages/BackofficeEntityListRouteContext.d.ts.map +1 -1
  280. package/lib/types/pages/BackofficeLayoutPage.d.ts.map +1 -1
  281. package/lib/types/pages/backofficeEntityListPage.css.d.ts.map +1 -1
  282. package/lib/types/pages/detail/BackofficeEntityDetailLayoutContext.d.ts +1 -1
  283. package/lib/types/pages/detail/BackofficeEntityDetailLayoutContext.d.ts.map +1 -1
  284. package/lib/types/pages/detail/buildTabsItems.d.ts +1 -1
  285. package/lib/types/pages/detail/buildTabsItems.d.ts.map +1 -1
  286. package/lib/types/provider/BackofficeProvider.d.ts.map +1 -1
  287. package/lib/types/provider/types.d.ts +2 -0
  288. package/lib/types/provider/types.d.ts.map +1 -1
  289. package/lib/types/router/createBackofficeRoutes.d.ts +0 -1
  290. package/lib/types/router/createBackofficeRoutes.d.ts.map +1 -1
  291. package/lib/types/storybook/backofficeDashboardPageStory.css.d.ts +2 -0
  292. package/lib/types/storybook/backofficeDashboardPageStory.css.d.ts.map +1 -0
  293. package/package.json +17 -17
  294. package/lib/esm/components/backoffice/technical/TechnicalIdentifierValue.js +0 -2
  295. package/lib/types/components/backoffice/technical/TechnicalIdentifierValue.d.ts +0 -2
  296. package/lib/types/components/backoffice/technical/TechnicalIdentifierValue.d.ts.map +0 -1
@@ -5,39 +5,55 @@ import { buildDataTableColumns as r } from "../components/backoffice/columns/bui
5
5
  import { resolveLabel as i } from "./BackofficeDashboardPage.helpers.js";
6
6
  import { tileBody as a, tileCount as o } from "./backofficeDashboardPage.css.js";
7
7
  import s from "./resolveDashboardTargetDestination.js";
8
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
- import { useTranslation as u } from "react-i18next";
10
- import * as d from "react-relay";
11
- import { BackofficeEmptyState as f } from "@plumile/ui/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js";
12
- import { DashboardPanel as p } from "@plumile/ui/components/dashboard/dashboard_panel/DashboardPanel.js";
13
- import { DashboardQuickActions as m } from "@plumile/ui/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js";
14
- import { DashboardMetricGroup as h } from "@plumile/ui/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js";
15
- import { DashboardStatusList as g } from "@plumile/ui/components/dashboard/dashboard_status_list/DashboardStatusList.js";
16
- import { DashboardBreakdownList as _ } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardBreakdownList.js";
17
- import { DashboardEntitySpotlight as v } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardEntitySpotlight.js";
18
- import { DashboardHealthMatrix as y } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardHealthMatrix.js";
19
- import { DashboardRiskQueue as b } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardRiskQueue.js";
20
- import { DashboardSlaGauge as x } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardSlaGauge.js";
21
- import { DashboardTimelineChart as S } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardTimelineChart.js";
22
- import { DashboardTrendMetric as C } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardTrendMetric.js";
23
- import { DashboardWindowControl as w } from "@plumile/ui/components/dashboard/dashboard_operational/DashboardWindowControl.js";
24
- import { DataTable as T } from "@plumile/ui/components/data-table/DataTable.js";
8
+ import { DashboardBreakdownList as c, DashboardEntitySpotlight as l, DashboardHealthMatrix as u, DashboardMetricGroup as d, DashboardPanel as f, DashboardQuickActions as p, DashboardRiskQueue as m, DashboardSlaGauge as h, DashboardStatusList as g, DashboardTimelineChart as _, DashboardTrendMetric as v, DashboardWindowControl as y, DataTable as b } from "@plumile/ui";
9
+ import { jsx as x, jsxs as S } from "react/jsx-runtime";
10
+ import { useTranslation as C } from "react-i18next";
11
+ import * as w from "react-relay";
12
+ import { BackofficeEmptyState as T } from "@plumile/ui/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js";
25
13
  //#region src/pages/BackofficeDashboardWidgetContent.tsx
26
- var { useLazyLoadQuery: E } = d, D = { window: {
14
+ var { useLazyLoadQuery: E } = w, D = (e, t) => {
15
+ switch (e) {
16
+ case "neutral": return t("dashboard.tones.neutral");
17
+ case "info": return t("dashboard.tones.info");
18
+ case "success": return t("dashboard.tones.success");
19
+ case "warning": return t("dashboard.tones.warning");
20
+ case "danger": return t("dashboard.tones.danger");
21
+ default: return e;
22
+ }
23
+ }, O = (e, t) => e == null ? {} : {
24
+ tone: e,
25
+ toneLabel: D(e, t)
26
+ }, k = (e, t) => e == null ? {} : {
27
+ threshold: e,
28
+ thresholdLabel: t("dashboard.threshold")
29
+ }, A = (e, t, n, r) => e == null ? {} : {
30
+ sparkline: e,
31
+ sparklineLabel: t,
32
+ sparklineDescription: r("dashboard.chart.description", { label: t }),
33
+ sparklineEmptyMessage: r("dashboard.chart.empty"),
34
+ locale: n
35
+ }, j = (e, t) => {
36
+ switch (e) {
37
+ case "up": return t("dashboard.trendDirections.up");
38
+ case "down": return t("dashboard.trendDirections.down");
39
+ case "flat": return t("dashboard.trendDirections.flat");
40
+ default: return e;
41
+ }
42
+ }, M = { window: {
27
43
  id: "24h",
28
44
  label: (e) => e("common.time.lastDay", "24 h"),
29
45
  from: (/* @__PURE__ */ new Date(0)).toISOString(),
30
46
  to: (/* @__PURE__ */ new Date(0)).toISOString()
31
- } }, O = (e, t) => typeof e.variables == "function" ? e.variables(t) : e.variables, k = () => {
47
+ } }, N = (e, t) => typeof e.variables == "function" ? e.variables(t) : e.variables, P = () => {
32
48
  let { t } = e();
33
- return /* @__PURE__ */ c(f, { title: t("common.notAvailable") });
34
- }, A = () => {
49
+ return /* @__PURE__ */ x(T, { title: t("common.notAvailable") });
50
+ }, F = () => {
35
51
  let { entities: e } = t();
36
52
  return (t, n) => s(t, e, n);
37
- }, j = ({ metrics: t }) => {
38
- let { t: n } = u(), { t: r } = e(), a = A();
39
- return /* @__PURE__ */ c(h, {
40
- emptyState: /* @__PURE__ */ c(k, {}),
53
+ }, I = ({ metrics: t }) => {
54
+ let { t: n } = C(), { t: r } = e(), a = F();
55
+ return /* @__PURE__ */ x(d, {
56
+ emptyState: /* @__PURE__ */ x(P, {}),
41
57
  metrics: t.map((e) => ({
42
58
  id: e.id,
43
59
  destination: a(e.target, e.href),
@@ -46,111 +62,122 @@ var { useLazyLoadQuery: E } = d, D = { window: {
46
62
  hint: e.meta == null ? void 0 : i(e.meta, n)
47
63
  }))
48
64
  });
49
- }, M = ({ items: t }) => {
50
- let { t: n } = u(), { t: r } = e(), a = A();
51
- return /* @__PURE__ */ c(g, {
52
- emptyState: /* @__PURE__ */ c(k, {}),
53
- items: t.map((e) => ({
54
- id: e.id,
55
- destination: a(e.target, e.href),
56
- label: i(e.label, n),
57
- value: e.value ?? r("common.notAvailable")
58
- }))
59
- });
60
- }, N = ({ actions: e, layout: t }) => {
61
- let { t: n } = u(), r = A();
62
- return /* @__PURE__ */ c(m, {
63
- layout: t,
64
- emptyState: /* @__PURE__ */ c(k, {}),
65
- actions: e.map((e) => {
66
- let t;
67
- return t = typeof e.label == "string" ? e.label : i(e.label, n), {
65
+ }, L = ({ items: t }) => {
66
+ let { t: n } = C(), { t: r } = e(), a = F();
67
+ return /* @__PURE__ */ x(g, {
68
+ emptyState: /* @__PURE__ */ x(P, {}),
69
+ items: t.map((e) => {
70
+ let t = a(e.target, e.href), o = {
68
71
  id: e.id,
69
- destination: r(e.target, e.href) ?? { pathname: "#" },
70
- label: t
72
+ label: i(e.label, n),
73
+ value: e.value ?? r("common.notAvailable")
74
+ };
75
+ return t == null ? o : {
76
+ ...o,
77
+ destination: t
71
78
  };
72
79
  })
73
80
  });
74
- }, P = ({ metric: t }) => {
75
- let { t: n } = u(), { t: r } = e(), a = A();
76
- return /* @__PURE__ */ c(C, {
77
- label: i(t.label, n),
78
- value: t.value ?? r("common.notAvailable"),
81
+ }, R = ({ actions: e, layout: t }) => {
82
+ let { t: n } = C(), r = F(), a = e.flatMap((e) => {
83
+ let t = r(e.target, e.href);
84
+ if (t == null) return [];
85
+ let a;
86
+ return a = typeof e.label == "string" ? e.label : i(e.label, n), [{
87
+ id: e.id,
88
+ destination: t,
89
+ label: a
90
+ }];
91
+ });
92
+ return /* @__PURE__ */ x(p, {
93
+ layout: t,
94
+ emptyState: /* @__PURE__ */ x(P, {}),
95
+ actions: a
96
+ });
97
+ }, z = ({ metric: t }) => {
98
+ let { i18n: n, t: r } = C(), { t: a } = e(), o = F();
99
+ return /* @__PURE__ */ x(v, {
100
+ label: i(t.label, r),
101
+ value: t.value ?? a("common.notAvailable"),
79
102
  unit: t.unit,
80
- destination: a(t.target, t.href),
81
- tone: t.tone,
103
+ destination: o(t.target, t.href),
104
+ ...O(t.tone, a),
82
105
  delta: t.delta == null ? void 0 : {
83
106
  ...t.delta,
84
- label: t.delta.label == null ? void 0 : i(t.delta.label, n)
107
+ directionLabel: j(t.delta.direction, a),
108
+ label: t.delta.label == null ? void 0 : i(t.delta.label, r)
85
109
  },
86
- sparkline: t.sparkline,
87
- sparklineLabel: i(t.label, n)
110
+ ...A(t.sparkline, i(t.label, r), n.language, a)
88
111
  });
89
- }, F = ({ gauge: t }) => {
90
- let { t: n } = u(), { t: r } = e(), a = A();
91
- return t.value == null ? /* @__PURE__ */ c(f, { title: r("common.notAvailable") }) : /* @__PURE__ */ c(x, {
112
+ }, B = ({ gauge: t }) => {
113
+ let { t: n } = C(), { t: r } = e(), a = F();
114
+ return t.value == null ? /* @__PURE__ */ x(T, { title: r("common.notAvailable") }) : /* @__PURE__ */ x(h, {
92
115
  label: i(t.label, n),
93
116
  value: t.value,
117
+ valueText: `${t.value}${t.unit ?? ""}`,
94
118
  max: t.max,
95
- threshold: t.threshold,
119
+ ...k(t.threshold, r),
96
120
  unit: t.unit,
97
121
  tone: t.tone,
98
122
  destination: a(t.target, t.href)
99
123
  });
100
- }, I = ({ items: t }) => {
101
- let { t: n } = u(), { t: r } = e(), a = A();
102
- return /* @__PURE__ */ c(_, {
103
- emptyState: /* @__PURE__ */ c(k, {}),
124
+ }, V = ({ items: t }) => {
125
+ let { t: n } = C(), { t: r } = e(), a = F();
126
+ return /* @__PURE__ */ x(c, {
127
+ emptyState: /* @__PURE__ */ x(P, {}),
104
128
  items: t.map((e) => ({
105
129
  id: e.id,
106
130
  destination: a(e.target, e.href),
107
131
  label: i(e.label, n),
108
132
  meta: e.meta == null ? void 0 : i(e.meta, n),
109
- tone: e.tone,
133
+ ...O(e.tone, r),
110
134
  value: e.value ?? r("common.notAvailable")
111
135
  }))
112
136
  });
113
- }, L = ({ ariaLabel: e, chart: t, result: n }) => {
114
- let { t: r } = u();
115
- return /* @__PURE__ */ c(S, {
116
- ariaLabel: i(e, r),
117
- chart: t,
118
- emptyMessage: n.emptyLabel == null ? "" : i(n.emptyLabel, r),
119
- series: n.series.map((e) => ({
137
+ }, H = ({ ariaLabel: t, chart: n, result: r }) => {
138
+ let { i18n: a, t: o } = C(), { t: s } = e();
139
+ return /* @__PURE__ */ x(_, {
140
+ ariaLabel: i(t, o),
141
+ ariaDescription: s("dashboard.chart.description", { label: i(t, o) }),
142
+ chart: n,
143
+ emptyMessage: r.emptyLabel == null ? s("dashboard.chart.empty") : i(r.emptyLabel, o),
144
+ locale: a.language,
145
+ series: r.series.map((e) => ({
120
146
  ...e,
121
- label: i(e.label, r)
147
+ label: i(e.label, o)
122
148
  }))
123
149
  });
124
- }, R = ({ items: t }) => {
125
- let { t: n } = u(), { t: r } = e(), a = A();
126
- return /* @__PURE__ */ c(b, {
127
- emptyState: /* @__PURE__ */ c(k, {}),
150
+ }, U = ({ items: t }) => {
151
+ let { t: n } = C(), { t: r } = e(), a = F();
152
+ return /* @__PURE__ */ x(m, {
153
+ emptyState: /* @__PURE__ */ x(P, {}),
128
154
  items: t.map((e) => ({
129
155
  id: e.id,
130
156
  destination: a(e.target, e.href),
131
157
  label: i(e.label, n),
132
158
  meta: e.meta == null ? void 0 : i(e.meta, n),
133
159
  severity: e.severity,
160
+ severityLabel: D(e.severity, r),
134
161
  value: e.value ?? r("common.notAvailable")
135
162
  }))
136
163
  });
137
- }, z = ({ item: e }) => {
138
- let { t } = u(), n = A();
139
- return e == null ? /* @__PURE__ */ c(k, {}) : /* @__PURE__ */ c(v, {
140
- destination: n(e.target, e.href),
141
- label: i(e.label, t),
142
- title: i(e.title, t),
143
- tone: e.tone,
144
- meta: e.meta?.map((e) => ({
164
+ }, W = ({ item: t }) => {
165
+ let { t: n } = C(), { t: r } = e(), a = F();
166
+ return t == null ? /* @__PURE__ */ x(P, {}) : /* @__PURE__ */ x(l, {
167
+ destination: a(t.target, t.href),
168
+ label: i(t.label, n),
169
+ title: i(t.title, n),
170
+ ...O(t.tone, r),
171
+ meta: t.meta?.map((e) => ({
145
172
  id: e.id,
146
- label: i(e.label, t),
173
+ label: i(e.label, n),
147
174
  value: e.value
148
175
  }))
149
176
  });
150
- }, B = ({ rows: t }) => {
151
- let { t: n } = u(), { t: r } = e(), a = A();
152
- return /* @__PURE__ */ c(y, {
153
- emptyState: /* @__PURE__ */ c(k, {}),
177
+ }, G = ({ rows: t }) => {
178
+ let { t: n } = C(), { t: r } = e(), a = F();
179
+ return /* @__PURE__ */ x(u, {
180
+ emptyState: /* @__PURE__ */ x(P, {}),
154
181
  rows: t.map((e) => ({
155
182
  id: e.id,
156
183
  label: i(e.label, n),
@@ -158,63 +185,70 @@ var { useLazyLoadQuery: E } = d, D = { window: {
158
185
  id: e.id,
159
186
  destination: a(e.target, e.href),
160
187
  label: i(e.label, n),
161
- tone: e.tone,
188
+ ...O(e.tone, r),
162
189
  value: e.value ?? r("common.notAvailable")
163
190
  }))
164
191
  }))
165
192
  });
166
- }, V = ({ activeWindowPresetId: s, context: d = D, widget: f, data: h, onWindowPresetChange: g, windowPresets: _ = [] }) => {
167
- let { t: v } = u(), { t: y } = e(), { entities: b } = t(), x = f.description == null ? void 0 : i(f.description, v), S = () => f.dataSource === "query" && h != null ? f.resolve(h, d) : null;
168
- if (f.kind === "textBlock") {
169
- let e = i(f.title, v), t = i(f.body, v);
170
- return /* @__PURE__ */ c(p, {
193
+ }, K = ({ activeWindowPresetId: s, context: c = M, widget: l, data: u, onWindowPresetChange: d, windowPresets: m = [] }) => {
194
+ let { i18n: h, t: g } = C(), { t: _ } = e(), { entities: v } = t(), w = l.description == null ? void 0 : i(l.description, g), T = () => l.dataSource === "query" && u != null ? l.resolve(u, c) : null;
195
+ if (l.kind === "textBlock") {
196
+ let e = i(l.title, g), t = i(l.body, g);
197
+ return /* @__PURE__ */ x(f, {
171
198
  title: e,
172
- subtitle: x,
173
- children: /* @__PURE__ */ c("div", {
199
+ subtitle: w,
200
+ children: /* @__PURE__ */ x("div", {
174
201
  className: a,
175
202
  children: t
176
203
  })
177
204
  });
178
205
  }
179
- if (f.kind === "shortcut") {
180
- let e = b[f.entityId], t = i(f.label, v);
181
- return e == null ? /* @__PURE__ */ c(p, {
206
+ if (l.kind === "shortcut") {
207
+ let e = v[l.entityId], t = i(l.label, g);
208
+ return e == null ? /* @__PURE__ */ x(f, {
182
209
  title: t,
183
- subtitle: x,
184
- children: /* @__PURE__ */ c(k, {})
185
- }) : e.kind === "tool" ? /* @__PURE__ */ c(p, {
210
+ subtitle: w,
211
+ children: /* @__PURE__ */ x(P, {})
212
+ }) : e.kind === "tool" ? /* @__PURE__ */ x(f, {
186
213
  title: t,
187
- subtitle: x,
188
- children: /* @__PURE__ */ c(m, { actions: [{
189
- id: e.id,
190
- destination: { pathname: e.routes.list },
191
- label: y("dashboard.actions.openTool")
192
- }] })
193
- }) : /* @__PURE__ */ c(p, {
214
+ subtitle: w,
215
+ children: /* @__PURE__ */ x(p, {
216
+ emptyState: /* @__PURE__ */ x(P, {}),
217
+ actions: [{
218
+ id: e.id,
219
+ destination: { pathname: e.routes.list },
220
+ label: _("dashboard.actions.openTool")
221
+ }]
222
+ })
223
+ }) : /* @__PURE__ */ x(f, {
194
224
  title: t,
195
- subtitle: x,
196
- children: /* @__PURE__ */ c(m, { actions: [{
197
- id: e.id,
198
- destination: { pathname: e.routes.list },
199
- label: y("dashboard.actions.openList")
200
- }] })
225
+ subtitle: w,
226
+ children: /* @__PURE__ */ x(p, {
227
+ emptyState: /* @__PURE__ */ x(P, {}),
228
+ actions: [{
229
+ id: e.id,
230
+ destination: { pathname: e.routes.list },
231
+ label: _("dashboard.actions.openList")
232
+ }]
233
+ })
201
234
  });
202
235
  }
203
- if (f.kind === "tablePreview") {
204
- let e = S();
205
- if (e == null) return /* @__PURE__ */ c(p, {
206
- title: i(f.title, v),
207
- subtitle: x,
208
- children: /* @__PURE__ */ c(k, {})
236
+ if (l.kind === "tablePreview") {
237
+ let e = T();
238
+ if (e == null) return /* @__PURE__ */ x(f, {
239
+ title: i(l.title, g),
240
+ subtitle: w,
241
+ children: /* @__PURE__ */ x(P, {})
209
242
  });
210
243
  let t = r(e.columns, {
211
- tApp: v,
212
- t: y
213
- }), n = i(f.title, v);
214
- return /* @__PURE__ */ c(p, {
244
+ tApp: g,
245
+ t: _
246
+ }), n = i(l.title, g);
247
+ return /* @__PURE__ */ x(f, {
215
248
  title: n,
216
- subtitle: x,
217
- children: /* @__PURE__ */ c(T, {
249
+ subtitle: w,
250
+ children: /* @__PURE__ */ x(b, {
251
+ "aria-label": n,
218
252
  columns: t,
219
253
  rows: e.rows,
220
254
  getRowId: (e, t) => {
@@ -227,198 +261,200 @@ var { useLazyLoadQuery: E } = d, D = { window: {
227
261
  })
228
262
  });
229
263
  }
230
- if (f.kind === "metricGroup") {
231
- let e = S();
232
- return e == null ? /* @__PURE__ */ c(k, {}) : /* @__PURE__ */ c(j, { metrics: e });
264
+ if (l.kind === "metricGroup") {
265
+ let e = T();
266
+ return e == null ? /* @__PURE__ */ x(P, {}) : /* @__PURE__ */ x(I, { metrics: e });
233
267
  }
234
- if (f.kind === "trendMetric") {
235
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
236
- return e == null ? /* @__PURE__ */ c(p, {
268
+ if (l.kind === "trendMetric") {
269
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
270
+ return e == null ? /* @__PURE__ */ x(f, {
237
271
  title: t,
238
- subtitle: x,
239
- children: /* @__PURE__ */ c(k, {})
240
- }) : /* @__PURE__ */ c(p, {
272
+ subtitle: w,
273
+ children: /* @__PURE__ */ x(P, {})
274
+ }) : /* @__PURE__ */ x(f, {
241
275
  title: t,
242
- subtitle: x,
243
- children: /* @__PURE__ */ c(P, { metric: e })
276
+ subtitle: w,
277
+ children: /* @__PURE__ */ x(z, { metric: e })
244
278
  });
245
279
  }
246
- if (f.kind === "slaGauge") {
247
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
248
- return e == null ? /* @__PURE__ */ c(p, {
280
+ if (l.kind === "slaGauge") {
281
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
282
+ return e == null ? /* @__PURE__ */ x(f, {
249
283
  title: t,
250
- subtitle: x,
251
- children: /* @__PURE__ */ c(k, {})
252
- }) : /* @__PURE__ */ c(p, {
284
+ subtitle: w,
285
+ children: /* @__PURE__ */ x(P, {})
286
+ }) : /* @__PURE__ */ x(f, {
253
287
  title: t,
254
- subtitle: x,
255
- children: /* @__PURE__ */ c(F, { gauge: e })
288
+ subtitle: w,
289
+ children: /* @__PURE__ */ x(B, { gauge: e })
256
290
  });
257
291
  }
258
- if (f.kind === "breakdownList") {
259
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
260
- return e == null ? /* @__PURE__ */ c(p, {
292
+ if (l.kind === "breakdownList") {
293
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
294
+ return e == null ? /* @__PURE__ */ x(f, {
261
295
  title: t,
262
- subtitle: x,
263
- children: /* @__PURE__ */ c(k, {})
264
- }) : /* @__PURE__ */ c(p, {
296
+ subtitle: w,
297
+ children: /* @__PURE__ */ x(P, {})
298
+ }) : /* @__PURE__ */ x(f, {
265
299
  title: t,
266
- subtitle: x,
267
- children: /* @__PURE__ */ c(I, { items: e })
300
+ subtitle: w,
301
+ children: /* @__PURE__ */ x(V, { items: e })
268
302
  });
269
303
  }
270
- if (f.kind === "timelineChart") {
271
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
272
- return e == null ? /* @__PURE__ */ c(p, {
304
+ if (l.kind === "timelineChart") {
305
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
306
+ return e == null ? /* @__PURE__ */ x(f, {
273
307
  title: t,
274
- subtitle: x,
275
- children: /* @__PURE__ */ c(k, {})
276
- }) : /* @__PURE__ */ c(p, {
308
+ subtitle: w,
309
+ children: /* @__PURE__ */ x(P, {})
310
+ }) : /* @__PURE__ */ x(f, {
277
311
  title: t,
278
- subtitle: x,
279
- children: /* @__PURE__ */ c(L, {
280
- ariaLabel: f.ariaLabel,
281
- chart: f.chart,
312
+ subtitle: w,
313
+ children: /* @__PURE__ */ x(H, {
314
+ ariaLabel: l.ariaLabel,
315
+ chart: l.chart,
282
316
  result: e
283
317
  })
284
318
  });
285
319
  }
286
- if (f.kind === "riskQueue") {
287
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
288
- return e == null ? /* @__PURE__ */ c(p, {
320
+ if (l.kind === "riskQueue") {
321
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
322
+ return e == null ? /* @__PURE__ */ x(f, {
289
323
  title: t,
290
- subtitle: x,
291
- children: /* @__PURE__ */ c(k, {})
292
- }) : /* @__PURE__ */ c(p, {
324
+ subtitle: w,
325
+ children: /* @__PURE__ */ x(P, {})
326
+ }) : /* @__PURE__ */ x(f, {
293
327
  title: t,
294
- subtitle: x,
295
- children: /* @__PURE__ */ c(R, { items: e })
328
+ subtitle: w,
329
+ children: /* @__PURE__ */ x(U, { items: e })
296
330
  });
297
331
  }
298
- if (f.kind === "entitySpotlight") {
299
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
300
- return /* @__PURE__ */ c(p, {
332
+ if (l.kind === "entitySpotlight") {
333
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
334
+ return /* @__PURE__ */ x(f, {
301
335
  title: t,
302
- subtitle: x,
303
- children: /* @__PURE__ */ c(z, { item: e })
336
+ subtitle: w,
337
+ children: /* @__PURE__ */ x(W, { item: e })
304
338
  });
305
339
  }
306
- if (f.kind === "healthMatrix") {
307
- let e = S(), t = f.title == null ? void 0 : i(f.title, v);
308
- return e == null ? /* @__PURE__ */ c(p, {
340
+ if (l.kind === "healthMatrix") {
341
+ let e = T(), t = l.title == null ? void 0 : i(l.title, g);
342
+ return e == null ? /* @__PURE__ */ x(f, {
309
343
  title: t,
310
- subtitle: x,
311
- children: /* @__PURE__ */ c(k, {})
312
- }) : /* @__PURE__ */ c(p, {
344
+ subtitle: w,
345
+ children: /* @__PURE__ */ x(P, {})
346
+ }) : /* @__PURE__ */ x(f, {
313
347
  title: t,
314
- subtitle: x,
315
- children: /* @__PURE__ */ c(B, { rows: e })
348
+ subtitle: w,
349
+ children: /* @__PURE__ */ x(G, { rows: e })
316
350
  });
317
351
  }
318
- if (f.kind === "billingUsageChart") {
319
- let e = S(), t = i(f.title, v);
320
- return e == null ? /* @__PURE__ */ c(p, {
352
+ if (l.kind === "billingUsageChart") {
353
+ let e = T(), t = i(l.title, g);
354
+ return e == null ? /* @__PURE__ */ x(f, {
321
355
  title: t,
322
- subtitle: x,
323
- children: /* @__PURE__ */ c(k, {})
324
- }) : /* @__PURE__ */ c(p, {
356
+ subtitle: w,
357
+ children: /* @__PURE__ */ x(P, {})
358
+ }) : /* @__PURE__ */ x(f, {
325
359
  title: t,
326
- subtitle: x,
327
- children: /* @__PURE__ */ c(n, {
328
- ariaLabel: i(f.ariaLabel, v),
360
+ subtitle: w,
361
+ children: /* @__PURE__ */ x(n, {
362
+ ariaLabel: i(l.ariaLabel, g),
329
363
  buckets: e.buckets,
330
- categories: f.categories.map((e) => ({
364
+ categories: l.categories.map((e) => ({
331
365
  id: e.id,
332
- label: i(e.label, v),
366
+ label: i(e.label, g),
333
367
  color: e.color
334
368
  })),
335
369
  currency: e.currency,
336
- emptyLabel: i(f.emptyLabel, v),
370
+ emptyLabel: i(l.emptyLabel, g),
337
371
  from: e.from,
338
- rangePrefix: i(f.rangePrefix, v),
372
+ locale: h.language,
373
+ rangePrefix: i(l.rangePrefix, g),
339
374
  to: e.to,
340
375
  totalAmount: e.totalAmount
341
376
  })
342
377
  });
343
378
  }
344
- if (f.kind === "quickActions") {
345
- let e = f.title == null ? y("dashboard.actions.openTool") : i(f.title, v);
346
- return /* @__PURE__ */ c(p, {
379
+ if (l.kind === "quickActions") {
380
+ let e = l.title == null ? _("dashboard.actions.openTool") : i(l.title, g);
381
+ return /* @__PURE__ */ x(f, {
347
382
  title: e,
348
- subtitle: x,
349
- children: /* @__PURE__ */ c(N, {
350
- layout: f.layout?.zone === "aside" ? "stack" : "grid",
351
- actions: f.actions
383
+ subtitle: w,
384
+ children: /* @__PURE__ */ x(R, {
385
+ layout: l.layout?.zone === "aside" ? "stack" : "grid",
386
+ actions: l.actions
352
387
  })
353
388
  });
354
389
  }
355
- if (f.kind === "windowControl") return /* @__PURE__ */ c(p, {
356
- title: i(f.title, v),
357
- subtitle: x,
358
- children: /* @__PURE__ */ c(w, {
359
- activePresetId: s ?? d.window.id,
390
+ if (l.kind === "windowControl") return /* @__PURE__ */ x(f, {
391
+ title: i(l.title, g),
392
+ subtitle: w,
393
+ children: /* @__PURE__ */ x(y, {
394
+ label: _("dashboard.windowLabel"),
395
+ activePresetId: s ?? c.window.id,
360
396
  onChange: (e) => {
361
- g?.(e);
397
+ d?.(e);
362
398
  },
363
- presets: _.map((e) => ({
399
+ presets: m.map((e) => ({
364
400
  id: e.id,
365
- label: i(e.label, v)
401
+ label: i(e.label, g)
366
402
  }))
367
403
  })
368
404
  });
369
- if (f.kind === "statusSummary") {
370
- let e = S();
405
+ if (l.kind === "statusSummary") {
406
+ let e = T();
371
407
  if (e == null) {
372
- let e = f.title == null ? void 0 : i(f.title, v);
373
- return /* @__PURE__ */ c(p, {
408
+ let e = l.title == null ? void 0 : i(l.title, g);
409
+ return /* @__PURE__ */ x(f, {
374
410
  title: e,
375
- subtitle: x,
376
- children: /* @__PURE__ */ c(k, {})
411
+ subtitle: w,
412
+ children: /* @__PURE__ */ x(P, {})
377
413
  });
378
414
  }
379
- let t = f.title == null ? void 0 : i(f.title, v);
380
- return /* @__PURE__ */ c(p, {
415
+ let t = l.title == null ? void 0 : i(l.title, g);
416
+ return /* @__PURE__ */ x(f, {
381
417
  title: t,
382
- subtitle: x,
383
- children: /* @__PURE__ */ c(M, { items: e })
418
+ subtitle: w,
419
+ children: /* @__PURE__ */ x(L, { items: e })
384
420
  });
385
421
  }
386
- if (f.kind === "recentItems") {
387
- let e = f.title == null ? y("dashboard.title") : i(f.title, v);
388
- return /* @__PURE__ */ c(p, {
422
+ if (l.kind === "recentItems") {
423
+ let e = l.title == null ? _("dashboard.title") : i(l.title, g);
424
+ return /* @__PURE__ */ x(f, {
389
425
  title: e,
390
- subtitle: x,
391
- children: /* @__PURE__ */ c(k, {})
426
+ subtitle: w,
427
+ children: /* @__PURE__ */ x(P, {})
392
428
  });
393
429
  }
394
- let C = b[f.entityId];
395
- if (C?.kind !== "list-detail") return /* @__PURE__ */ c(p, {
396
- title: i(f.label, v),
397
- subtitle: x,
398
- children: /* @__PURE__ */ c(k, {})
430
+ let E = v[l.entityId];
431
+ if (E?.kind !== "list-detail") return /* @__PURE__ */ x(f, {
432
+ title: i(l.label, g),
433
+ subtitle: w,
434
+ children: /* @__PURE__ */ x(P, {})
399
435
  });
400
- let E = S(), O = y("common.notAvailable");
401
- typeof E?.count == "number" && (O = E.count);
402
- let A = i(f.label, v);
403
- return /* @__PURE__ */ c(p, {
404
- title: A,
405
- subtitle: x,
406
- children: /* @__PURE__ */ l("div", {
436
+ let D = T(), O = _("common.notAvailable");
437
+ typeof D?.count == "number" && (O = D.count);
438
+ let k = i(l.label, g);
439
+ return /* @__PURE__ */ x(f, {
440
+ title: k,
441
+ subtitle: w,
442
+ children: /* @__PURE__ */ S("div", {
407
443
  className: a,
408
- children: [/* @__PURE__ */ c("div", {
444
+ children: [/* @__PURE__ */ x("div", {
409
445
  className: o,
410
446
  children: O
411
- }), /* @__PURE__ */ c(N, { actions: [{
412
- id: C.id,
413
- href: E?.href ?? C.routes.list,
414
- target: E?.target,
415
- label: y("dashboard.actions.openList")
447
+ }), /* @__PURE__ */ x(R, { actions: [{
448
+ id: E.id,
449
+ href: D?.href ?? E.routes.list,
450
+ target: D?.target,
451
+ label: _("dashboard.actions.openList")
416
452
  }] })]
417
453
  })
418
454
  });
419
- }, H = ({ activeWindowPresetId: e, context: t = D, onWindowPresetChange: n, widget: r, windowPresets: i }) => {
420
- let a = E(r.query, O(r, t), { fetchPolicy: "store-or-network" });
421
- return /* @__PURE__ */ c(V, {
455
+ }, q = ({ activeWindowPresetId: e, context: t = M, onWindowPresetChange: n, widget: r, windowPresets: i }) => {
456
+ let a = E(r.query, N(r, t), { fetchPolicy: "store-or-network" });
457
+ return /* @__PURE__ */ x(K, {
422
458
  activeWindowPresetId: e,
423
459
  context: t,
424
460
  data: a,
@@ -426,14 +462,14 @@ var { useLazyLoadQuery: E } = d, D = { window: {
426
462
  widget: r,
427
463
  windowPresets: i
428
464
  });
429
- }, U = (e) => {
465
+ }, J = (e) => {
430
466
  let { widget: t } = e;
431
- return t.dataSource === "query" ? /* @__PURE__ */ c(H, {
467
+ return t.dataSource === "query" ? /* @__PURE__ */ x(q, {
432
468
  ...e,
433
469
  widget: t
434
- }) : /* @__PURE__ */ c(V, { ...e });
470
+ }) : /* @__PURE__ */ x(K, { ...e });
435
471
  };
436
472
  //#endregion
437
- export { U as BackofficeDashboardWidgetContent, U as default };
473
+ export { J as BackofficeDashboardWidgetContent, J as default };
438
474
 
439
475
  //# sourceMappingURL=BackofficeDashboardWidgetContent.js.map