fix: supplement datepicker component (#4943)

* fix: supplement datepicker component

* chore: typo
pull/48/MERGE
Vben 2024-11-24 21:56:41 +08:00 committed by GitHub
parent dbcb7138f2
commit 3587ec54eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1468 additions and 2238 deletions

View File

@ -15,6 +15,7 @@ import {
ElButton, ElButton,
ElCheckbox, ElCheckbox,
ElCheckboxGroup, ElCheckboxGroup,
ElDatePicker,
ElDivider, ElDivider,
ElInput, ElInput,
ElInputNumber, ElInputNumber,
@ -79,6 +80,7 @@ async function initComponentAdapter() {
Space: ElSpace, Space: ElSpace,
Switch: ElSwitch, Switch: ElSwitch,
TimePicker: ElTimePicker, TimePicker: ElTimePicker,
DatePicker: ElDatePicker,
TreeSelect: withDefaultPlaceholder(ElTreeSelect, 'select'), TreeSelect: withDefaultPlaceholder(ElTreeSelect, 'select'),
Upload: ElUpload, Upload: ElUpload,
}; };

View File

@ -99,7 +99,7 @@
"node": ">=20.10.0", "node": ">=20.10.0",
"pnpm": ">=9.12.0" "pnpm": ">=9.12.0"
}, },
"packageManager": "pnpm@9.13.2", "packageManager": "pnpm@9.14.2",
"pnpm": { "pnpm": {
"peerDependencyRules": { "peerDependencyRules": {
"allowedVersions": { "allowedVersions": {

View File

@ -81,13 +81,11 @@
"dependencies": { "dependencies": {
"@ctrl/tinycolor": "catalog:", "@ctrl/tinycolor": "catalog:",
"@tanstack/vue-store": "catalog:", "@tanstack/vue-store": "catalog:",
"@types/lodash.get": "catalog:",
"@vue/shared": "catalog:", "@vue/shared": "catalog:",
"clsx": "catalog:", "clsx": "catalog:",
"dayjs": "catalog:", "dayjs": "catalog:",
"defu": "catalog:", "defu": "catalog:",
"lodash.clonedeep": "catalog:", "lodash.clonedeep": "catalog:",
"lodash.get": "catalog:",
"nprogress": "catalog:", "nprogress": "catalog:",
"tailwind-merge": "catalog:", "tailwind-merge": "catalog:",
"theme-colors": "catalog:" "theme-colors": "catalog:"

File diff suppressed because it is too large Load Diff

View File

@ -15,42 +15,41 @@ packages:
catalog: catalog:
'@ast-grep/napi': ^0.30.0 '@ast-grep/napi': ^0.30.0
'@changesets/changelog-github': ^0.5.0 '@changesets/changelog-github': ^0.5.0
'@changesets/cli': ^2.27.9 '@changesets/cli': ^2.27.10
'@changesets/git': ^3.0.1 '@changesets/git': ^3.0.2
'@clack/prompts': ^0.8.1 '@clack/prompts': ^0.8.2
'@commitlint/cli': ^19.5.0 '@commitlint/cli': ^19.6.0
'@commitlint/config-conventional': ^19.5.0 '@commitlint/config-conventional': ^19.6.0
'@ctrl/tinycolor': ^4.1.0 '@ctrl/tinycolor': ^4.1.0
'@eslint/js': ^9.15.0 '@eslint/js': ^9.15.0
'@faker-js/faker': ^9.2.0 '@faker-js/faker': ^9.2.0
'@iconify/json': ^2.2.273 '@iconify/json': ^2.2.275
'@iconify/tailwind': ^1.1.3 '@iconify/tailwind': ^1.1.3
'@iconify/vue': ^4.1.2 '@iconify/vue': ^4.1.2
'@intlify/core-base': ^10.0.4 '@intlify/core-base': ^10.0.4
'@intlify/unplugin-vue-i18n': ^6.0.0 '@intlify/unplugin-vue-i18n': ^6.0.0
'@jspm/generator': ^2.4.1 '@jspm/generator': ^2.4.1
'@manypkg/get-packages': ^2.2.2 '@manypkg/get-packages': ^2.2.2
'@nolebase/vitepress-plugin-git-changelog': ^2.9.0 '@nolebase/vitepress-plugin-git-changelog': ^2.10.0
'@playwright/test': ^1.48.2 '@playwright/test': ^1.49.0
'@pnpm/workspace.read-manifest': ^2.2.1 '@pnpm/workspace.read-manifest': ^2.2.1
'@stylistic/stylelint-plugin': ^3.1.1 '@stylistic/stylelint-plugin': ^3.1.1
'@tailwindcss/nesting': 0.0.0-insiders.565cd3e '@tailwindcss/nesting': 0.0.0-insiders.565cd3e
'@tailwindcss/typography': ^0.5.15 '@tailwindcss/typography': ^0.5.15
'@tanstack/vue-query': ^5.60.5 '@tanstack/vue-query': ^5.61.3
'@tanstack/vue-store': ^0.5.7 '@tanstack/vue-store': ^0.5.7
'@types/archiver': ^6.0.3 '@types/archiver': ^6.0.3
'@types/eslint': ^9.6.1 '@types/eslint': ^9.6.1
'@types/html-minifier-terser': ^7.0.2 '@types/html-minifier-terser': ^7.0.2
'@types/jsonwebtoken': ^9.0.7 '@types/jsonwebtoken': ^9.0.7
'@types/lodash.clonedeep': ^4.5.9 '@types/lodash.clonedeep': ^4.5.9
'@types/lodash.get': ^4.4.9 '@types/node': ^22.9.3
'@types/node': ^22.9.0
'@types/nprogress': ^0.2.3 '@types/nprogress': ^0.2.3
'@types/postcss-import': ^14.0.3 '@types/postcss-import': ^14.0.3
'@types/qrcode': ^1.5.5 '@types/qrcode': ^1.5.5
'@types/sortablejs': ^1.15.8 '@types/sortablejs': ^1.15.8
'@typescript-eslint/eslint-plugin': ^8.14.0 '@typescript-eslint/eslint-plugin': ^8.15.0
'@typescript-eslint/parser': ^8.14.0 '@typescript-eslint/parser': ^8.15.0
'@vee-validate/zod': ^4.14.7 '@vee-validate/zod': ^4.14.7
'@vite-pwa/vitepress': ^0.5.3 '@vite-pwa/vitepress': ^0.5.3
'@vitejs/plugin-vue': ^5.2.0 '@vitejs/plugin-vue': ^5.2.0
@ -58,8 +57,8 @@ catalog:
'@vue/reactivity': ^3.5.13 '@vue/reactivity': ^3.5.13
'@vue/shared': ^3.5.13 '@vue/shared': ^3.5.13
'@vue/test-utils': ^2.4.6 '@vue/test-utils': ^2.4.6
'@vueuse/core': ^11.2.0 '@vueuse/core': ^11.3.0
'@vueuse/integrations': ^11.2.0 '@vueuse/integrations': ^11.3.0
ant-design-vue: ^4.2.6 ant-design-vue: ^4.2.6
archiver: ^7.0.1 archiver: ^7.0.1
autoprefixer: ^10.4.20 autoprefixer: ^10.4.20
@ -85,18 +84,18 @@ catalog:
echarts: ^5.5.1 echarts: ^5.5.1
element-plus: ^2.8.8 element-plus: ^2.8.8
eslint: ^9.15.0 eslint: ^9.15.0
eslint-config-turbo: ^2.3.0 eslint-config-turbo: ^2.3.1
eslint-plugin-command: ^0.2.6 eslint-plugin-command: ^0.2.6
eslint-plugin-eslint-comments: ^3.2.0 eslint-plugin-eslint-comments: ^3.2.0
eslint-plugin-import-x: ^4.4.2 eslint-plugin-import-x: ^4.4.3
eslint-plugin-jsdoc: ^50.5.0 eslint-plugin-jsdoc: ^50.5.0
eslint-plugin-jsonc: ^2.18.1 eslint-plugin-jsonc: ^2.18.2
eslint-plugin-n: ^17.13.2 eslint-plugin-n: ^17.14.0
eslint-plugin-no-only-tests: ^3.3.0 eslint-plugin-no-only-tests: ^3.3.0
eslint-plugin-perfectionist: ^3.9.1 eslint-plugin-perfectionist: ^3.9.1
eslint-plugin-prettier: ^5.2.1 eslint-plugin-prettier: ^5.2.1
eslint-plugin-regexp: ^2.7.0 eslint-plugin-regexp: ^2.7.0
eslint-plugin-unicorn: ^56.0.0 eslint-plugin-unicorn: ^56.0.1
eslint-plugin-unused-imports: ^4.1.4 eslint-plugin-unused-imports: ^4.1.4
eslint-plugin-vitest: ^0.5.4 eslint-plugin-vitest: ^0.5.4
eslint-plugin-vue: ^9.31.0 eslint-plugin-vue: ^9.31.0
@ -107,13 +106,12 @@ catalog:
h3: ^1.13.0 h3: ^1.13.0
happy-dom: ^15.11.6 happy-dom: ^15.11.6
html-minifier-terser: ^7.2.0 html-minifier-terser: ^7.2.0
husky: ^9.1.6 husky: ^9.1.7
is-ci: ^3.0.1 is-ci: ^3.0.1
jsonc-eslint-parser: ^2.4.0 jsonc-eslint-parser: ^2.4.0
jsonwebtoken: ^9.0.2 jsonwebtoken: ^9.0.2
lint-staged: ^15.2.10 lint-staged: ^15.2.10
lodash.clonedeep: ^4.5.0 lodash.clonedeep: ^4.5.0
lodash.get: ^4.4.2
lucide-vue-next: ^0.460.0 lucide-vue-next: ^0.460.0
medium-zoom: ^1.1.0 medium-zoom: ^1.1.0
naive-ui: ^2.40.1 naive-ui: ^2.40.1
@ -123,24 +121,24 @@ catalog:
pinia: 2.2.2 pinia: 2.2.2
pinia-plugin-persistedstate: ^4.1.3 pinia-plugin-persistedstate: ^4.1.3
pkg-types: ^1.2.1 pkg-types: ^1.2.1
playwright: ^1.48.2 playwright: ^1.49.0
postcss: ^8.4.49 postcss: ^8.4.49
postcss-antd-fixes: ^0.2.0 postcss-antd-fixes: ^0.2.0
postcss-html: ^1.7.0 postcss-html: ^1.7.0
postcss-import: ^16.1.0 postcss-import: ^16.1.0
postcss-preset-env: ^10.1.0 postcss-preset-env: ^10.1.1
postcss-scss: ^4.0.9 postcss-scss: ^4.0.9
prettier: ^3.3.3 prettier: ^3.3.3
prettier-plugin-tailwindcss: ^0.6.8 prettier-plugin-tailwindcss: ^0.6.9
publint: ^0.2.12 publint: ^0.2.12
qrcode: ^1.5.4 qrcode: ^1.5.4
radix-vue: ^1.9.9 radix-vue: ^1.9.10
resolve.exports: ^2.0.2 resolve.exports: ^2.0.2
rimraf: ^6.0.1 rimraf: ^6.0.1
rollup: ^4.27.2 rollup: ^4.27.4
rollup-plugin-visualizer: ^5.12.0 rollup-plugin-visualizer: ^5.12.0
sass: 1.80.6 sass: 1.80.6
sortablejs: ^1.15.3 sortablejs: ^1.15.4
stylelint: ^16.10.0 stylelint: ^16.10.0
stylelint-config-recess-order: ^5.1.1 stylelint-config-recess-order: ^5.1.1
stylelint-config-recommended: ^14.0.1 stylelint-config-recommended: ^14.0.1
@ -149,13 +147,13 @@ catalog:
stylelint-config-standard: ^36.0.1 stylelint-config-standard: ^36.0.1
stylelint-order: ^6.0.4 stylelint-order: ^6.0.4
stylelint-prettier: ^5.0.2 stylelint-prettier: ^5.0.2
stylelint-scss: ^6.9.0 stylelint-scss: ^6.10.0
tailwind-merge: ^2.5.4 tailwind-merge: ^2.5.4
tailwindcss: ^3.4.15 tailwindcss: ^3.4.15
tailwindcss-animate: ^1.0.7 tailwindcss-animate: ^1.0.7
theme-colors: ^0.1.0 theme-colors: ^0.1.0
turbo: ^2.3.0 turbo: ^2.3.1
typescript: ^5.6.3 typescript: 5.6.3
unbuild: ^3.0.0-rc.11 unbuild: ^3.0.0-rc.11
unplugin-element-plus: ^0.8.0 unplugin-element-plus: ^0.8.0
vee-validate: ^4.14.7 vee-validate: ^4.14.7
@ -174,8 +172,8 @@ catalog:
vue-i18n: ^10.0.4 vue-i18n: ^10.0.4
vue-router: ^4.4.5 vue-router: ^4.4.5
vue-tsc: ^2.1.10 vue-tsc: ^2.1.10
vxe-pc-ui: ^4.2.55 vxe-pc-ui: ^4.3.4
vxe-table: ^4.8.14 vxe-table: ^4.9.5
watermark-js-plus: ^1.5.7 watermark-js-plus: ^1.5.7
zod: ^3.23.8 zod: ^3.23.8
zod-defaults: ^0.1.3 zod-defaults: ^0.1.3