@byu-oit/vue-decision-processing-components 8.37.0-3 → 9.0.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 +39 -1
- package/CHANGELOG.md +10 -0
- package/DetailsFilenoteList.vue +7 -12
- package/LICENSE +1 -1
- package/Report.vue +4 -10
- package/SupportDialog.vue +3 -6
- package/package.json +1 -1
- package/.repo-meta.yml +0 -55
package/ApplicantInfo.vue
CHANGED
|
@@ -31,6 +31,11 @@
|
|
|
31
31
|
{{ sex }}
|
|
32
32
|
|
|
|
33
33
|
{{ religion }}
|
|
34
|
+
<div class="tooltip-container">
|
|
35
|
+
<span class="tooltip-trigger" :data-tooltip="religionFullName">
|
|
36
|
+
{{ religionCode }}
|
|
37
|
+
</span>
|
|
38
|
+
</div>
|
|
34
39
|
</div>
|
|
35
40
|
<div v-if="compact">
|
|
36
41
|
{{ admitPeriod | yearTerm }}
|
|
@@ -70,7 +75,8 @@ export default {
|
|
|
70
75
|
age: state => state.application.personalRecords.age,
|
|
71
76
|
sex: state => state.application.personalRecords.sex,
|
|
72
77
|
applicationStatus: state => state.application.applicationStatus,
|
|
73
|
-
|
|
78
|
+
religionCode: state => state.application.mission.religionCode,
|
|
79
|
+
religionFullName: state => state.application.mission.religion
|
|
74
80
|
})
|
|
75
81
|
}
|
|
76
82
|
}
|
|
@@ -97,4 +103,36 @@ export default {
|
|
|
97
103
|
vertical-align: middle;
|
|
98
104
|
line-height: 1.55em;
|
|
99
105
|
}
|
|
106
|
+
|
|
107
|
+
.tooltip-container {
|
|
108
|
+
position: relative;
|
|
109
|
+
display: inline-block;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.tooltip-trigger {
|
|
113
|
+
position: relative;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.tooltip-trigger::after {
|
|
118
|
+
content: attr(data-tooltip);
|
|
119
|
+
position: absolute;
|
|
120
|
+
bottom: 125%;
|
|
121
|
+
left: 50%;
|
|
122
|
+
transform: translateX(-50%);
|
|
123
|
+
background-color: #333;
|
|
124
|
+
color: white;
|
|
125
|
+
padding: 5px 10px;
|
|
126
|
+
border-radius: 4px;
|
|
127
|
+
font-size: 14px;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
opacity: 0;
|
|
130
|
+
visibility: hidden;
|
|
131
|
+
transition: opacity 0.3s, visibility 0.3s;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.tooltip-trigger:hover::after {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
visibility: visible;
|
|
137
|
+
}
|
|
100
138
|
</style>
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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.37.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.37.0-2...v8.37.0) (2024-10-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* api calls ([3c4dd71](https://github.com/byu-oit/vue-decision-processing-components/commit/3c4dd71dc2b24323e1b8179462a8084ee422805f))
|
|
11
|
+
* fetch request ([c44d2d1](https://github.com/byu-oit/vue-decision-processing-components/commit/c44d2d104168a0d1975c54b8cd95af4df20fb6c4))
|
|
12
|
+
* update yapi base url ([9f5198e](https://github.com/byu-oit/vue-decision-processing-components/commit/9f5198e6a0c8b2302b84c50a91f9ea3f60dd6e3e))
|
|
13
|
+
* ymessage api ([349924f](https://github.com/byu-oit/vue-decision-processing-components/commit/349924f3e7a7c3ba5ae2c925369141293df3e28e))
|
|
14
|
+
|
|
5
15
|
### [8.35.8](https://github.com/byu-oit/vue-decision-processing-components/compare/v.8.35.8...v8.35.7) (2023-12-13)
|
|
6
16
|
|
|
7
17
|
### Bug Fixes
|
package/DetailsFilenoteList.vue
CHANGED
|
@@ -79,24 +79,19 @@ export default {
|
|
|
79
79
|
q.append('categoryId', 'CESADM')
|
|
80
80
|
q.append('sortAscending', 'true')
|
|
81
81
|
q.append('results', '100')
|
|
82
|
-
const url =
|
|
82
|
+
const url = `/api/ymessage/student-overview/${personId}?${q.toString()}`
|
|
83
83
|
|
|
84
|
-
const headers = {
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
const { body, status } = await window.byu.auth.request({ url, headers })
|
|
84
|
+
const headers = { accept: 'application/json' }
|
|
85
|
+
const response = await fetch(url, { headers })
|
|
88
86
|
|
|
89
|
-
if (
|
|
90
|
-
console.error(Error(`Unable to load filenotes! Error code ${status}`))
|
|
87
|
+
if (!response.ok) {
|
|
88
|
+
console.error(new Error(`Unable to load filenotes! Error code ${response.status}`))
|
|
91
89
|
this.error = true
|
|
92
90
|
return
|
|
93
91
|
}
|
|
94
92
|
|
|
95
|
-
const data =
|
|
96
|
-
|
|
97
|
-
console.log('DetailsFilenoteList.vue::parsedFilenotes=', parsedFilenotes)
|
|
98
|
-
// const count = data.totalResults
|
|
99
|
-
this.filenotes = parsedFilenotes
|
|
93
|
+
const data = await response.json()
|
|
94
|
+
this.filenotes = parseFilenotes(data.results)
|
|
100
95
|
this.loaded = true
|
|
101
96
|
} catch (err) {
|
|
102
97
|
console.error(err)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2024 Brigham Young University
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/Report.vue
CHANGED
|
@@ -238,20 +238,15 @@ export default {
|
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
async loadReport (url, acceptHeader) {
|
|
241
|
-
const options = {
|
|
242
|
-
headers: {
|
|
243
|
-
'authorization': `Bearer ${window.byu.auth.accessToken}`,
|
|
244
|
-
'accept': acceptHeader
|
|
245
|
-
},
|
|
246
|
-
cache: 'no-store'
|
|
247
|
-
}
|
|
248
241
|
try {
|
|
249
|
-
const response = await fetch(url,
|
|
242
|
+
const response = await fetch(url, {
|
|
243
|
+
headers: { accept: acceptHeader },
|
|
244
|
+
cache: 'no-store'
|
|
245
|
+
})
|
|
250
246
|
if (!response.ok) {
|
|
251
247
|
this.error = true
|
|
252
248
|
const err = Error(`Error ${response.status}-'${response.statusText}' while fetching report from ${url}`)
|
|
253
249
|
console.error(err)
|
|
254
|
-
console.error(err.stack)
|
|
255
250
|
return null
|
|
256
251
|
}
|
|
257
252
|
this.newCursor = response.headers.get('Cursor')
|
|
@@ -259,7 +254,6 @@ export default {
|
|
|
259
254
|
} catch (err) {
|
|
260
255
|
this.error = true
|
|
261
256
|
console.error(err)
|
|
262
|
-
console.error(err.stack)
|
|
263
257
|
}
|
|
264
258
|
},
|
|
265
259
|
reloadOnPageBackIntoFocus () {
|
package/SupportDialog.vue
CHANGED
|
@@ -119,20 +119,17 @@ export default {
|
|
|
119
119
|
short_description: this.shortDescription,
|
|
120
120
|
description: [this.description.trim(), '\n', callerId, location.href].join('\n')
|
|
121
121
|
}
|
|
122
|
-
const service = this.institutionSvc === 'byudce' ? 'byudce/clearance' : `${this.institutionSvc}/admission`
|
|
123
122
|
const options = {
|
|
124
|
-
url: `${this.baseUrl}/domain/applications/${service}/v1/proxy/incident`,
|
|
125
123
|
method: 'POST',
|
|
126
|
-
headers: {
|
|
127
|
-
'Content-Type': 'application/json',
|
|
128
|
-
},
|
|
124
|
+
headers: { 'Content-Type': 'application/json' },
|
|
129
125
|
body: JSON.stringify({
|
|
130
126
|
...body,
|
|
131
127
|
...this.email !== '' && { u_email: this.email }
|
|
132
128
|
})
|
|
133
129
|
}
|
|
130
|
+
|
|
134
131
|
this.incrementFetchCount()
|
|
135
|
-
const { status } = await
|
|
132
|
+
const { status } = await fetch(`/api/app/proxy/incident`, options)
|
|
136
133
|
this.decrementFetchCount()
|
|
137
134
|
if (status < 400) {
|
|
138
135
|
this.success = true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byu-oit/vue-decision-processing-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.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",
|
package/.repo-meta.yml
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# For full spec reference see https://github.com/byu-oit/repo-meta/blob/master/repo-meta-template.yml
|
|
2
|
-
# This file was automatically generated. It is used for various integrations like creating and updating Software CIs in the CMDB.
|
|
3
|
-
# You are required to maintain Software CI records in the CMDB for all of the deployable software artifacts you maintain.
|
|
4
|
-
# You can fill in the information here and have the integration do that for you or you can do that yourself manually.
|
|
5
|
-
$schemaver: 2.1
|
|
6
|
-
repo_url: https://github.com/byu-oit/vue-decision-processing-components # optional
|
|
7
|
-
software:
|
|
8
|
-
- name: vue-decision-processing-components # optional
|
|
9
|
-
deploy_to_cmdb: true # optional
|
|
10
|
-
type: ''
|
|
11
|
-
aliases: # optional
|
|
12
|
-
short_description: Vue.js components to be shared between the decision processing
|
|
13
|
-
applications for the various CES Schools. # optional
|
|
14
|
-
assignment_group: gro:OIT-App Dev Student Info Mgmt
|
|
15
|
-
notes: # optional
|
|
16
|
-
maintained_by: # optional
|
|
17
|
-
- arasmus8
|
|
18
|
-
data_sensitivity: internal
|
|
19
|
-
developed_by_byu: true # optional
|
|
20
|
-
ddd: # optional
|
|
21
|
-
business_domain:
|
|
22
|
-
ubiquitous_language_url:
|
|
23
|
-
context_map_url:
|
|
24
|
-
links: # optional
|
|
25
|
-
system_documentation_url: https://github.com/byu-oit/vue-decision-processing-components
|
|
26
|
-
swagger_urls:
|
|
27
|
-
microservice: true # optional
|
|
28
|
-
technologies_used: # optional
|
|
29
|
-
- Vue
|
|
30
|
-
- JavaScript
|
|
31
|
-
- NodeJS
|
|
32
|
-
standard_change_template:
|
|
33
|
-
stages:
|
|
34
|
-
development:
|
|
35
|
-
urls: # optional
|
|
36
|
-
product_page:
|
|
37
|
-
physical_url:
|
|
38
|
-
virtual_url:
|
|
39
|
-
hosting_location: ''
|
|
40
|
-
aws_account: # optional
|
|
41
|
-
relationships: # optional
|
|
42
|
-
depends_on: # optional
|
|
43
|
-
db_read_write:
|
|
44
|
-
db_read_only:
|
|
45
|
-
software:
|
|
46
|
-
supports: # optional
|
|
47
|
-
software:
|
|
48
|
-
service:
|
|
49
|
-
reverse_proxy: # optional
|
|
50
|
-
runs_on: # optional
|
|
51
|
-
server_cluster:
|
|
52
|
-
virtual_server:
|
|
53
|
-
rack_server:
|
|
54
|
-
blade_server:
|
|
55
|
-
data-sensitivity: ''
|