File tree Expand file tree Collapse file tree
client/src/components/views/seb-server/sebSettings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,17 +6,18 @@ import {
66} from "@/models/seb-server/sebSettings" ;
77import { Ref } from "vue" ;
88
9- export type SEBSettingsContext = {
10- isExam : boolean ;
11- containerId : string ;
12- readonly : boolean ;
13- } ;
14-
159export type SEBValueAttributes = {
1610 title : string ;
1711 value : string ;
1812} ;
1913
14+ // Context used for SEB Settings panel component
15+ export type SEBSettingsContext = {
16+ isExam : boolean ; // indicates if the SEB Settings are for an Exam (or an ExamTemplate)
17+ containerId : string ; // entity id (either examID or examTemplateID)
18+ readonly : boolean ; // readonly flag
19+ } ;
20+
2021// Singe SEB Setting values model encapsulates single SEB Setting values with its current ids
2122// mapped by SEB Setting names and additional attributes also mapped to SEB Setting names.
2223// Also provides some value accessors and a persistent function to save the value to backend
@@ -45,6 +46,7 @@ export type SEBSettingsTableModel = {
4546 saveTableRow ( values : SEBSettingTableValue [ ] ) : void ;
4647} ;
4748
49+ // SEB Settings table model to use with SEB Settings tables.
4850export type SettingsTable < T > = {
4951 table : Ref < T [ ] > ;
5052 selectedRow : Ref < T | null > ;
You can’t perform that action at this time.
0 commit comments