maz-ui 3.44.4-beta.0 → 3.44.4-beta.2
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/MazAccordion.d.ts +12 -10
- package/components/MazAnimatedCounter.d.ts +15 -13
- package/components/MazAvatar.d.ts +9 -7
- package/components/MazBackdrop.d.ts +12 -21
- package/components/MazBadge.d.ts +6 -4
- package/components/MazBottomSheet.d.ts +8 -6
- package/components/MazBtn.d.ts +12 -10
- package/components/MazCard.d.ts +16 -14
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +7 -5
- package/components/MazCarousel.d.ts +9 -7
- package/components/MazChart.d.ts +6 -6
- package/components/MazCheckbox.d.ts +7 -5
- package/components/MazCircularProgressBar.d.ts +27 -24
- package/components/MazDialog.d.ts +16 -24
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/components/MazDrawer.d.ts +12 -10
- package/components/MazDropdown.d.ts +27 -25
- package/components/MazDropzone.d.ts +15 -15
- package/components/MazExpandAnimation.d.ts +6 -4
- package/components/MazFullscreenLoader.d.ts +6 -4
- package/components/MazIcon.d.ts +3 -3
- package/components/MazInput.d.ts +15 -133
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputPrice.d.ts +7 -5
- package/components/MazInputTags.d.ts +1 -1
- package/components/MazLazyImg.d.ts +9 -7
- package/components/MazLink.d.ts +10 -8
- package/components/MazPagination.d.ts +20 -18
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/components/MazPhoneNumberInput.d.ts +17 -25
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +9 -7
- package/components/MazRadio.d.ts +27 -24
- package/components/MazRadioButtons.d.ts +10 -8
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +16 -125
- package/components/MazSelect.mjs +1 -1
- package/components/MazStepper.d.ts +10 -8
- package/components/MazSwitch.d.ts +9 -7
- package/components/MazTable.d.ts +67 -65
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.d.ts +4 -2
- package/components/MazTableRow.d.ts +4 -2
- package/components/MazTableTitle.d.ts +4 -2
- package/components/MazTabs.d.ts +6 -4
- package/components/MazTabsBar.d.ts +18 -16
- package/components/MazTabsContent.d.ts +4 -2
- package/components/MazTabsContentItem.d.ts +6 -4
- package/components/MazTextarea.d.ts +1 -1
- package/components/MazTransitionExpand.d.ts +6 -4
- package/components/MazTransitionExpand.mjs +2 -2
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazBtn-B5XwteK7.mjs → MazBtn-BURByjBO.mjs} +2 -2
- package/components/chunks/{MazBtn-CQSo596y.mjs → MazBtn-D1TNsXIe.mjs} +2 -2
- package/components/chunks/{MazBtn-gj2W8kzn.mjs → MazBtn-YtY4PeyZ.mjs} +2 -2
- package/components/chunks/{MazCard-BBwohtCJ.mjs → MazCard-BiDXoNWK.mjs} +1 -1
- package/components/chunks/{MazCheckbox-isKq9dAX.mjs → MazCheckbox-BMzMZ-_l.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CqHZNrGa.mjs → MazCheckbox-B_Rx3ZCe.mjs} +1 -1
- package/components/chunks/{MazGallery-Din0Z37d.mjs → MazGallery-SSMQ_JIA.mjs} +2 -2
- package/components/chunks/{MazIcon-D2DkwtXq.mjs → MazIcon-CwITLbPL.mjs} +1 -1
- package/components/chunks/{MazIcon-DHzZGzIp.mjs → MazIcon-x_aGvHlZ.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput-CYcy4OZW.mjs → MazPhoneNumberInput-fo2MtuWB.mjs} +6 -6
- package/components/chunks/{MazPicker-DCTIkgDd.mjs → MazPicker-Df-LRtwz.mjs} +2 -2
- package/components/chunks/{MazPickerMonthSwitcher-CINBaU3n.mjs → MazPickerMonthSwitcher-CrrfUDPA.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-vvPV1aW8.mjs → MazPickerShortcuts-Dpm1ra_Y.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-CkqFNhde.mjs → MazPickerYearSwitcher-BIeGuXI7.mjs} +2 -2
- package/components/chunks/{MazSelect-DvNLFDvj.mjs → MazSelect-xBiD7HuJ.mjs} +6 -6
- package/components/chunks/{MazSpinner-C7s8yroP.mjs → MazSpinner-C5MXwcx7.mjs} +1 -1
- package/components/chunks/{MazSpinner-BVd7-OTu.mjs → MazSpinner-CrDTibNk.mjs} +1 -1
- package/components/chunks/{MazSpinner-CpYgtvc9.mjs → MazSpinner-CvucKhXp.mjs} +1 -1
- package/components/chunks/MazSpinner-DDmCKWOx.mjs +37 -0
- package/components/chunks/{MazSpinner-CAG800x4.mjs → MazSpinner-QIX5R4Hk.mjs} +1 -1
- package/components/chunks/{MazTable-BN-Yp2RW.mjs → MazTable-1D7GRSpa.mjs} +6 -6
- package/components/chunks/{MazTransitionExpand-CYyEf_hd.mjs → MazTransitionExpand-BLFZPAt_.mjs} +11 -11
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-BVqZ8Wej.cjs → MazBtn-BLvj2Vcl.cjs} +1 -1
- package/modules/chunks/{MazBtn-Cuj6yEZn.mjs → MazBtn-DhVNaOBj.mjs} +2 -2
- package/modules/chunks/{MazIcon-CyWCmQpN.cjs → MazIcon-BhCADEJL.cjs} +1 -1
- package/modules/chunks/{MazIcon-COFexHFo.mjs → MazIcon-ZPJHGsC7.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BtXwGTnk.mjs → MazSpinner-Dx_yL6x9.mjs} +1 -1
- package/modules/chunks/{MazSpinner-Dz0kdTmr.cjs → MazSpinner-OdoRwyjg.cjs} +1 -1
- package/modules/chunks/{index-DW2zAKgR.cjs → index-BT3W7L22.cjs} +2 -2
- package/modules/chunks/{index-BBOf37yd.mjs → index-CgWq2KzW.mjs} +363 -360
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +2 -2
- package/nuxt/types.d.mts +4 -23
- package/nuxt/types.d.ts +4 -23
- package/package.json +25 -25
- package/types/components/MazAccordion.vue.d.ts +12 -10
- package/types/components/MazAnimatedCounter.vue.d.ts +15 -13
- package/types/components/MazAvatar.vue.d.ts +9 -7
- package/types/components/MazBackdrop.vue.d.ts +12 -21
- package/types/components/MazBadge.vue.d.ts +6 -4
- package/types/components/MazBottomSheet.vue.d.ts +8 -6
- package/types/components/MazBtn.vue.d.ts +12 -10
- package/types/components/MazCard.vue.d.ts +16 -14
- package/types/components/MazCardSpotlight.vue.d.ts +7 -5
- package/types/components/MazCarousel.vue.d.ts +9 -7
- package/types/components/MazChart.vue.d.ts +6 -6
- package/types/components/MazCheckbox.vue.d.ts +7 -5
- package/types/components/MazCircularProgressBar.vue.d.ts +27 -24
- package/types/components/MazDialog.vue.d.ts +16 -24
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/types/components/MazDrawer.vue.d.ts +12 -10
- package/types/components/MazDropdown.vue.d.ts +27 -25
- package/types/components/MazDropzone.vue.d.ts +15 -15
- package/types/components/MazExpandAnimation.vue.d.ts +6 -4
- package/types/components/MazFullscreenLoader.vue.d.ts +6 -4
- package/types/components/MazIcon.vue.d.ts +3 -3
- package/types/components/MazInput.vue.d.ts +15 -133
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +7 -5
- package/types/components/MazInputTags.vue.d.ts +1 -1
- package/types/components/MazLazyImg.vue.d.ts +9 -7
- package/types/components/MazLink.vue.d.ts +10 -8
- package/types/components/MazPagination.vue.d.ts +20 -18
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/types/components/MazPhoneNumberInput.vue.d.ts +17 -25
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +9 -7
- package/types/components/MazRadio.vue.d.ts +27 -24
- package/types/components/MazRadioButtons.vue.d.ts +10 -8
- package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +16 -125
- package/types/components/MazStepper.vue.d.ts +10 -8
- package/types/components/MazSwitch.vue.d.ts +9 -7
- package/types/components/MazTable.vue.d.ts +67 -65
- package/types/components/MazTableCell.vue.d.ts +4 -2
- package/types/components/MazTableRow.vue.d.ts +4 -2
- package/types/components/MazTableTitle.vue.d.ts +4 -2
- package/types/components/MazTabs.vue.d.ts +6 -4
- package/types/components/MazTabsBar.vue.d.ts +18 -16
- package/types/components/MazTabsContent.vue.d.ts +4 -2
- package/types/components/MazTabsContentItem.vue.d.ts +6 -4
- package/types/components/MazTextarea.vue.d.ts +1 -1
- package/types/components/MazTransitionExpand.vue.d.ts +6 -4
- package/types/modules/composables/use-form-validator/index.d.ts +5 -7
- package/types/modules/composables/use-form-validator/types.d.ts +16 -11
- package/types/modules/composables/use-form-validator/utils.d.ts +13 -13
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +2 -2
- package/components/chunks/MazSpinner-D1paofz3.mjs +0 -37
|
@@ -13,7 +13,10 @@ export interface Props {
|
|
|
13
13
|
label?: string;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
20
|
style: undefined;
|
|
18
21
|
class: undefined;
|
|
19
22
|
modelValue: undefined;
|
|
@@ -50,11 +53,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
53
|
value: string | number | boolean;
|
|
51
54
|
disabled: boolean;
|
|
52
55
|
color: Color;
|
|
53
|
-
class:
|
|
56
|
+
class: HTMLAttributes["class"];
|
|
54
57
|
modelValue: boolean | (string | number)[];
|
|
55
|
-
}, {}
|
|
56
|
-
|
|
57
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
58
60
|
export default _default;
|
|
59
61
|
type __VLS_WithDefaults<P, D> = {
|
|
60
62
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { type SVGAttributes } from 'vue';
|
|
1
2
|
import type { Color } from './types';
|
|
2
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
prefix?(_: {}): any;
|
|
6
|
+
suffix?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
9
|
/**
|
|
4
10
|
* The percentage value of the progress bar
|
|
5
11
|
*/
|
|
@@ -8,46 +14,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
14
|
* The size of the progress bar
|
|
9
15
|
* @default '10em' (equal 80px for a font-size of 16px)
|
|
10
16
|
*/
|
|
11
|
-
size?: string
|
|
17
|
+
size?: string;
|
|
12
18
|
/**
|
|
13
19
|
* Duration of the animation in milliseconds
|
|
14
20
|
* @default 1000
|
|
15
21
|
*/
|
|
16
|
-
duration?: number
|
|
22
|
+
duration?: number;
|
|
17
23
|
/**
|
|
18
24
|
* The color of the progress bar
|
|
19
25
|
*/
|
|
20
|
-
color?: Color
|
|
26
|
+
color?: Color;
|
|
21
27
|
/**
|
|
22
28
|
* Auto color based on the count (danger, warning, success)
|
|
23
29
|
* @default false
|
|
24
30
|
*/
|
|
25
|
-
autoColor?: boolean
|
|
31
|
+
autoColor?: boolean;
|
|
26
32
|
/**
|
|
27
33
|
* Suffix to display next to the number
|
|
28
34
|
*/
|
|
29
|
-
prefix?: string
|
|
35
|
+
prefix?: string;
|
|
30
36
|
/**
|
|
31
37
|
* Suffix to display next to the number
|
|
32
38
|
*/
|
|
33
|
-
suffix?: string
|
|
39
|
+
suffix?: string;
|
|
34
40
|
/**
|
|
35
41
|
* The stroke-linecap style
|
|
36
42
|
* @default 'round'
|
|
37
43
|
* @values 'butt', 'round', 'square', 'inherit'
|
|
38
44
|
*/
|
|
39
|
-
strokeLinecap?: "
|
|
45
|
+
strokeLinecap?: SVGAttributes["stroke-linecap"];
|
|
40
46
|
/**
|
|
41
47
|
* The stroke width
|
|
42
48
|
* @default 6
|
|
43
49
|
*/
|
|
44
|
-
strokeWidth?:
|
|
50
|
+
strokeWidth?: SVGAttributes["width"];
|
|
45
51
|
/**
|
|
46
52
|
* The stroke color
|
|
47
53
|
* Use this prop to override the gradient color
|
|
48
54
|
* You can use a color name or a color code
|
|
49
55
|
*/
|
|
50
|
-
stroke?:
|
|
56
|
+
stroke?: SVGAttributes["stroke"];
|
|
51
57
|
}>, {
|
|
52
58
|
percentage: number;
|
|
53
59
|
size: string;
|
|
@@ -67,46 +73,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
73
|
* The size of the progress bar
|
|
68
74
|
* @default '10em' (equal 80px for a font-size of 16px)
|
|
69
75
|
*/
|
|
70
|
-
size?: string
|
|
76
|
+
size?: string;
|
|
71
77
|
/**
|
|
72
78
|
* Duration of the animation in milliseconds
|
|
73
79
|
* @default 1000
|
|
74
80
|
*/
|
|
75
|
-
duration?: number
|
|
81
|
+
duration?: number;
|
|
76
82
|
/**
|
|
77
83
|
* The color of the progress bar
|
|
78
84
|
*/
|
|
79
|
-
color?: Color
|
|
85
|
+
color?: Color;
|
|
80
86
|
/**
|
|
81
87
|
* Auto color based on the count (danger, warning, success)
|
|
82
88
|
* @default false
|
|
83
89
|
*/
|
|
84
|
-
autoColor?: boolean
|
|
90
|
+
autoColor?: boolean;
|
|
85
91
|
/**
|
|
86
92
|
* Suffix to display next to the number
|
|
87
93
|
*/
|
|
88
|
-
prefix?: string
|
|
94
|
+
prefix?: string;
|
|
89
95
|
/**
|
|
90
96
|
* Suffix to display next to the number
|
|
91
97
|
*/
|
|
92
|
-
suffix?: string
|
|
98
|
+
suffix?: string;
|
|
93
99
|
/**
|
|
94
100
|
* The stroke-linecap style
|
|
95
101
|
* @default 'round'
|
|
96
102
|
* @values 'butt', 'round', 'square', 'inherit'
|
|
97
103
|
*/
|
|
98
|
-
strokeLinecap?: "
|
|
104
|
+
strokeLinecap?: SVGAttributes["stroke-linecap"];
|
|
99
105
|
/**
|
|
100
106
|
* The stroke width
|
|
101
107
|
* @default 6
|
|
102
108
|
*/
|
|
103
|
-
strokeWidth?:
|
|
109
|
+
strokeWidth?: SVGAttributes["width"];
|
|
104
110
|
/**
|
|
105
111
|
* The stroke color
|
|
106
112
|
* Use this prop to override the gradient color
|
|
107
113
|
* You can use a color name or a color code
|
|
108
114
|
*/
|
|
109
|
-
stroke?:
|
|
115
|
+
stroke?: SVGAttributes["stroke"];
|
|
110
116
|
}>, {
|
|
111
117
|
percentage: number;
|
|
112
118
|
size: string;
|
|
@@ -127,11 +133,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
127
133
|
percentage: number;
|
|
128
134
|
strokeLinecap: "round" | "inherit" | "square" | "butt";
|
|
129
135
|
strokeWidth: string | number;
|
|
130
|
-
}, {}
|
|
131
|
-
|
|
132
|
-
prefix?(_: {}): any;
|
|
133
|
-
suffix?(_: {}): any;
|
|
134
|
-
}>;
|
|
136
|
+
}, {}>;
|
|
137
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
135
138
|
export default _default;
|
|
136
139
|
type __VLS_WithDefaults<P, D> = {
|
|
137
140
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -17,17 +17,19 @@ export interface Props {
|
|
|
17
17
|
/** Persistent dialog (not closable by clicking outside and remove close button) */
|
|
18
18
|
persistent?: boolean;
|
|
19
19
|
}
|
|
20
|
-
declare
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
header?(_: {
|
|
22
|
+
close: any;
|
|
23
|
+
}): any;
|
|
24
|
+
title?(_: {}): any;
|
|
25
|
+
default?(_: {
|
|
26
|
+
close: any;
|
|
27
|
+
}): any;
|
|
28
|
+
footer?(_: {
|
|
29
|
+
close: any;
|
|
30
|
+
}): any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
|
|
31
33
|
title: undefined;
|
|
32
34
|
noClose: boolean;
|
|
33
35
|
width: string;
|
|
@@ -35,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
37
|
maxHeight: string;
|
|
36
38
|
scrollable: boolean;
|
|
37
39
|
persistent: boolean;
|
|
38
|
-
}
|
|
40
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
39
41
|
title: string;
|
|
40
42
|
width: string;
|
|
41
43
|
persistent: boolean;
|
|
@@ -43,18 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
45
|
maxWidth: string;
|
|
44
46
|
maxHeight: string;
|
|
45
47
|
scrollable: boolean;
|
|
46
|
-
}, {}
|
|
47
|
-
|
|
48
|
-
close: () => void;
|
|
49
|
-
}): any;
|
|
50
|
-
title?(_: {}): any;
|
|
51
|
-
default?(_: {
|
|
52
|
-
close: () => void;
|
|
53
|
-
}): any;
|
|
54
|
-
footer?(_: {
|
|
55
|
-
close: () => void;
|
|
56
|
-
}): any;
|
|
57
|
-
}>;
|
|
48
|
+
}, {}>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
58
50
|
export default _default;
|
|
59
51
|
type __VLS_WithDefaults<P, D> = {
|
|
60
52
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -70,43 +70,43 @@ declare function removeDialogFromState(identifier: string): {
|
|
|
70
70
|
id: string;
|
|
71
71
|
isActive: boolean;
|
|
72
72
|
resolve: (value: unknown) => void;
|
|
73
|
-
reject?: (
|
|
73
|
+
reject?: (reason?: unknown) => void;
|
|
74
74
|
}[];
|
|
75
75
|
export declare function useMazDialogPromise(): {
|
|
76
76
|
data: import("vue").Ref<{
|
|
77
|
-
title?: string
|
|
78
|
-
message?: string
|
|
79
|
-
cancelText?: string
|
|
77
|
+
title?: string;
|
|
78
|
+
message?: string;
|
|
79
|
+
cancelText?: string;
|
|
80
80
|
cancelButton?: false | {
|
|
81
|
-
text?: string
|
|
82
|
-
block?: boolean
|
|
83
|
-
color?: Color
|
|
84
|
-
disabled?: boolean
|
|
85
|
-
loading?: boolean
|
|
86
|
-
outline?: boolean
|
|
87
|
-
rounded?: boolean
|
|
88
|
-
size?: Size
|
|
81
|
+
text?: string;
|
|
82
|
+
block?: boolean;
|
|
83
|
+
color?: Color;
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
outline?: boolean;
|
|
87
|
+
rounded?: boolean;
|
|
88
|
+
size?: Size;
|
|
89
89
|
} | undefined;
|
|
90
|
-
confirmText?: string
|
|
90
|
+
confirmText?: string;
|
|
91
91
|
confirmButton?: false | {
|
|
92
|
-
text?: string
|
|
93
|
-
block?: boolean
|
|
94
|
-
color?: Color
|
|
95
|
-
disabled?: boolean
|
|
96
|
-
loading?: boolean
|
|
97
|
-
outline?: boolean
|
|
98
|
-
rounded?: boolean
|
|
99
|
-
size?: Size
|
|
92
|
+
text?: string;
|
|
93
|
+
block?: boolean;
|
|
94
|
+
color?: Color;
|
|
95
|
+
disabled?: boolean;
|
|
96
|
+
loading?: boolean;
|
|
97
|
+
outline?: boolean;
|
|
98
|
+
rounded?: boolean;
|
|
99
|
+
size?: Size;
|
|
100
100
|
} | undefined;
|
|
101
101
|
buttons?: {
|
|
102
102
|
text: string;
|
|
103
|
-
block?: boolean
|
|
104
|
-
color?: Color
|
|
105
|
-
disabled?: boolean
|
|
106
|
-
loading?: boolean
|
|
107
|
-
outline?: boolean
|
|
108
|
-
rounded?: boolean
|
|
109
|
-
size?: Size
|
|
103
|
+
block?: boolean;
|
|
104
|
+
color?: Color;
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
loading?: boolean;
|
|
107
|
+
outline?: boolean;
|
|
108
|
+
rounded?: boolean;
|
|
109
|
+
size?: Size;
|
|
110
110
|
type: "resolve" | "reject";
|
|
111
111
|
response?: unknown;
|
|
112
112
|
}[] | undefined;
|
|
@@ -115,7 +115,7 @@ export declare function useMazDialogPromise(): {
|
|
|
115
115
|
id: string;
|
|
116
116
|
isActive: boolean;
|
|
117
117
|
resolve: (value: unknown) => void;
|
|
118
|
-
reject?: (
|
|
118
|
+
reject?: (reason?: unknown) => void;
|
|
119
119
|
}[]>;
|
|
120
120
|
showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
|
|
121
121
|
removeDialogFromState: typeof removeDialogFromState;
|
|
@@ -10,7 +10,15 @@ export interface Props {
|
|
|
10
10
|
/** Disable the close button */
|
|
11
11
|
noClose?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
title?(_: {
|
|
15
|
+
close: any;
|
|
16
|
+
}): any;
|
|
17
|
+
default?(_: {
|
|
18
|
+
close: any;
|
|
19
|
+
}): any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
22
|
title: undefined;
|
|
15
23
|
variant: string;
|
|
16
24
|
backdropClass: undefined;
|
|
@@ -35,17 +43,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
43
|
}, {
|
|
36
44
|
size: string;
|
|
37
45
|
title: string;
|
|
38
|
-
variant: "
|
|
46
|
+
variant: "right" | "top" | "left" | "bottom";
|
|
39
47
|
backdropClass: string;
|
|
40
48
|
noClose: boolean;
|
|
41
|
-
}, {}
|
|
42
|
-
|
|
43
|
-
close: () => void;
|
|
44
|
-
}): any;
|
|
45
|
-
default?(_: {
|
|
46
|
-
close: () => void;
|
|
47
|
-
}): any;
|
|
48
|
-
}>;
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
51
|
export default _default;
|
|
50
52
|
type __VLS_WithDefaults<P, D> = {
|
|
51
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -47,7 +47,29 @@ export interface Props {
|
|
|
47
47
|
*/
|
|
48
48
|
screenReaderDescription?: string;
|
|
49
49
|
}
|
|
50
|
-
declare
|
|
50
|
+
declare function __VLS_template(): {
|
|
51
|
+
"screen-reader-description"?(_: {}): any;
|
|
52
|
+
element?(_: {
|
|
53
|
+
isOpen: boolean;
|
|
54
|
+
}): any;
|
|
55
|
+
default?(_: {}): any;
|
|
56
|
+
dropdown?(_: {
|
|
57
|
+
items: MenuItem[];
|
|
58
|
+
}): any;
|
|
59
|
+
menuitem?(_: {
|
|
60
|
+
item: MenuItem;
|
|
61
|
+
}): any;
|
|
62
|
+
"menuitem-label"?(_: {
|
|
63
|
+
item: MenuItem;
|
|
64
|
+
}): any;
|
|
65
|
+
"menuitem-label"?(_: {
|
|
66
|
+
item: MenuItem;
|
|
67
|
+
}): any;
|
|
68
|
+
"menuitem-label"?(_: {
|
|
69
|
+
item: MenuItem;
|
|
70
|
+
}): any;
|
|
71
|
+
};
|
|
72
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
51
73
|
class: undefined;
|
|
52
74
|
style: undefined;
|
|
53
75
|
items: () => never[];
|
|
@@ -76,32 +98,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
98
|
id: string;
|
|
77
99
|
position: Position;
|
|
78
100
|
color: Color;
|
|
79
|
-
class:
|
|
80
|
-
trigger: "click" | "
|
|
101
|
+
class: HTMLAttributes["class"];
|
|
102
|
+
trigger: "click" | "hover" | "both";
|
|
81
103
|
items: MenuItem[];
|
|
82
104
|
screenReaderDescription: string;
|
|
83
|
-
}, {}
|
|
84
|
-
|
|
85
|
-
element?(_: {
|
|
86
|
-
isOpen: boolean;
|
|
87
|
-
}): any;
|
|
88
|
-
default?(_: {}): any;
|
|
89
|
-
dropdown?(_: {
|
|
90
|
-
items: MenuItem[];
|
|
91
|
-
}): any;
|
|
92
|
-
menuitem?(_: {
|
|
93
|
-
item: MenuItem;
|
|
94
|
-
}): any;
|
|
95
|
-
"menuitem-label"?(_: {
|
|
96
|
-
item: MenuItem;
|
|
97
|
-
}): any;
|
|
98
|
-
"menuitem-label"?(_: {
|
|
99
|
-
item: MenuItem;
|
|
100
|
-
}): any;
|
|
101
|
-
"menuitem-label"?(_: {
|
|
102
|
-
item: MenuItem;
|
|
103
|
-
}): any;
|
|
104
|
-
}>;
|
|
105
|
+
}, {}>;
|
|
106
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
105
107
|
export default _default;
|
|
106
108
|
type __VLS_WithDefaults<P, D> = {
|
|
107
109
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -37,11 +37,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
height: {
|
|
40
|
-
type: PropType<
|
|
40
|
+
type: PropType<number | string>;
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
width: {
|
|
44
|
-
type: PropType<
|
|
44
|
+
type: PropType<number | string>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
noDestroyOnUnmount: {
|
|
@@ -58,33 +58,33 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
}>;
|
|
59
59
|
setOption: (option: string, value: unknown) => MazDropzoneOptions;
|
|
60
60
|
manuallyAddFile: (file: DropzoneFile, fileUrl: string) => void;
|
|
61
|
-
removeAllFiles: (cancelIfNecessary?: boolean
|
|
61
|
+
removeAllFiles: (cancelIfNecessary?: boolean) => void;
|
|
62
62
|
processQueue: () => void;
|
|
63
|
-
destroy: () =>
|
|
63
|
+
destroy: () => Dropzone;
|
|
64
64
|
disable: () => void;
|
|
65
65
|
enable: () => void;
|
|
66
|
-
accept: (file: DropzoneFile, done: (error?: string | Error
|
|
67
|
-
addFile: (file: DropzoneFile) => void;
|
|
68
|
-
resizeImage: (file: DropzoneFile, width?: number
|
|
69
|
-
cancelUpload: (file: DropzoneFile) => void;
|
|
66
|
+
accept: (file: Dropzone.DropzoneFile, done: (error?: string | Error) => void) => void;
|
|
67
|
+
addFile: (file: Dropzone.DropzoneFile) => void;
|
|
68
|
+
resizeImage: (file: Dropzone.DropzoneFile, width?: number, height?: number, resizeMethod?: string, callback?: ((...args: any[]) => void) | undefined) => void;
|
|
69
|
+
cancelUpload: (file: Dropzone.DropzoneFile) => void;
|
|
70
70
|
getAcceptedFiles: () => MazDropzoneFile[];
|
|
71
71
|
getRejectedFiles: () => MazDropzoneFile[];
|
|
72
|
-
getFilesWithStatus: (status: string) => DropzoneFile[];
|
|
73
|
-
getQueuedFiles: () => DropzoneFile[];
|
|
74
|
-
getUploadingFiles: () => DropzoneFile[];
|
|
75
|
-
getAddedFiles: () => DropzoneFile[];
|
|
76
|
-
getActiveFiles: () => DropzoneFile[];
|
|
72
|
+
getFilesWithStatus: (status: string) => Dropzone.DropzoneFile[];
|
|
73
|
+
getQueuedFiles: () => Dropzone.DropzoneFile[];
|
|
74
|
+
getUploadingFiles: () => Dropzone.DropzoneFile[];
|
|
75
|
+
getAddedFiles: () => Dropzone.DropzoneFile[];
|
|
76
|
+
getActiveFiles: () => Dropzone.DropzoneFile[];
|
|
77
77
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("dragend" | "dragenter" | "dragleave" | "dragover" | "dragstart" | "drop" | "error" | "paste" | "reset" | "success" | "thumbnail" | "addedfile" | "addedfiles" | "removedfile" | "processing" | "processingmultiple" | "uploadprogress" | "totaluploadprogress" | "sending" | "sendingmultiple" | "canceled" | "canceledmultiple" | "complete" | "completemultiple" | "maxfilesexceeded" | "maxfilesreached" | "queuecomplete")[], "dragend" | "dragenter" | "dragleave" | "dragover" | "dragstart" | "drop" | "error" | "paste" | "reset" | "success" | "thumbnail" | "addedfile" | "addedfiles" | "removedfile" | "processing" | "processingmultiple" | "uploadprogress" | "totaluploadprogress" | "sending" | "sendingmultiple" | "canceled" | "canceledmultiple" | "complete" | "completemultiple" | "maxfilesexceeded" | "maxfilesreached" | "queuecomplete", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
78
|
options: {
|
|
79
79
|
type: PropType<MazDropzoneOptions>;
|
|
80
80
|
required: true;
|
|
81
81
|
};
|
|
82
82
|
height: {
|
|
83
|
-
type: PropType<
|
|
83
|
+
type: PropType<number | string>;
|
|
84
84
|
default: string;
|
|
85
85
|
};
|
|
86
86
|
width: {
|
|
87
|
-
type: PropType<
|
|
87
|
+
type: PropType<number | string>;
|
|
88
88
|
default: string;
|
|
89
89
|
};
|
|
90
90
|
noDestroyOnUnmount: {
|
|
@@ -14,7 +14,10 @@ declare let __VLS_typeProps: Props;
|
|
|
14
14
|
type __VLS_PublicProps = {
|
|
15
15
|
modelValue?: boolean;
|
|
16
16
|
} & typeof __VLS_typeProps;
|
|
17
|
-
declare
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
18
21
|
duration: string;
|
|
19
22
|
timingFunction: string;
|
|
20
23
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -27,9 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
30
|
}, {
|
|
28
31
|
duration: string;
|
|
29
32
|
timingFunction: string;
|
|
30
|
-
}, {}
|
|
31
|
-
|
|
32
|
-
}>;
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
35
|
export default _default;
|
|
34
36
|
type __VLS_WithDefaults<P, D> = {
|
|
35
37
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -5,7 +5,10 @@ export interface Props {
|
|
|
5
5
|
/** The size of the spinner */
|
|
6
6
|
size?: string;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
9
12
|
color: string;
|
|
10
13
|
size: string;
|
|
11
14
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -14,9 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
17
|
}>>>, {
|
|
15
18
|
size: string;
|
|
16
19
|
color: Color;
|
|
17
|
-
}, {}
|
|
18
|
-
|
|
19
|
-
}>;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
22
|
export default _default;
|
|
21
23
|
type __VLS_WithDefaults<P, D> = {
|
|
22
24
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
/** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
|
|
29
29
|
transformSource: {
|
|
30
|
-
type: PropType<(param: SVGElement) =>
|
|
30
|
+
type: PropType<(param: SVGElement) => typeof param>;
|
|
31
31
|
default: (svg: SVGElement) => SVGElement;
|
|
32
32
|
};
|
|
33
33
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -62,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
};
|
|
63
63
|
/** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
|
|
64
64
|
transformSource: {
|
|
65
|
-
type: PropType<(param: SVGElement) =>
|
|
65
|
+
type: PropType<(param: SVGElement) => typeof param>;
|
|
66
66
|
default: (svg: SVGElement) => SVGElement;
|
|
67
67
|
};
|
|
68
68
|
}>> & {
|
|
@@ -75,6 +75,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
name: string;
|
|
76
76
|
src: string;
|
|
77
77
|
path: string;
|
|
78
|
-
transformSource: (param: SVGElement) =>
|
|
78
|
+
transformSource: (param: SVGElement) => typeof param;
|
|
79
79
|
}, {}>;
|
|
80
80
|
export default _default;
|