Compare commits
48 Commits
main
...
feature/#2
Author | SHA1 | Date | |
---|---|---|---|
350e09cf24 | |||
04cb8a7217 | |||
e3115f9944 | |||
122b13b6a2 | |||
872d544075 | |||
fba33d20a7 | |||
e035fa3289
|
|||
324203216a
|
|||
b270a5d56a | |||
6ecf80f34c
|
|||
016a1bd959 | |||
4e8390cf96
|
|||
04d59d5520 | |||
0f0d3cd861
|
|||
2b63603957 | |||
9a51b416e5
|
|||
3ea7eb48b4
|
|||
8c8021bedc | |||
46fcaa2db6
|
|||
2d700c77dc
|
|||
c1d78fa8c1
|
|||
7c8a1bb423
|
|||
8e42c7fdbe | |||
c25639b40c | |||
a2048d0eb9 | |||
b19a770d61 | |||
8098c54c06 | |||
73847022e2
|
|||
93cb302ca7
|
|||
fcbf3ee796 | |||
fee786f1c8 | |||
b190a3764b | |||
a408cae686
|
|||
94d2a98b96
|
|||
a1546849c8
|
|||
a13314327c
|
|||
ebb0783103
|
|||
6a5b468bb2
|
|||
ec8bc47ec7
|
|||
c73534f448
|
|||
94b1d52fbb | |||
d1026fafbb | |||
46d4c596e9 | |||
96cfd18d83 | |||
4cb045d29f | |||
2cf781b11d | |||
b1f28e5d55 | |||
b40913b331 |
@ -7,6 +7,8 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: reuse
|
||||||
|
image: fsfe/reuse:latest
|
||||||
- name: docker-publish
|
- name: docker-publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -18,3 +20,6 @@ steps:
|
|||||||
from_secret: "docker_username"
|
from_secret: "docker_username"
|
||||||
password:
|
password:
|
||||||
from_secret: "docker_password"
|
from_secret: "docker_password"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
1
.gitignore
vendored
@ -23,3 +23,4 @@ pnpm-debug.log*
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
jsconfig.json
|
||||||
|
28
.reuse/dep5
@ -3,8 +3,26 @@ Upstream-Name: ki-frontend
|
|||||||
Upstream-Contact: Scammo <kontakt@samuelbrinkmann.de>
|
Upstream-Contact: Scammo <kontakt@samuelbrinkmann.de>
|
||||||
Source: https://git.wtf-eg.de/kompetenzinventar/ki-frontend
|
Source: https://git.wtf-eg.de/kompetenzinventar/ki-frontend
|
||||||
|
|
||||||
# Sample paragraph, commented out:
|
Files: package.json package-lock.json
|
||||||
#
|
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
# Files: src/*
|
License: AGPL-3.0-or-later
|
||||||
# Copyright: $YEAR $NAME <$CONTACT>
|
|
||||||
# License: ...
|
Files: .browserslistrc .dockerignore .eslintrc.js .gitignore
|
||||||
|
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
License: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
Files: src/assets/img/wtf*
|
||||||
|
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
License: LicenseRef-WTF
|
||||||
|
|
||||||
|
Files: src/assets/language_level.json src/assets/skill_level.json
|
||||||
|
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
License: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
Files: public/img/bootstrap-icons-1.5.0/*
|
||||||
|
Copyright: Copyright (c) 2019-2020 The Bootstrap Authors
|
||||||
|
License: MIT
|
||||||
|
|
||||||
|
Files: public/fonts/Lato*
|
||||||
|
Copyright: 2010-2015, Łukasz Dziedzic (dziedzic@typoland.com)
|
||||||
|
License: OFL-1.1-RFN
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
FROM node:14-alpine as builder
|
FROM node:14-alpine as builder
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
@ -8,3 +12,4 @@ RUN npm ci && npm run build
|
|||||||
FROM nginx as ki-frontend
|
FROM nginx as ki-frontend
|
||||||
|
|
||||||
COPY --from=builder /dist/ /usr/share/nginx/html/
|
COPY --from=builder /dist/ /usr/share/nginx/html/
|
||||||
|
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
1
LICENSES/LicenseRef-WTF.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Alle Rechte vorbehalten
|
@ -1,9 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) <year> <copyright holders>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
43
LICENSES/OFL-1.1-RFN.txt
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
SIL OPEN FONT LICENSE
|
||||||
|
|
||||||
|
Version 1.1 - 26 February 2007
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
|
||||||
|
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
|
||||||
|
This license becomes null and void if any of the above conditions are not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
34
README.md
@ -1,8 +1,40 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
# ki-frontend
|
# ki-frontend
|
||||||
|
|
||||||
[](https://drone.wtf-eg.de/kompetenzinventar/ki-frontend)
|
[](https://drone.wtf-eg.de/kompetenzinventar/ki-frontend)
|
||||||
|
[](https://api.reuse.software/info/git.wtf-eg.de/kompetenzinventar/ki-frontend)
|
||||||
|
|
||||||
Vue3 Projekt:
|
## Über
|
||||||
|
|
||||||
|
Dieses Repo enthält das Frontend des Projekts Kompentenzinventar - einer Webapplikation zur Erfassung von Userprofilen für die WTF eG.
|
||||||
|
|
||||||
|
Implementiert ist das Frontend mit Vue3.
|
||||||
|
|
||||||
|
### Mitmachen
|
||||||
|
|
||||||
|
Du kannst gerne bei der Entwicklung des Kompetenzinventars mitmachen.
|
||||||
|
|
||||||
|
- Fehler oder fehlende Funktionen erfassen. Bitte direkt über die [Issues](https://git.wtf-eg.de/kompetenzinventar/ki-frontend/issues) in Gitea.
|
||||||
|
- Dokumentation oder Implementierung verbessern. Bitte forke hierzu das Projekt, branche von `main` ab und erstelle dann einen [Pull Request](https://git.wtf-eg.de/kompetenzinventar/ki-frontend/pulls).
|
||||||
|
|
||||||
|
### Kommunikation
|
||||||
|
|
||||||
|
Folgende Kanäle gibt es für die Kommunikation über das Kompetenzinventar:
|
||||||
|
|
||||||
|
- Die [Issues](https://git.wtf-eg.de/kompetenzinventar/ki-frontend/issues) im WTF Gitea.
|
||||||
|
- Den Bereich [AG Entwicklung](https://forum.wtf-eg.de/c/interna/ag-entwicklung/21) im WTF Forum.
|
||||||
|
- Einen Raum in Matrix. Zutritt per Einladung, frlan lädt ein, eine einfache PN im Forum reicht.
|
||||||
|
|
||||||
|
### Repos
|
||||||
|
|
||||||
|
* [ki-backend](https://git.wtf-eg.de/kompetenzinventar/ki-backend) enthält das Backend
|
||||||
|
* **[ki-frontend](https://git.wtf-eg.de/kompetenzinventar/ki-frontend)** (dieses Repo) enthält das Frontend
|
||||||
|
* Weitere Repositories befinden sich in der Gitea Organisation [Kompetenzinventar](https://git.wtf-eg.de/kompetenzinventar).
|
||||||
|
|
||||||
## Project setup
|
## Project setup
|
||||||
```
|
```
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [
|
presets: [
|
||||||
'@vue/cli-plugin-babel/preset'
|
'@vue/cli-plugin-babel/preset'
|
||||||
|
49
etc/nginx/conf.d/default.conf
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
|
# redirect server error pages to the static page /50x.html
|
||||||
|
#
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
|
||||||
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
||||||
|
#
|
||||||
|
#location ~ \.php$ {
|
||||||
|
# proxy_pass http://127.0.0.1;
|
||||||
|
#}
|
||||||
|
|
||||||
|
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
||||||
|
#
|
||||||
|
#location ~ \.php$ {
|
||||||
|
# root html;
|
||||||
|
# fastcgi_pass 127.0.0.1:9000;
|
||||||
|
# fastcgi_index index.php;
|
||||||
|
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
|
# include fastcgi_params;
|
||||||
|
#}
|
||||||
|
|
||||||
|
# deny access to .htaccess files, if Apache's document root
|
||||||
|
# concurs with nginx's one
|
||||||
|
#
|
||||||
|
#location ~ /\.ht {
|
||||||
|
# deny all;
|
||||||
|
#}
|
||||||
|
}
|
646
package-lock.json
generated
@ -13,16 +13,18 @@
|
|||||||
"@vue/cli-plugin-router": "~4.5.0",
|
"@vue/cli-plugin-router": "~4.5.0",
|
||||||
"@vue/cli-service": "~4.5.0",
|
"@vue/cli-service": "~4.5.0",
|
||||||
"@vue/compiler-sfc": "^3.0.0",
|
"@vue/compiler-sfc": "^3.0.0",
|
||||||
"axios": "^0.21.1",
|
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"bootstrap": "^5.0.1",
|
"bootstrap": "^5.0.1",
|
||||||
|
"bootstrap-icons": "^1.5.0",
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"eslint": "^6.7.2",
|
"eslint": "^6.7.2",
|
||||||
"eslint-plugin-vue": "^7.0.0",
|
"eslint-plugin-vue": "^7.0.0",
|
||||||
"sass": "^1.37.5",
|
"sass": "^1.37.5",
|
||||||
"sass-loader": "^10.2.0",
|
"sass-loader": "^10.2.0",
|
||||||
|
"v-tooltip": "^4.0.0-alpha.1",
|
||||||
"vue": "^3.0.0",
|
"vue": "^3.0.0",
|
||||||
"vue-router": "^4.0.0-0"
|
"vue-router": "^4.0.0-0",
|
||||||
|
"vuex": "^4.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
@ -333,9 +335,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/parser": {
|
"node_modules/@babel/parser": {
|
||||||
"version": "7.14.4",
|
"version": "7.15.8",
|
||||||
"resolved": "https://registry.nlark.com/@babel/parser/download/@babel/parser-7.14.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz",
|
||||||
"integrity": "sha1-pcVg1tts2ObtNCNo3qgDkjLLqxg=",
|
"integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"parser": "bin/babel-parser.js"
|
"parser": "bin/babel-parser.js"
|
||||||
@ -1209,6 +1211,16 @@
|
|||||||
"node": ">= 6"
|
"node": ">= 6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@popperjs/core": {
|
||||||
|
"version": "2.10.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.1.tgz",
|
||||||
|
"integrity": "sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw==",
|
||||||
|
"dev": true,
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/popperjs"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@soda/friendly-errors-webpack-plugin": {
|
"node_modules/@soda/friendly-errors-webpack-plugin": {
|
||||||
"version": "1.8.0",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.8.0.tgz?cache=0&sync_timestamp=1607927625608&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40soda%2Ffriendly-errors-webpack-plugin%2Fdownload%2F%40soda%2Ffriendly-errors-webpack-plugin-1.8.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.8.0.tgz?cache=0&sync_timestamp=1607927625608&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40soda%2Ffriendly-errors-webpack-plugin%2Fdownload%2F%40soda%2Ffriendly-errors-webpack-plugin-1.8.0.tgz",
|
||||||
@ -1795,73 +1807,54 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-core": {
|
"node_modules/@vue/compiler-core": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-core/download/@vue/compiler-core-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.20.tgz",
|
||||||
"integrity": "sha1-XvV55G17M2uHNSKHWNHCxQWq5po=",
|
"integrity": "sha512-vcEXlKXoPwBXFP5aUTHN9GTZaDfwCofa9Yu9bbW2C5O/QSa9Esdt7OG4+0RRd3EHEMxUvEdj4RZrd/KpQeiJbA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/parser": "^7.12.0",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.12.0",
|
"@vue/shared": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"estree-walker": "^2.0.2",
|
||||||
"estree-walker": "^2.0.1",
|
|
||||||
"source-map": "^0.6.1"
|
"source-map": "^0.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-core/node_modules/source-map": {
|
"node_modules/@vue/compiler-core/node_modules/source-map": {
|
||||||
"version": "0.6.1",
|
"version": "0.6.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||||
"integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=",
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-dom": {
|
"node_modules/@vue/compiler-dom": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-dom/download/@vue/compiler-dom-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.20.tgz",
|
||||||
"integrity": "sha1-sV/ByQk3H9ZxdGAgulW12rSnMO4=",
|
"integrity": "sha512-QnI77ec/JtV7R0YBbcVayYTDCRcI9OCbxiUQK6izVyqQO0658n0zQuoNwe+bYgtqnvGAIqTR3FShTd5y4oOjdg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/compiler-core": "3.0.11",
|
"@vue/compiler-core": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-sfc": {
|
"node_modules/@vue/compiler-sfc": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-sfc/download/@vue/compiler-sfc-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.20.tgz",
|
||||||
"integrity": "sha1-zYyiFUuIlntSH1rTsQ9fi2tmVnk=",
|
"integrity": "sha512-03aZo+6tQKiFLfunHKSPZvdK4Jsn/ftRCyaro8AQIWkuxJbvSosbKK6HTTn+D2c3nPScG155akJoxKENw7rftQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/parser": "^7.13.9",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.13.0",
|
"@vue/compiler-core": "3.2.20",
|
||||||
"@vue/compiler-core": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-ssr": "3.2.20",
|
||||||
"@vue/compiler-ssr": "3.0.11",
|
"@vue/ref-transform": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"@vue/shared": "3.2.20",
|
||||||
"consolidate": "^0.16.0",
|
"estree-walker": "^2.0.2",
|
||||||
"estree-walker": "^2.0.1",
|
|
||||||
"hash-sum": "^2.0.0",
|
|
||||||
"lru-cache": "^5.1.1",
|
|
||||||
"magic-string": "^0.25.7",
|
"magic-string": "^0.25.7",
|
||||||
"merge-source-map": "^1.1.0",
|
|
||||||
"postcss": "^8.1.10",
|
"postcss": "^8.1.10",
|
||||||
"postcss-modules": "^4.0.0",
|
|
||||||
"postcss-selector-parser": "^6.0.4",
|
|
||||||
"source-map": "^0.6.1"
|
"source-map": "^0.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-sfc/node_modules/consolidate": {
|
|
||||||
"version": "0.16.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/consolidate/download/consolidate-0.16.0.tgz?cache=0&sync_timestamp=1599596658886&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconsolidate%2Fdownload%2Fconsolidate-0.16.0.tgz",
|
|
||||||
"integrity": "sha1-oRhkdokw8vGUMWYKZZBmaPX73BY=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"bluebird": "^3.7.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@vue/compiler-sfc/node_modules/postcss": {
|
"node_modules/@vue/compiler-sfc/node_modules/postcss": {
|
||||||
"version": "8.3.0",
|
"version": "8.3.0",
|
||||||
"resolved": "https://registry.nlark.com/postcss/download/postcss-8.3.0.tgz?cache=0&sync_timestamp=1621568932145&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-8.3.0.tgz",
|
"resolved": "https://registry.nlark.com/postcss/download/postcss-8.3.0.tgz?cache=0&sync_timestamp=1621568932145&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-8.3.0.tgz",
|
||||||
@ -1886,13 +1879,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/compiler-ssr": {
|
"node_modules/@vue/compiler-ssr": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-ssr/download/@vue/compiler-ssr-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.20.tgz",
|
||||||
"integrity": "sha1-rFoF/RJXQS+mYHnII9ggO2qImhM=",
|
"integrity": "sha512-rzzVVYivm+EjbfiGQvNeyiYZWzr6Hkej97RZLZvcumacQlnKv9176Xo9rRyeWwFbBlxmtNdrVMslRXtipMXk2w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/component-compiler-utils": {
|
"node_modules/@vue/component-compiler-utils": {
|
||||||
@ -1961,39 +1954,65 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/reactivity": {
|
"node_modules/@vue/reactivity": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/reactivity/download/@vue/reactivity-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.20.tgz",
|
||||||
"integrity": "sha1-B7WINJ/QViaxfzUAy+99S9tNvQs=",
|
"integrity": "sha512-nSmoLojUTk+H8HNTAkrUduB4+yIUBK2HPihJo2uXVSH4Spry6oqN6lFzE5zpLK+F27Sja+UqR9R1+/kIOsHV5w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@vue/ref-transform": {
|
||||||
|
"version": "3.2.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vue/ref-transform/-/ref-transform-3.2.20.tgz",
|
||||||
|
"integrity": "sha512-Y42d3PGlYZ1lXcF3dbd3+qU/C/a3wYEZ949fyOI5ptzkjDWlkfU6vn74fmOjsLjEcjs10BXK2qO99FqQIK2r1Q==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/parser": "^7.15.0",
|
||||||
|
"@vue/compiler-core": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20",
|
||||||
|
"estree-walker": "^2.0.2",
|
||||||
|
"magic-string": "^0.25.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/runtime-core": {
|
"node_modules/@vue/runtime-core": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/runtime-core/download/@vue/runtime-core-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.20.tgz",
|
||||||
"integrity": "sha1-xS38as8yFUk2I1UsHCkZCAxWLkQ=",
|
"integrity": "sha512-d1xfUGhZPfiZzAN7SatStD4vRtT8deJSXib2+Cz3x0brjMWKxe32asQc154FF1E2fFgMCHtnfd4A90bQEzV4GQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/reactivity": "3.0.11",
|
"@vue/reactivity": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@vue/runtime-dom": {
|
"node_modules/@vue/runtime-dom": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/runtime-dom/download/@vue/runtime-dom-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.20.tgz",
|
||||||
"integrity": "sha1-elUt8hkHlCch/raWHEGOIippkzc=",
|
"integrity": "sha512-4TCvZMLhESWCFHFYgqN4QmMA/onnINAlUovhopjlS8ST27G1A8Z0tyxPzLoXLa+b5JrOpbMPheEMPvdKExTJig==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/runtime-core": "3.0.11",
|
"@vue/runtime-core": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"@vue/shared": "3.2.20",
|
||||||
"csstype": "^2.6.8"
|
"csstype": "^2.6.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vue/server-renderer": {
|
||||||
|
"version": "3.2.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.20.tgz",
|
||||||
|
"integrity": "sha512-viIbZGep9XabnrRcaxWIi00cOh1x21QYm2upIL5W0zqzTJ54VdTzpI+zi1osNp+VfRQDTHpV2U7H3Kn4ljYJvg==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@vue/compiler-ssr": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vue": "3.2.20"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@vue/shared": {
|
"node_modules/@vue/shared": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/shared/download/@vue/shared-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.20.tgz",
|
||||||
"integrity": "sha1-INIt0Np9NYuyHBf5vehigVJkLHc=",
|
"integrity": "sha512-FbpX+hD5BvXCQerEYO7jtAGHlhAkhTQ4KIV73kmLWNlawWhTiVuQxizgVb0BOkX5oG9cIRZ42EG++d/k/Efp0w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@vue/web-component-wrapper": {
|
"node_modules/@vue/web-component-wrapper": {
|
||||||
@ -2576,15 +2595,6 @@
|
|||||||
"integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=",
|
"integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/axios": {
|
|
||||||
"version": "0.21.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
|
|
||||||
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"follow-redirects": "^1.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/babel-eslint": {
|
"node_modules/babel-eslint": {
|
||||||
"version": "10.1.0",
|
"version": "10.1.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz",
|
||||||
@ -2840,10 +2850,26 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/bootstrap": {
|
"node_modules/bootstrap": {
|
||||||
"version": "5.0.1",
|
"version": "5.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.1.tgz",
|
||||||
"integrity": "sha512-Fl79+wsLOZKoiU345KeEaWD0ik8WKRI5zm0YSPj2oF1Qr+BO7z0fco6GbUtqjoG1h4VI89PeKJnMsMMVQdKKTw==",
|
"integrity": "sha512-/jUa4sSuDZWlDLQ1gwQQR8uoYSvLJzDd8m5o6bPKh3asLAMYVZKdRCjb1joUd5WXf0WwCNzd2EjwQQhupou0dA==",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/bootstrap"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@popperjs/core": "^2.10.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/bootstrap-icons": {
|
||||||
|
"version": "1.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.5.0.tgz",
|
||||||
|
"integrity": "sha512-44feMc7DE1Ccpsas/1wioN8ewFJNquvi5FewA06wLnqct7CwMdGDVy41ieHaacogzDqLfG8nADIvMNp9e4bfbA==",
|
||||||
|
"dev": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "1.1.11",
|
"version": "1.1.11",
|
||||||
@ -4516,9 +4542,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/csstype": {
|
"node_modules/csstype": {
|
||||||
"version": "2.6.17",
|
"version": "2.6.18",
|
||||||
"resolved": "https://registry.nlark.com/csstype/download/csstype-2.6.17.tgz",
|
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz",
|
||||||
"integrity": "sha1-TPMOuH4dGgBdi2UQ+VKSQT9qHA4=",
|
"integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/cyclist": {
|
"node_modules/cyclist": {
|
||||||
@ -5548,8 +5574,8 @@
|
|||||||
},
|
},
|
||||||
"node_modules/estree-walker": {
|
"node_modules/estree-walker": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npm.taobao.org/estree-walker/download/estree-walker-2.0.2.tgz?cache=0&sync_timestamp=1611955458899&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Festree-walker%2Fdownload%2Festree-walker-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
||||||
"integrity": "sha1-UvAQF4wqTBF6d1fP6UKtt9LaTKw=",
|
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/esutils": {
|
"node_modules/esutils": {
|
||||||
@ -6312,15 +6338,6 @@
|
|||||||
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
|
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/generic-names": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/generic-names/download/generic-names-2.0.1.tgz?cache=0&sync_timestamp=1603542442076&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgeneric-names%2Fdownload%2Fgeneric-names-2.0.1.tgz",
|
|
||||||
"integrity": "sha1-+KN46tLMqno08DF7BVVIMq5BuHI=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"loader-utils": "^1.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/gensync": {
|
"node_modules/gensync": {
|
||||||
"version": "1.0.0-beta.2",
|
"version": "1.0.0-beta.2",
|
||||||
"resolved": "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.2.tgz?cache=0&sync_timestamp=1603829716561&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgensync%2Fdownload%2Fgensync-1.0.0-beta.2.tgz",
|
"resolved": "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.2.tgz?cache=0&sync_timestamp=1603829716561&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgensync%2Fdownload%2Fgensync-1.0.0-beta.2.tgz",
|
||||||
@ -6990,12 +7007,6 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/icss-replace-symbols": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-replace-symbols/download/icss-replace-symbols-1.1.0.tgz",
|
|
||||||
"integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/icss-utils": {
|
"node_modules/icss-utils": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-4.1.1.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-4.1.1.tgz",
|
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-4.1.1.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-4.1.1.tgz",
|
||||||
@ -8105,12 +8116,6 @@
|
|||||||
"integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=",
|
"integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/lodash.camelcase": {
|
|
||||||
"version": "4.3.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/lodash.camelcase/download/lodash.camelcase-4.3.0.tgz",
|
|
||||||
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/lodash.debounce": {
|
"node_modules/lodash.debounce": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.nlark.com/lodash.debounce/download/lodash.debounce-4.0.8.tgz",
|
"resolved": "https://registry.nlark.com/lodash.debounce/download/lodash.debounce-4.0.8.tgz",
|
||||||
@ -9883,22 +9888,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss-modules": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules/download/postcss-modules-4.0.0.tgz?cache=0&sync_timestamp=1606641138659&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules%2Fdownload%2Fpostcss-modules-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-K8fydquI8/Gw+t9svXdy1DtfO5s=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"generic-names": "^2.0.1",
|
|
||||||
"icss-replace-symbols": "^1.1.0",
|
|
||||||
"lodash.camelcase": "^4.3.0",
|
|
||||||
"postcss-modules-extract-imports": "^3.0.0",
|
|
||||||
"postcss-modules-local-by-default": "^4.0.0",
|
|
||||||
"postcss-modules-scope": "^3.0.0",
|
|
||||||
"postcss-modules-values": "^4.0.0",
|
|
||||||
"string-hash": "^1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-modules-extract-imports": {
|
"node_modules/postcss-modules-extract-imports": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-2.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-2.0.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-2.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-2.0.0.tgz",
|
||||||
@ -9949,62 +9938,6 @@
|
|||||||
"postcss": "^7.0.6"
|
"postcss": "^7.0.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss-modules/node_modules/icss-utils": {
|
|
||||||
"version": "5.1.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-5.1.0.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-5.1.0.tgz",
|
|
||||||
"integrity": "sha1-xr5oWKvQE9do6YNmrkfiXViHsa4=",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >= 14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-modules/node_modules/postcss-modules-extract-imports": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-3.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-zaHwR8CugMl9vijD52pDuIAldB0=",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >= 14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-modules/node_modules/postcss-modules-local-by-default": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-local-by-default/download/postcss-modules-local-by-default-4.0.0.tgz?cache=0&sync_timestamp=1602587565462&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-local-by-default%2Fdownload%2Fpostcss-modules-local-by-default-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-67tU+uFZjuz99pGgKz/zs5ClpRw=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"icss-utils": "^5.0.0",
|
|
||||||
"postcss-selector-parser": "^6.0.2",
|
|
||||||
"postcss-value-parser": "^4.1.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >= 14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-modules/node_modules/postcss-modules-scope": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-scope/download/postcss-modules-scope-3.0.0.tgz?cache=0&sync_timestamp=1602593177072&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-scope%2Fdownload%2Fpostcss-modules-scope-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-nvMVFFbTu/oSDKRImN/Kby+gHwY=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"postcss-selector-parser": "^6.0.4"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >= 14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-modules/node_modules/postcss-modules-values": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-values/download/postcss-modules-values-4.0.0.tgz?cache=0&sync_timestamp=1602586198892&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-values%2Fdownload%2Fpostcss-modules-values-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-18Xn5ow7s8myfL9Iyguz/7RgLJw=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"icss-utils": "^5.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >= 14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/postcss-normalize-charset": {
|
"node_modules/postcss-normalize-charset": {
|
||||||
"version": "4.0.1",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.nlark.com/postcss-normalize-charset/download/postcss-normalize-charset-4.0.1.tgz?cache=0&sync_timestamp=1621449638213&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-normalize-charset%2Fdownload%2Fpostcss-normalize-charset-4.0.1.tgz",
|
"resolved": "https://registry.nlark.com/postcss-normalize-charset/download/postcss-normalize-charset-4.0.1.tgz?cache=0&sync_timestamp=1621449638213&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-normalize-charset%2Fdownload%2Fpostcss-normalize-charset-4.0.1.tgz",
|
||||||
@ -12061,12 +11994,6 @@
|
|||||||
"safe-buffer": "~5.1.0"
|
"safe-buffer": "~5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/string-hash": {
|
|
||||||
"version": "1.1.3",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/string-hash/download/string-hash-1.1.3.tgz",
|
|
||||||
"integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/string-width": {
|
"node_modules/string-width": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-2.1.1.tgz?cache=0&sync_timestamp=1618558856477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-2.1.1.tgz",
|
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-2.1.1.tgz?cache=0&sync_timestamp=1618558856477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-2.1.1.tgz",
|
||||||
@ -13081,6 +13008,19 @@
|
|||||||
"uuid": "bin/uuid"
|
"uuid": "bin/uuid"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/v-tooltip": {
|
||||||
|
"version": "4.0.0-alpha.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-4.0.0-alpha.1.tgz",
|
||||||
|
"integrity": "sha512-TTNLJ/IVyoburxW0M3gxHhRb+d18xbozI5c0q2LCqIw4YUZzLKCG0ufx72d+j/1Xkqam9kDNHZChZq4KfsVpvw==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@popperjs/core": "^2.6.0",
|
||||||
|
"vue-resize": "^2.0.0-alpha.1"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vue": "^3.0.11"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/v8-compile-cache": {
|
"node_modules/v8-compile-cache": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.3.0.tgz?cache=0&sync_timestamp=1614993892777&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.3.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.3.0.tgz?cache=0&sync_timestamp=1614993892777&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.3.0.tgz",
|
||||||
@ -13133,14 +13073,16 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/vue": {
|
"node_modules/vue": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/vue/download/vue-3.0.11.tgz?cache=0&sync_timestamp=1622235952885&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue%2Fdownload%2Fvue-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.20.tgz",
|
||||||
"integrity": "sha1-yC+VlMv03MhpJB1MjdPgjZqPS18=",
|
"integrity": "sha512-81JjEP4OGk9oO8+CU0h2nFPGgJBm9mNa3kdCX2k6FuRdrWrC+CNe+tOnuIeTg8EWwQuI+wwdra5Q7vSzp7p4Iw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/runtime-dom": "3.0.11",
|
"@vue/compiler-sfc": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/runtime-dom": "3.2.20",
|
||||||
|
"@vue/server-renderer": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/vue-eslint-parser": {
|
"node_modules/vue-eslint-parser": {
|
||||||
@ -13296,6 +13238,15 @@
|
|||||||
"integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=",
|
"integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/vue-resize": {
|
||||||
|
"version": "2.0.0-alpha.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-2.0.0-alpha.1.tgz",
|
||||||
|
"integrity": "sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==",
|
||||||
|
"dev": true,
|
||||||
|
"peerDependencies": {
|
||||||
|
"vue": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/vue-router": {
|
"node_modules/vue-router": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.nlark.com/vue-router/download/vue-router-4.0.8.tgz",
|
"resolved": "https://registry.nlark.com/vue-router/download/vue-router-4.0.8.tgz",
|
||||||
@ -13327,6 +13278,18 @@
|
|||||||
"integrity": "sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=",
|
"integrity": "sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/vuex": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@vue/devtools-api": "^6.0.0-beta.11"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vue": "^3.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/watchpack": {
|
"node_modules/watchpack": {
|
||||||
"version": "1.7.5",
|
"version": "1.7.5",
|
||||||
"resolved": "https://registry.nlark.com/watchpack/download/watchpack-1.7.5.tgz?cache=0&sync_timestamp=1621437900992&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwatchpack%2Fdownload%2Fwatchpack-1.7.5.tgz",
|
"resolved": "https://registry.nlark.com/watchpack/download/watchpack-1.7.5.tgz?cache=0&sync_timestamp=1621437900992&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwatchpack%2Fdownload%2Fwatchpack-1.7.5.tgz",
|
||||||
@ -14768,9 +14731,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/parser": {
|
"@babel/parser": {
|
||||||
"version": "7.14.4",
|
"version": "7.15.8",
|
||||||
"resolved": "https://registry.nlark.com/@babel/parser/download/@babel/parser-7.14.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz",
|
||||||
"integrity": "sha1-pcVg1tts2ObtNCNo3qgDkjLLqxg=",
|
"integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
|
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
|
||||||
@ -15629,6 +15592,12 @@
|
|||||||
"integrity": "sha1-K1o6s/kYzKSKjHVMCBaOPwPrphs=",
|
"integrity": "sha1-K1o6s/kYzKSKjHVMCBaOPwPrphs=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"@popperjs/core": {
|
||||||
|
"version": "2.10.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.1.tgz",
|
||||||
|
"integrity": "sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@soda/friendly-errors-webpack-plugin": {
|
"@soda/friendly-errors-webpack-plugin": {
|
||||||
"version": "1.8.0",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.8.0.tgz?cache=0&sync_timestamp=1607927625608&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40soda%2Ffriendly-errors-webpack-plugin%2Fdownload%2F%40soda%2Ffriendly-errors-webpack-plugin-1.8.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.8.0.tgz?cache=0&sync_timestamp=1607927625608&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40soda%2Ffriendly-errors-webpack-plugin%2Fdownload%2F%40soda%2Ffriendly-errors-webpack-plugin-1.8.0.tgz",
|
||||||
@ -16191,69 +16160,53 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/compiler-core": {
|
"@vue/compiler-core": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-core/download/@vue/compiler-core-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.20.tgz",
|
||||||
"integrity": "sha1-XvV55G17M2uHNSKHWNHCxQWq5po=",
|
"integrity": "sha512-vcEXlKXoPwBXFP5aUTHN9GTZaDfwCofa9Yu9bbW2C5O/QSa9Esdt7OG4+0RRd3EHEMxUvEdj4RZrd/KpQeiJbA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/parser": "^7.12.0",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.12.0",
|
"@vue/shared": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"estree-walker": "^2.0.2",
|
||||||
"estree-walker": "^2.0.1",
|
|
||||||
"source-map": "^0.6.1"
|
"source-map": "^0.6.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"source-map": {
|
"source-map": {
|
||||||
"version": "0.6.1",
|
"version": "0.6.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||||
"integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=",
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/compiler-dom": {
|
"@vue/compiler-dom": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-dom/download/@vue/compiler-dom-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.20.tgz",
|
||||||
"integrity": "sha1-sV/ByQk3H9ZxdGAgulW12rSnMO4=",
|
"integrity": "sha512-QnI77ec/JtV7R0YBbcVayYTDCRcI9OCbxiUQK6izVyqQO0658n0zQuoNwe+bYgtqnvGAIqTR3FShTd5y4oOjdg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/compiler-core": "3.0.11",
|
"@vue/compiler-core": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/compiler-sfc": {
|
"@vue/compiler-sfc": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-sfc/download/@vue/compiler-sfc-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.20.tgz",
|
||||||
"integrity": "sha1-zYyiFUuIlntSH1rTsQ9fi2tmVnk=",
|
"integrity": "sha512-03aZo+6tQKiFLfunHKSPZvdK4Jsn/ftRCyaro8AQIWkuxJbvSosbKK6HTTn+D2c3nPScG155akJoxKENw7rftQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/parser": "^7.13.9",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.13.0",
|
"@vue/compiler-core": "3.2.20",
|
||||||
"@vue/compiler-core": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-ssr": "3.2.20",
|
||||||
"@vue/compiler-ssr": "3.0.11",
|
"@vue/ref-transform": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"@vue/shared": "3.2.20",
|
||||||
"consolidate": "^0.16.0",
|
"estree-walker": "^2.0.2",
|
||||||
"estree-walker": "^2.0.1",
|
|
||||||
"hash-sum": "^2.0.0",
|
|
||||||
"lru-cache": "^5.1.1",
|
|
||||||
"magic-string": "^0.25.7",
|
"magic-string": "^0.25.7",
|
||||||
"merge-source-map": "^1.1.0",
|
|
||||||
"postcss": "^8.1.10",
|
"postcss": "^8.1.10",
|
||||||
"postcss-modules": "^4.0.0",
|
|
||||||
"postcss-selector-parser": "^6.0.4",
|
|
||||||
"source-map": "^0.6.1"
|
"source-map": "^0.6.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"consolidate": {
|
|
||||||
"version": "0.16.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/consolidate/download/consolidate-0.16.0.tgz?cache=0&sync_timestamp=1599596658886&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconsolidate%2Fdownload%2Fconsolidate-0.16.0.tgz",
|
|
||||||
"integrity": "sha1-oRhkdokw8vGUMWYKZZBmaPX73BY=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"bluebird": "^3.7.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"postcss": {
|
"postcss": {
|
||||||
"version": "8.3.0",
|
"version": "8.3.0",
|
||||||
"resolved": "https://registry.nlark.com/postcss/download/postcss-8.3.0.tgz?cache=0&sync_timestamp=1621568932145&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-8.3.0.tgz",
|
"resolved": "https://registry.nlark.com/postcss/download/postcss-8.3.0.tgz?cache=0&sync_timestamp=1621568932145&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-8.3.0.tgz",
|
||||||
@ -16274,13 +16227,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/compiler-ssr": {
|
"@vue/compiler-ssr": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/compiler-ssr/download/@vue/compiler-ssr-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.20.tgz",
|
||||||
"integrity": "sha1-rFoF/RJXQS+mYHnII9ggO2qImhM=",
|
"integrity": "sha512-rzzVVYivm+EjbfiGQvNeyiYZWzr6Hkej97RZLZvcumacQlnKv9176Xo9rRyeWwFbBlxmtNdrVMslRXtipMXk2w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/component-compiler-utils": {
|
"@vue/component-compiler-utils": {
|
||||||
@ -16343,39 +16296,62 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@vue/reactivity": {
|
"@vue/reactivity": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/reactivity/download/@vue/reactivity-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.20.tgz",
|
||||||
"integrity": "sha1-B7WINJ/QViaxfzUAy+99S9tNvQs=",
|
"integrity": "sha512-nSmoLojUTk+H8HNTAkrUduB4+yIUBK2HPihJo2uXVSH4Spry6oqN6lFzE5zpLK+F27Sja+UqR9R1+/kIOsHV5w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@vue/ref-transform": {
|
||||||
|
"version": "3.2.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vue/ref-transform/-/ref-transform-3.2.20.tgz",
|
||||||
|
"integrity": "sha512-Y42d3PGlYZ1lXcF3dbd3+qU/C/a3wYEZ949fyOI5ptzkjDWlkfU6vn74fmOjsLjEcjs10BXK2qO99FqQIK2r1Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@babel/parser": "^7.15.0",
|
||||||
|
"@vue/compiler-core": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20",
|
||||||
|
"estree-walker": "^2.0.2",
|
||||||
|
"magic-string": "^0.25.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/runtime-core": {
|
"@vue/runtime-core": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/runtime-core/download/@vue/runtime-core-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.20.tgz",
|
||||||
"integrity": "sha1-xS38as8yFUk2I1UsHCkZCAxWLkQ=",
|
"integrity": "sha512-d1xfUGhZPfiZzAN7SatStD4vRtT8deJSXib2+Cz3x0brjMWKxe32asQc154FF1E2fFgMCHtnfd4A90bQEzV4GQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/reactivity": "3.0.11",
|
"@vue/reactivity": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@vue/runtime-dom": {
|
"@vue/runtime-dom": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/runtime-dom/download/@vue/runtime-dom-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.20.tgz",
|
||||||
"integrity": "sha1-elUt8hkHlCch/raWHEGOIippkzc=",
|
"integrity": "sha512-4TCvZMLhESWCFHFYgqN4QmMA/onnINAlUovhopjlS8ST27G1A8Z0tyxPzLoXLa+b5JrOpbMPheEMPvdKExTJig==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/runtime-core": "3.0.11",
|
"@vue/runtime-core": "3.2.20",
|
||||||
"@vue/shared": "3.0.11",
|
"@vue/shared": "3.2.20",
|
||||||
"csstype": "^2.6.8"
|
"csstype": "^2.6.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@vue/server-renderer": {
|
||||||
|
"version": "3.2.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.20.tgz",
|
||||||
|
"integrity": "sha512-viIbZGep9XabnrRcaxWIi00cOh1x21QYm2upIL5W0zqzTJ54VdTzpI+zi1osNp+VfRQDTHpV2U7H3Kn4ljYJvg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@vue/compiler-ssr": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@vue/shared": {
|
"@vue/shared": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/@vue/shared/download/@vue/shared-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.20.tgz",
|
||||||
"integrity": "sha1-INIt0Np9NYuyHBf5vehigVJkLHc=",
|
"integrity": "sha512-FbpX+hD5BvXCQerEYO7jtAGHlhAkhTQ4KIV73kmLWNlawWhTiVuQxizgVb0BOkX5oG9cIRZ42EG++d/k/Efp0w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@vue/web-component-wrapper": {
|
"@vue/web-component-wrapper": {
|
||||||
@ -16887,15 +16863,6 @@
|
|||||||
"integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=",
|
"integrity": "sha1-1h9G2DslGSUOJ4Ta9bCUeai0HFk=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"axios": {
|
|
||||||
"version": "0.21.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
|
|
||||||
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"follow-redirects": "^1.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-eslint": {
|
"babel-eslint": {
|
||||||
"version": "10.1.0",
|
"version": "10.1.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz",
|
||||||
@ -17130,9 +17097,16 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"bootstrap": {
|
"bootstrap": {
|
||||||
"version": "5.0.1",
|
"version": "5.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.1.tgz",
|
||||||
"integrity": "sha512-Fl79+wsLOZKoiU345KeEaWD0ik8WKRI5zm0YSPj2oF1Qr+BO7z0fco6GbUtqjoG1h4VI89PeKJnMsMMVQdKKTw==",
|
"integrity": "sha512-/jUa4sSuDZWlDLQ1gwQQR8uoYSvLJzDd8m5o6bPKh3asLAMYVZKdRCjb1joUd5WXf0WwCNzd2EjwQQhupou0dA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
|
"bootstrap-icons": {
|
||||||
|
"version": "1.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.5.0.tgz",
|
||||||
|
"integrity": "sha512-44feMc7DE1Ccpsas/1wioN8ewFJNquvi5FewA06wLnqct7CwMdGDVy41ieHaacogzDqLfG8nADIvMNp9e4bfbA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"brace-expansion": {
|
"brace-expansion": {
|
||||||
@ -18550,9 +18524,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"csstype": {
|
"csstype": {
|
||||||
"version": "2.6.17",
|
"version": "2.6.18",
|
||||||
"resolved": "https://registry.nlark.com/csstype/download/csstype-2.6.17.tgz",
|
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz",
|
||||||
"integrity": "sha1-TPMOuH4dGgBdi2UQ+VKSQT9qHA4=",
|
"integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"cyclist": {
|
"cyclist": {
|
||||||
@ -19410,8 +19384,8 @@
|
|||||||
},
|
},
|
||||||
"estree-walker": {
|
"estree-walker": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npm.taobao.org/estree-walker/download/estree-walker-2.0.2.tgz?cache=0&sync_timestamp=1611955458899&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Festree-walker%2Fdownload%2Festree-walker-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
||||||
"integrity": "sha1-UvAQF4wqTBF6d1fP6UKtt9LaTKw=",
|
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"esutils": {
|
"esutils": {
|
||||||
@ -20043,15 +20017,6 @@
|
|||||||
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
|
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"generic-names": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/generic-names/download/generic-names-2.0.1.tgz?cache=0&sync_timestamp=1603542442076&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgeneric-names%2Fdownload%2Fgeneric-names-2.0.1.tgz",
|
|
||||||
"integrity": "sha1-+KN46tLMqno08DF7BVVIMq5BuHI=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"loader-utils": "^1.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gensync": {
|
"gensync": {
|
||||||
"version": "1.0.0-beta.2",
|
"version": "1.0.0-beta.2",
|
||||||
"resolved": "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.2.tgz?cache=0&sync_timestamp=1603829716561&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgensync%2Fdownload%2Fgensync-1.0.0-beta.2.tgz",
|
"resolved": "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.2.tgz?cache=0&sync_timestamp=1603829716561&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgensync%2Fdownload%2Fgensync-1.0.0-beta.2.tgz",
|
||||||
@ -20611,12 +20576,6 @@
|
|||||||
"safer-buffer": ">= 2.1.2 < 3"
|
"safer-buffer": ">= 2.1.2 < 3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"icss-replace-symbols": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-replace-symbols/download/icss-replace-symbols-1.1.0.tgz",
|
|
||||||
"integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"icss-utils": {
|
"icss-utils": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-4.1.1.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-4.1.1.tgz",
|
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-4.1.1.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-4.1.1.tgz",
|
||||||
@ -21498,12 +21457,6 @@
|
|||||||
"integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=",
|
"integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"lodash.camelcase": {
|
|
||||||
"version": "4.3.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/lodash.camelcase/download/lodash.camelcase-4.3.0.tgz",
|
|
||||||
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"lodash.debounce": {
|
"lodash.debounce": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.nlark.com/lodash.debounce/download/lodash.debounce-4.0.8.tgz",
|
"resolved": "https://registry.nlark.com/lodash.debounce/download/lodash.debounce-4.0.8.tgz",
|
||||||
@ -23011,65 +22964,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postcss-modules": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules/download/postcss-modules-4.0.0.tgz?cache=0&sync_timestamp=1606641138659&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules%2Fdownload%2Fpostcss-modules-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-K8fydquI8/Gw+t9svXdy1DtfO5s=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"generic-names": "^2.0.1",
|
|
||||||
"icss-replace-symbols": "^1.1.0",
|
|
||||||
"lodash.camelcase": "^4.3.0",
|
|
||||||
"postcss-modules-extract-imports": "^3.0.0",
|
|
||||||
"postcss-modules-local-by-default": "^4.0.0",
|
|
||||||
"postcss-modules-scope": "^3.0.0",
|
|
||||||
"postcss-modules-values": "^4.0.0",
|
|
||||||
"string-hash": "^1.1.1"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"icss-utils": {
|
|
||||||
"version": "5.1.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/icss-utils/download/icss-utils-5.1.0.tgz?cache=0&sync_timestamp=1605801506037&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficss-utils%2Fdownload%2Ficss-utils-5.1.0.tgz",
|
|
||||||
"integrity": "sha1-xr5oWKvQE9do6YNmrkfiXViHsa4=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"postcss-modules-extract-imports": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-3.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-zaHwR8CugMl9vijD52pDuIAldB0=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"postcss-modules-local-by-default": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-local-by-default/download/postcss-modules-local-by-default-4.0.0.tgz?cache=0&sync_timestamp=1602587565462&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-local-by-default%2Fdownload%2Fpostcss-modules-local-by-default-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-67tU+uFZjuz99pGgKz/zs5ClpRw=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"icss-utils": "^5.0.0",
|
|
||||||
"postcss-selector-parser": "^6.0.2",
|
|
||||||
"postcss-value-parser": "^4.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"postcss-modules-scope": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-scope/download/postcss-modules-scope-3.0.0.tgz?cache=0&sync_timestamp=1602593177072&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-scope%2Fdownload%2Fpostcss-modules-scope-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-nvMVFFbTu/oSDKRImN/Kby+gHwY=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"postcss-selector-parser": "^6.0.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"postcss-modules-values": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-values/download/postcss-modules-values-4.0.0.tgz?cache=0&sync_timestamp=1602586198892&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-values%2Fdownload%2Fpostcss-modules-values-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-18Xn5ow7s8myfL9Iyguz/7RgLJw=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"icss-utils": "^5.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"postcss-modules-extract-imports": {
|
"postcss-modules-extract-imports": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-2.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-2.0.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/postcss-modules-extract-imports/download/postcss-modules-extract-imports-2.0.0.tgz?cache=0&sync_timestamp=1602588177787&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-modules-extract-imports%2Fdownload%2Fpostcss-modules-extract-imports-2.0.0.tgz",
|
||||||
@ -24868,12 +24762,6 @@
|
|||||||
"safe-buffer": "~5.1.0"
|
"safe-buffer": "~5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string-hash": {
|
|
||||||
"version": "1.1.3",
|
|
||||||
"resolved": "https://registry.npm.taobao.org/string-hash/download/string-hash-1.1.3.tgz",
|
|
||||||
"integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"string-width": {
|
"string-width": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-2.1.1.tgz?cache=0&sync_timestamp=1618558856477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-2.1.1.tgz",
|
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-2.1.1.tgz?cache=0&sync_timestamp=1618558856477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-2.1.1.tgz",
|
||||||
@ -25710,6 +25598,16 @@
|
|||||||
"integrity": "sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=",
|
"integrity": "sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"v-tooltip": {
|
||||||
|
"version": "4.0.0-alpha.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-4.0.0-alpha.1.tgz",
|
||||||
|
"integrity": "sha512-TTNLJ/IVyoburxW0M3gxHhRb+d18xbozI5c0q2LCqIw4YUZzLKCG0ufx72d+j/1Xkqam9kDNHZChZq4KfsVpvw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@popperjs/core": "^2.6.0",
|
||||||
|
"vue-resize": "^2.0.0-alpha.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"v8-compile-cache": {
|
"v8-compile-cache": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.3.0.tgz?cache=0&sync_timestamp=1614993892777&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.3.0.tgz",
|
"resolved": "https://registry.npm.taobao.org/v8-compile-cache/download/v8-compile-cache-2.3.0.tgz?cache=0&sync_timestamp=1614993892777&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fv8-compile-cache%2Fdownload%2Fv8-compile-cache-2.3.0.tgz",
|
||||||
@ -25756,14 +25654,16 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"vue": {
|
"vue": {
|
||||||
"version": "3.0.11",
|
"version": "3.2.20",
|
||||||
"resolved": "https://registry.nlark.com/vue/download/vue-3.0.11.tgz?cache=0&sync_timestamp=1622235952885&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue%2Fdownload%2Fvue-3.0.11.tgz",
|
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.20.tgz",
|
||||||
"integrity": "sha1-yC+VlMv03MhpJB1MjdPgjZqPS18=",
|
"integrity": "sha512-81JjEP4OGk9oO8+CU0h2nFPGgJBm9mNa3kdCX2k6FuRdrWrC+CNe+tOnuIeTg8EWwQuI+wwdra5Q7vSzp7p4Iw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@vue/compiler-dom": "3.0.11",
|
"@vue/compiler-dom": "3.2.20",
|
||||||
"@vue/runtime-dom": "3.0.11",
|
"@vue/compiler-sfc": "3.2.20",
|
||||||
"@vue/shared": "3.0.11"
|
"@vue/runtime-dom": "3.2.20",
|
||||||
|
"@vue/server-renderer": "3.2.20",
|
||||||
|
"@vue/shared": "3.2.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vue-eslint-parser": {
|
"vue-eslint-parser": {
|
||||||
@ -25900,6 +25800,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vue-resize": {
|
||||||
|
"version": "2.0.0-alpha.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-2.0.0-alpha.1.tgz",
|
||||||
|
"integrity": "sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
"vue-router": {
|
"vue-router": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.nlark.com/vue-router/download/vue-router-4.0.8.tgz",
|
"resolved": "https://registry.nlark.com/vue-router/download/vue-router-4.0.8.tgz",
|
||||||
@ -25933,6 +25840,15 @@
|
|||||||
"integrity": "sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=",
|
"integrity": "sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"vuex": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@vue/devtools-api": "^6.0.0-beta.11"
|
||||||
|
}
|
||||||
|
},
|
||||||
"watchpack": {
|
"watchpack": {
|
||||||
"version": "1.7.5",
|
"version": "1.7.5",
|
||||||
"resolved": "https://registry.nlark.com/watchpack/download/watchpack-1.7.5.tgz?cache=0&sync_timestamp=1621437900992&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwatchpack%2Fdownload%2Fwatchpack-1.7.5.tgz",
|
"resolved": "https://registry.nlark.com/watchpack/download/watchpack-1.7.5.tgz?cache=0&sync_timestamp=1621437900992&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwatchpack%2Fdownload%2Fwatchpack-1.7.5.tgz",
|
||||||
|
@ -12,15 +12,17 @@
|
|||||||
"@vue/cli-plugin-router": "~4.5.0",
|
"@vue/cli-plugin-router": "~4.5.0",
|
||||||
"@vue/cli-service": "~4.5.0",
|
"@vue/cli-service": "~4.5.0",
|
||||||
"@vue/compiler-sfc": "^3.0.0",
|
"@vue/compiler-sfc": "^3.0.0",
|
||||||
"axios": "^0.21.1",
|
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"bootstrap": "^5.0.1",
|
"bootstrap": "^5.0.1",
|
||||||
|
"bootstrap-icons": "^1.5.0",
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"eslint": "^6.7.2",
|
"eslint": "^6.7.2",
|
||||||
"eslint-plugin-vue": "^7.0.0",
|
"eslint-plugin-vue": "^7.0.0",
|
||||||
"sass": "^1.37.5",
|
"sass": "^1.37.5",
|
||||||
"sass-loader": "^10.2.0",
|
"sass-loader": "^10.2.0",
|
||||||
|
"v-tooltip": "^4.0.0-alpha.1",
|
||||||
"vue": "^3.0.0",
|
"vue": "^3.0.0",
|
||||||
"vue-router": "^4.0.0-0"
|
"vue-router": "^4.0.0-0",
|
||||||
|
"vuex": "^4.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
public/apple-touch-icon.png
(Stored with Git LFS)
@ -1,4 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
window.ki = {
|
window.ki = {
|
||||||
apiUrl: 'http://localhost:5000'
|
apiUrl: 'http://localhost:5000'
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
window.ki = {
|
window.ki = {
|
||||||
apiUrl: 'http://localhost:13338'
|
apiUrl: 'http://localhost:13338'
|
||||||
}
|
}
|
||||||
|
BIN
public/favicon-96x96.png
(Stored with Git LFS)
Before Width: | Height: | Size: 1.1 KiB |
@ -1 +0,0 @@
|
|||||||
SPDX-License-Identifier: MIT
|
|
@ -1,3 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pencil" viewBox="0 0 16 16">
|
|
||||||
<path d="M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207 11.207 2.5zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293l6.5-6.5zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 548 B |
@ -1,3 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-lg" viewBox="0 0 16 16">
|
|
||||||
<path d="M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 238 B |
@ -1 +0,0 @@
|
|||||||
SPDX-License-Identifier: MIT
|
|
@ -1,3 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
|
|
||||||
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 331 B |
@ -1 +0,0 @@
|
|||||||
SPDX-License-Identifier: MIT
|
|
@ -1,4 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-trash" viewBox="0 0 16 16">
|
|
||||||
<path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"/>
|
|
||||||
<path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 573 B |
@ -1 +0,0 @@
|
|||||||
SPDX-License-Identifier: MIT
|
|
@ -1,3 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
124
src/App.vue
@ -1,115 +1,25 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="alert alert-success text-center mb-0" role="alert">
|
|
||||||
Willkommen beim Alpha-Test!
|
|
||||||
<a href="https://git.wtf-eg.de/kompetenzinventar/ki-frontend/issues/new">Problem gefunden? Bitte hier ein Issue anlegen.</a>
|
|
||||||
</div>
|
|
||||||
<header v-if="this.$route.path.includes('/s/')">
|
<header v-if="this.$route.path.includes('/s/')">
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<Navbar />
|
||||||
<div class="container-fluid">
|
|
||||||
<a class="navbar-brand" href="#">KI</a>
|
|
||||||
<button
|
|
||||||
@click="showMobileNavbar = !showMobileNavbar"
|
|
||||||
class="navbar-toggler"
|
|
||||||
type="button"
|
|
||||||
data-bs-toggle="collapse"
|
|
||||||
data-bs-target="#navbarSupportedContent"
|
|
||||||
aria-controls="navbarSupportedContent"
|
|
||||||
aria-expanded="false"
|
|
||||||
aria-label="Toggle navigation"
|
|
||||||
>
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
<div
|
|
||||||
class="collapse navbar-collapse"
|
|
||||||
:class="{
|
|
||||||
show: showMobileNavbar,
|
|
||||||
}"
|
|
||||||
id="navbarSupportedContent"
|
|
||||||
>
|
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
||||||
<li class="nav-item">
|
|
||||||
<router-link
|
|
||||||
class="nav-link"
|
|
||||||
:to="{ path: `/s/search` }"
|
|
||||||
active-class="active"
|
|
||||||
>Suche</router-link
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<router-link
|
|
||||||
class="nav-link"
|
|
||||||
:to="{ path: `/s/profile/${memberId}` }"
|
|
||||||
active-class="active"
|
|
||||||
>Mein Profil</router-link
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<router-link
|
|
||||||
class="nav-link"
|
|
||||||
:to="{ path: `/s/profile-edit` }"
|
|
||||||
active-class="active"
|
|
||||||
>Bearbeiten</router-link
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<button class="btn btn-outline-danger" @click="logout()">
|
|
||||||
Logout
|
|
||||||
</button>
|
|
||||||
<a class="nav-link active" aria-current="page" href="#"></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<form class="d-flex" @submit.prevent="searchRedirect()">
|
|
||||||
<input
|
|
||||||
class="form-control me-2"
|
|
||||||
v-model="searchText"
|
|
||||||
type="search"
|
|
||||||
placeholder="Profile durchsuchen"
|
|
||||||
aria-label="Search"
|
|
||||||
/>
|
|
||||||
<button
|
|
||||||
class="btn btn-outline-primary"
|
|
||||||
type="submit"
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
src="/img/bootstrap-icons-1.5.0/search.svg"
|
|
||||||
alt="Suche Icon"
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
</header>
|
||||||
<router-view />
|
<router-view :key="$route.fullPath" />
|
||||||
<footer>
|
<Footer />
|
||||||
<a href="https://wtf-eg.de/impressum/" class="m-4">Impressum</a>
|
|
||||||
<a href="https://wtf-eg.de/datenschutz/" class="m-4">Datenschutz</a>
|
|
||||||
<a href="https://git.wtf-eg.de/kompetenzinventar" class="m-4">git(ea)</a>
|
|
||||||
<a href="https://git.wtf-eg.de/kompetenzinventar/ki-frontend/issues/new" class="m-4">Problem melden</a>
|
|
||||||
</footer>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import Footer from '@/components/Footer'
|
||||||
|
import Navbar from '@/components/Navbar'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: 'App',
|
||||||
data() {
|
components: {
|
||||||
return {
|
Footer,
|
||||||
showMobileNavbar: false,
|
Navbar,
|
||||||
memberId: null,
|
}
|
||||||
searchText: "",
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.memberId = localStorage.getItem("user_id");
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
logout() {
|
|
||||||
localStorage.clear();
|
|
||||||
this.$router.push({ path: "/" });
|
|
||||||
},
|
|
||||||
searchRedirect() {
|
|
||||||
this.$router.push({ path: `/s/search?text`, query: { query: this.searchText } } );
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,10 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
*
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "bootstrap/scss/bootstrap";
|
@import "bootstrap/scss/bootstrap";
|
||||||
|
|
||||||
.container{
|
.bg-wtf {
|
||||||
min-height: calc(100vh - 70px - 24px);
|
background-image: url(../assets/img/wtf-header-bg.jpg);
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-card{
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
BIN
src/assets/img/wtf-header-bg.jpg
Normal file
After Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
100
src/assets/img/wtf_logo_white.svg
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg width="100%" height="100%" viewBox="0 0 1476 617" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||||
|
<g id="Background" transform="matrix(1,0,0,1,-184.291,-861.078)">
|
||||||
|
<rect x="184.291" y="861.078" width="1475.62" height="616.639" style="fill:none;"/>
|
||||||
|
</g>
|
||||||
|
<g id="Logo" transform="matrix(1,0,0,1,-184.236,-860.997)">
|
||||||
|
<g id="WTF-Koorperative-eG" serif:id="WTF Koorperative eG">
|
||||||
|
<g id="eG" transform="matrix(4.16667,0,0,4.16667,-389.557,-181.762)">
|
||||||
|
<g transform="matrix(15.962,0,0,15.962,431.653,372.57)">
|
||||||
|
<path d="M0.288,-0.434C0.271,-0.434 0.255,-0.431 0.241,-0.424C0.227,-0.417 0.214,-0.407 0.202,-0.395C0.191,-0.383 0.181,-0.368 0.172,-0.351C0.164,-0.334 0.157,-0.315 0.152,-0.295C0.193,-0.3 0.227,-0.306 0.252,-0.313C0.277,-0.32 0.296,-0.327 0.31,-0.335C0.324,-0.343 0.333,-0.352 0.337,-0.361C0.342,-0.37 0.344,-0.38 0.344,-0.39C0.344,-0.395 0.343,-0.4 0.341,-0.405C0.339,-0.41 0.335,-0.415 0.331,-0.419C0.326,-0.423 0.32,-0.427 0.313,-0.43C0.306,-0.433 0.298,-0.434 0.288,-0.434ZM0.142,-0.209C0.142,-0.128 0.176,-0.088 0.244,-0.088C0.259,-0.088 0.272,-0.089 0.283,-0.092C0.294,-0.095 0.304,-0.098 0.313,-0.103C0.321,-0.107 0.329,-0.111 0.336,-0.116C0.343,-0.121 0.349,-0.126 0.355,-0.13C0.361,-0.134 0.366,-0.137 0.372,-0.14C0.378,-0.143 0.384,-0.144 0.391,-0.144C0.395,-0.144 0.398,-0.143 0.402,-0.141C0.406,-0.139 0.41,-0.136 0.413,-0.133L0.444,-0.095C0.426,-0.077 0.409,-0.062 0.392,-0.049C0.375,-0.036 0.358,-0.025 0.34,-0.017C0.322,-0.009 0.304,-0.003 0.284,0.002C0.264,0.006 0.243,0.008 0.22,0.008C0.19,0.008 0.163,0.002 0.139,-0.008C0.114,-0.018 0.093,-0.032 0.076,-0.051C0.059,-0.069 0.045,-0.092 0.036,-0.118C0.026,-0.144 0.022,-0.173 0.022,-0.206C0.022,-0.233 0.024,-0.259 0.03,-0.285C0.036,-0.311 0.045,-0.336 0.056,-0.359C0.067,-0.382 0.08,-0.404 0.096,-0.424C0.112,-0.443 0.13,-0.46 0.15,-0.475C0.17,-0.489 0.193,-0.5 0.217,-0.508C0.241,-0.516 0.267,-0.52 0.295,-0.52C0.321,-0.52 0.345,-0.516 0.365,-0.509C0.385,-0.501 0.402,-0.491 0.415,-0.479C0.429,-0.467 0.439,-0.453 0.446,-0.438C0.452,-0.423 0.456,-0.408 0.456,-0.394C0.456,-0.371 0.451,-0.35 0.442,-0.331C0.433,-0.312 0.416,-0.295 0.393,-0.28C0.369,-0.265 0.337,-0.252 0.297,-0.241C0.256,-0.23 0.204,-0.222 0.142,-0.216L0.142,-0.209Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(15.962,0,0,15.962,440.065,372.57)">
|
||||||
|
<path d="M0.41,-0.361L0.635,-0.361L0.599,-0.07C0.562,-0.043 0.522,-0.024 0.48,-0.011C0.438,0.002 0.389,0.008 0.335,0.008C0.291,0.008 0.25,0 0.214,-0.016C0.178,-0.032 0.147,-0.054 0.121,-0.083C0.095,-0.111 0.076,-0.145 0.062,-0.184C0.048,-0.223 0.041,-0.266 0.041,-0.313C0.041,-0.353 0.045,-0.392 0.054,-0.428C0.063,-0.465 0.076,-0.498 0.092,-0.53C0.109,-0.561 0.129,-0.588 0.152,-0.613C0.175,-0.638 0.201,-0.659 0.23,-0.677C0.259,-0.694 0.29,-0.708 0.323,-0.717C0.357,-0.726 0.392,-0.731 0.429,-0.731C0.458,-0.731 0.484,-0.728 0.508,-0.723C0.532,-0.718 0.554,-0.711 0.573,-0.702C0.592,-0.693 0.61,-0.683 0.625,-0.671C0.64,-0.659 0.654,-0.646 0.666,-0.633L0.624,-0.579C0.617,-0.569 0.609,-0.563 0.6,-0.561C0.59,-0.559 0.58,-0.561 0.57,-0.568C0.56,-0.574 0.551,-0.581 0.541,-0.587C0.531,-0.593 0.521,-0.599 0.509,-0.604C0.498,-0.608 0.485,-0.612 0.47,-0.616C0.455,-0.619 0.438,-0.62 0.419,-0.62C0.383,-0.62 0.349,-0.613 0.32,-0.598C0.29,-0.584 0.264,-0.563 0.242,-0.537C0.22,-0.51 0.204,-0.478 0.192,-0.441C0.18,-0.404 0.174,-0.363 0.174,-0.317C0.174,-0.282 0.178,-0.251 0.187,-0.224C0.196,-0.197 0.208,-0.173 0.224,-0.155C0.24,-0.135 0.259,-0.121 0.282,-0.111C0.304,-0.101 0.329,-0.095 0.357,-0.096C0.384,-0.095 0.408,-0.098 0.429,-0.103C0.45,-0.108 0.47,-0.116 0.489,-0.126L0.505,-0.263L0.425,-0.263C0.417,-0.263 0.41,-0.265 0.406,-0.27C0.402,-0.274 0.4,-0.28 0.401,-0.287L0.41,-0.361Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g id="Kooperative" transform="matrix(4.16667,0,0,4.16667,896.411,1370.07)">
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,0,0)">
|
||||||
|
<path d="M0.786,-0.365C0.786,-0.312 0.776,-0.263 0.758,-0.218C0.74,-0.172 0.715,-0.133 0.682,-0.099C0.649,-0.066 0.609,-0.04 0.562,-0.021C0.516,-0.002 0.464,0.008 0.408,0.008C0.351,0.008 0.299,-0.002 0.253,-0.021C0.206,-0.04 0.166,-0.066 0.133,-0.099C0.1,-0.133 0.074,-0.172 0.056,-0.218C0.038,-0.263 0.029,-0.312 0.029,-0.365C0.029,-0.417 0.038,-0.466 0.056,-0.512C0.074,-0.557 0.1,-0.596 0.133,-0.63C0.166,-0.663 0.206,-0.689 0.253,-0.708C0.299,-0.727 0.351,-0.737 0.408,-0.737C0.464,-0.737 0.516,-0.727 0.562,-0.708C0.609,-0.689 0.649,-0.662 0.682,-0.629C0.715,-0.596 0.74,-0.556 0.758,-0.511C0.776,-0.466 0.786,-0.417 0.786,-0.365ZM0.613,-0.365C0.613,-0.401 0.608,-0.433 0.599,-0.462C0.589,-0.491 0.576,-0.515 0.558,-0.535C0.541,-0.555 0.519,-0.57 0.494,-0.581C0.469,-0.592 0.44,-0.597 0.408,-0.597C0.375,-0.597 0.346,-0.592 0.32,-0.581C0.295,-0.57 0.273,-0.555 0.256,-0.535C0.238,-0.515 0.225,-0.491 0.216,-0.462C0.206,-0.433 0.202,-0.401 0.202,-0.365C0.202,-0.328 0.206,-0.296 0.216,-0.267C0.225,-0.238 0.238,-0.214 0.256,-0.194C0.273,-0.173 0.295,-0.158 0.32,-0.148C0.346,-0.137 0.375,-0.132 0.408,-0.132C0.44,-0.132 0.469,-0.137 0.494,-0.148C0.519,-0.158 0.541,-0.173 0.558,-0.194C0.576,-0.214 0.589,-0.238 0.599,-0.267C0.608,-0.296 0.613,-0.328 0.613,-0.365Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,14.6911,0)">
|
||||||
|
<path d="M0.786,-0.365C0.786,-0.312 0.776,-0.263 0.758,-0.218C0.74,-0.172 0.715,-0.133 0.682,-0.099C0.649,-0.066 0.609,-0.04 0.562,-0.021C0.516,-0.002 0.464,0.008 0.408,0.008C0.351,0.008 0.299,-0.002 0.253,-0.021C0.206,-0.04 0.166,-0.066 0.133,-0.099C0.1,-0.133 0.074,-0.172 0.056,-0.218C0.038,-0.263 0.029,-0.312 0.029,-0.365C0.029,-0.417 0.038,-0.466 0.056,-0.512C0.074,-0.557 0.1,-0.596 0.133,-0.63C0.166,-0.663 0.206,-0.689 0.253,-0.708C0.299,-0.727 0.351,-0.737 0.408,-0.737C0.464,-0.737 0.516,-0.727 0.562,-0.708C0.609,-0.689 0.649,-0.662 0.682,-0.629C0.715,-0.596 0.74,-0.556 0.758,-0.511C0.776,-0.466 0.786,-0.417 0.786,-0.365ZM0.613,-0.365C0.613,-0.401 0.608,-0.433 0.599,-0.462C0.589,-0.491 0.576,-0.515 0.558,-0.535C0.541,-0.555 0.519,-0.57 0.494,-0.581C0.469,-0.592 0.44,-0.597 0.408,-0.597C0.375,-0.597 0.346,-0.592 0.32,-0.581C0.295,-0.57 0.273,-0.555 0.256,-0.535C0.238,-0.515 0.225,-0.491 0.216,-0.462C0.206,-0.433 0.202,-0.401 0.202,-0.365C0.202,-0.328 0.206,-0.296 0.216,-0.267C0.225,-0.238 0.238,-0.214 0.256,-0.194C0.273,-0.173 0.295,-0.158 0.32,-0.148C0.346,-0.137 0.375,-0.132 0.408,-0.132C0.44,-0.132 0.469,-0.137 0.494,-0.148C0.519,-0.158 0.541,-0.173 0.558,-0.194C0.576,-0.214 0.589,-0.238 0.599,-0.267C0.608,-0.296 0.613,-0.328 0.613,-0.365Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,29.3823,0)">
|
||||||
|
<path d="M0.328,-0.371C0.372,-0.371 0.403,-0.382 0.423,-0.403C0.442,-0.424 0.452,-0.453 0.452,-0.491C0.452,-0.507 0.449,-0.522 0.444,-0.536C0.439,-0.55 0.431,-0.561 0.421,-0.571C0.411,-0.581 0.398,-0.589 0.383,-0.594C0.367,-0.599 0.349,-0.602 0.328,-0.602L0.24,-0.602L0.24,-0.371L0.328,-0.371ZM0.328,-0.729C0.379,-0.729 0.423,-0.722 0.46,-0.71C0.497,-0.698 0.527,-0.681 0.551,-0.66C0.575,-0.639 0.592,-0.614 0.604,-0.585C0.615,-0.556 0.621,-0.524 0.621,-0.491C0.621,-0.454 0.615,-0.421 0.603,-0.391C0.591,-0.36 0.574,-0.334 0.55,-0.313C0.526,-0.291 0.495,-0.274 0.458,-0.262C0.421,-0.25 0.378,-0.243 0.328,-0.244L0.24,-0.244L0.24,-0L0.071,-0L0.071,-0.729L0.328,-0.729Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,40.8538,0)">
|
||||||
|
<path d="M0.241,-0.599L0.241,-0.429L0.47,-0.429L0.47,-0.304L0.241,-0.304L0.241,-0.13L0.54,-0.13L0.54,-0L0.071,-0L0.071,-0.729L0.54,-0.729L0.54,-0.599L0.241,-0.599Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,51.189,0)">
|
||||||
|
<path d="M0.308,-0.386C0.331,-0.386 0.35,-0.389 0.366,-0.395C0.382,-0.401 0.396,-0.409 0.406,-0.419C0.416,-0.429 0.424,-0.441 0.429,-0.455C0.433,-0.469 0.436,-0.484 0.436,-0.5C0.436,-0.532 0.425,-0.557 0.404,-0.575C0.383,-0.593 0.351,-0.602 0.308,-0.602L0.24,-0.602L0.24,-0.386L0.308,-0.386ZM0.667,-0L0.514,-0C0.485,-0 0.465,-0.011 0.453,-0.032L0.332,-0.244C0.326,-0.253 0.32,-0.259 0.313,-0.263C0.306,-0.267 0.296,-0.27 0.283,-0.27L0.24,-0.27L0.24,-0L0.071,-0L0.071,-0.729L0.308,-0.729C0.36,-0.729 0.405,-0.723 0.442,-0.712C0.479,-0.701 0.51,-0.686 0.533,-0.667C0.557,-0.648 0.574,-0.625 0.585,-0.599C0.595,-0.572 0.601,-0.544 0.601,-0.513C0.601,-0.489 0.597,-0.467 0.591,-0.446C0.585,-0.425 0.575,-0.405 0.563,-0.387C0.551,-0.369 0.535,-0.354 0.517,-0.34C0.499,-0.326 0.478,-0.314 0.455,-0.305C0.466,-0.299 0.476,-0.292 0.486,-0.284C0.495,-0.275 0.504,-0.265 0.512,-0.254L0.667,-0Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,63.0483,0)">
|
||||||
|
<path d="M0.456,-0.279L0.388,-0.478C0.383,-0.491 0.378,-0.506 0.372,-0.523C0.366,-0.54 0.361,-0.559 0.355,-0.579C0.35,-0.558 0.345,-0.539 0.339,-0.522C0.333,-0.505 0.328,-0.49 0.323,-0.477L0.256,-0.279L0.456,-0.279ZM0.724,-0L0.593,-0C0.578,-0 0.567,-0.003 0.558,-0.01C0.549,-0.017 0.542,-0.026 0.537,-0.037L0.494,-0.164L0.217,-0.164L0.174,-0.037C0.17,-0.027 0.164,-0.019 0.154,-0.011C0.145,-0.004 0.133,-0 0.119,-0L-0.013,-0L0.269,-0.729L0.442,-0.729L0.724,-0Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,74.592,0)">
|
||||||
|
<path d="M0.594,-0.595L0.389,-0.595L0.389,-0L0.22,-0L0.22,-0.595L0.015,-0.595L0.015,-0.729L0.594,-0.729L0.594,-0.595Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,85.5765,0)">
|
||||||
|
<rect x="0.071" y="-0.729" width="0.17" height="0.729" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,91.1861,0)">
|
||||||
|
<path d="M0.724,-0.729L0.432,-0L0.279,-0L-0.013,-0.729L0.123,-0.729C0.138,-0.729 0.15,-0.725 0.159,-0.718C0.168,-0.711 0.174,-0.703 0.179,-0.692L0.32,-0.302C0.327,-0.285 0.333,-0.266 0.34,-0.246C0.346,-0.226 0.352,-0.205 0.358,-0.183C0.362,-0.205 0.367,-0.226 0.373,-0.246C0.379,-0.266 0.385,-0.285 0.392,-0.302L0.532,-0.692C0.536,-0.701 0.542,-0.71 0.552,-0.717C0.561,-0.725 0.573,-0.729 0.587,-0.729L0.724,-0.729Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,104.01,0)">
|
||||||
|
<path d="M0.241,-0.599L0.241,-0.429L0.47,-0.429L0.47,-0.304L0.241,-0.304L0.241,-0.13L0.54,-0.13L0.54,-0L0.071,-0L0.071,-0.729L0.54,-0.729L0.54,-0.599L0.241,-0.599Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(18.037,0,0,18.037,-13.068,0)">
|
||||||
|
<path d="M0.24,-0.434L0.267,-0.434C0.292,-0.434 0.31,-0.441 0.321,-0.457L0.485,-0.695C0.494,-0.708 0.505,-0.716 0.516,-0.721C0.527,-0.726 0.541,-0.729 0.558,-0.729L0.705,-0.729L0.489,-0.434C0.473,-0.414 0.457,-0.399 0.439,-0.39C0.452,-0.385 0.463,-0.379 0.474,-0.371C0.484,-0.362 0.494,-0.351 0.503,-0.338L0.723,-0L0.572,-0C0.562,-0 0.554,-0.001 0.547,-0.002C0.54,-0.003 0.534,-0.005 0.529,-0.008C0.524,-0.011 0.52,-0.014 0.516,-0.018C0.512,-0.022 0.509,-0.026 0.506,-0.031L0.341,-0.285C0.335,-0.294 0.327,-0.3 0.318,-0.304C0.309,-0.308 0.296,-0.31 0.281,-0.31L0.24,-0.31L0.24,-0L0.071,-0L0.071,-0.729L0.24,-0.729L0.24,-0.434Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g id="WTF" transform="matrix(4.16667,0,0,4.16667,-363.557,-181.762)">
|
||||||
|
<g transform="matrix(63.848,0,0,63.848,353.279,347.753)">
|
||||||
|
<path d="M0.59,-0.605L0.378,-0.605L0.378,-0L0.227,-0L0.227,-0.605L0.015,-0.605L0.015,-0.726L0.59,-0.726L0.59,-0.605Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(63.848,0,0,63.848,391.843,347.753)">
|
||||||
|
<path d="M0.227,-0.608L0.227,-0.408L0.488,-0.408L0.488,-0.29L0.227,-0.29L0.227,-0L0.076,-0L0.076,-0.726L0.538,-0.726L0.538,-0.608L0.227,-0.608Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(63.848,0,0,63.848,282.658,347.753)">
|
||||||
|
<path d="M1.052,-0.726L0.827,-0L0.692,-0L0.543,-0.475C0.541,-0.481 0.538,-0.489 0.536,-0.497C0.534,-0.505 0.532,-0.513 0.53,-0.522C0.528,-0.513 0.525,-0.505 0.523,-0.497C0.521,-0.489 0.518,-0.481 0.516,-0.475L0.366,-0L0.23,-0L0.006,-0.726L0.132,-0.726C0.145,-0.725 0.155,-0.723 0.164,-0.717C0.173,-0.711 0.179,-0.703 0.182,-0.693L0.294,-0.284C0.297,-0.272 0.299,-0.26 0.302,-0.247C0.305,-0.234 0.308,-0.22 0.311,-0.205C0.314,-0.22 0.317,-0.234 0.32,-0.247C0.323,-0.26 0.327,-0.272 0.331,-0.284L0.462,-0.693C0.465,-0.701 0.47,-0.708 0.479,-0.715C0.488,-0.722 0.499,-0.725 0.512,-0.726L0.556,-0.726C0.569,-0.725 0.579,-0.722 0.587,-0.716C0.595,-0.71 0.602,-0.702 0.606,-0.693L0.736,-0.284C0.74,-0.273 0.744,-0.261 0.747,-0.249C0.75,-0.236 0.753,-0.223 0.757,-0.209C0.759,-0.223 0.762,-0.236 0.764,-0.249C0.767,-0.261 0.769,-0.273 0.772,-0.284L0.885,-0.693C0.887,-0.701 0.893,-0.709 0.902,-0.716C0.911,-0.722 0.921,-0.725 0.934,-0.726L1.052,-0.726Z" style="fill:#fff;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g id="Einhorn" transform="matrix(1,0,0,1,-31.2941,-563.989)">
|
||||||
|
<path d="M450.529,1662.06L400.757,1697.42L401.385,1712.12C401.385,1712.12 401.392,1712.51 401.318,1712.69C401.189,1713.12 400.944,1713.39 400.944,1713.39L450.529,1662.06Z" style="fill:#fff;"/>
|
||||||
|
<path d="M736.631,1698.47L756.815,1695.93C756.815,1695.93 757.296,1695.91 757.696,1695.65C758.083,1695.4 758.264,1695.06 758.264,1695.06L750.801,1710.64C750.801,1710.64 750.463,1711.42 749.582,1711.56C748.632,1711.72 748.087,1711.18 748.087,1711.18L743.517,1707.05L745.991,1710.95C745.991,1710.95 746.486,1711.78 746.06,1712.62C745.565,1713.62 744.582,1713.64 744.582,1713.64L734.515,1714.3C734.515,1714.3 735.304,1714.06 735.548,1713.76C735.8,1713.44 736.025,1712.42 736.025,1712.42L736.631,1698.47Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.78,-0.317371)">
|
||||||
|
<path d="M736.631,1698.47L756.815,1695.93C756.815,1695.93 757.296,1695.91 757.696,1695.65C758.083,1695.4 758.264,1695.06 758.264,1695.06L750.801,1710.64C750.801,1710.64 750.463,1711.42 749.582,1711.56C748.632,1711.72 748.087,1711.18 748.087,1711.18L743.517,1707.05L745.991,1710.95C745.991,1710.95 746.486,1711.78 746.06,1712.62C745.565,1713.62 744.582,1713.64 744.582,1713.64L734.515,1714.3C734.515,1714.3 735.304,1714.06 735.548,1713.76C735.8,1713.44 736.025,1712.42 736.025,1712.42L736.631,1698.47Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M392.458,1653.33L445.559,1660.94L398.452,1694.68L377.352,1692.04C377.352,1692.04 376.875,1691.98 376.441,1692.17C375.813,1692.44 375.559,1692.97 375.559,1692.97L392.458,1653.33Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.82,0.344083)">
|
||||||
|
<path d="M392.458,1653.33L445.559,1660.94L398.452,1694.68L377.352,1692.04C377.352,1692.04 376.875,1691.98 376.441,1692.17C375.813,1692.44 375.559,1692.97 375.559,1692.97L392.458,1653.33Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M671.12,1573.37L702.593,1592.58L707.544,1588.92L698.064,1578.83L687.348,1576.59L689.224,1568.43C689.224,1568.43 689.271,1568.29 689.281,1568.09C689.288,1567.93 689.255,1567.77 689.255,1567.77L686.724,1550.74C686.724,1550.74 686.529,1549.58 685.362,1549.35C684.059,1549.08 683.457,1550.14 683.457,1550.14L674.166,1565.5C674.166,1565.5 674.065,1565.68 674.02,1565.84C673.954,1566.06 673.947,1566.24 673.947,1566.24L673.835,1574.13L671.12,1573.37Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.81,-0.623595)">
|
||||||
|
<path d="M670.409,1573.25L702.616,1592.94L707.454,1589.14L698.064,1578.83L687.348,1576.59L689.224,1568.43C689.224,1568.43 689.271,1568.29 689.281,1568.09C689.288,1567.93 689.255,1567.77 689.255,1567.77L686.724,1550.74C686.724,1550.74 686.529,1549.58 685.362,1549.35C684.059,1549.08 683.457,1550.14 683.457,1550.14L674.166,1565.5C674.166,1565.5 674.065,1565.68 674.02,1565.84C673.954,1566.06 673.947,1566.24 673.947,1566.24L673.84,1573.91L670.409,1573.25Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M427.91,1594.32L407.278,1606.88L315.202,1511.83C315.202,1511.83 314.118,1510.66 315.278,1509.41C316.302,1508.31 317.631,1509.24 317.631,1509.24L427.91,1594.32Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.84,0.346916)">
|
||||||
|
<path d="M427.91,1594.32L407.278,1606.88L315.202,1511.83C315.202,1511.83 314.118,1510.66 315.278,1509.41C316.302,1508.31 317.631,1509.24 317.631,1509.24L427.91,1594.32Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M352.629,1973.55L412.821,1957.45L564.149,1813.8L502.768,1776.15L352.629,1973.55Z" style="fill:#fff;"/>
|
||||||
|
<path d="M724.493,1958.33L791.81,1974.99L636.355,1779.22L570.066,1813.9L724.493,1958.33Z" style="fill:#fff;"/>
|
||||||
|
<path d="M567.109,1811.42L634.096,1776.37L566.931,1691.79L504.928,1773.31L567.109,1811.42Z" style="fill:#fff;"/>
|
||||||
|
<path d="M501.388,1771.76L565.007,1688.47L507.888,1603.52L471.991,1672.38L501.388,1771.76Z" style="fill:#fff;"/>
|
||||||
|
<path d="M568.964,1688.62L636.117,1772.79L662.194,1673.36L625.972,1603.85L568.964,1688.62Z" style="fill:#fff;"/>
|
||||||
|
<path d="M628.44,1600.9L663.644,1574.69L681.595,1659.26L664.468,1669.99L628.44,1600.9Z" style="fill:#fff;"/>
|
||||||
|
<path d="M452.254,1658.94L469.378,1669.67L505.406,1600.56L470.221,1574.36L452.254,1658.94Z" style="fill:#fff;"/>
|
||||||
|
<path d="M409.728,1609.57L466.44,1574.95L449.265,1655.87L409.728,1609.57ZM419.698,1608.4C418.738,1609.21 418.917,1610.78 420.06,1611.35L425.353,1613.99C426.003,1614.31 426.771,1614.21 427.32,1613.75L432.618,1609.17C433.604,1608.31 433.359,1606.71 432.159,1606.19C425.3,1602.76 425.728,1603.15 420.361,1607.83C420.143,1608.01 419.68,1608.37 419.698,1608.4Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.87,0.365109)">
|
||||||
|
<path d="M450.529,1662.06L400.757,1697.42L401.402,1712.11C401.402,1712.11 401.412,1712.43 401.327,1712.69C401.198,1713.08 400.954,1713.36 400.954,1713.36L450.529,1662.06Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M667.407,1575.3L724.122,1609.91L684.599,1656.21L667.407,1575.3ZM707.873,1603.98C707.655,1603.99 707.437,1604.03 707.227,1604.13L701.695,1606.53C700.477,1607.05 700.242,1608.66 701.232,1609.52L706.538,1614.1C707.075,1614.57 707.86,1614.67 708.506,1614.34L713.79,1611.69C714.933,1611.11 715.121,1609.57 714.156,1608.74L709.095,1604.41C708.754,1604.12 708.323,1603.97 707.873,1603.98Z" style="fill:#fff;"/>
|
||||||
|
<path d="M687.949,1657.75L740.377,1650.89C740.377,1650.89 731.48,1619.35 729.222,1611.36C729.041,1610.72 728.918,1610.57 728.71,1610.53C728.604,1610.5 728.323,1610.47 727.692,1611.21C721.177,1618.84 687.949,1657.75 687.949,1657.75Z" style="fill:#fff;"/>
|
||||||
|
<g transform="matrix(-1,0,0,1,1133.99,0.137922)">
|
||||||
|
<path d="M688.136,1657.23L740.413,1650.04C740.413,1650.04 731.949,1620.01 729.672,1611.95C729.314,1610.68 728.761,1610.52 728.548,1610.52C728.308,1610.52 728.093,1610.44 727.596,1611.02C721.135,1618.59 688.136,1657.23 688.136,1657.23Z" style="fill:#fff;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 20 KiB |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"1": "Keine Angabe",
|
"1": "Keine Angabe",
|
||||||
"2": "Grundkentnisse",
|
"2": "Grundkenntnisse",
|
||||||
"3": "Gut",
|
"3": "Gut",
|
||||||
"4": "Fließend",
|
"4": "Fließend",
|
||||||
"5": "Muttersprache"
|
"5": "Muttersprache"
|
||||||
|
@ -1,7 +1,22 @@
|
|||||||
{
|
{
|
||||||
"1": "bis 6 Monate",
|
"1": {
|
||||||
"2": "bis 1 Jahr",
|
"short": "≤ 6M",
|
||||||
"3": "bis 3 Jahre",
|
"long": "bis 6 Monate"
|
||||||
"4": "bis 5 Jahre",
|
},
|
||||||
"5": "mehr als 5 Jahre"
|
"2":{
|
||||||
}
|
"short": "≤ 1J",
|
||||||
|
"long": "bis 1 Jahr"
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"short": "≤ 3J",
|
||||||
|
"long": "bis 3 Jahre"
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"short": "≤ 5J",
|
||||||
|
"long": "bis 5 Jahre"
|
||||||
|
},
|
||||||
|
"5": {
|
||||||
|
"short": "> 5J",
|
||||||
|
"long": "mehr als 5 Jahre"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
$gray-100: #edefeb;
|
||||||
|
$gray-800: #344b5d;
|
||||||
|
|
||||||
$primary: #0790a9;
|
$primary: #0790a9;
|
||||||
|
$dark: $gray-800;
|
||||||
|
|
||||||
|
$body-bg: $gray-100;
|
||||||
|
|
||||||
|
$link-decoration: none;
|
||||||
|
$link-hover-decoration: underline;
|
||||||
|
|
||||||
|
$spinner-animation-speed: 1s;
|
||||||
|
@ -1,20 +1,50 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<profile-list
|
||||||
<label for="searchText" class="form-label fw-bold">{{ label }}</label>
|
:values="values"
|
||||||
<div class="row mb-2">
|
:type="type"
|
||||||
<div class="col">
|
:editable="true"
|
||||||
|
:show-secondary="showSecondary"
|
||||||
|
@remove-value="removeValue($event)"
|
||||||
|
@update-values="this.$emit('update-values', this.values)"
|
||||||
|
>
|
||||||
|
</profile-list>
|
||||||
|
<div v-bind="$attrs" class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 col-md-4 col-lg-3 col-xl-2">
|
||||||
|
<div class="form-control-plaintext form-control-sm">Eintrag hinzufügen:</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-12 col-md-6">
|
||||||
<input
|
<input
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control form-control-sm"
|
||||||
id="searchText"
|
id="searchText"
|
||||||
|
:maxlength="maxlength"
|
||||||
|
:placeholder="placeholder"
|
||||||
v-model="searchText"
|
v-model="searchText"
|
||||||
@keyup="search()"
|
@input="search()"
|
||||||
@keyup.enter="addResult()"
|
@keyup.enter="addResult()"
|
||||||
/>
|
/>
|
||||||
|
<div v-if="searchResults">
|
||||||
|
<ul class="list-group">
|
||||||
|
<li
|
||||||
|
class="list-group-item"
|
||||||
|
v-for="result in searchResults"
|
||||||
|
:key="result.id"
|
||||||
|
@click="addResult(result)"
|
||||||
|
>
|
||||||
|
{{ result.name }}
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col-md-2">
|
||||||
<button
|
<button
|
||||||
v-if="searchText != ''"
|
v-if="searchText != ''"
|
||||||
type="button"
|
type="button"
|
||||||
@ -22,43 +52,21 @@
|
|||||||
aria-label="Hinzufügen"
|
aria-label="Hinzufügen"
|
||||||
@click="addResult()"
|
@click="addResult()"
|
||||||
>
|
>
|
||||||
<img
|
<i clas="bi-plus-lg"></i>
|
||||||
src="/img/bootstrap-icons-1.5.0/plus-lg.svg"
|
|
||||||
alt="Hinzufügen Icon"
|
|
||||||
/>
|
|
||||||
Hinzufügen
|
Hinzufügen
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="" v-if="searchResults">
|
|
||||||
<ul class="list-group">
|
|
||||||
<li
|
|
||||||
class="list-group-item"
|
|
||||||
v-for="result in searchResults"
|
|
||||||
:key="result.id"
|
|
||||||
@click="addResult(result)"
|
|
||||||
>
|
|
||||||
{{ result.name }}
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<profile-list
|
|
||||||
:values="values"
|
|
||||||
:type="type"
|
|
||||||
:editable="true"
|
|
||||||
@remove-value="removeValue($event)"
|
|
||||||
@update-values="this.$emit('update-values', this.values)"
|
|
||||||
>
|
|
||||||
</profile-list>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import RequestMixin from "@/mixins/request.mixin"
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import ProfileList from "@/components/ProfileList";
|
import RequestMixin from '@/mixins/request.mixin'
|
||||||
|
import ProfileList from '@/components/ProfileList';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AutoComplete",
|
name: 'AutoComplete',
|
||||||
mixins: [RequestMixin],
|
mixins: [RequestMixin],
|
||||||
components: {
|
components: {
|
||||||
ProfileList,
|
ProfileList,
|
||||||
@ -73,18 +81,33 @@ export default {
|
|||||||
values: {
|
values: {
|
||||||
type: Array,
|
type: Array,
|
||||||
},
|
},
|
||||||
|
showSecondary: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
|
placeholder: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
iconUrl: this.apiUrl,
|
iconUrl: this.apiUrl,
|
||||||
searchText: "",
|
searchText: '',
|
||||||
searchResults: [],
|
searchResults: [],
|
||||||
showErrorMessage: false,
|
showErrorMessage: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState(['currentUserId']),
|
||||||
|
maxlength() {
|
||||||
|
return this.type === 'skill' ? 50 : 25
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addResult(result = false) {
|
addResult(result = false) {
|
||||||
if (!result) result = this.searchResults[0];
|
if (!result) result = this.searchResults[0];
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.values.map((item) => item[this.type].name).includes(result.name)
|
this.values.map((item) => item[this.type].name).includes(result.name)
|
||||||
) {
|
) {
|
||||||
@ -93,18 +116,21 @@ export default {
|
|||||||
|
|
||||||
let changeValues = Object.assign(this.values);
|
let changeValues = Object.assign(this.values);
|
||||||
let newValue = {
|
let newValue = {
|
||||||
profile_id: localStorage.getItem("user_id"),
|
profile_id: this.currentUserId,
|
||||||
};
|
};
|
||||||
if (this.type != "contacttype") {
|
|
||||||
|
if (this.type != 'contacttype') {
|
||||||
newValue.level = 1;
|
newValue.level = 1;
|
||||||
} else {
|
} else {
|
||||||
newValue.content = "";
|
newValue.content = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
newValue[this.type] = result;
|
newValue[this.type] = result;
|
||||||
changeValues.unshift(newValue);
|
changeValues.unshift(newValue);
|
||||||
this.searchText = "";
|
|
||||||
|
this.searchText = '';
|
||||||
this.searchResults = [];
|
this.searchResults = [];
|
||||||
this.$emit("update-values", changeValues);
|
this.$emit('update-values', changeValues);
|
||||||
},
|
},
|
||||||
removeValue(valueName) {
|
removeValue(valueName) {
|
||||||
const newValues = this.values.filter((value) => {
|
const newValues = this.values.filter((value) => {
|
||||||
@ -114,7 +140,7 @@ export default {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.$emit("update-values", newValues);
|
this.$emit('update-values', newValues);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
37
src/components/Avatar.vue
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="avatar bg-dark">
|
||||||
|
{{ avatarLetters }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
name: String
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
avatarLetters() {
|
||||||
|
return this.name.substr(0, 2)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.avatar {
|
||||||
|
align-items: center;
|
||||||
|
border-radius: .25rem;
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 2.5rem;
|
||||||
|
justify-content: center;
|
||||||
|
width: 2.5rem;
|
||||||
|
}
|
||||||
|
</style>
|
47
src/components/Footer.vue
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<footer class="bg-dark py-5">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row text-center text-sm-start">
|
||||||
|
<div class="col-sm-6 d-sm-flex justify-content-center mb-3 mb-sm-0">
|
||||||
|
<div class="d-inline-block">
|
||||||
|
<div class="fw-bold text-white mb-2">Kompetenzinventar</div>
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="https://git.wtf-eg.de/kompetenzinventar">Quellcode</a></li>
|
||||||
|
<li><a href="https://git.wtf-eg.de/kompetenzinventar/ki-frontend/issues/new">Problem melden</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 d-sm-flex justify-content-center">
|
||||||
|
<div class="d-inline-block">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="https://wtf-eg.de/impressum/">Impressum</a></li>
|
||||||
|
<li><a href="https://wtf-eg.de/datenschutz/">Datenschutzerklärung</a></li>
|
||||||
|
</ul>
|
||||||
|
<img class="wtf-logo wtf-logo--footer" src="@/assets/img/wtf_logo_white.svg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</template>
|
||||||
|
<style scoped>
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wtf-logo--footer {
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
</style>
|
110
src/components/Navbar.vue
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light bg-white">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<router-link
|
||||||
|
class="navbar-brand"
|
||||||
|
:to="{ path:'/s/search' }"
|
||||||
|
>
|
||||||
|
<img class="wtf-logo wtf-logo--navbar" src="@/assets/img/wtf_logo.svg">
|
||||||
|
<span class="d-none d-sm-inline">Kompetenzinventar</span>
|
||||||
|
<span class="d-sm-none">KI</span>
|
||||||
|
</router-link>
|
||||||
|
<button
|
||||||
|
@click="toggleMobileNav"
|
||||||
|
class="navbar-toggler"
|
||||||
|
type="button"
|
||||||
|
aria-controls="navbarSupportedContent"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-label="Toggle navigation"
|
||||||
|
>
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div
|
||||||
|
class="collapse navbar-collapse d-lg-flex"
|
||||||
|
:class="{ show: showMobileNav }"
|
||||||
|
id="navbarSupportedContent"
|
||||||
|
>
|
||||||
|
<ul class="navbar-nav mb-2 mb-lg-0 me-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<router-link
|
||||||
|
class="nav-link"
|
||||||
|
:to="{ path: `/s/search` }"
|
||||||
|
active-class="active"
|
||||||
|
>Suche</router-link
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<router-link
|
||||||
|
class="nav-link"
|
||||||
|
:to="{ path: `/s/profile/${currentUserId}` }"
|
||||||
|
active-class="active"
|
||||||
|
>Mein Profil</router-link
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<router-link
|
||||||
|
class="nav-link"
|
||||||
|
:to="{ path: `/s/profile-edit` }"
|
||||||
|
active-class="active"
|
||||||
|
>Bearbeiten</router-link
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="navbar-nav">
|
||||||
|
<li class="nav-item">
|
||||||
|
<button class="btn btn-danger w-100" @click="logout()">
|
||||||
|
<i class="bi bi-box-arrow-right"></i>
|
||||||
|
Logout
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import RequestMixin from '@/mixins/request.mixin'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'Navbar',
|
||||||
|
mixins: [RequestMixin],
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
showMobileNav: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState(['currentUserId'])
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
toggleMobileNav() {
|
||||||
|
this.showMobileNav = !this.showMobileNav
|
||||||
|
},
|
||||||
|
logout() {
|
||||||
|
this.$store.dispatch('clear')
|
||||||
|
this.$router.push({ path: '/' });
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
.wtf-logo--navbar {
|
||||||
|
height: 40px;
|
||||||
|
margin-bottom: -5px;
|
||||||
|
margin-top: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
@ -1,86 +1,90 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ul>
|
<ul class="list-group list-group-flush">
|
||||||
<li v-for="(value, valueKey) in values" :key="value.id">
|
<li
|
||||||
<div class="row m-1">
|
v-if="type == 'contacttype'"
|
||||||
<div class="col">
|
class="list-group-item">
|
||||||
<img
|
<div class="row">
|
||||||
style="max-width: 64px"
|
<div class="col-6">
|
||||||
v-if="value[type].icon_url"
|
Kontaktart
|
||||||
:src="iconUrl + value[type].icon_url"
|
<i class="bi bi-info-circle" v-tooltip="contactTypeTooltip"></i>
|
||||||
:alt="`${value[type].name} Logo`"
|
|
||||||
/>
|
|
||||||
{{ value[type].name }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col-6">
|
||||||
<div v-if="type == 'skill'">
|
Wert
|
||||||
<div v-if="editable">
|
<i class="bi bi-info-circle" v-tooltip="contactContentTooltip"></i>
|
||||||
<select
|
</div>
|
||||||
v-if="editableValues[valueKey]"
|
</div>
|
||||||
class="form-select"
|
</li>
|
||||||
aria-label="Selektiere dein Level"
|
<li
|
||||||
v-model="editableValues[valueKey].level"
|
class="list-group-item"
|
||||||
@input="$emit('update-values', editableValues)"
|
v-for="(value, valueKey) in values"
|
||||||
|
:key="value.id"
|
||||||
|
>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 col-md-5 d-flex align-items-center">
|
||||||
|
<div
|
||||||
|
class="list-icon me-1"
|
||||||
|
:style="{ backgroundImage: `url('${iconBaseUrl + value[type].icon_url}'` }"
|
||||||
|
v-if="value[type].icon_url"
|
||||||
|
/>
|
||||||
|
<div>
|
||||||
|
{{ value[type].name }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-10 col-md-5">
|
||||||
|
<div v-if="type == 'skill' && showSecondary">
|
||||||
|
<select
|
||||||
|
class="form-select form-select-sm"
|
||||||
|
aria-label="Selektiere dein Level"
|
||||||
|
v-model="editableValues[valueKey].level"
|
||||||
|
@input="$emit('update-values', editableValues)"
|
||||||
|
>
|
||||||
|
<option
|
||||||
|
v-for="(value, key) in levelSelection"
|
||||||
|
:value="key"
|
||||||
|
:key="key"
|
||||||
>
|
>
|
||||||
<option
|
{{ value.long || value }}
|
||||||
v-for="(value, key) in levelSelection"
|
</option>
|
||||||
:value="key"
|
</select>
|
||||||
:key="key"
|
|
||||||
>
|
|
||||||
{{ value }}
|
|
||||||
</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div v-else>({{ levelSelection[value.level] }})</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="type == 'language'">
|
<div v-else-if="type == 'language'">
|
||||||
<div v-if="editable">
|
<select
|
||||||
<div v-if="editable">
|
class="form-select form-select-sm"
|
||||||
<select
|
aria-label="Selektiere dein Level"
|
||||||
v-if="editableValues[valueKey]"
|
v-model="editableValues[valueKey].level"
|
||||||
class="form-select"
|
@input="$emit('update-values', editableValues)"
|
||||||
aria-label="Selektiere dein Level"
|
>
|
||||||
v-model="editableValues[valueKey].level"
|
<option
|
||||||
@input="$emit('update-values', editableValues)"
|
v-for="(value, key) in languagesSelection"
|
||||||
|
:value="key"
|
||||||
|
:key="key"
|
||||||
>
|
>
|
||||||
<option
|
{{ value }}
|
||||||
v-for="(value, key) in languagesSelection"
|
</option>
|
||||||
:value="key"
|
</select>
|
||||||
:key="key"
|
|
||||||
>
|
|
||||||
{{ value }}
|
|
||||||
</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div v-else></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="value.content">
|
<div v-else-if="type == 'contacttype'">
|
||||||
<div v-if="editable">
|
<input
|
||||||
<input class="form-control" v-model="editableValues[valueKey].content"/>
|
class="form-control form-control-sm"
|
||||||
</div>
|
maxlength="200"
|
||||||
<div v-else>
|
v-model="editableValues[valueKey].content"
|
||||||
<span v-if="value[type].name === 'E-Mail'">
|
/>
|
||||||
<a :href="`mailto:${value.content}`">{{ value.content }}</a>
|
|
||||||
</span>
|
|
||||||
<span v-else>
|
|
||||||
{{ value.content }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col-2 text-end">
|
||||||
<button
|
<button
|
||||||
v-if="editable"
|
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-outline-danger"
|
class="btn btn-sm btn-light"
|
||||||
aria-label="Löschen"
|
aria-label="Löschen"
|
||||||
@click="$emit('removeValue', value[type].name)"
|
@click="$emit('removeValue', value[type].name)"
|
||||||
>
|
>
|
||||||
<img
|
<i class="text-danger bi bi-x-circle"></i>
|
||||||
src="/img/bootstrap-icons-1.5.0/trash.svg"
|
|
||||||
alt="Löschen Icon"
|
|
||||||
/>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -88,11 +92,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import levelJson from "@/assets/skill_level.json";
|
import levelJson from '@/assets/skill_level.json';
|
||||||
import languagesJson from "@/assets/language_level.json";
|
import languagesJson from '@/assets/language_level.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ProfileList",
|
name: 'ProfileList',
|
||||||
props: {
|
props: {
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -101,17 +105,25 @@ export default {
|
|||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
editable: {
|
showSecondary: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: true
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
iconUrl: this.apiUrl,
|
iconBaseUrl: this.apiUrl,
|
||||||
levelSelection: levelJson,
|
levelSelection: levelJson,
|
||||||
languagesSelection: languagesJson,
|
languagesSelection: languagesJson,
|
||||||
editableValues: this.values,
|
editableValues: this.values,
|
||||||
|
contactTypeTooltip: {
|
||||||
|
content: 'Kontaktart z.B. E-Mail, Matrix, Twitter etc...',
|
||||||
|
html: true
|
||||||
|
},
|
||||||
|
contactContentTooltip: {
|
||||||
|
content: 'Wert: zB.: beate@beispiel.de, @beate:beispiel.de, beate_beispiel',
|
||||||
|
html: true
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -121,3 +133,13 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scope>
|
||||||
|
.list-icon {
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
54
src/components/SearchResult.vue
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<router-link
|
||||||
|
class="text-decoration-none d-flex"
|
||||||
|
:to="{ path: `/s/profile/${profile.user_id}` }"
|
||||||
|
>
|
||||||
|
<div class="card w-100">
|
||||||
|
<div class="card-body d-flex">
|
||||||
|
<div class="d-flex align-items-center justify-content-center me-3">
|
||||||
|
<Avatar :name="profile.nickname"/>
|
||||||
|
</div>
|
||||||
|
<div class="text-body">
|
||||||
|
<h5 class="card-title mb-1 lh-1">
|
||||||
|
{{ profile.nickname}}
|
||||||
|
<span v-if="profile.pronouns"> ({{ profile.pronouns }})</span>
|
||||||
|
</h5>
|
||||||
|
<small
|
||||||
|
class="card-text lh-1 text-dark"
|
||||||
|
v-if="profile.skills && profile.skills.length > 0"
|
||||||
|
>
|
||||||
|
Top-Fähigkeiten: {{ topSkills }}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</router-link>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import Avatar from '@/components/Avatar'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
Avatar,
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
profile: Object
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
topSkills() {
|
||||||
|
return this.profile.skills.slice(0, 5).map(s => s.skill.name).join(', ')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.card:hover {
|
||||||
|
background-color: #f8f9fa;
|
||||||
|
}
|
||||||
|
</style>
|
81
src/components/Skill.vue
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="skill rounded me-2">
|
||||||
|
<div class="skill__left p-2">
|
||||||
|
<div class="skill__icon" :style="{ backgroundImage: iconUrl }"></div>
|
||||||
|
</div>
|
||||||
|
<div class="skill__right d-flex align-items-center rounded-end px-2">
|
||||||
|
<div>
|
||||||
|
<div class="skill__name fw-bold me-1">
|
||||||
|
{{ profileSkill.skill.name }}
|
||||||
|
</div>
|
||||||
|
<small class="skill__level" v-if="showLevel" :title="levelTitle">
|
||||||
|
{{ level }}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import levels from '@/assets/skill_level.json';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
profileSkill: Object,
|
||||||
|
showLevel: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
levels
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
iconUrl() {
|
||||||
|
return `url("${window.ki.apiUrl}/${this.profileSkill.skill.icon_url}")`
|
||||||
|
},
|
||||||
|
level() {
|
||||||
|
return levels[this.profileSkill.level].short
|
||||||
|
},
|
||||||
|
levelTitle() {
|
||||||
|
return levels[this.profileSkill.level].long
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.skill {
|
||||||
|
align-items: stretch;
|
||||||
|
border: 1px solid #acacac;
|
||||||
|
display: inline-flex;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill__icon {
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill__right {
|
||||||
|
background-color: #edefeb;
|
||||||
|
color: #202020;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skill__name,
|
||||||
|
.skill__level {
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
</style>
|
9
src/components/Spinner.vue
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="spinner-grow" role="status"></div>
|
||||||
|
</template>
|
39
src/components/ViewError.vue
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="container text-center py-5">
|
||||||
|
<template v-if="notFound">
|
||||||
|
<div v-if="isOwnProfile">
|
||||||
|
<div class="fs-1 lh-1">nullptr :/</div>
|
||||||
|
<div class="fs-3 mb-4">Du hast noch kein Profil</div>
|
||||||
|
<router-link :to="{ name: 'ProfileEdit' }" class="btn btn-primary" >
|
||||||
|
Jetzt Profil erstellen
|
||||||
|
</router-link>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div class="fs-1 mb-3">nullptr :/</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
Profil nicht gefunden
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div class="fs-1 mb-3">Kernel panic :/</div>
|
||||||
|
Das Profil konnte nicht geladen werden
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
isOwnProfile: Boolean,
|
||||||
|
notFound: Boolean
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
39
src/components/profile/Contact.vue
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="contact rounded d-inline-flex align-items-center">
|
||||||
|
<div class="contact__left px-2">
|
||||||
|
{{ profileContact.contacttype.name }}
|
||||||
|
</div>
|
||||||
|
<div class="contact__right d-flex align-items-center rounded-end px-2">
|
||||||
|
{{ profileContact.content }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
profileContact: Object,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.contact {
|
||||||
|
align-items: stretch;
|
||||||
|
border: 1px solid #acacac;
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact__right {
|
||||||
|
background-color: #edefeb;
|
||||||
|
color: #202020;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
</style>
|
71
src/components/profile/Header.vue
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="bg-wtf py-3">
|
||||||
|
<div class="container">
|
||||||
|
<div class="d-flex align-items-center mb-3">
|
||||||
|
<Avatar class="me-3" :name="profile.nickname" />
|
||||||
|
<div class="text-white fs-3">
|
||||||
|
<span class="fs-3">{{ profile.nickname }}</span>
|
||||||
|
<span v-if="profile.pronouns" class="fs-5">
|
||||||
|
({{ profile.pronouns }})
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-if="location">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<i class="fs-4 bi bi-geo-alt-fill text-dark mx-2"></i>
|
||||||
|
<div class="text-white">
|
||||||
|
{{ location }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import Avatar from '@/components/Avatar'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'ProfileHeader',
|
||||||
|
components: {
|
||||||
|
Avatar
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
profile: Object
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
location() {
|
||||||
|
if (!this.profile.address) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const parts = []
|
||||||
|
|
||||||
|
if (this.profile.address.postcode) {
|
||||||
|
parts.push(this.profile.address.postcode)
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.profile.address.city) {
|
||||||
|
parts.push(this.profile.address.city)
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.profile.address.country) {
|
||||||
|
parts.push(this.profile.address.country)
|
||||||
|
}
|
||||||
|
|
||||||
|
return parts.join(', ')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.content {
|
||||||
|
min-height: calc(100vh - 60px);
|
||||||
|
}
|
||||||
|
</style>
|
69
src/components/profile/Language.vue
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="language rounded me-2">
|
||||||
|
<div class="language__left px-2">
|
||||||
|
<div class="language__icon" :style="{ backgroundImage: iconUrl }"></div>
|
||||||
|
</div>
|
||||||
|
<div class="language__right d-flex align-items-center rounded-end px-2">
|
||||||
|
<div>
|
||||||
|
<div class="language__name me-1">{{ profileLanguage.language.name }}</div>
|
||||||
|
<small class="language__level">{{ level }}</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import levels from '@/assets/language_level.json';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
profileLanguage: Object,
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
levels
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
iconUrl() {
|
||||||
|
return `url("${window.ki.apiUrl}/${this.profileLanguage.language.icon_url}")`
|
||||||
|
},
|
||||||
|
level() {
|
||||||
|
return levels[this.profileLanguage.level]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.language {
|
||||||
|
align-items: stretch;
|
||||||
|
border: 1px solid #acacac;
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language__icon {
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language__right {
|
||||||
|
background-color: #edefeb;
|
||||||
|
color: #202020;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language__name {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: bold;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
</style>
|
28
src/components/profile/Section.vue
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="container mb-5">
|
||||||
|
<h3 class="text-center">
|
||||||
|
{{ title }}
|
||||||
|
</h3>
|
||||||
|
<div class="card w-100">
|
||||||
|
<slot name="card-body">
|
||||||
|
<div class="card-body">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
|
</slot>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
title: String
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
@ -1,13 +1,22 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { createApp } from 'vue/dist/vue.esm-bundler'
|
import { createApp } from 'vue/dist/vue.esm-bundler'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import router from './router'
|
import router from './router'
|
||||||
|
import store from '@/store'
|
||||||
|
import VTooltipPlugin from 'v-tooltip'
|
||||||
|
|
||||||
|
import 'v-tooltip/dist/v-tooltip.css'
|
||||||
|
import 'bootstrap-icons/font/bootstrap-icons.css'
|
||||||
import './assets/global.scss'
|
import './assets/global.scss'
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
|
app.use(VTooltipPlugin)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
|
app.use(store)
|
||||||
|
|
||||||
app.config.globalProperties.apiUrl = window.ki.apiUrl
|
app.config.globalProperties.apiUrl = window.ki.apiUrl
|
||||||
|
|
||||||
|
@ -1,87 +1,125 @@
|
|||||||
import axios from "axios";
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
import store from '@/store'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
async submitLogin() {
|
async submitLogin() {
|
||||||
this.showErrorMessage = false;
|
this.showErrorMessage = false;
|
||||||
try {
|
try {
|
||||||
const loginResult = await axios.post(
|
const data = JSON.stringify({
|
||||||
`${this.apiUrl}/users/login`,
|
username: this.username,
|
||||||
{
|
password: this.password,
|
||||||
username: this.username,
|
})
|
||||||
password: this.password,
|
|
||||||
}
|
const response = await fetch(`${this.apiUrl}/users/login`, {
|
||||||
);
|
method: 'POST',
|
||||||
if (loginResult.status === 200) {
|
headers: {
|
||||||
this.showErrorMessage = false;
|
'Content-Type': 'application/json',
|
||||||
//success login
|
},
|
||||||
localStorage.setItem("token", loginResult.data.token);
|
body: data
|
||||||
localStorage.setItem("user_id", loginResult.data.user_id);
|
})
|
||||||
this.$router.push({ path: "/s/search" });
|
|
||||||
} else {
|
if (!response.ok) {
|
||||||
this.showErrorMessage = true;
|
this.showErrorMessage = true
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
store.commit('setCurrentUserId', parseInt(responseData.user_id, 10))
|
||||||
|
store.commit('setToken', responseData.token)
|
||||||
|
this.$router.push({ path: '/s/search' });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this.showErrorMessage = true;
|
this.showErrorMessage = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async search() {
|
async search() {
|
||||||
|
if (!this.searchText) {
|
||||||
|
this.searchResults = []
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const request = await axios.get(
|
const response = await fetch(`${this.apiUrl}/${this.type}s?search=${this.searchText}`, {
|
||||||
`${this.apiUrl}/${this.type}s?search=${this.searchText}`,
|
|
||||||
{
|
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${localStorage.getItem("token")}`,
|
Authorization: `Bearer ${store.state.token}`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (request.status === 200) {
|
|
||||||
this.searchResults = request.data[`${this.type}s`];
|
if (!response.ok) {
|
||||||
if (
|
console.error();
|
||||||
!this.values
|
this.showErrorMessage = true;
|
||||||
.map((item) => item[this.type].name.toLowerCase())
|
return
|
||||||
.includes(this.searchText.toLowerCase())
|
|
||||||
) {
|
|
||||||
this.searchResults.unshift({ name: this.searchText });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
const searchResults = responseData[`${this.type}s`];
|
||||||
|
|
||||||
|
if (
|
||||||
|
!searchResults.map((item) => item.name.toLowerCase())
|
||||||
|
.includes(this.searchText.toLowerCase())
|
||||||
|
) {
|
||||||
|
searchResults.unshift({ name: this.searchText });
|
||||||
|
}
|
||||||
|
|
||||||
|
this.searchResults = searchResults
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error();
|
console.error();
|
||||||
this.showErrorMessage = true;
|
this.showErrorMessage = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async initEditPage() {
|
async initEditPage() {
|
||||||
|
const userId = store.state.currentUserId
|
||||||
|
const url = `${this.apiUrl}/users/${userId}/profile`
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const userProfile = await axios.get(
|
const response = await fetch(url, {
|
||||||
`${this.apiUrl}/users/${localStorage.getItem("user_id")}/profile`,
|
headers: {
|
||||||
{
|
Authorization: `Bearer ${store.state.token}`
|
||||||
headers: { Authorization: `Bearer ${localStorage.getItem("token")}` },
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
this.profile = userProfile.data.profile;
|
|
||||||
|
if (!response.ok) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
|
||||||
|
this.profile = responseData.profile;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async submitFormEdit() {
|
async submitFormEdit() {
|
||||||
|
this.showErrorMessage = false
|
||||||
|
this.showSuccessMessage = false
|
||||||
|
const userId = store.state.currentUserId
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const formSubmitResult = await axios.post(
|
const body = JSON.stringify(this.profile)
|
||||||
`${this.apiUrl}/users/${localStorage.getItem("user_id")}/profile`,
|
const response = await fetch(
|
||||||
this.profile,
|
`${this.apiUrl}/users/${userId}/profile`,
|
||||||
{
|
{
|
||||||
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${localStorage.getItem("token")}`,
|
Authorization: `Bearer ${store.state.token}`,
|
||||||
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
|
body
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (formSubmitResult.status === 200) {
|
|
||||||
// success
|
if (!response.ok) {
|
||||||
this.showSuccessMessage = true;
|
this.showErrorMessage = true
|
||||||
} else {
|
return
|
||||||
// failure
|
|
||||||
this.showErrorMessage = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.showSuccessMessage = true
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this.showErrorMessage = true;
|
this.showErrorMessage = true;
|
||||||
@ -89,35 +127,50 @@ export default {
|
|||||||
},
|
},
|
||||||
async initViewPage() {
|
async initViewPage() {
|
||||||
try {
|
try {
|
||||||
const userProfile = await axios.get(
|
const response = await fetch(`${this.apiUrl}/users/${this.$route.params.memberId}/profile`, {
|
||||||
`${this.apiUrl}/users/${this.$route.params.memberId}/profile`,
|
headers: { Authorization: `Bearer ${store.state.token}` },
|
||||||
{
|
|
||||||
headers: { Authorization: `Bearer ${localStorage.getItem("token")}` },
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
this.profile = userProfile.data.profile;
|
|
||||||
|
if (!response.ok) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
store.commit('setCurrentProfile', responseData.profile)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async submitSearch() {
|
async submitSearch() {
|
||||||
this.showErrorMessage = false;
|
this.showErrorMessage = false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let url = `${this.apiUrl}/users/profiles`;
|
const url = new URL(`${this.apiUrl}/users/profiles`)
|
||||||
|
|
||||||
if (this.searchText != "") {
|
if (this.searchText != "") {
|
||||||
url += `?nickname=${this.searchText}`;
|
url.searchParams.append('nickname', this.searchText)
|
||||||
}
|
}
|
||||||
const result = await axios.get(url, {
|
|
||||||
|
const response = await fetch(url, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${localStorage.getItem("token")}`,
|
Authorization: `Bearer ${store.state.token}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
this.searchResults = result.data.profiles;
|
|
||||||
this.searchTotal = result.data.total;
|
if (!response.ok) {
|
||||||
|
this.showErrorMessage = true
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
|
||||||
|
this.searchResults = responseData.profiles;
|
||||||
|
this.searchTotal = responseData.total;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this.showErrorMessage = true;
|
this.showErrorMessage = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
|
|
||||||
|
import store from '@/store'
|
||||||
|
|
||||||
import Index from '@/views/Index.vue'
|
import Index from '@/views/Index.vue'
|
||||||
import Search from '@/views/Search.vue'
|
import Search from '@/views/Search.vue'
|
||||||
import Edit from '@/views/profile/Edit.vue'
|
import Edit from '@/views/profile/Edit.vue'
|
||||||
@ -13,9 +19,9 @@ const routes = [
|
|||||||
template: "<router-view/>",
|
template: "<router-view/>",
|
||||||
},
|
},
|
||||||
beforeEnter: (to, from, next) => {
|
beforeEnter: (to, from, next) => {
|
||||||
if(localStorage.getItem('token') !== null){
|
if (store.state.token){
|
||||||
next()
|
next()
|
||||||
}else{
|
} else {
|
||||||
next({path: '/', query: {url: to.fullPath, access: false}})
|
next({path: '/', query: {url: to.fullPath, access: false}})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -40,7 +46,14 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
component: Index
|
component: Index,
|
||||||
|
beforeEnter: (_to, _from, next) => {
|
||||||
|
if (store.state.token) {
|
||||||
|
next({name: 'Search'})
|
||||||
|
} else {
|
||||||
|
next()
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -49,4 +62,4 @@ const router = createRouter({
|
|||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
|
|
||||||
export default router
|
export default router
|
||||||
|
53
src/store/index.js
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
import { createStore } from 'vuex'
|
||||||
|
|
||||||
|
import profile from './profile'
|
||||||
|
import search from './search'
|
||||||
|
|
||||||
|
const localStorageKeys = {
|
||||||
|
currentUserId: 'ki_current_user_id',
|
||||||
|
token: 'ki_token',
|
||||||
|
}
|
||||||
|
|
||||||
|
export default createStore({
|
||||||
|
modules: {
|
||||||
|
profile,
|
||||||
|
search,
|
||||||
|
},
|
||||||
|
state() {
|
||||||
|
return {
|
||||||
|
currentUserId: JSON.parse(localStorage.getItem(localStorageKeys.currentUserId)),
|
||||||
|
token: JSON.parse(localStorage.getItem(localStorageKeys.token)),
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mutations: {
|
||||||
|
clearCurrentUserId(state) {
|
||||||
|
state.currentUserId = null
|
||||||
|
localStorage.removeItem(localStorageKeys.currentUserId)
|
||||||
|
},
|
||||||
|
setCurrentUserId(state, currentUserId) {
|
||||||
|
state.currentUserId = currentUserId
|
||||||
|
localStorage.setItem(
|
||||||
|
localStorageKeys.currentUserId,
|
||||||
|
JSON.stringify(currentUserId)
|
||||||
|
)
|
||||||
|
},
|
||||||
|
clearToken(state) {
|
||||||
|
state.token = null
|
||||||
|
localStorage.removeItem(localStorageKeys.token)
|
||||||
|
},
|
||||||
|
setToken(state, token) {
|
||||||
|
state.token = token
|
||||||
|
localStorage.setItem(localStorageKeys.token, JSON.stringify(token))
|
||||||
|
},
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
clear(context) {
|
||||||
|
context.commit('clearCurrentUserId')
|
||||||
|
context.commit('clearToken')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
120
src/store/profile.js
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
export default {
|
||||||
|
namespaced: true,
|
||||||
|
state() {
|
||||||
|
return {
|
||||||
|
loading: false,
|
||||||
|
showSpinner: false,
|
||||||
|
profileId: null,
|
||||||
|
profile: null,
|
||||||
|
isOwnProfile: false,
|
||||||
|
error: false,
|
||||||
|
notFound: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mutations: {
|
||||||
|
setProfileId(state, profileId) {
|
||||||
|
state.profileId = profileId
|
||||||
|
},
|
||||||
|
clearProfileId(state) {
|
||||||
|
state.profileId = null
|
||||||
|
},
|
||||||
|
setProfile(state, profile) {
|
||||||
|
state.profile = profile
|
||||||
|
},
|
||||||
|
clearProfile(state) {
|
||||||
|
state.profile = null
|
||||||
|
},
|
||||||
|
setLoading(state) {
|
||||||
|
state.loading = true
|
||||||
|
},
|
||||||
|
setNotLoading(state) {
|
||||||
|
state.loading = false
|
||||||
|
},
|
||||||
|
setError(state) {
|
||||||
|
state.error = true
|
||||||
|
},
|
||||||
|
clearError(state) {
|
||||||
|
state.error = false
|
||||||
|
},
|
||||||
|
showSpinner(state) {
|
||||||
|
state.showSpinner = true
|
||||||
|
},
|
||||||
|
hideSpinner(state) {
|
||||||
|
state.showSpinner = false
|
||||||
|
},
|
||||||
|
setNotFound(state, notFound) {
|
||||||
|
state.notFound = notFound
|
||||||
|
},
|
||||||
|
setIsOwnProfile(state, isOwnProfile) {
|
||||||
|
state.isOwnProfile = isOwnProfile
|
||||||
|
}
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
onError({commit, dispatch}) {
|
||||||
|
commit('setError')
|
||||||
|
dispatch('clear')
|
||||||
|
},
|
||||||
|
onNotFound({commit, dispatch}) {
|
||||||
|
dispatch('onError')
|
||||||
|
commit('setNotFound', true)
|
||||||
|
},
|
||||||
|
clear({commit}) {
|
||||||
|
commit('clearProfileId')
|
||||||
|
commit('clearProfile')
|
||||||
|
commit('hideSpinner')
|
||||||
|
commit('setNotLoading')
|
||||||
|
},
|
||||||
|
async load({state, commit, dispatch, rootState}, profileId) {
|
||||||
|
if (state.loading) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
commit('setProfileId', profileId)
|
||||||
|
commit('setIsOwnProfile', rootState.currentUserId === profileId)
|
||||||
|
commit('setLoading')
|
||||||
|
|
||||||
|
const timeoutId = setTimeout(() => {
|
||||||
|
commit('showSpinner')
|
||||||
|
commit('clearProfile')
|
||||||
|
}, 0)
|
||||||
|
|
||||||
|
commit('clearError')
|
||||||
|
commit('setNotFound', false)
|
||||||
|
|
||||||
|
const url = new URL(`${window.ki.apiUrl}/users/${profileId}/profile`)
|
||||||
|
const headers = {
|
||||||
|
Authorization: `Bearer ${rootState.token}`
|
||||||
|
}
|
||||||
|
|
||||||
|
let response
|
||||||
|
|
||||||
|
try {
|
||||||
|
response = await fetch(url, {headers})
|
||||||
|
} catch {
|
||||||
|
dispatch('onError')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
clearTimeout(timeoutId)
|
||||||
|
|
||||||
|
if (response.status === 404) {
|
||||||
|
dispatch('onNotFound')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
dispatch('onError')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
commit('setProfile', responseData.profile)
|
||||||
|
commit('hideSpinner')
|
||||||
|
commit('setNotLoading')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
100
src/store/search.js
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
// SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
export default {
|
||||||
|
namespaced: true,
|
||||||
|
state() {
|
||||||
|
return {
|
||||||
|
searching: false,
|
||||||
|
showSpinner: false,
|
||||||
|
searched: false,
|
||||||
|
profiles: [],
|
||||||
|
error: false,
|
||||||
|
errorMessage: '',
|
||||||
|
query: {
|
||||||
|
search: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mutations: {
|
||||||
|
setSearching(state, searching) {
|
||||||
|
state.searching = searching
|
||||||
|
},
|
||||||
|
showSpinner(state) {
|
||||||
|
state.showSpinner = true
|
||||||
|
},
|
||||||
|
hideSpinner(state) {
|
||||||
|
state.showSpinner = false
|
||||||
|
},
|
||||||
|
clearProfiles(state) {
|
||||||
|
state.profiles = []
|
||||||
|
},
|
||||||
|
setProfiles(state, profiles) {
|
||||||
|
state.profiles = profiles
|
||||||
|
},
|
||||||
|
setError(state, error) {
|
||||||
|
state.error = error
|
||||||
|
},
|
||||||
|
setErrorMessage(state, errorMessage) {
|
||||||
|
state.errorMessage = errorMessage
|
||||||
|
},
|
||||||
|
setQuerySearch(state, search) {
|
||||||
|
state.query.search = search
|
||||||
|
}
|
||||||
|
},
|
||||||
|
actions: {
|
||||||
|
async search({state, commit, rootState}) {
|
||||||
|
if (state.searching) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
commit('setSearching', true)
|
||||||
|
|
||||||
|
const timeoutId = setTimeout(() => {
|
||||||
|
commit('showSpinner')
|
||||||
|
commit('clearProfiles')
|
||||||
|
}, 100)
|
||||||
|
|
||||||
|
commit('setError', false)
|
||||||
|
commit('setErrorMessage', '')
|
||||||
|
|
||||||
|
const url = new URL(`${window.ki.apiUrl}/users/profiles`)
|
||||||
|
|
||||||
|
if (state.query.search) {
|
||||||
|
url.searchParams.append('search', state.query.search)
|
||||||
|
}
|
||||||
|
|
||||||
|
const headers = {
|
||||||
|
Authorization: `Bearer ${rootState.token}`,
|
||||||
|
}
|
||||||
|
|
||||||
|
let response
|
||||||
|
|
||||||
|
try {
|
||||||
|
response = await fetch(url, {headers})
|
||||||
|
} catch {
|
||||||
|
commit('setError', true)
|
||||||
|
commit('clearProfiles')
|
||||||
|
commit('setSearching', false)
|
||||||
|
commit('hideSpinner')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
clearTimeout(timeoutId)
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
commit('setError', true)
|
||||||
|
commit('clearProfiles')
|
||||||
|
commit('setSearching', false)
|
||||||
|
commit('hideSpinner')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
const responseData = await response.json()
|
||||||
|
commit('setProfiles', responseData.profiles)
|
||||||
|
commit('setSearching', false)
|
||||||
|
commit('hideSpinner')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,47 +1,56 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="bg-wtf">
|
||||||
<h1>WTF Kompetenzinventar</h1>
|
<div class="container pt-5">
|
||||||
<form @submit.prevent="submitLogin()">
|
<div class="text-center mb-5">
|
||||||
<div class="mb-3">
|
<img class="wtf-logo wtf-logo--index" src="@/assets/img/wtf_logo.svg">
|
||||||
<label for="exampleInputusername1" class="form-label"
|
<h1 class="text-white">Kompetenzinventar</h1>
|
||||||
>Benutzername:
|
|
||||||
</label>
|
|
||||||
<input
|
|
||||||
type="username"
|
|
||||||
class="form-control"
|
|
||||||
id="exampleInputusername1"
|
|
||||||
v-model="username"
|
|
||||||
required
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<form @submit.prevent="submitLogin()" class="card bg-white login-form">
|
||||||
<label for="exampleInputPassword1" class="form-label">Passwort:</label>
|
<div class="card-body">
|
||||||
<input
|
<div class="mb-3">
|
||||||
type="password"
|
<label for="exampleInputusername1" class="form-label" >
|
||||||
class="form-control"
|
WTF-Benutzername:
|
||||||
id="exampleInputPassword1"
|
</label>
|
||||||
v-model="password"
|
<input
|
||||||
required
|
type="username"
|
||||||
/>
|
class="form-control"
|
||||||
</div>
|
id="exampleInputusername1"
|
||||||
<button type="submit" class="btn btn-primary mb-4">Login</button>
|
v-model="username"
|
||||||
</form>
|
required
|
||||||
<a href="https://resetpw.wtf-eg.de/">Globales WTF Passwort zurücksetzen</a>
|
autofocus
|
||||||
<div
|
/>
|
||||||
class="alert alert-danger mb-4 mt-4"
|
</div>
|
||||||
role="alert"
|
<div class="mb-3">
|
||||||
v-if="showErrorMessage"
|
<label for="exampleInputPassword1" class="form-label">Passwort:</label>
|
||||||
>
|
<input
|
||||||
Mit deinen Login Daten ist ein Fehler aufgetreten. Versuch es nochmal oder
|
type="password"
|
||||||
<a href="https://resetpw.wtf-eg.de/">hast du dein Passwort vergessen?</a>.
|
class="form-control"
|
||||||
|
id="exampleInputPassword1"
|
||||||
|
v-model="password"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<button type="submit" class="btn btn-primary">Login</button>
|
||||||
|
<a class="btn btn-link" href="https://resetpw.wtf-eg.de/">Passwort vergessen?</a>
|
||||||
|
<div
|
||||||
|
class="alert alert-danger mt-3 mb-0"
|
||||||
|
role="alert"
|
||||||
|
v-if="showErrorMessage"
|
||||||
|
>
|
||||||
|
Dein Benutzername oder Passwort ist falsch.<br>Versuche es noch einmal.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
|
||||||
Das Login gilt nur für WTF eG Mitglieder. Du kannst dein LDAP Passwort
|
|
||||||
hier ändern.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import RequestMixin from "@/mixins/request.mixin"
|
import RequestMixin from "@/mixins/request.mixin"
|
||||||
|
|
||||||
@ -57,3 +66,19 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
.container {
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form {
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wtf-logo--index {
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,84 +1,139 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="content">
|
||||||
<h1>Suche</h1>
|
<div class="bg-wtf text-white pt-3 pb-4">
|
||||||
<form @submit.prevent="submitSearch()">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="fs-3 text-center lh-1 mb-3">Finde WTF Member</div>
|
||||||
<div class="col">
|
<div class="card mx-auto bg-white">
|
||||||
<input
|
<div class="card-body">
|
||||||
type="text"
|
<form @submit.prevent="handleSubmit">
|
||||||
class="form-control"
|
<fieldset class="d-flex" :disabled="searching">
|
||||||
id="searchText"
|
<div class="flex-grow-1 me-3">
|
||||||
v-model="searchText"
|
<input
|
||||||
/>
|
type="text"
|
||||||
</div>
|
class="form-control"
|
||||||
<div class="col">
|
id="searchText"
|
||||||
<button type="submit" class="btn btn-primary mb-4">
|
v-model="searchText"
|
||||||
Suche starten
|
placeholder="Nick, Fähigkeit, Sprache"
|
||||||
</button>
|
ref="searchTextInput"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="">
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
<i class="bi-search"></i>
|
||||||
|
<span class="d-none d-md-inline"> Suchen</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
<div
|
|
||||||
class="alert alert-danger mb-4 mt-4"
|
|
||||||
role="alert"
|
|
||||||
v-if="showErrorMessage"
|
|
||||||
>
|
|
||||||
Bei der Suche ist ein Fehler aufgetreten
|
|
||||||
</div>
|
</div>
|
||||||
<div v-if="searchTotal == 0">
|
<div class="container pt-4 pb-3">
|
||||||
Es wurde kein Suchergebnis gefunden.
|
<div class="text-center" v-if="showSpinner">
|
||||||
<p v-if="searchText !== ''">Probiere eine andere Suche.</p>
|
<Spinner />
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div
|
||||||
<div class="row">
|
class="fs-2 text-danger text-center"
|
||||||
<div
|
role="alert"
|
||||||
class="col-4 p-2"
|
v-if="error"
|
||||||
v-for="result in searchResults"
|
>
|
||||||
:key="result.user_id"
|
<div class="fs-1 mb-3">Kernel panic :/</div>
|
||||||
>
|
Bei der Suche ist ein Fehler aufgetreten.
|
||||||
<router-link
|
</div>
|
||||||
class="text-decoration-none"
|
<div v-else-if="showNoResults" class="fs-2 text-black-50 text-center">
|
||||||
:to="{ path: `/s/profile/${result.user_id}` }"
|
<div class="fs-1 mb-3">nullptr :/</div>
|
||||||
>
|
Es wurde kein Suchergebnis gefunden.
|
||||||
<div class="card">
|
<p v-if="searchText !== ''">Probiere eine andere Suche.</p>
|
||||||
<div class="card-body">
|
</div>
|
||||||
<h5 class="card-title">
|
<div v-else-if="showResults">
|
||||||
{{ result.nickname
|
<SearchResult
|
||||||
}}<span v-if="result.pronouns"> ({{ result.pronouns }})</span>
|
v-for="profile in profiles"
|
||||||
</h5>
|
:key="profile.user_id"
|
||||||
<h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
|
class="mb-3"
|
||||||
<p class="card-text" v-if="result.skills">
|
:profile="profile"
|
||||||
Fähigkeiten:
|
/>
|
||||||
<span v-for="skill in result.skills" :key="skill.skill.name"
|
|
||||||
>{{ skill.skill.name }}
|
|
||||||
</span>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</router-link>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import RequestMixin from "@/mixins/request.mixin"
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import SearchResult from '@/components/SearchResult'
|
||||||
|
import Spinner from '@/components/Spinner'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Search",
|
name: 'Search',
|
||||||
mixins: [RequestMixin],
|
components: {
|
||||||
data() {
|
SearchResult,
|
||||||
return {
|
Spinner,
|
||||||
showErrorMessage: false,
|
},
|
||||||
searchText: "",
|
computed: {
|
||||||
searchResults: null,
|
...mapState({
|
||||||
searchTotal: 0,
|
searching: state => state.search.searching,
|
||||||
};
|
profiles: state => state.search.profiles,
|
||||||
|
error: state => state.search.error,
|
||||||
|
showSpinner: state => state.search.showSpinner,
|
||||||
|
}),
|
||||||
|
searchText: {
|
||||||
|
get() {
|
||||||
|
return this.$store.state.search.query.search
|
||||||
|
},
|
||||||
|
set(text) {
|
||||||
|
this.$store.commit('search/setQuerySearch', text)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
showNoResults() {
|
||||||
|
return !this.searching && (!this.profiles || this.profiles.length === 0)
|
||||||
|
},
|
||||||
|
showResults() {
|
||||||
|
return !this.error && this.profiles && this.profiles.length > 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
searching(value) {
|
||||||
|
if (!value) {
|
||||||
|
if (this.$refs.searchTextInput) {
|
||||||
|
this.focusSearchText()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleSubmit() {
|
||||||
|
this.$router.push({ query: { query: this.searchText }})
|
||||||
|
this.$store.dispatch('search/search')
|
||||||
|
},
|
||||||
|
focusSearchText() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.searchTextInput.focus()
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.$route.query.query) this.searchText = this.$route.query.query;
|
if (this.$route.query.query !== undefined) {
|
||||||
this.submitSearch();
|
this.searchText = this.$route.query.query
|
||||||
},
|
this.$store.commit('search/clearProfiles')
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$store.dispatch('search/search')
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.container {
|
||||||
|
max-width: 768px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
min-height: calc(100vh - 60px);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,189 +1,254 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div>
|
||||||
<h1>Profil bearbeiten</h1>
|
<div class="bg-wtf py-3 mb-4">
|
||||||
<form @submit.prevent="submitFormEdit()">
|
<div class="container">
|
||||||
<div class="row">
|
<h3 class="text-white text-center mb-0">Profil bearbeiten</h3>
|
||||||
<div class="col">
|
|
||||||
<input
|
|
||||||
type="radio"
|
|
||||||
id="false"
|
|
||||||
:value="false"
|
|
||||||
v-model="profile.visible"
|
|
||||||
class="mr-2"
|
|
||||||
/>
|
|
||||||
<label for="false" class="m-2 fw-bold"> Nicht öffentlich</label>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<input
|
|
||||||
type="radio"
|
|
||||||
id="true"
|
|
||||||
:value="true"
|
|
||||||
v-model="profile.visible"
|
|
||||||
/>
|
|
||||||
<label for="true" class="m-2 fw-bold"> Öffentlich</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="visibilityHelp" class="form-text">
|
</div>
|
||||||
Erst wenn du dein Profil Öffentlich stellst, können andere Genoss:innen
|
<div class="container">
|
||||||
darauf zugreifen oder es in der Suche finden.
|
<form @submit.prevent="submitFormEdit()">
|
||||||
</div>
|
<Section title="Grunddaten">
|
||||||
<div class="row">
|
<div class="mb-4">
|
||||||
<div class="col-6 col-xs-12">
|
<div class="form-check form-switch">
|
||||||
<label for="nickname" class="form-label fw-bold">Nickname:</label>
|
<input
|
||||||
<input
|
class="form-check-input"
|
||||||
type="text"
|
type="checkbox"
|
||||||
class="form-control"
|
role="switch"
|
||||||
id="nickname"
|
v-model="profile.visible"
|
||||||
v-model="profile.nickname"
|
id="visibility"
|
||||||
required
|
>
|
||||||
/>
|
<label
|
||||||
|
class="form-check-label"
|
||||||
|
for="visibility">
|
||||||
|
Profil für angemeldete Benutzer sichtbar
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-4">
|
||||||
|
<div class="col-6 mb-3">
|
||||||
|
<label class="form-label">Nickname</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="nickname"
|
||||||
|
maxlength="25"
|
||||||
|
v-model="profile.nickname"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="col-6 mb-3">
|
||||||
|
<label class="form-label">
|
||||||
|
Pronomen
|
||||||
|
<i class="bi bi-info-circle" v-tooltip="pronounsTooltip"></i>
|
||||||
|
</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="pronouns"
|
||||||
|
maxlength="25"
|
||||||
|
v-model="profile.pronouns"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<label class="form-label">Anschrift</label>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 col-md-4 mb-3 mb-md-0">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="postcode"
|
||||||
|
maxlength="10"
|
||||||
|
placeholder="Postleitzahl"
|
||||||
|
v-model="profile.address.postcode"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="col-12 col-md-4 mb-3 mb-md-0">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="city"
|
||||||
|
maxlength="25"
|
||||||
|
placeholder="Ort"
|
||||||
|
v-model="profile.address.city"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="col-12 col-md-4">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="country"
|
||||||
|
maxlength="25"
|
||||||
|
placeholder="Land"
|
||||||
|
v-model="profile.address.country"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Meine Fähigkeiten">
|
||||||
|
<template v-slot:card-body>
|
||||||
|
<auto-complete
|
||||||
|
type="skill"
|
||||||
|
:values="profile.skills"
|
||||||
|
placeholder="z.B. Python, JavaScript, Linux"
|
||||||
|
@update-values="profile.skills = $event"
|
||||||
|
></auto-complete>
|
||||||
|
</template>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Meine Sprachkenntnisse">
|
||||||
|
<template v-slot:card-body>
|
||||||
|
<auto-complete
|
||||||
|
type="language"
|
||||||
|
:values="profile.languages"
|
||||||
|
placeholder="z.B. Deutsch, Englisch, Französisch"
|
||||||
|
@update-values="profile.languages = $event"
|
||||||
|
></auto-complete>
|
||||||
|
</template>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Ich suche für mich Projekte/Aufträge in folgenden Bereichen">
|
||||||
|
<template v-slot:card-body>
|
||||||
|
<auto-complete
|
||||||
|
type="skill"
|
||||||
|
label="Ich suche für mich Projekte/Aufträge in folgenden Bereichen"
|
||||||
|
:values="profile.searchtopics"
|
||||||
|
:showSecondary="false"
|
||||||
|
placeholder="z.B. Python, JavaScript, Linux"
|
||||||
|
@update-values="profile.searchtopics = $event"
|
||||||
|
></auto-complete>
|
||||||
|
</template>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Verfügbarkeit">
|
||||||
|
<div class="form-check mb-3">
|
||||||
|
<input
|
||||||
|
v-model="profile.availability_status"
|
||||||
|
class="form-check-input me-2"
|
||||||
|
type="checkbox"
|
||||||
|
id="availability_status">
|
||||||
|
<label class="form-check-label" for="availability_status">
|
||||||
|
Ich bin aktuell verfügbar
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="mb-3" v-if="profile.availability_status">
|
||||||
|
<label class="form-label">
|
||||||
|
Stunden pro Woche
|
||||||
|
</label>
|
||||||
|
<input
|
||||||
|
v-model="profile.availability_hours_per_week"
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
|
max="168"
|
||||||
|
class="form-control">
|
||||||
|
</div>
|
||||||
|
<label for="availability" class="form-label">
|
||||||
|
Anmerkungen
|
||||||
|
</label>
|
||||||
|
<textarea
|
||||||
|
class="form-control"
|
||||||
|
id="availability"
|
||||||
|
rows="3"
|
||||||
|
maxlength="4000"
|
||||||
|
v-model="profile.availability_text"
|
||||||
|
></textarea>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Meine Kontaktmöglichkeiten">
|
||||||
|
<template v-slot:card-body>
|
||||||
|
<auto-complete
|
||||||
|
type="contacttype"
|
||||||
|
:values="profile.contacts"
|
||||||
|
placeholder="Zuerst Kontaktart: E-Mail, Matrix, Web, etc.."
|
||||||
|
@update-values="profile.contacts = $event"
|
||||||
|
></auto-complete>
|
||||||
|
</template>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Sonstiges">
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label">Über mich</label>
|
||||||
|
<textarea
|
||||||
|
class="form-control"
|
||||||
|
rows="3"
|
||||||
|
maxlength="4000"
|
||||||
|
v-model="profile.freetext"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label class="form-label">Ehrenamtliche Arbeit</label>
|
||||||
|
<textarea
|
||||||
|
class="form-control"
|
||||||
|
rows="3"
|
||||||
|
maxlength="4000"
|
||||||
|
v-model="profile.volunteerwork"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
<input type="submit" class="d-none">
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6 col-xs-12">
|
<div class="savebar bg-white border-top py-3">
|
||||||
<label for="pronouns" class="form-label fw-bold">Pronomen:</label>
|
<div class="container d-flex align-items-center justify-content-end">
|
||||||
<input
|
<div
|
||||||
type="text"
|
class="text-danger"
|
||||||
class="form-control"
|
v-if="showErrorMessage"
|
||||||
id="pronouns"
|
>
|
||||||
v-model="profile.pronouns"
|
<i class="bi bi-bug"></i>
|
||||||
/>
|
Beim Speichern ist ein Fehler aufgetreten.
|
||||||
<div for="pronouns" class="form-text">
|
</div>
|
||||||
Z.B.: Er/Ihn, Sie/Ihr, Es etc..
|
<div
|
||||||
|
class="text-success"
|
||||||
|
v-if="showSuccessMessage"
|
||||||
|
>
|
||||||
|
<i class="bi bi-check-lg"></i>
|
||||||
|
Gespeichert
|
||||||
|
</div>
|
||||||
|
<button
|
||||||
|
class="btn btn-primary ms-3"
|
||||||
|
@click="submitFormEdit()"
|
||||||
|
>
|
||||||
|
Speichern
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-12 col-xs-12">
|
|
||||||
<label for="freetext" class="form-label fw-bold">Vorstellung:</label>
|
|
||||||
<textarea
|
|
||||||
class="form-control"
|
|
||||||
id="freetext"
|
|
||||||
rows="3"
|
|
||||||
v-model="profile.freetext"
|
|
||||||
></textarea>
|
|
||||||
</div>
|
|
||||||
<div class="col-12 col-xs-12">
|
|
||||||
<label for="volunteerwork" class="form-label fw-bold"
|
|
||||||
>Ehrenamtliche Arbeit:</label
|
|
||||||
>
|
|
||||||
<textarea
|
|
||||||
class="form-control"
|
|
||||||
id="volunteerwork"
|
|
||||||
rows="3"
|
|
||||||
v-model="profile.volunteerwork"
|
|
||||||
></textarea>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<auto-complete
|
|
||||||
type="skill"
|
|
||||||
label="Deine Fähigkeiten"
|
|
||||||
:values="profile.skills"
|
|
||||||
@update-values="profile.skills = $event"
|
|
||||||
></auto-complete>
|
|
||||||
<auto-complete
|
|
||||||
type="language"
|
|
||||||
label="Deine Sprachen"
|
|
||||||
:values="profile.languages"
|
|
||||||
@update-values="profile.languages = $event"
|
|
||||||
></auto-complete>
|
|
||||||
<auto-complete
|
|
||||||
type="skill"
|
|
||||||
label="Ich suche"
|
|
||||||
:values="profile.searchtopics"
|
|
||||||
@update-values="profile.searchtopics = $event"
|
|
||||||
></auto-complete>
|
|
||||||
|
|
||||||
<div class="col-12 col-xs-12">
|
|
||||||
<label for="availability" class="form-label fw-bold"
|
|
||||||
>Ich bin für Anfragen verfügbar:</label
|
|
||||||
>
|
|
||||||
<textarea
|
|
||||||
class="form-control"
|
|
||||||
id="availability"
|
|
||||||
rows="3"
|
|
||||||
v-model="profile.availability"
|
|
||||||
></textarea>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<auto-complete
|
|
||||||
type="contacttype"
|
|
||||||
label="Kontaktmöglichkeiten"
|
|
||||||
:values="profile.contacts"
|
|
||||||
@update-values="profile.contacts = $event"
|
|
||||||
></auto-complete>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col">
|
|
||||||
<label for="pzl" class="form-label fw-bold">PLZ</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
class="form-control"
|
|
||||||
id="pzl"
|
|
||||||
v-model="profile.address.postcode"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<label for="city" class="form-label fw-bold">Stadt</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
class="form-control"
|
|
||||||
id="city"
|
|
||||||
v-model="profile.address.city"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<label for="country" class="form-label fw-bold">Land</label>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
class="form-control"
|
|
||||||
id="country"
|
|
||||||
v-model="profile.address.country"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button type="submit" class="btn btn-outline-success mb-4 mt-4 col-12">
|
|
||||||
Speichern
|
|
||||||
</button>
|
|
||||||
<div
|
|
||||||
class="alert alert-danger mb-4 mt-4"
|
|
||||||
role="alert"
|
|
||||||
v-if="showErrorMessage"
|
|
||||||
>
|
|
||||||
Es ist Fehler aufgetreten
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="alert alert-success mb-4 mt-4"
|
|
||||||
role="alert"
|
|
||||||
v-if="showSuccessMessage"
|
|
||||||
>
|
|
||||||
Deine Änderungen wurden erfolgreich gespeichert
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import RequestMixin from "@/mixins/request.mixin"
|
import RequestMixin from "@/mixins/request.mixin"
|
||||||
|
|
||||||
import AutoComplete from "@/components/AutoComplete";
|
import AutoComplete from "@/components/AutoComplete";
|
||||||
|
import Section from '@/components/profile/Section'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "profileEdit",
|
name: "profileEdit",
|
||||||
mixins: [RequestMixin],
|
mixins: [RequestMixin],
|
||||||
components: {
|
components: {
|
||||||
AutoComplete,
|
AutoComplete,
|
||||||
|
Section,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showErrorMessage: false,
|
showErrorMessage: false,
|
||||||
showSuccessMessage: false,
|
showSuccessMessage: false,
|
||||||
|
clearMessagesHandle: null,
|
||||||
profile: {
|
profile: {
|
||||||
visible: false,
|
visible: false,
|
||||||
nickname: "",
|
nickname: "",
|
||||||
pronouns: "",
|
pronouns: "",
|
||||||
volunteerwork: "",
|
volunteerwork: "",
|
||||||
freetext: "",
|
freetext: "",
|
||||||
availability: "",
|
availability_status: false,
|
||||||
|
availability_hours_per_week: null,
|
||||||
|
availability_text: "",
|
||||||
address: {
|
address: {
|
||||||
postcode: "",
|
postcode: "",
|
||||||
city: "",
|
city: "",
|
||||||
@ -194,10 +259,49 @@ export default {
|
|||||||
searchtopics: [],
|
searchtopics: [],
|
||||||
contacts: [],
|
contacts: [],
|
||||||
},
|
},
|
||||||
|
pronounsTooltip: {
|
||||||
|
content: 'Wie möchtest du angesprochen werden?<br>Zum Beispiel "er/ihn" oder "sie/ihre".',
|
||||||
|
html: true
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
await this.initEditPage();
|
await this.initEditPage();
|
||||||
},
|
},
|
||||||
|
unmounted() {
|
||||||
|
this.cancelClearMessages()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
cancelClearMessages() {
|
||||||
|
if (this.clearMessagesHandle) {
|
||||||
|
window.clearTimeout(this.clearMessagesHandle)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scheduleClearMessages() {
|
||||||
|
this.cancelClearMessages()
|
||||||
|
this.clearMessagesHandle = window.setTimeout(() => {
|
||||||
|
this.showErrorMessage = false
|
||||||
|
this.showSuccessMessage = false
|
||||||
|
}, 2500)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
showErrorMessage(curr) {
|
||||||
|
if (curr) {
|
||||||
|
this.scheduleClearMessages()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
showSuccessMessage(curr) {
|
||||||
|
if (curr) {
|
||||||
|
this.scheduleClearMessages()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.savebar {
|
||||||
|
bottom: 0;
|
||||||
|
position: sticky;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,57 +1,157 @@
|
|||||||
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
|
<!--
|
||||||
|
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="profile" class="container">
|
<div>
|
||||||
<h1>
|
<template v-if="error">
|
||||||
{{profile.nickname}}
|
<ViewError :isOwnProfile="isOwnProfile" :notFound="notFound" />
|
||||||
<span v-if="profile.pronouns">({{profile.pronouns}})</span>
|
</template>
|
||||||
</h1>
|
<template
|
||||||
<p><label class="fw-bold">Vorstellung: </label> {{profile.freetext}}</p>
|
v-else-if="profile"
|
||||||
<p><label class="fw-bold">Ehrentamtliche Arbeit: </label> {{profile.volunteerwork}}</p>
|
class="container">
|
||||||
<p><label class="fw-bold">Verfügbarkeit: </label> {{profile.availability}}</p>
|
<ProfileHeader
|
||||||
<h3>Das kann ich:</h3>
|
class="mb-4"
|
||||||
<profile-list
|
:profile="profile" />
|
||||||
:values="profile.skills"
|
|
||||||
type="skill"
|
<Section
|
||||||
></profile-list>
|
v-if="profile.skills && profile.skills.length > 0"
|
||||||
<h3>Das suche ich:</h3>
|
title="Das kann ich">
|
||||||
<profile-list
|
<div style="margin-bottom: -.5rem;">
|
||||||
:values="profile.searchtopics"
|
<Skill
|
||||||
type="skill"
|
class="me-2 mb-2"
|
||||||
></profile-list>
|
v-for="skill in profile.skills"
|
||||||
<h3>Meine Kontaktmöglichkeiten:</h3>
|
:key="skill.skill.id"
|
||||||
<profile-list
|
:profileSkill="skill"
|
||||||
:values="profile.contacts"
|
:showLevel="true" />
|
||||||
type="contacttype"
|
</div>
|
||||||
></profile-list>
|
</Section>
|
||||||
<h3>Ich Spreche Folgende Sprachen:</h3>
|
|
||||||
<profile-list
|
<Section
|
||||||
:values="profile.languages"
|
v-if="profile.searchtopics && profile.searchtopics.length > 0"
|
||||||
type="language"
|
title="Ich suche für mich Projekte/Aufträge in folgenden Bereichen">
|
||||||
></profile-list>
|
<div style="margin-bottom: -.5rem;">
|
||||||
<div v-if="profile.address">
|
<Skill
|
||||||
<h3>Meine Location:</h3>
|
class="me-2 mb-2"
|
||||||
{{profile.address.city}} ({{profile.address.postcode}}), {{profile.address.country}}
|
v-for="skill in profile.searchtopics"
|
||||||
</div>
|
:key="skill.skill.id"
|
||||||
|
:profileSkill="skill"
|
||||||
|
:showLevel="false" />
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section
|
||||||
|
v-if="profile.languages && profile.languages.length > 0"
|
||||||
|
title="Ich spreche diese Sprachen">
|
||||||
|
<div style="margin-bottom: -.5rem;">
|
||||||
|
<Language
|
||||||
|
class="me-2 mb-2"
|
||||||
|
v-for="language in profile.languages"
|
||||||
|
:key="language.language.id"
|
||||||
|
:profileLanguage="language"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section title="Verfügbarkeit">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<div v-if="profile.availability_status">
|
||||||
|
<i class="bi bi-check-square me-1"></i>
|
||||||
|
ja
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<i class="bi bi-x-square me-1"></i>
|
||||||
|
nein
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="ms-3"
|
||||||
|
v-if="profile.availability_status && profile.availability_hours_per_week">
|
||||||
|
({{ profile.availability_hours_per_week }} Stunden pro Woche)
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div v-if="profile.availability_text" class="mt-3">
|
||||||
|
<label class="form-label fw-bold">
|
||||||
|
Anmerkungen
|
||||||
|
</label>
|
||||||
|
<div>{{ profile.availability_text }}</div>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section
|
||||||
|
v-if="profile.contacts && profile.contacts.length > 0"
|
||||||
|
title="Meine Kontaktmöglichkeiten"
|
||||||
|
>
|
||||||
|
<div style="margin-bottom: -.5rem;">
|
||||||
|
<Contact
|
||||||
|
class="me-2 mb-2"
|
||||||
|
v-for="profileContact in profile.contacts"
|
||||||
|
:key="profileContact.id"
|
||||||
|
:profileContact="profileContact"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
|
||||||
|
<Section
|
||||||
|
v-if="profile.volunteerwork || profile.freetext"
|
||||||
|
title="Sonstiges">
|
||||||
|
<div v-if="profile.freetext" :class="{ 'lh-base': true, 'mb-4': profile.volunteerwork }">
|
||||||
|
<h5>Über mich</h5>
|
||||||
|
{{ profile.freetext }}
|
||||||
|
</div>
|
||||||
|
<div v-if="profile.volunteerwork" class="lh-base">
|
||||||
|
<h5>Ehrenamtliche Arbeit</h5>
|
||||||
|
{{ profile.volunteerwork }}
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import RequestMixin from "@/mixins/request.mixin"
|
import { mapState, mapActions } from 'vuex'
|
||||||
|
|
||||||
import ProfileList from "@/components/ProfileList";
|
import ViewError from '@/components/ViewError'
|
||||||
|
import ProfileHeader from '@/components/profile/Header'
|
||||||
|
import Section from '@/components/profile/Section'
|
||||||
|
import Contact from '@/components/profile/Contact'
|
||||||
|
import Language from '@/components/profile/Language'
|
||||||
|
import Skill from '@/components/Skill'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "profileView",
|
name: 'profileView',
|
||||||
mixins: [RequestMixin],
|
|
||||||
components: {
|
components: {
|
||||||
ProfileList,
|
Contact,
|
||||||
|
Language,
|
||||||
|
ProfileHeader,
|
||||||
|
Section,
|
||||||
|
Skill,
|
||||||
|
ViewError,
|
||||||
},
|
},
|
||||||
data() {
|
methods: {
|
||||||
return {
|
...mapActions({
|
||||||
profile: null
|
loadProfile: 'profile/load',
|
||||||
};
|
clearStore: 'profile/clear',
|
||||||
|
})
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState({
|
||||||
|
profile: state => state.profile.profile,
|
||||||
|
error: state => state.profile.error,
|
||||||
|
notFound: state => state.profile.notFound,
|
||||||
|
isOwnProfile: state => state.profile.isOwnProfile,
|
||||||
|
showSpinner: state => state.profile.showSpinner
|
||||||
|
})
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
await this.initViewPage();
|
const id = parseInt(this.$route.params.memberId, 10)
|
||||||
}
|
this.loadProfile(id)
|
||||||
|
},
|
||||||
|
unmounted() {
|
||||||
|
this.clearStore()
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
|