@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
package/lib/esm/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BackofficeKeyValueList as e } from "../backoffice_key_value_list/BackofficeKeyValueList.js";
|
|
2
|
+
import { BackofficeDetailSection as t } from "../backoffice_detail_section/BackofficeDetailSection.js";
|
|
3
|
+
import { BackofficeReferenceValue as n } from "../backoffice_reference_value/BackofficeReferenceValue.js";
|
|
4
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
//#region src/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.tsx
|
|
6
|
+
var o = ({ className: o, emptyLabel: s, items: c, title: l }) => c.length === 0 ? null : /* @__PURE__ */ i(t, {
|
|
7
|
+
title: l,
|
|
8
|
+
className: o,
|
|
9
|
+
children: /* @__PURE__ */ i(e, {
|
|
10
|
+
items: c.map((e) => {
|
|
11
|
+
let t = null;
|
|
12
|
+
e.actor != null && (t = /* @__PURE__ */ i(n, {
|
|
13
|
+
kind: e.actor.kind,
|
|
14
|
+
value: e.actor.label,
|
|
15
|
+
emptyLabel: s
|
|
16
|
+
}));
|
|
17
|
+
let o = null;
|
|
18
|
+
e.at != null && t != null && (o = " ");
|
|
19
|
+
let c = null;
|
|
20
|
+
return (e.at != null || t != null) && (c = /* @__PURE__ */ a(r, { children: [
|
|
21
|
+
e.at,
|
|
22
|
+
o,
|
|
23
|
+
t
|
|
24
|
+
] })), {
|
|
25
|
+
id: e.id,
|
|
26
|
+
label: e.label,
|
|
27
|
+
value: c
|
|
28
|
+
};
|
|
29
|
+
}),
|
|
30
|
+
emptyLabel: s,
|
|
31
|
+
variant: "plain",
|
|
32
|
+
layout: "grid"
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { o as BackofficeAuditMetadataPanel, o as default };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=BackofficeAuditMetadataPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeAuditMetadataPanel.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_audit_metadata_panel/BackofficeAuditMetadataPanel.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { BackofficeDetailSection } from '../backoffice_detail_section/BackofficeDetailSection.js';\nimport { BackofficeKeyValueList } from '../backoffice_key_value_list/BackofficeKeyValueList.js';\nimport { BackofficeReferenceValue } from '../backoffice_reference_value/BackofficeReferenceValue.js';\n\nexport type BackofficeAuditActor = {\n readonly kind: string;\n readonly label: ReactNode | null | undefined;\n readonly href?: string;\n};\n\nexport type BackofficeAuditMetadataItem = {\n readonly id: string;\n readonly label: ReactNode;\n readonly at?: ReactNode | null;\n readonly actor?: BackofficeAuditActor | null;\n};\n\nexport type BackofficeAuditMetadataPanelProps = {\n readonly title: string;\n readonly items: readonly BackofficeAuditMetadataItem[];\n readonly emptyLabel?: string;\n readonly className?: string;\n};\n\nexport const BackofficeAuditMetadataPanel = ({\n className,\n emptyLabel,\n items,\n title,\n}: BackofficeAuditMetadataPanelProps): JSX.Element | null => {\n if (items.length === 0) {\n return null;\n }\n\n return (\n <BackofficeDetailSection title={title} className={className}>\n <BackofficeKeyValueList\n items={items.map((item) => {\n let actorNode: ReactNode = null;\n if (item.actor != null) {\n actorNode = (\n <BackofficeReferenceValue\n kind={item.actor.kind}\n value={item.actor.label}\n emptyLabel={emptyLabel}\n />\n );\n }\n\n let separator: ReactNode = null;\n if (item.at != null && actorNode != null) {\n separator = ' ';\n }\n\n let value: ReactNode = null;\n if (item.at != null || actorNode != null) {\n value = (\n <>\n {item.at}\n {separator}\n {actorNode}\n </>\n );\n }\n\n return {\n id: item.id,\n label: item.label,\n value,\n };\n })}\n emptyLabel={emptyLabel}\n variant=\"plain\"\n layout=\"grid\"\n />\n </BackofficeDetailSection>\n );\n};\n\nexport default BackofficeAuditMetadataPanel;\n"],"mappings":";;;;;AA0BA,IAAa,KAAgC,EAC3C,cACA,eACA,UACA,eAEI,EAAM,WAAW,IACZ,OAIP,kBAAC,GAAD;CAAgC;CAAkB;WAChD,kBAAC,GAAD;EACE,OAAO,EAAM,KAAK,MAAS;GACzB,IAAI,IAAuB;GAC3B,AAAI,EAAK,SAAS,SAChB,IACE,kBAAC,GAAD;IACE,MAAM,EAAK,MAAM;IACjB,OAAO,EAAK,MAAM;IACN;IACZ,CAAA;GAIN,IAAI,IAAuB;GAC3B,AAAI,EAAK,MAAM,QAAQ,KAAa,SAClC,IAAY;GAGd,IAAI,IAAmB;GAWvB,QAVI,EAAK,MAAM,QAAQ,KAAa,UAClC,IACE,kBAAA,GAAA,EAAA,UAAA;IACG,EAAK;IACL;IACA;IACA,EAAA,CAAA,GAIA;IACL,IAAI,EAAK;IACT,OAAO,EAAK;IACZ;IACD;IACD;EACU;EACZ,SAAQ;EACR,QAAO;EACP,CAAA;CACsB,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { useUiTranslation as t } from "../../../i18n/useUiTranslation.js";
|
|
3
|
+
import { CopyableText as n } from "../../atoms/copyable_text/CopyableText.js";
|
|
4
|
+
import { field as r, fullWidth as i, label as a, size as o, value as s } from "./backofficeDetailField.css.js";
|
|
5
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
|
+
//#region src/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.tsx
|
|
7
|
+
var u = ({ className: u, copiedLabel: d, copyLabel: f, copyValue: p, emptyLabel: m, fullWidth: h = !1, label: g, size: _, value: v }) => {
|
|
8
|
+
let { t: y } = t(), b = v;
|
|
9
|
+
(b == null || typeof b == "string" && b.trim() === "") && (b = m ?? y("common.notAvailable", { defaultValue: "N/A" })), p != null && p !== "" && (b = /* @__PURE__ */ c(n, {
|
|
10
|
+
value: p,
|
|
11
|
+
copyValue: p,
|
|
12
|
+
truncate: !1,
|
|
13
|
+
copyLabel: f ?? y("common.actions.copy", { defaultValue: "Copy" }),
|
|
14
|
+
copiedLabel: d ?? y("common.actions.copied", { defaultValue: "Copied" })
|
|
15
|
+
}));
|
|
16
|
+
let x = [
|
|
17
|
+
r,
|
|
18
|
+
o[_],
|
|
19
|
+
u
|
|
20
|
+
];
|
|
21
|
+
return h && x.push(i), /* @__PURE__ */ l("div", {
|
|
22
|
+
className: e(...x),
|
|
23
|
+
children: [/* @__PURE__ */ c("span", {
|
|
24
|
+
className: a,
|
|
25
|
+
children: g
|
|
26
|
+
}), /* @__PURE__ */ c("div", {
|
|
27
|
+
className: s,
|
|
28
|
+
children: b
|
|
29
|
+
})]
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { u as BackofficeDetailField, u as default };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=BackofficeDetailField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeDetailField.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_field/BackofficeDetailField.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { useUiTranslation } from '../../../i18n/useUiTranslation.js';\nimport { cx } from '../../../theme/tools.js';\nimport { CopyableText } from '../../atoms/copyable_text/CopyableText.js';\n\nimport * as styles from './backofficeDetailField.css.js';\n\nexport type BackofficeDetailFieldSize =\n | 'xs'\n | 's'\n | 'statusAction'\n | 'm'\n | 'l'\n | 'xl'\n | 'fluid';\n\nexport type BackofficeDetailFieldProps = {\n id: string;\n label: string;\n size: BackofficeDetailFieldSize;\n value: ReactNode | null | undefined;\n copyValue?: string;\n fullWidth?: boolean;\n emptyLabel?: string;\n copyLabel?: string;\n copiedLabel?: string;\n className?: string;\n};\n\nexport const BackofficeDetailField = ({\n className,\n copiedLabel,\n copyLabel,\n copyValue,\n emptyLabel,\n fullWidth = false,\n label,\n size,\n value,\n}: BackofficeDetailFieldProps): JSX.Element => {\n const { t } = useUiTranslation();\n let resolvedValue: ReactNode = value;\n if (\n resolvedValue == null ||\n (typeof resolvedValue === 'string' && resolvedValue.trim() === '')\n ) {\n resolvedValue =\n emptyLabel ??\n t('common.notAvailable', {\n defaultValue: 'N/A',\n });\n }\n\n if (copyValue != null && copyValue !== '') {\n resolvedValue = (\n <CopyableText\n value={copyValue}\n copyValue={copyValue}\n truncate={false}\n copyLabel={\n copyLabel ??\n t('common.actions.copy', {\n defaultValue: 'Copy',\n })\n }\n copiedLabel={\n copiedLabel ??\n t('common.actions.copied', {\n defaultValue: 'Copied',\n })\n }\n />\n );\n }\n\n const fieldClassNames = [styles.field, styles.size[size], className];\n if (fullWidth) {\n fieldClassNames.push(styles.fullWidth);\n }\n\n return (\n <div className={cx(...fieldClassNames)}>\n <span className={styles.label}>{label}</span>\n <div className={styles.value}>{resolvedValue}</div>\n </div>\n );\n};\n\nexport default BackofficeDetailField;\n"],"mappings":";;;;;;AA8BA,IAAa,KAAyB,EACpC,cACA,gBACA,cACA,cACA,eACA,WAAA,IAAY,IACZ,OAAA,GACA,MAAA,GACA,OAAA,QAC6C;CAC7C,IAAM,EAAE,SAAM,GAAkB,EAC5B,IAA2B;CAY/B,CAVE,KAAiB,QAChB,OAAO,KAAkB,YAAY,EAAc,MAAM,KAAK,QAE/D,IACE,KACA,EAAE,uBAAuB,EACvB,cAAc,OACf,CAAC,GAGF,KAAa,QAAQ,MAAc,OACrC,IACE,kBAAC,GAAD;EACE,OAAO;EACI;EACX,UAAU;EACV,WACE,KACA,EAAE,uBAAuB,EACvB,cAAc,QACf,CAAC;EAEJ,aACE,KACA,EAAE,yBAAyB,EACzB,cAAc,UACf,CAAC;EAEJ,CAAA;CAIN,IAAM,IAAkB;EAAC;EAAc,EAAY;EAAO;EAAU;CAKpE,OAJI,KACF,EAAgB,KAAK,EAAiB,EAItC,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAG,EAAgB;YAAtC,CACE,kBAAC,QAAD;GAAM,WAAW;aAAe;GAAa,CAAA,EAC7C,kBAAC,OAAD;GAAK,WAAW;aAAe;GAAoB,CAAA,CAC/C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.ts
|
|
4
|
+
var e = "_1pfim3l0 txvbqbdr8 txvbqbf6i txvbqbfet txvbqbt9i", t = "_1pfim3l1 txvbqb96 txvbqb6a txvbqbkxs txvbqb19cb", n = "_1pfim3l2 txvbqb9j txvbqb19c9 txvbqbutu txvbqb18sv", r = "_1pfim3l3 txvbqbgjm", i = {
|
|
5
|
+
xs: "_1pfim3l4 txvbqbs39",
|
|
6
|
+
s: "_1pfim3l5 txvbqbs3m",
|
|
7
|
+
statusAction: "_1pfim3l6 txvbqbs3z",
|
|
8
|
+
m: "_1pfim3l7 txvbqbs3z",
|
|
9
|
+
l: "_1pfim3l8 txvbqbs4c",
|
|
10
|
+
xl: "_1pfim3l9 txvbqbs4p",
|
|
11
|
+
fluid: "_1pfim3la txvbqbs65"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { e as field, r as fullWidth, t as label, i as size, n as value };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=backofficeDetailField.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeDetailField.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_field/backofficeDetailField.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const field = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1,\n minWidth: 0,\n});\n\nexport const label = sprinkles({\n fontSize: 'xs',\n textTransform: 'uppercase',\n letterSpacing: 'capsTight',\n color: 'textSecondary',\n});\n\nexport const value = sprinkles({\n fontSize: 'sm',\n color: 'text',\n overflowWrap: 'anywhere',\n wordBreak: 'break-word',\n});\n\nexport const fullWidth = sprinkles({\n gridColumn: 'span-full',\n});\n\nexport const size = {\n xs: sprinkles({ maxWidth: '10ch' }),\n s: sprinkles({ maxWidth: '18ch' }),\n statusAction: sprinkles({ maxWidth: '28ch' }),\n m: sprinkles({ maxWidth: '28ch' }),\n l: sprinkles({ maxWidth: '44ch' }),\n xl: sprinkles({ maxWidth: '64ch' }),\n fluid: sprinkles({ maxWidth: 'full' }),\n};\n"],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Tag as e } from "../../atoms/tag/Tag.js";
|
|
2
|
+
import { content as t, icon as n, label as r } from "./backofficeDetailFlagTag.css.js";
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
//#region src/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.tsx
|
|
5
|
+
var o = ({ tone: o, icon: s, label: c, className: l }) => {
|
|
6
|
+
let u = s != null, d = null;
|
|
7
|
+
return u && (d = /* @__PURE__ */ i("span", {
|
|
8
|
+
className: n,
|
|
9
|
+
children: s
|
|
10
|
+
})), /* @__PURE__ */ i(e, {
|
|
11
|
+
tone: o,
|
|
12
|
+
className: l,
|
|
13
|
+
children: /* @__PURE__ */ a("span", {
|
|
14
|
+
className: t,
|
|
15
|
+
children: [d, /* @__PURE__ */ i("span", {
|
|
16
|
+
className: r,
|
|
17
|
+
children: c
|
|
18
|
+
})]
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { o as BackofficeDetailFlagTag, o as default };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=BackofficeDetailFlagTag.js.map
|
package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeDetailFlagTag.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_flag_tag/BackofficeDetailFlagTag.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Tag, type TagTone } from '../../atoms/tag/Tag.js';\n\nimport * as styles from './backofficeDetailFlagTag.css.js';\n\nexport type BackofficeDetailFlagTagProps = {\n tone: TagTone;\n icon?: ReactNode;\n label: string;\n className?: string;\n};\n\nexport const BackofficeDetailFlagTag = ({\n tone,\n icon,\n label,\n className,\n}: BackofficeDetailFlagTagProps): JSX.Element => {\n const hasIcon = icon != null;\n let iconNode: ReactNode | null = null;\n if (hasIcon) {\n iconNode = <span className={styles.icon}>{icon}</span>;\n }\n\n return (\n <Tag tone={tone} className={className}>\n <span className={styles.content}>\n {iconNode}\n <span className={styles.label}>{label}</span>\n </span>\n </Tag>\n );\n};\n\nexport default BackofficeDetailFlagTag;\n"],"mappings":";;;;AAaA,IAAa,KAA2B,EACtC,SACA,MAAA,GACA,OAAA,GACA,mBAC+C;CAC/C,IAAM,IAAU,KAAQ,MACpB,IAA6B;CAKjC,OAJI,MACF,IAAW,kBAAC,QAAD;EAAM,WAAW;YAAc;EAAY,CAAA,GAItD,kBAAC,GAAD;EAAW;EAAiB;YAC1B,kBAAC,QAAD;GAAM,WAAW;aAAjB,CACG,GACD,kBAAC,QAAD;IAAM,WAAW;cAAe;IAAa,CAAA,CACxC;;EACH,CAAA"}
|
package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.ts
|
|
4
|
+
var e = "ibgj30 txvbqbdr8 txvbqbey txvbqbff6", t = "ibgj31 txvbqbdr8 txvbqbey txvbqbdyg", n = "ibgj32 txvbqbdy3";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as content, t as icon, n as label };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeDetailFlagTag.css.js.map
|
package/lib/esm/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeDetailFlagTag.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_flag_tag/backofficeDetailFlagTag.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const content = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 2,\n});\n\nexport const icon = sprinkles({\n display: 'flex',\n alignItems: 'center',\n flex: 'none',\n});\n\nexport const label = sprinkles({\n flex: 'initial',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { BackofficeDetailField as t } from "../backoffice_detail_field/BackofficeDetailField.js";
|
|
3
|
+
import { description as n, grid as r, header as i, section as a, title as o } from "./backofficeDetailSection.css.js";
|
|
4
|
+
import { useId as s } from "react";
|
|
5
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
|
+
//#region src/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.tsx
|
|
7
|
+
var u = ({ children: u, className: d, description: f, items: p, title: m }) => {
|
|
8
|
+
let h = s(), g = null;
|
|
9
|
+
f != null && f !== "" && (g = /* @__PURE__ */ c("p", {
|
|
10
|
+
className: n,
|
|
11
|
+
children: f
|
|
12
|
+
}));
|
|
13
|
+
let _ = null;
|
|
14
|
+
return p != null && p.length > 0 && (_ = /* @__PURE__ */ c("div", {
|
|
15
|
+
className: r,
|
|
16
|
+
children: p.map((e) => /* @__PURE__ */ c(t, { ...e }, e.id))
|
|
17
|
+
})), /* @__PURE__ */ l("section", {
|
|
18
|
+
className: e(a, d),
|
|
19
|
+
"aria-labelledby": h,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ l("header", {
|
|
22
|
+
className: i,
|
|
23
|
+
children: [/* @__PURE__ */ c("h3", {
|
|
24
|
+
className: o,
|
|
25
|
+
id: h,
|
|
26
|
+
children: m
|
|
27
|
+
}), g]
|
|
28
|
+
}),
|
|
29
|
+
_,
|
|
30
|
+
u
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { u as BackofficeDetailSection, u as default };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=BackofficeDetailSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeDetailSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_section/BackofficeDetailSection.tsx"],"sourcesContent":["import { useId, type JSX, type ReactNode } from 'react';\n\nimport {\n BackofficeDetailField,\n type BackofficeDetailFieldProps,\n} from '../backoffice_detail_field/BackofficeDetailField.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeDetailSection.css.js';\n\nexport type BackofficeDetailSectionProps = {\n title: string;\n description?: string;\n items?: readonly BackofficeDetailFieldProps[];\n children?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeDetailSection = ({\n children,\n className,\n description,\n items,\n title,\n}: BackofficeDetailSectionProps): JSX.Element => {\n const headingId = useId();\n\n let descriptionNode: JSX.Element | null = null;\n if (description != null && description !== '') {\n descriptionNode = <p className={styles.description}>{description}</p>;\n }\n\n let itemsNode: JSX.Element | null = null;\n if (items != null && items.length > 0) {\n itemsNode = (\n <div className={styles.grid}>\n {items.map((item) => {\n return <BackofficeDetailField key={item.id} {...item} />;\n })}\n </div>\n );\n }\n\n return (\n <section\n className={cx(styles.section, className)}\n aria-labelledby={headingId}\n >\n <header className={styles.header}>\n <h3 className={styles.title} id={headingId}>\n {title}\n </h3>\n {descriptionNode}\n </header>\n {itemsNode}\n {children}\n </section>\n );\n};\n\nexport default BackofficeDetailSection;\n"],"mappings":";;;;;;AAkBA,IAAa,KAA2B,EACtC,aACA,cACA,aAAA,GACA,UACA,OAAA,QAC+C;CAC/C,IAAM,IAAY,GAAO,EAErB,IAAsC;CAC1C,AAAI,KAAe,QAAQ,MAAgB,OACzC,IAAkB,kBAAC,KAAD;EAAG,WAAW;YAAqB;EAAgB,CAAA;CAGvE,IAAI,IAAgC;CAWpC,OAVI,KAAS,QAAQ,EAAM,SAAS,MAClC,IACE,kBAAC,OAAD;EAAK,WAAW;YACb,EAAM,KAAK,MACH,kBAAC,GAAD,EAAqC,GAAI,GAAQ,EAArB,EAAK,GAAgB,CACxD;EACE,CAAA,GAKR,kBAAC,WAAD;EACE,WAAW,EAAG,GAAgB,EAAU;EACxC,mBAAiB;YAFnB;GAIE,kBAAC,UAAD;IAAQ,WAAW;cAAnB,CACE,kBAAC,MAAD;KAAI,WAAW;KAAc,IAAI;eAC9B;KACE,CAAA,EACJ,EACM;;GACR;GACA;GACO"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.ts
|
|
4
|
+
var e = "_1d3cpob0 txvbqbdr8 txvbqbf6i txvbqbffj txvbqbuy6 txvbqb2g9 txvbqb196d txvbqb1uy txvbqb2et txvbqb18k txvbqbcs7", t = "_1d3cpob1 txvbqbdr8 txvbqbf6i txvbqbfet", n = "_1d3cpob2 txvbqb9w txvbqbfd0 txvbqb19c9", r = "_1d3cpob3 txvbqb9j txvbqb19cb", i = "_1d3cpob4 txvbqbdrl txvbqbffj txvbqbhf1";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as description, i as grid, t as header, e as section, n as title };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeDetailSection.css.js.map
|
package/lib/esm/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeDetailSection.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_section/backofficeDetailSection.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const section = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 3,\n padding: 3,\n borderRadius: 'md',\n backgroundColor: 'surfaceSecondary',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderLight',\n boxShadow: 'none',\n});\n\nexport const header = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1,\n});\n\nexport const title = sprinkles({\n fontSize: 'base',\n fontWeight: 'semibold',\n color: 'text',\n});\n\nexport const description = sprinkles({\n fontSize: 'sm',\n color: 'textSecondary',\n});\n\nexport const grid = sprinkles({\n display: 'grid',\n gap: 3,\n gridTemplateColumns: 'autoFitMinmax220',\n});\n"],"mappings":""}
|
package/lib/esm/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
+
import { Tag as t } from "../../atoms/tag/Tag.js";
|
|
3
|
+
import { container as n, value as r } from "./backofficeDetailTaggedValue.css.js";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
//#region src/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.tsx
|
|
6
|
+
var o = ({ tag: o, value: s, className: c }) => /* @__PURE__ */ a("span", {
|
|
7
|
+
className: e(n, c),
|
|
8
|
+
children: [o != null && /* @__PURE__ */ i(t, {
|
|
9
|
+
tone: o.tone,
|
|
10
|
+
children: o.label
|
|
11
|
+
}), /* @__PURE__ */ i("span", {
|
|
12
|
+
className: r,
|
|
13
|
+
children: s
|
|
14
|
+
})]
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { o as BackofficeDetailTaggedValue, o as default };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=BackofficeDetailTaggedValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeDetailTaggedValue.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_tagged_value/BackofficeDetailTaggedValue.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { Tag, type TagTone } from '../../atoms/tag/Tag.js';\nimport { cx } from '../../../theme/tools.js';\n\nimport * as styles from './backofficeDetailTaggedValue.css.js';\n\nexport type BackofficeDetailTaggedValueProps = {\n tag: { label: string; tone?: TagTone } | null;\n value: ReactNode;\n className?: string;\n};\n\nexport const BackofficeDetailTaggedValue = ({\n tag,\n value,\n className,\n}: BackofficeDetailTaggedValueProps): JSX.Element => {\n return (\n <span className={cx(styles.container, className)}>\n {tag != null && <Tag tone={tag.tone}>{tag.label}</Tag>}\n <span className={styles.value}>{value}</span>\n </span>\n );\n};\n\nexport default BackofficeDetailTaggedValue;\n"],"mappings":";;;;;AAaA,IAAa,KAA+B,EAC1C,QACA,OAAA,GACA,mBAGE,kBAAC,QAAD;CAAM,WAAW,EAAG,GAAkB,EAAU;WAAhD,CACG,KAAO,QAAQ,kBAAC,GAAD;EAAK,MAAM,EAAI;YAAO,EAAI;EAAY,CAAA,EACtD,kBAAC,QAAD;EAAM,WAAW;YAAe;EAAa,CAAA,CACxC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.ts
|
|
4
|
+
var e = "y7jmie0 txvbqbdsb txvbqbey txvbqbff6 txvbqbf91", t = "y7jmie1 txvbqbdsb txvbqbey txvbqbfet";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as container, t as value };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=backofficeDetailTaggedValue.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backofficeDetailTaggedValue.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_detail_tagged_value/backofficeDetailTaggedValue.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 2,\n flexWrap: 'wrap',\n});\n\nexport const value = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n gap: 1,\n});\n"],"mappings":""}
|
|
@@ -1,36 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
1
|
+
import { EmptyState as e } from "../../../atomic/molecules/empty-state/EmptyState.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
3
|
//#region src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return d != null && (h = /* @__PURE__ */ o("div", {
|
|
18
|
-
className: i,
|
|
19
|
-
children: d
|
|
20
|
-
})), /* @__PURE__ */ s("div", {
|
|
21
|
-
className: e(n, f),
|
|
22
|
-
children: [
|
|
23
|
-
h,
|
|
24
|
-
/* @__PURE__ */ o("div", {
|
|
25
|
-
className: a,
|
|
26
|
-
children: c
|
|
27
|
-
}),
|
|
28
|
-
p,
|
|
29
|
-
m
|
|
30
|
-
]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
4
|
+
var n = ({ title: n, description: r, actions: i, icon: a, className: o }) => /* @__PURE__ */ t(e, {
|
|
5
|
+
title: n,
|
|
6
|
+
description: r,
|
|
7
|
+
actions: i,
|
|
8
|
+
icon: a,
|
|
9
|
+
className: o,
|
|
10
|
+
variant: "plain",
|
|
11
|
+
density: "compact",
|
|
12
|
+
align: "center",
|
|
13
|
+
tone: "muted",
|
|
14
|
+
titleAs: "div"
|
|
15
|
+
});
|
|
33
16
|
//#endregion
|
|
34
|
-
export {
|
|
17
|
+
export { n as BackofficeEmptyState, n as default };
|
|
35
18
|
|
|
36
19
|
//# sourceMappingURL=BackofficeEmptyState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackofficeEmptyState.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\nimport {
|
|
1
|
+
{"version":3,"file":"BackofficeEmptyState.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { EmptyState } from '../../../atomic/molecules/empty-state/EmptyState.js';\n\nexport type BackofficeEmptyStateProps = {\n title: ReactNode;\n description?: ReactNode;\n actions?: ReactNode;\n icon?: ReactNode;\n className?: string;\n};\n\nexport const BackofficeEmptyState = ({\n title,\n description,\n actions,\n icon,\n className,\n}: BackofficeEmptyStateProps): JSX.Element => {\n return (\n <EmptyState\n title={title}\n description={description}\n actions={actions}\n icon={icon}\n className={className}\n variant=\"plain\"\n density=\"compact\"\n align=\"center\"\n tone=\"muted\"\n titleAs=\"div\"\n />\n );\n};\n\nexport default BackofficeEmptyState;\n"],"mappings":";;;AAYA,IAAa,KAAwB,EACnC,UACA,gBACA,YACA,SACA,mBAGE,kBAAC,GAAD;CACS;CACM;CACJ;CACH;CACK;CACX,SAAQ;CACR,SAAQ;CACR,OAAM;CACN,MAAK;CACL,SAAQ;CACR,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as t } from "react-i18next";
|
|
3
|
+
//#region src/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.tsx
|
|
4
|
+
var n = ({ value: n, getLabel: r, emptyLabel: i }) => {
|
|
5
|
+
let { t: a } = t("ui", { useSuspense: !1 }), o = i ?? a("common.notAvailable");
|
|
6
|
+
return n != null && (o = r(n)), /* @__PURE__ */ e("span", { children: o });
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as BackofficeEnumLabel, n as default };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=BackofficeEnumLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeEnumLabel.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_enum_label/BackofficeEnumLabel.tsx"],"sourcesContent":["import { type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nexport type BackofficeEnumLabelProps<TValue extends string> = {\n readonly value: TValue | null | undefined;\n readonly getLabel: (value: TValue) => string;\n readonly emptyLabel?: string;\n};\n\nexport const BackofficeEnumLabel = <TValue extends string>({\n value,\n getLabel,\n emptyLabel,\n}: BackofficeEnumLabelProps<TValue>): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n let label = emptyLabel ?? t('common.notAvailable');\n if (value != null) {\n label = getLabel(value);\n }\n\n return <span>{label}</span>;\n};\n\nexport default BackofficeEnumLabel;\n"],"mappings":";;;AASA,IAAa,KAA8C,EACzD,UACA,aACA,oBACmD;CACnD,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC,EACtD,IAAQ,KAAc,EAAE,sBAAsB;CAKlD,OAJI,KAAS,SACX,IAAQ,EAAS,EAAM,GAGlB,kBAAC,QAAD,EAAA,UAAO,GAAa,CAAA"}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
1
|
+
import { SurfaceSection as e } from "../../../components/layout/Surface.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
3
|
//#region src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx
|
|
5
|
-
var
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
var n = ({ title: n, description: r, children: i, className: a }) => {
|
|
5
|
+
let o = n?.trim(), s = r?.trim(), c;
|
|
6
|
+
o !== "" && (c = o);
|
|
7
|
+
let l;
|
|
8
|
+
return s !== "" && (l = s), /* @__PURE__ */ t(e, {
|
|
9
|
+
border: "subtle",
|
|
10
|
+
className: a,
|
|
11
|
+
density: "compact",
|
|
12
|
+
radius: "lg",
|
|
13
|
+
title: c,
|
|
14
|
+
titleAs: "h3",
|
|
15
|
+
description: l,
|
|
16
|
+
variant: "neutral",
|
|
17
|
+
children: i
|
|
19
18
|
});
|
|
20
19
|
};
|
|
21
20
|
//#endregion
|
|
22
|
-
export {
|
|
21
|
+
export { n as BackofficeFormSection, n as default };
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=BackofficeFormSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackofficeFormSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\nimport {
|
|
1
|
+
{"version":3,"file":"BackofficeFormSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_form_section/BackofficeFormSection.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { SurfaceSection } from '../../../components/layout/Surface.js';\n\nexport type BackofficeFormSectionProps = {\n title?: string;\n description?: string;\n children: ReactNode;\n className?: string;\n};\n\nexport const BackofficeFormSection = ({\n title,\n description,\n children,\n className,\n}: BackofficeFormSectionProps): JSX.Element => {\n const resolvedTitle = title?.trim();\n const resolvedDescription = description?.trim();\n let headerTitle: string | undefined;\n if (resolvedTitle !== '') {\n headerTitle = resolvedTitle;\n }\n let headerDescription: string | undefined;\n if (resolvedDescription !== '') {\n headerDescription = resolvedDescription;\n }\n\n return (\n <SurfaceSection\n border=\"subtle\"\n className={className}\n density=\"compact\"\n radius=\"lg\"\n title={headerTitle}\n titleAs=\"h3\"\n description={headerDescription}\n variant=\"neutral\"\n >\n {children}\n </SurfaceSection>\n );\n};\n\nexport default BackofficeFormSection;\n"],"mappings":";;;AAWA,IAAa,KAAyB,EACpC,UACA,gBACA,aACA,mBAC6C;CAC7C,IAAM,IAAgB,GAAO,MAAM,EAC7B,IAAsB,GAAa,MAAM,EAC3C;CACJ,AAAI,MAAkB,OACpB,IAAc;CAEhB,IAAI;CAKJ,OAJI,MAAwB,OAC1B,IAAoB,IAIpB,kBAAC,GAAD;EACE,QAAO;EACI;EACX,SAAQ;EACR,QAAO;EACP,OAAO;EACP,SAAQ;EACR,aAAa;EACb,SAAQ;EAEP;EACc,CAAA"}
|
package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.ts
|
|
2
|
+
var e = (e, t = "Failed to serialize JSON") => {
|
|
3
|
+
try {
|
|
4
|
+
return JSON.stringify(e, null, 2);
|
|
5
|
+
} catch {
|
|
6
|
+
return JSON.stringify({ error: t });
|
|
7
|
+
}
|
|
8
|
+
}, t = { buildFallbackText: e };
|
|
9
|
+
//#endregion
|
|
10
|
+
export { t as __testLazyBackofficeJsonViewer, e as buildBackofficeJsonViewerFallbackText };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=LazyBackofficeJsonViewer.helpers.js.map
|
package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyBackofficeJsonViewer.helpers.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.helpers.ts"],"sourcesContent":["export const buildBackofficeJsonViewerFallbackText = (\n value: unknown,\n serializationError = 'Failed to serialize JSON',\n): string => {\n try {\n return JSON.stringify(value, null, 2);\n } catch {\n return JSON.stringify({ error: serializationError });\n }\n};\n\nexport const __testLazyBackofficeJsonViewer = {\n buildFallbackText: buildBackofficeJsonViewerFallbackText,\n} as const;\n"],"mappings":";AAAA,IAAa,KACX,GACA,IAAqB,+BACV;CACX,IAAI;EACF,OAAO,KAAK,UAAU,GAAO,MAAM,EAAE;SAC/B;EACN,OAAO,KAAK,UAAU,EAAE,OAAO,GAAoB,CAAC;;GAI3C,IAAiC,EAC5C,mBAAmB,GACpB"}
|
|
@@ -1,28 +1,23 @@
|
|
|
1
|
+
import { buildBackofficeJsonViewerFallbackText as e } from "./LazyBackofficeJsonViewer.helpers.js";
|
|
1
2
|
import "./LazyBackofficeJsonViewer.css.js";
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { jsx as
|
|
4
|
-
import { useTranslation as
|
|
3
|
+
import { Suspense as t, lazy as n } from "react";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { useTranslation as i } from "react-i18next";
|
|
5
6
|
//#region src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
}, o = { buildFallbackText: a }, s = ({ value: e, className: t }) => {
|
|
13
|
-
let { t: i } = r("ui", { useSuspense: !1 });
|
|
14
|
-
return /* @__PURE__ */ n("pre", {
|
|
15
|
-
className: t ?? "_13lprza0 txvbqbuse txvbqb18yn",
|
|
16
|
-
children: a(e, i("backoffice.jsonViewer.serializationError"))
|
|
7
|
+
var a = n(async () => import("./BackofficeJsonViewerAsync.js")), o = ({ value: t, className: n }) => {
|
|
8
|
+
let { t: a } = i("ui", { useSuspense: !1 });
|
|
9
|
+
return /* @__PURE__ */ r("pre", {
|
|
10
|
+
className: n ?? "_13lprza0 txvbqbuse txvbqb18yn",
|
|
11
|
+
children: e(t, a("backoffice.jsonViewer.serializationError"))
|
|
17
12
|
});
|
|
18
|
-
},
|
|
19
|
-
fallback: /* @__PURE__ */
|
|
20
|
-
value:
|
|
21
|
-
className:
|
|
13
|
+
}, s = (e) => /* @__PURE__ */ r(t, {
|
|
14
|
+
fallback: /* @__PURE__ */ r(o, {
|
|
15
|
+
value: e.value,
|
|
16
|
+
className: e.className
|
|
22
17
|
}),
|
|
23
|
-
children: /* @__PURE__ */
|
|
18
|
+
children: /* @__PURE__ */ r(a, { ...e })
|
|
24
19
|
});
|
|
25
20
|
//#endregion
|
|
26
|
-
export {
|
|
21
|
+
export { s as LazyBackofficeJsonViewer, s as default };
|
|
27
22
|
|
|
28
23
|
//# sourceMappingURL=LazyBackofficeJsonViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LazyBackofficeJsonViewer.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx"],"sourcesContent":["import { Suspense, lazy, type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { BackofficeJsonViewerProps } from './BackofficeJsonViewer.js';\n\nimport * as styles from './LazyBackofficeJsonViewer.css.js';\n\nconst BackofficeJsonViewer = lazy(async () => {\n return import('./BackofficeJsonViewerAsync.js');\n});\n\nconst
|
|
1
|
+
{"version":3,"file":"LazyBackofficeJsonViewer.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx"],"sourcesContent":["import { Suspense, lazy, type JSX } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { BackofficeJsonViewerProps } from './BackofficeJsonViewer.js';\nimport { buildBackofficeJsonViewerFallbackText } from './LazyBackofficeJsonViewer.helpers.js';\n\nimport * as styles from './LazyBackofficeJsonViewer.css.js';\n\nconst BackofficeJsonViewer = lazy(async () => {\n return import('./BackofficeJsonViewerAsync.js');\n});\n\nconst FallbackViewer = ({\n value,\n className,\n}: Pick<BackofficeJsonViewerProps, 'value' | 'className'>): JSX.Element => {\n const { t } = useTranslation('ui', { useSuspense: false });\n\n return (\n <pre className={className ?? styles.fallback}>\n {buildBackofficeJsonViewerFallbackText(\n value,\n t('backoffice.jsonViewer.serializationError'),\n )}\n </pre>\n );\n};\n\nexport const LazyBackofficeJsonViewer = (\n props: BackofficeJsonViewerProps,\n): JSX.Element => {\n return (\n <Suspense\n fallback={\n <FallbackViewer value={props.value} className={props.className} />\n }\n >\n <BackofficeJsonViewer {...props} />\n </Suspense>\n );\n};\n\nexport default LazyBackofficeJsonViewer;\n"],"mappings":";;;;;;AAQA,IAAM,IAAuB,EAAK,YACzB,OAAO,kCACd,EAEI,KAAkB,EACtB,UACA,mBACyE;CACzE,IAAM,EAAE,SAAM,EAAe,MAAM,EAAE,aAAa,IAAO,CAAC;CAE1D,OACE,kBAAC,OAAD;EAAK,WAAW,KAAa;YAC1B,EACC,GACA,EAAE,2CAA2C,CAC9C;EACG,CAAA;GAIG,KACX,MAGE,kBAAC,GAAD;CACE,UACE,kBAAC,GAAD;EAAgB,OAAO,EAAM;EAAO,WAAW,EAAM;EAAa,CAAA;WAGpE,kBAAC,GAAD,EAAsB,GAAI,GAAS,CAAA;CAC1B,CAAA"}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useUiTranslation as t } from "../../../i18n/useUiTranslation.js";
|
|
3
|
+
import { item as n, itemSplit as r, itemStack as i, itemSurface as a, label as o, labelSize as s, list as c, listGrid as l, value as u } from "./backofficeKeyValueList.css.js";
|
|
4
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
4
5
|
//#region src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
className: e(
|
|
9
|
-
children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
var p = (e) => e === "surface" ? a : null, m = ({ className: a, emptyLabel: m, items: h, layout: g = "split", variant: _ = "surface" }) => {
|
|
7
|
+
let { t: v } = t(), y = m ?? v("common.notAvailable", { defaultValue: "N/A" }), b = [c, a];
|
|
8
|
+
return g === "grid" && b.push(l), /* @__PURE__ */ d("dl", {
|
|
9
|
+
className: e(...b),
|
|
10
|
+
children: h.map((t) => {
|
|
11
|
+
let { id: a, label: c } = t, { value: l } = t, m = [n, p(_)];
|
|
12
|
+
return g === "split" ? m.push(r) : m.push(i), (l == null || typeof l == "string" && l.trim() === "") && (l = y), /* @__PURE__ */ f("div", {
|
|
13
|
+
className: e(...m),
|
|
14
|
+
children: [/* @__PURE__ */ d("dt", {
|
|
15
|
+
className: e(o, s),
|
|
16
|
+
children: c
|
|
17
|
+
}), /* @__PURE__ */ d("dd", {
|
|
18
|
+
className: u,
|
|
19
|
+
children: l
|
|
20
|
+
})]
|
|
21
|
+
}, a);
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
};
|
|
18
25
|
//#endregion
|
|
19
|
-
export {
|
|
26
|
+
export { m as BackofficeKeyValueList, m as default };
|
|
20
27
|
|
|
21
28
|
//# sourceMappingURL=BackofficeKeyValueList.js.map
|
package/lib/esm/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackofficeKeyValueList.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './backofficeKeyValueList.css.js';\nimport { cx } from '../../../theme/tools.js';\n\nexport type BackofficeKeyValueItem = {\n id: string;\n label: ReactNode;\n value: ReactNode;\n};\n\nexport type BackofficeKeyValueListProps = {\n items: readonly BackofficeKeyValueItem[];\n};\n\nexport const BackofficeKeyValueList = ({\n items,\n}: BackofficeKeyValueListProps): JSX.Element => {\n return (\n <dl className={
|
|
1
|
+
{"version":3,"file":"BackofficeKeyValueList.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport * as styles from './backofficeKeyValueList.css.js';\nimport { cx } from '../../../theme/tools.js';\nimport { useUiTranslation } from '../../../i18n/useUiTranslation.js';\n\nexport type BackofficeKeyValueItem = {\n id: string;\n label: ReactNode;\n value: ReactNode | null | undefined;\n};\n\nexport type BackofficeKeyValueListVariant = 'surface' | 'plain';\n\nexport type BackofficeKeyValueListLayout = 'split' | 'stack' | 'grid';\n\nexport type BackofficeKeyValueListProps = {\n items: readonly BackofficeKeyValueItem[];\n className?: string;\n emptyLabel?: string;\n variant?: BackofficeKeyValueListVariant;\n layout?: BackofficeKeyValueListLayout;\n};\n\nconst resolveVariantClassName = (\n variant: BackofficeKeyValueListVariant,\n): string | null => {\n if (variant === 'surface') {\n return styles.itemSurface;\n }\n\n return null;\n};\n\nexport const BackofficeKeyValueList = ({\n className,\n emptyLabel,\n items,\n layout = 'split',\n variant = 'surface',\n}: BackofficeKeyValueListProps): JSX.Element => {\n const { t } = useUiTranslation();\n const fallback =\n emptyLabel ??\n t('common.notAvailable', {\n defaultValue: 'N/A',\n });\n\n const listClassName = [styles.list, className];\n if (layout === 'grid') {\n listClassName.push(styles.listGrid);\n }\n\n return (\n <dl className={cx(...listClassName)}>\n {items.map((item) => {\n const { id, label } = item;\n let { value } = item;\n const itemClassName = [styles.item, resolveVariantClassName(variant)];\n if (layout === 'split') {\n itemClassName.push(styles.itemSplit);\n } else {\n itemClassName.push(styles.itemStack);\n }\n\n if (\n value == null ||\n (typeof value === 'string' && value.trim() === '')\n ) {\n value = fallback;\n }\n\n return (\n <div key={id} className={cx(...itemClassName)}>\n <dt className={cx(styles.label, styles.labelSize)}>{label}</dt>\n <dd className={styles.value}>{value}</dd>\n </div>\n );\n })}\n </dl>\n );\n};\n\nexport default BackofficeKeyValueList;\n"],"mappings":";;;;;AAwBA,IAAM,KACJ,MAEI,MAAY,YACP,IAGF,MAGI,KAA0B,EACrC,cACA,eACA,UACA,YAAS,SACT,aAAU,gBACoC;CAC9C,IAAM,EAAE,SAAM,GAAkB,EAC1B,IACJ,KACA,EAAE,uBAAuB,EACvB,cAAc,OACf,CAAC,EAEE,IAAgB,CAAC,GAAa,EAAU;CAK9C,OAJI,MAAW,UACb,EAAc,KAAK,EAAgB,EAInC,kBAAC,MAAD;EAAI,WAAW,EAAG,GAAG,EAAc;YAChC,EAAM,KAAK,MAAS;GACnB,IAAM,EAAE,OAAI,OAAA,MAAU,GAClB,EAAE,OAAA,MAAU,GACV,IAAgB,CAAC,GAAa,EAAwB,EAAQ,CAAC;GAcrE,OAbI,MAAW,UACb,EAAc,KAAK,EAAiB,GAEpC,EAAc,KAAK,EAAiB,GAIpC,KAAS,QACR,OAAO,KAAU,YAAY,EAAM,MAAM,KAAK,QAE/C,IAAQ,IAIR,kBAAC,OAAD;IAAc,WAAW,EAAG,GAAG,EAAc;cAA7C,CACE,kBAAC,MAAD;KAAI,WAAW,EAAG,GAAc,EAAiB;eAAG;KAAW,CAAA,EAC/D,kBAAC,MAAD;KAAI,WAAW;eAAe;KAAW,CAAA,CACrC;MAHI,EAGJ;IAER;EACC,CAAA"}
|
package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts
|
|
4
|
-
var e = "tx0dqq0 txvbqbdrl txvbqbff6", t = "tx0dqq1
|
|
4
|
+
var e = "tx0dqq0 txvbqbdrl txvbqbff6", t = "tx0dqq1 txvbqbhf1", n = "tx0dqq2 txvbqbdrl txvbqbff6 txvbqbey txvbqbt9i", r = "tx0dqq3 txvbqbhap txvbqbh2t", i = "tx0dqq4 txvbqbh2r txvbqbel", a = "tx0dqq5 txvbqbyoi txvbqbzm3 txvbqb10jb txvbqbvve txvbqb2gm txvbqb196f txvbqb1uy txvbqb2et txvbqb17u", o = "tx0dqq6 txvbqb19cd txvbqb6a txvbqbkxf txvbqbfd0 txvbqbt9i txvbqbutu", s = "tx0dqq7 txvbqb96", c = "tx0dqq8 txvbqb9w txvbqb19c9 txvbqbm9g txvbqbt9i txvbqbutu";
|
|
5
5
|
//#endregion
|
|
6
|
-
export {
|
|
6
|
+
export { n as item, r as itemSplit, i as itemStack, a as itemSurface, o as label, s as labelSize, e as list, t as listGrid, c as value };
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=backofficeKeyValueList.css.js.map
|
package/lib/esm/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backofficeKeyValueList.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const list = sprinkles({\n display: 'grid',\n gap: 2,\n});\n\nexport const item = sprinkles({\n display: 'grid',\n gridTemplateColumns: {\n base: 'keyValueSplit',\n md: 1,\n },\n
|
|
1
|
+
{"version":3,"file":"backofficeKeyValueList.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_key_value_list/backofficeKeyValueList.css.ts"],"sourcesContent":["import { sprinkles } from '../../../theme/sprinkles.css.js';\n\nexport const list = sprinkles({\n display: 'grid',\n gap: 2,\n});\n\nexport const listGrid = sprinkles({\n gridTemplateColumns: 'autoFitMinmax220',\n});\n\nexport const item = sprinkles({\n display: 'grid',\n gap: 2,\n alignItems: 'center',\n minWidth: 0,\n});\n\nexport const itemSplit = sprinkles({\n gridTemplateColumns: {\n base: 'keyValueSplit',\n md: 1,\n },\n});\n\nexport const itemStack = sprinkles({\n gridTemplateColumns: 1,\n alignItems: 'flex-start',\n});\n\nexport const itemSurface = sprinkles({\n paddingY: 2,\n paddingX: 3,\n borderRadius: 'lg',\n backgroundColor: 'surfaceMuted',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n});\n\nexport const label = sprinkles({\n color: 'textMuted',\n textTransform: 'uppercase',\n letterSpacing: 'caps',\n fontWeight: 'semibold',\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n\nexport const labelSize = sprinkles({\n fontSize: 'xs',\n});\n\nexport const value = sprinkles({\n fontSize: 'base',\n color: 'text',\n margin: 0,\n minWidth: 0,\n overflowWrap: 'anywhere',\n});\n"],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.ts
|
|
2
|
+
var e = ({ hasNextPage: e, isLoading: t, pageInfoState: n }) => t ? "loading" : n ?? (e ? "ready" : "complete"), t = (e, t) => typeof t == "number" ? `${e} / ${t}` : e > 0 ? String(e) : null, n = ({ labels: e, loadedCount: n, totalCount: r }) => ({
|
|
3
|
+
loaded: e?.loaded ?? t(n, r),
|
|
4
|
+
loadMore: e?.loadMore ?? "Load more",
|
|
5
|
+
loading: e?.loading ?? "Loading",
|
|
6
|
+
end: e?.end ?? "End of list"
|
|
7
|
+
}), r = ({ labels: e, mode: t, pageInfoState: n }) => n === "complete" ? e.end : n === "loading" ? e.loading : t === "button" && n === "ready" ? e.loadMore : null;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as resolveBackofficeListFooterLabels, e as resolveBackofficeListFooterPageInfoState, r as resolveBackofficeListFooterStatusLabel, t as resolveDefaultBackofficeListFooterLoadedLabel };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=BackofficeListFooter.helpers.js.map
|
package/lib/esm/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackofficeListFooter.helpers.js","names":[],"sources":["../../../../../src/backoffice/molecules/backoffice_list_footer/BackofficeListFooter.helpers.ts"],"sourcesContent":["import { type ReactNode } from 'react';\n\nimport {\n type BackofficeListFooterLabels,\n type BackofficeListFooterMode,\n type BackofficeListFooterPageInfoState,\n} from './BackofficeListFooter.js';\n\nexport type ResolvedBackofficeListFooterLabels = {\n loadMore: ReactNode;\n loading: ReactNode;\n end: ReactNode;\n loaded: ReactNode;\n};\n\nexport const resolveBackofficeListFooterPageInfoState = ({\n hasNextPage,\n isLoading,\n pageInfoState,\n}: {\n hasNextPage: boolean;\n isLoading: boolean;\n pageInfoState?: BackofficeListFooterPageInfoState;\n}): BackofficeListFooterPageInfoState => {\n if (isLoading) {\n return 'loading';\n }\n if (pageInfoState != null) {\n return pageInfoState;\n }\n if (hasNextPage) {\n return 'ready';\n }\n return 'complete';\n};\n\nexport const resolveDefaultBackofficeListFooterLoadedLabel = (\n loadedCount: number,\n totalCount?: number | null,\n): ReactNode => {\n if (typeof totalCount === 'number') {\n return `${loadedCount} / ${totalCount}`;\n }\n if (loadedCount > 0) {\n return String(loadedCount);\n }\n return null;\n};\n\nexport const resolveBackofficeListFooterLabels = ({\n labels,\n loadedCount,\n totalCount,\n}: {\n labels?: BackofficeListFooterLabels;\n loadedCount: number;\n totalCount?: number | null;\n}): ResolvedBackofficeListFooterLabels => {\n return {\n loaded:\n labels?.loaded ??\n resolveDefaultBackofficeListFooterLoadedLabel(loadedCount, totalCount),\n loadMore: labels?.loadMore ?? 'Load more',\n loading: labels?.loading ?? 'Loading',\n end: labels?.end ?? 'End of list',\n };\n};\n\nexport const resolveBackofficeListFooterStatusLabel = ({\n labels,\n mode,\n pageInfoState,\n}: {\n labels: ResolvedBackofficeListFooterLabels;\n mode: BackofficeListFooterMode;\n pageInfoState: BackofficeListFooterPageInfoState;\n}): ReactNode => {\n if (pageInfoState === 'complete') {\n return labels.end;\n }\n if (pageInfoState === 'loading') {\n return labels.loading;\n }\n if (mode === 'button' && pageInfoState === 'ready') {\n return labels.loadMore;\n }\n return null;\n};\n"],"mappings":";AAeA,IAAa,KAA4C,EACvD,gBACA,cACA,uBAMI,IACK,YAEL,MAGA,IACK,UAEF,aAGI,KACX,GACA,MAEI,OAAO,KAAe,WACjB,GAAG,EAAY,KAAK,MAEzB,IAAc,IACT,OAAO,EAAY,GAErB,MAGI,KAAqC,EAChD,WACA,gBACA,qBAMO;CACL,QACE,GAAQ,UACR,EAA8C,GAAa,EAAW;CACxE,UAAU,GAAQ,YAAY;CAC9B,SAAS,GAAQ,WAAW;CAC5B,KAAK,GAAQ,OAAO;CACrB,GAGU,KAA0C,EACrD,WACA,SACA,uBAMI,MAAkB,aACb,EAAO,MAEZ,MAAkB,YACb,EAAO,UAEZ,MAAS,YAAY,MAAkB,UAClC,EAAO,WAET"}
|