maz-ui 3.4.5 → 3.6.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/components/MazAvatar.d.ts +156 -149
- package/components/MazAvatar.mjs +656 -0
- package/components/MazAvatar.umd.js +2 -0
- package/components/MazBackdrop.d.ts +89 -89
- package/components/MazBackdrop.mjs +140 -0
- package/components/MazBackdrop.umd.js +2 -0
- package/components/MazBadge.d.ts +73 -68
- package/components/MazBadge.mjs +61 -0
- package/components/MazBadge.umd.js +2 -0
- package/components/MazBottomSheet.d.ts +36 -29
- package/components/MazBottomSheet.mjs +553 -0
- package/components/MazBottomSheet.umd.js +2 -0
- package/components/MazBtn.d.ts +178 -171
- package/components/MazBtn.mjs +371 -0
- package/components/MazBtn.umd.js +2 -0
- package/components/MazCard.d.ts +194 -183
- package/components/MazCard.mjs +1390 -0
- package/components/MazCard.umd.js +2 -0
- package/components/MazCarousel.d.ts +24 -16
- package/components/MazCarousel.mjs +469 -0
- package/components/MazCarousel.umd.js +2 -0
- package/components/MazChart/includes.d.ts +11 -11
- package/components/MazChart.d.ts +114 -114
- package/components/MazChart.mjs +135 -0
- package/components/MazChart.umd.js +2 -0
- package/components/MazCheckbox.d.ts +54 -49
- package/components/MazCheckbox.mjs +86 -0
- package/components/MazCheckbox.umd.js +2 -0
- package/components/MazDialog.d.ts +40 -29
- package/components/MazDialog.mjs +566 -0
- package/components/MazDialog.umd.js +2 -0
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -30
- package/components/MazDialogPromise.d.ts +36 -28
- package/components/MazDialogPromise.mjs +692 -0
- package/components/MazDialogPromise.umd.js +2 -0
- package/components/MazDrawer.d.ts +69 -59
- package/components/MazDrawer.mjs +572 -0
- package/components/MazDrawer.umd.js +2 -0
- package/components/MazDropzone.d.ts +128 -128
- package/components/MazDropzone.mjs +369 -0
- package/components/MazDropzone.umd.js +2 -0
- package/components/MazGallery.d.ts +144 -144
- package/components/MazGallery.mjs +948 -0
- package/components/MazGallery.umd.js +2 -0
- package/components/MazIcon.d.ts +64 -66
- package/components/MazIcon.mjs +161 -0
- package/components/MazIcon.umd.js +2 -0
- package/components/MazInput.d.ts +276 -276
- package/components/MazInput.mjs +750 -0
- package/components/MazInput.umd.js +2 -0
- package/components/MazInputNumber.d.ts +65 -67
- package/components/MazInputNumber.mjs +857 -0
- package/components/MazInputNumber.umd.js +2 -0
- package/components/MazInputPrice.d.ts +69 -64
- package/components/MazInputPrice.mjs +889 -0
- package/components/MazInputPrice.umd.js +2 -0
- package/components/MazInputTags.d.ts +94 -96
- package/components/MazInputTags.mjs +904 -0
- package/components/MazInputTags.umd.js +2 -0
- package/components/MazLazyImg.d.ts +85 -80
- package/components/MazLazyImg.mjs +376 -0
- package/components/MazLazyImg.umd.js +2 -0
- package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -12
- package/components/MazPhoneNumberInput/types.d.ts +21 -21
- package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -2
- package/components/MazPhoneNumberInput/utils/index.d.ts +12 -12
- package/components/MazPhoneNumberInput.d.ts +253 -255
- package/components/MazPhoneNumberInput.mjs +1904 -0
- package/components/MazPhoneNumberInput.umd.js +2 -0
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -137
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -22
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -114
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -124
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -38
- package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -212
- package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
- package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -84
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -43
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -62
- package/components/MazPicker/MazPickerTime.vue.d.ts +127 -129
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -35
- package/components/MazPicker/types.d.ts +15 -15
- package/components/MazPicker/utils.d.ts +54 -54
- package/components/MazPicker.d.ts +311 -313
- package/components/MazPicker.mjs +2942 -0
- package/components/MazPicker.umd.js +2 -0
- package/components/MazRadioButtons.d.ts +77 -69
- package/components/MazRadioButtons.mjs +80 -0
- package/components/MazRadioButtons.umd.js +2 -0
- package/components/MazSelect.d.ts +185 -176
- package/components/MazSelect.mjs +1082 -0
- package/components/MazSelect.umd.js +2 -0
- package/components/MazSlider/utils.d.ts +15 -15
- package/components/MazSlider.d.ts +94 -96
- package/components/MazSlider.mjs +377 -0
- package/components/MazSlider.umd.js +2 -0
- package/components/MazSpinner.d.ts +28 -30
- package/components/MazSpinner.mjs +59 -0
- package/components/MazSpinner.umd.js +2 -0
- package/components/MazStepper.d.ts +71 -73
- package/components/MazStepper.mjs +227 -0
- package/components/MazStepper.umd.js +2 -0
- package/components/MazSwitch.d.ts +54 -56
- package/components/MazSwitch.mjs +61 -0
- package/components/MazSwitch.umd.js +2 -0
- package/components/MazTabsBar.d.ts +47 -49
- package/components/MazTabsBar.mjs +470 -0
- package/components/MazTabsBar.umd.js +2 -0
- package/components/MazTabsContent.d.ts +21 -16
- package/components/MazTabsContent.mjs +89 -0
- package/components/MazTabsContent.umd.js +2 -0
- package/components/MazTabsContentItem.d.ts +19 -14
- package/components/MazTabsContentItem.mjs +61 -0
- package/components/MazTabsContentItem.umd.js +2 -0
- package/components/MazTextarea/textarea-autogrow.d.ts +9 -9
- package/components/MazTextarea.d.ts +123 -125
- package/components/MazTextarea.mjs +260 -0
- package/components/MazTextarea.umd.js +2 -0
- package/components/MazTransitionExpand.d.ts +9 -4
- package/components/MazTransitionExpand.mjs +62 -0
- package/components/MazTransitionExpand.umd.js +2 -0
- package/components/index.d.ts +33 -34
- package/components/index.mjs +35 -0
- package/components/index.umd.js +35 -0
- package/components/no_photo-410a8f01.mjs +4 -0
- package/components/types.d.ts +17 -17
- package/css/main.css +1 -1
- package/maz-ui.d.ts +234 -231
- package/modules/maz-ui.mjs +1892 -0
- package/modules/maz-ui.umd.js +2 -0
- package/modules/no_photo-410a8f01.mjs +4 -0
- package/package.json +45 -54
- package/tailwindcss/tailwind.config.js +6 -7
- package/tailwindcss/utils/colors.js +1 -3
- package/tailwindcss/variables/breakpoints.js +1 -2
- package/tailwindcss/variables/utilities.js +1 -2
- package/tailwindcss/variables/z-indexes.js +1 -1
- package/components/MazArrowIcon.d.ts +0 -43
- package/components/MazArrowIcon.js +0 -1
- package/components/MazAvatar.js +0 -3
- package/components/MazBackdrop.js +0 -3
- package/components/MazBadge.js +0 -1
- package/components/MazBottomSheet.js +0 -3
- package/components/MazBtn.js +0 -3
- package/components/MazCard.js +0 -3
- package/components/MazCarousel.js +0 -3
- package/components/MazChart.js +0 -1
- package/components/MazCheckbox.js +0 -1
- package/components/MazDialog.js +0 -3
- package/components/MazDialogPromise.js +0 -3
- package/components/MazDrawer.js +0 -3
- package/components/MazDropzone.js +0 -3
- package/components/MazGallery.js +0 -3
- package/components/MazIcon.js +0 -3
- package/components/MazInput.js +0 -3
- package/components/MazInputNumber.js +0 -3
- package/components/MazInputPrice.js +0 -3
- package/components/MazInputTags.js +0 -3
- package/components/MazLazyImg.js +0 -3
- package/components/MazPhoneNumberInput.js +0 -3
- package/components/MazPicker.js +0 -3
- package/components/MazRadioButtons.js +0 -1
- package/components/MazSelect.js +0 -3
- package/components/MazSlider.js +0 -3
- package/components/MazSpinner.js +0 -1
- package/components/MazStepper.js +0 -1
- package/components/MazSwitch.js +0 -1
- package/components/MazTabsBar.js +0 -3
- package/components/MazTabsContent.js +0 -1
- package/components/MazTabsContentItem.js +0 -3
- package/components/MazTextarea.js +0 -1
- package/components/MazTransitionExpand.js +0 -1
- package/components/index.js +0 -36
- package/components/no_photo-a72545e4.js +0 -1
- package/modules/index.js +0 -3
- package/modules/no_photo-a72545e4.js +0 -1
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import type { ConfigType, OpUnitType } from 'dayjs';
|
|
2
|
-
import type { PartialRangeValue } from './types';
|
|
3
|
-
export type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
|
|
4
|
-
export declare function getFormattedDate({ value, locale, options, }: {
|
|
5
|
-
value?: string;
|
|
6
|
-
locale: string;
|
|
7
|
-
options?: Intl.DateTimeFormatOptions;
|
|
8
|
-
}): string | undefined;
|
|
9
|
-
export declare function getRangeFormattedDate({ value, locale, options, }: {
|
|
10
|
-
value: PartialRangeValue;
|
|
11
|
-
locale: string;
|
|
12
|
-
options: Intl.DateTimeFormatOptions;
|
|
13
|
-
}): string | undefined;
|
|
14
|
-
export declare function getFirstDayOfMonth(value: ConfigType): number;
|
|
15
|
-
export declare function getWeekDays(locale: string, offset?: number): {
|
|
16
|
-
label: string;
|
|
17
|
-
dayNumber: number;
|
|
18
|
-
}[];
|
|
19
|
-
export declare function getDaysInMonth(date: ConfigType): number;
|
|
20
|
-
export declare function isToday(date: ConfigType): boolean;
|
|
21
|
-
export declare function isSameDate(date: ConfigType, date2: ConfigType, unit: OpUnitType): boolean;
|
|
22
|
-
export declare function isSmaller(date: ConfigType, date2: ConfigType): boolean;
|
|
23
|
-
export declare function isSameDay(date: ConfigType, dayNumber: number): boolean;
|
|
24
|
-
export declare function getISODate(value?: ConfigType, format?: string): string | undefined;
|
|
25
|
-
export declare function getRangeISODate(value: PartialRangeValue, format?: string): {
|
|
26
|
-
start: string | undefined;
|
|
27
|
-
end: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
type CheckValueResponse = {
|
|
30
|
-
newValue?: string;
|
|
31
|
-
newCurrentDate?: string;
|
|
32
|
-
};
|
|
33
|
-
export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, }: {
|
|
34
|
-
value: string;
|
|
35
|
-
minDate?: string;
|
|
36
|
-
maxDate?: string;
|
|
37
|
-
format: string;
|
|
38
|
-
}): CheckValueResponse;
|
|
39
|
-
export declare function isValueDisabledWeekly({ value, disabledWeekly, }: {
|
|
40
|
-
value: string;
|
|
41
|
-
disabledWeekly: number[];
|
|
42
|
-
}): boolean;
|
|
43
|
-
export declare function isValueDisabledDate({ value, disabledDates, }: {
|
|
44
|
-
value: string;
|
|
45
|
-
disabledDates: string[];
|
|
46
|
-
}): boolean;
|
|
47
|
-
export declare const scrollToTarget: (scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean) => void;
|
|
48
|
-
export declare const findNearestNumberInList: (list: number[], number: number) => number;
|
|
49
|
-
export declare function convertHour24to12Format(baseHour: number): number;
|
|
50
|
-
export declare function convertHour12to24Format(baseHour: number): number;
|
|
51
|
-
export declare const convert12To24TimeFormat: (timeStr: string) => string;
|
|
52
|
-
export declare function getBrowserLocale(): string | undefined;
|
|
53
|
-
export declare function fetchLocale(): Promise<string | undefined>;
|
|
54
|
-
export {};
|
|
1
|
+
import type { ConfigType, OpUnitType } from 'dayjs';
|
|
2
|
+
import type { PartialRangeValue } from './types';
|
|
3
|
+
export type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
|
|
4
|
+
export declare function getFormattedDate({ value, locale, options, }: {
|
|
5
|
+
value?: string;
|
|
6
|
+
locale: string;
|
|
7
|
+
options?: Intl.DateTimeFormatOptions;
|
|
8
|
+
}): string | undefined;
|
|
9
|
+
export declare function getRangeFormattedDate({ value, locale, options, }: {
|
|
10
|
+
value: PartialRangeValue;
|
|
11
|
+
locale: string;
|
|
12
|
+
options: Intl.DateTimeFormatOptions;
|
|
13
|
+
}): string | undefined;
|
|
14
|
+
export declare function getFirstDayOfMonth(value: ConfigType): number;
|
|
15
|
+
export declare function getWeekDays(locale: string, offset?: number): {
|
|
16
|
+
label: string;
|
|
17
|
+
dayNumber: number;
|
|
18
|
+
}[];
|
|
19
|
+
export declare function getDaysInMonth(date: ConfigType): number;
|
|
20
|
+
export declare function isToday(date: ConfigType): boolean;
|
|
21
|
+
export declare function isSameDate(date: ConfigType, date2: ConfigType, unit: OpUnitType): boolean;
|
|
22
|
+
export declare function isSmaller(date: ConfigType, date2: ConfigType): boolean;
|
|
23
|
+
export declare function isSameDay(date: ConfigType, dayNumber: number): boolean;
|
|
24
|
+
export declare function getISODate(value?: ConfigType, format?: string): string | undefined;
|
|
25
|
+
export declare function getRangeISODate(value: PartialRangeValue, format?: string): {
|
|
26
|
+
start: string | undefined;
|
|
27
|
+
end: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
type CheckValueResponse = {
|
|
30
|
+
newValue?: string;
|
|
31
|
+
newCurrentDate?: string;
|
|
32
|
+
};
|
|
33
|
+
export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, }: {
|
|
34
|
+
value: string;
|
|
35
|
+
minDate?: string;
|
|
36
|
+
maxDate?: string;
|
|
37
|
+
format: string;
|
|
38
|
+
}): CheckValueResponse;
|
|
39
|
+
export declare function isValueDisabledWeekly({ value, disabledWeekly, }: {
|
|
40
|
+
value: string;
|
|
41
|
+
disabledWeekly: number[];
|
|
42
|
+
}): boolean;
|
|
43
|
+
export declare function isValueDisabledDate({ value, disabledDates, }: {
|
|
44
|
+
value: string;
|
|
45
|
+
disabledDates: string[];
|
|
46
|
+
}): boolean;
|
|
47
|
+
export declare const scrollToTarget: (scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean) => void;
|
|
48
|
+
export declare const findNearestNumberInList: (list: number[], number: number) => number;
|
|
49
|
+
export declare function convertHour24to12Format(baseHour: number): number;
|
|
50
|
+
export declare function convertHour12to24Format(baseHour: number): number;
|
|
51
|
+
export declare const convert12To24TimeFormat: (timeStr: string) => string;
|
|
52
|
+
export declare function getBrowserLocale(): string | undefined;
|
|
53
|
+
export declare function fetchLocale(): Promise<string | undefined>;
|
|
54
|
+
export {};
|