maz-ui 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/MazAvatar.DTiCyWfl.css +1 -0
- package/dist/assets/MazBadge.CmPr9rE1.css +1 -0
- package/dist/assets/MazBtn.BGG5GQYk.css +1 -0
- package/dist/assets/MazDatePicker.C_X4aMTR.css +1 -0
- package/dist/assets/{MazFullscreenLoader.BFfVGuTn.css → MazFullscreenLoader.W0InbLUf.css} +1 -1
- package/dist/assets/MazInput.Z8jTDWYg.css +1 -0
- package/dist/assets/MazLink.C26isVfh.css +1 -0
- package/dist/assets/MazPopover.BimNK6Cy.css +1 -0
- package/dist/assets/MazReadingProgressBar.DZrZisC2.css +1 -0
- package/dist/assets/MazSelect.CWQ12sG1.css +1 -0
- package/dist/assets/{MazSelectCountry.B0tlbfgr.css → MazSelectCountry.BR2tSQzn.css} +1 -1
- package/dist/chunks/{MazDatePicker.B1B6gUrC.js → MazDatePicker.BkBbJH6f.js} +15 -11
- package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.DULnKQ2W.js → MazDropdown.vue_vue_type_style_index_0_lang.CgXVL7hr.js} +20 -18
- package/dist/chunks/{MazPickerCalendar.BSBQciuG.js → MazPickerCalendar.8YBwJDcX.js} +1 -1
- package/dist/chunks/{MazPickerCalendarMonth.CFJHTFp5.js → MazPickerCalendarMonth.KrWcUnl1.js} +1 -1
- package/dist/chunks/{MazPickerCalendarSwitcher.DC21FpTy.js → MazPickerCalendarSwitcher.DBgPZB2r.js} +1 -1
- package/dist/chunks/{MazPickerContainer.CRPzAbRt.js → MazPickerContainer.DmvGYSZC.js} +1 -1
- package/dist/chunks/{MazPickerHeader.D7Tbm-yH.js → MazPickerHeader.BF3xmBsl.js} +1 -1
- package/dist/chunks/{MazPickerMonthSwitcher.DzHOKbe4.js → MazPickerMonthSwitcher.lK0mMr_M.js} +1 -1
- package/dist/chunks/{MazPickerTime.EZK1foEx.js → MazPickerTime.jtmY7chR.js} +1 -1
- package/dist/chunks/{MazPickerYearSwitcher.BcT8GENl.js → MazPickerYearSwitcher.D3uV7QqF.js} +1 -1
- package/dist/chunks/{mazUi.0b7z2u9g.js → mazUi.CaSMOKic.js} +1 -1
- package/dist/components/MazAvatar.js +3 -2
- package/dist/components/MazBadge.js +2 -2
- package/dist/components/MazBtn.js +7 -5
- package/dist/components/MazDatePicker.js +1 -1
- package/dist/components/MazDatePicker.vue.d.ts +12 -8
- package/dist/components/MazDropdown.js +1 -1
- package/dist/components/MazDropdown.vue.d.ts +8 -5
- package/dist/components/MazFullscreenLoader.js +3 -2
- package/dist/components/MazInput.js +10 -3
- package/dist/components/MazLink.js +3 -2
- package/dist/components/MazPopover.js +24 -26
- package/dist/components/MazPopover.vue.d.ts +6 -3
- package/dist/components/MazReadingProgressBar.js +3 -2
- package/dist/components/MazSelect.js +54 -43
- package/dist/components/MazSelect.vue.d.ts +16 -2
- package/dist/components/MazSelectCountry.js +3 -2
- package/dist/components/index.js +2 -2
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.js +2 -0
- package/dist/composables/useMutationObserver.d.ts +13 -0
- package/dist/composables/useMutationObserver.js +37 -0
- package/dist/composables/useWindowSize.js +2 -2
- package/dist/css/main.css +1 -1
- package/dist/plugins/maz-ui.js +111 -99
- package/dist/resolvers/MazModulesResolver.js +2 -1
- package/dist/types/components/MazDatePicker.vue.d.ts +12 -8
- package/dist/types/components/MazDropdown.vue.d.ts +8 -5
- package/dist/types/components/MazPopover.vue.d.ts +6 -3
- package/dist/types/components/MazSelect.vue.d.ts +16 -2
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/useMutationObserver.d.ts +13 -0
- package/package.json +4 -5
- package/dist/assets/MazAvatar.DaDlvfYd.css +0 -1
- package/dist/assets/MazBadge.ChI2DaTU.css +0 -1
- package/dist/assets/MazBtn.BvC8ftmc.css +0 -1
- package/dist/assets/MazDatePicker.G6V7jjin.css +0 -1
- package/dist/assets/MazInput.BvuxfP9k.css +0 -1
- package/dist/assets/MazLink.CFscNMFr.css +0 -1
- package/dist/assets/MazPopover.DIE65uVT.css +0 -1
- package/dist/assets/MazReadingProgressBar.dzfwQFNg.css +0 -1
- package/dist/assets/MazSelect.DIwjMD31.css +0 -1
|
@@ -5,7 +5,7 @@ import { useDisplayNames } from "../composables/useDisplayNames.js";
|
|
|
5
5
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
6
6
|
import MazSelect from "./MazSelect.js";
|
|
7
7
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
8
|
-
import '../assets/MazSelectCountry.
|
|
8
|
+
import '../assets/MazSelectCountry.BR2tSQzn.css';function t$1() {
|
|
9
9
|
try {
|
|
10
10
|
return e() ? void 0 : globalThis.navigator.language;
|
|
11
11
|
} catch (r) {
|
|
@@ -25,6 +25,7 @@ const _hoisted_1 = {
|
|
|
25
25
|
key: 1,
|
|
26
26
|
class: "m-select-country__select__item__list-flag"
|
|
27
27
|
}, _hoisted_3 = { class: "maz-text-muted" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
|
+
inheritAttrs: !1,
|
|
28
29
|
__name: "MazSelectCountry",
|
|
29
30
|
props: {
|
|
30
31
|
style: {},
|
|
@@ -195,7 +196,7 @@ const _hoisted_1 = {
|
|
|
195
196
|
}, 16, ["id", "model-value", "option-value-key", "option-label-key", "option-input-value-key", "max-list-width", "min-list-width", "disabled", "color", "placeholder", "label", "size", "list-position", "error", "warning", "success", "search", "block", "autocomplete", "item-height", "max-list-height", "min-list-height", "required", "search-function", "format-input-value", "translations", "search-threshold", "options", "hint", "open"])
|
|
196
197
|
], 6));
|
|
197
198
|
}
|
|
198
|
-
}), MazSelectCountry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
199
|
+
}), MazSelectCountry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e22ddc22"]]);
|
|
199
200
|
export {
|
|
200
201
|
MazSelectCountry as default
|
|
201
202
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -14,11 +14,11 @@ import { _ } from "../chunks/MazChart.vue_vue_type_script_setup_true_lang.JSYXGy
|
|
|
14
14
|
import { default as default14 } from "./MazCheckbox.js";
|
|
15
15
|
import { default as default15 } from "./MazChecklist.js";
|
|
16
16
|
import { default as default16 } from "./MazCircularProgressBar.js";
|
|
17
|
-
import { M } from "../chunks/MazDatePicker.
|
|
17
|
+
import { M } from "../chunks/MazDatePicker.BkBbJH6f.js";
|
|
18
18
|
import { default as default17 } from "./MazDialog.js";
|
|
19
19
|
import { _ as _2, u } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js";
|
|
20
20
|
import { default as default18 } from "./MazDrawer.js";
|
|
21
|
-
import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.
|
|
21
|
+
import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.CgXVL7hr.js";
|
|
22
22
|
import { default as default19 } from "./MazDropzone.js";
|
|
23
23
|
import { default as default20 } from "./MazExpandAnimation.js";
|
|
24
24
|
import { default as default21 } from "./MazFullscreenLoader.js";
|
|
@@ -11,6 +11,7 @@ export * from './useIdleTimeout';
|
|
|
11
11
|
export * from './useInjectStrict';
|
|
12
12
|
export * from './useInstanceUniqId';
|
|
13
13
|
export * from './useMountComponent';
|
|
14
|
+
export * from './useMutationObserver';
|
|
14
15
|
export * from './useReadingTime';
|
|
15
16
|
export * from './useStringMatching';
|
|
16
17
|
export * from './useSwipe';
|
|
@@ -10,6 +10,7 @@ import { useIdleTimeout } from "./useIdleTimeout.js";
|
|
|
10
10
|
import { useInjectStrict } from "./useInjectStrict.js";
|
|
11
11
|
import { useInstanceUniqId } from "./useInstanceUniqId.js";
|
|
12
12
|
import { useMountComponent } from "./useMountComponent.js";
|
|
13
|
+
import { useMutationObserver } from "./useMutationObserver.js";
|
|
13
14
|
import { useReadingTime } from "./useReadingTime.js";
|
|
14
15
|
import { u } from "../chunks/useStringMatching.DzSigyZ7.js";
|
|
15
16
|
import { useSwipe } from "./useSwipe.js";
|
|
@@ -31,6 +32,7 @@ export {
|
|
|
31
32
|
useInjectStrict,
|
|
32
33
|
useInstanceUniqId,
|
|
33
34
|
useMountComponent,
|
|
35
|
+
useMutationObserver,
|
|
34
36
|
useReadingTime,
|
|
35
37
|
u as useStringMatching,
|
|
36
38
|
useSwipe,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentPublicInstance, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export interface UseMutationObserverOptions extends MutationObserverInit {
|
|
3
|
+
internalWindow?: Window | undefined;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Watch for changes into DOM element.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useMutationObserver(target: MaybeRefOrGetter<HTMLElement | SVGElement | ComponentPublicInstance | undefined | null>, callback: MutationCallback, options?: UseMutationObserverOptions): {
|
|
9
|
+
isSupported: import('vue').Ref<boolean, boolean>;
|
|
10
|
+
stop: () => void;
|
|
11
|
+
takeRecords: () => MutationRecord[] | undefined;
|
|
12
|
+
};
|
|
13
|
+
export type UseMutationObserverReturn = ReturnType<typeof useMutationObserver>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { e } from "../chunks/isClient.8V3qjGdO.js";
|
|
2
|
+
import { r } from "../chunks/truthyFilter.DZvXmxeK.js";
|
|
3
|
+
import { ref, onMounted, computed, toValue, watch } from "vue";
|
|
4
|
+
function useMutationObserver(target, callback, options = {}) {
|
|
5
|
+
const {
|
|
6
|
+
internalWindow = e() ? globalThis : void 0,
|
|
7
|
+
...mutationOptions
|
|
8
|
+
} = options;
|
|
9
|
+
let observer;
|
|
10
|
+
const isSupported = ref(!1);
|
|
11
|
+
onMounted(() => {
|
|
12
|
+
isSupported.value = (internalWindow && "MutationObserver" in internalWindow) ?? !1;
|
|
13
|
+
});
|
|
14
|
+
const cleanup = () => {
|
|
15
|
+
observer && (observer.disconnect(), observer = void 0);
|
|
16
|
+
}, targets = computed(() => {
|
|
17
|
+
const value = toValue(target);
|
|
18
|
+
let element;
|
|
19
|
+
return value && "$el" in value ? element = value.$el : value && (element = value), new Set([element].filter(r));
|
|
20
|
+
}), stopWatch = watch(
|
|
21
|
+
targets,
|
|
22
|
+
(newTargets) => {
|
|
23
|
+
cleanup(), isSupported.value && newTargets.size && (observer = new MutationObserver(callback), newTargets.forEach((el) => observer.observe(el, mutationOptions)));
|
|
24
|
+
},
|
|
25
|
+
{ immediate: !0, flush: "post" }
|
|
26
|
+
);
|
|
27
|
+
return {
|
|
28
|
+
isSupported,
|
|
29
|
+
stop: () => {
|
|
30
|
+
stopWatch(), cleanup();
|
|
31
|
+
},
|
|
32
|
+
takeRecords: () => observer?.takeRecords()
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
useMutationObserver
|
|
37
|
+
};
|
|
@@ -11,9 +11,9 @@ function useWindowSize(options = {}) {
|
|
|
11
11
|
internalWindow && (includeScrollbar ? (width.value = internalWindow.innerWidth, height.value = internalWindow.innerHeight) : (width.value = internalWindow.document.documentElement.clientWidth, height.value = internalWindow.document.documentElement.clientHeight));
|
|
12
12
|
}
|
|
13
13
|
return update(), onMounted(() => {
|
|
14
|
-
internalWindow &&
|
|
14
|
+
internalWindow && internalWindow.addEventListener("resize", update, { passive: !0 });
|
|
15
15
|
}), onUnmounted(() => {
|
|
16
|
-
internalWindow &&
|
|
16
|
+
internalWindow && internalWindow.removeEventListener("resize", update);
|
|
17
17
|
}), { width, height };
|
|
18
18
|
}
|
|
19
19
|
export {
|
package/dist/css/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer maz-ui-reset, maz-ui-theme, maz-ui-animations, maz-ui-utilities;@layer maz-ui-reset{.m-reset-css,.m-reset-css *,.m-reset-css:after,.m-reset-css:before{border:0 solid;box-sizing:border-box}.m-reset-css button,.m-reset-css:is(button){background-color:inherit;padding:inherit}.m-reset-css button,.m-reset-css input,.m-reset-css optgroup,.m-reset-css select,.m-reset-css textarea,.m-reset-css:is(button),.m-reset-css:is(input),.m-reset-css:is(optgroup),.m-reset-css:is(select),.m-reset-css:is(textarea){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0}}@layer maz-ui-utilities{:root{--maz-container-padding-mobile:1rem;--maz-container-padding-tablet:2rem;--maz-container-padding-desktop:2.5rem;--maz-container-padding-value:var(--maz-container-padding-mobile);--maz-container-width:calc(100% - var(--maz-container-padding-value)*2);--maz-container-padding:calc(50% - var(--maz-container-width)/2);--maz-container-max-width:1440px}@media only screen and (width >= 1520px){:root{--maz-container-width:var(--maz-container-max-width)}}@media (min-width:576px){:root{--maz-container-padding-value:var(--maz-container-padding-tablet)}}@media (min-width:1024px){:root{--maz-container-padding-value:var(--maz-container-padding-desktop)}}}@layer maz-ui-animations{.maz-scale-enter-active,.maz-scale-leave-active{opacity:1;transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-enter-from,.maz-scale-leave-to{opacity:.4;transform:scale(0);z-index:1}.maz-scale-fade-enter-active,.maz-scale-fade-leave-active{opacity:1;transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-fade-enter-from,.maz-scale-fade-leave-to{opacity:0;transform:scale(.5);z-index:1}.maz-scale-loading-enter-active,.maz-scale-loading-leave-active{opacity:1;transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active .app-loader__content{opacity:1;transform:scale(1);transition:all .5s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-loading-enter-from .app-loader__content,.maz-scale-loading-leave-to .app-loader__content{opacity:.4;transform:scale(0);z-index:1}.maz-scale-loading-enter-from,.maz-scale-loading-leave-to{opacity:0;transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-slidevnext-enter-active,.maz-slidevnext-leave-active,.maz-slidevprev-enter-active,.maz-slidevprev-leave-active{position:absolute;transition:all .2s}.maz-slidevnext-enter-from,.maz-slidevprev-leave-to{opacity:0;transform:translateY(100%)}.maz-slidevnext-leave-to,.maz-slidevprev-enter-from{opacity:0;transform:translateY(-100%)}.maz-slide-enter-active,.maz-slide-leave-active{opacity:1;transform:translateY(0);transition:all .2s ease-in-out;z-index:998}.maz-slide-enter-from,.maz-slide-leave-to{opacity:0;transform:translateY(-20px);z-index:998}.maz-slideinvert-enter-active,.maz-slideinvert-leave-active{opacity:1;transform:translateY(0);transition:all .2s ease-in-out;z-index:998}.maz-slideinvert-enter-from,.maz-slideinvert-leave-to{opacity:0;transform:translateY(40px);z-index:998}.maz-tags-enter-active,.maz-tags-leave-active{opacity:1;transform:translateX(0);transition:all .2s ease-in-out}.maz-tags-enter-from,.maz-tags-leave-to{opacity:0;transform:translateX(-100%);transition:all .2s ease-in-out}.maz-tags-invert-enter-active,.maz-tags-invert-leave-active{opacity:1;transform:translateX(0);transition:transform .2s,opacity .2s}.maz-tags-invert-enter-from,.maz-tags-invert-leave-to{opacity:0;transform:translateX(100%)}.maz-expand-enter-active,.maz-expand-leave-active{overflow:hidden;transition:all .2s ease-in-out;transition-property:opacity,height}.maz-expand-enter-from,.maz-expand-leave-to{height:0;opacity:0}.maz-tab-transition-enter-from{transform:translate(100%)}.maz-tab-transition-leave,.maz-tab-transition-leave-active{position:absolute!important;top:0}.maz-tab-transition-leave-to{position:absolute!important;transform:translate(-100%)}.maz-tab-reverse-transition-enter-from{transform:translate(-100%)}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-active{position:absolute!important;top:0}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-to{position:absolute!important;top:0;transform:translate(100%)}@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}}*,:after,:before{--maz-tw-border-spacing-x:0;--maz-tw-border-spacing-y:0;--maz-tw-translate-x:0;--maz-tw-translate-y:0;--maz-tw-rotate:0;--maz-tw-skew-x:0;--maz-tw-skew-y:0;--maz-tw-scale-x:1;--maz-tw-scale-y:1;--maz-tw-pan-x: ;--maz-tw-pan-y: ;--maz-tw-pinch-zoom: ;--maz-tw-scroll-snap-strictness:proximity;--maz-tw-gradient-from-position: ;--maz-tw-gradient-via-position: ;--maz-tw-gradient-to-position: ;--maz-tw-ordinal: ;--maz-tw-slashed-zero: ;--maz-tw-numeric-figure: ;--maz-tw-numeric-spacing: ;--maz-tw-numeric-fraction: ;--maz-tw-ring-inset: ;--maz-tw-ring-offset-width:0px;--maz-tw-ring-offset-color:#fff;--maz-tw-ring-color:rgba(59,130,246,.5);--maz-tw-ring-offset-shadow:0 0 #0000;--maz-tw-ring-shadow:0 0 #0000;--maz-tw-shadow:0 0 #0000;--maz-tw-shadow-colored:0 0 #0000;--maz-tw-blur: ;--maz-tw-brightness: ;--maz-tw-contrast: ;--maz-tw-grayscale: ;--maz-tw-hue-rotate: ;--maz-tw-invert: ;--maz-tw-saturate: ;--maz-tw-sepia: ;--maz-tw-drop-shadow: ;--maz-tw-backdrop-blur: ;--maz-tw-backdrop-brightness: ;--maz-tw-backdrop-contrast: ;--maz-tw-backdrop-grayscale: ;--maz-tw-backdrop-hue-rotate: ;--maz-tw-backdrop-invert: ;--maz-tw-backdrop-opacity: ;--maz-tw-backdrop-saturate: ;--maz-tw-backdrop-sepia: ;--maz-tw-contain-size: ;--maz-tw-contain-layout: ;--maz-tw-contain-paint: ;--maz-tw-contain-style: }::backdrop{--maz-tw-border-spacing-x:0;--maz-tw-border-spacing-y:0;--maz-tw-translate-x:0;--maz-tw-translate-y:0;--maz-tw-rotate:0;--maz-tw-skew-x:0;--maz-tw-skew-y:0;--maz-tw-scale-x:1;--maz-tw-scale-y:1;--maz-tw-pan-x: ;--maz-tw-pan-y: ;--maz-tw-pinch-zoom: ;--maz-tw-scroll-snap-strictness:proximity;--maz-tw-gradient-from-position: ;--maz-tw-gradient-via-position: ;--maz-tw-gradient-to-position: ;--maz-tw-ordinal: ;--maz-tw-slashed-zero: ;--maz-tw-numeric-figure: ;--maz-tw-numeric-spacing: ;--maz-tw-numeric-fraction: ;--maz-tw-ring-inset: ;--maz-tw-ring-offset-width:0px;--maz-tw-ring-offset-color:#fff;--maz-tw-ring-color:rgba(59,130,246,.5);--maz-tw-ring-offset-shadow:0 0 #0000;--maz-tw-ring-shadow:0 0 #0000;--maz-tw-shadow:0 0 #0000;--maz-tw-shadow-colored:0 0 #0000;--maz-tw-blur: ;--maz-tw-brightness: ;--maz-tw-contrast: ;--maz-tw-grayscale: ;--maz-tw-hue-rotate: ;--maz-tw-invert: ;--maz-tw-saturate: ;--maz-tw-sepia: ;--maz-tw-drop-shadow: ;--maz-tw-backdrop-blur: ;--maz-tw-backdrop-brightness: ;--maz-tw-backdrop-contrast: ;--maz-tw-backdrop-grayscale: ;--maz-tw-backdrop-hue-rotate: ;--maz-tw-backdrop-invert: ;--maz-tw-backdrop-opacity: ;--maz-tw-backdrop-saturate: ;--maz-tw-backdrop-sepia: ;--maz-tw-contain-size: ;--maz-tw-contain-layout: ;--maz-tw-contain-paint: ;--maz-tw-contain-style: }.maz-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.maz-invisible{visibility:hidden}.\!maz-absolute{position:absolute!important}.maz-relative{position:relative}.\!maz-my-0{margin-bottom:0!important;margin-top:0!important}.maz-ml-2{margin-left:.5rem}.maz-flex{display:flex}.maz-inline-flex{display:inline-flex}.maz-table{display:table}.maz-hidden{display:none}.maz-size-5{height:1.25rem;width:1.25rem}.maz-size-6{height:1.5rem;width:1.5rem}.maz-size-8{height:2rem;width:2rem}.maz-size-full{height:100%;width:100%}.maz-h-5{height:1.25rem}.maz-h-full{height:100%}.maz-w-5{width:1.25rem}.maz-w-full{width:100%}.maz-min-w-0{min-width:0}.maz-max-w-full{max-width:100%}.maz-max-w-xs{max-width:20rem}.maz-flex-1{flex:1 1 0%}.maz-flex-none{flex:none}.-maz-rotate-180{--maz-tw-rotate:-180deg}.-maz-rotate-180,.maz-rotate-180{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))}.maz-rotate-180{--maz-tw-rotate:180deg}.maz-flex-col{flex-direction:column}.maz-items-center{align-items:center}.maz-justify-end{justify-content:flex-end}.maz-justify-between{justify-content:space-between}.maz-gap-2{gap:.5rem}.maz-space-x-2>:not([hidden])~:not([hidden]){--maz-tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--maz-tw-space-x-reverse)));margin-right:calc(.5rem*var(--maz-tw-space-x-reverse))}.maz-overflow-hidden{overflow:hidden}.maz-overflow-x-auto{overflow-x:auto}.maz-truncate{overflow:hidden;text-overflow:ellipsis}.maz-truncate,.maz-whitespace-nowrap{white-space:nowrap}.maz-whitespace-pre-wrap{white-space:pre-wrap}.maz-break-words{overflow-wrap:break-word}.maz-rounded{border-radius:var(--maz-radius)}.maz-rounded-xl{border-radius:calc(var(--maz-radius) + 8px)}.maz-rounded-t{border-top-left-radius:var(--maz-radius);border-top-right-radius:var(--maz-radius)}.maz-border{border-width:var(--maz-border-width)}.maz-border-b{border-bottom-width:var(--maz-border-width)}.maz-border-t{border-top-width:var(--maz-border-width)}.maz-border-solid{border-style:solid}.\!maz-border-destructive{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-destructive)/var(--maz-tw-border-opacity,1))!important}.\!maz-border-success{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-success)/var(--maz-tw-border-opacity,1))!important}.\!maz-border-warning{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-warning)/var(--maz-tw-border-opacity,1))!important}.maz-border-accent{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-accent)/var(--maz-tw-border-opacity,1))}.maz-border-contrast{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-contrast)/var(--maz-tw-border-opacity,1))}.maz-border-destructive{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-destructive)/var(--maz-tw-border-opacity,1))}.maz-border-divider{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border)/var(--maz-tw-border-opacity,1))}.maz-border-info{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-info)/var(--maz-tw-border-opacity,1))}.maz-border-primary{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-primary)/var(--maz-tw-border-opacity,1))}.maz-border-secondary{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-secondary)/var(--maz-tw-border-opacity,1))}.maz-border-success{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-success)/var(--maz-tw-border-opacity,1))}.maz-border-transparent{border-color:transparent}.maz-border-warning{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-warning)/var(--maz-tw-border-opacity,1))}.maz-bg-contrast-foreground{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-contrast-foreground)/var(--maz-tw-bg-opacity,1))}.maz-bg-destructive-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-destructive-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-info-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-info-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-success-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-success-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-warning-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-warning-700)/var(--maz-tw-bg-opacity,1))}.maz-p-2{padding:.5rem}.maz-p-3{padding:.75rem}.maz-p-4{padding:1rem}.maz-text-center{text-align:center}.maz-text-start{text-align:start}.maz-text-end{text-align:end}.maz-text-2xl{font-size:1.5rem;line-height:2rem}.maz-text-3xl{font-size:1.875rem;line-height:2.25rem}.maz-text-base{font-size:1rem;line-height:1.5rem}.maz-text-lg{font-size:1.125rem;line-height:1.75rem}.maz-text-sm{font-size:.875rem;line-height:1.25rem}.maz-text-xl{font-size:1.25rem;line-height:1.75rem}.maz-text-xs{font-size:.75rem;line-height:1rem}.maz-font-semibold{font-weight:600}.\!maz-text-destructive-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-destructive-600)/var(--maz-tw-text-opacity,1))!important}.\!maz-text-success-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-success-600)/var(--maz-tw-text-opacity,1))!important}.\!maz-text-warning-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-warning-600)/var(--maz-tw-text-opacity,1))!important}.maz-text-destructive-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive-600)/var(--maz-tw-text-opacity,1))}.maz-text-foreground{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground)/var(--maz-tw-text-opacity,1))}.maz-text-muted{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1))}.maz-text-success-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-success-600)/var(--maz-tw-text-opacity,1))}.maz-text-warning-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-warning-600)/var(--maz-tw-text-opacity,1))}.maz-shadow-elevation{--maz-tw-shadow-color:hsl(var(--maz-shadow)/1);--maz-tw-shadow:var(--maz-tw-shadow-colored)}.maz-drop-shadow-md{--maz-tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.maz-flex-center{align-items:center;justify-content:center}.maz-padded-container{padding-inline:var(--maz-container-padding);width:100%}.maz-group:hover .group-hover\:maz-block{display:block}@media (min-width:640px){.tab-s\:maz-block{display:block}}
|
|
1
|
+
@layer maz-ui-reset, maz-ui-theme, maz-ui-animations, maz-ui-utilities;@layer maz-ui-reset{.m-reset-css,.m-reset-css *,.m-reset-css:after,.m-reset-css:before{border:0 solid;box-sizing:border-box}.m-reset-css button,.m-reset-css:is(button){background-color:inherit;padding:inherit}.m-reset-css button,.m-reset-css input,.m-reset-css optgroup,.m-reset-css select,.m-reset-css textarea,.m-reset-css:is(button),.m-reset-css:is(input),.m-reset-css:is(optgroup),.m-reset-css:is(select),.m-reset-css:is(textarea){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0}}@layer maz-ui-utilities{:root{--maz-container-padding-mobile:1rem;--maz-container-padding-tablet:2rem;--maz-container-padding-desktop:2.5rem;--maz-container-padding-value:var(--maz-container-padding-mobile);--maz-container-width:calc(100% - var(--maz-container-padding-value)*2);--maz-container-padding:calc(50% - var(--maz-container-width)/2);--maz-container-max-width:1440px}@media only screen and (width >= 1520px){:root{--maz-container-width:var(--maz-container-max-width)}}@media (min-width:576px){:root{--maz-container-padding-value:var(--maz-container-padding-tablet)}}@media (min-width:1024px){:root{--maz-container-padding-value:var(--maz-container-padding-desktop)}}}@layer maz-ui-animations{.maz-scale-enter-active,.maz-scale-leave-active{opacity:1;transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-enter-from,.maz-scale-leave-to{opacity:.4;transform:scale(0);z-index:1}.maz-scale-fade-enter-active,.maz-scale-fade-leave-active{opacity:1;transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-fade-enter-from,.maz-scale-fade-leave-to{opacity:0;transform:scale(.5);z-index:1}.maz-scale-loading-enter-active,.maz-scale-loading-leave-active{opacity:1;transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active .app-loader__content{opacity:1;transform:scale(1);transition:all .5s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-loading-enter-from .app-loader__content,.maz-scale-loading-leave-to .app-loader__content{opacity:.4;transform:scale(0);z-index:1}.maz-scale-loading-enter-from,.maz-scale-loading-leave-to{opacity:0;transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-slidevnext-enter-active,.maz-slidevnext-leave-active,.maz-slidevprev-enter-active,.maz-slidevprev-leave-active{position:absolute;transition:all .2s}.maz-slidevnext-enter-from,.maz-slidevprev-leave-to{opacity:0;transform:translateY(100%)}.maz-slidevnext-leave-to,.maz-slidevprev-enter-from{opacity:0;transform:translateY(-100%)}.maz-slide-enter-active,.maz-slide-leave-active{opacity:1;transform:translateY(0);transition:all .2s ease-in-out;z-index:998}.maz-slide-enter-from,.maz-slide-leave-to{opacity:0;transform:translateY(-20px);z-index:998}.maz-slideinvert-enter-active,.maz-slideinvert-leave-active{opacity:1;transform:translateY(0);transition:all .2s ease-in-out;z-index:998}.maz-slideinvert-enter-from,.maz-slideinvert-leave-to{opacity:0;transform:translateY(40px);z-index:998}.maz-tags-enter-active,.maz-tags-leave-active{opacity:1;transform:translateX(0);transition:all .2s ease-in-out}.maz-tags-enter-from,.maz-tags-leave-to{opacity:0;transform:translateX(-100%);transition:all .2s ease-in-out}.maz-tags-invert-enter-active,.maz-tags-invert-leave-active{opacity:1;transform:translateX(0);transition:transform .2s,opacity .2s}.maz-tags-invert-enter-from,.maz-tags-invert-leave-to{opacity:0;transform:translateX(100%)}.maz-expand-enter-active,.maz-expand-leave-active{overflow:hidden;transition:all .2s ease-in-out;transition-property:opacity,height}.maz-expand-enter-from,.maz-expand-leave-to{height:0;opacity:0}.maz-tab-transition-enter-from{transform:translate(100%)}.maz-tab-transition-leave,.maz-tab-transition-leave-active{position:absolute!important;top:0}.maz-tab-transition-leave-to{position:absolute!important;transform:translate(-100%)}.maz-tab-reverse-transition-enter-from{transform:translate(-100%)}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-active{position:absolute!important;top:0}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-to{position:absolute!important;top:0;transform:translate(100%)}@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}}*,:after,:before{--maz-tw-border-spacing-x:0;--maz-tw-border-spacing-y:0;--maz-tw-translate-x:0;--maz-tw-translate-y:0;--maz-tw-rotate:0;--maz-tw-skew-x:0;--maz-tw-skew-y:0;--maz-tw-scale-x:1;--maz-tw-scale-y:1;--maz-tw-pan-x: ;--maz-tw-pan-y: ;--maz-tw-pinch-zoom: ;--maz-tw-scroll-snap-strictness:proximity;--maz-tw-gradient-from-position: ;--maz-tw-gradient-via-position: ;--maz-tw-gradient-to-position: ;--maz-tw-ordinal: ;--maz-tw-slashed-zero: ;--maz-tw-numeric-figure: ;--maz-tw-numeric-spacing: ;--maz-tw-numeric-fraction: ;--maz-tw-ring-inset: ;--maz-tw-ring-offset-width:0px;--maz-tw-ring-offset-color:#fff;--maz-tw-ring-color:rgba(59,130,246,.5);--maz-tw-ring-offset-shadow:0 0 #0000;--maz-tw-ring-shadow:0 0 #0000;--maz-tw-shadow:0 0 #0000;--maz-tw-shadow-colored:0 0 #0000;--maz-tw-blur: ;--maz-tw-brightness: ;--maz-tw-contrast: ;--maz-tw-grayscale: ;--maz-tw-hue-rotate: ;--maz-tw-invert: ;--maz-tw-saturate: ;--maz-tw-sepia: ;--maz-tw-drop-shadow: ;--maz-tw-backdrop-blur: ;--maz-tw-backdrop-brightness: ;--maz-tw-backdrop-contrast: ;--maz-tw-backdrop-grayscale: ;--maz-tw-backdrop-hue-rotate: ;--maz-tw-backdrop-invert: ;--maz-tw-backdrop-opacity: ;--maz-tw-backdrop-saturate: ;--maz-tw-backdrop-sepia: ;--maz-tw-contain-size: ;--maz-tw-contain-layout: ;--maz-tw-contain-paint: ;--maz-tw-contain-style: }::backdrop{--maz-tw-border-spacing-x:0;--maz-tw-border-spacing-y:0;--maz-tw-translate-x:0;--maz-tw-translate-y:0;--maz-tw-rotate:0;--maz-tw-skew-x:0;--maz-tw-skew-y:0;--maz-tw-scale-x:1;--maz-tw-scale-y:1;--maz-tw-pan-x: ;--maz-tw-pan-y: ;--maz-tw-pinch-zoom: ;--maz-tw-scroll-snap-strictness:proximity;--maz-tw-gradient-from-position: ;--maz-tw-gradient-via-position: ;--maz-tw-gradient-to-position: ;--maz-tw-ordinal: ;--maz-tw-slashed-zero: ;--maz-tw-numeric-figure: ;--maz-tw-numeric-spacing: ;--maz-tw-numeric-fraction: ;--maz-tw-ring-inset: ;--maz-tw-ring-offset-width:0px;--maz-tw-ring-offset-color:#fff;--maz-tw-ring-color:rgba(59,130,246,.5);--maz-tw-ring-offset-shadow:0 0 #0000;--maz-tw-ring-shadow:0 0 #0000;--maz-tw-shadow:0 0 #0000;--maz-tw-shadow-colored:0 0 #0000;--maz-tw-blur: ;--maz-tw-brightness: ;--maz-tw-contrast: ;--maz-tw-grayscale: ;--maz-tw-hue-rotate: ;--maz-tw-invert: ;--maz-tw-saturate: ;--maz-tw-sepia: ;--maz-tw-drop-shadow: ;--maz-tw-backdrop-blur: ;--maz-tw-backdrop-brightness: ;--maz-tw-backdrop-contrast: ;--maz-tw-backdrop-grayscale: ;--maz-tw-backdrop-hue-rotate: ;--maz-tw-backdrop-invert: ;--maz-tw-backdrop-opacity: ;--maz-tw-backdrop-saturate: ;--maz-tw-backdrop-sepia: ;--maz-tw-contain-size: ;--maz-tw-contain-layout: ;--maz-tw-contain-paint: ;--maz-tw-contain-style: }.maz-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.maz-invisible{visibility:hidden}.\!maz-absolute{position:absolute!important}.maz-relative{position:relative}.\!maz-my-0{margin-bottom:0!important;margin-top:0!important}.maz-ml-2{margin-left:.5rem}.maz-flex{display:flex}.maz-inline-flex{display:inline-flex}.maz-table{display:table}.maz-hidden{display:none}.maz-size-5{height:1.25rem;width:1.25rem}.maz-size-6{height:1.5rem;width:1.5rem}.maz-size-8{height:2rem;width:2rem}.maz-size-full{height:100%;width:100%}.maz-h-5{height:1.25rem}.maz-h-full{height:100%}.maz-w-5{width:1.25rem}.maz-w-full{width:100%}.maz-min-w-0{min-width:0}.maz-max-w-full{max-width:100%}.maz-max-w-xs{max-width:20rem}.maz-flex-1{flex:1 1 0%}.maz-flex-none{flex:none}.-maz-rotate-180{--maz-tw-rotate:-180deg}.-maz-rotate-180,.maz-rotate-180{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))}.maz-rotate-180{--maz-tw-rotate:180deg}.maz-flex-col{flex-direction:column}.maz-items-center{align-items:center}.maz-justify-end{justify-content:flex-end}.maz-justify-between{justify-content:space-between}.maz-gap-2{gap:.5rem}.maz-space-x-2>:not([hidden])~:not([hidden]){--maz-tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--maz-tw-space-x-reverse)));margin-right:calc(.5rem*var(--maz-tw-space-x-reverse))}.maz-overflow-hidden{overflow:hidden}.maz-overflow-x-auto{overflow-x:auto}.maz-truncate{overflow:hidden;text-overflow:ellipsis}.maz-truncate,.maz-whitespace-nowrap{white-space:nowrap}.maz-whitespace-pre-wrap{white-space:pre-wrap}.maz-break-words{overflow-wrap:break-word}.maz-rounded{border-radius:var(--maz-radius)}.maz-rounded-xl{border-radius:calc(var(--maz-radius) + 8px)}.maz-rounded-t{border-top-left-radius:var(--maz-radius);border-top-right-radius:var(--maz-radius)}.maz-border{border-width:var(--maz-border-width)}.maz-border-b{border-bottom-width:var(--maz-border-width)}.maz-border-t{border-top-width:var(--maz-border-width)}.maz-border-solid{border-style:solid}.\!maz-border-destructive{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-destructive)/var(--maz-tw-border-opacity,1))!important}.\!maz-border-success{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-success)/var(--maz-tw-border-opacity,1))!important}.\!maz-border-warning{--maz-tw-border-opacity:1!important;border-color:hsl(var(--maz-warning)/var(--maz-tw-border-opacity,1))!important}.maz-border-accent{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-accent)/var(--maz-tw-border-opacity,1))}.maz-border-contrast{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-contrast)/var(--maz-tw-border-opacity,1))}.maz-border-destructive{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-destructive)/var(--maz-tw-border-opacity,1))}.maz-border-divider{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border)/var(--maz-tw-border-opacity,1))}.maz-border-info{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-info)/var(--maz-tw-border-opacity,1))}.maz-border-primary{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-primary)/var(--maz-tw-border-opacity,1))}.maz-border-secondary{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-secondary)/var(--maz-tw-border-opacity,1))}.maz-border-success{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-success)/var(--maz-tw-border-opacity,1))}.maz-border-transparent{border-color:transparent}.maz-border-warning{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-warning)/var(--maz-tw-border-opacity,1))}.maz-bg-contrast-foreground{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-contrast-foreground)/var(--maz-tw-bg-opacity,1))}.maz-bg-destructive-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-destructive-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-info-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-info-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-success-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-success-700)/var(--maz-tw-bg-opacity,1))}.maz-bg-warning-700{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-warning-700)/var(--maz-tw-bg-opacity,1))}.maz-p-2{padding:.5rem}.maz-p-3{padding:.75rem}.maz-p-4{padding:1rem}.maz-text-center{text-align:center}.maz-text-start{text-align:start}.maz-text-end{text-align:end}.maz-text-2xl{font-size:1.5rem;line-height:2rem}.maz-text-base{font-size:1rem;line-height:1.5rem}.maz-text-lg{font-size:1.125rem;line-height:1.75rem}.maz-text-sm{font-size:.875rem;line-height:1.25rem}.maz-text-xl{font-size:1.25rem;line-height:1.75rem}.maz-text-xs{font-size:.75rem;line-height:1rem}.maz-font-semibold{font-weight:600}.\!maz-text-destructive-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-destructive-600)/var(--maz-tw-text-opacity,1))!important}.\!maz-text-success-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-success-600)/var(--maz-tw-text-opacity,1))!important}.\!maz-text-warning-600{--maz-tw-text-opacity:1!important;color:hsl(var(--maz-warning-600)/var(--maz-tw-text-opacity,1))!important}.maz-text-destructive-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive-600)/var(--maz-tw-text-opacity,1))}.maz-text-foreground{--maz-tw-text-opacity:1;color:hsl(var(--maz-foreground)/var(--maz-tw-text-opacity,1))}.maz-text-muted{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1))}.maz-text-success-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-success-600)/var(--maz-tw-text-opacity,1))}.maz-text-warning-600{--maz-tw-text-opacity:1;color:hsl(var(--maz-warning-600)/var(--maz-tw-text-opacity,1))}.maz-shadow-elevation{--maz-tw-shadow-color:hsl(var(--maz-shadow)/1);--maz-tw-shadow:var(--maz-tw-shadow-colored)}.maz-drop-shadow-md{--maz-tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.maz-flex-center{align-items:center;justify-content:center}.maz-padded-container{padding-inline:var(--maz-container-padding);width:100%}.maz-group:hover .group-hover\:maz-block{display:block}@media (min-width:640px){.tab-s\:maz-block{display:block}}
|
package/dist/plugins/maz-ui.js
CHANGED
|
@@ -48,8 +48,8 @@ function b(n2) {
|
|
|
48
48
|
const h2 = c2 < s, f2 = c2 > s, M2 = d[c2];
|
|
49
49
|
let a;
|
|
50
50
|
h2 && o2 >= 100 ? a = e : a = e + M2, f2 && o2 <= 0 && (a = 0), a = Math.min(100, Math.max(0, a));
|
|
51
|
-
const S2 = p$1(s, c2, r),
|
|
52
|
-
u2[c2] = i(t2,
|
|
51
|
+
const S2 = p$1(s, c2, r), L2 = Math.min(100, Math.max(5, r * S2));
|
|
52
|
+
u2[c2] = i(t2, L2, a);
|
|
53
53
|
}
|
|
54
54
|
}), u2;
|
|
55
55
|
}
|
|
@@ -81,153 +81,166 @@ const h = [
|
|
|
81
81
|
"base-font-size",
|
|
82
82
|
"border-width"
|
|
83
83
|
], S = ["primary", "secondary", "accent", "destructive", "success", "warning", "info", "contrast", "background", "foreground", "border", "muted", "overlay", "shadow"];
|
|
84
|
-
function j(
|
|
84
|
+
function j(r, t2 = {
|
|
85
85
|
mode: "both",
|
|
86
86
|
darkSelectorStrategy: "class"
|
|
87
87
|
}) {
|
|
88
88
|
const {
|
|
89
|
-
criticalColors:
|
|
90
|
-
criticalFoundation:
|
|
91
|
-
mode:
|
|
92
|
-
darkSelectorStrategy:
|
|
89
|
+
criticalColors: e = h,
|
|
90
|
+
criticalFoundation: o2 = C,
|
|
91
|
+
mode: n2,
|
|
92
|
+
darkSelectorStrategy: l2,
|
|
93
93
|
prefix: i2 = "maz"
|
|
94
|
-
} =
|
|
95
|
-
let
|
|
94
|
+
} = t2, s = y(r.foundation, o2);
|
|
95
|
+
let c2 = `@layer maz-ui-theme {
|
|
96
96
|
`;
|
|
97
|
-
if (
|
|
98
|
-
const a = m(
|
|
99
|
-
|
|
97
|
+
if (n2 === "light" || n2 === "both") {
|
|
98
|
+
const a = m(r.colors.light, e);
|
|
99
|
+
c2 += f$1({
|
|
100
100
|
selector: ":root",
|
|
101
101
|
colors: a,
|
|
102
|
-
foundation:
|
|
102
|
+
foundation: s,
|
|
103
103
|
prefix: i2
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
if (
|
|
107
|
-
const a = m(
|
|
108
|
-
|
|
109
|
-
selector:
|
|
110
|
-
mediaQuery:
|
|
106
|
+
if (n2 === "dark" || n2 === "both") {
|
|
107
|
+
const a = m(r.colors.dark, e);
|
|
108
|
+
c2 += f$1({
|
|
109
|
+
selector: l2 === "media" ? ":root" : ".dark",
|
|
110
|
+
mediaQuery: l2 === "media" ? "@media (prefers-color-scheme: dark)" : void 0,
|
|
111
111
|
colors: a,
|
|
112
|
-
foundation:
|
|
112
|
+
foundation: s,
|
|
113
113
|
prefix: i2
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
return
|
|
117
|
-
`,
|
|
116
|
+
return c2 += `}
|
|
117
|
+
`, c2;
|
|
118
118
|
}
|
|
119
|
-
function p(
|
|
119
|
+
function p(r, t2 = {
|
|
120
120
|
mode: "both",
|
|
121
121
|
darkSelectorStrategy: "class"
|
|
122
122
|
}) {
|
|
123
123
|
const {
|
|
124
|
-
excludeCritical:
|
|
125
|
-
mode:
|
|
126
|
-
darkSelectorStrategy:
|
|
127
|
-
prefix:
|
|
124
|
+
excludeCritical: e = h,
|
|
125
|
+
mode: o2,
|
|
126
|
+
darkSelectorStrategy: n2,
|
|
127
|
+
prefix: l2 = "maz",
|
|
128
128
|
includeColorScales: i2 = !0
|
|
129
|
-
} =
|
|
130
|
-
let
|
|
129
|
+
} = t2, s = k$1(r.foundation, C);
|
|
130
|
+
let c2 = `@layer maz-ui-theme {
|
|
131
131
|
`;
|
|
132
|
-
if (
|
|
133
|
-
const a = g$1(
|
|
134
|
-
|
|
132
|
+
if (o2 === "light" || o2 === "both") {
|
|
133
|
+
const a = g$1(r.colors.light, e);
|
|
134
|
+
c2 += f$1({
|
|
135
135
|
selector: ":root",
|
|
136
136
|
colors: a,
|
|
137
|
-
foundation:
|
|
138
|
-
prefix:
|
|
137
|
+
foundation: s,
|
|
138
|
+
prefix: l2,
|
|
139
139
|
includeScales: i2,
|
|
140
|
-
preset:
|
|
140
|
+
preset: r
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
|
-
if (
|
|
144
|
-
const a = g$1(
|
|
145
|
-
|
|
146
|
-
selector:
|
|
147
|
-
mediaQuery:
|
|
143
|
+
if (o2 === "dark" || o2 === "both") {
|
|
144
|
+
const a = g$1(r.colors.dark, e);
|
|
145
|
+
c2 += f$1({
|
|
146
|
+
selector: n2 === "media" ? ":root" : ".dark",
|
|
147
|
+
mediaQuery: n2 === "media" ? "@media (prefers-color-scheme: dark)" : void 0,
|
|
148
148
|
colors: a,
|
|
149
|
-
foundation:
|
|
149
|
+
foundation: o2 === "dark" ? s : void 0,
|
|
150
150
|
// Appearance only if dark mode only
|
|
151
|
-
prefix:
|
|
151
|
+
prefix: l2,
|
|
152
152
|
includeScales: i2,
|
|
153
|
-
preset:
|
|
153
|
+
preset: r,
|
|
154
154
|
isDark: !0
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
return
|
|
158
|
-
`,
|
|
157
|
+
return c2 += `}
|
|
158
|
+
`, c2;
|
|
159
159
|
}
|
|
160
|
-
function m(
|
|
160
|
+
function m(r, t2) {
|
|
161
161
|
return Object.fromEntries(
|
|
162
|
-
|
|
162
|
+
t2.filter((e) => r[e]).map((e) => [e, r[e]])
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
function y(
|
|
166
|
-
return
|
|
167
|
-
|
|
165
|
+
function y(r, t2) {
|
|
166
|
+
return r ? Object.fromEntries(
|
|
167
|
+
t2.filter((e) => r[e]).map((e) => [e, r[e]])
|
|
168
168
|
) : {};
|
|
169
169
|
}
|
|
170
|
-
function g$1(
|
|
170
|
+
function g$1(r, t2) {
|
|
171
171
|
return Object.fromEntries(
|
|
172
|
-
Object.entries(
|
|
172
|
+
Object.entries(r).filter(([e]) => !t2.includes(e))
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
|
-
function k$1(
|
|
176
|
-
return
|
|
177
|
-
Object.entries(
|
|
175
|
+
function k$1(r, t2) {
|
|
176
|
+
return r ? Object.fromEntries(
|
|
177
|
+
Object.entries(r).filter(([e]) => !t2.includes(e))
|
|
178
178
|
) : {};
|
|
179
179
|
}
|
|
180
180
|
function f$1({
|
|
181
|
-
selector:
|
|
182
|
-
mediaQuery:
|
|
183
|
-
colors:
|
|
184
|
-
foundation:
|
|
185
|
-
prefix:
|
|
186
|
-
includeScales:
|
|
181
|
+
selector: r,
|
|
182
|
+
mediaQuery: t2,
|
|
183
|
+
colors: e,
|
|
184
|
+
foundation: o2,
|
|
185
|
+
prefix: n2,
|
|
186
|
+
includeScales: l2 = !1,
|
|
187
187
|
preset: i2,
|
|
188
|
-
isDark:
|
|
188
|
+
isDark: s = !1
|
|
189
189
|
}) {
|
|
190
|
-
const
|
|
191
|
-
if (
|
|
192
|
-
d2 &&
|
|
193
|
-
}),
|
|
194
|
-
d2 &&
|
|
195
|
-
}),
|
|
196
|
-
const u2 =
|
|
197
|
-
|
|
190
|
+
const c2 = [];
|
|
191
|
+
if (e && Object.entries(e).forEach(([u2, d2]) => {
|
|
192
|
+
d2 && c2.push(` --${n2}-${u2}: ${d2};`);
|
|
193
|
+
}), o2 && Object.entries(o2).forEach(([u2, d2]) => {
|
|
194
|
+
d2 && c2.push(` --${n2}-${u2}: ${d2};`);
|
|
195
|
+
}), l2 && i2) {
|
|
196
|
+
const u2 = s ? i2.colors.dark : i2.colors.light, d2 = $(u2, n2);
|
|
197
|
+
c2.push(...d2);
|
|
198
198
|
}
|
|
199
|
-
const a =
|
|
199
|
+
const a = c2.join(`
|
|
200
200
|
`);
|
|
201
|
-
return
|
|
202
|
-
${
|
|
203
|
-
${
|
|
201
|
+
return t2 ? `
|
|
202
|
+
${t2} {
|
|
203
|
+
${r} {
|
|
204
204
|
${a.replace(/^/gm, " ")}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
` : `
|
|
208
|
-
${
|
|
208
|
+
${r} {
|
|
209
209
|
${a}
|
|
210
210
|
}
|
|
211
211
|
`;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
const
|
|
215
|
-
return S.forEach((
|
|
216
|
-
const
|
|
217
|
-
if (
|
|
218
|
-
const
|
|
219
|
-
Object.entries(
|
|
220
|
-
|
|
213
|
+
function $(r, t2) {
|
|
214
|
+
const e = [];
|
|
215
|
+
return S.forEach((o2) => {
|
|
216
|
+
const n2 = r[o2];
|
|
217
|
+
if (n2) {
|
|
218
|
+
const l2 = b(n2);
|
|
219
|
+
Object.entries(l2).forEach(([i2, s]) => {
|
|
220
|
+
e.push(` --${t2}-${o2}-${i2}: ${s};`);
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), e;
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
function v
|
|
225
|
+
var E = /* @__PURE__ */ ((r) => (r.FULL = "maz-theme-full", r.CRITICAL = "maz-theme-critical", r))(E || {});
|
|
226
|
+
function v(r, t2) {
|
|
227
227
|
if (typeof document > "u")
|
|
228
228
|
return;
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
const e = document.querySelectorAll(`#${r}`);
|
|
230
|
+
if (!e || e.length === 0) {
|
|
231
|
+
const o2 = document.createElement("style");
|
|
232
|
+
o2.id = r, document.head.appendChild(o2), o2.textContent = t2;
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
if (e.length === 1) {
|
|
236
|
+
e[0].textContent = t2;
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
if (e.length > 1) {
|
|
240
|
+
for (let o2 = 0; o2 < e.length - 1; o2++)
|
|
241
|
+
e[o2].remove();
|
|
242
|
+
e[e.length - 1].textContent = t2;
|
|
243
|
+
}
|
|
231
244
|
}
|
|
232
245
|
function c(e) {
|
|
233
246
|
if (typeof document > "u")
|
|
@@ -251,7 +264,7 @@ async function o(i2) {
|
|
|
251
264
|
if (t(i2))
|
|
252
265
|
return i2;
|
|
253
266
|
if (i2 === "mazUi" || !i2 || i2 === "maz-ui") {
|
|
254
|
-
const { mazUi: n2 } = await import("../chunks/mazUi.
|
|
267
|
+
const { mazUi: n2 } = await import("../chunks/mazUi.CaSMOKic.js");
|
|
255
268
|
return n2;
|
|
256
269
|
}
|
|
257
270
|
if (i2 === "ocean") {
|
|
@@ -299,19 +312,19 @@ function k(r, t2) {
|
|
|
299
312
|
};
|
|
300
313
|
if (t2.injectCriticalCSS) {
|
|
301
314
|
const a = j(r, e);
|
|
302
|
-
v
|
|
315
|
+
v(E.CRITICAL, a);
|
|
303
316
|
}
|
|
304
317
|
if (!t2.injectFullCSS)
|
|
305
318
|
return;
|
|
306
319
|
const o2 = p(r, e);
|
|
307
|
-
t2.strategy === "runtime" ? v
|
|
308
|
-
v
|
|
320
|
+
t2.strategy === "runtime" ? v(E.FULL, o2) : t2.strategy === "hybrid" && requestIdleCallback(() => {
|
|
321
|
+
v(E.FULL, o2);
|
|
309
322
|
}, { timeout: 100 });
|
|
310
323
|
}
|
|
311
324
|
function M(r, t2) {
|
|
312
325
|
r.provide("mazThemeState", t2), r.config.globalProperties.$mazThemeState = t2;
|
|
313
326
|
}
|
|
314
|
-
const
|
|
327
|
+
const L = {
|
|
315
328
|
async install(r, t2) {
|
|
316
329
|
const e = {
|
|
317
330
|
strategy: "runtime",
|
|
@@ -322,23 +335,22 @@ const v = {
|
|
|
322
335
|
injectFullCSS: !0,
|
|
323
336
|
mode: "both",
|
|
324
337
|
...t2
|
|
325
|
-
}, o$2 = e.mode !== "both" ? e.mode : o$1(e.colorMode), a = o$2 === "auto" && e.mode === "both" ? n() : o$2 === "dark" || e.mode === "dark",
|
|
326
|
-
|
|
327
|
-
currentPreset: {},
|
|
338
|
+
}, o$2 = e.mode !== "both" ? e.mode : o$1(e.colorMode), a = o$2 === "auto" && e.mode === "both" ? n() : o$2 === "dark" || e.mode === "dark", m2 = reactive({
|
|
339
|
+
currentPreset: void 0,
|
|
328
340
|
mode: e.mode,
|
|
329
341
|
colorMode: o$2,
|
|
330
342
|
isDark: a,
|
|
331
343
|
strategy: e.strategy,
|
|
332
344
|
darkModeStrategy: e.darkModeStrategy
|
|
333
345
|
});
|
|
334
|
-
g(e.darkModeStrategy, a), M(r,
|
|
335
|
-
const
|
|
336
|
-
|
|
346
|
+
g(e.darkModeStrategy, a), M(r, m2);
|
|
347
|
+
const i2 = e.strategy === "buildtime" ? e.preset : await o(e.preset), d2 = Object.keys(e.overrides).length > 0 && i2 ? f(i2, e.overrides) : i2;
|
|
348
|
+
d2 && (m2.currentPreset = d2), !(e.strategy === "buildtime" || !d2) && k(d2, e);
|
|
337
349
|
}
|
|
338
350
|
}, MazUi = {
|
|
339
351
|
install(app, options) {
|
|
340
352
|
const { theme, translations } = options;
|
|
341
|
-
app.use(
|
|
353
|
+
app.use(L, theme), app.use(MazUiTranslations, translations);
|
|
342
354
|
}
|
|
343
355
|
};
|
|
344
356
|
export {
|
|
@@ -221,9 +221,13 @@ export interface MazDatePickerProps {
|
|
|
221
221
|
*/
|
|
222
222
|
transition?: MazPopoverProps['transition'];
|
|
223
223
|
}
|
|
224
|
+
declare const __VLS_defaults: {
|
|
225
|
+
locale: undefined;
|
|
226
|
+
open: boolean;
|
|
227
|
+
};
|
|
224
228
|
type __VLS_PublicProps = {
|
|
225
229
|
'locale'?: string;
|
|
226
|
-
'open'?:
|
|
230
|
+
'open'?: typeof __VLS_defaults['open'];
|
|
227
231
|
} & __VLS_Props;
|
|
228
232
|
declare function __VLS_template(): {
|
|
229
233
|
attrs: Partial<{}>;
|
|
@@ -305,7 +309,7 @@ declare function __VLS_template(): {
|
|
|
305
309
|
open: () => void;
|
|
306
310
|
close: () => void;
|
|
307
311
|
toggle: () => void;
|
|
308
|
-
isOpen: import('vue').
|
|
312
|
+
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
309
313
|
updatePosition: () => void;
|
|
310
314
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
311
315
|
close: () => any;
|
|
@@ -343,11 +347,11 @@ declare function __VLS_template(): {
|
|
|
343
347
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
344
348
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
345
349
|
"onAfter-close-animation"?: (() => any) | undefined;
|
|
346
|
-
}>, "close" | "toggle" | "open" | "
|
|
350
|
+
}>, "close" | "toggle" | "open" | "isOpen" | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
|
347
351
|
open: () => void;
|
|
348
352
|
close: () => void;
|
|
349
353
|
toggle: () => void;
|
|
350
|
-
isOpen: import('vue').
|
|
354
|
+
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
351
355
|
updatePosition: () => void;
|
|
352
356
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
353
357
|
$slots: {
|
|
@@ -384,7 +388,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
384
388
|
time: boolean;
|
|
385
389
|
color: MazColor;
|
|
386
390
|
disabled: boolean;
|
|
387
|
-
open:
|
|
391
|
+
open: (typeof __VLS_defaults)["open"];
|
|
388
392
|
format: string;
|
|
389
393
|
transition: string;
|
|
390
394
|
double: boolean;
|
|
@@ -476,7 +480,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
476
480
|
open: () => void;
|
|
477
481
|
close: () => void;
|
|
478
482
|
toggle: () => void;
|
|
479
|
-
isOpen: import('vue').
|
|
483
|
+
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
480
484
|
updatePosition: () => void;
|
|
481
485
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
482
486
|
close: () => any;
|
|
@@ -514,11 +518,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
514
518
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
515
519
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
516
520
|
"onAfter-close-animation"?: (() => any) | undefined;
|
|
517
|
-
}>, "close" | "toggle" | "open" | "
|
|
521
|
+
}>, "close" | "toggle" | "open" | "isOpen" | "updatePosition"> & import('vue').ShallowUnwrapRef<{
|
|
518
522
|
open: () => void;
|
|
519
523
|
close: () => void;
|
|
520
524
|
toggle: () => void;
|
|
521
|
-
isOpen: import('vue').
|
|
525
|
+
isOpen: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
522
526
|
updatePosition: () => void;
|
|
523
527
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
524
528
|
$slots: {
|
|
@@ -158,8 +158,11 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
|
|
|
158
158
|
*/
|
|
159
159
|
transition?: MazPopoverProps['transition'];
|
|
160
160
|
}
|
|
161
|
+
declare const __VLS_defaults: {
|
|
162
|
+
modelValue: boolean;
|
|
163
|
+
};
|
|
161
164
|
type __VLS_PublicProps = {
|
|
162
|
-
modelValue?:
|
|
165
|
+
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
163
166
|
} & __VLS_Props;
|
|
164
167
|
declare function __VLS_template(): {
|
|
165
168
|
attrs: Partial<{}>;
|
|
@@ -182,14 +185,14 @@ declare function __VLS_template(): {
|
|
|
182
185
|
items: MazDropdownMenuItem[];
|
|
183
186
|
open: () => void;
|
|
184
187
|
close: () => void;
|
|
185
|
-
isOpen:
|
|
188
|
+
isOpen: boolean;
|
|
186
189
|
toggle: () => void;
|
|
187
190
|
}): any;
|
|
188
191
|
menuitem?(_: {
|
|
189
192
|
item: MazDropdownMenuItem;
|
|
190
193
|
open: () => void;
|
|
191
194
|
close: () => void;
|
|
192
|
-
isOpen:
|
|
195
|
+
isOpen: boolean;
|
|
193
196
|
toggle: () => void;
|
|
194
197
|
}): any;
|
|
195
198
|
'menuitem-label'?(_: {
|
|
@@ -206,7 +209,7 @@ declare function __VLS_template(): {
|
|
|
206
209
|
};
|
|
207
210
|
open: () => void;
|
|
208
211
|
close: () => void;
|
|
209
|
-
isOpen:
|
|
212
|
+
isOpen: boolean;
|
|
210
213
|
toggle: () => void;
|
|
211
214
|
}): any;
|
|
212
215
|
'menuitem-label'?(_: {
|
|
@@ -223,7 +226,7 @@ declare function __VLS_template(): {
|
|
|
223
226
|
};
|
|
224
227
|
open: () => void;
|
|
225
228
|
close: () => void;
|
|
226
|
-
isOpen:
|
|
229
|
+
isOpen: boolean;
|
|
227
230
|
toggle: () => void;
|
|
228
231
|
}): any;
|
|
229
232
|
};
|