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