maz-ui 3.47.2-beta.0 → 3.47.2-beta.11

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 (346) hide show
  1. package/components/MazAccordion.d.ts +3 -2
  2. package/components/MazAccordion.mjs +82 -90
  3. package/components/MazAnimatedCounter.d.ts +16 -32
  4. package/components/MazAnimatedCounter.mjs +27 -29
  5. package/components/MazAvatar.d.ts +2 -1
  6. package/components/MazAvatar.mjs +1 -1
  7. package/components/MazBackdrop.d.ts +2 -1
  8. package/components/MazBadge.d.ts +7 -2
  9. package/components/MazBadge.mjs +1 -1
  10. package/components/MazBottomSheet.d.ts +2 -1
  11. package/components/MazBottomSheet.mjs +1 -1
  12. package/components/MazBtn.d.ts +4 -3
  13. package/components/MazBtn.mjs +1 -1
  14. package/components/MazCard.d.ts +5 -4
  15. package/components/MazCard.mjs +1 -1
  16. package/components/MazCardSpotlight.d.ts +3 -2
  17. package/components/MazCardSpotlight.mjs +18 -22
  18. package/components/MazCarousel.d.ts +3 -2
  19. package/components/MazCarousel.mjs +1 -1
  20. package/components/MazChart.mjs +23 -32
  21. package/components/MazCheckbox.d.ts +4 -3
  22. package/components/MazCheckbox.mjs +74 -70
  23. package/components/MazChecklist.d.ts +2 -5
  24. package/components/MazChecklist.mjs +1 -1
  25. package/components/MazCircularProgressBar.d.ts +19 -66
  26. package/components/MazCircularProgressBar.mjs +47 -52
  27. package/components/MazDialog.d.ts +5 -3
  28. package/components/MazDialog.mjs +1 -1
  29. package/components/MazDialogPromise.mjs +1 -1
  30. package/components/MazDrawer.d.ts +2 -1
  31. package/components/MazDrawer.mjs +1 -1
  32. package/components/MazDropdown.d.ts +25 -3
  33. package/components/MazDropdown.mjs +2 -348
  34. package/components/MazDropzone.d.ts +1 -1
  35. package/components/MazExpandAnimation.d.ts +6 -5
  36. package/components/MazExpandAnimation.mjs +27 -31
  37. package/components/MazFullscreenLoader.d.ts +2 -1
  38. package/components/MazGallery.d.ts +1 -1
  39. package/components/MazGallery.mjs +1 -1
  40. package/components/MazIcon.mjs +14 -13
  41. package/components/MazInput.d.ts +16 -3
  42. package/components/MazInput.mjs +1 -1
  43. package/components/MazInputCode.d.ts +1 -1
  44. package/components/MazInputCode.mjs +26 -30
  45. package/components/MazInputNumber.d.ts +2 -2
  46. package/components/MazInputNumber.mjs +1 -1
  47. package/components/MazInputPrice.d.ts +4 -3
  48. package/components/MazInputPrice.mjs +1 -1
  49. package/components/MazInputTags.mjs +1 -1
  50. package/components/MazLazyImg.d.ts +2 -1
  51. package/components/MazLink.d.ts +2 -1
  52. package/components/MazLink.mjs +19 -31
  53. package/components/MazLoadingBar.d.ts +1 -1
  54. package/components/MazLoadingBar.mjs +31 -27
  55. package/components/MazPagination.d.ts +3 -2
  56. package/components/MazPagination.mjs +1 -1
  57. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
  58. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
  59. package/components/MazPhoneNumberInput.d.ts +6 -5
  60. package/components/MazPhoneNumberInput.mjs +1 -1
  61. package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  62. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  63. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  64. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  65. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  67. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  69. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  70. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  71. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  72. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  73. package/components/MazPicker.d.ts +3 -1
  74. package/components/MazPicker.mjs +1 -1
  75. package/components/MazPullToRefresh.d.ts +4 -3
  76. package/components/MazRadio.d.ts +1 -1
  77. package/components/MazRadio.mjs +27 -37
  78. package/components/MazRadioButtons.d.ts +1 -1
  79. package/components/MazRadioButtons.mjs +61 -66
  80. package/components/MazReadingProgressBar.d.ts +1 -1
  81. package/components/MazSelect.d.ts +1 -1
  82. package/components/MazSelect.mjs +1 -1
  83. package/components/MazSlider.d.ts +1 -1
  84. package/components/MazSlider.mjs +107 -116
  85. package/components/MazSpinner.d.ts +1 -1
  86. package/components/MazStepper.d.ts +3 -2
  87. package/components/MazStepper.mjs +1 -1
  88. package/components/MazSwitch.d.ts +2 -1
  89. package/components/MazSwitch.mjs +20 -27
  90. package/components/MazTable.d.ts +14 -8
  91. package/components/MazTable.mjs +3 -2
  92. package/components/MazTableCell.d.ts +3 -2
  93. package/components/MazTableCell.mjs +12 -12
  94. package/components/MazTableRow.d.ts +3 -2
  95. package/components/MazTableRow.mjs +16 -16
  96. package/components/MazTableTitle.d.ts +3 -2
  97. package/components/MazTableTitle.mjs +18 -18
  98. package/components/MazTabs.d.ts +3 -2
  99. package/components/MazTabsBar.d.ts +3 -2
  100. package/components/MazTabsBar.mjs +1 -1
  101. package/components/MazTabsContent.d.ts +3 -2
  102. package/components/MazTabsContent.mjs +4 -4
  103. package/components/MazTabsContentItem.d.ts +2 -1
  104. package/components/MazTabsContentItem.mjs +7 -7
  105. package/components/MazTextarea.d.ts +58 -32
  106. package/components/MazTextarea.mjs +130 -112
  107. package/components/MazTransitionExpand.d.ts +2 -1
  108. package/components/MazTransitionExpand.mjs +9 -9
  109. package/components/assets/MazAccordion.css +1 -1
  110. package/components/assets/MazAnimatedCounter.css +1 -1
  111. package/components/assets/MazAvatar.css +1 -1
  112. package/components/assets/MazBadge.css +1 -1
  113. package/components/assets/MazBtn.css +1 -1
  114. package/components/assets/MazCardSpotlight.css +1 -1
  115. package/components/assets/MazCheckbox.css +1 -1
  116. package/components/assets/MazChecklist.css +1 -1
  117. package/components/assets/MazCircularProgressBar.css +1 -1
  118. package/components/assets/MazDropdown.css +1 -1
  119. package/components/assets/MazExpandAnimation.css +1 -1
  120. package/components/assets/MazGallery.css +1 -1
  121. package/components/assets/MazInput.css +1 -1
  122. package/components/assets/MazInputCode.css +1 -1
  123. package/components/assets/MazInputNumber.css +1 -1
  124. package/components/assets/MazInputPrice.css +1 -1
  125. package/components/assets/MazInputTags.css +1 -1
  126. package/components/assets/MazLink.css +1 -1
  127. package/components/assets/MazLoadingBar.css +1 -1
  128. package/components/assets/MazPagination.css +1 -1
  129. package/components/assets/MazPhoneNumberInput.css +1 -1
  130. package/components/assets/MazPicker.css +1 -1
  131. package/components/assets/MazRadio.css +1 -1
  132. package/components/assets/MazSelect.css +1 -1
  133. package/components/assets/MazStepper.css +1 -1
  134. package/components/assets/MazSwitch.css +1 -1
  135. package/components/assets/MazTable.css +1 -1
  136. package/components/assets/MazTableCell.css +1 -1
  137. package/components/assets/MazTableRow.css +1 -1
  138. package/components/assets/MazTableTitle.css +1 -1
  139. package/components/assets/MazTabsBar.css +1 -1
  140. package/components/assets/MazTextarea.css +1 -1
  141. package/components/assets/MazTransitionExpand.css +1 -1
  142. package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
  143. package/components/chunks/{MazBadge-CvIiiTdM.mjs → MazBadge-CupQjB8D.mjs} +2 -2
  144. package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-D9EPpEV8.mjs} +28 -29
  145. package/components/chunks/MazBtn-BSgCMRt0.mjs +103 -0
  146. package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
  147. package/components/chunks/MazBtn-BfIn7glE.mjs +103 -0
  148. package/components/chunks/MazBtn-Br3xKJMD.mjs +103 -0
  149. package/components/chunks/MazBtn-CB6xVwox.mjs +103 -0
  150. package/components/chunks/MazBtn-CIAdgMGr.mjs +111 -0
  151. package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
  152. package/components/chunks/MazBtn-CQq-U8qQ.mjs +103 -0
  153. package/components/chunks/MazBtn-Chk7DWOF.mjs +103 -0
  154. package/components/chunks/MazBtn-Ck84sP9a.mjs +103 -0
  155. package/components/chunks/MazBtn-DI80W9rl.mjs +103 -0
  156. package/components/chunks/MazBtn-DhSKmF01.mjs +103 -0
  157. package/components/chunks/MazBtn-DzwuLea3.mjs +103 -0
  158. package/components/chunks/MazBtn-tOUtVpek.mjs +103 -0
  159. package/components/chunks/{MazCard-FSXmHyhj.mjs → MazCard-XBaeDZkg.mjs} +18 -19
  160. package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-COTaKhKF.mjs} +20 -21
  161. package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-B-Sw22La.mjs} +63 -60
  162. package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DjY15PA3.mjs} +63 -58
  163. package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-DxfneUvu.mjs} +63 -59
  164. package/components/chunks/{MazChecklist-CY1Cv70T.mjs → MazChecklist-DaozZlNb.mjs} +160 -166
  165. package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-XiX9LEiz.mjs} +66 -81
  166. package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +488 -0
  167. package/components/chunks/MazDropdown-CKuIGitT.mjs +427 -0
  168. package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
  169. package/components/chunks/{MazGallery-CZOokGAt.mjs → MazGallery-BooLoRWi.mjs} +64 -68
  170. package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-DUOQamrE.mjs} +63 -67
  171. package/components/chunks/MazIcon-BX2Gbz8R.mjs +4 -0
  172. package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
  173. package/components/chunks/{MazIcon-z-jTiuyI.mjs → MazIcon-DFW4cVVf.mjs} +4 -3
  174. package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
  175. package/components/chunks/MazInput-BWAWlxDa.mjs +314 -0
  176. package/components/chunks/MazInput-DIN1VAoX.mjs +325 -0
  177. package/components/chunks/MazInput-HLPtw5QK.mjs +313 -0
  178. package/components/chunks/MazInputNumber-7Ku2ZcG-.mjs +601 -0
  179. package/components/chunks/{MazInputPrice-BrxE5WVf.mjs → MazInputPrice-C5yErBFP.mjs} +199 -176
  180. package/components/chunks/MazInputTags-DvbQ2mK8.mjs +614 -0
  181. package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
  182. package/components/chunks/MazLink-mrqHeBS0.mjs +67 -0
  183. package/components/chunks/MazLoadingBar-CNm3Yt6D.mjs +36 -0
  184. package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
  185. package/components/chunks/{MazPhoneNumberInput-Cd25AzXc.mjs → MazPhoneNumberInput-B5Up8CqL.mjs} +596 -612
  186. package/components/chunks/MazPicker-CzYUZcLy.mjs +2487 -0
  187. package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-Ds5agR3Z.mjs} +1 -1
  188. package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-BP6CY9-c.mjs} +1 -1
  189. package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-PM8qZMzR.mjs} +1 -1
  190. package/components/chunks/MazSelect-DOexatNj.mjs +871 -0
  191. package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-DaDRzcT_.mjs} +172 -188
  192. package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-9M_EGMpy.mjs} +1 -1
  193. package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-BJpv1muf.mjs} +1 -1
  194. package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
  195. package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-Bsy1nA3c.mjs} +1 -1
  196. package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-C30YfScc.mjs} +1 -1
  197. package/components/chunks/MazSpinner-C5mnD76l.mjs +34 -0
  198. package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-CDx6lo7l.mjs} +1 -1
  199. package/components/chunks/MazSpinner-C_GueolV.mjs +34 -0
  200. package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-Cc-KlPEG.mjs} +1 -1
  201. package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +34 -0
  202. package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-CkKIUYXO.mjs} +1 -1
  203. package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CxyUHAvm.mjs} +1 -1
  204. package/components/chunks/MazSpinner-DROgQW2M.mjs +34 -0
  205. package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
  206. package/components/chunks/MazSpinner-Dzs2W0kq.mjs +34 -0
  207. package/components/chunks/MazSpinner-NCtEpFMm.mjs +34 -0
  208. package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
  209. package/components/chunks/MazSpinner-ZPQe8ON_.mjs +34 -0
  210. package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-b90e3OQK.mjs} +1 -1
  211. package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
  212. package/components/chunks/{MazTable-Cuz5QI08.mjs → MazTable-Ci8nhgOP.mjs} +199 -239
  213. package/components/chunks/MazTableCell-BIganK6X.mjs +23 -0
  214. package/components/chunks/MazTableRow-CIO-x6Lb.mjs +30 -0
  215. package/components/chunks/{MazTableTitle-BDA9G6Zw.mjs → MazTableTitle-OEgTPQB3.mjs} +4 -4
  216. package/components/chunks/MazTabsBar-CT35SCIK.mjs +177 -0
  217. package/components/chunks/{MazTransitionExpand-C-FHhOGB.mjs → MazTransitionExpand-Bcwdl9g2.mjs} +8 -8
  218. package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
  219. package/css/main.css +1 -1
  220. package/modules/assets/MazBtn.css +1 -1
  221. package/modules/assets/index.css +1 -1
  222. package/modules/chunks/MazBtn-0CRjeBvn.mjs +103 -0
  223. package/modules/chunks/MazBtn-DRqCRJD-.cjs +1 -0
  224. package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-CeT6HK_q.mjs} +4 -3
  225. package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-D-Gna0vz.cjs} +1 -1
  226. package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-DV--lwdI.mjs} +1 -1
  227. package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-DersvZQw.cjs} +1 -1
  228. package/modules/chunks/index-DvromXrX.cjs +124 -0
  229. package/modules/chunks/{index-x2F1l5sr.mjs → index-Kry9j5uD.mjs} +224 -249
  230. package/modules/index.cjs +1 -1
  231. package/modules/index.mjs +1 -1
  232. package/nuxt/index.json +1 -1
  233. package/package.json +22 -21
  234. package/tailwindcss/variables/colors.ts +2 -0
  235. package/types/components/MazAccordion.vue.d.ts +3 -2
  236. package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
  237. package/types/components/MazAvatar.vue.d.ts +2 -1
  238. package/types/components/MazBackdrop.vue.d.ts +2 -1
  239. package/types/components/MazBadge.vue.d.ts +7 -2
  240. package/types/components/MazBottomSheet.vue.d.ts +2 -1
  241. package/types/components/MazBtn.vue.d.ts +4 -3
  242. package/types/components/MazCard.vue.d.ts +5 -4
  243. package/types/components/MazCardSpotlight.vue.d.ts +3 -2
  244. package/types/components/MazCarousel.vue.d.ts +3 -2
  245. package/types/components/MazCheckbox.vue.d.ts +4 -3
  246. package/types/components/MazChecklist.vue.d.ts +2 -5
  247. package/types/components/MazCircularProgressBar.vue.d.ts +19 -66
  248. package/types/components/MazDialog.vue.d.ts +5 -3
  249. package/types/components/MazDrawer.vue.d.ts +2 -1
  250. package/types/components/MazDropdown.vue.d.ts +25 -3
  251. package/types/components/MazDropzone.vue.d.ts +1 -1
  252. package/types/components/MazExpandAnimation.vue.d.ts +6 -5
  253. package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
  254. package/types/components/MazGallery.vue.d.ts +1 -1
  255. package/types/components/MazInput.vue.d.ts +16 -3
  256. package/types/components/MazInputCode.vue.d.ts +1 -1
  257. package/types/components/MazInputNumber.vue.d.ts +2 -2
  258. package/types/components/MazInputPrice.vue.d.ts +4 -3
  259. package/types/components/MazLazyImg.vue.d.ts +2 -1
  260. package/types/components/MazLink.vue.d.ts +2 -1
  261. package/types/components/MazLoadingBar.vue.d.ts +1 -1
  262. package/types/components/MazPagination.vue.d.ts +3 -2
  263. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
  264. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
  265. package/types/components/MazPhoneNumberInput.vue.d.ts +6 -5
  266. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  267. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  268. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  269. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  270. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  271. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  272. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  273. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  274. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  275. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  276. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  277. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  278. package/types/components/MazPicker.vue.d.ts +3 -1
  279. package/types/components/MazPullToRefresh.vue.d.ts +4 -3
  280. package/types/components/MazRadio.vue.d.ts +1 -1
  281. package/types/components/MazRadioButtons.vue.d.ts +1 -1
  282. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  283. package/types/components/MazSelect.vue.d.ts +1 -1
  284. package/types/components/MazSlider.vue.d.ts +1 -1
  285. package/types/components/MazSpinner.vue.d.ts +1 -1
  286. package/types/components/MazStepper.vue.d.ts +3 -2
  287. package/types/components/MazSwitch.vue.d.ts +2 -1
  288. package/types/components/MazTable.vue.d.ts +14 -8
  289. package/types/components/MazTableCell.vue.d.ts +3 -2
  290. package/types/components/MazTableRow.vue.d.ts +3 -2
  291. package/types/components/MazTableTitle.vue.d.ts +3 -2
  292. package/types/components/MazTabs.vue.d.ts +3 -2
  293. package/types/components/MazTabsBar.vue.d.ts +3 -2
  294. package/types/components/MazTabsContent.vue.d.ts +3 -2
  295. package/types/components/MazTabsContentItem.vue.d.ts +2 -1
  296. package/types/components/MazTextarea.vue.d.ts +58 -32
  297. package/types/components/MazTransitionExpand.vue.d.ts +2 -1
  298. package/types/modules/composables/useFormValidator/types.d.ts +9 -5
  299. package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
  300. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +4 -4
  301. package/types/modules/composables/useFormValidator/utils.d.ts +17 -17
  302. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  303. package/types/modules/helpers/inject-strict.d.ts +2 -1
  304. package/types/tailwindcss/variables/colors.d.ts +2 -0
  305. package/components/chunks/MazBtn-BO3G90L3.mjs +0 -118
  306. package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
  307. package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
  308. package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
  309. package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
  310. package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
  311. package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
  312. package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
  313. package/components/chunks/MazBtn-DJOUeES7.mjs +0 -118
  314. package/components/chunks/MazBtn-DVkwISlp.mjs +0 -118
  315. package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
  316. package/components/chunks/MazBtn-DzBXfedt.mjs +0 -123
  317. package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
  318. package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
  319. package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
  320. package/components/chunks/MazExpandAnimation-Bkw_wFTi.mjs +0 -58
  321. package/components/chunks/MazInput-BQoQSRyL.mjs +0 -302
  322. package/components/chunks/MazInput-CJQB68c-.mjs +0 -290
  323. package/components/chunks/MazInput-oOA7gdLO.mjs +0 -291
  324. package/components/chunks/MazInputNumber-B4mQJcVB.mjs +0 -593
  325. package/components/chunks/MazInputTags-BVCej_gW.mjs +0 -606
  326. package/components/chunks/MazLink-Dl9ePCGm.mjs +0 -79
  327. package/components/chunks/MazLoadingBar-Dwf55oHy.mjs +0 -32
  328. package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
  329. package/components/chunks/MazPicker-C78yxilJ.mjs +0 -2477
  330. package/components/chunks/MazSelect-CQDoUpgp.mjs +0 -864
  331. package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
  332. package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
  333. package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
  334. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
  335. package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
  336. package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
  337. package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
  338. package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
  339. package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
  340. package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
  341. package/components/chunks/MazTableCell-D_OTOJiy.mjs +0 -23
  342. package/components/chunks/MazTableRow-BTcVAyOy.mjs +0 -30
  343. package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
  344. package/modules/chunks/MazBtn-BSnVxud6.mjs +0 -118
  345. package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
  346. package/modules/chunks/index-BPqjUr5e.cjs +0 -149
@@ -1,26 +1,26 @@
1
- import { defineComponent as Ie, useCssVars as Oe, defineAsyncComponent as b, computed as d, toRefs as Me, provide as Ne, ref as k, watch as R, useSlots as Le, onBeforeMount as Te, openBlock as n, createElementBlock as v, normalizeClass as g, renderSlot as p, createElementVNode as z, toDisplayString as h, createCommentVNode as s, createBlock as S, unref as t, createVNode as u, normalizeStyle as oe, createTextVNode as I, withCtx as c, Fragment as _, renderList as G } from "vue";
1
+ import { defineComponent as Me, useCssVars as Ne, defineAsyncComponent as f, computed as d, toRefs as we, provide as Le, ref as k, watch as R, useSlots as Te, onBeforeMount as Oe, openBlock as s, createElementBlock as v, normalizeClass as g, renderSlot as p, createElementVNode as h, toDisplayString as y, createCommentVNode as u, createBlock as S, unref as t, createVNode as i, normalizeStyle as oe, createTextVNode as M, withCtx as c, Fragment as G, renderList as J } from "vue";
2
2
  import '../assets/MazTable.css';const Ee = {
3
3
  key: 0,
4
4
  class: "m-table-header"
5
5
  }, Re = {
6
6
  key: 0,
7
7
  class: "m-table-spacer"
8
- }, je = { class: "m-table-header-title" }, De = {
8
+ }, Ke = { class: "m-table-header-title" }, De = {
9
9
  key: 1,
10
10
  class: "m-table-header-search"
11
- }, Fe = { key: 0 }, Ke = { key: 1 }, He = {
11
+ }, Fe = { key: 0 }, He = { key: 1 }, Ue = {
12
12
  key: 0,
13
13
  class: "m-table-sort-icon-wrapper"
14
- }, Ue = { class: "maz-text-center maz-text-muted" }, Qe = {
14
+ }, Qe = { class: "maz-text-center maz-text-muted" }, qe = {
15
15
  key: 1,
16
16
  class: "m-table-footer"
17
- }, qe = {
17
+ }, Ye = {
18
18
  key: 0,
19
19
  class: "m-table-footer-pagination"
20
- }, Ye = { class: "m-table-footer-pagination-items-per-page" }, _e = { class: "maz-hidden maz-text-sm tab-s:maz-block" }, Ge = {
20
+ }, je = { class: "m-table-footer-pagination-items-per-page" }, Ge = { class: "maz-hidden maz-text-sm tab-s:maz-block" }, Je = {
21
21
  key: 0,
22
22
  class: "maz-whitespace-nowrap maz-text-sm"
23
- }, Je = { class: "m-table-footer-pagination-buttons" }, We = /* @__PURE__ */ Ie({
23
+ }, We = { class: "m-table-footer-pagination-buttons" }, Xe = "maz-table", Ze = /* @__PURE__ */ Me({
24
24
  __name: "MazTable",
25
25
  props: {
26
26
  tableClass: { default: void 0 },
@@ -60,15 +60,16 @@ import '../assets/MazTable.css';const Ee = {
60
60
  tableLayout: { default: void 0 },
61
61
  color: { default: "primary" },
62
62
  translations: {},
63
- roundedSize: { default: "lg" }
63
+ roundedSize: { default: "lg" },
64
+ scrollable: { type: Boolean, default: !1 }
64
65
  },
65
66
  emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
66
- setup(O, { emit: j }) {
67
- Oe((e) => ({
68
- "432d38bc": a.tableLayout,
69
- "6a859efe": a.captionSide
67
+ setup(N, { emit: K }) {
68
+ Ne((e) => ({
69
+ "5312637a": e.tableLayout,
70
+ "4abb4982": e.captionSide
70
71
  }));
71
- const a = O, P = j, D = b(() => import("./arrow-up-DjSlktWl.mjs")), J = b(() => import("./chevron-double-left-D4-NpyrF.mjs")), W = b(() => import("./chevron-left-BqVOLRdC.mjs")), se = b(() => import("./magnifying-glass--nBiyXot.mjs")), M = b(() => import("./MazBtn-DJOUeES7.mjs")), X = b(() => import("./MazCheckbox-BmnqBHaY.mjs")), ne = b(() => import("./MazInput-oOA7gdLO.mjs")), re = b(() => import("./MazLoadingBar-Dwf55oHy.mjs")), Z = b(() => import("./MazSelect-uCJPMXF-.mjs")), N = b(() => import("./MazTableCell-D_OTOJiy.mjs")), F = b(() => import("./MazTableRow-BTcVAyOy.mjs")), K = b(() => import("./MazTableTitle-BDA9G6Zw.mjs")), ie = {
72
+ const a = N, $ = K, D = f(() => import("./arrow-up-DjSlktWl.mjs")), W = f(() => import("./chevron-double-left-D4-NpyrF.mjs")), X = f(() => import("./chevron-left-BqVOLRdC.mjs")), se = f(() => import("./magnifying-glass--nBiyXot.mjs")), w = f(() => import("./MazBtn-DI80W9rl.mjs")), Z = f(() => import("./MazCheckbox-DjY15PA3.mjs")), ne = f(() => import("./MazInput-BWAWlxDa.mjs")), re = f(() => import("./MazLoadingBar-CNm3Yt6D.mjs")), _ = f(() => import("./MazSelect-DaDRzcT_.mjs")), L = f(() => import("./MazTableCell-BIganK6X.mjs")), F = f(() => import("./MazTableRow-CIO-x6Lb.mjs")), H = f(() => import("./MazTableTitle-OEgTPQB3.mjs")), ue = {
72
73
  noResults: "No results",
73
74
  actionHeader: "Actions",
74
75
  searchByAllLabel: "All",
@@ -77,123 +78,123 @@ import '../assets/MazTable.css';const Ee = {
77
78
  paginationAllLabel: "All",
78
79
  paginationRowsPerPage: "Rows per page",
79
80
  paginationOf: "of"
80
- }, B = d(() => {
81
- const { translations: e, searchByAllLabel: o, searchByPlaceholder: l, searchPlaceholder: r, paginationAllLabel: i } = a;
81
+ }, C = d(() => {
82
+ const { translations: e, searchByAllLabel: o, searchByPlaceholder: l, searchPlaceholder: n, paginationAllLabel: r } = a;
82
83
  return {
83
- ...ie,
84
+ ...ue,
84
85
  ...e,
85
86
  searchByAllLabel: o,
86
87
  searchByPlaceholder: l,
87
- searchPlaceholder: r,
88
- paginationAllLabel: i
88
+ searchPlaceholder: n,
89
+ paginationAllLabel: r
89
90
  };
90
- }), ue = d(
91
+ }), ie = d(
91
92
  () => a.divider && !a.backgroundEven && !a.backgroundOdd
92
- ), { size: m, hoverable: de, backgroundEven: ce, backgroundOdd: ve } = Me(a);
93
- Ne("maz-table", {
93
+ ), { size: m, hoverable: de, backgroundEven: ce, backgroundOdd: ve } = we(a);
94
+ Le(Xe, {
94
95
  size: m,
95
96
  hoverable: de,
96
97
  backgroundEven: ce,
97
98
  backgroundOdd: ve
98
99
  });
99
- const H = k(le()), U = d(() => a.selectable || !!a.selectedKey), L = k(a.page);
100
+ const U = k(le()), Q = d(() => a.selectable || !!a.selectedKey), T = k(a.page);
100
101
  R(
101
102
  () => a.page,
102
103
  (e) => {
103
- L.value = e;
104
+ T.value = e;
104
105
  }
105
106
  );
106
- const f = d({
107
- get: () => L.value,
107
+ const b = d({
108
+ get: () => T.value,
108
109
  set: (e) => {
109
- L.value = e, P("update:page", e);
110
+ T.value = e, $("update:page", e);
110
111
  }
111
112
  }), pe = d(() => [
112
- { label: B.value.paginationAllLabel, value: Number.POSITIVE_INFINITY },
113
+ { label: C.value.paginationAllLabel, value: Number.POSITIVE_INFINITY },
113
114
  { label: 5, value: 5 },
114
115
  { label: 10, value: 10 },
115
116
  { label: 20, value: 20 },
116
117
  { label: 50, value: 50 },
117
118
  { label: 100, value: 100 },
118
119
  { label: 200, value: 200 }
119
- ]), Q = k(a.pageSize);
120
+ ]), q = k(a.pageSize);
120
121
  R(
121
122
  () => a.pageSize,
122
123
  (e) => {
123
- Q.value = e;
124
+ q.value = e;
124
125
  }
125
126
  );
126
- const C = d({
127
- get: () => Q.value,
127
+ const B = d({
128
+ get: () => q.value,
128
129
  set: (e) => {
129
- Q.value = e, P("update:page-size", e);
130
+ q.value = e, $("update:page-size", e);
130
131
  }
131
- }), A = d(() => {
132
+ }), I = d(() => {
132
133
  var e;
133
- return a.totalPages ?? (C.value === Number.POSITIVE_INFINITY || !((e = a.rows) != null && e.length)) ? 1 : Math.ceil(a.rows.length / C.value);
134
+ return a.totalPages ?? (B.value === Number.POSITIVE_INFINITY || !((e = a.rows) != null && e.length)) ? 1 : Math.ceil(a.rows.length / B.value);
134
135
  });
135
- function be() {
136
- f.value = 1;
136
+ function fe() {
137
+ b.value = 1;
137
138
  }
138
139
  function me() {
139
- f.value = A.value;
140
+ b.value = I.value;
140
141
  }
141
- function fe() {
142
- f.value = f.value - 1;
142
+ function be() {
143
+ b.value = b.value - 1;
143
144
  }
144
145
  function ge() {
145
- f.value = f.value + 1;
146
+ b.value = b.value + 1;
146
147
  }
147
148
  const x = d(() => {
148
- if (!a.pagination || a.noPaginateRows || C.value === Number.POSITIVE_INFINITY)
149
- return H.value;
150
- const e = (L.value - 1) * C.value, o = e + C.value;
151
- return H.value.slice(e, o);
149
+ if (!a.pagination || a.noPaginateRows || B.value === Number.POSITIVE_INFINITY)
150
+ return U.value;
151
+ const e = (T.value - 1) * B.value, o = e + B.value;
152
+ return U.value.slice(e, o);
152
153
  });
153
154
  R(
154
155
  () => [a.rows, a.modelValue],
155
156
  () => {
156
- H.value = le();
157
+ U.value = le();
157
158
  }
158
159
  );
159
- const $ = k(), y = k(), V = k(Be()), T = k(), he = d(() => [
160
+ const A = k(), z = k(), V = k(Ce()), O = k(), ye = d(() => [
160
161
  { label: a.searchByAllLabel, value: null },
161
162
  ...V.value.map((e) => ({
162
163
  label: e.label,
163
164
  value: e.key
164
165
  }))
165
- ]), q = k(a.searchQuery);
166
+ ]), Y = k(a.searchQuery);
166
167
  R(
167
168
  () => a.searchQuery,
168
169
  (e) => {
169
- q.value = e;
170
+ Y.value = e;
170
171
  }
171
172
  );
172
173
  const E = d({
173
- get: () => q.value,
174
+ get: () => Y.value,
174
175
  set: (e) => {
175
- q.value = e, P("update:search-query", e);
176
+ Y.value = e, $("update:search-query", e);
176
177
  }
177
178
  });
178
- function ye(e) {
179
+ function ze(e) {
179
180
  return [...e].sort((o, l) => {
180
- if ($.value === void 0 || y.value === void 0)
181
+ if (A.value === void 0 || z.value === void 0)
181
182
  return 0;
182
- const r = o[V.value[$.value].key], i = l[V.value[$.value].key];
183
- return typeof r == "string" && typeof i == "string" ? y.value === "ASC" ? r.localeCompare(i) : i.localeCompare(r) : y.value === "ASC" ? r - i : i - r;
183
+ const n = o[V.value[A.value].key], r = l[V.value[A.value].key];
184
+ return typeof n == "string" && typeof r == "string" ? z.value === "ASC" ? n.localeCompare(r) : r.localeCompare(n) : z.value === "ASC" ? n - r : r - n;
184
185
  });
185
186
  }
186
- function ze(e) {
187
+ function he(e) {
187
188
  if (a.noSearchInRow || typeof E.value != "string")
188
189
  return x.value;
189
190
  const o = E.value.toLowerCase();
190
- return [...e].filter((l) => T.value ? String(l[T.value]).toLowerCase().includes(o) : Object.values(l).some((r) => typeof r == "string" || typeof r == "number" || typeof r == "boolean" ? String(r).toLowerCase().includes(o) : !1));
191
+ return [...e].filter((l) => O.value ? String(l[O.value]).toLowerCase().includes(o) : Object.values(l).some((n) => typeof n == "string" || typeof n == "number" || typeof n == "boolean" ? String(n).toLowerCase().includes(o) : !1));
191
192
  }
192
- const w = d(() => {
193
- const e = ze(x.value);
194
- return ye(e);
195
- }), Se = Le(), ee = d(() => a.search || !!a.title || !!Se.title), ke = d(() => a.pagination);
196
- function Be() {
193
+ const P = d(() => {
194
+ const e = he(x.value);
195
+ return ze(e);
196
+ }), Se = Te(), ee = d(() => a.search || !!a.title || !!Se.title), ke = d(() => a.pagination);
197
+ function Ce() {
197
198
  var e;
198
199
  return ((e = a.headers) == null ? void 0 : e.map(
199
200
  (o) => typeof o == "string" ? { label: o, align: a.headersAlign } : { align: a.headersAlign, thHeaders: o.headers, ...o }
@@ -209,113 +210,109 @@ import '../assets/MazTable.css';const Ee = {
209
210
  };
210
211
  })) ?? [];
211
212
  }
212
- function Ce(e) {
213
- e === $.value ? y.value = y.value === void 0 ? "DESC" : y.value === "DESC" ? "ASC" : void 0 : y.value = "DESC", $.value = y.value === void 0 ? void 0 : e;
213
+ function Be(e) {
214
+ e === A.value ? z.value = z.value === void 0 ? "DESC" : z.value === "DESC" ? "ASC" : void 0 : z.value = "DESC", A.value = z.value === void 0 ? void 0 : e;
214
215
  }
215
216
  const ae = d({
216
- get: () => w.value.every((e) => e.selected) ?? !1,
217
+ get: () => P.value.every((e) => e.selected) ?? !1,
217
218
  set: Ve
218
219
  });
219
220
  function Ve(e) {
220
- for (const o of w.value)
221
+ for (const o of P.value)
221
222
  o.selected = e;
222
- Y();
223
+ j();
223
224
  }
224
- function we(e, o) {
225
- w.value[o].selected = e, Y();
225
+ function Pe(e, o) {
226
+ P.value[o].selected = e, j();
226
227
  }
227
- function Y(e) {
228
+ function j(e) {
228
229
  e = e ?? te();
229
230
  const o = e != null && e.length ? e : void 0;
230
- P("update:model-value", o);
231
+ $("update:model-value", o);
231
232
  }
232
233
  function te() {
233
- return w.value.filter((e) => e.selected).map((e) => a.selectedKey ? e[a.selectedKey] : e);
234
+ return P.value.filter((e) => e.selected).map((e) => a.selectedKey ? e[a.selectedKey] : e);
234
235
  }
235
- return Te(() => {
236
+ return Oe(() => {
236
237
  const e = te();
237
- e != null && e.length && Y(e);
238
- }), (e, o) => (n(), v(
238
+ e != null && e.length && j(e);
239
+ }), (e, o) => (s(), v(
239
240
  "div",
240
241
  {
241
242
  class: g(["m-table", { "--has-header": ee.value }])
242
243
  },
243
244
  [
244
- ee.value ? (n(), v("div", Ee, [
245
- e.title || e.$slots.title ? (n(), v("div", Re, [
245
+ ee.value ? (s(), v("div", Ee, [
246
+ e.title || e.$slots.title ? (s(), v("div", Re, [
246
247
  p(e.$slots, "title", {}, () => [
247
- z(
248
+ h(
248
249
  "span",
249
- je,
250
- h(e.title),
250
+ Ke,
251
+ y(e.title),
251
252
  1
252
253
  /* TEXT */
253
254
  )
254
255
  ], !0)
255
- ])) : s("v-if", !0),
256
- e.search ? (n(), v("div", De, [
257
- e.noSearchBy ? s("v-if", !0) : (n(), S(t(Z), {
256
+ ])) : u("v-if", !0),
257
+ e.search ? (s(), v("div", De, [
258
+ e.noSearchBy ? u("v-if", !0) : (s(), S(t(_), {
258
259
  key: 0,
259
- modelValue: T.value,
260
- "onUpdate:modelValue": o[0] || (o[0] = (l) => T.value = l),
260
+ modelValue: O.value,
261
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => O.value = l),
261
262
  "rounded-size": e.roundedSize,
262
263
  color: e.color,
263
264
  style: { width: "8rem" },
264
- placeholder: B.value.searchByPlaceholder,
265
+ placeholder: C.value.searchByPlaceholder,
265
266
  size: e.inputSize ?? t(m),
266
- options: he.value
267
+ options: ye.value
267
268
  }, null, 8, ["modelValue", "rounded-size", "color", "placeholder", "size", "options"])),
268
- u(t(ne), {
269
+ i(t(ne), {
269
270
  modelValue: E.value,
270
271
  "onUpdate:modelValue": o[1] || (o[1] = (l) => E.value = l),
271
272
  size: e.inputSize ?? t(m),
272
273
  "rounded-size": e.roundedSize,
273
274
  color: e.color,
274
275
  debounce: 300,
275
- placeholder: B.value.searchPlaceholder,
276
+ placeholder: C.value.searchPlaceholder,
276
277
  "left-icon": t(se)
277
278
  }, null, 8, ["modelValue", "size", "rounded-size", "color", "placeholder", "left-icon"])
278
- ])) : s("v-if", !0)
279
- ])) : s("v-if", !0),
280
- z(
279
+ ])) : u("v-if", !0)
280
+ ])) : u("v-if", !0),
281
+ h(
281
282
  "div",
282
283
  {
283
- class: g(["m-table-wrapper", [`--rounded-${e.roundedSize}`]])
284
+ class: g(["m-table-wrapper", [`--rounded-${e.roundedSize}`, {
285
+ "--scrollable": e.scrollable
286
+ }]])
284
287
  },
285
288
  [
286
- z(
289
+ h(
287
290
  "table",
288
291
  {
289
292
  class: g([{ "--elevation": e.elevation, "--has-layout": e.tableLayout }, e.tableClass]),
290
293
  style: oe(e.tableStyle)
291
294
  },
292
295
  [
293
- e.caption || e.$slots.caption ? (n(), v("caption", Fe, [
294
- s(`
295
- @slot caption - add caption on top or bottom of the table
296
- `),
296
+ e.caption || e.$slots.caption ? (s(), v("caption", Fe, [
297
297
  p(e.$slots, "caption", {}, () => [
298
- I(
299
- h(e.caption),
298
+ M(
299
+ y(e.caption),
300
300
  1
301
301
  /* TEXT */
302
302
  )
303
303
  ], !0)
304
- ])) : s("v-if", !0),
305
- V.value ? (n(), v("thead", Ke, [
306
- s(`
307
- @slot thead - content in thead element
308
- `),
304
+ ])) : u("v-if", !0),
305
+ V.value ? (s(), v("thead", He, [
309
306
  p(e.$slots, "thead", {}, () => [
310
- u(t(F), { "no-hoverable": "" }, {
307
+ i(t(F), { "no-hoverable": "" }, {
311
308
  default: c(() => [
312
- U.value ? (n(), S(t(K), {
309
+ Q.value ? (s(), S(t(H), {
313
310
  key: 0,
314
311
  align: "left",
315
312
  class: g([`--${t(m)}`, "m-table-select-column"])
316
313
  }, {
317
314
  default: c(() => [
318
- u(t(X), {
315
+ i(t(Z), {
319
316
  modelValue: ae.value,
320
317
  "onUpdate:modelValue": o[2] || (o[2] = (l) => ae.value = l),
321
318
  size: "sm"
@@ -323,12 +320,12 @@ import '../assets/MazTable.css';const Ee = {
323
320
  ]),
324
321
  _: 1
325
322
  /* STABLE */
326
- }, 8, ["class"])) : s("v-if", !0),
327
- (n(!0), v(
328
- _,
323
+ }, 8, ["class"])) : u("v-if", !0),
324
+ (s(!0), v(
325
+ G,
329
326
  null,
330
- G(V.value, (l, r) => (n(), S(t(K), {
331
- key: r,
327
+ J(V.value, (l, n) => (s(), S(t(H), {
328
+ key: n,
332
329
  scope: l.scope,
333
330
  align: l.align,
334
331
  rowspan: l.rowspan,
@@ -340,48 +337,38 @@ import '../assets/MazTable.css';const Ee = {
340
337
  l.classes,
341
338
  `--${t(m)}`
342
339
  ]]),
343
- onClick: (i) => (l.sortable ?? e.sortable) && Ce(r)
340
+ onClick: (r) => (l.sortable ?? e.sortable) && Be(n)
344
341
  }, {
345
342
  default: c(() => [
346
- z(
343
+ h(
347
344
  "span",
348
345
  {
349
346
  class: g({ "maz-sr-only": l.srOnly })
350
347
  },
351
348
  [
352
- s(`
353
- @slot header - replace column header
354
- @binding {Object} header - header data
355
- @binding {String} label - header label
356
- `),
357
349
  p(e.$slots, "header", {
358
350
  header: l,
359
351
  label: l.label
360
352
  }, () => [
361
- s(`
362
- @slot header-label-{key} - replace column header label
363
- @binding {Object} header - header data
364
- @binding {String} label - header label
365
- `),
366
353
  p(e.$slots, `header-label-${l.key}`, {
367
354
  header: l,
368
355
  label: l.label
369
356
  }, () => [
370
- I(
371
- h(l.label),
357
+ M(
358
+ y(l.label),
372
359
  1
373
360
  /* TEXT */
374
361
  )
375
362
  ], !0),
376
- l.sortable ?? e.sortable ? (n(), v("div", He, [
377
- u(t(D), {
363
+ l.sortable ?? e.sortable ? (s(), v("div", Ue, [
364
+ i(t(D), {
378
365
  class: g(["m-table-sort-icon maz-hidden group-hover:maz-block", {
379
- "--sorted": r === $.value,
380
- "--up": y.value === "DESC",
381
- "--down": y.value === "ASC"
366
+ "--sorted": n === A.value,
367
+ "--up": z.value === "DESC",
368
+ "--down": z.value === "ASC"
382
369
  }])
383
370
  }, null, 8, ["class"])
384
- ])) : s("v-if", !0)
371
+ ])) : u("v-if", !0)
385
372
  ], !0)
386
373
  ],
387
374
  2
@@ -394,18 +381,15 @@ import '../assets/MazTable.css';const Ee = {
394
381
  128
395
382
  /* KEYED_FRAGMENT */
396
383
  )),
397
- e.$slots.actions ? (n(), S(t(K), {
384
+ e.$slots.actions ? (s(), S(t(H), {
398
385
  key: 1,
399
386
  align: "left",
400
387
  class: g(`--${t(m)}`)
401
388
  }, {
402
389
  default: c(() => [
403
- s(`
404
- @slot actions-header - replace text of actions header
405
- `),
406
390
  p(e.$slots, "actions-header", {}, () => [
407
- I(
408
- h(B.value.actionHeader),
391
+ M(
392
+ y(C.value.actionHeader),
409
393
  1
410
394
  /* TEXT */
411
395
  )
@@ -413,55 +397,50 @@ import '../assets/MazTable.css';const Ee = {
413
397
  ]),
414
398
  _: 3
415
399
  /* FORWARDED */
416
- }, 8, ["class"])) : s("v-if", !0)
400
+ }, 8, ["class"])) : u("v-if", !0)
417
401
  ]),
418
402
  _: 3
419
403
  /* FORWARDED */
420
404
  })
421
405
  ], !0)
422
- ])) : s("v-if", !0),
423
- e.loading ? (n(), S(t(re), {
406
+ ])) : u("v-if", !0),
407
+ e.loading ? (s(), S(t(re), {
424
408
  key: 2,
425
409
  color: e.color,
426
410
  class: "!maz-absolute"
427
- }, null, 8, ["color"])) : s("v-if", !0),
428
- z(
411
+ }, null, 8, ["color"])) : u("v-if", !0),
412
+ h(
429
413
  "tbody",
430
414
  {
431
- class: g({ "--divider": ue.value })
415
+ class: g({ "--divider": ie.value })
432
416
  },
433
417
  [
434
418
  p(e.$slots, "default", {}, () => [
435
- w.value.length > 0 ? (n(!0), v(
436
- _,
419
+ P.value.length > 0 ? (s(!0), v(
420
+ G,
437
421
  { key: 0 },
438
- G(w.value, (l, r) => (n(), S(t(F), {
439
- key: r,
422
+ J(P.value, (l, n) => (s(), S(t(F), {
423
+ key: n,
440
424
  class: g(l.classes),
441
- onClick: (i) => l.action && l.action(l)
425
+ onClick: (r) => l.action && l.action(l)
442
426
  }, {
443
427
  default: c(() => [
444
- U.value ? (n(), S(
445
- t(N),
428
+ Q.value ? (s(), S(
429
+ t(L),
446
430
  {
447
431
  key: 0,
448
432
  class: "m-table-select-column"
449
433
  },
450
434
  {
451
435
  default: c(() => [
452
- s(`
453
- @slot select - replace checkbox component
454
- @binding {Object} row - row data
455
- @binding {Boolean} selected - if selected or not
456
- `),
457
436
  p(e.$slots, "select", {
458
437
  row: l,
459
438
  selected: l.selected
460
439
  }, () => [
461
- u(t(X), {
440
+ i(t(Z), {
462
441
  size: "sm",
463
442
  "model-value": l.selected,
464
- "onUpdate:modelValue": (i) => we(i, r)
443
+ "onUpdate:modelValue": (r) => Pe(r, n)
465
444
  }, null, 8, ["model-value", "onUpdate:modelValue"])
466
445
  ], !0)
467
446
  ]),
@@ -470,42 +449,32 @@ import '../assets/MazTable.css';const Ee = {
470
449
  },
471
450
  1024
472
451
  /* DYNAMIC_SLOTS */
473
- )) : s("v-if", !0),
474
- (n(!0), v(
475
- _,
452
+ )) : u("v-if", !0),
453
+ (s(!0), v(
454
+ G,
476
455
  null,
477
- G(V.value, ({ key: i, align: Pe, classes: $e }, Ae) => (n(), S(t(N), {
478
- key: Ae,
479
- align: Pe,
480
- class: g($e)
456
+ J(V.value, ({ key: r, align: $e, classes: Ae }, Ie) => (s(), S(t(L), {
457
+ key: Ie,
458
+ align: $e,
459
+ class: g(Ae)
481
460
  }, {
482
461
  default: c(() => [
483
- s(`
484
- @slot cell - replace all row cells
485
- @binding {Object} row - row data
486
- @binding {Boolean} value - cell value
487
- `),
488
- i ? p(e.$slots, "cell", {
462
+ r ? p(e.$slots, "cell", {
489
463
  key: 0,
490
464
  row: l,
491
- value: l[i]
465
+ value: l[r]
492
466
  }, () => [
493
- s(`
494
- @slot cell-{key} - replace row cells of column
495
- @binding {Object} row - row data
496
- @binding {Boolean} value - cell value
497
- `),
498
- p(e.$slots, `cell-${i}`, {
467
+ p(e.$slots, `cell-${r}`, {
499
468
  row: l,
500
- value: l[i]
469
+ value: l[r]
501
470
  }, () => [
502
- I(
503
- h(l[i]),
471
+ M(
472
+ y(l[r]),
504
473
  1
505
474
  /* TEXT */
506
475
  )
507
476
  ], !0)
508
- ], !0) : s("v-if", !0)
477
+ ], !0) : u("v-if", !0)
509
478
  ]),
510
479
  _: 2
511
480
  /* DYNAMIC */
@@ -513,15 +482,11 @@ import '../assets/MazTable.css';const Ee = {
513
482
  128
514
483
  /* KEYED_FRAGMENT */
515
484
  )),
516
- e.$slots.actions ? (n(), S(
517
- t(N),
485
+ e.$slots.actions ? (s(), S(
486
+ t(L),
518
487
  { key: 1 },
519
488
  {
520
489
  default: c(() => [
521
- s(`
522
- @slot actions - will add actions column
523
- @binding {Object} row - row data
524
- `),
525
490
  p(e.$slots, "actions", { row: l }, void 0, !0)
526
491
  ]),
527
492
  _: 2
@@ -529,30 +494,24 @@ import '../assets/MazTable.css';const Ee = {
529
494
  },
530
495
  1024
531
496
  /* DYNAMIC_SLOTS */
532
- )) : s("v-if", !0)
497
+ )) : u("v-if", !0)
533
498
  ]),
534
499
  _: 2
535
500
  /* DYNAMIC */
536
501
  }, 1032, ["class", "onClick"]))),
537
502
  128
538
503
  /* KEYED_FRAGMENT */
539
- )) : (n(), S(t(F), { key: 1 }, {
504
+ )) : (s(), S(t(F), { key: 1 }, {
540
505
  default: c(() => [
541
- u(t(N), {
542
- colspan: V.value.length + (U.value ? 1 : 0) + (e.$slots.actions ? 1 : 0)
506
+ i(t(L), {
507
+ colspan: V.value.length + (Q.value ? 1 : 0) + (e.$slots.actions ? 1 : 0)
543
508
  }, {
544
509
  default: c(() => [
545
- s(`
546
- @slot no-results - replace no results
547
- `),
548
510
  p(e.$slots, "no-results", {}, () => [
549
- z("p", Ue, [
550
- s(`
551
- @slot no-results-text - replace no results test only
552
- `),
511
+ h("p", Qe, [
553
512
  p(e.$slots, "no-results-text", {}, () => [
554
- I(
555
- h(B.value.noResults),
513
+ M(
514
+ y(C.value.noResults),
556
515
  1
557
516
  /* TEXT */
558
517
  )
@@ -580,26 +539,26 @@ import '../assets/MazTable.css';const Ee = {
580
539
  2
581
540
  /* CLASS */
582
541
  ),
583
- ke.value ? (n(), v("div", Qe, [
584
- o[4] || (o[4] = z(
542
+ ke.value ? (s(), v("div", qe, [
543
+ o[4] || (o[4] = h(
585
544
  "div",
586
545
  { class: "m-table-spacer" },
587
546
  null,
588
547
  -1
589
548
  /* HOISTED */
590
549
  )),
591
- e.pagination ? (n(), v("div", qe, [
592
- z("div", Ye, [
593
- z(
550
+ e.pagination ? (s(), v("div", Ye, [
551
+ h("div", je, [
552
+ h(
594
553
  "span",
595
- _e,
596
- h(B.value.paginationRowsPerPage),
554
+ Ge,
555
+ y(C.value.paginationRowsPerPage),
597
556
  1
598
557
  /* TEXT */
599
558
  ),
600
- u(t(Z), {
601
- modelValue: C.value,
602
- "onUpdate:modelValue": o[3] || (o[3] = (l) => C.value = l),
559
+ i(t(_), {
560
+ modelValue: B.value,
561
+ "onUpdate:modelValue": o[3] || (o[3] = (l) => B.value = l),
603
562
  options: pe.value,
604
563
  "rounded-size": e.roundedSize,
605
564
  size: e.inputSize ?? t(m),
@@ -608,44 +567,44 @@ import '../assets/MazTable.css';const Ee = {
608
567
  style: { width: "5rem" }
609
568
  }, null, 8, ["modelValue", "options", "rounded-size", "size", "color"])
610
569
  ]),
611
- A.value ? (n(), v(
570
+ I.value ? (s(), v(
612
571
  "span",
613
- Ge,
614
- h(f.value) + " - " + h(w.value.length) + " " + h(B.value.paginationOf) + " " + h(A.value),
572
+ Je,
573
+ y(b.value) + " - " + y(P.value.length) + " " + y(C.value.paginationOf) + " " + y(I.value),
615
574
  1
616
575
  /* TEXT */
617
- )) : s("v-if", !0),
618
- z("div", Je, [
619
- u(t(M), {
620
- disabled: f.value === 1,
576
+ )) : u("v-if", !0),
577
+ h("div", We, [
578
+ i(t(w), {
579
+ disabled: b.value === 1,
621
580
  size: t(m),
622
581
  color: "transparent",
623
582
  "rounded-size": e.roundedSize,
624
583
  "no-elevation": "",
625
- onClick: be
584
+ onClick: fe
626
585
  }, {
627
586
  default: c(() => [
628
- u(t(J), { class: "maz-text-base" })
587
+ i(t(W), { class: "maz-text-base" })
629
588
  ]),
630
589
  _: 1
631
590
  /* STABLE */
632
591
  }, 8, ["disabled", "size", "rounded-size"]),
633
- u(t(M), {
634
- disabled: f.value === 1,
592
+ i(t(w), {
593
+ disabled: b.value === 1,
635
594
  size: t(m),
636
595
  color: "transparent",
637
596
  "rounded-size": e.roundedSize,
638
597
  "no-elevation": "",
639
- onClick: fe
598
+ onClick: be
640
599
  }, {
641
600
  default: c(() => [
642
- u(t(W), { class: "maz-text-base" })
601
+ i(t(X), { class: "maz-text-base" })
643
602
  ]),
644
603
  _: 1
645
604
  /* STABLE */
646
605
  }, 8, ["disabled", "size", "rounded-size"]),
647
- u(t(M), {
648
- disabled: f.value === A.value,
606
+ i(t(w), {
607
+ disabled: b.value === I.value,
649
608
  size: t(m),
650
609
  color: "transparent",
651
610
  "rounded-size": e.roundedSize,
@@ -653,13 +612,13 @@ import '../assets/MazTable.css';const Ee = {
653
612
  onClick: ge
654
613
  }, {
655
614
  default: c(() => [
656
- u(t(W), { class: "maz-rotate-180 maz-text-base" })
615
+ i(t(X), { class: "maz-rotate-180 maz-text-base" })
657
616
  ]),
658
617
  _: 1
659
618
  /* STABLE */
660
619
  }, 8, ["disabled", "size", "rounded-size"]),
661
- u(t(M), {
662
- disabled: f.value === A.value,
620
+ i(t(w), {
621
+ disabled: b.value === I.value,
663
622
  size: t(m),
664
623
  color: "transparent",
665
624
  "rounded-size": e.roundedSize,
@@ -667,26 +626,27 @@ import '../assets/MazTable.css';const Ee = {
667
626
  onClick: me
668
627
  }, {
669
628
  default: c(() => [
670
- u(t(J), { class: "maz-rotate-180 maz-text-base" })
629
+ i(t(W), { class: "maz-rotate-180 maz-text-base" })
671
630
  ]),
672
631
  _: 1
673
632
  /* STABLE */
674
633
  }, 8, ["disabled", "size", "rounded-size"])
675
634
  ])
676
- ])) : s("v-if", !0)
677
- ])) : s("v-if", !0)
635
+ ])) : u("v-if", !0)
636
+ ])) : u("v-if", !0)
678
637
  ],
679
638
  2
680
639
  /* CLASS */
681
640
  ));
682
641
  }
683
- }), Xe = (O, j) => {
684
- const a = O.__vccOpts || O;
685
- for (const [P, D] of j)
686
- a[P] = D;
642
+ }), _e = (N, K) => {
643
+ const a = N.__vccOpts || N;
644
+ for (const [$, D] of K)
645
+ a[$] = D;
687
646
  return a;
688
- }, xe = /* @__PURE__ */ Xe(We, [["__scopeId", "data-v-48937bba"]]);
647
+ }, el = /* @__PURE__ */ _e(Ze, [["__scopeId", "data-v-770514ee"]]);
689
648
  export {
690
- xe as M,
691
- Xe as _
649
+ el as M,
650
+ _e as _,
651
+ Xe as m
692
652
  };