maz-ui 4.7.3 → 4.7.5
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/MazBackdrop.CNkHZg2a.css +1 -0
- package/dist/assets/MazDatePicker.CQTJ2MSi.css +1 -0
- package/dist/assets/{MazDropdown.C-ZHd88h.css → MazDropdown.gQ0Sr_Kf.css} +1 -1
- package/dist/assets/{MazDropzone.DnBa08Z6.css → MazDropzone.oxdW4qvt.css} +1 -1
- package/dist/assets/{MazInputCode.zVPFfpxb.css → MazInputCode.Dn05KUeo.css} +1 -1
- package/dist/assets/MazInputPhoneNumber.CW4VVpBq.css +1 -0
- package/dist/assets/{MazInputTags.B6qli1kj.css → MazInputTags.CLr2Z8JP.css} +1 -1
- package/dist/assets/MazSelect.B7S5Yf0F.css +1 -0
- package/dist/assets/MazTable.Dip-n-1s.css +1 -0
- package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.DkP0DwGg.js → MazInputPrice.vue_vue_type_script_setup_true_lang.DcNkyw1C.js} +2 -2
- package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.Dk7aEaCc.js → MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js} +3 -3
- package/dist/chunks/{dom-events.7ZJSy2WH.js → dom-events.DTx6Kblx.js} +1 -1
- package/dist/chunks/{useMazInputPhoneNumber.DJRbFd4U.js → useMazInputPhoneNumber.Os-2y9bz.js} +2 -4
- package/dist/components/MazBackdrop.js +5 -5
- package/dist/components/MazDatePicker.js +2 -2
- package/dist/components/MazDropdown.js +3 -3
- package/dist/components/MazDropzone.js +3 -3
- package/dist/components/MazInputCode.js +4 -3
- package/dist/components/MazInputPhoneNumber/PhoneInput.js +1 -1
- package/dist/components/MazInputPhoneNumber.js +10 -6
- package/dist/components/MazInputPhoneNumber.vue.d.ts +7 -1
- package/dist/components/MazInputPrice.js +1 -1
- package/dist/components/MazInputTags.js +3 -3
- package/dist/components/MazSelect.js +6 -5
- package/dist/components/MazTable.js +3 -3
- package/dist/components/MazTableCell.js +1 -1
- package/dist/components/MazTableRow.js +1 -1
- package/dist/components/MazTableTitle.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/composables/useDropzone.js +4 -3
- package/dist/composables/useFormField.js +1 -1
- package/dist/composables/useFormValidator.js +1 -1
- package/dist/composables/useInstanceUniqId.js +2 -1
- package/dist/composables/useReadingTime.js +2 -1
- package/dist/plugins/aos.js +1 -3
- package/dist/resolvers/MazComponentsResolver.js +3 -2
- package/dist/resolvers/MazDirectivesResolver.js +2 -1
- package/dist/resolvers/MazModulesResolver.d.ts +0 -6
- package/dist/resolvers/MazModulesResolver.js +2 -2
- package/package.json +5 -5
- package/dist/assets/MazBackdrop.BBjTEH41.css +0 -1
- package/dist/assets/MazDatePicker.DB3RFln-.css +0 -1
- package/dist/assets/MazInputPhoneNumber.Ds96BstD.css +0 -1
- package/dist/assets/MazSelect.DCowpFPD.css +0 -1
- package/dist/assets/MazTable.Xu3u0oAi.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html.--backdrop-present{overflow-y:hidden;height:100vh!important}html.--backdrop-present.--has-scrollbar{padding-right:var(--scrollbar-width)}.m-backdrop[data-v-779670d7]{z-index:1050;background-color:hsl(var(--maz-overlay) / .25);--maz-tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);transition-behavior:allow-discrete;position:fixed;inset:0}.m-backdrop.--persistent .m-backdrop-content[data-v-779670d7]{cursor:default}.m-backdrop-container[data-v-779670d7]{z-index:1050;position:fixed;inset:0}.m-backdrop-wrapper[data-v-779670d7]{position:fixed;inset:0;overflow-y:auto}.m-backdrop-content[data-v-779670d7]{align-items:flex-end;min-height:100%;display:flex}@media (min-width:640px){.m-backdrop-content[data-v-779670d7]{align-items:center;padding:0}}.m-backdrop-content.--padding[data-v-779670d7]{padding:1rem}.m-backdrop-content.--justify-center[data-v-779670d7]{justify-content:center}.m-backdrop-content.--justify-end[data-v-779670d7]{justify-content:flex-end}.m-backdrop-content.--justify-start[data-v-779670d7]{justify-content:flex-start}.m-backdrop-content.--justify-space-between[data-v-779670d7]{justify-content:space-between}.m-backdrop-content.--justify-space-around[data-v-779670d7]{justify-content:space-around}.m-backdrop-content.--align-center[data-v-779670d7]{align-items:center}.m-backdrop-content.--align-end[data-v-779670d7]{align-items:flex-end}.m-backdrop-content.--align-start[data-v-779670d7]{align-items:flex-start}.m-backdrop-content[data-v-779670d7]>*{cursor:default}.m-backdrop.--variant-bottom-sheet .m-backdrop-content[data-v-779670d7],.m-backdrop.--variant-drawer .m-backdrop-content[data-v-779670d7]{position:fixed;inset:0}.m-backdrop.bottom-sheet-anim-enter-active[data-v-779670d7],.m-backdrop.bottom-sheet-anim-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.bottom-sheet-anim-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.bottom-sheet-anim-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.bottom-sheet-anim-enter-from[data-v-779670d7],.m-backdrop.bottom-sheet-anim-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.bottom-sheet-anim-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.bottom-sheet-anim-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:translateY(100%)}.m-backdrop.modal-anim-enter-active[data-v-779670d7],.m-backdrop.modal-anim-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.modal-anim-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.modal-anim-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.modal-anim-enter-from[data-v-779670d7],.m-backdrop.modal-anim-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.modal-anim-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.modal-anim-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:scale(.5)}.m-backdrop.drawer-anim-top-enter-active[data-v-779670d7],.m-backdrop.drawer-anim-top-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-top-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-top-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-top-enter-from[data-v-779670d7],.m-backdrop.drawer-anim-top-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.drawer-anim-top-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-top-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:translateY(-100%)}.m-backdrop.drawer-anim-bottom-enter-active[data-v-779670d7],.m-backdrop.drawer-anim-bottom-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-bottom-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-bottom-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-bottom-enter-from[data-v-779670d7],.m-backdrop.drawer-anim-bottom-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.drawer-anim-bottom-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-bottom-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:translateY(100%)}.m-backdrop.drawer-anim-left-enter-active[data-v-779670d7],.m-backdrop.drawer-anim-left-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-left-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-left-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-left-enter-from[data-v-779670d7],.m-backdrop.drawer-anim-left-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.drawer-anim-left-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-left-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:translate(-100%)}.m-backdrop.drawer-anim-right-enter-active[data-v-779670d7],.m-backdrop.drawer-anim-right-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-right-enter-active .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-right-leave-active .m-backdrop-content[data-v-779670d7]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-right-enter-from[data-v-779670d7],.m-backdrop.drawer-anim-right-leave-to[data-v-779670d7]{opacity:0}.m-backdrop.drawer-anim-right-enter-from .m-backdrop-content[data-v-779670d7]>*,.m-backdrop.drawer-anim-right-leave-to .m-backdrop-content[data-v-779670d7]>*{transform:translate(100%)}.m-backdrop.backdrop-anim-enter-active[data-v-779670d7],.m-backdrop.backdrop-anim-leave-active[data-v-779670d7]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.backdrop-anim-enter-from[data-v-779670d7],.m-backdrop.backdrop-anim-leave-to[data-v-779670d7]{opacity:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.m-date-picker[data-v-bd9b2992]{display:inline-block;position:relative}.m-date-picker__input[data-v-bd9b2992]{width:100%;height:100%}.m-date-picker .m-date-picker__button[data-v-bd9b2992]{cursor:not-allowed;background-color:#0000;justify-content:center;align-items:center;height:100%;padding-inline-end:.25rem;display:flex}.m-date-picker .m-date-picker__button__chevron[data-v-bd9b2992]{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground) / var(--maz-tw-text-opacity,1));transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-date-picker.--is-open .m-date-picker__button__chevron[data-v-bd9b2992]{transform:rotate(180deg)}.m-date-picker:not(.--is-disabled) .m-date-picker__button[data-v-bd9b2992]{cursor:pointer}.m-date-picker:not(.--is-disabled) .m-date-picker__input[data-v-bd9b2992] input{cursor:pointer!important}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-dropdown[data-v-
|
|
1
|
+
.m-dropdown[data-v-06d39d35]{vertical-align:top;flex-direction:column;align-items:flex-start;display:inline-flex;position:relative}.m-dropdown__wrapper[data-v-06d39d35]{border-radius:var(--maz-radius);outline-offset:2px;outline:2px solid #0000;width:100%;height:100%}.m-dropdown__wrapper[data-v-06d39d35]:focus{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-dropdown__wrapper[data-v-06d39d35]:focus:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-dropdown__icon[data-v-06d39d35]{transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-dropdown__icon.--open[data-v-06d39d35]{--maz-tw-rotate:180deg;transform:translate(var(--maz-tw-translate-x), var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skewX(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-dropdown__menu[data-v-06d39d35]{flex-direction:column;gap:.125rem;min-width:max-content;min-height:max-content;padding:.5rem;display:flex;overflow:auto}.m-dropdown__menu .menuitem[data-v-06d39d35]{cursor:pointer;white-space:nowrap;border-radius:var(--maz-radius);text-align:start;outline-offset:2px;outline:2px solid #0000;padding:.5rem 1rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-dropdown__menu .menuitem[data-v-06d39d35]:hover,.m-dropdown__menu .menuitem[data-v-06d39d35]:focus{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-dropdown__menu .menuitem[data-v-06d39d35]:hover:is([class~=dark] *),.m-dropdown__menu .menuitem[data-v-06d39d35]:focus:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button[data-v-06d39d35]:disabled{cursor:not-allowed;opacity:.5}.m-dropdown__menu .menuitem.menuitem__button.--primary[data-v-06d39d35]{--maz-tw-text-opacity:1;color:hsl(var(--maz-primary) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--primary[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-primary-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--secondary[data-v-06d39d35]{--maz-tw-text-opacity:1;color:hsl(var(--maz-secondary) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--secondary[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-secondary-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--info[data-v-06d39d35]{--maz-tw-text-opacity:1;color:hsl(var(--maz-info) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--info[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-info-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--warning[data-v-06d39d35],.m-dropdown__menu .menuitem.menuitem__button.--warning[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-warning-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--destructive[data-v-06d39d35],.m-dropdown__menu .menuitem.menuitem__button.--destructive[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--success[data-v-06d39d35],.m-dropdown__menu .menuitem.menuitem__button.--success[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-success-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--contrast[data-v-06d39d35]{--maz-tw-text-opacity:1;color:hsl(var(--maz-contrast) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--contrast[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-contrast-600) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--accent[data-v-06d39d35]{--maz-tw-text-opacity:1;color:hsl(var(--maz-accent) / var(--maz-tw-text-opacity,1))}.m-dropdown__menu .menuitem.menuitem__button.--accent[data-v-06d39d35]:hover{--maz-tw-text-opacity:1;color:hsl(var(--maz-accent-600) / var(--maz-tw-text-opacity,1))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-dropzone[data-v-
|
|
1
|
+
.m-dropzone[data-v-0d91ca4e]{cursor:pointer;border-radius:var(--maz-radius);border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-style:dashed;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1));--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));flex-direction:column;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:1.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.m-dropzone[data-v-0d91ca4e]:hover{background-color:hsl(var(--maz-background-600) / .5)}.m-dropzone[data-v-0d91ca4e]:hover:is([class~=dark] *){background-color:hsl(var(--maz-background-400) / .5)}.m-dropzone--disabled[data-v-0d91ca4e]{cursor:not-allowed;opacity:.5}.m-dropzone--is-over-drop-zone[data-v-0d91ca4e]{background-color:hsl(var(--maz-primary-400) / .2)}.m-dropzone--is-over-drop-zone[data-v-0d91ca4e]:hover{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-dropzone--is-over-drop-zone[data-v-0d91ca4e]:hover:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-dropzone--is-over-drop-zone[data-v-0d91ca4e]{border-color:var(--active-color)}.m-dropzone--is-over-drop-zone .maz-dropzone__upload-icon[data-v-0d91ca4e]{color:var(--active-color)}.m-dropzone--is-over-error[data-v-0d91ca4e]{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-destructive) / var(--maz-tw-border-opacity,1));--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-destructive-50) / var(--maz-tw-bg-opacity,1))}.m-dropzone--is-over-error[data-v-0d91ca4e]:hover{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-destructive-50) / var(--maz-tw-bg-opacity,1))}.m-dropzone--is-over-error .maz-dropzone__upload-icon[data-v-0d91ca4e]{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive) / var(--maz-tw-text-opacity,1))}.m-dropzone__divider[data-v-0d91ca4e]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));font-size:.875rem;line-height:1.25rem}.m-dropzone__content[data-v-0d91ca4e]{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;display:flex}.m-dropzone__files-container[data-v-0d91ca4e]{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;display:flex;position:relative}.m-dropzone__file-item[data-v-0d91ca4e]{cursor:auto;border-radius:var(--maz-radius);--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1));flex-direction:column;align-items:center;width:10rem;height:10rem;display:flex;position:relative;overflow:hidden}.m-dropzone__file-item[data-v-0d91ca4e]:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-dropzone__file-item[data-v-0d91ca4e]{transition:all .3s ease-in-out}.m-dropzone__thumbnail[data-v-0d91ca4e]{position:absolute;inset:0}.m-dropzone__overlay[data-v-0d91ca4e]{border-radius:var(--maz-radius);background-color:hsl(var(--maz-background) / .4);--maz-tw-backdrop-blur:blur(.125rem);-webkit-backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);position:absolute;inset:0}.m-dropzone__icon-container[data-v-0d91ca4e]{z-index:2;flex:1;justify-content:center;align-items:center;padding:.5rem;display:flex}.m-dropzone__spinner[data-v-0d91ca4e]{font-size:1.125rem;line-height:1.75rem}.m-dropzone__success-icon[data-v-0d91ca4e]{--maz-tw-text-opacity:1;color:hsl(var(--maz-success) / var(--maz-tw-text-opacity,1));font-size:2.25rem;line-height:2.5rem}.m-dropzone__error-icon[data-v-0d91ca4e]{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive) / var(--maz-tw-text-opacity,1));font-size:2.25rem;line-height:2.5rem}.m-dropzone__file-icon-wrapper[data-v-0d91ca4e]{border-radius:var(--maz-radius);--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground) / var(--maz-tw-text-opacity,1));padding:.25rem}.m-dropzone__description[data-v-0d91ca4e]{z-index:2;text-overflow:ellipsis;white-space:nowrap;flex-direction:column;gap:.25rem;width:100%;padding:.5rem;display:flex;overflow:hidden}.m-dropzone__file-info[data-v-0d91ca4e]{text-align:center;flex-direction:column;gap:.125rem;font-size:.875rem;font-weight:600;line-height:1.25rem;display:flex}.m-dropzone__file-name[data-v-0d91ca4e],.m-dropzone__file-size[data-v-0d91ca4e]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m-dropzone__upload-icon[data-v-0d91ca4e]{font-size:1.875rem;line-height:2.25rem}.m-dropzone__upload-text[data-v-0d91ca4e]{text-align:center}.m-dropzone__info-text[data-v-0d91ca4e]{text-align:center;--maz-tw-text-opacity:1;max-width:100%;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));flex-direction:column;margin-top:1rem;font-size:.875rem;line-height:1.25rem;display:flex}.m-dropzone__file-input[data-v-0d91ca4e]{display:none}.m-dropzone .icon-scale-enter-active[data-v-0d91ca4e],.m-dropzone .icon-scale-leave-active[data-v-0d91ca4e]{transition:transform .3s ease-in-out}.m-dropzone .icon-scale-enter-from[data-v-0d91ca4e]{opacity:0;position:absolute;transform:scale(0)}.m-dropzone .icon-scale-leave-to[data-v-0d91ca4e]{display:none}.m-dropzone .file-scale-enter-active[data-v-0d91ca4e],.m-dropzone .file-scale-leave-active[data-v-0d91ca4e]{transition:all .3s ease-in-out}.m-dropzone .file-scale-enter-from[data-v-0d91ca4e]{opacity:0;transform:scale(.3)}.m-dropzone .file-scale-leave-to[data-v-0d91ca4e]{opacity:0;transform:translateY(-100%)}.m-dropzone .file-scale-move[data-v-0d91ca4e]{transition:transform .3s ease-in-out}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-input-code[data-v-
|
|
1
|
+
.m-input-code[data-v-8bc09e57]{vertical-align:top;flex-direction:column;gap:.5em;display:inline-flex}.m-input-code.--mini[data-v-8bc09e57]{font-size:.625rem;line-height:1rem}.m-input-code.--xs[data-v-8bc09e57]{font-size:.75rem;line-height:1rem}.m-input-code.--sm[data-v-8bc09e57]{font-size:.875rem;line-height:1.25rem}.m-input-code.--lg[data-v-8bc09e57]{font-size:1.125rem;line-height:1.75rem}.m-input-code.--xl[data-v-8bc09e57]{font-size:1.25rem;line-height:1.75rem}.m-input-code__wrapper[data-v-8bc09e57]{gap:1em;display:inline-flex}.m-input-code__hint[data-v-8bc09e57]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));font-size:.875rem;line-height:1.25rem}.m-input-code__hint.--error[data-v-8bc09e57]{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive-600) / var(--maz-tw-text-opacity,1))}.m-input-code__hint.--success[data-v-8bc09e57]{--maz-tw-text-opacity:1;color:hsl(var(--maz-success-600) / var(--maz-tw-text-opacity,1))}.m-input-code__hint.--warning[data-v-8bc09e57]{--maz-tw-text-opacity:1;color:hsl(var(--maz-warning-600) / var(--maz-tw-text-opacity,1))}.m-input-code .input-wrapper[data-v-8bc09e57]{border-radius:var(--maz-radius);border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-style:solid;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1));width:4em;height:4em;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.m-input-code .input-wrapper[data-v-8bc09e57]:is([class~=dark] *){--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border-400) / var(--maz-tw-border-opacity,1));--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-input-code .input-wrapper[data-v-8bc09e57]:focus-within{border-color:var(--input-border-color)}.m-input-code .input-wrapper input[data-v-8bc09e57]{text-align:center;outline-offset:2px;background-color:#0000;outline:2px solid #0000;width:100%;height:100%;font-size:1.5em}.m-input-code .input-wrapper[data-v-8bc09e57]:has(input:disabled){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1));--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}.m-input-code .input-wrapper[data-v-8bc09e57]:has(input:disabled):is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-300) / var(--maz-tw-bg-opacity,1))}.m-input-code .input-wrapper:has(input:disabled) input[data-v-8bc09e57]{cursor:not-allowed;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.m-input-phone-number[data-v-cc259039]{vertical-align:top;align-items:center;display:inline-flex;position:relative}.m-input-phone-number.--block[data-v-cc259039]{width:100%}.m-input-phone-number.--col[data-v-cc259039]{flex-direction:column}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-cc259039],.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-cc259039] .m-select-country__select{min-width:100%}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-cc259039] .m-select-country__select .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--maz-radius)}.m-input-phone-number.--row[data-v-cc259039]{flex-direction:row}.m-input-phone-number.--row .m-input-phone-number__country-select[data-v-cc259039] .m-select-country__select .m-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.m-input-phone-number.--responsive[data-v-cc259039]{flex-direction:column}@media (min-width:576px){.m-input-phone-number.--responsive[data-v-cc259039]{flex-direction:row}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039]{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039]{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039] .m-select-country__select{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039] .m-select-country__select{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039] .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-cc259039] .m-input-wrapper{border-bottom-right-radius:var(--maz-radius);border-bottom-left-radius:var(--maz-radius);border-top-right-radius:0;border-bottom-right-radius:0}}.m-input-phone-number__country-list-code[data-v-cc259039]{text-align:center;--maz-tw-text-opacity:1;min-width:2rem;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-input-tags[data-v-
|
|
1
|
+
.m-input-tags[data-v-3d536bea]{border-radius:var(--maz-radius);border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1));--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));vertical-align:top;flex-wrap:wrap;gap:.25rem;padding:.25em .5em;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative;overflow:hidden}.m-input-tags[data-v-3d536bea]:is([class~=dark] *){--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border-400) / var(--maz-tw-border-opacity,1));--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-input-tags.--xl[data-v-3d536bea]{min-height:4rem}.m-input-tags.--lg[data-v-3d536bea]{min-height:3.5rem}.m-input-tags.--md[data-v-3d536bea]{min-height:3rem}.m-input-tags.--sm[data-v-3d536bea]{min-height:2.5rem}.m-input-tags.--xs[data-v-3d536bea]{min-height:2rem}.m-input-tags.--mini[data-v-3d536bea]{min-height:1.5rem}.m-input-tags.--block[data-v-3d536bea]{width:100%}.m-input-tags__wrapper[data-v-3d536bea]{justify-content:center;align-items:center;height:auto;display:inline-flex;flex:none!important}.m-input-tags__input[data-v-3d536bea]{flex:1;height:auto!important}.m-input-tags__input[data-v-3d536bea] .m-input-wrapper{border-style:none;min-width:7.5em;background-color:#0000!important}.m-input-tags__input[data-v-3d536bea] input{padding-left:.4em;padding-right:.4em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.m-select[data-v-badad462]{vertical-align:top;display:inline-flex;position:relative}.m-select.--disabled .m-select-input[data-v-badad462]{cursor:not-allowed}.m-select-input[data-v-badad462]{cursor:pointer;width:100%;height:100%}.m-select-input__toggle-button[data-v-badad462]{background-color:#0000;justify-content:center;align-items:center;height:100%;padding-inline-start:0;display:flex}.m-select-input[data-v-badad462] input{caret-color:#0000}.m-select.--mini[data-v-badad462],.m-select.--xs[data-v-badad462]{font-size:.75rem;line-height:1rem}.m-select.--sm[data-v-badad462]{font-size:.875rem;line-height:1.25rem}.m-select.--md[data-v-badad462]{font-size:1rem;line-height:1.5rem}.m-select.--lg[data-v-badad462]{font-size:1.125rem;line-height:1.75rem}.m-select.--xl[data-v-badad462]{font-size:1.25rem;line-height:1.75rem}.m-select[data-v-badad462]:not(.--disabled) .m-input-input{cursor:pointer}.m-select-chevron[data-v-badad462]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));font-size:1.2em;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.m-select.--is-open .m-select-chevron[data-v-badad462]{transform:rotate(180deg)}.m-select button.maz-custom[data-v-badad462]{cursor:pointer;appearance:none;border-style:none}.m-select button.maz-custom[data-v-badad462]:disabled{cursor:not-allowed}.m-select-list[data-v-badad462]{z-index:1050;border-radius:var(--maz-radius);--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));--maz-tw-shadow-color:hsl(var(--maz-shadow) / 1);--maz-tw-shadow:var(--maz-tw-shadow-colored);--maz-tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--maz-tw-blur) var(--maz-tw-brightness) var(--maz-tw-contrast) var(--maz-tw-grayscale) var(--maz-tw-hue-rotate) var(--maz-tw-invert) var(--maz-tw-saturate) var(--maz-tw-sepia) var(--maz-tw-drop-shadow);flex-direction:column;gap:.25rem;display:flex;overflow:hidden}.m-select-list-optgroup[data-v-badad462]{text-align:start;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));flex:none;padding:.125rem;font-size:.875em}.m-select-list.--mini[data-v-badad462],.m-select-list.--xs[data-v-badad462]{font-size:.75rem;line-height:1rem}.m-select-list.--sm[data-v-badad462]{font-size:.875rem;line-height:1.25rem}.m-select-list.--md[data-v-badad462]{font-size:1rem;line-height:1.5rem}.m-select-list.--lg[data-v-badad462]{font-size:1.125rem;line-height:1.75rem}.m-select-list.--xl[data-v-badad462]{font-size:1.25rem;line-height:1.75rem}.m-select-list[data-v-badad462]{min-width:3.5rem}.m-select-list__search-wrapper[data-v-badad462]{padding-top:.5rem;padding-left:.5rem;padding-right:.5rem}.m-select-list__scroll-wrapper[data-v-badad462]{flex-direction:column;flex:1;gap:.25rem;padding:.5rem;display:flex;overflow:auto}.m-select-list__scroll-wrapper[data-v-badad462]::-webkit-scrollbar{width:.1875rem}.m-select-list__scroll-wrapper[data-v-badad462]::-webkit-scrollbar-track{background:0 0}.m-select-list__scroll-wrapper[data-v-badad462]::-webkit-scrollbar-thumb{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-select-list__scroll-wrapper[data-v-badad462]:is([class~=dark] *)::-webkit-scrollbar-thumb{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-select-list__scroll-wrapper[data-v-badad462]::-webkit-scrollbar-thumb{border-radius:1000px}.m-select-list__scroll-wrapper[data-v-badad462]{scrollbar-width:thin;scrollbar-color:hsl(var(--maz-background-600)) transparent}.m-select-list__no-results[data-v-badad462]{justify-content:center;align-items:center;padding:1rem;display:flex}.m-select-list-item[data-v-badad462]{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--maz-radius);border-width:var(--maz-border-width);text-align:start;outline-offset:2px;background-color:#0000;border-style:solid;border-color:#0000;outline:2px solid #0000;align-items:center;gap:.75rem;width:100%;padding:.5rem .75rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.m-select-list-item[data-v-badad462]:focus-within,.m-select-list-item[data-v-badad462]:hover{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-select-list-item[data-v-badad462]:focus-within:is([class~=dark] *),.m-select-list-item[data-v-badad462]:hover:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-select-list-item span[data-v-badad462]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m-select-list-item.--is-none-value[data-v-badad462]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}.m-select-list-item.--is-selected[data-v-badad462]{color:var(--selected-text-color);background-color:var(--selected-bg-color)}.m-select-list-item.--is-selected[data-v-badad462]:focus{outline-color:var(--selected-text-color);outline-width:var(--maz-border-width)}.m-select-list-item.--is-selected.--transparent[data-v-badad462]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.m-table[data-v-06d3d24b]{max-width:100%;position:relative}.m-table-header[data-v-06d3d24b]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));justify-content:space-between;align-items:center;gap:.5rem;max-width:100%;padding-top:.5rem;padding-bottom:.5rem;display:flex}.m-table-header-search[data-v-06d3d24b]{align-items:center;gap:.5rem;display:flex}.m-table-header-title[data-v-06d3d24b]{font-weight:600}.m-table-footer[data-v-06d3d24b]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));justify-content:space-between;gap:.5rem;max-width:100%;padding:.5rem;display:flex}.m-table-footer-pagination[data-v-06d3d24b]{align-items:center;gap:1rem;display:flex}.m-table-footer-pagination-buttons[data-v-06d3d24b],.m-table-footer-pagination-items-per-page[data-v-06d3d24b]{align-items:center;gap:.25rem;display:flex}.m-table-wrapper[data-v-06d3d24b]{border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-style:solid;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1));overflow:hidden}.m-table-wrapper.--scrollable[data-v-06d3d24b]{overflow:auto}.m-table-wrapper[data-v-06d3d24b]:not(.--rounded-none){border-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-sm[data-v-06d3d24b],.m-table-wrapper.--rounded-sm table[data-v-06d3d24b]{border-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr[data-v-06d3d24b]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px);border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-06d3d24b]:first-child{border-top-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-06d3d24b]:last-child{border-top-right-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr[data-v-06d3d24b]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px);border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-06d3d24b]:first-child{border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-06d3d24b]:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-md[data-v-06d3d24b],.m-table-wrapper.--rounded-md table[data-v-06d3d24b]{border-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr[data-v-06d3d24b]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px);border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-06d3d24b]:first-child{border-top-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-06d3d24b]:last-child{border-top-right-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr[data-v-06d3d24b]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px);border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-06d3d24b]:first-child{border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-06d3d24b]:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-lg[data-v-06d3d24b],.m-table-wrapper.--rounded-lg table[data-v-06d3d24b]{border-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr[data-v-06d3d24b]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px);border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-06d3d24b]:first-child{border-top-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-06d3d24b]:last-child{border-top-right-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr[data-v-06d3d24b]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px);border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-06d3d24b]:first-child{border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-06d3d24b]:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-xl[data-v-06d3d24b],.m-table-wrapper.--rounded-xl table[data-v-06d3d24b]{border-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr[data-v-06d3d24b]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px);border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-06d3d24b]:first-child{border-top-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-06d3d24b]:last-child{border-top-right-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr[data-v-06d3d24b]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px);border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-06d3d24b]:first-child{border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-06d3d24b]:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px)}.m-table.--has-header[data-v-06d3d24b],.m-table:not(.--has-header) table[data-v-06d3d24b]{border-radius:var(--maz-radius)}.m-table table[data-v-06d3d24b]{border-collapse:collapse;--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));table-layout:var(--v19f2cb1e);width:100%;display:table}.m-table table.--has-layout[data-v-06d3d24b]{width:100%}.m-table table.--elevation[data-v-06d3d24b]{--maz-tw-shadow-color:hsl(var(--maz-shadow) / 1);--maz-tw-shadow:var(--maz-tw-shadow-colored);--maz-tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--maz-tw-blur) var(--maz-tw-brightness) var(--maz-tw-contrast) var(--maz-tw-grayscale) var(--maz-tw-hue-rotate) var(--maz-tw-invert) var(--maz-tw-saturate) var(--maz-tw-sepia) var(--maz-tw-drop-shadow)}.m-table table .m-table-select-column[data-v-06d3d24b]{width:2.9rem}.m-table table caption[data-v-06d3d24b]{caption-side:var(--v7a969236);padding:.75rem}.m-table table thead[data-v-06d3d24b]{word-break:break-all;border-bottom-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1))}.m-table table thead th[data-v-06d3d24b]{word-break:break-all;letter-spacing:-.025em;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));gap:.5rem;font-weight:400}.m-table table thead th.--hidden[data-v-06d3d24b]{display:none}.m-table table thead th.--sortable[data-v-06d3d24b]{cursor:pointer}.m-table table thead th.--sortable[data-v-06d3d24b]:hover{background-color:hsl(var(--maz-background-600) / .5)}.m-table table thead th.--sortable[data-v-06d3d24b]:hover:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-table table thead th.--xl[data-v-06d3d24b]{padding:1.25rem;font-size:1.125rem;line-height:1.75rem}.m-table table thead th.--lg[data-v-06d3d24b]{padding:1rem;font-size:1rem;line-height:1.5rem}.m-table table thead th.--md[data-v-06d3d24b]{padding:.75rem;font-size:.875rem;line-height:1.25rem}.m-table table thead th.--sm[data-v-06d3d24b]{padding:.5rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--xs[data-v-06d3d24b]{padding:.25rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--mini[data-v-06d3d24b]{padding:.125rem;font-size:.75rem;line-height:1rem}.m-table table thead th span[data-v-06d3d24b]{align-items:center;gap:.25rem;display:inline-flex}.m-table table thead th span .m-table-sort-icon-wrapper[data-v-06d3d24b]{width:1rem;height:1rem}.m-table table thead th span .m-table-sort-icon[data-v-06d3d24b]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.m-table table thead th span .m-table-sort-icon.--sorted[data-v-06d3d24b]{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground) / var(--maz-tw-text-opacity,1));display:block}.m-table table thead th span .m-table-sort-icon.--sorted.--up[data-v-06d3d24b]{--maz-tw-rotate:0deg;transform:translate(var(--maz-tw-translate-x), var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skewX(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-table table thead th span .m-table-sort-icon.--sorted.--down[data-v-06d3d24b]{--maz-tw-rotate:180deg;transform:translate(var(--maz-tw-translate-x), var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skewX(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-table table tbody.--divider[data-v-06d3d24b]>:not([hidden])~:not([hidden]){--maz-tw-divide-y-reverse:0;border-top-width:calc(var(--maz-border-width) * calc(1 - var(--maz-tw-divide-y-reverse)));border-bottom-width:calc(var(--maz-border-width) * var(--maz-tw-divide-y-reverse));--maz-tw-divide-opacity:1;border-color:hsl(var(--maz-border) / var(--maz-tw-divide-opacity,1))}
|
|
@@ -24,10 +24,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
watch(() => props.modelValue, updateInternalValue);
|
|
25
25
|
const isActive = ref(!1), valueString = computed(() => props.modelValue?.toString()), valueNumber = computed(() => props.modelValue), priceFormatted = computed(
|
|
26
26
|
() => typeof valueNumber.value == "number" ? formatCurrency(valueNumber.value, props.locale, { ...props.currencyOptions, currency: props.currency }) : void 0
|
|
27
|
-
);
|
|
27
|
+
), isLetterRegex = /[^\d.]/g;
|
|
28
28
|
function getAdjustedPrice(value) {
|
|
29
29
|
const isNegative = typeof value == "string" && value.startsWith("-");
|
|
30
|
-
let newValue = typeof value == "string" ? Number.parseFloat(value.replace(",", ".").replaceAll(
|
|
30
|
+
let newValue = typeof value == "string" ? Number.parseFloat(value.replace(",", ".").replaceAll(isLetterRegex, "")) : value;
|
|
31
31
|
return newValue = isNegative && newValue ? -newValue : newValue, (typeof newValue != "number" || Number.isNaN(newValue)) && (newValue = void 0), newValue && newValue < props.min && (newValue = props.min), newValue && newValue > props.max && (newValue = props.max), newValue;
|
|
32
32
|
}
|
|
33
33
|
const displayPrice = computed(() => {
|
|
@@ -64,8 +64,8 @@ const _hoisted_1 = {
|
|
|
64
64
|
emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
|
|
65
65
|
setup(__props, { emit: __emit }) {
|
|
66
66
|
useCssVars((_ctx) => ({
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
v19f2cb1e: _ctx.tableLayout,
|
|
68
|
+
v7a969236: _ctx.captionSide
|
|
69
69
|
}));
|
|
70
70
|
const props = __props, emits = __emit, MazBtn = defineAsyncComponent(() => import("../components/MazBtn.js")), MazCheckbox = defineAsyncComponent(() => import("../components/MazCheckbox.js")), MazInput = defineAsyncComponent(() => import("../components/MazInput.js")), MazLoadingBar = defineAsyncComponent(() => import("../components/MazLoadingBar.js")), MazSelect = defineAsyncComponent(() => import("../components/MazSelect.js")), MazTableCell = defineAsyncComponent(() => import("../components/MazTableCell.js")), MazTableRowComponent = defineAsyncComponent(() => import("../components/MazTableRow.js")), MazTableTitle = defineAsyncComponent(() => import("../components/MazTableTitle.js")), { t } = useTranslations(), messages = computed(() => ({
|
|
71
71
|
noResults: props.translations?.noResults ?? t("table.noResults"),
|
|
@@ -170,7 +170,7 @@ const _hoisted_1 = {
|
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
172
|
function getSortedRows(rows) {
|
|
173
|
-
return
|
|
173
|
+
return rows.toSorted((a, b) => {
|
|
174
174
|
if (sortedColumnIndex.value === void 0 || sortType.value === void 0)
|
|
175
175
|
return 0;
|
|
176
176
|
const aValue = a[headersNormalized.value[sortedColumnIndex.value].key], bValue = b[headersNormalized.value[sortedColumnIndex.value].key];
|
|
@@ -291,7 +291,7 @@ function findInteractiveElements(el) {
|
|
|
291
291
|
".interactive",
|
|
292
292
|
"[data-clickable]"
|
|
293
293
|
].join(", ");
|
|
294
|
-
return
|
|
294
|
+
return [...el.querySelectorAll(selector)].filter(isInteractiveElement);
|
|
295
295
|
}
|
|
296
296
|
function isInteractiveElement(el) {
|
|
297
297
|
if (el.getAttribute("tabindex") === "-1")
|
package/dist/chunks/{useMazInputPhoneNumber.DJRbFd4U.js → useMazInputPhoneNumber.Os-2y9bz.js}
RENAMED
|
@@ -139,11 +139,9 @@ async function fetchCountryCode() {
|
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
+
const isLetterOrNumberRegex = /[^\d ()+-]/g;
|
|
142
143
|
function sanitizePhoneNumber(input) {
|
|
143
|
-
|
|
144
|
-
return "";
|
|
145
|
-
const regex = new RegExp(/[^\d ()+-]/g);
|
|
146
|
-
return input.replaceAll(regex, "").trim();
|
|
144
|
+
return input ? input.replaceAll(isLetterOrNumberRegex, "").trim() : "";
|
|
147
145
|
}
|
|
148
146
|
function useMazInputPhoneNumber() {
|
|
149
147
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, nextTick, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, mergeProps, createElementVNode, withModifiers, normalizeClass, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
3
|
-
import '../assets/MazBackdrop.
|
|
3
|
+
import '../assets/MazBackdrop.CNkHZg2a.css';const _hoisted_1 = ["aria-labelledby", "aria-describedby"], _hoisted_2 = {
|
|
4
4
|
role: "dialog",
|
|
5
5
|
class: "m-backdrop-container",
|
|
6
6
|
"aria-modal": "true"
|
|
@@ -70,7 +70,7 @@ import '../assets/MazBackdrop.BBjTEH41.css';const _hoisted_1 = ["aria-labelledby
|
|
|
70
70
|
let initialFocusableElement = null;
|
|
71
71
|
function getAllFocusableElements(selector) {
|
|
72
72
|
const modal = document.querySelector(selector);
|
|
73
|
-
return (modal &&
|
|
73
|
+
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) => {
|
|
74
74
|
const style = globalThis.getComputedStyle(el), isDisabled = "disabled" in el ? el.disabled : !1;
|
|
75
75
|
return style.display !== "none" && style.visibility !== "hidden" && !isDisabled && el.tabIndex !== -1;
|
|
76
76
|
}) || [];
|
|
@@ -85,8 +85,8 @@ import '../assets/MazBackdrop.BBjTEH41.css';const _hoisted_1 = ["aria-labelledby
|
|
|
85
85
|
const focusableElements = getAllFocusableElements(".m-backdrop-content");
|
|
86
86
|
if (focusableElements.length === 0)
|
|
87
87
|
return;
|
|
88
|
-
const firstFocusable = focusableElements[0], lastFocusable = focusableElements
|
|
89
|
-
event.shiftKey ? document.activeElement === firstFocusable && (event.preventDefault(), lastFocusable
|
|
88
|
+
const firstFocusable = focusableElements[0], lastFocusable = focusableElements.at(-1);
|
|
89
|
+
event.shiftKey ? document.activeElement === firstFocusable && (event.preventDefault(), lastFocusable?.focus()) : document.activeElement === lastFocusable && (event.preventDefault(), firstFocusable?.focus());
|
|
90
90
|
}
|
|
91
91
|
return watch(
|
|
92
92
|
() => __props.modelValue,
|
|
@@ -157,7 +157,7 @@ import '../assets/MazBackdrop.BBjTEH41.css';const _hoisted_1 = ["aria-labelledby
|
|
|
157
157
|
}, 8, ["name"])
|
|
158
158
|
], 8, ["to", "disabled"]));
|
|
159
159
|
}
|
|
160
|
-
}), MazBackdrop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
160
|
+
}), MazBackdrop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-779670d7"]]);
|
|
161
161
|
export {
|
|
162
162
|
MazBackdrop as default
|
|
163
163
|
};
|
|
@@ -9,7 +9,7 @@ import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
|
9
9
|
import MazPickerContainer from "./MazDatePicker/MazPickerContainer.js";
|
|
10
10
|
import MazPopover from "./MazPopover.js";
|
|
11
11
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
12
|
-
import '../assets/MazDatePicker.
|
|
12
|
+
import '../assets/MazDatePicker.CQTJ2MSi.css';var customParseFormat$2 = { exports: {} }, customParseFormat$1 = customParseFormat$2.exports, hasRequiredCustomParseFormat;
|
|
13
13
|
function requireCustomParseFormat() {
|
|
14
14
|
return hasRequiredCustomParseFormat || (hasRequiredCustomParseFormat = 1, (function(module, exports$1) {
|
|
15
15
|
(function(e, t) {
|
|
@@ -460,7 +460,7 @@ const isBetween = /* @__PURE__ */ getDefaultExportFromCjs(isBetweenExports), _sf
|
|
|
460
460
|
_: 3
|
|
461
461
|
}, 8, ["id", "modelValue", "style", "class", "transition", "disabled", "block", "position", "prefer-position", "fallback-position", "position-reference"]));
|
|
462
462
|
}
|
|
463
|
-
}), MazDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
463
|
+
}), MazDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd9b2992"]]);
|
|
464
464
|
export {
|
|
465
465
|
MazDatePicker as default
|
|
466
466
|
};
|
|
@@ -5,7 +5,7 @@ import { isClient } from "@maz-ui/utils/helpers/isClient";
|
|
|
5
5
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
6
6
|
import MazPopover from "./MazPopover.js";
|
|
7
7
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
8
|
-
import '../assets/MazDropdown.
|
|
8
|
+
import '../assets/MazDropdown.gQ0Sr_Kf.css';const _hoisted_1 = ["id"], _hoisted_2 = ["id"], _hoisted_3 = ["id"], _hoisted_4 = ["onClick", "onKeypress"], _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
inheritAttrs: !1,
|
|
10
10
|
__name: "MazDropdown",
|
|
11
11
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -79,7 +79,7 @@ import '../assets/MazDropdown.C-ZHd88h.css';const _hoisted_1 = ["id"], _hoisted_
|
|
|
79
79
|
const code = event.key, itemLength = __props.items?.length;
|
|
80
80
|
if (!itemLength)
|
|
81
81
|
return;
|
|
82
|
-
const currentElement = document.activeElement, itemsElements = document.querySelectorAll(`#${instanceId.value}-menu .menuitem`), currentIndex =
|
|
82
|
+
const currentElement = document.activeElement, itemsElements = document.querySelectorAll(`#${instanceId.value}-menu .menuitem`), currentIndex = [...itemsElements].indexOf(currentElement);
|
|
83
83
|
if (currentIndex === -1) {
|
|
84
84
|
itemsElements[0]?.focus();
|
|
85
85
|
return;
|
|
@@ -271,7 +271,7 @@ import '../assets/MazDropdown.C-ZHd88h.css';const _hoisted_1 = ["id"], _hoisted_
|
|
|
271
271
|
_: 3
|
|
272
272
|
}, 8, ["trigger", "model-value", "style", "prefer-position", "position", "transition", "disabled", "offset", "delay", "fallback-position", "persistent", "hover-delay", "panel-class", "panel-style", "close-on-escape", "close-on-click", "teleport-to", "trap-focus", "overlay-class", "close-on-click-outside", "aria-describedby", "announce-changes", "aria-label", "aria-labelledby", "position-reference", "keep-open-on-hover", "class", "block"]));
|
|
273
273
|
}
|
|
274
|
-
}), MazDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
274
|
+
}), MazDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-06d39d35"]]);
|
|
275
275
|
export {
|
|
276
276
|
MazDropdown as default
|
|
277
277
|
};
|
|
@@ -8,7 +8,7 @@ import MazBtn from "./MazBtn.js";
|
|
|
8
8
|
import MazIcon from "./MazIcon.js";
|
|
9
9
|
import MazLink from "./MazLink.js";
|
|
10
10
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
11
|
-
import '../assets/MazDropzone.
|
|
11
|
+
import '../assets/MazDropzone.oxdW4qvt.css';const _hoisted_1 = ["for"], _hoisted_2 = { class: "m-dropzone__icon-container" }, _hoisted_3 = {
|
|
12
12
|
key: 3,
|
|
13
13
|
class: "m-dropzone__file-icon-wrapper"
|
|
14
14
|
}, _hoisted_4 = { class: "m-dropzone__description" }, _hoisted_5 = { class: "m-dropzone__file-info" }, _hoisted_6 = { class: "m-dropzone__file-name" }, _hoisted_7 = { class: "m-dropzone__file-size" }, _hoisted_8 = { class: "m-dropzone__content" }, _hoisted_9 = { class: "m-dropzone__upload-text" }, _hoisted_10 = {
|
|
@@ -215,7 +215,7 @@ import '../assets/MazDropzone.DnBa08Z6.css';const _hoisted_1 = ["for"], _hoisted
|
|
|
215
215
|
});
|
|
216
216
|
continue;
|
|
217
217
|
}
|
|
218
|
-
if (!__props.allowDuplicates && filesData.value.
|
|
218
|
+
if (!__props.allowDuplicates && filesData.value.some((f) => f.name === file.name && f.size === file.size && f.type === file.type)) {
|
|
219
219
|
emits("error", {
|
|
220
220
|
files: [file],
|
|
221
221
|
event: null,
|
|
@@ -527,7 +527,7 @@ import '../assets/MazDropzone.DnBa08Z6.css';const _hoisted_1 = ["for"], _hoisted
|
|
|
527
527
|
}, null, 40, _hoisted_14)
|
|
528
528
|
], 14, _hoisted_1));
|
|
529
529
|
}
|
|
530
|
-
}), MazDropzone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
530
|
+
}), MazDropzone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d91ca4e"]]);
|
|
531
531
|
export {
|
|
532
532
|
MazDropzone as default
|
|
533
533
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, Fragment, renderList, mergeProps, toDisplayString } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
3
|
-
import '../assets/MazInputCode.
|
|
3
|
+
import '../assets/MazInputCode.Dn05KUeo.css';const _hoisted_1 = ["disabled"], _hoisted_2 = { class: "m-input-code__wrapper" }, _hoisted_3 = ["id", "name", "inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "MazInputCode",
|
|
6
6
|
props: {
|
|
@@ -55,8 +55,9 @@ import '../assets/MazInputCode.zVPFfpxb.css';const _hoisted_1 = ["disabled"], _h
|
|
|
55
55
|
const stringValue = [...map.values()].join("");
|
|
56
56
|
return props.type === "text" ? stringValue : stringValue && !Number.isNaN(Number(stringValue)) ? Number(stringValue) : void 0;
|
|
57
57
|
}
|
|
58
|
+
const isLetterOrNumberRegex = /^[\w.]$/, isNumberRegex = /\d+/g;
|
|
58
59
|
function getValueSanitized(value) {
|
|
59
|
-
return (props.acceptAlpha ? value.match(
|
|
60
|
+
return (props.acceptAlpha ? value.match(isLetterOrNumberRegex) : value.match(isNumberRegex))?.toString();
|
|
60
61
|
}
|
|
61
62
|
function handleKeydown(event, inputIndex) {
|
|
62
63
|
const currentInputValue = localMap.value.get(inputIndex);
|
|
@@ -145,7 +146,7 @@ import '../assets/MazInputCode.zVPFfpxb.css';const _hoisted_1 = ["disabled"], _h
|
|
|
145
146
|
}, toDisplayString(__props.hint), 3)
|
|
146
147
|
], 14, _hoisted_1));
|
|
147
148
|
}
|
|
148
|
-
}), MazInputCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
149
|
+
}), MazInputCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8bc09e57"]]);
|
|
149
150
|
export {
|
|
150
151
|
MazInputCode as default
|
|
151
152
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, useModel, ref, computed, onMounted, useTemplateRef, op
|
|
|
2
2
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
3
3
|
import { useInjectStrict } from "../../composables/useInjectStrict.js";
|
|
4
4
|
import MazInput from "../MazInput.js";
|
|
5
|
-
import { a as useLibphonenumber, u as useMazInputPhoneNumber } from "../../chunks/useMazInputPhoneNumber.
|
|
5
|
+
import { a as useLibphonenumber, u as useMazInputPhoneNumber } from "../../chunks/useMazInputPhoneNumber.Os-2y9bz.js";
|
|
6
6
|
import { _ as _export_sfc } from "../../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
7
7
|
import '../../assets/PhoneInput.Cr63JIn7.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "PhoneInput",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, computed, onBeforeMount, onMounted, watch, provide, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, createBlock, mergeProps, withCtx, createElementVNode, toDisplayString, renderSlot, createCommentVNode, createVNode, nextTick } from "vue";
|
|
2
2
|
import { useTranslations } from "@maz-ui/translations/composables/useTranslations";
|
|
3
3
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
4
|
-
import { u as useMazInputPhoneNumber, a as useLibphonenumber } from "../chunks/useMazInputPhoneNumber.
|
|
4
|
+
import { u as useMazInputPhoneNumber, a as useLibphonenumber } from "../chunks/useMazInputPhoneNumber.Os-2y9bz.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
6
|
-
import '../assets/MazInputPhoneNumber.
|
|
6
|
+
import '../assets/MazInputPhoneNumber.CW4VVpBq.css';const _hoisted_1 = ["id"], _hoisted_2 = { class: "m-input-phone-number__country-list-code" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
name: "MazInputPhoneNumber",
|
|
8
8
|
inheritAttrs: !1,
|
|
9
9
|
__name: "MazInputPhoneNumber",
|
|
@@ -24,6 +24,7 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
24
24
|
size: { default: "md" },
|
|
25
25
|
hideFlags: { type: Boolean, default: !1 },
|
|
26
26
|
disabled: { type: Boolean, default: !1 },
|
|
27
|
+
required: { type: Boolean, default: !1 },
|
|
27
28
|
example: { type: Boolean, default: !0 },
|
|
28
29
|
search: { type: Boolean, default: !0 },
|
|
29
30
|
searchThreshold: { default: 0.75 },
|
|
@@ -114,13 +115,14 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
114
115
|
selectedCountry.value = countryCode;
|
|
115
116
|
}
|
|
116
117
|
}
|
|
118
|
+
const isLetterRegex = /\D/g;
|
|
117
119
|
function onPhoneNumberChanged({
|
|
118
120
|
newPhoneNumber
|
|
119
121
|
}) {
|
|
120
122
|
updateTheResults({ phone: newPhoneNumber }), results.value.parsedCountryCode && results.value.parsedCountryCode !== selectedCountry.value && onCountryChanged({
|
|
121
123
|
countryCode: results.value.parsedCountryCode,
|
|
122
124
|
updateResults: !1
|
|
123
|
-
}), results.value.isValid && (props.autoFormat === "blur" || props.autoFormat === "typing") ? phoneNumber.value = results.value.formatNational?.trim().
|
|
125
|
+
}), results.value.isValid && (props.autoFormat === "blur" || props.autoFormat === "typing") ? phoneNumber.value = results.value.formatNational?.trim().replaceAll(isLetterRegex, "") : phoneNumber.value = newPhoneNumber, isPhoneNumberInternalUpdate.value = !0, results.value.e164 ? emits("update:model-value", results.value.e164) : emits("update:model-value", results.value.phoneNumber), setTimeout(() => {
|
|
124
126
|
isPhoneNumberInternalUpdate.value = !1;
|
|
125
127
|
}, 0);
|
|
126
128
|
}
|
|
@@ -195,6 +197,7 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
195
197
|
hint: phoneNumber.value && !selectedCountry.value ? messages.value.countrySelect.error : void 0,
|
|
196
198
|
options: countriesList.value,
|
|
197
199
|
disabled: __props.disabled,
|
|
200
|
+
required: __props.required,
|
|
198
201
|
"search-threshold": __props.searchThreshold,
|
|
199
202
|
"format-input-value": __props.displayCountryName || !selectedCountry.value ? void 0 : (value) => `+${value}`,
|
|
200
203
|
"show-code-in-list": __props.showCodeInList,
|
|
@@ -218,7 +221,7 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
218
221
|
createElementVNode("span", _hoisted_2, " +" + toDisplayString(option.dialCode), 1)
|
|
219
222
|
]),
|
|
220
223
|
_: 3
|
|
221
|
-
}, 16, ["id", "model-value", "option-input-value-key", "color", "size", "locale", "countries-list", "list-position", "hide-flags", "search", "block", "error", "success", "translations", "hint", "options", "disabled", "search-threshold", "format-input-value", "show-code-in-list", "label"])),
|
|
224
|
+
}, 16, ["id", "model-value", "option-input-value-key", "color", "size", "locale", "countries-list", "list-position", "hide-flags", "search", "block", "error", "success", "translations", "hint", "options", "disabled", "required", "search-threshold", "format-input-value", "show-code-in-list", "label"])),
|
|
222
225
|
createVNode(unref(PhoneInput), mergeProps({
|
|
223
226
|
id: `${unref(instanceId)}-phone`,
|
|
224
227
|
ref_key: "PhoneInputRef",
|
|
@@ -232,6 +235,7 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
232
235
|
example: __props.example,
|
|
233
236
|
block: "",
|
|
234
237
|
disabled: __props.disabled,
|
|
238
|
+
required: __props.required,
|
|
235
239
|
name: __props.phoneInputAttributes.name,
|
|
236
240
|
"has-radius": !__props.hideCountrySelect,
|
|
237
241
|
success: __props.success || (__props.validationSuccess ? results.value.isValid : !1),
|
|
@@ -240,10 +244,10 @@ import '../assets/MazInputPhoneNumber.Ds96BstD.css';const _hoisted_1 = ["id"], _
|
|
|
240
244
|
label: __props.label,
|
|
241
245
|
placeholder: __props.placeholder,
|
|
242
246
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => onPhoneNumberChanged({ newPhoneNumber: $event }))
|
|
243
|
-
}), null, 16, ["id", "model-value", "color", "size", "auto-format", "example", "disabled", "name", "has-radius", "success", "error", "locales", "label", "placeholder"])
|
|
247
|
+
}), null, 16, ["id", "model-value", "color", "size", "auto-format", "example", "disabled", "required", "name", "has-radius", "success", "error", "locales", "label", "placeholder"])
|
|
244
248
|
], 14, _hoisted_1));
|
|
245
249
|
}
|
|
246
|
-
}), MazInputPhoneNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
250
|
+
}), MazInputPhoneNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cc259039"]]);
|
|
247
251
|
export {
|
|
248
252
|
MazInputPhoneNumber as default
|
|
249
253
|
};
|
|
@@ -124,10 +124,15 @@ export interface MazInputPhoneNumberProps {
|
|
|
124
124
|
*/
|
|
125
125
|
hideFlags?: boolean;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Make the input disabled
|
|
128
128
|
* @default false
|
|
129
129
|
*/
|
|
130
130
|
disabled?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Make the input required
|
|
133
|
+
* @default false
|
|
134
|
+
*/
|
|
135
|
+
required?: boolean;
|
|
131
136
|
/**
|
|
132
137
|
* Show the phone number example
|
|
133
138
|
* @default true
|
|
@@ -349,6 +354,7 @@ declare const __VLS_component: import('vue').DefineComponent<MazInputPhoneNumber
|
|
|
349
354
|
color: MazColor;
|
|
350
355
|
disabled: boolean;
|
|
351
356
|
orientation: "row" | "col" | "responsive";
|
|
357
|
+
required: boolean;
|
|
352
358
|
example: boolean;
|
|
353
359
|
useBrowserLocale: boolean;
|
|
354
360
|
listPosition: import('./MazPopover.vue').MazPopoverPosition;
|
|
@@ -4,7 +4,7 @@ import { truthyFilter } from "@maz-ui/utils/helpers/truthyFilter";
|
|
|
4
4
|
import MazBtn from "./MazBtn.js";
|
|
5
5
|
import MazInput from "./MazInput.js";
|
|
6
6
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
7
|
-
import '../assets/MazInputTags.
|
|
7
|
+
import '../assets/MazInputTags.CLr2Z8JP.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
inheritAttrs: !1,
|
|
9
9
|
__name: "MazInputTags",
|
|
10
10
|
props: {
|
|
@@ -68,7 +68,7 @@ import '../assets/MazInputTags.B6qli1kj.css';const _sfc_main = /* @__PURE__ */ d
|
|
|
68
68
|
return "";
|
|
69
69
|
});
|
|
70
70
|
function removeLastTag() {
|
|
71
|
-
inputValue.value || tags.value && tags.value?.length === 0 || (currentDeleteTimeout.value && clearTimeout(currentDeleteTimeout.value), lastIdToDelete.value ? (removeTag(lastIdToDelete.value), lastIdToDelete.value = void 0) : (lastIdToDelete.value = tags.value?.
|
|
71
|
+
inputValue.value || tags.value && tags.value?.length === 0 || (currentDeleteTimeout.value && clearTimeout(currentDeleteTimeout.value), lastIdToDelete.value ? (removeTag(lastIdToDelete.value), lastIdToDelete.value = void 0) : (lastIdToDelete.value = tags.value?.at(-1)?.id, currentDeleteTimeout.value = setTimeout(() => {
|
|
72
72
|
lastIdToDelete.value = void 0;
|
|
73
73
|
}, 2e3)));
|
|
74
74
|
}
|
|
@@ -139,7 +139,7 @@ import '../assets/MazInputTags.B6qli1kj.css';const _sfc_main = /* @__PURE__ */ d
|
|
|
139
139
|
}), null, 16, ["modelValue", "placeholder", "label", "aria-label", "error", "hint", "success", "warning", "disabled", "color", "block", "size"])
|
|
140
140
|
], 38));
|
|
141
141
|
}
|
|
142
|
-
}), MazInputTags = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
142
|
+
}), MazInputTags = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d536bea"]]);
|
|
143
143
|
export {
|
|
144
144
|
MazInputTags as default
|
|
145
145
|
};
|
|
@@ -10,7 +10,7 @@ import { useStringMatching } from "../composables/useStringMatching.js";
|
|
|
10
10
|
import MazInput from "./MazInput.js";
|
|
11
11
|
import MazPopover from "./MazPopover.js";
|
|
12
12
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
13
|
-
import '../assets/MazSelect.
|
|
13
|
+
import '../assets/MazSelect.B7S5Yf0F.css';const _hoisted_1 = ["disabled", "aria-label"], _hoisted_2 = ["id"], _hoisted_3 = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "m-select-list__search-wrapper"
|
|
16
16
|
}, _hoisted_4 = { class: "m-select-list__no-results" }, _hoisted_5 = {
|
|
@@ -165,11 +165,12 @@ import '../assets/MazSelect.DCowpFPD.css';const _hoisted_1 = ["disabled", "aria-
|
|
|
165
165
|
query.value = "";
|
|
166
166
|
}, 1e3));
|
|
167
167
|
}
|
|
168
|
+
const isLetterOrNumberRegex = /^([\dA-Za-z\u0400-\u04FF])$/;
|
|
168
169
|
function mainInputKeyboardHandler(event) {
|
|
169
170
|
if (event.ctrlKey || event.metaKey || event.altKey)
|
|
170
171
|
return;
|
|
171
172
|
const keyPressed = event.key;
|
|
172
|
-
(keyPressed === "ArrowDown" || keyPressed === "ArrowUp" ||
|
|
173
|
+
(keyPressed === "ArrowDown" || keyPressed === "ArrowUp" || isLetterOrNumberRegex.test(keyPressed)) && !isOpen.value && (event.preventDefault(), popoverComponent.value?.open()), isLetterOrNumberRegex.test(keyPressed) && __props.search && (event.preventDefault(), event.stopPropagation(), focusSearchInputAndSetQuery(keyPressed));
|
|
173
174
|
}
|
|
174
175
|
async function scrollToOptionIndex(index) {
|
|
175
176
|
if (await nextTick(), typeof index != "number" || index < 0)
|
|
@@ -206,14 +207,14 @@ import '../assets/MazSelect.DCowpFPD.css';const _hoisted_1 = ["disabled", "aria-
|
|
|
206
207
|
const itemLength = optionList.value?.length;
|
|
207
208
|
if (!itemLength)
|
|
208
209
|
return;
|
|
209
|
-
const currentElement = document.activeElement, itemsElements = document.querySelectorAll(`#${instanceId.value}-option-list .m-select-list-item`), currentIndex =
|
|
210
|
+
const currentElement = document.activeElement, itemsElements = document.querySelectorAll(`#${instanceId.value}-option-list .m-select-list-item`), currentIndex = [...itemsElements].indexOf(currentElement);
|
|
210
211
|
if (currentIndex === -1) {
|
|
211
212
|
itemsElements[0]?.focus({ preventScroll: !0 });
|
|
212
213
|
return;
|
|
213
214
|
}
|
|
214
215
|
const nextIndex = keyPressed === "ArrowDown" ? (currentIndex + 1) % itemLength : (currentIndex - 1 + itemLength) % itemLength;
|
|
215
216
|
itemsElements[nextIndex]?.focus();
|
|
216
|
-
} else !__props.search &&
|
|
217
|
+
} else !__props.search && isLetterOrNumberRegex.test(keyPressed) && searchOptionWithQuery(keyPressed);
|
|
217
218
|
}
|
|
218
219
|
function updateListPosition() {
|
|
219
220
|
nextTick(() => {
|
|
@@ -406,7 +407,7 @@ import '../assets/MazSelect.DCowpFPD.css';const _hoisted_1 = ["disabled", "aria-
|
|
|
406
407
|
_: 3
|
|
407
408
|
}, 8, ["id", "modelValue", "class", "style", "block", "transition", "position", "disabled", "prefer-position", "fallback-position", "position-reference"]));
|
|
408
409
|
}
|
|
409
|
-
}), MazSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
410
|
+
}), MazSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-badad462"]]);
|
|
410
411
|
export {
|
|
411
412
|
MazSelect as default
|
|
412
413
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
2
|
-
import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
1
|
+
import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js";
|
|
2
|
+
import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js";
|
|
3
3
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
|
-
import '../assets/MazTable.
|
|
4
|
+
import '../assets/MazTable.Dip-n-1s.css';const MazTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-06d3d24b"]]);
|
|
5
5
|
export {
|
|
6
6
|
MazTable as default,
|
|
7
7
|
m as mazTableKey
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableCell.B5eudh73.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableCell",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableRow.DD1Cwtss.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableRow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.ycpSYFvJ.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableTitle.TySlOaCv.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableTitle",
|
package/dist/components/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import { default as default29 } from "./MazInput.js";
|
|
|
31
31
|
import { default as default30 } from "./MazInputCode.js";
|
|
32
32
|
import { default as default31 } from "./MazInputNumber.js";
|
|
33
33
|
import { default as default32 } from "./MazInputPhoneNumber.js";
|
|
34
|
-
import { _ as _3 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.
|
|
34
|
+
import { _ as _3 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.DcNkyw1C.js";
|
|
35
35
|
import { default as default33 } from "./MazInputTags.js";
|
|
36
36
|
import { default as default34 } from "./MazLazyImg.js";
|
|
37
37
|
import { default as default35 } from "./MazLink.js";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { isClient } from "@maz-ui/utils/helpers/isClient";
|
|
2
2
|
import { ref, shallowRef, watch, toValue, onBeforeUnmount, unref } from "vue";
|
|
3
|
+
const isSafariRegex = /^(?:(?!chrome|android).)*safari/i;
|
|
3
4
|
function useDropzone(target, options = {}) {
|
|
4
5
|
const isOverDropZone = ref(!1), isOverError = ref(!1), files = shallowRef(null);
|
|
5
6
|
let counter = 0, isValid = !0;
|
|
6
7
|
if (isClient()) {
|
|
7
8
|
let getFiles = function(event) {
|
|
8
|
-
const list =
|
|
9
|
+
const list = [...event.dataTransfer?.files ?? []];
|
|
9
10
|
return list.length === 0 ? null : multiple ? list : [list[0]];
|
|
10
11
|
}, checkDataTypes = function(types) {
|
|
11
12
|
const dataTypes = unref(_options.dataTypes);
|
|
@@ -21,10 +22,10 @@ function useDropzone(target, options = {}) {
|
|
|
21
22
|
(type) => mimeTypes?.some((allowedType) => type.includes(allowedType))
|
|
22
23
|
);
|
|
23
24
|
}, checkValidity = function(items) {
|
|
24
|
-
const types = Array.from(items ?? []
|
|
25
|
+
const types = Array.from(items ?? [], (item) => item.type), dataTypesValid = checkDataTypes(types), multipleFilesValid = multiple || items.length <= 1;
|
|
25
26
|
return dataTypesValid && multipleFilesValid;
|
|
26
27
|
}, isSafari = function() {
|
|
27
|
-
return
|
|
28
|
+
return isSafariRegex.test(navigator.userAgent) && !("chrome" in globalThis);
|
|
28
29
|
}, handleDragEvent = function(event, eventType) {
|
|
29
30
|
const dataTransferItemList = event.dataTransfer?.items;
|
|
30
31
|
isValid = (dataTransferItemList && checkValidity(dataTransferItemList)) ?? !1, preventDefaultForUnhandled && event.preventDefault();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isEqual } from "@maz-ui/utils/helpers/isEqual";
|
|
2
2
|
import { computed, onMounted, onUnmounted } from "vue";
|
|
3
|
-
import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as setFieldValidationState, k as getValidationEvents, h as hasModeIncludes, r as removeEventFromInteractiveElements, l as findInteractiveElements, m as addEventToInteractiveElements, n as handleFieldBlur } from "../chunks/dom-events.
|
|
3
|
+
import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as setFieldValidationState, k as getValidationEvents, h as hasModeIncludes, r as removeEventFromInteractiveElements, l as findInteractiveElements, m as addEventToInteractiveElements, n as handleFieldBlur } from "../chunks/dom-events.DTx6Kblx.js";
|
|
4
4
|
import { useFreezeValue } from "./useFreezeValue.js";
|
|
5
5
|
function useFormField(name, options) {
|
|
6
6
|
const opts = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, toValue, computed, watch, provide, nextTick } from "vue";
|
|
2
|
-
import { g as getInstance, a as getFieldsStates, b as getFieldsErrors, c as getErrorMessages, u as updateFieldsStates, v as validateForm, C as CONFIG, s as scrollToError, h as hasModeIncludes, d as handleFieldInput } from "../chunks/dom-events.
|
|
2
|
+
import { g as getInstance, a as getFieldsStates, b as getFieldsErrors, c as getErrorMessages, u as updateFieldsStates, v as validateForm, C as CONFIG, s as scrollToError, h as hasModeIncludes, d as handleFieldInput } from "../chunks/dom-events.DTx6Kblx.js";
|
|
3
3
|
function createValidationProcessor(fieldsToValidate, fieldsStates, payload, internalSchema, isSubmitted) {
|
|
4
4
|
return () => {
|
|
5
5
|
fieldsToValidate.forEach((name) => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useId, computed } from "vue";
|
|
2
|
+
const pointRegex = /:/g;
|
|
2
3
|
function useInstanceUniqId({
|
|
3
4
|
componentName,
|
|
4
5
|
providedId
|
|
5
6
|
}) {
|
|
6
7
|
const generatedId = useId();
|
|
7
|
-
return computed(() => providedId || `${componentName}-${generatedId.replace(
|
|
8
|
+
return computed(() => providedId || `${componentName}-${generatedId.replace(pointRegex, "")}`);
|
|
8
9
|
}
|
|
9
10
|
export {
|
|
10
11
|
useInstanceUniqId
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
+
const wordRegex = /\b\w+\b/g;
|
|
2
3
|
function countWords(text) {
|
|
3
|
-
const words = text.join(", ").match(
|
|
4
|
+
const words = text.join(", ").match(wordRegex);
|
|
4
5
|
return words ? words.length : 0;
|
|
5
6
|
}
|
|
6
7
|
function getReadTimeInMinutes(content, velocity = 150) {
|
package/dist/plugins/aos.js
CHANGED
|
@@ -33,9 +33,7 @@ class AosHandler {
|
|
|
33
33
|
for (const entry of entries) {
|
|
34
34
|
const hasChildren = entry.target.getAttribute("data-maz-aos-children") === "true", animateElements = entry.target.getAttribute("data-maz-aos") ? [entry.target] : [];
|
|
35
35
|
if (hasChildren) {
|
|
36
|
-
const children =
|
|
37
|
-
(child) => child.getAttribute("data-maz-aos-anchor") === `#${entry.target.id}` ? child : void 0
|
|
38
|
-
);
|
|
36
|
+
const children = Array.from(document.querySelectorAll("[data-maz-aos-anchor]"), (child) => child.getAttribute("data-maz-aos-anchor") === `#${entry.target.id}` ? child : void 0);
|
|
39
37
|
for (const child of children)
|
|
40
38
|
child && animateElements.push(child);
|
|
41
39
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { iconList } from "@maz-ui/icons/icon-list";
|
|
2
2
|
import { pascalCase } from "@maz-ui/utils/helpers/pascalCase";
|
|
3
|
+
const mazRegexPascalCase = /^(Maz[A-Z])/, mazRegexKebabCase = /^(maz-[a-z])/;
|
|
3
4
|
function MazComponentsResolver(options) {
|
|
4
5
|
return {
|
|
5
6
|
type: "component",
|
|
6
7
|
resolve: (name) => {
|
|
7
8
|
const { devMode = !1 } = options || {}, base = devMode ? "maz-ui/src/components" : "maz-ui/components", extension = devMode ? ".vue" : "";
|
|
8
|
-
if (
|
|
9
|
+
if (mazRegexPascalCase.test(name) && !iconList.includes(name))
|
|
9
10
|
return { from: `${base}/${name}${extension}` };
|
|
10
|
-
if (
|
|
11
|
+
if (mazRegexKebabCase.test(name))
|
|
11
12
|
return { from: `${base}/${pascalCase(name)}` };
|
|
12
13
|
}
|
|
13
14
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { capitalize } from "@maz-ui/utils/helpers/capitalize";
|
|
2
|
+
const vRegex = /^v/;
|
|
2
3
|
function MazDirectivesResolver(options) {
|
|
3
4
|
return {
|
|
4
5
|
type: "directive",
|
|
5
6
|
resolve: (name) => {
|
|
6
7
|
const { devMode = !1, prefix = "" } = options || {};
|
|
7
|
-
return { from: devMode ? "maz-ui/src/directives/index.ts" : "maz-ui/directives", as: `v${capitalize(prefix)}${capitalize(name.replace(
|
|
8
|
+
return { from: devMode ? "maz-ui/src/directives/index.ts" : "maz-ui/directives", as: `v${capitalize(prefix)}${capitalize(name.replace(vRegex, ""))}`, name: `v${name}` };
|
|
8
9
|
}
|
|
9
10
|
};
|
|
10
11
|
}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { ResolverFunction } from 'unplugin-auto-import/types';
|
|
2
|
-
/**
|
|
3
|
-
* Resolver for Maz-UI (modules)
|
|
4
|
-
*
|
|
5
|
-
* @author @louismazel
|
|
6
|
-
* @link https://maz-ui.com
|
|
7
|
-
*/
|
|
8
2
|
export declare function MazModulesResolver(options?: {
|
|
9
3
|
devMode?: boolean;
|
|
10
4
|
prefix?: string;
|
|
@@ -53,7 +53,7 @@ const composablesMap = {
|
|
|
53
53
|
snakeCase: !0,
|
|
54
54
|
upperFirst: !0,
|
|
55
55
|
formatJson: !0
|
|
56
|
-
}
|
|
56
|
+
}, useRegex = /^use/;
|
|
57
57
|
function MazModulesResolver(options) {
|
|
58
58
|
return (name) => {
|
|
59
59
|
const { devMode = !1, prefix = "" } = options || {}, base = devMode ? "maz-ui/src" : "maz-ui", extension = devMode ? "/index.ts" : "";
|
|
@@ -67,7 +67,7 @@ function MazModulesResolver(options) {
|
|
|
67
67
|
return {
|
|
68
68
|
from: `${base}/composables${extension}`,
|
|
69
69
|
name,
|
|
70
|
-
as: `use${capitalize(prefix)}${name.replace(
|
|
70
|
+
as: `use${capitalize(prefix)}${name.replace(useRegex, "")}`
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.5",
|
|
5
5
|
"description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -162,9 +162,9 @@
|
|
|
162
162
|
"vue-chartjs": "^5.3.3",
|
|
163
163
|
"@maz-ui/cli": "4.7.3",
|
|
164
164
|
"@maz-ui/icons": "4.7.2",
|
|
165
|
-
"@maz-ui/
|
|
166
|
-
"@maz-ui/translations": "4.7.
|
|
167
|
-
"@maz-ui/
|
|
165
|
+
"@maz-ui/themes": "4.7.4",
|
|
166
|
+
"@maz-ui/translations": "4.7.4",
|
|
167
|
+
"@maz-ui/utils": "4.7.4"
|
|
168
168
|
},
|
|
169
169
|
"devDependencies": {
|
|
170
170
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"@vue/test-utils": "^2.4.6",
|
|
173
173
|
"autoprefixer": "^10.4.27",
|
|
174
174
|
"jsdom": "^28.1.0",
|
|
175
|
-
"lightningcss": "^1.
|
|
175
|
+
"lightningcss": "^1.32.0",
|
|
176
176
|
"nuxt": "^4.3.1",
|
|
177
177
|
"sass": "^1.97.3",
|
|
178
178
|
"tailwindcss": "^3.4.16",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
html.--backdrop-present{overflow-y:hidden;height:100vh!important}html.--backdrop-present.--has-scrollbar{padding-right:var(--scrollbar-width)}.m-backdrop[data-v-2624d843]{z-index:1050;background-color:hsl(var(--maz-overlay) / .25);--maz-tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);backdrop-filter:var(--maz-tw-backdrop-blur) var(--maz-tw-backdrop-brightness) var(--maz-tw-backdrop-contrast) var(--maz-tw-backdrop-grayscale) var(--maz-tw-backdrop-hue-rotate) var(--maz-tw-backdrop-invert) var(--maz-tw-backdrop-opacity) var(--maz-tw-backdrop-saturate) var(--maz-tw-backdrop-sepia);transition-behavior:allow-discrete;position:fixed;inset:0}.m-backdrop.--persistent .m-backdrop-content[data-v-2624d843]{cursor:default}.m-backdrop-container[data-v-2624d843]{z-index:1050;position:fixed;inset:0}.m-backdrop-wrapper[data-v-2624d843]{position:fixed;inset:0;overflow-y:auto}.m-backdrop-content[data-v-2624d843]{align-items:flex-end;min-height:100%;display:flex}@media (min-width:640px){.m-backdrop-content[data-v-2624d843]{align-items:center;padding:0}}.m-backdrop-content.--padding[data-v-2624d843]{padding:1rem}.m-backdrop-content.--justify-center[data-v-2624d843]{justify-content:center}.m-backdrop-content.--justify-end[data-v-2624d843]{justify-content:flex-end}.m-backdrop-content.--justify-start[data-v-2624d843]{justify-content:flex-start}.m-backdrop-content.--justify-space-between[data-v-2624d843]{justify-content:space-between}.m-backdrop-content.--justify-space-around[data-v-2624d843]{justify-content:space-around}.m-backdrop-content.--align-center[data-v-2624d843]{align-items:center}.m-backdrop-content.--align-end[data-v-2624d843]{align-items:flex-end}.m-backdrop-content.--align-start[data-v-2624d843]{align-items:flex-start}.m-backdrop-content[data-v-2624d843]>*{cursor:default}.m-backdrop.--variant-bottom-sheet .m-backdrop-content[data-v-2624d843],.m-backdrop.--variant-drawer .m-backdrop-content[data-v-2624d843]{position:fixed;inset:0}.m-backdrop.bottom-sheet-anim-enter-active[data-v-2624d843],.m-backdrop.bottom-sheet-anim-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.bottom-sheet-anim-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.bottom-sheet-anim-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.bottom-sheet-anim-enter-from[data-v-2624d843],.m-backdrop.bottom-sheet-anim-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.bottom-sheet-anim-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.bottom-sheet-anim-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:translateY(100%)}.m-backdrop.modal-anim-enter-active[data-v-2624d843],.m-backdrop.modal-anim-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.modal-anim-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.modal-anim-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.modal-anim-enter-from[data-v-2624d843],.m-backdrop.modal-anim-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.modal-anim-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.modal-anim-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:scale(.5)}.m-backdrop.drawer-anim-top-enter-active[data-v-2624d843],.m-backdrop.drawer-anim-top-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-top-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-top-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-top-enter-from[data-v-2624d843],.m-backdrop.drawer-anim-top-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.drawer-anim-top-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-top-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:translateY(-100%)}.m-backdrop.drawer-anim-bottom-enter-active[data-v-2624d843],.m-backdrop.drawer-anim-bottom-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-bottom-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-bottom-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-bottom-enter-from[data-v-2624d843],.m-backdrop.drawer-anim-bottom-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.drawer-anim-bottom-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-bottom-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:translateY(100%)}.m-backdrop.drawer-anim-left-enter-active[data-v-2624d843],.m-backdrop.drawer-anim-left-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-left-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-left-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-left-enter-from[data-v-2624d843],.m-backdrop.drawer-anim-left-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.drawer-anim-left-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-left-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:translate(-100%)}.m-backdrop.drawer-anim-right-enter-active[data-v-2624d843],.m-backdrop.drawer-anim-right-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.drawer-anim-right-enter-active .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-right-leave-active .m-backdrop-content[data-v-2624d843]>*{transition-behavior:allow-discrete;transition:transform .25s ease-in-out}.m-backdrop.drawer-anim-right-enter-from[data-v-2624d843],.m-backdrop.drawer-anim-right-leave-to[data-v-2624d843]{opacity:0}.m-backdrop.drawer-anim-right-enter-from .m-backdrop-content[data-v-2624d843]>*,.m-backdrop.drawer-anim-right-leave-to .m-backdrop-content[data-v-2624d843]>*{transform:translate(100%)}.m-backdrop.backdrop-anim-enter-active[data-v-2624d843],.m-backdrop.backdrop-anim-leave-active[data-v-2624d843]{transition-behavior:allow-discrete;transition:opacity .25s ease-in-out}.m-backdrop.backdrop-anim-enter-from[data-v-2624d843],.m-backdrop.backdrop-anim-leave-to[data-v-2624d843]{opacity:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.m-date-picker[data-v-546aa065]{display:inline-block;position:relative}.m-date-picker__input[data-v-546aa065]{width:100%;height:100%}.m-date-picker .m-date-picker__button[data-v-546aa065]{cursor:not-allowed;background-color:#0000;justify-content:center;align-items:center;height:100%;padding-inline-end:.25rem;display:flex}.m-date-picker .m-date-picker__button__chevron[data-v-546aa065]{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground) / var(--maz-tw-text-opacity,1));transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-date-picker.--is-open .m-date-picker__button__chevron[data-v-546aa065]{transform:rotate(180deg)}.m-date-picker:not(.--is-disabled) .m-date-picker__button[data-v-546aa065]{cursor:pointer}.m-date-picker:not(.--is-disabled) .m-date-picker__input[data-v-546aa065] input{cursor:pointer!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.m-input-phone-number[data-v-1d9e11f7]{vertical-align:top;align-items:center;display:inline-flex;position:relative}.m-input-phone-number.--block[data-v-1d9e11f7]{width:100%}.m-input-phone-number.--col[data-v-1d9e11f7]{flex-direction:column}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-1d9e11f7],.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-1d9e11f7] .m-select-country__select{min-width:100%}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-1d9e11f7] .m-select-country__select .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--maz-radius)}.m-input-phone-number.--row[data-v-1d9e11f7]{flex-direction:row}.m-input-phone-number.--row .m-input-phone-number__country-select[data-v-1d9e11f7] .m-select-country__select .m-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.m-input-phone-number.--responsive[data-v-1d9e11f7]{flex-direction:column}@media (min-width:576px){.m-input-phone-number.--responsive[data-v-1d9e11f7]{flex-direction:row}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7]{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7]{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7] .m-select-country__select{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7] .m-select-country__select{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7] .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-1d9e11f7] .m-input-wrapper{border-bottom-right-radius:var(--maz-radius);border-bottom-left-radius:var(--maz-radius);border-top-right-radius:0;border-bottom-right-radius:0}}.m-input-phone-number__country-list-code[data-v-1d9e11f7]{text-align:center;--maz-tw-text-opacity:1;min-width:2rem;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.m-select[data-v-8938fbd5]{vertical-align:top;display:inline-flex;position:relative}.m-select.--disabled .m-select-input[data-v-8938fbd5]{cursor:not-allowed}.m-select-input[data-v-8938fbd5]{cursor:pointer;width:100%;height:100%}.m-select-input__toggle-button[data-v-8938fbd5]{background-color:#0000;justify-content:center;align-items:center;height:100%;padding-inline-start:0;display:flex}.m-select-input[data-v-8938fbd5] input{caret-color:#0000}.m-select.--mini[data-v-8938fbd5],.m-select.--xs[data-v-8938fbd5]{font-size:.75rem;line-height:1rem}.m-select.--sm[data-v-8938fbd5]{font-size:.875rem;line-height:1.25rem}.m-select.--md[data-v-8938fbd5]{font-size:1rem;line-height:1.5rem}.m-select.--lg[data-v-8938fbd5]{font-size:1.125rem;line-height:1.75rem}.m-select.--xl[data-v-8938fbd5]{font-size:1.25rem;line-height:1.75rem}.m-select[data-v-8938fbd5]:not(.--disabled) .m-input-input{cursor:pointer}.m-select-chevron[data-v-8938fbd5]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));font-size:1.2em;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.m-select.--is-open .m-select-chevron[data-v-8938fbd5]{transform:rotate(180deg)}.m-select button.maz-custom[data-v-8938fbd5]{cursor:pointer;appearance:none;border-style:none}.m-select button.maz-custom[data-v-8938fbd5]:disabled{cursor:not-allowed}.m-select-list[data-v-8938fbd5]{z-index:1050;border-radius:var(--maz-radius);--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));--maz-tw-shadow-color:hsl(var(--maz-shadow) / 1);--maz-tw-shadow:var(--maz-tw-shadow-colored);--maz-tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--maz-tw-blur) var(--maz-tw-brightness) var(--maz-tw-contrast) var(--maz-tw-grayscale) var(--maz-tw-hue-rotate) var(--maz-tw-invert) var(--maz-tw-saturate) var(--maz-tw-sepia) var(--maz-tw-drop-shadow);flex-direction:column;gap:.25rem;display:flex;overflow:hidden}.m-select-list-optgroup[data-v-8938fbd5]{text-align:start;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));flex:none;padding:.125rem;font-size:.875em}.m-select-list.--mini[data-v-8938fbd5],.m-select-list.--xs[data-v-8938fbd5]{font-size:.75rem;line-height:1rem}.m-select-list.--sm[data-v-8938fbd5]{font-size:.875rem;line-height:1.25rem}.m-select-list.--md[data-v-8938fbd5]{font-size:1rem;line-height:1.5rem}.m-select-list.--lg[data-v-8938fbd5]{font-size:1.125rem;line-height:1.75rem}.m-select-list.--xl[data-v-8938fbd5]{font-size:1.25rem;line-height:1.75rem}.m-select-list[data-v-8938fbd5]{min-width:3.5rem}.m-select-list__search-wrapper[data-v-8938fbd5]{padding-top:.5rem;padding-left:.5rem;padding-right:.5rem}.m-select-list__scroll-wrapper[data-v-8938fbd5]{flex-direction:column;flex:1;gap:.25rem;padding:.5rem;display:flex;overflow:auto}.m-select-list__scroll-wrapper[data-v-8938fbd5]::-webkit-scrollbar{width:.1875rem}.m-select-list__scroll-wrapper[data-v-8938fbd5]::-webkit-scrollbar-track{background:0 0}.m-select-list__scroll-wrapper[data-v-8938fbd5]::-webkit-scrollbar-thumb{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-select-list__scroll-wrapper[data-v-8938fbd5]:is([class~=dark] *)::-webkit-scrollbar-thumb{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-select-list__scroll-wrapper[data-v-8938fbd5]::-webkit-scrollbar-thumb{border-radius:1000px}.m-select-list__scroll-wrapper[data-v-8938fbd5]{scrollbar-width:thin;scrollbar-color:hsl(var(--maz-background-600)) transparent}.m-select-list__no-results[data-v-8938fbd5]{justify-content:center;align-items:center;padding:1rem;display:flex}.m-select-list-item[data-v-8938fbd5]{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--maz-radius);border-width:var(--maz-border-width);text-align:start;outline-offset:2px;background-color:#0000;border-style:solid;border-color:#0000;outline:2px solid #0000;align-items:center;gap:.75rem;width:100%;padding:.5rem .75rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.m-select-list-item[data-v-8938fbd5]:focus-within,.m-select-list-item[data-v-8938fbd5]:hover{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-600) / var(--maz-tw-bg-opacity,1))}.m-select-list-item[data-v-8938fbd5]:focus-within:is([class~=dark] *),.m-select-list-item[data-v-8938fbd5]:hover:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-select-list-item span[data-v-8938fbd5]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.m-select-list-item.--is-none-value[data-v-8938fbd5]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1))}.m-select-list-item.--is-selected[data-v-8938fbd5]{color:var(--selected-text-color);background-color:var(--selected-bg-color)}.m-select-list-item.--is-selected[data-v-8938fbd5]:focus{outline-color:var(--selected-text-color);outline-width:var(--maz-border-width)}.m-select-list-item.--is-selected.--transparent[data-v-8938fbd5]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1))}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.m-table[data-v-70f92976]{max-width:100%;position:relative}.m-table-header[data-v-70f92976]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));justify-content:space-between;align-items:center;gap:.5rem;max-width:100%;padding-top:.5rem;padding-bottom:.5rem;display:flex}.m-table-header-search[data-v-70f92976]{align-items:center;gap:.5rem;display:flex}.m-table-header-title[data-v-70f92976]{font-weight:600}.m-table-footer[data-v-70f92976]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));justify-content:space-between;gap:.5rem;max-width:100%;padding:.5rem;display:flex}.m-table-footer-pagination[data-v-70f92976]{align-items:center;gap:1rem;display:flex}.m-table-footer-pagination-buttons[data-v-70f92976],.m-table-footer-pagination-items-per-page[data-v-70f92976]{align-items:center;gap:.25rem;display:flex}.m-table-wrapper[data-v-70f92976]{border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-style:solid;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1));overflow:hidden}.m-table-wrapper.--scrollable[data-v-70f92976]{overflow:auto}.m-table-wrapper[data-v-70f92976]:not(.--rounded-none){border-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-sm[data-v-70f92976],.m-table-wrapper.--rounded-sm table[data-v-70f92976]{border-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr[data-v-70f92976]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px);border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-70f92976]:first-child{border-top-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table thead tr:hover:first-child th[data-v-70f92976]:last-child{border-top-right-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr[data-v-70f92976]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px);border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-70f92976]:first-child{border-bottom-left-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-sm table tbody tr:hover:last-child td[data-v-70f92976]:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 8px)}.m-table-wrapper.--rounded-md[data-v-70f92976],.m-table-wrapper.--rounded-md table[data-v-70f92976]{border-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr[data-v-70f92976]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px);border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-70f92976]:first-child{border-top-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table thead tr:hover:first-child th[data-v-70f92976]:last-child{border-top-right-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr[data-v-70f92976]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px);border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-70f92976]:first-child{border-bottom-left-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-md table tbody tr:hover:last-child td[data-v-70f92976]:last-child{border-bottom-right-radius:calc(var(--maz-radius) - 4px)}.m-table-wrapper.--rounded-lg[data-v-70f92976],.m-table-wrapper.--rounded-lg table[data-v-70f92976]{border-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr[data-v-70f92976]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px);border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-70f92976]:first-child{border-top-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table thead tr:hover:first-child th[data-v-70f92976]:last-child{border-top-right-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr[data-v-70f92976]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px);border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-70f92976]:first-child{border-bottom-left-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-lg table tbody tr:hover:last-child td[data-v-70f92976]:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 4px)}.m-table-wrapper.--rounded-xl[data-v-70f92976],.m-table-wrapper.--rounded-xl table[data-v-70f92976]{border-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr[data-v-70f92976]:hover:first-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px);border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-70f92976]:first-child{border-top-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table thead tr:hover:first-child th[data-v-70f92976]:last-child{border-top-right-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr[data-v-70f92976]:hover:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px);border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-70f92976]:first-child{border-bottom-left-radius:calc(var(--maz-radius) + 8px)}.m-table-wrapper.--rounded-xl table tbody tr:hover:last-child td[data-v-70f92976]:last-child{border-bottom-right-radius:calc(var(--maz-radius) + 8px)}.m-table.--has-header[data-v-70f92976],.m-table:not(.--has-header) table[data-v-70f92976]{border-radius:var(--maz-radius)}.m-table table[data-v-70f92976]{border-collapse:collapse;--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background) / var(--maz-tw-bg-opacity,1));table-layout:var(--v098d59e0);width:100%;display:table}.m-table table.--has-layout[data-v-70f92976]{width:100%}.m-table table.--elevation[data-v-70f92976]{--maz-tw-shadow-color:hsl(var(--maz-shadow) / 1);--maz-tw-shadow:var(--maz-tw-shadow-colored);--maz-tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--maz-tw-blur) var(--maz-tw-brightness) var(--maz-tw-contrast) var(--maz-tw-grayscale) var(--maz-tw-hue-rotate) var(--maz-tw-invert) var(--maz-tw-saturate) var(--maz-tw-sepia) var(--maz-tw-drop-shadow)}.m-table table .m-table-select-column[data-v-70f92976]{width:2.9rem}.m-table table caption[data-v-70f92976]{caption-side:var(--fa6d6a56);padding:.75rem}.m-table table thead[data-v-70f92976]{word-break:break-all;border-bottom-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border) / var(--maz-tw-border-opacity,1))}.m-table table thead th[data-v-70f92976]{word-break:break-all;letter-spacing:-.025em;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));gap:.5rem;font-weight:400}.m-table table thead th.--hidden[data-v-70f92976]{display:none}.m-table table thead th.--sortable[data-v-70f92976]{cursor:pointer}.m-table table thead th.--sortable[data-v-70f92976]:hover{background-color:hsl(var(--maz-background-600) / .5)}.m-table table thead th.--sortable[data-v-70f92976]:hover:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400) / var(--maz-tw-bg-opacity,1))}.m-table table thead th.--xl[data-v-70f92976]{padding:1.25rem;font-size:1.125rem;line-height:1.75rem}.m-table table thead th.--lg[data-v-70f92976]{padding:1rem;font-size:1rem;line-height:1.5rem}.m-table table thead th.--md[data-v-70f92976]{padding:.75rem;font-size:.875rem;line-height:1.25rem}.m-table table thead th.--sm[data-v-70f92976]{padding:.5rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--xs[data-v-70f92976]{padding:.25rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--mini[data-v-70f92976]{padding:.125rem;font-size:.75rem;line-height:1rem}.m-table table thead th span[data-v-70f92976]{align-items:center;gap:.25rem;display:inline-flex}.m-table table thead th span .m-table-sort-icon-wrapper[data-v-70f92976]{width:1rem;height:1rem}.m-table table thead th span .m-table-sort-icon[data-v-70f92976]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted) / var(--maz-tw-text-opacity,1));transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.m-table table thead th span .m-table-sort-icon.--sorted[data-v-70f92976]{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground) / var(--maz-tw-text-opacity,1));display:block}.m-table table thead th span .m-table-sort-icon.--sorted.--up[data-v-70f92976]{--maz-tw-rotate:0deg;transform:translate(var(--maz-tw-translate-x), var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skewX(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-table table thead th span .m-table-sort-icon.--sorted.--down[data-v-70f92976]{--maz-tw-rotate:180deg;transform:translate(var(--maz-tw-translate-x), var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skewX(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-table table tbody.--divider[data-v-70f92976]>:not([hidden])~:not([hidden]){--maz-tw-divide-y-reverse:0;border-top-width:calc(var(--maz-border-width) * calc(1 - var(--maz-tw-divide-y-reverse)));border-bottom-width:calc(var(--maz-border-width) * var(--maz-tw-divide-y-reverse));--maz-tw-divide-opacity:1;border-color:hsl(var(--maz-border) / var(--maz-tw-divide-opacity,1))}
|