@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.
- package/README.md +129 -15
- package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +4 -4
- package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +0 -2
- package/lib/esm/admin/organisms/admin_topbar/adminTopbar.css.js +1 -0
- package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js +2 -2
- package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js.map +1 -1
- package/lib/esm/atomic/atoms/badge/Badge.js.map +1 -1
- package/lib/esm/atomic/atoms/error_message/ErrorMessage.js +9 -8
- package/lib/esm/atomic/atoms/error_message/ErrorMessage.js.map +1 -1
- package/lib/esm/atomic/atoms/error_message/errorMessage.css.js +1 -0
- package/lib/esm/atomic/molecules/card/Card.js +17 -19
- package/lib/esm/atomic/molecules/card/Card.js.map +1 -1
- package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js +80 -2
- package/lib/esm/atomic/molecules/empty-state/EmptyState.css.js.map +1 -1
- package/lib/esm/atomic/molecules/empty-state/EmptyState.js +50 -28
- package/lib/esm/atomic/molecules/empty-state/EmptyState.js.map +1 -1
- package/lib/esm/atomic/molecules/form_error/FormError.js +29 -19
- package/lib/esm/atomic/molecules/form_error/FormError.js.map +1 -1
- package/lib/esm/atomic/molecules/form_error/formError.css.js +1 -1
- package/lib/esm/atomic/molecules/form_error/formError.css.js.map +1 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownDelete.css.js +0 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownHeading.css.js +1 -0
- package/lib/esm/atomic/molecules/tabs/Tabs.js +82 -28
- package/lib/esm/atomic/molecules/tabs/Tabs.js.map +1 -1
- package/lib/esm/atomic/molecules/tabs/tabs.css.js +50 -8
- package/lib/esm/atomic/molecules/tabs/tabs.css.js.map +1 -1
- package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js +48 -48
- package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js.map +1 -1
- package/lib/esm/backoffice/atoms/status_badge/StatusBadge.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js +38 -0
- package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js +35 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js +16 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js +25 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js +37 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js +19 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js +15 -32
- package/lib/esm/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js +11 -0
- package/lib/esm/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js +17 -18
- package/lib/esm/backoffice/molecules/backoffice_form_section/BackofficeFormSection.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js +12 -0
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +15 -20
- package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js +23 -16
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js +2 -2
- package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js +11 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js +55 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js +15 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js +63 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js +76 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/BackofficePicker.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_picker/backofficePicker.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js +23 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js +18 -0
- package/lib/esm/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js +28 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js +8 -0
- package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js +60 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.js.map +1 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js +14 -0
- package/lib/esm/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.js.map +1 -0
- package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js +1 -1
- package/lib/esm/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js +3 -3
- package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js.map +1 -1
- package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js +4 -4
- package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js +1 -1
- package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +60 -60
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +96 -96
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js +52 -52
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js +6 -6
- package/lib/esm/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.js.map +1 -1
- package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js +69 -34
- package/lib/esm/backoffice/organisms/audit_timeline/AuditTimeline.js.map +1 -1
- package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js +22 -2
- package/lib/esm/backoffice/organisms/audit_timeline/auditTimeline.css.js.map +1 -1
- package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js +4 -4
- package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js.map +1 -1
- package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js +70 -40
- package/lib/esm/backoffice/templates/detail_page_template/DetailPageTemplate.js.map +1 -1
- package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js +66 -3
- package/lib/esm/backoffice/templates/detail_page_template/detailPageTemplate.css.js.map +1 -1
- package/lib/esm/components/dashboard/activity_card/ActivityCard.js +4 -4
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js +9 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js +30 -0
- package/lib/esm/components/dashboard/dashboard_metric_group/DashboardMetricGroup.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js +16 -0
- package/lib/esm/components/dashboard/dashboard_panel/DashboardPanel.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js +27 -0
- package/lib/esm/components/dashboard/dashboard_quick_actions/DashboardQuickActions.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js +8 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.css.js.map +1 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js +28 -0
- package/lib/esm/components/dashboard/dashboard_status_list/DashboardStatusList.js.map +1 -0
- package/lib/esm/components/dashboard/metric_card/MetricCard.css.js +30 -2
- package/lib/esm/components/dashboard/metric_card/MetricCard.css.js.map +1 -1
- package/lib/esm/components/dashboard/metric_card/MetricCard.js +40 -26
- package/lib/esm/components/dashboard/metric_card/MetricCard.js.map +1 -1
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js +23 -2
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.css.js.map +1 -1
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js +16 -4
- package/lib/esm/components/dashboard/metric_tile_group/MetricTileGroup.js.map +1 -1
- package/lib/esm/components/dashboard/status_summary_panel/StatusSummaryPanel.js +4 -4
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js +14 -2
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.css.js.map +1 -1
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js +46 -25
- package/lib/esm/components/dashboard/timeline_event_row/TimelineEventRow.js.map +1 -1
- package/lib/esm/components/data-table/DataTable.css.js +19 -19
- package/lib/esm/components/data-table/DataTable.css.js.map +1 -1
- package/lib/esm/components/data-table/DataTable.js +142 -76
- package/lib/esm/components/data-table/DataTable.js.map +1 -1
- package/lib/esm/components/data-table/ResponsiveRecordList.js.map +1 -1
- package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js +2 -2
- package/lib/esm/components/data-table/VirtualizedConnectionTable.css.js.map +1 -1
- package/lib/esm/components/data-table/VirtualizedConnectionTable.js +177 -170
- package/lib/esm/components/data-table/VirtualizedConnectionTable.js.map +1 -1
- package/lib/esm/components/feedback/InlineBanner.js +49 -0
- package/lib/esm/components/feedback/InlineBanner.js.map +1 -0
- package/lib/esm/components/feedback/OperationFeedback.css.js +2 -2
- package/lib/esm/components/feedback/OperationFeedback.css.js.map +1 -1
- package/lib/esm/components/feedback/OperationFeedback.js +20 -24
- package/lib/esm/components/feedback/OperationFeedback.js.map +1 -1
- package/lib/esm/components/feedback/inlineBanner.css.js +19 -0
- package/lib/esm/components/feedback/inlineBanner.css.js.map +1 -0
- package/lib/esm/components/infinite/InfiniteScrollTrigger.js +31 -23
- package/lib/esm/components/infinite/InfiniteScrollTrigger.js.map +1 -1
- package/lib/esm/components/layout/ActionPanel.css.js +2 -2
- package/lib/esm/components/layout/ActionPanel.css.js.map +1 -1
- package/lib/esm/components/layout/ActionPanel.js +29 -35
- package/lib/esm/components/layout/ActionPanel.js.map +1 -1
- package/lib/esm/components/layout/PageShell.css.js +2 -20
- package/lib/esm/components/layout/PageShell.css.js.map +1 -1
- package/lib/esm/components/layout/PageShell.js +155 -279
- package/lib/esm/components/layout/PageShell.js.map +1 -1
- package/lib/esm/components/layout/ResizableSplitView.css.js +8 -0
- package/lib/esm/components/layout/ResizableSplitView.css.js.map +1 -0
- package/lib/esm/components/layout/ResizableSplitView.js +176 -0
- package/lib/esm/components/layout/ResizableSplitView.js.map +1 -0
- package/lib/esm/components/layout/Surface.css.js +41 -0
- package/lib/esm/components/layout/Surface.css.js.map +1 -0
- package/lib/esm/components/layout/Surface.js +61 -0
- package/lib/esm/components/layout/Surface.js.map +1 -0
- package/lib/esm/components/layout/toolbar/Toolbar.css.js +64 -0
- package/lib/esm/components/layout/toolbar/Toolbar.css.js.map +1 -0
- package/lib/esm/components/layout/toolbar/Toolbar.js +36 -0
- package/lib/esm/components/layout/toolbar/Toolbar.js.map +1 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigation.js +89 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigation.js.map +1 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigationItem.js +2 -0
- package/lib/esm/components/navigation/sidebar/SidebarNavigationSection.js +2 -0
- package/lib/esm/components/navigation/sidebar/SidebarProfileMenu.js +2 -0
- package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js +48 -0
- package/lib/esm/components/navigation/sidebar/sidebarNavigation.css.js.map +1 -0
- package/lib/esm/components/subscriptions/RefetchNeededBanner.js +16 -23
- package/lib/esm/components/subscriptions/RefetchNeededBanner.js.map +1 -1
- package/lib/esm/i18n/locales/en/ui.js +16 -5
- package/lib/esm/i18n/locales/en/ui.js.map +1 -1
- package/lib/esm/i18n/locales/fr/ui.js +16 -5
- package/lib/esm/i18n/locales/fr/ui.js.map +1 -1
- package/lib/esm/index.js +237 -233
- package/lib/esm/internal/data-table/virtualization.js +1 -1
- package/lib/esm/internal/data-table/virtualization.js.map +1 -1
- package/lib/esm/internal/infinite/infiniteLoad.js +23 -0
- package/lib/esm/internal/infinite/infiniteLoad.js.map +1 -0
- package/lib/esm/node_modules/dompurify/dist/purify.es.js +290 -246
- package/lib/esm/node_modules/dompurify/dist/purify.es.js.map +1 -1
- package/lib/esm/node_modules/katex/dist/katex.js +1561 -1599
- package/lib/esm/node_modules/katex/dist/katex.js.map +1 -1
- package/lib/esm/style.css +1 -1
- package/lib/esm/theme/backofficeTheme.css.js +100 -0
- package/lib/esm/theme/backofficeTheme.css.js.map +1 -1
- package/lib/esm/theme/publicTheme.css.js +100 -0
- package/lib/esm/theme/publicTheme.css.js.map +1 -1
- package/lib/esm/theme/theme.css.js +200 -0
- package/lib/esm/theme/themeContract.css.js +359 -309
- package/lib/esm/theme/themeContract.css.js.map +1 -1
- package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts +4 -4
- package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts.map +1 -1
- package/lib/types/atomic/atoms/badge/Badge.d.ts +3 -3
- package/lib/types/atomic/atoms/badge/Badge.d.ts.map +1 -1
- package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts +1 -1
- package/lib/types/atomic/atoms/error_message/ErrorMessage.d.ts.map +1 -1
- package/lib/types/atomic/molecules/card/Card.d.ts.map +1 -1
- package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts +56 -5
- package/lib/types/atomic/molecules/empty-state/EmptyState.css.d.ts.map +1 -1
- package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts +14 -4
- package/lib/types/atomic/molecules/empty-state/EmptyState.d.ts.map +1 -1
- package/lib/types/atomic/molecules/form_error/FormError.d.ts +5 -2
- package/lib/types/atomic/molecules/form_error/FormError.d.ts.map +1 -1
- package/lib/types/atomic/molecules/form_error/formError.css.d.ts.map +1 -1
- package/lib/types/atomic/molecules/tabs/Tabs.d.ts +16 -7
- package/lib/types/atomic/molecules/tabs/Tabs.d.ts.map +1 -1
- package/lib/types/atomic/molecules/tabs/tabs.css.d.ts +21 -2
- package/lib/types/atomic/molecules/tabs/tabs.css.d.ts.map +1 -1
- package/lib/types/backoffice/atoms/status_badge/StatusBadge.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts +21 -0
- package/lib/types/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts +17 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts +14 -0
- package/lib/types/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts +11 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts +4 -0
- package/lib/types/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts +12 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts +6 -0
- package/lib/types/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts +13 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts +9 -0
- package/lib/types/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_form_section/BackofficeFormSection.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +0 -3
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts +5 -0
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts +8 -2
- package/lib/types/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts +23 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts +25 -0
- package/lib/types/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/{backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts → backoffice_list_footer/backofficeListFooter.css.d.ts} +3 -2
- package/lib/types/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts +26 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts +7 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts +6 -0
- package/lib/types/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts +35 -0
- package/lib/types/backoffice/molecules/backoffice_picker/BackofficePicker.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts +9 -0
- package/lib/types/backoffice/molecules/backoffice_picker/backofficePicker.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts +10 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts +15 -0
- package/lib/types/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts +8 -0
- package/lib/types/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts +14 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts +2 -0
- package/lib/types/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts +22 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts +18 -0
- package/lib/types/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_collapse_toggle/sidebarCollapseToggle.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +1 -0
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +2 -0
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts +8 -0
- package/lib/types/backoffice/molecules/sidebar_profile_menu/sidebarProfileMenu.css.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts +20 -2
- package/lib/types/backoffice/organisms/audit_timeline/AuditTimeline.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts +32 -2
- package/lib/types/backoffice/organisms/audit_timeline/auditTimeline.css.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts +2 -2
- package/lib/types/backoffice/organisms/backoffice_data_table/BackofficeDataTable.d.ts.map +1 -1
- package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts +12 -1
- package/lib/types/backoffice/templates/detail_page_template/DetailPageTemplate.d.ts.map +1 -1
- package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts +25 -4
- package/lib/types/backoffice/templates/detail_page_template/detailPageTemplate.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts +4 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts +19 -0
- package/lib/types/components/dashboard/dashboard_metric_group/DashboardMetricGroup.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts +2 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts +11 -0
- package/lib/types/components/dashboard/dashboard_panel/DashboardPanel.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts +5 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts +14 -0
- package/lib/types/components/dashboard/dashboard_quick_actions/DashboardQuickActions.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts +6 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.css.d.ts.map +1 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts +14 -0
- package/lib/types/components/dashboard/dashboard_status_list/DashboardStatusList.d.ts.map +1 -0
- package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts +38 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.d.ts +7 -1
- package/lib/types/components/dashboard/metric_card/MetricCard.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts +17 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts +4 -1
- package/lib/types/components/dashboard/metric_tile_group/MetricTileGroup.d.ts.map +1 -1
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts +31 -2
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.css.d.ts.map +1 -1
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts +8 -3
- package/lib/types/components/dashboard/timeline_event_row/TimelineEventRow.d.ts.map +1 -1
- package/lib/types/components/data-table/DataTable.css.d.ts +1 -0
- package/lib/types/components/data-table/DataTable.css.d.ts.map +1 -1
- package/lib/types/components/data-table/DataTable.d.ts +54 -3
- package/lib/types/components/data-table/DataTable.d.ts.map +1 -1
- package/lib/types/components/data-table/ResponsiveRecordList.d.ts +1 -4
- package/lib/types/components/data-table/ResponsiveRecordList.d.ts.map +1 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts +0 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.css.d.ts.map +1 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts +11 -5
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts.map +1 -1
- package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/InlineBanner.d.ts +4 -2
- package/lib/types/components/feedback/InlineBanner.d.ts.map +1 -0
- package/lib/types/components/feedback/OperationFeedback.css.d.ts +0 -1
- package/lib/types/components/feedback/OperationFeedback.css.d.ts.map +1 -1
- package/lib/types/components/feedback/OperationFeedback.d.ts.map +1 -1
- package/lib/types/components/feedback/inlineBanner.css.d.ts.map +1 -0
- package/lib/types/components/infinite/InfiniteScrollTrigger.d.ts.map +1 -1
- package/lib/types/components/layout/ActionPanel.css.d.ts +1 -0
- package/lib/types/components/layout/ActionPanel.css.d.ts.map +1 -1
- package/lib/types/components/layout/ActionPanel.d.ts.map +1 -1
- package/lib/types/components/layout/PageShell.css.d.ts +1 -14
- package/lib/types/components/layout/PageShell.css.d.ts.map +1 -1
- package/lib/types/components/layout/PageShell.d.ts +1 -3
- package/lib/types/components/layout/PageShell.d.ts.map +1 -1
- package/lib/types/components/layout/ResizableSplitView.css.d.ts +8 -0
- package/lib/types/components/layout/ResizableSplitView.css.d.ts.map +1 -0
- package/lib/types/components/layout/ResizableSplitView.d.ts +27 -0
- package/lib/types/components/layout/ResizableSplitView.d.ts.map +1 -0
- package/lib/types/components/layout/Surface.css.d.ts +31 -0
- package/lib/types/components/layout/Surface.css.d.ts.map +1 -0
- package/lib/types/components/layout/Surface.d.ts +30 -0
- package/lib/types/components/layout/Surface.d.ts.map +1 -0
- package/lib/types/components/layout/toolbar/Toolbar.css.d.ts +40 -0
- package/lib/types/components/layout/toolbar/Toolbar.css.d.ts.map +1 -0
- package/lib/types/components/layout/toolbar/Toolbar.d.ts +35 -0
- package/lib/types/components/layout/toolbar/Toolbar.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts +57 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigation.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationItem.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarNavigationSection.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts +2 -0
- package/lib/types/components/navigation/sidebar/SidebarProfileMenu.d.ts.map +1 -0
- package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts +19 -0
- package/lib/types/components/navigation/sidebar/sidebarNavigation.css.d.ts.map +1 -0
- package/lib/types/components/subscriptions/RefetchNeededBanner.d.ts.map +1 -1
- package/lib/types/i18n/resources.d.ts +32 -14
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/lib/types/index.d.ts +33 -33
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/internal/data-table/virtualization.d.ts +2 -2
- package/lib/types/internal/data-table/virtualization.d.ts.map +1 -1
- package/lib/types/internal/infinite/infiniteLoad.d.ts +27 -0
- package/lib/types/internal/infinite/infiniteLoad.d.ts.map +1 -0
- package/lib/types/theme/backofficeTheme.css.d.ts +100 -0
- package/lib/types/theme/backofficeTheme.css.d.ts.map +1 -1
- package/lib/types/theme/publicTheme.css.d.ts +100 -0
- package/lib/types/theme/publicTheme.css.d.ts.map +1 -1
- package/lib/types/theme/sprinkles.css.d.ts +2 -2
- package/lib/types/theme/themeContract.css.d.ts +50 -0
- package/lib/types/theme/themeContract.css.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/i18n/locales/en/ui.json +16 -7
- package/src/i18n/locales/fr/ui.json +16 -7
- package/lib/esm/atomic/molecules/card/Card.css.js +0 -8
- package/lib/esm/atomic/molecules/card/Card.css.js.map +0 -1
- package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js +0 -8
- package/lib/esm/atomic/molecules/form/FormErrorBanner.css.js.map +0 -1
- package/lib/esm/atomic/molecules/form/FormErrorBanner.js +0 -17
- package/lib/esm/atomic/molecules/form/FormErrorBanner.js.map +0 -1
- package/lib/esm/atomic/templates/detail-page/DetailPage.js +0 -49
- package/lib/esm/atomic/templates/detail-page/DetailPage.js.map +0 -1
- package/lib/esm/atomic/templates/detail-page/detailPage.css.js +0 -8
- package/lib/esm/atomic/templates/detail-page/detailPage.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js +0 -33
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js +0 -36
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js +0 -37
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js +0 -35
- package/lib/esm/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js +0 -41
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js +0 -8
- package/lib/esm/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js +0 -46
- package/lib/esm/backoffice/molecules/backoffice_tabs/BackofficeTabs.js.map +0 -1
- package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js +0 -17
- package/lib/esm/backoffice/molecules/backoffice_tabs/backofficeTabs.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js +0 -46
- package/lib/esm/backoffice/molecules/inline_banner/InlineBanner.js.map +0 -1
- package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js +0 -19
- package/lib/esm/backoffice/molecules/inline_banner/inlineBanner.css.js.map +0 -1
- package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js +0 -41
- package/lib/esm/backoffice/molecules/table_toolbar/TableToolbar.js.map +0 -1
- package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js +0 -8
- package/lib/esm/backoffice/molecules/table_toolbar/tableToolbar.css.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js +0 -26
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js +0 -8
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.js.map +0 -1
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js +0 -18
- package/lib/esm/backoffice/organisms/backoffice_virtualized_connection_table/helpers.js.map +0 -1
- package/lib/esm/components/dashboard/section_nav/SectionNav.css.js +0 -8
- package/lib/esm/components/dashboard/section_nav/SectionNav.css.js.map +0 -1
- package/lib/esm/components/dashboard/section_nav/SectionNav.js +0 -25
- package/lib/esm/components/dashboard/section_nav/SectionNav.js.map +0 -1
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js +0 -8
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.css.js.map +0 -1
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js +0 -24
- package/lib/esm/components/dashboard/segmented_nav/SegmentedNav.js.map +0 -1
- package/lib/esm/components/layout/AppShell.js +0 -19
- package/lib/esm/components/layout/AppShell.js.map +0 -1
- package/lib/esm/components/layout/SidebarPageLayout.js +0 -16
- package/lib/esm/components/layout/SidebarPageLayout.js.map +0 -1
- package/lib/esm/components/layout/SplitViewLayout.css.js +0 -8
- package/lib/esm/components/layout/SplitViewLayout.css.js.map +0 -1
- package/lib/esm/components/layout/SplitViewLayout.js +0 -18
- package/lib/esm/components/layout/SplitViewLayout.js.map +0 -1
- package/lib/esm/components/layout/TabsContentLayout.css.js +0 -8
- package/lib/esm/components/layout/TabsContentLayout.css.js.map +0 -1
- package/lib/esm/components/layout/TabsContentLayout.js +0 -31
- package/lib/esm/components/layout/TabsContentLayout.js.map +0 -1
- package/lib/esm/components/layout/ToolbarRow.css.js +0 -8
- package/lib/esm/components/layout/ToolbarRow.css.js.map +0 -1
- package/lib/esm/components/layout/ToolbarRow.js +0 -12
- package/lib/esm/components/layout/ToolbarRow.js.map +0 -1
- package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js +0 -8
- package/lib/esm/components/subscriptions/RefetchNeededBanner.css.js.map +0 -1
- package/lib/types/atomic/molecules/card/Card.css.d.ts +0 -5
- package/lib/types/atomic/molecules/card/Card.css.d.ts.map +0 -1
- package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts +0 -2
- package/lib/types/atomic/molecules/form/FormErrorBanner.css.d.ts.map +0 -1
- package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts +0 -7
- package/lib/types/atomic/molecules/form/FormErrorBanner.d.ts.map +0 -1
- package/lib/types/atomic/templates/detail-page/DetailPage.d.ts +0 -19
- package/lib/types/atomic/templates/detail-page/DetailPage.d.ts.map +0 -1
- package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts +0 -9
- package/lib/types/atomic/templates/detail-page/detailPage.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts +0 -10
- package/lib/types/backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts +0 -7
- package/lib/types/backoffice/molecules/backoffice_detail_layout/backofficeDetailLayout.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/backoffice_empty_state/backofficeEmptyState.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts +0 -13
- package/lib/types/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/backoffice_filters_bar/backofficeFiltersBar.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts +0 -5
- package/lib/types/backoffice/molecules/backoffice_form_section/backofficeFormSection.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts +0 -16
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/BackofficeInfiniteListStatus.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_infinite_list_status/backofficeInfiniteListStatus.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts +0 -13
- package/lib/types/backoffice/molecules/backoffice_load_more/BackofficeLoadMore.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts +0 -5
- package/lib/types/backoffice/molecules/backoffice_load_more/backofficeLoadMore.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts +0 -16
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts +0 -10
- package/lib/types/backoffice/molecules/backoffice_table_toolbar/backofficeTableToolbar.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts +0 -19
- package/lib/types/backoffice/molecules/backoffice_tabs/BackofficeTabs.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts +0 -15
- package/lib/types/backoffice/molecules/backoffice_tabs/backofficeTabs.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/inline_banner/InlineBanner.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/inline_banner/inlineBanner.css.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts +0 -13
- package/lib/types/backoffice/molecules/table_toolbar/TableToolbar.d.ts.map +0 -1
- package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts +0 -6
- package/lib/types/backoffice/molecules/table_toolbar/tableToolbar.css.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts +0 -31
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts +0 -5
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/backofficeVirtualizedConnectionTable.css.d.ts.map +0 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts +0 -5
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts.map +0 -1
- package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts +0 -4
- package/lib/types/components/dashboard/section_nav/SectionNav.css.d.ts.map +0 -1
- package/lib/types/components/dashboard/section_nav/SectionNav.d.ts +0 -15
- package/lib/types/components/dashboard/section_nav/SectionNav.d.ts.map +0 -1
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts +0 -4
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.css.d.ts.map +0 -1
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts +0 -15
- package/lib/types/components/dashboard/segmented_nav/SegmentedNav.d.ts.map +0 -1
- package/lib/types/components/layout/AppShell.d.ts +0 -17
- package/lib/types/components/layout/AppShell.d.ts.map +0 -1
- package/lib/types/components/layout/SidebarPageLayout.d.ts +0 -15
- package/lib/types/components/layout/SidebarPageLayout.d.ts.map +0 -1
- package/lib/types/components/layout/SplitViewLayout.css.d.ts +0 -3
- package/lib/types/components/layout/SplitViewLayout.css.d.ts.map +0 -1
- package/lib/types/components/layout/SplitViewLayout.d.ts +0 -11
- package/lib/types/components/layout/SplitViewLayout.d.ts.map +0 -1
- package/lib/types/components/layout/TabsContentLayout.css.d.ts +0 -6
- package/lib/types/components/layout/TabsContentLayout.css.d.ts.map +0 -1
- package/lib/types/components/layout/TabsContentLayout.d.ts +0 -9
- package/lib/types/components/layout/TabsContentLayout.d.ts.map +0 -1
- package/lib/types/components/layout/ToolbarRow.css.d.ts +0 -2
- package/lib/types/components/layout/ToolbarRow.css.d.ts.map +0 -1
- package/lib/types/components/layout/ToolbarRow.d.ts +0 -8
- package/lib/types/components/layout/ToolbarRow.d.ts.map +0 -1
- package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts +0 -5
- package/lib/types/components/subscriptions/RefetchNeededBanner.css.d.ts.map +0 -1
- /package/lib/types/{backoffice/molecules/inline_banner → components/feedback}/inlineBanner.css.d.ts +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Spinner as t } from "../../atoms/spinner/Spinner.js";
|
|
3
|
+
import { resolveBackofficeListFooterLabels as n, resolveBackofficeListFooterPageInfoState as r, resolveBackofficeListFooterStatusLabel as i } from "./BackofficeListFooter.helpers.js";
|
|
4
|
+
import { button as a, container as o, progress as s, statusGroup as c } from "./backofficeListFooter.css.js";
|
|
5
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
6
|
+
//#region src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.tsx
|
|
7
|
+
var d = ({ className: d, hasNextPage: f, isLoading: p, labels: m, loadedCount: h, mode: g, onLoadMore: _, pageInfoState: v, totalCount: y }) => {
|
|
8
|
+
let b = r({
|
|
9
|
+
hasNextPage: f,
|
|
10
|
+
isLoading: p,
|
|
11
|
+
pageInfoState: v
|
|
12
|
+
}), x = n({
|
|
13
|
+
labels: m,
|
|
14
|
+
loadedCount: h,
|
|
15
|
+
totalCount: y
|
|
16
|
+
}), S = i({
|
|
17
|
+
labels: x,
|
|
18
|
+
mode: g,
|
|
19
|
+
pageInfoState: b
|
|
20
|
+
}), C = null;
|
|
21
|
+
return g === "button" && f && !p && _ != null && (C = /* @__PURE__ */ l("button", {
|
|
22
|
+
type: "button",
|
|
23
|
+
className: a,
|
|
24
|
+
onClick: _,
|
|
25
|
+
children: x.loadMore
|
|
26
|
+
})), /* @__PURE__ */ u("div", {
|
|
27
|
+
className: e(o, d),
|
|
28
|
+
children: [/* @__PURE__ */ l("div", {
|
|
29
|
+
className: c,
|
|
30
|
+
role: "status",
|
|
31
|
+
"aria-live": "polite",
|
|
32
|
+
"aria-atomic": "true",
|
|
33
|
+
children: x.loaded != null && /* @__PURE__ */ l("span", {
|
|
34
|
+
className: "_6wqadl4 qbwcueq txvbqbt9i txvbqbusr txvbqb16g0 txvbqb18xk _6wqadl3 txvbqb9j txvbqb19cb",
|
|
35
|
+
children: x.loaded
|
|
36
|
+
})
|
|
37
|
+
}), /* @__PURE__ */ u("div", {
|
|
38
|
+
className: s,
|
|
39
|
+
"aria-live": "polite",
|
|
40
|
+
"aria-atomic": "true",
|
|
41
|
+
children: [
|
|
42
|
+
p && /* @__PURE__ */ l(t, { size: 16 }),
|
|
43
|
+
S != null && /* @__PURE__ */ l("span", {
|
|
44
|
+
className: "_6wqadl5 txvbqb9j txvbqb19cd",
|
|
45
|
+
children: S
|
|
46
|
+
}),
|
|
47
|
+
C
|
|
48
|
+
]
|
|
49
|
+
})]
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { d as BackofficeListFooter, d as default };
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=BackofficeListFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeListFooter.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Spinner } from '../../atoms/spinner/Spinner.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport {\n resolveBackofficeListFooterLabels,\n resolveBackofficeListFooterPageInfoState,\n resolveBackofficeListFooterStatusLabel,\n} from './BackofficeListFooter.helpers.js';\nimport * as styles from './backofficeListFooter.css.js';\n\nexport type BackofficeListFooterMode = 'status' | 'button';\n\nexport type BackofficeListFooterPageInfoState =\n | 'ready'\n | 'loading'\n | 'complete'\n | 'inconsistent';\n\nexport type BackofficeListFooterLabels = {\n loadMore?: ReactNode;\n loading?: ReactNode;\n end?: ReactNode;\n loaded?: ReactNode;\n};\n\nexport type BackofficeListFooterProps = {\n mode: BackofficeListFooterMode;\n hasNextPage: boolean;\n isLoading: boolean;\n onLoadMore?: () => void;\n loadedCount: number;\n totalCount?: number | null;\n pageInfoState?: BackofficeListFooterPageInfoState;\n labels?: BackofficeListFooterLabels;\n className?: string;\n};\n\nexport const BackofficeListFooter = ({\n className,\n hasNextPage,\n isLoading,\n labels,\n loadedCount,\n mode,\n onLoadMore,\n pageInfoState,\n totalCount,\n}: BackofficeListFooterProps): JSX.Element => {\n const resolvedPageInfoState = resolveBackofficeListFooterPageInfoState({\n hasNextPage,\n isLoading,\n pageInfoState,\n });\n const resolvedLabels = resolveBackofficeListFooterLabels({\n labels,\n loadedCount,\n totalCount,\n });\n const statusLabel = resolveBackofficeListFooterStatusLabel({\n labels: resolvedLabels,\n mode,\n pageInfoState: resolvedPageInfoState,\n });\n\n let buttonNode: JSX.Element | null = null;\n if (mode === 'button' && hasNextPage && !isLoading && onLoadMore != null) {\n buttonNode = (\n <button type=\"button\" className={styles.button} onClick={onLoadMore}>\n {resolvedLabels.loadMore}\n </button>\n );\n }\n\n return (\n <div className={cx(styles.container, className)}>\n <div\n className={styles.statusGroup}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n >\n {resolvedLabels.loaded != null && (\n <span className={styles.status}>{resolvedLabels.loaded}</span>\n )}\n </div>\n <div className={styles.progress} aria-live=\"polite\" aria-atomic=\"true\">\n {isLoading && <Spinner size={16} />}\n {statusLabel != null && (\n <span className={styles.meta}>{statusLabel}</span>\n )}\n {buttonNode}\n </div>\n </div>\n );\n};\n\nexport default BackofficeListFooter;\n"],"mappings":";;;;;;AAuCA,IAAa,KAAwB,EACnC,cACA,gBACA,cACA,WACA,gBACA,SACA,eACA,kBACA,oBAC4C;CAC5C,IAAM,IAAwB,EAAyC;EACrE;EACA;EACA;EACD,CAAC,EACI,IAAiB,EAAkC;EACvD;EACA;EACA;EACD,CAAC,EACI,IAAc,EAAuC;EACzD,QAAQ;EACR;EACA,eAAe;EAChB,CAAC,EAEE,IAAiC;CASrC,OARI,MAAS,YAAY,KAAe,CAAC,KAAa,KAAc,SAClE,IACE,kBAAC,UAAD;EAAQ,MAAK;EAAS,WAAW;EAAe,SAAS;YACtD,EAAe;EACT,CAAA,GAKX,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAkB,EAAU;YAA/C,CACE,kBAAC,OAAD;GACE,WAAW;GACX,MAAK;GACL,aAAU;GACV,eAAY;aAEX,EAAe,UAAU,QACxB,kBAAC,QAAD;IAAM,WAAW;cAAgB,EAAe;IAAc,CAAA;GAE5D,CAAA,EACN,kBAAC,OAAD;GAAK,WAAW;GAAiB,aAAU;GAAS,eAAY;aAAhE;IACG,KAAa,kBAAC,GAAD,EAAS,MAAM,IAAM,CAAA;IAClC,KAAe,QACd,kBAAC,QAAD;KAAM,WAAW;eAAc;KAAmB,CAAA;IAEnD;IACG;KACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.ts
|
|
4
|
+
var e = "_6wqadl0 txvbqbyoi txvbqbzm3 txvbqb10jb txvbqbvve txvbqbdr8 txvbqbey txvbqbjus txvbqbffj txvbqbse3 txvbqb1g5 txvbqb6sm txvbqb2et txvbqb3bb txvbqb196b", t = "_6wqadl1 txvbqbdsb txvbqbey txvbqbff6 txvbqbt9i", n = "_6wqadl2 txvbqbdsb txvbqbey txvbqbju2 txvbqbff6 txvbqbf7y txvbqbt9i", r = "_6wqadl4 qbwcueq txvbqbt9i txvbqbusr txvbqb16g0 txvbqb18xk _6wqadl3 txvbqb9j txvbqb19cb", i = "_6wqadl5 txvbqb9j txvbqb19cd", a = "_6wqadl7 qbwcued qbwcueb txvbqb1uy txvbqb2et txvbqb17u txvbqb2g9 txvbqb196b txvbqb19c9 txvbqbv txvbqb7g txvbqb76 txvbqb7t qbwcuec txvbqb1aey txvbqb1ayi txvbqb1bsa txvbqb1b7e qbwcue4 txvbqb1c2w txvbqb1c9c qbwcue0 txvbqb1cb0 txvbqb1cws _6wqadl6 txvbqbyoi txvbqbzm3 txvbqb11ed txvbqbwqg txvbqbey txvbqbdsb txvbqb9j txvbqbfd0 txvbqbjtp";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { a as button, e as container, i as meta, n as progress, r as status, t as statusGroup };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeListFooter.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeListFooter.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_list_footer/backofficeListFooter.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles } from '../../../theme/sprinkles.css.js';\nimport {\n interactiveControlSurface,\n truncate,\n} from '../../../theme/styleRecipes.css.js';\n\nexport const container = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 3,\n minHeight: 12,\n paddingY: 2,\n paddingX: 3,\n borderWidth: 0,\n borderTopWidth: 'default',\n borderStyle: 'solid',\n borderTopColor: 'borderLight',\n backgroundColor: 'surface',\n});\n\nexport const statusGroup = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n minWidth: 0,\n});\n\nexport const progress = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n gap: 2,\n flexShrink: 0,\n minWidth: 0,\n});\n\nexport const status = style([\n truncate,\n sprinkles({\n fontSize: 'sm',\n color: 'textSecondary',\n }),\n]);\n\nexport const meta = sprinkles({\n fontSize: 'sm',\n color: 'textMuted',\n});\n\nexport const button = style([\n interactiveControlSurface,\n sprinkles({\n alignItems: 'center',\n display: 'inline-flex',\n fontSize: 'sm',\n fontWeight: 'semibold',\n justifyContent: 'center',\n paddingX: 3,\n paddingY: 1.5,\n }),\n]);\n"],"mappings":""}
|
package/lib/esm/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.ts
|
|
2
|
+
var e = "[unserializable]", t = (t) => {
|
|
3
|
+
try {
|
|
4
|
+
return JSON.stringify(t, null, 2);
|
|
5
|
+
} catch {
|
|
6
|
+
return t instanceof Error && t.message.trim() !== "" ? t.message : typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? String(t) : e;
|
|
7
|
+
}
|
|
8
|
+
}, n = (e) => e == null ? "" : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? String(e) : t(e), r = {
|
|
9
|
+
resolveTextContent: n,
|
|
10
|
+
stringifyJson: t
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { r as __testBackofficePayloadViewer, n as resolveBackofficePayloadTextContent, t as stringifyBackofficePayloadJson };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=BackofficePayloadViewer.helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficePayloadViewer.helpers.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.ts"],"sourcesContent":["const SERIALIZATION_FALLBACK = '[unserializable]';\n\nexport const stringifyBackofficePayloadJson = (value: unknown): string => {\n try {\n return JSON.stringify(value, null, 2);\n } catch {\n if (value instanceof Error && value.message.trim() !== '') {\n return value.message;\n }\n if (\n typeof value === 'string' ||\n typeof value === 'number' ||\n typeof value === 'boolean'\n ) {\n return String(value);\n }\n return SERIALIZATION_FALLBACK;\n }\n};\n\nexport const resolveBackofficePayloadTextContent = (\n content: unknown,\n): string => {\n if (content == null) {\n return '';\n }\n if (typeof content === 'string') {\n return content;\n }\n if (typeof content === 'number' || typeof content === 'boolean') {\n return String(content);\n }\n return stringifyBackofficePayloadJson(content);\n};\n\nexport const __testBackofficePayloadViewer = {\n resolveTextContent: resolveBackofficePayloadTextContent,\n stringifyJson: stringifyBackofficePayloadJson,\n} as const;\n"],"mappings":";AAAA,IAAM,IAAyB,oBAElB,KAAkC,MAA2B;CACxE,IAAI;EACF,OAAO,KAAK,UAAU,GAAO,MAAM,EAAE;SAC/B;EAWN,OAVI,aAAiB,SAAS,EAAM,QAAQ,MAAM,KAAK,KAC9C,EAAM,UAGb,OAAO,KAAU,YACjB,OAAO,KAAU,YACjB,OAAO,KAAU,YAEV,OAAO,EAAM,GAEf;;GAIE,KACX,MAEI,KAAW,OACN,KAEL,OAAO,KAAY,WACd,IAEL,OAAO,KAAY,YAAY,OAAO,KAAY,YAC7C,OAAO,EAAQ,GAEjB,EAA+B,EAAQ,EAGnC,IAAgC;CAC3C,oBAAoB;CACpB,eAAe;CAChB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { HighlightCode as t } from "../../../atomic/molecules/highlight/HighlightCode.js";
|
|
3
|
+
import { LazyMarkdownRenderer as n } from "../../../atomic/molecules/markdown/LazyMarkdownRenderer.js";
|
|
4
|
+
import { BackofficeJsonViewer as r } from "../backoffice_json_viewer/BackofficeJsonViewer.js";
|
|
5
|
+
import { resolveBackofficePayloadTextContent as i } from "./BackofficePayloadViewer.helpers.js";
|
|
6
|
+
import { container as a, details as o, detailsSummary as s, empty as c } from "./backofficePayloadViewer.css.js";
|
|
7
|
+
import { useMemo as l } from "react";
|
|
8
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
|
+
import { useTranslation as f } from "react-i18next";
|
|
10
|
+
//#region src/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.tsx
|
|
11
|
+
var p = ({ content: p, format: m, summary: h, mode: g = "inline", initiallyExpanded: _ = !1, emptyState: v, labels: y, className: b, maxHeight: x }) => {
|
|
12
|
+
let { t: S } = f("ui"), C = v ?? S("backoffice.payloadViewer.emptyState"), w = l(() => i(p), [p]), T = w.trim() === "", E = l(() => {
|
|
13
|
+
if (x != null) return {
|
|
14
|
+
maxHeight: x,
|
|
15
|
+
overflow: "auto"
|
|
16
|
+
};
|
|
17
|
+
}, [x]), D;
|
|
18
|
+
if (T) D = /* @__PURE__ */ u("span", {
|
|
19
|
+
className: c,
|
|
20
|
+
children: C
|
|
21
|
+
});
|
|
22
|
+
else if (m === "json") D = /* @__PURE__ */ u(r, {
|
|
23
|
+
value: p,
|
|
24
|
+
title: y?.jsonTitle,
|
|
25
|
+
maxHeight: x,
|
|
26
|
+
truncate: g === "details" && !_,
|
|
27
|
+
truncateLabel: y?.jsonCollapse,
|
|
28
|
+
expandLabel: y?.jsonExpand,
|
|
29
|
+
copyLabel: y?.copy,
|
|
30
|
+
copiedLabel: y?.copied
|
|
31
|
+
});
|
|
32
|
+
else if (m === "markdown") D = /* @__PURE__ */ u(n, { content: w });
|
|
33
|
+
else {
|
|
34
|
+
let e = y?.textBadge ?? S("backoffice.payloadViewer.text");
|
|
35
|
+
m === "code" && (e = y?.codeBadge ?? S("backoffice.payloadViewer.code")), D = /* @__PURE__ */ u("div", {
|
|
36
|
+
style: E,
|
|
37
|
+
children: /* @__PURE__ */ u(t, {
|
|
38
|
+
badgeLabel: e,
|
|
39
|
+
copyCode: w,
|
|
40
|
+
fallbackCodeText: w
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
let O = D;
|
|
45
|
+
return g === "details" && (O = /* @__PURE__ */ d("details", {
|
|
46
|
+
className: o,
|
|
47
|
+
open: _,
|
|
48
|
+
children: [/* @__PURE__ */ u("summary", {
|
|
49
|
+
className: s,
|
|
50
|
+
children: y?.details ?? S("backoffice.payloadViewer.details")
|
|
51
|
+
}), D]
|
|
52
|
+
})), /* @__PURE__ */ d("div", {
|
|
53
|
+
className: e(a, b),
|
|
54
|
+
children: [h != null && /* @__PURE__ */ u("div", {
|
|
55
|
+
className: "wrqh461 txvbqb19cb txvbqb9j",
|
|
56
|
+
children: h
|
|
57
|
+
}), O]
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { p as BackofficePayloadViewer, p as default };
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=BackofficePayloadViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficePayloadViewer.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.tsx"],"sourcesContent":["import { useMemo, type CSSProperties, type JSX, type ReactNode } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { HighlightCode } from '../../../atomic/molecules/highlight/HighlightCode.js';\nimport { LazyMarkdownRenderer } from '../../../atomic/molecules/markdown/LazyMarkdownRenderer.js';\nimport { cx } from '../../../theme/tools.js';\nimport { BackofficeJsonViewer } from '../backoffice_json_viewer/BackofficeJsonViewer.js';\nimport { resolveBackofficePayloadTextContent } from './BackofficePayloadViewer.helpers.js';\n\nimport * as styles from './backofficePayloadViewer.css.js';\n\nexport type BackofficePayloadViewerFormat =\n | 'json'\n | 'markdown'\n | 'text'\n | 'code';\n\nexport type BackofficePayloadViewerLabels = {\n details?: string;\n jsonTitle?: string;\n jsonCollapse?: string;\n jsonExpand?: string;\n copy?: string;\n copied?: string;\n codeBadge?: string;\n textBadge?: string;\n};\n\nexport type BackofficePayloadViewerProps = {\n content: unknown;\n format: BackofficePayloadViewerFormat;\n summary?: ReactNode;\n mode?: 'inline' | 'details';\n initiallyExpanded?: boolean;\n emptyState?: ReactNode;\n labels?: BackofficePayloadViewerLabels;\n className?: string;\n maxHeight?: string;\n};\n\nexport const BackofficePayloadViewer = ({\n content,\n format,\n summary,\n mode = 'inline',\n initiallyExpanded = false,\n emptyState,\n labels,\n className,\n maxHeight,\n}: BackofficePayloadViewerProps): JSX.Element => {\n const { t } = useTranslation('ui');\n const resolvedEmptyState =\n emptyState ?? t('backoffice.payloadViewer.emptyState');\n const textContent = useMemo(() => {\n return resolveBackofficePayloadTextContent(content);\n }, [content]);\n const isEmpty = textContent.trim() === '';\n const codeStyle = useMemo<CSSProperties | undefined>(() => {\n if (maxHeight == null) {\n return undefined;\n }\n return { maxHeight, overflow: 'auto' };\n }, [maxHeight]);\n\n let body: JSX.Element;\n if (isEmpty) {\n body = <span className={styles.empty}>{resolvedEmptyState}</span>;\n } else if (format === 'json') {\n body = (\n <BackofficeJsonViewer\n value={content}\n title={labels?.jsonTitle}\n maxHeight={maxHeight}\n truncate={mode === 'details' && !initiallyExpanded}\n truncateLabel={labels?.jsonCollapse}\n expandLabel={labels?.jsonExpand}\n copyLabel={labels?.copy}\n copiedLabel={labels?.copied}\n />\n );\n } else if (format === 'markdown') {\n body = <LazyMarkdownRenderer content={textContent} />;\n } else {\n let badgeLabel = labels?.textBadge ?? t('backoffice.payloadViewer.text');\n if (format === 'code') {\n badgeLabel = labels?.codeBadge ?? t('backoffice.payloadViewer.code');\n }\n body = (\n <div style={codeStyle}>\n <HighlightCode\n badgeLabel={badgeLabel}\n copyCode={textContent}\n fallbackCodeText={textContent}\n />\n </div>\n );\n }\n\n let contentNode = body;\n if (mode === 'details') {\n contentNode = (\n <details className={styles.details} open={initiallyExpanded}>\n <summary className={styles.detailsSummary}>\n {labels?.details ?? t('backoffice.payloadViewer.details')}\n </summary>\n {body}\n </details>\n );\n }\n\n return (\n <div className={cx(styles.container, className)}>\n {summary != null && <div className={styles.summary}>{summary}</div>}\n {contentNode}\n </div>\n );\n};\n\nexport default BackofficePayloadViewer;\n"],"mappings":";;;;;;;;;;AAwCA,IAAa,KAA2B,EACtC,YACA,WACA,SAAA,GACA,UAAO,UACP,uBAAoB,IACpB,eACA,WACA,cACA,mBAC+C;CAC/C,IAAM,EAAE,SAAM,EAAe,KAAK,EAC5B,IACJ,KAAc,EAAE,sCAAsC,EAClD,IAAc,QACX,EAAoC,EAAQ,EAClD,CAAC,EAAQ,CAAC,EACP,IAAU,EAAY,MAAM,KAAK,IACjC,IAAY,QAAyC;EACrD,SAAa,MAGjB,OAAO;GAAE;GAAW,UAAU;GAAQ;IACrC,CAAC,EAAU,CAAC,EAEX;CACJ,IAAI,GACF,IAAO,kBAAC,QAAD;EAAM,WAAW;YAAe;EAA0B,CAAA;MAC5D,IAAI,MAAW,QACpB,IACE,kBAAC,GAAD;EACE,OAAO;EACP,OAAO,GAAQ;EACJ;EACX,UAAU,MAAS,aAAa,CAAC;EACjC,eAAe,GAAQ;EACvB,aAAa,GAAQ;EACrB,WAAW,GAAQ;EACnB,aAAa,GAAQ;EACrB,CAAA;MAEC,IAAI,MAAW,YACpB,IAAO,kBAAC,GAAD,EAAsB,SAAS,GAAe,CAAA;MAChD;EACL,IAAI,IAAa,GAAQ,aAAa,EAAE,gCAAgC;EAIxE,AAHI,MAAW,WACb,IAAa,GAAQ,aAAa,EAAE,gCAAgC,GAEtE,IACE,kBAAC,OAAD;GAAK,OAAO;aACV,kBAAC,GAAD;IACc;IACZ,UAAU;IACV,kBAAkB;IAClB,CAAA;GACE,CAAA;;CAIV,IAAI,IAAc;CAYlB,OAXI,MAAS,cACX,IACE,kBAAC,WAAD;EAAS,WAAW;EAAgB,MAAM;YAA1C,CACE,kBAAC,WAAD;GAAS,WAAW;aACjB,GAAQ,WAAW,EAAE,mCAAmC;GACjD,CAAA,EACT,EACO;MAKZ,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAkB,EAAU;YAA/C,CACG,KAAW,QAAQ,kBAAC,OAAD;GAAK,WAAW;aAAiB;GAAc,CAAA,EAClE,EACG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.ts
|
|
4
|
+
var e = "wrqh460 txvbqbdr8 txvbqbf6i txvbqbffj txvbqb17w0", t = "wrqh461 txvbqb19cb txvbqb9j", n = "wrqh462 txvbqbdr8 txvbqbf6i txvbqbffj", r = "wrqh463 txvbqb19cb txvbqbv txvbqb9j txvbqbfcn", i = "wrqh464 txvbqb19cb txvbqb9j";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as container, n as details, r as detailsSummary, i as empty, t as summary };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficePayloadViewer.css.js.map
|
package/lib/esm/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficePayloadViewer.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_payload_viewer/backofficePayloadViewer.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n width: 'full',\n});\n\nexport const summary = sprinkles({\n color: 'textSecondary',\n fontSize: 'sm',\n});\n\nexport const details = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n});\n\nexport const detailsSummary = sprinkles({\n color: 'textSecondary',\n cursor: 'pointer',\n fontSize: 'sm',\n fontWeight: 'medium',\n});\n\nexport const empty = sprinkles({\n color: 'textSecondary',\n fontSize: 'sm',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Input as t } from "../../../atomic/atoms/input/Input.js";
|
|
3
|
+
import { BackofficeEmptyState as n } from "../backoffice_empty_state/BackofficeEmptyState.js";
|
|
4
|
+
import { layout as r, list as i, listItem as a, row as o, rowMeta as s, rowSubtitle as c, rowText as l, rowTitle as u } from "./backofficePicker.css.js";
|
|
5
|
+
import { useId as d } from "react";
|
|
6
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
|
+
import { useTranslation as h } from "react-i18next";
|
|
8
|
+
//#region src/backoffice/molecules/backoffice_picker/BackofficePicker.tsx
|
|
9
|
+
var g = ({ searchValue: n, onSearchChange: i, searchEnabled: a = !0, searchPlaceholder: o, searchAriaLabel: s, searchName: c = "backoffice-picker-search", children: l, className: u }) => {
|
|
10
|
+
let { t: f } = h("ui"), g = d(), _ = o ?? f("backoffice.picker.searchPlaceholder"), v = s ?? f("backoffice.picker.searchAriaLabel"), y = null;
|
|
11
|
+
return a && (y = /* @__PURE__ */ p(t, {
|
|
12
|
+
id: g,
|
|
13
|
+
name: c,
|
|
14
|
+
value: n,
|
|
15
|
+
onChange: (e) => {
|
|
16
|
+
i(e.target.value);
|
|
17
|
+
},
|
|
18
|
+
placeholder: _,
|
|
19
|
+
"aria-label": v,
|
|
20
|
+
size: "small",
|
|
21
|
+
fullWidth: !0
|
|
22
|
+
})), /* @__PURE__ */ m("div", {
|
|
23
|
+
className: e(r, u),
|
|
24
|
+
children: [y, l]
|
|
25
|
+
});
|
|
26
|
+
}, _ = ({ title: e, subtitle: t, meta: n }) => {
|
|
27
|
+
let r = null;
|
|
28
|
+
t != null && (r = /* @__PURE__ */ p("div", {
|
|
29
|
+
className: c,
|
|
30
|
+
children: t
|
|
31
|
+
}));
|
|
32
|
+
let i = null;
|
|
33
|
+
return n != null && (i = /* @__PURE__ */ p("div", {
|
|
34
|
+
className: s,
|
|
35
|
+
children: n
|
|
36
|
+
})), /* @__PURE__ */ m("div", {
|
|
37
|
+
className: o,
|
|
38
|
+
children: [/* @__PURE__ */ m("div", {
|
|
39
|
+
className: l,
|
|
40
|
+
children: [/* @__PURE__ */ p("div", {
|
|
41
|
+
className: u,
|
|
42
|
+
children: e
|
|
43
|
+
}), r]
|
|
44
|
+
}), i]
|
|
45
|
+
});
|
|
46
|
+
}, v = ({ items: t, onSelectItem: r, emptyState: o, ariaLabel: s, className: c }) => {
|
|
47
|
+
let { t: l } = h("ui"), u = s ?? l("backoffice.picker.listAriaLabel");
|
|
48
|
+
return t.length === 0 ? /* @__PURE__ */ p(f, { children: o ?? /* @__PURE__ */ p(n, {
|
|
49
|
+
title: l("backoffice.picker.empty.title"),
|
|
50
|
+
description: l("backoffice.picker.empty.description")
|
|
51
|
+
}) }) : /* @__PURE__ */ p("div", {
|
|
52
|
+
className: e(i, c),
|
|
53
|
+
role: "listbox",
|
|
54
|
+
"aria-label": u,
|
|
55
|
+
children: t.map((e) => /* @__PURE__ */ p("button", {
|
|
56
|
+
type: "button",
|
|
57
|
+
className: a,
|
|
58
|
+
role: "option",
|
|
59
|
+
"aria-selected": "false",
|
|
60
|
+
"aria-label": e.ariaLabel,
|
|
61
|
+
disabled: e.disabled,
|
|
62
|
+
onClick: () => {
|
|
63
|
+
r(e);
|
|
64
|
+
},
|
|
65
|
+
children: /* @__PURE__ */ p(_, {
|
|
66
|
+
title: e.title,
|
|
67
|
+
subtitle: e.subtitle,
|
|
68
|
+
meta: e.meta
|
|
69
|
+
})
|
|
70
|
+
}, e.id))
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
export { v as BackofficePickerList, _ as BackofficePickerRow, g as BackofficePickerShell };
|
|
75
|
+
|
|
76
|
+
//# sourceMappingURL=BackofficePicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficePicker.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_picker/BackofficePicker.tsx"],"sourcesContent":["import { type ChangeEvent, type JSX, type ReactNode, useId } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { Input } from '../../../atomic/atoms/input/Input.js';\nimport { cx } from '../../../theme/tools.js';\nimport { BackofficeEmptyState } from '../backoffice_empty_state/BackofficeEmptyState.js';\n\nimport * as styles from './backofficePicker.css.js';\n\nexport type BackofficePickerItem = {\n id: string;\n title: ReactNode;\n subtitle?: ReactNode;\n meta?: ReactNode;\n disabled?: boolean;\n ariaLabel?: string;\n};\n\nexport type BackofficePickerShellProps = {\n searchValue: string;\n onSearchChange: (next: string) => void;\n searchEnabled?: boolean;\n searchPlaceholder?: string;\n searchAriaLabel?: string;\n searchName?: string;\n children: ReactNode;\n className?: string;\n};\n\nexport const BackofficePickerShell = ({\n searchValue,\n onSearchChange,\n searchEnabled = true,\n searchPlaceholder,\n searchAriaLabel,\n searchName = 'backoffice-picker-search',\n children,\n className,\n}: BackofficePickerShellProps): JSX.Element => {\n const { t } = useTranslation('ui');\n const searchInputId = useId();\n const resolvedPlaceholder =\n searchPlaceholder ?? t('backoffice.picker.searchPlaceholder');\n const resolvedAriaLabel =\n searchAriaLabel ?? t('backoffice.picker.searchAriaLabel');\n\n let searchNode: JSX.Element | null = null;\n if (searchEnabled) {\n searchNode = (\n <Input\n id={searchInputId}\n name={searchName}\n value={searchValue}\n onChange={(event: ChangeEvent<HTMLInputElement>) => {\n onSearchChange(event.target.value);\n }}\n placeholder={resolvedPlaceholder}\n aria-label={resolvedAriaLabel}\n size=\"small\"\n fullWidth\n />\n );\n }\n\n return (\n <div className={cx(styles.layout, className)}>\n {searchNode}\n {children}\n </div>\n );\n};\n\nexport type BackofficePickerRowProps = {\n title: ReactNode;\n subtitle?: ReactNode;\n meta?: ReactNode;\n};\n\nexport const BackofficePickerRow = ({\n title,\n subtitle,\n meta,\n}: BackofficePickerRowProps): JSX.Element => {\n let subtitleNode: ReactNode | null = null;\n if (subtitle != null) {\n subtitleNode = <div className={styles.rowSubtitle}>{subtitle}</div>;\n }\n\n let metaNode: ReactNode | null = null;\n if (meta != null) {\n metaNode = <div className={styles.rowMeta}>{meta}</div>;\n }\n\n return (\n <div className={styles.row}>\n <div className={styles.rowText}>\n <div className={styles.rowTitle}>{title}</div>\n {subtitleNode}\n </div>\n {metaNode}\n </div>\n );\n};\n\nexport type BackofficePickerListProps = {\n items: readonly BackofficePickerItem[];\n onSelectItem: (item: BackofficePickerItem) => void;\n emptyState?: ReactNode;\n ariaLabel?: string;\n className?: string;\n};\n\nexport const BackofficePickerList = ({\n items,\n onSelectItem,\n emptyState,\n ariaLabel,\n className,\n}: BackofficePickerListProps): JSX.Element => {\n const { t } = useTranslation('ui');\n const resolvedAriaLabel = ariaLabel ?? t('backoffice.picker.listAriaLabel');\n\n if (items.length === 0) {\n return (\n <>\n {emptyState ?? (\n <BackofficeEmptyState\n title={t('backoffice.picker.empty.title')}\n description={t('backoffice.picker.empty.description')}\n />\n )}\n </>\n );\n }\n\n return (\n <div\n className={cx(styles.list, className)}\n role=\"listbox\"\n aria-label={resolvedAriaLabel}\n >\n {items.map((item) => {\n return (\n <button\n key={item.id}\n type=\"button\"\n className={styles.listItem}\n role=\"option\"\n aria-selected=\"false\"\n aria-label={item.ariaLabel}\n disabled={item.disabled}\n onClick={() => {\n onSelectItem(item);\n }}\n >\n <BackofficePickerRow\n title={item.title}\n subtitle={item.subtitle}\n meta={item.meta}\n />\n </button>\n );\n })}\n </div>\n );\n};\n"],"mappings":";;;;;;;;AA6BA,IAAa,KAAyB,EACpC,gBACA,mBACA,mBAAgB,IAChB,sBACA,oBACA,gBAAa,4BACb,aACA,mBAC6C;CAC7C,IAAM,EAAE,SAAM,EAAe,KAAK,EAC5B,IAAgB,GAAO,EACvB,IACJ,KAAqB,EAAE,sCAAsC,EACzD,IACJ,KAAmB,EAAE,oCAAoC,EAEvD,IAAiC;CAkBrC,OAjBI,MACF,IACE,kBAAC,GAAD;EACE,IAAI;EACJ,MAAM;EACN,OAAO;EACP,WAAW,MAAyC;GAClD,EAAe,EAAM,OAAO,MAAM;;EAEpC,aAAa;EACb,cAAY;EACZ,MAAK;EACL,WAAA;EACA,CAAA,GAKJ,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAe,EAAU;YAA5C,CACG,GACA,EACG;;GAUG,KAAuB,EAClC,UACA,aACA,cAC2C;CAC3C,IAAI,IAAiC;CACrC,AAAI,KAAY,SACd,IAAe,kBAAC,OAAD;EAAK,WAAW;YAAqB;EAAe,CAAA;CAGrE,IAAI,IAA6B;CAKjC,OAJI,KAAQ,SACV,IAAW,kBAAC,OAAD;EAAK,WAAW;YAAiB;EAAW,CAAA,GAIvD,kBAAC,OAAD;EAAK,WAAW;YAAhB,CACE,kBAAC,OAAD;GAAK,WAAW;aAAhB,CACE,kBAAC,OAAD;IAAK,WAAW;cAAkB;IAAY,CAAA,EAC7C,EACG;MACL,EACG;;GAYG,KAAwB,EACnC,UACA,iBACA,eACA,cACA,mBAC4C;CAC5C,IAAM,EAAE,SAAM,EAAe,KAAK,EAC5B,IAAoB,KAAa,EAAE,kCAAkC;CAe3E,OAbI,EAAM,WAAW,IAEjB,kBAAA,GAAA,EAAA,UACG,KACC,kBAAC,GAAD;EACE,OAAO,EAAE,gCAAgC;EACzC,aAAa,EAAE,sCAAsC;EACrD,CAAA,EAEH,CAAA,GAKL,kBAAC,OAAD;EACE,WAAW,EAAG,GAAa,EAAU;EACrC,MAAK;EACL,cAAY;YAEX,EAAM,KAAK,MAER,kBAAC,UAAD;GAEE,MAAK;GACL,WAAW;GACX,MAAK;GACL,iBAAc;GACd,cAAY,EAAK;GACjB,UAAU,EAAK;GACf,eAAe;IACb,EAAa,EAAK;;aAGpB,kBAAC,GAAD;IACE,OAAO,EAAK;IACZ,UAAU,EAAK;IACf,MAAM,EAAK;IACX,CAAA;GACK,EAhBF,EAAK,GAgBH,CAEX;EACE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_picker/backofficePicker.css.ts
|
|
4
|
+
var e = "_16pv6gb0 txvbqbdr8 txvbqbf6i txvbqbffj", t = "_16pv6gb2 _16pv6gb1 txvbqbdr8 txvbqbf6i txvbqbusr txvbqb2gm txvbqb1uy txvbqb2et txvbqb17u txvbqb196b", n = "_16pv6gb5 _16pv6gb3 txvbqbyoi txvbqbzm3 txvbqb11eq txvbqbwqt txvbqb6 txvbqbdqi txvbqb17w0 txvbqb1g5 txvbqb196b txvbqb19c9 txvbqbv txvbqb16ex txvbqb7h txvbqb75 txvbqb7t _16pv6gb4 txvbqb1aey", r = "_16pv6gb6 txvbqbdr8 txvbqbff6 txvbqbey txvbqbt9i", i = "_16pv6gb7 txvbqbdxd txvbqbt9i txvbqbdr8 txvbqbf6i txvbqb16ex", a = "_16pv6gb8 txvbqb19c9 txvbqbfcn txvbqb9w txvbqbly9 txvbqbusr txvbqb16g0 txvbqb18xk", o = "_16pv6gb9 txvbqb19cb txvbqb9j txvbqbly9 txvbqbusr txvbqb16g0 txvbqb18xk", s = "_16pv6gba txvbqb19cd txvbqb96 txvbqbly9 txvbqb18xk";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as layout, t as list, n as listItem, r as row, s as rowMeta, o as rowSubtitle, i as rowText, a as rowTitle };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficePicker.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficePicker.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_picker/backofficePicker.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles, stateSprinkles } from '../../../theme/sprinkles.css.js';\nimport { vars } from '../../../theme/themeContract.css.js';\n\nexport const layout = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n});\n\nexport const list = style([\n sprinkles({\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n borderRadius: 'lg',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n backgroundColor: 'surface',\n }),\n {\n selectors: {\n '&:empty': {\n display: 'none',\n },\n },\n },\n]);\n\nexport const listItem = style([\n sprinkles({\n appearance: 'none',\n display: 'block',\n width: 'full',\n paddingX: 3,\n paddingY: 2.5,\n borderWidth: 0,\n backgroundColor: 'surface',\n color: 'text',\n cursor: 'pointer',\n textAlign: 'left',\n transitionProperty: 'colors',\n transitionDuration: 120,\n transitionTimingFunction: 'ease',\n }),\n stateSprinkles({\n backgroundColor: {\n hoverNotDisabled: 'surfaceMuted',\n },\n }),\n {\n minHeight: '3.25rem',\n selectors: {\n '& + &': {\n borderTop: `1px solid ${vars.colors.borderSubtle}`,\n },\n '&:focus-visible': {\n outline: `2px solid ${vars.colors.primary}`,\n outlineOffset: '-2px',\n },\n '&:disabled': {\n cursor: 'not-allowed',\n opacity: 0.56,\n },\n },\n },\n]);\n\nexport const row = sprinkles({\n display: 'flex',\n gap: 2,\n alignItems: 'center',\n minWidth: 0,\n});\n\nexport const rowText = sprinkles({\n flex: 1,\n minWidth: 0,\n display: 'flex',\n flexDirection: 'column',\n textAlign: 'left',\n});\n\nexport const rowTitle = sprinkles({\n color: 'text',\n fontWeight: 'medium',\n fontSize: 'base',\n lineHeight: 1.2,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n});\n\nexport const rowSubtitle = sprinkles({\n color: 'textSecondary',\n fontSize: 'sm',\n lineHeight: 1.2,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n});\n\nexport const rowMeta = sprinkles({\n color: 'textMuted',\n fontSize: 'xs',\n lineHeight: 1.2,\n whiteSpace: 'nowrap',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Tag as t } from "../../atoms/tag/Tag.js";
|
|
3
|
+
import { root as n, value as r } from "./backofficeReferenceValue.css.js";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import { useTranslation as o } from "react-i18next";
|
|
6
|
+
//#region src/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.tsx
|
|
7
|
+
var s = ({ kind: s, value: c, emptyLabel: l, className: u }) => {
|
|
8
|
+
let { t: d } = o("ui", { useSuspense: !1 });
|
|
9
|
+
return /* @__PURE__ */ a("span", {
|
|
10
|
+
className: e(n, u),
|
|
11
|
+
children: [/* @__PURE__ */ i(t, {
|
|
12
|
+
tone: "neutral",
|
|
13
|
+
children: s
|
|
14
|
+
}), /* @__PURE__ */ i("span", {
|
|
15
|
+
className: r,
|
|
16
|
+
children: c ?? l ?? d("common.notAvailable")
|
|
17
|
+
})]
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { s as BackofficeReferenceValue, s as default };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=BackofficeReferenceValue.js.map
|
package/lib/esm/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeReferenceValue.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_reference_value/BackofficeReferenceValue.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { Tag } from '../../atoms/tag/Tag.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeReferenceValue.css.js';\n\nexport type BackofficeReferenceValueProps = {\n readonly kind: string;\n readonly value: ReactNode | null | undefined;\n readonly emptyLabel?: string;\n readonly className?: string;\n};\n\nexport const BackofficeReferenceValue = ({\n kind,\n value,\n emptyLabel,\n className,\n}: BackofficeReferenceValueProps): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n\n return (\n <span className={cx(styles.root, className)}>\n <Tag tone=\"neutral\">{kind}</Tag>\n <span className={styles.value}>\n {value ?? emptyLabel ?? t('common.notAvailable')}\n </span>\n </span>\n );\n};\n\nexport default BackofficeReferenceValue;\n"],"mappings":";;;;;;AAeA,IAAa,KAA4B,EACvC,SACA,OAAA,GACA,eACA,mBACgD;CAChD,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC;CAE1D,OACE,kBAAC,QAAD;EAAM,WAAW,EAAG,GAAa,EAAU;YAA3C,CACE,kBAAC,GAAD;GAAK,MAAK;aAAW;GAAW,CAAA,EAChC,kBAAC,QAAD;GAAM,WAAW;aACd,KAAS,KAAc,EAAE,sBAAsB;GAC3C,CAAA,CACF"}
|
package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.ts
|
|
4
|
+
var e = "zmw50y0 txvbqbdsb txvbqbey txvbqbff6 txvbqbt9i", t = "zmw50y1 txvbqbt9i txvbqbutu";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as root, t as value };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeReferenceValue.css.js.map
|
package/lib/esm/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeReferenceValue.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_reference_value/backofficeReferenceValue.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const root = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n minWidth: 0,\n});\n\nexport const value = sprinkles({\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.tsx
|
|
5
|
+
var r = ({ className: r, emptyLabel: i, items: a, title: o }) => a.length === 0 ? null : /* @__PURE__ */ n(t, {
|
|
6
|
+
title: o,
|
|
7
|
+
className: r,
|
|
8
|
+
children: /* @__PURE__ */ n(e, {
|
|
9
|
+
items: a,
|
|
10
|
+
emptyLabel: i,
|
|
11
|
+
variant: "plain",
|
|
12
|
+
layout: "stack"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { r as BackofficeScopeStack, r as default };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=BackofficeScopeStack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeScopeStack.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_scope_stack/BackofficeScopeStack.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';\n\nexport type BackofficeScopeStackItem = {\n readonly id: string;\n readonly label: ReactNode;\n readonly value: ReactNode | null | undefined;\n};\n\nexport type BackofficeScopeStackProps = {\n readonly title: string;\n readonly items: readonly BackofficeScopeStackItem[];\n readonly emptyLabel?: string;\n readonly className?: string;\n};\n\nexport const BackofficeScopeStack = ({\n className,\n emptyLabel,\n items,\n title,\n}: BackofficeScopeStackProps): 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}\n emptyLabel={emptyLabel}\n variant=\"plain\"\n layout=\"stack\"\n />\n </BackofficeDetailSection>\n );\n};\n\nexport default BackofficeScopeStack;\n"],"mappings":";;;;AAkBA,IAAa,KAAwB,EACnC,cACA,eACA,UACA,eAEI,EAAM,WAAW,IACZ,OAIP,kBAAC,GAAD;CAAgC;CAAkB;WAChD,kBAAC,GAAD;EACS;EACK;EACZ,SAAQ;EACR,QAAO;EACP,CAAA;CACsB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BackofficeStatusMetaBadge as e } from "../backoffice_status_meta_badge/BackofficeStatusMetaBadge.js";
|
|
2
|
+
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.tsx
|
|
4
|
+
var r = ({ statuses: r }) => /* @__PURE__ */ n(t, { children: r.map((t) => /* @__PURE__ */ n(e, { status: t }, t.label)) });
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as BackofficeStatusGroup, r as default };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=BackofficeStatusGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeStatusGroup.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_status_group/BackofficeStatusGroup.tsx"],"sourcesContent":["import { type JSX } from 'react';\n\nimport {\n BackofficeStatusMetaBadge,\n type BackofficeStatusMeta,\n} from '../backoffice_status_meta_badge/BackofficeStatusMetaBadge.js';\n\nexport type BackofficeStatusGroupProps = {\n readonly statuses: readonly BackofficeStatusMeta[];\n};\n\nexport const BackofficeStatusGroup = ({\n statuses,\n}: BackofficeStatusGroupProps): JSX.Element => {\n return (\n <>\n {statuses.map((status) => {\n return <BackofficeStatusMetaBadge key={status.label} status={status} />;\n })}\n </>\n );\n};\n\nexport default BackofficeStatusGroup;\n"],"mappings":";;;AAWA,IAAa,KAAyB,EACpC,kBAGE,kBAAA,GAAA,EAAA,UACG,EAAS,KAAK,MACN,kBAAC,GAAD,EAAsD,WAAU,EAAhC,EAAO,MAAyB,CACvE,EACD,CAAA"}
|
package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { StatusBadge as t } from "../../atoms/status_badge/StatusBadge.js";
|
|
3
|
+
import { badge as n } from "./backofficeStatusMetaBadge.css.js";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { useTranslation as i } from "react-i18next";
|
|
6
|
+
//#region src/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.tsx
|
|
7
|
+
var a = {
|
|
8
|
+
neutral: "disabled",
|
|
9
|
+
info: "info",
|
|
10
|
+
success: "active",
|
|
11
|
+
warning: "warning",
|
|
12
|
+
danger: "error"
|
|
13
|
+
}, o = ({ status: o, emptyLabel: s, className: c }) => {
|
|
14
|
+
let { t: l } = i("ui", { useSuspense: !1 });
|
|
15
|
+
return o == null ? /* @__PURE__ */ r(t, {
|
|
16
|
+
tone: "disabled",
|
|
17
|
+
className: e(n, c),
|
|
18
|
+
children: s ?? l("common.notAvailable")
|
|
19
|
+
}) : /* @__PURE__ */ r(t, {
|
|
20
|
+
tone: a[o.tone],
|
|
21
|
+
className: e(n, c),
|
|
22
|
+
children: o.label
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { o as BackofficeStatusMetaBadge, o as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=BackofficeStatusMetaBadge.js.map
|
package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeStatusMetaBadge.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_status_meta_badge/BackofficeStatusMetaBadge.tsx"],"sourcesContent":["import { type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport {\n StatusBadge,\n type StatusTone,\n} from '../../atoms/status_badge/StatusBadge.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeStatusMetaBadge.css.js';\n\nexport type BackofficeStatusMetaTone =\n | 'neutral'\n | 'info'\n | 'success'\n | 'warning'\n | 'danger';\n\nexport type BackofficeStatusMeta = {\n readonly label: string;\n readonly tone: BackofficeStatusMetaTone;\n};\n\nexport type BackofficeStatusMetaBadgeProps = {\n readonly status: BackofficeStatusMeta | null | undefined;\n readonly emptyLabel?: string;\n readonly className?: string;\n};\n\nconst statusToneMap = {\n neutral: 'disabled',\n info: 'info',\n success: 'active',\n warning: 'warning',\n danger: 'error',\n} as const satisfies Record<BackofficeStatusMetaTone, StatusTone>;\n\nexport const BackofficeStatusMetaBadge = ({\n status,\n emptyLabel,\n className,\n}: BackofficeStatusMetaBadgeProps): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n\n if (status == null) {\n return (\n <StatusBadge tone=\"disabled\" className={cx(styles.badge, className)}>\n {emptyLabel ?? t('common.notAvailable')}\n </StatusBadge>\n );\n }\n\n return (\n <StatusBadge\n tone={statusToneMap[status.tone]}\n className={cx(styles.badge, className)}\n >\n {status.label}\n </StatusBadge>\n );\n};\n\nexport default BackofficeStatusMetaBadge;\n"],"mappings":";;;;;;AA6BA,IAAM,IAAgB;CACpB,SAAS;CACT,MAAM;CACN,SAAS;CACT,SAAS;CACT,QAAQ;CACT,EAEY,KAA6B,EACxC,WACA,eACA,mBACiD;CACjD,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC;CAU1D,OARI,KAAU,OAEV,kBAAC,GAAD;EAAa,MAAK;EAAW,WAAW,EAAG,GAAc,EAAU;YAChE,KAAc,EAAE,sBAAsB;EAC3B,CAAA,GAKhB,kBAAC,GAAD;EACE,MAAM,EAAc,EAAO;EAC3B,WAAW,EAAG,GAAc,EAAU;YAErC,EAAO;EACI,CAAA"}
|
package/lib/esm/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.ts
|
|
4
|
+
var e = "_1yt02tj0 txvbqb18si";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as badge };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeStatusMetaBadge.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeStatusMetaBadge.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_status_meta_badge/backofficeStatusMetaBadge.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const badge = sprinkles({\n width: 'fit',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Toolbar as t, ToolbarGroup as n } from "../../../components/layout/toolbar/Toolbar.js";
|
|
3
|
+
import { container as r, density as i, responsiveMode as a } from "./backofficeToolbar.css.js";
|
|
4
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
//#region src/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.tsx
|
|
6
|
+
var c = ({ ariaLabel: c, chips: l, className: u, density: d = "compact", filterDrawerTrigger: f, leading: p, primaryActions: m, primaryFilters: h, responsiveMode: g = "auto", search: _, secondaryFilters: v, sort: y, trailing: b, utilityActions: x }) => {
|
|
7
|
+
let S = h != null || v != null || f != null, C = p != null || _ != null || S, w = y != null || x != null || m != null || b != null, T = C || w, E = l != null;
|
|
8
|
+
return !T && !E ? null : /* @__PURE__ */ s(t, {
|
|
9
|
+
ariaLabel: c,
|
|
10
|
+
className: e(r, i[d], a[g], u),
|
|
11
|
+
density: d,
|
|
12
|
+
justify: "start",
|
|
13
|
+
wrap: "nowrap",
|
|
14
|
+
children: [T && /* @__PURE__ */ s("div", {
|
|
15
|
+
className: "chwove6 chwove5 txvbqbdrl txvbqbey txvbqbff6 txvbqb17w0",
|
|
16
|
+
children: [C && /* @__PURE__ */ s(n, {
|
|
17
|
+
className: "chwove7 txvbqbey txvbqbee txvbqb17w6",
|
|
18
|
+
grow: !0,
|
|
19
|
+
wrap: !0,
|
|
20
|
+
children: [
|
|
21
|
+
p,
|
|
22
|
+
_ != null && /* @__PURE__ */ o("div", {
|
|
23
|
+
className: "chwove9 chwove8 txvbqbt9i",
|
|
24
|
+
children: _
|
|
25
|
+
}),
|
|
26
|
+
S && /* @__PURE__ */ s("div", {
|
|
27
|
+
className: "chwovea txvbqbdr8 txvbqbey txvbqbee txvbqbf91 txvbqbff6 txvbqbt9i txvbqb17w6",
|
|
28
|
+
children: [
|
|
29
|
+
h,
|
|
30
|
+
v,
|
|
31
|
+
f
|
|
32
|
+
]
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
}), w && /* @__PURE__ */ s(n, {
|
|
36
|
+
className: "chwoveb txvbqbey txvbqbee txvbqbju2 txvbqbjup txvbqb17w6",
|
|
37
|
+
justify: "end",
|
|
38
|
+
wrap: !0,
|
|
39
|
+
children: [y != null && /* @__PURE__ */ o("div", {
|
|
40
|
+
className: "chwoved chwovec txvbqbdr8 txvbqbey txvbqbt9i",
|
|
41
|
+
children: y
|
|
42
|
+
}), (x != null || m != null || b != null) && /* @__PURE__ */ s("div", {
|
|
43
|
+
className: "chwovee txvbqbdr8 txvbqbey txvbqbee txvbqbju2 txvbqbjup txvbqbf91 txvbqbff6 txvbqb17w6",
|
|
44
|
+
children: [
|
|
45
|
+
x,
|
|
46
|
+
m,
|
|
47
|
+
b
|
|
48
|
+
]
|
|
49
|
+
})]
|
|
50
|
+
})]
|
|
51
|
+
}), E && /* @__PURE__ */ o("div", {
|
|
52
|
+
className: "chwovef txvbqbdr8 txvbqbey txvbqbf91 txvbqbff6 txvbqb10jb txvbqb6tp txvbqb2et txvbqb3al",
|
|
53
|
+
children: l
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { c as BackofficeToolbar, c as default };
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=BackofficeToolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeToolbar.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_toolbar/BackofficeToolbar.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport {\n Toolbar,\n ToolbarGroup,\n} from '../../../components/layout/toolbar/Toolbar.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeToolbar.css.js';\n\nexport type BackofficeToolbarDensity = 'compact' | 'default';\n\nexport type BackofficeToolbarResponsiveMode = 'auto' | 'stacked';\n\nexport type BackofficeToolbarProps = {\n search?: ReactNode;\n primaryFilters?: ReactNode;\n secondaryFilters?: ReactNode;\n filterDrawerTrigger?: ReactNode;\n sort?: ReactNode;\n utilityActions?: ReactNode;\n primaryActions?: ReactNode;\n chips?: ReactNode;\n leading?: ReactNode;\n trailing?: ReactNode;\n density?: BackofficeToolbarDensity;\n responsiveMode?: BackofficeToolbarResponsiveMode;\n ariaLabel?: string;\n className?: string;\n};\n\nexport const BackofficeToolbar = ({\n ariaLabel,\n chips,\n className,\n density = 'compact',\n filterDrawerTrigger,\n leading,\n primaryActions,\n primaryFilters,\n responsiveMode = 'auto',\n search,\n secondaryFilters,\n sort,\n trailing,\n utilityActions,\n}: BackofficeToolbarProps): JSX.Element | null => {\n const hasFilters =\n primaryFilters != null ||\n secondaryFilters != null ||\n filterDrawerTrigger != null;\n const hasLeft = leading != null || search != null || hasFilters;\n const hasActions =\n sort != null ||\n utilityActions != null ||\n primaryActions != null ||\n trailing != null;\n const hasMainRow = hasLeft || hasActions;\n const hasChips = chips != null;\n\n if (!hasMainRow && !hasChips) {\n return null;\n }\n\n return (\n <Toolbar\n ariaLabel={ariaLabel}\n className={cx(\n styles.container,\n styles.density[density],\n styles.responsiveMode[responsiveMode],\n className,\n )}\n density={density}\n justify=\"start\"\n wrap=\"nowrap\"\n >\n {hasMainRow && (\n <div className={styles.mainRow}>\n {hasLeft && (\n <ToolbarGroup className={styles.leftGroup} grow wrap>\n {leading}\n {search != null && (\n <div className={styles.searchGroup}>{search}</div>\n )}\n {hasFilters && (\n <div className={styles.filtersGroup}>\n {primaryFilters}\n {secondaryFilters}\n {filterDrawerTrigger}\n </div>\n )}\n </ToolbarGroup>\n )}\n {hasActions && (\n <ToolbarGroup className={styles.rightGroup} justify=\"end\" wrap>\n {sort != null && <div className={styles.sortGroup}>{sort}</div>}\n {(utilityActions != null ||\n primaryActions != null ||\n trailing != null) && (\n <div className={styles.actionsGroup}>\n {utilityActions}\n {primaryActions}\n {trailing}\n </div>\n )}\n </ToolbarGroup>\n )}\n </div>\n )}\n {hasChips && <div className={styles.chipsRow}>{chips}</div>}\n </Toolbar>\n );\n};\n\nexport default BackofficeToolbar;\n"],"mappings":";;;;;AA+BA,IAAa,KAAqB,EAChC,cACA,UACA,cACA,SAAA,IAAU,WACV,wBACA,YACA,mBACA,mBACA,gBAAA,IAAiB,QACjB,WACA,qBACA,SACA,aACA,wBACgD;CAChD,IAAM,IACJ,KAAkB,QAClB,KAAoB,QACpB,KAAuB,MACnB,IAAU,KAAW,QAAQ,KAAU,QAAQ,GAC/C,IACJ,KAAQ,QACR,KAAkB,QAClB,KAAkB,QAClB,KAAY,MACR,IAAa,KAAW,GACxB,IAAW,KAAS;CAM1B,OAJI,CAAC,KAAc,CAAC,IACX,OAIP,kBAAC,GAAD;EACa;EACX,WAAW,EACT,GACA,EAAe,IACf,EAAsB,IACtB,EACD;EACQ,SAAA;EACT,SAAQ;EACR,MAAK;YAVP,CAYG,KACC,kBAAC,OAAD;GAAK,WAAW;aAAhB,CACG,KACC,kBAAC,GAAD;IAAc,WAAW;IAAkB,MAAA;IAAK,MAAA;cAAhD;KACG;KACA,KAAU,QACT,kBAAC,OAAD;MAAK,WAAW;gBAAqB;MAAa,CAAA;KAEnD,KACC,kBAAC,OAAD;MAAK,WAAW;gBAAhB;OACG;OACA;OACA;OACG;;KAEK;OAEhB,KACC,kBAAC,GAAD;IAAc,WAAW;IAAmB,SAAQ;IAAM,MAAA;cAA1D,CACG,KAAQ,QAAQ,kBAAC,OAAD;KAAK,WAAW;eAAmB;KAAW,CAAA,GAC7D,KAAkB,QAClB,KAAkB,QAClB,KAAY,SACZ,kBAAC,OAAD;KAAK,WAAW;eAAhB;MACG;MACA;MACA;MACG;OAEK;MAEb;MAEP,KAAY,kBAAC,OAAD;GAAK,WAAW;aAAkB;GAAY,CAAA,CACnD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.ts
|
|
4
|
+
var e = "chwove0 txvbqbdr8 txvbqbf6i txvbqb17w0 txvbqbe8 txvbqbjuf txvbqbf8o", t = {
|
|
5
|
+
compact: "chwove1 txvbqbff6",
|
|
6
|
+
default: "chwove2 txvbqbffj"
|
|
7
|
+
}, n = {
|
|
8
|
+
auto: "chwove3",
|
|
9
|
+
stacked: "chwove4"
|
|
10
|
+
}, r = "chwove6 chwove5 txvbqbdrl txvbqbey txvbqbff6 txvbqb17w0", i = "chwove7 txvbqbey txvbqbee txvbqb17w6", a = "chwove9 chwove8 txvbqbt9i", o = "chwovea txvbqbdr8 txvbqbey txvbqbee txvbqbf91 txvbqbff6 txvbqbt9i txvbqb17w6", s = "chwoveb txvbqbey txvbqbee txvbqbju2 txvbqbjup txvbqb17w6", c = "chwoved chwovec txvbqbdr8 txvbqbey txvbqbt9i", l = "chwovee txvbqbdr8 txvbqbey txvbqbee txvbqbju2 txvbqbjup txvbqbf91 txvbqbff6 txvbqb17w6", u = "chwovef txvbqbdr8 txvbqbey txvbqbf91 txvbqbff6 txvbqb10jb txvbqb6tp txvbqb2et txvbqb3al";
|
|
11
|
+
//#endregion
|
|
12
|
+
export { l as actionsGroup, u as chipsRow, e as container, t as density, o as filtersGroup, i as leftGroup, r as mainRow, n as responsiveMode, s as rightGroup, a as searchGroup, c as sortGroup };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=backofficeToolbar.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeToolbar.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_toolbar/backofficeToolbar.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles } from '../../../theme/sprinkles.css.js';\n\nconst MOBILE_MEDIA_QUERY = 'screen and (max-width: 767px)';\nconst TABLET_MEDIA_QUERY = 'screen and (max-width: 1023px)';\n\nexport const container = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n width: 'full',\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n flexWrap: 'nowrap',\n});\n\nexport const density = {\n compact: sprinkles({\n gap: 2,\n }),\n default: sprinkles({\n gap: 3,\n }),\n};\n\nexport const responsiveMode = {\n auto: style({}),\n stacked: style({}),\n};\n\nexport const mainRow = style([\n sprinkles({\n display: 'grid',\n alignItems: 'center',\n gap: 2,\n width: 'full',\n }),\n {\n gridTemplateColumns: 'minmax(0, 1fr) auto',\n selectors: {\n [`${responsiveMode.stacked} &`]: {\n gridTemplateColumns: 'minmax(0, 1fr)',\n },\n },\n '@media': {\n [TABLET_MEDIA_QUERY]: {\n gridTemplateColumns: 'minmax(0, 1fr)',\n },\n },\n },\n]);\n\nexport const leftGroup = sprinkles({\n alignItems: {\n base: 'center',\n max767: 'stretch',\n },\n width: {\n max767: 'full',\n },\n});\n\nexport const searchGroup = style([\n sprinkles({\n minWidth: 0,\n }),\n {\n flex: '1 1 16rem',\n '@media': {\n [MOBILE_MEDIA_QUERY]: {\n width: '100%',\n },\n },\n },\n]);\n\nexport const filtersGroup = sprinkles({\n display: 'flex',\n alignItems: {\n base: 'center',\n max767: 'stretch',\n },\n flexWrap: 'wrap',\n gap: 2,\n minWidth: 0,\n width: {\n max767: 'full',\n },\n});\n\nexport const rightGroup = sprinkles({\n alignItems: {\n base: 'center',\n max767: 'stretch',\n },\n justifyContent: {\n base: 'flex-end',\n max1023: 'flex-start',\n },\n width: {\n max767: 'full',\n },\n});\n\nexport const sortGroup = style([\n sprinkles({\n display: 'flex',\n alignItems: 'center',\n minWidth: 0,\n }),\n {\n width: '11.5rem',\n '@media': {\n [MOBILE_MEDIA_QUERY]: {\n width: '100%',\n },\n },\n },\n]);\n\nexport const actionsGroup = sprinkles({\n display: 'flex',\n alignItems: {\n base: 'center',\n max767: 'stretch',\n },\n justifyContent: {\n base: 'flex-end',\n max1023: 'flex-start',\n },\n flexWrap: 'wrap',\n gap: 2,\n width: {\n max767: 'full',\n },\n});\n\nexport const chipsRow = sprinkles({\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n gap: 2,\n paddingTop: 2,\n borderTopWidth: 'px',\n borderStyle: 'solid',\n borderTopColor: 'borderSubtle',\n});\n"],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.ts
|
|
4
|
-
var e = "ndiqkc0 txvbqbyov txvbqbzmg txvbqb10jo txvbqbvvr txvbqbdr8 txvbqbey txvbqbjus txvbqbffj txvbqb2gm txvbqb1uy txvbqb2et txvbqb17h", t = "ndiqkc1 txvbqbdsb txvbqbey txvbqbff6 txvbqb9j", n = "ndiqkc2 txvbqbdsb txvbqbey txvbqbff6";
|
|
4
|
+
var e = "ndiqkc0 txvbqbyov txvbqbzmg txvbqb10jo txvbqbvvr txvbqbdr8 txvbqbey txvbqbjus txvbqbf91 txvbqbffj txvbqb2gm txvbqb1uy txvbqb2et txvbqb17h", t = "ndiqkc1 txvbqbdsb txvbqbey txvbqbff6 txvbqb9j txvbqbt9i", n = "ndiqkc2 txvbqbdsb txvbqbey txvbqbju2 txvbqbjul txvbqbf91 txvbqbff6 txvbqbt9i txvbqb17w6";
|
|
5
5
|
//#endregion
|
|
6
6
|
export { e as bar, t as left, n as right };
|
|
7
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulkActionsBar.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const bar = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 3,\n paddingX: 4,\n paddingY: 3,\n borderRadius: 'lg',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'border',\n});\n\nexport const left = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n fontSize: 'sm',\n});\n\nexport const right = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n});\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"bulkActionsBar.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/bulk_actions_bar/bulkActionsBar.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const bar = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n flexWrap: 'wrap',\n gap: 3,\n paddingX: 4,\n paddingY: 3,\n borderRadius: 'lg',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'border',\n});\n\nexport const left = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n fontSize: 'sm',\n minWidth: 0,\n});\n\nexport const right = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: {\n base: 'flex-end',\n max767: 'flex-start',\n },\n flexWrap: 'wrap',\n gap: 2,\n minWidth: 0,\n width: {\n max767: 'full',\n },\n});\n"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button as e } from "../../../atomic/atoms/button/Button.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Modal as t } from "../../../atomic/atoms/modal/Modal.js";
|
|
3
|
+
import { FormError as n } from "../../../atomic/molecules/form_error/FormError.js";
|
|
4
4
|
import { body as r, footer as i } from "./confirmDialog.css.js";
|
|
5
5
|
import { useCallback as a, useState as o } from "react";
|
|
6
6
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
@@ -53,7 +53,7 @@ var u = ({ isOpen: u, title: d, children: f, confirmLabel: p, cancelLabel: m, co
|
|
|
53
53
|
children: E
|
|
54
54
|
})]
|
|
55
55
|
}), N = null;
|
|
56
|
-
return w != null && (N = /* @__PURE__ */ s(
|
|
56
|
+
return w != null && (N = /* @__PURE__ */ s(n, { children: w })), /* @__PURE__ */ s(t, {
|
|
57
57
|
isOpen: u,
|
|
58
58
|
onClose: O,
|
|
59
59
|
title: d,
|