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

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 (135) hide show
  1. package/.github/workflows/deploy.yml +51 -0
  2. package/.repo-meta.yml +55 -55
  3. package/AdmitPeriodConfig.vue +115 -115
  4. package/ApiCallButton.vue +91 -91
  5. package/ApplicantInfo.vue +100 -100
  6. package/AssignmentBulkDialog.vue +153 -153
  7. package/AssignmentDialog.vue +117 -117
  8. package/AssignmentSummary.vue +75 -75
  9. package/BackgroundBadge.vue +83 -83
  10. package/BackgroundDetailCrime.vue +78 -78
  11. package/BackgroundDetailPluralMarriage.vue +43 -43
  12. package/BackgroundDetailSexRegistry.vue +43 -43
  13. package/BackgroundDetailUniversity.vue +37 -37
  14. package/CHANGELOG.md +676 -665
  15. package/Dashboard.vue +201 -201
  16. package/DashboardApplicationList.vue +50 -50
  17. package/DecisionDialog.vue +178 -178
  18. package/Details.vue +124 -124
  19. package/DetailsActivity.vue +59 -59
  20. package/DetailsBackground.vue +143 -143
  21. package/DetailsBackgroundDetail.vue +47 -47
  22. package/DetailsBackgroundSummary.vue +66 -66
  23. package/DetailsCesHold.vue +107 -107
  24. package/DetailsCollege.vue +93 -93
  25. package/DetailsContact.vue +65 -65
  26. package/DetailsDecision.vue +183 -183
  27. package/DetailsDecisionHistory.vue +56 -56
  28. package/DetailsEndorsement.vue +74 -74
  29. package/DetailsEssay.vue +59 -59
  30. package/DetailsFilenote.vue +62 -62
  31. package/DetailsFilenoteList.vue +109 -109
  32. package/DetailsFlagSection.vue +176 -176
  33. package/DetailsHeader.vue +263 -263
  34. package/DetailsHighSchool.vue +99 -99
  35. package/DetailsHsTranscript.vue +100 -100
  36. package/DetailsInstitute.vue +90 -90
  37. package/DetailsMission.vue +88 -88
  38. package/DetailsNewAppHistory.vue +50 -50
  39. package/DetailsNotes.vue +83 -83
  40. package/DetailsPathway.vue +45 -45
  41. package/DetailsScoringSection.vue +128 -128
  42. package/DetailsSection.vue +116 -116
  43. package/DetailsSeminary.vue +184 -184
  44. package/DetailsSrs.vue +52 -52
  45. package/DetailsSubnav.vue +54 -54
  46. package/DetailsTestScores.vue +131 -131
  47. package/ExpandIndicator.vue +75 -75
  48. package/ExternalLink.vue +34 -34
  49. package/FilterBreadcrumb.vue +85 -85
  50. package/FilterButton.vue +86 -86
  51. package/FilterButtonAdmitPeriod.vue +104 -109
  52. package/FilterButtonAppType.vue +103 -103
  53. package/FilterButtonAssignedTo.vue +96 -96
  54. package/FilterButtonClearFilters.vue +65 -65
  55. package/FilterButtonSex.vue +105 -105
  56. package/FlagButton.vue +59 -59
  57. package/FlagDialog.vue +129 -129
  58. package/Footer.vue +432 -432
  59. package/Header.vue +132 -132
  60. package/HighSchoolSummary.vue +60 -60
  61. package/InternationalIndicator.vue +44 -44
  62. package/InternationalStatus.vue +48 -48
  63. package/LICENSE +201 -201
  64. package/LoadingBadge.vue +58 -58
  65. package/ManageAssignments.vue +123 -123
  66. package/NoAuth.vue +14 -14
  67. package/NoteDialog.vue +106 -106
  68. package/ObjectViewer.vue +49 -49
  69. package/Queues.vue +268 -268
  70. package/QuickLinks.vue +25 -25
  71. package/README.md +2 -2
  72. package/RecentApplications.vue +53 -53
  73. package/Report.vue +340 -340
  74. package/ReportDetail.vue +279 -279
  75. package/ReportList.vue +87 -87
  76. package/ReportPhotos.vue +65 -65
  77. package/ReportSvg.vue +78 -78
  78. package/ReportViewer.vue +165 -165
  79. package/RequestAccess.vue +14 -14
  80. package/RequestAccessList.vue +45 -45
  81. package/RoleSelector.vue +29 -29
  82. package/Search.vue +22 -22
  83. package/ShowApplicantIds.vue +100 -0
  84. package/SortableHeader.vue +53 -53
  85. package/Spinner.vue +34 -34
  86. package/StarredIndicator.vue +36 -36
  87. package/StatBox.vue +73 -73
  88. package/StatCharts.vue +196 -196
  89. package/SupportDialog.vue +172 -172
  90. package/UserInfo.vue +52 -52
  91. package/YesNoIndicator.vue +48 -48
  92. package/dateTimeFormat.js +67 -67
  93. package/gpaCalculation.js +162 -162
  94. package/gpaFilter.js +5 -5
  95. package/hsSummary.json +2019 -2019
  96. package/package.json +36 -36
  97. package/parsers/application.js +396 -396
  98. package/parsers/decisionHistory.js +27 -27
  99. package/parsers/filenotes.js +27 -27
  100. package/parsers/notes.js +49 -49
  101. package/parsers/packet.js +88 -88
  102. package/parsers/packetList.js +57 -57
  103. package/parsers/reports.js +13 -13
  104. package/sat2Act.js +46 -46
  105. package/test.js +48 -48
  106. package/themes/ByuiFooter.vue +38 -38
  107. package/themes/ByuiHeader.vue +96 -96
  108. package/themes/LdsbcFooter.vue +38 -38
  109. package/themes/LdsbcHeader.vue +100 -100
  110. package/vuexModules/application/activity.js +32 -32
  111. package/vuexModules/application/applicationList.js +71 -71
  112. package/vuexModules/application/background.js +47 -47
  113. package/vuexModules/application/bio.js +38 -38
  114. package/vuexModules/application/citizenship.js +30 -30
  115. package/vuexModules/application/collegeSummaries.js +32 -32
  116. package/vuexModules/application/essay.js +26 -26
  117. package/vuexModules/application/highSchoolSummaries.js +40 -40
  118. package/vuexModules/application/index.js +157 -157
  119. package/vuexModules/application/institute.js +30 -30
  120. package/vuexModules/application/mission.js +48 -48
  121. package/vuexModules/application/personalRecords.js +24 -24
  122. package/vuexModules/application/questions.js +23 -23
  123. package/vuexModules/application/seminary.js +39 -39
  124. package/vuexModules/application/testScores.js +26 -26
  125. package/vuexModules/notes/index.js +22 -22
  126. package/vuexModules/packet/decision.js +43 -43
  127. package/vuexModules/packet/decisionHistory.js +28 -28
  128. package/vuexModules/packet/flags.js +174 -174
  129. package/vuexModules/packet/index.js +52 -52
  130. package/vuexModules/packet/packetList.js +127 -127
  131. package/vuexModules/packet/processes.js +28 -28
  132. package/vuexModules/reports/index.js +32 -32
  133. package/vuexModules/ui/index.js +56 -56
  134. package/vuexModules/users/index.js +46 -46
  135. 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
+ }