@byu-oit/vue-decision-processing-components 9.0.11 → 9.0.13

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/Queues.vue CHANGED
@@ -125,7 +125,6 @@ import { mapState, mapGetters, mapActions } from 'vuex'
125
125
  import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
126
126
  import { faAngleDoubleLeft, faAngleDoubleRight, faSync } from '@fortawesome/free-solid-svg-icons'
127
127
  import { dateTimeFormat } from './dateTimeFormat'
128
- import api from '../../../src/api/index'
129
128
  const pageSlice = (curr, total) => {
130
129
  console.log(`in page Slice\ncurr=${curr}, total=${total}`)
131
130
  if (curr < 4) {
package/ReportDetail.vue CHANGED
@@ -101,7 +101,6 @@
101
101
  </div>
102
102
  </template>
103
103
  <script>
104
- import isIsoDate from 'is-iso-date'
105
104
  import { dateFormat, dateTimeFormat, yearTermLongFormat } from './dateTimeFormat'
106
105
  import FilterButton from './FilterButton'
107
106
  import SortableHeader from './SortableHeader'
@@ -168,7 +167,10 @@ export default {
168
167
  }
169
168
  },
170
169
  methods: {
171
- isIsoDate,
170
+ isIsoDate (str) {
171
+ const isoDatePattern = /(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/i
172
+ return isoDatePattern.test(str)
173
+ },
172
174
  isUuid (val) {
173
175
  const uuidPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i
174
176
  return uuidPattern.test(val)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byu-oit/vue-decision-processing-components",
3
- "version": "9.0.11",
3
+ "version": "9.0.13",
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",