maz-ui 3.44.0 → 3.44.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/MazAccordion.mjs +25 -25
- 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/MazCardSpotlight.mjs +9 -9
- 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/MazDropzone.mjs +1 -1
- package/components/MazGallery.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/MazLink.mjs +22 -22
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazReadingProgressBar.mjs +1 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/MazTextarea.mjs +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/chunks/{MazAvatar-BU1nJFcV.mjs → MazAvatar-CoT6WIl0.mjs} +1 -1
- package/components/chunks/{MazBottomSheet-DUOIusEi.mjs → MazBottomSheet-DpI8wFgc.mjs} +1 -1
- package/components/chunks/MazBtn-BIVlttu0.mjs +150 -0
- package/components/chunks/MazBtn-BQ7aH6Qe.mjs +158 -0
- package/components/chunks/{MazBtn-5BSKOcqG.mjs → MazBtn-BXDpaXn1.mjs} +44 -44
- package/components/chunks/MazBtn-C7RDTnn-.mjs +150 -0
- package/components/chunks/{MazBtn-BY8WCtM7.mjs → MazBtn-CPkNymJj.mjs} +44 -44
- package/components/chunks/{MazBtn-C5G78zLg.mjs → MazBtn-CQSo596y.mjs} +44 -44
- package/components/chunks/MazBtn-D2tIsob2.mjs +150 -0
- package/components/chunks/MazBtn-DRTBFUgW.mjs +150 -0
- package/components/chunks/{MazBtn-f1mBXJeU.mjs → MazBtn-Dfz-5FeI.mjs} +23 -26
- package/components/chunks/{MazBtn-CeVwyYR5.mjs → MazBtn-Vas62hFD.mjs} +44 -44
- package/components/chunks/MazBtn-gE-drZkE.mjs +150 -0
- package/components/chunks/{MazCard-BWxV_Z-i.mjs → MazCard-BBwohtCJ.mjs} +1 -1
- package/components/chunks/{MazCarousel-D5EmW7Sa.mjs → MazCarousel-DJ_nQfy4.mjs} +1 -1
- package/components/chunks/{MazCheckbox-D3PXkt75.mjs → MazCheckbox-BK1MX0uq.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BWiMbecz.mjs → MazCheckbox-D3Fm-BFu.mjs} +1 -1
- package/components/chunks/{MazDialog-CLWKCphI.mjs → MazDialog-DXaeCp-b.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-DVOJwdVp.mjs → MazDialogPromise-Bgxjg9ss.mjs} +2 -2
- package/components/chunks/{MazDropzone-Dm2IirHm.mjs → MazDropzone-D0W0dlgY.mjs} +2 -3
- package/components/chunks/{MazGallery-Bn9p1gNb.mjs → MazGallery-CBE4wD7D.mjs} +3 -4
- package/components/chunks/{MazGallery-BlfPe8WG.mjs → MazGallery-Din0Z37d.mjs} +4 -5
- package/components/chunks/{MazIcon-D3umgnku.mjs → MazIcon-CTjWIkTp.mjs} +1 -1
- package/components/chunks/{MazIcon-B8A0hQAH.mjs → MazIcon-CUOwXGOK.mjs} +1 -1
- package/components/chunks/{MazInput-BpsE-mdg.mjs → MazInput-D177bUMh.mjs} +44 -44
- package/components/chunks/{MazInputNumber-DGBYbDSX.mjs → MazInputNumber-CstQGS8u.mjs} +121 -121
- package/components/chunks/{MazInputPrice-j2BNMeFp.mjs → MazInputPrice-Bp7ie9jm.mjs} +48 -48
- package/components/chunks/{MazInputTags-CJofVaj5.mjs → MazInputTags-C7nZucYu.mjs} +63 -63
- package/components/chunks/{MazLazyImg-Dboc6Xfz.mjs → MazLazyImg-DADMg49z.mjs} +3 -4
- package/components/chunks/{MazLazyImg-BFG6FIJZ.mjs → MazLazyImg-xLPMdfif.mjs} +4 -5
- package/components/chunks/{MazPagination-C6ZehQSZ.mjs → MazPagination-NbHR41CQ.mjs} +44 -44
- package/components/chunks/{MazPhoneNumberInput-DpWoNQfx.mjs → MazPhoneNumberInput-BGo-vcnD.mjs} +61 -61
- package/components/chunks/{MazPicker-ia2BEmm5.mjs → MazPicker-CJBezF2t.mjs} +173 -198
- package/components/chunks/{MazPickerMonthSwitcher-CKtfZ_m-.mjs → MazPickerMonthSwitcher-DZPHWTJt.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Cc9VoqBw.mjs → MazPickerShortcuts-CBEmYjPG.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-0b5Wrem9.mjs → MazPickerYearSwitcher-Ynp2qf3F.mjs} +1 -1
- package/components/chunks/{MazSelect-COJoKXbV.mjs → MazSelect-D4TuCHwj.mjs} +29 -29
- package/components/chunks/{MazSpinner-BaAMq7LI.mjs → MazSpinner--h9DYpGx.mjs} +1 -1
- package/components/chunks/{MazSpinner-BZOjTZBN.mjs → MazSpinner-6pxbKImG.mjs} +1 -1
- package/components/chunks/{MazSpinner-RvDGcBng.mjs → MazSpinner-BVd7-OTu.mjs} +1 -1
- package/components/chunks/MazSpinner-C6T_enKo.mjs +37 -0
- package/components/chunks/{MazSpinner-DkXequnp.mjs → MazSpinner-C8x7LsHq.mjs} +1 -1
- package/components/chunks/{MazSpinner-V-bFi71W.mjs → MazSpinner-CLz4ccD0.mjs} +1 -1
- package/components/chunks/MazSpinner-CmJlBqgH.mjs +37 -0
- package/components/chunks/MazSpinner-D4gpZ7vL.mjs +37 -0
- package/components/chunks/{MazSpinner-CNIlbDfg.mjs → MazSpinner-D8k_MENa.mjs} +1 -1
- package/components/chunks/MazSpinner-DGxqly6h.mjs +37 -0
- package/components/chunks/{MazSpinner-9Jue6cel.mjs → MazSpinner-DVkxyBoy.mjs} +1 -1
- package/components/chunks/{MazSpinner-BGPOws6a.mjs → MazSpinner-DjR5FVqo.mjs} +1 -1
- package/components/chunks/MazSpinner-DnVHWljy.mjs +37 -0
- package/components/chunks/{MazSpinner-C41VyUup.mjs → MazSpinner-DneKNmrs.mjs} +1 -1
- package/components/chunks/MazSpinner-Q02SOFkL.mjs +37 -0
- package/components/chunks/{MazSpinner-EA5ejB8F.mjs → MazSpinner-T1t1bpbm.mjs} +1 -1
- package/components/chunks/{MazSpinner-BWYdqSMP.mjs → MazSpinner-dFnsq52G.mjs} +1 -1
- package/components/chunks/MazSpinner-iA4Rz7K5.mjs +37 -0
- package/components/chunks/{MazSpinner-DHQH6Bhz.mjs → MazSpinner-rAqBu92m.mjs} +1 -1
- package/components/chunks/MazSpinner-va5G9enA.mjs +37 -0
- package/components/chunks/{MazTable-DRUj_PZp.mjs → MazTable-BPMuTZbS.mjs} +305 -305
- package/components/chunks/{MazTransitionExpand-B08cSrmL.mjs → MazTransitionExpand-CYyEf_hd.mjs} +1 -1
- package/css/main.css +2 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-1g7UvzQ_.mjs +150 -0
- package/modules/chunks/{MazBtn-BbCGGxkK.cjs → MazBtn-BKk3IsoH.cjs} +2 -2
- package/modules/chunks/{MazIcon-BDSXZYZ8.cjs → MazIcon-BEnQqDG6.cjs} +1 -1
- package/modules/chunks/{MazIcon-C2ch3jUS.mjs → MazIcon-BdDO3aVl.mjs} +1 -1
- package/modules/chunks/{MazSpinner-C9_xSbZZ.mjs → MazSpinner--BVvGFIO.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BiyFRA4w.cjs → MazSpinner-PMlxvkWb.cjs} +1 -1
- package/modules/chunks/index-D5F2dSFa.cjs +124 -0
- package/modules/chunks/{index-Cwbjspv3.mjs → index-D7R1dvsf.mjs} +347 -347
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +3 -3
- package/nuxt/index.mjs +1 -1
- package/nuxt/types.d.mts +6 -12
- package/nuxt/types.d.ts +6 -12
- package/package.json +10 -10
- package/types/modules/composables/use-timer.d.ts +6 -1
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +2 -2
- package/components/chunks/MazBtn-B1-sTc7F.mjs +0 -155
- package/components/chunks/MazBtn-ColLVUca.mjs +0 -150
- package/components/chunks/MazBtn-DJhQqzja.mjs +0 -150
- package/components/chunks/MazBtn-DuY28-0U.mjs +0 -150
- package/components/chunks/MazBtn-h3WmmaEO.mjs +0 -150
- package/components/chunks/MazBtn-zyRLUViT.mjs +0 -150
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +0 -37
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +0 -37
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +0 -37
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +0 -37
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +0 -37
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +0 -37
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +0 -37
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +0 -37
- package/modules/chunks/MazBtn-UBHTKqaN.mjs +0 -150
- package/modules/chunks/index-tnjajVkX.cjs +0 -124
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
2
|
-
import { _ as L } from "./MazCard-BWxV_Z-i.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
4
|
-
__name: "MazBtn",
|
|
5
|
-
props: {
|
|
6
|
-
variant: { default: "button" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
color: { default: "primary" },
|
|
9
|
-
type: { default: "button" },
|
|
10
|
-
rounded: { type: Boolean },
|
|
11
|
-
roundedSize: { default: "lg" },
|
|
12
|
-
noRounded: { type: Boolean },
|
|
13
|
-
outline: { type: Boolean },
|
|
14
|
-
pastel: { type: Boolean },
|
|
15
|
-
block: { type: Boolean },
|
|
16
|
-
noUnderline: { type: Boolean },
|
|
17
|
-
loading: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
fab: { type: Boolean },
|
|
20
|
-
icon: { default: void 0 },
|
|
21
|
-
leftIcon: { default: void 0 },
|
|
22
|
-
rightIcon: { default: void 0 },
|
|
23
|
-
noPadding: { type: Boolean },
|
|
24
|
-
noElevation: { type: Boolean },
|
|
25
|
-
contentClass: { default: void 0 }
|
|
26
|
-
},
|
|
27
|
-
setup(g) {
|
|
28
|
-
const e = g, z = h(() => import("./MazSpinner-RvDGcBng.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
|
|
29
|
-
A(() => {
|
|
30
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
|
-
});
|
|
32
|
-
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
), b = l(
|
|
35
|
-
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
-
return (o, U) => (n(), a(r(v.value), {
|
|
38
|
-
disabled: b.value || void 0,
|
|
39
|
-
class: s(["m-btn", [
|
|
40
|
-
`--${o.size}`,
|
|
41
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
42
|
-
I.value,
|
|
43
|
-
C.value,
|
|
44
|
-
$.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": o.block,
|
|
47
|
-
"--no-underline": o.noUnderline,
|
|
48
|
-
"--fab": o.fab,
|
|
49
|
-
"--loading": o.loading,
|
|
50
|
-
"--disabled": b.value,
|
|
51
|
-
"--icon": M.value,
|
|
52
|
-
"--rounded": o.rounded,
|
|
53
|
-
"--no-rounded": o.noRounded,
|
|
54
|
-
"--no-padding": o.noPadding,
|
|
55
|
-
"--no-elevation": o.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: D(() => [
|
|
61
|
-
m.value ? (n(), u(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
key: 0,
|
|
65
|
-
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
66
|
-
},
|
|
67
|
-
[
|
|
68
|
-
t(`
|
|
69
|
-
@slot left-icon - The icon to display on the left of the button
|
|
70
|
-
`),
|
|
71
|
-
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
73
|
-
key: 0,
|
|
74
|
-
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
|
-
], !0)
|
|
77
|
-
],
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(), u(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
key: 1,
|
|
85
|
-
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
86
|
-
},
|
|
87
|
-
[
|
|
88
|
-
t(`
|
|
89
|
-
@slot icon - The icon to display on the fab button
|
|
90
|
-
`),
|
|
91
|
-
d(o.$slots, "icon", {}, () => [
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
93
|
-
key: 0,
|
|
94
|
-
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
|
-
], !0)
|
|
97
|
-
],
|
|
98
|
-
2
|
|
99
|
-
/* CLASS */
|
|
100
|
-
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(), u(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
key: 2,
|
|
105
|
-
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
106
|
-
},
|
|
107
|
-
[
|
|
108
|
-
t(`
|
|
109
|
-
@slot default - The content of the button
|
|
110
|
-
`),
|
|
111
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
112
|
-
],
|
|
113
|
-
2
|
|
114
|
-
/* CLASS */
|
|
115
|
-
)) : t("v-if", !0),
|
|
116
|
-
y.value ? (n(), u(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
key: 3,
|
|
120
|
-
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
121
|
-
},
|
|
122
|
-
[
|
|
123
|
-
t(`
|
|
124
|
-
@slot right-icon - The icon to display on the right of the button
|
|
125
|
-
`),
|
|
126
|
-
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
128
|
-
key: 0,
|
|
129
|
-
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
|
-
], !0)
|
|
132
|
-
],
|
|
133
|
-
2
|
|
134
|
-
/* CLASS */
|
|
135
|
-
)) : t("v-if", !0),
|
|
136
|
-
i.value ? (n(), a(c(z), {
|
|
137
|
-
key: 4,
|
|
138
|
-
class: "m-btn-loader",
|
|
139
|
-
size: "2em",
|
|
140
|
-
color: o.color
|
|
141
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
/* FORWARDED */
|
|
145
|
-
}, 8, ["disabled", "class", "type"]));
|
|
146
|
-
}
|
|
147
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
148
|
-
export {
|
|
149
|
-
V as default
|
|
150
|
-
};
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
2
|
-
import { _ as L } from "./MazDialogPromise-DVOJwdVp.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
4
|
-
__name: "MazBtn",
|
|
5
|
-
props: {
|
|
6
|
-
variant: { default: "button" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
color: { default: "primary" },
|
|
9
|
-
type: { default: "button" },
|
|
10
|
-
rounded: { type: Boolean },
|
|
11
|
-
roundedSize: { default: "lg" },
|
|
12
|
-
noRounded: { type: Boolean },
|
|
13
|
-
outline: { type: Boolean },
|
|
14
|
-
pastel: { type: Boolean },
|
|
15
|
-
block: { type: Boolean },
|
|
16
|
-
noUnderline: { type: Boolean },
|
|
17
|
-
loading: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
fab: { type: Boolean },
|
|
20
|
-
icon: { default: void 0 },
|
|
21
|
-
leftIcon: { default: void 0 },
|
|
22
|
-
rightIcon: { default: void 0 },
|
|
23
|
-
noPadding: { type: Boolean },
|
|
24
|
-
noElevation: { type: Boolean },
|
|
25
|
-
contentClass: { default: void 0 }
|
|
26
|
-
},
|
|
27
|
-
setup(g) {
|
|
28
|
-
const e = g, z = h(() => import("./MazSpinner-aPFlrc5E.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
|
|
29
|
-
A(() => {
|
|
30
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
|
-
});
|
|
32
|
-
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
), b = l(
|
|
35
|
-
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
-
return (o, U) => (n(), a(r(v.value), {
|
|
38
|
-
disabled: b.value || void 0,
|
|
39
|
-
class: s(["m-btn", [
|
|
40
|
-
`--${o.size}`,
|
|
41
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
42
|
-
I.value,
|
|
43
|
-
C.value,
|
|
44
|
-
$.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": o.block,
|
|
47
|
-
"--no-underline": o.noUnderline,
|
|
48
|
-
"--fab": o.fab,
|
|
49
|
-
"--loading": o.loading,
|
|
50
|
-
"--disabled": b.value,
|
|
51
|
-
"--icon": M.value,
|
|
52
|
-
"--rounded": o.rounded,
|
|
53
|
-
"--no-rounded": o.noRounded,
|
|
54
|
-
"--no-padding": o.noPadding,
|
|
55
|
-
"--no-elevation": o.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: D(() => [
|
|
61
|
-
m.value ? (n(), u(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
key: 0,
|
|
65
|
-
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
66
|
-
},
|
|
67
|
-
[
|
|
68
|
-
t(`
|
|
69
|
-
@slot left-icon - The icon to display on the left of the button
|
|
70
|
-
`),
|
|
71
|
-
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
73
|
-
key: 0,
|
|
74
|
-
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
|
-
], !0)
|
|
77
|
-
],
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(), u(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
key: 1,
|
|
85
|
-
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
86
|
-
},
|
|
87
|
-
[
|
|
88
|
-
t(`
|
|
89
|
-
@slot icon - The icon to display on the fab button
|
|
90
|
-
`),
|
|
91
|
-
d(o.$slots, "icon", {}, () => [
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
93
|
-
key: 0,
|
|
94
|
-
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
|
-
], !0)
|
|
97
|
-
],
|
|
98
|
-
2
|
|
99
|
-
/* CLASS */
|
|
100
|
-
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(), u(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
key: 2,
|
|
105
|
-
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
106
|
-
},
|
|
107
|
-
[
|
|
108
|
-
t(`
|
|
109
|
-
@slot default - The content of the button
|
|
110
|
-
`),
|
|
111
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
112
|
-
],
|
|
113
|
-
2
|
|
114
|
-
/* CLASS */
|
|
115
|
-
)) : t("v-if", !0),
|
|
116
|
-
y.value ? (n(), u(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
key: 3,
|
|
120
|
-
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
121
|
-
},
|
|
122
|
-
[
|
|
123
|
-
t(`
|
|
124
|
-
@slot right-icon - The icon to display on the right of the button
|
|
125
|
-
`),
|
|
126
|
-
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
128
|
-
key: 0,
|
|
129
|
-
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
|
-
], !0)
|
|
132
|
-
],
|
|
133
|
-
2
|
|
134
|
-
/* CLASS */
|
|
135
|
-
)) : t("v-if", !0),
|
|
136
|
-
i.value ? (n(), a(c(z), {
|
|
137
|
-
key: 4,
|
|
138
|
-
class: "m-btn-loader",
|
|
139
|
-
size: "2em",
|
|
140
|
-
color: o.color
|
|
141
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
/* FORWARDED */
|
|
145
|
-
}, 8, ["disabled", "class", "type"]));
|
|
146
|
-
}
|
|
147
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
148
|
-
export {
|
|
149
|
-
V as default
|
|
150
|
-
};
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
2
|
-
import { _ as L } from "./MazPhoneNumberInput-DpWoNQfx.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
4
|
-
__name: "MazBtn",
|
|
5
|
-
props: {
|
|
6
|
-
variant: { default: "button" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
color: { default: "primary" },
|
|
9
|
-
type: { default: "button" },
|
|
10
|
-
rounded: { type: Boolean },
|
|
11
|
-
roundedSize: { default: "lg" },
|
|
12
|
-
noRounded: { type: Boolean },
|
|
13
|
-
outline: { type: Boolean },
|
|
14
|
-
pastel: { type: Boolean },
|
|
15
|
-
block: { type: Boolean },
|
|
16
|
-
noUnderline: { type: Boolean },
|
|
17
|
-
loading: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
fab: { type: Boolean },
|
|
20
|
-
icon: { default: void 0 },
|
|
21
|
-
leftIcon: { default: void 0 },
|
|
22
|
-
rightIcon: { default: void 0 },
|
|
23
|
-
noPadding: { type: Boolean },
|
|
24
|
-
noElevation: { type: Boolean },
|
|
25
|
-
contentClass: { default: void 0 }
|
|
26
|
-
},
|
|
27
|
-
setup(g) {
|
|
28
|
-
const e = g, z = h(() => import("./MazSpinner-DRj2VpGA.mjs")), f = h(() => import("./MazIcon-B8A0hQAH.mjs")), { href: k, to: B } = R(), p = w();
|
|
29
|
-
A(() => {
|
|
30
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
|
-
});
|
|
32
|
-
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
), b = l(
|
|
35
|
-
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
-
return (o, U) => (n(), a(r(v.value), {
|
|
38
|
-
disabled: b.value || void 0,
|
|
39
|
-
class: s(["m-btn", [
|
|
40
|
-
`--${o.size}`,
|
|
41
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
42
|
-
I.value,
|
|
43
|
-
C.value,
|
|
44
|
-
$.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": o.block,
|
|
47
|
-
"--no-underline": o.noUnderline,
|
|
48
|
-
"--fab": o.fab,
|
|
49
|
-
"--loading": o.loading,
|
|
50
|
-
"--disabled": b.value,
|
|
51
|
-
"--icon": M.value,
|
|
52
|
-
"--rounded": o.rounded,
|
|
53
|
-
"--no-rounded": o.noRounded,
|
|
54
|
-
"--no-padding": o.noPadding,
|
|
55
|
-
"--no-elevation": o.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: D(() => [
|
|
61
|
-
m.value ? (n(), u(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
key: 0,
|
|
65
|
-
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
66
|
-
},
|
|
67
|
-
[
|
|
68
|
-
t(`
|
|
69
|
-
@slot left-icon - The icon to display on the left of the button
|
|
70
|
-
`),
|
|
71
|
-
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
73
|
-
key: 0,
|
|
74
|
-
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
|
-
], !0)
|
|
77
|
-
],
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(), u(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
key: 1,
|
|
85
|
-
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
86
|
-
},
|
|
87
|
-
[
|
|
88
|
-
t(`
|
|
89
|
-
@slot icon - The icon to display on the fab button
|
|
90
|
-
`),
|
|
91
|
-
d(o.$slots, "icon", {}, () => [
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
93
|
-
key: 0,
|
|
94
|
-
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
|
-
], !0)
|
|
97
|
-
],
|
|
98
|
-
2
|
|
99
|
-
/* CLASS */
|
|
100
|
-
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(), u(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
key: 2,
|
|
105
|
-
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
106
|
-
},
|
|
107
|
-
[
|
|
108
|
-
t(`
|
|
109
|
-
@slot default - The content of the button
|
|
110
|
-
`),
|
|
111
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
112
|
-
],
|
|
113
|
-
2
|
|
114
|
-
/* CLASS */
|
|
115
|
-
)) : t("v-if", !0),
|
|
116
|
-
y.value ? (n(), u(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
key: 3,
|
|
120
|
-
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
121
|
-
},
|
|
122
|
-
[
|
|
123
|
-
t(`
|
|
124
|
-
@slot right-icon - The icon to display on the right of the button
|
|
125
|
-
`),
|
|
126
|
-
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
128
|
-
key: 0,
|
|
129
|
-
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
|
-
], !0)
|
|
132
|
-
],
|
|
133
|
-
2
|
|
134
|
-
/* CLASS */
|
|
135
|
-
)) : t("v-if", !0),
|
|
136
|
-
i.value ? (n(), a(c(z), {
|
|
137
|
-
key: 4,
|
|
138
|
-
class: "m-btn-loader",
|
|
139
|
-
size: "2em",
|
|
140
|
-
color: o.color
|
|
141
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
/* FORWARDED */
|
|
145
|
-
}, 8, ["disabled", "class", "type"]));
|
|
146
|
-
}
|
|
147
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
148
|
-
export {
|
|
149
|
-
V as default
|
|
150
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazInputNumber-DGBYbDSX.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazInputPrice-j2BNMeFp.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazPagination-C6ZehQSZ.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazInputTags-CJofVaj5.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazPhoneNumberInput-DpWoNQfx.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as i } from "./MazDialogPromise-DVOJwdVp.mjs";
|
|
3
|
-
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
-
"path",
|
|
5
|
-
{ 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" },
|
|
6
|
-
null,
|
|
7
|
-
-1
|
|
8
|
-
/* HOISTED */
|
|
9
|
-
)), m = [
|
|
10
|
-
l
|
|
11
|
-
], h = /* @__PURE__ */ t({
|
|
12
|
-
__name: "MazSpinner",
|
|
13
|
-
props: {
|
|
14
|
-
size: { type: String, default: "2em" },
|
|
15
|
-
color: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "primary"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
return (_, u) => (o(), n("svg", {
|
|
22
|
-
width: e.size,
|
|
23
|
-
height: e.size,
|
|
24
|
-
version: "1.1",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
x: "0px",
|
|
27
|
-
y: "0px",
|
|
28
|
-
viewBox: "0 0 50 50",
|
|
29
|
-
"xml:space": "preserve",
|
|
30
|
-
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
-
}, m, 10, d));
|
|
33
|
-
}
|
|
34
|
-
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
-
export {
|
|
36
|
-
f as default
|
|
37
|
-
};
|