Skip to content

Feature componenten

De map src/components/features bevat domeinspecifieke UI voor taken zoals authenticatie, projecten en e-mailbeheer. Onderstaande samenvatting geeft nieuwe ontwikkelaars een startpunt voor navigatie en documentatie.

DomeinEntry component(en)Korte toelichting
AuthLoginForm.astro, ChallengeForm.astroUser login, MFA en password reset flows.
TenantsTenantForm.astro, TenantTable.astroCRUD voor klantorganisaties.
ClosuresVkmForm.astro, SupportFileModal.astroAfsluit-workflows, eventfeeds en bestandslijsten.
Email editorEditorModal.astroDrag-and-drop email templates, zie sectie hieronder.
MailMailForm.astro, TemplateSelect.astroBulk mail samenstellen en versturen.
ProjectsProjectForm.astro, ProjectOverview.astroProjectbeheer en statusoverzichten.
RecipientsRecipientBulkUploadForm.astroUpload en beheer van ontvangerslijsten.
StakeholdersEventFeedStakeholder.astroSelf-service dashboards voor stakeholders.
UsersUserBulkForm.astro, UserTable.astroGebruikersbeheer en CSV-import.

Email editor component gebaseerd op een fork van EmailBuilder.js met aanpassingen voor VEMAP:

  • Custom template storage - Database opslag via Backend API
  • Custom table block - Toegevoegd voor gestructureerde data
  • Template variables - VEMAP-specifieke variable support

EmailBuilder.js Docs

  • EmailBuilder.js - Core library
  • React - ^18.2.0 (Huidige implementatie)
  • TypeScript - ^5.0.0
  • Tailwind CSS - ^4.1.0
  • VEMAP Backend API - Template opslag
  • VEMAP Database - Template persistentie

  • Directorycomponents/
    • Directorydashboards/ - Dashboard componenten
    • Directoryfeatures/
      • Directoryauth/
        • ChallengeForm.astro
        • ForgotPasswordForm.astro
        • LoginForm.astro
        • LogoutBtn.astro
        • ResetPasswordForm.astro
      • Directorytenants/
        • TenantForm.astro
        • TenantTable.astro
        • TenantTableRow.astro
      • Directoryclosures/
        • Directoryevents/
          • CommentEventCard.astro
          • EventList.astro
          • FileEventCard.astro
          • MailEventCard.astro
          • MailListEventCard.astro
          • MajorEventCard.astro
          • StakeholderEventCard.astro
        • Directoryforms/
          • AddStakeholderForm.astro
          • ClosureForm.astro
          • ManageMailListForm.astro
          • VkmForm.astro
        • Directorylists/
          • FileList.astro
          • FileListItem.astro
          • MailList.astro
          • MailListItem.astro
          • StakeholderList.astro
          • StakeholderListItem.astro
          • UploadRecipientsPreviewList.astro
          • UploadRecipientsPreviewListItem.astro
        • SupportFileModal.astro
        • VkmControlSection.astro
      • Directoryemail-editor/
        • EditorModal.astro
        • EditorClient.tsx
        • email-builder-index.ts
        • DirectoryApp/
        • DirectoryTemplatePanel/
        • DirectorySamplesDrawer/
        • DirectoryInspectorDrawer/
        • Directorylayout-blocks/
        • Directorydocuments/
        • Directoryrenderers/
        • Directoryblocks/
        • DirectoryReader/
        • DirectorygetConfiguration/
        • theme.ts
        • voorbeeld output.html
      • Directorymail/
        • MailForm.astro
        • TemplateSelect.astro
        • TemplateSelectItem.astro
      • Directoryprojects/
        • ClosurePreview.astro
        • ClosurePreviewListItem.astro
        • ClosuresPreviewList.astro
        • ProjectArchive.astro
        • ProjectArchiveTable.astro
        • ProjectCard.astro
        • ProjectForm.astro
        • ProjectManagersForm.astro
        • ProjectOverview.astro
      • Directoryrecipients/
        • RecipientBulkUploadForm.astro
      • Directorystakeholders/
        • EventFeedStakeholder.astro
        • StakeholderTaskList.astro
        • StakeholderTaskListCard.astro
      • Directoryusers/
        • UserBulkForm.astro
        • UserForm.astro
        • UserTable.astro
        • UserTableRow.astro
    • Directoryui/ - UI componenten