@byu-oit/vue-decision-processing-components 8.26.1 → 8.27.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/ApplicantInfo.vue +16 -2
- package/CHANGELOG.md +14 -0
- package/DetailsHeader.vue +4 -1
- package/package.json +1 -1
package/ApplicantInfo.vue
CHANGED
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
<template>
|
|
17
17
|
<div class="applicant" slot="applicantInfo">
|
|
18
18
|
<em>{{ applicantType }}</em>
|
|
19
|
-
<div>
|
|
19
|
+
<div v-if="compact">
|
|
20
|
+
{{ netId }}
|
|
21
|
+
</div>
|
|
22
|
+
<div v-else>
|
|
20
23
|
{{ netId }}
|
|
21
24
|
|
|
|
22
25
|
{{ byuId }}
|
|
@@ -29,7 +32,12 @@
|
|
|
29
32
|
|
|
|
30
33
|
{{ religion }}
|
|
31
34
|
</div>
|
|
32
|
-
<div>
|
|
35
|
+
<div v-if="compact">
|
|
36
|
+
{{ admitPeriod | yearTerm }}
|
|
37
|
+
|
|
|
38
|
+
{{ applicationStatus }}
|
|
39
|
+
</div>
|
|
40
|
+
<div v-else>
|
|
33
41
|
{{ admitPeriod | yearTerm }}
|
|
34
42
|
|
|
|
35
43
|
{{ applicantMajor }}
|
|
@@ -45,6 +53,12 @@ import { mapState } from 'vuex'
|
|
|
45
53
|
export default {
|
|
46
54
|
name: 'ApplicantInfo',
|
|
47
55
|
filters: { dateFormat },
|
|
56
|
+
props: {
|
|
57
|
+
compact: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false
|
|
60
|
+
}
|
|
61
|
+
},
|
|
48
62
|
computed: {
|
|
49
63
|
...mapState({
|
|
50
64
|
applicantType: state => state.packet.applicantType ? state.packet.applicantType : state.application.applicantType,
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.27.1](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.27.0...v8.27.1) (2022-06-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* styling and errors due to (sometimes) missing ref element ([28784c3](https://github.com/byu-oit/vue-decision-processing-components/commit/28784c386f464659a2897242c18f944c8c63f5aa))
|
|
11
|
+
|
|
12
|
+
## [8.27.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.26.1...v8.27.0) (2022-06-07)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* add compact option ([f9b5d98](https://github.com/byu-oit/vue-decision-processing-components/commit/f9b5d986155ccb5aca813466cdf150124b1a2a99))
|
|
18
|
+
|
|
5
19
|
### [8.26.1](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.26.0...v8.26.1) (2022-06-03)
|
|
6
20
|
|
|
7
21
|
|
package/DetailsHeader.vue
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<div class="additional">
|
|
31
31
|
<slot name="additionalInfoCompact"></slot>
|
|
32
32
|
</div>
|
|
33
|
-
<div class="actions bg-light">
|
|
33
|
+
<div class="actions bg-light text-body">
|
|
34
34
|
<slot name="actionsCompact"></slot>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
@@ -118,6 +118,9 @@ export default {
|
|
|
118
118
|
handleScroll () {
|
|
119
119
|
if (!this.hovering) {
|
|
120
120
|
const containerElem = this.$refs.container
|
|
121
|
+
if (!containerElem || !containerElem.getBoundingClientRect) {
|
|
122
|
+
return
|
|
123
|
+
}
|
|
121
124
|
const containerTopY = containerElem.getBoundingClientRect().top
|
|
122
125
|
// Prevent flickering when just over the scroll threshold
|
|
123
126
|
if (this.justShrank) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byu-oit/vue-decision-processing-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.27.1",
|
|
4
4
|
"description": "Vue components shared between decision processing systems for the CES schools.",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@fortawesome/fontawesome-free": "^5.15.4",
|