@cosmicdrift/kumiko-samples 0.377.0 → 0.379.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/package.json +1 -1
- package/packages/bundled-features/package.json +18 -17
- package/packages/bundled-features/src/account-security/feature.ts +2 -2
- package/packages/bundled-features/src/account-security/index.ts +8 -8
- package/packages/bundled-features/src/account-security/{constants.ts → web/constants.ts} +0 -2
- package/packages/bundled-features/src/account-security/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/admin-shell/feature.ts +10 -9
- package/packages/bundled-features/src/admin-shell/index.ts +8 -8
- package/packages/bundled-features/src/admin-shell/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/admin-shell/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/admin-shell/web/default-translations.ts +10 -0
- package/packages/bundled-features/src/admin-shell/web/i18n.ts +51 -9
- package/packages/bundled-features/src/admin-shell/web/index.ts +0 -1
- package/packages/bundled-features/src/audit/changes.json +7 -0
- package/packages/bundled-features/src/audit/feature.ts +72 -64
- package/packages/bundled-features/src/audit/handlers/audit-events.ts +153 -0
- package/packages/bundled-features/src/audit/handlers/audit-system-db.ts +13 -0
- package/packages/bundled-features/src/audit/handlers/details-all-tenants.query.ts +26 -0
- package/packages/bundled-features/src/audit/handlers/details.query.ts +11 -39
- package/packages/bundled-features/src/audit/handlers/list-all-tenants.query.ts +47 -0
- package/packages/bundled-features/src/audit/handlers/list.query.ts +16 -123
- package/packages/bundled-features/src/audit/handlers/resolve-audit-tenant.ts +21 -7
- package/packages/bundled-features/src/audit/index.ts +1 -1
- package/packages/bundled-features/src/audit/run-escape-hatch-retention.ts +4 -4
- package/packages/bundled-features/src/audit/screens.ts +82 -0
- package/packages/bundled-features/src/audit/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/audit/{constants.ts → web/constants.ts} +11 -1
- package/packages/bundled-features/src/audit/web/default-translations.ts +7 -0
- package/packages/bundled-features/src/audit/web/i18n.ts +33 -7
- package/packages/bundled-features/src/audit/web/index.ts +0 -2
- package/packages/bundled-features/src/auth-email-password/bootstrap.ts +6 -6
- package/packages/bundled-features/src/auth-email-password/changes.json +6 -0
- package/packages/bundled-features/src/auth-email-password/errors.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/feature.ts +2 -2
- package/packages/bundled-features/src/auth-email-password/handlers/confirm-account-unlock.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/invite-accept-with-login.write.ts +4 -4
- package/packages/bundled-features/src/auth-email-password/handlers/invite-create.write.ts +3 -3
- package/packages/bundled-features/src/auth-email-password/handlers/invite-info.query.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/login.write.ts +38 -4
- package/packages/bundled-features/src/auth-email-password/handlers/request-account-unlock.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/request-email-verification.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/request-password-reset.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/reset-password.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/verify-email.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/index.ts +6 -1
- package/packages/bundled-features/src/auth-email-password/mail-notifications.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/signup-activation.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-client.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-form-logic.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-form-primitives.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-gate.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-redirect.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/client-actions.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/auth-email-password/web/confirm-account-unlock-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{constants.ts → web/constants.ts} +3 -6
- package/packages/bundled-features/src/auth-email-password/web/default-topbar-actions.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/forgot-password-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{i18n.ts → web/i18n.ts} +3 -4
- package/packages/bundled-features/src/auth-email-password/web/index.ts +1 -2
- package/packages/bundled-features/src/auth-email-password/web/invite-accept-screen.tsx +2 -3
- package/packages/bundled-features/src/auth-email-password/web/login-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{mail-i18n.ts → web/mail-i18n.ts} +0 -1
- package/packages/bundled-features/src/auth-email-password/web/request-account-unlock-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/reset-password-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/session-bootstrap-error.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/session.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/signup-complete-screen.tsx +2 -3
- package/packages/bundled-features/src/auth-email-password/web/signup-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/tenant-menu-items.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/tenant-switcher.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/use-shell-user.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/user-menu.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/verify-email-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-mfa/changes.json +6 -0
- package/packages/bundled-features/src/auth-mfa/errors.ts +2 -2
- package/packages/bundled-features/src/auth-mfa/handlers/enable-confirm-preauth.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/enable-start-preauth.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/enable-start.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/verify.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/index.ts +8 -8
- package/packages/bundled-features/src/auth-mfa/mfa-status-checker.ts +4 -4
- package/packages/bundled-features/src/auth-mfa/screens.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/web/client-plugin.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/auth-mfa/web/i18n.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/index.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-client.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-disable-dialog.tsx +1 -2
- package/packages/bundled-features/src/auth-mfa/web/mfa-recovery-codes-reveal.tsx +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-regenerate-recovery-dialog.tsx +1 -2
- package/packages/bundled-features/src/auth-mfa/web/mfa-setup-preauth-screen.tsx +21 -23
- package/packages/bundled-features/src/auth-mfa/web/mfa-verify-screen.tsx +0 -1
- package/packages/bundled-features/src/billing-foundation/changes.json +18 -0
- package/packages/bundled-features/src/billing-foundation/checkout-core.ts +3 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/consent-text.ts +2 -2
- package/packages/bundled-features/src/billing-foundation/consumer-protection/issue-confirmation.ts +11 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/mail-notifications.ts +11 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/register-consent.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/register-termination.ts +12 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/stored-user-email.ts +12 -0
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-mail.ts +6 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-notify.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-pages.ts +167 -28
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-record.ts +102 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-request.ts +43 -12
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-revoke.ts +202 -0
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-texts.ts +70 -0
- package/packages/bundled-features/src/billing-foundation/events.ts +20 -2
- package/packages/bundled-features/src/billing-foundation/feature.ts +5 -5
- package/packages/bundled-features/src/billing-foundation/handlers/process-event.write.ts +82 -9
- package/packages/bundled-features/src/billing-foundation/handlers/switch-plan.write.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/handlers/sync-subscription.write.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/index.ts +27 -27
- package/packages/bundled-features/src/billing-foundation/plan-catalog.ts +7 -7
- package/packages/bundled-features/src/billing-foundation/screens.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/subscription-tier-sync.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/types.ts +17 -3
- package/packages/bundled-features/src/billing-foundation/validate-options.ts +3 -3
- package/packages/bundled-features/src/billing-foundation/web/billing-contact-plan.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/billing-plans-panel.tsx +5 -7
- package/packages/bundled-features/src/billing-foundation/web/cancel-contract-dialog.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/checkout-consent-dialog.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/billing-foundation/{constants.ts → web/constants.ts} +37 -31
- package/packages/bundled-features/src/billing-foundation/{consumer-protection → web/consumer-protection}/consent-locale.ts +0 -1
- package/packages/bundled-features/src/billing-foundation/{contact-card.ts → web/contact-card.ts} +0 -2
- package/packages/bundled-features/src/billing-foundation/web/index.ts +14 -15
- package/packages/bundled-features/src/billing-foundation/web/localized-params.ts +0 -2
- package/packages/bundled-features/src/billing-foundation/webhook-handler.ts +5 -2
- package/packages/bundled-features/src/cap-counter/changes.json +12 -0
- package/packages/bundled-features/src/cap-counter/stock-cap-guard.ts +9 -0
- package/packages/bundled-features/src/cap-overview/feature.ts +1 -1
- package/packages/bundled-features/src/cap-overview/handlers/caps-usage.query.ts +1 -1
- package/packages/bundled-features/src/cap-overview/handlers/tenant-caps-list.query.ts +2 -2
- package/packages/bundled-features/src/cap-overview/index.ts +9 -9
- package/packages/bundled-features/src/cap-overview/screens.ts +2 -2
- package/packages/bundled-features/src/cap-overview/web/cap-cards-panel.tsx +1 -2
- package/packages/bundled-features/src/cap-overview/web/cap-usage-bar.tsx +1 -2
- package/packages/bundled-features/src/cap-overview/web/cap-usage-cell.tsx +0 -2
- package/packages/bundled-features/src/cap-overview/web/client-plugin.tsx +3 -4
- package/packages/bundled-features/src/cap-overview/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/cap-overview/web/index.ts +0 -1
- package/packages/bundled-features/src/cap-overview/{usage-math.ts → web/usage-math.ts} +1 -2
- package/packages/bundled-features/src/compliance-profiles/feature.ts +5 -5
- package/packages/bundled-features/src/compliance-profiles/index.ts +6 -6
- package/packages/bundled-features/src/compliance-profiles/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/compliance-profiles/web/compliance-profile-catalog.tsx +1 -2
- package/packages/bundled-features/src/compliance-profiles/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/compliance-profiles/web/i18n.ts +0 -1
- package/packages/bundled-features/src/compliance-profiles/web/index.ts +0 -1
- package/packages/bundled-features/src/config/index.ts +6 -6
- package/packages/bundled-features/src/config/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/config/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/config/web/i18n.ts +1 -1
- package/packages/bundled-features/src/config/web/index.ts +1 -3
- package/packages/bundled-features/src/config/write-helpers.ts +1 -1
- package/packages/bundled-features/src/custom-fields/feature.ts +8 -8
- package/packages/bundled-features/src/custom-fields/handlers/clear-custom-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/define-tenant-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/delete-system-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/delete-tenant-field.write.ts +4 -4
- package/packages/bundled-features/src/custom-fields/handlers/set-custom-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/update-tenant-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/index.ts +8 -8
- package/packages/bundled-features/src/custom-fields/lib/value-schema.ts +1 -1
- package/packages/bundled-features/src/custom-fields/schemas.ts +1 -1
- package/packages/bundled-features/src/custom-fields/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/custom-fields/{constants.ts → web/constants.ts} +18 -19
- package/packages/bundled-features/src/custom-fields/web/custom-fields-form-section.tsx +1 -2
- package/packages/bundled-features/src/custom-fields/web/i18n.ts +0 -1
- package/packages/bundled-features/src/custom-fields/web/index.ts +2 -3
- package/packages/bundled-features/src/custom-fields/wire-for-entity.ts +1 -2
- package/packages/bundled-features/src/delivery/address-opt-out.ts +1 -1
- package/packages/bundled-features/src/delivery/attempt-log-retention.ts +24 -8
- package/packages/bundled-features/src/delivery/changes.json +6 -0
- package/packages/bundled-features/src/delivery/constants.ts +2 -2
- package/packages/bundled-features/src/delivery/i18n.ts +1 -1
- package/packages/bundled-features/src/delivery/unsubscribe-page.ts +1 -1
- package/packages/bundled-features/src/delivery/web/client-plugin.tsx +6 -7
- package/packages/bundled-features/src/delivery/web/delivery-channel-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-error-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-status-cell.tsx +1 -2
- package/packages/bundled-features/src/delivery/web/delivery-time-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-type-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/index.ts +0 -1
- package/packages/bundled-features/src/delivery/{public-names.ts → web/public-names.ts} +0 -1
- package/packages/bundled-features/src/document-ingest-foundation/changes.json +6 -0
- package/packages/bundled-features/src/document-ingest-foundation/events.ts +4 -0
- package/packages/bundled-features/src/document-ingest-foundation/executor.ts +2 -1
- package/packages/bundled-features/src/document-ingest-foundation/feature.ts +18 -4
- package/packages/bundled-features/src/document-ingest-foundation/index.ts +1 -0
- package/packages/bundled-features/src/feature-toggles/feature.ts +7 -7
- package/packages/bundled-features/src/feature-toggles/handlers/list.query.ts +1 -1
- package/packages/bundled-features/src/feature-toggles/handlers/registered.query.ts +1 -1
- package/packages/bundled-features/src/feature-toggles/handlers/set.write.ts +3 -3
- package/packages/bundled-features/src/feature-toggles/index.ts +6 -6
- package/packages/bundled-features/src/feature-toggles/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/feature-toggles/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/feature-toggles/web/i18n.ts +0 -1
- package/packages/bundled-features/src/feature-toggles/web/index.ts +0 -1
- package/packages/bundled-features/src/files/changes.json +7 -0
- package/packages/bundled-features/src/folders/feature.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/clear-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/delete-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/set-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/index.ts +8 -8
- package/packages/bundled-features/src/folders/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/folders/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/folders/web/folder-manager.tsx +1 -2
- package/packages/bundled-features/src/folders/web/folder-section.tsx +1 -2
- package/packages/bundled-features/src/folders/web/i18n.ts +0 -1
- package/packages/bundled-features/src/folders/web/index.ts +1 -2
- package/packages/bundled-features/src/folders/web/tree.ts +0 -1
- package/packages/bundled-features/src/form-draft/changes.json +7 -0
- package/packages/bundled-features/src/form-draft/db/queries/cleanup.ts +25 -11
- package/packages/bundled-features/src/form-draft/decrypt-draft.ts +24 -0
- package/packages/bundled-features/src/form-draft/entity.ts +6 -9
- package/packages/bundled-features/src/form-draft/feature.ts +1 -1
- package/packages/bundled-features/src/form-draft/handlers/cleanup.job.ts +26 -5
- package/packages/bundled-features/src/form-draft/handlers/discard.write.ts +1 -1
- package/packages/bundled-features/src/form-draft/handlers/get.query.ts +6 -7
- package/packages/bundled-features/src/form-draft/handlers/list.query.ts +13 -7
- package/packages/bundled-features/src/form-draft/handlers/save.write.ts +5 -5
- package/packages/bundled-features/src/form-draft/index.ts +8 -8
- package/packages/bundled-features/src/form-draft/lookup.ts +10 -4
- package/packages/bundled-features/src/form-draft/schemas.ts +1 -1
- package/packages/bundled-features/src/form-draft/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/form-draft-user-data/hooks.ts +2 -2
- package/packages/bundled-features/src/inbound-mail-foundation/changes.json +6 -0
- package/packages/bundled-features/src/inbound-mail-foundation/handlers/list-accounts.query.ts +11 -4
- package/packages/bundled-features/src/inbound-mail-foundation/retention-sweep.ts +10 -10
- package/packages/bundled-features/src/jobs/feature.ts +7 -7
- package/packages/bundled-features/src/jobs/handlers/retry.write.ts +1 -1
- package/packages/bundled-features/src/jobs/handlers/trigger.write.ts +1 -1
- package/packages/bundled-features/src/jobs/index.ts +1 -1
- package/packages/bundled-features/src/jobs/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/jobs/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/jobs/web/default-translations.ts +7 -0
- package/packages/bundled-features/src/jobs/web/i18n.ts +53 -7
- package/packages/bundled-features/src/jobs/web/index.ts +0 -1
- package/packages/bundled-features/src/ledger/changes.json +7 -0
- package/packages/bundled-features/src/ledger/entity.ts +1 -1
- package/packages/bundled-features/src/ledger/feature.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/confirm-schedule-period.write.ts +2 -10
- package/packages/bundled-features/src/ledger/handlers/create-transaction.write.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/reports.query.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/reverse-transaction.write.ts +1 -1
- package/packages/bundled-features/src/ledger/index.ts +13 -13
- package/packages/bundled-features/src/ledger/recurring.ts +1 -1
- package/packages/bundled-features/src/ledger/reports.ts +1 -1
- package/packages/bundled-features/src/ledger/schemas.ts +1 -1
- package/packages/bundled-features/src/ledger/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/ledger/web/index.ts +11 -12
- package/packages/bundled-features/src/legal-pages/README.md +1 -1
- package/packages/bundled-features/src/legal-pages/feature.ts +5 -5
- package/packages/bundled-features/src/legal-pages/index.ts +11 -11
- package/packages/bundled-features/src/legal-pages/lib/boot-check.ts +1 -1
- package/packages/bundled-features/src/legal-pages/lib/validate-routes.ts +1 -1
- package/packages/bundled-features/src/legal-pages/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/legal-pages/{constants.ts → web/constants.ts} +6 -8
- package/packages/bundled-features/src/legal-pages/web/index.ts +0 -1
- package/packages/bundled-features/src/mail-foundation/changes.json +6 -0
- package/packages/bundled-features/src/mail-foundation/i18n.ts +3 -2
- package/packages/bundled-features/src/mail-transport-smtp/i18n.ts +1 -1
- package/packages/bundled-features/src/managed-pages/feature.ts +1 -1
- package/packages/bundled-features/src/managed-pages/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/managed-pages/web/default-translations.ts +17 -0
- package/packages/bundled-features/src/managed-pages/web/i18n.ts +59 -16
- package/packages/bundled-features/src/managed-pages/web/index.ts +1 -2
- package/packages/bundled-features/src/metrics/compute.ts +1 -1
- package/packages/bundled-features/src/metrics/feature.ts +6 -6
- package/packages/bundled-features/src/metrics/index.ts +8 -8
- package/packages/bundled-features/src/metrics/types.ts +1 -1
- package/packages/bundled-features/src/metrics/validate.ts +1 -1
- package/packages/bundled-features/src/metrics/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/metrics/window.ts +1 -1
- package/packages/bundled-features/src/notes-history/feature.ts +1 -1
- package/packages/bundled-features/src/notes-history/handlers/add-note.write.ts +1 -1
- package/packages/bundled-features/src/notes-history/index.ts +8 -8
- package/packages/bundled-features/src/notes-history/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/notes-history/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/notes-history/web/i18n.ts +0 -1
- package/packages/bundled-features/src/notes-history/web/index.ts +2 -3
- package/packages/bundled-features/src/notes-history/web/notes-section.tsx +2 -3
- package/packages/bundled-features/src/personal-access-tokens/feature.ts +12 -10
- package/packages/bundled-features/src/personal-access-tokens/handlers/available-scopes.query.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/handlers/create.write.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/handlers/revoke.write.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/hash.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/i18n.ts +2 -2
- package/packages/bundled-features/src/personal-access-tokens/index.ts +5 -5
- package/packages/bundled-features/src/personal-access-tokens/resolver.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/schema/api-token.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/screens.ts +2 -2
- package/packages/bundled-features/src/personal-access-tokens/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/personal-access-tokens/{scopes.ts → web/scopes.ts} +0 -1
- package/packages/bundled-features/src/presets/changes.json +7 -0
- package/packages/bundled-features/src/presets/index.ts +0 -1
- package/packages/bundled-features/src/presets/security-baseline.ts +1 -1
- package/packages/bundled-features/src/renderer-foundation/types.ts +1 -1
- package/packages/bundled-features/src/secrets/feature.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/delete.write.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/list.query.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/set.write.ts +1 -1
- package/packages/bundled-features/src/secrets/i18n.ts +1 -1
- package/packages/bundled-features/src/secrets/index.ts +8 -8
- package/packages/bundled-features/src/secrets/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/secrets/write-gate.ts +1 -1
- package/packages/bundled-features/src/sessions/feature.ts +7 -4
- package/packages/bundled-features/src/sessions/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/shared/index.ts +6 -1
- package/packages/bundled-features/src/shared/purge-files-reaching-subject.ts +10 -2
- package/packages/bundled-features/src/shared/web/translate-or-raw.ts +0 -1
- package/packages/bundled-features/src/subscription-stripe/feature.ts +2 -0
- package/packages/bundled-features/src/subscription-stripe/plugin-methods.ts +19 -0
- package/packages/bundled-features/src/subscription-stripe/verify-webhook.ts +1 -0
- package/packages/bundled-features/src/tags/changes.json +6 -0
- package/packages/bundled-features/src/tags/feature.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/assign-tag.write.ts +11 -7
- package/packages/bundled-features/src/tags/handlers/create-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/delete-tag.write.ts +4 -1
- package/packages/bundled-features/src/tags/handlers/remove-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/update-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/index.ts +12 -12
- package/packages/bundled-features/src/tags/screens.ts +1 -1
- package/packages/bundled-features/src/tags/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/tags/{constants.ts → web/constants.ts} +4 -1
- package/packages/bundled-features/src/tags/web/entity-tags.tsx +1 -2
- package/packages/bundled-features/src/tags/web/i18n.ts +2 -2
- package/packages/bundled-features/src/tags/web/index.ts +2 -3
- package/packages/bundled-features/src/tags/web/tag-chip.tsx +0 -1
- package/packages/bundled-features/src/tags/web/tag-filter.tsx +1 -2
- package/packages/bundled-features/src/tags/web/tag-manager.tsx +5 -4
- package/packages/bundled-features/src/tags/web/tag-picker.tsx +0 -1
- package/packages/bundled-features/src/tags/web/tag-section.tsx +1 -2
- package/packages/bundled-features/src/tags/web/tags-cell.tsx +1 -2
- package/packages/bundled-features/src/template-resolver/README.md +1 -1
- package/packages/bundled-features/src/template-resolver/api.ts +75 -28
- package/packages/bundled-features/src/template-resolver/changes.json +63 -0
- package/packages/bundled-features/src/template-resolver/compile-document-body.ts +62 -4
- package/packages/bundled-features/src/template-resolver/compile-steps-block.ts +2 -2
- package/packages/bundled-features/src/template-resolver/document-ops.ts +5 -5
- package/packages/bundled-features/src/template-resolver/document-sanitizer.ts +39 -4
- package/packages/bundled-features/src/template-resolver/feature.ts +88 -38
- package/packages/bundled-features/src/template-resolver/handlers/by-slug.query.ts +6 -1
- package/packages/bundled-features/src/template-resolver/handlers/by-tenant.query.ts +6 -2
- package/packages/bundled-features/src/template-resolver/handlers/collection-item.query.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/collection-list.query.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/collection-set.write.ts +20 -7
- package/packages/bundled-features/src/template-resolver/handlers/collection-shared.ts +0 -6
- package/packages/bundled-features/src/template-resolver/handlers/copy-locale.write.ts +69 -60
- package/packages/bundled-features/src/template-resolver/handlers/diff-to-system.query.ts +7 -1
- package/packages/bundled-features/src/template-resolver/handlers/discard-draft.write.ts +37 -14
- package/packages/bundled-features/src/template-resolver/handlers/document-base.ts +8 -2
- package/packages/bundled-features/src/template-resolver/handlers/document-blocks.query.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/export-bundle.query.ts +5 -2
- package/packages/bundled-features/src/template-resolver/handlers/find-by-id.query.ts +4 -2
- package/packages/bundled-features/src/template-resolver/handlers/import-bundle.write.ts +37 -28
- package/packages/bundled-features/src/template-resolver/handlers/layout-source.query.ts +10 -5
- package/packages/bundled-features/src/template-resolver/handlers/list.query.ts +5 -2
- package/packages/bundled-features/src/template-resolver/handlers/overview.query.ts +132 -70
- package/packages/bundled-features/src/template-resolver/handlers/patch-draft.write.ts +106 -97
- package/packages/bundled-features/src/template-resolver/handlers/reset-to-system.write.ts +62 -49
- package/packages/bundled-features/src/template-resolver/handlers/resource-link-pdf.write.ts +44 -29
- package/packages/bundled-features/src/template-resolver/handlers/resource-remove.write.ts +52 -36
- package/packages/bundled-features/src/template-resolver/handlers/resource-shared.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/resource-upload.write.ts +127 -107
- package/packages/bundled-features/src/template-resolver/handlers/send-test-shared.ts +38 -0
- package/packages/bundled-features/src/template-resolver/handlers/send-test-status.query.ts +31 -0
- package/packages/bundled-features/src/template-resolver/handlers/send-test.write.ts +106 -112
- package/packages/bundled-features/src/template-resolver/handlers/set.write.ts +111 -104
- package/packages/bundled-features/src/template-resolver/handlers/shared.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/template-gates.ts +6 -6
- package/packages/bundled-features/src/template-resolver/handlers/template-write.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/toggle-status.write.ts +56 -28
- package/packages/bundled-features/src/template-resolver/handlers/upsert-tenant.write.ts +38 -29
- package/packages/bundled-features/src/template-resolver/handlers/usage.query.ts +8 -2
- package/packages/bundled-features/src/template-resolver/handlers/validate.query.ts +4 -2
- package/packages/bundled-features/src/template-resolver/i18n.ts +25 -0
- package/packages/bundled-features/src/template-resolver/index.ts +68 -60
- package/packages/bundled-features/src/template-resolver/layout-appearance.ts +1 -1
- package/packages/bundled-features/src/template-resolver/layout-regions.ts +1 -1
- package/packages/bundled-features/src/template-resolver/seeding.ts +16 -7
- package/packages/bundled-features/src/template-resolver/store-template-resource.ts +2 -2
- package/packages/bundled-features/src/template-resolver/table.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-bundle.ts +2 -2
- package/packages/bundled-features/src/template-resolver/template-delivery-policy.ts +82 -0
- package/packages/bundled-features/src/template-resolver/template-draft.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-edit-policy.ts +91 -0
- package/packages/bundled-features/src/template-resolver/template-meta.ts +2 -2
- package/packages/bundled-features/src/template-resolver/template-preview.ts +22 -12
- package/packages/bundled-features/src/template-resolver/template-usage.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-validation.ts +33 -12
- package/packages/bundled-features/src/template-resolver/testing.ts +2 -2
- package/packages/bundled-features/src/template-resolver/user-content-table.ts +1 -1
- package/packages/bundled-features/src/template-resolver/web/client-plugin.tsx +4 -5
- package/packages/bundled-features/src/template-resolver/{constants.ts → web/constants.ts} +10 -10
- package/packages/bundled-features/src/template-resolver/{document-blocks.ts → web/document-blocks.ts} +3 -2
- package/packages/bundled-features/src/template-resolver/web/document-editor-extensions.ts +31 -3
- package/packages/bundled-features/src/template-resolver/web/document-editor.tsx +0 -1
- package/packages/bundled-features/src/template-resolver/web/document-images.ts +28 -0
- package/packages/bundled-features/src/template-resolver/{document-schema.ts → web/document-schema.ts} +5 -1
- package/packages/bundled-features/src/template-resolver/{document-steps.ts → web/document-steps.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/document-tiptap-editor.tsx +48 -11
- package/packages/bundled-features/src/template-resolver/web/document-toolbar-blocks.ts +4 -3
- package/packages/bundled-features/src/template-resolver/web/editor-handle.ts +1 -2
- package/packages/bundled-features/src/template-resolver/web/i18n.ts +8 -1
- package/packages/bundled-features/src/template-resolver/web/index.ts +13 -14
- package/packages/bundled-features/src/template-resolver/{mail-constants.ts → web/mail-constants.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{pdf-constants.ts → web/pdf-constants.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/placeholder-line-editor-lazy.tsx +0 -1
- package/packages/bundled-features/src/template-resolver/web/placeholder-line-editor.tsx +5 -4
- package/packages/bundled-features/src/template-resolver/{placeholder-text.ts → web/placeholder-text.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{qualified-names.ts → web/qualified-names.ts} +2 -1
- package/packages/bundled-features/src/template-resolver/web/use-stable-by-key.ts +0 -1
- package/packages/bundled-features/src/tenant/handlers/add-member.write.ts +1 -1
- package/packages/bundled-features/src/tenant/index.ts +7 -7
- package/packages/bundled-features/src/tenant/invitation-table.ts +1 -1
- package/packages/bundled-features/src/tenant/invited-membership.ts +1 -1
- package/packages/bundled-features/src/tenant/last-tenant-admin.ts +1 -1
- package/packages/bundled-features/src/tenant/member-role-options.ts +1 -1
- package/packages/bundled-features/src/tenant/screens.ts +2 -2
- package/packages/bundled-features/src/tenant/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/tenant/{constants.ts → web/constants.ts} +3 -6
- package/packages/bundled-features/src/tenant/web/index.ts +0 -1
- package/packages/bundled-features/src/tenant/web/member-roles-cell.tsx +0 -1
- package/packages/bundled-features/src/tenant/web/member-status-cell.tsx +0 -1
- package/packages/bundled-features/src/tenant-lifecycle/stages.ts +2 -2
- package/packages/bundled-features/src/tier-engine/entity.ts +1 -1
- package/packages/bundled-features/src/tier-engine/feature.ts +7 -7
- package/packages/bundled-features/src/tier-engine/handlers/set-tenant-tier.write.ts +1 -1
- package/packages/bundled-features/src/tier-engine/index.ts +8 -8
- package/packages/bundled-features/src/tier-engine/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/tier-engine/{constants.ts → web/constants.ts} +2 -3
- package/packages/bundled-features/src/tier-engine/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/tier-engine/web/index.ts +0 -1
- package/packages/bundled-features/src/user/handlers/create.write.ts +1 -1
- package/packages/bundled-features/src/user/handlers/update-roles.ts +1 -1
- package/packages/bundled-features/src/user/handlers/update.write.ts +1 -1
- package/packages/bundled-features/src/user/index.ts +1 -1
- package/packages/bundled-features/src/user/invited-global-roles.ts +1 -1
- package/packages/bundled-features/src/user/schema/user.ts +1 -1
- package/packages/bundled-features/src/user/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/user-data-rights/changes.json +14 -0
- package/packages/bundled-features/src/user-data-rights/env.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/feature.ts +9 -9
- package/packages/bundled-features/src/user-data-rights/index.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/lib/resolve-tenant-model.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/mail-notifications.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/user-data-rights/web/confirm-deletion-screen.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights/{constants.ts → web/constants.ts} +11 -12
- package/packages/bundled-features/src/user-data-rights/web/default-translations.ts +91 -0
- package/packages/bundled-features/src/user-data-rights/web/i18n.ts +41 -91
- package/packages/bundled-features/src/user-data-rights/web/index.ts +1 -2
- package/packages/bundled-features/src/user-data-rights/web/privacy-center-screen.tsx +1 -2
- package/packages/bundled-features/src/user-data-rights/web/public-deletion-gate.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights/web/request-deletion-screen.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights-defaults/hooks/file-ref.userdata-hook.ts +10 -1
- package/packages/bundled-features/src/user-profile/feature.ts +2 -2
- package/packages/bundled-features/src/user-profile/handlers/change-email.write.ts +1 -1
- package/packages/bundled-features/src/user-profile/index.ts +3 -2
- package/packages/bundled-features/src/user-profile/web/client-plugin.ts +2 -3
- package/packages/bundled-features/src/user-profile/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/user-profile/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/user-profile/web/profile-screen.tsx +2 -3
- package/packages/bundled-features/src/waitlist/changes.json +6 -0
- package/packages/bundled-features/src/waitlist/entity.ts +1 -1
- package/packages/bundled-features/src/waitlist/feature.ts +5 -5
- package/packages/bundled-features/src/waitlist/handlers/export-purge.write.ts +3 -3
- package/packages/bundled-features/src/waitlist/handlers/invite.write.ts +5 -1
- package/packages/bundled-features/src/waitlist/handlers/reject.write.ts +1 -1
- package/packages/bundled-features/src/waitlist/handlers/submit.write.ts +3 -3
- package/packages/bundled-features/src/waitlist/import.ts +1 -1
- package/packages/bundled-features/src/waitlist/index.ts +11 -11
- package/packages/bundled-features/src/waitlist/legacy-migrate.ts +1 -1
- package/packages/bundled-features/src/waitlist/link-on-signup.ts +1 -1
- package/packages/bundled-features/src/waitlist/mail.ts +7 -6
- package/packages/bundled-features/src/waitlist/payloads.ts +1 -1
- package/packages/bundled-features/src/waitlist/screens.ts +1 -1
- package/packages/bundled-features/src/waitlist/{constants.ts → web/constants.ts} +0 -1
- package/samples/apps/styleguide/src/features/content/web.tsx +0 -1
- package/samples/apps/ui-walkthrough/src/app/client.tsx +2 -0
- package/samples/apps/ui-walkthrough/src/app/help-action.tsx +37 -0
- package/samples/apps/ui-walkthrough/src/app/seed-rental.ts +17 -1
- package/samples/apps/ui-walkthrough/src/app/seed-templates.ts +13 -0
- package/samples/apps/ui-walkthrough/src/app/server.ts +2 -1
- package/samples/apps/ui-walkthrough/src/app/shell.tsx +6 -0
- package/samples/apps/ui-walkthrough/src/app/template-seed-data.ts +20 -0
- package/samples/apps/ui-walkthrough/src/features/billing/feature.ts +35 -7
- package/samples/apps/ui-walkthrough/src/features/billing/i18n.ts +6 -0
- package/samples/apps/ui-walkthrough/src/features/rental/entities.ts +27 -0
- package/samples/apps/ui-walkthrough/src/features/rental/feature.ts +120 -2
- package/samples/apps/ui-walkthrough/src/features/rental/i18n.ts +94 -0
- package/samples/apps/ui-walkthrough/src/features/rental/invoice-receive.ts +19 -0
- package/samples/apps/ui-walkthrough/src/features/rental/lease-support.ts +32 -1
- package/samples/apps/ui-walkthrough/src/features/rental/qualified-names.ts +5 -0
- package/samples/apps/ui-walkthrough/src/features/rental/receipts-upload.ts +70 -0
- package/samples/apps/ui-walkthrough/src/features/rental/screens.ts +156 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/feature.ts +103 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/i18n.ts +36 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/index.ts +2 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/seed.ts +21 -0
- package/samples/apps/ui-walkthrough/src/features/tasks/i18n.ts +8 -0
- package/samples/apps/ui-walkthrough/src/run-config.ts +43 -3
- package/samples/apps/use-all-bundled/e2e-billing-gallery/server.ts +1 -1
- package/samples/apps/use-all-bundled/feature-manifest.json +5 -5
- package/samples/apps/use-all-bundled/scripts/check-coverage.ts +1 -1
- package/samples/apps/use-all-bundled/src/app/dev-app-options.ts +3 -1
- package/samples/recipes/compose-stacks/README.md +1 -2
- package/samples/recipes/delivery-notifications/README.md +1 -1
- package/samples/recipes/embedded/README.md +8 -0
- package/samples/recipes/embedded/src/feature.ts +8 -0
- package/samples/recipes/embedded/src/handlers/invoice-receive.write.ts +37 -0
- package/samples/recipes/embedded/src/screens/invoice-receive.screen.ts +56 -0
- package/samples/recipes/legal-pages/README.md +2 -2
- package/samples/recipes/legal-pages/src/feature.ts +1 -1
- package/samples/recipes/reference-data/src/feature.ts +3 -7
- package/packages/bundled-features/src/admin-shell/i18n.ts +0 -54
- package/packages/bundled-features/src/audit/i18n.ts +0 -25
- package/packages/bundled-features/src/auth-mfa/web/qrcode-browser.d.ts +0 -11
- package/packages/bundled-features/src/jobs/i18n.ts +0 -55
- package/packages/bundled-features/src/managed-pages/i18n.ts +0 -63
- package/packages/bundled-features/src/presets/dsgvo-self-service.ts +0 -35
- package/packages/bundled-features/src/user-data-rights/i18n.ts +0 -44
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { canonicalizeLocaleTag, isValidLocaleTag } from "@cosmicdrift/kumiko-framework/i18n";
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
import { WAITLIST_FIELD_LIMITS } from "./constants.ts";
|
|
3
|
+
import { WAITLIST_FIELD_LIMITS } from "./web/constants.ts";
|
|
4
4
|
|
|
5
5
|
// Submitted text lands in a mail subject; CR/LF there would allow header injection.
|
|
6
6
|
const NO_CONTROL_CHARS = /^\P{Cc}*$/u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type EntityListScreenDefinition, i18nKey } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { WAITLIST_STATUS, WaitlistHandlers } from "./constants.ts";
|
|
3
2
|
import { adminAccess } from "./lib.ts";
|
|
3
|
+
import { WAITLIST_STATUS, WaitlistHandlers } from "./web/constants.ts";
|
|
4
4
|
|
|
5
5
|
export const waitlistListScreen: EntityListScreenDefinition = {
|
|
6
6
|
id: "waitlist-list",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// übergibt Shell + clientFeatures an createKumikoApp.
|
|
3
3
|
|
|
4
4
|
import { emailPasswordClient } from "@cosmicdrift/kumiko-bundled-features/auth-email-password/web";
|
|
5
|
+
import { billingFoundationClient } from "@cosmicdrift/kumiko-bundled-features/billing-foundation/web";
|
|
5
6
|
import { textBlocksClient } from "@cosmicdrift/kumiko-bundled-features/template-resolver/web";
|
|
6
7
|
import { documentDesignerClient } from "@cosmicdrift/kumiko-document-designer/web";
|
|
7
8
|
import { localeDeClient } from "@cosmicdrift/kumiko-locale-de/web";
|
|
@@ -21,6 +22,7 @@ createKumikoApp({
|
|
|
21
22
|
rentalClient,
|
|
22
23
|
vehiclesClient,
|
|
23
24
|
billingClient,
|
|
25
|
+
billingFoundationClient(),
|
|
24
26
|
textBlocksClient(),
|
|
25
27
|
documentDesignerClient(),
|
|
26
28
|
],
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useTranslation } from "@cosmicdrift/kumiko-renderer";
|
|
2
|
+
import { Drawer } from "@cosmicdrift/kumiko-renderer/web";
|
|
3
|
+
import { CircleHelp } from "lucide-react";
|
|
4
|
+
import { type ReactNode, useState } from "react";
|
|
5
|
+
|
|
6
|
+
// A non-modal side panel: the screen behind stays usable and narrows instead of being covered.
|
|
7
|
+
export function HelpAction(): ReactNode {
|
|
8
|
+
const t = useTranslation();
|
|
9
|
+
const [open, setOpen] = useState(false);
|
|
10
|
+
return (
|
|
11
|
+
<>
|
|
12
|
+
<button
|
|
13
|
+
type="button"
|
|
14
|
+
data-testid="help-action"
|
|
15
|
+
aria-label={t("tasks.help.label")}
|
|
16
|
+
aria-pressed={open}
|
|
17
|
+
onClick={() => setOpen((current) => !current)}
|
|
18
|
+
className="inline-flex size-9 items-center justify-center rounded-md border border-border bg-card text-foreground hover:bg-accent"
|
|
19
|
+
>
|
|
20
|
+
<CircleHelp className="h-4 w-4" aria-hidden="true" />
|
|
21
|
+
</button>
|
|
22
|
+
<Drawer
|
|
23
|
+
open={open}
|
|
24
|
+
onOpenChange={setOpen}
|
|
25
|
+
side="right"
|
|
26
|
+
modal={false}
|
|
27
|
+
belowHeader
|
|
28
|
+
width={360}
|
|
29
|
+
title={t("tasks.help.label")}
|
|
30
|
+
description={t("tasks.help.description")}
|
|
31
|
+
testId="help-drawer"
|
|
32
|
+
>
|
|
33
|
+
<p className="py-2 text-sm text-muted-foreground">{t("tasks.help.body")}</p>
|
|
34
|
+
</Drawer>
|
|
35
|
+
</>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -5,7 +5,12 @@ import type { SeedFn } from "@cosmicdrift/kumiko-dev-server";
|
|
|
5
5
|
import { createTenantDb } from "@cosmicdrift/kumiko-framework/db";
|
|
6
6
|
import { TestUsers } from "@cosmicdrift/kumiko-framework/seeding";
|
|
7
7
|
import { countRowsForTenant } from "../db/queries/row-counts";
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
leaseExecutor,
|
|
10
|
+
managementProfileExecutor,
|
|
11
|
+
partyExecutor,
|
|
12
|
+
positionExecutor,
|
|
13
|
+
} from "../features/rental/lease-support";
|
|
9
14
|
|
|
10
15
|
type BoardLease = {
|
|
11
16
|
readonly mieter: string;
|
|
@@ -269,4 +274,15 @@ export const seedRental: SeedFn = async (stack) => {
|
|
|
269
274
|
db,
|
|
270
275
|
);
|
|
271
276
|
if (!position.isSuccess) throw new Error("seed position failed");
|
|
277
|
+
|
|
278
|
+
const profile = await managementProfileExecutor.create(
|
|
279
|
+
{
|
|
280
|
+
name: "Nordlicht Immobilien GmbH",
|
|
281
|
+
anschrift: "Hafenstraße 12, 24103 Kiel",
|
|
282
|
+
zahlungsziel: 14,
|
|
283
|
+
},
|
|
284
|
+
TestUsers.admin,
|
|
285
|
+
db,
|
|
286
|
+
);
|
|
287
|
+
if (!profile.isSuccess) throw new Error("seed management profile failed");
|
|
272
288
|
};
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
SYSTEM_INVOICE_DOCUMENTS,
|
|
32
32
|
SYSTEM_INVOICE_ISSUED,
|
|
33
33
|
SYSTEM_PDF_LAYOUT,
|
|
34
|
+
SYSTEM_PROPERTY_EXPOSE,
|
|
34
35
|
SYSTEM_TENANCY_CERTIFICATE,
|
|
35
36
|
SYSTEM_TERMS_CHANGED,
|
|
36
37
|
TENANT_INVOICE_OVERRIDES,
|
|
@@ -168,6 +169,7 @@ export const seedTemplates: SeedFn = async (stack) => {
|
|
|
168
169
|
await upsertSystem(SYSTEM_INVOICE_ISSUED);
|
|
169
170
|
await upsertSystem(SYSTEM_TERMS_CHANGED);
|
|
170
171
|
for (const document of SYSTEM_INVOICE_DOCUMENTS) await upsertSystem(document);
|
|
172
|
+
await upsertSystem(SYSTEM_PROPERTY_EXPOSE);
|
|
171
173
|
const certificate = await upsertSystem(SYSTEM_TENANCY_CERTIFICATE);
|
|
172
174
|
await stack.http.writeOk(
|
|
173
175
|
TemplateResolverHandlers.archiveSystem,
|
|
@@ -210,6 +212,17 @@ export const seedTemplates: SeedFn = async (stack) => {
|
|
|
210
212
|
await upsertTenant(INVOICE_CORRECTED_DRAFT, "draft");
|
|
211
213
|
for (const reminder of PAYMENT_REMINDER_TEMPLATES) await upsertTenant(reminder, "active");
|
|
212
214
|
await upsertTenant(TENANT_UTILITY_STATEMENT, "active");
|
|
215
|
+
// The platform admin adapted the Exposé for Nordlicht, but the template is not unlocked for
|
|
216
|
+
// tenants, so the stored copy is not delivered; the SystemAdmin overview flags it.
|
|
217
|
+
await upsert(
|
|
218
|
+
TemplateResolverHandlers.upsertTenant,
|
|
219
|
+
{
|
|
220
|
+
...SYSTEM_PROPERTY_EXPOSE,
|
|
221
|
+
content: SYSTEM_PROPERTY_EXPOSE.content.replace("Exposé", "Objektexposé"),
|
|
222
|
+
},
|
|
223
|
+
platformAdmin,
|
|
224
|
+
{ status: "active" },
|
|
225
|
+
);
|
|
213
226
|
|
|
214
227
|
// Other tenants with their own invoice copy: what the SystemAdmin sees in the overrides drawer.
|
|
215
228
|
for (const override of TENANT_INVOICE_OVERRIDES) {
|
|
@@ -13,6 +13,7 @@ import { createUnsubscribeRoutes } from "@cosmicdrift/kumiko-bundled-features/de
|
|
|
13
13
|
import { runDevApp } from "@cosmicdrift/kumiko-dev-server";
|
|
14
14
|
import type { TenantId } from "@cosmicdrift/kumiko-framework/engine";
|
|
15
15
|
import { createInMemoryFileProvider } from "@cosmicdrift/kumiko-framework/files";
|
|
16
|
+
import { seedPlanTerms } from "../features/subscription-plans";
|
|
16
17
|
import { APP_FEATURES } from "../run-config";
|
|
17
18
|
import {
|
|
18
19
|
ADMIN_EMAIL,
|
|
@@ -34,7 +35,7 @@ import { seedVehicles } from "./seed-vehicles";
|
|
|
34
35
|
|
|
35
36
|
await runDevApp({
|
|
36
37
|
features: [...APP_FEATURES],
|
|
37
|
-
seeds: [seedTasks, seedRental, seedVehicles, seedTemplates],
|
|
38
|
+
seeds: [seedTasks, seedRental, seedVehicles, seedTemplates, seedPlanTerms],
|
|
38
39
|
// PORT env-var override für Playwright-e2e-Runs (config zeigt auf 4174);
|
|
39
40
|
// sonst lokal-Default 4173.
|
|
40
41
|
port: Number.parseInt(process.env["PORT"] ?? "4173", 10),
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
SidebarBrand,
|
|
15
15
|
ThemeMenuItem,
|
|
16
16
|
ThemeToggle,
|
|
17
|
+
useNav,
|
|
17
18
|
useTranslation,
|
|
18
19
|
} from "@cosmicdrift/kumiko-renderer/web";
|
|
19
20
|
import { MoonStar, Sun } from "lucide-react";
|
|
@@ -25,8 +26,10 @@ import {
|
|
|
25
26
|
NORDLICHT_TENANT_ID,
|
|
26
27
|
NORDLICHT_TENANT_NAME,
|
|
27
28
|
} from "./auth-constants";
|
|
29
|
+
import { HelpAction } from "./help-action";
|
|
28
30
|
|
|
29
31
|
const APP_NAME = "Kumiko Walkthrough";
|
|
32
|
+
const HELP_SCREEN_ID = "vehicle-edit";
|
|
30
33
|
|
|
31
34
|
const tenantName = (tenantId: string): string => {
|
|
32
35
|
if (tenantId === DEV_TENANT_ID) return "Dev Tenant";
|
|
@@ -49,6 +52,7 @@ export function AppShell({
|
|
|
49
52
|
}): ReactNode {
|
|
50
53
|
const t = useTranslation();
|
|
51
54
|
const session = useSession();
|
|
55
|
+
const nav = useNav();
|
|
52
56
|
// Without the user the shell hides role-gated navs and KumikoScreen denies role-gated screens.
|
|
53
57
|
const user = session.user !== null ? { id: session.user.id, roles: session.roles } : undefined;
|
|
54
58
|
return (
|
|
@@ -58,6 +62,8 @@ export function AppShell({
|
|
|
58
62
|
{...(user !== undefined && { user })}
|
|
59
63
|
headerActions={
|
|
60
64
|
<>
|
|
65
|
+
{/* Only here: the editor screens need the header width for their own actions. */}
|
|
66
|
+
{nav.route?.screenId === HELP_SCREEN_ID && <HelpAction />}
|
|
61
67
|
<AssistantAction />
|
|
62
68
|
<ThemeToggle />
|
|
63
69
|
</>
|
|
@@ -535,6 +535,26 @@ export const SYSTEM_TENANCY_CERTIFICATE: SeedTemplate = {
|
|
|
535
535
|
},
|
|
536
536
|
};
|
|
537
537
|
|
|
538
|
+
export const SYSTEM_PROPERTY_EXPOSE: SeedTemplate = {
|
|
539
|
+
slug: "rental:property-expose",
|
|
540
|
+
kind: "document-pdf",
|
|
541
|
+
locale: "de",
|
|
542
|
+
title: "Exposé",
|
|
543
|
+
content: [
|
|
544
|
+
`<h1>Exposé ${v("propertyAddress")}</h1>`,
|
|
545
|
+
`<p>${v("propertySummary")}</p>`,
|
|
546
|
+
"<h2>Objektfotos</h2>",
|
|
547
|
+
'<div data-images="photos"></div>',
|
|
548
|
+
].join(""),
|
|
549
|
+
meta: { layoutSlug: "default", pageFormat: "A4", fileName: "Expose.pdf" },
|
|
550
|
+
variableSchema: {
|
|
551
|
+
propertyAddress: { type: "text", required: true },
|
|
552
|
+
propertySummary: { type: "text", required: true },
|
|
553
|
+
// The app passes the FileRef ids of the property photos when it renders the PDF.
|
|
554
|
+
photos: { type: "images", label: "Objektfotos" },
|
|
555
|
+
},
|
|
556
|
+
};
|
|
557
|
+
|
|
538
558
|
// Two other tenants customise the invoice for the "Anpassungen der Mandanten" drawer: one
|
|
539
559
|
// published copy with a second save, one draft.
|
|
540
560
|
export type TenantInvoiceOverride = {
|
|
@@ -66,16 +66,44 @@ const INVOICE_ISSUED_VARIABLES = {
|
|
|
66
66
|
} as const;
|
|
67
67
|
|
|
68
68
|
const PAYMENT_REMINDER_VARIABLES = {
|
|
69
|
-
customerName: templateVariable.text({
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
customerName: templateVariable.text({
|
|
70
|
+
label: "billing:mail.variable.customerName",
|
|
71
|
+
required: true,
|
|
72
|
+
example: "Familie Yilmaz",
|
|
73
|
+
}),
|
|
74
|
+
invoiceNumber: templateVariable.text({
|
|
75
|
+
label: "billing:mail.variable.invoiceNumber",
|
|
76
|
+
required: true,
|
|
77
|
+
example: "RE-2026-0142",
|
|
78
|
+
}),
|
|
79
|
+
amount: templateVariable.money({
|
|
80
|
+
label: "billing:mail.variable.amountDue",
|
|
81
|
+
required: true,
|
|
82
|
+
example: { amount: 128450, currency: "EUR" },
|
|
83
|
+
}),
|
|
84
|
+
dueDate: templateVariable.date({
|
|
85
|
+
label: "billing:mail.variable.dueDate",
|
|
86
|
+
required: true,
|
|
87
|
+
example: "2026-10-30",
|
|
88
|
+
}),
|
|
89
|
+
invoiceUrl: templateVariable.link({
|
|
90
|
+
label: "billing:mail.variable.invoiceUrl",
|
|
91
|
+
required: true,
|
|
92
|
+
example: "https://nordlicht-immobilien.de/rechnungen/RE-2026-0142",
|
|
93
|
+
}),
|
|
74
94
|
} as const;
|
|
75
95
|
|
|
76
96
|
const TERMS_CHANGED_VARIABLES = {
|
|
77
|
-
customerName: templateVariable.text({
|
|
78
|
-
|
|
97
|
+
customerName: templateVariable.text({
|
|
98
|
+
label: "billing:mail.variable.customerName",
|
|
99
|
+
required: true,
|
|
100
|
+
example: "Familie Yilmaz",
|
|
101
|
+
}),
|
|
102
|
+
effectiveDate: templateVariable.date({
|
|
103
|
+
label: "billing:mail.variable.effectiveDate",
|
|
104
|
+
required: true,
|
|
105
|
+
example: "2026-12-01",
|
|
106
|
+
}),
|
|
79
107
|
} as const;
|
|
80
108
|
|
|
81
109
|
export const billingFeature = defineFeature("billing", (r) => {
|
|
@@ -11,6 +11,9 @@ export const billingTranslations: TranslationsByLocale = {
|
|
|
11
11
|
"billing:notify.payment-reminder.label": "Mahnlauf",
|
|
12
12
|
"billing:notify.terms-changed.label": "AGB-Änderung",
|
|
13
13
|
"billing:mail.variable.recipientName": "Empfängername",
|
|
14
|
+
"billing:mail.variable.customerName": "Kundenname",
|
|
15
|
+
"billing:mail.variable.amountDue": "Offener Betrag",
|
|
16
|
+
"billing:mail.variable.effectiveDate": "Gültig ab",
|
|
14
17
|
"billing:mail.variable.recipientEmail": "Empfänger-Adresse",
|
|
15
18
|
"billing:mail.variable.invoiceNumber": "Rechnungsnummer",
|
|
16
19
|
"billing:mail.variable.invoiceTotal": "Rechnungsbetrag",
|
|
@@ -31,6 +34,9 @@ export const billingTranslations: TranslationsByLocale = {
|
|
|
31
34
|
"billing:notify.payment-reminder.label": "Dunning run",
|
|
32
35
|
"billing:notify.terms-changed.label": "Terms update",
|
|
33
36
|
"billing:mail.variable.recipientName": "Recipient name",
|
|
37
|
+
"billing:mail.variable.customerName": "Customer name",
|
|
38
|
+
"billing:mail.variable.amountDue": "Amount due",
|
|
39
|
+
"billing:mail.variable.effectiveDate": "Effective date",
|
|
34
40
|
"billing:mail.variable.recipientEmail": "Recipient address",
|
|
35
41
|
"billing:mail.variable.invoiceNumber": "Invoice number",
|
|
36
42
|
"billing:mail.variable.invoiceTotal": "Invoice total",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDateField,
|
|
3
3
|
createEntity,
|
|
4
|
+
createFileField,
|
|
4
5
|
createMoneyField,
|
|
5
6
|
createNumberField,
|
|
6
7
|
createSelectField,
|
|
@@ -9,6 +10,9 @@ import {
|
|
|
9
10
|
|
|
10
11
|
const DEMO_DATA = { personal: false, reason: "is_business_data" } as const;
|
|
11
12
|
|
|
13
|
+
// Server-side accept lists are extensions, not MIME types.
|
|
14
|
+
export const RECEIPT_ACCEPT = ["pdf", "png", "jpg"] as const;
|
|
15
|
+
|
|
12
16
|
export const LEASE_STATUSES = ["active", "terminated"] as const;
|
|
13
17
|
|
|
14
18
|
export const leaseEntity = createEntity({
|
|
@@ -56,3 +60,26 @@ export const leasePartyEntity = createEntity({
|
|
|
56
60
|
rolle: createTextField({ ...DEMO_DATA, filterable: true }),
|
|
57
61
|
},
|
|
58
62
|
});
|
|
63
|
+
|
|
64
|
+
// A receipt keeps the uploaded file as its own record; dateiname is a copy for the success list.
|
|
65
|
+
export const receiptEntity = createEntity({
|
|
66
|
+
table: "read_ui_walkthrough_receipts",
|
|
67
|
+
fields: {
|
|
68
|
+
datei: createFileField({
|
|
69
|
+
...DEMO_DATA,
|
|
70
|
+
required: true,
|
|
71
|
+
accept: RECEIPT_ACCEPT,
|
|
72
|
+
maxSize: "10MB",
|
|
73
|
+
}),
|
|
74
|
+
dateiname: createTextField({ ...DEMO_DATA, required: true }),
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const managementProfileEntity = createEntity({
|
|
79
|
+
table: "read_ui_walkthrough_management_profiles",
|
|
80
|
+
fields: {
|
|
81
|
+
name: createTextField({ ...DEMO_DATA, required: true }),
|
|
82
|
+
anschrift: createTextField(DEMO_DATA),
|
|
83
|
+
zahlungsziel: createNumberField({ integer: true, required: true }),
|
|
84
|
+
},
|
|
85
|
+
});
|
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
import type { EventStoreExecutor } from "@cosmicdrift/kumiko-framework/db";
|
|
2
|
-
import { defineFeature, i18nKey } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
+
import { defineFeature, defineWriteHandler, i18nKey } from "@cosmicdrift/kumiko-framework/engine";
|
|
3
3
|
import { failNotFound } from "@cosmicdrift/kumiko-framework/errors";
|
|
4
|
+
import {
|
|
5
|
+
renderPdfBeforeTransaction,
|
|
6
|
+
storeRenderedPdf,
|
|
7
|
+
} from "@cosmicdrift/kumiko-renderer-puppeteer-client";
|
|
4
8
|
import { z } from "zod";
|
|
5
9
|
import { openToAllSignedIn, toKeyFirst } from "../translations";
|
|
6
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
leaseEntity,
|
|
12
|
+
leasePartyEntity,
|
|
13
|
+
leasePositionEntity,
|
|
14
|
+
managementProfileEntity,
|
|
15
|
+
receiptEntity,
|
|
16
|
+
} from "./entities";
|
|
7
17
|
import { rentalTranslations } from "./i18n";
|
|
18
|
+
import { receiveInvoicePayloadSchema } from "./invoice-receive";
|
|
8
19
|
import {
|
|
9
20
|
dayBefore,
|
|
21
|
+
fileRefIdsPayloadSchema,
|
|
10
22
|
formatGermanDate,
|
|
11
23
|
formatGermanMoney,
|
|
12
24
|
germanStatusLabel,
|
|
13
25
|
idPayloadSchema,
|
|
14
26
|
leaseExecutor,
|
|
27
|
+
managementProfileExecutor,
|
|
15
28
|
noticePeriodEnd,
|
|
16
29
|
parseLeaseRow,
|
|
17
30
|
partyExecutor,
|
|
18
31
|
positionExecutor,
|
|
19
32
|
positionListRowSchema,
|
|
20
33
|
positionRowSchema,
|
|
34
|
+
propertyExposePayloadSchema,
|
|
21
35
|
type RecordedPositionItem,
|
|
22
36
|
recordPositionsPayloadSchema,
|
|
23
37
|
rentAdjustPayloadSchema,
|
|
38
|
+
saveManagementProfilePayloadSchema,
|
|
24
39
|
} from "./lease-support";
|
|
40
|
+
import { receiptsUploadPayloadSchema, uploadReceipts } from "./receipts-upload";
|
|
25
41
|
import {
|
|
26
42
|
adjustRentScreen,
|
|
27
43
|
leaseDetailGapsScreen,
|
|
@@ -32,10 +48,14 @@ import {
|
|
|
32
48
|
leaseListScreen,
|
|
33
49
|
leaseListShortScreen,
|
|
34
50
|
leaseSuccessionListScreen,
|
|
51
|
+
leaseUnterlagenScreen,
|
|
52
|
+
managementProfileScreen,
|
|
35
53
|
partyEditScreen,
|
|
36
54
|
positionEditScreen,
|
|
55
|
+
receiveInvoiceScreen,
|
|
37
56
|
recordPositionsScreen,
|
|
38
57
|
rentalDashboardScreen,
|
|
58
|
+
uploadReceiptsScreen,
|
|
39
59
|
} from "./screens";
|
|
40
60
|
|
|
41
61
|
export { leaseEntity, leasePartyEntity, leasePositionEntity };
|
|
@@ -95,6 +115,17 @@ export const rentalFeature = defineFeature("rental", (r) => {
|
|
|
95
115
|
});
|
|
96
116
|
r.crud("leaseParty", leasePartyEntity, { write: open, read: open });
|
|
97
117
|
|
|
118
|
+
r.queryHandler({
|
|
119
|
+
name: "lease:unterlagen",
|
|
120
|
+
schema: fileRefIdsPayloadSchema,
|
|
121
|
+
handler: async (query) => ({
|
|
122
|
+
id: "unterlagen",
|
|
123
|
+
titel: "Unterlagen",
|
|
124
|
+
unterlagen: query.payload.id,
|
|
125
|
+
}),
|
|
126
|
+
...open,
|
|
127
|
+
});
|
|
128
|
+
|
|
98
129
|
r.queryHandler({
|
|
99
130
|
name: "lease:akte",
|
|
100
131
|
schema: idPayloadSchema,
|
|
@@ -217,6 +248,68 @@ export const rentalFeature = defineFeature("rental", (r) => {
|
|
|
217
248
|
...open,
|
|
218
249
|
});
|
|
219
250
|
|
|
251
|
+
r.entity({ name: "receipt", ...receiptEntity });
|
|
252
|
+
// One row per tenant: the profile screen loads it without a record id.
|
|
253
|
+
r.entity({ name: "managementProfile", ...managementProfileEntity });
|
|
254
|
+
|
|
255
|
+
r.queryHandler({
|
|
256
|
+
name: "profile:current",
|
|
257
|
+
schema: z.object({}),
|
|
258
|
+
handler: async (query, ctx) => {
|
|
259
|
+
const page = await managementProfileExecutor.list({ limit: 1 }, query.user, ctx.db);
|
|
260
|
+
return page.rows[0] ?? null;
|
|
261
|
+
},
|
|
262
|
+
...open,
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
r.writeHandler({
|
|
266
|
+
name: "profile:save",
|
|
267
|
+
schema: saveManagementProfilePayloadSchema,
|
|
268
|
+
handler: async (event, ctx) => {
|
|
269
|
+
const page = await managementProfileExecutor.list({ limit: 1 }, event.user, ctx.db);
|
|
270
|
+
const existing = page.rows[0];
|
|
271
|
+
if (existing === undefined) {
|
|
272
|
+
return managementProfileExecutor.create(event.payload, event.user, ctx.db);
|
|
273
|
+
}
|
|
274
|
+
return managementProfileExecutor.update(
|
|
275
|
+
{ id: String(existing["id"]), changes: event.payload },
|
|
276
|
+
event.user,
|
|
277
|
+
ctx.db,
|
|
278
|
+
{ skipOptimisticLock: true },
|
|
279
|
+
);
|
|
280
|
+
},
|
|
281
|
+
...open,
|
|
282
|
+
});
|
|
283
|
+
|
|
284
|
+
r.writeHandler({
|
|
285
|
+
name: "receipts-upload",
|
|
286
|
+
schema: receiptsUploadPayloadSchema,
|
|
287
|
+
handler: uploadReceipts,
|
|
288
|
+
...open,
|
|
289
|
+
});
|
|
290
|
+
|
|
291
|
+
r.writeHandler({
|
|
292
|
+
name: "invoice:receive",
|
|
293
|
+
schema: receiveInvoicePayloadSchema,
|
|
294
|
+
handler: async (event) => ({ isSuccess: true, data: event.payload }),
|
|
295
|
+
...open,
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
r.writeHandler(
|
|
299
|
+
defineWriteHandler({
|
|
300
|
+
name: "generate-property-expose",
|
|
301
|
+
schema: propertyExposePayloadSchema,
|
|
302
|
+
access: { roles: ["TenantAdmin"] },
|
|
303
|
+
beforeTransaction: async (event, ctx) =>
|
|
304
|
+
renderPdfBeforeTransaction(ctx, {
|
|
305
|
+
slug: "rental:property-expose",
|
|
306
|
+
locale: "de",
|
|
307
|
+
variables: event.payload,
|
|
308
|
+
}),
|
|
309
|
+
handler: async (event, ctx) => storeRenderedPdf(ctx, event.prepared),
|
|
310
|
+
}),
|
|
311
|
+
);
|
|
312
|
+
|
|
220
313
|
r.writeHandler({
|
|
221
314
|
name: "rent:adjust",
|
|
222
315
|
schema: rentAdjustPayloadSchema,
|
|
@@ -270,6 +363,10 @@ export const rentalFeature = defineFeature("rental", (r) => {
|
|
|
270
363
|
r.screen(rentalDashboardScreen);
|
|
271
364
|
r.screen(adjustRentScreen);
|
|
272
365
|
r.screen(recordPositionsScreen);
|
|
366
|
+
r.screen(receiveInvoiceScreen);
|
|
367
|
+
r.screen(leaseUnterlagenScreen);
|
|
368
|
+
r.screen(uploadReceiptsScreen);
|
|
369
|
+
r.screen(managementProfileScreen);
|
|
273
370
|
|
|
274
371
|
r.nav({
|
|
275
372
|
id: "contracts",
|
|
@@ -290,4 +387,25 @@ export const rentalFeature = defineFeature("rental", (r) => {
|
|
|
290
387
|
screen: "rental:screen:rental-dashboard",
|
|
291
388
|
order: 20,
|
|
292
389
|
});
|
|
390
|
+
r.nav({
|
|
391
|
+
id: "management-profile",
|
|
392
|
+
label: i18nKey("rental.nav.managementProfile"),
|
|
393
|
+
parent: "rental:nav:contracts",
|
|
394
|
+
screen: "rental:screen:management-profile",
|
|
395
|
+
order: 50,
|
|
396
|
+
});
|
|
397
|
+
r.nav({
|
|
398
|
+
id: "receive-invoice",
|
|
399
|
+
label: i18nKey("rental.nav.receiveInvoice"),
|
|
400
|
+
parent: "rental:nav:contracts",
|
|
401
|
+
screen: "rental:screen:receive-invoice",
|
|
402
|
+
order: 40,
|
|
403
|
+
});
|
|
404
|
+
r.nav({
|
|
405
|
+
id: "upload-standard-layout",
|
|
406
|
+
label: i18nKey("rental.nav.upload"),
|
|
407
|
+
parent: "rental:nav:contracts",
|
|
408
|
+
screen: "rental:screen:upload-standard-layout",
|
|
409
|
+
order: 30,
|
|
410
|
+
});
|
|
293
411
|
});
|
|
@@ -4,6 +4,23 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
4
4
|
de: {
|
|
5
5
|
"rental.nav.contracts": "Verträge",
|
|
6
6
|
"rental.nav.leases": "Mietverträge",
|
|
7
|
+
"screen:lease-unterlagen.title": "Unterlagen",
|
|
8
|
+
"rental.unterlagen.label": "Dateien",
|
|
9
|
+
"rental.unterlagen.section": "Mietvertragsunterlagen",
|
|
10
|
+
"rental.unterlagen.sectionDescription":
|
|
11
|
+
"Hochgeladene Rechnungen und Belege zum Download und zur Ansicht.",
|
|
12
|
+
"rental.nav.upload": "Belege hochladen",
|
|
13
|
+
"screen:upload-standard-layout.title": "Belege hochladen",
|
|
14
|
+
"rental.upload.description":
|
|
15
|
+
"Laden Sie Rechnungen und Nebenkostenbelege zum Mietvertrag hoch. Danach gehen sie zur Prüfung.",
|
|
16
|
+
"rental.upload.screenDescription": "Belege hochladen; sie werden dem Vorgang zugeordnet.",
|
|
17
|
+
"rental.upload.zoneTitle": "Belege auswählen",
|
|
18
|
+
"rental.upload.submit": "Zur Prüfung übernehmen",
|
|
19
|
+
"rental.upload.factCount": "Übernommene Belege",
|
|
20
|
+
"rental.upload.factFiles": "Dateien",
|
|
21
|
+
"rental.upload.unknownFile":
|
|
22
|
+
"Mindestens eine Datei gehört nicht zu Ihrem Upload. Bitte laden Sie sie erneut hoch.",
|
|
23
|
+
"rental:entity:__action-form__:field:belege": "Belege",
|
|
7
24
|
|
|
8
25
|
"screen:lease-list.title": "Mietverträge",
|
|
9
26
|
"screen:lease-list-short.title": "Mietverträge (gekündigt)",
|
|
@@ -13,6 +30,17 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
13
30
|
"screen:lease-hub.title": "Mietvertrag Hub",
|
|
14
31
|
"screen:rental-dashboard.title": "Kennzahlen",
|
|
15
32
|
"rental.nav.dashboard": "Kennzahlen",
|
|
33
|
+
"rental.nav.managementProfile": "Verwaltungsprofil",
|
|
34
|
+
"screen:management-profile.title": "Verwaltungsprofil",
|
|
35
|
+
"rental.managementProfile.hint":
|
|
36
|
+
"Diese Angaben erscheinen auf Mieterschreiben und Abrechnungen Ihrer Hausverwaltung.",
|
|
37
|
+
"rental:entity:__action-form__:field:profileName": "Name der Hausverwaltung",
|
|
38
|
+
"rental:entity:__action-form__:field:anschrift": "Anschrift",
|
|
39
|
+
"rental:entity:__action-form__:field:zahlungsziel": "Zahlungsziel in Tagen",
|
|
40
|
+
"rental.dashboard.profileHint.title": "Hinweis",
|
|
41
|
+
"rental.dashboard.profileHint.text":
|
|
42
|
+
"Auf Abrechnungen steht noch der Standardabsender. Hinterlegen Sie Name und Zahlungsziel Ihrer Hausverwaltung.",
|
|
43
|
+
"rental.dashboard.profileHint.link": "Verwaltungsprofil öffnen",
|
|
16
44
|
"rental.dashboard.debt": "Restschuld heute",
|
|
17
45
|
"rental.dashboard.rent": "Monatsmiete gesamt",
|
|
18
46
|
"rental.tab.history": "Verlauf",
|
|
@@ -96,6 +124,25 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
96
124
|
"screen:record-positions.title": "Positionen erfassen",
|
|
97
125
|
"rental.section.items": "Positionen",
|
|
98
126
|
"rental.action.recordPositions": "Positionen speichern",
|
|
127
|
+
"rental.nav.receiveInvoice": "Eingangsrechnung",
|
|
128
|
+
"screen:receive-invoice.title": "Eingangsrechnung erfassen",
|
|
129
|
+
"rental.section.invoiceLines": "Positionen",
|
|
130
|
+
"rental.section.invoiceLines.description":
|
|
131
|
+
"Eine Zeile pro Leistung. Netto, USt. und Brutto stehen unter der Tabelle.",
|
|
132
|
+
"rental.total.net": "Netto",
|
|
133
|
+
"rental.total.vat": "USt.",
|
|
134
|
+
"rental.total.gross": "Brutto",
|
|
135
|
+
"rental.action.receiveInvoice": "Rechnung erfassen",
|
|
136
|
+
"rental:entity:__action-form__:field:supplier": "Lieferant",
|
|
137
|
+
"rental:entity:__action-form__:field:invoiceNumber": "Rechnungsnummer",
|
|
138
|
+
"rental:entity:__action-form__:field:lines": "Positionen",
|
|
139
|
+
"rental:entity:__action-form__:field:lines:cell:description": "Leistung",
|
|
140
|
+
"rental:entity:__action-form__:field:lines:cell:amount": "Netto",
|
|
141
|
+
"rental:entity:__action-form__:field:lines:cell:vatRate": "USt. in %",
|
|
142
|
+
"rental:entity:__action-form__:field:lines:cell:vatAmount": "USt.",
|
|
143
|
+
"rental:entity:__action-form__:field:netTotal": "Netto gesamt",
|
|
144
|
+
"rental:entity:__action-form__:field:vatTotal": "USt. gesamt",
|
|
145
|
+
"rental:entity:__action-form__:field:grossTotal": "Brutto gesamt",
|
|
99
146
|
"rental:entity:__action-form__:field:lease": "Mietvertrag",
|
|
100
147
|
"rental:entity:__action-form__:field:items": "Positionen",
|
|
101
148
|
"rental:entity:__action-form__:field:zahlungsweise": "Zahlungsweise",
|
|
@@ -121,6 +168,23 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
121
168
|
en: {
|
|
122
169
|
"rental.nav.contracts": "Contracts",
|
|
123
170
|
"rental.nav.leases": "Leases",
|
|
171
|
+
"screen:lease-unterlagen.title": "Documents",
|
|
172
|
+
"rental.unterlagen.label": "Files",
|
|
173
|
+
"rental.unterlagen.section": "Lease documents",
|
|
174
|
+
"rental.unterlagen.sectionDescription":
|
|
175
|
+
"Uploaded invoices and receipts to download or preview.",
|
|
176
|
+
"rental.nav.upload": "Upload receipts",
|
|
177
|
+
"screen:upload-standard-layout.title": "Upload receipts",
|
|
178
|
+
"rental.upload.description":
|
|
179
|
+
"Upload invoices and service charge receipts for the lease. They then go to review.",
|
|
180
|
+
"rental.upload.screenDescription": "Upload receipts; they are attached to the record.",
|
|
181
|
+
"rental.upload.zoneTitle": "Choose receipts",
|
|
182
|
+
"rental.upload.submit": "Send to review",
|
|
183
|
+
"rental.upload.factCount": "Receipts accepted",
|
|
184
|
+
"rental.upload.factFiles": "Files",
|
|
185
|
+
"rental.upload.unknownFile":
|
|
186
|
+
"At least one file is not part of your upload. Please upload it again.",
|
|
187
|
+
"rental:entity:__action-form__:field:belege": "Receipts",
|
|
124
188
|
|
|
125
189
|
"screen:lease-list.title": "Leases",
|
|
126
190
|
"screen:lease-list-short.title": "Leases (terminated)",
|
|
@@ -130,6 +194,17 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
130
194
|
"screen:lease-hub.title": "Lease hub",
|
|
131
195
|
"screen:rental-dashboard.title": "Key figures",
|
|
132
196
|
"rental.nav.dashboard": "Key figures",
|
|
197
|
+
"rental.nav.managementProfile": "Management profile",
|
|
198
|
+
"screen:management-profile.title": "Management profile",
|
|
199
|
+
"rental.managementProfile.hint":
|
|
200
|
+
"These details appear on tenant letters and statements of your property management.",
|
|
201
|
+
"rental:entity:__action-form__:field:profileName": "Property management name",
|
|
202
|
+
"rental:entity:__action-form__:field:anschrift": "Address",
|
|
203
|
+
"rental:entity:__action-form__:field:zahlungsziel": "Payment term in days",
|
|
204
|
+
"rental.dashboard.profileHint.title": "Note",
|
|
205
|
+
"rental.dashboard.profileHint.text":
|
|
206
|
+
"Statements still carry the default sender. Enter the name and payment term of your property management.",
|
|
207
|
+
"rental.dashboard.profileHint.link": "Open management profile",
|
|
133
208
|
"rental.dashboard.debt": "Remaining debt today",
|
|
134
209
|
"rental.dashboard.rent": "Total monthly rent",
|
|
135
210
|
"rental.tab.history": "History",
|
|
@@ -210,6 +285,25 @@ export const rentalTranslations: TranslationsByLocale = {
|
|
|
210
285
|
"screen:record-positions.title": "Record positions",
|
|
211
286
|
"rental.section.items": "Positions",
|
|
212
287
|
"rental.action.recordPositions": "Save positions",
|
|
288
|
+
"rental.nav.receiveInvoice": "Incoming invoice",
|
|
289
|
+
"screen:receive-invoice.title": "Record incoming invoice",
|
|
290
|
+
"rental.section.invoiceLines": "Lines",
|
|
291
|
+
"rental.section.invoiceLines.description":
|
|
292
|
+
"One row per service. Net, VAT and gross are shown below the table.",
|
|
293
|
+
"rental.total.net": "Net",
|
|
294
|
+
"rental.total.vat": "VAT",
|
|
295
|
+
"rental.total.gross": "Gross",
|
|
296
|
+
"rental.action.receiveInvoice": "Record invoice",
|
|
297
|
+
"rental:entity:__action-form__:field:supplier": "Supplier",
|
|
298
|
+
"rental:entity:__action-form__:field:invoiceNumber": "Invoice number",
|
|
299
|
+
"rental:entity:__action-form__:field:lines": "Lines",
|
|
300
|
+
"rental:entity:__action-form__:field:lines:cell:description": "Service",
|
|
301
|
+
"rental:entity:__action-form__:field:lines:cell:amount": "Net",
|
|
302
|
+
"rental:entity:__action-form__:field:lines:cell:vatRate": "VAT in %",
|
|
303
|
+
"rental:entity:__action-form__:field:lines:cell:vatAmount": "VAT",
|
|
304
|
+
"rental:entity:__action-form__:field:netTotal": "Net total",
|
|
305
|
+
"rental:entity:__action-form__:field:vatTotal": "VAT total",
|
|
306
|
+
"rental:entity:__action-form__:field:grossTotal": "Gross total",
|
|
213
307
|
"rental:entity:__action-form__:field:lease": "Lease",
|
|
214
308
|
"rental:entity:__action-form__:field:items": "Positions",
|
|
215
309
|
"rental:entity:__action-form__:field:zahlungsweise": "Payment method",
|