@plumile/ui 0.1.134 → 0.1.142

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 (570) hide show
  1. package/README.md +129 -15
  2. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +4 -4
  3. package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +0 -2
  4. package/lib/esm/admin/organisms/admin_topbar/adminTopbar.css.js +1 -0
  5. package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js +2 -2
  6. package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js.map +1 -1
  7. package/lib/esm/atomic/atoms/badge/Badge.js.map +1 -1
  8. package/lib/esm/atomic/atoms/error_message/ErrorMessage.js +9 -8
  9. package/lib/esm/atomic/atoms/error_message/ErrorMessage.js.map +1 -1
  10. package/lib/esm/atomic/atoms/error_message/errorMessage.css.js +1 -0
  11. package/lib/esm/atomic/molecules/card/Card.js +17 -19
  12. package/lib/esm/atomic/molecules/card/Card.js.map +1 -1
  13. package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js +80 -2
  14. package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js.map +1 -1
  15. package/lib/esm/atomic/molecules/empty-state/EmptyState.js +50 -28
  16. package/lib/esm/atomic/molecules/empty-state/EmptyState.js.map +1 -1
  17. package/lib/esm/atomic/molecules/form_error/FormError.js +29 -19
  18. package/lib/esm/atomic/molecules/form_error/FormError.js.map +1 -1
  19. package/lib/esm/atomic/molecules/form_error/formError.css.js +1 -1
  20. package/lib/esm/atomic/molecules/form_error/formError.css.js.map +1 -1
  21. package/lib/esm/atomic/molecules/markdown/components/MarkdownDelete.css.js +0 -1
  22. package/lib/esm/atomic/molecules/markdown/components/MarkdownHeading.css.js +1 -0
  23. package/lib/esm/atomic/molecules/tabs/Tabs.js +82 -28
  24. package/lib/esm/atomic/molecules/tabs/Tabs.js.map +1 -1
  25. package/lib/esm/atomic/molecules/tabs/tabs.css.js +50 -8
  26. package/lib/esm/atomic/molecules/tabs/tabs.css.js.map +1 -1
  27. package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js +48 -48
  28. package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js.map +1 -1
  29. package/lib/esm/backoffice/atoms/status_badge/StatusBadge.js.map +1 -1
  30. package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js +38 -0
  31. package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js.map +1 -0
  32. package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js +35 -0
  33. package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js.map +1 -0
  34. package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js +16 -0
  35. package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js.map +1 -0
  36. package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js +25 -0
  37. package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js.map +1 -0
  38. package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js +8 -0
  39. package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js.map +1 -0
  40. package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js +37 -0
  41. package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js.map +1 -0
  42. package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js +8 -0
  43. package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js.map +1 -0
  44. package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js +19 -0
  45. package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js.map +1 -0
  46. package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js +8 -0
  47. package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js.map +1 -0
  48. package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js +15 -32
  49. package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js.map +1 -1
  50. package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js +11 -0
  51. package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js.map +1 -0
  52. package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js +17 -18
  53. package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js.map +1 -1
  54. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js +12 -0
  55. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js.map +1 -0
  56. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +15 -20
  57. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js.map +1 -1
  58. package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js +23 -16
  59. package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js.map +1 -1
  60. package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js +2 -2
  61. package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js.map +1 -1
  62. package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js +11 -0
  63. package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js.map +1 -0
  64. package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js +55 -0
  65. package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js.map +1 -0
  66. package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js +8 -0
  67. package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js.map +1 -0
  68. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js +15 -0
  69. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js.map +1 -0
  70. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js +63 -0
  71. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js.map +1 -0
  72. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js +8 -0
  73. package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js.map +1 -0
  74. package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js +76 -0
  75. package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js.map +1 -0
  76. package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js +8 -0
  77. package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js.map +1 -0
  78. package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js +23 -0
  79. package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js.map +1 -0
  80. package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js +8 -0
  81. package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js.map +1 -0
  82. package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js +18 -0
  83. package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js.map +1 -0
  84. package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js +8 -0
  85. package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js.map +1 -0
  86. package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js +28 -0
  87. package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js.map +1 -0
  88. package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js +8 -0
  89. package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js.map +1 -0
  90. package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js +60 -0
  91. package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js.map +1 -0
  92. package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js +14 -0
  93. package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js.map +1 -0
  94. package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js +1 -1
  95. package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js.map +1 -1
  96. package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js +3 -3
  97. package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js.map +1 -1
  98. package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js +4 -4
  99. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js +1 -1
  100. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js.map +1 -1
  101. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +60 -60
  102. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
  103. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +2 -2
  104. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -1
  105. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +96 -96
  106. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -1
  107. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +2 -2
  108. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -1
  109. package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js +52 -52
  110. package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js.map +1 -1
  111. package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js +6 -6
  112. package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js.map +1 -1
  113. package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js +69 -34
  114. package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js.map +1 -1
  115. package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js +22 -2
  116. package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js.map +1 -1
  117. package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js +4 -4
  118. package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js.map +1 -1
  119. package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js +70 -40
  120. package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js.map +1 -1
  121. package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js +66 -3
  122. package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js.map +1 -1
  123. package/lib/esm/components/dashboard/activity_card/ActivityCard.js +4 -4
  124. package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js +9 -0
  125. package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js.map +1 -0
  126. package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js +30 -0
  127. package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js.map +1 -0
  128. package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js +8 -0
  129. package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js.map +1 -0
  130. package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js +16 -0
  131. package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js.map +1 -0
  132. package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js +8 -0
  133. package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js.map +1 -0
  134. package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js +27 -0
  135. package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js.map +1 -0
  136. package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js +8 -0
  137. package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js.map +1 -0
  138. package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js +28 -0
  139. package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js.map +1 -0
  140. package/lib/esm/components/dashboard/metric_card/MetricCard.css.js +30 -2
  141. package/lib/esm/components/dashboard/metric_card/MetricCard.css.js.map +1 -1
  142. package/lib/esm/components/dashboard/metric_card/MetricCard.js +40 -26
  143. package/lib/esm/components/dashboard/metric_card/MetricCard.js.map +1 -1
  144. package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js +23 -2
  145. package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js.map +1 -1
  146. package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js +16 -4
  147. package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js.map +1 -1
  148. package/lib/esm/components/dashboard/status_summary_panel/StatusSummaryPanel.js +4 -4
  149. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js +14 -2
  150. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js.map +1 -1
  151. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js +46 -25
  152. package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js.map +1 -1
  153. package/lib/esm/components/data-table/DataTable.css.js +19 -19
  154. package/lib/esm/components/data-table/DataTable.css.js.map +1 -1
  155. package/lib/esm/components/data-table/DataTable.js +142 -76
  156. package/lib/esm/components/data-table/DataTable.js.map +1 -1
  157. package/lib/esm/components/data-table/ResponsiveRecordList.js.map +1 -1
  158. package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js +2 -2
  159. package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js.map +1 -1
  160. package/lib/esm/components/data-table/VirtualizedConnectionTable.js +177 -170
  161. package/lib/esm/components/data-table/VirtualizedConnectionTable.js.map +1 -1
  162. package/lib/esm/components/feedback/InlineBanner.js +49 -0
  163. package/lib/esm/components/feedback/InlineBanner.js.map +1 -0
  164. package/lib/esm/components/feedback/OperationFeedback.css.js +2 -2
  165. package/lib/esm/components/feedback/OperationFeedback.css.js.map +1 -1
  166. package/lib/esm/components/feedback/OperationFeedback.js +20 -24
  167. package/lib/esm/components/feedback/OperationFeedback.js.map +1 -1
  168. package/lib/esm/components/feedback/inlineBanner.css.js +19 -0
  169. package/lib/esm/components/feedback/inlineBanner.css.js.map +1 -0
  170. package/lib/esm/components/infinite/InfiniteScrollTrigger.js +31 -23
  171. package/lib/esm/components/infinite/InfiniteScrollTrigger.js.map +1 -1
  172. package/lib/esm/components/layout/ActionPanel.css.js +2 -2
  173. package/lib/esm/components/layout/ActionPanel.css.js.map +1 -1
  174. package/lib/esm/components/layout/ActionPanel.js +29 -35
  175. package/lib/esm/components/layout/ActionPanel.js.map +1 -1
  176. package/lib/esm/components/layout/PageShell.css.js +2 -20
  177. package/lib/esm/components/layout/PageShell.css.js.map +1 -1
  178. package/lib/esm/components/layout/PageShell.js +155 -279
  179. package/lib/esm/components/layout/PageShell.js.map +1 -1
  180. package/lib/esm/components/layout/ResizableSplitView.css.js +8 -0
  181. package/lib/esm/components/layout/ResizableSplitView.css.js.map +1 -0
  182. package/lib/esm/components/layout/ResizableSplitView.js +176 -0
  183. package/lib/esm/components/layout/ResizableSplitView.js.map +1 -0
  184. package/lib/esm/components/layout/Surface.css.js +41 -0
  185. package/lib/esm/components/layout/Surface.css.js.map +1 -0
  186. package/lib/esm/components/layout/Surface.js +61 -0
  187. package/lib/esm/components/layout/Surface.js.map +1 -0
  188. package/lib/esm/components/layout/toolbar/Toolbar.css.js +64 -0
  189. package/lib/esm/components/layout/toolbar/Toolbar.css.js.map +1 -0
  190. package/lib/esm/components/layout/toolbar/Toolbar.js +36 -0
  191. package/lib/esm/components/layout/toolbar/Toolbar.js.map +1 -0
  192. package/lib/esm/components/navigation/sidebar/SidebarNavigation.js +89 -0
  193. package/lib/esm/components/navigation/sidebar/SidebarNavigation.js.map +1 -0
  194. package/lib/esm/components/navigation/sidebar/SidebarNavigationItem.js +2 -0
  195. package/lib/esm/components/navigation/sidebar/SidebarNavigationSection.js +2 -0
  196. package/lib/esm/components/navigation/sidebar/SidebarProfileMenu.js +2 -0
  197. package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js +48 -0
  198. package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js.map +1 -0
  199. package/lib/esm/components/subscriptions/RefetchNeededBanner.js +16 -23
  200. package/lib/esm/components/subscriptions/RefetchNeededBanner.js.map +1 -1
  201. package/lib/esm/i18n/locales/en/ui.js +16 -5
  202. package/lib/esm/i18n/locales/en/ui.js.map +1 -1
  203. package/lib/esm/i18n/locales/fr/ui.js +16 -5
  204. package/lib/esm/i18n/locales/fr/ui.js.map +1 -1
  205. package/lib/esm/index.js +237 -233
  206. package/lib/esm/internal/data-table/virtualization.js +1 -1
  207. package/lib/esm/internal/data-table/virtualization.js.map +1 -1
  208. package/lib/esm/internal/infinite/infiniteLoad.js +23 -0
  209. package/lib/esm/internal/infinite/infiniteLoad.js.map +1 -0
  210. package/lib/esm/node_modules/dompurify/dist/purify.es.js +290 -246
  211. package/lib/esm/node_modules/dompurify/dist/purify.es.js.map +1 -1
  212. package/lib/esm/node_modules/katex/dist/katex.js +1561 -1599
  213. package/lib/esm/node_modules/katex/dist/katex.js.map +1 -1
  214. package/lib/esm/style.css +1 -1
  215. package/lib/esm/theme/backofficeTheme.css.js +100 -0
  216. package/lib/esm/theme/backofficeTheme.css.js.map +1 -1
  217. package/lib/esm/theme/publicTheme.css.js +100 -0
  218. package/lib/esm/theme/publicTheme.css.js.map +1 -1
  219. package/lib/esm/theme/theme.css.js +200 -0
  220. package/lib/esm/theme/themeContract.css.js +359 -309
  221. package/lib/esm/theme/themeContract.css.js.map +1 -1
  222. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts +4 -4
  223. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts.map +1 -1
  224. package/lib/types/atomic/atoms/badge/Badge.d.ts +3 -3
  225. package/lib/types/atomic/atoms/badge/Badge.d.ts.map +1 -1
  226. package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts +1 -1
  227. package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts.map +1 -1
  228. package/lib/types/atomic/molecules/card/Card.d.ts.map +1 -1
  229. package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts +56 -5
  230. package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts.map +1 -1
  231. package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts +14 -4
  232. package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts.map +1 -1
  233. package/lib/types/atomic/molecules/form_error/FormError.d.ts +5 -2
  234. package/lib/types/atomic/molecules/form_error/FormError.d.ts.map +1 -1
  235. package/lib/types/atomic/molecules/form_error/formError.css.d.ts.map +1 -1
  236. package/lib/types/atomic/molecules/tabs/Tabs.d.ts +16 -7
  237. package/lib/types/atomic/molecules/tabs/Tabs.d.ts.map +1 -1
  238. package/lib/types/atomic/molecules/tabs/tabs.css.d.ts +21 -2
  239. package/lib/types/atomic/molecules/tabs/tabs.css.d.ts.map +1 -1
  240. package/lib/types/backoffice/atoms/status_badge/StatusBadge.d.ts.map +1 -1
  241. package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts +21 -0
  242. package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts.map +1 -0
  243. package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts +17 -0
  244. package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts.map +1 -0
  245. package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts +14 -0
  246. package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts.map +1 -0
  247. package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts +11 -0
  248. package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts.map +1 -0
  249. package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts +4 -0
  250. package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts.map +1 -0
  251. package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts +12 -0
  252. package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts.map +1 -0
  253. package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts +6 -0
  254. package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts.map +1 -0
  255. package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts +13 -0
  256. package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts.map +1 -0
  257. package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts +3 -0
  258. package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts.map +1 -0
  259. package/lib/types/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.d.ts.map +1 -1
  260. package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts +9 -0
  261. package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts.map +1 -0
  262. package/lib/types/backoffice/molecules/backoffice_form_section/BackofficeFormSection.d.ts.map +1 -1
  263. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +0 -3
  264. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -1
  265. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts +5 -0
  266. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts.map +1 -0
  267. package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts +8 -2
  268. package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts.map +1 -1
  269. package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts +3 -0
  270. package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts.map +1 -1
  271. package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts +23 -0
  272. package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts.map +1 -0
  273. package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts +25 -0
  274. package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts.map +1 -0
  275. package/lib/types/backoffice/molecules/{backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts → backoffice_list_footer/backofficeListFooter.css.d.ts} +3 -2
  276. package/lib/types/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.d.ts.map +1 -0
  277. package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts +26 -0
  278. package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts.map +1 -0
  279. package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts +7 -0
  280. package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts.map +1 -0
  281. package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts +6 -0
  282. package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts.map +1 -0
  283. package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts +35 -0
  284. package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts.map +1 -0
  285. package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts +9 -0
  286. package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts.map +1 -0
  287. package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts +10 -0
  288. package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts.map +1 -0
  289. package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts +3 -0
  290. package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts.map +1 -0
  291. package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts +15 -0
  292. package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts.map +1 -0
  293. package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts +8 -0
  294. package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts.map +1 -0
  295. package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts +14 -0
  296. package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts.map +1 -0
  297. package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts +2 -0
  298. package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts.map +1 -0
  299. package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts +22 -0
  300. package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts.map +1 -0
  301. package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts +18 -0
  302. package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts.map +1 -0
  303. package/lib/types/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.d.ts.map +1 -1
  304. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts.map +1 -1
  305. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
  306. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +1 -0
  307. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
  308. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
  309. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +2 -0
  310. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
  311. package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts.map +1 -1
  312. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts +8 -0
  313. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts.map +1 -1
  314. package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts +20 -2
  315. package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts.map +1 -1
  316. package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts +32 -2
  317. package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts.map +1 -1
  318. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts +2 -2
  319. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts.map +1 -1
  320. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts +12 -1
  321. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts.map +1 -1
  322. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts +25 -4
  323. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts.map +1 -1
  324. package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts +4 -0
  325. package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts.map +1 -0
  326. package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts +19 -0
  327. package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts.map +1 -0
  328. package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts +2 -0
  329. package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts.map +1 -0
  330. package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts +11 -0
  331. package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts.map +1 -0
  332. package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts +5 -0
  333. package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts.map +1 -0
  334. package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts +14 -0
  335. package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts.map +1 -0
  336. package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts +6 -0
  337. package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts.map +1 -0
  338. package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts +14 -0
  339. package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts.map +1 -0
  340. package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts +38 -1
  341. package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts.map +1 -1
  342. package/lib/types/components/dashboard/metric_card/MetricCard.d.ts +7 -1
  343. package/lib/types/components/dashboard/metric_card/MetricCard.d.ts.map +1 -1
  344. package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts +17 -1
  345. package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts.map +1 -1
  346. package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts +4 -1
  347. package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts.map +1 -1
  348. package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts +31 -2
  349. package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts.map +1 -1
  350. package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts +8 -3
  351. package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts.map +1 -1
  352. package/lib/types/components/data-table/DataTable.css.d.ts +1 -0
  353. package/lib/types/components/data-table/DataTable.css.d.ts.map +1 -1
  354. package/lib/types/components/data-table/DataTable.d.ts +54 -3
  355. package/lib/types/components/data-table/DataTable.d.ts.map +1 -1
  356. package/lib/types/components/data-table/ResponsiveRecordList.d.ts +1 -4
  357. package/lib/types/components/data-table/ResponsiveRecordList.d.ts.map +1 -1
  358. package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts +0 -1
  359. package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts.map +1 -1
  360. package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts +11 -5
  361. package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts.map +1 -1
  362. package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/InlineBanner.d.ts +4 -2
  363. package/lib/types/components/feedback/InlineBanner.d.ts.map +1 -0
  364. package/lib/types/components/feedback/OperationFeedback.css.d.ts +0 -1
  365. package/lib/types/components/feedback/OperationFeedback.css.d.ts.map +1 -1
  366. package/lib/types/components/feedback/OperationFeedback.d.ts.map +1 -1
  367. package/lib/types/components/feedback/inlineBanner.css.d.ts.map +1 -0
  368. package/lib/types/components/infinite/InfiniteScrollTrigger.d.ts.map +1 -1
  369. package/lib/types/components/layout/ActionPanel.css.d.ts +1 -0
  370. package/lib/types/components/layout/ActionPanel.css.d.ts.map +1 -1
  371. package/lib/types/components/layout/ActionPanel.d.ts.map +1 -1
  372. package/lib/types/components/layout/PageShell.css.d.ts +1 -14
  373. package/lib/types/components/layout/PageShell.css.d.ts.map +1 -1
  374. package/lib/types/components/layout/PageShell.d.ts +1 -3
  375. package/lib/types/components/layout/PageShell.d.ts.map +1 -1
  376. package/lib/types/components/layout/ResizableSplitView.css.d.ts +8 -0
  377. package/lib/types/components/layout/ResizableSplitView.css.d.ts.map +1 -0
  378. package/lib/types/components/layout/ResizableSplitView.d.ts +27 -0
  379. package/lib/types/components/layout/ResizableSplitView.d.ts.map +1 -0
  380. package/lib/types/components/layout/Surface.css.d.ts +31 -0
  381. package/lib/types/components/layout/Surface.css.d.ts.map +1 -0
  382. package/lib/types/components/layout/Surface.d.ts +30 -0
  383. package/lib/types/components/layout/Surface.d.ts.map +1 -0
  384. package/lib/types/components/layout/toolbar/Toolbar.css.d.ts +40 -0
  385. package/lib/types/components/layout/toolbar/Toolbar.css.d.ts.map +1 -0
  386. package/lib/types/components/layout/toolbar/Toolbar.d.ts +35 -0
  387. package/lib/types/components/layout/toolbar/Toolbar.d.ts.map +1 -0
  388. package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts +57 -0
  389. package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts.map +1 -0
  390. package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts +2 -0
  391. package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts.map +1 -0
  392. package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts +2 -0
  393. package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts.map +1 -0
  394. package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts +2 -0
  395. package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts.map +1 -0
  396. package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts +19 -0
  397. package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts.map +1 -0
  398. package/lib/types/components/subscriptions/RefetchNeededBanner.d.ts.map +1 -1
  399. package/lib/types/i18n/resources.d.ts +32 -14
  400. package/lib/types/i18n/resources.d.ts.map +1 -1
  401. package/lib/types/index.d.ts +33 -33
  402. package/lib/types/index.d.ts.map +1 -1
  403. package/lib/types/internal/data-table/virtualization.d.ts +2 -2
  404. package/lib/types/internal/data-table/virtualization.d.ts.map +1 -1
  405. package/lib/types/internal/infinite/infiniteLoad.d.ts +27 -0
  406. package/lib/types/internal/infinite/infiniteLoad.d.ts.map +1 -0
  407. package/lib/types/theme/backofficeTheme.css.d.ts +100 -0
  408. package/lib/types/theme/backofficeTheme.css.d.ts.map +1 -1
  409. package/lib/types/theme/publicTheme.css.d.ts +100 -0
  410. package/lib/types/theme/publicTheme.css.d.ts.map +1 -1
  411. package/lib/types/theme/sprinkles.css.d.ts +2 -2
  412. package/lib/types/theme/themeContract.css.d.ts +50 -0
  413. package/lib/types/theme/themeContract.css.d.ts.map +1 -1
  414. package/package.json +3 -3
  415. package/src/i18n/locales/en/ui.json +16 -7
  416. package/src/i18n/locales/fr/ui.json +16 -7
  417. package/lib/esm/atomic/molecules/card/Card.css.js +0 -8
  418. package/lib/esm/atomic/molecules/card/Card.css.js.map +0 -1
  419. package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js +0 -8
  420. package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js.map +0 -1
  421. package/lib/esm/atomic/molecules/form/FormErrorBanner.js +0 -17
  422. package/lib/esm/atomic/molecules/form/FormErrorBanner.js.map +0 -1
  423. package/lib/esm/atomic/templates/detail-page/DetailPage.js +0 -49
  424. package/lib/esm/atomic/templates/detail-page/DetailPage.js.map +0 -1
  425. package/lib/esm/atomic/templates/detail-page/detailPage.css.js +0 -8
  426. package/lib/esm/atomic/templates/detail-page/detailPage.css.js.map +0 -1
  427. package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js +0 -33
  428. package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js.map +0 -1
  429. package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js +0 -8
  430. package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js.map +0 -1
  431. package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js +0 -8
  432. package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js.map +0 -1
  433. package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js +0 -36
  434. package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js.map +0 -1
  435. package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js +0 -8
  436. package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js.map +0 -1
  437. package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js +0 -8
  438. package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js.map +0 -1
  439. package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js +0 -37
  440. package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js.map +0 -1
  441. package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js +0 -8
  442. package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js.map +0 -1
  443. package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js +0 -35
  444. package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js.map +0 -1
  445. package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js +0 -8
  446. package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js.map +0 -1
  447. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js +0 -41
  448. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js.map +0 -1
  449. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js +0 -8
  450. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js.map +0 -1
  451. package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js +0 -46
  452. package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js.map +0 -1
  453. package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js +0 -17
  454. package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js.map +0 -1
  455. package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js +0 -46
  456. package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js.map +0 -1
  457. package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js +0 -19
  458. package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js.map +0 -1
  459. package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js +0 -41
  460. package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js.map +0 -1
  461. package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js +0 -8
  462. package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js.map +0 -1
  463. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js +0 -26
  464. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js.map +0 -1
  465. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js +0 -8
  466. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js.map +0 -1
  467. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js +0 -18
  468. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js.map +0 -1
  469. package/lib/esm/components/dashboard/section_nav/SectionNav.css.js +0 -8
  470. package/lib/esm/components/dashboard/section_nav/SectionNav.css.js.map +0 -1
  471. package/lib/esm/components/dashboard/section_nav/SectionNav.js +0 -25
  472. package/lib/esm/components/dashboard/section_nav/SectionNav.js.map +0 -1
  473. package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js +0 -8
  474. package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js.map +0 -1
  475. package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js +0 -24
  476. package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js.map +0 -1
  477. package/lib/esm/components/layout/AppShell.js +0 -19
  478. package/lib/esm/components/layout/AppShell.js.map +0 -1
  479. package/lib/esm/components/layout/SidebarPageLayout.js +0 -16
  480. package/lib/esm/components/layout/SidebarPageLayout.js.map +0 -1
  481. package/lib/esm/components/layout/SplitViewLayout.css.js +0 -8
  482. package/lib/esm/components/layout/SplitViewLayout.css.js.map +0 -1
  483. package/lib/esm/components/layout/SplitViewLayout.js +0 -18
  484. package/lib/esm/components/layout/SplitViewLayout.js.map +0 -1
  485. package/lib/esm/components/layout/TabsContentLayout.css.js +0 -8
  486. package/lib/esm/components/layout/TabsContentLayout.css.js.map +0 -1
  487. package/lib/esm/components/layout/TabsContentLayout.js +0 -31
  488. package/lib/esm/components/layout/TabsContentLayout.js.map +0 -1
  489. package/lib/esm/components/layout/ToolbarRow.css.js +0 -8
  490. package/lib/esm/components/layout/ToolbarRow.css.js.map +0 -1
  491. package/lib/esm/components/layout/ToolbarRow.js +0 -12
  492. package/lib/esm/components/layout/ToolbarRow.js.map +0 -1
  493. package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js +0 -8
  494. package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js.map +0 -1
  495. package/lib/types/atomic/molecules/card/Card.css.d.ts +0 -5
  496. package/lib/types/atomic/molecules/card/Card.css.d.ts.map +0 -1
  497. package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts +0 -2
  498. package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts.map +0 -1
  499. package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts +0 -7
  500. package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts.map +0 -1
  501. package/lib/types/atomic/templates/detail-page/DetailPage.d.ts +0 -19
  502. package/lib/types/atomic/templates/detail-page/DetailPage.d.ts.map +0 -1
  503. package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts +0 -9
  504. package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts.map +0 -1
  505. package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts +0 -10
  506. package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts.map +0 -1
  507. package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts +0 -7
  508. package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts.map +0 -1
  509. package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts +0 -6
  510. package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts.map +0 -1
  511. package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts +0 -13
  512. package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts.map +0 -1
  513. package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts +0 -6
  514. package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts.map +0 -1
  515. package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts +0 -5
  516. package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts.map +0 -1
  517. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts +0 -16
  518. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts.map +0 -1
  519. package/lib/types/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts.map +0 -1
  520. package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts +0 -13
  521. package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts.map +0 -1
  522. package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts +0 -5
  523. package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts.map +0 -1
  524. package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts +0 -16
  525. package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts.map +0 -1
  526. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts +0 -10
  527. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts.map +0 -1
  528. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts +0 -19
  529. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts.map +0 -1
  530. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts +0 -15
  531. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts.map +0 -1
  532. package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts.map +0 -1
  533. package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts.map +0 -1
  534. package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts +0 -13
  535. package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts.map +0 -1
  536. package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts +0 -6
  537. package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts.map +0 -1
  538. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts +0 -31
  539. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +0 -1
  540. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts +0 -5
  541. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts.map +0 -1
  542. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts +0 -5
  543. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts.map +0 -1
  544. package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts +0 -4
  545. package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts.map +0 -1
  546. package/lib/types/components/dashboard/section_nav/SectionNav.d.ts +0 -15
  547. package/lib/types/components/dashboard/section_nav/SectionNav.d.ts.map +0 -1
  548. package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts +0 -4
  549. package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts.map +0 -1
  550. package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts +0 -15
  551. package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts.map +0 -1
  552. package/lib/types/components/layout/AppShell.d.ts +0 -17
  553. package/lib/types/components/layout/AppShell.d.ts.map +0 -1
  554. package/lib/types/components/layout/SidebarPageLayout.d.ts +0 -15
  555. package/lib/types/components/layout/SidebarPageLayout.d.ts.map +0 -1
  556. package/lib/types/components/layout/SplitViewLayout.css.d.ts +0 -3
  557. package/lib/types/components/layout/SplitViewLayout.css.d.ts.map +0 -1
  558. package/lib/types/components/layout/SplitViewLayout.d.ts +0 -11
  559. package/lib/types/components/layout/SplitViewLayout.d.ts.map +0 -1
  560. package/lib/types/components/layout/TabsContentLayout.css.d.ts +0 -6
  561. package/lib/types/components/layout/TabsContentLayout.css.d.ts.map +0 -1
  562. package/lib/types/components/layout/TabsContentLayout.d.ts +0 -9
  563. package/lib/types/components/layout/TabsContentLayout.d.ts.map +0 -1
  564. package/lib/types/components/layout/ToolbarRow.css.d.ts +0 -2
  565. package/lib/types/components/layout/ToolbarRow.css.d.ts.map +0 -1
  566. package/lib/types/components/layout/ToolbarRow.d.ts +0 -8
  567. package/lib/types/components/layout/ToolbarRow.d.ts.map +0 -1
  568. package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts +0 -5
  569. package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts.map +0 -1
  570. /package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/inlineBanner.css.d.ts +0 -0
@@ -0,0 +1,38 @@
1
+ import { BackofficeKeyValueList as e } from "../backoffice_key_value_list/BackofficeKeyValueList.js";
2
+ import { BackofficeDetailSection as t } from "../backoffice_detail_section/BackofficeDetailSection.js";
3
+ import { BackofficeReferenceValue as n } from "../backoffice_reference_value/BackofficeReferenceValue.js";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.tsx
6
+ var o = ({ className: o, emptyLabel: s, items: c, title: l }) => c.length === 0 ? null : /* @__PURE__ */ i(t, {
7
+ title: l,
8
+ className: o,
9
+ children: /* @__PURE__ */ i(e, {
10
+ items: c.map((e) => {
11
+ let t = null;
12
+ e.actor != null && (t = /* @__PURE__ */ i(n, {
13
+ kind: e.actor.kind,
14
+ value: e.actor.label,
15
+ emptyLabel: s
16
+ }));
17
+ let o = null;
18
+ e.at != null && t != null && (o = " ");
19
+ let c = null;
20
+ return (e.at != null || t != null) && (c = /* @__PURE__ */ a(r, { children: [
21
+ e.at,
22
+ o,
23
+ t
24
+ ] })), {
25
+ id: e.id,
26
+ label: e.label,
27
+ value: c
28
+ };
29
+ }),
30
+ emptyLabel: s,
31
+ variant: "plain",
32
+ layout: "grid"
33
+ })
34
+ });
35
+ //#endregion
36
+ export { o as BackofficeAuditMetadataPanel, o as default };
37
+
38
+ //# sourceMappingURL=BackofficeAuditMetadataPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeAuditMetadataPanel.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { BackofficeDetailSection } from '../backoffice_detail_section/BackofficeDetailSection.js';\nimport { BackofficeKeyValueList } from '../backoffice_key_value_list/BackofficeKeyValueList.js';\nimport { BackofficeReferenceValue } from '../backoffice_reference_value/BackofficeReferenceValue.js';\n\nexport type BackofficeAuditActor = {\n readonly kind: string;\n readonly label: ReactNode | null | undefined;\n readonly href?: string;\n};\n\nexport type BackofficeAuditMetadataItem = {\n readonly id: string;\n readonly label: ReactNode;\n readonly at?: ReactNode | null;\n readonly actor?: BackofficeAuditActor | null;\n};\n\nexport type BackofficeAuditMetadataPanelProps = {\n readonly title: string;\n readonly items: readonly BackofficeAuditMetadataItem[];\n readonly emptyLabel?: string;\n readonly className?: string;\n};\n\nexport const BackofficeAuditMetadataPanel = ({\n className,\n emptyLabel,\n items,\n title,\n}: BackofficeAuditMetadataPanelProps): JSX.Element | null => {\n if (items.length === 0) {\n return null;\n }\n\n return (\n <BackofficeDetailSection title={title} className={className}>\n <BackofficeKeyValueList\n items={items.map((item) => {\n let actorNode: ReactNode = null;\n if (item.actor != null) {\n actorNode = (\n <BackofficeReferenceValue\n kind={item.actor.kind}\n value={item.actor.label}\n emptyLabel={emptyLabel}\n />\n );\n }\n\n let separator: ReactNode = null;\n if (item.at != null && actorNode != null) {\n separator = ' ';\n }\n\n let value: ReactNode = null;\n if (item.at != null || actorNode != null) {\n value = (\n <>\n {item.at}\n {separator}\n {actorNode}\n </>\n );\n }\n\n return {\n id: item.id,\n label: item.label,\n value,\n };\n })}\n emptyLabel={emptyLabel}\n variant=\"plain\"\n layout=\"grid\"\n />\n </BackofficeDetailSection>\n );\n};\n\nexport default BackofficeAuditMetadataPanel;\n"],"mappings":";;;;;AA0BA,IAAa,KAAgC,EAC3C,cACA,eACA,UACA,eAEI,EAAM,WAAW,IACZ,OAIP,kBAAC,GAAD;CAAgC;CAAkB;WAChD,kBAAC,GAAD;EACE,OAAO,EAAM,KAAK,MAAS;GACzB,IAAI,IAAuB;GAC3B,AAAI,EAAK,SAAS,SAChB,IACE,kBAAC,GAAD;IACE,MAAM,EAAK,MAAM;IACjB,OAAO,EAAK,MAAM;IACN;IACZ,CAAA;GAIN,IAAI,IAAuB;GAC3B,AAAI,EAAK,MAAM,QAAQ,KAAa,SAClC,IAAY;GAGd,IAAI,IAAmB;GAWvB,QAVI,EAAK,MAAM,QAAQ,KAAa,UAClC,IACE,kBAAA,GAAA,EAAA,UAAA;IACG,EAAK;IACL;IACA;IACA,EAAA,CAAA,GAIA;IACL,IAAI,EAAK;IACT,OAAO,EAAK;IACZ;IACD;IACD;EACU;EACZ,SAAQ;EACR,QAAO;EACP,CAAA;CACsB,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { useUiTranslation as t } from "../../../i18n/useUiTranslation.js";
3
+ import { CopyableText as n } from "../../atoms/copyable_text/CopyableText.js";
4
+ import { field as r, fullWidth as i, label as a, size as o, value as s } from "./backofficeDetailField.css.js";
5
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
+ //#region src/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.tsx
7
+ var u = ({ className: u, copiedLabel: d, copyLabel: f, copyValue: p, emptyLabel: m, fullWidth: h = !1, label: g, size: _, value: v }) => {
8
+ let { t: y } = t(), b = v;
9
+ (b == null || typeof b == "string" && b.trim() === "") && (b = m ?? y("common.notAvailable", { defaultValue: "N/A" })), p != null && p !== "" && (b = /* @__PURE__ */ c(n, {
10
+ value: p,
11
+ copyValue: p,
12
+ truncate: !1,
13
+ copyLabel: f ?? y("common.actions.copy", { defaultValue: "Copy" }),
14
+ copiedLabel: d ?? y("common.actions.copied", { defaultValue: "Copied" })
15
+ }));
16
+ let x = [
17
+ r,
18
+ o[_],
19
+ u
20
+ ];
21
+ return h && x.push(i), /* @__PURE__ */ l("div", {
22
+ className: e(...x),
23
+ children: [/* @__PURE__ */ c("span", {
24
+ className: a,
25
+ children: g
26
+ }), /* @__PURE__ */ c("div", {
27
+ className: s,
28
+ children: b
29
+ })]
30
+ });
31
+ };
32
+ //#endregion
33
+ export { u as BackofficeDetailField, u as default };
34
+
35
+ //# sourceMappingURL=BackofficeDetailField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeDetailField.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { useUiTranslation } from '../../../i18n/useUiTranslation.js';\nimport { cx } from '../../../theme/tools.js';\nimport { CopyableText } from '../../atoms/copyable_text/CopyableText.js';\n\nimport * as styles from './backofficeDetailField.css.js';\n\nexport type BackofficeDetailFieldSize =\n | 'xs'\n | 's'\n | 'statusAction'\n | 'm'\n | 'l'\n | 'xl'\n | 'fluid';\n\nexport type BackofficeDetailFieldProps = {\n id: string;\n label: string;\n size: BackofficeDetailFieldSize;\n value: ReactNode | null | undefined;\n copyValue?: string;\n fullWidth?: boolean;\n emptyLabel?: string;\n copyLabel?: string;\n copiedLabel?: string;\n className?: string;\n};\n\nexport const BackofficeDetailField = ({\n className,\n copiedLabel,\n copyLabel,\n copyValue,\n emptyLabel,\n fullWidth = false,\n label,\n size,\n value,\n}: BackofficeDetailFieldProps): JSX.Element => {\n const { t } = useUiTranslation();\n let resolvedValue: ReactNode = value;\n if (\n resolvedValue == null ||\n (typeof resolvedValue === 'string' && resolvedValue.trim() === '')\n ) {\n resolvedValue =\n emptyLabel ??\n t('common.notAvailable', {\n defaultValue: 'N/A',\n });\n }\n\n if (copyValue != null && copyValue !== '') {\n resolvedValue = (\n <CopyableText\n value={copyValue}\n copyValue={copyValue}\n truncate={false}\n copyLabel={\n copyLabel ??\n t('common.actions.copy', {\n defaultValue: 'Copy',\n })\n }\n copiedLabel={\n copiedLabel ??\n t('common.actions.copied', {\n defaultValue: 'Copied',\n })\n }\n />\n );\n }\n\n const fieldClassNames = [styles.field, styles.size[size], className];\n if (fullWidth) {\n fieldClassNames.push(styles.fullWidth);\n }\n\n return (\n <div className={cx(...fieldClassNames)}>\n <span className={styles.label}>{label}</span>\n <div className={styles.value}>{resolvedValue}</div>\n </div>\n );\n};\n\nexport default BackofficeDetailField;\n"],"mappings":";;;;;;AA8BA,IAAa,KAAyB,EACpC,cACA,gBACA,cACA,cACA,eACA,WAAA,IAAY,IACZ,OAAA,GACA,MAAA,GACA,OAAA,QAC6C;CAC7C,IAAM,EAAE,SAAM,GAAkB,EAC5B,IAA2B;CAY/B,CAVE,KAAiB,QAChB,OAAO,KAAkB,YAAY,EAAc,MAAM,KAAK,QAE/D,IACE,KACA,EAAE,uBAAuB,EACvB,cAAc,OACf,CAAC,GAGF,KAAa,QAAQ,MAAc,OACrC,IACE,kBAAC,GAAD;EACE,OAAO;EACI;EACX,UAAU;EACV,WACE,KACA,EAAE,uBAAuB,EACvB,cAAc,QACf,CAAC;EAEJ,aACE,KACA,EAAE,yBAAyB,EACzB,cAAc,UACf,CAAC;EAEJ,CAAA;CAIN,IAAM,IAAkB;EAAC;EAAc,EAAY;EAAO;EAAU;CAKpE,OAJI,KACF,EAAgB,KAAK,EAAiB,EAItC,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAG,EAAgB;YAAtC,CACE,kBAAC,QAAD;GAAM,WAAW;aAAe;GAAa,CAAA,EAC7C,kBAAC,OAAD;GAAK,WAAW;aAAe;GAAoB,CAAA,CAC/C"}
@@ -0,0 +1,16 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.ts
4
+ var e = "_1pfim3l0 txvbqbdr8 txvbqbf6i txvbqbfet txvbqbt9i", t = "_1pfim3l1 txvbqb96 txvbqb6a txvbqbkxs txvbqb19cb", n = "_1pfim3l2 txvbqb9j txvbqb19c9 txvbqbutu txvbqb18sv", r = "_1pfim3l3 txvbqbgjm", i = {
5
+ xs: "_1pfim3l4 txvbqbs39",
6
+ s: "_1pfim3l5 txvbqbs3m",
7
+ statusAction: "_1pfim3l6 txvbqbs3z",
8
+ m: "_1pfim3l7 txvbqbs3z",
9
+ l: "_1pfim3l8 txvbqbs4c",
10
+ xl: "_1pfim3l9 txvbqbs4p",
11
+ fluid: "_1pfim3la txvbqbs65"
12
+ };
13
+ //#endregion
14
+ export { e as field, r as fullWidth, t as label, i as size, n as value };
15
+
16
+ //# sourceMappingURL=backofficeDetailField.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeDetailField.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const field = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1,\n minWidth: 0,\n});\n\nexport const label = sprinkles({\n fontSize: 'xs',\n textTransform: 'uppercase',\n letterSpacing: 'capsTight',\n color: 'textSecondary',\n});\n\nexport const value = sprinkles({\n fontSize: 'sm',\n color: 'text',\n overflowWrap: 'anywhere',\n wordBreak: 'break-word',\n});\n\nexport const fullWidth = sprinkles({\n gridColumn: 'span-full',\n});\n\nexport const size = {\n xs: sprinkles({ maxWidth: '10ch' }),\n s: sprinkles({ maxWidth: '18ch' }),\n statusAction: sprinkles({ maxWidth: '28ch' }),\n m: sprinkles({ maxWidth: '28ch' }),\n l: sprinkles({ maxWidth: '44ch' }),\n xl: sprinkles({ maxWidth: '64ch' }),\n fluid: sprinkles({ maxWidth: 'full' }),\n};\n"],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { Tag as e } from "../../atoms/tag/Tag.js";
2
+ import { content as t, icon as n, label as r } from "./backofficeDetailFlagTag.css.js";
3
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
+ //#region src/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.tsx
5
+ var o = ({ tone: o, icon: s, label: c, className: l }) => {
6
+ let u = s != null, d = null;
7
+ return u && (d = /* @__PURE__ */ i("span", {
8
+ className: n,
9
+ children: s
10
+ })), /* @__PURE__ */ i(e, {
11
+ tone: o,
12
+ className: l,
13
+ children: /* @__PURE__ */ a("span", {
14
+ className: t,
15
+ children: [d, /* @__PURE__ */ i("span", {
16
+ className: r,
17
+ children: c
18
+ })]
19
+ })
20
+ });
21
+ };
22
+ //#endregion
23
+ export { o as BackofficeDetailFlagTag, o as default };
24
+
25
+ //# sourceMappingURL=BackofficeDetailFlagTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeDetailFlagTag.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Tag, type TagTone } from '../../atoms/tag/Tag.js';\n\nimport * as styles from './backofficeDetailFlagTag.css.js';\n\nexport type BackofficeDetailFlagTagProps = {\n tone: TagTone;\n icon?: ReactNode;\n label: string;\n className?: string;\n};\n\nexport const BackofficeDetailFlagTag = ({\n tone,\n icon,\n label,\n className,\n}: BackofficeDetailFlagTagProps): JSX.Element => {\n const hasIcon = icon != null;\n let iconNode: ReactNode | null = null;\n if (hasIcon) {\n iconNode = <span className={styles.icon}>{icon}</span>;\n }\n\n return (\n <Tag tone={tone} className={className}>\n <span className={styles.content}>\n {iconNode}\n <span className={styles.label}>{label}</span>\n </span>\n </Tag>\n );\n};\n\nexport default BackofficeDetailFlagTag;\n"],"mappings":";;;;AAaA,IAAa,KAA2B,EACtC,SACA,MAAA,GACA,OAAA,GACA,mBAC+C;CAC/C,IAAM,IAAU,KAAQ,MACpB,IAA6B;CAKjC,OAJI,MACF,IAAW,kBAAC,QAAD;EAAM,WAAW;YAAc;EAAY,CAAA,GAItD,kBAAC,GAAD;EAAW;EAAiB;YAC1B,kBAAC,QAAD;GAAM,WAAW;aAAjB,CACG,GACD,kBAAC,QAAD;IAAM,WAAW;cAAe;IAAa,CAAA,CACxC;;EACH,CAAA"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.ts
4
+ var e = "ibgj30 txvbqbdr8 txvbqbey txvbqbff6", t = "ibgj31 txvbqbdr8 txvbqbey txvbqbdyg", n = "ibgj32 txvbqbdy3";
5
+ //#endregion
6
+ export { e as content, t as icon, n as label };
7
+
8
+ //# sourceMappingURL=backofficeDetailFlagTag.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeDetailFlagTag.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const content = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 2,\n});\n\nexport const icon = sprinkles({\n display: 'flex',\n alignItems: 'center',\n flex: 'none',\n});\n\nexport const label = sprinkles({\n flex: 'initial',\n});\n"],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { BackofficeDetailField as t } from "../backoffice_detail_field/BackofficeDetailField.js";
3
+ import { description as n, grid as r, header as i, section as a, title as o } from "./backofficeDetailSection.css.js";
4
+ import { useId as s } from "react";
5
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
+ //#region src/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.tsx
7
+ var u = ({ children: u, className: d, description: f, items: p, title: m }) => {
8
+ let h = s(), g = null;
9
+ f != null && f !== "" && (g = /* @__PURE__ */ c("p", {
10
+ className: n,
11
+ children: f
12
+ }));
13
+ let _ = null;
14
+ return p != null && p.length > 0 && (_ = /* @__PURE__ */ c("div", {
15
+ className: r,
16
+ children: p.map((e) => /* @__PURE__ */ c(t, { ...e }, e.id))
17
+ })), /* @__PURE__ */ l("section", {
18
+ className: e(a, d),
19
+ "aria-labelledby": h,
20
+ children: [
21
+ /* @__PURE__ */ l("header", {
22
+ className: i,
23
+ children: [/* @__PURE__ */ c("h3", {
24
+ className: o,
25
+ id: h,
26
+ children: m
27
+ }), g]
28
+ }),
29
+ _,
30
+ u
31
+ ]
32
+ });
33
+ };
34
+ //#endregion
35
+ export { u as BackofficeDetailSection, u as default };
36
+
37
+ //# sourceMappingURL=BackofficeDetailSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeDetailSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.tsx"],"sourcesContent":["import { useId, type JSX, type ReactNode } from 'react';\n\nimport {\n BackofficeDetailField,\n type BackofficeDetailFieldProps,\n} from '../backoffice_detail_field/BackofficeDetailField.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeDetailSection.css.js';\n\nexport type BackofficeDetailSectionProps = {\n title: string;\n description?: string;\n items?: readonly BackofficeDetailFieldProps[];\n children?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeDetailSection = ({\n children,\n className,\n description,\n items,\n title,\n}: BackofficeDetailSectionProps): JSX.Element => {\n const headingId = useId();\n\n let descriptionNode: JSX.Element | null = null;\n if (description != null && description !== '') {\n descriptionNode = <p className={styles.description}>{description}</p>;\n }\n\n let itemsNode: JSX.Element | null = null;\n if (items != null && items.length > 0) {\n itemsNode = (\n <div className={styles.grid}>\n {items.map((item) => {\n return <BackofficeDetailField key={item.id} {...item} />;\n })}\n </div>\n );\n }\n\n return (\n <section\n className={cx(styles.section, className)}\n aria-labelledby={headingId}\n >\n <header className={styles.header}>\n <h3 className={styles.title} id={headingId}>\n {title}\n </h3>\n {descriptionNode}\n </header>\n {itemsNode}\n {children}\n </section>\n );\n};\n\nexport default BackofficeDetailSection;\n"],"mappings":";;;;;;AAkBA,IAAa,KAA2B,EACtC,aACA,cACA,aAAA,GACA,UACA,OAAA,QAC+C;CAC/C,IAAM,IAAY,GAAO,EAErB,IAAsC;CAC1C,AAAI,KAAe,QAAQ,MAAgB,OACzC,IAAkB,kBAAC,KAAD;EAAG,WAAW;YAAqB;EAAgB,CAAA;CAGvE,IAAI,IAAgC;CAWpC,OAVI,KAAS,QAAQ,EAAM,SAAS,MAClC,IACE,kBAAC,OAAD;EAAK,WAAW;YACb,EAAM,KAAK,MACH,kBAAC,GAAD,EAAqC,GAAI,GAAQ,EAArB,EAAK,GAAgB,CACxD;EACE,CAAA,GAKR,kBAAC,WAAD;EACE,WAAW,EAAG,GAAgB,EAAU;EACxC,mBAAiB;YAFnB;GAIE,kBAAC,UAAD;IAAQ,WAAW;cAAnB,CACE,kBAAC,MAAD;KAAI,WAAW;KAAc,IAAI;eAC9B;KACE,CAAA,EACJ,EACM;;GACR;GACA;GACO"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.ts
4
+ var e = "_1d3cpob0 txvbqbdr8 txvbqbf6i txvbqbffj txvbqbuy6 txvbqb2g9 txvbqb196d txvbqb1uy txvbqb2et txvbqb18k txvbqbcs7", t = "_1d3cpob1 txvbqbdr8 txvbqbf6i txvbqbfet", n = "_1d3cpob2 txvbqb9w txvbqbfd0 txvbqb19c9", r = "_1d3cpob3 txvbqb9j txvbqb19cb", i = "_1d3cpob4 txvbqbdrl txvbqbffj txvbqbhf1";
5
+ //#endregion
6
+ export { r as description, i as grid, t as header, e as section, n as title };
7
+
8
+ //# sourceMappingURL=backofficeDetailSection.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeDetailSection.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const section = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n padding: 3,\n borderRadius: 'md',\n backgroundColor: 'surfaceSecondary',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderLight',\n boxShadow: 'none',\n});\n\nexport const header = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1,\n});\n\nexport const title = sprinkles({\n fontSize: 'base',\n fontWeight: 'semibold',\n color: 'text',\n});\n\nexport const description = sprinkles({\n fontSize: 'sm',\n color: 'textSecondary',\n});\n\nexport const grid = sprinkles({\n display: 'grid',\n gap: 3,\n gridTemplateColumns: 'autoFitMinmax220',\n});\n"],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { Tag as t } from "../../atoms/tag/Tag.js";
3
+ import { container as n, value as r } from "./backofficeDetailTaggedValue.css.js";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.tsx
6
+ var o = ({ tag: o, value: s, className: c }) => /* @__PURE__ */ a("span", {
7
+ className: e(n, c),
8
+ children: [o != null && /* @__PURE__ */ i(t, {
9
+ tone: o.tone,
10
+ children: o.label
11
+ }), /* @__PURE__ */ i("span", {
12
+ className: r,
13
+ children: s
14
+ })]
15
+ });
16
+ //#endregion
17
+ export { o as BackofficeDetailTaggedValue, o as default };
18
+
19
+ //# sourceMappingURL=BackofficeDetailTaggedValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeDetailTaggedValue.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Tag, type TagTone } from '../../atoms/tag/Tag.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeDetailTaggedValue.css.js';\n\nexport type BackofficeDetailTaggedValueProps = {\n tag: { label: string; tone?: TagTone } | null;\n value: ReactNode;\n className?: string;\n};\n\nexport const BackofficeDetailTaggedValue = ({\n tag,\n value,\n className,\n}: BackofficeDetailTaggedValueProps): JSX.Element => {\n return (\n <span className={cx(styles.container, className)}>\n {tag != null && <Tag tone={tag.tone}>{tag.label}</Tag>}\n <span className={styles.value}>{value}</span>\n </span>\n );\n};\n\nexport default BackofficeDetailTaggedValue;\n"],"mappings":";;;;;AAaA,IAAa,KAA+B,EAC1C,QACA,OAAA,GACA,mBAGE,kBAAC,QAAD;CAAM,WAAW,EAAG,GAAkB,EAAU;WAAhD,CACG,KAAO,QAAQ,kBAAC,GAAD;EAAK,MAAM,EAAI;YAAO,EAAI;EAAY,CAAA,EACtD,kBAAC,QAAD;EAAM,WAAW;YAAe;EAAa,CAAA,CACxC"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.ts
4
+ var e = "y7jmie0 txvbqbdsb txvbqbey txvbqbff6 txvbqbf91", t = "y7jmie1 txvbqbdsb txvbqbey txvbqbfet";
5
+ //#endregion
6
+ export { e as container, t as value };
7
+
8
+ //# sourceMappingURL=backofficeDetailTaggedValue.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeDetailTaggedValue.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n flexWrap: 'wrap',\n});\n\nexport const value = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 1,\n});\n"],"mappings":""}
@@ -1,36 +1,19 @@
1
- import { cx as e } from "../../../theme/tools.js";
2
- import { actions as t, container as n, description as r, icon as i, title as a } from "./backofficeEmptyState.css.js";
3
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
1
+ import { EmptyState as e } from "../../../atomic/molecules/empty-state/EmptyState.js";
2
+ import { jsx as t } from "react/jsx-runtime";
4
3
  //#region src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx
5
- var c = ({ title: c, description: l, actions: u, icon: d, className: f }) => {
6
- let p = null;
7
- l != null && (p = /* @__PURE__ */ o("div", {
8
- className: r,
9
- children: l
10
- }));
11
- let m = null;
12
- u != null && (m = /* @__PURE__ */ o("div", {
13
- className: t,
14
- children: u
15
- }));
16
- let h = null;
17
- return d != null && (h = /* @__PURE__ */ o("div", {
18
- className: i,
19
- children: d
20
- })), /* @__PURE__ */ s("div", {
21
- className: e(n, f),
22
- children: [
23
- h,
24
- /* @__PURE__ */ o("div", {
25
- className: a,
26
- children: c
27
- }),
28
- p,
29
- m
30
- ]
31
- });
32
- };
4
+ var n = ({ title: n, description: r, actions: i, icon: a, className: o }) => /* @__PURE__ */ t(e, {
5
+ title: n,
6
+ description: r,
7
+ actions: i,
8
+ icon: a,
9
+ className: o,
10
+ variant: "plain",
11
+ density: "compact",
12
+ align: "center",
13
+ tone: "muted",
14
+ titleAs: "div"
15
+ });
33
16
  //#endregion
34
- export { c as BackofficeEmptyState, c as default };
17
+ export { n as BackofficeEmptyState, n as default };
35
18
 
36
19
  //# sourceMappingURL=BackofficeEmptyState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeEmptyState.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeEmptyState.css.js';\n\nexport type BackofficeEmptyStateProps = {\n title: ReactNode;\n description?: ReactNode;\n actions?: ReactNode;\n icon?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeEmptyState = ({\n title,\n description,\n actions,\n icon,\n className,\n}: BackofficeEmptyStateProps): JSX.Element => {\n let descriptionNode: JSX.Element | null = null;\n if (description != null) {\n descriptionNode = <div className={styles.description}>{description}</div>;\n }\n\n let actionsNode: JSX.Element | null = null;\n if (actions != null) {\n actionsNode = <div className={styles.actions}>{actions}</div>;\n }\n\n let iconNode: JSX.Element | null = null;\n if (icon != null) {\n iconNode = <div className={styles.icon}>{icon}</div>;\n }\n\n return (\n <div className={cx(styles.container, className)}>\n {iconNode}\n <div className={styles.title}>{title}</div>\n {descriptionNode}\n {actionsNode}\n </div>\n );\n};\n\nexport default BackofficeEmptyState;\n"],"mappings":";;;;AAaA,IAAa,KAAwB,EACnC,OAAA,GACA,aAAA,GACA,SAAA,GACA,MAAA,GACA,mBAC4C;CAC5C,IAAI,IAAsC;CAC1C,AAAI,KAAe,SACjB,IAAkB,kBAAC,OAAD;EAAK,WAAW;YAAqB;EAAkB,CAAA;CAG3E,IAAI,IAAkC;CACtC,AAAI,KAAW,SACb,IAAc,kBAAC,OAAD;EAAK,WAAW;YAAiB;EAAc,CAAA;CAG/D,IAAI,IAA+B;CAKnC,OAJI,KAAQ,SACV,IAAW,kBAAC,OAAD;EAAK,WAAW;YAAc;EAAW,CAAA,GAIpD,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAkB,EAAU;YAA/C;GACG;GACD,kBAAC,OAAD;IAAK,WAAW;cAAe;IAAY,CAAA;GAC1C;GACA;GACG"}
1
+ {"version":3,"file":"BackofficeEmptyState.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { EmptyState } from '../../../atomic/molecules/empty-state/EmptyState.js';\n\nexport type BackofficeEmptyStateProps = {\n title: ReactNode;\n description?: ReactNode;\n actions?: ReactNode;\n icon?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeEmptyState = ({\n title,\n description,\n actions,\n icon,\n className,\n}: BackofficeEmptyStateProps): JSX.Element => {\n return (\n <EmptyState\n title={title}\n description={description}\n actions={actions}\n icon={icon}\n className={className}\n variant=\"plain\"\n density=\"compact\"\n align=\"center\"\n tone=\"muted\"\n titleAs=\"div\"\n />\n );\n};\n\nexport default BackofficeEmptyState;\n"],"mappings":";;;AAYA,IAAa,KAAwB,EACnC,UACA,gBACA,YACA,SACA,mBAGE,kBAAC,GAAD;CACS;CACM;CACJ;CACH;CACK;CACX,SAAQ;CACR,SAAQ;CACR,OAAM;CACN,MAAK;CACL,SAAQ;CACR,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useTranslation as t } from "react-i18next";
3
+ //#region src/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.tsx
4
+ var n = ({ value: n, getLabel: r, emptyLabel: i }) => {
5
+ let { t: a } = t("ui", { useSuspense: !1 }), o = i ?? a("common.notAvailable");
6
+ return n != null && (o = r(n)), /* @__PURE__ */ e("span", { children: o });
7
+ };
8
+ //#endregion
9
+ export { n as BackofficeEnumLabel, n as default };
10
+
11
+ //# sourceMappingURL=BackofficeEnumLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeEnumLabel.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.tsx"],"sourcesContent":["import { type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nexport type BackofficeEnumLabelProps<TValue extends string> = {\n readonly value: TValue | null | undefined;\n readonly getLabel: (value: TValue) => string;\n readonly emptyLabel?: string;\n};\n\nexport const BackofficeEnumLabel = <TValue extends string>({\n value,\n getLabel,\n emptyLabel,\n}: BackofficeEnumLabelProps<TValue>): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n let label = emptyLabel ?? t('common.notAvailable');\n if (value != null) {\n label = getLabel(value);\n }\n\n return <span>{label}</span>;\n};\n\nexport default BackofficeEnumLabel;\n"],"mappings":";;;AASA,IAAa,KAA8C,EACzD,UACA,aACA,oBACmD;CACnD,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC,EACtD,IAAQ,KAAc,EAAE,sBAAsB;CAKlD,OAJI,KAAS,SACX,IAAQ,EAAS,EAAM,GAGlB,kBAAC,QAAD,EAAA,UAAO,GAAa,CAAA"}
@@ -1,24 +1,23 @@
1
- import { cx as e } from "../../../theme/tools.js";
2
- import { container as t } from "./backofficeFormSection.css.js";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
1
+ import { SurfaceSection as e } from "../../../components/layout/Surface.js";
2
+ import { jsx as t } from "react/jsx-runtime";
4
3
  //#region src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx
5
- var i = ({ title: i, description: a, children: o, className: s }) => {
6
- let c = i != null && i.trim() !== "" || a != null && a.trim() !== "";
7
- return /* @__PURE__ */ r("section", {
8
- className: e(t, s),
9
- children: [c && /* @__PURE__ */ r("div", {
10
- className: "m31wvj1 txvbqbdr8 txvbqbf6i txvbqbfet",
11
- children: [i != null && i.trim() !== "" && /* @__PURE__ */ n("h3", {
12
- className: "m31wvj2 txvbqb9w txvbqbfd0 txvbqb19c9 txvbqbm9g",
13
- children: i
14
- }), a != null && a.trim() !== "" && /* @__PURE__ */ n("p", {
15
- className: "m31wvj3 txvbqb9j txvbqb19cb txvbqbm9g",
16
- children: a
17
- })]
18
- }), o]
4
+ var n = ({ title: n, description: r, children: i, className: a }) => {
5
+ let o = n?.trim(), s = r?.trim(), c;
6
+ o !== "" && (c = o);
7
+ let l;
8
+ return s !== "" && (l = s), /* @__PURE__ */ t(e, {
9
+ border: "subtle",
10
+ className: a,
11
+ density: "compact",
12
+ radius: "lg",
13
+ title: c,
14
+ titleAs: "h3",
15
+ description: l,
16
+ variant: "neutral",
17
+ children: i
19
18
  });
20
19
  };
21
20
  //#endregion
22
- export { i as BackofficeFormSection, i as default };
21
+ export { n as BackofficeFormSection, n as default };
23
22
 
24
23
  //# sourceMappingURL=BackofficeFormSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeFormSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeFormSection.css.js';\n\nexport type BackofficeFormSectionProps = {\n title?: string;\n description?: string;\n children: ReactNode;\n className?: string;\n};\n\nexport const BackofficeFormSection = ({\n title,\n description,\n children,\n className,\n}: BackofficeFormSectionProps): JSX.Element => {\n const hasHeader =\n (title != null && title.trim() !== '') ||\n (description != null && description.trim() !== '');\n\n return (\n <section className={cx(styles.container, className)}>\n {hasHeader && (\n <div className={styles.header}>\n {title != null && title.trim() !== '' && (\n <h3 className={styles.title}>{title}</h3>\n )}\n {description != null && description.trim() !== '' && (\n <p className={styles.description}>{description}</p>\n )}\n </div>\n )}\n {children}\n </section>\n );\n};\n\nexport default BackofficeFormSection;\n"],"mappings":";;;;AAYA,IAAa,KAAyB,EACpC,OAAA,GACA,aAAA,GACA,aACA,mBAC6C;CAC7C,IAAM,IACH,KAAS,QAAQ,EAAM,MAAM,KAAK,MAClC,KAAe,QAAQ,EAAY,MAAM,KAAK;CAEjD,OACE,kBAAC,WAAD;EAAS,WAAW,EAAG,GAAkB,EAAU;YAAnD,CACG,KACC,kBAAC,OAAD;GAAK,WAAW;aAAhB,CACG,KAAS,QAAQ,EAAM,MAAM,KAAK,MACjC,kBAAC,MAAD;IAAI,WAAW;cAAe;IAAW,CAAA,EAE1C,KAAe,QAAQ,EAAY,MAAM,KAAK,MAC7C,kBAAC,KAAD;IAAG,WAAW;cAAqB;IAAgB,CAAA,CAEjD;MAEP,EACO"}
1
+ {"version":3,"file":"BackofficeFormSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { SurfaceSection } from '../../../components/layout/Surface.js';\n\nexport type BackofficeFormSectionProps = {\n title?: string;\n description?: string;\n children: ReactNode;\n className?: string;\n};\n\nexport const BackofficeFormSection = ({\n title,\n description,\n children,\n className,\n}: BackofficeFormSectionProps): JSX.Element => {\n const resolvedTitle = title?.trim();\n const resolvedDescription = description?.trim();\n let headerTitle: string | undefined;\n if (resolvedTitle !== '') {\n headerTitle = resolvedTitle;\n }\n let headerDescription: string | undefined;\n if (resolvedDescription !== '') {\n headerDescription = resolvedDescription;\n }\n\n return (\n <SurfaceSection\n border=\"subtle\"\n className={className}\n density=\"compact\"\n radius=\"lg\"\n title={headerTitle}\n titleAs=\"h3\"\n description={headerDescription}\n variant=\"neutral\"\n >\n {children}\n </SurfaceSection>\n );\n};\n\nexport default BackofficeFormSection;\n"],"mappings":";;;AAWA,IAAa,KAAyB,EACpC,UACA,gBACA,aACA,mBAC6C;CAC7C,IAAM,IAAgB,GAAO,MAAM,EAC7B,IAAsB,GAAa,MAAM,EAC3C;CACJ,AAAI,MAAkB,OACpB,IAAc;CAEhB,IAAI;CAKJ,OAJI,MAAwB,OAC1B,IAAoB,IAIpB,kBAAC,GAAD;EACE,QAAO;EACI;EACX,SAAQ;EACR,QAAO;EACP,OAAO;EACP,SAAQ;EACR,aAAa;EACb,SAAQ;EAEP;EACc,CAAA"}
@@ -0,0 +1,12 @@
1
+ //#region src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.ts
2
+ var e = (e, t = "Failed to serialize JSON") => {
3
+ try {
4
+ return JSON.stringify(e, null, 2);
5
+ } catch {
6
+ return JSON.stringify({ error: t });
7
+ }
8
+ }, t = { buildFallbackText: e };
9
+ //#endregion
10
+ export { t as __testLazyBackofficeJsonViewer, e as buildBackofficeJsonViewerFallbackText };
11
+
12
+ //# sourceMappingURL=LazyBackofficeJsonViewer.helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LazyBackofficeJsonViewer.helpers.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.ts"],"sourcesContent":["export const buildBackofficeJsonViewerFallbackText = (\n value: unknown,\n serializationError = 'Failed to serialize JSON',\n): string => {\n try {\n return JSON.stringify(value, null, 2);\n } catch {\n return JSON.stringify({ error: serializationError });\n }\n};\n\nexport const __testLazyBackofficeJsonViewer = {\n buildFallbackText: buildBackofficeJsonViewerFallbackText,\n} as const;\n"],"mappings":";AAAA,IAAa,KACX,GACA,IAAqB,+BACV;CACX,IAAI;EACF,OAAO,KAAK,UAAU,GAAO,MAAM,EAAE;SAC/B;EACN,OAAO,KAAK,UAAU,EAAE,OAAO,GAAoB,CAAC;;GAI3C,IAAiC,EAC5C,mBAAmB,GACpB"}
@@ -1,28 +1,23 @@
1
+ import { buildBackofficeJsonViewerFallbackText as e } from "./LazyBackofficeJsonViewer.helpers.js";
1
2
  import "./LazyBackofficeJsonViewer.css.js";
2
- import { Suspense as e, lazy as t } from "react";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import { useTranslation as r } from "react-i18next";
3
+ import { Suspense as t, lazy as n } from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ import { useTranslation as i } from "react-i18next";
5
6
  //#region src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx
6
- var i = t(async () => import("./BackofficeJsonViewerAsync.js")), a = (e, t = "Failed to serialize JSON") => {
7
- try {
8
- return JSON.stringify(e, null, 2);
9
- } catch {
10
- return JSON.stringify({ error: t });
11
- }
12
- }, o = { buildFallbackText: a }, s = ({ value: e, className: t }) => {
13
- let { t: i } = r("ui", { useSuspense: !1 });
14
- return /* @__PURE__ */ n("pre", {
15
- className: t ?? "_13lprza0 txvbqbuse txvbqb18yn",
16
- children: a(e, i("backoffice.jsonViewer.serializationError"))
7
+ var a = n(async () => import("./BackofficeJsonViewerAsync.js")), o = ({ value: t, className: n }) => {
8
+ let { t: a } = i("ui", { useSuspense: !1 });
9
+ return /* @__PURE__ */ r("pre", {
10
+ className: n ?? "_13lprza0 txvbqbuse txvbqb18yn",
11
+ children: e(t, a("backoffice.jsonViewer.serializationError"))
17
12
  });
18
- }, c = (t) => /* @__PURE__ */ n(e, {
19
- fallback: /* @__PURE__ */ n(s, {
20
- value: t.value,
21
- className: t.className
13
+ }, s = (e) => /* @__PURE__ */ r(t, {
14
+ fallback: /* @__PURE__ */ r(o, {
15
+ value: e.value,
16
+ className: e.className
22
17
  }),
23
- children: /* @__PURE__ */ n(i, { ...t })
18
+ children: /* @__PURE__ */ r(a, { ...e })
24
19
  });
25
20
  //#endregion
26
- export { c as LazyBackofficeJsonViewer, c as default, o as __testLazyBackofficeJsonViewer };
21
+ export { s as LazyBackofficeJsonViewer, s as default };
27
22
 
28
23
  //# sourceMappingURL=LazyBackofficeJsonViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LazyBackofficeJsonViewer.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx"],"sourcesContent":["import { Suspense, lazy, type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { BackofficeJsonViewerProps } from './BackofficeJsonViewer.js';\n\nimport * as styles from './LazyBackofficeJsonViewer.css.js';\n\nconst BackofficeJsonViewer = lazy(async () => {\n return import('./BackofficeJsonViewerAsync.js');\n});\n\nconst buildFallbackText = (\n value: unknown,\n serializationError = 'Failed to serialize JSON',\n): string => {\n try {\n return JSON.stringify(value, null, 2);\n } catch {\n return JSON.stringify({ error: serializationError });\n }\n};\n\nexport const __testLazyBackofficeJsonViewer = {\n buildFallbackText,\n} as const;\n\nconst FallbackViewer = ({\n value,\n className,\n}: Pick<BackofficeJsonViewerProps, 'value' | 'className'>): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n\n return (\n <pre className={className ?? styles.fallback}>\n {buildFallbackText(value, t('backoffice.jsonViewer.serializationError'))}\n </pre>\n );\n};\n\nexport const LazyBackofficeJsonViewer = (\n props: BackofficeJsonViewerProps,\n): JSX.Element => {\n return (\n <Suspense\n fallback={\n <FallbackViewer value={props.value} className={props.className} />\n }\n >\n <BackofficeJsonViewer {...props} />\n </Suspense>\n );\n};\n\nexport default LazyBackofficeJsonViewer;\n"],"mappings":";;;;;AAOA,IAAM,IAAuB,EAAK,YACzB,OAAO,kCACd,EAEI,KACJ,GACA,IAAqB,+BACV;CACX,IAAI;EACF,OAAO,KAAK,UAAU,GAAO,MAAM,EAAE;SAC/B;EACN,OAAO,KAAK,UAAU,EAAE,OAAO,GAAoB,CAAC;;GAI3C,IAAiC,EAC5C,sBACD,EAEK,KAAkB,EACtB,UACA,mBACyE;CACzE,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC;CAE1D,OACE,kBAAC,OAAD;EAAK,WAAW,KAAa;YAC1B,EAAkB,GAAO,EAAE,2CAA2C,CAAC;EACpE,CAAA;GAIG,KACX,MAGE,kBAAC,GAAD;CACE,UACE,kBAAC,GAAD;EAAgB,OAAO,EAAM;EAAO,WAAW,EAAM;EAAa,CAAA;WAGpE,kBAAC,GAAD,EAAsB,GAAI,GAAS,CAAA;CAC1B,CAAA"}
1
+ {"version":3,"file":"LazyBackofficeJsonViewer.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx"],"sourcesContent":["import { Suspense, lazy, type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { BackofficeJsonViewerProps } from './BackofficeJsonViewer.js';\nimport { buildBackofficeJsonViewerFallbackText } from './LazyBackofficeJsonViewer.helpers.js';\n\nimport * as styles from './LazyBackofficeJsonViewer.css.js';\n\nconst BackofficeJsonViewer = lazy(async () => {\n return import('./BackofficeJsonViewerAsync.js');\n});\n\nconst FallbackViewer = ({\n value,\n className,\n}: Pick<BackofficeJsonViewerProps, 'value' | 'className'>): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n\n return (\n <pre className={className ?? styles.fallback}>\n {buildBackofficeJsonViewerFallbackText(\n value,\n t('backoffice.jsonViewer.serializationError'),\n )}\n </pre>\n );\n};\n\nexport const LazyBackofficeJsonViewer = (\n props: BackofficeJsonViewerProps,\n): JSX.Element => {\n return (\n <Suspense\n fallback={\n <FallbackViewer value={props.value} className={props.className} />\n }\n >\n <BackofficeJsonViewer {...props} />\n </Suspense>\n );\n};\n\nexport default LazyBackofficeJsonViewer;\n"],"mappings":";;;;;;AAQA,IAAM,IAAuB,EAAK,YACzB,OAAO,kCACd,EAEI,KAAkB,EACtB,UACA,mBACyE;CACzE,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC;CAE1D,OACE,kBAAC,OAAD;EAAK,WAAW,KAAa;YAC1B,EACC,GACA,EAAE,2CAA2C,CAC9C;EACG,CAAA;GAIG,KACX,MAGE,kBAAC,GAAD;CACE,UACE,kBAAC,GAAD;EAAgB,OAAO,EAAM;EAAO,WAAW,EAAM;EAAa,CAAA;WAGpE,kBAAC,GAAD,EAAsB,GAAI,GAAS,CAAA;CAC1B,CAAA"}
@@ -1,21 +1,28 @@
1
1
  import { cx as e } from "../../../theme/tools.js";
2
- import { item as t, itemSurface as n, label as r, labelSize as i, list as a, value as o } from "./backofficeKeyValueList.css.js";
3
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
2
+ import { useUiTranslation as t } from "../../../i18n/useUiTranslation.js";
3
+ import { item as n, itemSplit as r, itemStack as i, itemSurface as a, label as o, labelSize as s, list as c, listGrid as l, value as u } from "./backofficeKeyValueList.css.js";
4
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
4
5
  //#region src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx
5
- var l = ({ items: l }) => /* @__PURE__ */ s("dl", {
6
- className: a,
7
- children: l.map((a) => /* @__PURE__ */ c("div", {
8
- className: e(t, n),
9
- children: [/* @__PURE__ */ s("dt", {
10
- className: e(r, i),
11
- children: a.label
12
- }), /* @__PURE__ */ s("dd", {
13
- className: o,
14
- children: a.value
15
- })]
16
- }, a.id))
17
- });
6
+ var p = (e) => e === "surface" ? a : null, m = ({ className: a, emptyLabel: m, items: h, layout: g = "split", variant: _ = "surface" }) => {
7
+ let { t: v } = t(), y = m ?? v("common.notAvailable", { defaultValue: "N/A" }), b = [c, a];
8
+ return g === "grid" && b.push(l), /* @__PURE__ */ d("dl", {
9
+ className: e(...b),
10
+ children: h.map((t) => {
11
+ let { id: a, label: c } = t, { value: l } = t, m = [n, p(_)];
12
+ return g === "split" ? m.push(r) : m.push(i), (l == null || typeof l == "string" && l.trim() === "") && (l = y), /* @__PURE__ */ f("div", {
13
+ className: e(...m),
14
+ children: [/* @__PURE__ */ d("dt", {
15
+ className: e(o, s),
16
+ children: c
17
+ }), /* @__PURE__ */ d("dd", {
18
+ className: u,
19
+ children: l
20
+ })]
21
+ }, a);
22
+ })
23
+ });
24
+ };
18
25
  //#endregion
19
- export { l as BackofficeKeyValueList, l as default };
26
+ export { m as BackofficeKeyValueList, m as default };
20
27
 
21
28
  //# sourceMappingURL=BackofficeKeyValueList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeKeyValueList.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './backofficeKeyValueList.css.js';\nimport { cx } from '../../../theme/tools.js';\n\nexport type BackofficeKeyValueItem = {\n id: string;\n label: ReactNode;\n value: ReactNode;\n};\n\nexport type BackofficeKeyValueListProps = {\n items: readonly BackofficeKeyValueItem[];\n};\n\nexport const BackofficeKeyValueList = ({\n items,\n}: BackofficeKeyValueListProps): JSX.Element => {\n return (\n <dl className={styles.list}>\n {items.map((item) => {\n return (\n <div key={item.id} className={cx(styles.item, styles.itemSurface)}>\n <dt className={cx(styles.label, styles.labelSize)}>{item.label}</dt>\n <dd className={styles.value}>{item.value}</dd>\n </div>\n );\n })}\n </dl>\n );\n};\n\nexport default BackofficeKeyValueList;\n"],"mappings":";;;;AAeA,IAAa,KAA0B,EACrC,eAGE,kBAAC,MAAD;CAAI,WAAW;WACZ,EAAM,KAAK,MAER,kBAAC,OAAD;EAAmB,WAAW,EAAG,GAAa,EAAmB;YAAjE,CACE,kBAAC,MAAD;GAAI,WAAW,EAAG,GAAc,EAAiB;aAAG,EAAK;GAAW,CAAA,EACpE,kBAAC,MAAD;GAAI,WAAW;aAAe,EAAK;GAAW,CAAA,CAC1C;IAHI,EAAK,GAGT,CAER;CACC,CAAA"}
1
+ {"version":3,"file":"BackofficeKeyValueList.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './backofficeKeyValueList.css.js';\nimport { cx } from '../../../theme/tools.js';\nimport { useUiTranslation } from '../../../i18n/useUiTranslation.js';\n\nexport type BackofficeKeyValueItem = {\n id: string;\n label: ReactNode;\n value: ReactNode | null | undefined;\n};\n\nexport type BackofficeKeyValueListVariant = 'surface' | 'plain';\n\nexport type BackofficeKeyValueListLayout = 'split' | 'stack' | 'grid';\n\nexport type BackofficeKeyValueListProps = {\n items: readonly BackofficeKeyValueItem[];\n className?: string;\n emptyLabel?: string;\n variant?: BackofficeKeyValueListVariant;\n layout?: BackofficeKeyValueListLayout;\n};\n\nconst resolveVariantClassName = (\n variant: BackofficeKeyValueListVariant,\n): string | null => {\n if (variant === 'surface') {\n return styles.itemSurface;\n }\n\n return null;\n};\n\nexport const BackofficeKeyValueList = ({\n className,\n emptyLabel,\n items,\n layout = 'split',\n variant = 'surface',\n}: BackofficeKeyValueListProps): JSX.Element => {\n const { t } = useUiTranslation();\n const fallback =\n emptyLabel ??\n t('common.notAvailable', {\n defaultValue: 'N/A',\n });\n\n const listClassName = [styles.list, className];\n if (layout === 'grid') {\n listClassName.push(styles.listGrid);\n }\n\n return (\n <dl className={cx(...listClassName)}>\n {items.map((item) => {\n const { id, label } = item;\n let { value } = item;\n const itemClassName = [styles.item, resolveVariantClassName(variant)];\n if (layout === 'split') {\n itemClassName.push(styles.itemSplit);\n } else {\n itemClassName.push(styles.itemStack);\n }\n\n if (\n value == null ||\n (typeof value === 'string' && value.trim() === '')\n ) {\n value = fallback;\n }\n\n return (\n <div key={id} className={cx(...itemClassName)}>\n <dt className={cx(styles.label, styles.labelSize)}>{label}</dt>\n <dd className={styles.value}>{value}</dd>\n </div>\n );\n })}\n </dl>\n );\n};\n\nexport default BackofficeKeyValueList;\n"],"mappings":";;;;;AAwBA,IAAM,KACJ,MAEI,MAAY,YACP,IAGF,MAGI,KAA0B,EACrC,cACA,eACA,UACA,YAAS,SACT,aAAU,gBACoC;CAC9C,IAAM,EAAE,SAAM,GAAkB,EAC1B,IACJ,KACA,EAAE,uBAAuB,EACvB,cAAc,OACf,CAAC,EAEE,IAAgB,CAAC,GAAa,EAAU;CAK9C,OAJI,MAAW,UACb,EAAc,KAAK,EAAgB,EAInC,kBAAC,MAAD;EAAI,WAAW,EAAG,GAAG,EAAc;YAChC,EAAM,KAAK,MAAS;GACnB,IAAM,EAAE,OAAI,OAAA,MAAU,GAClB,EAAE,OAAA,MAAU,GACV,IAAgB,CAAC,GAAa,EAAwB,EAAQ,CAAC;GAcrE,OAbI,MAAW,UACb,EAAc,KAAK,EAAiB,GAEpC,EAAc,KAAK,EAAiB,GAIpC,KAAS,QACR,OAAO,KAAU,YAAY,EAAM,MAAM,KAAK,QAE/C,IAAQ,IAIR,kBAAC,OAAD;IAAc,WAAW,EAAG,GAAG,EAAc;cAA7C,CACE,kBAAC,MAAD;KAAI,WAAW,EAAG,GAAc,EAAiB;eAAG;KAAW,CAAA,EAC/D,kBAAC,MAAD;KAAI,WAAW;eAAe;KAAW,CAAA,CACrC;MAHI,EAGJ;IAER;EACC,CAAA"}
@@ -1,8 +1,8 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  //#region src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts
4
- var e = "tx0dqq0 txvbqbdrl txvbqbff6", t = "tx0dqq1 txvbqbyoi txvbqbzm3 txvbqb10jb txvbqbvve txvbqbdrl txvbqbhap txvbqbh2t txvbqbff6 txvbqbey txvbqb2gm txvbqb196f", n = "tx0dqq2 txvbqb1uy txvbqb2et txvbqb17u", r = "tx0dqq3 txvbqb19cd txvbqb6a txvbqbkxf txvbqbfd0 txvbqbt9i txvbqbutu", i = "tx0dqq4 txvbqb96", a = "tx0dqq5 txvbqb9w txvbqb19c9 txvbqbm9g txvbqbt9i txvbqbutu";
4
+ var e = "tx0dqq0 txvbqbdrl txvbqbff6", t = "tx0dqq1 txvbqbhf1", n = "tx0dqq2 txvbqbdrl txvbqbff6 txvbqbey txvbqbt9i", r = "tx0dqq3 txvbqbhap txvbqbh2t", i = "tx0dqq4 txvbqbh2r txvbqbel", a = "tx0dqq5 txvbqbyoi txvbqbzm3 txvbqb10jb txvbqbvve txvbqb2gm txvbqb196f txvbqb1uy txvbqb2et txvbqb17u", o = "tx0dqq6 txvbqb19cd txvbqb6a txvbqbkxf txvbqbfd0 txvbqbt9i txvbqbutu", s = "tx0dqq7 txvbqb96", c = "tx0dqq8 txvbqb9w txvbqb19c9 txvbqbm9g txvbqbt9i txvbqbutu";
5
5
  //#endregion
6
- export { t as item, n as itemSurface, r as label, i as labelSize, e as list, a as value };
6
+ export { n as item, r as itemSplit, i as itemStack, a as itemSurface, o as label, s as labelSize, e as list, t as listGrid, c as value };
7
7
 
8
8
  //# sourceMappingURL=backofficeKeyValueList.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"backofficeKeyValueList.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const list = sprinkles({\n display: 'grid',\n gap: 2,\n});\n\nexport const item = sprinkles({\n display: 'grid',\n gridTemplateColumns: {\n base: 'keyValueSplit',\n md: 1,\n },\n gap: 2,\n alignItems: 'center',\n paddingY: 2,\n paddingX: 3,\n borderRadius: 'lg',\n backgroundColor: 'surfaceMuted',\n});\n\nexport const itemSurface = sprinkles({\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n});\n\nexport const label = sprinkles({\n color: 'textMuted',\n textTransform: 'uppercase',\n letterSpacing: 'caps',\n fontWeight: 'semibold',\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n\nexport const labelSize = sprinkles({\n fontSize: 'xs',\n});\n\nexport const value = sprinkles({\n fontSize: 'base',\n color: 'text',\n margin: 0,\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n"],"mappings":""}
1
+ {"version":3,"file":"backofficeKeyValueList.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const list = sprinkles({\n display: 'grid',\n gap: 2,\n});\n\nexport const listGrid = sprinkles({\n gridTemplateColumns: 'autoFitMinmax220',\n});\n\nexport const item = sprinkles({\n display: 'grid',\n gap: 2,\n alignItems: 'center',\n minWidth: 0,\n});\n\nexport const itemSplit = sprinkles({\n gridTemplateColumns: {\n base: 'keyValueSplit',\n md: 1,\n },\n});\n\nexport const itemStack = sprinkles({\n gridTemplateColumns: 1,\n alignItems: 'flex-start',\n});\n\nexport const itemSurface = sprinkles({\n paddingY: 2,\n paddingX: 3,\n borderRadius: 'lg',\n backgroundColor: 'surfaceMuted',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n});\n\nexport const label = sprinkles({\n color: 'textMuted',\n textTransform: 'uppercase',\n letterSpacing: 'caps',\n fontWeight: 'semibold',\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n\nexport const labelSize = sprinkles({\n fontSize: 'xs',\n});\n\nexport const value = sprinkles({\n fontSize: 'base',\n color: 'text',\n margin: 0,\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n"],"mappings":""}
@@ -0,0 +1,11 @@
1
+ //#region src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.ts
2
+ var e = ({ hasNextPage: e, isLoading: t, pageInfoState: n }) => t ? "loading" : n ?? (e ? "ready" : "complete"), t = (e, t) => typeof t == "number" ? `${e} / ${t}` : e > 0 ? String(e) : null, n = ({ labels: e, loadedCount: n, totalCount: r }) => ({
3
+ loaded: e?.loaded ?? t(n, r),
4
+ loadMore: e?.loadMore ?? "Load more",
5
+ loading: e?.loading ?? "Loading",
6
+ end: e?.end ?? "End of list"
7
+ }), r = ({ labels: e, mode: t, pageInfoState: n }) => n === "complete" ? e.end : n === "loading" ? e.loading : t === "button" && n === "ready" ? e.loadMore : null;
8
+ //#endregion
9
+ export { n as resolveBackofficeListFooterLabels, e as resolveBackofficeListFooterPageInfoState, r as resolveBackofficeListFooterStatusLabel, t as resolveDefaultBackofficeListFooterLoadedLabel };
10
+
11
+ //# sourceMappingURL=BackofficeListFooter.helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeListFooter.helpers.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.ts"],"sourcesContent":["import { type ReactNode } from 'react';\n\nimport {\n type BackofficeListFooterLabels,\n type BackofficeListFooterMode,\n type BackofficeListFooterPageInfoState,\n} from './BackofficeListFooter.js';\n\nexport type ResolvedBackofficeListFooterLabels = {\n loadMore: ReactNode;\n loading: ReactNode;\n end: ReactNode;\n loaded: ReactNode;\n};\n\nexport const resolveBackofficeListFooterPageInfoState = ({\n hasNextPage,\n isLoading,\n pageInfoState,\n}: {\n hasNextPage: boolean;\n isLoading: boolean;\n pageInfoState?: BackofficeListFooterPageInfoState;\n}): BackofficeListFooterPageInfoState => {\n if (isLoading) {\n return 'loading';\n }\n if (pageInfoState != null) {\n return pageInfoState;\n }\n if (hasNextPage) {\n return 'ready';\n }\n return 'complete';\n};\n\nexport const resolveDefaultBackofficeListFooterLoadedLabel = (\n loadedCount: number,\n totalCount?: number | null,\n): ReactNode => {\n if (typeof totalCount === 'number') {\n return `${loadedCount} / ${totalCount}`;\n }\n if (loadedCount > 0) {\n return String(loadedCount);\n }\n return null;\n};\n\nexport const resolveBackofficeListFooterLabels = ({\n labels,\n loadedCount,\n totalCount,\n}: {\n labels?: BackofficeListFooterLabels;\n loadedCount: number;\n totalCount?: number | null;\n}): ResolvedBackofficeListFooterLabels => {\n return {\n loaded:\n labels?.loaded ??\n resolveDefaultBackofficeListFooterLoadedLabel(loadedCount, totalCount),\n loadMore: labels?.loadMore ?? 'Load more',\n loading: labels?.loading ?? 'Loading',\n end: labels?.end ?? 'End of list',\n };\n};\n\nexport const resolveBackofficeListFooterStatusLabel = ({\n labels,\n mode,\n pageInfoState,\n}: {\n labels: ResolvedBackofficeListFooterLabels;\n mode: BackofficeListFooterMode;\n pageInfoState: BackofficeListFooterPageInfoState;\n}): ReactNode => {\n if (pageInfoState === 'complete') {\n return labels.end;\n }\n if (pageInfoState === 'loading') {\n return labels.loading;\n }\n if (mode === 'button' && pageInfoState === 'ready') {\n return labels.loadMore;\n }\n return null;\n};\n"],"mappings":";AAeA,IAAa,KAA4C,EACvD,gBACA,cACA,uBAMI,IACK,YAEL,MAGA,IACK,UAEF,aAGI,KACX,GACA,MAEI,OAAO,KAAe,WACjB,GAAG,EAAY,KAAK,MAEzB,IAAc,IACT,OAAO,EAAY,GAErB,MAGI,KAAqC,EAChD,WACA,gBACA,qBAMO;CACL,QACE,GAAQ,UACR,EAA8C,GAAa,EAAW;CACxE,UAAU,GAAQ,YAAY;CAC9B,SAAS,GAAQ,WAAW;CAC5B,KAAK,GAAQ,OAAO;CACrB,GAGU,KAA0C,EACrD,WACA,SACA,uBAMI,MAAkB,aACb,EAAO,MAEZ,MAAkB,YACb,EAAO,UAEZ,MAAS,YAAY,MAAkB,UAClC,EAAO,WAET"}