@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.
- package/cjs/index.cjs +4128 -1936
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +4094 -1902
- package/esm/index.mjs.map +1 -1
- package/lib/components/AmPmInput/AmPmInput.types.d.ts +3 -0
- package/lib/components/AmPmInput/AmPmInput.vue.d.ts +12 -0
- package/lib/components/AmPmInput/index.d.ts +2 -0
- package/lib/components/Calendar/Calendar.types.d.ts +3 -0
- package/lib/components/Calendar/Calendar.vue.d.ts +33 -0
- package/lib/components/Calendar/index.d.ts +2 -0
- package/lib/components/CalendarHeader/CalendarHeader.types.d.ts +3 -0
- package/lib/components/CalendarHeader/CalendarHeader.vue.d.ts +14 -0
- package/lib/components/CalendarHeader/index.d.ts +2 -0
- package/lib/components/DateInput/DateInput.types.d.ts +3 -0
- package/lib/components/DateInput/DateInput.vue.d.ts +10 -0
- package/lib/components/DateInput/index.d.ts +2 -0
- package/lib/components/DatePicker/DatePicker.types.d.ts +3 -0
- package/lib/components/DatePicker/DatePicker.vue.d.ts +17 -0
- package/lib/components/DatePicker/index.d.ts +2 -0
- package/lib/components/DatePickerInput/DatePickerInput.types.d.ts +3 -0
- package/lib/components/DatePickerInput/DatePickerInput.vue.d.ts +14 -0
- package/lib/components/DatePickerInput/index.d.ts +2 -0
- package/lib/components/DateTimePicker/DateTimePicker.types.d.ts +3 -0
- package/lib/components/DateTimePicker/DateTimePicker.vue.d.ts +10 -0
- package/lib/components/DateTimePicker/index.d.ts +2 -0
- package/lib/components/DatesProvider/DatesProvider.context.d.ts +6 -0
- package/lib/components/DatesProvider/DatesProvider.types.d.ts +3 -0
- package/lib/components/DatesProvider/DatesProvider.vue.d.ts +14 -0
- package/lib/components/DatesProvider/index.d.ts +3 -0
- package/lib/components/Day/Day.types.d.ts +3 -0
- package/lib/components/Day/Day.vue.d.ts +11 -0
- package/lib/components/Day/index.d.ts +2 -0
- package/lib/components/DecadeLevel/DecadeLevel.types.d.ts +3 -0
- package/lib/components/DecadeLevel/DecadeLevel.vue.d.ts +24 -0
- package/lib/components/DecadeLevel/index.d.ts +2 -0
- package/lib/components/DecadeLevelGroup/DecadeLevelGroup.types.d.ts +3 -0
- package/lib/components/DecadeLevelGroup/DecadeLevelGroup.vue.d.ts +24 -0
- package/lib/components/DecadeLevelGroup/index.d.ts +2 -0
- package/lib/components/HiddenDatesInput/HiddenDatesInput.types.d.ts +3 -0
- package/lib/components/HiddenDatesInput/HiddenDatesInput.vue.d.ts +4 -0
- package/lib/components/HiddenDatesInput/index.d.ts +2 -0
- package/lib/components/InlineDateTimePicker/InlineDateTimePicker.types.d.ts +3 -0
- package/lib/components/InlineDateTimePicker/InlineDateTimePicker.vue.d.ts +12 -0
- package/lib/components/InlineDateTimePicker/index.d.ts +2 -0
- package/lib/components/LevelsGroup/LevelsGroup.types.d.ts +3 -0
- package/lib/components/LevelsGroup/LevelsGroup.vue.d.ts +24 -0
- package/lib/components/LevelsGroup/index.d.ts +2 -0
- package/lib/components/MiniCalendar/MiniCalendar.types.d.ts +3 -0
- package/lib/components/MiniCalendar/MiniCalendar.vue.d.ts +18 -0
- package/lib/components/MiniCalendar/index.d.ts +2 -0
- package/lib/components/Month/Month.types.d.ts +3 -0
- package/lib/components/Month/Month.vue.d.ts +17 -0
- package/lib/components/Month/index.d.ts +2 -0
- package/lib/components/MonthLevel/MonthLevel.types.d.ts +3 -0
- package/lib/components/MonthLevel/MonthLevel.vue.d.ts +24 -0
- package/lib/components/MonthLevel/index.d.ts +2 -0
- package/lib/components/MonthLevelGroup/MonthLevelGroup.types.d.ts +3 -0
- package/lib/components/MonthLevelGroup/MonthLevelGroup.vue.d.ts +24 -0
- package/lib/components/MonthLevelGroup/index.d.ts +2 -0
- package/lib/components/MonthPicker/MonthPicker.types.d.ts +3 -0
- package/lib/components/MonthPicker/MonthPicker.vue.d.ts +10 -0
- package/lib/components/MonthPicker/index.d.ts +2 -0
- package/lib/components/MonthPickerInput/MonthPickerInput.types.d.ts +6 -0
- package/lib/components/MonthPickerInput/MonthPickerInput.vue.d.ts +14 -0
- package/lib/components/MonthPickerInput/index.d.ts +2 -0
- package/lib/components/MonthsList/MonthsList.types.d.ts +3 -0
- package/lib/components/MonthsList/MonthsList.vue.d.ts +10 -0
- package/lib/components/MonthsList/index.d.ts +2 -0
- package/lib/components/PickerControl/PickerControl.types.d.ts +3 -0
- package/lib/components/PickerControl/PickerControl.vue.d.ts +14 -0
- package/lib/components/PickerControl/index.d.ts +2 -0
- package/lib/components/PickerInputBase/PickerInputBase.types.d.ts +3 -0
- package/lib/components/PickerInputBase/PickerInputBase.vue.d.ts +21 -0
- package/lib/components/PickerInputBase/index.d.ts +2 -0
- package/lib/components/SpinInput/SpinInput.types.d.ts +3 -0
- package/lib/components/SpinInput/SpinInput.vue.d.ts +16 -0
- package/lib/components/SpinInput/index.d.ts +2 -0
- package/lib/components/TimeControlsList/TimeControlsList.types.d.ts +3 -0
- package/lib/components/TimeControlsList/TimeControlsList.vue.d.ts +8 -0
- package/lib/components/TimeControlsList/index.d.ts +2 -0
- package/lib/components/TimeGrid/TimeGrid.types.d.ts +3 -0
- package/lib/components/TimeGrid/TimeGrid.vue.d.ts +10 -0
- package/lib/components/TimeGrid/index.d.ts +2 -0
- package/lib/components/TimeInput/TimeInput.types.d.ts +3 -0
- package/lib/components/TimeInput/TimeInput.vue.d.ts +10 -0
- package/lib/components/TimeInput/index.d.ts +2 -0
- package/lib/components/TimePicker/TimePicker.types.d.ts +3 -0
- package/lib/components/TimePicker/TimePicker.vue.d.ts +10 -0
- package/lib/components/TimePicker/index.d.ts +2 -0
- package/lib/components/TimeValue/TimeValue.types.d.ts +3 -0
- package/lib/components/TimeValue/TimeValue.vue.d.ts +4 -0
- package/lib/components/TimeValue/index.d.ts +2 -0
- package/lib/components/WeekdaysRow/WeekdaysRow.types.d.ts +3 -0
- package/lib/components/WeekdaysRow/WeekdaysRow.vue.d.ts +4 -0
- package/lib/components/WeekdaysRow/index.d.ts +2 -0
- package/lib/components/YearLevel/YearLevel.types.d.ts +3 -0
- package/lib/components/YearLevel/YearLevel.vue.d.ts +24 -0
- package/lib/components/YearLevel/index.d.ts +2 -0
- package/lib/components/YearLevelGroup/YearLevelGroup.types.d.ts +3 -0
- package/lib/components/YearLevelGroup/YearLevelGroup.vue.d.ts +24 -0
- package/lib/components/YearLevelGroup/index.d.ts +2 -0
- package/lib/components/YearPicker/YearPicker.types.d.ts +3 -0
- package/lib/components/YearPicker/YearPicker.vue.d.ts +10 -0
- package/lib/components/YearPicker/index.d.ts +2 -0
- package/lib/components/YearPickerInput/YearPickerInput.types.d.ts +6 -0
- package/lib/components/YearPickerInput/YearPickerInput.vue.d.ts +14 -0
- package/lib/components/YearPickerInput/index.d.ts +2 -0
- package/lib/components/YearsList/YearsList.types.d.ts +3 -0
- package/lib/components/YearsList/YearsList.vue.d.ts +10 -0
- package/lib/components/YearsList/index.d.ts +2 -0
- package/lib/index.d.mts +47 -2780
- package/lib/index.d.ts +47 -2780
- package/lib/types.d.ts +646 -0
- package/lib/utils/index.d.ts +91 -0
- package/lib/utils/use-forwarded-props.d.ts +7 -0
- package/package.json +3 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AmPmInputProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<AmPmInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: string | null) => any;
|
|
4
|
+
"update:modelValue": (value: string | null) => any;
|
|
5
|
+
"previous-input": () => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<AmPmInputProps> & Readonly<{
|
|
7
|
+
onChange?: ((value: string | null) => any) | undefined;
|
|
8
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
9
|
+
"onPrevious-input"?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CalendarLevel, CalendarProps, RenderDaySlots } from '../../types';
|
|
2
|
+
type __VLS_Slots = RenderDaySlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<CalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"date-change": (value: string) => any;
|
|
5
|
+
"day-click": (date: string) => any;
|
|
6
|
+
"day-mouse-enter": (date: string) => any;
|
|
7
|
+
"month-select": (date: string) => any;
|
|
8
|
+
"month-mouse-enter": (date: string) => any;
|
|
9
|
+
"year-select": (date: string) => any;
|
|
10
|
+
"year-mouse-enter": (date: string) => any;
|
|
11
|
+
"update:level": (value: CalendarLevel) => any;
|
|
12
|
+
"level-change": (value: CalendarLevel) => any;
|
|
13
|
+
"update:date": (value: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
15
|
+
"onDate-change"?: ((value: string) => any) | undefined;
|
|
16
|
+
"onDay-click"?: ((date: string) => any) | undefined;
|
|
17
|
+
"onDay-mouse-enter"?: ((date: string) => any) | undefined;
|
|
18
|
+
"onMonth-select"?: ((date: string) => any) | undefined;
|
|
19
|
+
"onMonth-mouse-enter"?: ((date: string) => any) | undefined;
|
|
20
|
+
"onYear-select"?: ((date: string) => any) | undefined;
|
|
21
|
+
"onYear-mouse-enter"?: ((date: string) => any) | undefined;
|
|
22
|
+
"onUpdate:level"?: ((value: CalendarLevel) => any) | undefined;
|
|
23
|
+
"onLevel-change"?: ((value: CalendarLevel) => any) | undefined;
|
|
24
|
+
"onUpdate:date"?: ((value: string) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CalendarHeaderProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CalendarHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
next: () => any;
|
|
4
|
+
previous: () => any;
|
|
5
|
+
"date-change": (date: string) => any;
|
|
6
|
+
"level-click": () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<CalendarHeaderProps> & Readonly<{
|
|
8
|
+
onNext?: (() => any) | undefined;
|
|
9
|
+
onPrevious?: (() => any) | undefined;
|
|
10
|
+
"onDate-change"?: ((date: string) => any) | undefined;
|
|
11
|
+
"onLevel-click"?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DateInputProps, DateValue } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<DateInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: DateValue) => any;
|
|
4
|
+
"update:modelValue": (value: DateValue) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<DateInputProps> & Readonly<{
|
|
6
|
+
onChange?: ((value: DateValue) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DatePickerProps, DatePickerValueType, RenderDaySlots } from '../../types';
|
|
2
|
+
type __VLS_Slots = RenderDaySlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<DatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (value: DatePickerValueType) => any;
|
|
5
|
+
"update:modelValue": (value: DatePickerValueType) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
7
|
+
onChange?: ((value: DatePickerValueType) => any) | undefined;
|
|
8
|
+
"onUpdate:modelValue"?: ((value: DatePickerValueType) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
import type { DateTimePickerProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<DateTimePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: Date | null) => any;
|
|
4
|
+
"update:modelValue": (value: Date | null) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<DateTimePickerProps> & Readonly<{
|
|
6
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type InjectionKey } from 'vue';
|
|
2
|
+
import type { DatesProviderSettings } from '../../types';
|
|
3
|
+
export declare const DATES_PROVIDER_DEFAULT_SETTINGS: Required<DatesProviderSettings>;
|
|
4
|
+
export declare const DatesContextKey: InjectionKey<Required<DatesProviderSettings>>;
|
|
5
|
+
/** Returns the nearest reactive dates provider settings. */
|
|
6
|
+
export declare function useDatesContext(): Required<DatesProviderSettings>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DatesProviderProps } from '../../types';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<DatesProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DatesProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DayProps, RenderDaySlots } from '../../types';
|
|
2
|
+
type __VLS_Slots = RenderDaySlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<DayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DayProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -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,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,4 @@
|
|
|
1
|
+
import type { HiddenDatesInputProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<HiddenDatesInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HiddenDatesInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DateTimePickerProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<DateTimePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: Date | null) => any;
|
|
4
|
+
submit: () => any;
|
|
5
|
+
"update:modelValue": (value: Date | null) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<DateTimePickerProps> & Readonly<{
|
|
7
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
8
|
+
onSubmit?: (() => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -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,18 @@
|
|
|
1
|
+
import type { DateValue, MiniCalendarProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<MiniCalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: DateValue) => any;
|
|
4
|
+
next: () => any;
|
|
5
|
+
previous: () => any;
|
|
6
|
+
"update:modelValue": (value: DateValue) => any;
|
|
7
|
+
"date-change": (value: string) => any;
|
|
8
|
+
"update:date": (value: string) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<MiniCalendarProps> & Readonly<{
|
|
10
|
+
onChange?: ((value: DateValue) => any) | undefined;
|
|
11
|
+
onNext?: (() => any) | undefined;
|
|
12
|
+
onPrevious?: (() => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
|
|
14
|
+
"onDate-change"?: ((value: string) => any) | undefined;
|
|
15
|
+
"onUpdate:date"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { MonthProps, RenderDaySlots } from '../../types';
|
|
2
|
+
type __VLS_Slots = RenderDaySlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<MonthProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"day-click": (date: string) => any;
|
|
5
|
+
"day-mouse-enter": (date: string) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<MonthProps> & Readonly<{
|
|
7
|
+
"onDay-click"?: ((date: string) => any) | undefined;
|
|
8
|
+
"onDay-mouse-enter"?: ((date: string) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -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,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,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,6 @@
|
|
|
1
|
+
import type { DatePickerInputProps as BaseProps } from '../../types';
|
|
2
|
+
/** Props accepted by MonthPickerInput. */
|
|
3
|
+
export interface MonthPickerInputProps extends Omit<BaseProps, 'valueFormat'> {
|
|
4
|
+
/** `dayjs` format for input value @default 'MMMM 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,10 @@
|
|
|
1
|
+
import type { MonthsListProps } from '../../types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<MonthsListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"month-select": (date: string) => any;
|
|
4
|
+
"month-mouse-enter": (date: string) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<MonthsListProps> & Readonly<{
|
|
6
|
+
"onMonth-select"?: ((date: string) => any) | undefined;
|
|
7
|
+
"onMonth-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,14 @@
|
|
|
1
|
+
import type { PickerControlProps } from '../../types';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PickerControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PickerControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|