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,194 @@
1
+ import { type PropType } from 'vue';
2
+ import type { MazGalleryImage } from './types';
3
+ export type { MazGalleryImage } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ images: {
6
+ type: PropType<MazGalleryImage[]>;
7
+ default: undefined;
8
+ };
9
+ orientation: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ validator: (value: string) => boolean;
13
+ };
14
+ href: {
15
+ type: StringConstructor;
16
+ default: undefined;
17
+ };
18
+ hrefTarget: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ footerAlign: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ galleryWidth: {
27
+ type: (StringConstructor | NumberConstructor)[];
28
+ default: number;
29
+ };
30
+ galleryHeight: {
31
+ type: (StringConstructor | NumberConstructor)[];
32
+ default: number;
33
+ };
34
+ zoom: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ elevation: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ radius: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ bordered: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ imagesShowCount: {
51
+ type: NumberConstructor;
52
+ default: number;
53
+ };
54
+ noRemaining: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ scale: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ wrapperClass: {
63
+ type: StringConstructor;
64
+ default: undefined;
65
+ };
66
+ noPadding: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ overflowHidden: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ collapsable: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ collapseOpen: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
83
+ images: {
84
+ type: PropType<MazGalleryImage[]>;
85
+ default: undefined;
86
+ };
87
+ orientation: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ validator: (value: string) => boolean;
91
+ };
92
+ href: {
93
+ type: StringConstructor;
94
+ default: undefined;
95
+ };
96
+ hrefTarget: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ footerAlign: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ galleryWidth: {
105
+ type: (StringConstructor | NumberConstructor)[];
106
+ default: number;
107
+ };
108
+ galleryHeight: {
109
+ type: (StringConstructor | NumberConstructor)[];
110
+ default: number;
111
+ };
112
+ zoom: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ elevation: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ radius: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ bordered: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ imagesShowCount: {
129
+ type: NumberConstructor;
130
+ default: number;
131
+ };
132
+ noRemaining: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ scale: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ wrapperClass: {
141
+ type: StringConstructor;
142
+ default: undefined;
143
+ };
144
+ noPadding: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ overflowHidden: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ collapsable: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ collapseOpen: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ }>>, {
161
+ elevation: boolean;
162
+ href: string;
163
+ orientation: string;
164
+ radius: boolean;
165
+ scale: boolean;
166
+ bordered: boolean;
167
+ noPadding: boolean;
168
+ images: MazGalleryImage[];
169
+ noRemaining: boolean;
170
+ hrefTarget: string;
171
+ footerAlign: string;
172
+ galleryWidth: string | number;
173
+ galleryHeight: string | number;
174
+ zoom: boolean;
175
+ imagesShowCount: number;
176
+ wrapperClass: string;
177
+ overflowHidden: boolean;
178
+ collapsable: boolean;
179
+ collapseOpen: boolean;
180
+ }, {}>, {
181
+ header?(_: {}): any;
182
+ default?(_: {}): any;
183
+ title?(_: {}): any;
184
+ subtitle?(_: {}): any;
185
+ content?(_: {}): any;
186
+ footer?(_: {}): any;
187
+ actions?(_: {}): any;
188
+ }>;
189
+ export default _default;
190
+ type __VLS_WithTemplateSlots<T, S> = T & {
191
+ new (): {
192
+ $slots: S;
193
+ };
194
+ };
@@ -0,0 +1,24 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ noScrollBtn: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ noScrollBtn: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>>, {
12
+ noScrollBtn: boolean;
13
+ }, {}>, {
14
+ title?(_: {}): any;
15
+ "previous-icon"?(_: {}): any;
16
+ "next-icon"?(_: {}): any;
17
+ default?(_: {}): any;
18
+ }>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,95 @@
1
+ import { type PropType } from 'vue';
2
+ import type { ChartData } from 'chart.js';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ /**
5
+ * Chart.js chart type
6
+ */
7
+ type: {
8
+ type: PropType<keyof import("chart.js").ChartTypeRegistry>;
9
+ required: true;
10
+ };
11
+ /**
12
+ * The data object that is passed into the Chart.js chart
13
+ * @see https://www.chartjs.org/docs/latest/getting-started/
14
+ */
15
+ data: {
16
+ type: PropType<ChartData<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point | [number, number] | import("chart.js").BubbleDataPoint | null)[], unknown>>;
17
+ required: true;
18
+ };
19
+ /**
20
+ * The options object that is passed into the Chart.js chart
21
+ * @see https://www.chartjs.org/docs/latest/general/options.html
22
+ */
23
+ options: {
24
+ type: ObjectConstructor;
25
+ default: () => {};
26
+ };
27
+ /**
28
+ * The plugins array that is passed into the Chart.js chart
29
+ * @see https://www.chartjs.org/docs/latest/developers/plugins.html
30
+ */
31
+ plugins: {
32
+ type: ArrayConstructor;
33
+ default: () => never[];
34
+ };
35
+ /**
36
+ * Key name to identificate dataset
37
+ */
38
+ datasetIdKey: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ updateMode: {
43
+ type: PropType<"default" | "reset" | "resize" | "none" | "hide" | "show" | "active">;
44
+ default: undefined;
45
+ };
46
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ /**
48
+ * Chart.js chart type
49
+ */
50
+ type: {
51
+ type: PropType<keyof import("chart.js").ChartTypeRegistry>;
52
+ required: true;
53
+ };
54
+ /**
55
+ * The data object that is passed into the Chart.js chart
56
+ * @see https://www.chartjs.org/docs/latest/getting-started/
57
+ */
58
+ data: {
59
+ type: PropType<ChartData<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point | [number, number] | import("chart.js").BubbleDataPoint | null)[], unknown>>;
60
+ required: true;
61
+ };
62
+ /**
63
+ * The options object that is passed into the Chart.js chart
64
+ * @see https://www.chartjs.org/docs/latest/general/options.html
65
+ */
66
+ options: {
67
+ type: ObjectConstructor;
68
+ default: () => {};
69
+ };
70
+ /**
71
+ * The plugins array that is passed into the Chart.js chart
72
+ * @see https://www.chartjs.org/docs/latest/developers/plugins.html
73
+ */
74
+ plugins: {
75
+ type: ArrayConstructor;
76
+ default: () => never[];
77
+ };
78
+ /**
79
+ * Key name to identificate dataset
80
+ */
81
+ datasetIdKey: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ updateMode: {
86
+ type: PropType<"default" | "reset" | "resize" | "none" | "hide" | "show" | "active">;
87
+ default: undefined;
88
+ };
89
+ }>>, {
90
+ options: Record<string, any>;
91
+ plugins: unknown[];
92
+ datasetIdKey: string;
93
+ updateMode: "default" | "reset" | "resize" | "none" | "hide" | "show" | "active";
94
+ }, {}>;
95
+ export default _default;
@@ -0,0 +1,52 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ modelValue: {
6
+ type: BooleanConstructor;
7
+ required: true;
8
+ };
9
+ id: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ color: {
14
+ type: PropType<Color>;
15
+ default: string;
16
+ };
17
+ name: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }, {}, 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<{
22
+ modelValue: {
23
+ type: BooleanConstructor;
24
+ required: true;
25
+ };
26
+ id: {
27
+ type: StringConstructor;
28
+ default: undefined;
29
+ };
30
+ color: {
31
+ type: PropType<Color>;
32
+ default: string;
33
+ };
34
+ name: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ }>> & {
39
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
40
+ }, {
41
+ id: string;
42
+ color: Color;
43
+ name: string;
44
+ }, {}>, {
45
+ default?(_: {}): any;
46
+ }>;
47
+ export default _default;
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,91 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ /** Modal's title in header */
3
+ title: {
4
+ type: StringConstructor;
5
+ default: undefined;
6
+ };
7
+ /** Remove the close button in header */
8
+ noClose: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ /** Modal's width */
13
+ width: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ /** Modal's max-width */
18
+ maxWidth: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ /** Modal's max-height */
23
+ maxHeight: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ /** Modal's content becomes scrollable - warning: a overflow is applied */
28
+ scrollable: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "update:model-value")[], "close" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ /** Modal's title in header */
34
+ title: {
35
+ type: StringConstructor;
36
+ default: undefined;
37
+ };
38
+ /** Remove the close button in header */
39
+ noClose: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ /** Modal's width */
44
+ width: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ /** Modal's max-width */
49
+ maxWidth: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ /** Modal's max-height */
54
+ maxHeight: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ /** Modal's content becomes scrollable - warning: a overflow is applied */
59
+ scrollable: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & {
64
+ onClose?: ((...args: any[]) => any) | undefined;
65
+ onOpen?: ((...args: any[]) => any) | undefined;
66
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
67
+ }, {
68
+ title: string;
69
+ width: string;
70
+ noClose: boolean;
71
+ maxWidth: string;
72
+ maxHeight: string;
73
+ scrollable: boolean;
74
+ }, {}>, {
75
+ header?(_: {
76
+ close: any;
77
+ }): any;
78
+ title?(_: {}): any;
79
+ default?(_: {
80
+ close: any;
81
+ }): any;
82
+ footer?(_: {
83
+ close: any;
84
+ }): any;
85
+ }>;
86
+ export default _default;
87
+ type __VLS_WithTemplateSlots<T, S> = T & {
88
+ new (): {
89
+ $slots: S;
90
+ };
91
+ };
@@ -0,0 +1,30 @@
1
+ export interface DialogState {
2
+ id: string;
3
+ isActive: boolean;
4
+ resolve: (value: unknown) => void;
5
+ reject?: (reason?: unknown) => void;
6
+ }
7
+ export interface DialogData {
8
+ title: string;
9
+ message: string;
10
+ cancelText?: string;
11
+ confirmText?: string;
12
+ }
13
+ export declare const useMazDialogPromise: () => {
14
+ confirmDialogData: import("vue").Ref<DialogData | undefined>;
15
+ dialogState: import("vue").Ref<{
16
+ id: string;
17
+ isActive: boolean;
18
+ resolve: (value: unknown) => void;
19
+ reject?: ((reason?: unknown) => void) | undefined;
20
+ }[]>;
21
+ showDialogAndWaitChoice: (identifier: string, callback?: () => unknown) => Promise<unknown>;
22
+ removeDialogFromState: (identifier: string) => {
23
+ id: string;
24
+ isActive: boolean;
25
+ resolve: (value: unknown) => void;
26
+ reject?: ((reason?: unknown) => void) | undefined;
27
+ }[];
28
+ rejectDialog: (currentDialog: DialogState, response?: string | boolean) => void;
29
+ resolveDialog: (currentDialog: DialogState, response?: string | boolean) => void;
30
+ };
@@ -0,0 +1,72 @@
1
+ import { type PropType } from 'vue';
2
+ import { type Color, type Size } from './MazBtn.vue';
3
+ import { type DialogData } from './MazDialogPromise/use-maz-dialog-promise';
4
+ export { useMazDialogPromise } from './MazDialogPromise/use-maz-dialog-promise';
5
+ export type { DialogState, DialogData } from './MazDialogPromise/use-maz-dialog-promise';
6
+ export type { Color, Size } from './types';
7
+ export type DialogButton = {
8
+ response?: string | boolean;
9
+ type: 'resolve' | 'reject';
10
+ color?: Color;
11
+ size?: Size;
12
+ text: string;
13
+ outline?: boolean;
14
+ rounded?: boolean;
15
+ disabled?: boolean;
16
+ loading?: boolean;
17
+ block?: boolean;
18
+ };
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
+ /** Dialog Data - type DialogData */
21
+ data: {
22
+ type: PropType<DialogData>;
23
+ default: undefined;
24
+ };
25
+ /** Uniq identifier */
26
+ identifier: {
27
+ type: StringConstructor;
28
+ required: true;
29
+ };
30
+ /** Custom buttons - type DialogButton[] */
31
+ buttons: {
32
+ type: PropType<DialogButton[]>;
33
+ default: () => never[];
34
+ };
35
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ /** Dialog Data - type DialogData */
37
+ data: {
38
+ type: PropType<DialogData>;
39
+ default: undefined;
40
+ };
41
+ /** Uniq identifier */
42
+ identifier: {
43
+ type: StringConstructor;
44
+ required: true;
45
+ };
46
+ /** Custom buttons - type DialogButton[] */
47
+ buttons: {
48
+ type: PropType<DialogButton[]>;
49
+ default: () => never[];
50
+ };
51
+ }>>, {
52
+ data: DialogData;
53
+ buttons: DialogButton[];
54
+ }, {}>, {
55
+ title?(_: {}): any;
56
+ default?(_: {
57
+ resolve: (reason?: string | boolean) => void;
58
+ reject: (reason?: string | boolean) => void;
59
+ }): any;
60
+ "footer-button"?(_: {
61
+ resolve: (reason?: string | boolean) => void;
62
+ reject: (reason?: string | boolean) => void;
63
+ }): any;
64
+ "cancel-text"?(_: {}): any;
65
+ "confirm-text"?(_: {}): any;
66
+ }>;
67
+ export default _default;
68
+ type __VLS_WithTemplateSlots<T, S> = T & {
69
+ new (): {
70
+ $slots: S;
71
+ };
72
+ };
@@ -0,0 +1,69 @@
1
+ import type { PropType } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ noClose: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ default: undefined;
10
+ };
11
+ variant: {
12
+ type: PropType<"top" | "bottom" | "left" | "right">;
13
+ default: string;
14
+ validator: (value: string) => boolean;
15
+ };
16
+ backdropClass: {
17
+ type: StringConstructor;
18
+ default: undefined;
19
+ };
20
+ size: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "update:model-value")[], "close" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ noClose: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ title: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ variant: {
34
+ type: PropType<"top" | "bottom" | "left" | "right">;
35
+ default: string;
36
+ validator: (value: string) => boolean;
37
+ };
38
+ backdropClass: {
39
+ type: StringConstructor;
40
+ default: undefined;
41
+ };
42
+ size: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ }>> & {
47
+ onClose?: ((...args: any[]) => any) | undefined;
48
+ onOpen?: ((...args: any[]) => any) | undefined;
49
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
50
+ }, {
51
+ title: string;
52
+ size: string;
53
+ backdropClass: string;
54
+ variant: "top" | "bottom" | "left" | "right";
55
+ noClose: boolean;
56
+ }, {}>, {
57
+ title?(_: {
58
+ close: any;
59
+ }): any;
60
+ default?(_: {
61
+ close: any;
62
+ }): any;
63
+ }>;
64
+ export default _default;
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };