Skip to content

egpaf-global/reporting-module-cdr

 
 

Repository files navigation

emc-new-arch

TO DOs

  • Implement API Service
  • Setup silent loaders
  • Setup overflow loaders
  • Add store
  • Implement API Error handlers
  • Login
  • Dashboard
  • Search Client
  • Register client
  • Patient Dashboard
  • Update Client
  • Add Reports
  • Add Data management tools
  • Add User management tools
  • Implement build tools
  • Implement Desktop form builder
  • DDE Integration

FormBuilder Requirements

  1. The input fields should accept validation rules passed as piped strings or an array of strings. for example <text-input name="password" rules="required|min:8" /> or <text-input name="password" rules="['required', 'min:8']" />

  2. The input fields should validate the input value based on the rules on value change

  3. Input fields should show errors below them for invalid input values

  4. The input fields should have an optional alternative value prop which is a function that takes the input value and returns a computed value

  5. The input fields should compute the alternative value on value change

  6. The form should emit form data and computed/alternative data objects on submission. Field names should be used as object keys

  7. Form submission should only be possible when the form has no errors

Releases

No releases published

Packages

No packages published

Languages

  • Vue 59.1%
  • TypeScript 35.7%
  • CSS 4.7%
  • Other 0.5%