@mantine-vue/dates 2.4.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/cjs/index.cjs +4128 -1936
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +4094 -1902
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/AmPmInput/AmPmInput.types.d.ts +3 -0
  6. package/lib/components/AmPmInput/AmPmInput.vue.d.ts +12 -0
  7. package/lib/components/AmPmInput/index.d.ts +2 -0
  8. package/lib/components/Calendar/Calendar.types.d.ts +3 -0
  9. package/lib/components/Calendar/Calendar.vue.d.ts +33 -0
  10. package/lib/components/Calendar/index.d.ts +2 -0
  11. package/lib/components/CalendarHeader/CalendarHeader.types.d.ts +3 -0
  12. package/lib/components/CalendarHeader/CalendarHeader.vue.d.ts +14 -0
  13. package/lib/components/CalendarHeader/index.d.ts +2 -0
  14. package/lib/components/DateInput/DateInput.types.d.ts +3 -0
  15. package/lib/components/DateInput/DateInput.vue.d.ts +10 -0
  16. package/lib/components/DateInput/index.d.ts +2 -0
  17. package/lib/components/DatePicker/DatePicker.types.d.ts +3 -0
  18. package/lib/components/DatePicker/DatePicker.vue.d.ts +17 -0
  19. package/lib/components/DatePicker/index.d.ts +2 -0
  20. package/lib/components/DatePickerInput/DatePickerInput.types.d.ts +3 -0
  21. package/lib/components/DatePickerInput/DatePickerInput.vue.d.ts +14 -0
  22. package/lib/components/DatePickerInput/index.d.ts +2 -0
  23. package/lib/components/DateTimePicker/DateTimePicker.types.d.ts +3 -0
  24. package/lib/components/DateTimePicker/DateTimePicker.vue.d.ts +10 -0
  25. package/lib/components/DateTimePicker/index.d.ts +2 -0
  26. package/lib/components/DatesProvider/DatesProvider.context.d.ts +6 -0
  27. package/lib/components/DatesProvider/DatesProvider.types.d.ts +3 -0
  28. package/lib/components/DatesProvider/DatesProvider.vue.d.ts +14 -0
  29. package/lib/components/DatesProvider/index.d.ts +3 -0
  30. package/lib/components/Day/Day.types.d.ts +3 -0
  31. package/lib/components/Day/Day.vue.d.ts +11 -0
  32. package/lib/components/Day/index.d.ts +2 -0
  33. package/lib/components/DecadeLevel/DecadeLevel.types.d.ts +3 -0
  34. package/lib/components/DecadeLevel/DecadeLevel.vue.d.ts +24 -0
  35. package/lib/components/DecadeLevel/index.d.ts +2 -0
  36. package/lib/components/DecadeLevelGroup/DecadeLevelGroup.types.d.ts +3 -0
  37. package/lib/components/DecadeLevelGroup/DecadeLevelGroup.vue.d.ts +24 -0
  38. package/lib/components/DecadeLevelGroup/index.d.ts +2 -0
  39. package/lib/components/HiddenDatesInput/HiddenDatesInput.types.d.ts +3 -0
  40. package/lib/components/HiddenDatesInput/HiddenDatesInput.vue.d.ts +4 -0
  41. package/lib/components/HiddenDatesInput/index.d.ts +2 -0
  42. package/lib/components/InlineDateTimePicker/InlineDateTimePicker.types.d.ts +3 -0
  43. package/lib/components/InlineDateTimePicker/InlineDateTimePicker.vue.d.ts +12 -0
  44. package/lib/components/InlineDateTimePicker/index.d.ts +2 -0
  45. package/lib/components/LevelsGroup/LevelsGroup.types.d.ts +3 -0
  46. package/lib/components/LevelsGroup/LevelsGroup.vue.d.ts +24 -0
  47. package/lib/components/LevelsGroup/index.d.ts +2 -0
  48. package/lib/components/MiniCalendar/MiniCalendar.types.d.ts +3 -0
  49. package/lib/components/MiniCalendar/MiniCalendar.vue.d.ts +18 -0
  50. package/lib/components/MiniCalendar/index.d.ts +2 -0
  51. package/lib/components/Month/Month.types.d.ts +3 -0
  52. package/lib/components/Month/Month.vue.d.ts +17 -0
  53. package/lib/components/Month/index.d.ts +2 -0
  54. package/lib/components/MonthLevel/MonthLevel.types.d.ts +3 -0
  55. package/lib/components/MonthLevel/MonthLevel.vue.d.ts +24 -0
  56. package/lib/components/MonthLevel/index.d.ts +2 -0
  57. package/lib/components/MonthLevelGroup/MonthLevelGroup.types.d.ts +3 -0
  58. package/lib/components/MonthLevelGroup/MonthLevelGroup.vue.d.ts +24 -0
  59. package/lib/components/MonthLevelGroup/index.d.ts +2 -0
  60. package/lib/components/MonthPicker/MonthPicker.types.d.ts +3 -0
  61. package/lib/components/MonthPicker/MonthPicker.vue.d.ts +10 -0
  62. package/lib/components/MonthPicker/index.d.ts +2 -0
  63. package/lib/components/MonthPickerInput/MonthPickerInput.types.d.ts +6 -0
  64. package/lib/components/MonthPickerInput/MonthPickerInput.vue.d.ts +14 -0
  65. package/lib/components/MonthPickerInput/index.d.ts +2 -0
  66. package/lib/components/MonthsList/MonthsList.types.d.ts +3 -0
  67. package/lib/components/MonthsList/MonthsList.vue.d.ts +10 -0
  68. package/lib/components/MonthsList/index.d.ts +2 -0
  69. package/lib/components/PickerControl/PickerControl.types.d.ts +3 -0
  70. package/lib/components/PickerControl/PickerControl.vue.d.ts +14 -0
  71. package/lib/components/PickerControl/index.d.ts +2 -0
  72. package/lib/components/PickerInputBase/PickerInputBase.types.d.ts +3 -0
  73. package/lib/components/PickerInputBase/PickerInputBase.vue.d.ts +21 -0
  74. package/lib/components/PickerInputBase/index.d.ts +2 -0
  75. package/lib/components/SpinInput/SpinInput.types.d.ts +3 -0
  76. package/lib/components/SpinInput/SpinInput.vue.d.ts +16 -0
  77. package/lib/components/SpinInput/index.d.ts +2 -0
  78. package/lib/components/TimeControlsList/TimeControlsList.types.d.ts +3 -0
  79. package/lib/components/TimeControlsList/TimeControlsList.vue.d.ts +8 -0
  80. package/lib/components/TimeControlsList/index.d.ts +2 -0
  81. package/lib/components/TimeGrid/TimeGrid.types.d.ts +3 -0
  82. package/lib/components/TimeGrid/TimeGrid.vue.d.ts +10 -0
  83. package/lib/components/TimeGrid/index.d.ts +2 -0
  84. package/lib/components/TimeInput/TimeInput.types.d.ts +3 -0
  85. package/lib/components/TimeInput/TimeInput.vue.d.ts +10 -0
  86. package/lib/components/TimeInput/index.d.ts +2 -0
  87. package/lib/components/TimePicker/TimePicker.types.d.ts +3 -0
  88. package/lib/components/TimePicker/TimePicker.vue.d.ts +10 -0
  89. package/lib/components/TimePicker/index.d.ts +2 -0
  90. package/lib/components/TimeValue/TimeValue.types.d.ts +3 -0
  91. package/lib/components/TimeValue/TimeValue.vue.d.ts +4 -0
  92. package/lib/components/TimeValue/index.d.ts +2 -0
  93. package/lib/components/WeekdaysRow/WeekdaysRow.types.d.ts +3 -0
  94. package/lib/components/WeekdaysRow/WeekdaysRow.vue.d.ts +4 -0
  95. package/lib/components/WeekdaysRow/index.d.ts +2 -0
  96. package/lib/components/YearLevel/YearLevel.types.d.ts +3 -0
  97. package/lib/components/YearLevel/YearLevel.vue.d.ts +24 -0
  98. package/lib/components/YearLevel/index.d.ts +2 -0
  99. package/lib/components/YearLevelGroup/YearLevelGroup.types.d.ts +3 -0
  100. package/lib/components/YearLevelGroup/YearLevelGroup.vue.d.ts +24 -0
  101. package/lib/components/YearLevelGroup/index.d.ts +2 -0
  102. package/lib/components/YearPicker/YearPicker.types.d.ts +3 -0
  103. package/lib/components/YearPicker/YearPicker.vue.d.ts +10 -0
  104. package/lib/components/YearPicker/index.d.ts +2 -0
  105. package/lib/components/YearPickerInput/YearPickerInput.types.d.ts +6 -0
  106. package/lib/components/YearPickerInput/YearPickerInput.vue.d.ts +14 -0
  107. package/lib/components/YearPickerInput/index.d.ts +2 -0
  108. package/lib/components/YearsList/YearsList.types.d.ts +3 -0
  109. package/lib/components/YearsList/YearsList.vue.d.ts +10 -0
  110. package/lib/components/YearsList/index.d.ts +2 -0
  111. package/lib/index.d.mts +47 -2780
  112. package/lib/index.d.ts +47 -2780
  113. package/lib/types.d.ts +646 -0
  114. package/lib/utils/index.d.ts +91 -0
  115. package/lib/utils/use-forwarded-props.d.ts +7 -0
  116. package/package.json +3 -3
@@ -0,0 +1,2 @@
1
+ export { default as PickerControl } from './PickerControl.vue';
2
+ export type { PickerControlProps } from './PickerControl.types';
@@ -0,0 +1,3 @@
1
+ import type { PickerInputBaseProps as BaseProps } from '../../types';
2
+ /** Props accepted by PickerInputBase. */
3
+ export type PickerInputBaseProps = BaseProps;
@@ -0,0 +1,21 @@
1
+ import type { PickerInputBaseProps, PickerInputBaseSlots } from '../../types';
2
+ type __VLS_Slots = PickerInputBaseSlots;
3
+ declare const __VLS_base: import("vue").DefineComponent<PickerInputBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ clear: () => any;
5
+ click: (event: MouseEvent) => any;
6
+ "dropdown-open": () => any;
7
+ "dropdown-close": () => any;
8
+ }, string, import("vue").PublicProps, Readonly<PickerInputBaseProps> & Readonly<{
9
+ onClear?: (() => any) | undefined;
10
+ onClick?: ((event: MouseEvent) => any) | undefined;
11
+ "onDropdown-open"?: (() => any) | undefined;
12
+ "onDropdown-close"?: (() => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ export { default as PickerInputBase } from './PickerInputBase.vue';
2
+ export type { PickerInputBaseProps } from './PickerInputBase.types';
@@ -0,0 +1,3 @@
1
+ import type { SpinInputProps as BaseProps } from '../../types';
2
+ /** Props accepted by SpinInput. */
3
+ export type SpinInputProps = BaseProps;
@@ -0,0 +1,16 @@
1
+ import type { SpinInputProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<SpinInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: number | null) => any;
4
+ paste: (event: ClipboardEvent) => any;
5
+ "update:modelValue": (value: number | null) => any;
6
+ "next-input": () => any;
7
+ "previous-input": () => any;
8
+ }, string, import("vue").PublicProps, Readonly<SpinInputProps> & Readonly<{
9
+ onChange?: ((value: number | null) => any) | undefined;
10
+ onPaste?: ((event: ClipboardEvent) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
12
+ "onNext-input"?: (() => any) | undefined;
13
+ "onPrevious-input"?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as SpinInput } from './SpinInput.vue';
2
+ export type { SpinInputProps } from './SpinInput.types';
@@ -0,0 +1,3 @@
1
+ import type { TimeControlsListProps as BaseProps } from '../../types';
2
+ /** Props accepted by TimeControlsList. */
3
+ export type TimeControlsListProps = BaseProps;
@@ -0,0 +1,8 @@
1
+ import type { TimeControlsListProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<TimeControlsListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ select: (value: number) => any;
4
+ }, string, import("vue").PublicProps, Readonly<TimeControlsListProps> & Readonly<{
5
+ onSelect?: ((value: number) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as TimeControlsList } from './TimeControlsList.vue';
2
+ export type { TimeControlsListProps } from './TimeControlsList.types';
@@ -0,0 +1,3 @@
1
+ import type { TimeGridProps as BaseProps } from '../../types';
2
+ /** Props accepted by TimeGrid. */
3
+ export type TimeGridProps = BaseProps;
@@ -0,0 +1,10 @@
1
+ import type { TimeGridProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<TimeGridProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: string | null) => any;
4
+ "update:modelValue": (value: string | null) => any;
5
+ }, string, import("vue").PublicProps, Readonly<TimeGridProps> & Readonly<{
6
+ onChange?: ((value: string | null) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as TimeGrid } from './TimeGrid.vue';
2
+ export type { TimeGridProps } from './TimeGrid.types';
@@ -0,0 +1,3 @@
1
+ import type { TimeInputProps as BaseProps } from '../../types';
2
+ /** Props accepted by TimeInput. */
3
+ export type TimeInputProps = BaseProps;
@@ -0,0 +1,10 @@
1
+ import type { TimeInputProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<TimeInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: string) => any;
4
+ "update:modelValue": (value: string) => any;
5
+ }, string, import("vue").PublicProps, Readonly<TimeInputProps> & Readonly<{
6
+ onChange?: ((value: string) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as TimeInput } from './TimeInput.vue';
2
+ export type { TimeInputProps } from './TimeInput.types';
@@ -0,0 +1,3 @@
1
+ import type { TimePickerProps as BaseProps } from '../../types';
2
+ /** Props accepted by TimePicker. */
3
+ export type TimePickerProps = BaseProps;
@@ -0,0 +1,10 @@
1
+ import type { TimePickerProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<TimePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: string) => any;
4
+ "update:modelValue": (value: string) => any;
5
+ }, string, import("vue").PublicProps, Readonly<TimePickerProps> & Readonly<{
6
+ onChange?: ((value: string) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as TimePicker } from './TimePicker.vue';
2
+ export type { TimePickerProps } from './TimePicker.types';
@@ -0,0 +1,3 @@
1
+ import type { TimeValueProps as BaseProps } from '../../types';
2
+ /** Props accepted by TimeValue. */
3
+ export type TimeValueProps = BaseProps;
@@ -0,0 +1,4 @@
1
+ import type { TimeValueProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<TimeValueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimeValueProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as TimeValue } from './TimeValue.vue';
2
+ export type { TimeValueProps } from './TimeValue.types';
@@ -0,0 +1,3 @@
1
+ import type { WeekdaysRowProps as BaseProps } from '../../types';
2
+ /** Props accepted by WeekdaysRow. */
3
+ export type WeekdaysRowProps = BaseProps;
@@ -0,0 +1,4 @@
1
+ import type { WeekdaysRowProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<WeekdaysRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WeekdaysRowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as WeekdaysRow } from './WeekdaysRow.vue';
2
+ export type { WeekdaysRowProps } from './WeekdaysRow.types';
@@ -0,0 +1,3 @@
1
+ import type { CalendarProps as BaseProps } from '../../types';
2
+ /** Props accepted by YearLevel. */
3
+ export type YearLevelProps = BaseProps;
@@ -0,0 +1,24 @@
1
+ import type { CalendarProps } from '../../types';
2
+ declare var __VLS_15: string, __VLS_16: any;
3
+ type __VLS_Slots = {} & {
4
+ [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<CalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "date-change": (value: any) => any;
8
+ "update:level": (value: any) => any;
9
+ "level-change": (value: any) => any;
10
+ "update:date": (value: any) => any;
11
+ }, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
12
+ "onDate-change"?: ((value: any) => any) | undefined;
13
+ "onUpdate:level"?: ((value: any) => any) | undefined;
14
+ "onLevel-change"?: ((value: any) => any) | undefined;
15
+ "onUpdate:date"?: ((value: any) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ export { default as YearLevel } from './YearLevel.vue';
2
+ export type { YearLevelProps } from './YearLevel.types';
@@ -0,0 +1,3 @@
1
+ import type { CalendarProps as BaseProps } from '../../types';
2
+ /** Props accepted by YearLevelGroup. */
3
+ export type YearLevelGroupProps = BaseProps;
@@ -0,0 +1,24 @@
1
+ import type { CalendarProps } from '../../types';
2
+ declare var __VLS_15: string, __VLS_16: any;
3
+ type __VLS_Slots = {} & {
4
+ [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<CalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "date-change": (value: any) => any;
8
+ "update:level": (value: any) => any;
9
+ "level-change": (value: any) => any;
10
+ "update:date": (value: any) => any;
11
+ }, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
12
+ "onDate-change"?: ((value: any) => any) | undefined;
13
+ "onUpdate:level"?: ((value: any) => any) | undefined;
14
+ "onLevel-change"?: ((value: any) => any) | undefined;
15
+ "onUpdate:date"?: ((value: any) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ export { default as YearLevelGroup } from './YearLevelGroup.vue';
2
+ export type { YearLevelGroupProps } from './YearLevelGroup.types';
@@ -0,0 +1,3 @@
1
+ import type { YearPickerProps as BaseProps } from '../../types';
2
+ /** Props accepted by YearPicker. */
3
+ export type YearPickerProps = BaseProps;
@@ -0,0 +1,10 @@
1
+ import type { DatePickerValueType } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<import("../../types").DatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: DatePickerValueType) => any;
4
+ "update:modelValue": (value: DatePickerValueType) => any;
5
+ }, string, import("vue").PublicProps, Readonly<import("../../types").DatePickerProps> & Readonly<{
6
+ onChange?: ((value: DatePickerValueType) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((value: DatePickerValueType) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as YearPicker } from './YearPicker.vue';
2
+ export type { YearPickerProps } from './YearPicker.types';
@@ -0,0 +1,6 @@
1
+ import type { DatePickerInputProps as BaseProps } from '../../types';
2
+ /** Props accepted by YearPickerInput. */
3
+ export interface YearPickerInputProps extends Omit<BaseProps, 'valueFormat'> {
4
+ /** `dayjs` format to display input value @default 'YYYY' */
5
+ valueFormat?: string;
6
+ }
@@ -0,0 +1,14 @@
1
+ import type { DatePickerInputProps, DatePickerValueType } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<DatePickerInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ change: (value: DatePickerValueType) => any;
4
+ "update:modelValue": (value: DatePickerValueType) => any;
5
+ "dropdown-open": () => any;
6
+ "dropdown-close": () => any;
7
+ }, string, import("vue").PublicProps, Readonly<DatePickerInputProps> & Readonly<{
8
+ onChange?: ((value: DatePickerValueType) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: DatePickerValueType) => any) | undefined;
10
+ "onDropdown-open"?: (() => any) | undefined;
11
+ "onDropdown-close"?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as YearPickerInput } from './YearPickerInput.vue';
2
+ export type { YearPickerInputProps } from './YearPickerInput.types';
@@ -0,0 +1,3 @@
1
+ import type { YearsListProps as BaseProps } from '../../types';
2
+ /** Props accepted by YearsList. */
3
+ export type YearsListProps = BaseProps;
@@ -0,0 +1,10 @@
1
+ import type { YearsListProps } from '../../types';
2
+ declare const __VLS_export: import("vue").DefineComponent<YearsListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ "year-select": (date: string) => any;
4
+ "year-mouse-enter": (date: string) => any;
5
+ }, string, import("vue").PublicProps, Readonly<YearsListProps> & Readonly<{
6
+ "onYear-select"?: ((date: string) => any) | undefined;
7
+ "onYear-mouse-enter"?: ((date: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as YearsList } from './YearsList.vue';
2
+ export type { YearsListProps } from './YearsList.types';