commons-assessment 12.0.2 → 12.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -162,6 +162,7 @@ To render the assessment taker interface, use the `<lib-assessment-taker>` compo
162
162
  [previewMode]="false"
163
163
  [verticalView]="false"
164
164
  [enableMarks]="false"
165
+ [assessmentContext]="assessmentContext"
165
166
  (submitAssessment)="onSubmit($event)"
166
167
  (snackbarMessage)="onSnackbarMessage($event)">
167
168
  </lib-assessment-taker>
@@ -182,6 +183,7 @@ To render the assessment taker interface, use the `<lib-assessment-taker>` compo
182
183
  | `[previewMode]` | `@Input` | `boolean` | (Optional) Disables interaction and enables preview functionality. |
183
184
  | `[verticalView]` | `@Input` | `boolean` | (Optional) Displays the assessment sections vertically instead of tabs. |
184
185
  | `[enableMarks]` | `@Input` | `boolean` | (Optional) Enables ability to view or provide marks. |
186
+ | `[assessmentContext]` | `@Input` | `AssessmentContextDTO` | (Optional) Pre-loaded assessment context data to bypass the initial data load API call. |
185
187
  | `(stepChanged)` | `@Output` | `EventEmitter<{ currentStepIndex: number, totalSteps: number, isLastStep: boolean }>` | Emits initially and on every step change. Provides the current step index, total steps, and indicating boolean. |
186
188
  | `(submitAssessment)` | `@Output` | `EventEmitter<{ assesseeId: number, completed: boolean }>` | Emits when the assessment is submitted, containing the `assesseeId` and a `completed` flag indicating if the taker finished the entire assessment. |
187
189
  | `(snackbarMessage)` | `@Output` | `EventEmitter<{ message: string, type: 'success' \| 'error' \| 'info' }>` | Emits message status updates representing errors and workflow successes from the service. |