@abyss-project/commons-front-core 6.1.0 → 7.1.0
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/catalog/captures-plan.ts +91 -0
- package/catalog/catalog-entries.ts +89 -0
- package/catalog/catalog-port.ts +19 -0
- package/catalog/fixtures.tsx +845 -0
- package/catalog/frame.tsx +221 -0
- package/catalog/index.html +12 -0
- package/catalog/main.tsx +123 -0
- package/catalog/pages/ActionBar.tsx +138 -0
- package/catalog/pages/AppShell.tsx +95 -0
- package/catalog/pages/BottomSheet.tsx +90 -0
- package/catalog/pages/ChartTheme.tsx +93 -0
- package/catalog/pages/ColorField.tsx +44 -0
- package/catalog/pages/CommandPalette.tsx +93 -0
- package/catalog/pages/ConfirmDialog.tsx +42 -0
- package/catalog/pages/DataTable.tsx +208 -0
- package/catalog/pages/DateField.tsx +50 -0
- package/catalog/pages/DateRangeField.tsx +71 -0
- package/catalog/pages/Drawer.tsx +77 -0
- package/catalog/pages/FilterBar.tsx +87 -0
- package/catalog/pages/InfectedDownloadModal.tsx +39 -0
- package/catalog/pages/KeyValueList.tsx +113 -0
- package/catalog/pages/Menu.tsx +98 -0
- package/catalog/pages/MethodBadge.tsx +17 -0
- package/catalog/pages/MobileShell.tsx +180 -0
- package/catalog/pages/Modal.tsx +70 -0
- package/catalog/pages/PageHeader.tsx +84 -0
- package/catalog/pages/PageState.tsx +98 -0
- package/catalog/pages/RichSelect.tsx +116 -0
- package/catalog/pages/RoleBadge.tsx +24 -0
- package/catalog/pages/ScanBadge.tsx +29 -0
- package/catalog/pages/SceneDesktop.tsx +207 -0
- package/catalog/pages/SceneMobile.tsx +168 -0
- package/catalog/pages/Section.tsx +77 -0
- package/catalog/pages/SegmentedControl.tsx +64 -0
- package/catalog/pages/SeverityBadge.tsx +17 -0
- package/catalog/pages/Sparkline.tsx +52 -0
- package/catalog/pages/SplitView.tsx +93 -0
- package/catalog/pages/StatTile.tsx +75 -0
- package/catalog/pages/StatusBadge.tsx +33 -0
- package/catalog/pages/Surface.tsx +69 -0
- package/catalog/pages/SwipeDeck.tsx +143 -0
- package/catalog/pages/Toast.tsx +92 -0
- package/catalog/pages/ToolIcon.tsx +48 -0
- package/catalog/pages/Toolbar.tsx +73 -0
- package/catalog/pages/index.ts +79 -0
- package/catalog/parts.tsx +427 -0
- package/catalog/playwright.ci.config.ts +29 -0
- package/catalog/playwright.config.ts +36 -0
- package/catalog/specs/captures.spec.ts +67 -0
- package/catalog/specs/catalog-page.ts +42 -0
- package/catalog/specs/mobile-shell.spec.ts +122 -0
- package/catalog/specs/responsive.spec.ts +247 -0
- package/catalog/specs/write-capture-index.ts +72 -0
- package/catalog/tsconfig.json +12 -0
- package/catalog/vite.config.ts +32 -0
- package/dist/{CookieConsentSettings.component-3Z3YnI96.js → AbyssModal.component-DVIzX2ko.js} +2859 -2592
- package/dist/CookieConsentSettings.component-BdBT72qy.js +299 -0
- package/dist/components/business/InfectedDownloadModal/InfectedDownloadModal.d.ts +10 -0
- package/dist/components/business/index.d.ts +1 -0
- package/dist/components/data/DataTable/DataTable.d.ts +8 -0
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +6 -0
- package/dist/components/data/DataTable/DataTableMobile.d.ts +6 -0
- package/dist/components/data/DataTable/data-table.types.d.ts +67 -0
- package/dist/components/data/DataTable/use-row-navigation.d.ts +17 -0
- package/dist/components/data/KeyValueList/KeyValueList.d.ts +13 -0
- package/dist/components/data/Sparkline/Sparkline.d.ts +15 -0
- package/dist/components/data/StatTile/StatTile.d.ts +21 -0
- package/dist/components/data/chart-theme.d.ts +7 -0
- package/dist/components/data/index.d.ts +5 -0
- package/dist/components/index.d.ts +8 -20
- package/dist/components/inputs/ColorField/ColorField.d.ts +15 -0
- package/dist/components/inputs/DateField/DateField.d.ts +14 -0
- package/dist/components/inputs/DateRangeField/DateRangeField.d.ts +24 -0
- package/dist/components/inputs/RichSelect/RichSelect.d.ts +31 -0
- package/dist/components/inputs/RichSelect/rich-select-size.d.ts +11 -0
- package/dist/components/inputs/SegmentedControl/SegmentedControl.d.ts +17 -0
- package/dist/components/inputs/date-localization.d.ts +17 -0
- package/dist/components/inputs/index.d.ts +5 -0
- package/dist/components/inputs/test-support/inputs-test-harness.d.ts +1 -0
- package/dist/components/layers/CommandPalette/CommandPalette.d.ts +28 -0
- package/dist/components/layers/CommandPalette/command-registry.d.ts +38 -0
- package/dist/components/layers/ConfirmDialog/ConfirmDialog.d.ts +24 -0
- package/dist/components/layers/Drawer/Drawer.d.ts +20 -0
- package/dist/components/layers/Menu/Menu.d.ts +31 -0
- package/dist/components/layers/Modal/Modal.d.ts +23 -0
- package/dist/components/layers/Toast/Toast.d.ts +34 -0
- package/dist/components/layers/index.d.ts +6 -0
- package/dist/components/layers/test-support/layers-test-harness.d.ts +22 -0
- package/dist/components/meaning/MethodBadge/MethodBadge.d.ts +6 -0
- package/dist/components/meaning/RoleBadge/RoleBadge.d.ts +7 -0
- package/dist/components/meaning/ScanBadge/ScanBadge.d.ts +8 -0
- package/dist/components/meaning/SeverityBadge/SeverityBadge.d.ts +6 -0
- package/dist/components/meaning/StatusBadge/StatusBadge.d.ts +15 -0
- package/dist/components/meaning/ToolIcon/ToolIcon.d.ts +10 -0
- package/dist/components/meaning/index.d.ts +6 -0
- package/dist/components/meaning/meaning-tone.d.ts +9 -0
- package/dist/components/meaning/test-support/meaning-test-harness.d.ts +17 -0
- package/dist/components/mobile/ActionBar/ActionBar.d.ts +24 -0
- package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +14 -0
- package/dist/components/mobile/MobileShell/MobileShell.d.ts +30 -0
- package/dist/components/mobile/MobileShell/use-pull-to-refresh.d.ts +22 -0
- package/dist/components/mobile/SwipeDeck/SwipeDeck.d.ts +28 -0
- package/dist/components/mobile/index.d.ts +4 -0
- package/dist/components/mobile/mobile-layout.d.ts +17 -0
- package/dist/components/mobile/test-support/mobile-test-harness.d.ts +18 -0
- package/dist/components/states/PageState/PageState.d.ts +33 -0
- package/dist/components/states/index.d.ts +1 -0
- package/dist/components/structure/AppShell/AppShell.d.ts +11 -0
- package/dist/components/structure/AppShell/ShellNavigation.d.ts +27 -0
- package/dist/components/structure/AppShell/SpaceSwitcher.d.ts +13 -0
- package/dist/components/structure/AppShell/app-shell.types.d.ts +70 -0
- package/dist/components/structure/FilterBar/FilterBar.d.ts +21 -0
- package/dist/components/structure/PageHeader/PageHeader.d.ts +20 -0
- package/dist/components/structure/Section/Section.d.ts +14 -0
- package/dist/components/structure/SplitView/SplitView.d.ts +16 -0
- package/dist/components/structure/Surface/Surface.d.ts +25 -0
- package/dist/components/structure/Toolbar/Toolbar.d.ts +11 -0
- package/dist/components/structure/index.d.ts +8 -0
- package/dist/components/structure/structure-layout.d.ts +13 -0
- package/dist/components/structure/test-support/structure-test-harness.d.ts +53 -0
- package/dist/cookie-consent.d.ts +1 -1
- package/dist/cookie-consent.js +15 -14
- package/dist/design-theme-DGpfyrRa.js +9305 -0
- package/dist/fonts.css +8 -0
- package/dist/{components/Inputs/CloudImport → hooks}/cloud-picker.types.d.ts +1 -1
- package/dist/hooks/index.d.ts +3 -1
- package/dist/hooks/use-cloud-picker.hook.d.ts +1 -1
- package/dist/{components/CookieConsent → hooks}/use-cookie-consent.hook.d.ts +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +306 -8
- package/dist/{index-CLRN5aZY.js → index-2dP8eJDC.js} +2 -2
- package/dist/{index-DAtUrR1w.js → index-5lZWuL9E.js} +2 -2
- package/dist/{index-BK9rDAfL.js → index-BCbBLGCq.js} +4 -4
- package/dist/{index-DIJAhLW1.js → index-BNXtGwVO.js} +3 -3
- package/dist/{index-mCtQ66kG.js → index-Bnd34zc3.js} +4 -4
- package/dist/{index-DEok2N8Y.js → index-BvnEqebm.js} +2 -2
- package/dist/{index-B01u4RDj.js → index-BzqtPPN5.js} +1 -1
- package/dist/{index-C5Uf33HY.js → index-C9rZao0s.js} +3 -3
- package/dist/{index-C2oiOgnk.js → index-CEkvsFyX.js} +3 -3
- package/dist/{index-BNwzLulO.js → index-CKRPvslz.js} +2 -2
- package/dist/{index-LlUhqvEy.js → index-CRAwLl2U.js} +2 -2
- package/dist/{index-D_Yt7xtB.js → index-CUmAInm9.js} +2 -2
- package/dist/{index-BwMujprD.js → index-ClyGJxMq.js} +2 -2
- package/dist/{index-acSfGhBy.js → index-CtgSTnzK.js} +2 -2
- package/dist/{index-BFmCESKZ.js → index-D-ULIp83.js} +2 -2
- package/dist/{index-BdiCSg8E.js → index-D3RFab1e.js} +3 -3
- package/dist/{index-DfMTxob_.js → index-DY-1nAn8.js} +2 -2
- package/dist/{index-BVI8irok.js → index-Dne75cXj.js} +2 -2
- package/dist/{index-GYxgqfEX.js → index-EOvj8bHf.js} +2 -2
- package/dist/{index-CLberJb6.js → index-G39MXErO.js} +4 -4
- package/dist/{index-Qhz-eUY5.js → index-s1jdo-Md.js} +2 -2
- package/dist/{index-B9H2t9pf.js → index-uN5dp-oL.js} +70721 -84284
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9889 -316
- package/dist/{components → legacy/components}/CookieConsent/AbyssCookieConsentProvider.d.ts +1 -1
- package/dist/{components → legacy/components}/CookieConsent/CookieConsentBanner.component.d.ts +1 -1
- package/dist/legacy/components/CookieConsent/index.d.ts +9 -0
- package/dist/{components → legacy/components}/Inputs/CloudImport/CloudImport.component.d.ts +1 -1
- package/dist/{components → legacy/components}/Inputs/CloudImport/index.d.ts +0 -1
- package/dist/{components → legacy/components}/Inputs/DropZone/DropZone.component.d.ts +1 -1
- package/dist/{components → legacy/components}/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +1 -1
- package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/apply.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/compute-page-order.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/extract.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/redact.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/reducer.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/operations/rotate-coords.spec.d.ts +1 -0
- package/dist/legacy/components/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
- package/dist/{components → legacy/components}/PdfEditor/types.d.ts +1 -1
- package/dist/legacy/components/QuotaGauge/bubble-placement.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaGauge/gauge-highlight.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaGauge/gauge-segments.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaOffer/quota-offer-state.spec.d.ts +1 -0
- package/dist/legacy/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +1 -0
- package/dist/{components → legacy/components}/QuotaReached/index.d.ts +0 -3
- package/dist/legacy/components/Support/SupportMessageLink.component.spec.d.ts +1 -0
- package/dist/legacy/components/Support/SupportTicketDetail.mobile-layout.spec.d.ts +1 -0
- package/dist/legacy/components/Support/SupportTicketList.week-preset.spec.d.ts +1 -0
- package/dist/legacy/components/Support/support-attachment.logic.spec.d.ts +1 -0
- package/dist/legacy/components/Support/support-author.logic.spec.d.ts +1 -0
- package/dist/legacy/components/Support/support-create-stepper.logic.spec.d.ts +1 -0
- package/dist/legacy/components/Support/support-message-input.logic.spec.d.ts +1 -0
- package/dist/legacy/components/Support/support-status-timeline.logic.spec.d.ts +1 -0
- package/dist/{components → legacy/components}/Support/types.d.ts +1 -1
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +1 -0
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +1 -0
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +1 -0
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts +1 -0
- package/dist/{components → legacy/components}/Utils/ImportButton/ImportButton.component.d.ts +1 -1
- package/dist/legacy/components/aria-labels-i18n.spec.d.ts +1 -0
- package/dist/legacy/components/commons-labels-i18n.spec.d.ts +1 -0
- package/dist/legacy/components/index.d.ts +20 -0
- package/dist/legacy/components/theme-mode-colors.spec.d.ts +1 -0
- package/dist/legacy/fonts.css +7 -0
- package/dist/legacy/hooks/index.d.ts +1 -0
- package/dist/legacy/index.d.ts +4 -0
- package/dist/legacy/legacy-under-new-theme.spec.d.ts +1 -0
- package/dist/legacy/theme/augmentation.d.ts +84 -0
- package/dist/legacy/theme/components/buttons.d.ts +35 -0
- package/dist/legacy/theme/components/data-display.d.ts +4 -0
- package/dist/legacy/theme/components/inputs.d.ts +4 -0
- package/dist/legacy/theme/components/inputs.spec.d.ts +1 -0
- package/dist/legacy/theme/components/navigation.d.ts +4 -0
- package/dist/legacy/theme/components/surfaces.d.ts +4 -0
- package/dist/legacy/theme/disabled-contrast.spec.d.ts +1 -0
- package/dist/legacy/theme/index.d.ts +23 -0
- package/dist/legacy/theme/legacy-tokens.d.ts +3 -0
- package/dist/legacy/theme/new-components-under-legacy-theme.spec.d.ts +1 -0
- package/dist/legacy/utils/billing-colors.utils.d.ts +7 -0
- package/dist/legacy/utils/index.d.ts +3 -0
- package/dist/legacy.d.ts +2 -0
- package/dist/legacy.js +210 -0
- package/dist/theme/AbyssThemeProvider.d.ts +14 -0
- package/dist/theme/augmentation.d.ts +25 -75
- package/dist/theme/components/buttons.d.ts +2 -33
- package/dist/theme/components/data-display.d.ts +2 -2
- package/dist/theme/components/feedback.d.ts +4 -0
- package/dist/theme/components/inputs.d.ts +6 -2
- package/dist/theme/components/navigation.d.ts +2 -2
- package/dist/theme/components/shared.d.ts +22 -0
- package/dist/theme/components/surfaces.d.ts +2 -2
- package/dist/theme/create-abyss-theme.d.ts +10 -0
- package/dist/theme/create-abyss-theme.spec.d.ts +1 -0
- package/dist/theme/css-variables.d.ts +9 -0
- package/dist/theme/css-variables.spec.d.ts +1 -0
- package/dist/theme/design-theme.d.ts +8 -0
- package/dist/theme/fonts.spec.d.ts +1 -0
- package/dist/theme/index.d.ts +5 -22
- package/dist/theme/theme-switch.spec.d.ts +1 -0
- package/dist/theme/tokens/contrast.spec.d.ts +1 -0
- package/dist/theme/tokens/domain.d.ts +66 -0
- package/dist/theme/tokens/domain.spec.d.ts +1 -0
- package/dist/theme/tokens/index.d.ts +4 -0
- package/dist/theme/tokens/oklch.d.ts +27 -0
- package/dist/theme/tokens/oklch.spec.d.ts +1 -0
- package/dist/theme/tokens/primitives.d.ts +69 -0
- package/dist/theme/tokens/semantic.d.ts +12 -0
- package/dist/theme/tokens/semantic.spec.d.ts +1 -0
- package/dist/theme/tokens/soft.d.ts +2 -0
- package/dist/translations/en.d.ts +153 -0
- package/dist/translations/fr.d.ts +153 -0
- package/dist/{components/QuotaReached/billing-quota-error.d.ts → utils/billing-quota-error.utils.d.ts} +1 -1
- package/dist/utils/billing-quota-error.utils.spec.d.ts +1 -0
- package/dist/utils/billing.utils.d.ts +1 -7
- package/dist/{components/CookieConsent/reconcile.util.d.ts → utils/cookie-consent-reconcile.utils.d.ts} +1 -1
- package/dist/utils/cookie-consent-reconcile.utils.spec.d.ts +1 -0
- package/dist/utils/cookie-storage.utils.spec.d.ts +1 -0
- package/dist/utils/index.d.ts +5 -2
- package/dist/utils/privacy-link.constant.spec.d.ts +1 -0
- package/dist/utils/project-link-wording.utils.d.ts +1 -1
- package/package.json +22 -6
- package/test-results/catalog/.last-run.json +4 -0
- package/vite.config.ts +29 -1
- package/dist/components/CookieConsent/index.d.ts +0 -9
- /package/dist/components/{Cards/project-card-date.spec.d.ts → business/InfectedDownloadModal/InfectedDownloadModal.spec.d.ts} +0 -0
- /package/dist/components/{Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts → data/DataTable/DataTable.spec.d.ts} +0 -0
- /package/dist/components/{Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts → data/KeyValueList/KeyValueList.spec.d.ts} +0 -0
- /package/dist/components/{CompanySearchAutocomplete/CompanySearchAutocomplete.date.spec.d.ts → data/Sparkline/Sparkline.spec.d.ts} +0 -0
- /package/dist/components/{CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts → data/StatTile/StatTile.spec.d.ts} +0 -0
- /package/dist/components/{CookieConsent/cookie-storage.util.spec.d.ts → data/chart-theme.spec.d.ts} +0 -0
- /package/dist/components/{CookieConsent/privacy-link.spec.d.ts → inputs/ColorField/ColorField.spec.d.ts} +0 -0
- /package/dist/components/{CookieConsent/reconcile.util.spec.d.ts → inputs/DateField/DateField.spec.d.ts} +0 -0
- /package/dist/components/{Data/AbyssTable/AbyssTable.component.spec.d.ts → inputs/DateRangeField/DateRangeField.spec.d.ts} +0 -0
- /package/dist/components/{Data/AbyssTable/abyss-table.logic.spec.d.ts → inputs/RichSelect/RichSelect.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts → inputs/SegmentedControl/SegmentedControl.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/AbyssNumberField/format.spec.d.ts → layers/CommandPalette/CommandPalette.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts → layers/ConfirmDialog/ConfirmDialog.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/CloudImport/CloudImport.component.spec.d.ts → layers/Drawer/Drawer.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/CloudImport/CloudImportFile.component.spec.d.ts → layers/Menu/Menu.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/CloudImport/cloud-accept.spec.d.ts → layers/Modal/Modal.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts → layers/Toast/Toast.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts → meaning/MethodBadge/MethodBadge.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts → meaning/RoleBadge/RoleBadge.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts → meaning/ScanBadge/ScanBadge.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DatePeriodPicker/date-period-presets.spec.d.ts → meaning/SeverityBadge/SeverityBadge.spec.d.ts} +0 -0
- /package/dist/components/{Inputs/DropZone/DropZone.component.spec.d.ts → meaning/StatusBadge/StatusBadge.spec.d.ts} +0 -0
- /package/dist/components/{Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts → meaning/ToolIcon/ToolIcon.spec.d.ts} +0 -0
- /package/dist/components/{Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts → mobile/ActionBar/ActionBar.spec.d.ts} +0 -0
- /package/dist/components/{Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts → mobile/BottomSheet/BottomSheet.spec.d.ts} +0 -0
- /package/dist/components/{Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts → mobile/MobileShell/MobileShell.spec.d.ts} +0 -0
- /package/dist/components/{Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts → mobile/SwipeDeck/SwipeDeck.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/apply.spec.d.ts → states/PageState/PageState.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/compute-page-order.spec.d.ts → structure/AppShell/AppShell.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/extract.spec.d.ts → structure/FilterBar/FilterBar.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/redact.spec.d.ts → structure/PageHeader/PageHeader.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/reducer.spec.d.ts → structure/Section/Section.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/operations/rotate-coords.spec.d.ts → structure/SplitView/SplitView.spec.d.ts} +0 -0
- /package/dist/components/{PdfEditor/signature/resolve-asset.spec.d.ts → structure/Surface/Surface.spec.d.ts} +0 -0
- /package/dist/components/{QuotaGauge/bubble-placement.spec.d.ts → structure/Toolbar/Toolbar.spec.d.ts} +0 -0
- /package/dist/{components/QuotaReached → hooks}/quota-dialog.store.d.ts +0 -0
- /package/dist/{components/QuotaGauge/gauge-highlight.spec.d.ts → hooks/use-rich-intl.hook.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/OrganizationAvatar/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/ProjectAvatar/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/UserAvatar/UserAvatar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/UserAvatar/constant.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/UserAvatar/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/UserAvatarList/UserAvatarList.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/UserAvatarList/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Avatars/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/AccountTransactions/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/Inputs/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Banking/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Cards/InternalProjectCard/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Cards/ProjectCard/ProjectCard.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Cards/ProjectCard/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Cards/index.d.ts +0 -0
- /package/dist/{components/QuotaGauge/gauge-i18n-coverage.spec.d.ts → legacy/components/Cards/project-card-date.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssBarChart/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +0 -0
- /package/dist/{components/QuotaGauge/gauge-segments.spec.d.ts → legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssCashFlowChart/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +0 -0
- /package/dist/{components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts → legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssLineChart/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/AbyssPieChart/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Charts/useNivoTheme.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ApplicationSentinelTypeChip/ApplicationSentinelTypeChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ApplicationSentinelTypeChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ApplicationWebhookTypeChip/ApplicationWebhookTypeChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ApplicationWebhookTypeChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/LogTypeChip/LogTypeChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/LogTypeChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ProjectStatusChip/ProjectStatusChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/ProjectStatusChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/WebhookResponseCodeChip/WebhookResponseCodeChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/WebhookResponseCodeChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/WebhookTypeChip/WebhookTypeChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/WebhookTypeChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Chips/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/CommandPalette/AbyssCommandPalette.d.ts +0 -0
- /package/dist/{components → legacy/components}/CommandPalette/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/CommandPalette/types.d.ts +0 -0
- /package/dist/{components → legacy/components}/CommandPalette/useCommandPaletteHotkey.d.ts +0 -0
- /package/dist/{components → legacy/components}/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +0 -0
- /package/dist/{components/QuotaOffer/quota-offer-state.spec.d.ts → legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.date.spec.d.ts} +0 -0
- /package/dist/{components/QuotaOffer/quota-phrase-coverage.spec.d.ts → legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/CompanySearchAutocomplete/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/CookieConsent/CookieConsentSettings.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Data/AbyssTable/AbyssTable.component.d.ts +0 -0
- /package/dist/{components/QuotaReached/billing-quota-error.spec.d.ts → legacy/components/Data/AbyssTable/AbyssTable.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Data/AbyssTable/AbyssTableCards.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Data/AbyssTable/abyss-table.logic.d.ts +0 -0
- /package/dist/{components/Support/SupportMessageLink.component.spec.d.ts → legacy/components/Data/AbyssTable/abyss-table.logic.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Data/AbyssTable/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Data/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/InfoBox/InfoBox.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/InfoBox/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssDatePicker/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssDateTimePicker/AbyssDateTimePicker.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssDateTimePicker/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +0 -0
- /package/dist/{components/Support/SupportTicketDetail.mobile-layout.spec.d.ts → legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssMarkdownEditor/crepe-theme.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssMarkdownEditor/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssNumberField/format.d.ts +0 -0
- /package/dist/{components/Support/SupportTicketList.week-preset.spec.d.ts → legacy/components/Inputs/AbyssNumberField/format.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssNumberField/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssScopeSwitcher/index.d.ts +0 -0
- /package/dist/{components/Support/support-attachment.logic.spec.d.ts → legacy/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssSelectOrganization/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/AbyssSelectProject/index.d.ts +0 -0
- /package/dist/{components/Support/support-author.logic.spec.d.ts → legacy/components/Inputs/CloudImport/CloudImport.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/CloudImport/CloudImportFile.component.d.ts +0 -0
- /package/dist/{components/Support/support-create-stepper.logic.spec.d.ts → legacy/components/Inputs/CloudImport/CloudImportFile.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/CloudImport/CloudImportFolder.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/CloudImport/cloud-accept.d.ts +0 -0
- /package/dist/{components/Support/support-message-input.logic.spec.d.ts → legacy/components/Inputs/CloudImport/cloud-accept.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/ColorPalette/ColorPalette.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ColorPalette/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ColorPicker/ColorPicker.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ColorPicker/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ContextSelector/ContextSelector.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ContextSelector/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +0 -0
- /package/dist/{components/Support/support-status-timeline.logic.spec.d.ts → legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts} +0 -0
- /package/dist/{components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts → legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts} +0 -0
- /package/dist/{components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts → legacy/components/Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -0
- /package/dist/{components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts → legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts} +0 -0
- /package/dist/{components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts → legacy/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/DatePeriodPicker/index.d.ts +0 -0
- /package/dist/{components/aria-labels-i18n.spec.d.ts → legacy/components/Inputs/DropZone/DropZone.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Inputs/DropZone/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/LanguageFlagLabel/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/LanguageFlagLabel/language-flags.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/PasswordInput/PasswordInput.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/PasswordInput/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectCategoryBadge/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectLinkSelector/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/ProjectTagChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Inputs/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Invitations/AbyssPendingInvitations.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Invitations/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +0 -0
- /package/dist/{components/commons-labels-i18n.spec.d.ts → legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssBillingPlan/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssDashboardLayout/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +0 -0
- /package/dist/{components/theme-mode-colors.spec.d.ts → legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssFamilyBanner/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssHeader/AbyssHeader.component.d.ts +0 -0
- /package/dist/{theme/components/inputs.spec.d.ts → legacy/components/Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssHeader/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssLayoutProvider/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssLoadingScreen/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssSearchBar/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssSidebar/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/AbyssThemeToggle/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/DashboardLayout/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/LoadingLayout/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/MainLayout/MainLayout.layout.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/MainLayout/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Layouts/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/AbyssModal/AbyssModal.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/AbyssModal/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/ConfirmModal/ConfirmModal.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/ConfirmModal/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/ImportFromCloudModal/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/QRCodeModal/QRCodeModal.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/QRCodeModal/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Modals/UserSettingsModal/index.d.ts +0 -0
- /package/dist/{theme/disabled-contrast.spec.d.ts → legacy/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts} +0 -0
- /package/dist/{components → legacy/components}/Modals/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/PdfEditor.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-acro-form-fields.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-export.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-page-order.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-pdf-document.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-undo-redo.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/hooks/use-uploaded-docs.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/actions.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/apply.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/compute-page-order.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/extract.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/pdf-data-url.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/rasterize.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/redact.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/reducer.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/operations/rotate-coords.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/SignatureDrawCanvas.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/SignaturePicker.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/SignatureSaveButton.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/SignatureSavedList.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/SignatureUploadDropzone.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/signature/resolve-asset.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/DrawTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/FillFieldsTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/RedactTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/ShapeTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/SignatureTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/TextTool.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/Toolbar.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/tools/tool-options-ui.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/InsertPagesButton.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/InsertPagesDialog.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/PageOverlay.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/PageSidebar.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/PageThumbnail.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/PdfCanvas.d.ts +0 -0
- /package/dist/{components → legacy/components}/PdfEditor/viewer/ViewerControls.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaGauge/AbyssQuotaGauge.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaGauge/bubble-placement.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaGauge/gauge-segments.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaGauge/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaOffer/AbyssQuotaOffer.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaOffer/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaOffer/quota-offer-state.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaReached/QuotaReachedDialog.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/QuotaReached/quota-service-meta.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/InternalProjectCard/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectCard/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectCategoryBadge/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectLinkSelector/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectTagChip/ProjectTagChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/ProjectTagChip/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Spotlight/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/AbyssServiceSelect.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportActionButtons.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportActivityLog.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportAttachmentsPanel.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportCategoryChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportCategoryGroupCards.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportCategorySelect.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportMessageInput.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportMessageThread.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportPriorityChip.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportSidebar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportStatusBadge.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportStatusTimeline.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportTicketCreateForm.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportTicketCreateStepper.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportTicketDetail.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportTicketList.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/SupportTopBar.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/support-attachment.logic.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/support-author.logic.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/support-create-stepper.logic.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/support-message-input.logic.d.ts +0 -0
- /package/dist/{components → legacy/components}/Support/support-status-timeline.logic.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssBackground/AbyssBackground.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssDrawer/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssErrorPage/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssFamilyMenuSection/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssHeaderTitle/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutMenu/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/AbyssLayoutNotifications/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/ImportButton/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/Toast/AbyssToast.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/Toast/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/WaterParticles/WaterParticles.component.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/WaterParticles/index.d.ts +0 -0
- /package/dist/{components → legacy/components}/Utils/index.d.ts +0 -0
- /package/dist/{hooks → legacy/hooks}/confirm-modal/confirm-modal.context.d.ts +0 -0
- /package/dist/{hooks → legacy/hooks}/confirm-modal/index.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/components/index.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/create-theme.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/palettes/common.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/palettes/dark.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/palettes/light.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/animations.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/borders.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/colors.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/shadows.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/transitions.d.ts +0 -0
- /package/dist/{theme → legacy/theme}/tokens/typography.d.ts +0 -0
- /package/dist/{utils → legacy/utils}/color.utils.d.ts +0 -0
- /package/dist/{utils → legacy/utils}/file.utils.d.ts +0 -0
- /package/dist/{components/CookieConsent/types.d.ts → utils/cookie-consent.types.d.ts} +0 -0
- /package/dist/{components/CookieConsent/cookie-storage.util.d.ts → utils/cookie-storage.utils.d.ts} +0 -0
- /package/dist/{components/CookieConsent → utils}/privacy-link.constant.d.ts +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import Button from '@mui/material/Button';
|
|
2
|
+
import Skeleton from '@mui/material/Skeleton';
|
|
3
|
+
import CreateNewFolderOutlined from '@mui/icons-material/CreateNewFolderOutlined';
|
|
4
|
+
import {
|
|
5
|
+
PageState,
|
|
6
|
+
PageStatus,
|
|
7
|
+
} from '../../src/components/states/PageState/PageState';
|
|
8
|
+
import { space } from '../../src/theme/tokens/primitives';
|
|
9
|
+
import { Columns, Example, LastEvent, Showcase, useEventLog } from '../frame';
|
|
10
|
+
import { ACCOUNTS } from '../fixtures';
|
|
11
|
+
import { AccountCard } from '../parts';
|
|
12
|
+
|
|
13
|
+
// Height of an account card: 2 × 64 + 32.
|
|
14
|
+
const CARD_HEIGHT = space[10] * 2 + space[7];
|
|
15
|
+
|
|
16
|
+
const AccountSkeleton = () => (
|
|
17
|
+
<Columns>
|
|
18
|
+
{ACCOUNTS.map((account) => (
|
|
19
|
+
<Skeleton key={account.id} variant="rounded" height={CARD_HEIGHT} />
|
|
20
|
+
))}
|
|
21
|
+
</Columns>
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export const PageStatePage = () => {
|
|
25
|
+
const { log } = useEventLog();
|
|
26
|
+
const ready = (
|
|
27
|
+
<Columns>
|
|
28
|
+
{ACCOUNTS.map((account) => (
|
|
29
|
+
<AccountCard key={account.id} account={account} />
|
|
30
|
+
))}
|
|
31
|
+
</Columns>
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<Showcase
|
|
36
|
+
family="États"
|
|
37
|
+
name="PageState"
|
|
38
|
+
description="Remplace l'emplacement du contenu pendant le chargement, quand il est vide, en erreur, refusé ou introuvable ; le cadre de la page reste."
|
|
39
|
+
>
|
|
40
|
+
<Example title="Chargement">
|
|
41
|
+
<PageState status={PageStatus.Loading} skeleton={<AccountSkeleton />}>
|
|
42
|
+
{ready}
|
|
43
|
+
</PageState>
|
|
44
|
+
</Example>
|
|
45
|
+
<Example title="Vide, avec action">
|
|
46
|
+
<PageState
|
|
47
|
+
status={PageStatus.Empty}
|
|
48
|
+
skeleton={<AccountSkeleton />}
|
|
49
|
+
empty={{
|
|
50
|
+
title: 'Aucun fichier dans Impôts 2026',
|
|
51
|
+
description:
|
|
52
|
+
'Importez vos avis et déclarations, ils seront chiffrés et analysés.',
|
|
53
|
+
action: (
|
|
54
|
+
<Button
|
|
55
|
+
variant="contained"
|
|
56
|
+
startIcon={<CreateNewFolderOutlined />}
|
|
57
|
+
onClick={() => log('importer')}
|
|
58
|
+
>
|
|
59
|
+
Importer des fichiers
|
|
60
|
+
</Button>
|
|
61
|
+
),
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
{ready}
|
|
65
|
+
</PageState>
|
|
66
|
+
</Example>
|
|
67
|
+
<Example title="Erreur, avec nouvel essai">
|
|
68
|
+
<PageState
|
|
69
|
+
status={PageStatus.Error}
|
|
70
|
+
skeleton={<AccountSkeleton />}
|
|
71
|
+
error={{
|
|
72
|
+
message:
|
|
73
|
+
"La synchronisation Qonto n'a pas répondu (délai dépassé après 30 s).",
|
|
74
|
+
onRetry: () => log('réessayer'),
|
|
75
|
+
}}
|
|
76
|
+
>
|
|
77
|
+
{ready}
|
|
78
|
+
</PageState>
|
|
79
|
+
</Example>
|
|
80
|
+
<Example title="Accès refusé">
|
|
81
|
+
<PageState status={PageStatus.Forbidden} skeleton={<AccountSkeleton />}>
|
|
82
|
+
{ready}
|
|
83
|
+
</PageState>
|
|
84
|
+
</Example>
|
|
85
|
+
<Example title="Introuvable">
|
|
86
|
+
<PageState status={PageStatus.NotFound} skeleton={<AccountSkeleton />}>
|
|
87
|
+
{ready}
|
|
88
|
+
</PageState>
|
|
89
|
+
</Example>
|
|
90
|
+
<Example title="Prêt">
|
|
91
|
+
<PageState status={PageStatus.Ready} skeleton={<AccountSkeleton />}>
|
|
92
|
+
{ready}
|
|
93
|
+
</PageState>
|
|
94
|
+
</Example>
|
|
95
|
+
<LastEvent />
|
|
96
|
+
</Showcase>
|
|
97
|
+
);
|
|
98
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { RichSelect } from '../../src/components/inputs/RichSelect/RichSelect';
|
|
3
|
+
import { ToolIcon } from '../../src/components/meaning/ToolIcon/ToolIcon';
|
|
4
|
+
import { ToolKind } from '../../src/theme/tokens/domain';
|
|
5
|
+
import { breakpoints } from '../../src/theme/tokens/primitives';
|
|
6
|
+
import { Columns, Example, Showcase } from '../frame';
|
|
7
|
+
import { ACCOUNT_OPTIONS } from '../fixtures';
|
|
8
|
+
|
|
9
|
+
type Visibility = 'private' | 'members' | 'public';
|
|
10
|
+
type Product = 'cloud' | 'banking' | 'memories';
|
|
11
|
+
|
|
12
|
+
const VISIBILITY_OPTIONS = [
|
|
13
|
+
{
|
|
14
|
+
value: 'private' as const,
|
|
15
|
+
label: 'Privé',
|
|
16
|
+
description: 'Vous seul',
|
|
17
|
+
tone: 'status.neutral' as const,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
value: 'members' as const,
|
|
21
|
+
label: 'Membres',
|
|
22
|
+
description: "Les 82 membres de l'événement",
|
|
23
|
+
tone: 'status.info' as const,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: 'public' as const,
|
|
27
|
+
label: 'Public',
|
|
28
|
+
description: 'Toute personne avec le lien',
|
|
29
|
+
tone: 'status.warning' as const,
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
const PRODUCT_OPTIONS = [
|
|
34
|
+
{
|
|
35
|
+
value: 'cloud' as const,
|
|
36
|
+
label: 'Cloud',
|
|
37
|
+
icon: <ToolIcon tool={ToolKind.Cloud} size={20} />,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
value: 'banking' as const,
|
|
41
|
+
label: 'Banking',
|
|
42
|
+
icon: <ToolIcon tool={ToolKind.Banking} size={20} />,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
value: 'memories' as const,
|
|
46
|
+
label: 'Memories',
|
|
47
|
+
icon: <ToolIcon tool={ToolKind.Memories} size={20} />,
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
|
|
51
|
+
export const RichSelectPage = () => {
|
|
52
|
+
const [visibility, setVisibility] = useState<Visibility>('members');
|
|
53
|
+
const [accounts, setAccounts] = useState<string[]>(['bnp', 'qonto']);
|
|
54
|
+
const [product, setProduct] = useState<Product>('banking');
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<Showcase
|
|
58
|
+
family="Saisie"
|
|
59
|
+
name="RichSelect"
|
|
60
|
+
description="Liste de choix avec description, icône ou point de ton ; simple ou multiple."
|
|
61
|
+
>
|
|
62
|
+
<Columns>
|
|
63
|
+
<Example title="Avec ton et description" maxWidth={breakpoints.sm}>
|
|
64
|
+
<RichSelect
|
|
65
|
+
label="Visibilité du souvenir"
|
|
66
|
+
options={VISIBILITY_OPTIONS}
|
|
67
|
+
value={visibility}
|
|
68
|
+
onChange={(next) =>
|
|
69
|
+
setVisibility(Array.isArray(next) ? next[0] : next)
|
|
70
|
+
}
|
|
71
|
+
/>
|
|
72
|
+
</Example>
|
|
73
|
+
<Example title="Multiple" maxWidth={breakpoints.sm}>
|
|
74
|
+
<RichSelect
|
|
75
|
+
label="Comptes"
|
|
76
|
+
multiple
|
|
77
|
+
options={ACCOUNT_OPTIONS}
|
|
78
|
+
value={accounts}
|
|
79
|
+
onChange={(next) =>
|
|
80
|
+
setAccounts(Array.isArray(next) ? next : [next])
|
|
81
|
+
}
|
|
82
|
+
/>
|
|
83
|
+
</Example>
|
|
84
|
+
<Example title="Avec icône" maxWidth={breakpoints.sm}>
|
|
85
|
+
<RichSelect
|
|
86
|
+
label="Produit"
|
|
87
|
+
options={PRODUCT_OPTIONS}
|
|
88
|
+
value={product}
|
|
89
|
+
onChange={(next) =>
|
|
90
|
+
setProduct(Array.isArray(next) ? next[0] : next)
|
|
91
|
+
}
|
|
92
|
+
/>
|
|
93
|
+
</Example>
|
|
94
|
+
<Example title="En erreur" maxWidth={breakpoints.sm}>
|
|
95
|
+
<RichSelect
|
|
96
|
+
label="Compte de destination"
|
|
97
|
+
options={ACCOUNT_OPTIONS}
|
|
98
|
+
value={[]}
|
|
99
|
+
onChange={() => undefined}
|
|
100
|
+
multiple
|
|
101
|
+
error="Choisissez au moins un compte."
|
|
102
|
+
/>
|
|
103
|
+
</Example>
|
|
104
|
+
<Example title="Désactivé" maxWidth={breakpoints.sm}>
|
|
105
|
+
<RichSelect
|
|
106
|
+
label="Produit"
|
|
107
|
+
options={PRODUCT_OPTIONS}
|
|
108
|
+
value="cloud"
|
|
109
|
+
onChange={() => undefined}
|
|
110
|
+
disabled
|
|
111
|
+
/>
|
|
112
|
+
</Example>
|
|
113
|
+
</Columns>
|
|
114
|
+
</Showcase>
|
|
115
|
+
);
|
|
116
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RoleBadge } from '../../src/components/meaning/RoleBadge/RoleBadge';
|
|
2
|
+
import { AccessLevel } from '../../src/theme/tokens/domain';
|
|
3
|
+
import { Example, Showcase } from '../frame';
|
|
4
|
+
|
|
5
|
+
const LEVELS: Array<{ level: AccessLevel; label: string }> = [
|
|
6
|
+
{ level: AccessLevel.Owner, label: 'Gestion' },
|
|
7
|
+
{ level: AccessLevel.Admin, label: 'Administration' },
|
|
8
|
+
{ level: AccessLevel.Write, label: 'Modification' },
|
|
9
|
+
{ level: AccessLevel.Read, label: 'Lecture' },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export const RoleBadgePage = () => (
|
|
13
|
+
<Showcase
|
|
14
|
+
family="Sens"
|
|
15
|
+
name="RoleBadge"
|
|
16
|
+
description="Niveau d'accès d'une personne à un contenu partagé ; le libellé vient de l'hôte."
|
|
17
|
+
>
|
|
18
|
+
<Example title="Les quatre niveaux" framed>
|
|
19
|
+
{LEVELS.map(({ level, label }) => (
|
|
20
|
+
<RoleBadge key={level} level={level} label={label} />
|
|
21
|
+
))}
|
|
22
|
+
</Example>
|
|
23
|
+
</Showcase>
|
|
24
|
+
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ScanBadge } from '../../src/components/meaning/ScanBadge/ScanBadge';
|
|
2
|
+
import { Surface } from '../../src/components/structure/Surface/Surface';
|
|
3
|
+
import { Columns, Example, Showcase } from '../frame';
|
|
4
|
+
import { FILES } from '../fixtures';
|
|
5
|
+
import { FileName } from '../parts';
|
|
6
|
+
|
|
7
|
+
export const ScanBadgePage = () => (
|
|
8
|
+
<Showcase
|
|
9
|
+
family="Sens"
|
|
10
|
+
name="ScanBadge"
|
|
11
|
+
description="Verdict de l'analyse antivirus d'un fichier ; le détail du scanner est donné en infobulle native."
|
|
12
|
+
>
|
|
13
|
+
<Example title="Fichiers d'Impôts 2026">
|
|
14
|
+
<Columns>
|
|
15
|
+
{FILES.filter((file) => file.scan !== null).map((file) => (
|
|
16
|
+
<Surface key={file.id} padding={3}>
|
|
17
|
+
<FileName file={file} />
|
|
18
|
+
{file.scan !== null && (
|
|
19
|
+
<ScanBadge
|
|
20
|
+
verdict={file.scan.verdict}
|
|
21
|
+
detail={file.scan.detail}
|
|
22
|
+
/>
|
|
23
|
+
)}
|
|
24
|
+
</Surface>
|
|
25
|
+
))}
|
|
26
|
+
</Columns>
|
|
27
|
+
</Example>
|
|
28
|
+
</Showcase>
|
|
29
|
+
);
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import Button from '@mui/material/Button';
|
|
3
|
+
import AddRounded from '@mui/icons-material/AddRounded';
|
|
4
|
+
import ChatBubbleOutlineOutlined from '@mui/icons-material/ChatBubbleOutlineOutlined';
|
|
5
|
+
import FileDownloadOutlined from '@mui/icons-material/FileDownloadOutlined';
|
|
6
|
+
import SellOutlined from '@mui/icons-material/SellOutlined';
|
|
7
|
+
import UploadOutlined from '@mui/icons-material/UploadOutlined';
|
|
8
|
+
import { AppShell } from '../../src/components/structure/AppShell/AppShell';
|
|
9
|
+
import { PageHeader } from '../../src/components/structure/PageHeader/PageHeader';
|
|
10
|
+
import { DataTable } from '../../src/components/data/DataTable/DataTable';
|
|
11
|
+
import type { DataColumn } from '../../src/components/data/DataTable/data-table.types';
|
|
12
|
+
import { StatusBadge } from '../../src/components/meaning/StatusBadge/StatusBadge';
|
|
13
|
+
import {
|
|
14
|
+
PageState,
|
|
15
|
+
PageStatus,
|
|
16
|
+
} from '../../src/components/states/PageState/PageState';
|
|
17
|
+
import { ToolIcon } from '../../src/components/meaning/ToolIcon/ToolIcon';
|
|
18
|
+
import { ToolKind } from '../../src/theme/tokens/domain';
|
|
19
|
+
import { Row, useEventLog } from '../frame';
|
|
20
|
+
import {
|
|
21
|
+
BANKING_NAV,
|
|
22
|
+
BANKING_TOTALS,
|
|
23
|
+
SPACES,
|
|
24
|
+
TRANSACTIONS,
|
|
25
|
+
formatInteger,
|
|
26
|
+
formatShortDate,
|
|
27
|
+
} from '../fixtures';
|
|
28
|
+
import type { Transaction } from '../fixtures';
|
|
29
|
+
import { Amount, SHELL_FOOTER, TopbarActions, TwoLines } from '../parts';
|
|
30
|
+
import { TransactionFilters } from './FilterBar';
|
|
31
|
+
import { BankingStatTiles } from './StatTile';
|
|
32
|
+
import {
|
|
33
|
+
ColumnAlign,
|
|
34
|
+
ColumnPriority,
|
|
35
|
+
SortDirection,
|
|
36
|
+
} from '../../src/components/data/DataTable/data-table.types';
|
|
37
|
+
|
|
38
|
+
const TRANSACTION_COLUMNS: DataColumn<Transaction>[] = [
|
|
39
|
+
{
|
|
40
|
+
id: 'date',
|
|
41
|
+
header: 'Date',
|
|
42
|
+
cell: (transaction) => formatShortDate(transaction.date),
|
|
43
|
+
width: 80,
|
|
44
|
+
mono: true,
|
|
45
|
+
sortable: true,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: 'label',
|
|
49
|
+
header: 'Libellé',
|
|
50
|
+
text: (transaction) => `${transaction.label}
|
|
51
|
+
${transaction.raw}`,
|
|
52
|
+
cell: (transaction) => (
|
|
53
|
+
<TwoLines first={transaction.label} second={transaction.raw} mono />
|
|
54
|
+
),
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: 'category',
|
|
58
|
+
header: 'Catégorie',
|
|
59
|
+
cell: (transaction) => transaction.category,
|
|
60
|
+
text: (transaction) => transaction.category,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'account',
|
|
64
|
+
header: 'Compte',
|
|
65
|
+
cell: (transaction) => transaction.account,
|
|
66
|
+
priority: ColumnPriority.Optional,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'flags',
|
|
70
|
+
header: 'Indicateurs',
|
|
71
|
+
priority: ColumnPriority.Optional,
|
|
72
|
+
cell: (transaction) => (
|
|
73
|
+
<Row>
|
|
74
|
+
{transaction.flags.map((flag) => (
|
|
75
|
+
<StatusBadge key={flag.label} tone={flag.tone} label={flag.label} />
|
|
76
|
+
))}
|
|
77
|
+
</Row>
|
|
78
|
+
),
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'amount',
|
|
82
|
+
header: 'Montant',
|
|
83
|
+
cell: (transaction) => <Amount value={transaction.amount} />,
|
|
84
|
+
width: 128,
|
|
85
|
+
align: ColumnAlign.Right,
|
|
86
|
+
sortable: true,
|
|
87
|
+
},
|
|
88
|
+
];
|
|
89
|
+
|
|
90
|
+
/** Banking « Transactions »: shell, header, key figures, filters and the selectable table. */
|
|
91
|
+
export const SceneDesktopPage = () => {
|
|
92
|
+
const { log } = useEventLog();
|
|
93
|
+
const [spaceId, setSpaceId] = useState(SPACES[0].id);
|
|
94
|
+
const [selected, setSelected] = useState<string[]>([
|
|
95
|
+
'tx-01',
|
|
96
|
+
'tx-03',
|
|
97
|
+
'tx-06',
|
|
98
|
+
]);
|
|
99
|
+
const current = SPACES.find((space) => space.id === spaceId) ?? SPACES[0];
|
|
100
|
+
|
|
101
|
+
return (
|
|
102
|
+
<AppShell
|
|
103
|
+
product={{
|
|
104
|
+
kind: ToolKind.Banking,
|
|
105
|
+
name: 'Banking',
|
|
106
|
+
icon: <ToolIcon tool={ToolKind.Banking} size={24} />,
|
|
107
|
+
}}
|
|
108
|
+
space={{ current, spaces: SPACES, onChange: setSpaceId }}
|
|
109
|
+
nav={BANKING_NAV}
|
|
110
|
+
activeItemId="transactions"
|
|
111
|
+
mainSpaceLink={{ href: '#abyss', label: 'Mon espace Abyss' }}
|
|
112
|
+
topbar={<TopbarActions />}
|
|
113
|
+
footer={SHELL_FOOTER}
|
|
114
|
+
>
|
|
115
|
+
<PageHeader
|
|
116
|
+
title="Transactions"
|
|
117
|
+
subtitle={`${formatInteger(
|
|
118
|
+
BANKING_TOTALS.transactionCount,
|
|
119
|
+
)} transactions sur 4 comptes · octobre 2026`}
|
|
120
|
+
breadcrumbs={[
|
|
121
|
+
{ label: 'Banking', href: '/accueil' },
|
|
122
|
+
{ label: 'Transactions' },
|
|
123
|
+
]}
|
|
124
|
+
actions={
|
|
125
|
+
<>
|
|
126
|
+
<Button
|
|
127
|
+
variant="outlined"
|
|
128
|
+
startIcon={<UploadOutlined />}
|
|
129
|
+
onClick={() => log('importer un CSV')}
|
|
130
|
+
>
|
|
131
|
+
Importer un CSV
|
|
132
|
+
</Button>
|
|
133
|
+
<Button
|
|
134
|
+
variant="outlined"
|
|
135
|
+
startIcon={<FileDownloadOutlined />}
|
|
136
|
+
onClick={() => log('exporter')}
|
|
137
|
+
>
|
|
138
|
+
Exporter
|
|
139
|
+
</Button>
|
|
140
|
+
<Button
|
|
141
|
+
variant="contained"
|
|
142
|
+
startIcon={<AddRounded />}
|
|
143
|
+
onClick={() => log('ajouter')}
|
|
144
|
+
>
|
|
145
|
+
Ajouter
|
|
146
|
+
</Button>
|
|
147
|
+
</>
|
|
148
|
+
}
|
|
149
|
+
/>
|
|
150
|
+
<BankingStatTiles />
|
|
151
|
+
<TransactionFilters />
|
|
152
|
+
<DataTable
|
|
153
|
+
columns={TRANSACTION_COLUMNS}
|
|
154
|
+
rows={TRANSACTIONS}
|
|
155
|
+
getRowId={(transaction) => transaction.id}
|
|
156
|
+
loading={false}
|
|
157
|
+
empty={
|
|
158
|
+
<PageState
|
|
159
|
+
status={PageStatus.Empty}
|
|
160
|
+
skeleton={null}
|
|
161
|
+
empty={{ title: 'Aucune transaction pour ces filtres' }}
|
|
162
|
+
>
|
|
163
|
+
{null}
|
|
164
|
+
</PageState>
|
|
165
|
+
}
|
|
166
|
+
sort={{
|
|
167
|
+
columnId: 'date',
|
|
168
|
+
direction: SortDirection.Desc,
|
|
169
|
+
onChange: (columnId) => log(`trier ${columnId}`),
|
|
170
|
+
}}
|
|
171
|
+
onRowClick={(transaction) => log(`ouvrir ${transaction.label}`)}
|
|
172
|
+
selection={{
|
|
173
|
+
selected,
|
|
174
|
+
onChange: setSelected,
|
|
175
|
+
bulkActions: [
|
|
176
|
+
{
|
|
177
|
+
id: 'categorize',
|
|
178
|
+
label: 'Catégoriser',
|
|
179
|
+
icon: <SellOutlined />,
|
|
180
|
+
onPress: () => log('catégoriser'),
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: 'comment',
|
|
184
|
+
label: 'Commenter',
|
|
185
|
+
icon: <ChatBubbleOutlineOutlined />,
|
|
186
|
+
onPress: () => log('commenter'),
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: 'export',
|
|
190
|
+
label: 'Exporter la sélection',
|
|
191
|
+
icon: <FileDownloadOutlined />,
|
|
192
|
+
onPress: () => log('exporter la sélection'),
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
}}
|
|
196
|
+
mobileRow={{
|
|
197
|
+
primary: (transaction) => transaction.label,
|
|
198
|
+
secondary: (transaction) =>
|
|
199
|
+
`${transaction.category} · ${
|
|
200
|
+
transaction.account
|
|
201
|
+
} · ${formatShortDate(transaction.date)}`,
|
|
202
|
+
trailing: (transaction) => <Amount value={transaction.amount} />,
|
|
203
|
+
}}
|
|
204
|
+
/>
|
|
205
|
+
</AppShell>
|
|
206
|
+
);
|
|
207
|
+
};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import IconButton from '@mui/material/IconButton';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
import AccountCircleOutlined from '@mui/icons-material/AccountCircleOutlined';
|
|
5
|
+
import AddRounded from '@mui/icons-material/AddRounded';
|
|
6
|
+
import FolderOpenOutlined from '@mui/icons-material/FolderOpenOutlined';
|
|
7
|
+
import FolderSharedOutlined from '@mui/icons-material/FolderSharedOutlined';
|
|
8
|
+
import ScheduleOutlined from '@mui/icons-material/ScheduleOutlined';
|
|
9
|
+
import SearchRounded from '@mui/icons-material/SearchRounded';
|
|
10
|
+
import { MobileShell } from '../../src/components/mobile/MobileShell/MobileShell';
|
|
11
|
+
import { BottomSheet } from '../../src/components/mobile/BottomSheet/BottomSheet';
|
|
12
|
+
import { Section } from '../../src/components/structure/Section/Section';
|
|
13
|
+
import { KeyValueList } from '../../src/components/data/KeyValueList/KeyValueList';
|
|
14
|
+
import { StatTile } from '../../src/components/data/StatTile/StatTile';
|
|
15
|
+
import { ScanBadge } from '../../src/components/meaning/ScanBadge/ScanBadge';
|
|
16
|
+
import { ScanVerdict } from '../../src/theme/tokens/domain';
|
|
17
|
+
import { px } from '../../src/theme/components/shared';
|
|
18
|
+
import { useEventLog } from '../frame';
|
|
19
|
+
import { FILES } from '../fixtures';
|
|
20
|
+
import { FileGlyph, Glyph, TouchList } from '../parts';
|
|
21
|
+
import { FILE_ACTIONS } from './BottomSheet';
|
|
22
|
+
|
|
23
|
+
const CLOUD_TABS = [
|
|
24
|
+
{ id: 'files', label: 'Fichiers', icon: <FolderOpenOutlined /> },
|
|
25
|
+
{ id: 'recent', label: 'Récents', icon: <ScheduleOutlined /> },
|
|
26
|
+
{ id: 'shared', label: 'Partagés', icon: <FolderSharedOutlined />, badge: 2 },
|
|
27
|
+
{ id: 'me', label: 'Moi', icon: <AccountCircleOutlined /> },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
const Content = styled('div')(({ theme }) => ({
|
|
31
|
+
display: 'flex',
|
|
32
|
+
flexDirection: 'column',
|
|
33
|
+
gap: px(theme.design.space[6]),
|
|
34
|
+
paddingTop: px(theme.design.space[2]),
|
|
35
|
+
}));
|
|
36
|
+
|
|
37
|
+
const SheetBody = styled('div')(({ theme }) => ({
|
|
38
|
+
display: 'flex',
|
|
39
|
+
flexDirection: 'column',
|
|
40
|
+
gap: px(theme.design.space[4]),
|
|
41
|
+
}));
|
|
42
|
+
|
|
43
|
+
/** The scan verdicts worth a badge in a list: a clean file says nothing. */
|
|
44
|
+
const listedVerdict = (verdict: ScanVerdict): boolean =>
|
|
45
|
+
verdict !== ScanVerdict.Clean;
|
|
46
|
+
|
|
47
|
+
/** Cloud on a phone: the « Impôts 2026 » folder, its files, and the actions sheet of a file. */
|
|
48
|
+
export const SceneMobilePage = () => {
|
|
49
|
+
const { log } = useEventLog();
|
|
50
|
+
const [tab, setTab] = useState('files');
|
|
51
|
+
const [openId, setOpenId] = useState<string | null>(null);
|
|
52
|
+
const folders = FILES.filter((file) => file.kind === 'folder');
|
|
53
|
+
const files = FILES.filter((file) => file.kind !== 'folder');
|
|
54
|
+
const open = files.find((file) => file.id === openId);
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<MobileShell
|
|
58
|
+
title="Impôts 2026"
|
|
59
|
+
largeTitle
|
|
60
|
+
onBack={() => log('retour vers Administratif')}
|
|
61
|
+
actions={
|
|
62
|
+
<IconButton aria-label="Rechercher" onClick={() => log('rechercher')}>
|
|
63
|
+
<SearchRounded />
|
|
64
|
+
</IconButton>
|
|
65
|
+
}
|
|
66
|
+
tabs={CLOUD_TABS}
|
|
67
|
+
activeTab={tab}
|
|
68
|
+
onTabChange={(id) => {
|
|
69
|
+
setTab(id);
|
|
70
|
+
log(`onglet ${id}`);
|
|
71
|
+
}}
|
|
72
|
+
mainAction={{
|
|
73
|
+
icon: <AddRounded />,
|
|
74
|
+
label: 'Importer',
|
|
75
|
+
onPress: () => log('importer'),
|
|
76
|
+
}}
|
|
77
|
+
onRefresh={async () => log('actualiser')}
|
|
78
|
+
>
|
|
79
|
+
<Content>
|
|
80
|
+
<StatTile
|
|
81
|
+
label="Stockage"
|
|
82
|
+
value="3,2"
|
|
83
|
+
unit="Go"
|
|
84
|
+
delta={{ value: 'sur 10 Go · 6,8 Go libres', tone: 'text.muted' }}
|
|
85
|
+
/>
|
|
86
|
+
<Section title="Dossiers" count={folders.length}>
|
|
87
|
+
<TouchList
|
|
88
|
+
items={folders.map((folder) => ({
|
|
89
|
+
id: folder.id,
|
|
90
|
+
leading: <FileGlyph kind={folder.kind} />,
|
|
91
|
+
title: folder.name,
|
|
92
|
+
subtitle: `${folder.detail} · ${
|
|
93
|
+
folder.share ? `partagé · ${folder.share}` : 'privé'
|
|
94
|
+
}`,
|
|
95
|
+
}))}
|
|
96
|
+
onOpen={(id) => log(`ouvrir ${id}`)}
|
|
97
|
+
/>
|
|
98
|
+
</Section>
|
|
99
|
+
<Section title="Fichiers" count={files.length}>
|
|
100
|
+
<TouchList
|
|
101
|
+
items={files.map((file) => ({
|
|
102
|
+
id: file.id,
|
|
103
|
+
leading: <FileGlyph kind={file.kind} />,
|
|
104
|
+
title: file.name,
|
|
105
|
+
subtitle: `${file.size} · ${file.modified}`,
|
|
106
|
+
trailing:
|
|
107
|
+
file.scan !== null && listedVerdict(file.scan.verdict) ? (
|
|
108
|
+
<ScanBadge
|
|
109
|
+
verdict={file.scan.verdict}
|
|
110
|
+
detail={file.scan.detail}
|
|
111
|
+
/>
|
|
112
|
+
) : undefined,
|
|
113
|
+
}))}
|
|
114
|
+
onOpen={(id) => setOpenId(id)}
|
|
115
|
+
/>
|
|
116
|
+
</Section>
|
|
117
|
+
</Content>
|
|
118
|
+
<BottomSheet
|
|
119
|
+
open={open !== undefined}
|
|
120
|
+
onClose={() => setOpenId(null)}
|
|
121
|
+
title={open?.name}
|
|
122
|
+
>
|
|
123
|
+
{open !== undefined && (
|
|
124
|
+
<SheetBody>
|
|
125
|
+
<KeyValueList
|
|
126
|
+
items={[
|
|
127
|
+
{ id: 'size', label: 'Taille', value: open.size, mono: true },
|
|
128
|
+
{ id: 'modified', label: 'Modifié', value: open.modified },
|
|
129
|
+
{ id: 'share', label: 'Partage', value: open.share ?? 'Privé' },
|
|
130
|
+
{
|
|
131
|
+
id: 'scan',
|
|
132
|
+
label: 'Analyse',
|
|
133
|
+
value: open.scan ? (
|
|
134
|
+
<ScanBadge
|
|
135
|
+
verdict={open.scan.verdict}
|
|
136
|
+
detail={open.scan.detail}
|
|
137
|
+
/>
|
|
138
|
+
) : (
|
|
139
|
+
'—'
|
|
140
|
+
),
|
|
141
|
+
},
|
|
142
|
+
]}
|
|
143
|
+
/>
|
|
144
|
+
<TouchList
|
|
145
|
+
items={FILE_ACTIONS.map((action) => ({
|
|
146
|
+
id: action.id,
|
|
147
|
+
leading: (
|
|
148
|
+
<Glyph
|
|
149
|
+
icon={action.icon}
|
|
150
|
+
tone={
|
|
151
|
+
action.id === 'trash' ? 'status.danger' : 'text.secondary'
|
|
152
|
+
}
|
|
153
|
+
/>
|
|
154
|
+
),
|
|
155
|
+
title: action.title,
|
|
156
|
+
subtitle: action.subtitle,
|
|
157
|
+
}))}
|
|
158
|
+
onOpen={(id) => {
|
|
159
|
+
setOpenId(null);
|
|
160
|
+
log(`${id} ${open.name}`);
|
|
161
|
+
}}
|
|
162
|
+
/>
|
|
163
|
+
</SheetBody>
|
|
164
|
+
)}
|
|
165
|
+
</BottomSheet>
|
|
166
|
+
</MobileShell>
|
|
167
|
+
);
|
|
168
|
+
};
|