maz-ui 5.0.0-beta.11 → 5.0.0-beta.13
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/dist/assets/{MazDatePicker.SrwKTQCz.css → MazDatePicker.7DaXHYD0.css} +1 -1
- package/dist/assets/MazPickerCalendar.XCmOz1gG.css +2 -0
- package/dist/assets/{MazPickerCalendarGrid.zqHuGI9G.css → MazPickerCalendarGrid.DiySQJQ9.css} +1 -1
- package/dist/assets/{MazPickerContainer.6UCJQaFm.css → MazPickerContainer.DKHVLuOd.css} +1 -1
- package/dist/assets/{MazPickerHeader.C8_Nfr7o.css → MazPickerHeader.DcZc4vI_.css} +1 -1
- package/dist/assets/{MazPickerMonthSwitcher.B1j-eXaQ.css → MazPickerMonthSwitcher.CiMwoYth.css} +1 -1
- package/dist/assets/{MazPickerTime.BQqNtzo5.css → MazPickerTime.DjVO29NI.css} +1 -1
- package/dist/assets/MazTable.PGtrdbye.css +2 -0
- package/dist/chunks/{MazAccordion.DJDhD0K8.js → MazAccordion.D8j27op1.js} +1 -1
- package/dist/chunks/{MazAlert.ChvEfI3f.js → MazAlert.B64HfK6T.js} +1 -1
- package/dist/chunks/{MazAnimatedElement.D7COtXwm.js → MazAnimatedElement.BhKCkwho.js} +1 -1
- package/dist/chunks/{MazAnimatedText.BMtT1SNs.js → MazAnimatedText.iQfrDH56.js} +1 -1
- package/dist/chunks/{MazAvatar.BTyqzcKy.js → MazAvatar.DBPOlZ55.js} +1 -1
- package/dist/chunks/{MazBackdrop.ks_zyMT1.js → MazBackdrop.Dr4Jzi7i.js} +1 -1
- package/dist/chunks/{MazBadge.BVNaWP_t.js → MazBadge.sGi-WO8_.js} +1 -1
- package/dist/chunks/{MazBottomSheet.Dw7KN4qe.js → MazBottomSheet.rynuS491.js} +1 -1
- package/dist/chunks/{MazBtn.C74MYyo7.js → MazBtn.BbzUbXCS.js} +1 -1
- package/dist/chunks/{MazBtnGroup.DbFWSPUh.js → MazBtnGroup.Bzp5sJdI.js} +1 -1
- package/dist/chunks/{MazCard.DgJXRjs8.js → MazCard.QIBcwdOh.js} +1 -1
- package/dist/chunks/{MazCardSpotlight.p7MyYyUs.js → MazCardSpotlight.Cp-9GWEo.js} +1 -1
- package/dist/chunks/{MazCarousel.BgBCT6Tk.js → MazCarousel.zQtP-Ko6.js} +1 -1
- package/dist/chunks/{MazCheckbox.H9Q_AFuC.js → MazCheckbox.JEl_zb5e.js} +1 -1
- package/dist/chunks/{MazChecklist.Bgs8wo5b.js → MazChecklist.S36e2SJL.js} +1 -1
- package/dist/chunks/{MazCircularProgressBar.BKYczSCn.js → MazCircularProgressBar.CPVPaqix.js} +1 -1
- package/dist/chunks/{MazCodeHighlight.DTqJjkP4.js → MazCodeHighlight.SRyNl3m0.js} +1 -1
- package/dist/chunks/{MazContainer.BVmJfExv.js → MazContainer.Cxym3mwp.js} +1 -1
- package/dist/chunks/MazDatePicker.DA5ZJyd3.js +1 -0
- package/dist/chunks/{MazDialog.6g9tKWUc.js → MazDialog.DPDetEnB.js} +1 -1
- package/dist/chunks/{MazDialogConfirm.-dPxjo9a.js → MazDialogConfirm.CMjHcqtL.js} +1 -1
- package/dist/chunks/{MazDrawer.9QaU8gdy.js → MazDrawer.CkbLr6dy.js} +1 -1
- package/dist/chunks/{MazDropdown.FAcDhRat.js → MazDropdown.Bks10tZ-.js} +1 -1
- package/dist/chunks/{MazDropzone.C5HF9ynt.js → MazDropzone.pYZqQMx-.js} +1 -1
- package/dist/chunks/{MazExpandAnimation.8Av5jv5J.js → MazExpandAnimation.DXi9Uibv.js} +1 -1
- package/dist/chunks/{MazFullscreenLoader.iDGVUHEZ.js → MazFullscreenLoader.DdJwziyG.js} +1 -1
- package/dist/chunks/{MazGallery.j4x7s3GC.js → MazGallery.CNLz-bfw.js} +1 -1
- package/dist/chunks/{MazIcon.BrkegAtS.js → MazIcon.BKcg5YfP.js} +1 -1
- package/dist/chunks/{MazInput.BwFBaJYF.js → MazInput.B63ZT9WX.js} +1 -1
- package/dist/chunks/{MazInputCode.DnFEmr3K.js → MazInputCode.4lubTbvx.js} +1 -1
- package/dist/chunks/{MazInputNumber.WYLW1Jc3.js → MazInputNumber.DTOWzt7W.js} +1 -1
- package/dist/chunks/{MazInputPhoneNumber.2Eb6sAAk.js → MazInputPhoneNumber.Blz_txry.js} +1 -1
- package/dist/chunks/{MazInputPrice.DEnDyrSS.js → MazInputPrice.CUFtGy2L.js} +1 -1
- package/dist/chunks/{MazInputTags.D8J_Q_t8.js → MazInputTags.DxnsSPK0.js} +1 -1
- package/dist/chunks/{MazLazyImg.hGGNbB7d.js → MazLazyImg.DbgvhHnT.js} +1 -1
- package/dist/chunks/{MazLink.BsWsY5-Z.js → MazLink.DNRMFwxx.js} +1 -1
- package/dist/chunks/{MazLoadingBar.DXmG4x7b.js → MazLoadingBar.BGLS4KVl.js} +1 -1
- package/dist/chunks/{MazPagination.Cw05GArV.js → MazPagination.qBHT1H5C.js} +1 -1
- package/dist/chunks/{MazPickerCalendarDays.DL_Ik2si.js → MazPickerCalendarDays.BMOBBRGk.js} +1 -1
- package/dist/chunks/MazPickerCalendarGrid.BLgRrgTD.js +1 -0
- package/dist/chunks/MazPickerContainer.q_apJvYe.js +1 -0
- package/dist/chunks/{MazPopover.Pg-tkn9s.js → MazPopover.BZG8J4IR.js} +1 -1
- package/dist/chunks/{MazRadio.C-2IdYBi.js → MazRadio.DJNSd_vh.js} +1 -1
- package/dist/chunks/{MazRadioButtons.DnjQ8lxX.js → MazRadioButtons.nc-yVt3a.js} +1 -1
- package/dist/chunks/{MazReadMore.DwhCMJRZ.js → MazReadMore.Gi36G0ie.js} +1 -1
- package/dist/chunks/{MazSelect.DJ3px_UN.js → MazSelect.oWSEo_m5.js} +1 -1
- package/dist/chunks/{MazSelectCountry.nqJbR6Su.js → MazSelectCountry.xUE0yjs1.js} +1 -1
- package/dist/chunks/{MazSidebarContent.Dkm_Y8Il.js → MazSidebarContent.DWDB6sLH.js} +1 -1
- package/dist/chunks/{MazSidebarFooter.PHBcDkAl.js → MazSidebarFooter.Sq7LIuiJ.js} +1 -1
- package/dist/chunks/{MazSidebarGroup.BhDsqtJa.js → MazSidebarGroup.Dqgbk73d.js} +1 -1
- package/dist/chunks/{MazSidebarHeader.92_aLDNJ.js → MazSidebarHeader.C6RG9OSO.js} +1 -1
- package/dist/chunks/{MazSidebarMenu.CfKODpP2.js → MazSidebarMenu.CQI_6ilM.js} +1 -1
- package/dist/chunks/{MazSidebarMenuButton.BC8auQ6I.js → MazSidebarMenuButton.BgzvdJEt.js} +1 -1
- package/dist/chunks/{MazSidebarMenuItem.EyjJYG7K.js → MazSidebarMenuItem.BOko97cv.js} +1 -1
- package/dist/chunks/{MazSidebarMenuSub.7avgINdw.js → MazSidebarMenuSub.DTbqyV5Y.js} +1 -1
- package/dist/chunks/{MazSidebarSeparator.DILmOt4Y.js → MazSidebarSeparator.XTjjT_tB.js} +1 -1
- package/dist/chunks/{MazSidebarTrigger.DgeekNdT.js → MazSidebarTrigger.CA7l-uI6.js} +1 -1
- package/dist/chunks/{MazSkeleton.BttB7apB.js → MazSkeleton.Dx2Wx-KY.js} +1 -1
- package/dist/chunks/{MazSlider.D_mw3Xaz.js → MazSlider.DzOgeA_f.js} +1 -1
- package/dist/chunks/{MazStepper.BCmGzfqu.js → MazStepper.CVSQcw6J.js} +1 -1
- package/dist/chunks/{MazSwitch.DGvALrNy.js → MazSwitch.Bg7cKlB7.js} +1 -1
- package/dist/chunks/MazTable.DXHrgjj0.js +1 -0
- package/dist/chunks/{MazTableCell.DanonGyL.js → MazTableCell.Dr7Wi8TE.js} +1 -1
- package/dist/chunks/{MazTableRow.CfCJ68Jz.js → MazTableRow.DEPKPA2c.js} +1 -1
- package/dist/chunks/{MazTableTitle.wPBDe4yP.js → MazTableTitle.ol3LzAo2.js} +1 -1
- package/dist/chunks/{MazTabsContentItem.BnRyaugO.js → MazTabsContentItem.FeabvNjK.js} +1 -1
- package/dist/chunks/{MazTextarea.Bjm1aiq0.js → MazTextarea.heAeNgIu.js} +1 -1
- package/dist/chunks/{MazTicker.Bq2Hr4wS.js → MazTicker.IC-g93GQ.js} +1 -1
- package/dist/chunks/{MazTimeline.DMv-5ycU.js → MazTimeline.CwgMKnxB.js} +1 -1
- package/dist/chunks/{PhoneInput.CWpGjoMl.js → PhoneInput.vKrWkn63.js} +1 -1
- package/dist/chunks/{dialog.CSHAiFYD.js → dialog.ChqsxIxB.js} +1 -1
- package/dist/chunks/{toast.hv5q9Lvd.js → toast.DP0LSzC-.js} +1 -1
- package/dist/chunks/utils.B_6GvJKL.js +1 -0
- package/dist/chunks/{vFullscreenImg.CwJJnbrs.js → vFullscreenImg.B7baUTq6.js} +1 -1
- package/dist/components/MazAccordion.js +1 -1
- package/dist/components/MazAlert.js +1 -1
- package/dist/components/MazAnimatedElement.js +1 -1
- package/dist/components/MazAnimatedText.js +1 -1
- package/dist/components/MazAvatar.js +1 -1
- package/dist/components/MazBackdrop.js +1 -1
- package/dist/components/MazBadge.js +1 -1
- package/dist/components/MazBottomSheet.js +1 -1
- package/dist/components/MazBtn.js +1 -1
- package/dist/components/MazBtnGroup.js +1 -1
- package/dist/components/MazCard.js +1 -1
- package/dist/components/MazCardSpotlight.js +1 -1
- package/dist/components/MazCarousel.js +1 -1
- package/dist/components/MazCheckbox.js +1 -1
- package/dist/components/MazChecklist.js +1 -1
- package/dist/components/MazCircularProgressBar.js +1 -1
- package/dist/components/MazCodeHighlight.js +1 -1
- package/dist/components/MazContainer.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendar.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarDays.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.js +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.js +1 -1
- package/dist/components/MazDatePicker/MazPickerContainer.js +1 -1
- package/dist/components/MazDatePicker/MazPickerHeader.js +1 -1
- package/dist/components/MazDatePicker/MazPickerMonthSwitcher.js +1 -1
- package/dist/components/MazDatePicker/MazPickerShortcuts.js +1 -1
- package/dist/components/MazDatePicker/MazPickerTime.js +1 -1
- package/dist/components/MazDatePicker/MazPickerYearSwitcher.js +1 -1
- package/dist/components/MazDatePicker/utils.d.ts +1 -1
- package/dist/components/MazDatePicker.js +1 -1
- package/dist/components/MazDialog.js +1 -1
- package/dist/components/MazDialogConfirm.js +1 -1
- package/dist/components/MazDrawer.js +1 -1
- package/dist/components/MazDropdown.js +1 -1
- package/dist/components/MazDropzone.js +1 -1
- package/dist/components/MazExpandAnimation.js +1 -1
- package/dist/components/MazFullscreenLoader.js +1 -1
- package/dist/components/MazGallery.js +1 -1
- package/dist/components/MazIcon.js +1 -1
- package/dist/components/MazInput.js +1 -1
- package/dist/components/MazInputCode.js +1 -1
- package/dist/components/MazInputNumber.js +1 -1
- package/dist/components/MazInputPhoneNumber/PhoneInput.js +1 -1
- package/dist/components/MazInputPhoneNumber.js +1 -1
- package/dist/components/MazInputPrice.js +1 -1
- package/dist/components/MazInputTags.js +1 -1
- package/dist/components/MazLazyImg.js +1 -1
- package/dist/components/MazLink.js +1 -1
- package/dist/components/MazLoadingBar.js +1 -1
- package/dist/components/MazPagination.js +1 -1
- package/dist/components/MazPopover.js +1 -1
- package/dist/components/MazPullToRefresh.js +1 -1
- package/dist/components/MazRadio.js +1 -1
- package/dist/components/MazRadioButtons.js +1 -1
- package/dist/components/MazReadMore.js +1 -1
- package/dist/components/MazReadingProgressBar.js +1 -1
- package/dist/components/MazSelect.js +1 -1
- package/dist/components/MazSelectCountry.js +1 -1
- package/dist/components/MazSidebar.js +1 -1
- package/dist/components/MazSidebarContent.js +1 -1
- package/dist/components/MazSidebarFooter.js +1 -1
- package/dist/components/MazSidebarGroup.js +1 -1
- package/dist/components/MazSidebarHeader.js +1 -1
- package/dist/components/MazSidebarMenu.js +1 -1
- package/dist/components/MazSidebarMenuButton.js +1 -1
- package/dist/components/MazSidebarMenuItem.js +1 -1
- package/dist/components/MazSidebarMenuSub.js +1 -1
- package/dist/components/MazSidebarSeparator.js +1 -1
- package/dist/components/MazSidebarTrigger.js +1 -1
- package/dist/components/MazSkeleton.js +1 -1
- package/dist/components/MazSlider.js +1 -1
- package/dist/components/MazSpinner.js +1 -1
- package/dist/components/MazStepper.js +1 -1
- package/dist/components/MazSwitch.js +1 -1
- package/dist/components/MazTable.js +1 -1
- package/dist/components/MazTableCell.js +1 -1
- package/dist/components/MazTableRow.js +1 -1
- package/dist/components/MazTableTitle.js +1 -1
- package/dist/components/MazTabs.js +1 -1
- package/dist/components/MazTabsBar.js +1 -1
- package/dist/components/MazTabsContent.js +1 -1
- package/dist/components/MazTabsContentItem.js +1 -1
- package/dist/components/MazTextarea.js +1 -1
- package/dist/components/MazTicker.js +1 -1
- package/dist/components/MazTimeline.js +1 -1
- package/dist/components/MazUiProvider.js +1 -1
- package/dist/components/MazWindowMockup.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/composables/useFormField.js +1 -1
- package/dist/composables/useFormValidator.js +1 -1
- package/dist/composables/useSidebar.js +1 -1
- package/dist/directives/index.js +1 -1
- package/dist/directives/vFullscreenImg.js +1 -1
- package/dist/directives/vLazyImg.js +1 -1
- package/dist/directives/vTooltip.js +1 -1
- package/dist/plugins/dialog.js +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/toast.js +1 -1
- package/package.json +4 -4
- package/dist/assets/MazPickerCalendar.BC3gfMox.css +0 -2
- package/dist/assets/MazTable.DQqe1gRy.css +0 -2
- package/dist/chunks/MazDatePicker.DkIVE4b_.js +0 -1
- package/dist/chunks/MazPickerCalendarGrid.Cc6JZFbF.js +0 -1
- package/dist/chunks/MazPickerContainer.CtosiSJu.js +0 -1
- package/dist/chunks/MazTable.qqhIkUiR.js +0 -1
- package/dist/chunks/utils.BIXHUFDs.js +0 -1
- /package/dist/chunks/{MazPullToRefresh.fTsNymfa.js → MazPullToRefresh.CbPRq1z3.js} +0 -0
- /package/dist/chunks/{MazReadingProgressBar.BPbCJ7EE.js → MazReadingProgressBar.BcHAtJi9.js} +0 -0
- /package/dist/chunks/{MazSidebar.D5yxxBpW.js → MazSidebar.BbRVBDYC.js} +0 -0
- /package/dist/chunks/{MazSpinner.Dr0ARHj0.js → MazSpinner.DSO951_i.js} +0 -0
- /package/dist/chunks/{MazTabs.D9_wYiAg.js → MazTabs.BKiO8ea3.js} +0 -0
- /package/dist/chunks/{MazTabsBar.UgZ53Q9a.js → MazTabsBar.BtzkarA9.js} +0 -0
- /package/dist/chunks/{MazTabsContent.B8c31LaY.js → MazTabsContent.3n3JMUhb.js} +0 -0
- /package/dist/chunks/{MazUiProvider.nGPjLEGn.js → MazUiProvider.DlRehEZH.js} +0 -0
- /package/dist/chunks/{MazWindowMockup.D4kk_RIh.js → MazWindowMockup.BPtZQS_5.js} +0 -0
- /package/dist/chunks/{_plugin-vue_export-helper.DNdwHGPe.js → _plugin-vue_export-helper.ChmETRGw.js} +0 -0
- /package/dist/chunks/{autofillSync.8BzBZR3d.js → autofillSync.CsX6Qzf_.js} +0 -0
- /package/dist/chunks/{dom-events.CoQ5kqdC.js → dom-events.jotfM9Bu.js} +0 -0
- /package/dist/chunks/{hasSlotContent.COdIS5uN.js → hasSlotContent.BLn0kQC7.js} +0 -0
- /package/dist/chunks/{resolveLinkComponent.DGbSJAuA.js → resolveLinkComponent.yH64gJv0.js} +0 -0
- /package/dist/chunks/{types.B9A0rpl6.js → types.Dahe5l3v.js} +0 -0
- /package/dist/chunks/{vLazyImg.DRdCZLu-.js → vLazyImg.C7fTCbTe.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-8c791ec1],[data-v-8c791ec1]:before,[data-v-8c791ec1]:after{--tw-duration:initial}[data-v-8c791ec1]::backdrop{--tw-duration:initial}}}.m-date-picker .m-date-picker__button[data-v-8c791ec1]{height:100%;cursor:var(--maz-disabled-cursor);background-color:#0000;justify-content:center;align-items:center;padding-inline-end:calc(var(--maz-space) * 1);display:flex}.m-date-picker .m-date-picker__button__chevron[data-v-8c791ec1]{color:var(--maz-color-foreground,var(--maz-foreground));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--ease-out));transition-duration:var(--tw-duration,var(--duration-normal));--tw-duration:.2s;transition-duration:.2s}.m-date-picker.--is-open .m-date-picker__button__chevron[data-v-8c791ec1]{transform:rotate(180deg)}.m-date-picker:not(.--is-disabled) .m-date-picker__button[data-v-8c791ec1]{cursor:pointer}.m-date-picker:not(.--is-disabled) .m-date-picker__input[data-v-8c791ec1] input{cursor:pointer!important}@property --tw-duration{syntax:"*";inherits:false}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-5bd87e2e],[data-v-5bd87e2e]:before,[data-v-5bd87e2e]:after{--tw-border-style:solid}[data-v-5bd87e2e]::backdrop{--tw-border-style:solid}}}.maz-picker-calendar__main[data-v-5bd87e2e]{inline-size:16rem}.maz-picker-calendar__main.--has-double[data-v-5bd87e2e]{inline-size:34rem}.maz-picker-calendar__main.--has-double .maz-picker-calendar__months[data-v-5bd87e2e]>:first-child{border-inline-end-style:var(--tw-border-style);border-inline-end-width:var(--maz-border-width);border-color:var(--maz-color-divider,var(--maz-divider))}.maz-picker-slide-enter-active[data-v-5bd87e2e],.maz-picker-slide-leave-active[data-v-5bd87e2e]{transition:all .3s ease-in-out;transform:translateY(0)}.maz-picker-slide-enter-from[data-v-5bd87e2e],.maz-picker-slide-leave-to[data-v-5bd87e2e]{transform:translateY(100%)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
package/dist/assets/{MazPickerCalendarGrid.zqHuGI9G.css → MazPickerCalendarGrid.DiySQJQ9.css}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.maz-picker-calendar-grid__container.--is-range button[data-v-
|
|
2
|
+
.maz-picker-calendar-grid__container.--is-range button[data-v-fc747436]{width:100%}.maz-picker-calendar-grid__container button[data-v-fc747436]:hover:not(.--is-selected,.--is-between,.--is-between-hoverred){background-color:var(--v93bdda52)}.maz-picker-calendar-grid__container button.--is-first[data-v-fc747436]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.maz-picker-calendar-grid__container button.--is-last-hoverred[data-v-fc747436],.maz-picker-calendar-grid__container button.--is-last[data-v-fc747436]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.maz-picker-calendar-grid__container button.--is-between-hoverred[data-v-fc747436]{background-color:var(--maz-color-surface-600,oklch(from var(--maz-surface) clamp(0, calc(l - .05), 1) c h));border-radius:0!important}.maz-picker-calendar-grid__container button.--is-between-hoverred[data-v-fc747436]:where(.dark,.dark *){background-color:var(--maz-color-surface-400,oklch(from var(--maz-surface) clamp(0, calc(l + .06), 1) c h))}.maz-picker-calendar-grid__container button.--is-between[data-v-fc747436]{background-color:var(--maz-color-surface-600,oklch(from var(--maz-surface) clamp(0, calc(l - .05), 1) c h));color:var(--maz-color-foreground,var(--maz-foreground));border-radius:0!important}.maz-picker-calendar-grid__container button.--is-between[data-v-fc747436]:where(.dark,.dark *){background-color:var(--maz-color-surface-400,oklch(from var(--maz-surface) clamp(0, calc(l + .06), 1) c h))}.maz-picker-calendar-grid__container button.--is-between[data-v-fc747436]:hover{color:var(--v11ce37aa)}.maz-picker-calendar-grid__container button.--is-between.--transparent[data-v-fc747436]{background-color:var(--maz-color-gray-400,#99a1af)!important}@supports (color:lab(0% 0 0)){.maz-picker-calendar-grid__container button.--is-between.--transparent[data-v-fc747436]{background-color:var(--maz-color-gray-400,lab(65.9269% -.832707 -8.17473))!important}}.maz-picker-calendar-grid__container button[data-v-fc747436]:disabled{cursor:var(--maz-disabled-cursor);border-color:#0000}.maz-picker-calendar-grid__container button:disabled.--is-selected[data-v-fc747436]{background-color:var(--maz-color-surface-600,oklch(from var(--maz-surface) clamp(0, calc(l - .05), 1) c h))!important;color:var(--maz-color-muted,var(--maz-muted))!important}.maz-picker-calendar-grid__container button:disabled.--is-selected[data-v-fc747436]:where(.dark,.dark *){background-color:var(--maz-color-surface-400,oklch(from var(--maz-surface) clamp(0, calc(l + .06), 1) c h))}.maz-slidenext-leave-active[data-v-fc747436],.maz-slidenext-enter-active[data-v-fc747436],.maz-slideprev-leave-active[data-v-fc747436],.maz-slideprev-enter-active[data-v-fc747436]{inset-inline-end:calc(var(--maz-space) * 0);top:calc(var(--maz-space) * 0);left:calc(var(--maz-space) * 0);transition:transform .3s ease-in-out;position:absolute}.maz-slideprev-leave-to[data-v-fc747436],.maz-slidenext-enter-from[data-v-fc747436]{transform:translate(100%)}.maz-slidenext-leave-to[data-v-fc747436],.maz-slideprev-enter-from[data-v-fc747436]{transform:translate(-100%)}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.m-date-picker-container.--has-double[data-v-
|
|
2
|
+
.m-date-picker-container.--has-double[data-v-db9aa30a]{min-inline-size:28.125rem}.m-date-picker-container[data-v-db9aa30a] button:disabled{--tw-border-style:none;border-style:none;color:var(--maz-color-gray-300,#d1d5dc)!important;background-color:#0000!important}@supports (color:lab(0% 0 0)){.m-date-picker-container[data-v-db9aa30a] button:disabled{color:var(--maz-color-gray-300,lab(85.1236% -.612259 -3.7138))!important}}@media (hover:hover){.m-date-picker-container[data-v-db9aa30a] button:disabled:hover{background-color:#0000!important}}.m-date-picker-container[data-v-db9aa30a] button:disabled:where(.dark,.dark *){color:var(--maz-color-gray-700,#364153)!important}@supports (color:lab(0% 0 0)){.m-date-picker-container[data-v-db9aa30a] button:disabled:where(.dark,.dark *){color:var(--maz-color-gray-700,lab(27.1134% -.956401 -12.3224))!important}}.m-date-picker-container:not(.--has-date) .m-date-picker-container__time[data-v-db9aa30a]{width:100%}.m-date-picker-container:not(.--has-date) .m-date-picker-container__time[data-v-db9aa30a] .m-date-picker-time__column__hour,.m-date-picker-container:not(.--has-date) .m-date-picker-container__time[data-v-db9aa30a] .m-date-picker-time__column__minute{width:50%}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-b503215e],[data-v-b503215e]:before,[data-v-b503215e]:after{--tw-border-style:solid}[data-v-b503215e]::backdrop{--tw-border-style:solid}}}.m-date-picker-header__time-transition[data-v-b503215e]{min-inline-size:5rem}.m-date-picker-header__time:not(.--has-date) .m-date-picker-header__time-transition[data-v-b503215e]{justify-content:center;align-items:center;width:100%}.m-date-picker-header.--primary[data-v-b503215e]{background-color:var(--maz-color-primary,var(--maz-primary));color:var(--maz-color-primary-foreground,var(--maz-primary-foreground))}.m-date-picker-header.--secondary[data-v-b503215e]{background-color:var(--maz-color-secondary,var(--maz-secondary));color:var(--maz-color-secondary-foreground,var(--maz-secondary-foreground))}.m-date-picker-header.--info[data-v-b503215e]{background-color:var(--maz-color-info,var(--maz-info));color:var(--maz-color-info-foreground,var(--maz-info-foreground))}.m-date-picker-header.--success[data-v-b503215e]{background-color:var(--maz-color-success,var(--maz-success));color:var(--maz-color-success-foreground,var(--maz-success-foreground))}.m-date-picker-header.--warning[data-v-b503215e]{background-color:var(--maz-color-warning,var(--maz-warning));color:var(--maz-color-warning-foreground,var(--maz-warning-foreground))}.m-date-picker-header.--destructive[data-v-b503215e]{background-color:var(--maz-color-destructive,var(--maz-destructive));color:var(--maz-color-destructive-foreground,var(--maz-destructive-foreground))}.m-date-picker-header.--accent[data-v-b503215e]{background-color:var(--maz-color-accent,var(--maz-accent));color:var(--maz-color-accent-foreground,var(--maz-accent-foreground))}.m-date-picker-header.--contrast[data-v-b503215e]{background-color:var(--maz-color-contrast,var(--maz-contrast));color:var(--maz-color-contrast-foreground,var(--maz-contrast-foreground))}.m-date-picker-header.--transparent[data-v-b503215e]{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--maz-border-width);border-color:var(--maz-color-divider,var(--maz-divider));color:var(--maz-color-foreground,var(--maz-foreground))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
package/dist/assets/{MazPickerMonthSwitcher.B1j-eXaQ.css → MazPickerMonthSwitcher.CiMwoYth.css}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.maz-picker-month-switcher__main>button[data-v-
|
|
2
|
+
.maz-picker-month-switcher__main>button[data-v-89ce5d38]{height:100%!important}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-56641988],[data-v-56641988]:before,[data-v-56641988]:after{--tw-border-style:solid}[data-v-56641988]::backdrop{--tw-border-style:solid}}}.m-date-picker-time[data-v-56641988]{max-block-size:18.75rem}.m-date-picker-time[data-v-56641988]:not(.--has-date){max-block-size:10rem}.m-date-picker-time[data-v-56641988]:before{content:"";inset-inline-end:calc(var(--maz-space) * 0);top:50%;left:calc(var(--maz-space) * 0);height:calc(var(--maz-space) * 9);border-top-style:var(--tw-border-style);border-top-width:var(--maz-border-width);border-bottom-style:var(--tw-border-style);border-bottom-width:var(--maz-border-width);border-color:var(--maz-color-divider,var(--maz-divider));margin-inline:auto;position:absolute;transform:translateY(-50%)}.m-date-picker-time__column[data-v-56641988]{scrollbar-width:none;-ms-overflow-style:none}.m-date-picker-time__column[data-v-56641988]::-webkit-scrollbar{display:none}.m-date-picker-time__column__items>button[data-v-56641988]{z-index:2;flex:none}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-89847e91],[data-v-89847e91]:before,[data-v-89847e91]:after{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-duration:initial;--tw-ease:initial;--tw-divide-y-reverse:0}[data-v-89847e91]::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-duration:initial;--tw-ease:initial;--tw-divide-y-reverse:0}}}.m-table-wrapper[data-v-89847e91]:not(.--rounded-none){border-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-sm[data-v-89847e91],.m-table-wrapper.--rounded-sm table[data-v-89847e91]{border-radius:var(--maz-rounded-xs)}.m-table-wrapper.--rounded-sm table thead tr[data-v-89847e91]:hover:first-child{border-bottom-right-radius:var(--maz-rounded-sm);border-bottom-left-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-89847e91]:first-child{border-top-left-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-89847e91]:last-child{border-top-right-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-sm table tbody tr[data-v-89847e91]:hover:last-child{border-bottom-right-radius:var(--maz-rounded-sm);border-bottom-left-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-89847e91]:first-child{border-bottom-left-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-89847e91]:last-child{border-bottom-right-radius:var(--maz-rounded-sm)}.m-table-wrapper.--rounded-md[data-v-89847e91],.m-table-wrapper.--rounded-md table[data-v-89847e91]{border-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table thead tr[data-v-89847e91]:hover:first-child{border-bottom-right-radius:var(--maz-rounded-md);border-bottom-left-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-89847e91]:first-child{border-top-left-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-89847e91]:last-child{border-top-right-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table tbody tr[data-v-89847e91]:hover:last-child{border-bottom-right-radius:var(--maz-rounded-md);border-bottom-left-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-89847e91]:first-child{border-bottom-left-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-89847e91]:last-child{border-bottom-right-radius:var(--maz-rounded-md)}.m-table-wrapper.--rounded-lg[data-v-89847e91],.m-table-wrapper.--rounded-lg table[data-v-89847e91]{border-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table thead tr[data-v-89847e91]:hover:first-child{border-bottom-right-radius:var(--maz-rounded-lg);border-bottom-left-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-89847e91]:first-child{border-top-left-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-89847e91]:last-child{border-top-right-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table tbody tr[data-v-89847e91]:hover:last-child{border-bottom-right-radius:var(--maz-rounded-lg);border-bottom-left-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-89847e91]:first-child{border-bottom-left-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-89847e91]:last-child{border-bottom-right-radius:var(--maz-rounded-lg)}.m-table-wrapper.--rounded-xl[data-v-89847e91],.m-table-wrapper.--rounded-xl table[data-v-89847e91]{border-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table thead tr[data-v-89847e91]:hover:first-child{border-bottom-right-radius:var(--maz-rounded-xl);border-bottom-left-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-89847e91]:first-child{border-top-left-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-89847e91]:last-child{border-top-right-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table tbody tr[data-v-89847e91]:hover:last-child{border-bottom-right-radius:var(--maz-rounded-xl);border-bottom-left-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-89847e91]:first-child{border-bottom-left-radius:var(--maz-rounded-xl)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-89847e91]:last-child{border-bottom-right-radius:var(--maz-rounded-xl)}.m-table.--has-header[data-v-89847e91],.m-table:not(.--has-header) table[data-v-89847e91]{border-radius:var(--maz-rounded-md)}.m-table table[data-v-89847e91]{table-layout:var(--v159afb1f)}.m-table table.--has-layout[data-v-89847e91]{width:100%}.m-table table.--elevation[data-v-89847e91]{--tw-shadow:var(--maz-shadow-style-elevation);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-drop-shadow-size:drop-shadow(0 3px 3px var(--tw-drop-shadow-color,#0000001f));--tw-drop-shadow:drop-shadow(var(--maz-drop-shadow-md,0 3px 3px #0000001f));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.m-table table .m-table-select-column[data-v-89847e91]{width:2.9rem}.m-table table caption[data-v-89847e91]{padding:calc(var(--maz-space) * 3);caption-side:var(--c5aa1a38)}.m-table table thead[data-v-89847e91]{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--maz-border-width);border-color:var(--maz-color-divider,var(--maz-divider));word-break:break-all}.m-table table thead th[data-v-89847e91]{gap:calc(var(--maz-space) * 2);--tw-font-weight:var(--maz-font-weight-normal,400);font-weight:var(--maz-font-weight-normal,400);--tw-tracking:var(--maz-tracking-tight,-.025em);letter-spacing:var(--maz-tracking-tight,-.025em);word-break:break-all;color:var(--maz-color-muted,var(--maz-muted))}.m-table table thead th.--hidden[data-v-89847e91]{display:none}.m-table table thead th.--sortable[data-v-89847e91]{cursor:pointer}@media (hover:hover){.m-table table thead th.--sortable[data-v-89847e91]:hover{background-color:var(--maz-color-surface-600,oklch(from var(--maz-surface) clamp(0, calc(l - .05), 1) c h))}@supports (color:color-mix(in lab, red, red)){.m-table table thead th.--sortable[data-v-89847e91]:hover{background-color:color-mix(in oklab, var(--maz-color-surface-600,oklch(from var(--maz-surface) clamp(0, calc(l - .05), 1) c h)) 50%, transparent)}}.m-table table thead th.--sortable[data-v-89847e91]:where(.dark,.dark *):hover{background-color:var(--maz-color-surface-400,oklch(from var(--maz-surface) clamp(0, calc(l + .06), 1) c h))}}.m-table table thead th.--xl[data-v-89847e91]{padding-inline:calc(var(--maz-space) * 5);padding-block:calc(var(--maz-space) * 5);font-size:var(--maz-text-lg,1.125rem);line-height:var(--tw-leading,var(--maz-text-lg--line-height,calc(1.75 / 1.125)))}.m-table table thead th.--lg[data-v-89847e91]{padding-inline:calc(var(--maz-space) * 4);padding-block:calc(var(--maz-space) * 4);font-size:var(--maz-text-base,1rem);line-height:var(--tw-leading,var(--maz-text-base--line-height,calc(1.5 / 1)))}.m-table table thead th.--md[data-v-89847e91]{padding-inline:calc(var(--maz-space) * 3);padding-block:calc(var(--maz-space) * 3);font-size:var(--maz-text-sm,.875rem);line-height:var(--tw-leading,var(--maz-text-sm--line-height,calc(1.25 / .875)))}.m-table table thead th.--sm[data-v-89847e91]{padding-inline:calc(var(--maz-space) * 2);padding-block:calc(var(--maz-space) * 2);font-size:var(--maz-text-xs,.75rem);line-height:var(--tw-leading,var(--maz-text-xs--line-height,calc(1 / .75)))}.m-table table thead th.--xs[data-v-89847e91]{padding-inline:calc(var(--maz-space) * 1);padding-block:calc(var(--maz-space) * 1);font-size:var(--maz-text-xs,.75rem);line-height:var(--tw-leading,var(--maz-text-xs--line-height,calc(1 / .75)))}.m-table table thead th.--mini[data-v-89847e91]{padding-inline:calc(var(--maz-space) * .5);padding-block:calc(var(--maz-space) * .5);font-size:var(--maz-text-xs,.75rem);line-height:var(--tw-leading,var(--maz-text-xs--line-height,calc(1 / .75)))}.m-table table thead th span[data-v-89847e91]{align-items:center;gap:calc(var(--maz-space) * 1);display:inline-flex}.m-table table thead th span .m-table-sort-icon-wrapper[data-v-89847e91]{height:calc(var(--maz-space) * 4);width:calc(var(--maz-space) * 4)}.m-table table thead th span .m-table-sort-icon[data-v-89847e91]{color:var(--maz-color-muted,var(--maz-muted));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--ease-out));transition-duration:var(--tw-duration,var(--duration-normal));--tw-duration:.3s;--tw-ease:var(--maz-easing-out,cubic-bezier(.4, 0, .2, 1));transition-duration:.3s;transition-timing-function:var(--maz-easing-out,cubic-bezier(.4, 0, .2, 1))}.m-table table thead th span .m-table-sort-icon.--sorted[data-v-89847e91]{color:var(--maz-color-foreground,var(--maz-foreground));display:block}.m-table table thead th span .m-table-sort-icon.--sorted.--up[data-v-89847e91]{rotate:0deg}.m-table table thead th span .m-table-sort-icon.--sorted.--down[data-v-89847e91]{rotate:180deg}:where(.m-table table tbody.--divider[data-v-89847e91]>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(var(--maz-border-width) * var(--tw-divide-y-reverse));border-bottom-width:calc(var(--maz-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-color:var(--maz-color-divider,var(--maz-divider))}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{t as MazIcon_default}from"./MazIcon.BKcg5YfP.js";import{t as MazExpandAnimation_default}from"./MazExpandAnimation.DXi9Uibv.js";import{t as MazCardSpotlight_default}from"./MazCardSpotlight.Cp-9GWEo.js";import{Fragment,computed,createBlock,createElementBlock,createElementVNode,createVNode,defineComponent,normalizeClass,openBlock,ref,renderList,renderSlot,unref,useSlots,withCtx}from"vue";import{MazPlus}from"@maz-ui/icons/raw/MazPlus";import '../assets/MazAccordion.Rq57PLAP.css';var _hoisted_1={class:`m-accordion m-reset-css maz:relative maz:inline-flex maz:flex-col maz:gap-4 maz:align-top`,role:`presentation`};var _hoisted_2=[`id`,`aria-controls`,`aria-expanded`,`onClick`];var MazAccordion_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazAccordion`,props:{id:{default:()=>void 0},modelValue:{default:0},contentClass:{type:[Boolean,null,String,Object,Array],default:()=>void 0}},emits:[`update:model-value`],setup(__props,{emit:__emit}){let emits=__emit;let instanceId=useInstanceUniqId({componentName:`MazAccordion`,providedId:__props.id});let slots=useSlots();let stepCount=computed(()=>Object.keys(slots).filter(slot=>slot.startsWith(`title-`)).length);let localModelValue=ref(__props.modelValue);let currentStep=computed({get:()=>__props.modelValue||localModelValue.value,set:value=>{localModelValue.value=value,emits(`update:model-value`,value)}});function isStepOpen(index){return currentStep.value===index}function selectStep(index){currentStep.value===index?(localModelValue.value=0,emits(`update:model-value`,0)):(localModelValue.value=index,emits(`update:model-value`,index))}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(stepCount.value,step=>(openBlock(),createBlock(MazCardSpotlight_default,{key:step,class:`m-accordion__spotlight maz:w-full`,padding:!1},{default:withCtx(()=>[createElementVNode(`button`,{id:`step-${step}-${unref(instanceId)}`,class:`m-accordion__header maz:inline-flex maz:w-full maz:items-center maz:justify-between maz:gap-4 maz:p-4 maz:text-start maz:transition-colors maz:duration-300 maz:ease-in-out`,"aria-controls":`step-${step}-${unref(instanceId)}`,"aria-expanded":isStepOpen(step),onClick:$event=>selectStep(step)},[renderSlot(_ctx.$slots,`title-${step}`,{isOpen:isStepOpen(step)},void 0,!0),createVNode(MazIcon_default,{icon:unref(MazPlus),class:normalizeClass([`header-icon maz:transition-transform maz:duration-300 maz:ease-in-out`,{"--rotate":isStepOpen(step)}])},null,8,[`icon`,`class`])],8,_hoisted_2),createVNode(MazExpandAnimation_default,{"animation-duration":`300ms`,"model-value":isStepOpen(step),"aria-labelledby":`step-${step}-${unref(instanceId)}`},{default:withCtx(()=>[createElementVNode(`div`,{class:normalizeClass([`m-accordion__content maz:p-4`,__props.contentClass])},[renderSlot(_ctx.$slots,`content`,{isOpen:isStepOpen(step)},void 0,!0),renderSlot(_ctx.$slots,`content-${step}`,{isOpen:isStepOpen(step)},void 0,!0)],2)]),_:2},1032,[`model-value`,`aria-labelledby`])]),_:2},1024))),128))]))}}),[[`__scopeId`,`data-v-a0a7c8fe`]]);export{MazAccordion_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{computed,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,createVNode,defineAsyncComponent,defineComponent,normalizeClass,normalizeStyle,openBlock,renderSlot,toDisplayString,unref,useId,useSlots}from"vue";import{MazCheckCircle}from"@maz-ui/icons/lazy/MazCheckCircle";import{MazExclamationCircle}from"@maz-ui/icons/lazy/MazExclamationCircle";import{MazXCircle}from"@maz-ui/icons/lazy/MazXCircle";import{MazInformationCircle}from"@maz-ui/icons/lazy/MazInformationCircle";import '../assets/MazAlert.gOZN4HAY.css';var _hoisted_1=[`aria-labelledby`,`aria-describedby`];var _hoisted_2={key:0,class:`m-alert-icon maz:flex maz:shrink-0 maz:flex-center`,"aria-hidden":`true`};var _hoisted_3={class:`m-alert-body maz:flex maz:flex-1 maz:flex-col maz:gap-1`};var _hoisted_4=[`id`];var _hoisted_5=[`id`];var MazAlert_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazAlert`,props:{title:{},content:{},icon:{type:[Function,Object,String],default:void 0},hideIcon:{type:Boolean,default:!1},color:{default:`info`},iconSize:{default:`md`},roundedSize:{default:`md`},bordered:{type:Boolean,default:!0},variant:{default:`soft`}},setup(__props){let MazIcon=defineAsyncComponent(()=>import(`../components/MazIcon.js`));let slots=useSlots();let instanceId=useId();let headingId=computed(()=>`m-alert-heading-${instanceId}`);let contentId=computed(()=>`m-alert-content-${instanceId}`);let hasTitle=computed(()=>!!__props.title||!!slots.title);let hasContent=computed(()=>!!__props.content||!!slots.default);let colorStyles=computed(()=>({"--m-alert-bg":`var(--maz-${__props.color})`,"--m-alert-fg":`var(--maz-${__props.color}-foreground)`}));let ROUNDED_CLASS={none:``,sm:`maz:rounded-xs`,md:`maz:rounded-md`,lg:`maz:rounded-lg`,xl:`maz:rounded-xl`,"2xl":`maz:rounded-2xl`,"3xl":`maz:rounded-3xl`};let currentIcon=computed(()=>{if(!__props.hideIcon)return __props.icon?__props.icon:{success:MazCheckCircle,warning:MazExclamationCircle,destructive:MazXCircle,info:MazInformationCircle,primary:MazInformationCircle,secondary:MazInformationCircle,accent:MazInformationCircle,contrast:MazInformationCircle}[__props.color]});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-alert m-reset-css maz:flex maz:items-start maz:gap-3 maz:p-4`,[ROUNDED_CLASS[__props.roundedSize],`--${__props.variant}`,`--rounded-${__props.roundedSize}`,{"--bordered":__props.bordered,"maz:text-(--m-alert-color) maz:dark:text-(--m-alert-color-dark)":__props.variant===`soft`,"maz:bg-(--m-alert-bg) maz:text-(--m-alert-fg)":__props.variant===`solid`,"maz:border":__props.bordered,"maz:border-(--m-alert-border)":__props.bordered&&__props.variant===`solid`}]]),role:`alert`,"aria-labelledby":hasTitle.value?headingId.value:void 0,"aria-describedby":hasContent.value?contentId.value:void 0,style:normalizeStyle(colorStyles.value)},[currentIcon.value?(openBlock(),createElementBlock(`div`,_hoisted_2,[createVNode(unref(MazIcon),{icon:currentIcon.value,size:__props.iconSize},null,8,[`icon`,`size`])])):createCommentVNode(``,!0),createElementVNode(`div`,_hoisted_3,[hasTitle.value?(openBlock(),createElementBlock(`p`,{key:0,id:headingId.value,class:`m-alert-title maz:m-0 maz:font-display maz:leading-tight maz:font-semibold`},[renderSlot(_ctx.$slots,`title`,{},()=>[createTextVNode(toDisplayString(__props.title),1)],!0)],8,_hoisted_4)):createCommentVNode(``,!0),hasContent.value?(openBlock(),createElementBlock(`div`,{key:1,id:contentId.value,class:`m-alert-content maz:leading-relaxed`},[renderSlot(_ctx.$slots,`default`,{},()=>[createTextVNode(toDisplayString(__props.content),1)],!0)],8,_hoisted_5)):createCommentVNode(``,!0)])],14,_hoisted_1))}}),[[`__scopeId`,`data-v-dd7c88ea`]]);export{MazAlert_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{computed,createElementBlock,defineComponent,nextTick,normalizeStyle,onBeforeUnmount,onMounted,openBlock,ref,renderSlot}from"vue";import '../assets/MazAnimatedElement.1lYkOmS_.css';var MazAnimatedElement_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazAnimatedElement`,props:{direction:{default:`up`},delay:{default:0},duration:{default:2e3},once:{type:Boolean,default:!0}},setup(__props){let animatedClass=computed(()=>`animate-slide-${__props.direction}-blur`);let element=ref();let isAnimated=ref(!1);let observer=null;let animationFrameId=null;function triggerAnimation(){animationFrameId=requestAnimationFrame(()=>{element.value&&(element.value.classList.remove(`maz:invisible`),element.value.classList.add(animatedClass.value),isAnimated.value=!0)})}function resetAnimation(){element.value&&(element.value.classList.add(`maz:invisible`),element.value.classList.remove(animatedClass.value),isAnimated.value=!1)}return onMounted(()=>{observer=new IntersectionObserver(([entry])=>{entry.isIntersecting&&!isAnimated.value?(nextTick(()=>{setTimeout(triggerAnimation,__props.delay)}),__props.once===!0&&observer?.unobserve(entry.target)):__props.once===!1&&!entry.isIntersecting&&resetAnimation()}),element.value&&observer.observe(element.value)}),onBeforeUnmount(()=>{observer?.disconnect(),animationFrameId&&cancelAnimationFrame(animationFrameId)}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`element`,ref:element,class:`m-animated-element m-reset-css maz:invisible`,style:normalizeStyle({animationDuration:`${__props.duration}ms`})},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],4))}}),[[`__scopeId`,`data-v-dc271a62`]]);export{MazAnimatedElement_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{Fragment,computed,createBlock,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,defineComponent,mergeProps,nextTick,normalizeClass,normalizeStyle,onBeforeUnmount,onMounted,openBlock,ref,renderList,resolveDynamicComponent,toDisplayString,withCtx}from"vue";import{checkAvailability}from"@maz-ui/utils/helpers/checkAvailability";import '../assets/MazAnimatedText.BGKTLin2.css';var _hoisted_1={class:`m-animated-text__last-word-inner maz:relative maz:inline-flex`};var _hoisted_2={class:`m-animated-text__last-word-inner-text maz:relative`};var MazAnimatedText_default=_plugin_vue_export_helper_default(defineComponent({inheritAttrs:!1,__name:`MazAnimatedText`,props:{text:{},lastWord:{},delay:{default:0},direction:{default:`up`},tag:{default:`span`},wordDelay:{default:75},columnGap:{default:.5},rowGap:{default:0},duration:{default:2e3},once:{type:Boolean,default:!0},gradientFrom:{default:`primary`},gradientVia:{default:`info`},gradientTo:{default:`secondary`}},setup(__props){let words=computed(()=>__props.text.split(` `));let wordCount=computed(()=>words.value.length);let isVisible=ref(!1);let isClient=ref(!1);let animatedWords=ref([]);let element=ref();let observer=null;let animationFrameId=null;function triggerWordAnimations(){let totalWords=words.value.length+ +!!__props.lastWord;animatedWords.value=Array.from({length:totalWords},()=>!1);let currentIndex=0;let animateNextWord=()=>{currentIndex<totalWords&&requestAnimationFrame(()=>{animatedWords.value[currentIndex]=!0,currentIndex++,currentIndex<totalWords&&(animationFrameId=setTimeout(animateNextWord,__props.wordDelay))})};setTimeout(animateNextWord,__props.delay)}onMounted(()=>{isClient.value=!0,observer=new IntersectionObserver(([entry])=>{entry.isIntersecting&&!isVisible.value&&(isVisible.value=!0,nextTick(()=>{triggerWordAnimations()}),__props.once&&element.value&&observer?.unobserve(element.value))}),checkAvailability(()=>element.value,element=>{observer?.observe(element)})}),onBeforeUnmount(()=>{observer?.disconnect(),animationFrameId&&clearTimeout(animationFrameId)});let gradientStyle=computed(()=>{if(__props.lastWord)return`linear-gradient(to right, ${[`var(--maz-${__props.gradientFrom})`,...__props.gradientVia?[`var(--maz-${__props.gradientVia})`]:[],`var(--maz-${__props.gradientTo})`].join(`, `)})`});return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`m-reset-css m-animated-text`,style:normalizeStyle({"--maz-gradient-style":gradientStyle.value})},[isClient.value?(openBlock(),createBlock(resolveDynamicComponent(__props.tag),mergeProps({key:0,ref_key:`element`,ref:element},_ctx.$attrs,{class:`m-animated-text__root maz:inline-flex maz:flex-wrap`,style:{columnGap:`${__props.columnGap}rem`,rowGap:`${__props.rowGap}rem`}}),{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(words.value,(word,index)=>(openBlock(),createElementBlock(`span`,{key:word+index,class:`m-animated-text__word maz:inline-flex`},[createElementVNode(`span`,{class:normalizeClass([`m-animated-text__word-inner maz:inline-flex`,animatedWords.value[index]?`maz-animate-slide-${__props.direction}-blur`:`maz:invisible`]),style:normalizeStyle({animationDuration:`${__props.duration}ms`})},toDisplayString(word),7)]))),128)),__props.lastWord?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`m-animated-text__last-word maz:inline-flex`,animatedWords.value[wordCount.value]?`maz-animate-slide-${__props.direction}-blur`:`maz:invisible`]),style:normalizeStyle({animationDuration:`${__props.duration}ms`})},[createElementVNode(`span`,_hoisted_1,[createElementVNode(`span`,_hoisted_2,toDisplayString(__props.lastWord),1)])],6)):createCommentVNode(``,!0)]),_:1},16,[`style`])):(openBlock(),createBlock(resolveDynamicComponent(__props.tag),mergeProps({key:1},_ctx.$attrs,{class:`maz:invisible maz:inline-flex`}),{default:withCtx(()=>[createTextVNode(toDisplayString(__props.text)+` `,1),__props.lastWord?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(__props.lastWord),1)],64)):createCommentVNode(``,!0)]),_:1},16))],4))}}),[[`__scopeId`,`data-v-17ce7a30`]]);export{MazAnimatedText_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{t as resolveLinkComponent}from"./resolveLinkComponent.yH64gJv0.js";import{Fragment,computed,createBlock,createCommentVNode,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,mergeProps,normalizeClass,normalizeStyle,openBlock,renderSlot,resolveDynamicComponent,toDisplayString,unref,withCtx}from"vue";import{MazPencil}from"@maz-ui/icons/lazy/MazPencil";import '../assets/MazAvatar.B-41e8Vz.css';var _hoisted_1=[`tabindex`];var _hoisted_2=[`src`,`alt`,`loading`];var _hoisted_3={class:`m-avatar__initial maz:text-[1.5em] maz:capitalize`};var _hoisted_4={key:0,class:`m-avatar__caption maz:w-full maz:truncate maz:text-center maz:font-medium maz:capitalize`};var MazAvatar_default=_plugin_vue_export_helper_default(defineComponent({inheritAttrs:!1,__name:`MazAvatar`,props:{style:{type:[Boolean,null,String,Object,Array]},class:{type:[Boolean,null,String,Object,Array]},src:{default:()=>void 0},caption:{default:()=>void 0},href:{default:()=>void 0},to:{default:()=>void 0},alt:{default:`avatar image`},target:{default:`_self`},size:{default:()=>void 0},bordered:{type:Boolean},clickable:{type:Boolean},square:{type:Boolean},noElevation:{type:Boolean},showCaption:{type:Boolean},imageHeightFull:{type:Boolean},hideLoader:{type:Boolean},buttonColor:{default:`info`},hideClickableIcon:{type:Boolean},letterCount:{default:()=>void 0},roundedSize:{default:`md`},fallbackSrc:{default:()=>void 0},loading:{default:`intersecting`},color:{default:`primary`}},emits:[`click`,`intersecting`,`loading`,`loaded`,`error`],setup(__props,{emit:__emit}){let emits=__emit;let MazLazyImg=defineAsyncComponent(()=>import(`../components/MazLazyImg.js`));let componentType=computed(()=>__props.to?resolveLinkComponent():__props.href?`a`:`div`);let isLink=computed(()=>!!__props.to||!!__props.href);function getInitials(name,lettersCount=__props.letterCount){return name.split(` `).map(word=>word[0]).join(``).slice(0,lettersCount)}let shouldDisplayImg=computed(()=>__props.src||!__props.src&&!__props.caption);function handleImageError(event){if(emits(`error`,event.target),__props.fallbackSrc&&event.target instanceof HTMLImageElement){let currentSrc=new URL(event.target.src);let fallbackSource=new URL(__props.fallbackSrc);if(currentSrc.href===fallbackSource.href)return;event.target.src=fallbackSource.href}}let hasInitial=computed(()=>!__props.src&&__props.caption);let ROUNDED_CLASS={none:`maz:rounded-none`,sm:`maz:rounded-xs`,md:`maz:rounded-md`,lg:`maz:rounded-lg`,xl:`maz:rounded-xl`,full:`maz:rounded-full`};return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(componentType.value),{style:normalizeStyle([{fontSize:__props.size},__props.style]),class:normalizeClass([`m-avatar m-reset-css maz:inline-flex maz:flex-col maz:flex-center maz:gap-[0.5em] maz:align-top maz:no-underline!`,[{"--has-link":isLink.value,"maz:cursor-pointer":isLink.value},__props.class]]),href:__props.href,to:__props.to,target:isLink.value?__props.target:void 0},{default:withCtx(()=>[createElementVNode(`div`,{class:normalizeClass([`m-avatar__wrapper maz:relative maz:flex maz:size-[3em] maz:flex-none maz:justify-center maz:overflow-hidden`,[ROUNDED_CLASS[__props.square?`none`:__props.roundedSize],`--rounded-${__props.square?`none`:__props.roundedSize}`,{"--clickable":__props.clickable,"--has-shadow":!__props.noElevation,"--bordered":__props.bordered,"--has-initial":hasInitial.value,"maz:shadow-sm":!__props.noElevation,"maz:border maz:border-solid maz:border-divider":__props.bordered,"maz:items-center":hasInitial.value}]]),tabindex:__props.clickable?0:-1,style:normalizeStyle(hasInitial.value?{backgroundColor:`var(--maz-${__props.color})`,color:`var(--maz-${__props.color}-foreground)`}:void 0)},[shouldDisplayImg.value?(openBlock(),createElementBlock(Fragment,{key:0},[__props.loading===`intersecting`?(openBlock(),createBlock(unref(MazLazyImg),mergeProps({key:0},_ctx.$attrs,{class:`m-avatar__picture maz:w-full maz:max-w-full`,src:__props.src,alt:__props.alt,"image-height-full":``,"hide-loader":__props.hideLoader,"fallback-src":__props.fallbackSrc,onClick:_cache[0]||=$event=>__props.clickable?_ctx.$emit(`click`,$event):null,onError:_cache[1]||=$event=>_ctx.$emit(`error`,$event),onLoaded:_cache[2]||=$event=>_ctx.$emit(`loaded`,$event),onLoading:_cache[3]||=$event=>_ctx.$emit(`loading`,$event),onIntersecting:_cache[4]||=$event=>_ctx.$emit(`intersecting`,$event)}),null,16,[`src`,`alt`,`hide-loader`,`fallback-src`])):(openBlock(),createElementBlock(`img`,{key:1,class:`m-avatar__picture maz:w-full maz:max-w-full`,src:__props.src??__props.fallbackSrc,alt:__props.alt,loading:__props.loading,onError:handleImageError},null,40,_hoisted_2))],64)):createCommentVNode(``,!0),__props.caption&&!__props.src?renderSlot(_ctx.$slots,`round-text`,{key:1},()=>[createElementVNode(`span`,_hoisted_3,toDisplayString(getInitials(__props.caption)),1)],!0):createCommentVNode(``,!0),__props.clickable?(openBlock(),createElementBlock(`button`,{key:2,type:`button`,tabindex:`-1`,class:normalizeClass([`m-avatar__button maz:absolute maz:inset-0 maz:flex maz:w-full maz:cursor-pointer maz:flex-center maz:border-none maz:bg-transparent maz:opacity-0 maz:transition-all maz:duration-200`,ROUNDED_CLASS[__props.square?`none`:__props.roundedSize]]),style:normalizeStyle({backgroundColor:__props.src?`color-mix(in srgb, var(--maz-${__props.buttonColor}) 60%, transparent)`:`var(--maz-${__props.buttonColor})`}),onClick:_cache[5]||=$event=>_ctx.$emit(`click`,$event)},[__props.hideClickableIcon?createCommentVNode(``,!0):renderSlot(_ctx.$slots,`icon`,{key:0},()=>[createVNode(unref(MazPencil),{class:`m-avatar__button__icon maz:text-white`})],!0)],6)):createCommentVNode(``,!0)],14,_hoisted_1),renderSlot(_ctx.$slots,`caption`,{},()=>[__props.showCaption&&__props.caption?(openBlock(),createElementBlock(`p`,_hoisted_4,toDisplayString(__props.caption),1)):createCommentVNode(``,!0)],!0)]),_:3},8,[`style`,`class`,`href`,`to`,`target`]))}}),[[`__scopeId`,`data-v-bc1f720a`]]);export{MazAvatar_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{Teleport,Transition,createBlock,createCommentVNode,createElementBlock,createElementVNode,createVNode,defineComponent,mergeProps,nextTick,normalizeClass,onMounted,openBlock,ref,renderSlot,watch,withCtx,withModifiers}from"vue";import '../assets/MazBackdrop.aF8491-l.css';var _hoisted_1=[`aria-labelledby`,`aria-describedby`];var _hoisted_2={role:`dialog`,class:`m-backdrop-container maz:fixed maz:inset-0 maz:z-default-backdrop`,"aria-modal":`true`};var _hoisted_3={class:`m-backdrop-wrapper maz:fixed maz:inset-0 maz:overflow-y-auto`};var MODAL_OPENED_CLASS=`--backdrop-present`;var MazBackdrop_default=_plugin_vue_export_helper_default(defineComponent({inheritAttrs:!1,__name:`MazBackdrop`,props:{modelValue:{type:Boolean,default:!1},teleportSelector:{default:`body`},beforeClose:{type:Function},persistent:{type:Boolean,default:!1},closeOnEscape:{type:Boolean,default:!0},transitionName:{default:`backdrop-anim`},backdropClass:{type:[Boolean,null,String,Object,Array]},backdropContentClass:{type:[Boolean,null,String,Object,Array]},contentPadding:{type:Boolean,default:!1},justify:{default:`none`},align:{default:`none`},variant:{},ariaLabelledby:{},ariaDescribedby:{}},emits:[`open`,`close`,`update:model-value`,`before-close`],setup(__props,{expose:__expose,emit:__emit}){let emits=__emit;function getScrollbarWidth(){return window.innerWidth-document.documentElement.clientWidth}function addClassToDocument(){let scrollbarWidth=getScrollbarWidth();scrollbarWidth>0&&(document.documentElement.style.setProperty(`--scrollbar-width`,`${scrollbarWidth}px`),document.documentElement.classList.add(`--has-scrollbar`)),document.documentElement.classList.add(MODAL_OPENED_CLASS)}function removeClassFromDocument(){document.querySelector(`.m-backdrop.--present`)||(document.documentElement.classList.remove(MODAL_OPENED_CLASS),document.documentElement.classList.remove(`--has-scrollbar`),document.documentElement.style.removeProperty(`--scrollbar-width`))}let present=ref(__props.modelValue);function close(){__props.persistent||toggleModal(!1)}async function toggleModal(value){let newValue=value??!present.value;newValue||(emits(`before-close`),await __props.beforeClose?.()),present.value=newValue}function onBackdropAnimationEnter(){emits(`open`)}function onBackdropAnimationLeave(){emits(`update:model-value`,!1),emits(`close`),removeClassAndEventToDocument()}function onKeyPress(event){__props.closeOnEscape&&event.key===`Escape`&&close()}function addClassAndEventToDocument(){addClassToDocument(),document.addEventListener(`keyup`,onKeyPress,!1),document.addEventListener(`keydown`,trapFocus,!1)}function removeClassAndEventToDocument(){try{document.removeEventListener(`keyup`,onKeyPress),document.removeEventListener(`keydown`,trapFocus)}catch(error){console.warn(`Error removing event listeners:`,error)}removeClassFromDocument()}onMounted(()=>{__props.modelValue?addClassAndEventToDocument():removeClassAndEventToDocument()});let initialFocusableElement=null;function getAllFocusableElements(selector){let modal=document.querySelector(selector);return(modal&&[...modal.querySelectorAll(`a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], input[type="time"], select, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]`)])?.filter(el=>{let style=globalThis.getComputedStyle(el);let isDisabled=`disabled`in el?el.disabled:!1;return style.display!==`none`&&style.visibility!==`hidden`&&!isDisabled&&el.tabIndex!==-1})||[]}function findFirstFocusableElement(selector){let focusableElements=getAllFocusableElements(selector);return focusableElements.length>0?focusableElements[0]:null}function trapFocus(event){if(event.key!==`Tab`)return;let focusableElements=getAllFocusableElements(`.m-backdrop-content`);if(focusableElements.length===0)return;let firstFocusable=focusableElements[0];let lastFocusable=focusableElements.at(-1);event.shiftKey?document.activeElement===firstFocusable&&(event.preventDefault(),lastFocusable?.focus()):document.activeElement===lastFocusable&&(event.preventDefault(),firstFocusable?.focus())}watch(()=>__props.modelValue,async value=>{present.value=value,value?(addClassAndEventToDocument(),initialFocusableElement=document.activeElement,await nextTick(),findFirstFocusableElement(`.m-backdrop-content`)?.focus()):(removeClassAndEventToDocument(),await nextTick(),initialFocusableElement?.focus())});let JUSTIFY_CLASS={center:`maz:justify-center`,end:`maz:justify-end`,start:`maz:justify-start`,"space-between":`maz:justify-between`,"space-around":`maz:justify-around`,none:``};let ALIGN_CLASS={center:`maz:items-center`,end:`maz:items-end`,start:`maz:items-start`,none:`maz:items-end maz:tab-s:items-center`};return __expose({onBackdropAnimationLeave,close,present,toggleModal,onKeyPress}),(_ctx,_cache)=>(openBlock(),createBlock(Teleport,{to:__props.teleportSelector,disabled:!present.value},[createVNode(Transition,{appear:``,name:__props.transitionName,onAfterEnter:onBackdropAnimationEnter,onAfterLeave:onBackdropAnimationLeave},{default:withCtx(()=>[present.value?(openBlock(),createElementBlock(`div`,mergeProps({key:0,class:`m-backdrop --present m-reset-css maz:fixed maz:inset-0 maz:z-default-backdrop maz:bg-overlay/25 maz:backdrop-blur-sm`},_ctx.$attrs,{class:[__props.backdropClass,__props.variant&&`--variant-${__props.variant}`,{"--persistent":__props.persistent}],"aria-labelledby":__props.ariaLabelledby,"aria-describedby":__props.ariaDescribedby}),[createElementVNode(`div`,_hoisted_2,[createElementVNode(`div`,_hoisted_3,[createElementVNode(`div`,{class:normalizeClass([`m-backdrop-content maz:flex maz:min-h-full maz:tab-s:p-0`,[__props.backdropContentClass,JUSTIFY_CLASS[__props.justify],ALIGN_CLASS[__props.align],`--justify-${__props.justify}`,`--align-${__props.align}`,{"--padding":__props.contentPadding,"maz:p-4":__props.contentPadding,"maz:cursor-default":__props.persistent,"maz:fixed maz:inset-0":__props.variant===`bottom-sheet`||__props.variant===`drawer`}]]),role:`button`,tabindex:`-1`,onPointerdown:withModifiers(close,[`self`])},[renderSlot(_ctx.$slots,`default`,{close},void 0,!0)],34)])])],16,_hoisted_1)):createCommentVNode(``,!0)]),_:3},8,[`name`])],8,[`to`,`disabled`]))}}),[[`__scopeId`,`data-v-15f0b7c3`]]);export{MazBackdrop_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as getColor}from"./types.
|
|
1
|
+
import{t as getColor}from"./types.Dahe5l3v.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{computed,createElementBlock,defineComponent,normalizeClass,normalizeStyle,openBlock,renderSlot}from"vue";import '../assets/MazBadge.7wvLTpXT.css';var MazBadge_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazBadge`,props:{color:{default:`primary`},size:{default:`md`},nowrap:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},pastel:{type:Boolean,default:!1},roundedSize:{default:`md`}},setup(__props){let resolvedColor=computed(()=>getColor(__props.color));let ROUNDED_CLASS={none:``,sm:`maz:rounded-xs`,md:`maz:rounded-md`,lg:`maz:rounded-lg`,xl:`maz:rounded-xl`,full:`maz:rounded-full`};let SIZE_CLASS={mini:`maz:text-[0.625rem]`,xs:`maz:text-[0.6875rem]`,sm:`maz:text-xs`,md:`maz:text-sm`,lg:`maz:text-base`,xl:`maz:text-xl`};let badgeStyle=computed(()=>{let c=resolvedColor.value;if(!(c===`surface`||c===`transparent`))return{"--m-badge-bg":`var(--maz-${c})`,"--m-badge-fg":`var(--maz-${c}-foreground)`,...__props.pastel&&c===`contrast`&&{"--m-badge-pastel-fg":`var(--maz-contrast-foreground)`}}});return(_ctx,_cache)=>(openBlock(),createElementBlock(`span`,{class:normalizeClass([`m-badge m-reset-css maz:inline-flex maz:flex-center maz:border maz:border-transparent maz:align-top maz:font-semibold`,[`--${resolvedColor.value}`,`--${__props.size}`,`--rounded-${__props.roundedSize}`,ROUNDED_CLASS[__props.roundedSize],SIZE_CLASS[__props.size],{"--outlined":__props.outlined,"--pastel":__props.pastel,"--nowrap":__props.nowrap,"maz:whitespace-nowrap":__props.nowrap}]]),style:normalizeStyle(badgeStyle.value)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],6))}}),[[`__scopeId`,`data-v-70322da2`]]);export{MazBadge_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as MazIcon_default}from"./MazIcon.
|
|
1
|
+
import{t as MazIcon_default}from"./MazIcon.BKcg5YfP.js";import{t as MazBtn_default}from"./MazBtn.BbzUbXCS.js";import{t as MazBackdrop_default}from"./MazBackdrop.Dr4Jzi7i.js";import{createBlock,createCommentVNode,createElementVNode,createVNode,defineComponent,normalizeClass,openBlock,renderSlot,unref,withCtx}from"vue";import{MazXMark}from"@maz-ui/icons/raw/MazXMark";var MazBottomSheet_default=defineComponent({__name:`MazBottomSheet`,props:{modelValue:{type:Boolean},hideCloseButton:{type:Boolean,default:!1},padding:{type:Boolean,default:!0}},emits:[`update:model-value`,`open`,`close`],setup(__props,{emit:__emit}){let emits=__emit;return(_ctx,_cache)=>(openBlock(),createBlock(MazBackdrop_default,{"model-value":__props.modelValue,"transition-name":`bottom-sheet-anim`,"backdrop-class":`--bottom-sheet`,"content-padding":!1,align:`end`,justify:`none`,variant:`bottom-sheet`,onClose:_cache[0]||=$event=>_ctx.$emit(`close`,$event),onOpen:_cache[1]||=$event=>_ctx.$emit(`open`,$event),"onUpdate:modelValue":_cache[2]||=$event=>emits(`update:model-value`,$event)},{default:withCtx(({close})=>[createElementVNode(`div`,{class:normalizeClass([`m-bottom-sheet__container maz:relative maz:w-full maz:rounded-t-lg maz:bg-container maz:px-12 maz:text-foreground maz:shadow-elevation maz:drop-shadow-md`,{"--padding":__props.padding,"maz:py-6":__props.padding}])},[renderSlot(_ctx.$slots,`default`,{close}),__props.hideCloseButton?createCommentVNode(``,!0):(openBlock(),createBlock(MazBtn_default,{key:0,size:`sm`,class:`m-bottom-sheet__close maz:absolute! maz:inset-e-2 maz:top-2`,color:`transparent`,onClick:close},{default:withCtx(()=>[createVNode(MazIcon_default,{icon:unref(MazXMark),class:`maz:text-lg`},null,8,[`icon`])]),_:1},8,[`onClick`]))],2)]),_:3},8,[`model-value`]))}});export{MazBottomSheet_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as hasSlotContent}from"./hasSlotContent.
|
|
1
|
+
import{t as hasSlotContent}from"./hasSlotContent.BLn0kQC7.js";import{t as getColor}from"./types.Dahe5l3v.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{useMazIconProps}from"../composables/useMazIconProps.js";import{t as resolveLinkComponent}from"./resolveLinkComponent.yH64gJv0.js";import{computed,createBlock,createCommentVNode,createElementBlock,createTextVNode,createVNode,defineAsyncComponent,defineComponent,mergeProps,normalizeClass,normalizeProps,normalizeStyle,openBlock,renderSlot,resolveDynamicComponent,toDisplayString,unref,useAttrs,withCtx}from"vue";import '../assets/MazBtn.B1jqSFkP.css';var _hoisted_1={key:0,class:`m-btn-loader-container`};var MazBtn_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazBtn`,props:{text:{},size:{default:`md`},color:{default:`primary`},type:{default:`button`},roundedSize:{default:`md`},outlined:{type:Boolean},pastel:{type:Boolean},block:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},fab:{type:Boolean},icon:{type:[String,Function,Object]},startIcon:{type:[String,Function,Object]},endIcon:{type:[String,Function,Object]},padding:{type:Boolean,default:!0},justify:{default:`center`},active:{type:Boolean}},setup(__props){let MazIcon=defineAsyncComponent(()=>import(`../components/MazIcon.js`));let MazSpinner=defineAsyncComponent(()=>import(`../components/MazSpinner.js`));let{href,to}=useAttrs();let component=computed(()=>href?`a`:to?resolveLinkComponent():`button`);let resolvedColor=computed(()=>getColor(__props.color));let isDisabled=computed(()=>(__props.loading||__props.disabled)&&component.value===`button`);let btnType=computed(()=>component.value===`button`?__props.type:void 0);let iconSize=computed(()=>({xl:`lg`,lg:`md`,md:`md`,sm:`sm`,xs:`xs`,mini:`1em`})[__props.size]||`lg`);let{iconProps:startIconProps}=useMazIconProps(()=>__props.startIcon,()=>({size:iconSize.value}));let{iconProps:endIconProps}=useMazIconProps(()=>__props.endIcon,()=>({size:iconSize.value}));let{iconProps:fabIconProps}=useMazIconProps(()=>__props.icon,()=>({size:iconSize.value}));let btnStyle=computed(()=>{let c=resolvedColor.value;let base={"--m-btn-justify":__props.justify};return c===`transparent`||c===`surface`?base:{...base,"--m-btn-bg":`var(--maz-${c})`,"--m-btn-fg":`var(--maz-${c}-foreground)`,...__props.pastel&&c===`contrast`&&{"--m-btn-pastel-fg":`var(--maz-contrast-foreground)`}}});let SIZE_CLASS={xl:`maz:min-h-16 maz:px-8 maz:text-xl`,lg:`maz:min-h-14 maz:px-6`,md:`maz:min-h-12 maz:px-4`,sm:`maz:min-h-10 maz:px-3`,xs:`maz:min-h-8 maz:px-2 maz:text-sm`,mini:`maz:min-h-6 maz:px-1 maz:text-xs`};let ROUNDED_CLASS={none:``,sm:`maz:rounded-xs`,md:`maz:rounded-md`,lg:`maz:rounded-lg`,xl:`maz:rounded-xl`,full:`maz:rounded-full`};let FAB_SIZE_CLASS={xl:`maz:w-16`,lg:`maz:w-14`,md:`maz:w-12`,sm:`maz:w-10`,xs:`maz:w-8`,mini:`maz:w-6`};let ICON_PADDING_CLASS={xl:{start:`maz:ps-6`,end:`maz:pe-6`},lg:{start:`maz:ps-4`,end:`maz:pe-4`},md:{start:`maz:ps-2`,end:`maz:pe-2`},sm:{start:`maz:ps-2`,end:`maz:pe-2`},xs:{start:``,end:``},mini:{start:``,end:``}};return(_ctx,_cache)=>(openBlock(),createBlock(resolveDynamicComponent(component.value),{disabled:isDisabled.value,class:normalizeClass([`m-btn m-reset-css maz:inline-flex maz:cursor-pointer maz:items-center maz:gap-2 maz:overflow-hidden maz:border maz:border-solid maz:border-transparent maz:bg-transparent maz:py-0.5 maz:text-center maz:align-top maz:text-foreground maz:no-underline maz:transition-all maz:duration-200 maz:ease-in-out`,[`--${resolvedColor.value}`,`--${__props.size}`,!__props.fab&&__props.roundedSize?`--rounded-${__props.roundedSize}`:``,SIZE_CLASS[__props.size],__props.fab?`maz:flex maz:flex-center maz:rounded-full maz:p-1`:ROUNDED_CLASS[__props.roundedSize],__props.fab?FAB_SIZE_CLASS[__props.size]:``,__props.startIcon||unref(hasSlotContent)(_ctx.$slots[`start-icon`])?ICON_PADDING_CLASS[__props.size].start:``,__props.endIcon||unref(hasSlotContent)(_ctx.$slots[`end-icon`])?ICON_PADDING_CLASS[__props.size].end:``,{"maz:relative":__props.loading,"--outlined":__props.outlined,"--pastel":__props.pastel,"--block":__props.block&&!__props.fab,"--fab":__props.fab,"--loading":__props.loading,"--active":__props.active,"--no-padding":!__props.padding,"--has-start-icon":!!__props.startIcon||unref(hasSlotContent)(_ctx.$slots[`start-icon`]),"--has-end-icon":!!__props.endIcon||unref(hasSlotContent)(_ctx.$slots[`end-icon`])}]]),style:normalizeStyle(btnStyle.value),type:btnType.value},{default:withCtx(()=>[renderSlot(_ctx.$slots,`start-icon`,{},()=>[unref(startIconProps)?(openBlock(),createBlock(unref(MazIcon),normalizeProps(mergeProps({key:0},unref(startIconProps))),null,16)):createCommentVNode(``,!0)],!0),renderSlot(_ctx.$slots,`icon`,{},()=>[unref(fabIconProps)?(openBlock(),createBlock(unref(MazIcon),normalizeProps(mergeProps({key:0},unref(fabIconProps))),null,16)):createCommentVNode(``,!0)],!0),renderSlot(_ctx.$slots,`default`,{},()=>[createTextVNode(toDisplayString(__props.text),1)],!0),renderSlot(_ctx.$slots,`end-icon`,{},()=>[unref(endIconProps)?(openBlock(),createBlock(unref(MazIcon),normalizeProps(mergeProps({key:0},unref(endIconProps))),null,16)):createCommentVNode(``,!0)],!0),__props.loading?(openBlock(),createElementBlock(`div`,_hoisted_1,[renderSlot(_ctx.$slots,`loader`,{},()=>[createVNode(unref(MazSpinner),{size:`2em`})],!0)])):createCommentVNode(``,!0)]),_:3},8,[`disabled`,`class`,`style`,`type`]))}}),[[`__scopeId`,`data-v-db6bc205`]]);export{MazBtn_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{Fragment,createBlock,createElementBlock,createTextVNode,defineAsyncComponent,defineComponent,mergeProps,normalizeClass,openBlock,renderList,renderSlot,toDisplayString,unref,withCtx}from"vue";import '../assets/MazBtnGroup.eBAxlevC.css';var MazBtnGroup_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazBtnGroup`,props:{items:{},orientation:{default:`row`},size:{default:`md`},color:{default:`primary`},roundedSize:{},outlined:{type:Boolean},pastel:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean}},setup(__props){let MazBtn=defineAsyncComponent(()=>import(`../components/MazBtn.js`));return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-button-group maz:inline-flex`,[`--${__props.orientation}`,__props.orientation===`row`?`maz:flex-row`:`maz:flex-col`]]),role:`group`},[(openBlock(!0),createElementBlock(Fragment,null,renderList(__props.items,(item,index)=>(openBlock(),createBlock(unref(MazBtn),mergeProps({key:index},{ref_for:!0},item,{size:item.size??__props.size,color:item.color??__props.color,class:`m-button-group__button`,onClick:item.onClick}),{default:withCtx(()=>[renderSlot(_ctx.$slots,`button-${index}`,{item,index},()=>[createTextVNode(toDisplayString(item.text),1)],!0)]),_:2},1040,[`size`,`color`,`onClick`]))),128)),renderSlot(_ctx.$slots,`default`,{},void 0,!0)],2))}}),[[`__scopeId`,`data-v-7eae055d`]]);export{MazBtnGroup_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as hasSlotContent}from"./hasSlotContent.
|
|
1
|
+
import{t as hasSlotContent}from"./hasSlotContent.BLn0kQC7.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{t as MazIcon_default}from"./MazIcon.BKcg5YfP.js";import{t as resolveLinkComponent}from"./resolveLinkComponent.yH64gJv0.js";import{computed,createBlock,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,createVNode,defineAsyncComponent,defineComponent,mergeModels,mergeProps,normalizeClass,openBlock,renderSlot,resolveDynamicComponent,toDisplayString,unref,useModel,useSlots,withCtx,withModifiers}from"vue";import{MazChevronDown}from"@maz-ui/icons/lazy/MazChevronDown";import '../assets/MazCard.GDJKC28u.css';var _hoisted_1={key:1,class:`maz:ms-2 maz:text-sm`};var _hoisted_2={key:0,class:`m-card__gallery__wrapper maz:relative maz:flex maz:overflow-hidden`};var _hoisted_3={class:`maz:min-w-0 maz:flex-1`};var _hoisted_4={key:0,class:`m-card__title maz:font-display maz:text-xl maz:text-foreground`};var _hoisted_5={key:1,class:`m-card__subtitle maz:text-lg maz:text-muted`};var _hoisted_6={key:2,class:`m-card__content`};var _hoisted_7={key:2,class:`m-card__actions maz:absolute maz:top-0 maz:left-0 maz:z-2 maz:flex maz:p-2`};var MazCard_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazCard`,props:mergeModels({orientation:{default:`column`},href:{default:()=>void 0},to:{default:()=>void 0},hrefTarget:{default:`_self`},footerAlign:{default:`end`},gallery:{default:()=>void 0},scale:{type:Boolean,default:!0},elevation:{type:Boolean,default:!1},radius:{type:Boolean,default:!0},bordered:{type:Boolean,default:!0},wrapperClass:{type:[Boolean,null,String,Object,Array],default:()=>void 0},padding:{type:Boolean,default:!0},overflowHidden:{type:Boolean},collapsible:{type:Boolean,default:!1},collapseOpen:{type:Boolean,default:!1},title:{default:()=>void 0},block:{type:Boolean}},{collapseOpen:{type:Boolean,default:!1},collapseOpenModifiers:{}}),emits:mergeModels([`update:collapseOpen`],[`update:collapseOpen`]),setup(__props){let isLinked=computed(()=>!!__props.href||!!__props.to);let DEFAULT_GALLERY_OPTIONS={displayedCount:3,remaining:!1,zoom:!isLinked.value,width:200,height:150};let MazGallery=defineAsyncComponent(()=>import(`../components/MazGallery.js`));let MazExpandAnimation=defineAsyncComponent(()=>import(`../components/MazExpandAnimation.js`));let slots=useSlots();let collapseOpenModel=useModel(__props,`collapseOpen`);collapseOpenModel.value=__props.collapsible?__props.collapseOpen:!0;let isColumnVariant=computed(()=>[`column`,`column-reverse`].includes(__props.orientation));let haveSomeContent=computed(()=>hasSlotContent(slots.default)||hasSlotContent(slots[`content-title`])||hasSlotContent(slots[`content-subtitle`])||hasSlotContent(slots[`content-body`]));let galleryHeightComputed=computed(()=>haveSomeContent.value?__props.gallery?.height??DEFAULT_GALLERY_OPTIONS.height:`100%`);let galleryWidthComputed=computed(()=>haveSomeContent.value?__props.gallery?.width??DEFAULT_GALLERY_OPTIONS.width:`100%`);let galleryOptions=computed(()=>({...DEFAULT_GALLERY_OPTIONS,radius:__props.radius,width:isColumnVariant.value?!1:galleryWidthComputed.value,height:!isColumnVariant.value&&haveSomeContent.value?!1:galleryHeightComputed.value,...__props.gallery}));let wrapperData=computed(()=>{let componentType=`div`;return __props.href?componentType=`a`:__props.to&&(componentType=resolveLinkComponent()),{is:componentType,...__props.href&&{href:__props.href,target:__props.hrefTarget},...__props.to&&{to:__props.to,target:__props.hrefTarget}}});let footerAlignClass=computed(()=>__props.footerAlign===`end`?`maz:text-end`:`maz:text-start`);function toggleCollapse(){__props.collapsible&&(collapseOpenModel.value=!collapseOpenModel.value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-card m-reset-css maz:relative maz:inline-flex maz:max-h-full maz:flex-col maz:bg-container maz:dark:border maz:dark:border-divider`,[{"m-card--linked":isLinked.value,"m-card--no-scale":!__props.scale,"maz:shadow-elevation maz:drop-shadow-md":__props.elevation,"--block maz:w-full":__props.block,"maz:overflow-hidden":__props.overflowHidden||!collapseOpenModel.value,"maz:rounded-md":__props.radius,"maz:border":__props.bordered}]])},[unref(hasSlotContent)(unref(slots).title)||__props.title||__props.collapsible?(openBlock(),createBlock(resolveDynamicComponent(__props.collapsible?`button`:`div`),{key:0,class:normalizeClass([`m-card__header maz:flex maz:items-center maz:border-b maz:border-solid maz:px-4 maz:py-3 maz:transition-colors maz:duration-200`,[collapseOpenModel.value?`maz:rounded-t-md maz:border-divider`:`maz:border-transparent`,{"--is-collapsible maz:cursor-pointer maz:hover:bg-surface-600":__props.collapsible},{"maz:justify-end":!unref(hasSlotContent)(unref(slots).title)&&!__props.title&&__props.collapsible},{"maz:justify-between":unref(hasSlotContent)(unref(slots).title)||__props.title}]]),tabindex:`-1`,onClick:_cache[0]||=withModifiers($event=>__props.collapsible?toggleCollapse():void 0,[`stop`])},{default:withCtx(()=>[unref(hasSlotContent)(unref(slots).title)||__props.title?renderSlot(_ctx.$slots,`title`,{key:0},()=>[createTextVNode(toDisplayString(__props.title),1)],!0):createCommentVNode(``,!0),__props.collapsible?(openBlock(),createElementBlock(`div`,_hoisted_1,[createVNode(MazIcon_default,{icon:unref(MazChevronDown),class:normalizeClass([{"--is-open":collapseOpenModel.value},`m-card__collapse-icon maz:rotate-0 maz:text-xl maz:transition-transform maz:duration-200`])},null,8,[`icon`,`class`])])):createCommentVNode(``,!0)]),_:3},8,[`class`])):createCommentVNode(``,!0),(openBlock(),createBlock(resolveDynamicComponent(wrapperData.value.is),mergeProps(wrapperData.value,{class:[`m-card__wrapper maz:flex maz:flex-1`,[`m-card__wrapper--${__props.orientation}`,__props.orientation===`row`?`maz:flex-row`:__props.orientation===`row-reverse`?`maz:flex-row-reverse`:__props.orientation===`column`?`maz:flex-col`:`maz:flex-col-reverse`,{"m-card__link maz:cursor-pointer maz:no-underline":isLinked.value}]]}),{default:withCtx(()=>[galleryOptions.value.images?(openBlock(),createElementBlock(`div`,_hoisted_2,[createVNode(unref(MazGallery),mergeProps({...galleryOptions.value,zoom:!isLinked.value},{class:`m-card__gallery maz:flex-1 maz:bg-surface-600 maz:dark:bg-surface-600/40`}),null,16)])):createCommentVNode(``,!0),createElementVNode(`div`,_hoisted_3,[(openBlock(),createBlock(resolveDynamicComponent(__props.collapsible?unref(MazExpandAnimation):`div`),{modelValue:collapseOpenModel.value,"onUpdate:modelValue":_cache[1]||=$event=>collapseOpenModel.value=$event,class:`maz:h-full`},{default:withCtx(()=>[createElementVNode(`div`,{class:normalizeClass([[__props.wrapperClass,{"maz:p-4":__props.padding}],`m-card__content__wrapper maz:relative maz:flex maz:h-full maz:max-w-full maz:flex-col maz:gap-2`])},[unref(hasSlotContent)(unref(slots)[`content-title`])?(openBlock(),createElementBlock(`div`,_hoisted_4,[renderSlot(_ctx.$slots,`content-title`,{collapseOpen:collapseOpenModel.value},void 0,!0)])):createCommentVNode(``,!0),unref(hasSlotContent)(unref(slots)[`content-subtitle`])?(openBlock(),createElementBlock(`div`,_hoisted_5,[renderSlot(_ctx.$slots,`content-subtitle`,{},void 0,!0)])):createCommentVNode(``,!0),unref(hasSlotContent)(unref(slots)[`content-body`])?(openBlock(),createElementBlock(`div`,_hoisted_6,[renderSlot(_ctx.$slots,`content-body`,{},void 0,!0)])):createCommentVNode(``,!0),renderSlot(_ctx.$slots,`default`,{collapseOpen:collapseOpenModel.value},void 0,!0)],2)]),_:3},8,[`modelValue`]))])]),_:3},16,[`class`])),unref(hasSlotContent)(unref(slots).footer)?(openBlock(),createElementBlock(`div`,{key:1,class:normalizeClass([`m-card__footer maz:overflow-x-auto maz:p-3`,[{"maz:border-t maz:border-divider":isColumnVariant.value&&haveSomeContent.value},footerAlignClass.value]])},[renderSlot(_ctx.$slots,`footer`,{},void 0,!0)],2)):createCommentVNode(``,!0),unref(hasSlotContent)(unref(slots).actions)&&galleryOptions.value.images?(openBlock(),createElementBlock(`div`,_hoisted_7,[renderSlot(_ctx.$slots,`actions`,{},void 0,!0)])):createCommentVNode(``,!0)],2))}}),[[`__scopeId`,`data-v-7b3b8e6c`]]);export{MazCard_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{computed,createElementBlock,createElementVNode,defineComponent,normalizeClass,normalizeStyle,onBeforeUnmount,onMounted,openBlock,ref,renderSlot,vShow,withDirectives}from"vue";import{isServer}from"@maz-ui/utils/helpers/isServer";import '../assets/MazCardSpotlight.DWcwCE_x.css';var _hoisted_1={class:`inner maz:relative maz:h-auto maz:w-full maz:overflow-hidden`};var MazCardSpotlight_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazCardSpotlight`,props:{color:{default:`primary`},elevation:{type:Boolean,default:!1},padding:{type:Boolean,default:!0},contentClass:{type:[Boolean,null,String,Object,Array],default:()=>void 0},contentStyle:{type:[Boolean,null,String,Object,Array],default:()=>void 0},innerOpacity:{default:.95}},setup(__props){let containerElement=ref();let blobElement=ref();let blobVisible=ref(!1);let rafId=null;let isIntersecting=!1;let cachedRect=null;let alphaColor=computed(()=>`color-mix(in srgb, var(--maz-${__props.color}) 60%, transparent)`);let alphaColor20=computed(()=>`color-mix(in srgb, var(--maz-${__props.color}) 20%, transparent)`);function updateCachedRect(){containerElement.value&&(cachedRect=containerElement.value.getBoundingClientRect())}function updateBlobPosition(x,y){if(!blobElement.value||!cachedRect)return;let translateX=x-cachedRect.left-208/2;let translateY=y-cachedRect.top-208/2;blobElement.value.style.transform=`translate(${translateX}px, ${translateY}px)`}function handleMouseMove(event){!isIntersecting||rafId!==null||(blobVisible.value=!0,rafId=requestAnimationFrame(()=>{updateBlobPosition(event.clientX,event.clientY),rafId=null}))}function stopBlobAnimation(){blobVisible.value=!1,rafId!==null&&(cancelAnimationFrame(rafId),rafId=null)}return onMounted(()=>{if(isServer()||!containerElement.value)return;updateCachedRect();let observer=new IntersectionObserver(entries=>{isIntersecting=entries[0].isIntersecting,isIntersecting||stopBlobAnimation()},{threshold:0});observer.observe(containerElement.value);let handleScrollResize=()=>{updateCachedRect()};globalThis.addEventListener(`mousemove`,handleMouseMove,{passive:!0}),globalThis.addEventListener(`scroll`,handleScrollResize,{passive:!0}),globalThis.addEventListener(`resize`,handleScrollResize,{passive:!0}),onBeforeUnmount(()=>{rafId!==null&&cancelAnimationFrame(rafId),observer.disconnect(),globalThis.removeEventListener(`mousemove`,handleMouseMove),globalThis.removeEventListener(`scroll`,handleScrollResize),globalThis.removeEventListener(`resize`,handleScrollResize)})}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{ref_key:`containerElement`,ref:containerElement,class:normalizeClass([`m-card-spotlight m-reset-css maz:relative maz:inline-flex maz:overflow-hidden maz:rounded-md`,{"maz:shadow-elevation maz:drop-shadow-md":__props.elevation}]),style:normalizeStyle({backgroundColor:alphaColor20.value,"--inner-opacity":__props.innerOpacity})},[createElementVNode(`div`,_hoisted_1,[createElementVNode(`div`,{class:normalizeClass([`content maz:relative maz:z-2 maz:size-full`,[{"maz:p-4":__props.padding},__props.contentClass]]),style:normalizeStyle(__props.contentStyle)},[renderSlot(_ctx.$slots,`default`,{},void 0,!0)],6)]),withDirectives(createElementVNode(`div`,{ref_key:`blobElement`,ref:blobElement,class:`blob maz:absolute maz:top-0 maz:left-0 maz:z-0 maz:rounded-full maz:blur-2xl`,style:normalizeStyle({backgroundColor:alphaColor.value})},null,4),[[vShow,blobVisible.value]])],6))}}),[[`__scopeId`,`data-v-3f04ca09`]]);export{MazCardSpotlight_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{t as MazIcon_default}from"./MazIcon.BKcg5YfP.js";import{computed,createCommentVNode,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,normalizeClass,openBlock,ref,renderSlot,toDisplayString,unref,useSlots,withCtx}from"vue";import{useTranslations}from"@maz-ui/translations/composables/useTranslations";import{MazChevronLeft}from"@maz-ui/icons/raw/MazChevronLeft";import{MazChevronRight}from"@maz-ui/icons/raw/MazChevronRight";import '../assets/MazCarousel.CFodwRZ8.css';var _hoisted_1={key:0};var _hoisted_2={class:`maz:text-xl maz:font-semibold`};var _hoisted_3={key:1,class:`m-carousel__header__actions maz:flex maz:flex-1 maz:justify-end maz:space-x-2`};var MazCarousel_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazCarousel`,props:{hideScrollButtons:{type:Boolean,default:!1},translations:{},hideScrollbar:{type:Boolean,default:!1},title:{}},setup(__props){let MazBtn=defineAsyncComponent(()=>import(`../components/MazBtn.js`));let slots=useSlots();let isScrolled=ref(!1);let isScrolledMax=ref(!1);let MazCarouselItems=ref();let{t}=useTranslations();let messages=computed(()=>({ariaLabel:{previousButton:__props.translations?.ariaLabel?.previousButton??t(`carousel.ariaLabel.previousButton`),nextButton:__props.translations?.ariaLabel?.nextButton??t(`carousel.ariaLabel.nextButton`)}}));function hasHeader(){return!__props.hideScrollButtons||slots.title||__props.title}function hasTitle(){return!!slots.title||!!__props.title}function next(){let items=MazCarouselItems.value;items?.scrollTo(items.scrollLeft+items.clientWidth,0)}function previous(){let items=MazCarouselItems.value;items?.scrollTo(items.scrollLeft-items.clientWidth,0)}function setScrollState(event){let target=event.target;if(!target)return;isScrolled.value=target.scrollLeft>=20;let itemsScrollWidth=target.scrollWidth-target.clientWidth;isScrolledMax.value=target.scrollLeft>=itemsScrollWidth-20}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-carousel m-reset-css maz:relative maz:flex maz:flex-col`,{"--hide-scrollbar":__props.hideScrollbar}])},[hasHeader()?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`m-carousel__header maz:flex maz:items-center`,[hasTitle()?`--has-title`:``,hasTitle()?`maz:justify-between`:`maz:justify-end`]])},[hasTitle()?(openBlock(),createElementBlock(`div`,_hoisted_1,[renderSlot(_ctx.$slots,`title`,{},()=>[createElementVNode(`h4`,_hoisted_2,toDisplayString(__props.title),1)],!0)])):createCommentVNode(``,!0),__props.hideScrollButtons?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_3,[createVNode(unref(MazBtn),{color:`transparent`,class:normalizeClass([`m-carousel__btn`,{"--muted":!isScrolled.value}]),fab:``,"aria-label":messages.value.ariaLabel.previousButton,onClick:previous},{default:withCtx(()=>[renderSlot(_ctx.$slots,`previous-icon`,{},()=>[createVNode(MazIcon_default,{icon:unref(MazChevronLeft),class:`maz:text-lg`},null,8,[`icon`])],!0)]),_:3},8,[`class`,`aria-label`]),createVNode(unref(MazBtn),{color:`transparent`,class:normalizeClass([`m-carousel__btn`,{"--muted":isScrolledMax.value}]),fab:``,"aria-label":messages.value.ariaLabel.nextButton,onClick:next},{default:withCtx(()=>[renderSlot(_ctx.$slots,`next-icon`,{},()=>[createVNode(MazIcon_default,{icon:unref(MazChevronRight),class:`maz:text-lg`},null,8,[`icon`])],!0)]),_:3},8,[`class`,`aria-label`])]))],2)):createCommentVNode(``,!0),createElementVNode(`div`,{ref_key:`MazCarouselItems`,ref:MazCarouselItems,class:normalizeClass([`m-carousel__items maz:z-1 maz:flex maz:flex-1 maz:items-center maz:justify-start maz:space-x-5 maz:overflow-y-hidden maz:py-4 maz:ps-3`,__props.hideScrollbar?`maz:overflow-x-hidden`:`maz:overflow-x-auto`]),onScroll:setScrollState},[renderSlot(_ctx.$slots,`default`,{},void 0,!0),_cache[0]||=createElementVNode(`div`,{class:`m-carousel__items__spacer`},null,-1)],34)],2))}}),[[`__scopeId`,`data-v-a80ffbe3`]]);export{MazCarousel_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as hasSlotContent}from"./hasSlotContent.
|
|
1
|
+
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as hasSlotContent}from"./hasSlotContent.BLn0kQC7.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{t as MazIcon_default}from"./MazIcon.BKcg5YfP.js";import{computed,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,createVNode,defineComponent,mergeProps,normalizeClass,normalizeStyle,openBlock,ref,renderSlot,toDisplayString,unref}from"vue";import{MazCheck}from"@maz-ui/icons/raw/MazCheck";import '../assets/MazCheckbox.B5GJUkTn.css';var _hoisted_1=[`for`,`aria-checked`];var _hoisted_2=[`id`,`checked`,`disabled`,`name`];var _hoisted_3={key:0,class:`m-checkbox__text maz:flex maz:flex-col maz:gap-0`};var MazCheckbox_default=_plugin_vue_export_helper_default(defineComponent({inheritAttrs:!1,__name:`MazCheckbox`,props:{style:{type:[Boolean,null,String,Object,Array],default:void 0},class:{type:[Boolean,null,String,Object,Array],default:void 0},modelValue:{default:void 0},id:{default:void 0},color:{default:`primary`},value:{type:[String,Number,Boolean],default:void 0},name:{default:`m-checkbox`},size:{default:`md`},label:{default:void 0},disabled:{type:Boolean,default:!1},error:{type:Boolean},success:{type:Boolean},warning:{type:Boolean},hint:{}},emits:[`update:model-value`,`change`,`blur`,`focus`],setup(__props,{emit:__emit}){let props=__props;let emits=__emit;let instanceId=useInstanceUniqId({componentName:`MazCheckbox`,providedId:props.id});let inputRef=ref();let isFocused=ref(!1);let isChecked=computed(()=>typeof props.value!=`boolean`&&Array.isArray(props.modelValue)?props.modelValue.includes(props.value):typeof props.modelValue==`boolean`?props.modelValue:!1);let checkboxSize=computed(()=>{switch(props.size){case`xl`:return`2rem`;case`lg`:return`1.75rem`;case`sm`:return`1.25rem`;case`xs`:return`1rem`;case`mini`:return`0.75rem`;default:return`1.5rem`}});let checkIconSize=computed(()=>{switch(props.size){case`xl`:return`maz:text-2xl`;case`lg`:return`maz:text-xl`;case`sm`:return`maz:text-base`;case`xs`:return`maz:text-sm`;case`mini`:return`maz:text-xs`;default:return`maz:text-lg`}});let checkIconColor=computed(()=>props.color===`contrast`?`var(--maz-surface)`:`var(--maz-${props.color}-foreground)`);let checkboxSelectedColor=computed(()=>props.color===`contrast`?`var(--maz-contrast)`:`var(--maz-${props.color})`);let checkboxBoxShadow=computed(()=>props.error&&!isFocused.value?`var(--maz-destructive)`:props.warning&&!isFocused.value?`var(--maz-warning)`:props.success&&!isFocused.value?`var(--maz-success)`:[`transparent`,`contrast`].includes(props.color)?`var(--maz-muted)`:`color-mix(in srgb, var(--maz-${props.color}) 60%, transparent)`);function keyboardHandler(event){[`Space`].includes(event.code)&&(event.preventDefault(),emitValue(props.value??!props.modelValue))}function getNewValue(value){return typeof value==`boolean`&&(typeof props.modelValue==`boolean`||props.modelValue===void 0||props.modelValue===null)?!props.modelValue:Array.isArray(props.modelValue)&&typeof value!=`boolean`?props.modelValue.includes(value)?props.modelValue.filter(v=>v!==value):[...props.modelValue,value]:[value]}function emitValue(value){let newValue=getNewValue(value);emits(`update:model-value`,newValue),emits(`change`,newValue)}function onBlur(event){isFocused.value=!1,inputRef.value?.dispatchEvent(new Event(`blur`)),emits(`blur`,event)}function onFocus(event){isFocused.value=!0,inputRef.value?.dispatchEvent(new Event(`focus`)),emits(`focus`,event)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`label`,{for:unref(instanceId),class:normalizeClass([`m-checkbox m-reset-css maz:relative maz:inline-flex maz:items-center maz:gap-2 maz:align-top maz:outline-hidden`,[{"--error":__props.error,"--warning":__props.warning,"--success":__props.success,"maz:disabled-cursor maz:text-muted":__props.disabled,"maz:cursor-pointer":!__props.disabled},props.class]]),style:normalizeStyle([__props.style,{"--checkbox-selected-color":checkboxSelectedColor.value,"--checkbox-box-shadow-color":checkboxBoxShadow.value}]),role:`checkbox`,"aria-checked":isChecked.value,tabindex:`0`,onKeydown:keyboardHandler,onBlur,onFocus},[createElementVNode(`input`,mergeProps({id:unref(instanceId),ref_key:`inputRef`,ref:inputRef,checked:isChecked.value},_ctx.$attrs,{tabindex:`-1`,disabled:__props.disabled,name:__props.name,type:`checkbox`,onChange:_cache[0]||=$event=>emitValue(__props.value??$event?.target?.checked)}),null,16,_hoisted_2),createElementVNode(`span`,{style:normalizeStyle({width:checkboxSize.value,height:checkboxSize.value})},[createVNode(MazIcon_default,{icon:unref(MazCheck),class:normalizeClass([`check-icon maz:transition-transform maz:duration-300 maz:ease-in-out`,[isChecked.value?`maz:scale-100`:`maz:scale-0`,checkIconSize.value]]),style:normalizeStyle({color:checkIconColor.value})},null,8,[`icon`,`class`,`style`])],4),__props.label||unref(hasSlotContent)(_ctx.$slots.default)||__props.hint?(openBlock(),createElementBlock(`div`,_hoisted_3,[renderSlot(_ctx.$slots,`default`,{value:__props.value},()=>[createTextVNode(toDisplayString(__props.label),1)],!0),__props.hint?(openBlock(),createElementBlock(`span`,{key:0,class:normalizeClass([`m-checkbox__hint maz:text-sm`,{"--error":__props.error,"--success":__props.success,"--warning":__props.warning,"maz:text-destructive-600":__props.error,"maz:text-success-600":__props.success,"maz:text-warning-600":__props.warning,"maz:text-muted":!__props.error&&!__props.success&&!__props.warning}])},toDisplayString(__props.hint),3)):createCommentVNode(``,!0)])):createCommentVNode(``,!0)],46,_hoisted_1))}}),[[`__scopeId`,`data-v-560ca32a`]]);export{MazCheckbox_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as hasSlotContent}from"./hasSlotContent.
|
|
1
|
+
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as hasSlotContent}from"./hasSlotContent.BLn0kQC7.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{useStringMatching}from"../composables/useStringMatching.js";import{t as MazCardSpotlight_default}from"./MazCardSpotlight.Cp-9GWEo.js";import{t as MazCheckbox_default}from"./MazCheckbox.JEl_zb5e.js";import{Fragment,computed,createBlock,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,createVNode,defineAsyncComponent,defineComponent,mergeProps,openBlock,ref,renderList,renderSlot,toDisplayString,unref,watch,withCtx}from"vue";import{useTranslations}from"@maz-ui/translations/composables/useTranslations";import{normalizeString}from"@maz-ui/utils/helpers/normalizeString";import{MazMagnifyingGlass}from"@maz-ui/icons/lazy/MazMagnifyingGlass";import{MazNoSymbol}from"@maz-ui/icons/lazy/MazNoSymbol";import '../assets/MazChecklist.BAHvQmpZ.css';var _hoisted_1={class:`m-checklist m-reset-css maz:flex maz:flex-col maz:gap-4`};var _hoisted_2=[`for`];var _hoisted_3={key:0,class:`title maz:flex-none maz:truncate`};var _hoisted_4={key:0,class:`no-results maz:flex maz:h-full maz:flex-center`};var _hoisted_5={class:`no-results-content maz:flex maz:h-full maz:flex-col maz:flex-center maz:gap-3 maz:py-8`};var _hoisted_6={class:`no-results-text maz:text-muted`};var _hoisted_7=[`for`];var _hoisted_8={class:`item-label maz:cap-f`};var MazChecklist_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazChecklist`,props:{modelValue:{},query:{},items:{},title:{},elevation:{type:Boolean,default:!1},search:{type:[Boolean,Object]},searchOptions:{},searchFunction:{type:Function},color:{default:`primary`},translations:{}},emits:[`update:query`,`update:model-value`],setup(__props,{emit:__emit}){let emits=__emit;let id=useInstanceUniqId({componentName:`MazChecklist`});let MazInput=defineAsyncComponent(()=>import(`../components/MazInput.js`));let internalQuery=ref(__props.query);watch(()=>__props.query,value=>{internalQuery.value=value});let{t}=useTranslations();let messages=computed(()=>({noResultsFound:__props.translations?.noResultsFound??t(`checklist.noResultsFound`),searchInput:{placeholder:__props.translations?.searchInput?.placeholder??t(`checklist.searchInput.placeholder`)}}));let filteredItems=computed(()=>{if(!internalQuery.value||!__props.search)return __props.items;let normalizedQuery=normalizeString(internalQuery.value,__props.searchOptions);return __props.searchFunction?__props.searchFunction(normalizedQuery,__props.items??[]):getFilteredOptionWithQuery(normalizedQuery)});function searchInValue(value,query){return query&&value&&normalizeString(value).includes(normalizeString(query))}function getFilteredOptionWithQuery(query){return __props.items?.filter(({label,value})=>{let threshold=__props.searchOptions?.threshold;let normalizedQuery=normalizeString(query,__props.searchOptions);let searchLabel=normalizeString(label,__props.searchOptions);let searchValue=normalizeString(value,__props.searchOptions);return searchInValue(searchLabel,normalizedQuery)||searchInValue(searchValue,normalizedQuery)||typeof searchLabel==`string`&&useStringMatching(searchLabel,normalizedQuery,threshold).isMatching.value||typeof searchValue==`string`&&useStringMatching(searchValue,normalizedQuery,threshold).isMatching.value})}function updateQuery(value){internalQuery.value=value,emits(`update:query`,value)}return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,_hoisted_1,[createElementVNode(`label`,{for:__props.search?`${unref(id)}-query`:void 0,class:`search-label maz:flex maz:items-center maz:justify-between maz:gap-4`},[unref(hasSlotContent)(_ctx.$slots.title)||__props.title?(openBlock(),createElementBlock(`span`,_hoisted_3,[renderSlot(_ctx.$slots,`title`,{},()=>[createTextVNode(toDisplayString(__props.title),1)],!0)])):createCommentVNode(``,!0),__props.search?(openBlock(),createBlock(unref(MazInput),mergeProps({key:1,id:`${unref(id)}-query`,"model-value":internalQuery.value},typeof __props.search==`object`?__props.search:{},{color:typeof __props.search==`object`&&__props.search.color?__props.search.color:__props.color,"start-icon":typeof __props.search==`object`?__props.search.startIcon??unref(MazMagnifyingGlass):void 0,debounce:typeof __props.search==`object`?__props.search.debounce??300:void 0,name:typeof __props.search==`object`?__props.search.name??`search`:void 0,placeholder:typeof __props.search==`object`&&__props.search.placeholder?__props.search.placeholder:messages.value.searchInput.placeholder,"onUpdate:modelValue":_cache[0]||=event=>updateQuery(event)}),null,16,[`id`,`model-value`,`color`,`start-icon`,`debounce`,`name`,`placeholder`])):createCommentVNode(``,!0)],8,_hoisted_2),createVNode(MazCardSpotlight_default,{color:__props.color,elevation:__props.elevation,padding:!1,"content-class":`card-content`},{default:withCtx(()=>[filteredItems.value?.length===0?(openBlock(),createElementBlock(`div`,_hoisted_4,[renderSlot(_ctx.$slots,`no-results`,{},()=>[createElementVNode(`div`,_hoisted_5,[createVNode(unref(MazNoSymbol),{class:`no-results-icon maz:text-3xl maz:text-muted`}),createElementVNode(`span`,_hoisted_6,[renderSlot(_ctx.$slots,`no-results-text`,{},()=>[createTextVNode(toDisplayString(messages.value.noResultsFound),1)],!0)])])],!0)])):createCommentVNode(``,!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(filteredItems.value,item=>(openBlock(),createElementBlock(`label`,{key:item.value,for:`${unref(id)}-checklist-item-${item.value}`,class:`m-checklist-item m-reset-css maz:flex maz:w-full maz:cursor-pointer maz:items-center maz:gap-4 maz:rounded-md maz:px-3 maz:py-2 maz:text-start maz:hover:bg-surface-600`},[createVNode(MazCheckbox_default,{id:`${unref(id)}-checklist-item-${item.value}`,"model-value":__props.modelValue,value:item.value,color:__props.color,"onUpdate:modelValue":_cache[1]||=event=>emits(`update:model-value`,event)},null,8,[`id`,`model-value`,`value`,`color`]),renderSlot(_ctx.$slots,`item`,{selectedValues:__props.modelValue,item},()=>[createElementVNode(`span`,_hoisted_8,toDisplayString(item.label),1)],!0)],8,_hoisted_7))),128))]),_:3},8,[`color`,`elevation`])]))}}),[[`__scopeId`,`data-v-0a8979e3`]]);export{MazChecklist_default as t};
|
package/dist/chunks/{MazCircularProgressBar.BKYczSCn.js → MazCircularProgressBar.CPVPaqix.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{useInstanceUniqId}from"../composables/useInstanceUniqId.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{computed,createBlock,createElementBlock,createElementVNode,createSlots,createTextVNode,defineAsyncComponent,defineComponent,normalizeClass,normalizeStyle,onBeforeUnmount,onMounted,openBlock,ref,renderSlot,toDisplayString,unref,useSlots,withCtx}from"vue";import '../assets/MazCircularProgressBar.Dwo_otqO.css';var _hoisted_1={class:`outer maz:flex maz:size-full maz:flex-center maz:rounded-full`};var _hoisted_2={class:`inner maz:flex maz:size-[0.85em] maz:flex-center maz:rounded-full`};var _hoisted_3={key:0};var _hoisted_4=[`id`];var _hoisted_5=[`stop-color`];var _hoisted_6=[`stop-color`];var _hoisted_7=[`stroke-width`,`stroke-dashoffset`,`stroke`,`stroke-linecap`];var MazCircularProgressBar_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazCircularProgressBar`,props:{percentage:{},size:{default:`10em`},duration:{default:1e3},delay:{default:100},color:{},autoColor:{type:Boolean,default:!1},prefix:{},suffix:{},strokeLinecap:{default:`round`},strokeWidth:{default:6},stroke:{},successPercentage:{default:100},warningPercentage:{default:75},dangerPercentage:{default:50},once:{type:Boolean,default:!0}},setup(__props){let MazAnimatedCounter=defineAsyncComponent(()=>import(`../components/MazAnimatedCounter.js`));let slots=useSlots();let hasPrefix=computed(()=>!!__props.prefix||!!slots.prefix);let hasSuffix=computed(()=>!!__props.suffix||!!slots.suffix);let id=useInstanceUniqId({componentName:`MazCircularProgressBar`});let adjustedPercentage=computed(()=>__props.percentage>100?100:__props.percentage<=0?.5:__props.percentage);let currentColor=computed(()=>__props.autoColor?getStatusColor(adjustedPercentage.value):__props.color);let gradientStart=computed(()=>currentColor.value?`oklch(from var(--maz-${currentColor.value}) clamp(0, calc(l + 0.06), 1) c h)`:`var(--maz-primary)`);let gradientEnd=computed(()=>currentColor.value?`oklch(from var(--maz-${currentColor.value}) clamp(0, calc(l - 0.1), 1) c h)`:`var(--maz-secondary)`);function getStatusColor(percent){return percent<__props.dangerPercentage||percent>100?`destructive`:percent<__props.warningPercentage?`warning`:percent>=__props.successPercentage?`success`:`primary`}let animationDuration=computed(()=>`${__props.duration}ms`);let dashoffset=computed(()=>Math.round(290-adjustedPercentage.value/100*290));let isVisible=ref(!1);let circleRef=ref(null);let hasBeenAnimated=ref(!1);let observer=null;return onMounted(()=>{observer=new IntersectionObserver(([entry])=>{(!isVisible.value||!__props.once)&&(isVisible.value=entry.isIntersecting),__props.once&&circleRef.value&&(observer?.unobserve(circleRef.value),circleRef.value?.addEventListener(`animationend`,()=>{hasBeenAnimated.value=!0}))}),circleRef.value&&observer.observe(circleRef.value)}),onBeforeUnmount(()=>observer?.disconnect()),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:`m-circular-progress-bar m-reset-css maz:relative maz:inline-flex maz:size-[1em] maz:flex-center`,style:normalizeStyle([{"--animation-duration":animationDuration.value,"--dashoffset":dashoffset.value,"--delay":`${__props.delay}ms`},{fontSize:__props.size}])},[createElementVNode(`div`,_hoisted_1,[createElementVNode(`div`,_hoisted_2,[unref(slots).default?(openBlock(),createElementBlock(`span`,_hoisted_3,[renderSlot(_ctx.$slots,`default`,{},void 0,!0)])):(openBlock(),createBlock(unref(MazAnimatedCounter),{key:1,count:__props.percentage,duration:__props.duration,delay:__props.delay,once:__props.once},createSlots({_:2},[hasPrefix.value?{name:`prefix`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`prefix`,{},()=>[createTextVNode(toDisplayString(__props.prefix),1)],!0)]),key:`0`}:void 0,hasSuffix.value?{name:`suffix`,fn:withCtx(()=>[renderSlot(_ctx.$slots,`suffix`,{},()=>[createTextVNode(toDisplayString(__props.suffix),1)],!0)]),key:`1`}:void 0]),1032,[`count`,`duration`,`delay`,`once`]))])]),(openBlock(),createElementBlock(`svg`,{ref_key:`circleRef`,ref:circleRef,xmlns:`http://www.w3.org/2000/svg`,height:`1em`,width:`1em`,class:normalizeClass([`maz:absolute maz:-rotate-90`,{animate:isVisible.value}]),viewBox:`0 0 100 100`},[createElementVNode(`defs`,null,[createElementVNode(`linearGradient`,{id:`${unref(id)}-gradient`,x1:`0`,x2:`0`,y1:`1`,y2:`0`},[createElementVNode(`stop`,{offset:`0%`,"stop-color":gradientStart.value},null,8,_hoisted_5),createElementVNode(`stop`,{offset:`100%`,"stop-color":gradientEnd.value},null,8,_hoisted_6)],8,_hoisted_4)]),createElementVNode(`circle`,{cx:`50`,cy:`50`,r:`46`,"stroke-width":__props.strokeWidth,"stroke-dasharray":`290`,"stroke-dashoffset":hasBeenAnimated.value?dashoffset.value:290,stroke:__props.stroke?__props.stroke:`url(#${unref(id)}-gradient)`,fill:`none`,"stroke-linecap":__props.strokeLinecap},null,8,_hoisted_7)],2))],4))}}),[[`__scopeId`,`data-v-2a305d65`]]);export{MazCircularProgressBar_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.
|
|
1
|
+
import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper.ChmETRGw.js";import{vTooltip as directive}from"../directives/vTooltip.js";import{computed,createBlock,createCommentVNode,createElementBlock,createElementVNode,defineAsyncComponent,defineComponent,normalizeClass,onMounted,onUnmounted,openBlock,ref,toDisplayString,unref,useSlots,watch,withDirectives}from"vue";import{MazCheck}from"@maz-ui/icons/lazy/MazCheck";import{useTranslations}from"@maz-ui/translations/composables/useTranslations";import{MazClipboard}from"@maz-ui/icons/lazy/MazClipboard";import '../assets/MazCodeHighlight.Bohw-cQ8.css';var _hoisted_1=[`innerHTML`];var MazCodeHighlight_default=_plugin_vue_export_helper_default(defineComponent({__name:`MazCodeHighlight`,props:{code:{},language:{default:`text`},theme:{},rounded:{type:Boolean,default:!0},copyable:{type:Boolean,default:!0},copyValue:{},translations:{}},setup(__props){let MazBtn=defineAsyncComponent(()=>import(`../components/MazBtn.js`));let{t}=useTranslations();let copyLabel=computed(()=>__props.translations?.copyToClipboard??t(`codeHighlight.copyToClipboard`));let copiedLabel=computed(()=>__props.translations?.copiedToClipboard??t(`codeHighlight.copiedToClipboard`));let slots=useSlots();let highlightedHtml=ref(``);let isDark=ref(typeof document<`u`&&document.documentElement.classList.contains(`dark`));let copied=ref(!1);let copyResetTimer;function escapeHtml(value){return value.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function extractSlotText(vnodes){return vnodes.map(v=>typeof v.children==`string`?v.children:Array.isArray(v.children)?extractSlotText(v.children):``).join(``)}let resolvedCode=computed(()=>{if(__props.code)return __props.code;try{let vnodes=slots.default?.();if(vnodes?.length)return extractSlotText(vnodes).trim()}catch{}return``});let resolvedTheme=computed(()=>__props.theme?__props.theme:isDark.value?`tokyo-night`:`github-light`);let resolvedCopyValue=computed(()=>__props.copyValue??resolvedCode.value);let highlightSeq=0;async function highlight(){let seq=++highlightSeq;let src=resolvedCode.value;if(!src){seq===highlightSeq&&(highlightedHtml.value=``);return}try{let{codeToHtml}=await import(`shiki`);let html=await codeToHtml(src,{lang:__props.language,theme:resolvedTheme.value});seq===highlightSeq&&(highlightedHtml.value=html)}catch{seq===highlightSeq&&(highlightedHtml.value=`<pre><code>${escapeHtml(src)}</code></pre>`)}}async function copy(){let text=resolvedCopyValue.value;if(!(!text||typeof navigator>`u`||!navigator.clipboard))try{await navigator.clipboard.writeText(text),copied.value=!0,clearTimeout(copyResetTimer),copyResetTimer=setTimeout(()=>{copied.value=!1},1500)}catch{}}let observer;return onMounted(()=>{observer=new MutationObserver(()=>{isDark.value=document.documentElement.classList.contains(`dark`)}),observer.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]})}),onUnmounted(()=>{observer?.disconnect(),clearTimeout(copyResetTimer)}),watch([resolvedCode,resolvedTheme],highlight,{immediate:!0}),(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-code-highlight m-reset-css maz:group maz:relative`,{"--no-rounded":!__props.rounded}])},[createElementVNode(`div`,{class:`m-code-highlight__content`,innerHTML:highlightedHtml.value},null,8,_hoisted_1),createElementVNode(`span`,{class:normalizeClass([`maz:absolute maz:top-2 maz:right-2 maz:rounded-sm maz:px-2 maz:py-1 maz:text-xs maz:text-muted`,{"maz:transition-opacity maz:group-hover:opacity-0":__props.copyable}])},toDisplayString(__props.language),3),__props.copyable&&resolvedCopyValue.value?withDirectives((openBlock(),createBlock(unref(MazBtn),{key:0,size:`xs`,color:`transparent`,outlined:``,class:`m-code-highlight__copy-btn maz:absolute maz:top-2 maz:right-2 maz:opacity-0 maz:transition-opacity maz:group-hover:opacity-100 maz:focus-visible:opacity-100`,"aria-label":copied.value?copiedLabel.value:copyLabel.value,icon:unref(copied.value?MazCheck:MazClipboard),onClick:copy},null,8,[`aria-label`,`icon`])),[[unref(directive),{text:copied.value?copiedLabel.value:copyLabel.value,color:`surface`}]]):createCommentVNode(``,!0)],2))}}),[[`__scopeId`,`data-v-de54d18c`]]);export{MazCodeHighlight_default as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as hasSlotContent}from"./hasSlotContent.
|
|
1
|
+
import{t as hasSlotContent}from"./hasSlotContent.BLn0kQC7.js";import{useMazIconProps}from"../composables/useMazIconProps.js";import{createBlock,createCommentVNode,createElementBlock,createElementVNode,createTextVNode,defineAsyncComponent,defineComponent,mergeProps,normalizeClass,normalizeProps,openBlock,renderSlot,toDisplayString,unref}from"vue";var MazContainer_default=defineComponent({__name:`MazContainer`,props:{title:{default:()=>void 0},elevation:{type:Boolean,default:!1},padding:{type:Boolean,default:!0},bordered:{type:Boolean,default:!0},roundedSize:{default:`md`},transparent:{type:Boolean,default:!1},overflowHidden:{type:Boolean,default:!0},startIcon:{type:[String,Function,Object]},endIcon:{type:[String,Function,Object]},iconSize:{default:`md`},block:{type:Boolean,default:!1}},setup(__props){let MazIcon=defineAsyncComponent(()=>import(`../components/MazIcon.js`));let{iconProps:startIconProps}=useMazIconProps(()=>__props.startIcon,()=>({size:__props.iconSize}));let{iconProps:endIconProps}=useMazIconProps(()=>__props.endIcon,()=>({size:__props.iconSize}));let ROUNDED_CLASS={none:``,sm:`maz:rounded-xs`,md:`maz:rounded-md`,lg:`maz:rounded-lg`,xl:`maz:rounded-xl`,full:`maz:rounded-full`};return(_ctx,_cache)=>(openBlock(),createElementBlock(`div`,{class:normalizeClass([`m-container m-reset-css maz:relative maz:inline-flex maz:flex-col`,[ROUNDED_CLASS[__props.roundedSize],__props.roundedSize&&`--rounded-${__props.roundedSize}`,{"--elevation":__props.elevation,"--padding":__props.padding,"--bordered":__props.bordered,"--transparent":__props.transparent,"--overflow-hidden":__props.overflowHidden,"--block":__props.block,"maz:overflow-hidden":__props.overflowHidden,"maz:w-full":__props.block,"maz:bg-container":!__props.transparent,"maz:shadow-elevation maz:drop-shadow-md":__props.elevation,"maz:border maz:border-divider":__props.bordered}]])},[renderSlot(_ctx.$slots,`header`,{},()=>[__props.title||unref(hasSlotContent)(_ctx.$slots.title)?(openBlock(),createElementBlock(`div`,{key:0,class:normalizeClass([`m-container__header maz:flex maz:w-full maz:items-center maz:justify-start maz:gap-2`,{"maz:px-4 maz:py-3":__props.padding,"maz:border-b maz:border-divider":__props.bordered}])},[renderSlot(_ctx.$slots,`icon-start`,{},()=>[unref(startIconProps)?(openBlock(),createBlock(unref(MazIcon),normalizeProps(mergeProps({key:0},unref(startIconProps))),null,16)):createCommentVNode(``,!0)]),renderSlot(_ctx.$slots,`title`,{},()=>[createTextVNode(toDisplayString(__props.title),1)]),renderSlot(_ctx.$slots,`icon-end`,{},()=>[unref(endIconProps)?(openBlock(),createBlock(unref(MazIcon),normalizeProps(mergeProps({key:0},unref(endIconProps))),null,16)):createCommentVNode(``,!0)])],2)):createCommentVNode(``,!0)]),createElementVNode(`div`,{class:normalizeClass([`m-container__content maz:w-full`,{"maz:px-4 maz:py-3":__props.padding}])},[renderSlot(_ctx.$slots,`default`)],2)],2))}});export{MazContainer_default as t};
|