From 0d24a3b730198581e112c9ee7479e6ce2f1be026 Mon Sep 17 00:00:00 2001 From: KarolChang Date: Sat, 16 Apr 2022 13:37:36 +0800 Subject: [PATCH] add include Role --- deploy.sh | 1 - package-lock.json | 11 +- package.json | 3 +- .../Category/CreateCategoryModalButton.vue | 3 +- .../Category/EditCategoryModalButton.vue | 3 +- .../Expense/CreateExpenseModalButton.vue | 32 ++-- .../Expense/EditExpenseModalButton.vue | 31 ++-- .../CreatePermissionModalButton.vue | 3 +- .../Permission/EditPermissionModalButton.vue | 3 +- .../Record/CreateRecordModalButton.vue | 28 ++-- .../Record/EditRecordModalButton.vue | 30 ++-- .../Role/CreateRoleModalButton.vue | 3 +- .../ModalButton/Role/EditRoleModalButton.vue | 3 +- src/components/Sidebar.vue | 1 + src/components/global.ts | 2 +- src/firebase/auth.ts | 2 +- src/firebase/config.ts | 6 +- src/main.ts | 3 +- src/models/Category.ts | 2 +- src/router/index.ts | 145 ++++++++---------- src/store/index.ts | 4 +- src/utils/swal.ts | 5 +- src/{ => views}/App.vue | 4 +- src/views/Expense.vue | 2 +- src/views/Role.vue | 4 +- vite.config.js | 3 + 26 files changed, 179 insertions(+), 158 deletions(-) rename src/{ => views}/App.vue (96%) diff --git a/deploy.sh b/deploy.sh index b098d43..b9bd1f7 100755 --- a/deploy.sh +++ b/deploy.sh @@ -21,7 +21,6 @@ git commit -m 'deploy' # if you are deploying to https://.Github.io/ # git push -f https://github.com//.git master:gh-pages -git push origin master git push -f https://github.com/KarolChang/jm-expense-vue-ts.git master:gh-pages cd - \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6bc6ca7..c28419a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -661,6 +661,11 @@ "fastq": "^1.6.0" } }, + "@popperjs/core": { + "version": "2.11.5", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", + "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==" + }, "@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", @@ -2687,9 +2692,9 @@ "dev": true }, "sweetalert2": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.3.0.tgz", - "integrity": "sha512-C0TFp0VLxgx+PmhJ0mL8qzx+iYjnCLdDbvQHKY6KAGI+xwawMvLkStPgw2LmJl6itaDhR/qLQStPFIbr1VK9Ow==" + "version": "11.4.8", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.8.tgz", + "integrity": "sha512-BDS/+E8RwaekGSxCPUbPnsRAyQ439gtXkTF/s98vY2l9DaVEOMjGj1FaQSorfGREKsbbxGSP7UXboibL5vgTMA==" }, "table": { "version": "5.4.6", diff --git a/package.json b/package.json index 013b6b0..7237d05 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src" }, "dependencies": { + "@popperjs/core": "^2.11.5", "@vueform/multiselect": "^2.3.1", "axios": "^0.24.0", "bootstrap": "^5.1.3", @@ -21,7 +22,7 @@ "firebase": "^9.6.3", "luxon": "^1.0.0", "pinia": "^2.0.6", - "sweetalert2": "^11.3.0", + "sweetalert2": "^11.4.8", "vue": "^3.2.29", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", diff --git a/src/components/ModalButton/Category/CreateCategoryModalButton.vue b/src/components/ModalButton/Category/CreateCategoryModalButton.vue index f142fba..7bffc73 100644 --- a/src/components/ModalButton/Category/CreateCategoryModalButton.vue +++ b/src/components/ModalButton/Category/CreateCategoryModalButton.vue @@ -1,7 +1,6 @@