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,34 @@
|
|
|
1
|
+
import { defineComponent as n, openBlock as o, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
+
import { _ as a } from "./MazBottomSheet-CMqzf-dT.mjs";
|
|
3
|
+
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ n({
|
|
4
|
+
__name: "MazSpinner",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: "2em" },
|
|
7
|
+
color: { default: "theme" }
|
|
8
|
+
},
|
|
9
|
+
setup(m) {
|
|
10
|
+
return (e, s) => (o(), t("svg", {
|
|
11
|
+
width: e.size,
|
|
12
|
+
height: e.size,
|
|
13
|
+
version: "1.1",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
x: "0px",
|
|
16
|
+
y: "0px",
|
|
17
|
+
viewBox: "0 0 50 50",
|
|
18
|
+
"xml:space": "preserve",
|
|
19
|
+
class: r(["m-spinner m-reset-css", `m-spinner--${e.color}`]),
|
|
20
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
21
|
+
}, s[0] || (s[0] = [
|
|
22
|
+
p(
|
|
23
|
+
"path",
|
|
24
|
+
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
25
|
+
null,
|
|
26
|
+
-1
|
|
27
|
+
/* HOISTED */
|
|
28
|
+
)
|
|
29
|
+
]), 10, i));
|
|
30
|
+
}
|
|
31
|
+
}), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-52831d3b"]]);
|
|
32
|
+
export {
|
|
33
|
+
h as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as n, openBlock as o, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
+
import { _ as a } from "./MazLazyImg-DnJyLBjr.mjs";
|
|
3
|
+
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ n({
|
|
4
|
+
__name: "MazSpinner",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: "2em" },
|
|
7
|
+
color: { default: "theme" }
|
|
8
|
+
},
|
|
9
|
+
setup(m) {
|
|
10
|
+
return (e, s) => (o(), t("svg", {
|
|
11
|
+
width: e.size,
|
|
12
|
+
height: e.size,
|
|
13
|
+
version: "1.1",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
x: "0px",
|
|
16
|
+
y: "0px",
|
|
17
|
+
viewBox: "0 0 50 50",
|
|
18
|
+
"xml:space": "preserve",
|
|
19
|
+
class: r(["m-spinner m-reset-css", `m-spinner--${e.color}`]),
|
|
20
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
21
|
+
}, s[0] || (s[0] = [
|
|
22
|
+
p(
|
|
23
|
+
"path",
|
|
24
|
+
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
25
|
+
null,
|
|
26
|
+
-1
|
|
27
|
+
/* HOISTED */
|
|
28
|
+
)
|
|
29
|
+
]), 10, i));
|
|
30
|
+
}
|
|
31
|
+
}), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-52831d3b"]]);
|
|
32
|
+
export {
|
|
33
|
+
h as default
|
|
34
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as K, defineAsyncComponent as m, computed as b, useSlots as Q, ref as R, openBlock as a, createElementBlock as i, normalizeStyle as U, Fragment as y, renderList as X, normalizeClass as A, createElementVNode as c, createBlock as x, resolveDynamicComponent as P, createCommentVNode as _, renderSlot as v, unref as W, createTextVNode as h, toDisplayString as $, createVNode as Y, withCtx as Z } from "vue";
|
|
2
|
-
import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te = { class: "m-stepper__header__wrapper" }, oe = { class: "m-stepper__count --primary" },
|
|
2
|
+
import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te = { class: "m-stepper__header__wrapper" }, oe = { class: "m-stepper__count --primary" }, se = { class: "m-stepper__count__circle" }, ne = { class: "m-stepper__header__content" }, ae = { class: "m-stepper__title" }, le = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-stepper__subtitle"
|
|
5
5
|
}, re = {
|
|
@@ -19,12 +19,12 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
19
19
|
canCloseSteps: { type: Boolean }
|
|
20
20
|
},
|
|
21
21
|
emits: ["update:model-value"],
|
|
22
|
-
setup(
|
|
23
|
-
const o =
|
|
22
|
+
setup(S, { emit: k }) {
|
|
23
|
+
const o = S, C = k, g = m(() => import("./MazIcon-Cq1v4J3r.mjs")), j = m(() => import("./MazExpandAnimation-B04WMwpW.mjs")), F = m(() => import("./check-circle-Bf7AGSQ-.mjs")), L = m(
|
|
24
24
|
() => import("./exclamation-circle-CUk0ZajS.mjs")
|
|
25
|
-
), T = m(() => import("./exclamation-triangle-Z6d0ygp8.mjs")), q = b(() => `var(--maz-color-${o.color})`), G = b(() => `var(--maz-color-${o.color}-contrast)`), E = Q(),
|
|
25
|
+
), T = m(() => import("./exclamation-triangle-Z6d0ygp8.mjs")), q = b(() => `var(--maz-color-${o.color})`), G = b(() => `var(--maz-color-${o.color}-contrast)`), E = Q(), f = b(
|
|
26
26
|
() => Object.keys(E).filter((t) => t.startsWith("content-")).length
|
|
27
|
-
), N = R(1),
|
|
27
|
+
), N = R(1), n = b({
|
|
28
28
|
get: () => o.modelValue ?? N.value,
|
|
29
29
|
set: (t) => {
|
|
30
30
|
N.value = t, C("update:model-value", t);
|
|
@@ -34,53 +34,53 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
34
34
|
return w(t) ? { icon: F, class: "--success" } : O(t) ? { icon: T, class: "--warning" } : z(t) ? { icon: L, class: "--error" } : { class: "--normal" };
|
|
35
35
|
}
|
|
36
36
|
function d(t) {
|
|
37
|
-
var
|
|
38
|
-
return (e = (
|
|
37
|
+
var s, e;
|
|
38
|
+
return (e = (s = o.steps) == null ? void 0 : s[t - 1]) == null ? void 0 : e.icon;
|
|
39
39
|
}
|
|
40
|
-
function B(t,
|
|
40
|
+
function B(t, s) {
|
|
41
41
|
var e, l;
|
|
42
|
-
return (l = (e = o.steps) == null ? void 0 : e[
|
|
42
|
+
return (l = (e = o.steps) == null ? void 0 : e[s - 1]) == null ? void 0 : l[t];
|
|
43
43
|
}
|
|
44
44
|
function D(t) {
|
|
45
|
-
|
|
45
|
+
n.value === t && o.canCloseSteps ? n.value = 0 : t < 1 ? n.value = 1 : t > f.value ? n.value = f.value : n.value = t;
|
|
46
46
|
}
|
|
47
|
-
function I(t,
|
|
47
|
+
function I(t, s) {
|
|
48
48
|
var r, p;
|
|
49
|
-
const e = t === "titleInfo" ? "title-info" : t, l = Object.keys(E).filter((J) => J.startsWith(`${e}-`)).includes(`${e}-${
|
|
49
|
+
const e = t === "titleInfo" ? "title-info" : t, l = Object.keys(E).filter((J) => J.startsWith(`${e}-`)).includes(`${e}-${s}`), u = !!((p = (r = o.steps) == null ? void 0 : r[s - 1]) != null && p[t]);
|
|
50
50
|
return l || u;
|
|
51
51
|
}
|
|
52
52
|
function w(t) {
|
|
53
53
|
var u, r;
|
|
54
|
-
const
|
|
55
|
-
return
|
|
54
|
+
const s = (r = (u = o.steps) == null ? void 0 : u[t - 1]) == null ? void 0 : r.success, e = z(t) || O(t), l = o.autoValidateSteps && t < n.value && !e;
|
|
55
|
+
return s ?? (l || o.allStepsValidated);
|
|
56
56
|
}
|
|
57
57
|
function M(t) {
|
|
58
58
|
var r, p;
|
|
59
|
-
const
|
|
60
|
-
return
|
|
59
|
+
const s = (p = (r = o.steps) == null ? void 0 : r[t - 1]) == null ? void 0 : p.disabled, e = n.value === t && !o.canCloseSteps, l = o.disabledNextSteps && t > n.value, u = o.disabledPreviousSteps && t < n.value;
|
|
60
|
+
return s ?? (e || l || u || o.allStepsOpened);
|
|
61
61
|
}
|
|
62
62
|
function z(t) {
|
|
63
|
-
var
|
|
64
|
-
return (e = (
|
|
63
|
+
var s, e;
|
|
64
|
+
return (e = (s = o.steps) == null ? void 0 : s[t - 1]) == null ? void 0 : e.error;
|
|
65
65
|
}
|
|
66
66
|
function O(t) {
|
|
67
|
-
var
|
|
68
|
-
return (e = (
|
|
67
|
+
var s, e;
|
|
68
|
+
return (e = (s = o.steps) == null ? void 0 : s[t - 1]) == null ? void 0 : e.warning;
|
|
69
69
|
}
|
|
70
70
|
function H(t) {
|
|
71
|
-
return t ===
|
|
71
|
+
return t === f.value;
|
|
72
72
|
}
|
|
73
|
-
return (t,
|
|
73
|
+
return (t, s) => (a(), i(
|
|
74
74
|
"div",
|
|
75
75
|
{
|
|
76
|
-
class: "m-stepper",
|
|
76
|
+
class: "m-stepper m-reset-css",
|
|
77
77
|
style: U([{ "--round-step-bg-color": q.value, "--round-step-text-color": G.value }])
|
|
78
78
|
},
|
|
79
79
|
[
|
|
80
80
|
(a(!0), i(
|
|
81
81
|
y,
|
|
82
82
|
null,
|
|
83
|
-
X(
|
|
83
|
+
X(f.value, (e) => (a(), i(
|
|
84
84
|
y,
|
|
85
85
|
{ key: e },
|
|
86
86
|
[
|
|
@@ -91,8 +91,8 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
91
91
|
disabled: M(e),
|
|
92
92
|
class: A(["m-stepper__header", [
|
|
93
93
|
{
|
|
94
|
-
"--is-current-step": e ===
|
|
95
|
-
"--disabled": e !==
|
|
94
|
+
"--is-current-step": e === n.value || t.allStepsOpened,
|
|
95
|
+
"--disabled": e !== n.value && !t.allStepsOpened && M(e)
|
|
96
96
|
},
|
|
97
97
|
`${V(e).class}`
|
|
98
98
|
]]),
|
|
@@ -100,7 +100,7 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
100
100
|
}, [
|
|
101
101
|
c("div", te, [
|
|
102
102
|
c("span", oe, [
|
|
103
|
-
c("div",
|
|
103
|
+
c("div", se, [
|
|
104
104
|
V(e).icon ? (a(), x(P(V(e).icon), {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "icon maz-text-xl"
|
|
@@ -133,7 +133,7 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
133
133
|
))
|
|
134
134
|
], !0)
|
|
135
135
|
]),
|
|
136
|
-
c("div",
|
|
136
|
+
c("div", ne, [
|
|
137
137
|
c("span", ae, [
|
|
138
138
|
v(t.$slots, `title-${e}`, {}, () => [
|
|
139
139
|
h(
|
|
@@ -173,7 +173,7 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
173
173
|
},
|
|
174
174
|
[
|
|
175
175
|
Y(W(j), {
|
|
176
|
-
"model-value": t.allStepsOpened ||
|
|
176
|
+
"model-value": t.allStepsOpened || n.value === e,
|
|
177
177
|
"aria-labelledby": `header-step-${e}`
|
|
178
178
|
}, {
|
|
179
179
|
default: Z(() => [
|
|
@@ -206,12 +206,12 @@ import '../assets/MazStepper.css';const ee = ["id", "disabled", "onClick"], te =
|
|
|
206
206
|
/* STYLE */
|
|
207
207
|
));
|
|
208
208
|
}
|
|
209
|
-
}), ue = (
|
|
210
|
-
const o =
|
|
209
|
+
}), ue = (S, k) => {
|
|
210
|
+
const o = S.__vccOpts || S;
|
|
211
211
|
for (const [C, g] of k)
|
|
212
212
|
o[C] = g;
|
|
213
213
|
return o;
|
|
214
|
-
}, pe = /* @__PURE__ */ ue(ce, [["__scopeId", "data-v-
|
|
214
|
+
}, pe = /* @__PURE__ */ ue(ce, [["__scopeId", "data-v-4b6c936d"]]);
|
|
215
215
|
export {
|
|
216
216
|
pe as M,
|
|
217
217
|
ue as _
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Me, useCssVars as Ne, defineAsyncComponent as f, computed as d, toRefs as
|
|
1
|
+
import { defineComponent as Me, useCssVars as Ne, defineAsyncComponent as f, computed as d, toRefs as Te, provide as we, ref as k, watch as R, useSlots as Le, onBeforeMount as Oe, openBlock as s, createElementBlock as v, normalizeClass as g, renderSlot as p, createElementVNode as h, toDisplayString as y, createCommentVNode as u, createBlock as S, unref as o, createVNode as i, normalizeStyle as oe, createTextVNode as M, withCtx as c, Fragment as G, renderList as J } from "vue";
|
|
2
2
|
import '../assets/MazTable.css';const Ee = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-table-header"
|
|
@@ -66,10 +66,10 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
66
66
|
emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
|
|
67
67
|
setup(N, { emit: K }) {
|
|
68
68
|
Ne((e) => ({
|
|
69
|
-
"
|
|
70
|
-
"
|
|
69
|
+
"36bfe964": e.tableLayout,
|
|
70
|
+
"6c300313": e.captionSide
|
|
71
71
|
}));
|
|
72
|
-
const a = N, $ = K, D = f(() => import("./arrow-up-DjSlktWl.mjs")), W = f(() => import("./chevron-double-left-D4-NpyrF.mjs")), X = f(() => import("./chevron-left-BqVOLRdC.mjs")), se = f(() => import("./magnifying-glass--nBiyXot.mjs")),
|
|
72
|
+
const a = N, $ = K, D = f(() => import("./arrow-up-DjSlktWl.mjs")), W = f(() => import("./chevron-double-left-D4-NpyrF.mjs")), X = f(() => import("./chevron-left-BqVOLRdC.mjs")), se = f(() => import("./magnifying-glass--nBiyXot.mjs")), T = f(() => import("./MazBtn-Cf-LPT5p.mjs")), Z = f(() => import("./MazCheckbox-D-7-TdgO.mjs")), ne = f(() => import("./MazInput-DB4HtpCQ.mjs")), re = f(() => import("./MazLoadingBar-DBt1Ltm5.mjs")), _ = f(() => import("./MazSelect-CBaOs6va.mjs")), w = f(() => import("./MazTableCell-DtoO9MOe.mjs")), F = f(() => import("./MazTableRow-ChFMulaU.mjs")), H = f(() => import("./MazTableTitle-D8El-v5p.mjs")), ue = {
|
|
73
73
|
noResults: "No results",
|
|
74
74
|
actionHeader: "Actions",
|
|
75
75
|
searchByAllLabel: "All",
|
|
@@ -79,35 +79,35 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
79
79
|
paginationRowsPerPage: "Rows per page",
|
|
80
80
|
paginationOf: "of"
|
|
81
81
|
}, C = d(() => {
|
|
82
|
-
const { translations: e, searchByAllLabel:
|
|
82
|
+
const { translations: e, searchByAllLabel: t, searchByPlaceholder: l, searchPlaceholder: n, paginationAllLabel: r } = a;
|
|
83
83
|
return {
|
|
84
84
|
...ue,
|
|
85
85
|
...e,
|
|
86
|
-
searchByAllLabel:
|
|
86
|
+
searchByAllLabel: t,
|
|
87
87
|
searchByPlaceholder: l,
|
|
88
88
|
searchPlaceholder: n,
|
|
89
89
|
paginationAllLabel: r
|
|
90
90
|
};
|
|
91
91
|
}), ie = d(
|
|
92
92
|
() => a.divider && !a.backgroundEven && !a.backgroundOdd
|
|
93
|
-
), { size: m, hoverable: de, backgroundEven: ce, backgroundOdd: ve } =
|
|
94
|
-
|
|
93
|
+
), { size: m, hoverable: de, backgroundEven: ce, backgroundOdd: ve } = Te(a);
|
|
94
|
+
we(Xe, {
|
|
95
95
|
size: m,
|
|
96
96
|
hoverable: de,
|
|
97
97
|
backgroundEven: ce,
|
|
98
98
|
backgroundOdd: ve
|
|
99
99
|
});
|
|
100
|
-
const U = k(le()), Q = d(() => a.selectable || !!a.selectedKey),
|
|
100
|
+
const U = k(le()), Q = d(() => a.selectable || !!a.selectedKey), L = k(a.page);
|
|
101
101
|
R(
|
|
102
102
|
() => a.page,
|
|
103
103
|
(e) => {
|
|
104
|
-
|
|
104
|
+
L.value = e;
|
|
105
105
|
}
|
|
106
106
|
);
|
|
107
107
|
const b = d({
|
|
108
|
-
get: () =>
|
|
108
|
+
get: () => L.value,
|
|
109
109
|
set: (e) => {
|
|
110
|
-
|
|
110
|
+
L.value = e, $("update:page", e);
|
|
111
111
|
}
|
|
112
112
|
}), pe = d(() => [
|
|
113
113
|
{ label: C.value.paginationAllLabel, value: Number.POSITIVE_INFINITY },
|
|
@@ -148,8 +148,8 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
148
148
|
const x = d(() => {
|
|
149
149
|
if (!a.pagination || a.noPaginateRows || B.value === Number.POSITIVE_INFINITY)
|
|
150
150
|
return U.value;
|
|
151
|
-
const e = (
|
|
152
|
-
return U.value.slice(e,
|
|
151
|
+
const e = (L.value - 1) * B.value, t = e + B.value;
|
|
152
|
+
return U.value.slice(e, t);
|
|
153
153
|
});
|
|
154
154
|
R(
|
|
155
155
|
() => [a.rows, a.modelValue],
|
|
@@ -177,58 +177,63 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
function ze(e) {
|
|
180
|
-
return [...e].sort((
|
|
180
|
+
return [...e].sort((t, l) => {
|
|
181
181
|
if (A.value === void 0 || z.value === void 0)
|
|
182
182
|
return 0;
|
|
183
|
-
const n =
|
|
183
|
+
const n = t[V.value[A.value].key], r = l[V.value[A.value].key];
|
|
184
184
|
return typeof n == "string" && typeof r == "string" ? z.value === "ASC" ? n.localeCompare(r) : r.localeCompare(n) : z.value === "ASC" ? n - r : r - n;
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
function he(e) {
|
|
188
188
|
if (a.noSearchInRow || typeof E.value != "string")
|
|
189
189
|
return x.value;
|
|
190
|
-
const
|
|
191
|
-
return [...e].filter((l) => O.value ? String(l[O.value]).toLowerCase().includes(
|
|
190
|
+
const t = E.value.toLowerCase();
|
|
191
|
+
return [...e].filter((l) => O.value ? String(l[O.value]).toLowerCase().includes(t) : Object.values(l).some((n) => typeof n == "string" || typeof n == "number" || typeof n == "boolean" ? String(n).toLowerCase().includes(t) : !1));
|
|
192
192
|
}
|
|
193
193
|
const P = d(() => {
|
|
194
194
|
const e = he(x.value);
|
|
195
195
|
return ze(e);
|
|
196
|
-
}), Se =
|
|
196
|
+
}), Se = Le(), ee = d(() => a.search || !!a.title || !!Se.title), ke = d(() => a.pagination);
|
|
197
197
|
function Ce() {
|
|
198
198
|
var e;
|
|
199
199
|
return ((e = a.headers) == null ? void 0 : e.map(
|
|
200
|
-
(
|
|
200
|
+
(t) => typeof t == "string" ? { label: t, align: a.headersAlign } : { align: a.headersAlign, thHeaders: t.headers, ...t }
|
|
201
201
|
)) ?? [];
|
|
202
202
|
}
|
|
203
203
|
function le() {
|
|
204
204
|
var e;
|
|
205
|
-
return ((e = a.rows) == null ? void 0 : e.map((
|
|
205
|
+
return ((e = a.rows) == null ? void 0 : e.map((t) => {
|
|
206
206
|
var l;
|
|
207
207
|
return {
|
|
208
|
-
selected: (l = a.modelValue) == null ? void 0 : l.includes(a.selectedKey ?
|
|
209
|
-
...
|
|
208
|
+
selected: (l = a.modelValue) == null ? void 0 : l.includes(a.selectedKey ? t[a.selectedKey] : t),
|
|
209
|
+
...t
|
|
210
210
|
};
|
|
211
211
|
})) ?? [];
|
|
212
212
|
}
|
|
213
213
|
function Be(e) {
|
|
214
|
-
e === A.value
|
|
214
|
+
if (e === A.value) {
|
|
215
|
+
const t = z.value === "DESC" ? "ASC" : void 0;
|
|
216
|
+
z.value = z.value === void 0 ? "DESC" : t;
|
|
217
|
+
} else
|
|
218
|
+
z.value = "DESC";
|
|
219
|
+
A.value = z.value === void 0 ? void 0 : e;
|
|
215
220
|
}
|
|
216
221
|
const ae = d({
|
|
217
222
|
get: () => P.value.every((e) => e.selected) ?? !1,
|
|
218
223
|
set: Ve
|
|
219
224
|
});
|
|
220
225
|
function Ve(e) {
|
|
221
|
-
for (const
|
|
222
|
-
|
|
226
|
+
for (const t of P.value)
|
|
227
|
+
t.selected = e;
|
|
223
228
|
j();
|
|
224
229
|
}
|
|
225
|
-
function Pe(e,
|
|
226
|
-
P.value[
|
|
230
|
+
function Pe(e, t) {
|
|
231
|
+
P.value[t].selected = e, j();
|
|
227
232
|
}
|
|
228
233
|
function j(e) {
|
|
229
234
|
e = e ?? te();
|
|
230
|
-
const
|
|
231
|
-
$("update:model-value",
|
|
235
|
+
const t = e != null && e.length ? e : void 0;
|
|
236
|
+
$("update:model-value", t);
|
|
232
237
|
}
|
|
233
238
|
function te() {
|
|
234
239
|
return P.value.filter((e) => e.selected).map((e) => a.selectedKey ? e[a.selectedKey] : e);
|
|
@@ -236,10 +241,10 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
236
241
|
return Oe(() => {
|
|
237
242
|
const e = te();
|
|
238
243
|
e != null && e.length && j(e);
|
|
239
|
-
}), (e,
|
|
244
|
+
}), (e, t) => (s(), v(
|
|
240
245
|
"div",
|
|
241
246
|
{
|
|
242
|
-
class: g(["m-table", { "--has-header": ee.value }])
|
|
247
|
+
class: g(["m-table m-reset-css", { "--has-header": ee.value }])
|
|
243
248
|
},
|
|
244
249
|
[
|
|
245
250
|
ee.value ? (s(), v("div", Ee, [
|
|
@@ -255,26 +260,26 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
255
260
|
], !0)
|
|
256
261
|
])) : u("v-if", !0),
|
|
257
262
|
e.search ? (s(), v("div", De, [
|
|
258
|
-
e.noSearchBy ? u("v-if", !0) : (s(), S(
|
|
263
|
+
e.noSearchBy ? u("v-if", !0) : (s(), S(o(_), {
|
|
259
264
|
key: 0,
|
|
260
265
|
modelValue: O.value,
|
|
261
|
-
"onUpdate:modelValue":
|
|
266
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => O.value = l),
|
|
262
267
|
"rounded-size": e.roundedSize,
|
|
263
268
|
color: e.color,
|
|
264
269
|
style: { width: "8rem" },
|
|
265
270
|
placeholder: C.value.searchByPlaceholder,
|
|
266
|
-
size: e.inputSize ??
|
|
271
|
+
size: e.inputSize ?? o(m),
|
|
267
272
|
options: ye.value
|
|
268
273
|
}, null, 8, ["modelValue", "rounded-size", "color", "placeholder", "size", "options"])),
|
|
269
|
-
i(
|
|
274
|
+
i(o(ne), {
|
|
270
275
|
modelValue: E.value,
|
|
271
|
-
"onUpdate:modelValue":
|
|
272
|
-
size: e.inputSize ??
|
|
276
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => E.value = l),
|
|
277
|
+
size: e.inputSize ?? o(m),
|
|
273
278
|
"rounded-size": e.roundedSize,
|
|
274
279
|
color: e.color,
|
|
275
280
|
debounce: 300,
|
|
276
281
|
placeholder: C.value.searchPlaceholder,
|
|
277
|
-
"left-icon":
|
|
282
|
+
"left-icon": o(se)
|
|
278
283
|
}, null, 8, ["modelValue", "size", "rounded-size", "color", "placeholder", "left-icon"])
|
|
279
284
|
])) : u("v-if", !0)
|
|
280
285
|
])) : u("v-if", !0),
|
|
@@ -304,17 +309,17 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
304
309
|
])) : u("v-if", !0),
|
|
305
310
|
V.value ? (s(), v("thead", He, [
|
|
306
311
|
p(e.$slots, "thead", {}, () => [
|
|
307
|
-
i(
|
|
312
|
+
i(o(F), { "no-hoverable": "" }, {
|
|
308
313
|
default: c(() => [
|
|
309
|
-
Q.value ? (s(), S(
|
|
314
|
+
Q.value ? (s(), S(o(H), {
|
|
310
315
|
key: 0,
|
|
311
316
|
align: "left",
|
|
312
|
-
class: g([`--${
|
|
317
|
+
class: g([`--${o(m)}`, "m-table-select-column"])
|
|
313
318
|
}, {
|
|
314
319
|
default: c(() => [
|
|
315
|
-
i(
|
|
320
|
+
i(o(Z), {
|
|
316
321
|
modelValue: ae.value,
|
|
317
|
-
"onUpdate:modelValue":
|
|
322
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => ae.value = l),
|
|
318
323
|
size: "sm"
|
|
319
324
|
}, null, 8, ["modelValue"])
|
|
320
325
|
]),
|
|
@@ -324,7 +329,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
324
329
|
(s(!0), v(
|
|
325
330
|
G,
|
|
326
331
|
null,
|
|
327
|
-
J(V.value, (l, n) => (s(), S(
|
|
332
|
+
J(V.value, (l, n) => (s(), S(o(H), {
|
|
328
333
|
key: n,
|
|
329
334
|
scope: l.scope,
|
|
330
335
|
align: l.align,
|
|
@@ -335,7 +340,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
335
340
|
class: g(["maz-group", [
|
|
336
341
|
{ "--hidden": l.hidden, "--sortable": l.sortable ?? e.sortable },
|
|
337
342
|
l.classes,
|
|
338
|
-
`--${
|
|
343
|
+
`--${o(m)}`
|
|
339
344
|
]]),
|
|
340
345
|
onClick: (r) => (l.sortable ?? e.sortable) && Be(n)
|
|
341
346
|
}, {
|
|
@@ -361,7 +366,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
361
366
|
)
|
|
362
367
|
], !0),
|
|
363
368
|
l.sortable ?? e.sortable ? (s(), v("div", Ue, [
|
|
364
|
-
i(
|
|
369
|
+
i(o(D), {
|
|
365
370
|
class: g(["m-table-sort-icon maz-hidden group-hover:maz-block", {
|
|
366
371
|
"--sorted": n === A.value,
|
|
367
372
|
"--up": z.value === "DESC",
|
|
@@ -381,10 +386,10 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
381
386
|
128
|
|
382
387
|
/* KEYED_FRAGMENT */
|
|
383
388
|
)),
|
|
384
|
-
e.$slots.actions ? (s(), S(
|
|
389
|
+
e.$slots.actions ? (s(), S(o(H), {
|
|
385
390
|
key: 1,
|
|
386
391
|
align: "left",
|
|
387
|
-
class: g(`--${
|
|
392
|
+
class: g(`--${o(m)}`)
|
|
388
393
|
}, {
|
|
389
394
|
default: c(() => [
|
|
390
395
|
p(e.$slots, "actions-header", {}, () => [
|
|
@@ -404,7 +409,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
404
409
|
})
|
|
405
410
|
], !0)
|
|
406
411
|
])) : u("v-if", !0),
|
|
407
|
-
e.loading ? (s(), S(
|
|
412
|
+
e.loading ? (s(), S(o(re), {
|
|
408
413
|
key: 2,
|
|
409
414
|
color: e.color,
|
|
410
415
|
class: "!maz-absolute"
|
|
@@ -419,14 +424,14 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
419
424
|
P.value.length > 0 ? (s(!0), v(
|
|
420
425
|
G,
|
|
421
426
|
{ key: 0 },
|
|
422
|
-
J(P.value, (l, n) => (s(), S(
|
|
427
|
+
J(P.value, (l, n) => (s(), S(o(F), {
|
|
423
428
|
key: n,
|
|
424
429
|
class: g(l.classes),
|
|
425
430
|
onClick: (r) => l.action && l.action(l)
|
|
426
431
|
}, {
|
|
427
432
|
default: c(() => [
|
|
428
433
|
Q.value ? (s(), S(
|
|
429
|
-
|
|
434
|
+
o(w),
|
|
430
435
|
{
|
|
431
436
|
key: 0,
|
|
432
437
|
class: "m-table-select-column"
|
|
@@ -437,7 +442,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
437
442
|
row: l,
|
|
438
443
|
selected: l.selected
|
|
439
444
|
}, () => [
|
|
440
|
-
i(
|
|
445
|
+
i(o(Z), {
|
|
441
446
|
size: "sm",
|
|
442
447
|
"model-value": l.selected,
|
|
443
448
|
"onUpdate:modelValue": (r) => Pe(r, n)
|
|
@@ -453,7 +458,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
453
458
|
(s(!0), v(
|
|
454
459
|
G,
|
|
455
460
|
null,
|
|
456
|
-
J(V.value, ({ key: r, align: $e, classes: Ae }, Ie) => (s(), S(
|
|
461
|
+
J(V.value, ({ key: r, align: $e, classes: Ae }, Ie) => (s(), S(o(w), {
|
|
457
462
|
key: Ie,
|
|
458
463
|
align: $e,
|
|
459
464
|
class: g(Ae)
|
|
@@ -483,7 +488,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
483
488
|
/* KEYED_FRAGMENT */
|
|
484
489
|
)),
|
|
485
490
|
e.$slots.actions ? (s(), S(
|
|
486
|
-
|
|
491
|
+
o(w),
|
|
487
492
|
{ key: 1 },
|
|
488
493
|
{
|
|
489
494
|
default: c(() => [
|
|
@@ -501,9 +506,9 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
501
506
|
}, 1032, ["class", "onClick"]))),
|
|
502
507
|
128
|
|
503
508
|
/* KEYED_FRAGMENT */
|
|
504
|
-
)) : (s(), S(
|
|
509
|
+
)) : (s(), S(o(F), { key: 1 }, {
|
|
505
510
|
default: c(() => [
|
|
506
|
-
i(
|
|
511
|
+
i(o(w), {
|
|
507
512
|
colspan: V.value.length + (Q.value ? 1 : 0) + (e.$slots.actions ? 1 : 0)
|
|
508
513
|
}, {
|
|
509
514
|
default: c(() => [
|
|
@@ -540,7 +545,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
540
545
|
/* CLASS */
|
|
541
546
|
),
|
|
542
547
|
ke.value ? (s(), v("div", qe, [
|
|
543
|
-
|
|
548
|
+
t[4] || (t[4] = h(
|
|
544
549
|
"div",
|
|
545
550
|
{ class: "m-table-spacer" },
|
|
546
551
|
null,
|
|
@@ -556,12 +561,12 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
556
561
|
1
|
|
557
562
|
/* TEXT */
|
|
558
563
|
),
|
|
559
|
-
i(
|
|
564
|
+
i(o(_), {
|
|
560
565
|
modelValue: B.value,
|
|
561
|
-
"onUpdate:modelValue":
|
|
566
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => B.value = l),
|
|
562
567
|
options: pe.value,
|
|
563
568
|
"rounded-size": e.roundedSize,
|
|
564
|
-
size: e.inputSize ??
|
|
569
|
+
size: e.inputSize ?? o(m),
|
|
565
570
|
color: e.color,
|
|
566
571
|
"list-position": "top",
|
|
567
572
|
style: { width: "5rem" }
|
|
@@ -575,58 +580,58 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
575
580
|
/* TEXT */
|
|
576
581
|
)) : u("v-if", !0),
|
|
577
582
|
h("div", We, [
|
|
578
|
-
i(
|
|
583
|
+
i(o(T), {
|
|
579
584
|
disabled: b.value === 1,
|
|
580
|
-
size:
|
|
585
|
+
size: o(m),
|
|
581
586
|
color: "transparent",
|
|
582
587
|
"rounded-size": e.roundedSize,
|
|
583
588
|
"no-elevation": "",
|
|
584
589
|
onClick: fe
|
|
585
590
|
}, {
|
|
586
591
|
default: c(() => [
|
|
587
|
-
i(
|
|
592
|
+
i(o(W), { class: "maz-text-base" })
|
|
588
593
|
]),
|
|
589
594
|
_: 1
|
|
590
595
|
/* STABLE */
|
|
591
596
|
}, 8, ["disabled", "size", "rounded-size"]),
|
|
592
|
-
i(
|
|
597
|
+
i(o(T), {
|
|
593
598
|
disabled: b.value === 1,
|
|
594
|
-
size:
|
|
599
|
+
size: o(m),
|
|
595
600
|
color: "transparent",
|
|
596
601
|
"rounded-size": e.roundedSize,
|
|
597
602
|
"no-elevation": "",
|
|
598
603
|
onClick: be
|
|
599
604
|
}, {
|
|
600
605
|
default: c(() => [
|
|
601
|
-
i(
|
|
606
|
+
i(o(X), { class: "maz-text-base" })
|
|
602
607
|
]),
|
|
603
608
|
_: 1
|
|
604
609
|
/* STABLE */
|
|
605
610
|
}, 8, ["disabled", "size", "rounded-size"]),
|
|
606
|
-
i(
|
|
611
|
+
i(o(T), {
|
|
607
612
|
disabled: b.value === I.value,
|
|
608
|
-
size:
|
|
613
|
+
size: o(m),
|
|
609
614
|
color: "transparent",
|
|
610
615
|
"rounded-size": e.roundedSize,
|
|
611
616
|
"no-elevation": "",
|
|
612
617
|
onClick: ge
|
|
613
618
|
}, {
|
|
614
619
|
default: c(() => [
|
|
615
|
-
i(
|
|
620
|
+
i(o(X), { class: "maz-rotate-180 maz-text-base" })
|
|
616
621
|
]),
|
|
617
622
|
_: 1
|
|
618
623
|
/* STABLE */
|
|
619
624
|
}, 8, ["disabled", "size", "rounded-size"]),
|
|
620
|
-
i(
|
|
625
|
+
i(o(T), {
|
|
621
626
|
disabled: b.value === I.value,
|
|
622
|
-
size:
|
|
627
|
+
size: o(m),
|
|
623
628
|
color: "transparent",
|
|
624
629
|
"rounded-size": e.roundedSize,
|
|
625
630
|
"no-elevation": "",
|
|
626
631
|
onClick: me
|
|
627
632
|
}, {
|
|
628
633
|
default: c(() => [
|
|
629
|
-
i(
|
|
634
|
+
i(o(W), { class: "maz-rotate-180 maz-text-base" })
|
|
630
635
|
]),
|
|
631
636
|
_: 1
|
|
632
637
|
/* STABLE */
|
|
@@ -644,7 +649,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
644
649
|
for (const [$, D] of K)
|
|
645
650
|
a[$] = D;
|
|
646
651
|
return a;
|
|
647
|
-
}, el = /* @__PURE__ */ _e(Ze, [["__scopeId", "data-v-
|
|
652
|
+
}, el = /* @__PURE__ */ _e(Ze, [["__scopeId", "data-v-e7b6abc0"]]);
|
|
648
653
|
export {
|
|
649
654
|
el as M,
|
|
650
655
|
_e as _,
|