diff --git a/index.html b/index.html index 0e8974f..2492380 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + <%- APP_TITLE %> diff --git a/package-lock.json b/package-lock.json index 006cbe6..a076c92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "axios": "^0.27.0", - "view-design": "^4.7.0", + "view-ui-plus": "^1.0.0-beta.1", "vue": "^3.2.25", "vue-router": "^4.0.14", "vuex": "^4.0.2" @@ -649,7 +649,7 @@ }, "node_modules/async-validator": { "version": "3.5.2", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-3.5.2.tgz", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-3.5.2.tgz", "integrity": "sha512-8eLCg00W9pIRZSB781UUX/H6Oskmm8xloZfr09lz5bikRpBVDlJ3hRVuxxP1SxcwsEYfJ4IU8Q19Y8/893r3rQ==" }, "node_modules/asynckit": { @@ -697,8 +697,8 @@ }, "node_modules/batch-processor": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz", - "integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==" + "resolved": "https://registry.npmjs.org/batch-processor/-/batch-processor-1.0.0.tgz", + "integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=" }, "node_modules/boolbase": { "version": "1.0.0", @@ -918,6 +918,11 @@ "is-what": "^3.14.1" } }, + "node_modules/countup.js": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-1.9.3.tgz", + "integrity": "sha1-zj5QzXFgRB5HjwfaMYle3MDxyd0=" + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -971,6 +976,11 @@ "resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.20.tgz", "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==" }, + "node_modules/dayjs": { + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.2.tgz", + "integrity": "sha512-F4LXf1OeU9hrSYRPTTj/6FbO4HTjPKXvEIC1P2kcnFurViINCVk3ZV0xAS3XVx9MkMsXbbqlK6hjseaYbgKEHw==" + }, "node_modules/debug": { "version": "3.2.7", "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", @@ -988,7 +998,7 @@ }, "node_modules/deepmerge": { "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-2.2.1.tgz", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==", "engines": { "node": ">=0.10.0" @@ -1121,7 +1131,7 @@ }, "node_modules/element-resize-detector": { "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz", + "resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.2.4.tgz", "integrity": "sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==", "dependencies": { "batch-processor": "1.0.0" @@ -2728,7 +2738,7 @@ }, "node_modules/js-calendar": { "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/js-calendar/-/js-calendar-1.2.3.tgz", + "resolved": "https://registry.npmjs.org/js-calendar/-/js-calendar-1.2.3.tgz", "integrity": "sha512-dAA1/Zbp4+c5E+ARCVTIuKepXsNLzSYfzvOimiYD4S5eeP9QuplSHLcdhfqFSwyM1o1u6ku6RRRCyaZ0YAjiBw==" }, "node_modules/js-yaml": { @@ -2881,6 +2891,11 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "node_modules/lodash.chunk": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.chunk/-/lodash.chunk-4.2.0.tgz", + "integrity": "sha1-ZuXOH3btJ7QwPYxlEujRIW6BBrw=" + }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -2889,8 +2904,8 @@ }, "node_modules/lodash.throttle": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" }, "node_modules/lower-case": { "version": "2.0.2", @@ -3119,6 +3134,14 @@ "boolbase": "^1.0.0" } }, + "node_modules/numeral": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/numeral/-/numeral-2.0.6.tgz", + "integrity": "sha1-StCAk21EPCVhrtnyGX7//iX05QY=", + "engines": { + "node": "*" + } + }, "node_modules/object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", @@ -3356,9 +3379,13 @@ }, "node_modules/popper.js": { "version": "1.16.1", - "resolved": "https://registry.npmmirror.com/popper.js/-/popper.js-1.16.1.tgz", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1" + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } }, "node_modules/postcss": { "version": "8.4.12", @@ -3556,6 +3583,11 @@ "node": ">= 10.13.0" } }, + "node_modules/select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, "node_modules/semver": { "version": "5.7.1", "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.1.tgz", @@ -3803,7 +3835,7 @@ }, "node_modules/tinycolor2": { "version": "1.4.2", - "resolved": "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.4.2.tgz", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz", "integrity": "sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==", "engines": { "node": "*" @@ -3902,7 +3934,7 @@ }, "node_modules/v-click-outside-x": { "version": "3.7.1", - "resolved": "https://registry.npmmirror.com/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", + "resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", "integrity": "sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg==", "engines": { "node": ">=8.11.4", @@ -3915,27 +3947,29 @@ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, - "node_modules/view-design": { - "version": "4.7.0", - "resolved": "https://registry.npmmirror.com/view-design/-/view-design-4.7.0.tgz", - "integrity": "sha512-WRvVRfsZciN0aJYlz+6b1zxs5G8tLFb4OUKOu+PiN0QyIGmdgWVziEyEmioYtJahQpueWiQpRYGzyxrpz3UkWQ==", + "node_modules/view-ui-plus": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/view-ui-plus/-/view-ui-plus-1.0.0-beta.1.tgz", + "integrity": "sha512-3uhLGH0bRDTCmTp4qHzeaN6L9qP1alJMOUBcq2JTVUdEfZ2VPyWAmpn2KivlSf6QJ0s2PidO2y1aE/RRUCBK0w==", "dependencies": { "async-validator": "^3.3.0", + "countup.js": "^1.9.3", + "dayjs": "^1.11.0", "deepmerge": "^2.2.1", "element-resize-detector": "^1.2.0", "js-calendar": "^1.2.3", + "lodash.chunk": "^4.2.0", "lodash.throttle": "^4.1.1", + "numeral": "^2.0.6", "popper.js": "^1.14.6", + "select": "^1.1.2", "tinycolor2": "^1.4.1", "v-click-outside-x": "^3.7.1" }, "engines": { - "node": ">=8.9.1", - "npm": ">=5.5.1", + "node": ">=16.14.2", + "npm": ">=8.5.0", "yarn": ">=1.3.2" - }, - "peerDependencies": { - "vue": "^2.6.10" } }, "node_modules/vite": { @@ -4780,7 +4814,7 @@ }, "async-validator": { "version": "3.5.2", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-3.5.2.tgz", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-3.5.2.tgz", "integrity": "sha512-8eLCg00W9pIRZSB781UUX/H6Oskmm8xloZfr09lz5bikRpBVDlJ3hRVuxxP1SxcwsEYfJ4IU8Q19Y8/893r3rQ==" }, "asynckit": { @@ -4819,8 +4853,8 @@ }, "batch-processor": { "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz", - "integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==" + "resolved": "https://registry.npmjs.org/batch-processor/-/batch-processor-1.0.0.tgz", + "integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=" }, "boolbase": { "version": "1.0.0", @@ -5003,6 +5037,11 @@ "is-what": "^3.14.1" } }, + "countup.js": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-1.9.3.tgz", + "integrity": "sha1-zj5QzXFgRB5HjwfaMYle3MDxyd0=" + }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -5044,6 +5083,11 @@ "resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.20.tgz", "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==" }, + "dayjs": { + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.2.tgz", + "integrity": "sha512-F4LXf1OeU9hrSYRPTTj/6FbO4HTjPKXvEIC1P2kcnFurViINCVk3ZV0xAS3XVx9MkMsXbbqlK6hjseaYbgKEHw==" + }, "debug": { "version": "3.2.7", "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", @@ -5061,7 +5105,7 @@ }, "deepmerge": { "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-2.2.1.tgz", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==" }, "define-properties": { @@ -5164,7 +5208,7 @@ }, "element-resize-detector": { "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz", + "resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.2.4.tgz", "integrity": "sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==", "requires": { "batch-processor": "1.0.0" @@ -6285,7 +6329,7 @@ }, "js-calendar": { "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/js-calendar/-/js-calendar-1.2.3.tgz", + "resolved": "https://registry.npmjs.org/js-calendar/-/js-calendar-1.2.3.tgz", "integrity": "sha512-dAA1/Zbp4+c5E+ARCVTIuKepXsNLzSYfzvOimiYD4S5eeP9QuplSHLcdhfqFSwyM1o1u6ku6RRRCyaZ0YAjiBw==" }, "js-yaml": { @@ -6403,6 +6447,11 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "lodash.chunk": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.chunk/-/lodash.chunk-4.2.0.tgz", + "integrity": "sha1-ZuXOH3btJ7QwPYxlEujRIW6BBrw=" + }, "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -6411,8 +6460,8 @@ }, "lodash.throttle": { "version": "4.1.1", - "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", - "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" }, "lower-case": { "version": "2.0.2", @@ -6596,6 +6645,11 @@ "boolbase": "^1.0.0" } }, + "numeral": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/numeral/-/numeral-2.0.6.tgz", + "integrity": "sha1-StCAk21EPCVhrtnyGX7//iX05QY=" + }, "object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", @@ -6779,7 +6833,7 @@ }, "popper.js": { "version": "1.16.1", - "resolved": "https://registry.npmmirror.com/popper.js/-/popper.js-1.16.1.tgz", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==" }, "postcss": { @@ -6938,6 +6992,11 @@ "ajv-keywords": "^3.5.2" } }, + "select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, "semver": { "version": "5.7.1", "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.1.tgz", @@ -7119,7 +7178,7 @@ }, "tinycolor2": { "version": "1.4.2", - "resolved": "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.4.2.tgz", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz", "integrity": "sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==" }, "to-regex-range": { @@ -7200,7 +7259,7 @@ }, "v-click-outside-x": { "version": "3.7.1", - "resolved": "https://registry.npmmirror.com/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", + "resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", "integrity": "sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg==" }, "v8-compile-cache": { @@ -7209,17 +7268,22 @@ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, - "view-design": { - "version": "4.7.0", - "resolved": "https://registry.npmmirror.com/view-design/-/view-design-4.7.0.tgz", - "integrity": "sha512-WRvVRfsZciN0aJYlz+6b1zxs5G8tLFb4OUKOu+PiN0QyIGmdgWVziEyEmioYtJahQpueWiQpRYGzyxrpz3UkWQ==", + "view-ui-plus": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/view-ui-plus/-/view-ui-plus-1.0.0-beta.1.tgz", + "integrity": "sha512-3uhLGH0bRDTCmTp4qHzeaN6L9qP1alJMOUBcq2JTVUdEfZ2VPyWAmpn2KivlSf6QJ0s2PidO2y1aE/RRUCBK0w==", "requires": { "async-validator": "^3.3.0", + "countup.js": "^1.9.3", + "dayjs": "^1.11.0", "deepmerge": "^2.2.1", "element-resize-detector": "^1.2.0", "js-calendar": "^1.2.3", + "lodash.chunk": "^4.2.0", "lodash.throttle": "^4.1.1", + "numeral": "^2.0.6", "popper.js": "^1.14.6", + "select": "^1.1.2", "tinycolor2": "^1.4.1", "v-click-outside-x": "^3.7.1" } diff --git a/package.json b/package.json index 428e1ad..255537b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "axios": "^0.27.0", - "view-design": "^4.7.0", + "view-ui-plus": "^1.0.0-beta.1", "vue": "^3.2.25", "vue-router": "^4.0.14", "vuex": "^4.0.2" diff --git a/src/main.js b/src/main.js index 412b296..353c340 100644 --- a/src/main.js +++ b/src/main.js @@ -1,9 +1,9 @@ import { createApp } from 'vue' -import ViewUIPlus from 'view-design' +import ViewUIPlus from 'view-ui-plus' import App from './App.vue' import router from './router' import store from './store' -import 'view-design/dist/styles/viewuiplus.css' +import 'view-ui-plus/dist/styles/viewuiplus.css' import './styles' // import './mock' diff --git a/vite.config.js b/vite.config.js index fbdcf86..a01bb45 100644 --- a/vite.config.js +++ b/vite.config.js @@ -25,7 +25,7 @@ const config = ({ mode }) => { outDir: path.resolve(__dirname, 'dist'), assetsDir: 'assets', assetsInlineLimit: 8192, - sourcemap: isProd ? 'hidden' : true, + sourcemap: !isProd, emptyOutDir: true, rollupOptions: { input: path.resolve(__dirname, 'index.html'),