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.
Files changed (159) hide show
  1. package/components/MazAccordion.d.ts +12 -10
  2. package/components/MazAnimatedCounter.d.ts +15 -13
  3. package/components/MazAvatar.d.ts +9 -7
  4. package/components/MazBackdrop.d.ts +12 -21
  5. package/components/MazBadge.d.ts +6 -4
  6. package/components/MazBottomSheet.d.ts +8 -6
  7. package/components/MazBtn.d.ts +12 -10
  8. package/components/MazCard.d.ts +16 -14
  9. package/components/MazCard.mjs +1 -1
  10. package/components/MazCardSpotlight.d.ts +7 -5
  11. package/components/MazCarousel.d.ts +9 -7
  12. package/components/MazChart.d.ts +6 -6
  13. package/components/MazCheckbox.d.ts +7 -5
  14. package/components/MazCircularProgressBar.d.ts +27 -24
  15. package/components/MazDialog.d.ts +16 -24
  16. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
  17. package/components/MazDrawer.d.ts +12 -10
  18. package/components/MazDropdown.d.ts +27 -25
  19. package/components/MazDropzone.d.ts +15 -15
  20. package/components/MazExpandAnimation.d.ts +6 -4
  21. package/components/MazFullscreenLoader.d.ts +6 -4
  22. package/components/MazIcon.d.ts +3 -3
  23. package/components/MazInput.d.ts +15 -133
  24. package/components/MazInputCode.d.ts +2 -2
  25. package/components/MazInputNumber.d.ts +2 -2
  26. package/components/MazInputPrice.d.ts +7 -5
  27. package/components/MazInputTags.d.ts +1 -1
  28. package/components/MazLazyImg.d.ts +9 -7
  29. package/components/MazLink.d.ts +10 -8
  30. package/components/MazPagination.d.ts +20 -18
  31. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
  32. package/components/MazPhoneNumberInput.d.ts +17 -25
  33. package/components/MazPhoneNumberInput.mjs +1 -1
  34. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
  35. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
  36. package/components/MazPicker.d.ts +1 -1
  37. package/components/MazPicker.mjs +1 -1
  38. package/components/MazPullToRefresh.d.ts +9 -7
  39. package/components/MazRadio.d.ts +27 -24
  40. package/components/MazRadioButtons.d.ts +10 -8
  41. package/components/MazReadingProgressBar.d.ts +1 -1
  42. package/components/MazSelect.d.ts +16 -125
  43. package/components/MazSelect.mjs +1 -1
  44. package/components/MazStepper.d.ts +10 -8
  45. package/components/MazSwitch.d.ts +9 -7
  46. package/components/MazTable.d.ts +67 -65
  47. package/components/MazTable.mjs +1 -1
  48. package/components/MazTableCell.d.ts +4 -2
  49. package/components/MazTableRow.d.ts +4 -2
  50. package/components/MazTableTitle.d.ts +4 -2
  51. package/components/MazTabs.d.ts +6 -4
  52. package/components/MazTabsBar.d.ts +18 -16
  53. package/components/MazTabsContent.d.ts +4 -2
  54. package/components/MazTabsContentItem.d.ts +6 -4
  55. package/components/MazTextarea.d.ts +1 -1
  56. package/components/MazTransitionExpand.d.ts +6 -4
  57. package/components/MazTransitionExpand.mjs +2 -2
  58. package/components/assets/MazPhoneNumberInput.css +1 -1
  59. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  60. package/components/assets/MazPickerYearSwitcher.css +1 -1
  61. package/components/assets/MazSelect.css +1 -1
  62. package/components/assets/MazTable.css +1 -1
  63. package/components/assets/MazTabsBar.css +1 -1
  64. package/components/assets/MazTransitionExpand.css +1 -1
  65. package/components/chunks/{MazBtn-B5XwteK7.mjs → MazBtn-BURByjBO.mjs} +2 -2
  66. package/components/chunks/{MazBtn-CQSo596y.mjs → MazBtn-D1TNsXIe.mjs} +2 -2
  67. package/components/chunks/{MazBtn-gj2W8kzn.mjs → MazBtn-YtY4PeyZ.mjs} +2 -2
  68. package/components/chunks/{MazCard-BBwohtCJ.mjs → MazCard-BiDXoNWK.mjs} +1 -1
  69. package/components/chunks/{MazCheckbox-isKq9dAX.mjs → MazCheckbox-BMzMZ-_l.mjs} +1 -1
  70. package/components/chunks/{MazCheckbox-CqHZNrGa.mjs → MazCheckbox-B_Rx3ZCe.mjs} +1 -1
  71. package/components/chunks/{MazGallery-Din0Z37d.mjs → MazGallery-SSMQ_JIA.mjs} +2 -2
  72. package/components/chunks/{MazIcon-D2DkwtXq.mjs → MazIcon-CwITLbPL.mjs} +1 -1
  73. package/components/chunks/{MazIcon-DHzZGzIp.mjs → MazIcon-x_aGvHlZ.mjs} +1 -1
  74. package/components/chunks/{MazPhoneNumberInput-CYcy4OZW.mjs → MazPhoneNumberInput-fo2MtuWB.mjs} +6 -6
  75. package/components/chunks/{MazPicker-DCTIkgDd.mjs → MazPicker-Df-LRtwz.mjs} +2 -2
  76. package/components/chunks/{MazPickerMonthSwitcher-CINBaU3n.mjs → MazPickerMonthSwitcher-CrrfUDPA.mjs} +2 -2
  77. package/components/chunks/{MazPickerShortcuts-vvPV1aW8.mjs → MazPickerShortcuts-Dpm1ra_Y.mjs} +1 -1
  78. package/components/chunks/{MazPickerYearSwitcher-CkqFNhde.mjs → MazPickerYearSwitcher-BIeGuXI7.mjs} +2 -2
  79. package/components/chunks/{MazSelect-DvNLFDvj.mjs → MazSelect-xBiD7HuJ.mjs} +6 -6
  80. package/components/chunks/{MazSpinner-C7s8yroP.mjs → MazSpinner-C5MXwcx7.mjs} +1 -1
  81. package/components/chunks/{MazSpinner-BVd7-OTu.mjs → MazSpinner-CrDTibNk.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-CpYgtvc9.mjs → MazSpinner-CvucKhXp.mjs} +1 -1
  83. package/components/chunks/MazSpinner-DDmCKWOx.mjs +37 -0
  84. package/components/chunks/{MazSpinner-CAG800x4.mjs → MazSpinner-QIX5R4Hk.mjs} +1 -1
  85. package/components/chunks/{MazTable-BN-Yp2RW.mjs → MazTable-1D7GRSpa.mjs} +6 -6
  86. package/components/chunks/{MazTransitionExpand-CYyEf_hd.mjs → MazTransitionExpand-BLFZPAt_.mjs} +11 -11
  87. package/modules/assets/index.css +1 -1
  88. package/modules/chunks/{MazBtn-BVqZ8Wej.cjs → MazBtn-BLvj2Vcl.cjs} +1 -1
  89. package/modules/chunks/{MazBtn-Cuj6yEZn.mjs → MazBtn-DhVNaOBj.mjs} +2 -2
  90. package/modules/chunks/{MazIcon-CyWCmQpN.cjs → MazIcon-BhCADEJL.cjs} +1 -1
  91. package/modules/chunks/{MazIcon-COFexHFo.mjs → MazIcon-ZPJHGsC7.mjs} +1 -1
  92. package/modules/chunks/{MazSpinner-BtXwGTnk.mjs → MazSpinner-Dx_yL6x9.mjs} +1 -1
  93. package/modules/chunks/{MazSpinner-Dz0kdTmr.cjs → MazSpinner-OdoRwyjg.cjs} +1 -1
  94. package/modules/chunks/{index-DW2zAKgR.cjs → index-BT3W7L22.cjs} +2 -2
  95. package/modules/chunks/{index-BBOf37yd.mjs → index-CgWq2KzW.mjs} +363 -360
  96. package/modules/index.cjs +1 -1
  97. package/modules/index.mjs +1 -1
  98. package/nuxt/index.json +2 -2
  99. package/nuxt/types.d.mts +4 -23
  100. package/nuxt/types.d.ts +4 -23
  101. package/package.json +25 -25
  102. package/types/components/MazAccordion.vue.d.ts +12 -10
  103. package/types/components/MazAnimatedCounter.vue.d.ts +15 -13
  104. package/types/components/MazAvatar.vue.d.ts +9 -7
  105. package/types/components/MazBackdrop.vue.d.ts +12 -21
  106. package/types/components/MazBadge.vue.d.ts +6 -4
  107. package/types/components/MazBottomSheet.vue.d.ts +8 -6
  108. package/types/components/MazBtn.vue.d.ts +12 -10
  109. package/types/components/MazCard.vue.d.ts +16 -14
  110. package/types/components/MazCardSpotlight.vue.d.ts +7 -5
  111. package/types/components/MazCarousel.vue.d.ts +9 -7
  112. package/types/components/MazChart.vue.d.ts +6 -6
  113. package/types/components/MazCheckbox.vue.d.ts +7 -5
  114. package/types/components/MazCircularProgressBar.vue.d.ts +27 -24
  115. package/types/components/MazDialog.vue.d.ts +16 -24
  116. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
  117. package/types/components/MazDrawer.vue.d.ts +12 -10
  118. package/types/components/MazDropdown.vue.d.ts +27 -25
  119. package/types/components/MazDropzone.vue.d.ts +15 -15
  120. package/types/components/MazExpandAnimation.vue.d.ts +6 -4
  121. package/types/components/MazFullscreenLoader.vue.d.ts +6 -4
  122. package/types/components/MazIcon.vue.d.ts +3 -3
  123. package/types/components/MazInput.vue.d.ts +15 -133
  124. package/types/components/MazInputCode.vue.d.ts +2 -2
  125. package/types/components/MazInputNumber.vue.d.ts +2 -2
  126. package/types/components/MazInputPrice.vue.d.ts +7 -5
  127. package/types/components/MazInputTags.vue.d.ts +1 -1
  128. package/types/components/MazLazyImg.vue.d.ts +9 -7
  129. package/types/components/MazLink.vue.d.ts +10 -8
  130. package/types/components/MazPagination.vue.d.ts +20 -18
  131. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
  132. package/types/components/MazPhoneNumberInput.vue.d.ts +17 -25
  133. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
  134. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
  135. package/types/components/MazPicker.vue.d.ts +1 -1
  136. package/types/components/MazPullToRefresh.vue.d.ts +9 -7
  137. package/types/components/MazRadio.vue.d.ts +27 -24
  138. package/types/components/MazRadioButtons.vue.d.ts +10 -8
  139. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  140. package/types/components/MazSelect.vue.d.ts +16 -125
  141. package/types/components/MazStepper.vue.d.ts +10 -8
  142. package/types/components/MazSwitch.vue.d.ts +9 -7
  143. package/types/components/MazTable.vue.d.ts +67 -65
  144. package/types/components/MazTableCell.vue.d.ts +4 -2
  145. package/types/components/MazTableRow.vue.d.ts +4 -2
  146. package/types/components/MazTableTitle.vue.d.ts +4 -2
  147. package/types/components/MazTabs.vue.d.ts +6 -4
  148. package/types/components/MazTabsBar.vue.d.ts +18 -16
  149. package/types/components/MazTabsContent.vue.d.ts +4 -2
  150. package/types/components/MazTabsContentItem.vue.d.ts +6 -4
  151. package/types/components/MazTextarea.vue.d.ts +1 -1
  152. package/types/components/MazTransitionExpand.vue.d.ts +6 -4
  153. package/types/modules/composables/use-form-validator/index.d.ts +5 -7
  154. package/types/modules/composables/use-form-validator/types.d.ts +16 -11
  155. package/types/modules/composables/use-form-validator/utils.d.ts +13 -13
  156. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  157. package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
  158. package/types/tailwindcss/tailwind.config.d.ts +2 -2
  159. package/components/chunks/MazSpinner-D1paofz3.mjs +0 -37
@@ -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 const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
21
- title: undefined;
22
- noClose: boolean;
23
- width: string;
24
- maxWidth: string;
25
- maxHeight: string;
26
- scrollable: boolean;
27
- persistent: boolean;
28
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- [x: string]: (...args: unknown[]) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
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
- header?(_: {
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?: ((reason?: unknown) => void) | undefined;
73
+ reject?: (reason?: unknown) => void;
74
74
  }[];
75
75
  export declare function useMazDialogPromise(): {
76
76
  data: import("vue").Ref<{
77
- title?: string | undefined;
78
- message?: string | undefined;
79
- cancelText?: string | undefined;
77
+ title?: string;
78
+ message?: string;
79
+ cancelText?: string;
80
80
  cancelButton?: false | {
81
- text?: string | undefined;
82
- block?: boolean | undefined;
83
- color?: Color | undefined;
84
- disabled?: boolean | undefined;
85
- loading?: boolean | undefined;
86
- outline?: boolean | undefined;
87
- rounded?: boolean | undefined;
88
- size?: Size | undefined;
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 | undefined;
90
+ confirmText?: string;
91
91
  confirmButton?: false | {
92
- text?: string | undefined;
93
- block?: boolean | undefined;
94
- color?: Color | undefined;
95
- disabled?: boolean | undefined;
96
- loading?: boolean | undefined;
97
- outline?: boolean | undefined;
98
- rounded?: boolean | undefined;
99
- size?: Size | undefined;
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 | undefined;
104
- color?: Color | undefined;
105
- disabled?: boolean | undefined;
106
- loading?: boolean | undefined;
107
- outline?: boolean | undefined;
108
- rounded?: boolean | undefined;
109
- size?: Size | undefined;
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?: ((reason?: unknown) => void) | undefined;
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 const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
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: "top" | "bottom" | "left" | "right";
46
+ variant: "right" | "top" | "left" | "bottom";
39
47
  backdropClass: string;
40
48
  noClose: boolean;
41
- }, {}>, {
42
- title?(_: {
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 const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
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: any;
80
- trigger: "click" | "both" | "hover";
101
+ class: HTMLAttributes["class"];
102
+ trigger: "click" | "hover" | "both";
81
103
  items: MenuItem[];
82
104
  screenReaderDescription: string;
83
- }, {}>, {
84
- "screen-reader-description"?(_: {}): any;
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<string | number>;
40
+ type: PropType<number | string>;
41
41
  default: string;
42
42
  };
43
43
  width: {
44
- type: PropType<string | number>;
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 | undefined) => void;
61
+ removeAllFiles: (cancelIfNecessary?: boolean) => void;
62
62
  processQueue: () => void;
63
- destroy: () => import("dropzone");
63
+ destroy: () => Dropzone;
64
64
  disable: () => void;
65
65
  enable: () => void;
66
- accept: (file: DropzoneFile, done: (error?: string | Error | undefined) => void) => void;
67
- addFile: (file: DropzoneFile) => void;
68
- resizeImage: (file: DropzoneFile, width?: number | undefined, height?: number | undefined, resizeMethod?: string | undefined, callback?: ((...args: any[]) => void) | undefined) => void;
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<string | number>;
83
+ type: PropType<number | string>;
84
84
  default: string;
85
85
  };
86
86
  width: {
87
- type: PropType<string | number>;
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 const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
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
- default?(_: {}): any;
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 const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
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
- default?(_: {}): any;
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) => 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) => 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) => SVGElement;
78
+ transformSource: (param: SVGElement) => typeof param;
79
79
  }, {}>;
80
80
  export default _default;
@@ -81,152 +81,34 @@ export interface Props<T = ModelValueSimple> {
81
81
  /** The input will be displayed in full width */
82
82
  block?: boolean;
83
83
  }
84
- declare const _default: <T extends ModelValueSimple>(__VLS_props: {
85
- onFocus?: ((event: Event) => any) | undefined;
86
- onBlur?: ((event: Event) => any) | undefined;
87
- onChange?: ((event: Event) => any) | undefined;
88
- onInput?: ((event: Event) => any) | undefined;
89
- onClick?: ((event: Event) => any) | undefined;
90
- "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
91
- style?: import("vue").StyleValue;
92
- class?: any;
93
- modelValue?: T | undefined;
94
- placeholder?: string | undefined;
95
- label?: string | undefined;
96
- name?: string | undefined;
97
- color?: Color | undefined;
98
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
99
- required?: boolean | undefined;
100
- disabled?: boolean | undefined;
101
- readonly?: boolean | undefined;
102
- id?: string | undefined;
103
- error?: boolean | undefined;
104
- success?: boolean | undefined;
105
- warning?: boolean | undefined;
106
- hint?: string | undefined;
107
- inputClasses?: string | undefined;
108
- noBorder?: boolean | undefined;
109
- noRadius?: boolean | undefined;
110
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
111
- size?: Size | undefined;
112
- debounce?: number | boolean | undefined;
113
- debounceDelay?: number | undefined;
114
- validButton?: boolean | undefined;
115
- validButtonLoading?: boolean | undefined;
116
- autoFocus?: boolean | undefined;
117
- borderActive?: boolean | undefined;
118
- leftIcon?: string | Icon | undefined;
119
- rightIcon?: string | Icon | undefined;
120
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
121
- block?: boolean | undefined;
122
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
123
- attrs: any;
124
- slots: {
125
- "left-icon"?(_: {}): any;
126
- "right-icon"?(_: {}): any;
127
- "valid-button"?(_: {}): any;
128
- };
129
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
130
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
131
- props: {
84
+ declare const _default: <T extends ModelValueSimple>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
85
+ props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
86
+ onFocus?: ((event: Event) => any) | undefined;
87
+ onBlur?: ((event: Event) => any) | undefined;
88
+ onChange?: ((event: Event) => any) | undefined;
89
+ onInput?: ((event: Event) => any) | undefined;
90
+ onClick?: ((event: Event) => any) | undefined;
91
+ "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
92
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & {
132
93
  onFocus?: ((event: Event) => any) | undefined;
133
94
  onBlur?: ((event: Event) => any) | undefined;
134
95
  onChange?: ((event: Event) => any) | undefined;
135
96
  onInput?: ((event: Event) => any) | undefined;
136
97
  onClick?: ((event: Event) => any) | undefined;
137
98
  "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
138
- style?: import("vue").StyleValue;
139
- class?: any;
140
- modelValue?: T | undefined;
141
- placeholder?: string | undefined;
142
- label?: string | undefined;
143
- name?: string | undefined;
144
- color?: Color | undefined;
145
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
146
- required?: boolean | undefined;
147
- disabled?: boolean | undefined;
148
- readonly?: boolean | undefined;
149
- id?: string | undefined;
150
- error?: boolean | undefined;
151
- success?: boolean | undefined;
152
- warning?: boolean | undefined;
153
- hint?: string | undefined;
154
- inputClasses?: string | undefined;
155
- noBorder?: boolean | undefined;
156
- noRadius?: boolean | undefined;
157
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
158
- size?: Size | undefined;
159
- debounce?: number | boolean | undefined;
160
- debounceDelay?: number | undefined;
161
- validButton?: boolean | undefined;
162
- validButtonLoading?: boolean | undefined;
163
- autoFocus?: boolean | undefined;
164
- borderActive?: boolean | undefined;
165
- leftIcon?: string | Icon | undefined;
166
- rightIcon?: string | Icon | undefined;
167
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
168
- block?: boolean | undefined;
169
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
170
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
99
+ }, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClick" | "onUpdate:model-value"> & Props<T>> & __VLS_BuiltInPublicProps;
100
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
171
101
  attrs: any;
172
- slots: {
102
+ slots: ReturnType<() => {
173
103
  "left-icon"?(_: {}): any;
174
104
  "right-icon"?(_: {}): any;
175
105
  "valid-button"?(_: {}): any;
176
- };
177
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
106
+ }>;
107
+ emit: (((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void)) & {};
178
108
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
179
109
  [key: string]: any;
180
110
  }> & {
181
- __ctx?: {
182
- props: {
183
- onFocus?: ((event: Event) => any) | undefined;
184
- onBlur?: ((event: Event) => any) | undefined;
185
- onChange?: ((event: Event) => any) | undefined;
186
- onInput?: ((event: Event) => any) | undefined;
187
- onClick?: ((event: Event) => any) | undefined;
188
- "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
189
- style?: import("vue").StyleValue;
190
- class?: any;
191
- modelValue?: T | undefined;
192
- placeholder?: string | undefined;
193
- label?: string | undefined;
194
- name?: string | undefined;
195
- color?: Color | undefined;
196
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
197
- required?: boolean | undefined;
198
- disabled?: boolean | undefined;
199
- readonly?: boolean | undefined;
200
- id?: string | undefined;
201
- error?: boolean | undefined;
202
- success?: boolean | undefined;
203
- warning?: boolean | undefined;
204
- hint?: string | undefined;
205
- inputClasses?: string | undefined;
206
- noBorder?: boolean | undefined;
207
- noRadius?: boolean | undefined;
208
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
209
- size?: Size | undefined;
210
- debounce?: number | boolean | undefined;
211
- debounceDelay?: number | undefined;
212
- validButton?: boolean | undefined;
213
- validButtonLoading?: boolean | undefined;
214
- autoFocus?: boolean | undefined;
215
- borderActive?: boolean | undefined;
216
- leftIcon?: string | Icon | undefined;
217
- rightIcon?: string | Icon | undefined;
218
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
219
- block?: boolean | undefined;
220
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
221
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
222
- attrs: any;
223
- slots: {
224
- "left-icon"?(_: {}): any;
225
- "right-icon"?(_: {}): any;
226
- "valid-button"?(_: {}): any;
227
- };
228
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
229
- } | undefined;
111
+ __ctx?: Awaited<typeof __VLS_setup>;
230
112
  };
231
113
  export default _default;
232
114
  type __VLS_Prettify<T> = {
@@ -70,10 +70,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
70
70
  error: boolean;
71
71
  success: boolean;
72
72
  warning: boolean;
73
- type: "number" | "text";
73
+ type: "text" | "number";
74
74
  disabled: boolean;
75
75
  color: Color;
76
- class: any;
76
+ class: HTMLAttributes["class"];
77
77
  required: boolean;
78
78
  modelValue: string | number;
79
79
  codeLength: number;
@@ -67,12 +67,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
67
67
  size: Size;
68
68
  style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
69
69
  disabled: boolean;
70
- class: any;
70
+ class: HTMLAttributes["class"];
71
71
  max: number;
72
72
  min: number;
73
73
  modelValue: number;
74
74
  step: number;
75
- inputmode: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal";
75
+ inputmode: "search" | "text" | "decimal" | "numeric" | "none" | "email" | "tel" | "url";
76
76
  noButtons: boolean;
77
77
  textCenter: boolean;
78
78
  }, {}>;
@@ -14,7 +14,10 @@ export interface Props {
14
14
  /** The input will be displayed in full width */
15
15
  block?: boolean;
16
16
  }
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
+ declare function __VLS_template(): {
18
+ "left-icon"?(_: {}): any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
21
  modelValue: undefined;
19
22
  currency: string;
20
23
  locale: string;
@@ -38,12 +41,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
38
41
  currency: string;
39
42
  max: number;
40
43
  min: number;
41
- modelValue: string | number;
44
+ modelValue: number | string;
42
45
  locale: string;
43
46
  noIcon: boolean;
44
- }, {}>, {
45
- "left-icon"?(_: {}): any;
46
- }>;
47
+ }, {}>;
48
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
47
49
  export default _default;
48
50
  type __VLS_WithDefaults<P, D> = {
49
51
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
68
68
  warning: boolean;
69
69
  disabled: boolean;
70
70
  color: Color;
71
- class: any;
71
+ class: HTMLAttributes["class"];
72
72
  modelValue: string[] | number[];
73
73
  placeholder: string;
74
74
  addTagsOnBlur: boolean;