maz-ui 3.19.0 → 3.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.mjs +1 -1
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazFullscreenLoader.d.ts +27 -19
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +3 -2
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +5 -4
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/utils.d.ts +1 -4
- package/components/MazPicker.mjs +1 -1
- package/components/MazRadioButtons.mjs +2 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +2 -1
- package/components/MazStepper.d.ts +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +2 -1
- package/components/MazTabs.mjs +2 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContentItem.mjs +1 -1
- package/components/MazTextarea.mjs +2 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazPickerCalendar.css +1 -1
- package/components/chunks/{MazAvatar-68e2d653.mjs → MazAvatar-a65c81e3.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-1fd128d5.mjs → MazBottomSheet-b78adb87.mjs} +3 -2
- package/components/chunks/{MazBtn-ebaa1574.mjs → MazBtn-000f9f66.mjs} +3 -3
- package/components/chunks/{MazBtn-8d0f8eb2.mjs → MazBtn-0d8e3249.mjs} +4 -4
- package/components/chunks/{MazBtn-8b76a9b9.mjs → MazBtn-16ab35fe.mjs} +4 -4
- package/components/chunks/{MazBtn-7963cdc8.mjs → MazBtn-18894690.mjs} +4 -4
- package/components/chunks/{MazBtn-83e85ae7.mjs → MazBtn-21743551.mjs} +4 -4
- package/components/chunks/{MazBtn-740fa3f9.mjs → MazBtn-2703c9bd.mjs} +2 -2
- package/components/chunks/{MazBtn-113db7ce.mjs → MazBtn-54c47489.mjs} +4 -4
- package/components/chunks/{MazBtn-80a95ca3.mjs → MazBtn-57cb16a1.mjs} +4 -4
- package/components/chunks/{MazBtn-aed16fa9.mjs → MazBtn-5a37bfef.mjs} +4 -4
- package/components/chunks/{MazBtn-9449d9aa.mjs → MazBtn-67e1fe7b.mjs} +4 -4
- package/components/chunks/{MazBtn-290141e9.mjs → MazBtn-6e16fbca.mjs} +4 -4
- package/components/chunks/{MazBtn-360120f0.mjs → MazBtn-9333e80f.mjs} +4 -4
- package/components/chunks/{MazBtn-cd553cc1.mjs → MazBtn-9d312f09.mjs} +4 -4
- package/components/chunks/MazBtn-a776eb42.mjs +184 -0
- package/components/chunks/{MazBtn-9e23a622.mjs → MazBtn-bf133cbc.mjs} +4 -4
- package/components/chunks/{MazCard-f0b1207f.mjs → MazCard-d9369776.mjs} +4 -4
- package/components/chunks/{MazCarousel-e6c83219.mjs → MazCarousel-06ca7c0b.mjs} +2 -2
- package/components/chunks/{MazDialog-5c53a6d7.mjs → MazDialog-d5f6a7d8.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-e0a178ee.mjs → MazDialogPromise-23cb2e40.mjs} +2 -2
- package/components/chunks/{MazDrawer-682859a4.mjs → MazDrawer-7d6428cf.mjs} +1 -1
- package/components/chunks/{MazGallery-345cb883.mjs → MazGallery-c80e96f6.mjs} +2 -2
- package/{modules/chunks/MazIcon-c5f0f47e.mjs → components/chunks/MazIcon-81176bfa.mjs} +4 -3
- package/components/chunks/{MazIcon-146f73d3.mjs → MazIcon-bda198b4.mjs} +3 -2
- package/components/chunks/{MazInput-c67999b0.mjs → MazInput-129c8695.mjs} +2 -2
- package/components/chunks/{MazInput-4775c6de.mjs → MazInput-15f3e149.mjs} +3 -3
- package/components/chunks/{MazInput-0424a850.mjs → MazInput-2a43e4a6.mjs} +3 -3
- package/components/chunks/{MazInput-4b908386.mjs → MazInput-8e284503.mjs} +2 -2
- package/components/chunks/{MazInputPrice-50e3ea5d.mjs → MazInputPrice-e88dec74.mjs} +4 -3
- package/components/chunks/{MazInputTags-801c15dc.mjs → MazInputTags-872a6fae.mjs} +5 -4
- package/components/chunks/{MazLazyImg-a206909b.mjs → MazLazyImg-51c16f47.mjs} +6 -6
- package/components/chunks/{MazLazyImg-13052d11.mjs → MazLazyImg-8d49fa48.mjs} +5 -5
- package/components/chunks/{MazPhoneNumberInput-37eb2437.mjs → MazPhoneNumberInput-901c4fa6.mjs} +5 -4
- package/components/chunks/{MazPicker-25765233.mjs → MazPicker-6fc29a1c.mjs} +22 -26
- package/components/chunks/{MazPickerCalendar-1547bd78.mjs → MazPickerCalendar-6271c78d.mjs} +29 -24
- package/components/chunks/{MazPickerHeader-04d6a61f.mjs → MazPickerHeader-4f70f191.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-791ebc99.mjs → MazPickerMonthSwitcher-674ce015.mjs} +4 -3
- package/components/chunks/{MazPickerShortcuts-4bdeae6a.mjs → MazPickerShortcuts-2242854f.mjs} +4 -3
- package/components/chunks/{MazPickerTime-0ca05476.mjs → MazPickerTime-bb97786b.mjs} +4 -3
- package/components/chunks/{MazPickerYearSwitcher-a338777f.mjs → MazPickerYearSwitcher-47e5444b.mjs} +5 -4
- package/components/chunks/{MazSelect-9270ae9c.mjs → MazSelect-1f4d1193.mjs} +6 -5
- package/components/chunks/{MazSelect-13d3fe3a.mjs → MazSelect-c5c3f874.mjs} +6 -5
- package/components/chunks/MazSpinner-213b3866.mjs +46 -0
- package/components/chunks/{MazSpinner-3e5a5ee0.mjs → MazSpinner-232086b5.mjs} +1 -1
- package/components/chunks/{MazSpinner-c4d67909.mjs → MazSpinner-25ddb933.mjs} +1 -1
- package/components/chunks/{MazSpinner-5be09a6a.mjs → MazSpinner-2cbf1c0a.mjs} +1 -1
- package/components/chunks/{MazSpinner-450e5795.mjs → MazSpinner-2fac70be.mjs} +1 -1
- package/components/chunks/{MazSpinner-07d6be3a.mjs → MazSpinner-467d514f.mjs} +1 -1
- package/components/chunks/MazSpinner-47025e56.mjs +46 -0
- package/components/chunks/{MazSpinner-24e65651.mjs → MazSpinner-5368411e.mjs} +1 -1
- package/components/chunks/MazSpinner-5fdafc97.mjs +46 -0
- package/components/chunks/{MazSpinner-bfd1f135.mjs → MazSpinner-6025406b.mjs} +1 -1
- package/components/chunks/{MazSpinner-33f756c4.mjs → MazSpinner-6c664898.mjs} +1 -1
- package/components/chunks/MazSpinner-819a5b00.mjs +46 -0
- package/components/chunks/{MazSpinner-50959d38.mjs → MazSpinner-984d259a.mjs} +1 -1
- package/components/chunks/MazSpinner-a74389bd.mjs +46 -0
- package/components/chunks/{MazSpinner-ac676f71.mjs → MazSpinner-bed2bced.mjs} +1 -1
- package/components/chunks/{MazSpinner-5baeb3f0.mjs → MazSpinner-d6625983.mjs} +1 -1
- package/components/chunks/{MazStepper-d61114a7.mjs → MazStepper-293b4be5.mjs} +4 -3
- package/components/chunks/{MazTabsBar-6f1ed175.mjs → MazTabsBar-6dffbdde.mjs} +2 -2
- package/components/chunks/{MazTransitionExpand-e408307c.mjs → MazTransitionExpand-648e21e0.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-bf4cb245.mjs → MazTransitionExpand-f3018af6.mjs} +1 -1
- package/modules/chunks/{MazBtn-c57ccb54.mjs → MazBtn-f4c8698d.mjs} +4 -4
- package/{components/chunks/MazIcon-00892ac4.mjs → modules/chunks/MazIcon-2c79b9d8.mjs} +4 -3
- package/modules/chunks/{MazSpinner-bb0e791a.mjs → MazSpinner-331f6dc8.mjs} +1 -1
- package/modules/chunks/{index-7220b7e8.mjs → index-1c3e48da.mjs} +58 -31
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +7 -7
- package/types/components/MazFullscreenLoader.vue.d.ts +27 -19
- package/types/components/MazPicker/utils.d.ts +1 -4
- package/types/components/MazStepper.vue.d.ts +1 -1
- package/types/modules/composables/use-theme-handler.d.ts +6 -3
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +54 -88
- package/components/chunks/MazBtn-a2eeb3f8.mjs +0 -184
- package/components/chunks/MazSpinner-559fb831.mjs +0 -46
- package/components/chunks/MazSpinner-7e5fb76c.mjs +0 -46
- package/components/chunks/MazSpinner-d5f2c266.mjs +0 -46
- package/components/chunks/MazSpinner-e4d7bbe9.mjs +0 -46
- package/components/chunks/MazSpinner-f40ee2c7.mjs +0 -46
|
@@ -1,99 +1,51 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
destroy
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
alt: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
openInstanceClass: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
zoom: {
|
|
19
|
-
type: import("vue").PropType<boolean>;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
disabled: {
|
|
23
|
-
type: import("vue").PropType<boolean>;
|
|
24
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
destroy?: (() => void) | undefined;
|
|
3
|
+
src: string;
|
|
4
|
+
alt?: string | undefined;
|
|
5
|
+
openInstanceClass: string;
|
|
6
|
+
zoom?: boolean | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
25
8
|
clickedElementBounds: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
width: number;
|
|
31
|
-
}>;
|
|
32
|
-
required: true;
|
|
9
|
+
top: number;
|
|
10
|
+
left: number;
|
|
11
|
+
height: number;
|
|
12
|
+
width: number;
|
|
33
13
|
};
|
|
34
|
-
clickedElement:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
scaleAnimation: {
|
|
44
|
-
type: import("vue").PropType<boolean>;
|
|
45
|
-
};
|
|
46
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
clickedElement: HTMLElement;
|
|
15
|
+
animated: boolean;
|
|
16
|
+
scaleAnimation?: boolean | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
destroy: undefined;
|
|
19
|
+
zoom: boolean;
|
|
20
|
+
animated: boolean;
|
|
21
|
+
alt: undefined;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
23
|
close: (...args: any[]) => void;
|
|
48
24
|
previous: (...args: any[]) => void;
|
|
49
25
|
next: (...args: any[]) => void;
|
|
50
26
|
"before-close": (...args: any[]) => void;
|
|
51
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
destroy
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
alt: {
|
|
61
|
-
type: import("vue").PropType<string>;
|
|
62
|
-
default: undefined;
|
|
63
|
-
};
|
|
64
|
-
openInstanceClass: {
|
|
65
|
-
type: import("vue").PropType<string>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
zoom: {
|
|
69
|
-
type: import("vue").PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
disabled: {
|
|
73
|
-
type: import("vue").PropType<boolean>;
|
|
74
|
-
};
|
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
destroy?: (() => void) | undefined;
|
|
29
|
+
src: string;
|
|
30
|
+
alt?: string | undefined;
|
|
31
|
+
openInstanceClass: string;
|
|
32
|
+
zoom?: boolean | undefined;
|
|
33
|
+
disabled?: boolean | undefined;
|
|
75
34
|
clickedElementBounds: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
width: number;
|
|
81
|
-
}>;
|
|
82
|
-
required: true;
|
|
83
|
-
};
|
|
84
|
-
clickedElement: {
|
|
85
|
-
type: import("vue").PropType<HTMLElement>;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
animated: {
|
|
89
|
-
type: import("vue").PropType<boolean>;
|
|
90
|
-
required: true;
|
|
91
|
-
default: boolean;
|
|
35
|
+
top: number;
|
|
36
|
+
left: number;
|
|
37
|
+
height: number;
|
|
38
|
+
width: number;
|
|
92
39
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
40
|
+
clickedElement: HTMLElement;
|
|
41
|
+
animated: boolean;
|
|
42
|
+
scaleAnimation?: boolean | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
destroy: undefined;
|
|
45
|
+
zoom: boolean;
|
|
46
|
+
animated: boolean;
|
|
47
|
+
alt: undefined;
|
|
48
|
+
}>>> & {
|
|
97
49
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
98
50
|
onPrevious?: ((...args: any[]) => any) | undefined;
|
|
99
51
|
onNext?: ((...args: any[]) => any) | undefined;
|
|
@@ -105,3 +57,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
57
|
animated: boolean;
|
|
106
58
|
}, {}>;
|
|
107
59
|
export default _default;
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
type __VLS_WithDefaults<P, D> = {
|
|
70
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
71
|
+
default: D[K];
|
|
72
|
+
}> : P[K];
|
|
73
|
+
};
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import "../assets/MazBtn.css";
|
|
2
|
-
import { defineComponent, defineAsyncComponent, useAttrs, useSlots, onBeforeMount, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, createElementBlock, normalizeClass, renderSlot, unref, createCommentVNode, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazTabsBar-6f1ed175.mjs";
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "MazBtn",
|
|
6
|
-
props: {
|
|
7
|
-
variant: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "button",
|
|
10
|
-
validator: (value) => {
|
|
11
|
-
return ["button", "link"].includes(value);
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "md",
|
|
17
|
-
validator: (value) => {
|
|
18
|
-
return ["mini", "xs", "sm", "md", "lg", "xl"].includes(value);
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
color: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "primary"
|
|
24
|
-
},
|
|
25
|
-
type: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: "button",
|
|
28
|
-
validator: (value) => {
|
|
29
|
-
return ["button", "submit", "reset"].includes(value);
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
rounded: { type: Boolean, default: false },
|
|
33
|
-
noRounded: { type: Boolean, default: false },
|
|
34
|
-
outline: { type: Boolean, default: false },
|
|
35
|
-
pastel: { type: Boolean, default: false },
|
|
36
|
-
block: { type: Boolean, default: false },
|
|
37
|
-
noUnderline: { type: Boolean, default: false },
|
|
38
|
-
noLeading: { type: Boolean, default: false },
|
|
39
|
-
loading: { type: Boolean, default: false },
|
|
40
|
-
disabled: { type: Boolean, default: false },
|
|
41
|
-
fab: { type: Boolean, default: false },
|
|
42
|
-
icon: { type: String, default: void 0 },
|
|
43
|
-
leftIcon: { type: String, default: void 0 },
|
|
44
|
-
rightIcon: { type: String, default: void 0 },
|
|
45
|
-
noPadding: { type: Boolean, default: false },
|
|
46
|
-
noElevation: { type: Boolean, default: false }
|
|
47
|
-
},
|
|
48
|
-
setup(__props) {
|
|
49
|
-
const props = __props;
|
|
50
|
-
const MazSpinner = defineAsyncComponent(() => import("./MazSpinner-7e5fb76c.mjs"));
|
|
51
|
-
const MazIcon = defineAsyncComponent(() => import("./MazIcon-00892ac4.mjs"));
|
|
52
|
-
const { href, to } = useAttrs();
|
|
53
|
-
const slots = useSlots();
|
|
54
|
-
onBeforeMount(() => {
|
|
55
|
-
if (props.icon && !props.fab) {
|
|
56
|
-
console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
const component = computed(() => {
|
|
60
|
-
if (href)
|
|
61
|
-
return "a";
|
|
62
|
-
else if (to)
|
|
63
|
-
return "router-link";
|
|
64
|
-
return "button";
|
|
65
|
-
});
|
|
66
|
-
const btnColorClass = computed(
|
|
67
|
-
() => props.pastel ? `--${props.color}-pastel` : props.outline ? `--${props.color}-outline` : `--${props.color}`
|
|
68
|
-
);
|
|
69
|
-
const isDisabled = computed(
|
|
70
|
-
() => (props.loading || props.disabled) && component.value === "button"
|
|
71
|
-
);
|
|
72
|
-
const cursorClass = computed(() => isDisabled.value ? "--cursor-default" : "--cursor-pointer");
|
|
73
|
-
const variantClass = computed(() => `--is-${props.variant}`);
|
|
74
|
-
const hasLoader = computed(() => props.loading && props.variant === "button");
|
|
75
|
-
const hasLeftIcon = computed(() => !!slots["left-icon"] || props.leftIcon);
|
|
76
|
-
const hasRightIcon = computed(() => !!slots["right-icon"] || props.rightIcon);
|
|
77
|
-
const hasIcon = computed(() => hasLeftIcon.value || hasRightIcon.value);
|
|
78
|
-
const hasFabIcon = computed(() => props.fab && props.icon);
|
|
79
|
-
const btnType = computed(() => component.value === "button" ? props.type : void 0);
|
|
80
|
-
return (_ctx, _cache) => {
|
|
81
|
-
return openBlock(), createBlock(resolveDynamicComponent(component.value), mergeProps(_ctx.$attrs, {
|
|
82
|
-
disabled: isDisabled.value,
|
|
83
|
-
class: ["m-btn", [
|
|
84
|
-
`--${__props.size}`,
|
|
85
|
-
btnColorClass.value,
|
|
86
|
-
cursorClass.value,
|
|
87
|
-
variantClass.value,
|
|
88
|
-
{
|
|
89
|
-
"--block": __props.block,
|
|
90
|
-
"--no-underline": __props.noUnderline,
|
|
91
|
-
"--no-leading": __props.noLeading,
|
|
92
|
-
"--fab": __props.fab,
|
|
93
|
-
"--loading": __props.loading,
|
|
94
|
-
"--disabled": isDisabled.value,
|
|
95
|
-
"--icon": hasIcon.value,
|
|
96
|
-
"--rounded": __props.rounded,
|
|
97
|
-
"--no-rounded": __props.noRounded,
|
|
98
|
-
"--no-padding": __props.noPadding,
|
|
99
|
-
"--no-elevation": __props.noElevation
|
|
100
|
-
}
|
|
101
|
-
]],
|
|
102
|
-
type: btnType.value
|
|
103
|
-
}), {
|
|
104
|
-
default: withCtx(() => [
|
|
105
|
-
hasLeftIcon.value ? (openBlock(), createElementBlock(
|
|
106
|
-
"div",
|
|
107
|
-
{
|
|
108
|
-
key: 0,
|
|
109
|
-
class: normalizeClass(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": hasLoader.value }])
|
|
110
|
-
},
|
|
111
|
-
[
|
|
112
|
-
renderSlot(_ctx.$slots, "left-icon", {}, () => [
|
|
113
|
-
__props.leftIcon ? (openBlock(), createBlock(unref(MazIcon), {
|
|
114
|
-
key: 0,
|
|
115
|
-
name: __props.leftIcon
|
|
116
|
-
}, null, 8, ["name"])) : createCommentVNode("v-if", true)
|
|
117
|
-
], true)
|
|
118
|
-
],
|
|
119
|
-
2
|
|
120
|
-
/* CLASS */
|
|
121
|
-
)) : createCommentVNode("v-if", true),
|
|
122
|
-
hasFabIcon.value ? (openBlock(), createElementBlock(
|
|
123
|
-
"div",
|
|
124
|
-
{
|
|
125
|
-
key: 1,
|
|
126
|
-
class: normalizeClass(["m-btn__icon maz-flex maz-flex-center", { "maz-invisible": hasLoader.value }])
|
|
127
|
-
},
|
|
128
|
-
[
|
|
129
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
130
|
-
__props.icon ? (openBlock(), createBlock(unref(MazIcon), {
|
|
131
|
-
key: 0,
|
|
132
|
-
name: __props.icon
|
|
133
|
-
}, null, 8, ["name"])) : createCommentVNode("v-if", true)
|
|
134
|
-
], true)
|
|
135
|
-
],
|
|
136
|
-
2
|
|
137
|
-
/* CLASS */
|
|
138
|
-
)) : createCommentVNode("v-if", true),
|
|
139
|
-
createElementVNode(
|
|
140
|
-
"span",
|
|
141
|
-
{
|
|
142
|
-
class: normalizeClass(["maz-flex maz-flex-center", { "maz-invisible": hasLoader.value }])
|
|
143
|
-
},
|
|
144
|
-
[
|
|
145
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
146
|
-
],
|
|
147
|
-
2
|
|
148
|
-
/* CLASS */
|
|
149
|
-
),
|
|
150
|
-
hasRightIcon.value ? (openBlock(), createElementBlock(
|
|
151
|
-
"div",
|
|
152
|
-
{
|
|
153
|
-
key: 2,
|
|
154
|
-
class: normalizeClass(["m-btn__icon-right maz-flex maz-flex-center", { "maz-invisible": hasLoader.value }])
|
|
155
|
-
},
|
|
156
|
-
[
|
|
157
|
-
renderSlot(_ctx.$slots, "right-icon", {}, () => [
|
|
158
|
-
__props.rightIcon ? (openBlock(), createBlock(unref(MazIcon), {
|
|
159
|
-
key: 0,
|
|
160
|
-
name: __props.rightIcon
|
|
161
|
-
}, null, 8, ["name"])) : createCommentVNode("v-if", true)
|
|
162
|
-
], true)
|
|
163
|
-
],
|
|
164
|
-
2
|
|
165
|
-
/* CLASS */
|
|
166
|
-
)) : createCommentVNode("v-if", true),
|
|
167
|
-
hasLoader.value ? (openBlock(), createBlock(unref(MazSpinner), {
|
|
168
|
-
key: 3,
|
|
169
|
-
size: "2em",
|
|
170
|
-
color: __props.color,
|
|
171
|
-
class: "maz-absolute"
|
|
172
|
-
}, null, 8, ["color"])) : createCommentVNode("v-if", true)
|
|
173
|
-
]),
|
|
174
|
-
_: 3
|
|
175
|
-
/* FORWARDED */
|
|
176
|
-
}, 16, ["disabled", "class", "type"]);
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
const MazBtn_vue_vue_type_style_index_0_scoped_054acd3d_lang = "";
|
|
181
|
-
const MazBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-054acd3d"]]);
|
|
182
|
-
export {
|
|
183
|
-
MazBtn as default
|
|
184
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazAvatar-68e2d653.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
-
const _hoisted_1 = ["width", "height"];
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
-
"path",
|
|
8
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
9
|
-
null,
|
|
10
|
-
-1
|
|
11
|
-
/* HOISTED */
|
|
12
|
-
));
|
|
13
|
-
const _hoisted_3 = [
|
|
14
|
-
_hoisted_2
|
|
15
|
-
];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
-
__name: "MazSpinner",
|
|
18
|
-
props: {
|
|
19
|
-
size: { type: String, default: "2em" },
|
|
20
|
-
color: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "primary"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createElementBlock("svg", {
|
|
28
|
-
width: __props.size,
|
|
29
|
-
height: __props.size,
|
|
30
|
-
version: "1.1",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
x: "0px",
|
|
33
|
-
y: "0px",
|
|
34
|
-
viewBox: "0 0 50 50",
|
|
35
|
-
"xml:space": "preserve",
|
|
36
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
-
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
-
export {
|
|
45
|
-
MazSpinner as default
|
|
46
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazTabsBar-6f1ed175.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
-
const _hoisted_1 = ["width", "height"];
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
-
"path",
|
|
8
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
9
|
-
null,
|
|
10
|
-
-1
|
|
11
|
-
/* HOISTED */
|
|
12
|
-
));
|
|
13
|
-
const _hoisted_3 = [
|
|
14
|
-
_hoisted_2
|
|
15
|
-
];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
-
__name: "MazSpinner",
|
|
18
|
-
props: {
|
|
19
|
-
size: { type: String, default: "2em" },
|
|
20
|
-
color: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "primary"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createElementBlock("svg", {
|
|
28
|
-
width: __props.size,
|
|
29
|
-
height: __props.size,
|
|
30
|
-
version: "1.1",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
x: "0px",
|
|
33
|
-
y: "0px",
|
|
34
|
-
viewBox: "0 0 50 50",
|
|
35
|
-
"xml:space": "preserve",
|
|
36
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
-
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
-
export {
|
|
45
|
-
MazSpinner as default
|
|
46
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazLazyImg-13052d11.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
-
const _hoisted_1 = ["width", "height"];
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
-
"path",
|
|
8
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
9
|
-
null,
|
|
10
|
-
-1
|
|
11
|
-
/* HOISTED */
|
|
12
|
-
));
|
|
13
|
-
const _hoisted_3 = [
|
|
14
|
-
_hoisted_2
|
|
15
|
-
];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
-
__name: "MazSpinner",
|
|
18
|
-
props: {
|
|
19
|
-
size: { type: String, default: "2em" },
|
|
20
|
-
color: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "primary"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createElementBlock("svg", {
|
|
28
|
-
width: __props.size,
|
|
29
|
-
height: __props.size,
|
|
30
|
-
version: "1.1",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
x: "0px",
|
|
33
|
-
y: "0px",
|
|
34
|
-
viewBox: "0 0 50 50",
|
|
35
|
-
"xml:space": "preserve",
|
|
36
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
-
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
-
export {
|
|
45
|
-
MazSpinner as default
|
|
46
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazPicker-25765233.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
-
const _hoisted_1 = ["width", "height"];
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
-
"path",
|
|
8
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
9
|
-
null,
|
|
10
|
-
-1
|
|
11
|
-
/* HOISTED */
|
|
12
|
-
));
|
|
13
|
-
const _hoisted_3 = [
|
|
14
|
-
_hoisted_2
|
|
15
|
-
];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
-
__name: "MazSpinner",
|
|
18
|
-
props: {
|
|
19
|
-
size: { type: String, default: "2em" },
|
|
20
|
-
color: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "primary"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createElementBlock("svg", {
|
|
28
|
-
width: __props.size,
|
|
29
|
-
height: __props.size,
|
|
30
|
-
version: "1.1",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
x: "0px",
|
|
33
|
-
y: "0px",
|
|
34
|
-
viewBox: "0 0 50 50",
|
|
35
|
-
"xml:space": "preserve",
|
|
36
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
-
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
-
export {
|
|
45
|
-
MazSpinner as default
|
|
46
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
3
|
-
import { _ as _export_sfc } from "./MazCarousel-e6c83219.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c67298ec"), n = n(), popScopeId(), n);
|
|
5
|
-
const _hoisted_1 = ["width", "height"];
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
-
"path",
|
|
8
|
-
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
9
|
-
null,
|
|
10
|
-
-1
|
|
11
|
-
/* HOISTED */
|
|
12
|
-
));
|
|
13
|
-
const _hoisted_3 = [
|
|
14
|
-
_hoisted_2
|
|
15
|
-
];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
-
__name: "MazSpinner",
|
|
18
|
-
props: {
|
|
19
|
-
size: { type: String, default: "2em" },
|
|
20
|
-
color: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "primary"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createElementBlock("svg", {
|
|
28
|
-
width: __props.size,
|
|
29
|
-
height: __props.size,
|
|
30
|
-
version: "1.1",
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
-
x: "0px",
|
|
33
|
-
y: "0px",
|
|
34
|
-
viewBox: "0 0 50 50",
|
|
35
|
-
"xml:space": "preserve",
|
|
36
|
-
class: normalizeClass(["m-spinner", `m-spinner--${__props.color}`]),
|
|
37
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
38
|
-
}, _hoisted_3, 10, _hoisted_1);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const MazSpinner_vue_vue_type_style_index_0_scoped_c67298ec_lang = "";
|
|
43
|
-
const MazSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c67298ec"]]);
|
|
44
|
-
export {
|
|
45
|
-
MazSpinner as default
|
|
46
|
-
};
|