maz-ui 3.47.2-beta.9 → 3.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAccordion.mjs +76 -77
- package/components/MazAnimatedCounter.mjs +7 -7
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +21 -13
- package/components/MazBackdrop.mjs +107 -82
- package/components/MazBadge.mjs +2 -2
- package/components/MazBottomSheet.d.ts +11 -24
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +7 -7
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.mjs +13 -13
- package/components/MazCheckbox.mjs +36 -37
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +18 -0
- package/components/MazCircularProgressBar.mjs +40 -38
- package/components/MazDialog.d.ts +20 -31
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +3 -3
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +7 -4
- package/components/MazDrawer.mjs +2 -194
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.mjs +8 -8
- package/components/MazFullscreenLoader.mjs +2 -40
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +9 -8
- package/components/MazInput.d.ts +2 -0
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.mjs +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +2 -2
- package/components/MazLink.mjs +6 -6
- package/components/MazLoadingBar.mjs +17 -17
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
- package/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +18 -19
- package/components/MazRadioButtons.mjs +2 -2
- package/components/MazReadingProgressBar.mjs +15 -15
- package/components/MazSelect.d.ts +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +31 -31
- package/components/MazSpinner.mjs +7 -7
- package/components/MazStepper.d.ts +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +19 -20
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +12 -12
- package/components/MazTableRow.mjs +6 -6
- package/components/MazTableTitle.mjs +11 -11
- package/components/MazTabs.d.ts +3 -3
- package/components/MazTabs.mjs +7 -7
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +4 -4
- package/components/MazTabsContentItem.mjs +10 -10
- package/components/MazTextarea.d.ts +26 -48
- package/components/MazTextarea.mjs +4 -5
- package/components/MazTransitionExpand.mjs +10 -10
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBackdrop.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCarousel.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazChecklist.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazDrawer.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazFullscreenLoader.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazLoadingBar.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazPullToRefresh.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazReadingProgressBar.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazSpinner.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
- package/components/chunks/{MazBadge-CupQjB8D.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
- package/components/chunks/MazBottomSheet-CMqzf-dT.mjs +224 -0
- package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
- package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
- package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
- package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
- package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
- package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
- package/components/chunks/{MazBtn-BVWOyFm-.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
- package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
- package/components/chunks/{MazBtn-DhSKmF01.mjs → MazBtn-DETtZdlj.mjs} +3 -3
- package/components/chunks/{MazBtn-BSgCMRt0.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
- package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
- package/components/chunks/{MazBtn-Br3xKJMD.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
- package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
- package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
- package/components/chunks/{MazCard-XBaeDZkg.mjs → MazCard-l54W3CUU.mjs} +3 -3
- package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
- package/components/chunks/{MazCheckbox-DxfneUvu.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
- package/components/chunks/{MazCheckbox-B-Sw22La.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
- package/components/chunks/{MazCheckbox-DjY15PA3.mjs → MazCheckbox-D-7-TdgO.mjs} +4 -4
- package/components/chunks/{MazChecklist-DaozZlNb.mjs → MazChecklist-DSfD55m5.mjs} +125 -126
- package/components/chunks/MazDialog-BjQ3ivmv.mjs +297 -0
- package/components/chunks/MazDialogPromise-Bg3ZOsEI.mjs +551 -0
- package/components/chunks/MazDrawer-BqNLfW4e.mjs +226 -0
- package/components/chunks/{MazDropdown-CKuIGitT.mjs → MazDropdown-DNXKdC_3.mjs} +5 -5
- package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
- package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
- package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
- package/components/chunks/{MazGallery-BooLoRWi.mjs → MazGallery-CzlKPQFX.mjs} +67 -67
- package/components/chunks/{MazGallery-DUOQamrE.mjs → MazGallery-DdZ3bFvX.mjs} +68 -68
- package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
- package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
- package/components/chunks/{MazIcon-DFW4cVVf.mjs → MazIcon-DR6-win-.mjs} +12 -11
- package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
- package/components/chunks/{MazInput-HLPtw5QK.mjs → MazInput-BjnuoFvn.mjs} +36 -36
- package/components/chunks/{MazInput-BWAWlxDa.mjs → MazInput-DB4HtpCQ.mjs} +13 -13
- package/components/chunks/{MazInput-DIN1VAoX.mjs → MazInput-yBii2AFS.mjs} +27 -28
- package/components/chunks/{MazInputNumber-7Ku2ZcG-.mjs → MazInputNumber-DqnLi9-C.mjs} +81 -82
- package/components/chunks/{MazInputPrice-C5yErBFP.mjs → MazInputPrice-Ca8mL53M.mjs} +44 -45
- package/components/chunks/{MazInputTags-DvbQ2mK8.mjs → MazInputTags-Bto9dVQq.mjs} +78 -79
- package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
- package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
- package/components/chunks/{MazLink-mrqHeBS0.mjs → MazLink-DlUG7E5K.mjs} +3 -3
- package/components/chunks/{MazLoadingBar-CNm3Yt6D.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
- package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
- package/components/chunks/MazPhoneNumberInput-C3j3JyDI.mjs +1813 -0
- package/components/chunks/{MazPicker-CzYUZcLy.mjs → MazPicker-BUXJof_-.mjs} +19 -20
- package/components/chunks/{MazPickerMonthSwitcher-Ds5agR3Z.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-BP6CY9-c.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-PM8qZMzR.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
- package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
- package/components/chunks/{MazSelect-DOexatNj.mjs → MazSelect-BwahUlbE.mjs} +322 -326
- package/components/chunks/MazSelect-CBaOs6va.mjs +550 -0
- package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
- package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
- package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
- package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
- package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
- package/components/chunks/{MazSpinner-9M_EGMpy.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
- package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
- package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
- package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
- package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
- package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
- package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
- package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
- package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
- package/components/chunks/{MazSpinner-BJpv1muf.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
- package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
- package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
- package/components/chunks/{MazSpinner-Bsy1nA3c.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
- package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
- package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
- package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
- package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
- package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
- package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
- package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
- package/components/chunks/{MazTable-Ci8nhgOP.mjs → MazTable-Soe-MrTW.mjs} +79 -74
- package/components/chunks/{MazTableCell-BIganK6X.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
- package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
- package/components/chunks/{MazTableTitle-OEgTPQB3.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
- package/components/chunks/{MazTabsBar-CT35SCIK.mjs → MazTabsBar-8wchBiYF.mjs} +21 -21
- package/components/chunks/{MazTransitionExpand-Bcwdl9g2.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
- package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
- package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/MazSpinner.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-D0bVfaLm.cjs +1 -0
- package/{components/chunks/MazBtn-BfIn7glE.mjs → modules/chunks/MazBtn-Z86MClP9.mjs} +4 -4
- package/modules/chunks/{MazIcon-D-Gna0vz.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
- package/modules/chunks/{MazIcon-CeT6HK_q.mjs → MazIcon-XtyPgbu6.mjs} +12 -11
- package/{components/chunks/MazSpinner-BlbTztM3.mjs → modules/chunks/MazSpinner-BfUXTY7m.mjs} +7 -7
- package/modules/chunks/MazSpinner-C5Fi9q_G.cjs +1 -0
- package/modules/chunks/index-Bq5KVBKA.cjs +124 -0
- package/modules/chunks/{index-Kry9j5uD.mjs → index-YwIF5a3Q.mjs} +1187 -951
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +47 -46
- package/nuxt/index.json +1 -1
- package/package.json +4 -3
- package/tailwindcss/tailwind.css +0 -6
- package/tailwindcss/utils/colors.ts +9 -5
- package/tailwindcss/variables/utilities.ts +3 -0
- package/types/components/MazBackdrop.vue.d.ts +21 -13
- package/types/components/MazBottomSheet.vue.d.ts +11 -24
- package/types/components/MazCircularProgressBar.vue.d.ts +18 -0
- package/types/components/MazDialog.vue.d.ts +20 -31
- package/types/components/MazDialogPromise.vue.d.ts +3 -3
- package/types/components/MazDrawer.vue.d.ts +7 -4
- package/types/components/MazInput.vue.d.ts +2 -0
- package/types/components/MazLink.vue.d.ts +2 -2
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
- package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/types/components/MazSelect.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +1 -1
- package/types/components/MazTabs.vue.d.ts +3 -3
- package/types/components/MazTextarea.vue.d.ts +26 -48
- package/types/modules/composables/useFormValidator/types.d.ts +2 -2
- package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
- package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
- package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
- package/types/modules/directives/closable.d.ts +1 -1
- package/types/modules/directives/tooltip/index.d.ts +21 -0
- package/types/tailwindcss/tailwind.config.d.ts +2 -2
- package/types/tailwindcss/utils/colors.d.ts +1 -1
- package/types/tailwindcss/variables/utilities.d.ts +3 -0
- package/components/MazPhoneNumberInput.d.ts +0 -240
- package/components/chunks/MazBottomSheet-D9EPpEV8.mjs +0 -208
- package/components/chunks/MazBtn-CB6xVwox.mjs +0 -103
- package/components/chunks/MazBtn-CIAdgMGr.mjs +0 -111
- package/components/chunks/MazBtn-CQq-U8qQ.mjs +0 -103
- package/components/chunks/MazBtn-Chk7DWOF.mjs +0 -103
- package/components/chunks/MazBtn-Ck84sP9a.mjs +0 -103
- package/components/chunks/MazBtn-DI80W9rl.mjs +0 -103
- package/components/chunks/MazBtn-DzwuLea3.mjs +0 -103
- package/components/chunks/MazBtn-tOUtVpek.mjs +0 -103
- package/components/chunks/MazDialog-XiX9LEiz.mjs +0 -237
- package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +0 -488
- package/components/chunks/MazIcon-BX2Gbz8R.mjs +0 -4
- package/components/chunks/MazPhoneNumberInput-B5Up8CqL.mjs +0 -1806
- package/components/chunks/MazSelect-DaDRzcT_.mjs +0 -552
- package/components/chunks/MazSpinner-C30YfScc.mjs +0 -34
- package/components/chunks/MazSpinner-C5mnD76l.mjs +0 -34
- package/components/chunks/MazSpinner-CDx6lo7l.mjs +0 -34
- package/components/chunks/MazSpinner-C_GueolV.mjs +0 -34
- package/components/chunks/MazSpinner-Cc-KlPEG.mjs +0 -34
- package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +0 -34
- package/components/chunks/MazSpinner-CkKIUYXO.mjs +0 -34
- package/components/chunks/MazSpinner-CxyUHAvm.mjs +0 -34
- package/components/chunks/MazSpinner-DROgQW2M.mjs +0 -34
- package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
- package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
- package/components/chunks/MazSpinner-Dzs2W0kq.mjs +0 -34
- package/components/chunks/MazSpinner-NCtEpFMm.mjs +0 -34
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
- package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
- package/components/chunks/MazSpinner-ZPQe8ON_.mjs +0 -34
- package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
- package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
- package/components/chunks/MazTableRow-CIO-x6Lb.mjs +0 -30
- package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
- package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
- package/modules/chunks/MazBtn-0CRjeBvn.mjs +0 -103
- package/modules/chunks/MazBtn-DRqCRJD-.cjs +0 -1
- package/modules/chunks/MazSpinner-DV--lwdI.mjs +0 -34
- package/modules/chunks/MazSpinner-DersvZQw.cjs +0 -1
- package/modules/chunks/index-DvromXrX.cjs +0 -124
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -240
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { defineComponent as L, ref as F, onMounted as I, watch as K, nextTick as M, openBlock as p, createBlock as T, Teleport as U, createVNode as $, Transition as X, withCtx as E, createElementBlock as N, mergeProps as G, createElementVNode as i, normalizeClass as h, withModifiers as H, renderSlot as B, createCommentVNode as P, defineAsyncComponent as D, computed as g, useSlots as J, normalizeStyle as Q, createTextVNode as R, toDisplayString as W, unref as V } from "vue";
|
|
2
|
+
import '../assets/MazDrawer.css';const Y = {
|
|
3
|
+
role: "dialog",
|
|
4
|
+
class: "m-backdrop-container",
|
|
5
|
+
"aria-modal": "true"
|
|
6
|
+
}, Z = { class: "m-backdrop-wrapper" }, j = "--backdrop-present", x = /* @__PURE__ */ L({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "MazBackdrop",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: { type: Boolean, default: !1 },
|
|
11
|
+
teleportSelector: { default: "body" },
|
|
12
|
+
beforeClose: { type: Function, default: void 0 },
|
|
13
|
+
persistent: { type: Boolean, default: !1 },
|
|
14
|
+
noCloseOnEscKey: { type: Boolean, default: !1 },
|
|
15
|
+
transitionName: { default: "backdrop-anim" },
|
|
16
|
+
backdropClass: { default: () => {
|
|
17
|
+
} },
|
|
18
|
+
backdropContentClass: { default: () => {
|
|
19
|
+
} },
|
|
20
|
+
contentPadding: { type: Boolean, default: !1 },
|
|
21
|
+
justify: { default: "none" },
|
|
22
|
+
align: { default: "none" },
|
|
23
|
+
variant: {}
|
|
24
|
+
},
|
|
25
|
+
emits: ["open", "close", "update:model-value", "before-close"],
|
|
26
|
+
setup(n, { expose: r, emit: d }) {
|
|
27
|
+
const l = d;
|
|
28
|
+
function f() {
|
|
29
|
+
document.documentElement.classList.add(j);
|
|
30
|
+
}
|
|
31
|
+
function v() {
|
|
32
|
+
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(j);
|
|
33
|
+
}
|
|
34
|
+
const c = F(n.modelValue);
|
|
35
|
+
function u() {
|
|
36
|
+
t(!1);
|
|
37
|
+
}
|
|
38
|
+
async function t(e) {
|
|
39
|
+
var s;
|
|
40
|
+
e || (l("before-close"), await ((s = n.beforeClose) == null ? void 0 : s.call(n))), c.value = e;
|
|
41
|
+
}
|
|
42
|
+
function o() {
|
|
43
|
+
l("open");
|
|
44
|
+
}
|
|
45
|
+
function a() {
|
|
46
|
+
l("update:model-value", !1), l("close"), b();
|
|
47
|
+
}
|
|
48
|
+
function y() {
|
|
49
|
+
n.persistent || u();
|
|
50
|
+
}
|
|
51
|
+
function k(e) {
|
|
52
|
+
!n.noCloseOnEscKey && e.key === "Escape" && !n.persistent && u();
|
|
53
|
+
}
|
|
54
|
+
function z() {
|
|
55
|
+
f(), document.addEventListener("keyup", k, !1);
|
|
56
|
+
}
|
|
57
|
+
function b() {
|
|
58
|
+
document.removeEventListener("keyup", k), v();
|
|
59
|
+
}
|
|
60
|
+
I(() => {
|
|
61
|
+
n.modelValue ? z() : b();
|
|
62
|
+
});
|
|
63
|
+
let m = null;
|
|
64
|
+
function q(e) {
|
|
65
|
+
const s = document.querySelector(e), C = s && Array.from(s.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select')), w = C == null ? void 0 : C.filter((S) => {
|
|
66
|
+
const A = window.getComputedStyle(S);
|
|
67
|
+
return A.display !== "none" && A.visibility !== "hidden" && !S.disabled;
|
|
68
|
+
});
|
|
69
|
+
return w && w.length > 0 ? w[0] : null;
|
|
70
|
+
}
|
|
71
|
+
return K(
|
|
72
|
+
() => n.modelValue,
|
|
73
|
+
async (e) => {
|
|
74
|
+
if (c.value = e, e) {
|
|
75
|
+
z(), m = document.activeElement, await M();
|
|
76
|
+
const s = q(".m-backdrop-content");
|
|
77
|
+
s == null || s.focus();
|
|
78
|
+
} else
|
|
79
|
+
b(), await M(), m == null || m.focus();
|
|
80
|
+
}
|
|
81
|
+
), r({
|
|
82
|
+
onBackdropAnimationEnter: o,
|
|
83
|
+
onBackdropAnimationLeave: a,
|
|
84
|
+
onBackdropClicked: y,
|
|
85
|
+
close: u,
|
|
86
|
+
present: c,
|
|
87
|
+
toggleModal: t,
|
|
88
|
+
onKeyPress: k
|
|
89
|
+
}), (e, s) => (p(), T(U, { to: e.teleportSelector }, [
|
|
90
|
+
$(X, {
|
|
91
|
+
appear: "",
|
|
92
|
+
name: e.transitionName,
|
|
93
|
+
onAfterEnter: o,
|
|
94
|
+
onAfterLeave: a
|
|
95
|
+
}, {
|
|
96
|
+
default: E(() => [
|
|
97
|
+
c.value ? (p(), N(
|
|
98
|
+
"div",
|
|
99
|
+
G({
|
|
100
|
+
key: 0,
|
|
101
|
+
class: "m-backdrop --present m-reset-css"
|
|
102
|
+
}, e.$attrs, {
|
|
103
|
+
class: [e.backdropClass, e.variant && `--variant-${e.variant}`, { "--persistent": e.persistent }]
|
|
104
|
+
}),
|
|
105
|
+
[
|
|
106
|
+
i("div", Y, [
|
|
107
|
+
i("div", Z, [
|
|
108
|
+
i(
|
|
109
|
+
"div",
|
|
110
|
+
{
|
|
111
|
+
class: h(["m-backdrop-content", [e.backdropContentClass, `--justify-${e.justify}`, `--align-${e.align}`, { "--padding": e.contentPadding }]]),
|
|
112
|
+
role: "button",
|
|
113
|
+
tabindex: "-1",
|
|
114
|
+
onClick: H(y, ["self"])
|
|
115
|
+
},
|
|
116
|
+
[
|
|
117
|
+
B(e.$slots, "default", {
|
|
118
|
+
close: u,
|
|
119
|
+
onBackdropClicked: y
|
|
120
|
+
}, void 0, !0)
|
|
121
|
+
],
|
|
122
|
+
2
|
|
123
|
+
/* CLASS */
|
|
124
|
+
)
|
|
125
|
+
])
|
|
126
|
+
])
|
|
127
|
+
],
|
|
128
|
+
16
|
|
129
|
+
/* FULL_PROPS */
|
|
130
|
+
)) : P("v-if", !0)
|
|
131
|
+
]),
|
|
132
|
+
_: 3
|
|
133
|
+
/* FORWARDED */
|
|
134
|
+
}, 8, ["name"])
|
|
135
|
+
], 8, ["to"]));
|
|
136
|
+
}
|
|
137
|
+
}), O = (n, r) => {
|
|
138
|
+
const d = n.__vccOpts || n;
|
|
139
|
+
for (const [l, f] of r)
|
|
140
|
+
d[l] = f;
|
|
141
|
+
return d;
|
|
142
|
+
}, _ = /* @__PURE__ */ O(x, [["__scopeId", "data-v-90448c91"]]), ee = { class: "m-drawer-header__title" }, te = {
|
|
143
|
+
key: 0,
|
|
144
|
+
class: "m-drawer-header__close"
|
|
145
|
+
}, ne = { class: "m-drawer-body" }, oe = /* @__PURE__ */ L({
|
|
146
|
+
__name: "MazDrawer",
|
|
147
|
+
props: {
|
|
148
|
+
title: { default: void 0 },
|
|
149
|
+
variant: { default: "right" },
|
|
150
|
+
size: { default: "30rem" },
|
|
151
|
+
backdropClass: { default: void 0 },
|
|
152
|
+
noClose: { type: Boolean, default: !1 }
|
|
153
|
+
},
|
|
154
|
+
emits: ["before-close", "open", "close", "update:model-value"],
|
|
155
|
+
setup(n) {
|
|
156
|
+
const r = n, d = D(() => import("./MazBtn-BcrrOaO_.mjs")), l = D(() => import("./x-mark-CnZwVvA7.mjs")), f = g(() => r.variant === "left" ? "start" : r.variant === "right" ? "end" : "none"), v = g(() => r.variant === "top" ? "start" : r.variant === "bottom" ? "end" : "none"), c = J(), u = g(() => !!(r.title || c.title));
|
|
157
|
+
return (t, o) => (p(), T(_, {
|
|
158
|
+
"backdrop-class": ["m-drawer", t.backdropClass],
|
|
159
|
+
justify: f.value,
|
|
160
|
+
align: v.value,
|
|
161
|
+
variant: "drawer",
|
|
162
|
+
"transition-name": `drawer-anim-${t.variant}`,
|
|
163
|
+
onClose: o[0] || (o[0] = (a) => t.$emit("close")),
|
|
164
|
+
onOpen: o[1] || (o[1] = (a) => t.$emit("open")),
|
|
165
|
+
onBeforeClose: o[2] || (o[2] = (a) => t.$emit("before-close")),
|
|
166
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => t.$emit("update:model-value", a))
|
|
167
|
+
}, {
|
|
168
|
+
default: E(({ close: a }) => [
|
|
169
|
+
i(
|
|
170
|
+
"div",
|
|
171
|
+
{
|
|
172
|
+
class: h(["m-drawer-content-wrap", [`--${t.variant}`]]),
|
|
173
|
+
style: Q({
|
|
174
|
+
"--maz-drawer-size": t.size
|
|
175
|
+
})
|
|
176
|
+
},
|
|
177
|
+
[
|
|
178
|
+
i(
|
|
179
|
+
"header",
|
|
180
|
+
{
|
|
181
|
+
class: h(["m-drawer-header", [u.value ? "--justify-between" : "--justify-end"]])
|
|
182
|
+
},
|
|
183
|
+
[
|
|
184
|
+
i("h4", ee, [
|
|
185
|
+
B(t.$slots, "title", { close: a }, () => [
|
|
186
|
+
R(
|
|
187
|
+
W(t.title),
|
|
188
|
+
1
|
|
189
|
+
/* TEXT */
|
|
190
|
+
)
|
|
191
|
+
], !0)
|
|
192
|
+
]),
|
|
193
|
+
t.noClose ? P("v-if", !0) : (p(), N("div", te, [
|
|
194
|
+
$(V(d), {
|
|
195
|
+
size: "sm",
|
|
196
|
+
color: "transparent",
|
|
197
|
+
onClick: a
|
|
198
|
+
}, {
|
|
199
|
+
default: E(() => [
|
|
200
|
+
$(V(l), { class: "icon maz-text-lg" })
|
|
201
|
+
]),
|
|
202
|
+
_: 2
|
|
203
|
+
/* DYNAMIC */
|
|
204
|
+
}, 1032, ["onClick"])
|
|
205
|
+
]))
|
|
206
|
+
],
|
|
207
|
+
2
|
|
208
|
+
/* CLASS */
|
|
209
|
+
),
|
|
210
|
+
i("div", ne, [
|
|
211
|
+
B(t.$slots, "default", { close: a }, void 0, !0)
|
|
212
|
+
])
|
|
213
|
+
],
|
|
214
|
+
6
|
|
215
|
+
/* CLASS, STYLE */
|
|
216
|
+
)
|
|
217
|
+
]),
|
|
218
|
+
_: 3
|
|
219
|
+
/* FORWARDED */
|
|
220
|
+
}, 8, ["backdrop-class", "justify", "align", "transition-name"]));
|
|
221
|
+
}
|
|
222
|
+
}), re = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-f0b7ef9f"]]);
|
|
223
|
+
export {
|
|
224
|
+
re as M,
|
|
225
|
+
O as _
|
|
226
|
+
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed as M, useId as re, nextTick as Y, inject as le, defineComponent as Z, ref as A, onMounted as se, watchEffect as ie, openBlock as w, createElementBlock as E, mergeProps as I, createCommentVNode as R, defineAsyncComponent as F, watch as K, withDirectives as Q, unref as m, normalizeClass as S, normalizeStyle as X, createElementVNode as J, withModifiers as H, renderSlot as g, createTextVNode as V, toDisplayString as q, createVNode as W, createSlots as ae, withCtx as $, createBlock as D, resolveDynamicComponent as ue, Transition as de, Fragment as ce, renderList as fe, vShow as pe } from "vue";
|
|
2
2
|
import '../assets/MazDropdown.css';function me({
|
|
3
3
|
componentName: l,
|
|
4
4
|
providedId: s
|
|
5
5
|
}) {
|
|
6
|
-
|
|
7
|
-
return M(() => s ?? `${l}-${n}`);
|
|
6
|
+
return M(() => s ?? `${l}-${re().replace(/:/g, "")}`);
|
|
8
7
|
}
|
|
9
8
|
const O = "__maz-click-outside__";
|
|
10
9
|
function _() {
|
|
@@ -148,6 +147,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
|
|
|
148
147
|
key: 0,
|
|
149
148
|
ref_key: "svgElem",
|
|
150
149
|
ref: h,
|
|
150
|
+
class: "m-icon m-reset-css",
|
|
151
151
|
width: "1em",
|
|
152
152
|
height: "1em"
|
|
153
153
|
}, {
|
|
@@ -186,7 +186,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
|
|
|
186
186
|
const n = l, f = s, p = me({
|
|
187
187
|
componentName: "MazDropdown",
|
|
188
188
|
providedId: n.id
|
|
189
|
-
}), v = F(() => import("./MazBtn-
|
|
189
|
+
}), v = F(() => import("./MazBtn-DETtZdlj.mjs")), h = F(() => import("./MazLink-DlUG7E5K.mjs")), T = F(() => import("./chevron-down-BkvtON3b.mjs")), u = A(n.open), d = A(), C = M(() => n.size === "xl" ? "maz-text-lg" : n.size === "lg" || n.size === "md" || n.size === "sm" ? "maz-text-base" : n.size === "xs" || n.size === "mini" ? "maz-text-sm" : "maz-text-lg"), y = we((e) => {
|
|
190
190
|
r(e);
|
|
191
191
|
}, 200);
|
|
192
192
|
function L() {
|
|
@@ -250,7 +250,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
|
|
|
250
250
|
(e) => r(e)
|
|
251
251
|
), (e, c) => Q((w(), E("div", {
|
|
252
252
|
id: m(p),
|
|
253
|
-
class: S(["m-dropdown", [n.class, { "--block": e.block }]]),
|
|
253
|
+
class: S(["m-dropdown m-reset-css", [n.class, { "--block": e.block }]]),
|
|
254
254
|
style: X(e.style)
|
|
255
255
|
}, [
|
|
256
256
|
J("div", {
|
|
@@ -2,7 +2,7 @@ import { defineAsyncComponent as H, defineComponent as Q, ref as z, computed as
|
|
|
2
2
|
import '../assets/MazDropzone.css';function G(n) {
|
|
3
3
|
return n.default ?? n;
|
|
4
4
|
}
|
|
5
|
-
const K = H(() => import("./MazSpinner-
|
|
5
|
+
const K = H(() => import("./MazSpinner-B_THFs0t.mjs")), P = `<div class="dz-preview dz-file-preview maz-flex-1">
|
|
6
6
|
<div class="dz-image">
|
|
7
7
|
<div data-dz-thumbnail-bg></div>
|
|
8
8
|
</div>
|
|
@@ -159,7 +159,7 @@ function te(n, t, d, p, e, g) {
|
|
|
159
159
|
ref: "ButtonElement",
|
|
160
160
|
type: "button",
|
|
161
161
|
name: "maz-dropzone",
|
|
162
|
-
class: "maz-dropzone",
|
|
162
|
+
class: "maz-dropzone m-reset-css",
|
|
163
163
|
style: W([n.dropzoneStyle])
|
|
164
164
|
},
|
|
165
165
|
[
|
package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as l, mergeModels as m, useModel as u, ref as
|
|
2
|
-
import { _ as M } from "./MazStepper-
|
|
1
|
+
import { defineComponent as l, mergeModels as m, useModel as u, ref as r, onMounted as f, onUnmounted as p, openBlock as v, createElementBlock as c, normalizeClass as _, normalizeStyle as x, createElementVNode as E, mergeProps as h, renderSlot as g } from "vue";
|
|
2
|
+
import { _ as M } from "./MazStepper-DtAqtJjn.mjs";
|
|
3
3
|
import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__PURE__ */ l({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "MazExpandAnimation",
|
|
@@ -12,23 +12,23 @@ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__P
|
|
|
12
12
|
}),
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
14
|
setup(d) {
|
|
15
|
-
const a = u(d, "modelValue"), i =
|
|
15
|
+
const a = u(d, "modelValue"), i = r(!a.value), t = r();
|
|
16
16
|
function o() {
|
|
17
17
|
a.value || (i.value = !0);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function s() {
|
|
20
20
|
a.value && (i.value = !1);
|
|
21
21
|
}
|
|
22
22
|
return f(() => {
|
|
23
23
|
var e, n;
|
|
24
|
-
(e = t.value) == null || e.addEventListener("transitionstart", o, !1), (n = t.value) == null || n.addEventListener("transitionend",
|
|
24
|
+
(e = t.value) == null || e.addEventListener("transitionstart", o, !1), (n = t.value) == null || n.addEventListener("transitionend", s, !1);
|
|
25
25
|
}), p(() => {
|
|
26
26
|
var e, n;
|
|
27
|
-
(e = t.value) == null || e.removeEventListener("transitionstart", o, !1), (n = t.value) == null || n.removeEventListener("transitionend",
|
|
27
|
+
(e = t.value) == null || e.removeEventListener("transitionstart", o, !1), (n = t.value) == null || n.removeEventListener("transitionend", s, !1);
|
|
28
28
|
}), (e, n) => (v(), c("div", {
|
|
29
29
|
ref_key: "expandAnimationRef",
|
|
30
30
|
ref: t,
|
|
31
|
-
class: _(["m-expand-animation", { "m-expand-animation--expanded": a.value }]),
|
|
31
|
+
class: _(["m-expand-animation m-reset-css", { "m-expand-animation--expanded": a.value }]),
|
|
32
32
|
"aria-hidden": !a.value,
|
|
33
33
|
role: "region",
|
|
34
34
|
style: x([{ "--expand-animation-duration": e.duration, "--expand-animation-timing-function": e.timingFunction }])
|
|
@@ -48,7 +48,7 @@ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__P
|
|
|
48
48
|
)
|
|
49
49
|
], 14, A));
|
|
50
50
|
}
|
|
51
|
-
}), V = /* @__PURE__ */ M(y, [["__scopeId", "data-v-
|
|
51
|
+
}), V = /* @__PURE__ */ M(y, [["__scopeId", "data-v-058a2912"]]);
|
|
52
52
|
export {
|
|
53
53
|
V as default
|
|
54
54
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent as l, defineAsyncComponent as c, onMounted as a, onUnmounted as d, openBlock as s, createBlock as m, Teleport as u, createElementVNode as p, mergeProps as i, createVNode as f, unref as _, createElementBlock as z, renderSlot as v, createCommentVNode as k } from "vue";
|
|
2
|
+
import '../assets/MazFullscreenLoader.css';const y = { key: 0 }, C = /* @__PURE__ */ l({
|
|
3
|
+
__name: "MazFullscreenLoader",
|
|
4
|
+
props: {
|
|
5
|
+
color: { default: "primary" },
|
|
6
|
+
size: { default: "3em" },
|
|
7
|
+
teleportSelector: { default: "body" }
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const r = c(() => import("./MazSpinner-C7_Q1K-e.mjs"));
|
|
11
|
+
function o() {
|
|
12
|
+
document.documentElement.classList.add("--maz-fullscreen-loader-present");
|
|
13
|
+
}
|
|
14
|
+
function n() {
|
|
15
|
+
document.documentElement.classList.remove("--maz-fullscreen-loader-present");
|
|
16
|
+
}
|
|
17
|
+
return a(() => {
|
|
18
|
+
o();
|
|
19
|
+
}), d(() => {
|
|
20
|
+
n();
|
|
21
|
+
}), (e, E) => (s(), m(u, { to: e.teleportSelector }, [
|
|
22
|
+
p(
|
|
23
|
+
"div",
|
|
24
|
+
i({ class: "m-fullscreen-loader m-reset-css" }, e.$attrs),
|
|
25
|
+
[
|
|
26
|
+
f(_(r), {
|
|
27
|
+
color: e.color,
|
|
28
|
+
size: e.size
|
|
29
|
+
}, null, 8, ["color", "size"]),
|
|
30
|
+
e.$slots.default ? (s(), z("span", y, [
|
|
31
|
+
v(e.$slots, "default", {}, void 0, !0)
|
|
32
|
+
])) : k("v-if", !0)
|
|
33
|
+
],
|
|
34
|
+
16
|
|
35
|
+
/* FULL_PROPS */
|
|
36
|
+
)
|
|
37
|
+
], 8, ["to"]));
|
|
38
|
+
}
|
|
39
|
+
}), M = (t, r) => {
|
|
40
|
+
const o = t.__vccOpts || t;
|
|
41
|
+
for (const [n, e] of r)
|
|
42
|
+
o[n] = e;
|
|
43
|
+
return o;
|
|
44
|
+
}, S = /* @__PURE__ */ M(C, [["__scopeId", "data-v-7c1470b6"]]);
|
|
45
|
+
export {
|
|
46
|
+
S as M,
|
|
47
|
+
M as _
|
|
48
|
+
};
|