@byu-oit/vue-decision-processing-components 8.23.4 → 8.25.1
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/CHANGELOG.md +28 -0
- package/DetailsContact.vue +4 -0
- package/DetailsNewAppHistory.vue +50 -0
- package/DetailsScoringSection.vue +7 -2
- package/ReportDetail.vue +1 -1
- package/package.json +8 -8
- package/vuexModules/application/index.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [8.25.1](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.25.0...v8.25.1) (2022-02-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* need to use encodeURIComponent as encodeURI will not escape valid URL characters like # that need to be encoded within our data urls ([48c601d](https://github.com/byu-oit/vue-decision-processing-components/commit/48c601de64339bda0abd00c636897ccc454af2c8))
|
|
11
|
+
|
|
12
|
+
## [8.25.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.24.0...v8.25.0) (2022-01-31)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* component for application history in the new app service(s) ([deebecb](https://github.com/byu-oit/vue-decision-processing-components/commit/deebecb8dd64f67388cb5fe5712bfddad7ca4b83))
|
|
18
|
+
|
|
19
|
+
## [8.24.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.23.5...v8.24.0) (2022-01-14)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add whatsapp to dp for all schools ([b1362ff](https://github.com/byu-oit/vue-decision-processing-components/commit/b1362ffc9d3d662635b3a3db911bf196442308cb))
|
|
25
|
+
|
|
26
|
+
### [8.23.5](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.23.4...v8.23.5) (2021-10-08)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* make scores sticky ([506ff35](https://github.com/byu-oit/vue-decision-processing-components/commit/506ff3500bdbcb2adee3f351218685b988ba1a71))
|
|
32
|
+
|
|
5
33
|
### [8.23.3](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.23.2...v8.23.3) (2021-09-13)
|
|
6
34
|
|
|
7
35
|
### [8.23.2](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.23.1...v8.23.2) (2021-07-22)
|
package/DetailsContact.vue
CHANGED
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
<strong>e:</strong> <a v-if="application.emailAddress" :href="`mailto:${application.emailAddress}`">{{application.emailAddress}}</a>
|
|
25
25
|
<br>
|
|
26
26
|
<strong>p:</strong> {{application.phoneNumber}}
|
|
27
|
+
<template v-if="application.whatsappNumber">
|
|
28
|
+
<br>
|
|
29
|
+
<strong>WhatsApp:</strong> {{application.whatsappNumber}}
|
|
30
|
+
</template>
|
|
27
31
|
</span>
|
|
28
32
|
</div>
|
|
29
33
|
</template>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2022 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-sm table-borderless">
|
|
18
|
+
<thead>
|
|
19
|
+
<tr>
|
|
20
|
+
<th>Admit Period</th>
|
|
21
|
+
<th>Applicant Type</th>
|
|
22
|
+
<th>Status</th>
|
|
23
|
+
<th>Decision</th>
|
|
24
|
+
<th>Date</th>
|
|
25
|
+
</tr>
|
|
26
|
+
</thead>
|
|
27
|
+
<tbody>
|
|
28
|
+
<tr v-for="row of newAppHistory.applicationList" :key="row.appId">
|
|
29
|
+
<td>{{row.admitPeriod | yearTermLongFormat}}</td>
|
|
30
|
+
<td>{{row.applicantType}}</td>
|
|
31
|
+
<td>{{row.status}}</td>
|
|
32
|
+
<td>{{row.decision}}</td>
|
|
33
|
+
<td>{{row.decisionDateTime | dateFormat}}</td>
|
|
34
|
+
</tr>
|
|
35
|
+
</tbody>
|
|
36
|
+
</table>
|
|
37
|
+
</template>
|
|
38
|
+
<script>
|
|
39
|
+
import { mapState } from 'vuex'
|
|
40
|
+
import { dateFormat, yearTermLongFormat } from './dateTimeFormat'
|
|
41
|
+
|
|
42
|
+
export default {
|
|
43
|
+
name: 'DetailsDecisionHistory',
|
|
44
|
+
filters: { dateFormat, yearTermLongFormat },
|
|
45
|
+
computed: {
|
|
46
|
+
...mapState(['newAppHistory'])
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
</script>
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
<div class="score-section">
|
|
29
29
|
<div class="header bg-light">Score</div>
|
|
30
30
|
<div class="score-container">
|
|
31
|
-
<
|
|
31
|
+
<div class="sticky-score">
|
|
32
|
+
<slot name="score"></slot>
|
|
33
|
+
</div>
|
|
32
34
|
</div>
|
|
33
35
|
</div>
|
|
34
36
|
</div>
|
|
@@ -76,7 +78,6 @@
|
|
|
76
78
|
margin-bottom: 1rem;
|
|
77
79
|
border-width: medium;
|
|
78
80
|
border-style: solid;
|
|
79
|
-
overflow: auto;
|
|
80
81
|
}
|
|
81
82
|
.main-section {
|
|
82
83
|
display: grid;
|
|
@@ -119,5 +120,9 @@
|
|
|
119
120
|
grid-area: score;
|
|
120
121
|
padding: 0.7rem;
|
|
121
122
|
}
|
|
123
|
+
.sticky-score {
|
|
124
|
+
position: sticky;
|
|
125
|
+
top: 9rem;
|
|
126
|
+
}
|
|
122
127
|
|
|
123
128
|
</style>
|
package/ReportDetail.vue
CHANGED
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byu-oit/vue-decision-processing-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.25.1",
|
|
4
4
|
"description": "Vue components shared between decision processing systems for the CES schools.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@fortawesome/fontawesome-free": "^5.15.
|
|
7
|
-
"@fortawesome/fontawesome-svg-core": "^1.2.
|
|
8
|
-
"@fortawesome/free-regular-svg-icons": "^5.15.
|
|
9
|
-
"@fortawesome/free-solid-svg-icons": "^5.15.
|
|
10
|
-
"@fortawesome/vue-fontawesome": "^2.0.
|
|
6
|
+
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
7
|
+
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
|
8
|
+
"@fortawesome/free-regular-svg-icons": "^5.15.4",
|
|
9
|
+
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
10
|
+
"@fortawesome/vue-fontawesome": "^2.0.6",
|
|
11
11
|
"csv-string": "^4.0.1",
|
|
12
12
|
"is-iso-date": "0.0.1",
|
|
13
13
|
"lodash.get": "^4.4.2",
|
|
14
14
|
"lodash.range": "^3.2.0",
|
|
15
15
|
"s-age": "^1.1.2",
|
|
16
|
-
"vue2-datepicker": "^3.
|
|
16
|
+
"vue2-datepicker": "^3.10.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"standard-version": "^9.
|
|
19
|
+
"standard-version": "^9.3.2"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"repository": {
|
|
@@ -26,6 +26,7 @@ export const state = {
|
|
|
26
26
|
netId: '',
|
|
27
27
|
personId: '',
|
|
28
28
|
phoneNumber: '',
|
|
29
|
+
whatsappNumber: '',
|
|
29
30
|
preferredName: '',
|
|
30
31
|
previousName: '',
|
|
31
32
|
schoolPreferenceOrder: [],
|
|
@@ -62,6 +63,7 @@ export const mutations = {
|
|
|
62
63
|
state.netId = application.netId
|
|
63
64
|
state.personId = application.personId
|
|
64
65
|
state.phoneNumber = application.phoneNumber
|
|
66
|
+
state.whatsappNumber = application.whatsappNumber
|
|
65
67
|
state.preferredName = application.preferredName
|
|
66
68
|
state.previousName = application.previousName
|
|
67
69
|
state.schoolPreferenceOrder = application.schoolPreferenceOrder
|
|
@@ -82,6 +84,7 @@ export const mutations = {
|
|
|
82
84
|
state.netId = ''
|
|
83
85
|
state.personId = ''
|
|
84
86
|
state.phoneNumber = ''
|
|
87
|
+
state.whatsappNumber = ''
|
|
85
88
|
state.preferredName = ''
|
|
86
89
|
state.previousName = ''
|
|
87
90
|
state.schoolPreferenceOrder = []
|