maz-ui 3.27.3 → 3.28.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/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/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- 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.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazTabsBar.mjs +23 -23
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/chunks/{MazAvatar-R8NMQtnF.mjs → MazAvatar-HJMP2asX.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-drApWHKD.mjs → MazBottomSheet-lN1FCdEJ.mjs} +1 -1
- package/components/chunks/{MazBtn-IgbmV5Ee.mjs → MazBtn-1HG8e-TR.mjs} +3 -3
- package/components/chunks/{MazBtn-oJQ1RO5m.mjs → MazBtn-1wfj_m47.mjs} +2 -2
- package/components/chunks/{MazBtn-SGGl5Y2V.mjs → MazBtn-75uMWztZ.mjs} +3 -3
- package/components/chunks/MazBtn-Ho_JsY-3.mjs +152 -0
- package/components/chunks/{MazBtn-Em4ZfNtB.mjs → MazBtn-aeOcptVQ.mjs} +3 -3
- package/components/chunks/MazBtn-e7VeHVh0.mjs +152 -0
- package/components/chunks/MazBtn-hDvvJ5wM.mjs +152 -0
- package/components/chunks/{MazBtn-eAtf8962.mjs → MazBtn-hVmJi-uK.mjs} +3 -3
- package/components/chunks/{MazBtn-73oIPj7p.mjs → MazBtn-ihybeYfj.mjs} +3 -3
- package/components/chunks/{MazBtn-fZS7THSf.mjs → MazBtn-l5heH9BB.mjs} +3 -3
- package/components/chunks/MazBtn-q_j1isrL.mjs +152 -0
- package/components/chunks/{MazBtn-Y-4Wyhxt.mjs → MazBtn-sUd8NHwp.mjs} +3 -3
- package/components/chunks/{MazBtn-95KJ9tBu.mjs → MazBtn-tjMMZdlj.mjs} +1 -1
- package/components/chunks/{MazBtn-0G720KFq.mjs → MazBtn-xF3JhNDM.mjs} +2 -2
- package/components/chunks/{MazCard-znS4eBr9.mjs → MazCard-cwUZUG7s.mjs} +1 -1
- package/components/chunks/{MazCarousel-yAhPk8-A.mjs → MazCarousel-TalH9tUI.mjs} +1 -1
- package/components/chunks/{MazCheckbox-040sZ9b7.mjs → MazCheckbox-UsaGBQwX.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BteTmQpl.mjs → MazCheckbox-bIUpH7sU.mjs} +1 -1
- package/components/chunks/{MazDialog-EZjFsf0O.mjs → MazDialog-4hwbB9Pu.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-yoXSjvLK.mjs → MazDialogPromise-S5KZWzcc.mjs} +2 -2
- package/components/chunks/{MazDrawer-ZR2j8Mqv.mjs → MazDrawer-_GgnPn3R.mjs} +1 -1
- package/components/chunks/{MazGallery-jZ9ajNeH.mjs → MazGallery-Y-ol1_h4.mjs} +1 -1
- package/components/chunks/{MazInput-q3iDdMgc.mjs → MazInput-h4Rs2XYn.mjs} +1 -1
- package/components/chunks/{MazInput-zNyOjGAR.mjs → MazInput-yHHDCRaH.mjs} +1 -1
- package/components/chunks/{MazInput-LCCiCc7N.mjs → MazInput-ygxp70-3.mjs} +2 -2
- package/components/chunks/{MazInputPrice-ONXFfwa4.mjs → MazInputPrice-ZGeD_WE9.mjs} +1 -1
- package/components/chunks/{MazInputTags-w6pWjo55.mjs → MazInputTags-c_GGD8Rk.mjs} +2 -2
- package/components/chunks/{MazLazyImg-2j5YjrWS.mjs → MazLazyImg-440YmAhx.mjs} +2 -2
- package/components/chunks/{MazLazyImg-ZOc12h_Y.mjs → MazLazyImg-65QIsZ1B.mjs} +3 -3
- package/components/chunks/{MazPhoneNumberInput-4OkEx4jv.mjs → MazPhoneNumberInput-RJZxI6Ov.mjs} +2 -2
- package/components/chunks/{MazPicker-UBR0lHof.mjs → MazPicker--SpH1ACw.mjs} +2 -2
- package/components/chunks/{MazPickerCalendar-Xy4G6r6A.mjs → MazPickerCalendar-dq57Doac.mjs} +3 -3
- package/components/chunks/{MazPickerHeader-DiF0_JE9.mjs → MazPickerHeader-vADXyCp_.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-VndGziD8.mjs → MazPickerMonthSwitcher-aeRVlsoy.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-8IpuBoq1.mjs → MazPickerShortcuts-2IhArlZ9.mjs} +2 -2
- package/components/chunks/{MazPickerTime-Qz5fvLJ-.mjs → MazPickerTime-ImYGbQI8.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-zm5oZkNy.mjs → MazPickerYearSwitcher-pXTsByr2.mjs} +3 -3
- package/components/chunks/{MazSelect-5x7-tPsR.mjs → MazSelect-uJKJJNB9.mjs} +2 -2
- package/components/chunks/{MazSpinner-9u_-L8ML.mjs → MazSpinner-EmXW48S8.mjs} +1 -1
- package/components/chunks/{MazSpinner-7Vna5BJr.mjs → MazSpinner-PAKaV_kV.mjs} +1 -1
- package/components/chunks/MazSpinner-QH5vPuqi.mjs +38 -0
- package/components/chunks/MazSpinner-RhkqC4sZ.mjs +38 -0
- package/components/chunks/{MazSpinner-JXdItxJj.mjs → MazSpinner-W3TVtT8l.mjs} +1 -1
- package/components/chunks/MazSpinner-WyW51HfP.mjs +38 -0
- package/components/chunks/MazSpinner-_b04NIxo.mjs +38 -0
- package/components/chunks/{MazSpinner-2AK60imc.mjs → MazSpinner-n6W-1Z6P.mjs} +1 -1
- package/components/chunks/MazSpinner-o8W7u7BZ.mjs +38 -0
- package/components/chunks/{MazSpinner-nP10KfBk.mjs → MazSpinner-pzC3nmKA.mjs} +1 -1
- package/components/chunks/MazSpinner-qBW8Wt2P.mjs +38 -0
- package/components/chunks/{MazSpinner-JhfMzwsy.mjs → MazSpinner-qwEk1DME.mjs} +1 -1
- package/components/chunks/MazSpinner-rJ9z86Wt.mjs +38 -0
- package/components/chunks/MazSpinner-sGO8fGeU.mjs +38 -0
- package/components/chunks/{MazSpinner-A7gRQVNG.mjs → MazSpinner-tcjX1fe3.mjs} +1 -1
- package/components/chunks/{MazSpinner-OW4qLm4s.mjs → MazSpinner-wkIScBpQ.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-1uzTVgwH.mjs → MazTransitionExpand-wUHMfp4T.mjs} +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/chunks/{MazBtn-3TYxMkGZ.cjs → MazBtn-BjjqJeyy.cjs} +1 -1
- package/modules/chunks/{MazBtn-wOqW0bFf.mjs → MazBtn-i7A6854I.mjs} +3 -3
- package/modules/chunks/{MazIcon-TFXJ2PBi.mjs → MazIcon-_zmW6Z2N.mjs} +1 -1
- package/modules/chunks/{MazIcon-32UkLi-M.cjs → MazIcon-mZNgyUkv.cjs} +1 -1
- package/modules/chunks/{MazSpinner-TJZrBgdd.cjs → MazSpinner-mn9MhxbV.cjs} +1 -1
- package/modules/chunks/{MazSpinner-6RF2OtIj.mjs → MazSpinner-zUQyynC3.mjs} +1 -1
- package/modules/chunks/{index-nQuj1wnX.cjs → index-DCZgntsf.cjs} +1 -1
- package/modules/chunks/{index-pnkqarBd.mjs → index-ezXyG63J.mjs} +2 -2
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +1 -1
- package/components/chunks/MazBtn-ggfhWpbM.mjs +0 -152
- package/components/chunks/MazBtn-sGPOyYvj.mjs +0 -152
- package/components/chunks/MazBtn-uw-YkQ80.mjs +0 -152
- package/components/chunks/MazBtn-wUxQs39Y.mjs +0 -152
- package/components/chunks/MazSpinner-Dn7COlhQ.mjs +0 -38
- package/components/chunks/MazSpinner-GJGAn0qK.mjs +0 -38
- package/components/chunks/MazSpinner-K1fdNrVH.mjs +0 -38
- package/components/chunks/MazSpinner-Vv3pXh18.mjs +0 -38
- package/components/chunks/MazSpinner-aqN2yL-8.mjs +0 -38
- package/components/chunks/MazSpinner-nDXJSe-h.mjs +0 -38
- package/components/chunks/MazSpinner-owcOzkqd.mjs +0 -38
- package/components/chunks/MazSpinner-rKuiVIIl.mjs +0 -38
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import "../assets/MazBtn.css";
|
|
2
|
-
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./MazPhoneNumberInput-4OkEx4jv.mjs";
|
|
4
|
-
const P = /* @__PURE__ */ M({
|
|
5
|
-
__name: "MazBtn",
|
|
6
|
-
props: {
|
|
7
|
-
variant: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "button",
|
|
10
|
-
validator: (e) => ["button", "link"].includes(e)
|
|
11
|
-
},
|
|
12
|
-
size: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "md",
|
|
15
|
-
validator: (e) => ["mini", "xs", "sm", "md", "lg", "xl"].includes(e)
|
|
16
|
-
},
|
|
17
|
-
color: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "primary"
|
|
20
|
-
},
|
|
21
|
-
type: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "button",
|
|
24
|
-
validator: (e) => ["button", "submit", "reset"].includes(e)
|
|
25
|
-
},
|
|
26
|
-
rounded: { type: Boolean, default: !1 },
|
|
27
|
-
noRounded: { type: Boolean, default: !1 },
|
|
28
|
-
outline: { type: Boolean, default: !1 },
|
|
29
|
-
pastel: { type: Boolean, default: !1 },
|
|
30
|
-
block: { type: Boolean, default: !1 },
|
|
31
|
-
noUnderline: { type: Boolean, default: !1 },
|
|
32
|
-
noLeading: { type: Boolean, default: !1 },
|
|
33
|
-
loading: { type: Boolean, default: !1 },
|
|
34
|
-
disabled: { type: Boolean, default: !1 },
|
|
35
|
-
fab: { type: Boolean, default: !1 },
|
|
36
|
-
icon: { type: String, default: void 0 },
|
|
37
|
-
leftIcon: { type: String, default: void 0 },
|
|
38
|
-
rightIcon: { type: String, default: void 0 },
|
|
39
|
-
noPadding: { type: Boolean, default: !1 },
|
|
40
|
-
noElevation: { type: Boolean, default: !1 }
|
|
41
|
-
},
|
|
42
|
-
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-rKuiVIIl.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
|
-
R(() => {
|
|
45
|
-
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
|
-
});
|
|
47
|
-
const f = t(() => B ? "a" : h ? "router-link" : "button"), k = t(
|
|
48
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
49
|
-
), m = t(
|
|
50
|
-
() => (n.loading || n.disabled) && f.value === "button"
|
|
51
|
-
), I = t(() => m.value ? "--cursor-default" : "--cursor-pointer"), x = t(() => `--is-${n.variant}`), l = t(() => n.loading && n.variant === "button"), y = t(() => !!b["left-icon"] || n.leftIcon), g = t(() => !!b["right-icon"] || n.rightIcon), C = t(() => y.value || g.value), S = t(() => n.fab && n.icon), $ = t(() => f.value === "button" ? n.type : void 0);
|
|
52
|
-
return (s, U) => (o(), i(w(f.value), {
|
|
53
|
-
disabled: m.value,
|
|
54
|
-
class: u(["m-btn", [
|
|
55
|
-
`--${e.size}`,
|
|
56
|
-
k.value,
|
|
57
|
-
I.value,
|
|
58
|
-
x.value,
|
|
59
|
-
{
|
|
60
|
-
"--block": e.block,
|
|
61
|
-
"--no-underline": e.noUnderline,
|
|
62
|
-
"--no-leading": e.noLeading,
|
|
63
|
-
"--fab": e.fab,
|
|
64
|
-
"--loading": e.loading,
|
|
65
|
-
"--disabled": m.value,
|
|
66
|
-
"--icon": C.value,
|
|
67
|
-
"--rounded": e.rounded,
|
|
68
|
-
"--no-rounded": e.noRounded,
|
|
69
|
-
"--no-padding": e.noPadding,
|
|
70
|
-
"--no-elevation": e.noElevation
|
|
71
|
-
}
|
|
72
|
-
]]),
|
|
73
|
-
type: $.value
|
|
74
|
-
}, {
|
|
75
|
-
default: A(() => [
|
|
76
|
-
y.value ? (o(), v(
|
|
77
|
-
"div",
|
|
78
|
-
{
|
|
79
|
-
key: 0,
|
|
80
|
-
class: u(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
81
|
-
},
|
|
82
|
-
[
|
|
83
|
-
r(s.$slots, "left-icon", {}, () => [
|
|
84
|
-
e.leftIcon ? (o(), i(d(c), {
|
|
85
|
-
key: 0,
|
|
86
|
-
name: e.leftIcon
|
|
87
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
88
|
-
], !0)
|
|
89
|
-
],
|
|
90
|
-
2
|
|
91
|
-
/* CLASS */
|
|
92
|
-
)) : a("v-if", !0),
|
|
93
|
-
S.value ? (o(), v(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
key: 1,
|
|
97
|
-
class: u(["m-btn__icon maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
98
|
-
},
|
|
99
|
-
[
|
|
100
|
-
r(s.$slots, "icon", {}, () => [
|
|
101
|
-
e.icon ? (o(), i(d(c), {
|
|
102
|
-
key: 0,
|
|
103
|
-
name: e.icon
|
|
104
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
105
|
-
], !0)
|
|
106
|
-
],
|
|
107
|
-
2
|
|
108
|
-
/* CLASS */
|
|
109
|
-
)) : a("v-if", !0),
|
|
110
|
-
D(
|
|
111
|
-
"span",
|
|
112
|
-
{
|
|
113
|
-
class: u(["maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
114
|
-
},
|
|
115
|
-
[
|
|
116
|
-
r(s.$slots, "default", {}, void 0, !0)
|
|
117
|
-
],
|
|
118
|
-
2
|
|
119
|
-
/* CLASS */
|
|
120
|
-
),
|
|
121
|
-
g.value ? (o(), v(
|
|
122
|
-
"div",
|
|
123
|
-
{
|
|
124
|
-
key: 2,
|
|
125
|
-
class: u(["m-btn__icon-right maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
126
|
-
},
|
|
127
|
-
[
|
|
128
|
-
r(s.$slots, "right-icon", {}, () => [
|
|
129
|
-
e.rightIcon ? (o(), i(d(c), {
|
|
130
|
-
key: 0,
|
|
131
|
-
name: e.rightIcon
|
|
132
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
133
|
-
], !0)
|
|
134
|
-
],
|
|
135
|
-
2
|
|
136
|
-
/* CLASS */
|
|
137
|
-
)) : a("v-if", !0),
|
|
138
|
-
l.value ? (o(), i(d(p), {
|
|
139
|
-
key: 3,
|
|
140
|
-
size: "2em",
|
|
141
|
-
color: e.color,
|
|
142
|
-
class: "maz-absolute"
|
|
143
|
-
}, null, 8, ["color"])) : a("v-if", !0)
|
|
144
|
-
]),
|
|
145
|
-
_: 3
|
|
146
|
-
/* FORWARDED */
|
|
147
|
-
}, 8, ["disabled", "class", "type"]));
|
|
148
|
-
}
|
|
149
|
-
}), j = /* @__PURE__ */ N(P, [["__scopeId", "data-v-f1bac25e"]]);
|
|
150
|
-
export {
|
|
151
|
-
j as default
|
|
152
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import "../assets/MazBtn.css";
|
|
2
|
-
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./MazDialog-EZjFsf0O.mjs";
|
|
4
|
-
const P = /* @__PURE__ */ M({
|
|
5
|
-
__name: "MazBtn",
|
|
6
|
-
props: {
|
|
7
|
-
variant: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "button",
|
|
10
|
-
validator: (e) => ["button", "link"].includes(e)
|
|
11
|
-
},
|
|
12
|
-
size: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "md",
|
|
15
|
-
validator: (e) => ["mini", "xs", "sm", "md", "lg", "xl"].includes(e)
|
|
16
|
-
},
|
|
17
|
-
color: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "primary"
|
|
20
|
-
},
|
|
21
|
-
type: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "button",
|
|
24
|
-
validator: (e) => ["button", "submit", "reset"].includes(e)
|
|
25
|
-
},
|
|
26
|
-
rounded: { type: Boolean, default: !1 },
|
|
27
|
-
noRounded: { type: Boolean, default: !1 },
|
|
28
|
-
outline: { type: Boolean, default: !1 },
|
|
29
|
-
pastel: { type: Boolean, default: !1 },
|
|
30
|
-
block: { type: Boolean, default: !1 },
|
|
31
|
-
noUnderline: { type: Boolean, default: !1 },
|
|
32
|
-
noLeading: { type: Boolean, default: !1 },
|
|
33
|
-
loading: { type: Boolean, default: !1 },
|
|
34
|
-
disabled: { type: Boolean, default: !1 },
|
|
35
|
-
fab: { type: Boolean, default: !1 },
|
|
36
|
-
icon: { type: String, default: void 0 },
|
|
37
|
-
leftIcon: { type: String, default: void 0 },
|
|
38
|
-
rightIcon: { type: String, default: void 0 },
|
|
39
|
-
noPadding: { type: Boolean, default: !1 },
|
|
40
|
-
noElevation: { type: Boolean, default: !1 }
|
|
41
|
-
},
|
|
42
|
-
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-JXdItxJj.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
|
-
R(() => {
|
|
45
|
-
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
|
-
});
|
|
47
|
-
const f = t(() => B ? "a" : h ? "router-link" : "button"), k = t(
|
|
48
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
49
|
-
), m = t(
|
|
50
|
-
() => (n.loading || n.disabled) && f.value === "button"
|
|
51
|
-
), I = t(() => m.value ? "--cursor-default" : "--cursor-pointer"), x = t(() => `--is-${n.variant}`), l = t(() => n.loading && n.variant === "button"), y = t(() => !!b["left-icon"] || n.leftIcon), g = t(() => !!b["right-icon"] || n.rightIcon), C = t(() => y.value || g.value), S = t(() => n.fab && n.icon), $ = t(() => f.value === "button" ? n.type : void 0);
|
|
52
|
-
return (s, U) => (o(), i(w(f.value), {
|
|
53
|
-
disabled: m.value,
|
|
54
|
-
class: u(["m-btn", [
|
|
55
|
-
`--${e.size}`,
|
|
56
|
-
k.value,
|
|
57
|
-
I.value,
|
|
58
|
-
x.value,
|
|
59
|
-
{
|
|
60
|
-
"--block": e.block,
|
|
61
|
-
"--no-underline": e.noUnderline,
|
|
62
|
-
"--no-leading": e.noLeading,
|
|
63
|
-
"--fab": e.fab,
|
|
64
|
-
"--loading": e.loading,
|
|
65
|
-
"--disabled": m.value,
|
|
66
|
-
"--icon": C.value,
|
|
67
|
-
"--rounded": e.rounded,
|
|
68
|
-
"--no-rounded": e.noRounded,
|
|
69
|
-
"--no-padding": e.noPadding,
|
|
70
|
-
"--no-elevation": e.noElevation
|
|
71
|
-
}
|
|
72
|
-
]]),
|
|
73
|
-
type: $.value
|
|
74
|
-
}, {
|
|
75
|
-
default: A(() => [
|
|
76
|
-
y.value ? (o(), v(
|
|
77
|
-
"div",
|
|
78
|
-
{
|
|
79
|
-
key: 0,
|
|
80
|
-
class: u(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
81
|
-
},
|
|
82
|
-
[
|
|
83
|
-
r(s.$slots, "left-icon", {}, () => [
|
|
84
|
-
e.leftIcon ? (o(), i(d(c), {
|
|
85
|
-
key: 0,
|
|
86
|
-
name: e.leftIcon
|
|
87
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
88
|
-
], !0)
|
|
89
|
-
],
|
|
90
|
-
2
|
|
91
|
-
/* CLASS */
|
|
92
|
-
)) : a("v-if", !0),
|
|
93
|
-
S.value ? (o(), v(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
key: 1,
|
|
97
|
-
class: u(["m-btn__icon maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
98
|
-
},
|
|
99
|
-
[
|
|
100
|
-
r(s.$slots, "icon", {}, () => [
|
|
101
|
-
e.icon ? (o(), i(d(c), {
|
|
102
|
-
key: 0,
|
|
103
|
-
name: e.icon
|
|
104
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
105
|
-
], !0)
|
|
106
|
-
],
|
|
107
|
-
2
|
|
108
|
-
/* CLASS */
|
|
109
|
-
)) : a("v-if", !0),
|
|
110
|
-
D(
|
|
111
|
-
"span",
|
|
112
|
-
{
|
|
113
|
-
class: u(["maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
114
|
-
},
|
|
115
|
-
[
|
|
116
|
-
r(s.$slots, "default", {}, void 0, !0)
|
|
117
|
-
],
|
|
118
|
-
2
|
|
119
|
-
/* CLASS */
|
|
120
|
-
),
|
|
121
|
-
g.value ? (o(), v(
|
|
122
|
-
"div",
|
|
123
|
-
{
|
|
124
|
-
key: 2,
|
|
125
|
-
class: u(["m-btn__icon-right maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
126
|
-
},
|
|
127
|
-
[
|
|
128
|
-
r(s.$slots, "right-icon", {}, () => [
|
|
129
|
-
e.rightIcon ? (o(), i(d(c), {
|
|
130
|
-
key: 0,
|
|
131
|
-
name: e.rightIcon
|
|
132
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
133
|
-
], !0)
|
|
134
|
-
],
|
|
135
|
-
2
|
|
136
|
-
/* CLASS */
|
|
137
|
-
)) : a("v-if", !0),
|
|
138
|
-
l.value ? (o(), i(d(p), {
|
|
139
|
-
key: 3,
|
|
140
|
-
size: "2em",
|
|
141
|
-
color: e.color,
|
|
142
|
-
class: "maz-absolute"
|
|
143
|
-
}, null, 8, ["color"])) : a("v-if", !0)
|
|
144
|
-
]),
|
|
145
|
-
_: 3
|
|
146
|
-
/* FORWARDED */
|
|
147
|
-
}, 8, ["disabled", "class", "type"]));
|
|
148
|
-
}
|
|
149
|
-
}), j = /* @__PURE__ */ N(P, [["__scopeId", "data-v-f1bac25e"]]);
|
|
150
|
-
export {
|
|
151
|
-
j as default
|
|
152
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import "../assets/MazBtn.css";
|
|
2
|
-
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./MazBottomSheet-drApWHKD.mjs";
|
|
4
|
-
const P = /* @__PURE__ */ M({
|
|
5
|
-
__name: "MazBtn",
|
|
6
|
-
props: {
|
|
7
|
-
variant: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "button",
|
|
10
|
-
validator: (e) => ["button", "link"].includes(e)
|
|
11
|
-
},
|
|
12
|
-
size: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "md",
|
|
15
|
-
validator: (e) => ["mini", "xs", "sm", "md", "lg", "xl"].includes(e)
|
|
16
|
-
},
|
|
17
|
-
color: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "primary"
|
|
20
|
-
},
|
|
21
|
-
type: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "button",
|
|
24
|
-
validator: (e) => ["button", "submit", "reset"].includes(e)
|
|
25
|
-
},
|
|
26
|
-
rounded: { type: Boolean, default: !1 },
|
|
27
|
-
noRounded: { type: Boolean, default: !1 },
|
|
28
|
-
outline: { type: Boolean, default: !1 },
|
|
29
|
-
pastel: { type: Boolean, default: !1 },
|
|
30
|
-
block: { type: Boolean, default: !1 },
|
|
31
|
-
noUnderline: { type: Boolean, default: !1 },
|
|
32
|
-
noLeading: { type: Boolean, default: !1 },
|
|
33
|
-
loading: { type: Boolean, default: !1 },
|
|
34
|
-
disabled: { type: Boolean, default: !1 },
|
|
35
|
-
fab: { type: Boolean, default: !1 },
|
|
36
|
-
icon: { type: String, default: void 0 },
|
|
37
|
-
leftIcon: { type: String, default: void 0 },
|
|
38
|
-
rightIcon: { type: String, default: void 0 },
|
|
39
|
-
noPadding: { type: Boolean, default: !1 },
|
|
40
|
-
noElevation: { type: Boolean, default: !1 }
|
|
41
|
-
},
|
|
42
|
-
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-GJGAn0qK.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
|
-
R(() => {
|
|
45
|
-
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
|
-
});
|
|
47
|
-
const f = t(() => B ? "a" : h ? "router-link" : "button"), k = t(
|
|
48
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
49
|
-
), m = t(
|
|
50
|
-
() => (n.loading || n.disabled) && f.value === "button"
|
|
51
|
-
), I = t(() => m.value ? "--cursor-default" : "--cursor-pointer"), x = t(() => `--is-${n.variant}`), l = t(() => n.loading && n.variant === "button"), y = t(() => !!b["left-icon"] || n.leftIcon), g = t(() => !!b["right-icon"] || n.rightIcon), C = t(() => y.value || g.value), S = t(() => n.fab && n.icon), $ = t(() => f.value === "button" ? n.type : void 0);
|
|
52
|
-
return (s, U) => (o(), i(w(f.value), {
|
|
53
|
-
disabled: m.value,
|
|
54
|
-
class: u(["m-btn", [
|
|
55
|
-
`--${e.size}`,
|
|
56
|
-
k.value,
|
|
57
|
-
I.value,
|
|
58
|
-
x.value,
|
|
59
|
-
{
|
|
60
|
-
"--block": e.block,
|
|
61
|
-
"--no-underline": e.noUnderline,
|
|
62
|
-
"--no-leading": e.noLeading,
|
|
63
|
-
"--fab": e.fab,
|
|
64
|
-
"--loading": e.loading,
|
|
65
|
-
"--disabled": m.value,
|
|
66
|
-
"--icon": C.value,
|
|
67
|
-
"--rounded": e.rounded,
|
|
68
|
-
"--no-rounded": e.noRounded,
|
|
69
|
-
"--no-padding": e.noPadding,
|
|
70
|
-
"--no-elevation": e.noElevation
|
|
71
|
-
}
|
|
72
|
-
]]),
|
|
73
|
-
type: $.value
|
|
74
|
-
}, {
|
|
75
|
-
default: A(() => [
|
|
76
|
-
y.value ? (o(), v(
|
|
77
|
-
"div",
|
|
78
|
-
{
|
|
79
|
-
key: 0,
|
|
80
|
-
class: u(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
81
|
-
},
|
|
82
|
-
[
|
|
83
|
-
r(s.$slots, "left-icon", {}, () => [
|
|
84
|
-
e.leftIcon ? (o(), i(d(c), {
|
|
85
|
-
key: 0,
|
|
86
|
-
name: e.leftIcon
|
|
87
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
88
|
-
], !0)
|
|
89
|
-
],
|
|
90
|
-
2
|
|
91
|
-
/* CLASS */
|
|
92
|
-
)) : a("v-if", !0),
|
|
93
|
-
S.value ? (o(), v(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
key: 1,
|
|
97
|
-
class: u(["m-btn__icon maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
98
|
-
},
|
|
99
|
-
[
|
|
100
|
-
r(s.$slots, "icon", {}, () => [
|
|
101
|
-
e.icon ? (o(), i(d(c), {
|
|
102
|
-
key: 0,
|
|
103
|
-
name: e.icon
|
|
104
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
105
|
-
], !0)
|
|
106
|
-
],
|
|
107
|
-
2
|
|
108
|
-
/* CLASS */
|
|
109
|
-
)) : a("v-if", !0),
|
|
110
|
-
D(
|
|
111
|
-
"span",
|
|
112
|
-
{
|
|
113
|
-
class: u(["maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
114
|
-
},
|
|
115
|
-
[
|
|
116
|
-
r(s.$slots, "default", {}, void 0, !0)
|
|
117
|
-
],
|
|
118
|
-
2
|
|
119
|
-
/* CLASS */
|
|
120
|
-
),
|
|
121
|
-
g.value ? (o(), v(
|
|
122
|
-
"div",
|
|
123
|
-
{
|
|
124
|
-
key: 2,
|
|
125
|
-
class: u(["m-btn__icon-right maz-flex maz-flex-center", { "maz-invisible": l.value }])
|
|
126
|
-
},
|
|
127
|
-
[
|
|
128
|
-
r(s.$slots, "right-icon", {}, () => [
|
|
129
|
-
e.rightIcon ? (o(), i(d(c), {
|
|
130
|
-
key: 0,
|
|
131
|
-
name: e.rightIcon
|
|
132
|
-
}, null, 8, ["name"])) : a("v-if", !0)
|
|
133
|
-
], !0)
|
|
134
|
-
],
|
|
135
|
-
2
|
|
136
|
-
/* CLASS */
|
|
137
|
-
)) : a("v-if", !0),
|
|
138
|
-
l.value ? (o(), i(d(p), {
|
|
139
|
-
key: 3,
|
|
140
|
-
size: "2em",
|
|
141
|
-
color: e.color,
|
|
142
|
-
class: "maz-absolute"
|
|
143
|
-
}, null, 8, ["color"])) : a("v-if", !0)
|
|
144
|
-
]),
|
|
145
|
-
_: 3
|
|
146
|
-
/* FORWARDED */
|
|
147
|
-
}, 8, ["disabled", "class", "type"]));
|
|
148
|
-
}
|
|
149
|
-
}), j = /* @__PURE__ */ N(P, [["__scopeId", "data-v-f1bac25e"]]);
|
|
150
|
-
export {
|
|
151
|
-
j as default
|
|
152
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazInputPrice-ONXFfwa4.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazBottomSheet-drApWHKD.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazDrawer-ZR2j8Mqv.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazDialogPromise-yoXSjvLK.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazAvatar-R8NMQtnF.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import "../assets/MazSpinner.css";
|
|
2
|
-
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazLazyImg-2j5YjrWS.mjs";
|
|
4
|
-
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
|
-
"path",
|
|
6
|
-
{ 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" },
|
|
7
|
-
null,
|
|
8
|
-
-1
|
|
9
|
-
/* HOISTED */
|
|
10
|
-
)), m = [
|
|
11
|
-
l
|
|
12
|
-
], h = /* @__PURE__ */ t({
|
|
13
|
-
__name: "MazSpinner",
|
|
14
|
-
props: {
|
|
15
|
-
size: { type: String, default: "2em" },
|
|
16
|
-
color: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "primary"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
return (_, u) => (o(), c("svg", {
|
|
23
|
-
width: e.size,
|
|
24
|
-
height: e.size,
|
|
25
|
-
version: "1.1",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
x: "0px",
|
|
28
|
-
y: "0px",
|
|
29
|
-
viewBox: "0 0 50 50",
|
|
30
|
-
"xml:space": "preserve",
|
|
31
|
-
class: n(["m-spinner", `m-spinner--${e.color}`]),
|
|
32
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
33
|
-
}, m, 10, d));
|
|
34
|
-
}
|
|
35
|
-
}), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|