diff --git a/package.json b/package.json index b6f3705..f2b5440 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "vee-validate": "^4.12.6", "viewerjs": "^1.11.6", "vue": "^3.4.21", + "vue-advanced-cropper": "^2.8.8", "vue-i18n": "^9.10.2", "vue-router": "^4.3.0", "vuetify": "^3.5.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d89fb8b..fddbecd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,6 +116,9 @@ dependencies: vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.4.3) + vue-advanced-cropper: + specifier: ^2.8.8 + version: 2.8.8(vue@3.4.21) vue-i18n: specifier: ^9.10.2 version: 9.10.2(vue@3.4.21) @@ -2111,6 +2114,10 @@ packages: optionalDependencies: fsevents: 2.3.3 + /classnames@2.5.1: + resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} + dev: false + /cli-cursor@3.1.0: resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} engines: {node: '>=8'} @@ -2699,6 +2706,10 @@ packages: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} dev: true + /debounce@1.2.1: + resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} + dev: false + /debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -2871,6 +2882,10 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true + /easy-bem@1.1.1: + resolution: {integrity: sha512-GJRqdiy2h+EXy6a8E6R+ubmqUM08BK0FWNq41k24fup6045biQ8NXxoXimiwegMQvFFV3t1emADdGNL1TlS61A==} + dev: false + /editorconfig@1.0.4: resolution: {integrity: sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==} engines: {node: '>=14'} @@ -5995,6 +6010,18 @@ packages: - terser dev: true + /vue-advanced-cropper@2.8.8(vue@3.4.21): + resolution: {integrity: sha512-yDM7Jb/gnxcs//JdbOogBUoHr1bhCQSto7/ohgETKAe4wvRpmqIkKSppMm1huVQr+GP1YoVlX/fkjKxvYzwwDQ==} + engines: {node: '>=8', npm: '>=5'} + peerDependencies: + vue: ^3.0.0 + dependencies: + classnames: 2.5.1 + debounce: 1.2.1 + easy-bem: 1.1.1 + vue: 3.4.21(typescript@5.4.3) + dev: false + /vue-component-type-helpers@2.0.7: resolution: {integrity: sha512-7e12Evdll7JcTIocojgnCgwocX4WzIYStGClBQ+QuWPinZo/vQolv2EMq4a3lg16TKfwWafLimG77bxb56UauA==} dev: true diff --git a/src/components/answer/AnswerCard.vue b/src/components/answer/AnswerCard.vue index d3cab98..77bc212 100644 --- a/src/components/answer/AnswerCard.vue +++ b/src/components/answer/AnswerCard.vue @@ -5,7 +5,7 @@ {{ answer.author.nickname }} {{ answer.author.intro }} diff --git a/src/components/user/UserCard.vue b/src/components/user/UserCard.vue index 8b2f0e4..fa1323d 100644 --- a/src/components/user/UserCard.vue +++ b/src/components/user/UserCard.vue @@ -10,7 +10,13 @@ cover /> - + @@ -30,7 +36,7 @@
- +