@byu-oit/vue-decision-processing-components 8.35.8 → 8.35.10

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.
Files changed (136) hide show
  1. package/.github/CODEOWNERS +1 -0
  2. package/.github/workflows/deploy.yml +40 -50
  3. package/.repo-meta.yml +55 -55
  4. package/AdmitPeriodConfig.vue +115 -115
  5. package/ApiCallButton.vue +91 -91
  6. package/ApplicantInfo.vue +100 -100
  7. package/AssignmentBulkDialog.vue +153 -153
  8. package/AssignmentDialog.vue +117 -117
  9. package/AssignmentSummary.vue +75 -75
  10. package/BackgroundBadge.vue +83 -83
  11. package/BackgroundDetailCrime.vue +78 -78
  12. package/BackgroundDetailPluralMarriage.vue +43 -43
  13. package/BackgroundDetailSexRegistry.vue +43 -43
  14. package/BackgroundDetailUniversity.vue +37 -37
  15. package/CHANGELOG.md +676 -676
  16. package/Dashboard.vue +201 -201
  17. package/DashboardApplicationList.vue +50 -50
  18. package/DecisionDialog.vue +178 -178
  19. package/Details.vue +124 -124
  20. package/DetailsActivity.vue +59 -59
  21. package/DetailsBackground.vue +143 -143
  22. package/DetailsBackgroundDetail.vue +47 -47
  23. package/DetailsBackgroundSummary.vue +66 -66
  24. package/DetailsCesHold.vue +107 -107
  25. package/DetailsCollege.vue +93 -93
  26. package/DetailsContact.vue +65 -65
  27. package/DetailsDecision.vue +183 -183
  28. package/DetailsDecisionHistory.vue +56 -56
  29. package/DetailsEndorsement.vue +74 -74
  30. package/DetailsEssay.vue +59 -59
  31. package/DetailsFilenote.vue +62 -62
  32. package/DetailsFilenoteList.vue +109 -109
  33. package/DetailsFlagSection.vue +176 -176
  34. package/DetailsHeader.vue +263 -263
  35. package/DetailsHighSchool.vue +99 -99
  36. package/DetailsHsTranscript.vue +100 -100
  37. package/DetailsInstitute.vue +90 -90
  38. package/DetailsMission.vue +88 -88
  39. package/DetailsNewAppHistory.vue +50 -50
  40. package/DetailsNotes.vue +83 -83
  41. package/DetailsPathway.vue +45 -45
  42. package/DetailsScoringSection.vue +128 -128
  43. package/DetailsSection.vue +116 -116
  44. package/DetailsSeminary.vue +184 -184
  45. package/DetailsSrs.vue +52 -52
  46. package/DetailsSubnav.vue +54 -54
  47. package/DetailsTestScores.vue +131 -131
  48. package/ExpandIndicator.vue +75 -75
  49. package/ExternalLink.vue +34 -34
  50. package/FilterBreadcrumb.vue +85 -85
  51. package/FilterButton.vue +86 -86
  52. package/FilterButtonAdmitPeriod.vue +104 -104
  53. package/FilterButtonAppType.vue +103 -103
  54. package/FilterButtonAssignedTo.vue +96 -96
  55. package/FilterButtonClearFilters.vue +65 -65
  56. package/FilterButtonSex.vue +105 -105
  57. package/FlagButton.vue +59 -59
  58. package/FlagDialog.vue +129 -129
  59. package/Footer.vue +432 -432
  60. package/Header.vue +132 -132
  61. package/HighSchoolSummary.vue +60 -60
  62. package/InternationalIndicator.vue +44 -44
  63. package/InternationalStatus.vue +48 -48
  64. package/LICENSE +201 -201
  65. package/LoadingBadge.vue +58 -58
  66. package/ManageAssignments.vue +123 -123
  67. package/NoAuth.vue +14 -14
  68. package/NoteDialog.vue +106 -106
  69. package/ObjectViewer.vue +49 -49
  70. package/Queues.vue +278 -268
  71. package/QuickLinks.vue +25 -25
  72. package/README.md +2 -2
  73. package/RecentApplications.vue +53 -53
  74. package/Report.vue +340 -340
  75. package/ReportDetail.vue +279 -279
  76. package/ReportList.vue +87 -87
  77. package/ReportPhotos.vue +65 -65
  78. package/ReportSvg.vue +78 -78
  79. package/ReportViewer.vue +165 -165
  80. package/RequestAccess.vue +14 -14
  81. package/RequestAccessList.vue +45 -45
  82. package/RoleSelector.vue +29 -29
  83. package/Search.vue +22 -22
  84. package/ShowApplicantIds.vue +100 -100
  85. package/SortableHeader.vue +53 -53
  86. package/Spinner.vue +34 -34
  87. package/StarredIndicator.vue +36 -36
  88. package/StatBox.vue +73 -73
  89. package/StatCharts.vue +196 -196
  90. package/SupportDialog.vue +172 -172
  91. package/UserInfo.vue +52 -52
  92. package/YesNoIndicator.vue +48 -48
  93. package/dateTimeFormat.js +67 -67
  94. package/gpaCalculation.js +162 -162
  95. package/gpaFilter.js +5 -5
  96. package/hsSummary.json +2019 -2019
  97. package/package.json +37 -36
  98. package/parsers/application.js +396 -396
  99. package/parsers/decisionHistory.js +27 -27
  100. package/parsers/filenotes.js +27 -27
  101. package/parsers/notes.js +49 -49
  102. package/parsers/packet.js +88 -88
  103. package/parsers/packetList.js +57 -57
  104. package/parsers/reports.js +13 -13
  105. package/sat2Act.js +46 -46
  106. package/test.js +48 -48
  107. package/themes/ByuiFooter.vue +38 -38
  108. package/themes/ByuiHeader.vue +96 -96
  109. package/themes/LdsbcFooter.vue +38 -38
  110. package/themes/LdsbcHeader.vue +100 -100
  111. package/vuexModules/application/activity.js +32 -32
  112. package/vuexModules/application/applicationList.js +71 -71
  113. package/vuexModules/application/background.js +47 -47
  114. package/vuexModules/application/bio.js +38 -38
  115. package/vuexModules/application/citizenship.js +30 -30
  116. package/vuexModules/application/collegeSummaries.js +32 -32
  117. package/vuexModules/application/essay.js +26 -26
  118. package/vuexModules/application/highSchoolSummaries.js +40 -40
  119. package/vuexModules/application/index.js +157 -157
  120. package/vuexModules/application/institute.js +30 -30
  121. package/vuexModules/application/mission.js +48 -48
  122. package/vuexModules/application/personalRecords.js +24 -24
  123. package/vuexModules/application/questions.js +23 -23
  124. package/vuexModules/application/seminary.js +39 -39
  125. package/vuexModules/application/testScores.js +26 -26
  126. package/vuexModules/notes/index.js +22 -22
  127. package/vuexModules/packet/decision.js +43 -43
  128. package/vuexModules/packet/decisionHistory.js +28 -28
  129. package/vuexModules/packet/flags.js +174 -174
  130. package/vuexModules/packet/index.js +52 -52
  131. package/vuexModules/packet/packetList.js +127 -127
  132. package/vuexModules/packet/processes.js +28 -28
  133. package/vuexModules/reports/index.js +32 -32
  134. package/vuexModules/ui/index.js +56 -56
  135. package/vuexModules/users/index.js +46 -46
  136. package/yyyyMmFilter.js +7 -7
@@ -1,157 +1,157 @@
1
- import * as activity from './activity'
2
- import * as background from './background'
3
- import * as bio from './bio'
4
- import * as citizenship from './citizenship'
5
- import * as collegeSummaries from './collegeSummaries'
6
- import * as essay from './essay'
7
- import * as highSchoolSummaries from './highSchoolSummaries'
8
- import * as institute from './institute'
9
- import * as mission from './mission'
10
- import * as personalRecords from './personalRecords'
11
- import * as questions from './questions'
12
- import * as seminary from './seminary'
13
- import * as testScores from './testScores'
14
-
15
- // initial state
16
- export const state = {
17
- addressLines: [],
18
- admitPeriod: '',
19
- applicantId: '',
20
- applicantMajor: '',
21
- applicantName: '',
22
- applicantType: '',
23
- applicationStatus: '',
24
- city: '',
25
- emailAddress: '',
26
- decision: '',
27
- decisionQualifier: '',
28
- decisionDateTime: '',
29
- netId: '',
30
- personId: '',
31
- phoneNumber: '',
32
- whatsappNumber: '',
33
- preferredName: '',
34
- previousName: '',
35
- schoolPreferenceOrder: [],
36
- sortName: '',
37
- state: '',
38
- submittedOn: ''
39
- }
40
-
41
- // getters
42
- export const getters = {
43
- collegeSummaries (state) {
44
- return state.collegeSummaries.colleges
45
- },
46
- highSchoolSummaries (state) {
47
- return state.highSchoolSummaries.highSchools
48
- },
49
- testScores (state) {
50
- return state.testScores.scores
51
- }
52
- }
53
-
54
- // mutations
55
- export const mutations = {
56
- setApplication (state, application) {
57
- state.addressLines = application.addressLines
58
- state.admitPeriod = application.admitPeriod
59
- state.applicantId = application.applicantId
60
- state.applicantMajor = application.applicantMajor
61
- state.applicantName = application.applicantName
62
- state.applicantType = application.applicantType
63
- state.applicationStatus = application.applicationStatus
64
- state.city = application.city
65
- state.emailAddress = application.emailAddress
66
- state.decision = application.decision
67
- state.decisionQualifier = application.decisionQualifier
68
- state.decisionDateTime = application.decisionDateTime
69
- state.netId = application.netId
70
- state.personId = application.personId
71
- state.phoneNumber = application.phoneNumber
72
- state.whatsappNumber = application.whatsappNumber
73
- state.preferredName = application.preferredName
74
- state.previousName = application.previousName
75
- state.schoolPreferenceOrder = application.schoolPreferenceOrder
76
- state.sortName = application.sortName
77
- state.state = application.state
78
- state.submittedOn = application.submittedOn
79
- },
80
- resetApplication (state) {
81
- state.addressLines = []
82
- state.admitPeriod = ''
83
- state.applicantId = ''
84
- state.applicantMajor = ''
85
- state.applicantName = ''
86
- state.applicantType = ''
87
- state.applicationStatus = ''
88
- state.city = ''
89
- state.emailAddress = ''
90
- state.decision = ''
91
- state.decisionQualifier = ''
92
- state.decisionDateTime = ''
93
- state.netId = ''
94
- state.personId = ''
95
- state.phoneNumber = ''
96
- state.whatsappNumber = ''
97
- state.preferredName = ''
98
- state.previousName = ''
99
- state.schoolPreferenceOrder = []
100
- state.sortName = ''
101
- state.state = ''
102
- state.submittedOn = ''
103
- }
104
- }
105
-
106
- // actions
107
- export const actions = {
108
- resetApplication ({ commit }) {
109
- commit('resetApplication')
110
- commit('resetActivity')
111
- commit('resetBackground')
112
- commit('resetBio')
113
- commit('resetCitizenship')
114
- commit('resetCollegeSummaries')
115
- commit('resetEssay')
116
- commit('resetHighSchoolSummaries')
117
- commit('resetInstitute')
118
- commit('resetMission')
119
- commit('resetPersonalRecords')
120
- commit('resetQuestions')
121
- commit('resetSeminary')
122
- commit('resetTestScores')
123
- },
124
- loadApplication ({ commit }, application) {
125
- commit('setApplication', application.basic)
126
- commit('setActivity', application.activity)
127
- commit('setBackground', application.background)
128
- commit('setBio', application.bio)
129
- commit('setCitizenship', application.citizenship)
130
- commit('setCollegeCumulative', application.collegeCumulative)
131
- commit('setCollegeSummaries', application.collegeSummaries)
132
- commit('setEssay', application.essay)
133
- commit('setHighSchoolSummaries', application.highSchoolSummaries)
134
- commit('setInstitute', application.institute)
135
- commit('setMission', application.mission)
136
- commit('setPersonalRecords', application.personalRecords)
137
- commit('setQuestions', application.questions)
138
- commit('setSeminary', application.seminary)
139
- commit('setTestScores', application.testScores)
140
- }
141
- }
142
-
143
- export const modules = {
144
- activity,
145
- background,
146
- bio,
147
- citizenship,
148
- collegeSummaries,
149
- essay,
150
- highSchoolSummaries,
151
- institute,
152
- mission,
153
- personalRecords,
154
- questions,
155
- seminary,
156
- testScores
157
- }
1
+ import * as activity from './activity'
2
+ import * as background from './background'
3
+ import * as bio from './bio'
4
+ import * as citizenship from './citizenship'
5
+ import * as collegeSummaries from './collegeSummaries'
6
+ import * as essay from './essay'
7
+ import * as highSchoolSummaries from './highSchoolSummaries'
8
+ import * as institute from './institute'
9
+ import * as mission from './mission'
10
+ import * as personalRecords from './personalRecords'
11
+ import * as questions from './questions'
12
+ import * as seminary from './seminary'
13
+ import * as testScores from './testScores'
14
+
15
+ // initial state
16
+ export const state = {
17
+ addressLines: [],
18
+ admitPeriod: '',
19
+ applicantId: '',
20
+ applicantMajor: '',
21
+ applicantName: '',
22
+ applicantType: '',
23
+ applicationStatus: '',
24
+ city: '',
25
+ emailAddress: '',
26
+ decision: '',
27
+ decisionQualifier: '',
28
+ decisionDateTime: '',
29
+ netId: '',
30
+ personId: '',
31
+ phoneNumber: '',
32
+ whatsappNumber: '',
33
+ preferredName: '',
34
+ previousName: '',
35
+ schoolPreferenceOrder: [],
36
+ sortName: '',
37
+ state: '',
38
+ submittedOn: ''
39
+ }
40
+
41
+ // getters
42
+ export const getters = {
43
+ collegeSummaries (state) {
44
+ return state.collegeSummaries.colleges
45
+ },
46
+ highSchoolSummaries (state) {
47
+ return state.highSchoolSummaries.highSchools
48
+ },
49
+ testScores (state) {
50
+ return state.testScores.scores
51
+ }
52
+ }
53
+
54
+ // mutations
55
+ export const mutations = {
56
+ setApplication (state, application) {
57
+ state.addressLines = application.addressLines
58
+ state.admitPeriod = application.admitPeriod
59
+ state.applicantId = application.applicantId
60
+ state.applicantMajor = application.applicantMajor
61
+ state.applicantName = application.applicantName
62
+ state.applicantType = application.applicantType
63
+ state.applicationStatus = application.applicationStatus
64
+ state.city = application.city
65
+ state.emailAddress = application.emailAddress
66
+ state.decision = application.decision
67
+ state.decisionQualifier = application.decisionQualifier
68
+ state.decisionDateTime = application.decisionDateTime
69
+ state.netId = application.netId
70
+ state.personId = application.personId
71
+ state.phoneNumber = application.phoneNumber
72
+ state.whatsappNumber = application.whatsappNumber
73
+ state.preferredName = application.preferredName
74
+ state.previousName = application.previousName
75
+ state.schoolPreferenceOrder = application.schoolPreferenceOrder
76
+ state.sortName = application.sortName
77
+ state.state = application.state
78
+ state.submittedOn = application.submittedOn
79
+ },
80
+ resetApplication (state) {
81
+ state.addressLines = []
82
+ state.admitPeriod = ''
83
+ state.applicantId = ''
84
+ state.applicantMajor = ''
85
+ state.applicantName = ''
86
+ state.applicantType = ''
87
+ state.applicationStatus = ''
88
+ state.city = ''
89
+ state.emailAddress = ''
90
+ state.decision = ''
91
+ state.decisionQualifier = ''
92
+ state.decisionDateTime = ''
93
+ state.netId = ''
94
+ state.personId = ''
95
+ state.phoneNumber = ''
96
+ state.whatsappNumber = ''
97
+ state.preferredName = ''
98
+ state.previousName = ''
99
+ state.schoolPreferenceOrder = []
100
+ state.sortName = ''
101
+ state.state = ''
102
+ state.submittedOn = ''
103
+ }
104
+ }
105
+
106
+ // actions
107
+ export const actions = {
108
+ resetApplication ({ commit }) {
109
+ commit('resetApplication')
110
+ commit('resetActivity')
111
+ commit('resetBackground')
112
+ commit('resetBio')
113
+ commit('resetCitizenship')
114
+ commit('resetCollegeSummaries')
115
+ commit('resetEssay')
116
+ commit('resetHighSchoolSummaries')
117
+ commit('resetInstitute')
118
+ commit('resetMission')
119
+ commit('resetPersonalRecords')
120
+ commit('resetQuestions')
121
+ commit('resetSeminary')
122
+ commit('resetTestScores')
123
+ },
124
+ loadApplication ({ commit }, application) {
125
+ commit('setApplication', application.basic)
126
+ commit('setActivity', application.activity)
127
+ commit('setBackground', application.background)
128
+ commit('setBio', application.bio)
129
+ commit('setCitizenship', application.citizenship)
130
+ commit('setCollegeCumulative', application.collegeCumulative)
131
+ commit('setCollegeSummaries', application.collegeSummaries)
132
+ commit('setEssay', application.essay)
133
+ commit('setHighSchoolSummaries', application.highSchoolSummaries)
134
+ commit('setInstitute', application.institute)
135
+ commit('setMission', application.mission)
136
+ commit('setPersonalRecords', application.personalRecords)
137
+ commit('setQuestions', application.questions)
138
+ commit('setSeminary', application.seminary)
139
+ commit('setTestScores', application.testScores)
140
+ }
141
+ }
142
+
143
+ export const modules = {
144
+ activity,
145
+ background,
146
+ bio,
147
+ citizenship,
148
+ collegeSummaries,
149
+ essay,
150
+ highSchoolSummaries,
151
+ institute,
152
+ mission,
153
+ personalRecords,
154
+ questions,
155
+ seminary,
156
+ testScores
157
+ }
@@ -1,30 +1,30 @@
1
- /**
2
- * classes: [
3
- * {
4
- * className: get(c, 'institute_class.value'),
5
- * academicYear: get(c, 'academic_year.value'),
6
- * grade: get(c, 'grade.value'),
7
- * forCredit: get(c, 'for_credit.value')
8
- * }...
9
- * ]
10
- */
11
- export const state = {
12
- attendance: '',
13
- explanation: '',
14
- classes: []
15
- }
16
-
17
- export const mutations = {
18
- resetInstitute (state) {
19
- state.attendance = ''
20
- state.explanation = ''
21
- state.classes = []
22
- },
23
- setInstitute (state, institute = {}) {
24
- state.attendance = institute.attendance
25
- state.explanation = institute.explanation
26
- if (Array.isArray(institute.classes)) {
27
- state.classes = institute.classes.slice(0)
28
- }
29
- }
30
- }
1
+ /**
2
+ * classes: [
3
+ * {
4
+ * className: get(c, 'institute_class.value'),
5
+ * academicYear: get(c, 'academic_year.value'),
6
+ * grade: get(c, 'grade.value'),
7
+ * forCredit: get(c, 'for_credit.value')
8
+ * }...
9
+ * ]
10
+ */
11
+ export const state = {
12
+ attendance: '',
13
+ explanation: '',
14
+ classes: []
15
+ }
16
+
17
+ export const mutations = {
18
+ resetInstitute (state) {
19
+ state.attendance = ''
20
+ state.explanation = ''
21
+ state.classes = []
22
+ },
23
+ setInstitute (state, institute = {}) {
24
+ state.attendance = institute.attendance
25
+ state.explanation = institute.explanation
26
+ if (Array.isArray(institute.classes)) {
27
+ state.classes = institute.classes.slice(0)
28
+ }
29
+ }
30
+ }
@@ -1,48 +1,48 @@
1
- export const state = {
2
- name: '',
3
- service: '',
4
- startMonth: '',
5
- endMonth: '',
6
- language: '',
7
- missionEmail: '',
8
- type: '',
9
- typeDisplay: '',
10
- unitNumber: '',
11
- unitName: '',
12
- religionTenure: '',
13
- religionCode: '',
14
- religion: ''
15
- }
16
-
17
- export const mutations = {
18
- resetMission (state) {
19
- state.name = ''
20
- state.service = ''
21
- state.startMonth = ''
22
- state.endMonth = ''
23
- state.language = ''
24
- state.missionEmail = ''
25
- state.type = ''
26
- state.typeDisplay = ''
27
- state.unitNumber = ''
28
- state.unitName = ''
29
- state.religionTenure = ''
30
- state.religionCode = ''
31
- state.religion = ''
32
- },
33
- setMission (state, mission = {}) {
34
- state.name = mission.name
35
- state.service = mission.service
36
- state.startMonth = mission.startMonth
37
- state.endMonth = mission.endMonth
38
- state.language = mission.language
39
- state.missionEmail = mission.missionEmail
40
- state.type = mission.type
41
- state.typeDisplay = mission.typeDisplay
42
- state.unitNumber = mission.unitNumber
43
- state.unitName = mission.unitName
44
- state.religionTenure = mission.religionTenure
45
- state.religionCode = mission.religionCode
46
- state.religion = mission.religion
47
- }
48
- }
1
+ export const state = {
2
+ name: '',
3
+ service: '',
4
+ startMonth: '',
5
+ endMonth: '',
6
+ language: '',
7
+ missionEmail: '',
8
+ type: '',
9
+ typeDisplay: '',
10
+ unitNumber: '',
11
+ unitName: '',
12
+ religionTenure: '',
13
+ religionCode: '',
14
+ religion: ''
15
+ }
16
+
17
+ export const mutations = {
18
+ resetMission (state) {
19
+ state.name = ''
20
+ state.service = ''
21
+ state.startMonth = ''
22
+ state.endMonth = ''
23
+ state.language = ''
24
+ state.missionEmail = ''
25
+ state.type = ''
26
+ state.typeDisplay = ''
27
+ state.unitNumber = ''
28
+ state.unitName = ''
29
+ state.religionTenure = ''
30
+ state.religionCode = ''
31
+ state.religion = ''
32
+ },
33
+ setMission (state, mission = {}) {
34
+ state.name = mission.name
35
+ state.service = mission.service
36
+ state.startMonth = mission.startMonth
37
+ state.endMonth = mission.endMonth
38
+ state.language = mission.language
39
+ state.missionEmail = mission.missionEmail
40
+ state.type = mission.type
41
+ state.typeDisplay = mission.typeDisplay
42
+ state.unitNumber = mission.unitNumber
43
+ state.unitName = mission.unitName
44
+ state.religionTenure = mission.religionTenure
45
+ state.religionCode = mission.religionCode
46
+ state.religion = mission.religion
47
+ }
48
+ }
@@ -1,24 +1,24 @@
1
- export const state = {
2
- sex: '',
3
- dateOfBirth: '',
4
- age: '',
5
- religion: '',
6
- religionTenure: ''
7
- }
8
-
9
- export const mutations = {
10
- resetPersonalRecords (state) {
11
- state.sex = ''
12
- state.dateOfBirth = ''
13
- state.age = ''
14
- state.religion = ''
15
- state.religionTenure = ''
16
- },
17
- setPersonalRecords (state, personal = {}) {
18
- state.sex = personal.sex
19
- state.dateOfBirth = personal.dateOfBirth
20
- state.age = personal.age
21
- state.religion = personal.religion
22
- state.religionTenure = personal.religionTenure
23
- }
24
- }
1
+ export const state = {
2
+ sex: '',
3
+ dateOfBirth: '',
4
+ age: '',
5
+ religion: '',
6
+ religionTenure: ''
7
+ }
8
+
9
+ export const mutations = {
10
+ resetPersonalRecords (state) {
11
+ state.sex = ''
12
+ state.dateOfBirth = ''
13
+ state.age = ''
14
+ state.religion = ''
15
+ state.religionTenure = ''
16
+ },
17
+ setPersonalRecords (state, personal = {}) {
18
+ state.sex = personal.sex
19
+ state.dateOfBirth = personal.dateOfBirth
20
+ state.age = personal.age
21
+ state.religion = personal.religion
22
+ state.religionTenure = personal.religionTenure
23
+ }
24
+ }
@@ -1,23 +1,23 @@
1
- /*
2
- * shape of items:
3
- * {
4
- * name: '',
5
- * description: '',
6
- * type: '',
7
- * uuid: '',
8
- * elements: [],
9
- * groups: []
10
- * }
11
- */
12
- export const state = {
13
- list: []
14
- }
15
-
16
- export const mutations = {
17
- resetQuestions (state) {
18
- state.list = []
19
- },
20
- setQuestions (state, questions = []) {
21
- state.list = questions.slice(0)
22
- }
23
- }
1
+ /*
2
+ * shape of items:
3
+ * {
4
+ * name: '',
5
+ * description: '',
6
+ * type: '',
7
+ * uuid: '',
8
+ * elements: [],
9
+ * groups: []
10
+ * }
11
+ */
12
+ export const state = {
13
+ list: []
14
+ }
15
+
16
+ export const mutations = {
17
+ resetQuestions (state) {
18
+ state.list = []
19
+ },
20
+ setQuestions (state, questions = []) {
21
+ state.list = questions.slice(0)
22
+ }
23
+ }
@@ -1,39 +1,39 @@
1
- export const state = {
2
- seminaryType: '',
3
- seminaryClasses: [],
4
- yearsCompleted: '',
5
- graduationStatus: '',
6
- teacherEmail: '',
7
- teacherName: '',
8
- seminaryExplanation: '',
9
- attendancePercentage: '',
10
- dateTimeReported: '',
11
- recommendation: {}
12
- }
13
-
14
- export const mutations = {
15
- resetSeminary (state) {
16
- state.seminaryType = ''
17
- state.seminaryClasses = []
18
- state.yearsCompleted = ''
19
- state.graduationStatus = ''
20
- state.teacherEmail = ''
21
- state.teacherName = ''
22
- state.seminaryExplanation = ''
23
- state.attendancePercentage = ''
24
- state.dateTimeReported = ''
25
- state.recommendation = {}
26
- },
27
- setSeminary (state, seminary = {}) {
28
- state.seminaryType = seminary.seminaryType
29
- state.seminaryClasses = seminary.seminaryClasses
30
- state.yearsCompleted = seminary.yearsCompleted
31
- state.graduationStatus = seminary.graduationStatus
32
- state.teacherEmail = seminary.teacherEmail
33
- state.teacherName = seminary.teacherName
34
- state.seminaryExplanation = seminary.seminaryExplanation
35
- state.attendancePercentage = seminary.attendancePercentage
36
- state.dateTimeReported = seminary.dateTimeReported
37
- state.recommendation = seminary.recommendation
38
- }
39
- }
1
+ export const state = {
2
+ seminaryType: '',
3
+ seminaryClasses: [],
4
+ yearsCompleted: '',
5
+ graduationStatus: '',
6
+ teacherEmail: '',
7
+ teacherName: '',
8
+ seminaryExplanation: '',
9
+ attendancePercentage: '',
10
+ dateTimeReported: '',
11
+ recommendation: {}
12
+ }
13
+
14
+ export const mutations = {
15
+ resetSeminary (state) {
16
+ state.seminaryType = ''
17
+ state.seminaryClasses = []
18
+ state.yearsCompleted = ''
19
+ state.graduationStatus = ''
20
+ state.teacherEmail = ''
21
+ state.teacherName = ''
22
+ state.seminaryExplanation = ''
23
+ state.attendancePercentage = ''
24
+ state.dateTimeReported = ''
25
+ state.recommendation = {}
26
+ },
27
+ setSeminary (state, seminary = {}) {
28
+ state.seminaryType = seminary.seminaryType
29
+ state.seminaryClasses = seminary.seminaryClasses
30
+ state.yearsCompleted = seminary.yearsCompleted
31
+ state.graduationStatus = seminary.graduationStatus
32
+ state.teacherEmail = seminary.teacherEmail
33
+ state.teacherName = seminary.teacherName
34
+ state.seminaryExplanation = seminary.seminaryExplanation
35
+ state.attendancePercentage = seminary.attendancePercentage
36
+ state.dateTimeReported = seminary.dateTimeReported
37
+ state.recommendation = seminary.recommendation
38
+ }
39
+ }