@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.
- package/.github/CODEOWNERS +1 -0
- package/.github/workflows/deploy.yml +40 -50
- package/.repo-meta.yml +55 -55
- package/AdmitPeriodConfig.vue +115 -115
- package/ApiCallButton.vue +91 -91
- package/ApplicantInfo.vue +100 -100
- package/AssignmentBulkDialog.vue +153 -153
- package/AssignmentDialog.vue +117 -117
- package/AssignmentSummary.vue +75 -75
- package/BackgroundBadge.vue +83 -83
- package/BackgroundDetailCrime.vue +78 -78
- package/BackgroundDetailPluralMarriage.vue +43 -43
- package/BackgroundDetailSexRegistry.vue +43 -43
- package/BackgroundDetailUniversity.vue +37 -37
- package/CHANGELOG.md +676 -676
- package/Dashboard.vue +201 -201
- package/DashboardApplicationList.vue +50 -50
- package/DecisionDialog.vue +178 -178
- package/Details.vue +124 -124
- package/DetailsActivity.vue +59 -59
- package/DetailsBackground.vue +143 -143
- package/DetailsBackgroundDetail.vue +47 -47
- package/DetailsBackgroundSummary.vue +66 -66
- package/DetailsCesHold.vue +107 -107
- package/DetailsCollege.vue +93 -93
- package/DetailsContact.vue +65 -65
- package/DetailsDecision.vue +183 -183
- package/DetailsDecisionHistory.vue +56 -56
- package/DetailsEndorsement.vue +74 -74
- package/DetailsEssay.vue +59 -59
- package/DetailsFilenote.vue +62 -62
- package/DetailsFilenoteList.vue +109 -109
- package/DetailsFlagSection.vue +176 -176
- package/DetailsHeader.vue +263 -263
- package/DetailsHighSchool.vue +99 -99
- package/DetailsHsTranscript.vue +100 -100
- package/DetailsInstitute.vue +90 -90
- package/DetailsMission.vue +88 -88
- package/DetailsNewAppHistory.vue +50 -50
- package/DetailsNotes.vue +83 -83
- package/DetailsPathway.vue +45 -45
- package/DetailsScoringSection.vue +128 -128
- package/DetailsSection.vue +116 -116
- package/DetailsSeminary.vue +184 -184
- package/DetailsSrs.vue +52 -52
- package/DetailsSubnav.vue +54 -54
- package/DetailsTestScores.vue +131 -131
- package/ExpandIndicator.vue +75 -75
- package/ExternalLink.vue +34 -34
- package/FilterBreadcrumb.vue +85 -85
- package/FilterButton.vue +86 -86
- package/FilterButtonAdmitPeriod.vue +104 -104
- package/FilterButtonAppType.vue +103 -103
- package/FilterButtonAssignedTo.vue +96 -96
- package/FilterButtonClearFilters.vue +65 -65
- package/FilterButtonSex.vue +105 -105
- package/FlagButton.vue +59 -59
- package/FlagDialog.vue +129 -129
- package/Footer.vue +432 -432
- package/Header.vue +132 -132
- package/HighSchoolSummary.vue +60 -60
- package/InternationalIndicator.vue +44 -44
- package/InternationalStatus.vue +48 -48
- package/LICENSE +201 -201
- package/LoadingBadge.vue +58 -58
- package/ManageAssignments.vue +123 -123
- package/NoAuth.vue +14 -14
- package/NoteDialog.vue +106 -106
- package/ObjectViewer.vue +49 -49
- package/Queues.vue +278 -268
- package/QuickLinks.vue +25 -25
- package/README.md +2 -2
- package/RecentApplications.vue +53 -53
- package/Report.vue +340 -340
- package/ReportDetail.vue +279 -279
- package/ReportList.vue +87 -87
- package/ReportPhotos.vue +65 -65
- package/ReportSvg.vue +78 -78
- package/ReportViewer.vue +165 -165
- package/RequestAccess.vue +14 -14
- package/RequestAccessList.vue +45 -45
- package/RoleSelector.vue +29 -29
- package/Search.vue +22 -22
- package/ShowApplicantIds.vue +100 -100
- package/SortableHeader.vue +53 -53
- package/Spinner.vue +34 -34
- package/StarredIndicator.vue +36 -36
- package/StatBox.vue +73 -73
- package/StatCharts.vue +196 -196
- package/SupportDialog.vue +172 -172
- package/UserInfo.vue +52 -52
- package/YesNoIndicator.vue +48 -48
- package/dateTimeFormat.js +67 -67
- package/gpaCalculation.js +162 -162
- package/gpaFilter.js +5 -5
- package/hsSummary.json +2019 -2019
- package/package.json +37 -36
- package/parsers/application.js +396 -396
- package/parsers/decisionHistory.js +27 -27
- package/parsers/filenotes.js +27 -27
- package/parsers/notes.js +49 -49
- package/parsers/packet.js +88 -88
- package/parsers/packetList.js +57 -57
- package/parsers/reports.js +13 -13
- package/sat2Act.js +46 -46
- package/test.js +48 -48
- package/themes/ByuiFooter.vue +38 -38
- package/themes/ByuiHeader.vue +96 -96
- package/themes/LdsbcFooter.vue +38 -38
- package/themes/LdsbcHeader.vue +100 -100
- package/vuexModules/application/activity.js +32 -32
- package/vuexModules/application/applicationList.js +71 -71
- package/vuexModules/application/background.js +47 -47
- package/vuexModules/application/bio.js +38 -38
- package/vuexModules/application/citizenship.js +30 -30
- package/vuexModules/application/collegeSummaries.js +32 -32
- package/vuexModules/application/essay.js +26 -26
- package/vuexModules/application/highSchoolSummaries.js +40 -40
- package/vuexModules/application/index.js +157 -157
- package/vuexModules/application/institute.js +30 -30
- package/vuexModules/application/mission.js +48 -48
- package/vuexModules/application/personalRecords.js +24 -24
- package/vuexModules/application/questions.js +23 -23
- package/vuexModules/application/seminary.js +39 -39
- package/vuexModules/application/testScores.js +26 -26
- package/vuexModules/notes/index.js +22 -22
- package/vuexModules/packet/decision.js +43 -43
- package/vuexModules/packet/decisionHistory.js +28 -28
- package/vuexModules/packet/flags.js +174 -174
- package/vuexModules/packet/index.js +52 -52
- package/vuexModules/packet/packetList.js +127 -127
- package/vuexModules/packet/processes.js +28 -28
- package/vuexModules/reports/index.js +32 -32
- package/vuexModules/ui/index.js +56 -56
- package/vuexModules/users/index.js +46 -46
- package/yyyyMmFilter.js +7 -7
package/DetailsCesHold.vue
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<div class="ces-hold">
|
|
18
|
-
<span
|
|
19
|
-
v-if="loaded"
|
|
20
|
-
:class="holdSet ? flagClass : noFlagClass"
|
|
21
|
-
>
|
|
22
|
-
<font-awesome-icon :icon="holdIcon" />
|
|
23
|
-
{{ holdSet ? 'CES Standards Hold' : 'No CES Standards Hold' }}
|
|
24
|
-
</span>
|
|
25
|
-
<span v-else-if="error" class="text-error">
|
|
26
|
-
<font-awesome-icon :icon="holdIcon" />
|
|
27
|
-
Error checking CES Standards Hold
|
|
28
|
-
</span>
|
|
29
|
-
<span v-else class="text-gray">
|
|
30
|
-
<font-awesome-icon :icon="spinner" spin />
|
|
31
|
-
Loading...
|
|
32
|
-
</span>
|
|
33
|
-
</div>
|
|
34
|
-
</template>
|
|
35
|
-
<script>
|
|
36
|
-
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
37
|
-
import { faCheck, faExclamationTriangle, faQuestionCircle, faSpinner } from '@fortawesome/free-solid-svg-icons'
|
|
38
|
-
|
|
39
|
-
import { mapState } from 'vuex'
|
|
40
|
-
|
|
41
|
-
export default {
|
|
42
|
-
name: 'DetailsCesHold',
|
|
43
|
-
components: {
|
|
44
|
-
FontAwesomeIcon
|
|
45
|
-
},
|
|
46
|
-
props: {
|
|
47
|
-
flagClass: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: 'text-error'
|
|
50
|
-
},
|
|
51
|
-
noFlagClass: {
|
|
52
|
-
type: String,
|
|
53
|
-
default: 'text-secondary'
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
data () {
|
|
57
|
-
return {
|
|
58
|
-
error: false,
|
|
59
|
-
loaded: false,
|
|
60
|
-
holdSet: false
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
computed: {
|
|
64
|
-
...mapState({
|
|
65
|
-
env: 'environment',
|
|
66
|
-
applicantId: state => state.application.applicantId
|
|
67
|
-
}),
|
|
68
|
-
spinner () { return faSpinner },
|
|
69
|
-
holdIcon () {
|
|
70
|
-
return this.holdSet ? faExclamationTriangle : this.error ? faQuestionCircle : faCheck
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
async mounted () {
|
|
74
|
-
const applicantId = this.applicantId
|
|
75
|
-
if (!applicantId) {
|
|
76
|
-
this.error = true
|
|
77
|
-
return
|
|
78
|
-
}
|
|
79
|
-
try {
|
|
80
|
-
const url = this.env !== 'development'
|
|
81
|
-
? `https://api.byu.edu/recordsYAPI/v1.0/student/byuId/${applicantId.trim()}/CESflagsHolds`
|
|
82
|
-
: `https://api-sandbox.byu.edu/recordsYAPI/v1.0/student/byuId/${applicantId.trim()}/CESflagsHolds`
|
|
83
|
-
const { body, status } = await window.byu.auth.request({ url })
|
|
84
|
-
if (status >= 400) {
|
|
85
|
-
this.error = true
|
|
86
|
-
return
|
|
87
|
-
}
|
|
88
|
-
const data = JSON.parse(body)
|
|
89
|
-
const recordCount = data.metadata.rows
|
|
90
|
-
|
|
91
|
-
if (recordCount > 0) {
|
|
92
|
-
this.holdSet = true
|
|
93
|
-
this.$emit('ces-hold-set')
|
|
94
|
-
} else {
|
|
95
|
-
this.$emit('ces-hold-clear')
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
this.loaded = true
|
|
99
|
-
} catch (err) {
|
|
100
|
-
console.error(err)
|
|
101
|
-
this.error = true
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
</script>
|
|
106
|
-
<style scoped>
|
|
107
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<div class="ces-hold">
|
|
18
|
+
<span
|
|
19
|
+
v-if="loaded"
|
|
20
|
+
:class="holdSet ? flagClass : noFlagClass"
|
|
21
|
+
>
|
|
22
|
+
<font-awesome-icon :icon="holdIcon" />
|
|
23
|
+
{{ holdSet ? 'CES Standards Hold' : 'No CES Standards Hold' }}
|
|
24
|
+
</span>
|
|
25
|
+
<span v-else-if="error" class="text-error">
|
|
26
|
+
<font-awesome-icon :icon="holdIcon" />
|
|
27
|
+
Error checking CES Standards Hold
|
|
28
|
+
</span>
|
|
29
|
+
<span v-else class="text-gray">
|
|
30
|
+
<font-awesome-icon :icon="spinner" spin />
|
|
31
|
+
Loading...
|
|
32
|
+
</span>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
<script>
|
|
36
|
+
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
37
|
+
import { faCheck, faExclamationTriangle, faQuestionCircle, faSpinner } from '@fortawesome/free-solid-svg-icons'
|
|
38
|
+
|
|
39
|
+
import { mapState } from 'vuex'
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
name: 'DetailsCesHold',
|
|
43
|
+
components: {
|
|
44
|
+
FontAwesomeIcon
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
flagClass: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: 'text-error'
|
|
50
|
+
},
|
|
51
|
+
noFlagClass: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: 'text-secondary'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
data () {
|
|
57
|
+
return {
|
|
58
|
+
error: false,
|
|
59
|
+
loaded: false,
|
|
60
|
+
holdSet: false
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
computed: {
|
|
64
|
+
...mapState({
|
|
65
|
+
env: 'environment',
|
|
66
|
+
applicantId: state => state.application.applicantId
|
|
67
|
+
}),
|
|
68
|
+
spinner () { return faSpinner },
|
|
69
|
+
holdIcon () {
|
|
70
|
+
return this.holdSet ? faExclamationTriangle : this.error ? faQuestionCircle : faCheck
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
async mounted () {
|
|
74
|
+
const applicantId = this.applicantId
|
|
75
|
+
if (!applicantId) {
|
|
76
|
+
this.error = true
|
|
77
|
+
return
|
|
78
|
+
}
|
|
79
|
+
try {
|
|
80
|
+
const url = this.env !== 'development'
|
|
81
|
+
? `https://api.byu.edu/recordsYAPI/v1.0/student/byuId/${applicantId.trim()}/CESflagsHolds`
|
|
82
|
+
: `https://api-sandbox.byu.edu/recordsYAPI/v1.0/student/byuId/${applicantId.trim()}/CESflagsHolds`
|
|
83
|
+
const { body, status } = await window.byu.auth.request({ url })
|
|
84
|
+
if (status >= 400) {
|
|
85
|
+
this.error = true
|
|
86
|
+
return
|
|
87
|
+
}
|
|
88
|
+
const data = JSON.parse(body)
|
|
89
|
+
const recordCount = data.metadata.rows
|
|
90
|
+
|
|
91
|
+
if (recordCount > 0) {
|
|
92
|
+
this.holdSet = true
|
|
93
|
+
this.$emit('ces-hold-set')
|
|
94
|
+
} else {
|
|
95
|
+
this.$emit('ces-hold-clear')
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
this.loaded = true
|
|
99
|
+
} catch (err) {
|
|
100
|
+
console.error(err)
|
|
101
|
+
this.error = true
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
</script>
|
|
106
|
+
<style scoped>
|
|
107
|
+
</style>
|
package/DetailsCollege.vue
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<table class="table table-borderless table-sm">
|
|
18
|
-
<thead>
|
|
19
|
-
<tr>
|
|
20
|
-
<th>College</th>
|
|
21
|
-
<th>Degree</th>
|
|
22
|
-
<th>Major</th>
|
|
23
|
-
<th>GPA</th>
|
|
24
|
-
<th>Credits</th>
|
|
25
|
-
<th>Start</th>
|
|
26
|
-
<th>End</th>
|
|
27
|
-
</tr>
|
|
28
|
-
</thead>
|
|
29
|
-
<tbody>
|
|
30
|
-
<tr v-for="(c, i) in collegeSummaries">
|
|
31
|
-
<td>{{c.college}}</td>
|
|
32
|
-
<td>
|
|
33
|
-
{{c.degree}}
|
|
34
|
-
<template v-if="c.degreeDate">
|
|
35
|
-
<br>
|
|
36
|
-
{{c.degreeDate | yyyyMmFilter}}
|
|
37
|
-
</template>
|
|
38
|
-
</td>
|
|
39
|
-
<td>{{c.major}}</td>
|
|
40
|
-
<td>{{c.collegeGpa | gpaFilter}}</td>
|
|
41
|
-
<td>
|
|
42
|
-
{{c.creditHoursGraded}}
|
|
43
|
-
<template v-if="c.gradePointsEarned">
|
|
44
|
-
/
|
|
45
|
-
{{c.gradePointsEarned}}
|
|
46
|
-
</template>
|
|
47
|
-
</td>
|
|
48
|
-
<td>{{c.startMonth}}</td>
|
|
49
|
-
<td>{{c.endMonth}}</td>
|
|
50
|
-
</tr>
|
|
51
|
-
<tr v-if="includeCumulative && collegeSummaries.length > 0">
|
|
52
|
-
<td>Cumulative</td>
|
|
53
|
-
<td></td>
|
|
54
|
-
<td></td>
|
|
55
|
-
<td>{{cumulativeGpa | gpaFilter}}</td>
|
|
56
|
-
<td>{{cumulativeCredits}}</td>
|
|
57
|
-
<td></td>
|
|
58
|
-
<td></td>
|
|
59
|
-
</tr>
|
|
60
|
-
<tr v-if="collegeSummaries.length===0">
|
|
61
|
-
<td colspan="5">No college credit information available</td>
|
|
62
|
-
</tr>
|
|
63
|
-
</tbody>
|
|
64
|
-
</table>
|
|
65
|
-
</template>
|
|
66
|
-
<script>
|
|
67
|
-
import { mapState, mapGetters } from 'vuex'
|
|
68
|
-
import gpaFilter from './gpaFilter'
|
|
69
|
-
import yyyyMmFilter from './yyyyMmFilter'
|
|
70
|
-
|
|
71
|
-
export default {
|
|
72
|
-
name: 'DetailsCollege',
|
|
73
|
-
filters: {
|
|
74
|
-
gpaFilter,
|
|
75
|
-
yyyyMmFilter
|
|
76
|
-
},
|
|
77
|
-
props: {
|
|
78
|
-
collegeFilter: {
|
|
79
|
-
type: String,
|
|
80
|
-
default: 'all',
|
|
81
|
-
validator: val => ['all', 'ces', 'other'].indexOf(val) >= 0
|
|
82
|
-
},
|
|
83
|
-
includeCumulative: Boolean
|
|
84
|
-
},
|
|
85
|
-
computed: {
|
|
86
|
-
...mapState({
|
|
87
|
-
cumulativeGpa: state => state.application.collegeSummaries.cumulativeGpa,
|
|
88
|
-
cumulativeCredits: state => state.application.collegeSummaries.cumulativeCredits
|
|
89
|
-
}),
|
|
90
|
-
...mapGetters(['collegeSummaries'])
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
</script>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<table class="table table-borderless table-sm">
|
|
18
|
+
<thead>
|
|
19
|
+
<tr>
|
|
20
|
+
<th>College</th>
|
|
21
|
+
<th>Degree</th>
|
|
22
|
+
<th>Major</th>
|
|
23
|
+
<th>GPA</th>
|
|
24
|
+
<th>Credits</th>
|
|
25
|
+
<th>Start</th>
|
|
26
|
+
<th>End</th>
|
|
27
|
+
</tr>
|
|
28
|
+
</thead>
|
|
29
|
+
<tbody>
|
|
30
|
+
<tr v-for="(c, i) in collegeSummaries">
|
|
31
|
+
<td>{{c.college}}</td>
|
|
32
|
+
<td>
|
|
33
|
+
{{c.degree}}
|
|
34
|
+
<template v-if="c.degreeDate">
|
|
35
|
+
<br>
|
|
36
|
+
{{c.degreeDate | yyyyMmFilter}}
|
|
37
|
+
</template>
|
|
38
|
+
</td>
|
|
39
|
+
<td>{{c.major}}</td>
|
|
40
|
+
<td>{{c.collegeGpa | gpaFilter}}</td>
|
|
41
|
+
<td>
|
|
42
|
+
{{c.creditHoursGraded}}
|
|
43
|
+
<template v-if="c.gradePointsEarned">
|
|
44
|
+
/
|
|
45
|
+
{{c.gradePointsEarned}}
|
|
46
|
+
</template>
|
|
47
|
+
</td>
|
|
48
|
+
<td>{{c.startMonth}}</td>
|
|
49
|
+
<td>{{c.endMonth}}</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr v-if="includeCumulative && collegeSummaries.length > 0">
|
|
52
|
+
<td>Cumulative</td>
|
|
53
|
+
<td></td>
|
|
54
|
+
<td></td>
|
|
55
|
+
<td>{{cumulativeGpa | gpaFilter}}</td>
|
|
56
|
+
<td>{{cumulativeCredits}}</td>
|
|
57
|
+
<td></td>
|
|
58
|
+
<td></td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr v-if="collegeSummaries.length===0">
|
|
61
|
+
<td colspan="5">No college credit information available</td>
|
|
62
|
+
</tr>
|
|
63
|
+
</tbody>
|
|
64
|
+
</table>
|
|
65
|
+
</template>
|
|
66
|
+
<script>
|
|
67
|
+
import { mapState, mapGetters } from 'vuex'
|
|
68
|
+
import gpaFilter from './gpaFilter'
|
|
69
|
+
import yyyyMmFilter from './yyyyMmFilter'
|
|
70
|
+
|
|
71
|
+
export default {
|
|
72
|
+
name: 'DetailsCollege',
|
|
73
|
+
filters: {
|
|
74
|
+
gpaFilter,
|
|
75
|
+
yyyyMmFilter
|
|
76
|
+
},
|
|
77
|
+
props: {
|
|
78
|
+
collegeFilter: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: 'all',
|
|
81
|
+
validator: val => ['all', 'ces', 'other'].indexOf(val) >= 0
|
|
82
|
+
},
|
|
83
|
+
includeCumulative: Boolean
|
|
84
|
+
},
|
|
85
|
+
computed: {
|
|
86
|
+
...mapState({
|
|
87
|
+
cumulativeGpa: state => state.application.collegeSummaries.cumulativeGpa,
|
|
88
|
+
cumulativeCredits: state => state.application.collegeSummaries.cumulativeCredits
|
|
89
|
+
}),
|
|
90
|
+
...mapGetters(['collegeSummaries'])
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
</script>
|
package/DetailsContact.vue
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<div class="contact">
|
|
18
|
-
<span class="address">
|
|
19
|
-
<ul class="list-unstyled">
|
|
20
|
-
<li v-for="line in application.addressLines">{{line}}</li>
|
|
21
|
-
</ul>
|
|
22
|
-
</span>
|
|
23
|
-
<span class="email">
|
|
24
|
-
<strong>e:</strong> <a v-if="application.emailAddress" :href="`mailto:${application.emailAddress}`">{{application.emailAddress}}</a>
|
|
25
|
-
<br>
|
|
26
|
-
<strong>p:</strong> {{application.phoneNumber}}
|
|
27
|
-
<template v-if="application.whatsappNumber">
|
|
28
|
-
<br>
|
|
29
|
-
<strong>WhatsApp:</strong> {{application.whatsappNumber}}
|
|
30
|
-
</template>
|
|
31
|
-
</span>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
<script>
|
|
35
|
-
import { mapGetters, mapState, mapActions } from 'vuex'
|
|
36
|
-
|
|
37
|
-
export default {
|
|
38
|
-
name: 'DetailsContact',
|
|
39
|
-
props: [
|
|
40
|
-
'viewData'
|
|
41
|
-
],
|
|
42
|
-
computed: {
|
|
43
|
-
...mapState({
|
|
44
|
-
application: 'application'
|
|
45
|
-
}),
|
|
46
|
-
...mapGetters(['loading'])
|
|
47
|
-
},
|
|
48
|
-
filters: {
|
|
49
|
-
wrapInParens(val) {
|
|
50
|
-
if (!val) return ''
|
|
51
|
-
return `(${val})`
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
</script>
|
|
56
|
-
<style scoped>
|
|
57
|
-
.contact {
|
|
58
|
-
padding: 0.5rem 0.5rem 0.5rem 3.5rem;
|
|
59
|
-
font-size: 0.8rem;
|
|
60
|
-
display: flex;
|
|
61
|
-
}
|
|
62
|
-
.email {
|
|
63
|
-
margin-left: 3.5rem;
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<div class="contact">
|
|
18
|
+
<span class="address">
|
|
19
|
+
<ul class="list-unstyled">
|
|
20
|
+
<li v-for="line in application.addressLines">{{line}}</li>
|
|
21
|
+
</ul>
|
|
22
|
+
</span>
|
|
23
|
+
<span class="email">
|
|
24
|
+
<strong>e:</strong> <a v-if="application.emailAddress" :href="`mailto:${application.emailAddress}`">{{application.emailAddress}}</a>
|
|
25
|
+
<br>
|
|
26
|
+
<strong>p:</strong> {{application.phoneNumber}}
|
|
27
|
+
<template v-if="application.whatsappNumber">
|
|
28
|
+
<br>
|
|
29
|
+
<strong>WhatsApp:</strong> {{application.whatsappNumber}}
|
|
30
|
+
</template>
|
|
31
|
+
</span>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
import { mapGetters, mapState, mapActions } from 'vuex'
|
|
36
|
+
|
|
37
|
+
export default {
|
|
38
|
+
name: 'DetailsContact',
|
|
39
|
+
props: [
|
|
40
|
+
'viewData'
|
|
41
|
+
],
|
|
42
|
+
computed: {
|
|
43
|
+
...mapState({
|
|
44
|
+
application: 'application'
|
|
45
|
+
}),
|
|
46
|
+
...mapGetters(['loading'])
|
|
47
|
+
},
|
|
48
|
+
filters: {
|
|
49
|
+
wrapInParens(val) {
|
|
50
|
+
if (!val) return ''
|
|
51
|
+
return `(${val})`
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
</script>
|
|
56
|
+
<style scoped>
|
|
57
|
+
.contact {
|
|
58
|
+
padding: 0.5rem 0.5rem 0.5rem 3.5rem;
|
|
59
|
+
font-size: 0.8rem;
|
|
60
|
+
display: flex;
|
|
61
|
+
}
|
|
62
|
+
.email {
|
|
63
|
+
margin-left: 3.5rem;
|
|
64
|
+
}
|
|
65
|
+
</style>
|