@plumile/backoffice-react 0.2.3 → 0.2.6

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
@@ -1,6 +1,6 @@
1
- import { TechnicalIdentifierValue as e, normalizeTechnicalIdentifier as t } from "../components/backoffice/technical/TechnicalIdentifierValue.js";
2
- import { isEmptyText as n, resolveBadgeTone as r, resolveLabel as i, resolveValueLabel as a } from "./BackofficeEntityDetailPage.helpers.js";
3
- import { Fragment as o, createElement as s } from "react";
1
+ import { isEmptyText as e, resolveBadgeTone as t, resolveLabel as n, resolveValueLabel as r } from "./BackofficeEntityDetailPage.helpers.js";
2
+ import { Fragment as i, createElement as a } from "react";
3
+ import { TechnicalIdentifierValue as o, normalizeTechnicalIdentifier as s } from "@plumile/ui";
4
4
  //#region src/pages/BackofficeEntityDetailPage.view-helpers.ts
5
5
  var c = (e, t, n) => {
6
6
  switch (e) {
@@ -90,86 +90,86 @@ var c = (e, t, n) => {
90
90
  };
91
91
  default: throw Error(`Unsupported flag variant: ${String(e)}`);
92
92
  }
93
- }, l = (e, t) => {
94
- let { tApp: r, t: i, resolveEntityHref: o, renderLink: s } = t, c = i("common.notAvailable");
95
- if (e.type === "text") {
96
- let t = a(e.value, r);
97
- return n(t) ? c : t;
93
+ }, l = (t, n) => {
94
+ let { tApp: i, t: a, resolveEntityHref: o, renderLink: s } = n, c = a("common.notAvailable");
95
+ if (t.type === "text") {
96
+ let n = r(t.value, i);
97
+ return e(n) ? c : n;
98
98
  }
99
- if (e.type === "entityRef") {
100
- let { id: t } = e;
101
- if (t == null || t.trim() === "") return c;
102
- let n = a(e.label, r), i = n != null && String(n).trim() !== "" ? n : null;
103
- if (i == null) return c;
104
- let l = o?.(e.entity, t) ?? null;
105
- return l == null ? i : s(l, i);
99
+ if (t.type === "entityRef") {
100
+ let { id: e } = t;
101
+ if (e == null || e.trim() === "") return c;
102
+ let n = r(t.label, i), a = n != null && String(n).trim() !== "" ? n : null;
103
+ if (a == null) return c;
104
+ let l = o?.(t.entity, e) ?? null;
105
+ return l == null ? a : s(l, a);
106
106
  }
107
- let { href: l } = e;
107
+ let { href: l } = t;
108
108
  if (l == null || l.trim() === "") return c;
109
- let u = a(e.label, r);
110
- return n(u) ? c : s(l, u);
111
- }, u = (e, t, r) => {
112
- let { tApp: i, t: o, resolveEntityHref: s, renderDate: c, renderLink: l } = r, u = o("common.notAvailable");
113
- if (e.type === "dateTime") return c(e.value(t), u);
114
- if (e.type === "entityRef") {
115
- let n = e.id(t);
116
- if (n == null || n.trim() === "") return u;
117
- let r = a(e.value?.(t), i), o = r != null && String(r).trim() !== "" ? r : null;
109
+ let u = r(t.label, i);
110
+ return e(u) ? c : s(l, u);
111
+ }, u = (t, n, i) => {
112
+ let { tApp: a, t: o, resolveEntityHref: s, renderDate: c, renderLink: l } = i, u = o("common.notAvailable");
113
+ if (t.type === "dateTime") return c(t.value(n), u);
114
+ if (t.type === "entityRef") {
115
+ let e = t.id(n);
116
+ if (e == null || e.trim() === "") return u;
117
+ let i = r(t.value?.(n), a), o = i != null && String(i).trim() !== "" ? i : null;
118
118
  if (o == null) return u;
119
- let c = s?.(e.entity, n) ?? null;
119
+ let c = s?.(t.entity, e) ?? null;
120
120
  return c == null ? o : l(c, o);
121
121
  }
122
- if (e.type === "link") {
123
- let r = e.href(t), o = a(e.value(t), i);
124
- return r == null || r.trim() === "" || n(o) ? u : l(r, o);
122
+ if (t.type === "link") {
123
+ let i = t.href(n), o = r(t.value(n), a);
124
+ return i == null || i.trim() === "" || e(o) ? u : l(i, o);
125
125
  }
126
- let d = a(e.value(t), i);
127
- return n(d) ? u : d;
128
- }, d = (e, t, n, i) => {
126
+ let d = r(t.value(n), a);
127
+ return e(d) ? u : d;
128
+ }, d = (e, n, i, a) => {
129
129
  if (e.type === "badgeRow") {
130
- let r = e.items(t).map((e) => {
131
- let t = a(e.label, n), r = t == null ? "" : String(t);
130
+ let t = e.items(n).map((e) => {
131
+ let t = r(e.label, i), n = t == null ? "" : String(t);
132
132
  return {
133
133
  ...e,
134
- label: r
134
+ label: n
135
135
  };
136
136
  });
137
- return r.length === 0 ? void 0 : i.renderBadgeRow(r);
137
+ return t.length === 0 ? void 0 : a.renderBadgeRow(t);
138
138
  }
139
- let o = a(e.value(t), n), s = o == null ? "" : String(o);
139
+ let o = r(e.value(n), i), s = o == null ? "" : String(o);
140
140
  if (s.trim() === "") return;
141
- let c = r(e.tone, t);
142
- return i.renderTag(c, s);
143
- }, f = (t, o, u) => {
141
+ let c = t(e.tone, n);
142
+ return a.renderTag(c, s);
143
+ }, f = (i, s, u) => {
144
144
  let { tApp: d, t: f, resolveEntityHref: p, formatNumber: m, formatCurrency: h, formatCurrencyTitle: g, formatPercent: _, renderTag: v, renderBadgeRow: y, renderDate: b, renderFlagTag: x, renderLink: S, renderTaggedValue: C, wrapCustomNode: w } = u, T = [], E = [], D = f("common.notAvailable");
145
- return t.forEach((t, u) => {
146
- let O = `${t.type}-${u}`;
147
- switch (t.type) {
145
+ return i.forEach((i, u) => {
146
+ let O = `${i.type}-${u}`;
147
+ switch (i.type) {
148
148
  case "text": {
149
- let e = a(t.value(o), d);
149
+ let e = r(i.value(s), d);
150
150
  T.push({
151
151
  id: O,
152
- label: i(t.label, d),
153
- size: t.size,
152
+ label: n(i.label, d),
153
+ size: i.size,
154
154
  value: e,
155
- copyValue: t.copyValue?.(o) ?? void 0,
156
- fullWidth: t.fullWidth
155
+ copyValue: i.copyValue?.(s) ?? void 0,
156
+ fullWidth: i.fullWidth
157
157
  });
158
158
  break;
159
159
  }
160
160
  case "badge": {
161
- let e = a(t.value(o), d), n = e == null ? "" : String(e), s = r(t.tone, o);
161
+ let e = r(i.value(s), d), a = e == null ? "" : String(e), o = t(i.tone, s);
162
162
  T.push({
163
163
  id: O,
164
- label: i(t.label, d),
165
- size: t.size,
166
- value: n.trim() === "" ? null : v(s, n)
164
+ label: n(i.label, d),
165
+ size: i.size,
166
+ value: a.trim() === "" ? null : v(o, a)
167
167
  });
168
168
  break;
169
169
  }
170
170
  case "badgeRow": {
171
- let e = t.items(o).map((e) => {
172
- let t = a(e.label, d), n = t == null ? "" : String(t);
171
+ let e = i.items(s).map((e) => {
172
+ let t = r(e.label, d), n = t == null ? "" : String(t);
173
173
  return {
174
174
  ...e,
175
175
  label: n
@@ -177,120 +177,120 @@ var c = (e, t, n) => {
177
177
  });
178
178
  T.push({
179
179
  id: O,
180
- label: i(t.label, d),
181
- size: t.size,
180
+ label: n(i.label, d),
181
+ size: i.size,
182
182
  value: e.length > 0 ? y(e) : null,
183
- fullWidth: t.fullWidth
183
+ fullWidth: i.fullWidth
184
184
  });
185
185
  break;
186
186
  }
187
187
  case "dateTime":
188
188
  T.push({
189
189
  id: O,
190
- label: i(t.label, d),
191
- size: t.size,
192
- value: b(t.value(o), D)
190
+ label: n(i.label, d),
191
+ size: i.size,
192
+ value: b(i.value(s), D)
193
193
  });
194
194
  break;
195
195
  case "number": {
196
- let e = t.value(o), n = null;
196
+ let e = i.value(s), t = null;
197
197
  if (e != null) {
198
- if (t.format === "currency") {
199
- let t = h(e);
200
- n = s("span", { title: g?.(e) ?? void 0 }, t);
201
- } else n = t.format === "percent" ? _(e) : m(e);
198
+ if (i.format === "currency") {
199
+ let n = h(e);
200
+ t = a("span", { title: g?.(e) ?? void 0 }, n);
201
+ } else t = i.format === "percent" ? _(e) : m(e);
202
202
  }
203
203
  T.push({
204
204
  id: O,
205
- label: i(t.label, d),
206
- size: t.size,
207
- value: n
205
+ label: n(i.label, d),
206
+ size: i.size,
207
+ value: t
208
208
  });
209
209
  break;
210
210
  }
211
211
  case "flag": {
212
- let e = t.value(o);
212
+ let e = i.value(s);
213
213
  T.push({
214
214
  id: O,
215
- label: i(t.label, d),
216
- size: t.size,
217
- value: e == null ? null : x(c(t.variant, e, f))
215
+ label: n(i.label, d),
216
+ size: i.size,
217
+ value: e == null ? null : x(c(i.variant, e, f))
218
218
  });
219
219
  break;
220
220
  }
221
221
  case "entityRef": {
222
- let e = t.id(o), n = null;
222
+ let e = i.id(s), t = null;
223
223
  if (e != null && e.trim() !== "") {
224
- let r = t.value?.(o), i = r != null && r.trim() !== "" ? r : null, a = p?.(t.entity, e) ?? null;
225
- i != null && (n = a == null ? i : S(a, i));
224
+ let n = i.value?.(s), r = n != null && n.trim() !== "" ? n : null, a = p?.(i.entity, e) ?? null;
225
+ r != null && (t = a == null ? r : S(a, r));
226
226
  }
227
227
  T.push({
228
228
  id: O,
229
- label: i(t.label, d),
230
- size: t.size,
231
- value: n ?? D
229
+ label: n(i.label, d),
230
+ size: i.size,
231
+ value: t ?? D
232
232
  });
233
233
  break;
234
234
  }
235
235
  case "technicalIdentifier": {
236
- let n = t.value(o);
236
+ let e = i.value(s);
237
237
  T.push({
238
238
  id: O,
239
- label: i(t.label, d),
240
- size: t.size,
241
- value: n == null ? null : s(e, {
242
- value: n,
243
- copyValue: t.copyValue?.(o) ?? void 0,
244
- variant: t.variant,
239
+ label: n(i.label, d),
240
+ size: i.size,
241
+ value: e == null ? null : a(o, {
242
+ value: e,
243
+ copyValue: i.copyValue?.(s) ?? void 0,
244
+ abbreviation: i.abbreviation,
245
245
  copyLabel: f("common.actions.copy")
246
246
  }),
247
- copyValue: t.copyValue?.(o) ?? void 0,
248
- fullWidth: t.fullWidth
247
+ copyValue: i.copyValue?.(s) ?? void 0,
248
+ fullWidth: i.fullWidth
249
249
  });
250
250
  break;
251
251
  }
252
252
  case "link": {
253
- let e = t.href(o), r = t.value(o);
253
+ let t = i.href(s), r = i.value(s);
254
254
  T.push({
255
255
  id: O,
256
- label: i(t.label, d),
257
- size: t.size,
258
- value: e != null && e.trim() !== "" && !n(r) ? S(e, r) : null
256
+ label: n(i.label, d),
257
+ size: i.size,
258
+ value: t != null && t.trim() !== "" && !e(r) ? S(t, r) : null
259
259
  });
260
260
  break;
261
261
  }
262
262
  case "taggedValue": {
263
- let e = t.tag(o), n = l(t.value(o), {
263
+ let e = i.tag(s), t = l(i.value(s), {
264
264
  tApp: d,
265
265
  t: f,
266
266
  resolveEntityHref: p,
267
267
  renderLink: S
268
- }), r = e == null ? null : {
268
+ }), a = e == null ? null : {
269
269
  ...e,
270
270
  label: (() => {
271
- let t = a(e.label, d);
271
+ let t = r(e.label, d);
272
272
  return t == null ? "" : String(t);
273
273
  })()
274
274
  };
275
275
  T.push({
276
276
  id: O,
277
- label: i(t.label, d),
278
- size: t.size,
279
- value: r != null || n != null ? C(r, n) : null,
280
- fullWidth: t.fullWidth
277
+ label: n(i.label, d),
278
+ size: i.size,
279
+ value: a != null || t != null ? C(a, t) : null,
280
+ fullWidth: i.fullWidth
281
281
  });
282
282
  break;
283
283
  }
284
284
  case "custom": {
285
- let e = t.render(o);
285
+ let e = i.render(s);
286
286
  if (e == null) break;
287
- if (t.label != null) {
287
+ if (i.label != null) {
288
288
  T.push({
289
289
  id: O,
290
- label: i(t.label, d),
291
- size: t.size,
290
+ label: n(i.label, d),
291
+ size: i.size,
292
292
  value: e,
293
- fullWidth: t.fullWidth
293
+ fullWidth: i.fullWidth
294
294
  });
295
295
  break;
296
296
  }
@@ -302,36 +302,36 @@ var c = (e, t, n) => {
302
302
  items: T,
303
303
  customNodes: E
304
304
  };
305
- }, p = (e, t, n) => {
306
- let { tApp: c, t: f, resolveEntityHref: p, renderLink: m, renderDate: h, renderTag: g, renderBadgeRow: _ } = n, v = e.titleValue?.(t, c) ?? i(e.title, c), y = typeof t == "object" && t && "id" in t && typeof t.id == "string" ? t.id.trim() : null, b = v.trim() === "" || y != null && v.trim() === y ? i(e.title, c) : v, x;
305
+ }, p = (e, o, s) => {
306
+ let { tApp: c, t: f, resolveEntityHref: p, renderLink: m, renderDate: h, renderTag: g, renderBadgeRow: _ } = s, v = e.titleValue?.(o, c) ?? n(e.title, c), y = typeof o == "object" && o && "id" in o && typeof o.id == "string" ? o.id.trim() : null, b = v.trim() === "" || y != null && v.trim() === y ? n(e.title, c) : v, x;
307
307
  if (e.subtitleItems != null && e.subtitleItems.length > 0) {
308
- let { subtitleItems: n } = e, r = e.subtitleSeparator ?? " / ", i = [];
309
- n.forEach((e, a) => {
310
- i.push(s("span", { key: e.id }, l(e.value(t), {
308
+ let { subtitleItems: t } = e, n = e.subtitleSeparator ?? " / ", r = [];
309
+ t.forEach((e, i) => {
310
+ r.push(a("span", { key: e.id }, l(e.value(o), {
311
311
  tApp: c,
312
312
  t: f,
313
313
  resolveEntityHref: p,
314
314
  renderLink: m
315
- }))), a < n.length - 1 && i.push(s("span", { key: `${e.id}-sep` }, r));
316
- }), x = s("span", null, ...i);
315
+ }))), i < t.length - 1 && r.push(a("span", { key: `${e.id}-sep` }, n));
316
+ }), x = a("span", null, ...r);
317
317
  } else {
318
- let n = e.subtitleValue?.(t, c) ?? (e.subtitle == null ? null : i(e.subtitle, c));
319
- x = n != null && n.trim() !== "" ? n : void 0;
318
+ let t = e.subtitleValue?.(o, c) ?? (e.subtitle == null ? null : n(e.subtitle, c));
319
+ x = t != null && t.trim() !== "" ? t : void 0;
320
320
  }
321
321
  let S = [];
322
- e.badges?.forEach((e, n) => {
323
- let l = i(e.label, c), u = a(e.value(t), c), d = u == null ? "" : String(u);
324
- d.trim() !== "" && (S.push(g(r(e.tone, t), `${l}: ${d}`)), typeof S[S.length - 1] == "object" && (S[S.length - 1] = s(o, { key: `${l}-${n}` }, S[S.length - 1])));
322
+ e.badges?.forEach((e, s) => {
323
+ let l = n(e.label, c), u = r(e.value(o), c), d = u == null ? "" : String(u);
324
+ d.trim() !== "" && (S.push(g(t(e.tone, o), `${l}: ${d}`)), typeof S[S.length - 1] == "object" && (S[S.length - 1] = a(i, { key: `${l}-${s}` }, S[S.length - 1])));
325
325
  });
326
- let C = e.status == null ? void 0 : d(e.status, t, c, {
326
+ let C = e.status == null ? void 0 : d(e.status, o, c, {
327
327
  renderBadgeRow: _,
328
328
  renderTag: g
329
- }), w = e.meta?.map((e, n) => {
330
- let r = i(e.label, c);
329
+ }), w = e.meta?.map((e, t) => {
330
+ let r = n(e.label, c);
331
331
  return {
332
- id: `${r}-${n}`,
332
+ id: `${r}-${t}`,
333
333
  label: r,
334
- value: u(e, t, {
334
+ value: u(e, o, {
335
335
  tApp: c,
336
336
  t: f,
337
337
  resolveEntityHref: p,
@@ -343,7 +343,7 @@ var c = (e, t, n) => {
343
343
  return {
344
344
  title: b,
345
345
  subtitle: x,
346
- badges: S.length > 0 ? s(o, null, ...S) : void 0,
346
+ badges: S.length > 0 ? a(i, null, ...S) : void 0,
347
347
  status: C,
348
348
  items: w
349
349
  };
@@ -351,215 +351,215 @@ var c = (e, t, n) => {
351
351
  if (e != null) {
352
352
  if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return String(e);
353
353
  try {
354
- return s("pre", null, JSON.stringify(e, null, 2));
354
+ return a("pre", null, JSON.stringify(e, null, 2));
355
355
  } catch {
356
356
  let t = e instanceof Error ? e.message : "[unserializable payload]";
357
- return s("pre", null, t);
357
+ return a("pre", null, t);
358
358
  }
359
359
  }
360
- }, h = (e) => e === "id" || e === "hash" || e === "external" ? e : null, g = (r) => {
361
- let { value: i, href: o, refKind: c, copyValue: l, tApp: u, t: d, renderLink: f } = r, p = a(i, u), m = h(c);
360
+ }, h = (e) => e === "id" || e === "hash" || e === "external" ? "middle" : null, g = (t) => {
361
+ let { value: n, href: i, refKind: c, copyValue: l, tApp: u, t: d, renderLink: f } = t, p = r(n, u), m = h(c);
362
362
  if (m != null) {
363
- let n = t(p);
364
- return n == null ? d("common.notAvailable") : s(e, {
365
- value: n,
366
- copyValue: l ?? n,
367
- variant: m,
363
+ let e = s(p);
364
+ return e == null ? d("common.notAvailable") : a(o, {
365
+ value: e,
366
+ copyValue: l ?? e,
367
+ abbreviation: m,
368
368
  copyLabel: d("common.actions.copy")
369
369
  });
370
370
  }
371
- return o != null && o.trim() !== "" && !n(p) ? f(o, p) : p ?? d("common.notAvailable");
372
- }, _ = (t, r, o) => {
373
- let { tApp: c, t: l, keyPrefix: u } = o;
371
+ return i != null && i.trim() !== "" && !e(p) ? f(i, p) : p ?? d("common.notAvailable");
372
+ }, _ = (t, i, s) => {
373
+ let { tApp: c, t: l, keyPrefix: u } = s;
374
374
  return t == null || t.length === 0 ? [] : t.map((t, d) => {
375
375
  let f = u == null ? `${t.kind}-${d}` : `${u}-${t.kind}-${d}`;
376
376
  if (t.kind === "custom") {
377
- let e = t.render(r);
378
- return e == null ? null : t.label == null ? o.wrapCustomNode(f, e) : o.renderCustomSection(f, i(t.label, c), e);
377
+ let e = t.render(i);
378
+ return e == null ? null : t.label == null ? s.wrapCustomNode(f, e) : s.renderCustomSection(f, n(t.label, c), e);
379
379
  }
380
- let p = "title" in t ? i(t.title, c) : i(t.label, c), h = t.description == null ? void 0 : i(t.description, c);
381
- if (t.kind === "summary") return o.renderKeyValueListSection({
380
+ let p = "title" in t ? n(t.title, c) : n(t.label, c), h = t.description == null ? void 0 : n(t.description, c);
381
+ if (t.kind === "summary") return s.renderKeyValueListSection({
382
382
  key: f,
383
383
  title: p,
384
384
  description: h,
385
- items: t.items.map((e) => {
386
- let t = a(e.value(r), c), s = e.href?.(r), u = e.tone?.(r), d = t ?? l("common.notAvailable");
387
- return s != null && s.trim() !== "" && !n(t) ? d = o.renderLink(s, t) : u != null && !n(t) && (d = o.renderTag(u, String(t))), {
388
- id: e.id,
389
- label: i(e.label, c),
385
+ items: t.items.map((t) => {
386
+ let a = r(t.value(i), c), o = t.href?.(i), u = t.tone?.(i), d = a ?? l("common.notAvailable");
387
+ return o != null && o.trim() !== "" && !e(a) ? d = s.renderLink(o, a) : u != null && !e(a) && (d = s.renderTag(u, String(a))), {
388
+ id: t.id,
389
+ label: n(t.label, c),
390
390
  value: d
391
391
  };
392
392
  })
393
393
  });
394
- if (t.kind === "metrics") return o.renderMetricGroup({
394
+ if (t.kind === "metrics") return s.renderMetricGroup({
395
395
  key: f,
396
396
  title: p,
397
397
  description: h,
398
398
  density: t.density,
399
399
  items: t.items.map((e) => {
400
- let t = e.formattedValue?.(r), n = a(e.value(r), c);
400
+ let t = e.formattedValue?.(i), a = r(e.value(i), c);
401
401
  return {
402
402
  id: e.id,
403
- label: i(e.label, c),
404
- value: t ?? n ?? l("common.notAvailable"),
405
- hint: a(e.hint?.(r), c),
406
- tone: e.tone?.(r),
407
- copyValue: e.copyValue?.(r) ?? void 0
403
+ label: n(e.label, c),
404
+ value: t ?? a ?? l("common.notAvailable"),
405
+ hint: r(e.hint?.(i), c),
406
+ tone: e.tone?.(i),
407
+ copyValue: e.copyValue?.(i) ?? void 0
408
408
  };
409
409
  })
410
410
  });
411
- if (t.kind === "states") return o.renderKeyValueListSection({
411
+ if (t.kind === "states") return s.renderKeyValueListSection({
412
412
  key: f,
413
413
  title: p,
414
414
  description: h,
415
415
  items: t.states.map((e) => {
416
- let t = e.getDisplay(e.value(r), r);
416
+ let t = e.getDisplay(e.value(i), i);
417
417
  return {
418
418
  id: e.id,
419
- label: i(e.label, c),
420
- value: o.renderTag(t.tone, String(a(t.label, c) ?? l("common.notAvailable")))
419
+ label: n(e.label, c),
420
+ value: s.renderTag(t.tone, String(r(t.label, c) ?? l("common.notAvailable")))
421
421
  };
422
422
  })
423
423
  });
424
- if (t.kind === "context") return o.renderContextStack({
424
+ if (t.kind === "context") return s.renderContextStack({
425
425
  key: f,
426
426
  title: p,
427
- items: t.items.map((e) => {
428
- let t = a(e.value(r), c), s = e.href?.(r);
427
+ items: t.items.map((t) => {
428
+ let a = r(t.value(i), c), o = t.href?.(i);
429
429
  return {
430
- id: e.id,
431
- label: i(e.label, c),
432
- value: s != null && s.trim() !== "" && !n(t) ? o.renderLink(s, t) : t
430
+ id: t.id,
431
+ label: n(t.label, c),
432
+ value: o != null && o.trim() !== "" && !e(a) ? s.renderLink(o, a) : a
433
433
  };
434
434
  })
435
435
  });
436
- if (t.kind === "relationSummary") return o.renderRelations({
436
+ if (t.kind === "relationSummary") return s.renderRelations({
437
437
  key: f,
438
438
  title: p,
439
439
  description: h,
440
440
  items: t.items.map((e) => ({
441
441
  id: e.id,
442
- label: i(e.label, c),
443
- count: e.count?.(r) ?? null,
444
- href: e.href?.(r) ?? void 0,
445
- description: a(e.description?.(r), c),
446
- tone: e.tone?.(r)
442
+ label: n(e.label, c),
443
+ count: e.count?.(i) ?? null,
444
+ href: e.href?.(i) ?? void 0,
445
+ description: r(e.description?.(i), c),
446
+ tone: e.tone?.(i)
447
447
  }))
448
448
  });
449
- if (t.kind === "timeline") return o.renderTimeline({
449
+ if (t.kind === "timeline") return s.renderTimeline({
450
450
  key: f,
451
451
  title: p,
452
452
  description: h,
453
453
  events: t.events.map((e) => {
454
- let t = e.state?.(r), n = t == null ? null : a(t.label, c), s = n == null ? null : String(n);
454
+ let t = e.state?.(i), a = t == null ? null : r(t.label, c), o = a == null ? null : String(a);
455
455
  return {
456
456
  id: e.id,
457
- label: s == null || s.trim() === "" ? i(e.label, c) : `${i(e.label, c)}: ${s}`,
458
- timestamp: e.timestamp == null ? void 0 : o.renderDate(e.timestamp(r), l("common.notAvailable")),
459
- description: a(e.description?.(r), c),
460
- actor: a(e.actor?.(r), c),
457
+ label: o == null || o.trim() === "" ? n(e.label, c) : `${n(e.label, c)}: ${o}`,
458
+ timestamp: e.timestamp == null ? void 0 : s.renderDate(e.timestamp(i), l("common.notAvailable")),
459
+ description: r(e.description?.(i), c),
460
+ actor: r(e.actor?.(i), c),
461
461
  tone: t?.tone,
462
- payload: m(e.payload?.(r))
462
+ payload: m(e.payload?.(i))
463
463
  };
464
464
  })
465
465
  });
466
- if (t.kind === "audit") return o.renderAuditTimeline({
466
+ if (t.kind === "audit") return s.renderAuditTimeline({
467
467
  key: f,
468
468
  title: p,
469
469
  description: h,
470
- events: t.items.map((e) => {
471
- let t = a(e.actor?.(r), c), s = a(e.source?.(r), c);
470
+ events: t.items.map((t) => {
471
+ let a = r(t.actor?.(i), c), o = r(t.source?.(i), c);
472
472
  return {
473
- id: e.id,
474
- title: i(e.label, c),
475
- time: o.renderDate(e.timestamp?.(r), l("common.notAvailable")),
476
- actor: n(t) ? void 0 : t,
477
- source: n(s) ? void 0 : s
473
+ id: t.id,
474
+ title: n(t.label, c),
475
+ time: s.renderDate(t.timestamp?.(i), l("common.notAvailable")),
476
+ actor: e(a) ? void 0 : a,
477
+ source: e(o) ? void 0 : o
478
478
  };
479
479
  })
480
480
  });
481
- if (t.kind === "references") return o.renderKeyValueListSection({
481
+ if (t.kind === "references") return s.renderKeyValueListSection({
482
482
  key: f,
483
483
  title: p,
484
484
  description: h,
485
485
  items: t.references.map((e) => {
486
- let t = e.href?.(r);
486
+ let t = e.href?.(i);
487
487
  return {
488
488
  id: e.id,
489
- label: i(e.label, c),
489
+ label: n(e.label, c),
490
490
  value: g({
491
- value: e.value(r),
491
+ value: e.value(i),
492
492
  href: t,
493
493
  refKind: e.refKind ?? "text",
494
- copyValue: e.copyValue?.(r) ?? void 0,
494
+ copyValue: e.copyValue?.(i) ?? void 0,
495
495
  tApp: c,
496
496
  t: l,
497
- renderLink: o.renderLink
497
+ renderLink: s.renderLink
498
498
  })
499
499
  };
500
500
  })
501
501
  });
502
502
  if (t.kind === "actionResult") {
503
- let e = [], s = t.status?.(r);
504
- s != null && e.push({
503
+ let a = [], o = t.status?.(i);
504
+ o != null && a.push({
505
505
  id: `${t.id}-status`,
506
506
  label: l("detail.actionResult.status"),
507
- value: o.renderTag(s.tone, String(a(s.label, c) ?? l("common.notAvailable")))
507
+ value: s.renderTag(o.tone, String(r(o.label, c) ?? l("common.notAvailable")))
508
508
  });
509
- let u = a(t.message?.(r), c);
510
- return n(u) || e.push({
509
+ let u = r(t.message?.(i), c);
510
+ return e(u) || a.push({
511
511
  id: `${t.id}-message`,
512
512
  label: l("detail.actionResult.message"),
513
513
  value: u
514
- }), t.references?.forEach((t) => {
515
- e.push({
516
- id: t.id,
517
- label: i(t.label, c),
514
+ }), t.references?.forEach((e) => {
515
+ a.push({
516
+ id: e.id,
517
+ label: n(e.label, c),
518
518
  value: g({
519
- value: t.value(r),
520
- href: t.href?.(r),
521
- refKind: t.refKind ?? "text",
522
- copyValue: t.copyValue?.(r) ?? void 0,
519
+ value: e.value(i),
520
+ href: e.href?.(i),
521
+ refKind: e.refKind ?? "text",
522
+ copyValue: e.copyValue?.(i) ?? void 0,
523
523
  tApp: c,
524
524
  t: l,
525
- renderLink: o.renderLink
525
+ renderLink: s.renderLink
526
526
  })
527
527
  });
528
- }), o.renderKeyValueListSection({
528
+ }), s.renderKeyValueListSection({
529
529
  key: f,
530
530
  title: p,
531
531
  description: h,
532
- items: e
532
+ items: a
533
533
  });
534
534
  }
535
- return t.kind === "technicalFacts" ? o.renderKeyValueListSection({
535
+ return t.kind === "technicalFacts" ? s.renderKeyValueListSection({
536
536
  key: f,
537
537
  title: p,
538
538
  description: h,
539
539
  items: t.facts.map((t) => {
540
- let u = a(t.value(r), c), d = t.href?.(r), f = t.copyValue?.(r) ?? void 0;
540
+ let u = r(t.value(i), c), d = t.href?.(i), f = t.copyValue?.(i) ?? void 0;
541
541
  return {
542
542
  id: t.id,
543
- label: i(t.label, c),
544
- value: f != null && f.trim() !== "" ? s(e, {
543
+ label: n(t.label, c),
544
+ value: f != null && f.trim() !== "" ? a(o, {
545
545
  value: u ?? f,
546
546
  copyValue: f,
547
- variant: "external",
547
+ abbreviation: "middle",
548
548
  copyLabel: l("common.actions.copy")
549
- }) : d != null && d.trim() !== "" && !n(u) ? o.renderLink(d, u) : u ?? l("common.notAvailable")
549
+ }) : d != null && d.trim() !== "" && !e(u) ? s.renderLink(d, u) : u ?? l("common.notAvailable")
550
550
  };
551
551
  })
552
- }) : t.kind === "table" ? o.renderTable({
552
+ }) : t.kind === "table" ? s.renderTable({
553
553
  key: f,
554
554
  title: p,
555
555
  description: h,
556
- columns: o.resolveTableColumns(t.columns),
557
- rows: t.rows(r)
558
- }) : o.renderPayload({
556
+ columns: s.resolveTableColumns(t.columns),
557
+ rows: t.rows(i)
558
+ }) : s.renderPayload({
559
559
  key: f,
560
560
  title: p,
561
561
  description: h,
562
- content: t.value(r),
562
+ content: t.value(i),
563
563
  format: t.format ?? "json"
564
564
  });
565
565
  });