maz-ui 4.1.7-beta.8 → 4.1.8-beta.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/dist/assets/MazBackdrop.CO7YPR-g.css +1 -0
- package/dist/assets/{MazDropzone.B5e-z_Ba.css → MazDropzone.Ch5EPpDi.css} +1 -1
- package/dist/assets/MazInputPhoneNumber.BGz17BIE.css +1 -0
- package/dist/assets/MazSelect.Dx9yL9AD.css +1 -0
- package/dist/chunks/{MazInputPhoneNumber.CbNnLvU_.js → MazInputPhoneNumber.BxMymgj-.js} +7 -6
- package/dist/chunks/{PhoneInput.DQZjDqMK.js → PhoneInput.BUiv9fYr.js} +1 -1
- package/dist/components/MazBackdrop.js +2 -2
- package/dist/components/MazDropzone.js +23 -29
- package/dist/components/MazInputPhoneNumber.js +1 -1
- package/dist/components/MazSelect.js +13 -11
- package/dist/components/index.js +1 -1
- package/dist/types/components/MazDropzone.vue.d.ts +0 -5
- package/package.json +11 -11
- package/dist/assets/MazBackdrop.09bziTPM.css +0 -1
- package/dist/assets/MazInputPhoneNumber.Baeyskod.css +0 -1
- package/dist/assets/MazSelect.CvoR958a.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,55 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'vue';
|
|
2
|
-
import { MazColor, MazSize } from './types';
|
|
3
|
-
export type MazCheckboxValue = string | number | boolean;
|
|
4
|
-
export interface MazCheckboxProps<T = boolean | (string | number)[]> {
|
|
5
|
-
/** Style attribut of the component root element */
|
|
6
|
-
style?: HTMLAttributes['style'];
|
|
7
|
-
/** Class attribut of the component root element */
|
|
8
|
-
class?: HTMLAttributes['class'];
|
|
9
|
-
/** The model value of the checkbox */
|
|
10
|
-
modelValue?: T;
|
|
11
|
-
/** The id of the checkbox */
|
|
12
|
-
id?: string;
|
|
13
|
-
/** The color of the checkbox */
|
|
14
|
-
color?: MazColor;
|
|
15
|
-
/** The value of the checkbox when selected */
|
|
16
|
-
value?: MazCheckboxValue;
|
|
17
|
-
/** The name of the checkbox */
|
|
18
|
-
name?: string;
|
|
19
|
-
/** The size of the checkbox */
|
|
20
|
-
size?: MazSize;
|
|
21
|
-
/** Text label */
|
|
22
|
-
label?: string;
|
|
23
|
-
/** If the checkbox is disabled */
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/** Whether there is an error with the input. */
|
|
26
|
-
error?: boolean;
|
|
27
|
-
/** Whether the input is successful. */
|
|
28
|
-
success?: boolean;
|
|
29
|
-
/** Whether there is a warning with the input. */
|
|
30
|
-
warning?: boolean;
|
|
31
|
-
/** The hint text to display below the input. */
|
|
32
|
-
hint?: string;
|
|
33
|
-
}
|
|
34
|
-
declare const _default: <T extends boolean | (string | number)[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
35
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
36
|
-
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
37
|
-
readonly onChange?: ((value: T) => any) | undefined;
|
|
38
|
-
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
39
|
-
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
40
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & MazCheckboxProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
41
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
42
|
-
attrs: any;
|
|
43
|
-
slots: {
|
|
44
|
-
default?(_: {
|
|
45
|
-
value: MazCheckboxValue;
|
|
46
|
-
}): any;
|
|
47
|
-
};
|
|
48
|
-
emit: ((evt: "blur", value: FocusEvent) => void) & ((evt: "change", value: T) => void) & ((evt: "focus", value: FocusEvent) => void) & ((evt: "update:model-value", value: T) => void);
|
|
49
|
-
}>) => import('vue').VNode & {
|
|
50
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
|
-
};
|
|
52
|
-
export default _default;
|
|
53
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
-
[K in keyof T]: T[K];
|
|
55
|
-
} & {};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { MazUiTranslationsNestedSchema } from '@maz-ui/translations';
|
|
2
|
-
import { NormalizeStringOptions } from '@maz-ui/utils/helpers/normalizeString';
|
|
3
|
-
import { DeepPartial } from '@maz-ui/utils/ts-helpers/DeepPartial';
|
|
4
|
-
import { MazInputProps } from './MazInput.vue';
|
|
5
|
-
import { MazColor } from './types';
|
|
6
|
-
export type MazChecklistItemOption = {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
} & Record<string, any>;
|
|
10
|
-
export interface MazChecklistProps<T, O> {
|
|
11
|
-
/**
|
|
12
|
-
* The model value of the checklist (selected items)
|
|
13
|
-
* @type {(T extends unknown)[]}
|
|
14
|
-
*/
|
|
15
|
-
modelValue?: T[];
|
|
16
|
-
/**
|
|
17
|
-
* The query to filter the items (model)
|
|
18
|
-
* @type {string}
|
|
19
|
-
*/
|
|
20
|
-
query?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The list of items to display
|
|
23
|
-
* @type {(O extends MazChecklistItemOption)[]}
|
|
24
|
-
*/
|
|
25
|
-
items?: O[];
|
|
26
|
-
/**
|
|
27
|
-
* The title of the checklist
|
|
28
|
-
*/
|
|
29
|
-
title?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Add elevation to the card
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
elevation?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The search input options
|
|
37
|
-
* @default { enabled: false, debounce: 300, autoFocus: false }
|
|
38
|
-
*/
|
|
39
|
-
search?: boolean | MazInputProps<string>;
|
|
40
|
-
/**
|
|
41
|
-
* The options to normalize the search query (used by the default search function)
|
|
42
|
-
* By default, the threshold is 0.75
|
|
43
|
-
*/
|
|
44
|
-
searchOptions?: NormalizeStringOptions & {
|
|
45
|
-
threshold?: number;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Replace the default search function to provide a custom search function
|
|
49
|
-
* @default undefined
|
|
50
|
-
*/
|
|
51
|
-
searchFunction?: (query: string, items: O[]) => O[] | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* The color of the checklist (card, checkbox and search input)
|
|
54
|
-
* @default primary
|
|
55
|
-
*/
|
|
56
|
-
color?: MazColor;
|
|
57
|
-
/**
|
|
58
|
-
* Translations of the checklist component
|
|
59
|
-
* @type {DeepPartial<MazUiTranslationsNestedSchema['checklist']>}
|
|
60
|
-
* @default Translations from @maz-ui/translations
|
|
61
|
-
*/
|
|
62
|
-
translations?: DeepPartial<MazUiTranslationsNestedSchema['checklist']>;
|
|
63
|
-
}
|
|
64
|
-
declare const _default: <T extends string | number, O extends MazChecklistItemOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
65
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
66
|
-
readonly "onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
|
|
67
|
-
readonly "onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
|
|
68
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:query"> & MazChecklistProps<T, O> & Partial<{}>> & import('vue').PublicProps;
|
|
69
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
70
|
-
attrs: any;
|
|
71
|
-
slots: {
|
|
72
|
-
title?(_: {}): any;
|
|
73
|
-
'no-results'?(_: {}): any;
|
|
74
|
-
'no-results-text'?(_: {}): any;
|
|
75
|
-
item?(_: {
|
|
76
|
-
selectedValues: T[] | undefined;
|
|
77
|
-
item: O;
|
|
78
|
-
}): any;
|
|
79
|
-
};
|
|
80
|
-
emit: ((evt: "update:model-value", value?: T[] | undefined) => void) & ((evt: "update:query", value?: string | undefined) => void);
|
|
81
|
-
}>) => import('vue').VNode & {
|
|
82
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
83
|
-
};
|
|
84
|
-
export default _default;
|
|
85
|
-
type __VLS_PrettifyLocal<T> = {
|
|
86
|
-
[K in keyof T]: T[K];
|
|
87
|
-
} & {};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { SVGAttributes } from 'vue';
|
|
2
|
-
import { MazColor } from './types';
|
|
3
|
-
export interface MazCircularProgressBarProps {
|
|
4
|
-
/**
|
|
5
|
-
* The percentage value of the progress bar
|
|
6
|
-
* @required
|
|
7
|
-
*/
|
|
8
|
-
percentage: number;
|
|
9
|
-
/**
|
|
10
|
-
* The size of the progress bar
|
|
11
|
-
* @default '10em' (equal 80px for a font-size of 16px)
|
|
12
|
-
*/
|
|
13
|
-
size?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Duration of the animation in milliseconds
|
|
16
|
-
* @default 1000
|
|
17
|
-
*/
|
|
18
|
-
duration?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Delay before the animation starts in milliseconds
|
|
21
|
-
* @default 100
|
|
22
|
-
*/
|
|
23
|
-
delay?: number;
|
|
24
|
-
/**
|
|
25
|
-
* The color of the progress bar
|
|
26
|
-
* @type Color
|
|
27
|
-
* @default undefined
|
|
28
|
-
*/
|
|
29
|
-
color?: MazColor;
|
|
30
|
-
/**
|
|
31
|
-
* Auto color based on the count (destructive, warning, success)
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
autoColor?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Suffix to display next to the number
|
|
37
|
-
*/
|
|
38
|
-
prefix?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Suffix to display next to the number
|
|
41
|
-
*/
|
|
42
|
-
suffix?: string;
|
|
43
|
-
/**
|
|
44
|
-
* The stroke-linecap style
|
|
45
|
-
* @default 'round'
|
|
46
|
-
* @values 'butt', 'round', 'square', 'inherit'
|
|
47
|
-
*/
|
|
48
|
-
strokeLinecap?: SVGAttributes['stroke-linecap'];
|
|
49
|
-
/**
|
|
50
|
-
* The stroke width
|
|
51
|
-
* @default 6
|
|
52
|
-
*/
|
|
53
|
-
strokeWidth?: SVGAttributes['width'];
|
|
54
|
-
/**
|
|
55
|
-
* The stroke color
|
|
56
|
-
* Use this prop to override the gradient color
|
|
57
|
-
* You can use a color name or a color code
|
|
58
|
-
*/
|
|
59
|
-
stroke?: SVGAttributes['stroke'];
|
|
60
|
-
/**
|
|
61
|
-
* The percentage value of the success level
|
|
62
|
-
* @description The progress circle will be filled with the success color when the percentage is greater than or equal to this value
|
|
63
|
-
* @default 100
|
|
64
|
-
*/
|
|
65
|
-
successPercentage?: number;
|
|
66
|
-
/**
|
|
67
|
-
* The percentage value of the warning level
|
|
68
|
-
* @description The progress circle will be filled with the warning color when the percentage is greater than or equal to this value
|
|
69
|
-
* @default 50
|
|
70
|
-
*/
|
|
71
|
-
warningPercentage?: number;
|
|
72
|
-
/**
|
|
73
|
-
* The percentage value of the danger level
|
|
74
|
-
* @description The progress circle will be filled with the danger color when the percentage is greater than or equal to this value
|
|
75
|
-
* @default 25
|
|
76
|
-
*/
|
|
77
|
-
dangerPercentage?: number;
|
|
78
|
-
/**
|
|
79
|
-
* Play the animation only once
|
|
80
|
-
* @default true
|
|
81
|
-
*/
|
|
82
|
-
once?: boolean;
|
|
83
|
-
}
|
|
84
|
-
declare function __VLS_template(): {
|
|
85
|
-
attrs: Partial<{}>;
|
|
86
|
-
slots: {
|
|
87
|
-
default?(_: {}): any;
|
|
88
|
-
prefix?(_: {}): any;
|
|
89
|
-
suffix?(_: {}): any;
|
|
90
|
-
};
|
|
91
|
-
refs: {
|
|
92
|
-
circleRef: SVGSVGElement;
|
|
93
|
-
};
|
|
94
|
-
rootEl: HTMLDivElement;
|
|
95
|
-
};
|
|
96
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
97
|
-
declare const __VLS_component: import('vue').DefineComponent<MazCircularProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazCircularProgressBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
98
|
-
circleRef: SVGSVGElement;
|
|
99
|
-
}, HTMLDivElement>;
|
|
100
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
101
|
-
export default _default;
|
|
102
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
103
|
-
new (): {
|
|
104
|
-
$slots: S;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { MazColor } from '../types';
|
|
2
|
-
import { MazDatePickerShortcut, MazDatePickerValue } from './types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
modelValue: MazDatePickerValue | undefined;
|
|
5
|
-
calendarDate: string;
|
|
6
|
-
color: MazColor;
|
|
7
|
-
locale: string;
|
|
8
|
-
inline: boolean;
|
|
9
|
-
firstDayOfWeek: number;
|
|
10
|
-
double: boolean;
|
|
11
|
-
minDate: string | undefined;
|
|
12
|
-
maxDate: string | undefined;
|
|
13
|
-
disabledWeekly: number[];
|
|
14
|
-
disabledDates: string[];
|
|
15
|
-
shortcuts: MazDatePickerShortcut[] | false;
|
|
16
|
-
hasTime: boolean;
|
|
17
|
-
shortcut: MazDatePickerShortcut['identifier'] | undefined;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
range: boolean;
|
|
20
|
-
};
|
|
21
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:model-value": (...args: any[]) => void;
|
|
23
|
-
"update:calendar-date": (...args: any[]) => void;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
locale: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
firstDayOfWeek: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
locale: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
firstDayOfWeek: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
20
|
-
export default _default;
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { MazColor } from '../../types';
|
|
4
|
-
import { MazDatePickerValue } from '../types';
|
|
5
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: PropType<MazDatePickerValue>;
|
|
8
|
-
default: undefined;
|
|
9
|
-
};
|
|
10
|
-
calendarDate: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
hasTime: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
locale: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
firstDayOfWeek: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
color: {
|
|
27
|
-
type: PropType<MazColor>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
minDate: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
inline: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
maxDate: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: undefined;
|
|
41
|
-
};
|
|
42
|
-
disabledWeekly: {
|
|
43
|
-
type: PropType<number[]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
disabledDates: {
|
|
47
|
-
type: PropType<string[]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
hoverredDay: {
|
|
51
|
-
type: PropType<Dayjs>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
disabled: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
range: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
-
"update:model-value": (...args: any[]) => void;
|
|
64
|
-
"update:hoverred-day": (...args: any[]) => void;
|
|
65
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
-
modelValue: {
|
|
67
|
-
type: PropType<MazDatePickerValue>;
|
|
68
|
-
default: undefined;
|
|
69
|
-
};
|
|
70
|
-
calendarDate: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
hasTime: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
required: true;
|
|
77
|
-
};
|
|
78
|
-
locale: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
required: true;
|
|
81
|
-
};
|
|
82
|
-
firstDayOfWeek: {
|
|
83
|
-
type: NumberConstructor;
|
|
84
|
-
required: true;
|
|
85
|
-
};
|
|
86
|
-
color: {
|
|
87
|
-
type: PropType<MazColor>;
|
|
88
|
-
required: true;
|
|
89
|
-
};
|
|
90
|
-
minDate: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: undefined;
|
|
93
|
-
};
|
|
94
|
-
inline: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
required: true;
|
|
97
|
-
};
|
|
98
|
-
maxDate: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
default: undefined;
|
|
101
|
-
};
|
|
102
|
-
disabledWeekly: {
|
|
103
|
-
type: PropType<number[]>;
|
|
104
|
-
required: true;
|
|
105
|
-
};
|
|
106
|
-
disabledDates: {
|
|
107
|
-
type: PropType<string[]>;
|
|
108
|
-
required: true;
|
|
109
|
-
};
|
|
110
|
-
hoverredDay: {
|
|
111
|
-
type: PropType<Dayjs>;
|
|
112
|
-
default: undefined;
|
|
113
|
-
};
|
|
114
|
-
disabled: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
required: true;
|
|
117
|
-
};
|
|
118
|
-
range: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
required: true;
|
|
121
|
-
};
|
|
122
|
-
}>> & Readonly<{
|
|
123
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
124
|
-
"onUpdate:hoverred-day"?: ((...args: any[]) => any) | undefined;
|
|
125
|
-
}>, {
|
|
126
|
-
modelValue: MazDatePickerValue;
|
|
127
|
-
minDate: string;
|
|
128
|
-
maxDate: string;
|
|
129
|
-
hoverredDay: Dayjs;
|
|
130
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
131
|
-
MazDatePickerGrid: HTMLDivElement;
|
|
132
|
-
}, HTMLDivElement>;
|
|
133
|
-
export default _default;
|
package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { MazColor } from '../../types';
|
|
4
|
-
import { MazDatePickerValue } from '../types';
|
|
5
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: PropType<MazDatePickerValue>;
|
|
8
|
-
default: undefined;
|
|
9
|
-
};
|
|
10
|
-
color: {
|
|
11
|
-
type: PropType<MazColor>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
locale: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
hasTime: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
firstDayOfWeek: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
inline: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
calendarDate: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
offsetMonth: {
|
|
35
|
-
type: NumberConstructor;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
|
-
minDate: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: undefined;
|
|
41
|
-
};
|
|
42
|
-
maxDate: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: undefined;
|
|
45
|
-
};
|
|
46
|
-
disabledWeekly: {
|
|
47
|
-
type: PropType<number[]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
disabledDates: {
|
|
51
|
-
type: PropType<string[]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
hoverredDay: {
|
|
55
|
-
type: PropType<Dayjs>;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
disabled: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
range: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
-
"update:model-value": (...args: any[]) => void;
|
|
68
|
-
"update:hoverred-day": (...args: any[]) => void;
|
|
69
|
-
"update:calendar-date": (...args: any[]) => void;
|
|
70
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
-
modelValue: {
|
|
72
|
-
type: PropType<MazDatePickerValue>;
|
|
73
|
-
default: undefined;
|
|
74
|
-
};
|
|
75
|
-
color: {
|
|
76
|
-
type: PropType<MazColor>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
locale: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
required: true;
|
|
82
|
-
};
|
|
83
|
-
hasTime: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
required: true;
|
|
86
|
-
};
|
|
87
|
-
firstDayOfWeek: {
|
|
88
|
-
type: NumberConstructor;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
inline: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
required: true;
|
|
94
|
-
};
|
|
95
|
-
calendarDate: {
|
|
96
|
-
type: StringConstructor;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
offsetMonth: {
|
|
100
|
-
type: NumberConstructor;
|
|
101
|
-
default: number;
|
|
102
|
-
};
|
|
103
|
-
minDate: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: undefined;
|
|
106
|
-
};
|
|
107
|
-
maxDate: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
default: undefined;
|
|
110
|
-
};
|
|
111
|
-
disabledWeekly: {
|
|
112
|
-
type: PropType<number[]>;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
disabledDates: {
|
|
116
|
-
type: PropType<string[]>;
|
|
117
|
-
required: true;
|
|
118
|
-
};
|
|
119
|
-
hoverredDay: {
|
|
120
|
-
type: PropType<Dayjs>;
|
|
121
|
-
default: undefined;
|
|
122
|
-
};
|
|
123
|
-
disabled: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
required: true;
|
|
126
|
-
};
|
|
127
|
-
range: {
|
|
128
|
-
type: BooleanConstructor;
|
|
129
|
-
required: true;
|
|
130
|
-
};
|
|
131
|
-
}>> & Readonly<{
|
|
132
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
"onUpdate:hoverred-day"?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
}>, {
|
|
136
|
-
modelValue: MazDatePickerValue;
|
|
137
|
-
minDate: string;
|
|
138
|
-
maxDate: string;
|
|
139
|
-
hoverredDay: Dayjs;
|
|
140
|
-
offsetMonth: number;
|
|
141
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
142
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
calendarDate: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
6
|
-
locale: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
double: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
next: (...args: any[]) => void;
|
|
16
|
-
previous: (...args: any[]) => void;
|
|
17
|
-
"update:calendar-date": (...args: any[]) => void;
|
|
18
|
-
"open-month-switcher": (...args: any[]) => void;
|
|
19
|
-
"open-year-switcher": (...args: any[]) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
calendarDate: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
locale: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
double: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
}>> & Readonly<{
|
|
34
|
-
onNext?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
onPrevious?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onOpen-month-switcher"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
"onOpen-year-switcher"?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}>, {
|
|
40
|
-
calendarDate: string;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
42
|
-
export default _default;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MazColor } from '../types';
|
|
2
|
-
import { MazDatePickerShortcut, MazDatePickerValue } from './types';
|
|
3
|
-
import { DateTimeFormatOptions } from './utils';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
modelValue: MazDatePickerValue | undefined;
|
|
6
|
-
calendarDate: string;
|
|
7
|
-
color: MazColor;
|
|
8
|
-
locale: string;
|
|
9
|
-
hideHeader: boolean;
|
|
10
|
-
firstDayOfWeek: number;
|
|
11
|
-
double: boolean;
|
|
12
|
-
hasDate: boolean;
|
|
13
|
-
minDate: string | undefined;
|
|
14
|
-
maxDate: string | undefined;
|
|
15
|
-
inline: boolean;
|
|
16
|
-
shortcuts: MazDatePickerShortcut[] | false;
|
|
17
|
-
shortcut: string | undefined;
|
|
18
|
-
hasTime: boolean;
|
|
19
|
-
format: string;
|
|
20
|
-
isHour12: boolean;
|
|
21
|
-
formatterOptions: DateTimeFormatOptions;
|
|
22
|
-
minuteInterval: number;
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
disabledWeekly: number[];
|
|
25
|
-
disabledHours: number[];
|
|
26
|
-
disabledDates: string[];
|
|
27
|
-
range: boolean;
|
|
28
|
-
};
|
|
29
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
-
close: (...args: any[]) => void;
|
|
31
|
-
"update:model-value": (...args: any[]) => void;
|
|
32
|
-
"update:calendar-date": (...args: any[]) => void;
|
|
33
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
38
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MazColor } from '../types';
|
|
2
|
-
import { MazDatePickerValue } from './types';
|
|
3
|
-
import { DateTimeFormatOptions } from './utils';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
modelValue: MazDatePickerValue | undefined;
|
|
6
|
-
color: MazColor;
|
|
7
|
-
locale: string;
|
|
8
|
-
hideShortcuts: boolean;
|
|
9
|
-
double: boolean;
|
|
10
|
-
hasDate: boolean;
|
|
11
|
-
hasTime: boolean;
|
|
12
|
-
formatterOptions: DateTimeFormatOptions;
|
|
13
|
-
};
|
|
14
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
-
export default _default;
|