maz-ui 3.50.0 → 4.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1229) hide show
  1. package/dist/assets/CountrySelector.Cnqbl3xF.css +1 -0
  2. package/dist/assets/MazAccordion.DaqF3ZAX.css +1 -0
  3. package/dist/assets/MazAnimatedCounter.DYYlw_wl.css +1 -0
  4. package/dist/assets/MazAnimatedElement.BIRRN8k1.css +1 -0
  5. package/dist/assets/MazAnimatedText.Dk4QO4xF.css +1 -0
  6. package/dist/assets/MazAvatar.L1UreldR.css +1 -0
  7. package/dist/assets/MazBackdrop.C72SNI28.css +1 -0
  8. package/dist/assets/MazBadge.RMWNkgZL.css +1 -0
  9. package/dist/assets/MazBottomSheet.Dqr-kpLb.css +1 -0
  10. package/dist/assets/MazBtn.7QWd6o3M.css +1 -0
  11. package/dist/assets/MazCard.Cod9pIM4.css +1 -0
  12. package/dist/assets/MazCardSpotlight.DuZac0w4.css +1 -0
  13. package/dist/assets/MazCarousel.BQIrqJ8T.css +1 -0
  14. package/dist/assets/MazCheckbox.BQVJ7EUB.css +1 -0
  15. package/dist/assets/MazChecklist.5ArDAEhG.css +1 -0
  16. package/dist/assets/MazCircularProgressBar.DywLXEfR.css +1 -0
  17. package/dist/assets/MazDialog.BLzdH8aa.css +1 -0
  18. package/dist/assets/MazDrawer.Cu4KVc_z.css +1 -0
  19. package/dist/assets/MazExpandAnimation.BEIRlAy-.css +1 -0
  20. package/dist/assets/MazFullscreenLoader.DTW_WUM6.css +1 -0
  21. package/dist/assets/MazGallery.ChuEM3_y.css +1 -0
  22. package/dist/assets/MazInput.C5uUOQLJ.css +1 -0
  23. package/dist/assets/MazInputCode.C1Mlb3p3.css +1 -0
  24. package/dist/assets/MazInputNumber.BQgG6Qvc.css +1 -0
  25. package/dist/assets/MazInputPhoneNumber.DKac4ZYj.css +1 -0
  26. package/dist/assets/MazInputTags.eygPFBJC.css +1 -0
  27. package/dist/assets/MazLazyImg.BvztvWbf.css +1 -0
  28. package/dist/assets/MazLink.DQ7r1i9T.css +1 -0
  29. package/dist/assets/MazLoadingBar.C6sNjytz.css +1 -0
  30. package/dist/assets/MazPagination.DSYY_yu7.css +1 -0
  31. package/dist/assets/MazPicker.fY2qT4ER.css +1 -0
  32. package/dist/assets/MazPickerCalendar.K1FbevcF.css +1 -0
  33. package/dist/assets/MazPickerCalendarMonth.GACBSeof.css +1 -0
  34. package/dist/assets/MazPickerCalendarSwitcher.23EFP_7Y.css +1 -0
  35. package/dist/assets/MazPickerHeader.CfwpRnA1.css +1 -0
  36. package/dist/assets/MazPickerMonthSwitcher.Cl1WlZpR.css +1 -0
  37. package/dist/assets/MazPickerShortcuts.B1ASAi7L.css +1 -0
  38. package/dist/assets/MazPickerTime.5J3qaKGo.css +1 -0
  39. package/dist/assets/MazPickerYearSwitcher.Bt0efux6.css +1 -0
  40. package/dist/assets/MazPullToRefresh.BdvKaU9N.css +1 -0
  41. package/dist/assets/MazRadio.zYTBn9Pj.css +1 -0
  42. package/dist/assets/MazRadioButtons.CIq38oX6.css +1 -0
  43. package/dist/assets/MazReadingProgressBar.CbqVvC8N.css +1 -0
  44. package/dist/assets/MazSelect.CH_76PSg.css +1 -0
  45. package/dist/assets/MazSlider.D08gO9DD.css +1 -0
  46. package/dist/assets/MazSpinner.DTuz1RdS.css +1 -0
  47. package/dist/assets/MazStepper.BE3Mm9rm.css +1 -0
  48. package/dist/assets/MazTable.D06R_2nI.css +1 -0
  49. package/dist/assets/MazTableCell.BDmda4j7.css +1 -0
  50. package/dist/assets/MazTableRow.Copw9RJN.css +1 -0
  51. package/dist/assets/MazTableTitle.Cspgmj1g.css +1 -0
  52. package/dist/assets/MazTabsBar.-q3BbMXe.css +1 -0
  53. package/dist/assets/MazTabsContentItem.C0ygFU51.css +1 -0
  54. package/dist/assets/MazTextarea.QTMu0OQv.css +1 -0
  55. package/dist/assets/MazTransitionExpand.D3j4PawL.css +1 -0
  56. package/dist/assets/PhoneInput.utJQQXVJ.css +1 -0
  57. package/dist/assets/fullscreen-img.hjNozahA.css +1 -0
  58. package/dist/assets/toaster.C9zhIkIO.css +1 -0
  59. package/dist/chunks/CountrySelector.DdswEbFD.js +177 -0
  60. package/dist/chunks/MazChart.vue_vue_type_script_setup_true_lang.OYo-HXwF.js +92 -0
  61. package/dist/chunks/MazDialogPromise.vue_vue_type_script_setup_true_lang.4Oe-oHLl.js +213 -0
  62. package/dist/chunks/MazDropdown.vue_vue_type_style_index_0_lang.BfXJ_MY5.js +240 -0
  63. package/dist/chunks/MazIcon.vue_vue_type_script_setup_true_lang.CMbhrIdI.js +103 -0
  64. package/dist/chunks/MazInputNumber.vue_vue_type_style_index_0_lang.BC7pKYyR.js +126 -0
  65. package/dist/chunks/MazInputPhoneNumber.SX--TVUa.js +391 -0
  66. package/dist/chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.DOtT8uOc.js +85 -0
  67. package/dist/chunks/MazPicker.qrjLr1LC.js +768 -0
  68. package/dist/chunks/MazPickerCalendar.wLx9bpla.js +114 -0
  69. package/dist/chunks/MazPickerCalendarMonth.BAGEzpiX.js +257 -0
  70. package/dist/chunks/MazPickerCalendarSwitcher.DNOJBstV.js +90 -0
  71. package/dist/chunks/MazPickerHeader.D2MCckVK.js +136 -0
  72. package/dist/chunks/MazPickerMonthSwitcher.B-pkMUq_.js +82 -0
  73. package/dist/chunks/MazPickerShortcuts.BB98CX9u.js +62 -0
  74. package/dist/chunks/MazPickerTime.wPLppaUp.js +189 -0
  75. package/dist/chunks/MazPickerYearSwitcher.DEZEMpA9.js +96 -0
  76. package/dist/chunks/MazSwitch.vue_vue_type_style_index_0_lang.C0cqQKJt.js +86 -0
  77. package/dist/chunks/MazTable.vue_vue_type_style_index_0_scoped_4101f1d3_lang.DUP8S_W0.js +533 -0
  78. package/dist/chunks/MazTabs.vue_vue_type_script_setup_true_lang.DnbfPaVg.js +28 -0
  79. package/dist/chunks/MazTabsContent.vue_vue_type_script_setup_true_lang.BXptx7-v.js +26 -0
  80. package/dist/chunks/PhoneInput.BUrcSAlz.js +106 -0
  81. package/dist/chunks/arrow-top-right-on-square.wYk3YJI_.js +24 -0
  82. package/dist/chunks/arrow-up.HdMpMK4c.js +24 -0
  83. package/dist/chunks/banknotes.CQ9Qxg-e.js +24 -0
  84. package/dist/chunks/check-circle.DhFkXzgc.js +24 -0
  85. package/dist/chunks/check.B-gxQRxL.js +24 -0
  86. package/dist/chunks/chevron-double-left.C1WkQBYN.js +24 -0
  87. package/dist/chunks/chevron-down.CWWH3GZ1.js +24 -0
  88. package/dist/chunks/chevron-left.njfuF_Vt.js +24 -0
  89. package/dist/chunks/chevron-right.CEEKGU2c.js +24 -0
  90. package/dist/chunks/ellipsis-horizontal.BKw73_U9.js +24 -0
  91. package/dist/chunks/exclamation-circle.D4z1YE7G.js +24 -0
  92. package/dist/chunks/exclamation-triangle.DiZZcE2l.js +24 -0
  93. package/dist/chunks/eye-slash.BrQSe1kT.js +24 -0
  94. package/dist/chunks/eye.yaEU50DN.js +31 -0
  95. package/dist/chunks/fullscreen-img.directive.CaOkiCBy.js +328 -0
  96. package/dist/chunks/information-circle.CEsJ8VHx.js +24 -0
  97. package/dist/chunks/lazy-img.directive.Cjz2aiGf.js +188 -0
  98. package/dist/chunks/link.qHT4E8pY.js +24 -0
  99. package/dist/chunks/magnifying-glass.6EkSEo-G.js +24 -0
  100. package/dist/chunks/minus.BHEyT7J2.js +24 -0
  101. package/dist/chunks/no-photography.B6pz0xMN.js +24 -0
  102. package/dist/chunks/no-symbol.DqVEpOgn.js +24 -0
  103. package/dist/chunks/pencil.Cl_0Egfc.js +24 -0
  104. package/dist/chunks/plus.CNCGxFPJ.js +24 -0
  105. package/dist/chunks/trash.lmwqE3cE.js +24 -0
  106. package/dist/chunks/utils.Cg8nbVpk.js +321 -0
  107. package/dist/chunks/x-mark.DTWA3lfG.js +24 -0
  108. package/dist/components/MazAccordion.js +84 -0
  109. package/dist/components/MazAnimatedCounter.js +77 -0
  110. package/dist/components/MazAnimatedElement.js +33 -0
  111. package/dist/components/MazAnimatedText.js +79 -0
  112. package/dist/components/MazAvatar.js +124 -0
  113. package/dist/components/MazBackdrop.js +128 -0
  114. package/dist/components/MazBadge.js +28 -0
  115. package/dist/components/MazBottomSheet.js +53 -0
  116. package/dist/components/MazBtn.js +102 -0
  117. package/dist/components/MazCard.js +173 -0
  118. package/dist/components/MazCardSpotlight.js +68 -0
  119. package/dist/components/MazCarousel.js +97 -0
  120. package/dist/components/MazChart.js +4 -0
  121. package/dist/components/MazCheckbox.js +134 -0
  122. package/dist/components/MazChecklist.js +124 -0
  123. package/dist/components/MazCircularProgressBar.js +132 -0
  124. package/dist/components/MazDialog.js +135 -0
  125. package/dist/components/MazDialogPromise.js +6 -0
  126. package/dist/components/MazDrawer.js +69 -0
  127. package/dist/components/MazDropdown.js +4 -0
  128. package/dist/components/MazDropzone.js +194 -0
  129. package/dist/components/MazExpandAnimation.js +48 -0
  130. package/dist/components/MazFullscreenLoader.js +37 -0
  131. package/dist/components/MazGallery.js +124 -0
  132. package/dist/components/MazIcon.js +4 -0
  133. package/dist/components/MazInput.js +264 -0
  134. package/dist/components/MazInputCode.js +145 -0
  135. package/dist/components/MazInputNumber.js +4 -0
  136. package/dist/components/MazInputPhoneNumber.js +5 -0
  137. package/dist/components/MazInputPrice.js +4 -0
  138. package/dist/components/MazInputTags.js +153 -0
  139. package/dist/components/MazLazyImg.js +68 -0
  140. package/dist/components/MazLink.js +64 -0
  141. package/dist/components/MazLoadingBar.js +24 -0
  142. package/dist/components/MazPagination.js +189 -0
  143. package/dist/components/MazPicker.js +5 -0
  144. package/dist/components/MazPullToRefresh.js +146 -0
  145. package/dist/components/MazRadio.js +106 -0
  146. package/dist/components/MazRadioButtons.js +129 -0
  147. package/dist/components/MazReadingProgressBar.js +67 -0
  148. package/dist/components/MazSelect.js +377 -0
  149. package/dist/components/MazSlider.js +230 -0
  150. package/dist/components/MazSpinner.js +28 -0
  151. package/dist/components/MazStepper.js +160 -0
  152. package/dist/components/MazSwitch.js +4 -0
  153. package/dist/components/MazTable.js +8 -0
  154. package/dist/components/MazTableCell.js +18 -0
  155. package/dist/components/MazTableRow.js +25 -0
  156. package/dist/components/MazTableTitle.js +18 -0
  157. package/dist/components/MazTabs.js +4 -0
  158. package/dist/components/MazTabsBar.js +138 -0
  159. package/dist/components/MazTabsContent.js +4 -0
  160. package/dist/components/MazTabsContentItem.js +40 -0
  161. package/dist/components/MazTextarea.js +175 -0
  162. package/dist/components/MazTransitionExpand.js +46 -0
  163. package/dist/components.js +112 -0
  164. package/dist/composables/useAos.js +7 -0
  165. package/dist/composables/useBreakpoints.js +40 -0
  166. package/dist/composables/useDialog.js +7 -0
  167. package/dist/composables/useFormField.js +98 -0
  168. package/dist/composables/useFormValidator.js +116 -0
  169. package/dist/composables/useIdleTimeout.js +10 -0
  170. package/dist/composables/useInstanceUniqId.js +10 -0
  171. package/dist/composables/useLanguageDisplayNames.js +371 -0
  172. package/dist/composables/useReadingTime.js +39 -0
  173. package/dist/composables/useStringMatching.js +42 -0
  174. package/dist/composables/useSwipe.js +26 -0
  175. package/dist/composables/useThemeHandler.js +125 -0
  176. package/dist/composables/useTimer.js +32 -0
  177. package/dist/composables/useToast.js +7 -0
  178. package/dist/composables/useUserVisibilty.js +10 -0
  179. package/dist/composables/useWait.js +7 -0
  180. package/dist/composables/useWindowSize.js +21 -0
  181. package/dist/directives/vClickOutside.js +51 -0
  182. package/dist/directives/vClosable.js +41 -0
  183. package/dist/directives/vFullscreenImg.js +10 -0
  184. package/dist/directives/vLazyImg.js +23 -0
  185. package/dist/directives/vTooltip.js +73 -0
  186. package/dist/directives/vZoomImg.js +289 -0
  187. package/dist/filters/camelCase.js +6 -0
  188. package/dist/filters/capitalize.js +6 -0
  189. package/dist/filters/currency.js +34 -0
  190. package/dist/filters/date.js +21 -0
  191. package/dist/filters/number.js +23 -0
  192. package/dist/filters/pascalCase.js +8 -0
  193. package/dist/filters/telephone.js +10 -0
  194. package/dist/helpers/checkAvailability.js +16 -0
  195. package/dist/helpers/countryCodeToUnicodeFlag.js +10 -0
  196. package/dist/helpers/countryFlagFromFlagCdn.js +6 -0
  197. package/dist/helpers/debounce.js +11 -0
  198. package/dist/helpers/debounceCallback.js +7 -0
  199. package/dist/helpers/debounceId.js +21 -0
  200. package/dist/helpers/freezeValue.js +8 -0
  201. package/dist/helpers/idleTimeout.js +114 -0
  202. package/dist/helpers/injectStrict.js +10 -0
  203. package/dist/helpers/isClient.js +6 -0
  204. package/dist/helpers/isEqual.js +26 -0
  205. package/dist/helpers/isStandaloneMode.js +10 -0
  206. package/dist/helpers/mountComponent.js +16 -0
  207. package/dist/helpers/normalizeString.js +69 -0
  208. package/dist/helpers/scriptLoader.js +47 -0
  209. package/dist/helpers/sleep.js +6 -0
  210. package/dist/helpers/swipeHandler.js +85 -0
  211. package/dist/helpers/throttle.js +11 -0
  212. package/dist/helpers/throttleId.js +19 -0
  213. package/dist/helpers/truthyFilter.js +6 -0
  214. package/dist/helpers/userVisibility.js +53 -0
  215. package/dist/maz-ui.js +162 -0
  216. package/dist/plugins/aos.js +99 -0
  217. package/dist/plugins/dialog.js +42 -0
  218. package/dist/plugins/toaster.js +270 -0
  219. package/dist/plugins/wait.js +48 -0
  220. package/dist/resolvers/UnpluginDirectivesResolver.js +9 -0
  221. package/dist/resolvers/UnpluginModulesResolver.js +44 -0
  222. package/dist/resolvers/UnpluginVueComponentsResolver.js +15 -0
  223. package/dist/types/components/MazAccordion.vue.d.ts +35 -0
  224. package/dist/types/components/MazAnimatedCounter.vue.d.ts +56 -0
  225. package/dist/types/components/MazAnimatedElement.vue.d.ts +41 -0
  226. package/dist/types/components/MazAnimatedText.vue.d.ts +55 -0
  227. package/dist/types/components/MazAvatar.vue.d.ts +100 -0
  228. package/dist/types/components/MazBackdrop.vue.d.ts +70 -0
  229. package/dist/types/components/MazBadge.vue.d.ts +38 -0
  230. package/dist/types/components/MazBottomSheet.vue.d.ts +34 -0
  231. package/dist/types/components/MazBtn.vue.d.ts +133 -0
  232. package/dist/types/components/MazCard.vue.d.ts +93 -0
  233. package/dist/types/components/MazCardSpotlight.vue.d.ts +60 -0
  234. package/dist/types/components/MazCarousel.vue.d.ts +34 -0
  235. package/dist/types/components/MazChart.vue.d.ts +104 -0
  236. package/dist/types/components/MazCheckbox.vue.d.ts +57 -0
  237. package/dist/types/components/MazChecklist.vue.d.ts +77 -0
  238. package/dist/types/components/MazCircularProgressBar.vue.d.ts +190 -0
  239. package/dist/types/components/MazDialog.vue.d.ts +160 -0
  240. package/dist/types/components/MazDialogPromise/useMazDialogPromise.d.ts +80 -0
  241. package/dist/types/components/MazDialogPromise.vue.d.ts +47 -0
  242. package/dist/types/components/MazDrawer.vue.d.ts +52 -0
  243. package/dist/types/components/MazDropdown.vue.d.ts +166 -0
  244. package/dist/types/components/MazDropzone.vue.d.ts +129 -0
  245. package/dist/types/components/MazExpandAnimation.vue.d.ts +41 -0
  246. package/dist/types/components/MazFullscreenLoader.vue.d.ts +25 -0
  247. package/dist/types/components/MazGallery.vue.d.ts +165 -0
  248. package/dist/types/components/MazIcon.vue.d.ts +80 -0
  249. package/dist/types/components/MazInput.vue.d.ts +122 -0
  250. package/dist/types/components/MazInputCode.vue.d.ts +51 -0
  251. package/dist/types/components/MazInputNumber.vue.d.ts +62 -0
  252. package/dist/types/components/MazInputPhoneNumber/CountrySelector.vue.d.ts +101 -0
  253. package/dist/types/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +19 -0
  254. package/dist/types/components/MazInputPhoneNumber/types.d.ts +62 -0
  255. package/dist/types/components/MazInputPhoneNumber/useLibphonenumber.d.ts +26 -0
  256. package/dist/types/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +16 -0
  257. package/dist/types/components/MazInputPhoneNumber.vue.d.ts +244 -0
  258. package/dist/types/components/MazInputPrice.vue.d.ts +62 -0
  259. package/dist/types/components/MazInputTags.vue.d.ts +51 -0
  260. package/dist/types/components/MazLazyImg.vue.d.ts +74 -0
  261. package/dist/types/components/MazLink.vue.d.ts +85 -0
  262. package/dist/types/components/MazLoadingBar.vue.d.ts +12 -0
  263. package/dist/types/components/MazPagination.vue.d.ts +75 -0
  264. package/dist/types/components/MazPicker/MazPickerCalendar.vue.d.ts +138 -0
  265. package/dist/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  266. package/dist/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +115 -0
  267. package/dist/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +126 -0
  268. package/dist/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +42 -0
  269. package/dist/types/components/MazPicker/MazPickerContainer.vue.d.ts +214 -0
  270. package/dist/types/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  271. package/dist/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +44 -0
  272. package/dist/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +62 -0
  273. package/dist/types/components/MazPicker/MazPickerTime.vue.d.ts +129 -0
  274. package/dist/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +36 -0
  275. package/dist/types/components/MazPicker/utils.d.ts +51 -0
  276. package/dist/types/components/MazPicker.vue.d.ts +125 -0
  277. package/dist/types/components/MazPullToRefresh.vue.d.ts +51 -0
  278. package/dist/types/components/MazRadio.vue.d.ts +57 -0
  279. package/dist/types/components/MazRadioButtons.vue.d.ts +71 -0
  280. package/dist/types/components/MazReadingProgressBar.vue.d.ts +55 -0
  281. package/dist/types/components/MazSelect.vue.d.ts +130 -0
  282. package/dist/types/components/MazSlider.vue.d.ts +111 -0
  283. package/dist/types/components/MazSpinner.vue.d.ts +15 -0
  284. package/dist/types/components/MazStepper.vue.d.ts +63 -0
  285. package/dist/types/components/MazSwitch.vue.d.ts +66 -0
  286. package/dist/types/components/MazTable.vue.d.ts +230 -0
  287. package/dist/types/components/MazTableCell.vue.d.ts +16 -0
  288. package/dist/types/components/MazTableRow.vue.d.ts +20 -0
  289. package/dist/types/components/MazTableTitle.vue.d.ts +16 -0
  290. package/dist/types/components/MazTabs.vue.d.ts +29 -0
  291. package/dist/types/components/MazTabsBar.vue.d.ts +72 -0
  292. package/dist/types/components/MazTabsContent.vue.d.ts +16 -0
  293. package/dist/types/components/MazTabsContentItem.vue.d.ts +28 -0
  294. package/dist/types/components/MazTextarea.vue.d.ts +90 -0
  295. package/dist/types/components/MazTransitionExpand.vue.d.ts +22 -0
  296. package/dist/types/components/constantes.d.ts +2 -0
  297. package/dist/types/components/index.d.ts +111 -0
  298. package/dist/types/components/types.d.ts +19 -0
  299. package/dist/types/composables/index.d.ts +18 -0
  300. package/dist/types/composables/useAos.d.ts +2 -0
  301. package/dist/types/composables/useBreakpoints.d.ts +38 -0
  302. package/dist/types/composables/useDialog.d.ts +2 -0
  303. package/dist/types/composables/useFormField.d.ts +56 -0
  304. package/dist/types/composables/useFormValidator/config.d.ts +7 -0
  305. package/dist/types/composables/useFormValidator/types.d.ts +110 -0
  306. package/dist/types/composables/useFormValidator/utils.d.ts +116 -0
  307. package/dist/types/composables/useFormValidator.d.ts +17 -0
  308. package/dist/types/composables/useIdleTimeout.d.ts +5 -0
  309. package/dist/types/composables/useInstanceUniqId.d.ts +4 -0
  310. package/dist/types/composables/useLanguageDisplayNames.d.ts +18 -0
  311. package/dist/types/composables/useReadingTime.d.ts +25 -0
  312. package/dist/types/composables/useStringMatching.d.ts +5 -0
  313. package/dist/types/composables/useSwipe.d.ts +14 -0
  314. package/dist/types/composables/useThemeHandler.d.ts +58 -0
  315. package/dist/types/composables/useTimer.d.ts +29 -0
  316. package/dist/types/composables/useToast.d.ts +2 -0
  317. package/dist/types/composables/useUserVisibilty.d.ts +5 -0
  318. package/dist/types/composables/useWait.d.ts +2 -0
  319. package/dist/types/composables/useWindowSize.d.ts +32 -0
  320. package/dist/types/directives/index.d.ts +10 -0
  321. package/dist/types/directives/vClickOutside.d.ts +15 -0
  322. package/dist/types/directives/vClosable.d.ts +18 -0
  323. package/dist/types/directives/vFullscreenImg/MazFullscreenImg.vue.d.ts +47 -0
  324. package/dist/types/directives/vFullscreenImg/fullscreen-img.directive.d.ts +7 -0
  325. package/dist/types/directives/vFullscreenImg/fullscreen-img.handler.d.ts +36 -0
  326. package/dist/types/directives/vFullscreenImg.d.ts +6 -0
  327. package/dist/types/directives/vLazyImg/lazy-img.directive.d.ts +7 -0
  328. package/dist/types/directives/vLazyImg/lazy-img.handler.d.ts +39 -0
  329. package/dist/types/directives/vLazyImg/types.d.ts +35 -0
  330. package/dist/types/directives/vLazyImg.d.ts +6 -0
  331. package/dist/types/directives/vTooltip.d.ts +42 -0
  332. package/dist/types/directives/vZoomImg/zoom-img.directive.d.ts +6 -0
  333. package/dist/types/directives/vZoomImg/zoom-img.handler.d.ts +46 -0
  334. package/dist/types/directives/vZoomImg.d.ts +6 -0
  335. package/dist/types/filters/camelCase.d.ts +1 -0
  336. package/dist/types/filters/index.d.ts +26 -0
  337. package/dist/types/filters/pascalCase.d.ts +1 -0
  338. package/dist/types/helpers/countryFlagFromFlagCdn.d.ts +7 -0
  339. package/dist/types/helpers/freezeValue.d.ts +5 -0
  340. package/dist/types/helpers/idleTimeout/idle-timeout-handler.d.ts +29 -0
  341. package/dist/types/helpers/idleTimeout/types.d.ts +29 -0
  342. package/dist/types/helpers/idleTimeout.d.ts +2 -0
  343. package/dist/types/helpers/index.d.ts +21 -0
  344. package/dist/types/helpers/injectStrict.d.ts +2 -0
  345. package/dist/types/helpers/isStandaloneMode.d.ts +1 -0
  346. package/dist/types/helpers/mountComponent.d.ts +14 -0
  347. package/dist/types/helpers/userVisibility/user-visibility-handler.d.ts +19 -0
  348. package/dist/types/helpers/userVisibility.d.ts +2 -0
  349. package/dist/types/index.d.ts +7 -0
  350. package/dist/types/plugins/aos.d.ts +36 -0
  351. package/dist/types/plugins/dialog/DialogHandler.d.ts +15 -0
  352. package/dist/types/plugins/dialog.d.ts +6 -0
  353. package/dist/types/plugins/toaster/MazToast.vue.d.ts +37 -0
  354. package/dist/types/plugins/toaster/ToasterHandler.d.ts +32 -0
  355. package/dist/types/plugins/toaster.d.ts +9 -0
  356. package/dist/types/plugins/wait.d.ts +14 -0
  357. package/dist/types/resolvers/UnpluginDirectivesResolver.d.ts +8 -0
  358. package/dist/types/resolvers/UnpluginModulesResolver.d.ts +8 -0
  359. package/dist/types/resolvers/UnpluginVueComponentsResolver.d.ts +8 -0
  360. package/dist/types/resolvers/index.d.ts +3 -0
  361. package/dist/types/tailwindcss/tailwind.config.d.ts +121 -0
  362. package/dist/types/tailwindcss/utils/colors.d.ts +1 -0
  363. package/dist/types/ts-helpers/InferMaybeRef.d.ts +2 -0
  364. package/dist/types/ts-helpers/index.d.ts +1 -0
  365. package/package.json +16 -28
  366. package/README.md +0 -151
  367. package/components/MazAccordion.d.ts +0 -36
  368. package/components/MazAccordion.mjs +0 -269
  369. package/components/MazAnimatedCounter.d.ts +0 -57
  370. package/components/MazAnimatedCounter.mjs +0 -113
  371. package/components/MazAnimatedElement.d.ts +0 -42
  372. package/components/MazAnimatedElement.mjs +0 -43
  373. package/components/MazAnimatedText.d.ts +0 -55
  374. package/components/MazAnimatedText.mjs +0 -147
  375. package/components/MazAvatar.d.ts +0 -102
  376. package/components/MazAvatar.mjs +0 -4
  377. package/components/MazBackdrop.d.ts +0 -71
  378. package/components/MazBackdrop.mjs +0 -145
  379. package/components/MazBadge.d.ts +0 -39
  380. package/components/MazBadge.mjs +0 -38
  381. package/components/MazBottomSheet.d.ts +0 -35
  382. package/components/MazBottomSheet.mjs +0 -4
  383. package/components/MazBtn.d.ts +0 -135
  384. package/components/MazBtn.mjs +0 -4
  385. package/components/MazCard.d.ts +0 -95
  386. package/components/MazCard.mjs +0 -4
  387. package/components/MazCardSpotlight.d.ts +0 -62
  388. package/components/MazCardSpotlight.mjs +0 -96
  389. package/components/MazCarousel.d.ts +0 -35
  390. package/components/MazCarousel.mjs +0 -4
  391. package/components/MazChart.d.ts +0 -104
  392. package/components/MazChart.mjs +0 -98
  393. package/components/MazCheckbox.d.ts +0 -58
  394. package/components/MazCheckbox.mjs +0 -182
  395. package/components/MazChecklist.d.ts +0 -78
  396. package/components/MazChecklist.mjs +0 -4
  397. package/components/MazCircularProgressBar.d.ts +0 -115
  398. package/components/MazCircularProgressBar.mjs +0 -267
  399. package/components/MazDialog.d.ts +0 -163
  400. package/components/MazDialog.mjs +0 -4
  401. package/components/MazDialogPromise/useMazDialogPromise.d.ts +0 -80
  402. package/components/MazDialogPromise.d.ts +0 -47
  403. package/components/MazDialogPromise.mjs +0 -5
  404. package/components/MazDrawer.d.ts +0 -53
  405. package/components/MazDrawer.mjs +0 -4
  406. package/components/MazDropdown.d.ts +0 -169
  407. package/components/MazDropdown.mjs +0 -4
  408. package/components/MazDropzone.d.ts +0 -129
  409. package/components/MazDropzone.mjs +0 -5
  410. package/components/MazExpandAnimation.d.ts +0 -42
  411. package/components/MazExpandAnimation.mjs +0 -58
  412. package/components/MazFullscreenLoader.d.ts +0 -26
  413. package/components/MazFullscreenLoader.mjs +0 -4
  414. package/components/MazGallery.d.ts +0 -166
  415. package/components/MazGallery.mjs +0 -4
  416. package/components/MazIcon.d.ts +0 -80
  417. package/components/MazIcon.mjs +0 -108
  418. package/components/MazInput.d.ts +0 -123
  419. package/components/MazInput.mjs +0 -4
  420. package/components/MazInputCode.d.ts +0 -52
  421. package/components/MazInputCode.mjs +0 -167
  422. package/components/MazInputNumber.d.ts +0 -63
  423. package/components/MazInputNumber.mjs +0 -4
  424. package/components/MazInputPrice.d.ts +0 -63
  425. package/components/MazInputPrice.mjs +0 -4
  426. package/components/MazInputTags.d.ts +0 -52
  427. package/components/MazInputTags.mjs +0 -4
  428. package/components/MazLazyImg.d.ts +0 -76
  429. package/components/MazLazyImg.mjs +0 -4
  430. package/components/MazLink.d.ts +0 -86
  431. package/components/MazLink.mjs +0 -71
  432. package/components/MazLoadingBar.d.ts +0 -13
  433. package/components/MazLoadingBar.mjs +0 -40
  434. package/components/MazPagination.d.ts +0 -76
  435. package/components/MazPagination.mjs +0 -4
  436. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +0 -75
  437. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +0 -19
  438. package/components/MazPhoneNumberInput/types.d.ts +0 -62
  439. package/components/MazPhoneNumberInput/useLibphonenumber.d.ts +0 -26
  440. package/components/MazPhoneNumberInput/useMazPhoneNumberInput.d.ts +0 -16
  441. package/components/MazPhoneNumberInput.d.ts +0 -246
  442. package/components/MazPhoneNumberInput.mjs +0 -4
  443. package/components/MazPicker/MazPickerCalendar.vue.d.ts +0 -138
  444. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -20
  445. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -115
  446. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -126
  447. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +0 -42
  448. package/components/MazPicker/MazPickerContainer.vue.d.ts +0 -214
  449. package/components/MazPicker/MazPickerFooter.vue.d.ts +0 -18
  450. package/components/MazPicker/MazPickerHeader.vue.d.ts +0 -82
  451. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +0 -44
  452. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +0 -62
  453. package/components/MazPicker/MazPickerTime.vue.d.ts +0 -129
  454. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +0 -36
  455. package/components/MazPicker/utils.d.ts +0 -51
  456. package/components/MazPicker.d.ts +0 -126
  457. package/components/MazPicker.mjs +0 -4
  458. package/components/MazPullToRefresh.d.ts +0 -53
  459. package/components/MazPullToRefresh.mjs +0 -4
  460. package/components/MazRadio.d.ts +0 -58
  461. package/components/MazRadio.mjs +0 -131
  462. package/components/MazRadioButtons.d.ts +0 -72
  463. package/components/MazRadioButtons.mjs +0 -177
  464. package/components/MazReadingProgressBar.d.ts +0 -56
  465. package/components/MazReadingProgressBar.mjs +0 -90
  466. package/components/MazSelect.d.ts +0 -131
  467. package/components/MazSelect.mjs +0 -4
  468. package/components/MazSlider.d.ts +0 -112
  469. package/components/MazSlider.mjs +0 -271
  470. package/components/MazSpinner.d.ts +0 -16
  471. package/components/MazSpinner.mjs +0 -38
  472. package/components/MazStepper.d.ts +0 -65
  473. package/components/MazStepper.mjs +0 -4
  474. package/components/MazSwitch.d.ts +0 -68
  475. package/components/MazSwitch.mjs +0 -107
  476. package/components/MazTable.d.ts +0 -231
  477. package/components/MazTable.mjs +0 -5
  478. package/components/MazTableCell.d.ts +0 -17
  479. package/components/MazTableCell.mjs +0 -32
  480. package/components/MazTableRow.d.ts +0 -21
  481. package/components/MazTableRow.mjs +0 -39
  482. package/components/MazTableTitle.d.ts +0 -17
  483. package/components/MazTableTitle.mjs +0 -32
  484. package/components/MazTabs.d.ts +0 -30
  485. package/components/MazTabs.mjs +0 -28
  486. package/components/MazTabsBar.d.ts +0 -73
  487. package/components/MazTabsBar.mjs +0 -4
  488. package/components/MazTabsContent.d.ts +0 -17
  489. package/components/MazTabsContent.mjs +0 -44
  490. package/components/MazTabsContentItem.d.ts +0 -29
  491. package/components/MazTabsContentItem.mjs +0 -59
  492. package/components/MazTextarea.d.ts +0 -91
  493. package/components/MazTextarea.mjs +0 -201
  494. package/components/MazTransitionExpand.d.ts +0 -23
  495. package/components/MazTransitionExpand.mjs +0 -51
  496. package/components/assets/MazAccordion.DHZxplwt.css +0 -1
  497. package/components/assets/MazAnimatedCounter.DTzaNX_Y.css +0 -1
  498. package/components/assets/MazAnimatedElement.BkcmWrHr.css +0 -1
  499. package/components/assets/MazAnimatedText.B91Kt1PP.css +0 -1
  500. package/components/assets/MazAvatar.CgztJYCP.css +0 -1
  501. package/components/assets/MazBackdrop.DPLKrrH6.css +0 -1
  502. package/components/assets/MazBadge.CIY0hr5U.css +0 -1
  503. package/components/assets/MazBottomSheet.BaTeNHYH.css +0 -1
  504. package/components/assets/MazBtn.DRGAvMws.css +0 -1
  505. package/components/assets/MazCard.BVy6g9-V.css +0 -1
  506. package/components/assets/MazCardSpotlight.CrcVk5S1.css +0 -1
  507. package/components/assets/MazCarousel.Bo1M1Wh3.css +0 -1
  508. package/components/assets/MazCheckbox.CA7GJd2c.css +0 -1
  509. package/components/assets/MazChecklist.B4K89N7e.css +0 -1
  510. package/components/assets/MazCircularProgressBar.Cq-jEps6.css +0 -1
  511. package/components/assets/MazDialog.BD4tQQQl.css +0 -1
  512. package/components/assets/MazDialogPromise.BD4tQQQl.css +0 -1
  513. package/components/assets/MazDrawer.BdI1nBQ8.css +0 -1
  514. package/components/assets/MazExpandAnimation.iDSQfAB4.css +0 -1
  515. package/components/assets/MazFullscreenLoader.dL5SG0Ne.css +0 -1
  516. package/components/assets/MazGallery.CKpPdxL0.css +0 -1
  517. package/components/assets/MazInput.BAiQiFTc.css +0 -1
  518. package/components/assets/MazInputCode.DF9-aY4y.css +0 -1
  519. package/components/assets/MazInputNumber.fr4Y-AX1.css +0 -1
  520. package/components/assets/MazInputPrice.BAiQiFTc.css +0 -1
  521. package/components/assets/MazInputTags.CZgq4l94.css +0 -1
  522. package/components/assets/MazLazyImg.TL9A0G4-.css +0 -1
  523. package/components/assets/MazLink.BBYMGbI8.css +0 -1
  524. package/components/assets/MazLoadingBar.ByRp5OgY.css +0 -1
  525. package/components/assets/MazPagination.BGhtdKHn.css +0 -1
  526. package/components/assets/MazPhoneNumberInput.tFz9umj-.css +0 -1
  527. package/components/assets/MazPicker.BlZ4a3b1.css +0 -1
  528. package/components/assets/MazPickerMonthSwitcher.Bnp_FbY4.css +0 -1
  529. package/components/assets/MazPickerShortcuts.DxPdP3Ky.css +0 -1
  530. package/components/assets/MazPickerYearSwitcher.BTPNT2u1.css +0 -1
  531. package/components/assets/MazPullToRefresh.Bvm1bmiW.css +0 -1
  532. package/components/assets/MazRadio.El2ThGGg.css +0 -1
  533. package/components/assets/MazRadioButtons.CB6qMCtm.css +0 -1
  534. package/components/assets/MazReadingProgressBar.C4x7V-Bc.css +0 -1
  535. package/components/assets/MazSelect.DNrj4_e-.css +0 -1
  536. package/components/assets/MazSelect.KhiI70iv.css +0 -1
  537. package/components/assets/MazSlider.Dlk7nygF.css +0 -1
  538. package/components/assets/MazSpinner.DQ9_cbMH.css +0 -1
  539. package/components/assets/MazStepper.BbJJgs0b.css +0 -1
  540. package/components/assets/MazTable.zJ2YXDrE.css +0 -1
  541. package/components/assets/MazTableCell.BKBZEOQb.css +0 -1
  542. package/components/assets/MazTableCell.Bmbmz3CR.css +0 -1
  543. package/components/assets/MazTableRow.CEdLSgbg.css +0 -1
  544. package/components/assets/MazTableRow.CtZjgh-L.css +0 -1
  545. package/components/assets/MazTableTitle.DCRVBhuH.css +0 -1
  546. package/components/assets/MazTabsBar.yIJ7lCu6.css +0 -1
  547. package/components/assets/MazTabsContentItem.CIoBhqeU.css +0 -1
  548. package/components/assets/MazTextarea.BYPQCeL_.css +0 -1
  549. package/components/assets/MazTransitionExpand.CvCjUYCg.css +0 -1
  550. package/components/chunks/MazAvatar.CNx-fB-w.mjs +0 -154
  551. package/components/chunks/MazBadge.AdlIDWRs.mjs +0 -34
  552. package/components/chunks/MazBottomSheet.CgosU2oQ.mjs +0 -224
  553. package/components/chunks/MazBtn.1qp5aQ4N.mjs +0 -103
  554. package/components/chunks/MazBtn.B6UiTgcv.mjs +0 -103
  555. package/components/chunks/MazBtn.BAflMoEe.mjs +0 -103
  556. package/components/chunks/MazBtn.BE40HJng.mjs +0 -103
  557. package/components/chunks/MazBtn.BJh0vN8h.mjs +0 -103
  558. package/components/chunks/MazBtn.BcPKpdoJ.mjs +0 -103
  559. package/components/chunks/MazBtn.BsXkp99v.mjs +0 -103
  560. package/components/chunks/MazBtn.C6vJDOgv.mjs +0 -103
  561. package/components/chunks/MazBtn.CJYzU-Jj.mjs +0 -103
  562. package/components/chunks/MazBtn.CQ7scMZT.mjs +0 -108
  563. package/components/chunks/MazBtn.CtfRyE0d.mjs +0 -103
  564. package/components/chunks/MazBtn.DWNPohkh.mjs +0 -103
  565. package/components/chunks/MazBtn.NVrWAz8O.mjs +0 -103
  566. package/components/chunks/MazBtn.h5GSnFKe.mjs +0 -103
  567. package/components/chunks/MazCard.D4R5VJTH.mjs +0 -204
  568. package/components/chunks/MazCarousel.tT2IPWU9.mjs +0 -128
  569. package/components/chunks/MazCheckbox.CYeDQcMp.mjs +0 -150
  570. package/components/chunks/MazCheckbox.L0nhQFjM.mjs +0 -149
  571. package/components/chunks/MazCheckbox.UAnkvAoS.mjs +0 -149
  572. package/components/chunks/MazChecklist.CCPcVVKg.mjs +0 -478
  573. package/components/chunks/MazDialog.OnoOcvOM.mjs +0 -297
  574. package/components/chunks/MazDialogPromise.DslEyrLO.mjs +0 -551
  575. package/components/chunks/MazDrawer.D3JH9lqE.mjs +0 -226
  576. package/components/chunks/MazDropdown.CDW3gyaa.mjs +0 -427
  577. package/components/chunks/MazDropzone.BWN0kCz3.mjs +0 -222
  578. package/components/chunks/MazExpandAnimation.NRqY0IYX.mjs +0 -54
  579. package/components/chunks/MazFullscreenLoader.Bynu3Kvu.mjs +0 -48
  580. package/components/chunks/MazGallery.2XDJQmg_.mjs +0 -687
  581. package/components/chunks/MazGallery.Ck0j45dq.mjs +0 -692
  582. package/components/chunks/MazIcon.B5KEO0Na.mjs +0 -103
  583. package/components/chunks/MazIcon.B5hPzeLk.mjs +0 -103
  584. package/components/chunks/MazIcon.BfRXZ8qh.mjs +0 -4
  585. package/components/chunks/MazIcon.Cq1v4J3r.mjs +0 -108
  586. package/components/chunks/MazInput.5Zn7f5zz.mjs +0 -302
  587. package/components/chunks/MazInput.CwPPyy_i.mjs +0 -303
  588. package/components/chunks/MazInput.JrNzZZLk.mjs +0 -313
  589. package/components/chunks/MazInputNumber.Daeit65q.mjs +0 -589
  590. package/components/chunks/MazInputPrice.24GEm_Lg.mjs +0 -447
  591. package/components/chunks/MazInputTags.0Z_xEZiL.mjs +0 -602
  592. package/components/chunks/MazLazyImg.BtE4rUvl.mjs +0 -261
  593. package/components/chunks/MazLazyImg.CC9acnrW.mjs +0 -266
  594. package/components/chunks/MazLink.C92ctqOA.mjs +0 -67
  595. package/components/chunks/MazLoadingBar.LkmX0AHd.mjs +0 -36
  596. package/components/chunks/MazPagination.DgR9Wyv0.mjs +0 -327
  597. package/components/chunks/MazPhoneNumberInput.BcyaW-S8.mjs +0 -1803
  598. package/components/chunks/MazPicker.z_H1w2TI.mjs +0 -2482
  599. package/components/chunks/MazPickerMonthSwitcher.D42-_FwL.mjs +0 -95
  600. package/components/chunks/MazPickerShortcuts.D1UfHxwB.mjs +0 -72
  601. package/components/chunks/MazPickerYearSwitcher.BfS0Lz92.mjs +0 -105
  602. package/components/chunks/MazPullToRefresh.QikB7FQT.mjs +0 -182
  603. package/components/chunks/MazSelect.CZ8-FJbx.mjs +0 -551
  604. package/components/chunks/MazSelect.ke0PdTcU.mjs +0 -857
  605. package/components/chunks/MazSpinner.B2KPFXAm.mjs +0 -34
  606. package/components/chunks/MazSpinner.B4nEYwaU.mjs +0 -34
  607. package/components/chunks/MazSpinner.B8L6EKV9.mjs +0 -34
  608. package/components/chunks/MazSpinner.B9a2gCP3.mjs +0 -34
  609. package/components/chunks/MazSpinner.CBjYZ4KZ.mjs +0 -34
  610. package/components/chunks/MazSpinner.CPsKUg_o.mjs +0 -34
  611. package/components/chunks/MazSpinner.CXGURuw3.mjs +0 -34
  612. package/components/chunks/MazSpinner.C_i8HP1F.mjs +0 -34
  613. package/components/chunks/MazSpinner.Ce_9sxU7.mjs +0 -34
  614. package/components/chunks/MazSpinner.CmN9GG-h.mjs +0 -34
  615. package/components/chunks/MazSpinner.D9YU6PN7.mjs +0 -34
  616. package/components/chunks/MazSpinner.DJGs9ccb.mjs +0 -34
  617. package/components/chunks/MazSpinner.DMR3wKqs.mjs +0 -34
  618. package/components/chunks/MazSpinner.DP7ZDo4s.mjs +0 -34
  619. package/components/chunks/MazSpinner.DZT5jj-c.mjs +0 -34
  620. package/components/chunks/MazSpinner.DaGCwMP7.mjs +0 -34
  621. package/components/chunks/MazSpinner.DdHpWoUe.mjs +0 -34
  622. package/components/chunks/MazSpinner.Dl1PcqAK.mjs +0 -34
  623. package/components/chunks/MazSpinner.DnMH7xjZ.mjs +0 -34
  624. package/components/chunks/MazSpinner.DsiBNRdi.mjs +0 -34
  625. package/components/chunks/MazSpinner.J9PGgQcA.mjs +0 -34
  626. package/components/chunks/MazSpinner.KYBb2I3W.mjs +0 -34
  627. package/components/chunks/MazSpinner.u38Xp-ls.mjs +0 -34
  628. package/components/chunks/MazSpinner.wdUeBhfS.mjs +0 -34
  629. package/components/chunks/MazStepper.Gxu3fyI5.mjs +0 -218
  630. package/components/chunks/MazTable.BtL5to1U.mjs +0 -657
  631. package/components/chunks/MazTableCell.CN6g3CD7.mjs +0 -23
  632. package/components/chunks/MazTableRow.BjoUmiPj.mjs +0 -30
  633. package/components/chunks/MazTableTitle.Dh-2buat.mjs +0 -23
  634. package/components/chunks/MazTabsBar.fmCbDhYh.mjs +0 -177
  635. package/components/chunks/MazTransitionExpand.DL0tmQvU.mjs +0 -47
  636. package/components/chunks/arrow-top-right-on-square.jPmYJ34F.mjs +0 -30
  637. package/components/chunks/arrow-up.DjSlktWl.mjs +0 -30
  638. package/components/chunks/check-circle.Bf7AGSQ-.mjs +0 -30
  639. package/components/chunks/check.BmubdHc_.mjs +0 -30
  640. package/components/chunks/check.C9Q_W85g.mjs +0 -30
  641. package/components/chunks/chevron-double-left.D4-NpyrF.mjs +0 -30
  642. package/components/chunks/chevron-down.BkvtON3b.mjs +0 -30
  643. package/components/chunks/chevron-left.BqVOLRdC.mjs +0 -30
  644. package/components/chunks/chevron-right.CbjzEeHV.mjs +0 -30
  645. package/components/chunks/ellipsis-horizontal.6n158ATI.mjs +0 -30
  646. package/components/chunks/exclamation-circle.CUk0ZajS.mjs +0 -30
  647. package/components/chunks/exclamation-triangle.Z6d0ygp8.mjs +0 -30
  648. package/components/chunks/eye-slash.BoO00xzs.mjs +0 -30
  649. package/components/chunks/eye.f8zAUc30.mjs +0 -43
  650. package/components/chunks/inject-strict.DEDSuzCz.mjs +0 -10
  651. package/components/chunks/magnifying-glass.-nBiyXot.mjs +0 -30
  652. package/components/chunks/no-photography.PGT8fxs_.mjs +0 -36
  653. package/components/chunks/no-symbol.CIgKzsrB.mjs +0 -30
  654. package/components/chunks/pencil.Z-mPplOz.mjs +0 -30
  655. package/components/chunks/useInstanceUniqId.BkOfxhk8.mjs +0 -10
  656. package/components/chunks/x-mark.CnZwVvA7.mjs +0 -30
  657. package/components/chunks/x-mark.wyoa-ywi.mjs +0 -29
  658. package/components/index.d.ts +0 -56
  659. package/components/index.mjs +0 -58
  660. package/components/types.d.ts +0 -20
  661. package/css/aos.css +0 -1
  662. package/css/main.css +0 -1
  663. package/icons/academic-cap.svg +0 -3
  664. package/icons/adjustments-horizontal.svg +0 -3
  665. package/icons/adjustments-vertical.svg +0 -3
  666. package/icons/archive-box-arrow-down.svg +0 -3
  667. package/icons/archive-box-x-mark.svg +0 -3
  668. package/icons/archive-box.svg +0 -3
  669. package/icons/arrow-down-circle.svg +0 -3
  670. package/icons/arrow-down-left.svg +0 -3
  671. package/icons/arrow-down-on-square-stack.svg +0 -3
  672. package/icons/arrow-down-on-square.svg +0 -3
  673. package/icons/arrow-down-right.svg +0 -3
  674. package/icons/arrow-down-tray.svg +0 -3
  675. package/icons/arrow-down.svg +0 -3
  676. package/icons/arrow-left-circle.svg +0 -3
  677. package/icons/arrow-left-end-on-rectangle.svg +0 -3
  678. package/icons/arrow-left-on-rectangle.svg +0 -3
  679. package/icons/arrow-left-start-on-rectangle.svg +0 -3
  680. package/icons/arrow-left.svg +0 -3
  681. package/icons/arrow-long-down.svg +0 -3
  682. package/icons/arrow-long-left.svg +0 -3
  683. package/icons/arrow-long-right.svg +0 -3
  684. package/icons/arrow-long-up.svg +0 -3
  685. package/icons/arrow-path-rounded-square.svg +0 -3
  686. package/icons/arrow-path.svg +0 -3
  687. package/icons/arrow-right-circle.svg +0 -3
  688. package/icons/arrow-right-end-on-rectangle.svg +0 -3
  689. package/icons/arrow-right-on-rectangle.svg +0 -3
  690. package/icons/arrow-right-start-on-rectangle.svg +0 -3
  691. package/icons/arrow-right.svg +0 -3
  692. package/icons/arrow-small-down.svg +0 -3
  693. package/icons/arrow-small-left.svg +0 -3
  694. package/icons/arrow-small-right.svg +0 -3
  695. package/icons/arrow-small-up.svg +0 -3
  696. package/icons/arrow-top-right-on-square.svg +0 -3
  697. package/icons/arrow-trending-down.svg +0 -3
  698. package/icons/arrow-trending-up.svg +0 -3
  699. package/icons/arrow-up-circle.svg +0 -3
  700. package/icons/arrow-up-left.svg +0 -3
  701. package/icons/arrow-up-on-square-stack.svg +0 -3
  702. package/icons/arrow-up-on-square.svg +0 -3
  703. package/icons/arrow-up-right.svg +0 -3
  704. package/icons/arrow-up-tray.svg +0 -3
  705. package/icons/arrow-up.svg +0 -3
  706. package/icons/arrow-uturn-down.svg +0 -3
  707. package/icons/arrow-uturn-left.svg +0 -3
  708. package/icons/arrow-uturn-right.svg +0 -3
  709. package/icons/arrow-uturn-up.svg +0 -3
  710. package/icons/arrows-pointing-in.svg +0 -3
  711. package/icons/arrows-pointing-out.svg +0 -3
  712. package/icons/arrows-right-left.svg +0 -3
  713. package/icons/arrows-up-down.svg +0 -3
  714. package/icons/at-symbol.svg +0 -3
  715. package/icons/backspace.svg +0 -3
  716. package/icons/backward.svg +0 -4
  717. package/icons/banknotes.svg +0 -3
  718. package/icons/bars-2.svg +0 -3
  719. package/icons/bars-3-bottom-left.svg +0 -3
  720. package/icons/bars-3-bottom-right.svg +0 -3
  721. package/icons/bars-3-center-left.svg +0 -3
  722. package/icons/bars-3.svg +0 -3
  723. package/icons/bars-4.svg +0 -3
  724. package/icons/bars-arrow-down.svg +0 -3
  725. package/icons/bars-arrow-up.svg +0 -3
  726. package/icons/battery-0.svg +0 -3
  727. package/icons/battery-100.svg +0 -3
  728. package/icons/battery-50.svg +0 -3
  729. package/icons/beaker.svg +0 -3
  730. package/icons/bell-alert.svg +0 -3
  731. package/icons/bell-slash.svg +0 -3
  732. package/icons/bell-snooze.svg +0 -3
  733. package/icons/bell.svg +0 -3
  734. package/icons/bolt-slash.svg +0 -3
  735. package/icons/bolt.svg +0 -3
  736. package/icons/book-open.svg +0 -3
  737. package/icons/bookmark-slash.svg +0 -3
  738. package/icons/bookmark-square.svg +0 -3
  739. package/icons/bookmark.svg +0 -3
  740. package/icons/briefcase.svg +0 -3
  741. package/icons/bug-ant.svg +0 -3
  742. package/icons/building-library.svg +0 -3
  743. package/icons/building-office-2.svg +0 -3
  744. package/icons/building-office.svg +0 -3
  745. package/icons/building-storefront.svg +0 -3
  746. package/icons/cake.svg +0 -3
  747. package/icons/calculator.svg +0 -3
  748. package/icons/calendar-days.svg +0 -3
  749. package/icons/calendar.svg +0 -3
  750. package/icons/camera.svg +0 -5
  751. package/icons/chart-bar-square.svg +0 -3
  752. package/icons/chart-bar.svg +0 -5
  753. package/icons/chart-pie.svg +0 -4
  754. package/icons/chat-bubble-bottom-center-text.svg +0 -3
  755. package/icons/chat-bubble-bottom-center.svg +0 -3
  756. package/icons/chat-bubble-left-ellipsis.svg +0 -3
  757. package/icons/chat-bubble-left-right.svg +0 -3
  758. package/icons/chat-bubble-left.svg +0 -3
  759. package/icons/chat-bubble-oval-left-ellipsis.svg +0 -3
  760. package/icons/chat-bubble-oval-left.svg +0 -3
  761. package/icons/check-badge.svg +0 -3
  762. package/icons/check-circle.svg +0 -3
  763. package/icons/check.svg +0 -3
  764. package/icons/chevron-double-down.svg +0 -3
  765. package/icons/chevron-double-left.svg +0 -3
  766. package/icons/chevron-double-right.svg +0 -3
  767. package/icons/chevron-double-up.svg +0 -4
  768. package/icons/chevron-down.svg +0 -3
  769. package/icons/chevron-left.svg +0 -3
  770. package/icons/chevron-right.svg +0 -3
  771. package/icons/chevron-up-down.svg +0 -3
  772. package/icons/chevron-up.svg +0 -3
  773. package/icons/circle-stack.svg +0 -3
  774. package/icons/clipboard-document-check.svg +0 -3
  775. package/icons/clipboard-document-list.svg +0 -3
  776. package/icons/clipboard-document.svg +0 -3
  777. package/icons/clipboard.svg +0 -3
  778. package/icons/clock.svg +0 -3
  779. package/icons/cloud-arrow-down.svg +0 -3
  780. package/icons/cloud-arrow-up.svg +0 -3
  781. package/icons/cloud.svg +0 -3
  782. package/icons/code-bracket-square.svg +0 -3
  783. package/icons/code-bracket.svg +0 -3
  784. package/icons/cog-6-tooth.svg +0 -4
  785. package/icons/cog-8-tooth.svg +0 -4
  786. package/icons/cog.svg +0 -3
  787. package/icons/command-line.svg +0 -3
  788. package/icons/computer-desktop.svg +0 -3
  789. package/icons/cpu-chip.svg +0 -3
  790. package/icons/credit-card.svg +0 -3
  791. package/icons/cube-transparent.svg +0 -3
  792. package/icons/cube.svg +0 -3
  793. package/icons/currency-bangladeshi.svg +0 -3
  794. package/icons/currency-dollar.svg +0 -3
  795. package/icons/currency-euro.svg +0 -3
  796. package/icons/currency-pound.svg +0 -3
  797. package/icons/currency-rupee.svg +0 -3
  798. package/icons/currency-yen.svg +0 -3
  799. package/icons/cursor-arrow-rays.svg +0 -3
  800. package/icons/cursor-arrow-ripple.svg +0 -3
  801. package/icons/device-phone-mobile.svg +0 -3
  802. package/icons/device-tablet.svg +0 -3
  803. package/icons/document-arrow-down.svg +0 -3
  804. package/icons/document-arrow-up.svg +0 -3
  805. package/icons/document-chart-bar.svg +0 -3
  806. package/icons/document-check.svg +0 -3
  807. package/icons/document-duplicate.svg +0 -3
  808. package/icons/document-magnifying-glass.svg +0 -3
  809. package/icons/document-minus.svg +0 -3
  810. package/icons/document-plus.svg +0 -3
  811. package/icons/document-text.svg +0 -3
  812. package/icons/document.svg +0 -3
  813. package/icons/ellipsis-horizontal-circle.svg +0 -3
  814. package/icons/ellipsis-horizontal.svg +0 -5
  815. package/icons/ellipsis-vertical.svg +0 -5
  816. package/icons/envelope-open.svg +0 -3
  817. package/icons/envelope.svg +0 -3
  818. package/icons/exclamation-circle.svg +0 -3
  819. package/icons/exclamation-triangle.svg +0 -3
  820. package/icons/eye-dropper.svg +0 -3
  821. package/icons/eye-slash.svg +0 -3
  822. package/icons/eye.svg +0 -4
  823. package/icons/face-frown.svg +0 -3
  824. package/icons/face-smile.svg +0 -3
  825. package/icons/film.svg +0 -3
  826. package/icons/finger-print.svg +0 -3
  827. package/icons/fire.svg +0 -4
  828. package/icons/flag.svg +0 -3
  829. package/icons/folder-arrow-down.svg +0 -3
  830. package/icons/folder-minus.svg +0 -3
  831. package/icons/folder-open.svg +0 -3
  832. package/icons/folder-plus.svg +0 -3
  833. package/icons/folder.svg +0 -3
  834. package/icons/fork.svg +0 -6
  835. package/icons/forward.svg +0 -4
  836. package/icons/funnel.svg +0 -3
  837. package/icons/gif.svg +0 -3
  838. package/icons/gift-top.svg +0 -3
  839. package/icons/gift.svg +0 -3
  840. package/icons/github.svg +0 -5
  841. package/icons/globe-alt.svg +0 -3
  842. package/icons/globe-americas.svg +0 -3
  843. package/icons/globe-asia-australia.svg +0 -3
  844. package/icons/globe-europe-africa.svg +0 -3
  845. package/icons/hand-raised.svg +0 -3
  846. package/icons/hand-thumb-down.svg +0 -3
  847. package/icons/hand-thumb-up.svg +0 -3
  848. package/icons/hashtag.svg +0 -3
  849. package/icons/heart.svg +0 -3
  850. package/icons/home-modern.svg +0 -3
  851. package/icons/home.svg +0 -3
  852. package/icons/identification.svg +0 -3
  853. package/icons/inbox-arrow-down.svg +0 -3
  854. package/icons/inbox-stack.svg +0 -3
  855. package/icons/inbox.svg +0 -3
  856. package/icons/information-circle.svg +0 -3
  857. package/icons/key.svg +0 -3
  858. package/icons/language.svg +0 -3
  859. package/icons/lifebuoy.svg +0 -3
  860. package/icons/light-bulb.svg +0 -3
  861. package/icons/link.svg +0 -3
  862. package/icons/list-bullet.svg +0 -3
  863. package/icons/lock-closed.svg +0 -3
  864. package/icons/lock-open.svg +0 -3
  865. package/icons/magnifying-glass-circle.svg +0 -3
  866. package/icons/magnifying-glass-minus.svg +0 -3
  867. package/icons/magnifying-glass-plus.svg +0 -3
  868. package/icons/magnifying-glass.svg +0 -3
  869. package/icons/map-pin.svg +0 -4
  870. package/icons/map.svg +0 -3
  871. package/icons/megaphone.svg +0 -3
  872. package/icons/microphone.svg +0 -3
  873. package/icons/minus-circle.svg +0 -3
  874. package/icons/minus-small.svg +0 -3
  875. package/icons/minus.svg +0 -3
  876. package/icons/moon.svg +0 -3
  877. package/icons/musical-note.svg +0 -3
  878. package/icons/newspaper.svg +0 -3
  879. package/icons/no-photography.svg +0 -10
  880. package/icons/no-symbol.svg +0 -3
  881. package/icons/paint-brush.svg +0 -3
  882. package/icons/paper-airplane.svg +0 -3
  883. package/icons/paper-clip.svg +0 -3
  884. package/icons/pause-circle.svg +0 -3
  885. package/icons/pause.svg +0 -3
  886. package/icons/pencil-square.svg +0 -3
  887. package/icons/pencil.svg +0 -3
  888. package/icons/phone-arrow-down-left.svg +0 -3
  889. package/icons/phone-arrow-up-right.svg +0 -3
  890. package/icons/phone-x-mark.svg +0 -3
  891. package/icons/phone.svg +0 -3
  892. package/icons/photo.svg +0 -3
  893. package/icons/play-circle.svg +0 -4
  894. package/icons/play-pause.svg +0 -3
  895. package/icons/play.svg +0 -3
  896. package/icons/plus-circle.svg +0 -3
  897. package/icons/plus-small.svg +0 -3
  898. package/icons/plus.svg +0 -3
  899. package/icons/power.svg +0 -3
  900. package/icons/presentation-chart-bar.svg +0 -3
  901. package/icons/presentation-chart-line.svg +0 -3
  902. package/icons/printer.svg +0 -3
  903. package/icons/puzzle-piece.svg +0 -3
  904. package/icons/qr-code.svg +0 -13
  905. package/icons/question-mark-circle.svg +0 -3
  906. package/icons/queue-list.svg +0 -3
  907. package/icons/radio.svg +0 -3
  908. package/icons/receipt-percent.svg +0 -3
  909. package/icons/receipt-refund.svg +0 -3
  910. package/icons/rectangle-group.svg +0 -5
  911. package/icons/rectangle-stack.svg +0 -3
  912. package/icons/rocket-launch.svg +0 -3
  913. package/icons/rss.svg +0 -3
  914. package/icons/scale.svg +0 -3
  915. package/icons/scissors.svg +0 -3
  916. package/icons/server-stack.svg +0 -3
  917. package/icons/server.svg +0 -3
  918. package/icons/share.svg +0 -3
  919. package/icons/shield-check.svg +0 -3
  920. package/icons/shield-exclamation.svg +0 -3
  921. package/icons/shopping-bag.svg +0 -3
  922. package/icons/shopping-cart.svg +0 -3
  923. package/icons/signal-slash.svg +0 -3
  924. package/icons/signal.svg +0 -3
  925. package/icons/sparkles.svg +0 -5
  926. package/icons/speaker-wave.svg +0 -3
  927. package/icons/speaker-x-mark.svg +0 -3
  928. package/icons/square-2-stack.svg +0 -3
  929. package/icons/square-3-stack-3d.svg +0 -3
  930. package/icons/squares-2x2.svg +0 -6
  931. package/icons/squares-plus.svg +0 -3
  932. package/icons/star-solid.svg +0 -3
  933. package/icons/star.svg +0 -3
  934. package/icons/stop-circle.svg +0 -4
  935. package/icons/stop.svg +0 -3
  936. package/icons/sun.svg +0 -3
  937. package/icons/swatch.svg +0 -3
  938. package/icons/table-cells.svg +0 -3
  939. package/icons/tag.svg +0 -4
  940. package/icons/ticket.svg +0 -3
  941. package/icons/trash.svg +0 -3
  942. package/icons/trophy.svg +0 -3
  943. package/icons/truck.svg +0 -3
  944. package/icons/tv.svg +0 -3
  945. package/icons/user-circle.svg +0 -3
  946. package/icons/user-group.svg +0 -3
  947. package/icons/user-minus.svg +0 -3
  948. package/icons/user-plus.svg +0 -3
  949. package/icons/user.svg +0 -4
  950. package/icons/users.svg +0 -3
  951. package/icons/variable.svg +0 -3
  952. package/icons/video-camera-slash.svg +0 -3
  953. package/icons/video-camera.svg +0 -3
  954. package/icons/view-columns.svg +0 -3
  955. package/icons/viewfinder-circle.svg +0 -3
  956. package/icons/wallet.svg +0 -3
  957. package/icons/wifi.svg +0 -3
  958. package/icons/window.svg +0 -3
  959. package/icons/wrench-screwdriver.svg +0 -3
  960. package/icons/wrench.svg +0 -4
  961. package/icons/x-circle.svg +0 -3
  962. package/icons/x-mark.svg +0 -3
  963. package/modules/assets/MazBtn.DRGAvMws.css +0 -1
  964. package/modules/assets/MazSpinner.DQ9_cbMH.css +0 -1
  965. package/modules/assets/index.B3s7AfaL.css +0 -1
  966. package/modules/chunks/MazBtn.By2sbdh8.cjs +0 -1
  967. package/modules/chunks/MazBtn.CA5moYsw.mjs +0 -103
  968. package/modules/chunks/MazIcon.B0hxYaF0.cjs +0 -1
  969. package/modules/chunks/MazIcon.DBGqW7oS.mjs +0 -103
  970. package/modules/chunks/MazSpinner.Ci076Hb-.cjs +0 -1
  971. package/modules/chunks/MazSpinner.Cx7mdOJ3.mjs +0 -34
  972. package/modules/chunks/arrow-top-right-on-square.PZtr8Zs0.cjs +0 -1
  973. package/modules/chunks/arrow-top-right-on-square.jPmYJ34F.mjs +0 -30
  974. package/modules/chunks/check-circle.Bf7AGSQ-.mjs +0 -30
  975. package/modules/chunks/check-circle.D3i-p-t3.cjs +0 -1
  976. package/modules/chunks/chevron-left.BqVOLRdC.mjs +0 -30
  977. package/modules/chunks/chevron-left.Byr9GkwI.cjs +0 -1
  978. package/modules/chunks/exclamation-circle.BXs0Yj0f.cjs +0 -1
  979. package/modules/chunks/exclamation-circle.CUk0ZajS.mjs +0 -30
  980. package/modules/chunks/exclamation-triangle.BtW3be9S.cjs +0 -1
  981. package/modules/chunks/exclamation-triangle.Z6d0ygp8.mjs +0 -30
  982. package/modules/chunks/index.BgyjI1q8.mjs +0 -4299
  983. package/modules/chunks/index.CXVZhyjw.cjs +0 -1
  984. package/modules/chunks/index.CnuH12oV.cjs +0 -124
  985. package/modules/chunks/index.DfFhxzWz.mjs +0 -3762
  986. package/modules/chunks/information-circle.89FseEuJ.cjs +0 -1
  987. package/modules/chunks/information-circle.C7e5b_nL.mjs +0 -30
  988. package/modules/chunks/link.Br1lfjTR.mjs +0 -30
  989. package/modules/chunks/link.CUxj8BQ5.cjs +0 -1
  990. package/modules/chunks/no-photography.BJX8HSus.mjs +0 -4
  991. package/modules/chunks/no-photography.CLNgmzDi.cjs +0 -1
  992. package/modules/chunks/x-mark.CnZwVvA7.mjs +0 -30
  993. package/modules/chunks/x-mark.DW2WXkoF.cjs +0 -1
  994. package/modules/index.cjs +0 -1
  995. package/modules/index.mjs +0 -64
  996. package/nuxt/index.cjs +0 -5
  997. package/nuxt/index.d.mts +0 -157
  998. package/nuxt/index.d.ts +0 -157
  999. package/nuxt/index.json +0 -12
  1000. package/nuxt/index.mjs +0 -294
  1001. package/nuxt/runtime/composables/useAos.d.ts +0 -2
  1002. package/nuxt/runtime/composables/useAos.js +0 -5
  1003. package/nuxt/runtime/composables/useDialog.d.ts +0 -2
  1004. package/nuxt/runtime/composables/useDialog.js +0 -5
  1005. package/nuxt/runtime/composables/useThemeHandler.d.ts +0 -2
  1006. package/nuxt/runtime/composables/useThemeHandler.js +0 -8
  1007. package/nuxt/runtime/composables/useToast.d.ts +0 -2
  1008. package/nuxt/runtime/composables/useToast.js +0 -5
  1009. package/nuxt/runtime/composables/useWait.d.ts +0 -2
  1010. package/nuxt/runtime/composables/useWait.js +0 -5
  1011. package/nuxt/runtime/plugins/aos.d.ts +0 -8
  1012. package/nuxt/runtime/plugins/aos.js +0 -12
  1013. package/nuxt/runtime/plugins/dialog.d.ts +0 -8
  1014. package/nuxt/runtime/plugins/dialog.js +0 -23
  1015. package/nuxt/runtime/plugins/maz-icon-path.d.ts +0 -7
  1016. package/nuxt/runtime/plugins/maz-icon-path.js +0 -10
  1017. package/nuxt/runtime/plugins/toaster.d.ts +0 -8
  1018. package/nuxt/runtime/plugins/toaster.js +0 -26
  1019. package/nuxt/runtime/plugins/v-click-outside.d.ts +0 -2
  1020. package/nuxt/runtime/plugins/v-click-outside.js +0 -5
  1021. package/nuxt/runtime/plugins/v-fullscreen-img.d.ts +0 -2
  1022. package/nuxt/runtime/plugins/v-fullscreen-img.js +0 -5
  1023. package/nuxt/runtime/plugins/v-lazy-img.d.ts +0 -2
  1024. package/nuxt/runtime/plugins/v-lazy-img.js +0 -7
  1025. package/nuxt/runtime/plugins/v-tooltip.d.ts +0 -2
  1026. package/nuxt/runtime/plugins/v-tooltip.js +0 -7
  1027. package/nuxt/runtime/plugins/v-zoom-img.d.ts +0 -2
  1028. package/nuxt/runtime/plugins/v-zoom-img.js +0 -5
  1029. package/nuxt/runtime/plugins/wait.d.ts +0 -8
  1030. package/nuxt/runtime/plugins/wait.js +0 -18
  1031. package/nuxt/types.d.mts +0 -7
  1032. package/nuxt/types.d.ts +0 -7
  1033. package/resolvers/index.cjs +0 -1
  1034. package/resolvers/index.d.ts +0 -3
  1035. package/resolvers/index.mjs +0 -72
  1036. package/resolvers/unplugin-directives-resolver.d.ts +0 -8
  1037. package/resolvers/unplugin-modules-resolver.d.ts +0 -2
  1038. package/resolvers/unplugin-vue-components-resolver.d.ts +0 -8
  1039. package/tailwindcss/tailwind.config.ts +0 -51
  1040. package/tailwindcss/tailwind.css +0 -4
  1041. package/tailwindcss/utils/colors.ts +0 -27
  1042. package/tailwindcss/variables/breakpoints.ts +0 -28
  1043. package/tailwindcss/variables/colors.ts +0 -50
  1044. package/tailwindcss/variables/utilities.ts +0 -24
  1045. package/tailwindcss/variables/z-indexes.ts +0 -16
  1046. package/types/components/MazAccordion.vue.d.ts +0 -36
  1047. package/types/components/MazAnimatedCounter.vue.d.ts +0 -57
  1048. package/types/components/MazAnimatedElement.vue.d.ts +0 -42
  1049. package/types/components/MazAnimatedText.vue.d.ts +0 -55
  1050. package/types/components/MazAvatar.vue.d.ts +0 -102
  1051. package/types/components/MazBackdrop.vue.d.ts +0 -71
  1052. package/types/components/MazBadge.vue.d.ts +0 -39
  1053. package/types/components/MazBottomSheet.vue.d.ts +0 -35
  1054. package/types/components/MazBtn.vue.d.ts +0 -135
  1055. package/types/components/MazCard.vue.d.ts +0 -95
  1056. package/types/components/MazCardSpotlight.vue.d.ts +0 -62
  1057. package/types/components/MazCarousel.vue.d.ts +0 -35
  1058. package/types/components/MazChart.vue.d.ts +0 -104
  1059. package/types/components/MazCheckbox.vue.d.ts +0 -58
  1060. package/types/components/MazChecklist.vue.d.ts +0 -78
  1061. package/types/components/MazCircularProgressBar.vue.d.ts +0 -115
  1062. package/types/components/MazDialog.vue.d.ts +0 -163
  1063. package/types/components/MazDialogPromise/useMazDialogPromise.d.ts +0 -80
  1064. package/types/components/MazDialogPromise.vue.d.ts +0 -47
  1065. package/types/components/MazDrawer.vue.d.ts +0 -53
  1066. package/types/components/MazDropdown.vue.d.ts +0 -169
  1067. package/types/components/MazDropzone.vue.d.ts +0 -129
  1068. package/types/components/MazExpandAnimation.vue.d.ts +0 -42
  1069. package/types/components/MazFullscreenLoader.vue.d.ts +0 -26
  1070. package/types/components/MazGallery.vue.d.ts +0 -166
  1071. package/types/components/MazIcon.vue.d.ts +0 -80
  1072. package/types/components/MazInput.vue.d.ts +0 -123
  1073. package/types/components/MazInputCode.vue.d.ts +0 -52
  1074. package/types/components/MazInputNumber.vue.d.ts +0 -63
  1075. package/types/components/MazInputPrice.vue.d.ts +0 -63
  1076. package/types/components/MazInputTags.vue.d.ts +0 -52
  1077. package/types/components/MazLazyImg.vue.d.ts +0 -76
  1078. package/types/components/MazLink.vue.d.ts +0 -86
  1079. package/types/components/MazLoadingBar.vue.d.ts +0 -13
  1080. package/types/components/MazPagination.vue.d.ts +0 -76
  1081. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +0 -75
  1082. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +0 -19
  1083. package/types/components/MazPhoneNumberInput/default-locales.d.ts +0 -11
  1084. package/types/components/MazPhoneNumberInput/types.d.ts +0 -62
  1085. package/types/components/MazPhoneNumberInput/useLibphonenumber.d.ts +0 -26
  1086. package/types/components/MazPhoneNumberInput/useMazPhoneNumberInput.d.ts +0 -16
  1087. package/types/components/MazPhoneNumberInput.vue.d.ts +0 -246
  1088. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +0 -138
  1089. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -20
  1090. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -115
  1091. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -126
  1092. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +0 -42
  1093. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +0 -214
  1094. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +0 -18
  1095. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +0 -82
  1096. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +0 -44
  1097. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +0 -62
  1098. package/types/components/MazPicker/MazPickerTime.vue.d.ts +0 -129
  1099. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +0 -36
  1100. package/types/components/MazPicker/types.d.ts +0 -15
  1101. package/types/components/MazPicker/utils.d.ts +0 -51
  1102. package/types/components/MazPicker.vue.d.ts +0 -126
  1103. package/types/components/MazPullToRefresh.vue.d.ts +0 -53
  1104. package/types/components/MazRadio.vue.d.ts +0 -58
  1105. package/types/components/MazRadioButtons.vue.d.ts +0 -72
  1106. package/types/components/MazReadingProgressBar.vue.d.ts +0 -56
  1107. package/types/components/MazSelect.vue.d.ts +0 -131
  1108. package/types/components/MazSlider/utils.d.ts +0 -15
  1109. package/types/components/MazSlider.vue.d.ts +0 -112
  1110. package/types/components/MazSpinner.vue.d.ts +0 -16
  1111. package/types/components/MazStepper.vue.d.ts +0 -65
  1112. package/types/components/MazSwitch.vue.d.ts +0 -68
  1113. package/types/components/MazTable.vue.d.ts +0 -231
  1114. package/types/components/MazTableCell.vue.d.ts +0 -17
  1115. package/types/components/MazTableRow.vue.d.ts +0 -21
  1116. package/types/components/MazTableTitle.vue.d.ts +0 -17
  1117. package/types/components/MazTabs.vue.d.ts +0 -30
  1118. package/types/components/MazTabsBar.vue.d.ts +0 -73
  1119. package/types/components/MazTabsContent.vue.d.ts +0 -17
  1120. package/types/components/MazTabsContentItem.vue.d.ts +0 -29
  1121. package/types/components/MazTextarea/textarea-autogrow.d.ts +0 -9
  1122. package/types/components/MazTextarea.vue.d.ts +0 -91
  1123. package/types/components/MazTransitionExpand.vue.d.ts +0 -23
  1124. package/types/components/index.d.ts +0 -56
  1125. package/types/components/types.d.ts +0 -20
  1126. package/types/modules/composables/index.d.ts +0 -16
  1127. package/types/modules/composables/useAos.d.ts +0 -2
  1128. package/types/modules/composables/useBreakpoints.d.ts +0 -38
  1129. package/types/modules/composables/useDialog.d.ts +0 -2
  1130. package/types/modules/composables/useFormValidator/config.d.ts +0 -7
  1131. package/types/modules/composables/useFormValidator/index.d.ts +0 -3
  1132. package/types/modules/composables/useFormValidator/types.d.ts +0 -109
  1133. package/types/modules/composables/useFormValidator/useFormField.d.ts +0 -56
  1134. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +0 -17
  1135. package/types/modules/composables/useFormValidator/utils.d.ts +0 -116
  1136. package/types/modules/composables/useIdleTimeout.d.ts +0 -5
  1137. package/types/modules/composables/useInstanceUniqId.d.ts +0 -4
  1138. package/types/modules/composables/useLanguageDisplayNames.d.ts +0 -18
  1139. package/types/modules/composables/useReadingTime.d.ts +0 -25
  1140. package/types/modules/composables/useStringMatching.d.ts +0 -5
  1141. package/types/modules/composables/useSwipe.d.ts +0 -14
  1142. package/types/modules/composables/useThemeHandler.d.ts +0 -58
  1143. package/types/modules/composables/useTimer.d.ts +0 -29
  1144. package/types/modules/composables/useToast.d.ts +0 -2
  1145. package/types/modules/composables/useUserVisibilty.d.ts +0 -5
  1146. package/types/modules/composables/useWait.d.ts +0 -2
  1147. package/types/modules/composables/useWindowSize.d.ts +0 -32
  1148. package/types/modules/directives/click-outside.d.ts +0 -15
  1149. package/types/modules/directives/closable.d.ts +0 -18
  1150. package/types/modules/directives/index.d.ts +0 -11
  1151. package/types/modules/directives/tooltip/index.d.ts +0 -43
  1152. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +0 -47
  1153. package/types/modules/directives/v-fullscreen-img/fullscreen-img.directive.d.ts +0 -7
  1154. package/types/modules/directives/v-fullscreen-img/fullscreen-img.handler.d.ts +0 -36
  1155. package/types/modules/directives/v-fullscreen-img/index.d.ts +0 -6
  1156. package/types/modules/directives/v-lazy-img/index.d.ts +0 -6
  1157. package/types/modules/directives/v-lazy-img/lazy-img.directive.d.ts +0 -7
  1158. package/types/modules/directives/v-lazy-img/lazy-img.handler.d.ts +0 -39
  1159. package/types/modules/directives/v-lazy-img/types.d.ts +0 -35
  1160. package/types/modules/directives/v-zoom-img/index.d.ts +0 -6
  1161. package/types/modules/directives/v-zoom-img/zoom-img.directive.d.ts +0 -6
  1162. package/types/modules/directives/v-zoom-img/zoom-img.handler.d.ts +0 -46
  1163. package/types/modules/filters/index.d.ts +0 -20
  1164. package/types/modules/helpers/InferMaybeRef.d.ts +0 -2
  1165. package/types/modules/helpers/country-flag-from-flagcn.d.ts +0 -7
  1166. package/types/modules/helpers/freeze-value.d.ts +0 -5
  1167. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +0 -29
  1168. package/types/modules/helpers/idle-timeout/index.d.ts +0 -2
  1169. package/types/modules/helpers/idle-timeout/types.d.ts +0 -29
  1170. package/types/modules/helpers/index.d.ts +0 -15
  1171. package/types/modules/helpers/inject-strict.d.ts +0 -2
  1172. package/types/modules/helpers/is-standalone-mode.d.ts +0 -1
  1173. package/types/modules/helpers/mount-component.d.ts +0 -14
  1174. package/types/modules/helpers/user-visibility/index.d.ts +0 -2
  1175. package/types/modules/helpers/user-visibility/user-visibility-handler.d.ts +0 -19
  1176. package/types/modules/index.d.ts +0 -5
  1177. package/types/modules/plugins/aos/index.d.ts +0 -36
  1178. package/types/modules/plugins/dialog/DialogHandler.d.ts +0 -15
  1179. package/types/modules/plugins/dialog/index.d.ts +0 -6
  1180. package/types/modules/plugins/toaster/MazToast.vue.d.ts +0 -37
  1181. package/types/modules/plugins/toaster/ToasterHandler.d.ts +0 -32
  1182. package/types/modules/plugins/toaster/index.d.ts +0 -9
  1183. package/types/modules/plugins/wait/index.d.ts +0 -14
  1184. package/types/resolvers/index.d.ts +0 -3
  1185. package/types/resolvers/unplugin-directives-resolver.d.ts +0 -8
  1186. package/types/resolvers/unplugin-modules-resolver.d.ts +0 -2
  1187. package/types/resolvers/unplugin-vue-components-resolver.d.ts +0 -8
  1188. package/types/tailwindcss/tailwind.config.d.ts +0 -121
  1189. package/types/tailwindcss/utils/colors.d.ts +0 -1
  1190. package/types/utils/index.d.ts +0 -3
  1191. /package/{components → dist}/assets/MazDropdown.CtzsOmDR.css +0 -0
  1192. /package/{components → dist}/assets/MazDropzone.EfEdDH2u.css +0 -0
  1193. /package/{components → dist}/assets/MazSwitch.DMLND-p2.css +0 -0
  1194. /package/{components/chunks/_plugin-vue_export-helper.CHgC5LLL.mjs → dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js} +0 -0
  1195. /package/{components/chunks/examples.mobile.json.tW3aL0qI.mjs → dist/chunks/examples.mobile.json.tW3aL0qI.js} +0 -0
  1196. /package/{components/chunks/no-photography.BJX8HSus.mjs → dist/chunks/no-photography.BJX8HSus.js} +0 -0
  1197. /package/{components/MazPhoneNumberInput → dist/types/components/MazInputPhoneNumber}/default-locales.d.ts +0 -0
  1198. /package/{components → dist/types/components}/MazPicker/types.d.ts +0 -0
  1199. /package/{components → dist/types/components}/MazSlider/utils.d.ts +0 -0
  1200. /package/{components → dist/types/components}/MazTextarea/textarea-autogrow.d.ts +0 -0
  1201. /package/{types/modules/directives/v-zoom-img → dist/types/directives/vZoomImg}/style.d.ts +0 -0
  1202. /package/{types/modules/directives/v-zoom-img → dist/types/directives/vZoomImg}/svgs.d.ts +0 -0
  1203. /package/{types/modules → dist/types}/filters/capitalize.d.ts +0 -0
  1204. /package/{types/modules → dist/types}/filters/currency.d.ts +0 -0
  1205. /package/{types/modules → dist/types}/filters/date.d.ts +0 -0
  1206. /package/{types/modules → dist/types}/filters/number.d.ts +0 -0
  1207. /package/{types/modules → dist/types}/filters/telephone.d.ts +0 -0
  1208. /package/{types/modules → dist/types}/helpers/checkAvailability.d.ts +0 -0
  1209. /package/{types/modules/helpers/country-code-to-unicode-flag.d.ts → dist/types/helpers/countryCodeToUnicodeFlag.d.ts} +0 -0
  1210. /package/{types/modules → dist/types}/helpers/debounce.d.ts +0 -0
  1211. /package/{types/modules/helpers/debounce-callback.d.ts → dist/types/helpers/debounceCallback.d.ts} +0 -0
  1212. /package/{types/modules/helpers/debounce-id.d.ts → dist/types/helpers/debounceId.d.ts} +0 -0
  1213. /package/{types/modules/helpers/is-client.d.ts → dist/types/helpers/isClient.d.ts} +0 -0
  1214. /package/{types/modules/helpers/is-equal.d.ts → dist/types/helpers/isEqual.d.ts} +0 -0
  1215. /package/{types/modules/helpers/normalize-string.d.ts → dist/types/helpers/normalizeString.d.ts} +0 -0
  1216. /package/{types/modules/helpers/script-loader.d.ts → dist/types/helpers/scriptLoader.d.ts} +0 -0
  1217. /package/{types/modules → dist/types}/helpers/sleep.d.ts +0 -0
  1218. /package/{types/modules/helpers/swipe-handler.d.ts → dist/types/helpers/swipeHandler.d.ts} +0 -0
  1219. /package/{types/modules → dist/types}/helpers/throttle.d.ts +0 -0
  1220. /package/{types/modules/helpers/throttle-id.d.ts → dist/types/helpers/throttleId.d.ts} +0 -0
  1221. /package/{types/modules/helpers/truthy-filter.d.ts → dist/types/helpers/truthyFilter.d.ts} +0 -0
  1222. /package/{types/modules/helpers/user-visibility → dist/types/helpers/userVisibility}/types.d.ts +0 -0
  1223. /package/{types/modules → dist/types}/plugins/index.d.ts +0 -0
  1224. /package/{types/modules → dist/types}/plugins/toaster/types.d.ts +0 -0
  1225. /package/{types/modules → dist/types}/plugins/wait/utils.d.ts +0 -0
  1226. /package/{types → dist/types}/tailwindcss/variables/breakpoints.d.ts +0 -0
  1227. /package/{types → dist/types}/tailwindcss/variables/colors.d.ts +0 -0
  1228. /package/{types → dist/types}/tailwindcss/variables/utilities.d.ts +0 -0
  1229. /package/{types → dist/types}/tailwindcss/variables/z-indexes.d.ts +0 -0
@@ -1,2482 +0,0 @@
1
- import { computed as D, useId as ot, nextTick as ge, openBlock as k, createElementBlock as A, createElementVNode as te, defineComponent as ie, defineAsyncComponent as ue, ref as X, onMounted as Qe, useSlots as it, normalizeClass as Z, normalizeStyle as we, unref as J, toDisplayString as oe, createCommentVNode as F, renderSlot as ye, createBlock as U, resolveDynamicComponent as ke, withDirectives as je, mergeProps as Xe, toHandlers as lt, vModelDynamic as st, withModifiers as Ke, withCtx as _, createVNode as G, Fragment as de, renderList as ce, useAttrs as ut, useCssVars as dt, watch as be, TransitionGroup as Ve, createTextVNode as xe, Transition as We, onBeforeMount as ct, onUnmounted as ft, vShow as mt } from "vue";
2
- import '../assets/MazPicker.BlZ4a3b1.css';function Ie(t) {
3
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
- }
5
- var Ye = { exports: {} }, vt = Ye.exports, Ue;
6
- function ht() {
7
- return Ue || (Ue = 1, function(t, a) {
8
- (function(e, s) {
9
- t.exports = s();
10
- })(vt, function() {
11
- var e = 1e3, s = 6e4, c = 36e5, O = "millisecond", w = "second", g = "minute", z = "hour", M = "day", v = "week", I = "month", P = "quarter", C = "year", b = "date", N = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, S = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, L = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
12
- var n = ["th", "st", "nd", "rd"], o = y % 100;
13
- return "[" + y + (n[(o - 20) % 10] || n[o] || n[0]) + "]";
14
- } }, T = function(y, n, o) {
15
- var d = String(y);
16
- return !d || d.length >= n ? y : "" + Array(n + 1 - d.length).join(o) + y;
17
- }, W = { s: T, z: function(y) {
18
- var n = -y.utcOffset(), o = Math.abs(n), d = Math.floor(o / 60), u = o % 60;
19
- return (n <= 0 ? "+" : "-") + T(d, 2, "0") + ":" + T(u, 2, "0");
20
- }, m: function y(n, o) {
21
- if (n.date() < o.date()) return -y(o, n);
22
- var d = 12 * (o.year() - n.year()) + (o.month() - n.month()), u = n.clone().add(d, I), r = o - u < 0, i = n.clone().add(d + (r ? -1 : 1), I);
23
- return +(-(d + (o - u) / (r ? u - i : i - u)) || 0);
24
- }, a: function(y) {
25
- return y < 0 ? Math.ceil(y) || 0 : Math.floor(y);
26
- }, p: function(y) {
27
- return { M: I, y: C, w: v, d: M, D: b, h: z, m: g, s: w, ms: O, Q: P }[y] || String(y || "").toLowerCase().replace(/s$/, "");
28
- }, u: function(y) {
29
- return y === void 0;
30
- } }, h = "en", $ = {};
31
- $[h] = L;
32
- var V = "$isDayjsObject", B = function(y) {
33
- return y instanceof E || !(!y || !y[V]);
34
- }, j = function y(n, o, d) {
35
- var u;
36
- if (!n) return h;
37
- if (typeof n == "string") {
38
- var r = n.toLowerCase();
39
- $[r] && (u = r), o && ($[r] = o, u = r);
40
- var i = n.split("-");
41
- if (!u && i.length > 1) return y(i[0]);
42
- } else {
43
- var m = n.name;
44
- $[m] = n, u = m;
45
- }
46
- return !d && u && (h = u), u || !d && h;
47
- }, H = function(y, n) {
48
- if (B(y)) return y.clone();
49
- var o = typeof n == "object" ? n : {};
50
- return o.date = y, o.args = arguments, new E(o);
51
- }, q = W;
52
- q.l = j, q.i = B, q.w = function(y, n) {
53
- return H(y, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
54
- };
55
- var E = function() {
56
- function y(o) {
57
- this.$L = j(o.locale, null, !0), this.parse(o), this.$x = this.$x || o.x || {}, this[V] = !0;
58
- }
59
- var n = y.prototype;
60
- return n.parse = function(o) {
61
- this.$d = function(d) {
62
- var u = d.date, r = d.utc;
63
- if (u === null) return /* @__PURE__ */ new Date(NaN);
64
- if (q.u(u)) return /* @__PURE__ */ new Date();
65
- if (u instanceof Date) return new Date(u);
66
- if (typeof u == "string" && !/Z$/i.test(u)) {
67
- var i = u.match(f);
68
- if (i) {
69
- var m = i[2] - 1 || 0, Y = (i[7] || "0").substring(0, 3);
70
- return r ? new Date(Date.UTC(i[1], m, i[3] || 1, i[4] || 0, i[5] || 0, i[6] || 0, Y)) : new Date(i[1], m, i[3] || 1, i[4] || 0, i[5] || 0, i[6] || 0, Y);
71
- }
72
- }
73
- return new Date(u);
74
- }(o), this.init();
75
- }, n.init = function() {
76
- var o = this.$d;
77
- this.$y = o.getFullYear(), this.$M = o.getMonth(), this.$D = o.getDate(), this.$W = o.getDay(), this.$H = o.getHours(), this.$m = o.getMinutes(), this.$s = o.getSeconds(), this.$ms = o.getMilliseconds();
78
- }, n.$utils = function() {
79
- return q;
80
- }, n.isValid = function() {
81
- return this.$d.toString() !== N;
82
- }, n.isSame = function(o, d) {
83
- var u = H(o);
84
- return this.startOf(d) <= u && u <= this.endOf(d);
85
- }, n.isAfter = function(o, d) {
86
- return H(o) < this.startOf(d);
87
- }, n.isBefore = function(o, d) {
88
- return this.endOf(d) < H(o);
89
- }, n.$g = function(o, d, u) {
90
- return q.u(o) ? this[d] : this.set(u, o);
91
- }, n.unix = function() {
92
- return Math.floor(this.valueOf() / 1e3);
93
- }, n.valueOf = function() {
94
- return this.$d.getTime();
95
- }, n.startOf = function(o, d) {
96
- var u = this, r = !!q.u(d) || d, i = q.p(o), m = function(se, K) {
97
- var re = q.w(u.$u ? Date.UTC(u.$y, K, se) : new Date(u.$y, K, se), u);
98
- return r ? re : re.endOf(M);
99
- }, Y = function(se, K) {
100
- return q.w(u.toDate()[se].apply(u.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), u);
101
- }, x = this.$W, R = this.$M, Q = this.$D, ae = "set" + (this.$u ? "UTC" : "");
102
- switch (i) {
103
- case C:
104
- return r ? m(1, 0) : m(31, 11);
105
- case I:
106
- return r ? m(1, R) : m(0, R + 1);
107
- case v:
108
- var ne = this.$locale().weekStart || 0, fe = (x < ne ? x + 7 : x) - ne;
109
- return m(r ? Q - fe : Q + (6 - fe), R);
110
- case M:
111
- case b:
112
- return Y(ae + "Hours", 0);
113
- case z:
114
- return Y(ae + "Minutes", 1);
115
- case g:
116
- return Y(ae + "Seconds", 2);
117
- case w:
118
- return Y(ae + "Milliseconds", 3);
119
- default:
120
- return this.clone();
121
- }
122
- }, n.endOf = function(o) {
123
- return this.startOf(o, !1);
124
- }, n.$set = function(o, d) {
125
- var u, r = q.p(o), i = "set" + (this.$u ? "UTC" : ""), m = (u = {}, u[M] = i + "Date", u[b] = i + "Date", u[I] = i + "Month", u[C] = i + "FullYear", u[z] = i + "Hours", u[g] = i + "Minutes", u[w] = i + "Seconds", u[O] = i + "Milliseconds", u)[r], Y = r === M ? this.$D + (d - this.$W) : d;
126
- if (r === I || r === C) {
127
- var x = this.clone().set(b, 1);
128
- x.$d[m](Y), x.init(), this.$d = x.set(b, Math.min(this.$D, x.daysInMonth())).$d;
129
- } else m && this.$d[m](Y);
130
- return this.init(), this;
131
- }, n.set = function(o, d) {
132
- return this.clone().$set(o, d);
133
- }, n.get = function(o) {
134
- return this[q.p(o)]();
135
- }, n.add = function(o, d) {
136
- var u, r = this;
137
- o = Number(o);
138
- var i = q.p(d), m = function(R) {
139
- var Q = H(r);
140
- return q.w(Q.date(Q.date() + Math.round(R * o)), r);
141
- };
142
- if (i === I) return this.set(I, this.$M + o);
143
- if (i === C) return this.set(C, this.$y + o);
144
- if (i === M) return m(1);
145
- if (i === v) return m(7);
146
- var Y = (u = {}, u[g] = s, u[z] = c, u[w] = e, u)[i] || 1, x = this.$d.getTime() + o * Y;
147
- return q.w(x, this);
148
- }, n.subtract = function(o, d) {
149
- return this.add(-1 * o, d);
150
- }, n.format = function(o) {
151
- var d = this, u = this.$locale();
152
- if (!this.isValid()) return u.invalidDate || N;
153
- var r = o || "YYYY-MM-DDTHH:mm:ssZ", i = q.z(this), m = this.$H, Y = this.$m, x = this.$M, R = u.weekdays, Q = u.months, ae = u.meridiem, ne = function(K, re, me, ve) {
154
- return K && (K[re] || K(d, r)) || me[re].slice(0, ve);
155
- }, fe = function(K) {
156
- return q.s(m % 12 || 12, K, "0");
157
- }, se = ae || function(K, re, me) {
158
- var ve = K < 12 ? "AM" : "PM";
159
- return me ? ve.toLowerCase() : ve;
160
- };
161
- return r.replace(S, function(K, re) {
162
- return re || function(me) {
163
- switch (me) {
164
- case "YY":
165
- return String(d.$y).slice(-2);
166
- case "YYYY":
167
- return q.s(d.$y, 4, "0");
168
- case "M":
169
- return x + 1;
170
- case "MM":
171
- return q.s(x + 1, 2, "0");
172
- case "MMM":
173
- return ne(u.monthsShort, x, Q, 3);
174
- case "MMMM":
175
- return ne(Q, x);
176
- case "D":
177
- return d.$D;
178
- case "DD":
179
- return q.s(d.$D, 2, "0");
180
- case "d":
181
- return String(d.$W);
182
- case "dd":
183
- return ne(u.weekdaysMin, d.$W, R, 2);
184
- case "ddd":
185
- return ne(u.weekdaysShort, d.$W, R, 3);
186
- case "dddd":
187
- return R[d.$W];
188
- case "H":
189
- return String(m);
190
- case "HH":
191
- return q.s(m, 2, "0");
192
- case "h":
193
- return fe(1);
194
- case "hh":
195
- return fe(2);
196
- case "a":
197
- return se(m, Y, !0);
198
- case "A":
199
- return se(m, Y, !1);
200
- case "m":
201
- return String(Y);
202
- case "mm":
203
- return q.s(Y, 2, "0");
204
- case "s":
205
- return String(d.$s);
206
- case "ss":
207
- return q.s(d.$s, 2, "0");
208
- case "SSS":
209
- return q.s(d.$ms, 3, "0");
210
- case "Z":
211
- return i;
212
- }
213
- return null;
214
- }(K) || i.replace(":", "");
215
- });
216
- }, n.utcOffset = function() {
217
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
218
- }, n.diff = function(o, d, u) {
219
- var r, i = this, m = q.p(d), Y = H(o), x = (Y.utcOffset() - this.utcOffset()) * s, R = this - Y, Q = function() {
220
- return q.m(i, Y);
221
- };
222
- switch (m) {
223
- case C:
224
- r = Q() / 12;
225
- break;
226
- case I:
227
- r = Q();
228
- break;
229
- case P:
230
- r = Q() / 3;
231
- break;
232
- case v:
233
- r = (R - x) / 6048e5;
234
- break;
235
- case M:
236
- r = (R - x) / 864e5;
237
- break;
238
- case z:
239
- r = R / c;
240
- break;
241
- case g:
242
- r = R / s;
243
- break;
244
- case w:
245
- r = R / e;
246
- break;
247
- default:
248
- r = R;
249
- }
250
- return u ? r : q.a(r);
251
- }, n.daysInMonth = function() {
252
- return this.endOf(I).$D;
253
- }, n.$locale = function() {
254
- return $[this.$L];
255
- }, n.locale = function(o, d) {
256
- if (!o) return this.$L;
257
- var u = this.clone(), r = j(o, d, !0);
258
- return r && (u.$L = r), u;
259
- }, n.clone = function() {
260
- return q.w(this.$d, this);
261
- }, n.toDate = function() {
262
- return new Date(this.valueOf());
263
- }, n.toJSON = function() {
264
- return this.isValid() ? this.toISOString() : null;
265
- }, n.toISOString = function() {
266
- return this.$d.toISOString();
267
- }, n.toString = function() {
268
- return this.$d.toUTCString();
269
- }, y;
270
- }(), l = E.prototype;
271
- return H.prototype = l, [["$ms", O], ["$s", w], ["$m", g], ["$H", z], ["$W", M], ["$M", I], ["$y", C], ["$D", b]].forEach(function(y) {
272
- l[y[1]] = function(n) {
273
- return this.$g(n, y[0], y[1]);
274
- };
275
- }), H.extend = function(y, n) {
276
- return y.$i || (y(n, E, H), y.$i = !0), H;
277
- }, H.locale = j, H.isDayjs = B, H.unix = function(y) {
278
- return H(1e3 * y);
279
- }, H.en = $[h], H.Ls = $, H.p = {}, H;
280
- });
281
- }(Ye)), Ye.exports;
282
- }
283
- var yt = ht();
284
- const p = /* @__PURE__ */ Ie(yt);
285
- var Oe = { exports: {} }, pt = Oe.exports, Ne;
286
- function bt() {
287
- return Ne || (Ne = 1, function(t, a) {
288
- (function(e, s) {
289
- t.exports = s();
290
- })(pt, function() {
291
- var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, s = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, c = /\d/, O = /\d\d/, w = /\d\d?/, g = /\d*[^-_:/,()\s\d]+/, z = {}, M = function(f) {
292
- return (f = +f) + (f > 68 ? 1900 : 2e3);
293
- }, v = function(f) {
294
- return function(S) {
295
- this[f] = +S;
296
- };
297
- }, I = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
298
- (this.zone || (this.zone = {})).offset = function(S) {
299
- if (!S || S === "Z") return 0;
300
- var L = S.match(/([+-]|\d\d)/g), T = 60 * L[1] + (+L[2] || 0);
301
- return T === 0 ? 0 : L[0] === "+" ? -T : T;
302
- }(f);
303
- }], P = function(f) {
304
- var S = z[f];
305
- return S && (S.indexOf ? S : S.s.concat(S.f));
306
- }, C = function(f, S) {
307
- var L, T = z.meridiem;
308
- if (T) {
309
- for (var W = 1; W <= 24; W += 1) if (f.indexOf(T(W, 0, S)) > -1) {
310
- L = W > 12;
311
- break;
312
- }
313
- } else L = f === (S ? "pm" : "PM");
314
- return L;
315
- }, b = { A: [g, function(f) {
316
- this.afternoon = C(f, !1);
317
- }], a: [g, function(f) {
318
- this.afternoon = C(f, !0);
319
- }], Q: [c, function(f) {
320
- this.month = 3 * (f - 1) + 1;
321
- }], S: [c, function(f) {
322
- this.milliseconds = 100 * +f;
323
- }], SS: [O, function(f) {
324
- this.milliseconds = 10 * +f;
325
- }], SSS: [/\d{3}/, function(f) {
326
- this.milliseconds = +f;
327
- }], s: [w, v("seconds")], ss: [w, v("seconds")], m: [w, v("minutes")], mm: [w, v("minutes")], H: [w, v("hours")], h: [w, v("hours")], HH: [w, v("hours")], hh: [w, v("hours")], D: [w, v("day")], DD: [O, v("day")], Do: [g, function(f) {
328
- var S = z.ordinal, L = f.match(/\d+/);
329
- if (this.day = L[0], S) for (var T = 1; T <= 31; T += 1) S(T).replace(/\[|\]/g, "") === f && (this.day = T);
330
- }], w: [w, v("week")], ww: [O, v("week")], M: [w, v("month")], MM: [O, v("month")], MMM: [g, function(f) {
331
- var S = P("months"), L = (P("monthsShort") || S.map(function(T) {
332
- return T.slice(0, 3);
333
- })).indexOf(f) + 1;
334
- if (L < 1) throw new Error();
335
- this.month = L % 12 || L;
336
- }], MMMM: [g, function(f) {
337
- var S = P("months").indexOf(f) + 1;
338
- if (S < 1) throw new Error();
339
- this.month = S % 12 || S;
340
- }], Y: [/[+-]?\d+/, v("year")], YY: [O, function(f) {
341
- this.year = M(f);
342
- }], YYYY: [/\d{4}/, v("year")], Z: I, ZZ: I };
343
- function N(f) {
344
- var S, L;
345
- S = f, L = z && z.formats;
346
- for (var T = (f = S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, q, E) {
347
- var l = E && E.toUpperCase();
348
- return q || L[E] || e[E] || L[l].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(y, n, o) {
349
- return n || o.slice(1);
350
- });
351
- })).match(s), W = T.length, h = 0; h < W; h += 1) {
352
- var $ = T[h], V = b[$], B = V && V[0], j = V && V[1];
353
- T[h] = j ? { regex: B, parser: j } : $.replace(/^\[|\]$/g, "");
354
- }
355
- return function(H) {
356
- for (var q = {}, E = 0, l = 0; E < W; E += 1) {
357
- var y = T[E];
358
- if (typeof y == "string") l += y.length;
359
- else {
360
- var n = y.regex, o = y.parser, d = H.slice(l), u = n.exec(d)[0];
361
- o.call(q, u), H = H.replace(u, "");
362
- }
363
- }
364
- return function(r) {
365
- var i = r.afternoon;
366
- if (i !== void 0) {
367
- var m = r.hours;
368
- i ? m < 12 && (r.hours += 12) : m === 12 && (r.hours = 0), delete r.afternoon;
369
- }
370
- }(q), q;
371
- };
372
- }
373
- return function(f, S, L) {
374
- L.p.customParseFormat = !0, f && f.parseTwoDigitYear && (M = f.parseTwoDigitYear);
375
- var T = S.prototype, W = T.parse;
376
- T.parse = function(h) {
377
- var $ = h.date, V = h.utc, B = h.args;
378
- this.$u = V;
379
- var j = B[1];
380
- if (typeof j == "string") {
381
- var H = B[2] === !0, q = B[3] === !0, E = H || q, l = B[2];
382
- q && (l = B[2]), z = this.$locale(), !H && l && (z = L.Ls[l]), this.$d = function(d, u, r, i) {
383
- try {
384
- if (["x", "X"].indexOf(u) > -1) return new Date((u === "X" ? 1e3 : 1) * d);
385
- var m = N(u)(d), Y = m.year, x = m.month, R = m.day, Q = m.hours, ae = m.minutes, ne = m.seconds, fe = m.milliseconds, se = m.zone, K = m.week, re = /* @__PURE__ */ new Date(), me = R || (Y || x ? 1 : re.getDate()), ve = Y || re.getFullYear(), $e = 0;
386
- Y && !x || ($e = x > 0 ? x - 1 : re.getMonth());
387
- var Me, Te = Q || 0, He = ae || 0, Pe = ne || 0, Le = fe || 0;
388
- return se ? new Date(Date.UTC(ve, $e, me, Te, He, Pe, Le + 60 * se.offset * 1e3)) : r ? new Date(Date.UTC(ve, $e, me, Te, He, Pe, Le)) : (Me = new Date(ve, $e, me, Te, He, Pe, Le), K && (Me = i(Me).week(K).toDate()), Me);
389
- } catch {
390
- return /* @__PURE__ */ new Date("");
391
- }
392
- }($, j, V, L), this.init(), l && l !== !0 && (this.$L = this.locale(l).$L), E && $ != this.format(j) && (this.$d = /* @__PURE__ */ new Date("")), z = {};
393
- } else if (j instanceof Array) for (var y = j.length, n = 1; n <= y; n += 1) {
394
- B[1] = j[n - 1];
395
- var o = L.apply(this, B);
396
- if (o.isValid()) {
397
- this.$d = o.$d, this.$L = o.$L, this.init();
398
- break;
399
- }
400
- n === y && (this.$d = /* @__PURE__ */ new Date(""));
401
- }
402
- else W.call(this, h);
403
- };
404
- };
405
- });
406
- }(Oe)), Oe.exports;
407
- }
408
- var Dt = bt();
409
- const gt = /* @__PURE__ */ Ie(Dt);
410
- var Be = { exports: {} }, kt = Be.exports, Ze;
411
- function wt() {
412
- return Ze || (Ze = 1, function(t, a) {
413
- (function(e, s) {
414
- t.exports = s();
415
- })(kt, function() {
416
- return function(e, s, c) {
417
- s.prototype.isBetween = function(O, w, g, z) {
418
- var M = c(O), v = c(w), I = (z = z || "()")[0] === "(", P = z[1] === ")";
419
- return (I ? this.isAfter(M, g) : !this.isBefore(M, g)) && (P ? this.isBefore(v, g) : !this.isAfter(v, g)) || (I ? this.isBefore(M, g) : !this.isAfter(M, g)) && (P ? this.isAfter(v, g) : !this.isBefore(v, g));
420
- };
421
- };
422
- });
423
- }(Be)), Be.exports;
424
- }
425
- var $t = wt();
426
- const Mt = /* @__PURE__ */ Ie($t);
427
- function _e({
428
- componentName: t,
429
- providedId: a
430
- }) {
431
- return D(() => a ?? `${t}-${ot().replace(/:/g, "")}`);
432
- }
433
- const qe = "__maz-click-outside__";
434
- function et() {
435
- return document.ontouchstart === null ? "touchstart" : "click";
436
- }
437
- async function tt(t, a) {
438
- try {
439
- at(t);
440
- const e = a.instance, s = a.value, c = typeof s == "function";
441
- if (!c)
442
- throw new Error("[maz-ui](vClickOutside) the callback should be a function");
443
- await ge(), t[qe] = (w) => {
444
- if ((!t || w.target && !t.contains(w.target)) && s && c)
445
- return s.call(e, w);
446
- };
447
- const O = et();
448
- document.addEventListener(O, t[qe], { passive: !0 });
449
- } catch (e) {
450
- console.error("[maz-ui](vClickOutside)", e);
451
- }
452
- }
453
- function at(t) {
454
- try {
455
- const a = et();
456
- document.removeEventListener(a, t[qe], !1), delete t[qe];
457
- } catch (a) {
458
- console.error("[maz-ui](vClickOutside)", a);
459
- }
460
- }
461
- function St(t, a) {
462
- try {
463
- if (a.value === a.oldValue)
464
- return;
465
- tt(t, a);
466
- } catch (e) {
467
- console.error("[maz-ui](vClickOutside)", e);
468
- }
469
- }
470
- const zt = {
471
- mounted: tt,
472
- updated: St,
473
- unmounted: at
474
- }, Vt = {
475
- xmlns: "http://www.w3.org/2000/svg",
476
- width: "1em",
477
- height: "1em",
478
- fill: "none",
479
- viewBox: "0 0 24 24"
480
- };
481
- function Yt(t, a) {
482
- return k(), A("svg", Vt, a[0] || (a[0] = [
483
- te(
484
- "path",
485
- {
486
- stroke: "currentColor",
487
- "stroke-linecap": "round",
488
- "stroke-linejoin": "round",
489
- "stroke-width": "1.5",
490
- d: "m19.5 8.25-7.5 7.5-7.5-7.5"
491
- },
492
- null,
493
- -1
494
- /* HOISTED */
495
- )
496
- ]));
497
- }
498
- const Ot = { render: Yt }, Bt = {
499
- month: "short",
500
- day: "numeric",
501
- year: "numeric"
502
- };
503
- function ee(t, a, e) {
504
- if (a === void 0)
505
- throw new TypeError("[maz-ui](FilterDate) The `locale` attribute is required.");
506
- if (typeof a != "string")
507
- throw new TypeError("[maz-ui](FilterDate) The `locale` attribute must be a string.");
508
- const s = e ?? Bt;
509
- try {
510
- const c = t instanceof Date ? t : new Date(t);
511
- return new Intl.DateTimeFormat(a, s).format(c);
512
- } catch (c) {
513
- throw new Error(`[maz-ui](FilterDate) ${c}`);
514
- }
515
- }
516
- function rt(t, a) {
517
- let e;
518
- return function(...s) {
519
- clearTimeout(e), e = setTimeout(() => {
520
- t.apply(this, s);
521
- }, a);
522
- };
523
- }
524
- const Ct = ["for"], qt = {
525
- key: 0,
526
- class: "m-input-wrapper-left"
527
- }, It = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], Tt = {
528
- key: 1,
529
- class: "m-input-wrapper-right"
530
- }, Ht = /* @__PURE__ */ ie({
531
- inheritAttrs: !1,
532
- __name: "MazInput",
533
- props: {
534
- style: { default: void 0 },
535
- class: { default: void 0 },
536
- modelValue: { default: void 0 },
537
- placeholder: { default: void 0 },
538
- label: { default: void 0 },
539
- topLabel: {},
540
- assistiveText: {},
541
- name: { default: void 0 },
542
- color: { default: "primary" },
543
- type: { default: "text" },
544
- required: { type: Boolean, default: !1 },
545
- disabled: { type: Boolean, default: !1 },
546
- readonly: { type: Boolean, default: !1 },
547
- id: { default: void 0 },
548
- error: { type: Boolean, default: !1 },
549
- success: { type: Boolean, default: !1 },
550
- warning: { type: Boolean, default: !1 },
551
- hint: { default: void 0 },
552
- inputClasses: { default: void 0 },
553
- noBorder: { type: Boolean, default: !1 },
554
- noRadius: { type: Boolean, default: !1 },
555
- inputmode: { default: "text" },
556
- size: { default: "md" },
557
- debounce: { type: [Boolean, Number], default: !1 },
558
- debounceDelay: { default: 500 },
559
- validButton: { type: Boolean, default: !1 },
560
- validButtonLoading: { type: Boolean, default: !1 },
561
- autoFocus: { type: Boolean, default: !1 },
562
- borderActive: { type: Boolean, default: !1 },
563
- leftIcon: { type: [String, Function, Object], default: void 0 },
564
- rightIcon: { type: [String, Function, Object], default: void 0 },
565
- roundedSize: { default: void 0 },
566
- block: { type: Boolean },
567
- autocomplete: {}
568
- },
569
- emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
570
- setup(t, { emit: a }) {
571
- const e = t, s = a, c = ue(() => Promise.resolve().then(() => ta)), O = ue(() => import("./MazIcon.Cq1v4J3r.mjs")), w = ue(() => import("./eye-slash.BoO00xzs.mjs")), g = ue(() => import("./eye.f8zAUc30.mjs")), z = ue(() => import("./check.BmubdHc_.mjs")), M = X(!1), v = X(!1), I = X(), P = _e({
572
- componentName: "MazInput",
573
- providedId: e.id
574
- });
575
- Qe(() => {
576
- var l;
577
- e.autoFocus && ((l = I.value) == null || l.focus());
578
- });
579
- const C = D(() => e.type === "password"), b = D(() => M.value ? "text" : e.type), N = D(() => {
580
- if (!e.noBorder) {
581
- if (e.error)
582
- return "maz-border-danger";
583
- if (e.success)
584
- return "maz-border-success";
585
- if (e.warning)
586
- return "maz-border-warning";
587
- if (v.value || e.borderActive) {
588
- if (e.color === "black")
589
- return "maz-border-black";
590
- if (e.color === "danger")
591
- return "maz-border-danger";
592
- if (e.color === "info")
593
- return "maz-border-info";
594
- if (e.color === "primary")
595
- return "maz-border-primary";
596
- if (e.color === "secondary")
597
- return "maz-border-secondary";
598
- if (e.color === "success")
599
- return "maz-border-success";
600
- if (e.color === "warning")
601
- return "maz-border-warning";
602
- if (e.color === "white")
603
- return "maz-border-white";
604
- }
605
- return "--default-border";
606
- }
607
- }), f = it(), S = D(() => W.value !== void 0 && W.value !== ""), L = rt(
608
- (l) => {
609
- s("update:model-value", l);
610
- },
611
- typeof e.debounce == "number" ? e.debounce : e.debounceDelay ?? 500
612
- );
613
- function T(l) {
614
- if (e.debounce)
615
- return L(l);
616
- s("update:model-value", l);
617
- }
618
- const W = D({
619
- get: () => e.modelValue,
620
- set: (l) => T(l)
621
- }), h = D(() => (!!e.label || !!e.hint) && (v.value || !!S.value || !!e.placeholder || ["date", "month", "week"].includes(e.type))), $ = D(() => !!e.label || !!e.hint);
622
- function V() {
623
- return !!f["right-icon"] || C.value || !!f["valid-button"] || e.validButton || !!e.rightIcon;
624
- }
625
- function B() {
626
- return !!f["left-icon"] || !!e.leftIcon;
627
- }
628
- function j(l) {
629
- s("focus", l), v.value = !0;
630
- }
631
- function H(l) {
632
- s("blur", l), v.value = !1;
633
- }
634
- function q(l) {
635
- return s("change", l);
636
- }
637
- function E(l) {
638
- return s("input", l);
639
- }
640
- return (l, y) => (k(), A(
641
- "div",
642
- {
643
- class: Z(["m-input", [
644
- {
645
- "--is-focused": v.value || l.borderActive,
646
- "--should-up": h.value,
647
- "--has-label": $.value,
648
- "--is-disabled": l.disabled,
649
- "--is-readonly": l.readonly,
650
- "--has-z-2": l.error || l.warning || l.success,
651
- "--has-state": l.error || l.warning || l.success,
652
- "--block": l.block
653
- },
654
- e.class,
655
- `--${l.color}`
656
- ]]),
657
- style: we(l.style)
658
- },
659
- [
660
- l.topLabel ? (k(), A("label", {
661
- key: 0,
662
- for: J(P),
663
- class: "m-input-top-label"
664
- }, oe(l.topLabel), 9, Ct)) : F("v-if", !0),
665
- te(
666
- "div",
667
- {
668
- class: Z(["m-input-wrapper m-reset-css", [
669
- l.inputClasses,
670
- N.value,
671
- l.roundedSize ? `--rounded-${l.roundedSize}` : { "maz-rounded": !l.noRadius },
672
- { "--block": l.block }
673
- ]])
674
- },
675
- [
676
- B() ? (k(), A("div", qt, [
677
- l.$slots["left-icon"] || l.leftIcon ? ye(l.$slots, "left-icon", { key: 0 }, () => [
678
- typeof l.leftIcon == "string" ? (k(), U(J(O), {
679
- key: 0,
680
- name: l.leftIcon,
681
- class: "maz-text-xl maz-text-muted"
682
- }, null, 8, ["name"])) : l.leftIcon ? (k(), U(ke(l.leftIcon), {
683
- key: 1,
684
- class: "maz-text-xl maz-text-muted"
685
- })) : F("v-if", !0)
686
- ], !0) : F("v-if", !0)
687
- ])) : F("v-if", !0),
688
- te(
689
- "div",
690
- {
691
- class: Z(["m-input-wrapper-input", [`--${l.size}`, { "--top-label": !!l.topLabel }]])
692
- },
693
- [
694
- je(te("input", Xe({ id: J(P) }, l.$attrs, {
695
- ref_key: "input",
696
- ref: I,
697
- "onUpdate:modelValue": y[0] || (y[0] = (n) => W.value = n),
698
- name: l.name,
699
- placeholder: l.placeholder,
700
- "aria-label": l.label || l.placeholder,
701
- type: b.value,
702
- inputmode: l.inputmode,
703
- disabled: l.disabled,
704
- readonly: l.readonly,
705
- autocomplete: l.autocomplete,
706
- required: l.required,
707
- class: "m-input-input"
708
- }, lt({
709
- blur: H,
710
- focus: j,
711
- change: q,
712
- input: E
713
- }, !0), {
714
- onClick: y[1] || (y[1] = (n) => l.$emit("click", n))
715
- }), null, 16, It), [
716
- [st, W.value]
717
- ]),
718
- l.label || l.hint ? (k(), A(
719
- "span",
720
- {
721
- key: 0,
722
- class: Z(["m-input-label", [
723
- {
724
- "maz-text-danger-600": l.error,
725
- "maz-text-success-600": l.success,
726
- "maz-text-warning-600": l.warning
727
- }
728
- ]])
729
- },
730
- oe(l.hint || l.label),
731
- 3
732
- /* TEXT, CLASS */
733
- )) : F("v-if", !0)
734
- ],
735
- 2
736
- /* CLASS */
737
- ),
738
- V() ? (k(), A("div", Tt, [
739
- l.$slots["right-icon"] || l.rightIcon ? ye(l.$slots, "right-icon", { key: 0 }, () => [
740
- typeof l.rightIcon == "string" ? (k(), U(J(O), {
741
- key: 0,
742
- name: l.rightIcon,
743
- class: "maz-text-xl maz-text-muted"
744
- }, null, 8, ["name"])) : l.rightIcon ? (k(), U(ke(l.rightIcon), {
745
- key: 1,
746
- class: "maz-text-xl maz-text-muted"
747
- })) : F("v-if", !0)
748
- ], !0) : F("v-if", !0),
749
- C.value ? (k(), U(J(c), {
750
- key: 1,
751
- color: "transparent",
752
- tabindex: "-1",
753
- size: "mini",
754
- onClick: y[2] || (y[2] = Ke((n) => M.value = !M.value, ["stop"]))
755
- }, {
756
- default: _(() => [
757
- M.value ? (k(), U(J(w), {
758
- key: 0,
759
- class: "maz-text-xl maz-text-muted"
760
- })) : (k(), U(J(g), {
761
- key: 1,
762
- class: "maz-text-xl maz-text-muted"
763
- }))
764
- ]),
765
- _: 1
766
- /* STABLE */
767
- })) : F("v-if", !0),
768
- l.$slots["valid-button"] || l.validButton ? ye(l.$slots, "valid-button", { key: 2 }, () => [
769
- G(J(c), {
770
- color: "transparent",
771
- disabled: l.disabled,
772
- tabindex: "-1",
773
- loading: l.validButtonLoading,
774
- class: "m-input-valid-button",
775
- size: "mini",
776
- type: "submit"
777
- }, {
778
- default: _(() => [
779
- G(J(z), { class: "maz-text-2xl maz-text-normal" })
780
- ]),
781
- _: 1
782
- /* STABLE */
783
- }, 8, ["disabled", "loading"])
784
- ], !0) : F("v-if", !0)
785
- ])) : F("v-if", !0)
786
- ],
787
- 2
788
- /* CLASS */
789
- ),
790
- l.assistiveText ? (k(), A(
791
- "div",
792
- {
793
- key: 1,
794
- class: Z(["m-input-bottom-text", [
795
- {
796
- "maz-text-danger-600": l.error,
797
- "maz-text-success-600": l.success,
798
- "maz-text-warning-600": l.warning,
799
- "maz-text-muted": !l.error && !l.success && !l.warning
800
- }
801
- ]])
802
- },
803
- oe(l.assistiveText),
804
- 3
805
- /* TEXT, CLASS */
806
- )) : F("v-if", !0)
807
- ],
808
- 6
809
- /* CLASS, STYLE */
810
- ));
811
- }
812
- }), le = (t, a) => {
813
- const e = t.__vccOpts || t;
814
- for (const [s, c] of a)
815
- e[s] = c;
816
- return e;
817
- }, Pt = /* @__PURE__ */ le(Ht, [["__scopeId", "data-v-8def99c5"]]);
818
- var Ce = { exports: {} }, Lt = Ce.exports, Re;
819
- function At() {
820
- return Re || (Re = 1, function(t, a) {
821
- (function(e, s) {
822
- t.exports = s();
823
- })(Lt, function() {
824
- return function(e, s) {
825
- s.prototype.weekday = function(c) {
826
- var O = this.$locale().weekStart || 0, w = this.$W, g = (w < O ? w + 7 : w) - O;
827
- return this.$utils().u(c) ? g : this.subtract(g, "day").add(c, "day");
828
- };
829
- };
830
- });
831
- }(Ce)), Ce.exports;
832
- }
833
- var jt = At();
834
- const xt = /* @__PURE__ */ Ie(jt);
835
- function De(t) {
836
- return t ? (t = t.toString(), t.charAt(0).toUpperCase() + t.slice(1)) : "";
837
- }
838
- p.extend(xt);
839
- function Ee({
840
- value: t,
841
- locale: a,
842
- options: e
843
- }) {
844
- return t ? De(ee(t, a, e)) : void 0;
845
- }
846
- function Wt({
847
- value: t,
848
- locale: a,
849
- options: e
850
- }) {
851
- const s = Ee({
852
- value: t.start,
853
- locale: a,
854
- options: e
855
- }), c = Ee({
856
- value: t.end,
857
- locale: a,
858
- options: e
859
- });
860
- return s || c ? `${s || "..."} - ${c || "..."}` : void 0;
861
- }
862
- function Et(t) {
863
- return p(t).startOf("month").day();
864
- }
865
- function Ft(t, a) {
866
- const e = p().locale(t), s = [];
867
- for (let c = 0; c < 7; c++) {
868
- const O = e.day(c + a).toDate(), w = ee(O, t, { weekday: "short" });
869
- s.push(w);
870
- }
871
- return s;
872
- }
873
- function Ut(t) {
874
- return p(t).daysInMonth();
875
- }
876
- function Nt(t) {
877
- return p().isSame(t, "date");
878
- }
879
- function he(t, a, e) {
880
- return p(t).isSame(a, e);
881
- }
882
- function nt(t, a) {
883
- return p(t).day() === a;
884
- }
885
- function Fe(t, a = "YYYY-MM-DD") {
886
- if (t)
887
- return p(t).format(a);
888
- }
889
- function Zt(t, a = "YYYY-MM-DD") {
890
- return {
891
- start: Fe(t.start, a),
892
- end: Fe(t.end, a)
893
- };
894
- }
895
- function Ae({
896
- value: t,
897
- minDate: a,
898
- maxDate: e,
899
- format: s
900
- }) {
901
- return a && p(t).isBefore(a) ? {
902
- newValue: a,
903
- newCurrentDate: p(a, s).format()
904
- } : e && p(t).isAfter(e) ? {
905
- newValue: e,
906
- newCurrentDate: p(e, s).format()
907
- } : {
908
- newValue: void 0,
909
- newCurrentDate: void 0
910
- };
911
- }
912
- function Se({
913
- value: t,
914
- disabledWeekly: a
915
- }) {
916
- return a.some((e) => nt(t, e));
917
- }
918
- function ze({
919
- value: t,
920
- disabledDates: a
921
- }) {
922
- return a.some((e) => p(t).isSame(p(e), "date"));
923
- }
924
- const Rt = function(t, a, e = 0, s = !0) {
925
- t.scrollTo({
926
- top: a.offsetTop - e,
927
- behavior: s ? "smooth" : "auto"
928
- });
929
- };
930
- function Ge(t, a) {
931
- return t.reduce((e, s) => Math.abs(s - a) < Math.abs(e - a) ? s : e);
932
- }
933
- function Gt() {
934
- try {
935
- return typeof window > "u" ? void 0 : window.navigator.language;
936
- } catch (t) {
937
- throw new Error(`[MazPhoneNumberInput] (browserLocale) ${t}`);
938
- }
939
- }
940
- async function Jt() {
941
- try {
942
- const t = await fetch("https://ipwho.is"), { country_code: a } = await t.json();
943
- return a;
944
- } catch (t) {
945
- console.error(`[maz-ui](MazPicker)(fetchCountryCode) ${t}`);
946
- }
947
- }
948
- const Qt = { class: "maz-picker-calendar-days" }, Xt = /* @__PURE__ */ ie({
949
- __name: "MazPickerCalendarDays",
950
- props: {
951
- locale: { type: String, required: !0 },
952
- firstDayOfWeek: { type: Number, required: !0 }
953
- },
954
- setup(t) {
955
- const a = t, e = D(() => Ft(a.locale, a.firstDayOfWeek));
956
- return (s, c) => (k(), A("div", Qt, [
957
- (k(!0), A(
958
- de,
959
- null,
960
- ce(e.value, (O) => (k(), A(
961
- "span",
962
- { key: O },
963
- oe(O),
964
- 1
965
- /* TEXT */
966
- ))),
967
- 128
968
- /* KEYED_FRAGMENT */
969
- ))
970
- ]));
971
- }
972
- }), Kt = /* @__PURE__ */ le(Xt, [["__scopeId", "data-v-4315c0cd"]]), _t = {
973
- key: 0,
974
- class: "m-btn-loader-container"
975
- }, ea = /* @__PURE__ */ ie({
976
- __name: "MazBtn",
977
- props: {
978
- variant: { default: "button" },
979
- size: { default: "md" },
980
- color: { default: "primary" },
981
- type: { default: "button" },
982
- rounded: { type: Boolean },
983
- roundedSize: { default: "lg" },
984
- noRounded: { type: Boolean },
985
- outline: { type: Boolean },
986
- pastel: { type: Boolean },
987
- block: { type: Boolean },
988
- noUnderline: { type: Boolean },
989
- loading: { type: Boolean },
990
- disabled: { type: Boolean },
991
- fab: { type: Boolean },
992
- icon: { type: [String, Function, Object], default: void 0 },
993
- leftIcon: { type: [String, Function, Object], default: void 0 },
994
- rightIcon: { type: [String, Function, Object], default: void 0 },
995
- noPadding: { type: Boolean },
996
- noElevation: { type: Boolean },
997
- justify: { default: "center" }
998
- },
999
- setup(t) {
1000
- const a = t, e = ue(() => import("./MazSpinner.D9YU6PN7.mjs")), s = ue(() => import("./MazIcon.Cq1v4J3r.mjs")), { href: c, to: O } = ut(), w = D(() => c ? "a" : O ? "router-link" : "button"), g = D(() => a.pastel ? `--${a.color}-pastel` : a.outline ? `--${a.color}-outline` : `--${a.color}`), z = D(
1001
- () => (a.loading || a.disabled) && w.value === "button"
1002
- ), M = D(() => z.value ? "--cursor-default" : "--cursor-pointer"), v = D(() => `--is-${a.variant}`), I = D(() => a.loading && a.variant === "button"), P = D(() => w.value === "button" ? a.type : void 0), C = D(() => a.size === "xl" ? "maz-text-3xl" : a.size === "lg" ? "maz-text-2xl" : a.size === "md" ? "maz-text-xl" : a.size === "sm" ? "maz-text-lg" : a.size === "xs" ? "maz-text-base" : a.size === "mini" ? "maz-text-sm" : "maz-text-xl");
1003
- return (b, N) => (k(), U(ke(w.value), {
1004
- disabled: z.value || void 0,
1005
- class: Z(["m-btn m-reset-css", [
1006
- `--${b.size}`,
1007
- !b.fab && !b.rounded && b.roundedSize && `--rounded-${b.roundedSize}`,
1008
- g.value,
1009
- M.value,
1010
- v.value,
1011
- {
1012
- "--block": b.block,
1013
- "--no-underline": b.noUnderline,
1014
- "--fab": b.fab,
1015
- "--loading": b.loading,
1016
- "--disabled": z.value,
1017
- "--rounded": b.rounded,
1018
- "--no-rounded": b.noRounded,
1019
- "--no-padding": b.noPadding,
1020
- "--no-elevation": b.noElevation
1021
- }
1022
- ]]),
1023
- style: we([`--justify: ${b.justify}`]),
1024
- type: P.value
1025
- }, {
1026
- default: _(() => [
1027
- ye(b.$slots, "left-icon", {}, () => [
1028
- typeof b.leftIcon == "string" ? (k(), U(J(s), {
1029
- key: 0,
1030
- name: b.leftIcon,
1031
- class: Z([C.value])
1032
- }, null, 8, ["name", "class"])) : b.leftIcon ? (k(), U(ke(b.leftIcon), {
1033
- key: 1,
1034
- class: Z([C.value])
1035
- }, null, 8, ["class"])) : F("v-if", !0)
1036
- ], !0),
1037
- ye(b.$slots, "icon", {}, () => [
1038
- typeof b.icon == "string" ? (k(), U(J(s), {
1039
- key: 0,
1040
- name: b.icon,
1041
- class: Z([C.value])
1042
- }, null, 8, ["name", "class"])) : b.icon ? (k(), U(ke(b.icon), {
1043
- key: 1,
1044
- class: Z([C.value])
1045
- }, null, 8, ["class"])) : F("v-if", !0)
1046
- ], !0),
1047
- ye(b.$slots, "default", {}, void 0, !0),
1048
- ye(b.$slots, "right-icon", {}, () => [
1049
- typeof b.rightIcon == "string" ? (k(), U(J(s), {
1050
- key: 0,
1051
- name: b.rightIcon,
1052
- class: Z([C.value])
1053
- }, null, 8, ["name", "class"])) : b.rightIcon ? (k(), U(ke(b.rightIcon), {
1054
- key: 1,
1055
- class: Z([C.value])
1056
- }, null, 8, ["class"])) : F("v-if", !0)
1057
- ], !0),
1058
- I.value ? (k(), A("div", _t, [
1059
- G(J(e), {
1060
- size: "2em",
1061
- color: b.color
1062
- }, null, 8, ["color"])
1063
- ])) : F("v-if", !0)
1064
- ]),
1065
- _: 3
1066
- /* FORWARDED */
1067
- }, 8, ["disabled", "class", "style", "type"]));
1068
- }
1069
- }), pe = /* @__PURE__ */ le(ea, [["__scopeId", "data-v-6b881156"]]), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1070
- __proto__: null,
1071
- default: pe
1072
- }, Symbol.toStringTag, { value: "Module" })), aa = /* @__PURE__ */ ie({
1073
- __name: "MazPickerCalendarGrid",
1074
- props: {
1075
- modelValue: {
1076
- type: [String, Object],
1077
- default: void 0
1078
- },
1079
- calendarDate: { type: String, required: !0 },
1080
- hasTime: { type: Boolean, required: !0 },
1081
- locale: { type: String, required: !0 },
1082
- firstDayOfWeek: { type: Number, required: !0 },
1083
- color: { type: String, required: !0 },
1084
- minDate: { type: String, default: void 0 },
1085
- maxDate: { type: String, default: void 0 },
1086
- disabledWeekly: { type: Array, required: !0 },
1087
- disabledDates: { type: Array, required: !0 },
1088
- hoverredDay: { type: Object, default: void 0 },
1089
- disabled: { type: Boolean, required: !0 }
1090
- },
1091
- emits: ["update:model-value", "update:hoverred-day"],
1092
- setup(t, { emit: a }) {
1093
- dt((n) => ({
1094
- "7c5235de": z.value,
1095
- "2c4cc5ce": v.value,
1096
- "2df83176": M.value
1097
- }));
1098
- const e = t, s = a, c = X(), O = X("maz-slidenext"), w = D(() => [e.calendarDate]), g = D(() => e.modelValue && typeof e.modelValue == "object"), z = D(() => `var(--maz-color-${e.color}-alpha-20)`), M = D(() => `var(--maz-color-${e.color}-alpha)`), v = D(() => `var(--maz-color-${e.color}-alpha-20)`), I = D({
1099
- get: () => e.modelValue,
1100
- set: (n) => s("update:model-value", n)
1101
- }), P = D(
1102
- () => Array.from({ length: Ut(e.calendarDate) }, (n, o) => o + 1).map((n) => ({
1103
- label: n,
1104
- date: p(e.calendarDate).set("date", n)
1105
- }))
1106
- ), C = D(() => (Et(e.calendarDate) - e.firstDayOfWeek + 7) % 7);
1107
- function b(n) {
1108
- const o = e.modelValue;
1109
- o.start && !o.end && n && n.isAfter(o.start) ? s("update:hoverred-day", n) : s("update:hoverred-day");
1110
- }
1111
- function N(n) {
1112
- const o = e.modelValue;
1113
- return !o.start || !e.hoverredDay ? void 0 : p(n).isBetween(o.start, e.hoverredDay, "date", "(]") ? 3 : void 0;
1114
- }
1115
- function f(n) {
1116
- if (e.hoverredDay)
1117
- return p(n).isSame(e.hoverredDay);
1118
- }
1119
- function S(n) {
1120
- var o;
1121
- return e.modelValue && e.modelValue && typeof e.modelValue == "object" && (o = e.modelValue) != null && o.start ? he(n, e.modelValue.start, "date") : !1;
1122
- }
1123
- function L(n) {
1124
- var o;
1125
- return e.modelValue && e.modelValue && typeof e.modelValue == "object" && (o = e.modelValue) != null && o.end ? he(n, e.modelValue.end, "date") : !1;
1126
- }
1127
- function T(n) {
1128
- const o = e.modelValue;
1129
- return typeof o == "object" ? o.start && he(n, o.start, "date") || o.end && he(n, o.end, "date") || B(n) ? e.color : "transparent" : V(n) ? e.color : "transparent";
1130
- }
1131
- function W(n) {
1132
- if (e.modelValue && typeof e.modelValue == "object") {
1133
- if (e.modelValue.start && he(n, e.modelValue.start, "date"))
1134
- return 1;
1135
- if (e.modelValue.end) {
1136
- if (he(n, e.modelValue.end, "date"))
1137
- return 1;
1138
- if (B(n))
1139
- return 2;
1140
- }
1141
- } else if (V(n))
1142
- return 1;
1143
- return 0;
1144
- }
1145
- function h(n) {
1146
- g.value && b();
1147
- const o = n.format();
1148
- if (typeof I.value == "object") {
1149
- let d = I.value;
1150
- d.start && d.end && (d = {
1151
- start: void 0,
1152
- end: void 0
1153
- });
1154
- const u = p(o).isBefore(d.start, "date");
1155
- I.value = !d.start || u ? {
1156
- start: o,
1157
- end: void 0
1158
- } : {
1159
- start: d.start,
1160
- end: o
1161
- };
1162
- } else
1163
- I.value = o;
1164
- }
1165
- function $(n) {
1166
- return Nt(n);
1167
- }
1168
- function V(n) {
1169
- if (!e.modelValue)
1170
- return !1;
1171
- const o = e.modelValue;
1172
- return he(n, o, "date");
1173
- }
1174
- function B(n) {
1175
- const o = e.modelValue;
1176
- return !o.start || !o.end ? !1 : p(n).isBetween(o.start, o.end, "date", "()");
1177
- }
1178
- function j(n) {
1179
- return e.minDate ? p(n).isBefore(e.minDate, "date") : !1;
1180
- }
1181
- function H(n) {
1182
- var o;
1183
- return (o = e.disabledWeekly) != null && o.length ? e.disabledWeekly.some((d) => nt(n, d)) : !1;
1184
- }
1185
- function q(n) {
1186
- var o;
1187
- return (o = e.disabledDates) != null && o.length ? e.disabledDates.some((d) => he(n, d, "date")) : !1;
1188
- }
1189
- function E(n) {
1190
- return e.maxDate ? p(n).isAfter(e.maxDate, "date") : !1;
1191
- }
1192
- const l = rt(() => {
1193
- c.value && (c.value.style.minHeight = "");
1194
- }, 400);
1195
- function y() {
1196
- var n;
1197
- c.value && (c.value.style.minHeight = `${((n = c.value) == null ? void 0 : n.clientHeight) || 176}px`, l());
1198
- }
1199
- return be(
1200
- () => e.calendarDate,
1201
- (n, o) => {
1202
- O.value = p(n).isAfter(o, "date") ? "maz-slidenext" : "maz-slideprev", y();
1203
- }
1204
- ), (n, o) => (k(), A(
1205
- "div",
1206
- {
1207
- ref_key: "MazPickerGrid",
1208
- ref: c,
1209
- class: "maz-picker-calendar-grid"
1210
- },
1211
- [
1212
- G(Ve, { name: O.value }, {
1213
- default: _(() => [
1214
- (k(!0), A(
1215
- de,
1216
- null,
1217
- ce([w.value], (d, u) => (k(), A(
1218
- "div",
1219
- {
1220
- key: `${d[u]}`,
1221
- class: Z(["maz-picker-calendar-grid__container", { "--is-range": g.value }])
1222
- },
1223
- [
1224
- (k(!0), A(
1225
- de,
1226
- null,
1227
- ce(C.value, (r) => (k(), A("div", { key: r }))),
1228
- 128
1229
- /* KEYED_FRAGMENT */
1230
- )),
1231
- (k(!0), A(
1232
- de,
1233
- null,
1234
- ce(P.value, ({ label: r, date: i }, m) => (k(), U(pe, {
1235
- key: m,
1236
- size: "mini",
1237
- color: T(i),
1238
- type: "button",
1239
- disabled: t.disabled || j(i) || E(i) || H(i) || q(i),
1240
- class: Z({
1241
- "--is-today": $(i),
1242
- "--is-first": S(i),
1243
- "--is-last": L(i) || g.value && f(i),
1244
- "--is-selected": W(i) === 1,
1245
- "--is-between": W(i) === 2,
1246
- "--is-between-hoverred": g.value ? N(i) === 3 : void 0
1247
- }),
1248
- onClick: (Y) => h(i),
1249
- onMouseover: (Y) => g.value ? b(i) : void 0,
1250
- onMouseleave: o[0] || (o[0] = (Y) => g.value ? b() : void 0),
1251
- onFocus: (Y) => g.value ? b(i) : void 0,
1252
- onBlur: o[1] || (o[1] = (Y) => g.value ? b() : void 0)
1253
- }, {
1254
- default: _(() => [
1255
- te(
1256
- "span",
1257
- null,
1258
- oe(r),
1259
- 1
1260
- /* TEXT */
1261
- )
1262
- ]),
1263
- _: 2
1264
- /* DYNAMIC */
1265
- }, 1032, ["color", "disabled", "class", "onClick", "onMouseover", "onFocus"]))),
1266
- 128
1267
- /* KEYED_FRAGMENT */
1268
- ))
1269
- ],
1270
- 2
1271
- /* CLASS */
1272
- ))),
1273
- 128
1274
- /* KEYED_FRAGMENT */
1275
- ))
1276
- ]),
1277
- _: 1
1278
- /* STABLE */
1279
- }, 8, ["name"])
1280
- ],
1281
- 512
1282
- /* NEED_PATCH */
1283
- ));
1284
- }
1285
- }), ra = /* @__PURE__ */ le(aa, [["__scopeId", "data-v-a04fc985"]]), na = { class: "maz-picker-calendar-month --has-padding" }, oa = /* @__PURE__ */ ie({
1286
- __name: "MazPickerCalendarMonth",
1287
- props: {
1288
- modelValue: {
1289
- type: [String, Object],
1290
- default: void 0
1291
- },
1292
- color: { type: String, required: !0 },
1293
- locale: { type: String, required: !0 },
1294
- hasTime: { type: Boolean, required: !0 },
1295
- firstDayOfWeek: { type: Number, required: !0 },
1296
- calendarDate: { type: String, required: !0 },
1297
- offsetMonth: { type: Number, default: 0 },
1298
- minDate: { type: String, default: void 0 },
1299
- maxDate: { type: String, default: void 0 },
1300
- disabledWeekly: { type: Array, required: !0 },
1301
- disabledDates: { type: Array, required: !0 },
1302
- hoverredDay: { type: Object, default: void 0 },
1303
- disabled: { type: Boolean, required: !0 }
1304
- },
1305
- emits: ["update:model-value", "update:calendar-date", "update:hoverred-day"],
1306
- setup(t, { emit: a }) {
1307
- const e = t, s = a, c = D({
1308
- get: () => e.modelValue,
1309
- set: (z) => s("update:model-value", z)
1310
- }), O = D({
1311
- get: () => e.hoverredDay,
1312
- set: (z) => s("update:hoverred-day", z)
1313
- });
1314
- function w(z) {
1315
- return p(e.calendarDate).add(z, "month").format();
1316
- }
1317
- const g = D({
1318
- get: () => w(e.offsetMonth),
1319
- set: (z) => s("update:calendar-date", z)
1320
- });
1321
- return (z, M) => (k(), A("div", na, [
1322
- G(Kt, {
1323
- locale: t.locale,
1324
- "first-day-of-week": t.firstDayOfWeek,
1325
- class: "maz-picker-calendar-month__days"
1326
- }, null, 8, ["locale", "first-day-of-week"]),
1327
- G(ra, {
1328
- modelValue: c.value,
1329
- "onUpdate:modelValue": M[0] || (M[0] = (v) => c.value = v),
1330
- "hoverred-day": O.value,
1331
- "onUpdate:hoverredDay": M[1] || (M[1] = (v) => O.value = v),
1332
- locale: t.locale,
1333
- color: t.color,
1334
- "has-time": t.hasTime,
1335
- "calendar-date": g.value,
1336
- "first-day-of-week": t.firstDayOfWeek,
1337
- "min-date": t.minDate,
1338
- "max-date": t.maxDate,
1339
- "disabled-weekly": t.disabledWeekly,
1340
- "disabled-dates": t.disabledDates,
1341
- disabled: t.disabled
1342
- }, null, 8, ["modelValue", "hoverred-day", "locale", "color", "has-time", "calendar-date", "first-day-of-week", "min-date", "max-date", "disabled-weekly", "disabled-dates", "disabled"])
1343
- ]));
1344
- }
1345
- }), ia = /* @__PURE__ */ le(oa, [["__scopeId", "data-v-c9ace16d"]]), la = {
1346
- xmlns: "http://www.w3.org/2000/svg",
1347
- width: "1em",
1348
- height: "1em",
1349
- fill: "none",
1350
- viewBox: "0 0 24 24"
1351
- };
1352
- function sa(t, a) {
1353
- return k(), A("svg", la, a[0] || (a[0] = [
1354
- te(
1355
- "path",
1356
- {
1357
- stroke: "currentColor",
1358
- "stroke-linecap": "round",
1359
- "stroke-linejoin": "round",
1360
- "stroke-width": "1.5",
1361
- d: "M15.75 19.5 8.25 12l7.5-7.5"
1362
- },
1363
- null,
1364
- -1
1365
- /* HOISTED */
1366
- )
1367
- ]));
1368
- }
1369
- const Je = { render: sa }, ua = { class: "m-picker-calendar-switcher" }, da = /* @__PURE__ */ ie({
1370
- __name: "MazPickerCalendarSwitcher",
1371
- props: {
1372
- calendarDate: { type: String, default: void 0 },
1373
- locale: { type: String, required: !0 },
1374
- double: { type: Boolean, required: !0 }
1375
- },
1376
- emits: [
1377
- "previous",
1378
- "next",
1379
- "open-month-switcher",
1380
- "open-year-switcher",
1381
- "update:calendar-date"
1382
- ],
1383
- setup(t, { emit: a }) {
1384
- const e = t, s = a, c = D(() => p(e.calendarDate)), O = D(() => e.double ? `${De(
1385
- ee(c.value.format(), e.locale, { month: "long" })
1386
- )} - ${De(
1387
- ee(c.value.add(1, "month").format(), e.locale, {
1388
- month: "long"
1389
- })
1390
- )}` : De(ee(c.value.format(), e.locale, { month: "long" }))), w = D(
1391
- () => ee(c.value.format(), e.locale, { year: "numeric" })
1392
- );
1393
- function g() {
1394
- s("update:calendar-date", p(e.calendarDate).subtract(1, "month").format());
1395
- }
1396
- function z() {
1397
- s("update:calendar-date", p(e.calendarDate).add(1, "month").format());
1398
- }
1399
- return (M, v) => (k(), A("div", ua, [
1400
- G(pe, {
1401
- size: "xs",
1402
- color: "transparent",
1403
- type: "button",
1404
- onClick: g
1405
- }, {
1406
- default: _(() => [
1407
- G(J(Je), { class: "maz-text-lg" })
1408
- ]),
1409
- _: 1
1410
- /* STABLE */
1411
- }),
1412
- G(pe, {
1413
- size: "sm",
1414
- color: "transparent",
1415
- type: "button",
1416
- class: "m-picker-calendar-switcher__date",
1417
- onClick: v[0] || (v[0] = (I) => M.$emit("open-month-switcher", I))
1418
- }, {
1419
- default: _(() => [
1420
- xe(
1421
- oe(O.value),
1422
- 1
1423
- /* TEXT */
1424
- )
1425
- ]),
1426
- _: 1
1427
- /* STABLE */
1428
- }),
1429
- G(pe, {
1430
- size: "sm",
1431
- color: "transparent",
1432
- type: "button",
1433
- class: "m-picker-calendar-switcher__date",
1434
- onClick: v[1] || (v[1] = (I) => M.$emit("open-year-switcher", I))
1435
- }, {
1436
- default: _(() => [
1437
- xe(
1438
- oe(w.value),
1439
- 1
1440
- /* TEXT */
1441
- )
1442
- ]),
1443
- _: 1
1444
- /* STABLE */
1445
- }),
1446
- G(pe, {
1447
- size: "xs",
1448
- color: "transparent",
1449
- type: "button",
1450
- onClick: z
1451
- }, {
1452
- default: _(() => [
1453
- G(J(Je), { class: "maz-rotate-180 maz-text-lg" })
1454
- ]),
1455
- _: 1
1456
- /* STABLE */
1457
- })
1458
- ]));
1459
- }
1460
- }), ca = /* @__PURE__ */ le(da, [["__scopeId", "data-v-bd07ac27"]]), fa = { class: "maz-picker-calendar flex" }, ma = { class: "maz-picker-calendar__months" }, va = /* @__PURE__ */ ie({
1461
- __name: "MazPickerCalendar",
1462
- props: {
1463
- modelValue: {
1464
- type: [String, Object],
1465
- default: void 0
1466
- },
1467
- calendarDate: { type: String, required: !0 },
1468
- color: { type: String, required: !0 },
1469
- locale: { type: String, required: !0 },
1470
- firstDayOfWeek: { type: Number, required: !0 },
1471
- double: { type: Boolean, required: !0 },
1472
- minDate: { type: String, default: void 0 },
1473
- maxDate: { type: String, default: void 0 },
1474
- disabledWeekly: { type: Array, required: !0 },
1475
- disabledDates: { type: Array, required: !0 },
1476
- shortcuts: {
1477
- type: Array,
1478
- required: !0
1479
- },
1480
- noShortcuts: { type: Boolean, required: !0 },
1481
- hasTime: { type: Boolean, required: !0 },
1482
- shortcut: { type: String, default: void 0 },
1483
- disabled: { type: Boolean, required: !0 }
1484
- },
1485
- emits: ["update:model-value", "update:calendar-date"],
1486
- setup(t, { emit: a }) {
1487
- const e = t, s = a, c = ue(() => import("./MazPickerMonthSwitcher.D42-_FwL.mjs")), O = ue(() => import("./MazPickerYearSwitcher.BfS0Lz92.mjs")), w = ue(() => import("./MazPickerShortcuts.D1UfHxwB.mjs")), g = X(), z = D(() => e.modelValue && typeof e.modelValue == "object"), M = D(
1488
- () => !e.noShortcuts && e.shortcuts.length > 0 && z.value
1489
- ), v = X(!1), I = X(!1), P = D({
1490
- get: () => e.modelValue,
1491
- set: (N) => s("update:model-value", N)
1492
- }), C = D(() => Array.from({ length: e.double ? 2 : 1 }, (N, f) => f)), b = D({
1493
- get: () => e.calendarDate,
1494
- set: (N) => s("update:calendar-date", N)
1495
- });
1496
- return (N, f) => (k(), A("div", fa, [
1497
- M.value ? (k(), U(J(w), {
1498
- key: 0,
1499
- modelValue: P.value,
1500
- "onUpdate:modelValue": f[0] || (f[0] = (S) => P.value = S),
1501
- color: t.color,
1502
- shortcuts: t.shortcuts,
1503
- shortcut: t.shortcut,
1504
- double: t.double,
1505
- disabled: t.disabled
1506
- }, null, 8, ["modelValue", "color", "shortcuts", "shortcut", "double", "disabled"])) : F("v-if", !0),
1507
- te(
1508
- "div",
1509
- {
1510
- class: Z(["maz-picker-calendar__main", { "--has-double": t.double }])
1511
- },
1512
- [
1513
- G(ca, {
1514
- "calendar-date": b.value,
1515
- "onUpdate:calendarDate": f[1] || (f[1] = (S) => b.value = S),
1516
- locale: t.locale,
1517
- double: t.double,
1518
- onOpenMonthSwitcher: f[2] || (f[2] = (S) => v.value = !0),
1519
- onOpenYearSwitcher: f[3] || (f[3] = (S) => I.value = !0)
1520
- }, null, 8, ["calendar-date", "locale", "double"]),
1521
- G(We, { name: "maz-picker-slide" }, {
1522
- default: _(() => [
1523
- v.value ? (k(), U(J(c), {
1524
- key: 0,
1525
- "calendar-date": b.value,
1526
- "onUpdate:calendarDate": f[4] || (f[4] = (S) => b.value = S),
1527
- color: t.color,
1528
- double: t.double,
1529
- locale: t.locale,
1530
- onClose: f[5] || (f[5] = (S) => v.value = !1)
1531
- }, null, 8, ["calendar-date", "color", "double", "locale"])) : F("v-if", !0)
1532
- ]),
1533
- _: 1
1534
- /* STABLE */
1535
- }),
1536
- G(We, { name: "maz-picker-slide" }, {
1537
- default: _(() => [
1538
- I.value ? (k(), U(J(O), {
1539
- key: 0,
1540
- "calendar-date": b.value,
1541
- "onUpdate:calendarDate": f[6] || (f[6] = (S) => b.value = S),
1542
- color: t.color,
1543
- locale: t.locale,
1544
- onClose: f[7] || (f[7] = (S) => I.value = !1)
1545
- }, null, 8, ["calendar-date", "color", "locale"])) : F("v-if", !0)
1546
- ]),
1547
- _: 1
1548
- /* STABLE */
1549
- }),
1550
- te("div", ma, [
1551
- (k(!0), A(
1552
- de,
1553
- null,
1554
- ce(C.value, (S) => (k(), U(ia, {
1555
- key: S,
1556
- modelValue: P.value,
1557
- "onUpdate:modelValue": f[8] || (f[8] = (L) => P.value = L),
1558
- "hoverred-day": g.value,
1559
- "onUpdate:hoverredDay": f[9] || (f[9] = (L) => g.value = L),
1560
- "calendar-date": b.value,
1561
- locale: t.locale,
1562
- "has-time": t.hasTime,
1563
- color: t.color,
1564
- "offset-month": S,
1565
- "first-day-of-week": t.firstDayOfWeek,
1566
- "min-date": t.minDate,
1567
- "max-date": t.maxDate,
1568
- disabled: t.disabled,
1569
- "disabled-weekly": t.disabledWeekly,
1570
- "disabled-dates": t.disabledDates
1571
- }, null, 8, ["modelValue", "hoverred-day", "calendar-date", "locale", "has-time", "color", "offset-month", "first-day-of-week", "min-date", "max-date", "disabled", "disabled-weekly", "disabled-dates"]))),
1572
- 128
1573
- /* KEYED_FRAGMENT */
1574
- ))
1575
- ])
1576
- ],
1577
- 2
1578
- /* CLASS */
1579
- )
1580
- ]));
1581
- }
1582
- }), ha = /* @__PURE__ */ le(va, [["__scopeId", "data-v-04431530"]]), ya = {
1583
- key: 0,
1584
- class: "m-picker-header__date"
1585
- }, pa = /* @__PURE__ */ ie({
1586
- __name: "MazPickerHeader",
1587
- props: {
1588
- modelValue: {
1589
- type: [String, Object],
1590
- default: void 0
1591
- },
1592
- color: { type: String, required: !0 },
1593
- locale: { type: String, required: !0 },
1594
- noShortcuts: { type: Boolean, required: !0 },
1595
- double: { type: Boolean, required: !0 },
1596
- hasDate: { type: Boolean, required: !0 },
1597
- hasTime: { type: Boolean, required: !0 },
1598
- formatterOptions: {
1599
- type: Object,
1600
- required: !0
1601
- },
1602
- calendarDate: { type: String, required: !0 }
1603
- },
1604
- setup(t) {
1605
- const a = t, e = D(
1606
- () => {
1607
- var v;
1608
- return typeof a.modelValue == "string" ? a.modelValue : (v = a.modelValue) == null ? void 0 : v.start;
1609
- }
1610
- ), s = X("maz-slidevnext"), c = D(() => a.modelValue && typeof a.modelValue == "object" ? `${a.modelValue.start ? ee(a.modelValue.start, a.locale, {
1611
- year: "numeric",
1612
- timeZone: a.formatterOptions.timeZone
1613
- }) : "..."} - ${a.modelValue.end ? ee(a.modelValue.end, a.locale, {
1614
- year: "numeric",
1615
- timeZone: a.formatterOptions.timeZone
1616
- }) : "..."}` : typeof a.modelValue == "string" ? ee(a.modelValue, a.locale, {
1617
- year: "numeric",
1618
- timeZone: a.formatterOptions.timeZone
1619
- }) : "-"), O = D(() => a.hasDate ? [c.value] : void 0), w = D(() => {
1620
- if (a.modelValue && typeof a.modelValue == "object" && (a.modelValue.start || a.modelValue.end)) {
1621
- const v = a.noShortcuts && !a.double ? "short" : "long";
1622
- return `${a.modelValue.start ? De(
1623
- ee(a.modelValue.start, a.locale, {
1624
- weekday: v,
1625
- month: v,
1626
- day: "numeric",
1627
- timeZone: a.formatterOptions.timeZone
1628
- })
1629
- ) : "..."} - ${a.modelValue.end ? De(
1630
- ee(a.modelValue.end, a.locale, {
1631
- weekday: v,
1632
- month: v,
1633
- day: "numeric",
1634
- timeZone: a.formatterOptions.timeZone
1635
- })
1636
- ) : "..."}`;
1637
- } else if (typeof a.modelValue == "string")
1638
- return De(
1639
- ee(a.modelValue, a.locale, {
1640
- weekday: "long",
1641
- month: "long",
1642
- day: "numeric",
1643
- timeZone: a.formatterOptions.timeZone
1644
- })
1645
- );
1646
- return "-";
1647
- }), g = D(() => a.hasDate ? [w.value] : void 0), z = D(() => e.value ? ee(e.value, a.locale, {
1648
- timeStyle: "short",
1649
- timeZone: a.formatterOptions.timeZone,
1650
- hour12: a.formatterOptions.hour12
1651
- }) : void 0), M = D(() => a.hasTime ? [z.value] : void 0);
1652
- return be(
1653
- () => a.modelValue,
1654
- (v, I) => {
1655
- const P = typeof v == "object" ? v.start : v, C = typeof I == "object" ? I.start : I;
1656
- s.value = p(P).isAfter(C, "date") || p(P).isSame(C, "date") ? "maz-slidevnext" : "maz-slidevprev";
1657
- }
1658
- ), (v, I) => (k(), A(
1659
- "div",
1660
- {
1661
- class: Z(["m-picker-header", [`--${t.color}`]])
1662
- },
1663
- [
1664
- t.hasDate ? (k(), A("div", ya, [
1665
- G(Ve, {
1666
- name: s.value,
1667
- tag: "div",
1668
- class: "m-picker-header__year-transition"
1669
- }, {
1670
- default: _(() => [
1671
- (k(!0), A(
1672
- de,
1673
- null,
1674
- ce(O.value, (P, C) => (k(), A(
1675
- "span",
1676
- {
1677
- key: `${P}-${C}`,
1678
- class: "m-picker-header__year-text"
1679
- },
1680
- oe(P),
1681
- 1
1682
- /* TEXT */
1683
- ))),
1684
- 128
1685
- /* KEYED_FRAGMENT */
1686
- ))
1687
- ]),
1688
- _: 1
1689
- /* STABLE */
1690
- }, 8, ["name"]),
1691
- G(Ve, {
1692
- name: s.value,
1693
- tag: "div",
1694
- class: "m-picker-header__date-transition"
1695
- }, {
1696
- default: _(() => [
1697
- (k(!0), A(
1698
- de,
1699
- null,
1700
- ce(g.value, (P, C) => (k(), A(
1701
- "span",
1702
- {
1703
- key: `${P}-${C}`,
1704
- class: "m-picker-header__date-text"
1705
- },
1706
- oe(P),
1707
- 1
1708
- /* TEXT */
1709
- ))),
1710
- 128
1711
- /* KEYED_FRAGMENT */
1712
- ))
1713
- ]),
1714
- _: 1
1715
- /* STABLE */
1716
- }, 8, ["name"])
1717
- ])) : F("v-if", !0),
1718
- M.value ? (k(), A(
1719
- "div",
1720
- {
1721
- key: 1,
1722
- class: Z(["m-picker-header__time", { "--has-date": t.hasDate }])
1723
- },
1724
- [
1725
- G(Ve, {
1726
- name: s.value,
1727
- tag: "div",
1728
- class: "m-picker-header__time-transition"
1729
- }, {
1730
- default: _(() => [
1731
- (k(!0), A(
1732
- de,
1733
- null,
1734
- ce(M.value, (P, C) => (k(), A(
1735
- "span",
1736
- {
1737
- key: `${P}-${C}`,
1738
- class: "m-picker-header__time-text"
1739
- },
1740
- oe(P),
1741
- 1
1742
- /* TEXT */
1743
- ))),
1744
- 128
1745
- /* KEYED_FRAGMENT */
1746
- ))
1747
- ]),
1748
- _: 1
1749
- /* STABLE */
1750
- }, 8, ["name"])
1751
- ],
1752
- 2
1753
- /* CLASS */
1754
- )) : F("v-if", !0)
1755
- ],
1756
- 2
1757
- /* CLASS */
1758
- ));
1759
- }
1760
- }), ba = /* @__PURE__ */ le(pa, [["__scopeId", "data-v-5facbbf5"]]), Da = { class: "m-picker-time__column__items" }, ga = /* @__PURE__ */ ie({
1761
- __name: "MazPickerTime",
1762
- props: {
1763
- modelValue: {
1764
- type: [String, Object],
1765
- default: void 0
1766
- },
1767
- calendarDate: { type: String, required: !0 },
1768
- formatterOptions: {
1769
- type: Object,
1770
- required: !0
1771
- },
1772
- locale: { type: String, required: !0 },
1773
- color: { type: String, required: !0 },
1774
- isOpen: { type: Boolean, required: !0 },
1775
- hasDate: { type: Boolean, required: !0 },
1776
- minuteInterval: { type: Number, required: !0 },
1777
- disabledHours: { type: Array, default: void 0 },
1778
- format: { type: String, required: !0 },
1779
- isHour12: { type: Boolean, required: !0 },
1780
- minDate: { type: String, default: void 0 },
1781
- maxDate: { type: String, default: void 0 },
1782
- disabled: { type: Boolean, required: !0 }
1783
- },
1784
- emits: ["update:model-value"],
1785
- setup(t, { emit: a }) {
1786
- const e = t, s = a, c = D({
1787
- get: () => e.modelValue,
1788
- set: (h) => {
1789
- s("update:model-value", h);
1790
- }
1791
- }), O = D(() => Array.from({ length: e.isHour12 ? 12 : 24 }, (h, $) => $).map((h) => {
1792
- const $ = h + (e.isHour12 ? 1 : 0), V = N($), B = p(c.value).set("hour", V), j = S(V) || (e.minDate && c.value ? p(e.minDate).isAfter(B, "hour") : !1) || (e.maxDate && c.value ? p(e.maxDate).isBefore(B, "hour") : !1);
1793
- return {
1794
- label: `${$ < 10 ? "0" : ""}${$}`,
1795
- value: p(c.value).set("hour", V),
1796
- isDisabled: j
1797
- };
1798
- })), w = D(() => {
1799
- const h = Math.floor(60 / e.minuteInterval) - 0;
1800
- return Array.from({ length: h }, ($, V) => V * e.minuteInterval).map(($) => {
1801
- const V = p(c.value).set("minute", $), B = (e.minDate && c.value ? p(e.minDate).isAfter(V, "minute") : !1) || (e.maxDate && c.value ? p(e.maxDate).isBefore(V, "minute") : !1);
1802
- return {
1803
- label: `${$ < 10 ? "0" : ""}${$}`,
1804
- value: V,
1805
- isDisabled: B
1806
- };
1807
- });
1808
- }), g = D(() => typeof c.value == "string" ? P(p(c.value).get("hour")) : void 0), z = D(
1809
- () => typeof c.value == "string" ? Ge(
1810
- w.value.map(({ value: h }) => h.get("minute")),
1811
- p(c.value).get("minute")
1812
- ) : void 0
1813
- ), M = D(() => typeof g.value == "number" ? g.value >= 12 ? "pm" : "am" : void 0), v = D(
1814
- () => e.isHour12 ? [
1815
- { label: "AM", value: "am" },
1816
- { label: "PM", value: "pm" }
1817
- ] : []
1818
- ), I = D(() => {
1819
- const h = [
1820
- {
1821
- identifier: "hour",
1822
- values: O.value
1823
- },
1824
- {
1825
- identifier: "minute",
1826
- values: w.value
1827
- }
1828
- ];
1829
- return e.isHour12 && h.push({
1830
- identifier: "ampm",
1831
- values: v.value
1832
- }), h;
1833
- });
1834
- function P(h) {
1835
- if (!e.disabledHours)
1836
- return h;
1837
- const $ = Array.from({ length: 24 }, (B, j) => j).filter(
1838
- (B) => {
1839
- var j;
1840
- return !((j = e.disabledHours) != null && j.includes(B)) || !0;
1841
- }
1842
- ), V = Ge($, h);
1843
- return V !== h && W("hour", p(c.value).set("hour", V)), V;
1844
- }
1845
- const C = X(), b = X();
1846
- function N(h) {
1847
- if (e.isHour12) {
1848
- const V = M.value === "pm" ? h + 12 : h;
1849
- return V === 12 ? 0 : V === 24 ? 12 : V;
1850
- } else
1851
- return h;
1852
- }
1853
- be(
1854
- () => e.isOpen,
1855
- async (h) => {
1856
- var $;
1857
- if (h) {
1858
- if (await ge(), C.value) {
1859
- const V = C.value.querySelector(
1860
- ".m-picker-time__column .m-btn"
1861
- ), B = V == null ? void 0 : V.offsetHeight, H = (($ = C.value) == null ? void 0 : $.offsetHeight) / 2 - B / 2;
1862
- b.value = H / 16;
1863
- }
1864
- f(!1);
1865
- }
1866
- },
1867
- { immediate: !0 }
1868
- ), be(
1869
- () => e.modelValue,
1870
- async (h, $) => {
1871
- h !== $ && (await ge(), f(!0));
1872
- },
1873
- { immediate: !0 }
1874
- );
1875
- function f(h) {
1876
- T("hour", h), T("minute", h), e.isHour12 && T("ampm", h);
1877
- }
1878
- function S(h) {
1879
- return (e.disabledHours && e.disabledHours.includes(h)) ?? !1;
1880
- }
1881
- function L(h, $) {
1882
- return $ === "am" || $ === "pm" ? M.value === $ : h === "hour" ? g.value === $.get(h) : h === "minute" ? z.value === $.get(h) : !1;
1883
- }
1884
- async function T(h, $ = !0) {
1885
- if (C.value) {
1886
- const V = C.value.querySelector(`.m-picker-time__column__${h}`), B = C.value.querySelector(
1887
- `.m-picker-time__column__${h} .--is-selected`
1888
- );
1889
- b.value && V && B && C.value && (await ge(), Rt(V, B, b.value * 16, $));
1890
- }
1891
- }
1892
- async function W(h, $) {
1893
- const V = p(c.value);
1894
- if (h === "hour" && typeof $ == "object" && (c.value = V.set("hour", $.get("hour")).format()), h === "minute" && typeof $ == "object") {
1895
- const B = V.set("minute", $.get("minute"));
1896
- c.value = B.format();
1897
- }
1898
- if (h === "ampm" && (M.value !== $ || !g.value) && ($ === "am" && (c.value = V.set("hour", V.get("hour")).subtract(12, "hour").format()), $ === "pm")) {
1899
- const B = V.get("hour"), j = B + 12 > 12 && B + 12 < 24 ? B + 12 : B === 0 ? 12 : B;
1900
- c.value = V.set("hour", j).format();
1901
- }
1902
- await ge(), T(h);
1903
- }
1904
- return (h, $) => (k(), A(
1905
- "div",
1906
- {
1907
- ref_key: "MazPickerTime",
1908
- ref: C,
1909
- class: Z(["m-picker-time", { "--has-date": t.hasDate }])
1910
- },
1911
- [
1912
- (k(!0), A(
1913
- de,
1914
- null,
1915
- ce(I.value, ({ values: V, identifier: B }, j) => (k(), A(
1916
- "div",
1917
- {
1918
- key: j,
1919
- class: Z(["m-picker-time__column", [`m-picker-time__column__${B}`]])
1920
- },
1921
- [
1922
- te(
1923
- "div",
1924
- {
1925
- style: we({ height: `${b.value}rem` }),
1926
- class: "m-picker-time__column__divider"
1927
- },
1928
- null,
1929
- 4
1930
- /* STYLE */
1931
- ),
1932
- te("div", Da, [
1933
- (k(!0), A(
1934
- de,
1935
- null,
1936
- ce(V, ({ value: H, label: q, isDisabled: E }, l) => (k(), U(pe, {
1937
- key: l,
1938
- size: "xs",
1939
- color: L(B, H) ? t.color : "transparent",
1940
- class: Z({ "--is-selected": L(B, H) }),
1941
- disabled: E || t.disabled,
1942
- type: "button",
1943
- onClick: Ke((y) => W(B, H), ["stop"])
1944
- }, {
1945
- default: _(() => [
1946
- xe(
1947
- oe(q),
1948
- 1
1949
- /* TEXT */
1950
- )
1951
- ]),
1952
- _: 2
1953
- /* DYNAMIC */
1954
- }, 1032, ["color", "class", "disabled", "onClick"]))),
1955
- 128
1956
- /* KEYED_FRAGMENT */
1957
- ))
1958
- ]),
1959
- te(
1960
- "div",
1961
- {
1962
- style: we({ height: `${b.value}rem` }),
1963
- class: "m-picker-time__column__divider"
1964
- },
1965
- null,
1966
- 4
1967
- /* STYLE */
1968
- )
1969
- ],
1970
- 2
1971
- /* CLASS */
1972
- ))),
1973
- 128
1974
- /* KEYED_FRAGMENT */
1975
- ))
1976
- ],
1977
- 2
1978
- /* CLASS */
1979
- ));
1980
- }
1981
- }), ka = /* @__PURE__ */ le(ga, [["__scopeId", "data-v-7347ac9d"]]), wa = { class: "m-picker-container__wrapper" }, $a = /* @__PURE__ */ ie({
1982
- __name: "MazPickerContainer",
1983
- props: {
1984
- modelValue: {
1985
- type: [String, Object],
1986
- default: void 0
1987
- },
1988
- calendarDate: { type: String, required: !0 },
1989
- color: { type: String, required: !0 },
1990
- locale: { type: String, required: !0 },
1991
- noHeader: { type: Boolean, default: !1 },
1992
- firstDayOfWeek: { type: Number, required: !0 },
1993
- double: { type: Boolean, required: !0 },
1994
- hasDate: { type: Boolean, required: !0 },
1995
- minDate: { type: String, default: void 0 },
1996
- maxDate: { type: String, default: void 0 },
1997
- inline: { type: Boolean, required: !0 },
1998
- noShortcuts: { type: Boolean, required: !0 },
1999
- shortcuts: {
2000
- type: Array,
2001
- required: !0
2002
- },
2003
- shortcut: { type: String, default: void 0 },
2004
- hasTime: { type: Boolean, required: !0 },
2005
- isOpen: { type: Boolean, required: !0 },
2006
- format: { type: String, required: !0 },
2007
- isHour12: { type: Boolean, required: !0 },
2008
- formatterOptions: {
2009
- type: Object,
2010
- required: !0
2011
- },
2012
- minuteInterval: { type: Number, required: !0 },
2013
- disabled: { type: Boolean, required: !0 },
2014
- disabledWeekly: { type: Array, required: !0 },
2015
- disabledHours: { type: Array, required: !0 },
2016
- disabledDates: { type: Array, required: !0 }
2017
- },
2018
- emits: ["update:model-value", "update:calendar-date", "close"],
2019
- setup(t, { emit: a }) {
2020
- const e = t, s = a, c = D({
2021
- get: () => e.modelValue,
2022
- set: (w) => {
2023
- s("update:model-value", w);
2024
- }
2025
- }), O = D({
2026
- get: () => e.calendarDate,
2027
- set: (w) => s("update:calendar-date", w)
2028
- });
2029
- return (w, g) => (k(), A(
2030
- "div",
2031
- {
2032
- class: Z(["m-picker-container", {
2033
- "--has-double": t.double,
2034
- "--is-inline": t.inline,
2035
- "--has-date": t.hasDate
2036
- }])
2037
- },
2038
- [
2039
- t.noHeader ? F("v-if", !0) : (k(), U(ba, {
2040
- key: 0,
2041
- color: t.color,
2042
- "has-time": t.hasTime,
2043
- "model-value": t.modelValue,
2044
- locale: t.locale,
2045
- "calendar-date": O.value,
2046
- "has-date": t.hasDate,
2047
- "formatter-options": t.formatterOptions,
2048
- double: t.double,
2049
- "no-shortcuts": t.noShortcuts,
2050
- class: "m-picker-container__header"
2051
- }, null, 8, ["color", "has-time", "model-value", "locale", "calendar-date", "has-date", "formatter-options", "double", "no-shortcuts"])),
2052
- te("div", wa, [
2053
- t.hasDate ? (k(), U(ha, {
2054
- key: 0,
2055
- modelValue: c.value,
2056
- "onUpdate:modelValue": g[0] || (g[0] = (z) => c.value = z),
2057
- "calendar-date": O.value,
2058
- "onUpdate:calendarDate": g[1] || (g[1] = (z) => O.value = z),
2059
- color: t.color,
2060
- locale: t.locale,
2061
- "has-time": t.hasTime,
2062
- double: t.double,
2063
- "min-date": t.minDate,
2064
- "max-date": t.maxDate,
2065
- "first-day-of-week": t.firstDayOfWeek,
2066
- disabled: t.disabled,
2067
- "disabled-weekly": t.disabledWeekly,
2068
- "disabled-dates": t.disabledDates,
2069
- shortcuts: t.shortcuts,
2070
- shortcut: t.shortcut,
2071
- "no-shortcuts": t.noShortcuts,
2072
- class: "m-picker-container__calendar"
2073
- }, null, 8, ["modelValue", "calendar-date", "color", "locale", "has-time", "double", "min-date", "max-date", "first-day-of-week", "disabled", "disabled-weekly", "disabled-dates", "shortcuts", "shortcut", "no-shortcuts"])) : F("v-if", !0),
2074
- t.hasTime ? (k(), U(ka, {
2075
- key: 1,
2076
- modelValue: c.value,
2077
- "onUpdate:modelValue": g[2] || (g[2] = (z) => c.value = z),
2078
- "calendar-date": O.value,
2079
- "onUpdate:calendarDate": g[3] || (g[3] = (z) => O.value = z),
2080
- "is-open": t.isOpen,
2081
- color: t.color,
2082
- locale: t.locale,
2083
- "min-date": t.minDate,
2084
- "max-date": t.maxDate,
2085
- "has-date": t.hasDate,
2086
- format: t.format,
2087
- disabled: t.disabled,
2088
- "disabled-hours": t.disabledHours,
2089
- "minute-interval": t.minuteInterval,
2090
- "formatter-options": t.formatterOptions,
2091
- "is-hour12": t.isHour12,
2092
- class: "m-picker-container__time"
2093
- }, null, 8, ["modelValue", "calendar-date", "is-open", "color", "locale", "min-date", "max-date", "has-date", "format", "disabled", "disabled-hours", "minute-interval", "formatter-options", "is-hour12"])) : F("v-if", !0)
2094
- ])
2095
- ],
2096
- 2
2097
- /* CLASS */
2098
- ));
2099
- }
2100
- }), Ma = /* @__PURE__ */ le($a, [["__scopeId", "data-v-eaeb756b"]]), Sa = /* @__PURE__ */ ie({
2101
- inheritAttrs: !1,
2102
- __name: "MazPicker",
2103
- props: {
2104
- id: {},
2105
- style: { default: void 0 },
2106
- class: { default: void 0 },
2107
- modelValue: { default: void 0 },
2108
- format: { default: "YYYY-MM-DD" },
2109
- open: { type: Boolean, default: !1 },
2110
- label: { default: void 0 },
2111
- placeholder: { default: void 0 },
2112
- inputDateStyle: { default: () => ({ dateStyle: "full" }) },
2113
- inputDateTransformer: { type: Function, default: void 0 },
2114
- locale: { default: void 0 },
2115
- noHeader: { type: Boolean, default: !1 },
2116
- disabled: { type: Boolean, default: !1 },
2117
- firstDayOfWeek: { default: 0 },
2118
- autoClose: { type: Boolean, default: !1 },
2119
- customElementSelector: { default: void 0 },
2120
- double: { type: Boolean, default: !1 },
2121
- inline: { type: Boolean, default: !1 },
2122
- color: { default: "primary" },
2123
- pickerPosition: { default: void 0 },
2124
- time: { type: Boolean, default: !1 },
2125
- onlyTime: { type: Boolean, default: !1 },
2126
- minuteInterval: { default: 5 },
2127
- noUseBrowserLocale: { type: Boolean, default: !1 },
2128
- noFetchLocal: { type: Boolean, default: !1 },
2129
- noShortcuts: { type: Boolean, default: !1 },
2130
- shortcuts: { default: () => [
2131
- {
2132
- label: "Last 7 days",
2133
- identifier: "last7Days",
2134
- value: {
2135
- start: p().subtract(6, "day").format("YYYY-MM-DD"),
2136
- end: p().format("YYYY-MM-DD")
2137
- }
2138
- },
2139
- {
2140
- label: "Last 30 days",
2141
- identifier: "last30Days",
2142
- value: {
2143
- start: p().subtract(29, "day").format("YYYY-MM-DD"),
2144
- end: p().format("YYYY-MM-DD")
2145
- }
2146
- },
2147
- {
2148
- label: "This week",
2149
- identifier: "thisWeek",
2150
- value: {
2151
- start: p().startOf("week").format("YYYY-MM-DD"),
2152
- end: p().endOf("week").format("YYYY-MM-DD")
2153
- }
2154
- },
2155
- {
2156
- label: "Last week",
2157
- identifier: "lastWeek",
2158
- value: {
2159
- start: p().subtract(1, "week").startOf("week").format("YYYY-MM-DD"),
2160
- end: p().subtract(1, "week").endOf("week").format("YYYY-MM-DD")
2161
- }
2162
- },
2163
- {
2164
- label: "This month",
2165
- identifier: "thisMonth",
2166
- value: {
2167
- start: p().set("date", 1).format("YYYY-MM-DD"),
2168
- end: p().set("date", p().daysInMonth()).format("YYYY-MM-DD")
2169
- }
2170
- },
2171
- {
2172
- label: "This year",
2173
- identifier: "thisYear",
2174
- value: {
2175
- start: p().startOf("year").format("YYYY-MM-DD"),
2176
- end: p().endOf("year").format("YYYY-MM-DD")
2177
- }
2178
- },
2179
- {
2180
- label: "Last year",
2181
- identifier: "lastYear",
2182
- value: {
2183
- start: p().subtract(1, "year").startOf("year").format("YYYY-MM-DD"),
2184
- end: p().subtract(1, "year").endOf("year").format("YYYY-MM-DD")
2185
- }
2186
- }
2187
- ] },
2188
- shortcut: { default: void 0 },
2189
- minDate: { default: void 0 },
2190
- maxDate: { default: void 0 },
2191
- disabledWeekly: { default: () => [] },
2192
- disabledDates: { default: () => [] },
2193
- disabledHours: { default: () => [] },
2194
- block: { type: Boolean }
2195
- },
2196
- emits: ["update:model-value", "close"],
2197
- setup(t, { emit: a }) {
2198
- const e = t, s = a;
2199
- p.extend(gt), p.extend(Mt);
2200
- const c = _e({ componentName: "MazPicker", providedId: e.id }), O = X(e.locale), w = D(() => e.locale ?? O.value ?? "en-US"), g = D(() => `mazPickerContainer-${c.value}`), z = X(), M = D({
2201
- get: () => e.modelValue && typeof e.modelValue == "object" ? {
2202
- start: e.modelValue.start ? p(e.modelValue.start, e.format).format() : void 0,
2203
- end: e.modelValue.end ? p(e.modelValue.end, e.format).format() : void 0
2204
- } : e.modelValue ? p(e.modelValue, e.format).format() : void 0,
2205
- set: (r) => {
2206
- if (e.disabled)
2207
- return;
2208
- d(r);
2209
- const i = typeof r == "object";
2210
- e.autoClose && (!i || i && r.end) && H();
2211
- }
2212
- }), v = D(() => e.time || e.onlyTime), I = D(() => e.double && !e.onlyTime), P = D(() => !e.onlyTime), C = D(() => typeof M.value == "object");
2213
- ct(() => {
2214
- C.value && v.value && console.error("[maz-ui](MazPicker) You can't use time picker with range picker"), v.value && !(e.format.includes("h") || e.format.includes("H")) && console.error(
2215
- '[maz-ui](MazPicker) When you use the time picker, you must provided a format with time - Ex: "YYYY-MM-DD HH:mm"'
2216
- ), e.format.includes("h") && !(e.format.includes("a") || e.format.includes("A")) && console.error(
2217
- '[maz-ui](MazPicker) if you use the 12 format "h" or "hh", you must add "a" or "A" at the end of the format - Ex: "YYYY-MM-DD hh:mm a"'
2218
- );
2219
- });
2220
- function b(r) {
2221
- const i = (typeof r == "object" ? r.start : r) ?? p().format();
2222
- return e.minDate && p(i).isBefore(e.minDate) ? e.minDate : e.maxDate && p(i).isAfter(e.maxDate) ? e.minDate ?? e.maxDate : i;
2223
- }
2224
- const N = X(b(M.value)), f = D(
2225
- () => e.format.includes("a") || e.format.includes("A") || e.format.includes("h")
2226
- ), S = D(() => ({
2227
- ...e.inputDateStyle,
2228
- timeStyle: e.inputDateStyle.timeStyle ?? v.value ? "short" : void 0,
2229
- hour12: v.value ? e.inputDateStyle.hour12 ?? f.value : void 0
2230
- })), L = D(() => {
2231
- if (!M.value)
2232
- return;
2233
- let r;
2234
- return e.onlyTime ? r = M.value ? ee(p(M.value).format(), w.value, {
2235
- timeStyle: S.value.timeStyle,
2236
- hour12: S.value.hour12
2237
- }) : void 0 : typeof M.value == "object" ? r = Wt({
2238
- value: M.value,
2239
- locale: w.value,
2240
- options: S.value
2241
- }) : r = Ee({
2242
- value: p(M.value).format(),
2243
- locale: w.value,
2244
- options: S.value
2245
- }), e.inputDateTransformer && r ? e.inputDateTransformer({ formattedDate: r, value: e.modelValue, locale: w.value }) : r;
2246
- }), T = X(!1), W = X(!1), h = X({
2247
- vertical: "bottom",
2248
- horizontal: "left"
2249
- }), $ = D(() => (T.value || e.open || W.value) && !e.disabled || e.inline), V = X(!1);
2250
- Qe(async () => {
2251
- if (V.value = !0, e.customElementSelector && l(e.customElementSelector), !e.locale) {
2252
- const r = Gt();
2253
- if (!e.noUseBrowserLocale && r)
2254
- O.value = r;
2255
- else if (!e.noFetchLocal) {
2256
- const i = await Jt();
2257
- i && (O.value = i);
2258
- }
2259
- }
2260
- }), ft(() => {
2261
- e.customElementSelector && y(e.customElementSelector);
2262
- });
2263
- async function B() {
2264
- if (e.pickerPosition) {
2265
- const r = e.pickerPosition.includes("right") ? "right" : "left", i = e.pickerPosition.includes("top") ? "top" : "bottom";
2266
- return {
2267
- horizontal: r,
2268
- vertical: i
2269
- };
2270
- } else
2271
- return {
2272
- horizontal: "left",
2273
- vertical: await j(z.value)
2274
- };
2275
- }
2276
- async function j(r) {
2277
- if (typeof window > "u")
2278
- return "bottom";
2279
- const i = 30;
2280
- await ge();
2281
- const m = document.querySelector(`#${g.value}`), Y = r == null ? void 0 : r.getBoundingClientRect(), x = window.innerHeight, R = ((m == null ? void 0 : m.clientHeight) ?? 0) - i, Q = (Y && x - Y.bottom) ?? 0, ae = (Y && Y.top) ?? 0, ne = Q && Q >= R, fe = ae && ae >= R;
2282
- return !ne && (fe || ae >= Q) ? "top" : "bottom";
2283
- }
2284
- function H() {
2285
- T.value = !1, W.value = !1, s("close");
2286
- }
2287
- function q() {
2288
- e.customElementSelector || H();
2289
- }
2290
- function E() {
2291
- W.value = !W.value;
2292
- }
2293
- function l(r) {
2294
- const i = document.querySelector(r);
2295
- if (i)
2296
- i.addEventListener("click", E);
2297
- else
2298
- throw new Error(
2299
- `[maz-ui](MazPicker) impossible to find custom element with selector "${r}"`
2300
- );
2301
- }
2302
- function y(r) {
2303
- const i = document.querySelector(r);
2304
- i == null || i.removeEventListener("click", E);
2305
- }
2306
- function n(r) {
2307
- if (e.minDate || e.maxDate) {
2308
- if (typeof r == "string") {
2309
- const { newValue: i, newCurrentDate: m } = Ae({
2310
- value: r,
2311
- minDate: e.minDate,
2312
- maxDate: e.maxDate,
2313
- format: e.format
2314
- });
2315
- i && d(i), m && o(m);
2316
- } else if (typeof r == "object" && (r.start || r.end)) {
2317
- let i = r.start, m = r.end;
2318
- if (r.start) {
2319
- const { newValue: Y, newCurrentDate: x } = Ae({
2320
- value: r.start,
2321
- minDate: e.minDate,
2322
- maxDate: e.maxDate,
2323
- format: e.format
2324
- });
2325
- Y && (i = Y), x && o(x);
2326
- }
2327
- if (r.end) {
2328
- const { newValue: Y } = Ae({
2329
- value: r.end,
2330
- minDate: e.minDate,
2331
- maxDate: e.maxDate,
2332
- format: e.format
2333
- });
2334
- Y && (m = Y);
2335
- }
2336
- d({
2337
- start: i,
2338
- end: m
2339
- });
2340
- }
2341
- }
2342
- }
2343
- function o(r) {
2344
- r && !p(N.value).isSame(r, "month") && (N.value = r);
2345
- }
2346
- function d(r) {
2347
- if (typeof r == "object") {
2348
- const i = Zt(r, e.format);
2349
- s("update:model-value", i), i.start && o(i.start);
2350
- } else
2351
- s("update:model-value", Fe(r, e.format));
2352
- }
2353
- be(
2354
- () => [M.value, e.minDate, e.maxDate],
2355
- (r, i) => {
2356
- const m = r[0], Y = i == null ? void 0 : i[0];
2357
- typeof m == "object" && (m.start || m.end) ? (!Y || typeof Y == "object" && (Y.start !== m.start || Y.end !== m.end)) && (d(m), n(m)) : typeof m == "string" && m !== Y && (d(m), n(m));
2358
- },
2359
- { immediate: !0 }
2360
- );
2361
- function u(r) {
2362
- r.code === "Escape" && $.value && (r.preventDefault(), H());
2363
- }
2364
- return be(
2365
- () => $.value,
2366
- async (r) => {
2367
- r ? (h.value = await B(), !e.inline && V.value && document.addEventListener("keydown", u)) : !e.inline && V.value && document.removeEventListener("keydown", u);
2368
- },
2369
- { immediate: !0 }
2370
- ), be(
2371
- () => [M.value, e.disabledWeekly, e.disabledDates],
2372
- (r) => {
2373
- const i = r[0], m = r[1], Y = r[2];
2374
- typeof i == "object" && (i.start || i.end) ? ((i.start && Se({ value: i.start, disabledWeekly: m }) || i.start && ze({ value: i.start, disabledDates: Y }) || i.end && Se({ value: i.end, disabledWeekly: m }) || i.end && ze({ value: i.end, disabledDates: Y })) && (M.value = { start: void 0, end: void 0 }), (i.end && Se({ value: i.end, disabledWeekly: m }) || i.end && ze({ value: i.end, disabledDates: Y })) && (M.value = { start: i.start, end: void 0 })) : typeof i == "string" && (Se({ value: i, disabledWeekly: m }) || ze({ value: i, disabledDates: Y })) && (M.value = void 0);
2375
- },
2376
- { immediate: !0 }
2377
- ), (r, i) => je((k(), A(
2378
- "div",
2379
- {
2380
- ref_key: "MazPicker",
2381
- ref: z,
2382
- class: Z(["m-picker m-reset-css", [
2383
- `m-picker--${r.color}`,
2384
- `m-picker--${h.value.vertical}`,
2385
- `m-picker--${h.value.horizontal}`,
2386
- {
2387
- "--is-open": $.value,
2388
- "--is-disabled": r.disabled,
2389
- "--block": r.block
2390
- },
2391
- e.class
2392
- ]]),
2393
- role: "none",
2394
- style: we(r.style)
2395
- },
2396
- [
2397
- !r.customElementSelector && !r.inline ? (k(), U(Pt, Xe({
2398
- key: 0,
2399
- "model-value": L.value,
2400
- readonly: ""
2401
- }, r.$attrs, {
2402
- block: "",
2403
- autocomplete: "off",
2404
- class: "m-picker__input",
2405
- label: r.label,
2406
- disabled: r.disabled,
2407
- placeholder: r.placeholder,
2408
- color: r.color,
2409
- onClick: i[1] || (i[1] = (m) => T.value = !T.value)
2410
- }), {
2411
- "right-icon": _(() => [
2412
- te("button", {
2413
- type: "button",
2414
- tabindex: "-1",
2415
- class: "m-picker__button",
2416
- onClick: i[0] || (i[0] = (m) => T.value = !T.value)
2417
- }, [
2418
- G(J(Ot), { class: "m-picker__button__chevron maz-text-lg" })
2419
- ])
2420
- ]),
2421
- _: 1
2422
- /* STABLE */
2423
- }, 16, ["model-value", "label", "disabled", "placeholder", "color"])) : F("v-if", !0),
2424
- G(We, {
2425
- name: h.value.vertical === "top" ? "maz-slideinvert" : "maz-slide",
2426
- persisted: ""
2427
- }, {
2428
- default: _(() => [
2429
- je(G(Ma, {
2430
- id: g.value,
2431
- modelValue: M.value,
2432
- "onUpdate:modelValue": i[2] || (i[2] = (m) => M.value = m),
2433
- "calendar-date": N.value,
2434
- "onUpdate:calendarDate": i[3] || (i[3] = (m) => N.value = m),
2435
- "is-open": $.value,
2436
- color: r.color,
2437
- locale: w.value,
2438
- "has-date": P.value,
2439
- double: I.value,
2440
- "has-time": v.value,
2441
- "formatter-options": S.value,
2442
- "no-header": r.noHeader,
2443
- "min-date": r.minDate,
2444
- format: r.format,
2445
- "is-hour12": f.value,
2446
- "max-date": r.maxDate,
2447
- "disabled-weekly": r.disabledWeekly,
2448
- inline: r.inline,
2449
- "first-day-of-week": r.firstDayOfWeek,
2450
- shortcuts: r.shortcuts,
2451
- shortcut: r.shortcut,
2452
- disabled: r.disabled,
2453
- "disabled-hours": r.disabledHours,
2454
- "disabled-dates": r.disabledDates,
2455
- "minute-interval": r.minuteInterval,
2456
- "no-shortcuts": r.noShortcuts,
2457
- onClose: H
2458
- }, null, 8, ["id", "modelValue", "calendar-date", "is-open", "color", "locale", "has-date", "double", "has-time", "formatter-options", "no-header", "min-date", "format", "is-hour12", "max-date", "disabled-weekly", "inline", "first-day-of-week", "shortcuts", "shortcut", "disabled", "disabled-hours", "disabled-dates", "minute-interval", "no-shortcuts"]), [
2459
- [mt, $.value]
2460
- ])
2461
- ]),
2462
- _: 1
2463
- /* STABLE */
2464
- }, 8, ["name"])
2465
- ],
2466
- 6
2467
- /* CLASS, STYLE */
2468
- )), [
2469
- [J(zt), q]
2470
- ]);
2471
- }
2472
- }), Ya = /* @__PURE__ */ le(Sa, [["__scopeId", "data-v-6984a661"]]);
2473
- export {
2474
- Je as C,
2475
- pe as M,
2476
- le as _,
2477
- ee as a,
2478
- Ya as b,
2479
- De as c,
2480
- p as d,
2481
- he as i
2482
- };