@plumile/ui 0.1.60 → 0.1.62

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 (349) hide show
  1. package/lib/esm/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.js +18 -0
  2. package/lib/esm/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.js.map +1 -0
  3. package/lib/esm/backoffice/atoms/backoffice_id_badge/backofficeIdBadge.css.js +8 -0
  4. package/lib/esm/backoffice/atoms/backoffice_id_badge/backofficeIdBadge.css.js.map +1 -0
  5. package/lib/esm/backoffice/atoms/copyable_text/CopyableText.js +71 -0
  6. package/lib/esm/backoffice/atoms/copyable_text/CopyableText.js.map +1 -0
  7. package/lib/esm/backoffice/atoms/copyable_text/copyableText.css.js +8 -0
  8. package/lib/esm/backoffice/atoms/copyable_text/copyableText.css.js.map +1 -0
  9. package/lib/esm/backoffice/atoms/environment_badge/EnvironmentBadge.js +28 -0
  10. package/lib/esm/backoffice/atoms/environment_badge/EnvironmentBadge.js.map +1 -0
  11. package/lib/esm/backoffice/atoms/environment_badge/environmentBadge.css.js +8 -0
  12. package/lib/esm/backoffice/atoms/environment_badge/environmentBadge.css.js.map +1 -0
  13. package/lib/esm/backoffice/atoms/shortcut_hint/ShortcutHint.js +20 -0
  14. package/lib/esm/backoffice/atoms/shortcut_hint/ShortcutHint.js.map +1 -0
  15. package/lib/esm/backoffice/atoms/shortcut_hint/shortcutHint.css.js +8 -0
  16. package/lib/esm/backoffice/atoms/shortcut_hint/shortcutHint.css.js.map +1 -0
  17. package/lib/esm/backoffice/atoms/skeleton/Skeleton.js +39 -0
  18. package/lib/esm/backoffice/atoms/skeleton/Skeleton.js.map +1 -0
  19. package/lib/esm/backoffice/atoms/skeleton/skeleton.css.js +12 -0
  20. package/lib/esm/backoffice/atoms/skeleton/skeleton.css.js.map +1 -0
  21. package/lib/esm/backoffice/atoms/spinner/Spinner.js +20 -0
  22. package/lib/esm/backoffice/atoms/spinner/Spinner.js.map +1 -0
  23. package/lib/esm/backoffice/atoms/spinner/spinner.css.js +8 -0
  24. package/lib/esm/backoffice/atoms/spinner/spinner.css.js.map +1 -0
  25. package/lib/esm/backoffice/atoms/status_badge/StatusBadge.js +31 -0
  26. package/lib/esm/backoffice/atoms/status_badge/StatusBadge.js.map +1 -0
  27. package/lib/esm/backoffice/atoms/status_badge/statusBadge.css.js +8 -0
  28. package/lib/esm/backoffice/atoms/status_badge/statusBadge.css.js.map +1 -0
  29. package/lib/esm/backoffice/atoms/tag/Tag.js +32 -0
  30. package/lib/esm/backoffice/atoms/tag/Tag.js.map +1 -0
  31. package/lib/esm/backoffice/atoms/tag/tag.css.js +20 -0
  32. package/lib/esm/backoffice/atoms/tag/tag.css.js.map +1 -0
  33. package/lib/esm/backoffice/layout/backofficeLayoutTokens.js +15 -0
  34. package/lib/esm/backoffice/layout/backofficeLayoutTokens.js.map +1 -0
  35. package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js +34 -0
  36. package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js.map +1 -0
  37. package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js +7 -0
  38. package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js.map +1 -0
  39. package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js +37 -0
  40. package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js.map +1 -0
  41. package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js +7 -0
  42. package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js.map +1 -0
  43. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js +116 -0
  44. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js.map +1 -0
  45. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.js +7 -0
  46. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.js.map +1 -0
  47. package/lib/esm/backoffice/molecules/backoffice_filter_field/BackofficeFilterField.js +28 -0
  48. package/lib/esm/backoffice/molecules/backoffice_filter_field/BackofficeFilterField.js.map +1 -0
  49. package/lib/esm/backoffice/molecules/backoffice_filter_field/backofficeFilterField.css.js +7 -0
  50. package/lib/esm/backoffice/molecules/backoffice_filter_field/backofficeFilterField.css.js.map +1 -0
  51. package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js +37 -0
  52. package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js.map +1 -0
  53. package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js +7 -0
  54. package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js.map +1 -0
  55. package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js +25 -0
  56. package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js.map +1 -0
  57. package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js +7 -0
  58. package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js.map +1 -0
  59. package/lib/esm/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js +80 -0
  60. package/lib/esm/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js.map +1 -0
  61. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.css.js +7 -0
  62. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.css.js.map +1 -0
  63. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +28 -0
  64. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js.map +1 -0
  65. package/lib/esm/backoffice/molecules/backoffice_json_viewer/backofficeJsonViewer.css.js +8 -0
  66. package/lib/esm/backoffice/molecules/backoffice_json_viewer/backofficeJsonViewer.css.js.map +1 -0
  67. package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js +22 -0
  68. package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js.map +1 -0
  69. package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js +7 -0
  70. package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js.map +1 -0
  71. package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js +27 -0
  72. package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js.map +1 -0
  73. package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js +8 -0
  74. package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js.map +1 -0
  75. package/lib/esm/backoffice/molecules/backoffice_page_header/BackofficePageHeader.js +31 -0
  76. package/lib/esm/backoffice/molecules/backoffice_page_header/BackofficePageHeader.js.map +1 -0
  77. package/lib/esm/backoffice/molecules/backoffice_page_header/backofficePageHeader.css.js +7 -0
  78. package/lib/esm/backoffice/molecules/backoffice_page_header/backofficePageHeader.css.js.map +1 -0
  79. package/lib/esm/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js +68 -0
  80. package/lib/esm/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js.map +1 -0
  81. package/lib/esm/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.js +7 -0
  82. package/lib/esm/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.js.map +1 -0
  83. package/lib/esm/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.js +37 -0
  84. package/lib/esm/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.js.map +1 -0
  85. package/lib/esm/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.js +8 -0
  86. package/lib/esm/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.js.map +1 -0
  87. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js +32 -0
  88. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js.map +1 -0
  89. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js +7 -0
  90. package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js.map +1 -0
  91. package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js +31 -0
  92. package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js.map +1 -0
  93. package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js +8 -0
  94. package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js.map +1 -0
  95. package/lib/esm/backoffice/molecules/bulk_actions_bar/BulkActionsBar.js +31 -0
  96. package/lib/esm/backoffice/molecules/bulk_actions_bar/BulkActionsBar.js.map +1 -0
  97. package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js +8 -0
  98. package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js.map +1 -0
  99. package/lib/esm/backoffice/molecules/filter_chip_row/FilterChipRow.js +30 -0
  100. package/lib/esm/backoffice/molecules/filter_chip_row/FilterChipRow.js.map +1 -0
  101. package/lib/esm/backoffice/molecules/filter_chip_row/filterChipRow.css.js +8 -0
  102. package/lib/esm/backoffice/molecules/filter_chip_row/filterChipRow.css.js.map +1 -0
  103. package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js +55 -0
  104. package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js.map +1 -0
  105. package/lib/esm/backoffice/molecules/global_search_input/globalSearchInput.css.js +8 -0
  106. package/lib/esm/backoffice/molecules/global_search_input/globalSearchInput.css.js.map +1 -0
  107. package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js +44 -0
  108. package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js.map +1 -0
  109. package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js +19 -0
  110. package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js.map +1 -0
  111. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js +38 -0
  112. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js.map +1 -0
  113. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js +8 -0
  114. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js.map +1 -0
  115. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +123 -0
  116. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -0
  117. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +8 -0
  118. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -0
  119. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +64 -0
  120. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -0
  121. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +8 -0
  122. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -0
  123. package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js +69 -0
  124. package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js.map +1 -0
  125. package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js +17 -0
  126. package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js.map +1 -0
  127. package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js +42 -0
  128. package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js.map +1 -0
  129. package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js +8 -0
  130. package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js.map +1 -0
  131. package/lib/esm/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js +14 -0
  132. package/lib/esm/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js.map +1 -0
  133. package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js +114 -0
  134. package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js.map +1 -0
  135. package/lib/esm/backoffice/organisms/backoffice_data_table/backofficeDataTable.css.js +8 -0
  136. package/lib/esm/backoffice/organisms/backoffice_data_table/backofficeDataTable.css.js.map +1 -0
  137. package/lib/esm/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js +62 -0
  138. package/lib/esm/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js.map +1 -0
  139. package/lib/esm/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.js +17 -0
  140. package/lib/esm/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.js.map +1 -0
  141. package/lib/esm/backoffice/organisms/backoffice_topbar/BackofficeTopbar.js +22 -0
  142. package/lib/esm/backoffice/organisms/backoffice_topbar/BackofficeTopbar.js.map +1 -0
  143. package/lib/esm/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.js +8 -0
  144. package/lib/esm/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.js.map +1 -0
  145. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js +34 -0
  146. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js.map +1 -0
  147. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js +8 -0
  148. package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js.map +1 -0
  149. package/lib/esm/backoffice/organisms/entity_header/EntityHeader.js +59 -0
  150. package/lib/esm/backoffice/organisms/entity_header/EntityHeader.js.map +1 -0
  151. package/lib/esm/backoffice/organisms/entity_header/entityHeader.css.js +8 -0
  152. package/lib/esm/backoffice/organisms/entity_header/entityHeader.css.js.map +1 -0
  153. package/lib/esm/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js +19 -0
  154. package/lib/esm/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js.map +1 -0
  155. package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js +55 -0
  156. package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js.map +1 -0
  157. package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js +8 -0
  158. package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js.map +1 -0
  159. package/lib/esm/backoffice/templates/list_page_template/ListPageTemplate.js +43 -0
  160. package/lib/esm/backoffice/templates/list_page_template/ListPageTemplate.js.map +1 -0
  161. package/lib/esm/backoffice/templates/list_page_template/listPageTemplate.css.js +8 -0
  162. package/lib/esm/backoffice/templates/list_page_template/listPageTemplate.css.js.map +1 -0
  163. package/lib/esm/backoffice/theme/BackofficeThemeProvider.js +11 -0
  164. package/lib/esm/backoffice/theme/BackofficeThemeProvider.js.map +1 -0
  165. package/lib/esm/backoffice/theme/backofficeTheme.css.js +7 -0
  166. package/lib/esm/backoffice/theme/backofficeTheme.css.js.map +1 -0
  167. package/lib/esm/index.js +49 -4
  168. package/lib/esm/shared/agentJobRequestFormatting.js +31 -0
  169. package/lib/esm/shared/agentJobRequestFormatting.js.map +1 -0
  170. package/lib/esm/shared/agentText.js +13 -0
  171. package/lib/esm/shared/agentText.js.map +1 -0
  172. package/lib/esm/shared/backofficeTableDensity.css.js +9 -0
  173. package/lib/esm/shared/backofficeTableDensity.css.js.map +1 -0
  174. package/lib/esm/style.css +1 -1
  175. package/lib/types/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.d.ts +11 -0
  176. package/lib/types/backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.d.ts.map +1 -0
  177. package/lib/types/backoffice/atoms/backoffice_id_badge/backofficeIdBadge.css.d.ts +2 -0
  178. package/lib/types/backoffice/atoms/backoffice_id_badge/backofficeIdBadge.css.d.ts.map +1 -0
  179. package/lib/types/backoffice/atoms/copyable_text/CopyableText.d.ts +12 -0
  180. package/lib/types/backoffice/atoms/copyable_text/CopyableText.d.ts.map +1 -0
  181. package/lib/types/backoffice/atoms/copyable_text/copyableText.css.d.ts +5 -0
  182. package/lib/types/backoffice/atoms/copyable_text/copyableText.css.d.ts.map +1 -0
  183. package/lib/types/backoffice/atoms/environment_badge/EnvironmentBadge.d.ts +10 -0
  184. package/lib/types/backoffice/atoms/environment_badge/EnvironmentBadge.d.ts.map +1 -0
  185. package/lib/types/backoffice/atoms/environment_badge/environmentBadge.css.d.ts +2 -0
  186. package/lib/types/backoffice/atoms/environment_badge/environmentBadge.css.d.ts.map +1 -0
  187. package/lib/types/backoffice/atoms/shortcut_hint/ShortcutHint.d.ts +8 -0
  188. package/lib/types/backoffice/atoms/shortcut_hint/ShortcutHint.d.ts.map +1 -0
  189. package/lib/types/backoffice/atoms/shortcut_hint/shortcutHint.css.d.ts +3 -0
  190. package/lib/types/backoffice/atoms/shortcut_hint/shortcutHint.css.d.ts.map +1 -0
  191. package/lib/types/backoffice/atoms/skeleton/Skeleton.d.ts +13 -0
  192. package/lib/types/backoffice/atoms/skeleton/Skeleton.d.ts.map +1 -0
  193. package/lib/types/backoffice/atoms/skeleton/skeleton.css.d.ts +8 -0
  194. package/lib/types/backoffice/atoms/skeleton/skeleton.css.d.ts.map +1 -0
  195. package/lib/types/backoffice/atoms/spinner/Spinner.d.ts +9 -0
  196. package/lib/types/backoffice/atoms/spinner/Spinner.d.ts.map +1 -0
  197. package/lib/types/backoffice/atoms/spinner/spinner.css.d.ts +3 -0
  198. package/lib/types/backoffice/atoms/spinner/spinner.css.d.ts.map +1 -0
  199. package/lib/types/backoffice/atoms/status_badge/StatusBadge.d.ts +12 -0
  200. package/lib/types/backoffice/atoms/status_badge/StatusBadge.d.ts.map +1 -0
  201. package/lib/types/backoffice/atoms/status_badge/statusBadge.css.d.ts +3 -0
  202. package/lib/types/backoffice/atoms/status_badge/statusBadge.css.d.ts.map +1 -0
  203. package/lib/types/backoffice/atoms/tag/Tag.d.ts +14 -0
  204. package/lib/types/backoffice/atoms/tag/Tag.d.ts.map +1 -0
  205. package/lib/types/backoffice/atoms/tag/tag.css.d.ts +13 -0
  206. package/lib/types/backoffice/atoms/tag/tag.css.d.ts.map +1 -0
  207. package/lib/types/backoffice/layout/backofficeLayoutTokens.d.ts +12 -0
  208. package/lib/types/backoffice/layout/backofficeLayoutTokens.d.ts.map +1 -0
  209. package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts +10 -0
  210. package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts.map +1 -0
  211. package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts +7 -0
  212. package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts.map +1 -0
  213. package/lib/types/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.d.ts +11 -0
  214. package/lib/types/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.d.ts.map +1 -0
  215. package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts +6 -0
  216. package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts.map +1 -0
  217. package/lib/types/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.d.ts +23 -0
  218. package/lib/types/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.d.ts.map +1 -0
  219. package/lib/types/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.d.ts +17 -0
  220. package/lib/types/backoffice/molecules/backoffice_filter_drawer/backofficeFilterDrawer.css.d.ts.map +1 -0
  221. package/lib/types/backoffice/molecules/backoffice_filter_field/BackofficeFilterField.d.ts +10 -0
  222. package/lib/types/backoffice/molecules/backoffice_filter_field/BackofficeFilterField.d.ts.map +1 -0
  223. package/lib/types/backoffice/molecules/backoffice_filter_field/backofficeFilterField.css.d.ts +6 -0
  224. package/lib/types/backoffice/molecules/backoffice_filter_field/backofficeFilterField.css.d.ts.map +1 -0
  225. package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts +13 -0
  226. package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts.map +1 -0
  227. package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts +6 -0
  228. package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts.map +1 -0
  229. package/lib/types/backoffice/molecules/backoffice_form_section/BackofficeFormSection.d.ts +10 -0
  230. package/lib/types/backoffice/molecules/backoffice_form_section/BackofficeFormSection.d.ts.map +1 -0
  231. package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts +5 -0
  232. package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts.map +1 -0
  233. package/lib/types/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.d.ts +15 -0
  234. package/lib/types/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.d.ts.map +1 -0
  235. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.css.d.ts +2 -0
  236. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.css.d.ts.map +1 -0
  237. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +5 -0
  238. package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -0
  239. package/lib/types/backoffice/molecules/backoffice_json_viewer/backofficeJsonViewer.css.d.ts +7 -0
  240. package/lib/types/backoffice/molecules/backoffice_json_viewer/backofficeJsonViewer.css.d.ts.map +1 -0
  241. package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts +12 -0
  242. package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts.map +1 -0
  243. package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts +7 -0
  244. package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts.map +1 -0
  245. package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts +12 -0
  246. package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts.map +1 -0
  247. package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts +4 -0
  248. package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts.map +1 -0
  249. package/lib/types/backoffice/molecules/backoffice_page_header/BackofficePageHeader.d.ts +11 -0
  250. package/lib/types/backoffice/molecules/backoffice_page_header/BackofficePageHeader.d.ts.map +1 -0
  251. package/lib/types/backoffice/molecules/backoffice_page_header/backofficePageHeader.css.d.ts +8 -0
  252. package/lib/types/backoffice/molecules/backoffice_page_header/backofficePageHeader.css.d.ts.map +1 -0
  253. package/lib/types/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.d.ts +15 -0
  254. package/lib/types/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.d.ts.map +1 -0
  255. package/lib/types/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.d.ts +8 -0
  256. package/lib/types/backoffice/molecules/backoffice_relations_menu/backofficeRelationsMenu.css.d.ts.map +1 -0
  257. package/lib/types/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.d.ts +8 -0
  258. package/lib/types/backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.d.ts.map +1 -0
  259. package/lib/types/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.d.ts +7 -0
  260. package/lib/types/backoffice/molecules/backoffice_table_skeleton/backofficeTableSkeleton.css.d.ts.map +1 -0
  261. package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts +13 -0
  262. package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts.map +1 -0
  263. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts +6 -0
  264. package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts.map +1 -0
  265. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts +16 -0
  266. package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts.map +1 -0
  267. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts +4 -0
  268. package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts.map +1 -0
  269. package/lib/types/backoffice/molecules/bulk_actions_bar/BulkActionsBar.d.ts +12 -0
  270. package/lib/types/backoffice/molecules/bulk_actions_bar/BulkActionsBar.d.ts.map +1 -0
  271. package/lib/types/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.d.ts +4 -0
  272. package/lib/types/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.d.ts.map +1 -0
  273. package/lib/types/backoffice/molecules/filter_chip_row/FilterChipRow.d.ts +15 -0
  274. package/lib/types/backoffice/molecules/filter_chip_row/FilterChipRow.d.ts.map +1 -0
  275. package/lib/types/backoffice/molecules/filter_chip_row/filterChipRow.css.d.ts +2 -0
  276. package/lib/types/backoffice/molecules/filter_chip_row/filterChipRow.css.d.ts.map +1 -0
  277. package/lib/types/backoffice/molecules/global_search_input/GlobalSearchInput.d.ts +14 -0
  278. package/lib/types/backoffice/molecules/global_search_input/GlobalSearchInput.d.ts.map +1 -0
  279. package/lib/types/backoffice/molecules/global_search_input/globalSearchInput.css.d.ts +4 -0
  280. package/lib/types/backoffice/molecules/global_search_input/globalSearchInput.css.d.ts.map +1 -0
  281. package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts +16 -0
  282. package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts.map +1 -0
  283. package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts +17 -0
  284. package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts.map +1 -0
  285. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.d.ts +11 -0
  286. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.d.ts.map +1 -0
  287. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts +4 -0
  288. package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts.map +1 -0
  289. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts +24 -0
  290. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -0
  291. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +15 -0
  292. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -0
  293. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts +24 -0
  294. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -0
  295. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +6 -0
  296. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -0
  297. package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts +23 -0
  298. package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts.map +1 -0
  299. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts +20 -0
  300. package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts.map +1 -0
  301. package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts +13 -0
  302. package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts.map +1 -0
  303. package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts +6 -0
  304. package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts.map +1 -0
  305. package/lib/types/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.d.ts +12 -0
  306. package/lib/types/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.d.ts.map +1 -0
  307. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts +21 -0
  308. package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts.map +1 -0
  309. package/lib/types/backoffice/organisms/backoffice_data_table/backofficeDataTable.css.d.ts +3 -0
  310. package/lib/types/backoffice/organisms/backoffice_data_table/backofficeDataTable.css.d.ts.map +1 -0
  311. package/lib/types/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.d.ts +26 -0
  312. package/lib/types/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.d.ts.map +1 -0
  313. package/lib/types/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.d.ts +19 -0
  314. package/lib/types/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.d.ts.map +1 -0
  315. package/lib/types/backoffice/organisms/backoffice_topbar/BackofficeTopbar.d.ts +10 -0
  316. package/lib/types/backoffice/organisms/backoffice_topbar/BackofficeTopbar.d.ts.map +1 -0
  317. package/lib/types/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.d.ts +6 -0
  318. package/lib/types/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.d.ts.map +1 -0
  319. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts +28 -0
  320. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +1 -0
  321. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts +5 -0
  322. package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts.map +1 -0
  323. package/lib/types/backoffice/organisms/entity_header/EntityHeader.d.ts +19 -0
  324. package/lib/types/backoffice/organisms/entity_header/EntityHeader.d.ts.map +1 -0
  325. package/lib/types/backoffice/organisms/entity_header/entityHeader.css.d.ts +13 -0
  326. package/lib/types/backoffice/organisms/entity_header/entityHeader.css.d.ts.map +1 -0
  327. package/lib/types/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.d.ts +14 -0
  328. package/lib/types/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.d.ts.map +1 -0
  329. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts +25 -0
  330. package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts.map +1 -0
  331. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts +12 -0
  332. package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts.map +1 -0
  333. package/lib/types/backoffice/templates/list_page_template/ListPageTemplate.d.ts +35 -0
  334. package/lib/types/backoffice/templates/list_page_template/ListPageTemplate.d.ts.map +1 -0
  335. package/lib/types/backoffice/templates/list_page_template/listPageTemplate.css.d.ts +9 -0
  336. package/lib/types/backoffice/templates/list_page_template/listPageTemplate.css.d.ts.map +1 -0
  337. package/lib/types/backoffice/theme/BackofficeThemeProvider.d.ts +7 -0
  338. package/lib/types/backoffice/theme/BackofficeThemeProvider.d.ts.map +1 -0
  339. package/lib/types/backoffice/theme/backofficeTheme.css.d.ts +2 -0
  340. package/lib/types/backoffice/theme/backofficeTheme.css.d.ts.map +1 -0
  341. package/lib/types/index.d.ts +45 -0
  342. package/lib/types/index.d.ts.map +1 -1
  343. package/lib/types/shared/agentJobRequestFormatting.d.ts +6 -0
  344. package/lib/types/shared/agentJobRequestFormatting.d.ts.map +1 -0
  345. package/lib/types/shared/agentText.d.ts +3 -0
  346. package/lib/types/shared/agentText.d.ts.map +1 -0
  347. package/lib/types/shared/backofficeTableDensity.css.d.ts +2 -0
  348. package/lib/types/shared/backofficeTableDensity.css.d.ts.map +1 -0
  349. package/package.json +22 -2
@@ -0,0 +1,62 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { SidebarNavSection as t } from "../../molecules/sidebar_nav_section/SidebarNavSection.js";
3
+ import { SidebarCollapseToggle as n } from "../../molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js";
4
+ import { container as r, footer as i, header as a, inner as o, sections as s, widthRecipe as c } from "./backofficeSidebar.css.js";
5
+ import "../../../index.js";
6
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
+ import { useCallback as d, useState as f } from "react";
8
+ //#region src/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.tsx
9
+ var p = ({ header: p, search: m, footer: h, sections: g, isCollapsed: _, defaultCollapsed: v = !1, onCollapsedChange: y, collapseToggleLabel: b, collapseShortcut: x, className: S }) => {
10
+ let [C, w] = f(v), T = _ ?? C, E = d(() => {
11
+ let e = !T;
12
+ _ ?? w(e), y?.(e);
13
+ }, [
14
+ T,
15
+ _,
16
+ y
17
+ ]), D = "expanded";
18
+ T && (D = "collapsed");
19
+ let O = null;
20
+ return h != null && (O = /* @__PURE__ */ l("div", {
21
+ className: i,
22
+ children: h
23
+ })), /* @__PURE__ */ l("aside", {
24
+ className: e(r, c({ state: D }), S),
25
+ children: /* @__PURE__ */ u("div", {
26
+ className: o,
27
+ children: [
28
+ /* @__PURE__ */ u("div", {
29
+ className: a,
30
+ children: [p, /* @__PURE__ */ l(n, {
31
+ isCollapsed: T,
32
+ onToggle: E,
33
+ label: b,
34
+ shortcut: x
35
+ })]
36
+ }),
37
+ m != null && /* @__PURE__ */ l("div", {
38
+ className: "_15szdsj7 txvbqbnuo txvbqbohx txvbqb9io txvbqbai6 txvbqbao6",
39
+ children: m
40
+ }),
41
+ /* @__PURE__ */ l("nav", {
42
+ className: s,
43
+ "aria-label": "Backoffice navigation",
44
+ children: g.map((e) => /* @__PURE__ */ l(t, {
45
+ title: e.title,
46
+ items: e.items,
47
+ collapsible: e.collapsible,
48
+ defaultCollapsed: e.defaultCollapsed,
49
+ isCollapsed: e.isCollapsed,
50
+ onCollapsedChange: e.onCollapsedChange,
51
+ collapsed: T
52
+ }, e.id))
53
+ }),
54
+ O
55
+ ]
56
+ })
57
+ });
58
+ };
59
+ //#endregion
60
+ export { p as BackofficeSidebar, p as default };
61
+
62
+ //# sourceMappingURL=BackofficeSidebar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeSidebar.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.tsx"],"sourcesContent":["import { useCallback, useState, type JSX, type ReactNode } from 'react';\nimport type { RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { SidebarCollapseToggle } from '../../molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js';\nimport {\n SidebarNavSection,\n type SidebarNavSectionItem,\n} from '../../molecules/sidebar_nav_section/SidebarNavSection.js';\n\nimport * as styles from './backofficeSidebar.css.js';\nimport { cx } from '@plumile/ui';\n\nexport type BackofficeSidebarSection = {\n id: string;\n title?: ReactNode;\n items: readonly SidebarNavSectionItem[];\n collapsible?: boolean;\n defaultCollapsed?: boolean;\n isCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n};\n\nexport type BackofficeSidebarProps = {\n header?: ReactNode;\n search?: ReactNode;\n footer?: ReactNode;\n sections: readonly BackofficeSidebarSection[];\n isCollapsed?: boolean;\n defaultCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n collapseToggleLabel?: ReactNode;\n collapseShortcut?: readonly string[] | string;\n className?: string;\n};\n\nexport const BackofficeSidebar = ({\n header,\n search,\n footer,\n sections,\n isCollapsed,\n defaultCollapsed = false,\n onCollapsedChange,\n collapseToggleLabel,\n collapseShortcut,\n className,\n}: BackofficeSidebarProps): JSX.Element => {\n const [uncontrolledCollapsed, setUncontrolledCollapsed] =\n useState(defaultCollapsed);\n\n const collapsed = isCollapsed ?? uncontrolledCollapsed;\n\n const handleToggleCollapsed = useCallback(() => {\n const next = !collapsed;\n if (isCollapsed == null) {\n setUncontrolledCollapsed(next);\n }\n onCollapsedChange?.(next);\n }, [collapsed, isCollapsed, onCollapsedChange]);\n\n let widthKey: NonNullable<\n NonNullable<RecipeVariants<typeof styles.widthRecipe>>['state']\n > = 'expanded';\n if (collapsed) {\n widthKey = 'collapsed';\n }\n\n let footerNode: JSX.Element | null = null;\n if (footer != null) {\n footerNode = <div className={styles.footer}>{footer}</div>;\n }\n\n return (\n <aside\n className={cx(\n styles.container,\n styles.widthRecipe({ state: widthKey }),\n className,\n )}\n >\n <div className={styles.inner}>\n <div className={styles.header}>\n {header}\n <SidebarCollapseToggle\n isCollapsed={collapsed}\n onToggle={handleToggleCollapsed}\n label={collapseToggleLabel}\n shortcut={collapseShortcut}\n />\n </div>\n\n {search != null && <div className={styles.search}>{search}</div>}\n <nav className={styles.sections} aria-label=\"Backoffice navigation\">\n {sections.map((section) => {\n return (\n <SidebarNavSection\n key={section.id}\n title={section.title}\n items={section.items}\n collapsible={section.collapsible}\n defaultCollapsed={section.defaultCollapsed}\n isCollapsed={section.isCollapsed}\n onCollapsedChange={section.onCollapsedChange}\n collapsed={collapsed}\n />\n );\n })}\n </nav>\n\n {footerNode}\n </div>\n </aside>\n );\n};\n\nexport default BackofficeSidebar;\n"],"mappings":";;;;;;;;AAmCA,IAAa,KAAqB,EAChC,QAAA,GACA,QAAA,GACA,QAAA,GACA,UAAA,GACA,gBACA,sBAAmB,IACnB,sBACA,wBACA,qBACA,mBACyC;CACzC,IAAM,CAAC,GAAuB,KAC5B,EAAS,EAAiB,EAEtB,IAAY,KAAe,GAE3B,IAAwB,QAAkB;EAC9C,IAAM,IAAO,CAAC;AAId,EAHI,KACF,EAAyB,EAAK,EAEhC,IAAoB,EAAK;IACxB;EAAC;EAAW;EAAa;EAAkB,CAAC,EAE3C,IAEA;AACJ,CAAI,MACF,IAAW;CAGb,IAAI,IAAiC;AAKrC,QAJI,KAAU,SACZ,IAAa,kBAAC,OAAD;EAAK,WAAW;YAAgB;EAAa,CAAA,GAI1D,kBAAC,SAAD;EACE,WAAW,EACT,GACA,EAAmB,EAAE,OAAO,GAAU,CAAC,EACvC,EACD;YAED,kBAAC,OAAD;GAAK,WAAW;aAAhB;IACE,kBAAC,OAAD;KAAK,WAAW;eAAhB,CACG,GACD,kBAAC,GAAD;MACE,aAAa;MACb,UAAU;MACV,OAAO;MACP,UAAU;MACV,CAAA,CACE;;IAEL,KAAU,QAAQ,kBAAC,OAAD;KAAK,WAAW;eAAgB;KAAa,CAAA;IAChE,kBAAC,OAAD;KAAK,WAAW;KAAiB,cAAW;eACzC,EAAS,KAAK,MAEX,kBAAC,GAAD;MAEE,OAAO,EAAQ;MACf,OAAO,EAAQ;MACf,aAAa,EAAQ;MACrB,kBAAkB,EAAQ;MAC1B,aAAa,EAAQ;MACrB,mBAAmB,EAAQ;MAChB;MACX,EARK,EAAQ,GAQb,CAEJ;KACE,CAAA;IAEL;IACG;;EACA,CAAA"}
@@ -0,0 +1,17 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
4
+ //#region src/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.ts
5
+ var t = "_15szdsj0 txvbqb9io txvbqbai6 txvbqbcff txvbqbv2r txvbqb12f txvbqb1qf txvbqb5fx txvbqb306", n = e({
6
+ defaultClassName: "_15szdsj1",
7
+ variantClassNames: { state: {
8
+ expanded: "_15szdsj2",
9
+ collapsed: "_15szdsj3"
10
+ } },
11
+ defaultVariants: { state: "expanded" },
12
+ compoundVariants: []
13
+ }), r = "_15szdsj4 txvbqb9io txvbqbai6 txvbqbaoo txvbqblaf txvbqbcff txvbqbjg6", i = "_15szdsj5 txvbqbnuo txvbqbohx txvbqb9io txvbqbco txvbqbdoo txvbqbao6", a = "_15szdsj6 txvbqb9io txvbqbai6 txvbqbaoo txvbqb9mx txvbqbjg6 txvbqbl7o", o = "_15szdsj7 txvbqbnuo txvbqbohx txvbqb9io txvbqbai6 txvbqbao6", s = "_15szdsj8 txvbqbnuo txvbqbohx txvbqb9io txvbqbai6 txvbqbao6";
14
+ //#endregion
15
+ export { t as container, s as footer, i as header, r as inner, o as search, a as sections, n as widthRecipe };
16
+
17
+ //# sourceMappingURL=backofficeSidebar.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeSidebar.css.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.ts"],"sourcesContent":["import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';\n\nimport { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\nimport { vars } from '@plumile/ui/theme/themeContract.js';\n\nexport const container = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n height: 'full',\n backgroundColor: 'surface',\n borderWidth: 0,\n borderStyle: 'solid',\n borderRightWidth: 'px',\n borderRightColor: 'borderSubtle',\n});\n\nexport const widthRecipe = recipe({\n variants: {\n state: {\n expanded: { width: vars.width[64] },\n collapsed: { width: vars.width[17.5] },\n },\n },\n defaultVariants: {\n state: 'expanded',\n },\n});\n\nexport type WidthRecipeVariants = RecipeVariants<typeof widthRecipe>;\n\nexport const inner = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n padding: 4,\n height: 'full',\n minHeight: 0,\n});\n\nexport const header = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 2,\n paddingX: 1,\n});\n\nexport const sections = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n flex: 1,\n minHeight: 0,\n overflowY: 'auto',\n});\n\nexport const search = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n paddingX: 1,\n});\n\nexport const footer = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n paddingX: 1,\n});\n"],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { container as t, left as n, right as r, row as i } from "./backofficeTopbar.css.js";
3
+ import "../../../index.js";
4
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
+ //#region src/backoffice/organisms/backoffice_topbar/BackofficeTopbar.tsx
6
+ var s = ({ breadcrumb: s, leftSlot: c, rightSlot: l, className: u }) => /* @__PURE__ */ a("div", {
7
+ className: e(t, u),
8
+ children: /* @__PURE__ */ o("div", {
9
+ className: i,
10
+ children: [/* @__PURE__ */ o("div", {
11
+ className: n,
12
+ children: [s, c]
13
+ }), /* @__PURE__ */ a("div", {
14
+ className: r,
15
+ children: l
16
+ })]
17
+ })
18
+ });
19
+ //#endregion
20
+ export { s as BackofficeTopbar, s as default };
21
+
22
+ //# sourceMappingURL=BackofficeTopbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeTopbar.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_topbar/BackofficeTopbar.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './backofficeTopbar.css.js';\nimport { cx } from '@plumile/ui';\n\nexport type BackofficeTopbarProps = {\n breadcrumb?: ReactNode;\n leftSlot?: ReactNode;\n rightSlot?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeTopbar = ({\n breadcrumb,\n leftSlot,\n rightSlot,\n className,\n}: BackofficeTopbarProps): JSX.Element => {\n return (\n <div className={cx(styles.container, className)}>\n <div className={styles.row}>\n <div className={styles.left}>\n {breadcrumb}\n {leftSlot}\n </div>\n <div className={styles.right}>{rightSlot}</div>\n </div>\n </div>\n );\n};\n\nexport default BackofficeTopbar;\n"],"mappings":";;;;;AAYA,IAAa,KAAoB,EAC/B,eACA,aACA,cACA,mBAGE,kBAAC,OAAD;CAAK,WAAW,EAAG,GAAkB,EAAU;WAC7C,kBAAC,OAAD;EAAK,WAAW;YAAhB,CACE,kBAAC,OAAD;GAAK,WAAW;aAAhB,CACG,GACA,EACG;MACN,kBAAC,OAAD;GAAK,WAAW;aAAe;GAAgB,CAAA,CAC3C;;CACF,CAAA"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.ts
4
+ var e = "_1q9x83s0 txvbqb9io txvbqbai6 txvbqbaof txvbqbk4x txvbqbu6f", t = "_1q9x83s1 txvbqb9io txvbqbco txvbqbaoo txvbqbajx txvbqbk4x", n = "_1q9x83s2 txvbqb9io txvbqbco txvbqbaof txvbqb9mx txvbqbk4x", r = "_1q9x83s3 txvbqb9jf txvbqbco txvbqbao6 txvbqbdo6 txvbqbaj6", i = "_1q9x83s4 txvbqb9jf txvbqbco txvbqbc66 txvbqbuho txvbqbv3d";
5
+ //#endregion
6
+ export { e as container, i as divider, n as left, r as right, t as row };
7
+
8
+ //# sourceMappingURL=backofficeTopbar.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeTopbar.css.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.ts"],"sourcesContent":["import { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n minWidth: 0,\n width: 'full',\n});\n\nexport const row = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 4,\n flexWrap: 'wrap',\n minWidth: 0,\n});\n\nexport const left = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 3,\n flex: 1,\n minWidth: 0,\n});\n\nexport const right = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n justifyContent: 'flex-end',\n flexShrink: 0,\n});\n\nexport const divider = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n height: 6,\n width: 0.5,\n backgroundColor: 'border',\n});\n"],"mappings":""}
@@ -0,0 +1,34 @@
1
+ import { VirtualizedConnectionTable as e } from "../../../components/data-table/VirtualizedConnectionTable.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.tsx
4
+ var n = (e) => {
5
+ if (e != null) return {
6
+ enabled: e.enabled,
7
+ rowHeightPx: e.rowHeightPx,
8
+ overscan: e.overscan
9
+ };
10
+ }, r = (e) => {
11
+ if (e != null) return {
12
+ enabled: e.enabled,
13
+ thresholdPx: e.thresholdPx,
14
+ autoLoad: e.autoLoad
15
+ };
16
+ }, i = ({ columns: i, rows: a, getRowId: o, emptyState: s, className: c, gridTemplateColumns: l, virtualization: u, infiniteScroll: d, hasNextPage: f, isLoadingMore: p, onLoadMore: m }) => /* @__PURE__ */ t(e, {
17
+ columns: i,
18
+ rows: a,
19
+ getRowId: o,
20
+ emptyState: s,
21
+ className: c,
22
+ gridTemplateColumns: l,
23
+ kind: void 0,
24
+ classes: void 0,
25
+ virtualization: n(u),
26
+ infiniteScroll: r(d),
27
+ hasNextPage: f,
28
+ isLoadingMore: p,
29
+ onLoadMore: m
30
+ });
31
+ //#endregion
32
+ export { i as BackofficeVirtualizedConnectionTable, i as default };
33
+
34
+ //# sourceMappingURL=BackofficeVirtualizedConnectionTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeVirtualizedConnectionTable.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.tsx"],"sourcesContent":["import { type JSX } from 'react';\nimport {\n VirtualizedConnectionTable,\n type InfiniteScrollConfig,\n type VirtualizationConfig,\n} from '@plumile/ui/components/data-table/VirtualizedConnectionTable.js';\nimport type {\n DataTableColumn,\n GetRowId,\n} from '@plumile/ui/components/data-table/DataTable.js';\n\nexport type BackofficeVirtualizationConfig = {\n enabled: boolean;\n rowHeightPx: number;\n overscan: number;\n};\n\nexport type BackofficeInfiniteScrollConfig = {\n enabled: boolean;\n thresholdPx?: number;\n autoLoad?: boolean;\n};\n\nexport type BackofficeVirtualizedConnectionTableProps<Row> = {\n columns: readonly DataTableColumn<Row>[];\n rows: readonly Row[];\n getRowId: GetRowId<Row>;\n emptyState?: JSX.Element;\n className?: string;\n gridTemplateColumns?: string;\n\n virtualization?: BackofficeVirtualizationConfig;\n\n infiniteScroll?: BackofficeInfiniteScrollConfig;\n hasNextPage?: boolean;\n isLoadingMore?: boolean;\n onLoadMore?: () => void;\n};\n\nconst mapVirtualization = (\n config?: BackofficeVirtualizationConfig,\n): VirtualizationConfig | undefined => {\n if (config == null) {\n return undefined;\n }\n return {\n enabled: config.enabled,\n rowHeightPx: config.rowHeightPx,\n overscan: config.overscan,\n };\n};\n\nconst mapInfiniteScroll = (\n config?: BackofficeInfiniteScrollConfig,\n): InfiniteScrollConfig | undefined => {\n if (config == null) {\n return undefined;\n }\n return {\n enabled: config.enabled,\n thresholdPx: config.thresholdPx,\n autoLoad: config.autoLoad,\n };\n};\n\nexport const BackofficeVirtualizedConnectionTable = <Row,>({\n columns,\n rows,\n getRowId,\n emptyState,\n className,\n gridTemplateColumns,\n virtualization,\n infiniteScroll,\n hasNextPage,\n isLoadingMore,\n onLoadMore,\n}: BackofficeVirtualizedConnectionTableProps<Row>): JSX.Element => {\n return (\n <VirtualizedConnectionTable\n columns={columns}\n rows={rows}\n getRowId={getRowId}\n emptyState={emptyState}\n className={className}\n gridTemplateColumns={gridTemplateColumns}\n kind={undefined}\n classes={undefined}\n virtualization={mapVirtualization(virtualization)}\n infiniteScroll={mapInfiniteScroll(infiniteScroll)}\n hasNextPage={hasNextPage}\n isLoadingMore={isLoadingMore}\n onLoadMore={onLoadMore}\n />\n );\n};\n\nexport default BackofficeVirtualizedConnectionTable;\n"],"mappings":";;;AAuCA,IAAM,KACJ,MACqC;AACjC,UAAU,KAGd,QAAO;EACL,SAAS,EAAO;EAChB,aAAa,EAAO;EACpB,UAAU,EAAO;EAClB;GAGG,KACJ,MACqC;AACjC,UAAU,KAGd,QAAO;EACL,SAAS,EAAO;EAChB,aAAa,EAAO;EACpB,UAAU,EAAO;EAClB;GAGU,KAA8C,EACzD,YACA,SACA,aACA,eACA,cACA,wBACA,mBACA,mBACA,gBACA,kBACA,oBAGE,kBAAC,GAAD;CACW;CACH;CACI;CACE;CACD;CACU;CACrB,MAAM,KAAA;CACN,SAAS,KAAA;CACT,gBAAgB,EAAkB,EAAe;CACjD,gBAAgB,EAAkB,EAAe;CACpC;CACE;CACH;CACZ,CAAA"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.ts
4
+ var e = "_13x579i0 txvbqbuw6 txvbqbl6f txvbqbt6f txvbqbk4x", t = "_13x579i1 txvbqbpsf", n = "_13x579i2 txvbqbu6f", r = "_13x579i3 txvbqbu6f txvbqbc4x";
5
+ //#endregion
6
+ export { t as bodyViewport, r as sentinel, e as singleLineCell, n as spacer };
7
+
8
+ //# sourceMappingURL=backofficeVirtualizedConnectionTable.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeVirtualizedConnectionTable.css.js","names":[],"sources":["../../../../../src/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.ts"],"sourcesContent":["import { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\n\nexport const singleLineCell = sprinkles({\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n minWidth: 0,\n});\n\nexport const bodyViewport = sprinkles({\n position: 'relative',\n});\n\nexport const spacer = sprinkles({\n width: 'full',\n});\n\nexport const sentinel = sprinkles({\n width: 'full',\n height: 1,\n});\n"],"mappings":""}
@@ -0,0 +1,59 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { badgeRow as t, container as n, meta as r, metaItem as i, metaLabel as a, metaSlot as o, metaValue as s, subtitle as c, title as l, titleBlock as u, titleRow as d, topRow as f } from "./entityHeader.css.js";
3
+ import "../../../index.js";
4
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
5
+ //#region src/backoffice/organisms/entity_header/EntityHeader.tsx
6
+ var h = ({ title: h, subtitle: g, status: _, badges: v, actions: y, items: b = [], metaSlot: x, className: S }) => {
7
+ let C = null;
8
+ g != null && (C = /* @__PURE__ */ p("div", {
9
+ className: c,
10
+ children: g
11
+ }));
12
+ let w = null;
13
+ (_ != null || v != null) && (w = /* @__PURE__ */ m("div", {
14
+ className: t,
15
+ children: [_, v]
16
+ }));
17
+ let T = null;
18
+ b.length > 0 && (T = /* @__PURE__ */ p("div", {
19
+ className: r,
20
+ children: b.map((e) => /* @__PURE__ */ m("div", {
21
+ className: i,
22
+ children: [/* @__PURE__ */ p("div", {
23
+ className: a,
24
+ children: e.label
25
+ }), /* @__PURE__ */ p("div", {
26
+ className: s,
27
+ children: e.value
28
+ })]
29
+ }, e.id))
30
+ }));
31
+ let E = null;
32
+ return x != null && (E = /* @__PURE__ */ p("div", {
33
+ className: o,
34
+ children: x
35
+ })), /* @__PURE__ */ m("div", {
36
+ className: e(n, S),
37
+ children: [
38
+ /* @__PURE__ */ m("div", {
39
+ className: f,
40
+ children: [/* @__PURE__ */ m("div", {
41
+ className: u,
42
+ children: [/* @__PURE__ */ m("div", {
43
+ className: d,
44
+ children: [/* @__PURE__ */ p("div", {
45
+ className: l,
46
+ children: h
47
+ }), w]
48
+ }), C]
49
+ }), y]
50
+ }),
51
+ E,
52
+ T
53
+ ]
54
+ });
55
+ };
56
+ //#endregion
57
+ export { h as EntityHeader, h as default };
58
+
59
+ //# sourceMappingURL=EntityHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityHeader.js","names":[],"sources":["../../../../../src/backoffice/organisms/entity_header/EntityHeader.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './entityHeader.css.js';\nimport { cx } from '@plumile/ui';\n\nexport type EntityHeaderItem = {\n id: string;\n label: ReactNode;\n value: ReactNode;\n};\n\nexport type EntityHeaderProps = {\n title: ReactNode;\n subtitle?: ReactNode;\n status?: ReactNode;\n badges?: ReactNode;\n actions?: ReactNode;\n items?: readonly EntityHeaderItem[];\n metaSlot?: ReactNode;\n className?: string;\n};\n\nexport const EntityHeader = ({\n title,\n subtitle,\n status,\n badges,\n actions,\n items = [],\n metaSlot,\n className,\n}: EntityHeaderProps): JSX.Element => {\n let subtitleNode: JSX.Element | null = null;\n if (subtitle != null) {\n subtitleNode = <div className={styles.subtitle}>{subtitle}</div>;\n }\n\n let badgesNode: JSX.Element | null = null;\n if (status != null || badges != null) {\n badgesNode = (\n <div className={styles.badgeRow}>\n {status}\n {badges}\n </div>\n );\n }\n\n let itemsNode: JSX.Element | null = null;\n if (items.length > 0) {\n itemsNode = (\n <div className={styles.meta}>\n {items.map((item) => {\n return (\n <div key={item.id} className={styles.metaItem}>\n <div className={styles.metaLabel}>{item.label}</div>\n <div className={styles.metaValue}>{item.value}</div>\n </div>\n );\n })}\n </div>\n );\n }\n\n let metaSlotNode: JSX.Element | null = null;\n if (metaSlot != null) {\n metaSlotNode = <div className={styles.metaSlot}>{metaSlot}</div>;\n }\n\n return (\n <div className={cx(styles.container, className)}>\n <div className={styles.topRow}>\n <div className={styles.titleBlock}>\n <div className={styles.titleRow}>\n <div className={styles.title}>{title}</div>\n {badgesNode}\n </div>\n {subtitleNode}\n </div>\n {actions}\n </div>\n\n {metaSlotNode}\n {itemsNode}\n </div>\n );\n};\n\nexport default EntityHeader;\n"],"mappings":";;;;;AAsBA,IAAa,KAAgB,EAC3B,OAAA,GACA,UAAA,GACA,WACA,WACA,YACA,WAAQ,EAAE,EACV,UAAA,GACA,mBACoC;CACpC,IAAI,IAAmC;AACvC,CAAI,KAAY,SACd,IAAe,kBAAC,OAAD;EAAK,WAAW;YAAkB;EAAe,CAAA;CAGlE,IAAI,IAAiC;AACrC,EAAI,KAAU,QAAQ,KAAU,UAC9B,IACE,kBAAC,OAAD;EAAK,WAAW;YAAhB,CACG,GACA,EACG;;CAIV,IAAI,IAAgC;AACpC,CAAI,EAAM,SAAS,MACjB,IACE,kBAAC,OAAD;EAAK,WAAW;YACb,EAAM,KAAK,MAER,kBAAC,OAAD;GAAmB,WAAW;aAA9B,CACE,kBAAC,OAAD;IAAK,WAAW;cAAmB,EAAK;IAAY,CAAA,EACpD,kBAAC,OAAD;IAAK,WAAW;cAAmB,EAAK;IAAY,CAAA,CAChD;KAHI,EAAK,GAGT,CAER;EACE,CAAA;CAIV,IAAI,IAAmC;AAKvC,QAJI,KAAY,SACd,IAAe,kBAAC,OAAD;EAAK,WAAW;YAAkB;EAAe,CAAA,GAIhE,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAkB,EAAU;YAA/C;GACE,kBAAC,OAAD;IAAK,WAAW;cAAhB,CACE,kBAAC,OAAD;KAAK,WAAW;eAAhB,CACE,kBAAC,OAAD;MAAK,WAAW;gBAAhB,CACE,kBAAC,OAAD;OAAK,WAAW;iBAAe;OAAY,CAAA,EAC1C,EACG;SACL,EACG;QACL,EACG;;GAEL;GACA;GACG"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/organisms/entity_header/entityHeader.css.ts
4
+ var e = "bvz2760 txvbqb9io txvbqbai6 txvbqbaof", t = "bvz2761 txvbqb9io txvbqbcf txvbqbdoo txvbqbaoo txvbqbajx", n = "bvz2762 txvbqb9io txvbqbai6 txvbqbao6 txvbqbk4x txvbqb9mx", r = "bvz2763 txvbqb9io txvbqbco txvbqbao6 txvbqbajx txvbqbk4x", i = "bvz2764 txvbqba6 txvbqbf7f txvbqbamo txvbqbv8p", a = "bvz2765 txvbqb9jf txvbqbajx txvbqbb9o txvbqbco", o = "bvz2766 txvbqb96 txvbqbv8r", s = "bvz2767 txvbqb9io txvbqbajx txvbqbao6", c = "bvz2768 txvbqb9ix txvbqbao6 txvbqbbz6 txvbqbp56", l = "bvz2769 txvbqb9io txvbqbai6 txvbqbanx txvbqbla6 txvbqb1ro txvbqbv2v txvbqb1co txvbqb1qf txvbqbwo", u = "bvz276a txvbqb8o txvbqbv8t txvbqb66 txvbqbeef txvbqbamo", d = "bvz276b txvbqb96 txvbqbv8p txvbqbamf";
5
+ //#endregion
6
+ export { a as badgeRow, e as container, c as meta, l as metaItem, u as metaLabel, s as metaSlot, d as metaValue, o as subtitle, i as title, n as titleBlock, r as titleRow, t as topRow };
7
+
8
+ //# sourceMappingURL=entityHeader.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entityHeader.css.js","names":[],"sources":["../../../../../src/backoffice/organisms/entity_header/entityHeader.css.ts"],"sourcesContent":["import { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n});\n\nexport const topRow = sprinkles({\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n gap: 4,\n flexWrap: 'wrap',\n});\n\nexport const titleBlock = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n minWidth: 0,\n flex: 1,\n});\n\nexport const titleRow = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 2,\n flexWrap: 'wrap',\n minWidth: 0,\n});\n\nexport const title = sprinkles({\n fontSize: '3xl',\n lineHeight: '3xl',\n fontWeight: 'semibold',\n color: 'text',\n});\n\nexport const badgeRow = sprinkles({\n display: 'inline-flex',\n flexWrap: 'wrap',\n gap: 1.5,\n alignItems: 'center',\n});\n\nexport const subtitle = sprinkles({\n fontSize: 'base',\n color: 'textSecondary',\n});\n\nexport const metaSlot = sprinkles({\n display: 'flex',\n flexWrap: 'wrap',\n gap: 2,\n});\n\nexport const meta = sprinkles({\n display: 'grid',\n gap: 2,\n gridTemplateColumns: 'autoFitMinmax12_5rem',\n paddingTop: 1,\n});\n\nexport const metaItem = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1,\n padding: 3,\n borderRadius: 'lg',\n backgroundColor: 'surfaceMuted',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n});\n\nexport const metaLabel = sprinkles({\n fontSize: 'xs',\n color: 'textMuted',\n textTransform: 'uppercase',\n letterSpacing: 'caps',\n fontWeight: 'semibold',\n});\n\nexport const metaValue = sprinkles({\n fontSize: 'base',\n color: 'text',\n fontWeight: 'medium',\n});\n"],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { BackofficeAppShell as e } from "../../organisms/backoffice_app_shell/BackofficeAppShell.js";
2
+ import { BackofficeSidebar as t } from "../../organisms/backoffice_sidebar/BackofficeSidebar.js";
3
+ import { BackofficeTopbar as n } from "../../organisms/backoffice_topbar/BackofficeTopbar.js";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region src/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.tsx
6
+ var i = ({ children: i, sidebar: a, topbar: o, actions: s, tabs: c }) => {
7
+ let l = /* @__PURE__ */ r(t, { ...a }), u = null;
8
+ return o != null && (u = /* @__PURE__ */ r(n, { ...o })), /* @__PURE__ */ r(e, {
9
+ sidebar: l,
10
+ breadcrumbSlot: u,
11
+ actions: s,
12
+ tabs: c,
13
+ children: i
14
+ });
15
+ };
16
+ //#endregion
17
+ export { i as BackofficeShellTemplate, i as default };
18
+
19
+ //# sourceMappingURL=BackofficeShellTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeShellTemplate.js","names":[],"sources":["../../../../../src/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { BackofficeAppShell } from '../../organisms/backoffice_app_shell/BackofficeAppShell.js';\nimport {\n BackofficeSidebar,\n type BackofficeSidebarProps,\n} from '../../organisms/backoffice_sidebar/BackofficeSidebar.js';\nimport {\n BackofficeTopbar,\n type BackofficeTopbarProps,\n} from '../../organisms/backoffice_topbar/BackofficeTopbar.js';\nimport type {\n PageShellActions,\n PageShellTab,\n} from '@plumile/ui/components/layout/PageShell.js';\n\nexport type BackofficeShellTemplateProps = {\n children: ReactNode;\n sidebar: BackofficeSidebarProps;\n topbar?: BackofficeTopbarProps;\n actions?: PageShellActions;\n tabs?: PageShellTab[];\n};\n\nexport const BackofficeShellTemplate = ({\n children,\n sidebar,\n topbar,\n actions,\n tabs,\n}: BackofficeShellTemplateProps): JSX.Element => {\n const sidebarNode = <BackofficeSidebar {...sidebar} />;\n let topbarNode: JSX.Element | null = null;\n if (topbar != null) {\n topbarNode = <BackofficeTopbar {...topbar} />;\n }\n\n return (\n <BackofficeAppShell\n sidebar={sidebarNode}\n breadcrumbSlot={topbarNode}\n actions={actions}\n tabs={tabs}\n >\n {children}\n </BackofficeAppShell>\n );\n};\n\nexport default BackofficeShellTemplate;\n"],"mappings":";;;;;AAwBA,IAAa,KAA2B,EACtC,aACA,YACA,WACA,YACA,cAC+C;CAC/C,IAAM,IAAc,kBAAC,GAAD,EAAmB,GAAI,GAAW,CAAA,EAClD,IAAiC;AAKrC,QAJI,KAAU,SACZ,IAAa,kBAAC,GAAD,EAAkB,GAAI,GAAU,CAAA,GAI7C,kBAAC,GAAD;EACE,SAAS;EACT,gBAAgB;EACP;EACH;EAEL;EACkB,CAAA"}
@@ -0,0 +1,55 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { EntityHeader as t } from "../../organisms/entity_header/EntityHeader.js";
3
+ import { body as n, container as r, headerCard as i, rowSingle as a, rowSplit as o, rowSplitBase as s, sidePanelBase as c, sidePanelCard as l, sidePanelPlain as u, sidePanelTopVar as d } from "./detailPageTemplate.css.js";
4
+ import "../../../index.js";
5
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
+ //#region src/backoffice/templates/detail_page_template/DetailPageTemplate.tsx
7
+ var m = (m) => {
8
+ let { children: h, aboveContent: g, className: _, tabsNode: v, sidePanel: y, sidePanelVariant: b = "card", sidePanelStickyTop: x, layoutVariant: S } = m, C = y != null, w = "single";
9
+ C && (w = "split");
10
+ let T = S ?? w;
11
+ C || (T = "single");
12
+ let E = T === "split", D = a;
13
+ E && (D = e(o, s));
14
+ let O;
15
+ O = "headerNode" in m ? m.headerNode : /* @__PURE__ */ f(t, { ...m.header });
16
+ let k = x?.trim(), A;
17
+ k != null && k !== "" && (A = { [d]: k });
18
+ let j = l;
19
+ b === "plain" && (j = u);
20
+ let M = e(c, j);
21
+ return /* @__PURE__ */ p("div", {
22
+ className: e(r, _),
23
+ style: A,
24
+ children: [
25
+ /* @__PURE__ */ f("div", {
26
+ className: D,
27
+ children: /* @__PURE__ */ f("div", {
28
+ className: i,
29
+ children: O
30
+ })
31
+ }),
32
+ v != null && /* @__PURE__ */ f("div", {
33
+ className: D,
34
+ children: /* @__PURE__ */ f("div", {
35
+ className: "eno74pd eno74pc txvbqbpsx txvbqbv2r txvbqblx6 txvbqbt7x",
36
+ children: v
37
+ })
38
+ }),
39
+ /* @__PURE__ */ p("div", {
40
+ className: D,
41
+ children: [/* @__PURE__ */ p("div", {
42
+ className: n,
43
+ children: [g, h]
44
+ }), C && /* @__PURE__ */ f("aside", {
45
+ className: M,
46
+ children: y
47
+ })]
48
+ })
49
+ ]
50
+ });
51
+ };
52
+ //#endregion
53
+ export { m as DetailPageTemplate, m as default };
54
+
55
+ //# sourceMappingURL=DetailPageTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailPageTemplate.js","names":[],"sources":["../../../../../src/backoffice/templates/detail_page_template/DetailPageTemplate.tsx"],"sourcesContent":["import { type CSSProperties, type JSX, type ReactNode } from 'react';\n\nimport {\n EntityHeader,\n type EntityHeaderProps,\n} from '../../organisms/entity_header/EntityHeader.js';\nimport * as styles from './detailPageTemplate.css.js';\nimport { cx } from '@plumile/ui';\n\ntype WithHeaderProps = {\n header: EntityHeaderProps;\n headerNode?: never;\n};\n\ntype WithHeaderNode = {\n header?: never;\n headerNode: ReactNode;\n};\n\nexport type DetailSidePanelVariant = 'card' | 'plain';\nexport type DetailLayoutVariant = 'single' | 'split';\n\nexport type DetailPageTemplateProps = (WithHeaderProps | WithHeaderNode) & {\n children: ReactNode;\n aboveContent?: ReactNode;\n tabsNode?: ReactNode;\n sidePanel?: ReactNode;\n sidePanelVariant?: DetailSidePanelVariant;\n sidePanelStickyTop?: string;\n layoutVariant?: DetailLayoutVariant;\n className?: string;\n};\n\nexport const DetailPageTemplate = (\n props: DetailPageTemplateProps,\n): JSX.Element => {\n const {\n children,\n aboveContent,\n className,\n tabsNode,\n sidePanel,\n sidePanelVariant = 'card',\n sidePanelStickyTop,\n layoutVariant,\n } = props;\n\n const hasSidePanel = sidePanel != null;\n let autoLayoutVariant: DetailLayoutVariant = 'single';\n if (hasSidePanel) {\n autoLayoutVariant = 'split';\n }\n let resolvedLayoutVariant = layoutVariant ?? autoLayoutVariant;\n if (!hasSidePanel) {\n resolvedLayoutVariant = 'single';\n }\n const isSplitLayout = resolvedLayoutVariant === 'split';\n let rowClassName = styles.rowSingle;\n if (isSplitLayout) {\n rowClassName = cx(styles.rowSplit, styles.rowSplitBase);\n }\n\n let resolvedHeader: ReactNode;\n if ('headerNode' in props) {\n resolvedHeader = props.headerNode;\n } else {\n resolvedHeader = <EntityHeader {...props.header} />;\n }\n\n const resolvedStickyTop = sidePanelStickyTop?.trim();\n let containerStyle: CSSProperties | undefined;\n if (resolvedStickyTop != null && resolvedStickyTop !== '') {\n containerStyle = {\n [styles.sidePanelTopVar]: resolvedStickyTop,\n } as CSSProperties;\n }\n\n let sidePanelClassName = styles.sidePanelCard;\n if (sidePanelVariant === 'plain') {\n sidePanelClassName = styles.sidePanelPlain;\n }\n const resolvedSidePanelClassName = cx(\n styles.sidePanelBase,\n sidePanelClassName,\n );\n\n return (\n <div className={cx(styles.container, className)} style={containerStyle}>\n <div className={rowClassName}>\n <div className={styles.headerCard}>{resolvedHeader}</div>\n </div>\n {tabsNode != null && (\n <div className={rowClassName}>\n <div className={styles.tabsRow}>{tabsNode}</div>\n </div>\n )}\n <div className={rowClassName}>\n <div className={styles.body}>\n {aboveContent}\n {children}\n </div>\n {hasSidePanel && (\n <aside className={resolvedSidePanelClassName}>{sidePanel}</aside>\n )}\n </div>\n </div>\n );\n};\n\nexport default DetailPageTemplate;\n"],"mappings":";;;;;;AAiCA,IAAa,KACX,MACgB;CAChB,IAAM,EACJ,aACA,iBACA,cACA,aACA,cACA,sBAAmB,QACnB,uBACA,qBACE,GAEE,IAAe,KAAa,MAC9B,IAAyC;AAC7C,CAAI,MACF,IAAoB;CAEtB,IAAI,IAAwB,KAAiB;AAC7C,CAAK,MACH,IAAwB;CAE1B,IAAM,IAAgB,MAA0B,SAC5C,IAAe;AACnB,CAAI,MACF,IAAe,EAAG,GAAiB,EAAoB;CAGzD,IAAI;AACJ,CAGE,IAHE,gBAAgB,IACD,EAAM,aAEN,kBAAC,GAAD,EAAc,GAAI,EAAM,QAAU,CAAA;CAGrD,IAAM,IAAoB,GAAoB,MAAM,EAChD;AACJ,CAAI,KAAqB,QAAQ,MAAsB,OACrD,IAAiB,GACd,IAAyB,GAC3B;CAGH,IAAI,IAAqB;AACzB,CAAI,MAAqB,YACvB,IAAqB;CAEvB,IAAM,IAA6B,EACjC,GACA,EACD;AAED,QACE,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAkB,EAAU;EAAE,OAAO;YAAxD;GACE,kBAAC,OAAD;IAAK,WAAW;cACd,kBAAC,OAAD;KAAK,WAAW;eAAoB;KAAqB,CAAA;IACrD,CAAA;GACL,KAAY,QACX,kBAAC,OAAD;IAAK,WAAW;cACd,kBAAC,OAAD;KAAK,WAAW;eAAiB;KAAe,CAAA;IAC5C,CAAA;GAER,kBAAC,OAAD;IAAK,WAAW;cAAhB,CACE,kBAAC,OAAD;KAAK,WAAW;eAAhB,CACG,GACA,EACG;QACL,KACC,kBAAC,SAAD;KAAO,WAAW;eAA6B;KAAkB,CAAA,CAE/D;;GACF"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/templates/detail_page_template/detailPageTemplate.css.ts
4
+ var e = "var(--eno74p0)", t = "eno74p2 eno74p1 txvbqb9io txvbqbai6 txvbqbaoo", n = "eno74p3 txvbqbu6f txvbqbk4x txvbqb9io txvbqbai6 txvbqbaoo", r = "eno74p4 txvbqb9ix txvbqbbwo txvbqbbxe txvbqbc6 txvbqbcn", i = "eno74p5 txvbqbu6f txvbqbk4x txvbqbaoo", a = "eno74p6 txvbqbk4x txvbqb1s6 txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblax txvbqb8pf", o = "eno74p7 txvbqb9io txvbqbai6 txvbqbaoo txvbqbk4x", s = "eno74p9 eno74p8 txvbqbpsx txvbqb9io txvbqbai6 txvbqbaof txvbqbk4x txvbqbdo", c = "eno74pa txvbqb1s6 txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblaf txvbqb8pf", l = "eno74pb txvbqb12f txvbqb1px txvbqbuzj txvbqbl9f txvbqb8uf", u = "eno74pd eno74pc txvbqbpsx txvbqbv2r txvbqblx6 txvbqbt7x";
5
+ //#endregion
6
+ export { o as body, t as container, a as headerCard, n as rowSingle, r as rowSplit, i as rowSplitBase, s as sidePanelBase, c as sidePanelCard, l as sidePanelPlain, e as sidePanelTopVar, u as tabsRow };
7
+
8
+ //# sourceMappingURL=detailPageTemplate.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detailPageTemplate.css.js","names":[],"sources":["../../../../../src/backoffice/templates/detail_page_template/detailPageTemplate.css.ts"],"sourcesContent":["import { createVar, style } from '@vanilla-extract/css';\nimport { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\n\nimport { backofficeLayoutTokens } from '../../layout/backofficeLayoutTokens.js';\n\nconst detailTokens = backofficeLayoutTokens.detail;\n\nexport const sidePanelTopVar = createVar();\n\nexport const container = style([\n sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n }),\n {\n vars: {\n [sidePanelTopVar]: detailTokens.stickyTop,\n },\n },\n]);\n\nexport const rowSingle = sprinkles({\n width: 'full',\n minWidth: 0,\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n});\n\nexport const rowSplit = sprinkles({\n display: 'grid',\n gridTemplateColumns: {\n base: 'detailSingle',\n min1200: 'detailAside320',\n },\n alignItems: {\n base: 'stretch',\n min1200: 'flex-start',\n },\n});\n\nexport const rowSplitBase = sprinkles({\n width: 'full',\n minWidth: 0,\n gap: 4,\n});\n\nexport const headerCard = sprinkles({\n minWidth: 0,\n borderRadius: '2xl',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n padding: 6,\n boxShadow: 'sm',\n});\n\nexport const body = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n minWidth: 0,\n});\n\nexport const sidePanelBase = style([\n sprinkles({\n position: 'sticky',\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n minWidth: 0,\n alignSelf: 'flex-start',\n }),\n {\n top: sidePanelTopVar,\n },\n]);\n\nexport const sidePanelCard = sprinkles({\n borderRadius: '2xl',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n padding: 4,\n boxShadow: 'sm',\n});\n\nexport const sidePanelPlain = sprinkles({\n borderWidth: 0,\n borderStyle: 'none',\n backgroundColor: 'transparent',\n padding: 0,\n boxShadow: 'none',\n});\n\nexport const tabsRow = style([\n sprinkles({\n position: 'sticky',\n backgroundColor: 'surface',\n paddingBottom: 2,\n top: 4,\n }),\n {\n zIndex: 2,\n },\n]);\n"],"mappings":""}
@@ -0,0 +1,43 @@
1
+ import { cx as e } from "../../../theme/tools.js";
2
+ import { BackofficeDataTable as t } from "../../organisms/backoffice_data_table/BackofficeDataTable.js";
3
+ import { EntityHeader as n } from "../../organisms/entity_header/EntityHeader.js";
4
+ import { container as r, containerNoToolbar as i, containerWithToolbar as a, headerCard as o, tableCard as s, tableFooter as c, tableScroll as l } from "./listPageTemplate.css.js";
5
+ import "../../../index.js";
6
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
+ //#region src/backoffice/templates/list_page_template/ListPageTemplate.tsx
8
+ var f = (f) => {
9
+ let { className: p, toolbarNode: m, tableFooterNode: h } = f, g = i;
10
+ m != null && (g = a);
11
+ let _ = e(r, g, p), v;
12
+ v = "headerNode" in f ? f.headerNode : /* @__PURE__ */ u(n, { ...f.header });
13
+ let y;
14
+ y = "tableNode" in f ? f.tableNode : /* @__PURE__ */ u(t, { ...f.table });
15
+ let b = null;
16
+ return h != null && (b = /* @__PURE__ */ u("div", {
17
+ className: c,
18
+ children: h
19
+ })), /* @__PURE__ */ d("div", {
20
+ className: _,
21
+ children: [
22
+ /* @__PURE__ */ u("div", {
23
+ className: o,
24
+ children: v
25
+ }),
26
+ m != null && /* @__PURE__ */ u("div", {
27
+ className: "dlvvnq4 txvbqb1rx txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblaf txvbqb8pf",
28
+ children: m
29
+ }),
30
+ /* @__PURE__ */ d("div", {
31
+ className: s,
32
+ children: [/* @__PURE__ */ u("div", {
33
+ className: l,
34
+ children: y
35
+ }), b]
36
+ })
37
+ ]
38
+ });
39
+ };
40
+ //#endregion
41
+ export { f as ListPageTemplate, f as default };
42
+
43
+ //# sourceMappingURL=ListPageTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPageTemplate.js","names":[],"sources":["../../../../../src/backoffice/templates/list_page_template/ListPageTemplate.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport {\n BackofficeDataTable,\n type BackofficeDataTableProps,\n} from '../../organisms/backoffice_data_table/BackofficeDataTable.js';\nimport {\n EntityHeader,\n type EntityHeaderProps,\n} from '../../organisms/entity_header/EntityHeader.js';\n\nimport * as styles from './listPageTemplate.css.js';\nimport { cx } from '@plumile/ui';\n\ntype ListBaseProps = {\n toolbarNode?: ReactNode;\n tableFooterNode?: ReactNode;\n className?: string;\n};\n\ntype ListWithHeaderProps<Row> = ListBaseProps & {\n header: EntityHeaderProps;\n headerNode?: never;\n table: BackofficeDataTableProps<Row>;\n tableNode?: never;\n};\n\ntype ListWithHeaderNode<Row> = ListBaseProps & {\n header?: never;\n headerNode: ReactNode;\n table: BackofficeDataTableProps<Row>;\n tableNode?: never;\n};\n\ntype ListWithCustomTable =\n | (ListBaseProps & {\n header: EntityHeaderProps;\n headerNode?: never;\n table?: never;\n tableNode: ReactNode;\n })\n | (ListBaseProps & {\n header?: never;\n headerNode: ReactNode;\n table?: never;\n tableNode: ReactNode;\n });\n\nexport type ListPageTemplateProps<Row> =\n | ListWithHeaderProps<Row>\n | ListWithHeaderNode<Row>\n | ListWithCustomTable;\n\nexport const ListPageTemplate = <Row,>(\n props: ListPageTemplateProps<Row>,\n): JSX.Element => {\n const { className, toolbarNode, tableFooterNode } = props;\n\n let containerVariant = styles.containerNoToolbar;\n if (toolbarNode != null) {\n containerVariant = styles.containerWithToolbar;\n }\n\n const containerClasses = cx(styles.container, containerVariant, className);\n\n let resolvedHeader: ReactNode;\n if ('headerNode' in props) {\n resolvedHeader = props.headerNode;\n } else {\n resolvedHeader = <EntityHeader {...props.header} />;\n }\n\n let resolvedTable: ReactNode;\n if ('tableNode' in props) {\n resolvedTable = props.tableNode;\n } else {\n resolvedTable = <BackofficeDataTable {...props.table} />;\n }\n\n let footerSection: ReactNode | null = null;\n if (tableFooterNode != null) {\n footerSection = <div className={styles.tableFooter}>{tableFooterNode}</div>;\n }\n\n return (\n <div className={containerClasses}>\n <div className={styles.headerCard}>{resolvedHeader}</div>\n {toolbarNode != null && (\n <div className={styles.toolbarCard}>{toolbarNode}</div>\n )}\n <div className={styles.tableCard}>\n <div className={styles.tableScroll}>{resolvedTable}</div>\n {footerSection}\n </div>\n </div>\n );\n};\n\nexport default ListPageTemplate;\n"],"mappings":";;;;;;;AAqDA,IAAa,KACX,MACgB;CAChB,IAAM,EAAE,cAAW,gBAAa,uBAAoB,GAEhD,IAAmB;AACvB,CAAI,KAAe,SACjB,IAAmB;CAGrB,IAAM,IAAmB,EAAG,GAAkB,GAAkB,EAAU,EAEtE;AACJ,CAGE,IAHE,gBAAgB,IACD,EAAM,aAEN,kBAAC,GAAD,EAAc,GAAI,EAAM,QAAU,CAAA;CAGrD,IAAI;AACJ,CAGE,IAHE,eAAe,IACD,EAAM,YAEN,kBAAC,GAAD,EAAqB,GAAI,EAAM,OAAS,CAAA;CAG1D,IAAI,IAAkC;AAKtC,QAJI,KAAmB,SACrB,IAAgB,kBAAC,OAAD;EAAK,WAAW;YAAqB;EAAsB,CAAA,GAI3E,kBAAC,OAAD;EAAK,WAAW;YAAhB;GACE,kBAAC,OAAD;IAAK,WAAW;cAAoB;IAAqB,CAAA;GACxD,KAAe,QACd,kBAAC,OAAD;IAAK,WAAW;cAAqB;IAAkB,CAAA;GAEzD,kBAAC,OAAD;IAAK,WAAW;cAAhB,CACE,kBAAC,OAAD;KAAK,WAAW;eAAqB;KAAoB,CAAA,EACxD,EACG;;GACF"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/backoffice/templates/list_page_template/listPageTemplate.css.ts
4
+ var e = "dlvvnq0 txvbqb9ix txvbqbaoo txvbqbcff txvbqbjg6", t = "dlvvnq1 txvbqbc3o", n = "dlvvnq2 txvbqbc3f", r = "dlvvnq3 txvbqb1s6 txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblax txvbqb8pf", i = "dlvvnq4 txvbqb1rx txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblaf txvbqb8pf", a = "dlvvnq5 txvbqb9ix txvbqbc3x txvbqbjg6 txvbqb1s6 txvbqb1co txvbqb1qf txvbqbwo txvbqbv2r txvbqblaf txvbqb8pf", o = "dlvvnq6 txvbqbjg6 txvbqbl66", s = "dlvvnq7 txvbqbhwo";
5
+ //#endregion
6
+ export { e as container, n as containerNoToolbar, t as containerWithToolbar, r as headerCard, a as tableCard, s as tableFooter, o as tableScroll, i as toolbarCard };
7
+
8
+ //# sourceMappingURL=listPageTemplate.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listPageTemplate.css.js","names":[],"sources":["../../../../../src/backoffice/templates/list_page_template/listPageTemplate.css.ts"],"sourcesContent":["import { sprinkles } from '@plumile/ui/theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'grid',\n gap: 4,\n height: 'full',\n minHeight: 0,\n});\n\nexport const containerWithToolbar = sprinkles({\n gridTemplateRows: 'autoAutoMinmax0',\n});\n\nexport const containerNoToolbar = sprinkles({\n gridTemplateRows: 'autoMinmax0',\n});\n\nexport const headerCard = sprinkles({\n borderRadius: '2xl',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n padding: 6,\n boxShadow: 'sm',\n});\n\nexport const toolbarCard = sprinkles({\n borderRadius: 'xl',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n padding: 4,\n boxShadow: 'sm',\n});\n\nexport const tableCard = sprinkles({\n display: 'grid',\n gridTemplateRows: 'minmax0Auto',\n minHeight: 0,\n borderRadius: '2xl',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n padding: 4,\n boxShadow: 'sm',\n});\n\nexport const tableScroll = sprinkles({\n minHeight: 0,\n overflow: 'auto',\n});\n\nexport const tableFooter = sprinkles({\n marginTop: 0,\n});\n"],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { backofficeThemeClass as e } from "./backofficeTheme.css.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/backoffice/theme/BackofficeThemeProvider.tsx
4
+ var n = ({ children: n }) => /* @__PURE__ */ t("div", {
5
+ className: e,
6
+ children: n
7
+ });
8
+ //#endregion
9
+ export { n as BackofficeThemeProvider, n as default };
10
+
11
+ //# sourceMappingURL=BackofficeThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackofficeThemeProvider.js","names":[],"sources":["../../../../src/backoffice/theme/BackofficeThemeProvider.tsx"],"sourcesContent":["import type { JSX, ReactNode } from 'react';\n\nimport { backofficeThemeClass } from './backofficeTheme.css.js';\n\nexport type BackofficeThemeProviderProps = {\n children: ReactNode;\n};\n\nexport const BackofficeThemeProvider = ({\n children,\n}: BackofficeThemeProviderProps): JSX.Element => {\n return <div className={backofficeThemeClass}>{children}</div>;\n};\n\nexport default BackofficeThemeProvider;\n"],"mappings":";;;AAQA,IAAa,KAA2B,EACtC,kBAEO,kBAAC,OAAD;CAAK,WAAW;CAAuB;CAAe,CAAA"}
@@ -0,0 +1,7 @@
1
+ /* empty css */
2
+ //#region src/backoffice/theme/backofficeTheme.css.ts
3
+ var e = "_1qxly5m0";
4
+ //#endregion
5
+ export { e as backofficeThemeClass };
6
+
7
+ //# sourceMappingURL=backofficeTheme.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backofficeTheme.css.js","names":[],"sources":["../../../../src/backoffice/theme/backofficeTheme.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { vars } from '@plumile/ui/theme/themeContract.js';\n\nexport const backofficeThemeClass = style({\n vars: {\n [vars.colors.background]: '#F7F8FB',\n [vars.colors.backgroundSecondary]: '#F2F4F8',\n [vars.colors.backgroundTertiary]: '#EAEDF2',\n [vars.colors.backgroundModifier]: '#E1E6EE',\n [vars.colors.surface]: '#FFFFFF',\n [vars.colors.surfaceSecondary]: '#F6F8FC',\n [vars.colors.surfaceMuted]: '#F1F4F8',\n [vars.colors.surfaceElevated]: '#FFFFFF',\n [vars.colors.text]: '#0B111E',\n [vars.colors.textSecondary]: '#4A5568',\n [vars.colors.textMuted]: '#6B7280',\n [vars.colors.border]: '#E1E6EE',\n [vars.colors.borderSubtle]: '#E7EBF2',\n [vars.colors.borderStrong]: '#D2D9E4',\n [vars.colors.borderLight]: '#E1E6EE',\n [vars.colors.primaryLight]: 'rgba(165, 2, 70, 0.08)',\n [vars.colors.brandLightGray]: '#F5F7FB',\n },\n backgroundColor: vars.colors.background,\n color: vars.colors.text,\n minHeight: '100vh',\n});\n"],"mappings":""}
package/lib/esm/index.js CHANGED
@@ -44,7 +44,52 @@ import { RefetchNeededBanner as Z } from "./components/subscriptions/RefetchNeed
44
44
  import { TabsContentLayout as Q } from "./components/layout/TabsContentLayout.js";
45
45
  import { InfoTile as $ } from "./components/tile/InfoTile.js";
46
46
  import { VirtualizedConnectionTable as ee } from "./components/data-table/VirtualizedConnectionTable.js";
47
- import { WrapperPage as te } from "./pages/WrapperPage.js";
48
- import { ChevronDownIcon as ne } from "./svg/ChevronDownIcon.js";
49
- import { LoginForm as re } from "./atomic/organisms/login_form/LoginForm.js";
50
- export { G as AuthLayout, n as Badge, K as BillingUsageLineChart, m as BreadcrumbNavigation, r as Button, h as Card, s as Checkbox, g as CheckboxField, ne as ChevronDownIcon, J as ContentLayout, q as DataTable, c as ErrorMessage, _ as Form, b as FormActions, x as FormError, v as FormErrorBanner, S as FormField, y as FormGroup, l as FormattedDate, C as HighlightCode, u as IconMenuButton, $ as InfoTile, a as Input, o as Label, w as LazyMarkdownRenderer, i as LinkButton, re as LoginForm, f as Modal, d as Overlay, Y as PageShell, Z as RefetchNeededBanner, X as SimpleSelect, N as THEME_KEY, k as Tabs, Q as TabsContentLayout, p as Textarea, P as ThemeProvider, j as ToastProvider, A as ToastViewport, ee as VirtualizedConnectionTable, I as VisuallyHidden, te as WrapperPage, E as colors, L as containerQueries, e as cx, R as firstChildSprinkles, z as hoverSprinkles, t as onlyDefinedStyles, V as opacity, H as screens, D as spacing, B as sprinkles, T as themeColorValues, U as themeSpacingValues, W as useLoginForm, F as useTheme, M as useToast, O as vars };
47
+ import { CopyableText as te } from "./backoffice/atoms/copyable_text/CopyableText.js";
48
+ import { BackofficeIdBadge as ne } from "./backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.js";
49
+ import { EnvironmentBadge as re } from "./backoffice/atoms/environment_badge/EnvironmentBadge.js";
50
+ import { ShortcutHint as ie } from "./backoffice/atoms/shortcut_hint/ShortcutHint.js";
51
+ import { Skeleton as ae } from "./backoffice/atoms/skeleton/Skeleton.js";
52
+ import { Spinner as oe } from "./backoffice/atoms/spinner/Spinner.js";
53
+ import { StatusBadge as se } from "./backoffice/atoms/status_badge/StatusBadge.js";
54
+ import { Tag as ce } from "./backoffice/atoms/tag/Tag.js";
55
+ import { BackofficeDetailLayout as le } from "./backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js";
56
+ import { BackofficeEmptyState as ue } from "./backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js";
57
+ import { BackofficeFilterDrawer as de } from "./backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js";
58
+ import { BackofficeFilterField as fe } from "./backoffice/molecules/backoffice_filter_field/BackofficeFilterField.js";
59
+ import { BackofficeFiltersBar as pe } from "./backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js";
60
+ import { BackofficeFormSection as me } from "./backoffice/molecules/backoffice_form_section/BackofficeFormSection.js";
61
+ import { BackofficeJsonViewer as he } from "./backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js";
62
+ import { BackofficeKeyValueList as ge } from "./backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js";
63
+ import { BackofficeLoadMore as _e } from "./backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js";
64
+ import { BackofficePageHeader as ve } from "./backoffice/molecules/backoffice_page_header/BackofficePageHeader.js";
65
+ import { BackofficeRelationsMenu as ye } from "./backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js";
66
+ import { BackofficeTableSkeleton as be } from "./backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.js";
67
+ import { BackofficeTableToolbar as xe } from "./backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js";
68
+ import { BackofficeTabs as Se } from "./backoffice/molecules/backoffice_tabs/BackofficeTabs.js";
69
+ import { BulkActionsBar as Ce } from "./backoffice/molecules/bulk_actions_bar/BulkActionsBar.js";
70
+ import { FilterChipRow as we } from "./backoffice/molecules/filter_chip_row/FilterChipRow.js";
71
+ import { GlobalSearchInput as Te } from "./backoffice/molecules/global_search_input/GlobalSearchInput.js";
72
+ import { InlineBanner as Ee } from "./backoffice/molecules/inline_banner/InlineBanner.js";
73
+ import { SidebarNavItem as De } from "./backoffice/molecules/sidebar_nav_item/SidebarNavItem.js";
74
+ import { SidebarNavSection as Oe } from "./backoffice/molecules/sidebar_nav_section/SidebarNavSection.js";
75
+ import { BackofficeSidebarProfileMenu as ke } from "./backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js";
76
+ import { SidebarCollapseToggle as Ae } from "./backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js";
77
+ import { TableToolbar as je } from "./backoffice/molecules/table_toolbar/TableToolbar.js";
78
+ import { BackofficeAppShell as Me } from "./backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js";
79
+ import { BackofficeDataTable as Ne } from "./backoffice/organisms/backoffice_data_table/BackofficeDataTable.js";
80
+ import { BackofficeSidebar as Pe } from "./backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js";
81
+ import { BackofficeTopbar as Fe } from "./backoffice/organisms/backoffice_topbar/BackofficeTopbar.js";
82
+ import { BackofficeVirtualizedConnectionTable as Ie } from "./backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js";
83
+ import { EntityHeader as Le } from "./backoffice/organisms/entity_header/EntityHeader.js";
84
+ import { BackofficeShellTemplate as Re } from "./backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js";
85
+ import { DetailPageTemplate as ze } from "./backoffice/templates/detail_page_template/DetailPageTemplate.js";
86
+ import { ListPageTemplate as Be } from "./backoffice/templates/list_page_template/ListPageTemplate.js";
87
+ import { backofficeThemeClass as Ve } from "./backoffice/theme/backofficeTheme.css.js";
88
+ import { BackofficeThemeProvider as He } from "./backoffice/theme/BackofficeThemeProvider.js";
89
+ import { FALLBACK_REFERENCE as Ue, formatNullableCurrency as We, formatNullableNumber as Ge, formatNullableString as Ke, formatStringList as qe } from "./shared/agentJobRequestFormatting.js";
90
+ import { sanitizeAgentAnswer as Je, sanitizeAgentMarkdown as Ye } from "./shared/agentText.js";
91
+ import { denseTableClass as Xe } from "./shared/backofficeTableDensity.css.js";
92
+ import { WrapperPage as Ze } from "./pages/WrapperPage.js";
93
+ import { ChevronDownIcon as Qe } from "./svg/ChevronDownIcon.js";
94
+ import { LoginForm as $e } from "./atomic/organisms/login_form/LoginForm.js";
95
+ export { G as AuthLayout, Me as BackofficeAppShell, Ne as BackofficeDataTable, le as BackofficeDetailLayout, ue as BackofficeEmptyState, de as BackofficeFilterDrawer, fe as BackofficeFilterField, pe as BackofficeFiltersBar, me as BackofficeFormSection, ne as BackofficeIdBadge, he as BackofficeJsonViewer, ge as BackofficeKeyValueList, _e as BackofficeLoadMore, ve as BackofficePageHeader, ye as BackofficeRelationsMenu, Re as BackofficeShellTemplate, Pe as BackofficeSidebar, ke as BackofficeSidebarProfileMenu, be as BackofficeTableSkeleton, xe as BackofficeTableToolbar, Se as BackofficeTabs, He as BackofficeThemeProvider, Fe as BackofficeTopbar, Ie as BackofficeVirtualizedConnectionTable, n as Badge, K as BillingUsageLineChart, m as BreadcrumbNavigation, Ce as BulkActionsBar, r as Button, h as Card, s as Checkbox, g as CheckboxField, Qe as ChevronDownIcon, J as ContentLayout, te as CopyableText, q as DataTable, ze as DetailPageTemplate, Le as EntityHeader, re as EnvironmentBadge, c as ErrorMessage, Ue as FALLBACK_REFERENCE, we as FilterChipRow, _ as Form, b as FormActions, x as FormError, v as FormErrorBanner, S as FormField, y as FormGroup, l as FormattedDate, Te as GlobalSearchInput, C as HighlightCode, u as IconMenuButton, $ as InfoTile, Ee as InlineBanner, a as Input, o as Label, w as LazyMarkdownRenderer, i as LinkButton, Be as ListPageTemplate, $e as LoginForm, f as Modal, d as Overlay, Y as PageShell, Z as RefetchNeededBanner, ie as ShortcutHint, Ae as SidebarCollapseToggle, De as SidebarNavItem, Oe as SidebarNavSection, X as SimpleSelect, ae as Skeleton, oe as Spinner, se as StatusBadge, N as THEME_KEY, je as TableToolbar, k as Tabs, Q as TabsContentLayout, ce as Tag, p as Textarea, P as ThemeProvider, j as ToastProvider, A as ToastViewport, ee as VirtualizedConnectionTable, I as VisuallyHidden, Ze as WrapperPage, Ve as backofficeThemeClass, E as colors, L as containerQueries, e as cx, Xe as denseTableClass, R as firstChildSprinkles, We as formatNullableCurrency, Ge as formatNullableNumber, Ke as formatNullableString, qe as formatStringList, z as hoverSprinkles, t as onlyDefinedStyles, V as opacity, Je as sanitizeAgentAnswer, Ye as sanitizeAgentMarkdown, H as screens, D as spacing, B as sprinkles, T as themeColorValues, U as themeSpacingValues, W as useLoginForm, F as useTheme, M as useToast, O as vars };
@@ -0,0 +1,31 @@
1
+ //#region src/shared/agentJobRequestFormatting.ts
2
+ var e = "—";
3
+ function t(e) {
4
+ return e == null || e.trim().length === 0 ? "—" : e;
5
+ }
6
+ function n(e) {
7
+ return e == null ? "—" : Number.isFinite(e) ? e.toLocaleString() : String(e);
8
+ }
9
+ function r(e) {
10
+ return e.length === 0 ? "—" : e.join(", ");
11
+ }
12
+ function i(e, t = "USD", n) {
13
+ if (e == null) return "—";
14
+ let r = Number(e);
15
+ if (!Number.isFinite(r)) return "—";
16
+ try {
17
+ return new Intl.NumberFormat(n, {
18
+ style: "currency",
19
+ currency: t,
20
+ currencyDisplay: "symbol",
21
+ minimumFractionDigits: 2,
22
+ maximumFractionDigits: 2
23
+ }).format(r);
24
+ } catch {
25
+ return r.toString();
26
+ }
27
+ }
28
+ //#endregion
29
+ export { e as FALLBACK_REFERENCE, i as formatNullableCurrency, n as formatNullableNumber, t as formatNullableString, r as formatStringList };
30
+
31
+ //# sourceMappingURL=agentJobRequestFormatting.js.map