更新依赖

This commit is contained in:
Hooray Hu
2024-03-14 11:55:18 +08:00
parent 15cb0a59b3
commit c96eb69f3b
12 changed files with 1639 additions and 1677 deletions
+29 -29
View File
@@ -24,15 +24,15 @@
"@headlessui/vue": "^1.7.19",
"@imengyu/vue3-context-menu": "^1.3.8",
"@tinymce/tinymce-vue": "^5.1.1",
"@vueuse/core": "^10.8.0",
"@vueuse/integrations": "^10.8.0",
"@vueuse/core": "^10.9.0",
"@vueuse/integrations": "^10.9.0",
"animate.css": "^4.1.1",
"axios": "^1.6.7",
"bytemd": "^1.21.0",
"dayjs": "^1.11.10",
"defu": "^6.1.4",
"echarts": "^5.5.0",
"element-plus": "^2.5.6",
"element-plus": "^2.6.1",
"eruda": "^3.0.1",
"floating-vue": "5.2.2",
"hotkeys-js": "^3.13.7",
@@ -40,31 +40,31 @@
"mitt": "^3.0.1",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"overlayscrollbars": "^2.5.0",
"overlayscrollbars": "^2.6.1",
"overlayscrollbars-vue": "^0.5.7",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.1.7",
"print-js": "^1.6.0",
"qrcode": "^1.5.3",
"qs": "^6.11.2",
"qs": "^6.12.0",
"scule": "^1.3.0",
"splitpanes": "^3.1.5",
"swiper": "^11.0.6",
"swiper": "^11.0.7",
"tinymce": "^6.8.3",
"vconsole": "^3.15.1",
"vue": "^3.4.20",
"vue": "^3.4.21",
"vue-currency-input": "^3.1.0",
"vue-esign": "^1.1.4",
"vue-m-message": "^4.0.2",
"vue-router": "^4.3.0",
"vue3-count-to": "^1.1.2",
"vxe-table": "^4.5.20",
"xe-utils": "^3.5.20"
"vxe-table": "^4.5.21",
"xe-utils": "^3.5.22"
},
"devDependencies": {
"@antfu/eslint-config": "2.6.4",
"@iconify/json": "^2.2.186",
"@antfu/eslint-config": "2.8.1",
"@iconify/json": "^2.2.191",
"@iconify/vue": "^4.1.1",
"@stylistic/stylelint-config": "^1.0.1",
"@types/lodash-es": "^4.17.12",
@@ -72,47 +72,47 @@
"@types/nprogress": "^0.2.3",
"@types/path-browserify": "^1.0.2",
"@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.11",
"@types/qs": "^6.9.12",
"@types/splitpanes": "^2.2.6",
"@unocss/eslint-plugin": "^0.58.5",
"@vitejs/plugin-legacy": "^5.3.1",
"@vitejs/plugin-legacy": "^5.3.2",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"archiver": "^6.0.1",
"autoprefixer": "^10.4.17",
"archiver": "^7.0.1",
"autoprefixer": "^10.4.18",
"boxen": "^7.1.1",
"eslint": "^8.57.0",
"esno": "^4.0.0",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"http-server": "^14.1.1",
"inquirer": "^9.2.15",
"inquirer": "^9.2.16",
"lint-staged": "^15.2.2",
"npm-run-all": "^4.1.5",
"picocolors": "^1.0.0",
"plop": "^4.0.1",
"sass": "^1.71.1",
"simple-git-hooks": "^2.9.0",
"sass": "^1.72.0",
"simple-git-hooks": "^2.10.0",
"stylelint": "^16.2.1",
"stylelint-config-recess-order": "^4.6.0",
"stylelint-config-recess-order": "^5.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^6.1.0",
"stylelint-scss": "^6.2.1",
"svgo": "^3.2.0",
"terser": "^5.28.1",
"typescript": "^5.3.3",
"terser": "^5.29.1",
"typescript": "^5.4.2",
"unocss": "^0.58.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-turbo-console": "^1.4.0",
"unplugin-turbo-console": "^1.4.1",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.1.4",
"vite": "^5.1.6",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-compression2": "^0.12.0",
"vite-plugin-compression2": "^1.0.0",
"vite-plugin-fake-server": "^2.1.1",
"vite-plugin-pages": "^0.32.0",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^7.0.15",
"vite-plugin-vue-meta-layouts": "^0.4.1",
"vue-tsc": "^1.8.27"
"vite-plugin-vue-devtools": "^7.0.17",
"vite-plugin-vue-meta-layouts": "^0.4.2",
"vue-tsc": "^2.0.6"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
+1558 -1618
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -29,7 +29,7 @@ const props = withDefaults(
)
const emits = defineEmits<{
'onSuccess': [
onSuccess: [
res: any,
file: UploadUserFile,
fileList: UploadUserFile[],
+1 -1
View File
@@ -31,7 +31,7 @@ const props = withDefaults(
)
const emits = defineEmits<{
'onSuccess': [
onSuccess: [
res: any,
]
}>()
+1 -1
View File
@@ -33,7 +33,7 @@ const props = withDefaults(
)
const emits = defineEmits<{
'onSuccess': [
onSuccess: [
res: any,
]
}>()
+1 -1
View File
@@ -15,7 +15,7 @@ withDefaults(
)
const emits = defineEmits<{
'toggle': [
toggle: [
value: boolean,
]
}>()
+1 -1
View File
@@ -15,7 +15,7 @@ withDefaults(
)
const emits = defineEmits<{
'change': [string | number | undefined]
change: [string | number | undefined]
}>()
const value = defineModel<string | number>()
+1 -1
View File
@@ -16,7 +16,7 @@ withDefaults(
)
const emits = defineEmits<{
'close': []
close: []
}>()
const isOpen = defineModel<boolean>({
+1 -1
View File
@@ -19,7 +19,7 @@ const props = withDefaults(
)
const emits = defineEmits<{
'close': []
close: []
}>()
const isOpen = defineModel<boolean>({
+1 -1
View File
@@ -10,7 +10,7 @@ const props = defineProps<{
}>()
const emits = defineEmits<{
'change': [T]
change: [T]
}>()
const value = defineModel<T>()
@@ -31,17 +31,27 @@ const checked4 = ref(false)
多选框组
</ElDivider>
<ElCheckboxGroup v-model="checkList">
<ElCheckbox label="复选框 A" />
<ElCheckbox label="复选框 B" />
<ElCheckbox label="复选框 C" />
<ElCheckbox label="禁用" disabled />
<ElCheckbox label="选中且禁用" disabled />
<ElCheckbox value="复选框 A">
复选框 A
</ElCheckbox>
<ElCheckbox value="复选框 B">
复选框 B
</ElCheckbox>
<ElCheckbox value="复选框 C">
复选框 C
</ElCheckbox>
<ElCheckbox value="禁用" disabled>
禁用
</ElCheckbox>
<ElCheckbox value="选中且禁用" disabled>
选中且禁用
</ElCheckbox>
</ElCheckboxGroup>
<ElDivider content-position="left">
可选项目数量的限制
</ElDivider>
<ElCheckboxGroup v-model="checkedCities" :min="1" :max="2">
<ElCheckbox v-for="city in cities" :key="city" :label="city">
<ElCheckbox v-for="city in cities" :key="city" :value="city">
{{ city }}
</ElCheckbox>
</ElCheckboxGroup>
@@ -49,14 +59,18 @@ const checked4 = ref(false)
按钮样式
</ElDivider>
<ElCheckboxGroup v-model="checkboxGroup1">
<ElCheckboxButton v-for="city in cities" :key="city" :label="city">
<ElCheckboxButton v-for="city in cities" :key="city" :value="city">
{{ city }}
</ElCheckboxButton>
</ElCheckboxGroup>
<ElDivider content-position="left">
带有边框
</ElDivider>
<ElCheckbox v-model="checked3" label="备选项1" border />
<ElCheckbox v-model="checked4" label="备选项2" border />
<ElCheckbox v-model="checked3" value="备选项1" border>
备选项1
</ElCheckbox>
<ElCheckbox v-model="checked4" value="备选项2" border>
备选项2
</ElCheckbox>
</div>
</template>
@@ -11,32 +11,32 @@ const radio5 = ref('1')
<ElDivider content-position="left">
基础用法
</ElDivider>
<ElRadio v-model="radio" label="1">
<ElRadio v-model="radio" value="1">
备选项
</ElRadio>
<ElRadio v-model="radio" label="2">
<ElRadio v-model="radio" value="2">
备选项
</ElRadio>
<ElDivider content-position="left">
禁用状态
</ElDivider>
<ElRadio v-model="radio2" disabled label="禁用">
<ElRadio v-model="radio2" disabled value="禁用">
备选项
</ElRadio>
<ElRadio v-model="radio2" disabled label="选中且禁用">
<ElRadio v-model="radio2" disabled value="选中且禁用">
备选项
</ElRadio>
<ElDivider content-position="left">
单选框组
</ElDivider>
<ElRadioGroup v-model="radio3">
<ElRadio :label="3">
<ElRadio :value="3">
备选项
</ElRadio>
<ElRadio :label="6">
<ElRadio :value="6">
备选项
</ElRadio>
<ElRadio :label="9">
<ElRadio :value="9">
备选项
</ElRadio>
</ElRadioGroup>
@@ -44,18 +44,26 @@ const radio5 = ref('1')
按钮样式
</ElDivider>
<ElRadioGroup v-model="radio4">
<ElRadioButton label="上海" />
<ElRadioButton label="北京" />
<ElRadioButton label="广州" />
<ElRadioButton label="深圳" />
<ElRadioButton value="上海">
上海
</ElRadioButton>
<ElRadioButton value="北京">
北京
</ElRadioButton>
<ElRadioButton value="广州">
广州
</ElRadioButton>
<ElRadioButton value="深圳">
深圳
</ElRadioButton>
</ElRadioGroup>
<ElDivider content-position="left">
带有边框
</ElDivider>
<ElRadio v-model="radio5" label="1" border>
<ElRadio v-model="radio5" value="1" border>
备选项1
</ElRadio>
<ElRadio v-model="radio5" label="2" border>
<ElRadio v-model="radio5" value="2" border>
备选项2
</ElRadio>
</div>