diff --git a/docs/components.d.ts b/docs/components.d.ts index 47ae382385..eec99c558f 100644 --- a/docs/components.d.ts +++ b/docs/components.d.ts @@ -30,6 +30,7 @@ declare module '@vue/runtime-core' { Icons: typeof import('./.vitepress/vitepress/components/globals/icons.vue')['default'] IRiCodeLine: typeof import('~icons/ri/code-line')['default'] IRiExternalLinkLine: typeof import('~icons/ri/external-link-line')['default'] + IRiFileCopyLine: typeof import('~icons/ri/file-copy-line')['default'] IRiFlaskLine: typeof import('~icons/ri/flask-line')['default'] IRiGithubLine: typeof import('~icons/ri/github-line')['default'] IRiTranslate2: typeof import('~icons/ri/translate2')['default'] diff --git a/docs/en-US/component/date-picker.md b/docs/en-US/component/date-picker.md index cf4b022682..de20192cb1 100644 --- a/docs/en-US/component/date-picker.md +++ b/docs/en-US/component/date-picker.md @@ -158,7 +158,7 @@ Note, date time locale (month name, first day of the week ...) are also configur | placeholder | placeholder in non-range mode | ^[string] | '' | | start-placeholder | placeholder for the start date in range mode | ^[string] | — | | end-placeholder | placeholder for the end date in range mode | ^[string] | — | -| type | type of the picker | ^[enum]`'year' \| 'years' \|'month' \| 'date' \| 'dates' \| 'datetime' \| 'week' \| 'datetimerange' \| 'daterange' \| 'monthrange'` | date | +| type | type of the picker | ^[enum]`'year' \| 'years' \| 'month' \| 'months' \| 'date' \| 'dates' \| 'datetime' \| 'week' \| 'datetimerange' \| 'daterange' \| 'monthrange'` | date | | format | format of the displayed value in the input box | ^[string] see [date formats](/en-US/component/date-picker#date-formats) | YYYY-MM-DD | | popper-class | custom class name for DatePicker's dropdown | ^[string] | — | | popper-options | Customized popper option see more at [popper.js](https://popper.js.org/docs/v2/) | ^[object]`Partial` | {} | diff --git a/docs/examples/date-picker/other-measurements.vue b/docs/examples/date-picker/other-measurements.vue index 901c9a332b..5ab43f0770 100644 --- a/docs/examples/date-picker/other-measurements.vue +++ b/docs/examples/date-picker/other-measurements.vue @@ -11,11 +11,11 @@ />
- Month + Dates
@@ -29,11 +29,29 @@ />
- Dates + Years +
+ +
+
+ Month + +
+
+ Months +
@@ -46,6 +64,8 @@ const value1 = ref('') const value2 = ref('') const value3 = ref('') const value4 = ref('') +const value5 = ref('') +const value6 = ref('')