diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 951d8ca8..54b92859 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -55,6 +55,24 @@ move into Options object these things: :rows-per-page-items="rowsPerPageItems" :rows-per-page-text="lt('RowsPerPage')" select-all + + +Errors are probably due to Options object missing some properties or not as expected, here is the code that is bombing that references this.options. object: + const sortIndex = this.options.sortBy.findIndex(k => k === header.value);\n const beingSorted + = sortIndex >= 0;\n const isDesc = this.options.sortDesc[sortIndex];\n classes.push('sortable');\n\n + if (beingSorted) {\n classes.push('active');\n classes.push(isDesc ? 'desc' : 'asc');\n + attrs['aria-sort'] = isDesc ? 'descending' : 'ascending';\n + attrs['aria-label'] += isDesc ? this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortDescending') : + this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortAscending');\n } else {\n + attrs['aria-label'] += this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortNone');\n }\n\n + if (header.align === 'end') children.unshift(this.genSortIcon());else children.push(this.genSortIcon());\n\n + if (this.options.multiSort && beingSorted) {\n children.push(t + + +Vuetify dialog changes - https://github.com/yariksav/vuetify-dialog/issues/46 + +DIALOG - Rethinking the dialog component I'm using, it appears to be buggy with the new vuetify version and it's a 3rd party black box of confusion at times. Vuetify has a built in dialog, not as specialized and windows-y (alert, danger, info etc) but it could be made to work and then I'm not reliant on one more thing +OTHER 3rd PARTY - examine any other 3rd party client stuff being used and see if can replace it with anything in Vuetify or Vue itself, less dependencies the better! ================================================= diff --git a/ayanova/package-lock.json b/ayanova/package-lock.json index ec463d33..71d7c8c5 100644 --- a/ayanova/package-lock.json +++ b/ayanova/package-lock.json @@ -18311,11 +18311,6 @@ "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz", "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" }, - "vue-asyncable": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/vue-asyncable/-/vue-asyncable-0.2.0.tgz", - "integrity": "sha512-AKuYhnjwMVrOgPct9WYbK4S7aMaHbWbznWY8IrCJsHS0pyEZc7lnpilJLGhH3MmRoQL43M0ofPJyHuxnu30McQ==" - }, "vue-cli-plugin-vuetify": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/vue-cli-plugin-vuetify/-/vue-cli-plugin-vuetify-1.1.1.tgz", @@ -18402,27 +18397,15 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, - "vuedl": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/vuedl/-/vuedl-0.3.5.tgz", - "integrity": "sha512-AswpVvywM2bhQCDBL4llg4oMGSHWGJbxSr3MmrAX+09HBD2wS3+vA27WrqybFvV1ioUx4TwJ99wGnBizCgy4aA==", - "requires": { - "vue-asyncable": "^0.2.0" - } - }, "vuetify": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.1.6.tgz", "integrity": "sha512-uK5jNTbRQtnPRMDsBeXOSVgo0nKDNq7XDi987XVhK6Vb5dl6Y5kSFBFDHPpdzSUraeUtyDHrJWxq29NTPIbdFw==" }, "vuetify-dialog": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/vuetify-dialog/-/vuetify-dialog-0.3.8.tgz", - "integrity": "sha512-Ab6hi729oeqFmCQgjsC69XUYYRirhNpawiA7fil2UcxxS0UAJ9i0U5HRlpdHRBEovlYU/yVZv7yuD22At+JnSw==", - "requires": { - "vue-asyncable": "^0.2.0", - "vuedl": "^0.3.3" - } + "version": "1.0.0-alpha.5", + "resolved": "https://registry.npmjs.org/vuetify-dialog/-/vuetify-dialog-1.0.0-alpha.5.tgz", + "integrity": "sha512-Rh1OaOvIlBKerYkgPF77WzWQ5m18RKc/4kvZvFnSBVGTrokpY/j+pd/dvaiqLQJZjAzgXqQrC/YLIMKOtHNthg==" }, "vuetify-loader": { "version": "1.3.0", diff --git a/ayanova/package.json b/ayanova/package.json index df7bc19c..ba66a8e3 100644 --- a/ayanova/package.json +++ b/ayanova/package.json @@ -20,9 +20,9 @@ "typeface-roboto": "0.0.54", "vue": "^2.6.10", "vue-router": "^3.1.3", - "vuex": "^3.0.1", "vuetify": "^2.1.6", - "vuetify-dialog": "^0.3.8", + "vuetify-dialog": "^1.0.0-alpha.5", + "vuex": "^3.0.1", "vuex-persistedstate": "^2.5.4" }, "devDependencies": { diff --git a/ayanova/src/api/errorhandler.js b/ayanova/src/api/errorhandler.js index 1fa5e2a5..6c23c079 100644 --- a/ayanova/src/api/errorhandler.js +++ b/ayanova/src/api/errorhandler.js @@ -1,4 +1,4 @@ -/* Xeslint-disable */ +/* eslint-disable */ var devModeShowErrors = false; @@ -15,6 +15,7 @@ function dealWithError(msg, vm) { } window.$gz.store.commit("logItem", msg); if (devModeShowErrors) { + debugger; var errMsg = "DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" + msg; diff --git a/ayanova/src/components/inventorywidgetlist.vue b/ayanova/src/components/inventorywidgetlist.vue index 1a28bf70..4ad72f91 100644 --- a/ayanova/src/components/inventorywidgetlist.vue +++ b/ayanova/src/components/inventorywidgetlist.vue @@ -86,7 +86,7 @@