From c0bfc0086292e8256aecf5fa6d51b7549f604ae6 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Tue, 15 Oct 2024 16:24:29 +0200 Subject: [PATCH] syncing agenda --- package-lock.json | 18 +++++ package.json | 2 + .../admin/club/protocol/ProtocolSyncing.vue | 54 +++++++++++++-- src/stores/admin/protocol.ts | 6 +- src/stores/admin/protocolAgenda.ts | 66 +++++++++++++++---- src/stores/admin/protocolDecision.ts | 3 + src/stores/admin/protocolPresence.ts | 49 ++++++++++---- src/stores/admin/protocolVoting.ts | 3 + .../admin/club/protocol/ProtocolAgenda.vue | 59 +++++++++++------ .../admin/club/protocol/ProtocolOverview.vue | 4 +- .../admin/club/protocol/ProtocolPresence.vue | 17 +++-- .../admin/club/protocol/ProtocolRouting.vue | 2 +- 12 files changed, 221 insertions(+), 62 deletions(-) diff --git a/package-lock.json b/package-lock.json index c86341e..a85d191 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "jwt-decode": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.difference": "^4.5.0", + "lodash.differencewith": "^4.5.0", "lodash.isequal": "^4.5.0", "nprogress": "^0.2.0", "pdf-dist": "^1.0.0", @@ -33,6 +34,7 @@ "@types/eslint": "~9.6.0", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.difference": "^4.5.9", + "@types/lodash.differencewith": "^4.5.9", "@types/lodash.isequal": "^4.5.8", "@types/node": "^20.14.5", "@types/nprogress": "^0.2.0", @@ -3096,6 +3098,16 @@ "@types/lodash": "*" } }, + "node_modules/@types/lodash.differencewith": { + "version": "4.5.9", + "resolved": "https://registry.npmjs.org/@types/lodash.differencewith/-/lodash.differencewith-4.5.9.tgz", + "integrity": "sha512-nMaREKoe7J3WvnsO7HDRxvnPT3mWmZD3EAECpy7gBGJ6S5nQ66uVlkRe+ZXs6261ZNb2fH9Ny4oUUiSOCmTnLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, "node_modules/@types/lodash.isequal": { "version": "4.5.8", "resolved": "https://registry.npmjs.org/@types/lodash.isequal/-/lodash.isequal-4.5.8.tgz", @@ -6720,6 +6732,12 @@ "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==", "license": "MIT" }, + "node_modules/lodash.differencewith": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.differencewith/-/lodash.differencewith-4.5.0.tgz", + "integrity": "sha512-/8JFjydAS+4bQuo3CpLMBv7WxGFyk7/etOAsrQUCu0a9QVDemxv0YQ0rFyeZvqlUD314SERfNlgnlqqHmaQ0Cg==", + "license": "MIT" + }, "node_modules/lodash.isequal": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", diff --git a/package.json b/package.json index e886a5f..3c822c2 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "jwt-decode": "^4.0.0", "lodash.clonedeep": "^4.5.0", "lodash.difference": "^4.5.0", + "lodash.differencewith": "^4.5.0", "lodash.isequal": "^4.5.0", "nprogress": "^0.2.0", "pdf-dist": "^1.0.0", @@ -48,6 +49,7 @@ "@types/eslint": "~9.6.0", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.difference": "^4.5.9", + "@types/lodash.differencewith": "^4.5.9", "@types/lodash.isequal": "^4.5.8", "@types/node": "^20.14.5", "@types/nprogress": "^0.2.0", diff --git a/src/components/admin/club/protocol/ProtocolSyncing.vue b/src/components/admin/club/protocol/ProtocolSyncing.vue index d3fea13..a5abee6 100644 --- a/src/components/admin/club/protocol/ProtocolSyncing.vue +++ b/src/components/admin/club/protocol/ProtocolSyncing.vue @@ -1,8 +1,16 @@ diff --git a/src/views/admin/club/protocol/ProtocolOverview.vue b/src/views/admin/club/protocol/ProtocolOverview.vue index 24f8d01..91eaf8d 100644 --- a/src/views/admin/club/protocol/ProtocolOverview.vue +++ b/src/views/admin/club/protocol/ProtocolOverview.vue @@ -42,7 +42,7 @@