maz-ui 3.11.3 → 3.12.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.
Files changed (358) hide show
  1. package/components/MazAvatar.d.ts +154 -0
  2. package/components/MazBackdrop.d.ts +91 -0
  3. package/components/MazBadge.d.ts +73 -0
  4. package/components/MazBottomSheet.d.ts +36 -0
  5. package/components/MazBtn.d.ts +195 -0
  6. package/components/MazCard.d.ts +194 -0
  7. package/components/MazCarousel.d.ts +24 -0
  8. package/components/MazChart.d.ts +95 -0
  9. package/components/MazCheckbox.d.ts +52 -0
  10. package/components/MazDialog.d.ts +91 -0
  11. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  12. package/components/MazDialogPromise.d.ts +72 -0
  13. package/components/MazDrawer.d.ts +69 -0
  14. package/components/MazDropzone.d.ts +128 -0
  15. package/components/MazGallery.d.ts +125 -0
  16. package/components/MazIcon.d.ts +64 -0
  17. package/components/MazInput.d.ts +271 -0
  18. package/components/MazInputNumber.d.ts +65 -0
  19. package/components/MazInputPrice.d.ts +69 -0
  20. package/components/MazInputTags.d.ts +92 -0
  21. package/components/MazLazyImg.d.ts +77 -0
  22. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
  23. package/components/MazPhoneNumberInput/types.d.ts +21 -0
  24. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
  25. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
  26. package/components/MazPhoneNumberInput.d.ts +251 -0
  27. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -0
  28. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  29. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -0
  30. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -0
  31. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -0
  32. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -0
  33. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  34. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  35. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -0
  36. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -0
  37. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -0
  38. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -0
  39. package/components/MazPicker/types.d.ts +15 -0
  40. package/components/MazPicker/utils.d.ts +54 -0
  41. package/components/MazPicker.d.ts +309 -0
  42. package/components/MazRadioButtons.d.ts +77 -0
  43. package/components/MazSelect.d.ts +184 -0
  44. package/components/MazSlider/utils.d.ts +15 -0
  45. package/components/MazSlider.d.ts +92 -0
  46. package/components/MazSpinner.d.ts +26 -0
  47. package/components/MazStepper.d.ts +112 -0
  48. package/components/MazSwitch.d.ts +54 -0
  49. package/components/MazTabs.d.ts +28 -0
  50. package/components/MazTabsBar.d.ts +55 -0
  51. package/components/MazTabsContent.d.ts +9 -0
  52. package/components/MazTabsContentItem.d.ts +19 -0
  53. package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
  54. package/components/MazTextarea.d.ts +121 -0
  55. package/components/MazTransitionExpand.d.ts +9 -0
  56. package/components/component-list.d.ts +1 -0
  57. package/components/index.d.ts +35 -0
  58. package/components/types.d.ts +17 -0
  59. package/icons/academic-cap.svg +5 -0
  60. package/icons/adjustments-horizontal.svg +5 -0
  61. package/icons/adjustments-vertical.svg +5 -0
  62. package/icons/archive-box-arrow-down.svg +5 -0
  63. package/icons/archive-box-x-mark.svg +5 -0
  64. package/icons/archive-box.svg +5 -0
  65. package/icons/arrow-down-circle.svg +5 -0
  66. package/icons/arrow-down-left.svg +4 -0
  67. package/icons/arrow-down-on-square-stack.svg +5 -0
  68. package/icons/arrow-down-on-square.svg +5 -0
  69. package/icons/arrow-down-right.svg +4 -0
  70. package/icons/arrow-down-tray.svg +5 -0
  71. package/icons/arrow-down.svg +4 -0
  72. package/icons/arrow-left-circle.svg +5 -0
  73. package/icons/arrow-left-on-rectangle.svg +5 -0
  74. package/icons/arrow-left.svg +4 -0
  75. package/icons/arrow-long-down.svg +4 -0
  76. package/icons/arrow-long-left.svg +4 -0
  77. package/icons/arrow-long-right.svg +4 -0
  78. package/icons/arrow-long-up.svg +4 -0
  79. package/icons/arrow-path-rounded-square.svg +5 -0
  80. package/icons/arrow-path.svg +5 -0
  81. package/icons/arrow-right-circle.svg +5 -0
  82. package/icons/arrow-right-on-rectangle.svg +5 -0
  83. package/icons/arrow-right.svg +4 -0
  84. package/icons/arrow-small-down.svg +4 -0
  85. package/icons/arrow-small-left.svg +4 -0
  86. package/icons/arrow-small-right.svg +4 -0
  87. package/icons/arrow-small-up.svg +4 -0
  88. package/icons/arrow-top-right-on-square.svg +5 -0
  89. package/icons/arrow-trending-down.svg +5 -0
  90. package/icons/arrow-trending-up.svg +5 -0
  91. package/icons/arrow-up-circle.svg +5 -0
  92. package/icons/arrow-up-left.svg +4 -0
  93. package/icons/arrow-up-on-square-stack.svg +5 -0
  94. package/icons/arrow-up-on-square.svg +5 -0
  95. package/icons/arrow-up-right.svg +4 -0
  96. package/icons/arrow-up-tray.svg +5 -0
  97. package/icons/arrow-up.svg +4 -0
  98. package/icons/arrow-uturn-down.svg +4 -0
  99. package/icons/arrow-uturn-left.svg +4 -0
  100. package/icons/arrow-uturn-right.svg +4 -0
  101. package/icons/arrow-uturn-up.svg +4 -0
  102. package/icons/arrows-pointing-in.svg +5 -0
  103. package/icons/arrows-pointing-out.svg +5 -0
  104. package/icons/arrows-right-left.svg +4 -0
  105. package/icons/arrows-up-down.svg +4 -0
  106. package/icons/at-symbol.svg +5 -0
  107. package/icons/backspace.svg +5 -0
  108. package/icons/backward.svg +8 -0
  109. package/icons/banknotes.svg +5 -0
  110. package/icons/bars-2.svg +4 -0
  111. package/icons/bars-3-bottom-left.svg +4 -0
  112. package/icons/bars-3-bottom-right.svg +4 -0
  113. package/icons/bars-3-center-left.svg +4 -0
  114. package/icons/bars-3.svg +4 -0
  115. package/icons/bars-4.svg +4 -0
  116. package/icons/bars-arrow-down.svg +4 -0
  117. package/icons/bars-arrow-up.svg +4 -0
  118. package/icons/battery-0.svg +5 -0
  119. package/icons/battery-100.svg +5 -0
  120. package/icons/battery-50.svg +5 -0
  121. package/icons/beaker.svg +5 -0
  122. package/icons/bell-alert.svg +5 -0
  123. package/icons/bell-slash.svg +5 -0
  124. package/icons/bell-snooze.svg +5 -0
  125. package/icons/bell.svg +5 -0
  126. package/icons/bolt-slash.svg +5 -0
  127. package/icons/bolt.svg +4 -0
  128. package/icons/book-open.svg +5 -0
  129. package/icons/bookmark-slash.svg +5 -0
  130. package/icons/bookmark-square.svg +5 -0
  131. package/icons/bookmark.svg +5 -0
  132. package/icons/briefcase.svg +7 -0
  133. package/icons/bug-ant.svg +5 -0
  134. package/icons/building-library.svg +5 -0
  135. package/icons/building-office-2.svg +5 -0
  136. package/icons/building-office.svg +5 -0
  137. package/icons/building-storefront.svg +5 -0
  138. package/icons/cake.svg +5 -0
  139. package/icons/calculator.svg +5 -0
  140. package/icons/calendar-days.svg +5 -0
  141. package/icons/calendar.svg +5 -0
  142. package/icons/camera.svg +10 -0
  143. package/icons/chart-bar-square.svg +5 -0
  144. package/icons/chart-bar.svg +11 -0
  145. package/icons/chart-pie.svg +6 -0
  146. package/icons/chat-bubble-bottom-center-text.svg +5 -0
  147. package/icons/chat-bubble-bottom-center.svg +5 -0
  148. package/icons/chat-bubble-left-ellipsis.svg +5 -0
  149. package/icons/chat-bubble-left-right.svg +5 -0
  150. package/icons/chat-bubble-left.svg +5 -0
  151. package/icons/chat-bubble-oval-left-ellipsis.svg +5 -0
  152. package/icons/chat-bubble-oval-left.svg +5 -0
  153. package/icons/check-badge.svg +5 -0
  154. package/icons/check-circle.svg +5 -0
  155. package/icons/check.svg +4 -0
  156. package/icons/chevron-double-down.svg +4 -0
  157. package/icons/chevron-double-left.svg +4 -0
  158. package/icons/chevron-double-right.svg +4 -0
  159. package/icons/chevron-double-up.svg +4 -0
  160. package/icons/chevron-down.svg +4 -0
  161. package/icons/chevron-left.svg +4 -0
  162. package/icons/chevron-right.svg +4 -0
  163. package/icons/chevron-up-down.svg +4 -0
  164. package/icons/chevron-up.svg +4 -0
  165. package/icons/circle-stack.svg +5 -0
  166. package/icons/clipboard-document-check.svg +5 -0
  167. package/icons/clipboard-document-list.svg +5 -0
  168. package/icons/clipboard-document.svg +5 -0
  169. package/icons/clipboard.svg +5 -0
  170. package/icons/clock.svg +5 -0
  171. package/icons/cloud-arrow-down.svg +5 -0
  172. package/icons/cloud-arrow-up.svg +5 -0
  173. package/icons/cloud.svg +5 -0
  174. package/icons/code-bracket-square.svg +5 -0
  175. package/icons/code-bracket.svg +4 -0
  176. package/icons/cog-6-tooth.svg +8 -0
  177. package/icons/cog-8-tooth.svg +8 -0
  178. package/icons/cog.svg +5 -0
  179. package/icons/command-line.svg +5 -0
  180. package/icons/computer-desktop.svg +5 -0
  181. package/icons/cpu-chip.svg +5 -0
  182. package/icons/credit-card.svg +5 -0
  183. package/icons/cube-transparent.svg +5 -0
  184. package/icons/cube.svg +4 -0
  185. package/icons/currency-bangladeshi.svg +5 -0
  186. package/icons/currency-dollar.svg +5 -0
  187. package/icons/currency-euro.svg +5 -0
  188. package/icons/currency-pound.svg +5 -0
  189. package/icons/currency-rupee.svg +5 -0
  190. package/icons/currency-yen.svg +5 -0
  191. package/icons/cursor-arrow-rays.svg +5 -0
  192. package/icons/cursor-arrow-ripple.svg +5 -0
  193. package/icons/device-phone-mobile.svg +5 -0
  194. package/icons/device-tablet.svg +5 -0
  195. package/icons/document-arrow-down.svg +5 -0
  196. package/icons/document-arrow-up.svg +5 -0
  197. package/icons/document-chart-bar.svg +5 -0
  198. package/icons/document-check.svg +5 -0
  199. package/icons/document-duplicate.svg +5 -0
  200. package/icons/document-magnifying-glass.svg +5 -0
  201. package/icons/document-minus.svg +5 -0
  202. package/icons/document-plus.svg +5 -0
  203. package/icons/document-text.svg +5 -0
  204. package/icons/document.svg +5 -0
  205. package/icons/ellipsis-horizontal-circle.svg +5 -0
  206. package/icons/ellipsis-horizontal.svg +11 -0
  207. package/icons/ellipsis-vertical.svg +11 -0
  208. package/icons/envelope-open.svg +5 -0
  209. package/icons/envelope.svg +5 -0
  210. package/icons/exclamation-circle.svg +5 -0
  211. package/icons/exclamation-triangle.svg +5 -0
  212. package/icons/eye-dropper.svg +5 -0
  213. package/icons/eye-slash.svg +5 -0
  214. package/icons/eye.svg +8 -0
  215. package/icons/face-frown.svg +5 -0
  216. package/icons/face-smile.svg +5 -0
  217. package/icons/film.svg +5 -0
  218. package/icons/finger-print.svg +5 -0
  219. package/icons/fire.svg +8 -0
  220. package/icons/flag.svg +5 -0
  221. package/icons/folder-arrow-down.svg +5 -0
  222. package/icons/folder-minus.svg +5 -0
  223. package/icons/folder-open.svg +5 -0
  224. package/icons/folder-plus.svg +5 -0
  225. package/icons/folder.svg +5 -0
  226. package/icons/fork.svg +6 -0
  227. package/icons/forward.svg +8 -0
  228. package/icons/funnel.svg +5 -0
  229. package/icons/gif.svg +5 -0
  230. package/icons/gift-top.svg +5 -0
  231. package/icons/gift.svg +5 -0
  232. package/icons/github.svg +5 -0
  233. package/icons/globe-alt.svg +5 -0
  234. package/icons/globe-americas.svg +5 -0
  235. package/icons/globe-asia-australia.svg +5 -0
  236. package/icons/globe-europe-africa.svg +5 -0
  237. package/icons/hand-raised.svg +5 -0
  238. package/icons/hand-thumb-down.svg +5 -0
  239. package/icons/hand-thumb-up.svg +5 -0
  240. package/icons/hashtag.svg +4 -0
  241. package/icons/heart.svg +5 -0
  242. package/icons/home-modern.svg +5 -0
  243. package/icons/home.svg +5 -0
  244. package/icons/identification.svg +5 -0
  245. package/icons/inbox-arrow-down.svg +5 -0
  246. package/icons/inbox-stack.svg +5 -0
  247. package/icons/inbox.svg +5 -0
  248. package/icons/information-circle.svg +5 -0
  249. package/icons/key.svg +5 -0
  250. package/icons/language.svg +5 -0
  251. package/icons/lifebuoy.svg +5 -0
  252. package/icons/light-bulb.svg +5 -0
  253. package/icons/link.svg +5 -0
  254. package/icons/list-bullet.svg +5 -0
  255. package/icons/lock-closed.svg +5 -0
  256. package/icons/lock-open.svg +5 -0
  257. package/icons/magnifying-glass-circle.svg +5 -0
  258. package/icons/magnifying-glass-minus.svg +5 -0
  259. package/icons/magnifying-glass-plus.svg +5 -0
  260. package/icons/magnifying-glass.svg +5 -0
  261. package/icons/map-pin.svg +8 -0
  262. package/icons/map.svg +5 -0
  263. package/icons/megaphone.svg +5 -0
  264. package/icons/microphone.svg +5 -0
  265. package/icons/minus-circle.svg +5 -0
  266. package/icons/minus-small.svg +3 -0
  267. package/icons/minus.svg +3 -0
  268. package/icons/moon.svg +5 -0
  269. package/icons/musical-note.svg +5 -0
  270. package/icons/newspaper.svg +5 -0
  271. package/icons/no-photography.svg +10 -0
  272. package/icons/no-symbol.svg +5 -0
  273. package/icons/paint-brush.svg +5 -0
  274. package/icons/paper-airplane.svg +5 -0
  275. package/icons/paper-clip.svg +5 -0
  276. package/icons/pause-circle.svg +5 -0
  277. package/icons/pause.svg +4 -0
  278. package/icons/pencil-square.svg +5 -0
  279. package/icons/pencil.svg +5 -0
  280. package/icons/phone-arrow-down-left.svg +5 -0
  281. package/icons/phone-arrow-up-right.svg +5 -0
  282. package/icons/phone-x-mark.svg +5 -0
  283. package/icons/phone.svg +5 -0
  284. package/icons/photo.svg +5 -0
  285. package/icons/play-circle.svg +8 -0
  286. package/icons/play-pause.svg +5 -0
  287. package/icons/play.svg +5 -0
  288. package/icons/plus-circle.svg +5 -0
  289. package/icons/plus-small.svg +4 -0
  290. package/icons/plus.svg +4 -0
  291. package/icons/power.svg +5 -0
  292. package/icons/presentation-chart-bar.svg +5 -0
  293. package/icons/presentation-chart-line.svg +5 -0
  294. package/icons/printer.svg +5 -0
  295. package/icons/puzzle-piece.svg +5 -0
  296. package/icons/qr-code.svg +27 -0
  297. package/icons/question-mark-circle.svg +5 -0
  298. package/icons/queue-list.svg +5 -0
  299. package/icons/radio.svg +5 -0
  300. package/icons/receipt-percent.svg +5 -0
  301. package/icons/receipt-refund.svg +5 -0
  302. package/icons/rectangle-group.svg +11 -0
  303. package/icons/rectangle-stack.svg +5 -0
  304. package/icons/rocket-launch.svg +5 -0
  305. package/icons/rss.svg +5 -0
  306. package/icons/scale.svg +5 -0
  307. package/icons/scissors.svg +5 -0
  308. package/icons/server-stack.svg +5 -0
  309. package/icons/server.svg +5 -0
  310. package/icons/share.svg +5 -0
  311. package/icons/shield-check.svg +5 -0
  312. package/icons/shield-exclamation.svg +5 -0
  313. package/icons/shopping-bag.svg +5 -0
  314. package/icons/shopping-cart.svg +5 -0
  315. package/icons/signal-slash.svg +5 -0
  316. package/icons/signal.svg +5 -0
  317. package/icons/sparkles.svg +11 -0
  318. package/icons/speaker-wave.svg +5 -0
  319. package/icons/speaker-x-mark.svg +5 -0
  320. package/icons/square-2-stack.svg +5 -0
  321. package/icons/square-3-stack-3d.svg +5 -0
  322. package/icons/squares-2x2.svg +14 -0
  323. package/icons/squares-plus.svg +5 -0
  324. package/icons/star.svg +5 -0
  325. package/icons/stop-circle.svg +8 -0
  326. package/icons/stop.svg +5 -0
  327. package/icons/sun.svg +5 -0
  328. package/icons/swatch.svg +5 -0
  329. package/icons/table-cells.svg +5 -0
  330. package/icons/tag.svg +7 -0
  331. package/icons/ticket.svg +5 -0
  332. package/icons/trash.svg +5 -0
  333. package/icons/trophy.svg +5 -0
  334. package/icons/truck.svg +5 -0
  335. package/icons/tv.svg +5 -0
  336. package/icons/user-circle.svg +5 -0
  337. package/icons/user-group.svg +5 -0
  338. package/icons/user-minus.svg +5 -0
  339. package/icons/user-plus.svg +5 -0
  340. package/icons/user.svg +8 -0
  341. package/icons/users.svg +5 -0
  342. package/icons/variable.svg +5 -0
  343. package/icons/video-camera-slash.svg +5 -0
  344. package/icons/video-camera.svg +5 -0
  345. package/icons/view-columns.svg +5 -0
  346. package/icons/viewfinder-circle.svg +5 -0
  347. package/icons/wallet.svg +5 -0
  348. package/icons/wifi.svg +5 -0
  349. package/icons/window.svg +5 -0
  350. package/icons/wrench-screwdriver.svg +5 -0
  351. package/icons/wrench.svg +7 -0
  352. package/icons/x-circle.svg +5 -0
  353. package/icons/x-mark.svg +4 -0
  354. package/nuxt/index.ts +49 -21
  355. package/package.json +12 -8
  356. package/tailwindcss/tailwind.config.ts +2 -2
  357. package/types/nuxt/index.d.ts +12 -8
  358. package/types/tailwindcss/tailwind.config.d.ts +75 -1
@@ -0,0 +1,184 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color, ModelValueSimple, Position, Size } from './types';
3
+ export type MazSelectOption = Record<string, ModelValueSimple>;
4
+ export type { Color, Size, ModelValueSimple, Position } from './types';
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: PropType<ModelValueSimple>;
8
+ default: undefined;
9
+ };
10
+ id: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ options: {
15
+ type: PropType<MazSelectOption[]>;
16
+ default: undefined;
17
+ };
18
+ optionValueKey: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ optionLabelKey: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ optionInputValueKey: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ listPosition: {
31
+ type: PropType<Position>;
32
+ default: string;
33
+ validator: (value: Position) => boolean;
34
+ };
35
+ required: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ disabled: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ open: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ color: {
48
+ type: PropType<Color>;
49
+ default: string;
50
+ };
51
+ itemHeight: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ maxListHeight: {
56
+ type: NumberConstructor;
57
+ default: number;
58
+ };
59
+ maxListWidth: {
60
+ type: NumberConstructor;
61
+ default: undefined;
62
+ };
63
+ size: {
64
+ type: PropType<Size>;
65
+ default: string;
66
+ validator: (value: string) => boolean;
67
+ };
68
+ search: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ searchPlaceholder: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "blur" | "change" | "focus" | "open" | "update:model-value")[], "close" | "blur" | "change" | "focus" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
77
+ modelValue: {
78
+ type: PropType<ModelValueSimple>;
79
+ default: undefined;
80
+ };
81
+ id: {
82
+ type: StringConstructor;
83
+ default: undefined;
84
+ };
85
+ options: {
86
+ type: PropType<MazSelectOption[]>;
87
+ default: undefined;
88
+ };
89
+ optionValueKey: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ optionLabelKey: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ optionInputValueKey: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ listPosition: {
102
+ type: PropType<Position>;
103
+ default: string;
104
+ validator: (value: Position) => boolean;
105
+ };
106
+ required: {
107
+ type: BooleanConstructor;
108
+ default: boolean;
109
+ };
110
+ disabled: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ open: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ color: {
119
+ type: PropType<Color>;
120
+ default: string;
121
+ };
122
+ itemHeight: {
123
+ type: NumberConstructor;
124
+ default: number;
125
+ };
126
+ maxListHeight: {
127
+ type: NumberConstructor;
128
+ default: number;
129
+ };
130
+ maxListWidth: {
131
+ type: NumberConstructor;
132
+ default: undefined;
133
+ };
134
+ size: {
135
+ type: PropType<Size>;
136
+ default: string;
137
+ validator: (value: string) => boolean;
138
+ };
139
+ search: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ searchPlaceholder: {
144
+ type: StringConstructor;
145
+ default: string;
146
+ };
147
+ }>> & {
148
+ onClose?: ((...args: any[]) => any) | undefined;
149
+ onFocus?: ((...args: any[]) => any) | undefined;
150
+ onBlur?: ((...args: any[]) => any) | undefined;
151
+ onChange?: ((...args: any[]) => any) | undefined;
152
+ onOpen?: ((...args: any[]) => any) | undefined;
153
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
154
+ }, {
155
+ search: boolean;
156
+ required: boolean;
157
+ id: string;
158
+ color: Color;
159
+ disabled: boolean;
160
+ size: Size;
161
+ open: boolean;
162
+ modelValue: ModelValueSimple;
163
+ options: MazSelectOption[];
164
+ optionValueKey: string;
165
+ optionLabelKey: string;
166
+ optionInputValueKey: string;
167
+ listPosition: Position;
168
+ itemHeight: number;
169
+ maxListHeight: number;
170
+ maxListWidth: number;
171
+ searchPlaceholder: string;
172
+ }, {}>, {
173
+ default?(_: {
174
+ option: MazSelectOption;
175
+ isSelected: boolean;
176
+ selectedOption: ModelValueSimple;
177
+ }): any;
178
+ }>;
179
+ export default _default;
180
+ type __VLS_WithTemplateSlots<T, S> = T & {
181
+ new (): {
182
+ $slots: S;
183
+ };
184
+ };
@@ -0,0 +1,15 @@
1
+ interface IPosObject {
2
+ x: number;
3
+ y: number;
4
+ }
5
+ export declare const getOffset: (elem: HTMLDivElement) => IPosObject;
6
+ /**
7
+ * Get the position of the mouse/finger in the element
8
+ * @param e Trigger event
9
+ * @param elem Container element
10
+ * @param isReverse From the right/bottom
11
+ */
12
+ export declare const getPos: (e: MouseEvent | TouchEvent, elem: HTMLDivElement, isReverse?: boolean) => IPosObject;
13
+ export declare const isBetween: (value: number, prev: number, next: number, direction: string) => boolean;
14
+ export declare const getOpacityCoeff: (index: number, middle: number, length: number) => number;
15
+ export {};
@@ -0,0 +1,92 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: PropType<number | number[]>;
7
+ required: true;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ labels: {
11
+ type: ArrayConstructor;
12
+ default: undefined;
13
+ };
14
+ min: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ max: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ size: {
23
+ type: StringConstructor;
24
+ default: undefined;
25
+ };
26
+ noDivider: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ log: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ color: {
35
+ type: PropType<Color>;
36
+ default: string;
37
+ };
38
+ noCursorAnim: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ modelValue: {
44
+ type: PropType<number | number[]>;
45
+ required: true;
46
+ validator: (value: string) => boolean;
47
+ };
48
+ labels: {
49
+ type: ArrayConstructor;
50
+ default: undefined;
51
+ };
52
+ min: {
53
+ type: NumberConstructor;
54
+ default: number;
55
+ };
56
+ max: {
57
+ type: NumberConstructor;
58
+ default: number;
59
+ };
60
+ size: {
61
+ type: StringConstructor;
62
+ default: undefined;
63
+ };
64
+ noDivider: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ log: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ color: {
73
+ type: PropType<Color>;
74
+ default: string;
75
+ };
76
+ noCursorAnim: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ }>> & {
81
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
82
+ }, {
83
+ color: Color;
84
+ size: string;
85
+ max: number;
86
+ min: number;
87
+ labels: unknown[];
88
+ noDivider: boolean;
89
+ log: boolean;
90
+ noCursorAnim: boolean;
91
+ }, {}>;
92
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import type { PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ size: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ color: {
10
+ type: PropType<Color>;
11
+ default: string;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ size: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ color: {
19
+ type: PropType<Color>;
20
+ default: string;
21
+ };
22
+ }>>, {
23
+ color: Color;
24
+ size: string;
25
+ }, {}>;
26
+ export default _default;
@@ -0,0 +1,112 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export interface Step {
4
+ title?: string;
5
+ subtitle?: string;
6
+ titleInfo?: string;
7
+ disabled?: boolean;
8
+ error?: boolean;
9
+ success?: boolean;
10
+ warning?: boolean;
11
+ }
12
+ export type Steps = Step[];
13
+ export type { Color } from './types';
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
+ modelValue: {
16
+ type: NumberConstructor;
17
+ default: undefined;
18
+ };
19
+ steps: {
20
+ type: PropType<Steps>;
21
+ default: undefined;
22
+ };
23
+ disabledNextSteps: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ disabledPreviousSteps: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ autoValidateSteps: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ allStepsOpened: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ allStepsValidated: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ color: {
44
+ type: PropType<Color>;
45
+ default: string;
46
+ };
47
+ canCloseSteps: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ modelValue: {
53
+ type: NumberConstructor;
54
+ default: undefined;
55
+ };
56
+ steps: {
57
+ type: PropType<Steps>;
58
+ default: undefined;
59
+ };
60
+ disabledNextSteps: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ disabledPreviousSteps: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ autoValidateSteps: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ allStepsOpened: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ allStepsValidated: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ color: {
81
+ type: PropType<Color>;
82
+ default: string;
83
+ };
84
+ canCloseSteps: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ }>> & {
89
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
90
+ }, {
91
+ color: Color;
92
+ modelValue: number;
93
+ steps: Steps;
94
+ disabledNextSteps: boolean;
95
+ disabledPreviousSteps: boolean;
96
+ autoValidateSteps: boolean;
97
+ allStepsOpened: boolean;
98
+ allStepsValidated: boolean;
99
+ canCloseSteps: boolean;
100
+ }, {}>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
101
+ validated: boolean;
102
+ error: boolean | undefined;
103
+ warning: boolean | undefined;
104
+ nextStep: () => void;
105
+ previousStep: () => void;
106
+ }) => any>>>;
107
+ export default _default;
108
+ type __VLS_WithTemplateSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
@@ -0,0 +1,54 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: BooleanConstructor;
7
+ required: true;
8
+ };
9
+ id: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ name: {
18
+ type: StringConstructor;
19
+ default: undefined;
20
+ };
21
+ color: {
22
+ type: PropType<Color>;
23
+ default: string;
24
+ };
25
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ modelValue: {
27
+ type: BooleanConstructor;
28
+ required: true;
29
+ };
30
+ id: {
31
+ type: StringConstructor;
32
+ default: undefined;
33
+ };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ name: {
39
+ type: StringConstructor;
40
+ default: undefined;
41
+ };
42
+ color: {
43
+ type: PropType<Color>;
44
+ default: string;
45
+ };
46
+ }>> & {
47
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
48
+ }, {
49
+ id: string;
50
+ color: Color;
51
+ disabled: boolean;
52
+ name: string;
53
+ }, {}>;
54
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import type { Ref } from 'vue';
2
+ export type MazTabsProvide = {
3
+ currentTab: Ref<number>;
4
+ updateCurrentTab: (index: number) => number;
5
+ };
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
+ modelValue: {
8
+ type: NumberConstructor;
9
+ default: undefined;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ modelValue: {
13
+ type: NumberConstructor;
14
+ default: undefined;
15
+ };
16
+ }>> & {
17
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
18
+ }, {
19
+ modelValue: number;
20
+ }, {}>, {
21
+ default?(_: {}): any;
22
+ }>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,55 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type MazTabsBarItem = {
4
+ label: string;
5
+ disabled?: boolean;
6
+ } | string;
7
+ declare const _default: import("vue").DefineComponent<{
8
+ items: {
9
+ type: PropType<MazTabsBarItem[]>;
10
+ required: true;
11
+ };
12
+ alignLeft: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ useAnchor: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ color: {
21
+ type: PropType<Color>;
22
+ default: string;
23
+ };
24
+ noRounded: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ items: {
30
+ type: PropType<MazTabsBarItem[]>;
31
+ required: true;
32
+ };
33
+ alignLeft: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ useAnchor: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ color: {
42
+ type: PropType<Color>;
43
+ default: string;
44
+ };
45
+ noRounded: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ color: Color;
51
+ noRounded: boolean;
52
+ alignLeft: boolean;
53
+ useAnchor: boolean;
54
+ }, {}>;
55
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,19 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ tab: {
3
+ type: NumberConstructor;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ tab: {
8
+ type: NumberConstructor;
9
+ required: true;
10
+ };
11
+ }>>, {}, {}>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,9 @@
1
+ export declare class TextareaAutogrow {
2
+ private element;
3
+ constructor(element: HTMLTextAreaElement);
4
+ private connect;
5
+ disconnect(): void;
6
+ private onFocus;
7
+ private onResize;
8
+ private autogrow;
9
+ }