@byu-oit/vue-decision-processing-components 8.25.0 → 8.25.3

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 CHANGED
@@ -2,6 +2,28 @@
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.3](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.25.2...v8.25.3) (2022-05-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add date processed to the test scores table ([43bee99](https://github.com/byu-oit/vue-decision-processing-components/commit/43bee99552378bb21d841d951f8beec1b8ba0ca4))
11
+
12
+ ### [8.25.2](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.25.1...v8.25.2) (2022-03-25)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * provide a default value if no match found ([4a086bb](https://github.com/byu-oit/vue-decision-processing-components/commit/4a086bb7a55a017894e3a45470ca510140f3afe2))
18
+ * use v-show instead of v-if so that the dom elements will exist whether or not the section is expanded ([8480266](https://github.com/byu-oit/vue-decision-processing-components/commit/8480266a651b6c364172d425d82a4aadc402eceb))
19
+
20
+ ### [8.25.1](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.25.0...v8.25.1) (2022-02-03)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * 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))
26
+
5
27
  ## [8.25.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.24.0...v8.25.0) (2022-01-31)
6
28
 
7
29
 
@@ -21,7 +21,7 @@
21
21
  <slot name="summary"></slot>
22
22
  </div>
23
23
  <ExpandIndicator v-if="hasDetail" :collapsed="collapsed" @update:collapsed="changeCollapse" class="more" />
24
- <div v-if="hasDetail && !collapsed" class="detail">
24
+ <div v-show="hasDetail && !collapsed" class="detail">
25
25
  <slot></slot>
26
26
  </div>
27
27
  </div>
@@ -18,7 +18,8 @@
18
18
  <thead>
19
19
  <tr>
20
20
  <th>Test Name</th>
21
- <th>Date</th>
21
+ <th>Test Date</th>
22
+ <th>Date Processed</th>
22
23
  <th class="composite">Composite Score</th>
23
24
  <th>Scores</th>
24
25
  </tr>
@@ -37,6 +38,7 @@
37
38
  </template>
38
39
  </td>
39
40
  <td>{{ts.testDate | dateFormat}}</td>
41
+ <td>{{ts.dateProcessed | dateFormat}}</td>
40
42
  <td v-if="/^SAT/.test(ts.testName)" class="composite">
41
43
  <span class="badge badge-primary x-lg">{{ts.compositeScore}}</span>
42
44
  <br>
package/ReportDetail.vue CHANGED
@@ -157,7 +157,7 @@ export default {
157
157
  },
158
158
  computed: {
159
159
  csvDataEncoded () {
160
- const encoded = window.encodeURI(this.csv)
160
+ const encoded = window.encodeURIComponent(this.csv)
161
161
  return `data:text/csv;charset=utf-8,${encoded}`
162
162
  },
163
163
  rowCount () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byu-oit/vue-decision-processing-components",
3
- "version": "8.25.0",
3
+ "version": "8.25.3",
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",
@@ -114,6 +114,7 @@ export const parseMissions = (mission, personal) => {
114
114
  case 'F': return 'Full-Time'
115
115
  case 'P': return 'Part-Time'
116
116
  case 'S': return 'Service'
117
+ default: return ''
117
118
  }
118
119
  }
119
120
  return {
@@ -213,6 +214,7 @@ export const parseTestScores = a => {
213
214
  const testScores = get(a, 'values', []).map(t => {
214
215
  return {
215
216
  testDate: get(t, 'test_date.value'),
217
+ dateProcessed: get(t, 'date_time_reported.value'),
216
218
  testName: get(t, 'test_name.value'),
217
219
  testComponents: get(t, 'test_components').map(parseTestComponents),
218
220
  compositeScore: get(t, 'composite_score.value'),
@@ -2,6 +2,7 @@
2
2
  * shape of test scores:
3
3
  * {
4
4
  * testDate: '',
5
+ * dateProcessed: '',
5
6
  * testName: '',
6
7
  * testComponents: '',
7
8
  * compositeScore: '',