maz-ui 4.1.7 → 4.1.8-beta.1
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/dist/assets/MazBackdrop.CO7YPR-g.css +1 -0
- package/dist/assets/{MazDropzone.B5e-z_Ba.css → MazDropzone.Ch5EPpDi.css} +1 -1
- package/dist/components/MazBackdrop.js +2 -2
- package/dist/components/MazDropzone.js +23 -29
- package/dist/types/components/MazDropzone.vue.d.ts +0 -5
- package/package.json +9 -9
- package/dist/assets/MazBackdrop.09bziTPM.css +0 -1
- package/dist/components/MazAccordion.vue.d.ts +0 -36
- package/dist/components/MazAnimatedCounter.vue.d.ts +0 -59
- package/dist/components/MazAnimatedElement.vue.d.ts +0 -44
- package/dist/components/MazAnimatedText.vue.d.ts +0 -57
- package/dist/components/MazAvatar.vue.d.ts +0 -99
- package/dist/components/MazBackdrop.vue.d.ts +0 -91
- package/dist/components/MazBadge.vue.d.ts +0 -61
- package/dist/components/MazBottomSheet.vue.d.ts +0 -35
- package/dist/components/MazBtn.vue.d.ts +0 -105
- package/dist/components/MazCard.vue.d.ts +0 -81
- package/dist/components/MazCardSpotlight.vue.d.ts +0 -57
- package/dist/components/MazCarousel.vue.d.ts +0 -48
- package/dist/components/MazChart.vue.d.ts +0 -53
- package/dist/components/MazCheckbox.vue.d.ts +0 -55
- package/dist/components/MazChecklist.vue.d.ts +0 -87
- package/dist/components/MazCircularProgressBar.vue.d.ts +0 -106
- package/dist/components/MazDatePicker/MazPickerCalendar.vue.d.ts +0 -28
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -20
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -133
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -142
- package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.vue.d.ts +0 -42
- package/dist/components/MazDatePicker/MazPickerContainer.vue.d.ts +0 -38
- package/dist/components/MazDatePicker/MazPickerHeader.vue.d.ts +0 -15
- package/dist/components/MazDatePicker/MazPickerMonthSwitcher.vue.d.ts +0 -44
- package/dist/components/MazDatePicker/MazPickerShortcuts.vue.d.ts +0 -16
- package/dist/components/MazDatePicker/MazPickerTime.vue.d.ts +0 -107
- package/dist/components/MazDatePicker/MazPickerYearSwitcher.vue.d.ts +0 -36
- package/dist/components/MazDatePicker/types.d.ts +0 -14
- package/dist/components/MazDatePicker/utils.d.ts +0 -61
- package/dist/components/MazDatePicker.vue.d.ts +0 -567
- package/dist/components/MazDialog.vue.d.ts +0 -247
- package/dist/components/MazDialogConfirm/useMazDialogConfirm.d.ts +0 -47
- package/dist/components/MazDialogConfirm.vue.d.ts +0 -270
- package/dist/components/MazDrawer.vue.d.ts +0 -52
- package/dist/components/MazDropdown.vue.d.ts +0 -246
- package/dist/components/MazDropzone.vue.d.ts +0 -299
- package/dist/components/MazExpandAnimation.vue.d.ts +0 -44
- package/dist/components/MazFullscreenLoader.vue.d.ts +0 -26
- package/dist/components/MazGallery.vue.d.ts +0 -85
- package/dist/components/MazIcon.vue.d.ts +0 -33
- package/dist/components/MazInput.vue.d.ts +0 -225
- package/dist/components/MazInputCode.vue.d.ts +0 -49
- package/dist/components/MazInputNumber.vue.d.ts +0 -125
- package/dist/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +0 -29
- package/dist/components/MazInputPhoneNumber/useLibphonenumber.d.ts +0 -26
- package/dist/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +0 -26
- package/dist/components/MazInputPhoneNumber.vue.d.ts +0 -421
- package/dist/components/MazInputPrice.vue.d.ts +0 -48
- package/dist/components/MazInputTags.vue.d.ts +0 -51
- package/dist/components/MazLazyImg.vue.d.ts +0 -78
- package/dist/components/MazLink.vue.d.ts +0 -116
- package/dist/components/MazLoadingBar.vue.d.ts +0 -12
- package/dist/components/MazPagination.vue.d.ts +0 -83
- package/dist/components/MazPopover.vue.d.ts +0 -258
- package/dist/components/MazPullToRefresh.vue.d.ts +0 -52
- package/dist/components/MazRadio.vue.d.ts +0 -55
- package/dist/components/MazRadioButtons.vue.d.ts +0 -74
- package/dist/components/MazReadingProgressBar.vue.d.ts +0 -55
- package/dist/components/MazSelect.vue.d.ts +0 -209
- package/dist/components/MazSelectCountry.vue.d.ts +0 -171
- package/dist/components/MazSlider/utils.d.ts +0 -15
- package/dist/components/MazSlider.vue.d.ts +0 -31
- package/dist/components/MazSpinner.vue.d.ts +0 -15
- package/dist/components/MazStepper.vue.d.ts +0 -60
- package/dist/components/MazSwitch.vue.d.ts +0 -69
- package/dist/components/MazTable.vue.d.ts +0 -324
- package/dist/components/MazTableCell.vue.d.ts +0 -17
- package/dist/components/MazTableRow.vue.d.ts +0 -23
- package/dist/components/MazTableTitle.vue.d.ts +0 -17
- package/dist/components/MazTabs.vue.d.ts +0 -30
- package/dist/components/MazTabsBar.vue.d.ts +0 -96
- package/dist/components/MazTabsContent.vue.d.ts +0 -17
- package/dist/components/MazTabsContentItem.vue.d.ts +0 -31
- package/dist/components/MazTextarea.vue.d.ts +0 -88
- package/dist/components/constantes.d.ts +0 -2
- package/dist/components/index.d.ts +0 -109
- package/dist/components/types.d.ts +0 -4
- package/dist/composables/index.d.ts +0 -22
- package/dist/composables/useAos.d.ts +0 -2
- package/dist/composables/useBreakpoints.d.ts +0 -38
- package/dist/composables/useDialog.d.ts +0 -2
- package/dist/composables/useDisplayNames.d.ts +0 -101
- package/dist/composables/useDropzone.d.ts +0 -27
- package/dist/composables/useFormField.d.ts +0 -16
- package/dist/composables/useFormValidator/config.d.ts +0 -7
- package/dist/composables/useFormValidator/dom-events.d.ts +0 -19
- package/dist/composables/useFormValidator/state-management.d.ts +0 -72
- package/dist/composables/useFormValidator/types.d.ts +0 -98
- package/dist/composables/useFormValidator/validation.d.ts +0 -37
- package/dist/composables/useFormValidator.d.ts +0 -23
- package/dist/composables/useFreezeValue.d.ts +0 -5
- package/dist/composables/useIdleTimeout.d.ts +0 -5
- package/dist/composables/useInjectStrict.d.ts +0 -2
- package/dist/composables/useInstanceUniqId.d.ts +0 -4
- package/dist/composables/useMountComponent.d.ts +0 -14
- package/dist/composables/useMutationObserver.d.ts +0 -13
- package/dist/composables/useReadingTime.d.ts +0 -25
- package/dist/composables/useStringMatching.d.ts +0 -5
- package/dist/composables/useSwipe.d.ts +0 -14
- package/dist/composables/useTimer.d.ts +0 -30
- package/dist/composables/useToast.d.ts +0 -22
- package/dist/composables/useUserVisibility.d.ts +0 -5
- package/dist/composables/useWait.d.ts +0 -2
- package/dist/composables/useWindowSize.d.ts +0 -32
- package/dist/directives/index.d.ts +0 -5
- package/dist/directives/vClickOutside.d.ts +0 -36
- package/dist/directives/vFullscreenImg/MazFullscreenImg.vue.d.ts +0 -50
- package/dist/directives/vFullscreenImg/fullscreen-img.directive.d.ts +0 -5
- package/dist/directives/vFullscreenImg/fullscreen-img.handler.d.ts +0 -36
- package/dist/directives/vFullscreenImg.d.ts +0 -11
- package/dist/directives/vLazyImg/lazy-img.directive.d.ts +0 -5
- package/dist/directives/vLazyImg/lazy-img.handler.d.ts +0 -38
- package/dist/directives/vLazyImg/types.d.ts +0 -29
- package/dist/directives/vLazyImg.d.ts +0 -12
- package/dist/directives/vTooltip.d.ts +0 -54
- package/dist/directives/vZoomImg/style.d.ts +0 -1
- package/dist/directives/vZoomImg/svgs.d.ts +0 -3
- package/dist/directives/vZoomImg/zoom-img.directive.d.ts +0 -8
- package/dist/directives/vZoomImg/zoom-img.handler.d.ts +0 -46
- package/dist/directives/vZoomImg.d.ts +0 -10
- package/dist/index.d.ts +0 -1
- package/dist/plugins/aos.d.ts +0 -81
- package/dist/plugins/dialog/DialogHandler.d.ts +0 -16
- package/dist/plugins/dialog.d.ts +0 -26
- package/dist/plugins/index.d.ts +0 -5
- package/dist/plugins/maz-ui.d.ts +0 -43
- package/dist/plugins/toast/MazToast.vue.d.ts +0 -34
- package/dist/plugins/toast/ToastHandler.d.ts +0 -29
- package/dist/plugins/toast/types.d.ts +0 -104
- package/dist/plugins/toast.d.ts +0 -25
- package/dist/plugins/wait.d.ts +0 -33
- package/dist/resolvers/MazComponentsResolver.d.ts +0 -10
- package/dist/resolvers/MazDirectivesResolver.d.ts +0 -11
- package/dist/resolvers/MazModulesResolver.d.ts +0 -11
- package/dist/resolvers/index.d.ts +0 -3
- package/dist/tailwindcss/index.d.ts +0 -6
- package/dist/tailwindcss/tailwind.config.d.ts +0 -89
- package/dist/tailwindcss/utils/colors.d.ts +0 -7
- package/dist/tailwindcss/variables/breakpoints.d.ts +0 -15
- package/dist/tailwindcss/variables/colors.d.ts +0 -21
- package/dist/tailwindcss/variables/design-tokens.d.ts +0 -35
- package/dist/tailwindcss/variables/utilities.d.ts +0 -17
- package/dist/tailwindcss/variables/z-indexes.d.ts +0 -14
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { MazColor } from '../types';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
color: {
|
|
5
|
-
type: PropType<MazColor>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
locale: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
calendarDate: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
close: (...args: any[]) => void;
|
|
18
|
-
"update:calendar-date": (...args: any[]) => void;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
-
color: {
|
|
21
|
-
type: PropType<MazColor>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
locale: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
calendarDate: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{
|
|
33
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
36
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface MazDatePickerRangeValue {
|
|
2
|
-
start: string;
|
|
3
|
-
end: string;
|
|
4
|
-
}
|
|
5
|
-
export type MazDatePickerPartialRangeValue = Partial<MazDatePickerRangeValue>;
|
|
6
|
-
export type MazDatePickerValue = string | undefined | MazDatePickerPartialRangeValue;
|
|
7
|
-
export interface MazDatePickerShortcut {
|
|
8
|
-
identifier: string;
|
|
9
|
-
label: string;
|
|
10
|
-
value: {
|
|
11
|
-
start: string;
|
|
12
|
-
end: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { MazUiTranslationsNestedSchema } from '@maz-ui/translations';
|
|
2
|
-
import { ConfigType, OpUnitType } from 'dayjs';
|
|
3
|
-
import { MazDatePickerPartialRangeValue, MazDatePickerValue } from './types';
|
|
4
|
-
export type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
|
|
5
|
-
export declare function getFormattedDate({ value, locale, options, }: {
|
|
6
|
-
value?: string;
|
|
7
|
-
locale: string;
|
|
8
|
-
options?: Intl.DateTimeFormatOptions;
|
|
9
|
-
}): string | undefined;
|
|
10
|
-
export declare function getRangeFormattedDate({ value, locale, options, }: {
|
|
11
|
-
value: MazDatePickerPartialRangeValue;
|
|
12
|
-
locale: string;
|
|
13
|
-
options: Intl.DateTimeFormatOptions;
|
|
14
|
-
}): string | undefined;
|
|
15
|
-
export declare function getFirstDayOfMonth(value: ConfigType): number;
|
|
16
|
-
export declare function getDaysOfWeek(locale: string, firstDayOfWeek: number): string[];
|
|
17
|
-
export declare function getDaysInMonth(date: ConfigType): number;
|
|
18
|
-
export declare function isToday(date: ConfigType): boolean;
|
|
19
|
-
export declare function isSameDate(date: ConfigType, date2: ConfigType, unit: OpUnitType): boolean;
|
|
20
|
-
export declare function isSmaller(date: ConfigType, date2: ConfigType): boolean;
|
|
21
|
-
export declare function isSameDay(date: ConfigType, dayNumber: number): boolean;
|
|
22
|
-
export declare function getISODate(value?: ConfigType, format?: string): string | undefined;
|
|
23
|
-
export declare function getRangeISODate(value?: MazDatePickerPartialRangeValue, format?: string): {
|
|
24
|
-
start: string | undefined;
|
|
25
|
-
end: string | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
interface CheckValueResponse {
|
|
28
|
-
newValue?: string;
|
|
29
|
-
newCurrentDate?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, minMaxAuto, }: {
|
|
32
|
-
value: string | undefined;
|
|
33
|
-
minDate: string | undefined;
|
|
34
|
-
maxDate: string | undefined;
|
|
35
|
-
format: string;
|
|
36
|
-
minMaxAuto: boolean;
|
|
37
|
-
}): CheckValueResponse;
|
|
38
|
-
export declare function isValueDisabledWeekly({ value, disabledWeekly, }: {
|
|
39
|
-
value: string;
|
|
40
|
-
disabledWeekly: number[];
|
|
41
|
-
}): boolean;
|
|
42
|
-
export declare function isValueDisabledDate({ value, disabledDates, }: {
|
|
43
|
-
value: string;
|
|
44
|
-
disabledDates: string[];
|
|
45
|
-
}): boolean;
|
|
46
|
-
export declare function scrollToTarget(scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean): void;
|
|
47
|
-
export declare function findNearestNumberInList(list: number[], number: number): number;
|
|
48
|
-
export declare function convertHour24to12Format(baseHour: number): number;
|
|
49
|
-
export declare function convertHour12to24Format(baseHour: number): number;
|
|
50
|
-
export declare function convert12To24TimeFormat(timeStr: string): string;
|
|
51
|
-
export declare function isRangeValue(value: MazDatePickerValue): value is MazDatePickerPartialRangeValue;
|
|
52
|
-
export declare function isValidDate(value: unknown): value is ConfigType;
|
|
53
|
-
export declare function getDefaultsShortcuts(t: MazUiTranslationsNestedSchema['datePicker']['shortcuts']): {
|
|
54
|
-
label: string;
|
|
55
|
-
identifier: string;
|
|
56
|
-
value: {
|
|
57
|
-
start: string;
|
|
58
|
-
end: string;
|
|
59
|
-
};
|
|
60
|
-
}[];
|
|
61
|
-
export {};
|
|
@@ -1,567 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'vue';
|
|
2
|
-
import { MazDatePickerShortcut, MazDatePickerValue } from './MazDatePicker/types';
|
|
3
|
-
import { MazInputProps } from './MazInput.vue';
|
|
4
|
-
import { MazPopoverProps } from './MazPopover.vue';
|
|
5
|
-
import { MazColor } from './types';
|
|
6
|
-
type __VLS_Props = MazDatePickerProps;
|
|
7
|
-
export type { MazDatePickerPartialRangeValue, MazDatePickerRangeValue, MazDatePickerShortcut, MazDatePickerValue } from './MazDatePicker/types';
|
|
8
|
-
export interface MazDatePickerProps {
|
|
9
|
-
/**
|
|
10
|
-
* The unique identifier of the component
|
|
11
|
-
* @type {string}
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The inline style object for the component
|
|
16
|
-
* @type {HTMLAttributes['style']}
|
|
17
|
-
*/
|
|
18
|
-
style?: HTMLAttributes['style'];
|
|
19
|
-
/**
|
|
20
|
-
* The CSS class(es) to apply to the component
|
|
21
|
-
* @type {HTMLAttributes['class']}
|
|
22
|
-
*/
|
|
23
|
-
class?: HTMLAttributes['class'];
|
|
24
|
-
/**
|
|
25
|
-
* The props to apply to the input component
|
|
26
|
-
* @default undefined
|
|
27
|
-
* @type {MazInputProps}
|
|
28
|
-
*/
|
|
29
|
-
inputProps?: MazInputProps;
|
|
30
|
-
/**
|
|
31
|
-
* The value of the date picker component
|
|
32
|
-
* If an object is provided, the picker will be a range picker
|
|
33
|
-
* @type {MazDatePickerValue}
|
|
34
|
-
* @default undefined
|
|
35
|
-
*/
|
|
36
|
-
modelValue?: MazDatePickerValue;
|
|
37
|
-
/**
|
|
38
|
-
* The format pattern for date display and parsing
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @default 'YYYY-MM-DD'
|
|
41
|
-
* @example 'YYYY-MM-DD', 'DD/MM/YYYY', 'YYYY-MM-DD HH:mm'
|
|
42
|
-
*/
|
|
43
|
-
format?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Controls whether the picker window is open
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @default false
|
|
48
|
-
* @model
|
|
49
|
-
*/
|
|
50
|
-
open?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* The label text displayed above the input field
|
|
53
|
-
* @type {string}
|
|
54
|
-
*/
|
|
55
|
-
label?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The placeholder text shown when no value is selected
|
|
58
|
-
* @type {string}
|
|
59
|
-
*/
|
|
60
|
-
placeholder?: string;
|
|
61
|
-
/**
|
|
62
|
-
* The Intl.DateTimeFormatOptions for styling the input date display
|
|
63
|
-
* @type {Intl.DateTimeFormatOptions}
|
|
64
|
-
* @default { dateStyle: 'medium', timeStyle: 'short' }
|
|
65
|
-
*/
|
|
66
|
-
inputDateFormat?: Intl.DateTimeFormatOptions;
|
|
67
|
-
/**
|
|
68
|
-
* Custom function to transform the formatted date display
|
|
69
|
-
* @type {Function}
|
|
70
|
-
* @param {object} payload - The transformation payload
|
|
71
|
-
* @param {string} payload.formattedDate - The formatted date string
|
|
72
|
-
* @param {MazDatePickerValue} payload.value - The current picker value
|
|
73
|
-
* @param {string} payload.locale - The current locale
|
|
74
|
-
* @returns {string} The transformed date string
|
|
75
|
-
*/
|
|
76
|
-
inputDateTransformer?: (payload: {
|
|
77
|
-
formattedDate?: string;
|
|
78
|
-
value?: MazDatePickerValue;
|
|
79
|
-
locale: string;
|
|
80
|
-
}) => string;
|
|
81
|
-
/**
|
|
82
|
-
* The locale string for date formatting and localization
|
|
83
|
-
* @example 'en-US', 'fr-FR', 'de-DE'
|
|
84
|
-
*/
|
|
85
|
-
locale?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Controls whether the calendar header is hidden
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
hideHeader?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Controls whether the component is disabled
|
|
93
|
-
* @default false
|
|
94
|
-
*/
|
|
95
|
-
disabled?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* The first day of the week in the calendar
|
|
98
|
-
* @values 0, 1, 2, 3, 4, 5, 6
|
|
99
|
-
* @default 0
|
|
100
|
-
* @example 0 (Sunday), 1 (Monday), 6 (Saturday)
|
|
101
|
-
*/
|
|
102
|
-
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
103
|
-
/**
|
|
104
|
-
* Controls whether the picker closes automatically after date selection
|
|
105
|
-
* @default false
|
|
106
|
-
*/
|
|
107
|
-
autoClose?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* CSS selector for a custom element that triggers the picker
|
|
110
|
-
* @example '#my-button', '.trigger-class'
|
|
111
|
-
*/
|
|
112
|
-
customElementSelector?: string;
|
|
113
|
-
/**
|
|
114
|
-
* Controls whether the picker displays two months side by side
|
|
115
|
-
* @default false
|
|
116
|
-
*/
|
|
117
|
-
double?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Controls whether the picker is displayed inline without input field
|
|
120
|
-
* @default false
|
|
121
|
-
*/
|
|
122
|
-
inline?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* The color theme of the component
|
|
125
|
-
* @type {MazColor}
|
|
126
|
-
* @values primary, secondary, success, destructive, warning, info, accent, contrast
|
|
127
|
-
* @default 'primary'
|
|
128
|
-
*/
|
|
129
|
-
color?: MazColor;
|
|
130
|
-
/**
|
|
131
|
-
* The position where the picker popover should appear
|
|
132
|
-
* @type {MazPopoverProps['position']}
|
|
133
|
-
* @values top, bottom, left, right, top-end, bottom-end, left-end, right-end, top-start, bottom-start, left-start, right-start
|
|
134
|
-
* @default 'auto'
|
|
135
|
-
*/
|
|
136
|
-
pickerPosition?: MazPopoverProps['position'];
|
|
137
|
-
/**
|
|
138
|
-
* The preferred position of the picker popover
|
|
139
|
-
* @type {MazPopoverProps['preferPosition']}
|
|
140
|
-
* @values top, bottom, left, right, top-end, bottom-end, left-end, right-end, top-start, bottom-start, left-start, right-start
|
|
141
|
-
* @default 'bottom-start'
|
|
142
|
-
*/
|
|
143
|
-
pickerPreferPosition?: MazPopoverProps['preferPosition'];
|
|
144
|
-
/**
|
|
145
|
-
* The fallback position of the picker popover
|
|
146
|
-
* @type {MazPopoverProps['fallbackPosition']}
|
|
147
|
-
* @values top, bottom, left, right, top-end, bottom-end, left-end, right-end, top-start, bottom-start, left-start, right-start
|
|
148
|
-
* @default 'top-start'
|
|
149
|
-
*/
|
|
150
|
-
pickerFallbackPosition?: MazPopoverProps['fallbackPosition'];
|
|
151
|
-
/**
|
|
152
|
-
* Controls whether the picker includes a time selector
|
|
153
|
-
* @default false
|
|
154
|
-
*/
|
|
155
|
-
time?: boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Controls whether the picker shows only time selection (no date)
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
160
|
-
onlyTime?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* The interval in minutes for the time picker minute selection
|
|
163
|
-
* @default 5
|
|
164
|
-
* @values 1, 5, 10, 15, 30
|
|
165
|
-
*/
|
|
166
|
-
minuteInterval?: number;
|
|
167
|
-
/**
|
|
168
|
-
* Controls whether to automatically detect and use the browser's locale
|
|
169
|
-
* @default true
|
|
170
|
-
*/
|
|
171
|
-
useBrowserLocale?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Controls whether to fetch locale data dynamically
|
|
174
|
-
* @default true
|
|
175
|
-
*/
|
|
176
|
-
fetchLocal?: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* Array of predefined date range shortcuts or false to disable
|
|
179
|
-
* @type {MazDatePickerShortcut[] | false}
|
|
180
|
-
* @default [predefined shortcuts array]
|
|
181
|
-
*/
|
|
182
|
-
shortcuts?: MazDatePickerShortcut[] | boolean;
|
|
183
|
-
/**
|
|
184
|
-
* The identifier of the currently selected shortcut
|
|
185
|
-
* @type {MazDatePickerShortcut['identifier']}
|
|
186
|
-
*/
|
|
187
|
-
shortcut?: MazDatePickerShortcut['identifier'];
|
|
188
|
-
/**
|
|
189
|
-
* The minimum selectable date in ISO format
|
|
190
|
-
* @example '2023-01-01'
|
|
191
|
-
*/
|
|
192
|
-
minDate?: string;
|
|
193
|
-
/**
|
|
194
|
-
* The maximum selectable date in ISO format
|
|
195
|
-
* @example '2024-12-31'
|
|
196
|
-
*/
|
|
197
|
-
maxDate?: string;
|
|
198
|
-
/**
|
|
199
|
-
* When minDate or maxDate are provided, if the current date is not between minDate and maxDate, the current date will be set to the minDate or maxDate
|
|
200
|
-
* @default true
|
|
201
|
-
*/
|
|
202
|
-
minMaxAuto?: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* Array of weekday numbers to disable (0 = Sunday, 6 = Saturday)
|
|
205
|
-
* @default []
|
|
206
|
-
* @example [0, 6] to disable weekends
|
|
207
|
-
*/
|
|
208
|
-
disabledWeekly?: number[];
|
|
209
|
-
/**
|
|
210
|
-
* Array of specific dates to disable in ISO format
|
|
211
|
-
* @default []
|
|
212
|
-
* @example ['2023-12-25', '2024-01-01']
|
|
213
|
-
*/
|
|
214
|
-
disabledDates?: string[];
|
|
215
|
-
/**
|
|
216
|
-
* Array of hour numbers to disable in the time picker (0-23)
|
|
217
|
-
* @default []
|
|
218
|
-
* @example [0, 1, 2, 22, 23] to disable night hours
|
|
219
|
-
*/
|
|
220
|
-
disabledHours?: number[];
|
|
221
|
-
/**
|
|
222
|
-
* Controls whether the input displays in full width
|
|
223
|
-
* @default false
|
|
224
|
-
*/
|
|
225
|
-
block?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Controls whether the picker operates in range selection mode
|
|
228
|
-
* @default false
|
|
229
|
-
*/
|
|
230
|
-
range?: boolean;
|
|
231
|
-
/**
|
|
232
|
-
* The transition name of the popover
|
|
233
|
-
* @type {MazPopoverProps['transition']}
|
|
234
|
-
* @default 'scale-fade'
|
|
235
|
-
*/
|
|
236
|
-
transition?: MazPopoverProps['transition'];
|
|
237
|
-
}
|
|
238
|
-
declare const __VLS_defaults: {
|
|
239
|
-
locale: undefined;
|
|
240
|
-
open: boolean;
|
|
241
|
-
};
|
|
242
|
-
type __VLS_PublicProps = {
|
|
243
|
-
'locale'?: string;
|
|
244
|
-
'open'?: typeof __VLS_defaults['open'];
|
|
245
|
-
} & __VLS_Props;
|
|
246
|
-
declare function __VLS_template(): {
|
|
247
|
-
attrs: Partial<{}>;
|
|
248
|
-
slots: {
|
|
249
|
-
trigger?(_: {
|
|
250
|
-
isOpen: boolean;
|
|
251
|
-
close: () => void;
|
|
252
|
-
open: () => void;
|
|
253
|
-
toggle: () => void;
|
|
254
|
-
}): any;
|
|
255
|
-
};
|
|
256
|
-
refs: {
|
|
257
|
-
popover: ({
|
|
258
|
-
$: import('vue').ComponentInternalInstance;
|
|
259
|
-
$data: {};
|
|
260
|
-
$props: {
|
|
261
|
-
readonly modelValue?: boolean | undefined;
|
|
262
|
-
readonly position?: import('./MazPopover.vue').MazPopoverPosition | undefined;
|
|
263
|
-
readonly preferPosition?: import('./MazPopover.vue').MazPopoverPreferPosition | undefined;
|
|
264
|
-
readonly fallbackPosition?: import('./MazPopover.vue').MazPopoverFallbackPosition | undefined;
|
|
265
|
-
readonly trigger?: import('./MazPopover.vue').MazPopoverTrigger | undefined;
|
|
266
|
-
readonly role?: import('./MazPopover.vue').MazPopoverRole | undefined;
|
|
267
|
-
readonly ariaLabel?: string | undefined;
|
|
268
|
-
readonly announceChanges?: boolean | undefined;
|
|
269
|
-
readonly disabled?: boolean | undefined;
|
|
270
|
-
readonly offset?: number | undefined;
|
|
271
|
-
readonly delay?: number | undefined;
|
|
272
|
-
readonly hoverDelay?: number | undefined;
|
|
273
|
-
readonly transition?: "scale-pop" | "scale-fade" | string | undefined;
|
|
274
|
-
readonly teleportTo?: string | undefined;
|
|
275
|
-
readonly overlayClass?: HTMLAttributes["class"];
|
|
276
|
-
readonly panelClass?: HTMLAttributes["class"];
|
|
277
|
-
readonly panelStyle?: import('vue').StyleValue;
|
|
278
|
-
readonly closeOnClickOutside?: boolean | undefined;
|
|
279
|
-
readonly closeOnEscape?: boolean | undefined;
|
|
280
|
-
readonly persistent?: boolean | undefined;
|
|
281
|
-
readonly id?: string | undefined;
|
|
282
|
-
readonly ariaLabelledby?: string | undefined;
|
|
283
|
-
readonly ariaDescribedby?: string | undefined;
|
|
284
|
-
readonly color?: (MazColor | "background") | undefined;
|
|
285
|
-
readonly trapFocus?: boolean | undefined;
|
|
286
|
-
readonly keepOpenOnHover?: boolean | undefined;
|
|
287
|
-
readonly block?: boolean | undefined;
|
|
288
|
-
readonly positionReference?: (string | HTMLElement) | undefined;
|
|
289
|
-
readonly onClose?: (() => any) | undefined;
|
|
290
|
-
readonly onToggle?: ((value: boolean) => any) | undefined;
|
|
291
|
-
readonly onOpen?: (() => any) | undefined;
|
|
292
|
-
readonly "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
293
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
294
|
-
readonly "onAfter-close-animation"?: (() => any) | undefined;
|
|
295
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
296
|
-
$attrs: {
|
|
297
|
-
[x: string]: unknown;
|
|
298
|
-
};
|
|
299
|
-
$refs: {
|
|
300
|
-
[x: string]: unknown;
|
|
301
|
-
} & {
|
|
302
|
-
trigger: HTMLDivElement;
|
|
303
|
-
panel: HTMLDivElement;
|
|
304
|
-
};
|
|
305
|
-
$slots: Readonly<{
|
|
306
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
307
|
-
}>;
|
|
308
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
309
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
310
|
-
$host: Element | null;
|
|
311
|
-
$emit: ((event: "close") => void) & ((event: "toggle", value: boolean) => void) & ((event: "open") => void) & ((event: "update:model-value", value: boolean) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "after-close-animation") => void);
|
|
312
|
-
$el: any;
|
|
313
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
314
|
-
modelValue?: boolean;
|
|
315
|
-
} & MazPopoverProps> & Readonly<{
|
|
316
|
-
onClose?: (() => any) | undefined;
|
|
317
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
318
|
-
onOpen?: (() => any) | undefined;
|
|
319
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
320
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
321
|
-
"onAfter-close-animation"?: (() => any) | undefined;
|
|
322
|
-
}>, {
|
|
323
|
-
open: () => void;
|
|
324
|
-
close: () => void;
|
|
325
|
-
toggle: () => void;
|
|
326
|
-
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
327
|
-
updatePosition: () => void;
|
|
328
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
329
|
-
close: () => any;
|
|
330
|
-
toggle: (value: boolean) => any;
|
|
331
|
-
open: () => any;
|
|
332
|
-
"update:model-value": (value: boolean) => any;
|
|
333
|
-
"update:modelValue": (value: boolean) => any;
|
|
334
|
-
"after-close-animation": () => any;
|
|
335
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
336
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
337
|
-
created?: (() => void) | (() => void)[];
|
|
338
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
339
|
-
mounted?: (() => void) | (() => void)[];
|
|
340
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
341
|
-
updated?: (() => void) | (() => void)[];
|
|
342
|
-
activated?: (() => void) | (() => void)[];
|
|
343
|
-
deactivated?: (() => void) | (() => void)[];
|
|
344
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
345
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
346
|
-
destroyed?: (() => void) | (() => void)[];
|
|
347
|
-
unmounted?: (() => void) | (() => void)[];
|
|
348
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
349
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
350
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
351
|
-
};
|
|
352
|
-
$forceUpdate: () => void;
|
|
353
|
-
$nextTick: typeof import('vue').nextTick;
|
|
354
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
355
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
356
|
-
modelValue?: boolean;
|
|
357
|
-
} & MazPopoverProps> & Readonly<{
|
|
358
|
-
onClose?: (() => any) | undefined;
|
|
359
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
360
|
-
onOpen?: (() => any) | undefined;
|
|
361
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
362
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
363
|
-
"onAfter-close-animation"?: (() => any) | undefined;
|
|
364
|
-
}>, "close" | "toggle" | "open" | "isOpen" | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
|
365
|
-
open: () => void;
|
|
366
|
-
close: () => void;
|
|
367
|
-
toggle: () => void;
|
|
368
|
-
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
369
|
-
updatePosition: () => void;
|
|
370
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
371
|
-
$slots: {
|
|
372
|
-
trigger?(_: {
|
|
373
|
-
open: () => void;
|
|
374
|
-
close: () => void;
|
|
375
|
-
toggle: () => void;
|
|
376
|
-
isOpen: boolean;
|
|
377
|
-
trigger: "click" | "hover" | "manual";
|
|
378
|
-
}): any;
|
|
379
|
-
default?(_: {
|
|
380
|
-
open: () => void;
|
|
381
|
-
close: () => void;
|
|
382
|
-
toggle: () => void;
|
|
383
|
-
isOpen: true;
|
|
384
|
-
}): any;
|
|
385
|
-
};
|
|
386
|
-
}) | null;
|
|
387
|
-
};
|
|
388
|
-
rootEl: any;
|
|
389
|
-
};
|
|
390
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
391
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
392
|
-
close: (args_0: void) => any;
|
|
393
|
-
"update:model-value": (value: MazDatePickerValue) => any;
|
|
394
|
-
"update:locale": (value: string) => any;
|
|
395
|
-
"update:open": (value: boolean) => any;
|
|
396
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
397
|
-
onClose?: ((args_0?: void | undefined) => any) | undefined;
|
|
398
|
-
"onUpdate:model-value"?: ((value: MazDatePickerValue) => any) | undefined;
|
|
399
|
-
"onUpdate:locale"?: ((value: string) => any) | undefined;
|
|
400
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
401
|
-
}>, {
|
|
402
|
-
time: boolean;
|
|
403
|
-
color: MazColor;
|
|
404
|
-
disabled: boolean;
|
|
405
|
-
open: (typeof __VLS_defaults)["open"];
|
|
406
|
-
format: string;
|
|
407
|
-
transition: string;
|
|
408
|
-
double: boolean;
|
|
409
|
-
inline: boolean;
|
|
410
|
-
range: boolean;
|
|
411
|
-
shortcuts: MazDatePickerShortcut[] | boolean;
|
|
412
|
-
minDate: string;
|
|
413
|
-
maxDate: string;
|
|
414
|
-
minMaxAuto: boolean;
|
|
415
|
-
disabledWeekly: number[];
|
|
416
|
-
disabledDates: string[];
|
|
417
|
-
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
418
|
-
minuteInterval: number;
|
|
419
|
-
disabledHours: number[];
|
|
420
|
-
hideHeader: boolean;
|
|
421
|
-
inputDateFormat: Intl.DateTimeFormatOptions;
|
|
422
|
-
autoClose: boolean;
|
|
423
|
-
pickerPosition: import('./MazPopover.vue').MazPopoverPosition;
|
|
424
|
-
pickerPreferPosition: import('./MazPopover.vue').MazPopoverPreferPosition;
|
|
425
|
-
pickerFallbackPosition: import('./MazPopover.vue').MazPopoverFallbackPosition;
|
|
426
|
-
onlyTime: boolean;
|
|
427
|
-
useBrowserLocale: boolean;
|
|
428
|
-
fetchLocal: boolean;
|
|
429
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
430
|
-
popover: ({
|
|
431
|
-
$: import('vue').ComponentInternalInstance;
|
|
432
|
-
$data: {};
|
|
433
|
-
$props: {
|
|
434
|
-
readonly modelValue?: boolean | undefined;
|
|
435
|
-
readonly position?: import('./MazPopover.vue').MazPopoverPosition | undefined;
|
|
436
|
-
readonly preferPosition?: import('./MazPopover.vue').MazPopoverPreferPosition | undefined;
|
|
437
|
-
readonly fallbackPosition?: import('./MazPopover.vue').MazPopoverFallbackPosition | undefined;
|
|
438
|
-
readonly trigger?: import('./MazPopover.vue').MazPopoverTrigger | undefined;
|
|
439
|
-
readonly role?: import('./MazPopover.vue').MazPopoverRole | undefined;
|
|
440
|
-
readonly ariaLabel?: string | undefined;
|
|
441
|
-
readonly announceChanges?: boolean | undefined;
|
|
442
|
-
readonly disabled?: boolean | undefined;
|
|
443
|
-
readonly offset?: number | undefined;
|
|
444
|
-
readonly delay?: number | undefined;
|
|
445
|
-
readonly hoverDelay?: number | undefined;
|
|
446
|
-
readonly transition?: "scale-pop" | "scale-fade" | string | undefined;
|
|
447
|
-
readonly teleportTo?: string | undefined;
|
|
448
|
-
readonly overlayClass?: HTMLAttributes["class"];
|
|
449
|
-
readonly panelClass?: HTMLAttributes["class"];
|
|
450
|
-
readonly panelStyle?: import('vue').StyleValue;
|
|
451
|
-
readonly closeOnClickOutside?: boolean | undefined;
|
|
452
|
-
readonly closeOnEscape?: boolean | undefined;
|
|
453
|
-
readonly persistent?: boolean | undefined;
|
|
454
|
-
readonly id?: string | undefined;
|
|
455
|
-
readonly ariaLabelledby?: string | undefined;
|
|
456
|
-
readonly ariaDescribedby?: string | undefined;
|
|
457
|
-
readonly color?: (MazColor | "background") | undefined;
|
|
458
|
-
readonly trapFocus?: boolean | undefined;
|
|
459
|
-
readonly keepOpenOnHover?: boolean | undefined;
|
|
460
|
-
readonly block?: boolean | undefined;
|
|
461
|
-
readonly positionReference?: (string | HTMLElement) | undefined;
|
|
462
|
-
readonly onClose?: (() => any) | undefined;
|
|
463
|
-
readonly onToggle?: ((value: boolean) => any) | undefined;
|
|
464
|
-
readonly onOpen?: (() => any) | undefined;
|
|
465
|
-
readonly "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
466
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
467
|
-
readonly "onAfter-close-animation"?: (() => any) | undefined;
|
|
468
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
469
|
-
$attrs: {
|
|
470
|
-
[x: string]: unknown;
|
|
471
|
-
};
|
|
472
|
-
$refs: {
|
|
473
|
-
[x: string]: unknown;
|
|
474
|
-
} & {
|
|
475
|
-
trigger: HTMLDivElement;
|
|
476
|
-
panel: HTMLDivElement;
|
|
477
|
-
};
|
|
478
|
-
$slots: Readonly<{
|
|
479
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
480
|
-
}>;
|
|
481
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
482
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
483
|
-
$host: Element | null;
|
|
484
|
-
$emit: ((event: "close") => void) & ((event: "toggle", value: boolean) => void) & ((event: "open") => void) & ((event: "update:model-value", value: boolean) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "after-close-animation") => void);
|
|
485
|
-
$el: any;
|
|
486
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
487
|
-
modelValue?: boolean;
|
|
488
|
-
} & MazPopoverProps> & Readonly<{
|
|
489
|
-
onClose?: (() => any) | undefined;
|
|
490
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
491
|
-
onOpen?: (() => any) | undefined;
|
|
492
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
493
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
494
|
-
"onAfter-close-animation"?: (() => any) | undefined;
|
|
495
|
-
}>, {
|
|
496
|
-
open: () => void;
|
|
497
|
-
close: () => void;
|
|
498
|
-
toggle: () => void;
|
|
499
|
-
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
500
|
-
updatePosition: () => void;
|
|
501
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
502
|
-
close: () => any;
|
|
503
|
-
toggle: (value: boolean) => any;
|
|
504
|
-
open: () => any;
|
|
505
|
-
"update:model-value": (value: boolean) => any;
|
|
506
|
-
"update:modelValue": (value: boolean) => any;
|
|
507
|
-
"after-close-animation": () => any;
|
|
508
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
509
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
510
|
-
created?: (() => void) | (() => void)[];
|
|
511
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
512
|
-
mounted?: (() => void) | (() => void)[];
|
|
513
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
514
|
-
updated?: (() => void) | (() => void)[];
|
|
515
|
-
activated?: (() => void) | (() => void)[];
|
|
516
|
-
deactivated?: (() => void) | (() => void)[];
|
|
517
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
518
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
519
|
-
destroyed?: (() => void) | (() => void)[];
|
|
520
|
-
unmounted?: (() => void) | (() => void)[];
|
|
521
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
522
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
523
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
524
|
-
};
|
|
525
|
-
$forceUpdate: () => void;
|
|
526
|
-
$nextTick: typeof import('vue').nextTick;
|
|
527
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
528
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
529
|
-
modelValue?: boolean;
|
|
530
|
-
} & MazPopoverProps> & Readonly<{
|
|
531
|
-
onClose?: (() => any) | undefined;
|
|
532
|
-
onToggle?: ((value: boolean) => any) | undefined;
|
|
533
|
-
onOpen?: (() => any) | undefined;
|
|
534
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
535
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
536
|
-
"onAfter-close-animation"?: (() => any) | undefined;
|
|
537
|
-
}>, "close" | "toggle" | "open" | "isOpen" | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
|
538
|
-
open: () => void;
|
|
539
|
-
close: () => void;
|
|
540
|
-
toggle: () => void;
|
|
541
|
-
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
542
|
-
updatePosition: () => void;
|
|
543
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
544
|
-
$slots: {
|
|
545
|
-
trigger?(_: {
|
|
546
|
-
open: () => void;
|
|
547
|
-
close: () => void;
|
|
548
|
-
toggle: () => void;
|
|
549
|
-
isOpen: boolean;
|
|
550
|
-
trigger: "click" | "hover" | "manual";
|
|
551
|
-
}): any;
|
|
552
|
-
default?(_: {
|
|
553
|
-
open: () => void;
|
|
554
|
-
close: () => void;
|
|
555
|
-
toggle: () => void;
|
|
556
|
-
isOpen: true;
|
|
557
|
-
}): any;
|
|
558
|
-
};
|
|
559
|
-
}) | null;
|
|
560
|
-
}, any>;
|
|
561
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
562
|
-
export default _default;
|
|
563
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
564
|
-
new (): {
|
|
565
|
-
$slots: S;
|
|
566
|
-
};
|
|
567
|
-
};
|