Compare commits

..

No commits in common. "fc1d8b610935ad68c194d60d7ea6b4400fd0e23d" and "436ab75d21befeeb49010e52477bb48fe1cd23f1" have entirely different histories.

25 changed files with 84 additions and 117 deletions

View File

@ -1,7 +1,5 @@
// @import "src/assets/common/scss/mixin"; @import "src/assets/common/scss/mixin";
// @import "src/assets/common/scss/placeholder"; @import "src/assets/common/scss/placeholder";
@import "@/assets/common/scss/mixin";
@import "@/assets/common/scss/placeholder";
.admin-system,.task-system,.admin-panel{ .admin-system,.task-system,.admin-panel{
//@import "main"; //@import "main";

View File

@ -1,7 +1,5 @@
// @import "src/assets/common/scss/mixin"; @import "src/assets/common/scss/mixin";
// @import "src/assets/common/scss/placeholder"; @import "src/assets/common/scss/placeholder";
@import "@/assets/common/scss/mixin";
@import "@/assets/common/scss/placeholder";
.admin-panel { .admin-panel {
.pages-content-container { .pages-content-container {

View File

@ -106,9 +106,7 @@
<script> <script>
import authMixin from "~/mixins/authMixin"; import authMixin from "~/mixins/authMixin";
import { required,minLength } from '@vuelidate/validators' import { required, minLength } from "vuelidate/lib/validators";
import useVuelidate from '@vuelidate/core'
import { mapState } from "pinia"; import { mapState } from "pinia";

View File

@ -5,13 +5,13 @@
"{{ userFullname(getFullName) }}" عزیز، خوش آمدید. "{{ userFullname(getFullName) }}" عزیز، خوش آمدید.
</div> </div>
<div v-else>0{{ getMobile }}</div> <div v-else> 0{{ getMobile }} </div>
</div> </div>
<div class="m-sign-up__text">رمز پیامک شده را وارد کنید</div> <div class="m-sign-up__text">رمز پیامک شده را وارد کنید</div>
<div class="m-sign-up__form"> <div class="m-sign-up__form">
<div class="m-sign-up__form-row m-sign-up__simple-input"> <div class="m-sign-up__form-row m-sign-up__simple-input">
<div <div
class="form-group" class="form-group "
:class="{ 'form-group--error': $v.code.$error }" :class="{ 'form-group--error': $v.code.$error }"
> >
<input <input
@ -96,7 +96,7 @@
</div> </div>
<div class="m-sign-up__button-container"> <div class="m-sign-up__button-container">
<a @click.prevent="goBack" :href="$t('Back')">{{ $t("Back") }}</a> <a @click.prevent="goBack" :href="$t('Back')">{{ $t("Back") }}</a>
<button v-on:click="doActivate"> <button v-on:click="doActivate">
{{ $t("Verify") }} {{ $t("Verify") }}
</button> </button>
</div> </div>
@ -106,8 +106,7 @@
<script> <script>
import authMixin from "~/mixins/authMixin"; import authMixin from "~/mixins/authMixin";
import { required, minLength } from "vuelidate/lib/validators";
import { required, minLength } from "@vuelidate/validators";
import { useCommonStore } from "~/stores/commonStore"; import { useCommonStore } from "~/stores/commonStore";
import { useAuthStore } from "~/stores/authStore"; import { useAuthStore } from "~/stores/authStore";
import { mapState } from "pinia"; import { mapState } from "pinia";
@ -148,11 +147,7 @@ export default {
}; };
}, },
computed: { computed: {
...mapState(useAuthStore, [ ...mapState(useAuthStore,["getMobile", "getFullName", "getResetPasswordState"]),
"getMobile",
"getFullName",
"getResetPasswordState",
]),
}, },
methods: { methods: {
resetErrors() { resetErrors() {
@ -188,14 +183,14 @@ export default {
vm.mySwalToast({ vm.mySwalToast({
title: res.message, title: res.message,
icon: "success", icon: "success",
}); });
const { $eventBus } = useNuxtApp(); const { $eventBus } = useNuxtApp();
$eventBus.emit( $eventBus.emit(
"authenticated-by-modal", 'authenticated-by-modal',
this.$route.query["invite-id"] this.$route.query["invite-id"]
); );
// vm.$router.push({ // vm.$router.push({
// name: "dashboard", // name: "dashboard",
// }); // });
@ -231,7 +226,7 @@ export default {
const vm = this; const vm = this;
var timeleft = timeInSecond; var timeleft = timeInSecond;
var downloadTimer = setInterval(function () { var downloadTimer = setInterval(function() {
if (timeleft <= 0) { if (timeleft <= 0) {
clearInterval(downloadTimer); clearInterval(downloadTimer);
vm.$refs.countdown.innerHTML = "ارسال مجدد"; vm.$refs.countdown.innerHTML = "ارسال مجدد";
@ -255,7 +250,7 @@ export default {
display: inline-block !important; display: inline-block !important;
text-align: center !important; text-align: center !important;
border: none !important; border: none !important;
background: unset !important; background:unset !important;
&[disabled] { &[disabled] {
min-width: 4em !important; min-width: 4em !important;
} }

View File

@ -43,7 +43,7 @@ import {
minLength, minLength,
maxLength, maxLength,
between, between,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
name: "forget", name: "forget",

View File

@ -156,7 +156,7 @@ import {
minLength, minLength,
maxLength, maxLength,
between, between,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
mounted() { mounted() {

View File

@ -116,7 +116,7 @@ import {
minLength, minLength,
maxLength, maxLength,
between, between,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
import { mapState, mapActions } from "pinia"; import { mapState, mapActions } from "pinia";
import { useCommonStore } from "~/stores/commonStore"; import { useCommonStore } from "~/stores/commonStore";

View File

@ -207,7 +207,7 @@ import {
maxLength, maxLength,
between, between,
sameAs, sameAs,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
mounted(){ mounted(){

View File

@ -93,7 +93,7 @@ import {
maxLength, maxLength,
between, between,
sameAs, sameAs,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
validations: { validations: {

View File

@ -110,7 +110,7 @@ import {
required, required,
minLength, minLength,
sameAs, sameAs,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
import { mapState, mapActions } from "pinia"; import { mapState, mapActions } from "pinia";
import { useCommonStore } from "~/stores/commonStore"; import { useCommonStore } from "~/stores/commonStore";
import { useAuthStore } from "~/stores/authStore"; import { useAuthStore } from "~/stores/authStore";

View File

@ -34,8 +34,12 @@
<script> <script>
import authMixin from "~/mixins/authMixin"; import authMixin from "~/mixins/authMixin";
import {
import { required, minLength, maxLength, between } from "@vuelidate/validators"; required,
minLength,
maxLength,
between,
} from "vuelidate/lib/validators";
export default { export default {
name: "forget", name: "forget",
@ -71,7 +75,7 @@ export default {
title: res.message, title: res.message,
icon: "success", icon: "success",
}); });
this.$router.push({ this.$router.push({
name: "resetpass", name: "resetpass",
params: { usernameemail: vm.usernameemail }, params: { usernameemail: vm.usernameemail },

View File

@ -116,7 +116,7 @@ import {
minLength, minLength,
maxLength, maxLength,
between, between,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
import { mapState, mapActions } from "pinia"; import { mapState, mapActions } from "pinia";
import { useCommonStore } from "~/stores/commonStore"; import { useCommonStore } from "~/stores/commonStore";

View File

@ -146,7 +146,7 @@ import {
maxLength, maxLength,
between, between,
sameAs, sameAs,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
validations: { validations: {

View File

@ -107,7 +107,7 @@ import {
required, required,
minLength, minLength,
sameAs, sameAs,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
import { mapState, mapActions } from "pinia"; import { mapState, mapActions } from "pinia";
export default { export default {

View File

@ -44,7 +44,7 @@ import {
minLength, minLength,
maxLength, maxLength,
between, between,
} from "@vuelidate/validators"; } from "vuelidate/lib/validators";
export default { export default {
validations: { validations: {

View File

@ -4,7 +4,7 @@
>{{ getLabel() }}:</label >{{ getLabel() }}:</label
> >
<div> <div>
<!-- <codemirror <codemirror
:options="cmOptions" :options="cmOptions"
class="markdown-preview" class="markdown-preview"
v-model="textValue" v-model="textValue"
@ -12,7 +12,7 @@
:id="localFormElement.key" :id="localFormElement.key"
:name="localFormElement.key" :name="localFormElement.key"
ref="myCm" ref="myCm"
></codemirror> --> ></codemirror>
</div> </div>
</div> </div>
</template> </template>
@ -21,20 +21,20 @@
import { mapState } from "pinia"; import { mapState } from "pinia";
import formBuilderMixin from "@mixins/formBuilderMixin"; import formBuilderMixin from "@mixins/formBuilderMixin";
// import { codemirror } from "vue-codemirror"; import { codemirror } from "vue-codemirror";
// import "vue-codemirror/node_modules/codemirror/lib/codemirror.css"; import "vue-codemirror/node_modules/codemirror/lib/codemirror.css";
// import "vue-codemirror/node_modules/codemirror/mode/markdown/markdown.js"; import "vue-codemirror/node_modules/codemirror/mode/markdown/markdown.js";
// import "vue-codemirror/node_modules/codemirror/mode/javascript/javascript.js"; import "vue-codemirror/node_modules/codemirror/mode/javascript/javascript.js";
// import "vue-codemirror/node_modules/codemirror/mode/css/css.js"; import "vue-codemirror/node_modules/codemirror/mode/css/css.js";
// import "vue-codemirror/node_modules/codemirror/mode/vue/vue.js"; import "vue-codemirror/node_modules/codemirror/mode/vue/vue.js";
// import "vue-codemirror/node_modules/codemirror/mode/htmlmixed/htmlmixed.js"; import "vue-codemirror/node_modules/codemirror/mode/htmlmixed/htmlmixed.js";
// import "vue-codemirror/node_modules/codemirror/addon/edit/closebrackets.js"; import "vue-codemirror/node_modules/codemirror/addon/edit/closebrackets.js";
// import "vue-codemirror/node_modules/codemirror/addon/edit/matchbrackets.js"; import "vue-codemirror/node_modules/codemirror/addon/edit/matchbrackets.js";
// import "vue-codemirror/node_modules/codemirror/addon/edit/closetag.js"; import "vue-codemirror/node_modules/codemirror/addon/edit/closetag.js";
// import "vue-codemirror/node_modules/codemirror/addon/display/placeholder.js"; import "vue-codemirror/node_modules/codemirror/addon/display/placeholder.js";
// import "vue-codemirror/node_modules/codemirror/addon/scroll/simplescrollbars.js"; import "vue-codemirror/node_modules/codemirror/addon/scroll/simplescrollbars.js";
// import "vue-codemirror/node_modules/codemirror/addon/scroll/simplescrollbars.css"; import "vue-codemirror/node_modules/codemirror/addon/scroll/simplescrollbars.css";
// import "vue-codemirror/node_modules/codemirror/addon/selection/active-line.js"; import "vue-codemirror/node_modules/codemirror/addon/selection/active-line.js";
export default { export default {
mixins: [formBuilderMixin], mixins: [formBuilderMixin],

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="row form-group" :key="$attrs.key"> <div class="row form-group" :key="$attrs.key">
<label :for="localFormElement?.key" class="col-md-3" <label :for="localFormElement?.key" class="col-md-3">{{
>{{ localFormElement?.label }}:</label localFormElement?.label
> }}:</label>
<div v-if="isInitial" class="dropbox"> <div v-if="isInitial" class="dropbox">
<input <input
@ -58,7 +58,7 @@ const STATUS_INITIAL = 0,
STATUS_FAILED = 3; STATUS_FAILED = 3;
import { upload } from "@services/fileUploadService"; import { upload } from "@services/fileUploadService";
import { wait } from "~/manuals/utilities.js"; import { wait } from "@utilities/utilities.js";
import formBuilderMixin from "@mixins/formBuilderMixin"; import formBuilderMixin from "@mixins/formBuilderMixin";
export default { export default {
@ -133,7 +133,7 @@ export default {
.dropbox { .dropbox {
outline: 2px dashed grey; /* the dash box */ outline: 2px dashed grey; /* the dash box */
outline-offset: -10px; outline-offset: -10px;
background: lightcyan; background: lightcyan;
color: dimgray; color: dimgray;
padding: 10px 10px; padding: 10px 10px;
min-height: 200px; /* minimum height */ min-height: 200px; /* minimum height */

View File

@ -92,7 +92,7 @@ export default {
// datePicker: VuePersianDatetimePicker, // datePicker: VuePersianDatetimePicker,
datePicker: () => datePicker: () =>
import( import(
"vue3-persian-datetime-picker" "vue-persian-datetime-picker"
), ),
}, },
}; };

View File

@ -1,5 +1,5 @@
import { mapState, mapActions } from "pinia"; import { mapState, mapActions } from "pinia";
import { useCommonStore } from "~/stores/commonStore"; import { useCommonStore } from "@stores/commonStore";
export default { export default {
created() { created() {

32
package-lock.json generated
View File

@ -17,7 +17,6 @@
"@vueup/vue-quill": "^1.2.0", "@vueup/vue-quill": "^1.2.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"bootstrap": "^5.3.3", "bootstrap": "^5.3.3",
"codemirror": "^6.0.1",
"docx": "^9.1.1", "docx": "^9.1.1",
"echarts": "^5.5.1", "echarts": "^5.5.1",
"echarts-wordcloud": "^2.1.0", "echarts-wordcloud": "^2.1.0",
@ -668,6 +667,7 @@
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.18.3.tgz", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.18.3.tgz",
"integrity": "sha512-1dNIOmiM0z4BIBwxmxEfA1yoxh1MF/6KPBbh20a5vphGV0ictKlgQsbJs6D6SkR6iJpGbpwRsa6PFMNlg9T9pQ==", "integrity": "sha512-1dNIOmiM0z4BIBwxmxEfA1yoxh1MF/6KPBbh20a5vphGV0ictKlgQsbJs6D6SkR6iJpGbpwRsa6PFMNlg9T9pQ==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
@ -712,6 +712,7 @@
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.3.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.3.tgz",
"integrity": "sha512-GSGfKxCo867P7EX1k2LoCrjuQFeqVgPGRRsSl4J4c0KMkD+k1y6WYvTQkzv0iZ8JhLJDujEvlnMchv4CZQLh3Q==", "integrity": "sha512-GSGfKxCo867P7EX1k2LoCrjuQFeqVgPGRRsSl4J4c0KMkD+k1y6WYvTQkzv0iZ8JhLJDujEvlnMchv4CZQLh3Q==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.35.0", "@codemirror/view": "^6.35.0",
@ -723,6 +724,7 @@
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.8.tgz", "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.8.tgz",
"integrity": "sha512-PoWtZvo7c1XFeZWmmyaOp2G0XVbOnm+fJzvghqGAktBW3cufwJUWvSCcNG0ppXiBEM05mZu6RhMtXPv2hpllig==", "integrity": "sha512-PoWtZvo7c1XFeZWmmyaOp2G0XVbOnm+fJzvghqGAktBW3cufwJUWvSCcNG0ppXiBEM05mZu6RhMtXPv2hpllig==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -6843,6 +6845,7 @@
"resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz",
"integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@codemirror/autocomplete": "^6.0.0", "@codemirror/autocomplete": "^6.0.0",
"@codemirror/commands": "^6.0.0", "@codemirror/commands": "^6.0.0",
@ -7109,7 +7112,8 @@
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz",
"integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==", "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==",
"license": "MIT" "license": "MIT",
"peer": true
}, },
"node_modules/croner": { "node_modules/croner": {
"version": "9.0.0", "version": "9.0.0",
@ -11909,8 +11913,6 @@
}, },
"node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width": { "node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"inBundle": true, "inBundle": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -12569,8 +12571,6 @@
}, },
"node_modules/npm/node_modules/cross-spawn/node_modules/which": { "node_modules/npm/node_modules/cross-spawn/node_modules/which": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -13192,8 +13192,6 @@
}, },
"node_modules/npm/node_modules/minipass-flush/node_modules/minipass": { "node_modules/npm/node_modules/minipass-flush/node_modules/minipass": {
"version": "3.3.6", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -13216,8 +13214,6 @@
}, },
"node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": { "node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": {
"version": "3.3.6", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -13240,8 +13236,6 @@
}, },
"node_modules/npm/node_modules/minipass-sized/node_modules/minipass": { "node_modules/npm/node_modules/minipass-sized/node_modules/minipass": {
"version": "3.3.6", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -13267,8 +13261,6 @@
}, },
"node_modules/npm/node_modules/minizlib/node_modules/minipass": { "node_modules/npm/node_modules/minizlib/node_modules/minipass": {
"version": "3.3.6", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -13403,8 +13395,6 @@
}, },
"node_modules/npm/node_modules/nopt/node_modules/abbrev": { "node_modules/npm/node_modules/nopt/node_modules/abbrev": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz",
"integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"engines": { "engines": {
@ -14025,8 +14015,6 @@
}, },
"node_modules/npm/node_modules/tar/node_modules/fs-minipass": { "node_modules/npm/node_modules/tar/node_modules/fs-minipass": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
"integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -14038,8 +14026,6 @@
}, },
"node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": {
"version": "3.3.6", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@ -14051,8 +14037,6 @@
}, },
"node_modules/npm/node_modules/tar/node_modules/minipass": { "node_modules/npm/node_modules/tar/node_modules/minipass": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
"integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
"inBundle": true, "inBundle": true,
"license": "ISC", "license": "ISC",
"engines": { "engines": {
@ -14214,8 +14198,6 @@
}, },
"node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"inBundle": true, "inBundle": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -14250,8 +14232,6 @@
}, },
"node_modules/npm/node_modules/wrap-ansi/node_modules/string-width": { "node_modules/npm/node_modules/wrap-ansi/node_modules/string-width": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"inBundle": true, "inBundle": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -25,7 +25,6 @@
"@vueup/vue-quill": "^1.2.0", "@vueup/vue-quill": "^1.2.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"bootstrap": "^5.3.3", "bootstrap": "^5.3.3",
"codemirror": "^6.0.1",
"docx": "^9.1.1", "docx": "^9.1.1",
"echarts": "^5.5.1", "echarts": "^5.5.1",
"echarts-wordcloud": "^2.1.0", "echarts-wordcloud": "^2.1.0",

View File

@ -4,28 +4,23 @@
// createApp.use(Vuelidate); // createApp.use(Vuelidate);
import { useVuelidate } from '@vuelidate/core' import { useVuelidate } from '@vuelidate/core'
// import { required, minLength } from '@vuelidate/validators' import { required, minLength } from '@vuelidate/validators'
// export default defineNuxtPlugin((nuxtApp) => { export default defineNuxtPlugin((nuxtApp) => {
// nuxtApp.vueApp.use((useVuelidate) => { nuxtApp.vueApp.use(() => {
// // // Example of global setup, but typically you'd handle this in the component // // Example of global setup, but typically you'd handle this in the component
// // const state = reactive({ // const state = reactive({
// // firstName: '' // firstName: ''
// // }) // })
// // const rules = { // const rules = {
// // firstName: { // firstName: {
// // required, // required,
// // minLength: minLength(2) // minLength: minLength(2)
// // } // }
// // } // }
// // const v$ = useVuelidate(rules, state) // const v$ = useVuelidate(rules, state)
// // return v$; // return v$;
// // // Return the v$ instance or any other necessary setup // // Return the v$ instance or any other necessary setup
// }) })
// }) })
export default defineNuxtPlugin(nuxtApp => {
nuxtApp.provide('vuelidate', useVuelidate)
})

@ -1 +1 @@
Subproject commit 29e3034e3fa2e28142ae58934b9bad4dc2ce98f4 Subproject commit 49b47bb97fa7394c84ba16a340e08c1fac5384a1

@ -1 +1 @@
Subproject commit 0825fefd58df634196a1f7cf49446db73547c961 Subproject commit 6d8478f019fcc06b269a400c704cd6c4358f8caf

View File

@ -3192,7 +3192,7 @@ cluster-key-slot@^1.1.0:
cmd-shim@^7.0.0: cmd-shim@^7.0.0:
version "7.0.0" version "7.0.0"
codemirror@^6.0.1, codemirror@6.x: codemirror@6.x:
version "6.0.1" version "6.0.1"
resolved "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz" resolved "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz"
integrity sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg== integrity sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==