maz-ui 3.40.2 → 3.40.3
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/README.md +1 -1
- package/components/MazAccordion.mjs +121 -104
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +2 -2
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +8 -2
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +41 -2
- package/components/MazCardSpotlight.mjs +56 -39
- 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/MazInputCode.mjs +32 -32
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazDropzone.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPickerCalendar.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/chunks/{MazAvatar-CfJSw4Yv.mjs → MazAvatar-QDlH6tvz.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-uKxvK85D.mjs → MazBottomSheet-BuBc8C9L.mjs} +1 -1
- package/components/chunks/MazBtn-4I65a0tG.mjs +151 -0
- package/components/chunks/MazBtn-BBKOvmc0.mjs +151 -0
- package/components/chunks/{MazBtn-WxZqpFgw.mjs → MazBtn-Bhjz7DkY.mjs} +4 -4
- package/components/chunks/{MazBtn-CuUu5chG.mjs → MazBtn-Ch56YVOw.mjs} +9 -9
- package/components/chunks/{MazBtn-DBGIZYN0.mjs → MazBtn-CjKivGUG.mjs} +9 -9
- package/components/chunks/{MazBtn-Cf6bpPps.mjs → MazBtn-DAvgjToE.mjs} +9 -9
- package/components/chunks/MazBtn-DfXeBnFe.mjs +151 -0
- package/components/chunks/{MazBtn-Ct6j9jc6.mjs → MazBtn-Dyw1WZgU.mjs} +9 -9
- package/components/chunks/{MazBtn-C1Hevhzu.mjs → MazBtn-IBS93Vda.mjs} +4 -4
- package/components/chunks/MazBtn-SJl9Kugs.mjs +151 -0
- package/components/chunks/MazBtn-ZcEB5i12.mjs +151 -0
- package/components/chunks/MazBtn-peKwI3PB.mjs +151 -0
- package/components/chunks/{MazCard-EXkymtQk.mjs → MazCard-zP6XYYO8.mjs} +70 -69
- package/components/chunks/{MazCarousel-iKzlrVVy.mjs → MazCarousel-IzbBgBrr.mjs} +1 -1
- package/components/chunks/{MazCheckbox-Dqw5B6BC.mjs → MazCheckbox-CnQ4qPG4.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CZdX-eyY.mjs → MazCheckbox-CylZNBvL.mjs} +1 -1
- package/components/chunks/{MazDialog-4Th-Xut5.mjs → MazDialog-DfykSNZV.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-CJsnYYpX.mjs → MazDialogPromise-DW7DF186.mjs} +2 -2
- package/components/chunks/{MazGallery-D7CXzxIH.mjs → MazGallery-DK724Wxg.mjs} +2 -2
- package/components/chunks/{MazIcon-B-UuPklS.mjs → MazIcon-C0jJgPt6.mjs} +1 -1
- package/components/chunks/{MazIcon-DgT8iWEh.mjs → MazIcon-DAuhmKoh.mjs} +1 -1
- package/components/chunks/{MazInput-DDZFdad5.mjs → MazInput-CuNNbyX5.mjs} +1 -1
- package/components/chunks/{MazInputNumber-Cu15o5vo.mjs → MazInputNumber-D9lhCaXw.mjs} +36 -36
- package/components/chunks/{MazInputPrice-B7l9-xh2.mjs → MazInputPrice-C5gaLIoj.mjs} +1 -1
- package/components/chunks/{MazInputTags-CNEK5pfK.mjs → MazInputTags-DHawCIaZ.mjs} +4 -4
- package/components/chunks/{MazLazyImg-BImCTi5K.mjs → MazLazyImg-BGK0RZe2.mjs} +2 -2
- package/components/chunks/{MazPagination-C4p_B9Dg.mjs → MazPagination-B5x3ZUrk.mjs} +23 -23
- package/components/chunks/{MazPhoneNumberInput-DGf04XP4.mjs → MazPhoneNumberInput-ChPzHftZ.mjs} +2 -2
- package/components/chunks/{MazPicker-DzOi-CWS.mjs → MazPicker-BVsSfMXU.mjs} +2 -2
- package/components/chunks/{MazPickerCalendar-BZyGvAzQ.mjs → MazPickerCalendar-DVB8Rr9I.mjs} +7 -7
- package/components/chunks/{MazPickerHeader-CgoLWXed.mjs → MazPickerHeader-bClHUr7z.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-BzxzHg15.mjs → MazPickerMonthSwitcher-12vPV_ek.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-CUfm1E2A.mjs → MazPickerShortcuts-BcJpy3BQ.mjs} +2 -2
- package/components/chunks/{MazPickerTime-BRb6pDOe.mjs → MazPickerTime-_IheJF21.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-CJY_QYpN.mjs → MazPickerYearSwitcher-AG8UoA8w.mjs} +3 -3
- package/components/chunks/{MazSelect-BsWij77Q.mjs → MazSelect-v2Qz7qp9.mjs} +2 -2
- package/components/chunks/MazSpinner-B9PIGTBM.mjs +38 -0
- package/components/chunks/{MazSpinner-B_yl5MqC.mjs → MazSpinner-BpD28_Nv.mjs} +1 -1
- package/components/chunks/{MazSpinner-BxTf8_F4.mjs → MazSpinner-BrRExSkV.mjs} +1 -1
- package/components/chunks/{MazSpinner-DUmQCQu_.mjs → MazSpinner-CT-zwBmg.mjs} +1 -1
- package/components/chunks/{MazSpinner-BazLgFW3.mjs → MazSpinner-CTOH4qIV.mjs} +1 -1
- package/components/chunks/MazSpinner-CXoCX_ho.mjs +38 -0
- package/components/chunks/{MazSpinner-O0WGwdtL.mjs → MazSpinner-CZMyB5uT.mjs} +1 -1
- package/components/chunks/{MazSpinner-DHAlXW-A.mjs → MazSpinner-CeOzWwoA.mjs} +1 -1
- package/components/chunks/MazSpinner-CeUPefEl.mjs +38 -0
- package/components/chunks/MazSpinner-Cj16ZXPC.mjs +38 -0
- package/components/chunks/{MazSpinner-3KgM7Cpe.mjs → MazSpinner-D14Qdl-q.mjs} +1 -1
- package/components/chunks/MazSpinner-DJyu0bjt.mjs +38 -0
- package/components/chunks/{MazSpinner-CkigTMVl.mjs → MazSpinner-DcsAehl9.mjs} +1 -1
- package/components/chunks/MazSpinner-DeiRyoct.mjs +38 -0
- package/components/chunks/MazSpinner-DmsRmaiI.mjs +38 -0
- package/components/chunks/MazSpinner-ISxUR3Y1.mjs +38 -0
- package/components/chunks/{MazSpinner-DzWvDo6x.mjs → MazSpinner-afth4SV3.mjs} +1 -1
- package/components/chunks/{MazStepper-BvKEjtJo.mjs → MazStepper-CV4dwvS9.mjs} +22 -22
- package/components/chunks/{MazTable-Ds_9n2ph.mjs → MazTable-CjlSdLnh.mjs} +5 -5
- package/components/chunks/{MazTransitionExpand-F8UmMAin.mjs → MazTransitionExpand-BBkwCVdE.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-C6uOt--l.mjs → MazTransitionExpand-DLMtNsk_.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/chunks/{MazBtn-0K3jTP4n.cjs → MazBtn-C3u6aAVE.cjs} +2 -2
- package/modules/chunks/MazBtn-kEp7hZt8.mjs +151 -0
- package/modules/chunks/{MazIcon-qdhBwo_3.mjs → MazIcon-8SXd9pCW.mjs} +1 -1
- package/modules/chunks/{MazIcon-Bm9aj2GA.cjs → MazIcon-_eQBprV9.cjs} +1 -1
- package/modules/chunks/{MazSpinner-DCWCHgly.mjs → MazSpinner-BeST_Oa5.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BFGq9o4c.cjs → MazSpinner-Box3DbCT.cjs} +1 -1
- package/modules/chunks/{index-Cl2Z9oxB.cjs → index-C5Co4FGk.cjs} +1 -1
- package/modules/chunks/{index-BRqo10xg.mjs → index-CU4cxgKq.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/types/components/MazBtn.vue.d.ts +2 -2
- package/types/components/MazCard.vue.d.ts +8 -2
- package/types/components/MazCardSpotlight.vue.d.ts +41 -2
- package/components/chunks/MazBtn-DWZMLLYY.mjs +0 -151
- package/components/chunks/MazBtn-DgWU7Vzx.mjs +0 -151
- package/components/chunks/MazBtn-Dp7XmWvD.mjs +0 -151
- package/components/chunks/MazBtn-Ds_0Y11U.mjs +0 -151
- package/components/chunks/MazBtn-qHhaccbJ.mjs +0 -151
- package/components/chunks/MazBtn-yFDtvtao.mjs +0 -151
- package/components/chunks/MazSpinner-CPFxMAVg.mjs +0 -38
- package/components/chunks/MazSpinner-DQTSh25q.mjs +0 -38
- package/components/chunks/MazSpinner-Dhgoim8I.mjs +0 -38
- package/components/chunks/MazSpinner-DuQDsXrM.mjs +0 -38
- package/components/chunks/MazSpinner-S7b1mVEd.mjs +0 -38
- package/components/chunks/MazSpinner-YQWKVqVa.mjs +0 -38
- package/components/chunks/MazSpinner-v_h1kbbd.mjs +0 -38
- package/components/chunks/MazSpinner-zKKOOicV.mjs +0 -38
- package/modules/chunks/MazBtn-D7GTVnKj.mjs +0 -151
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import '../assets/MazBtn.css';
|
|
2
|
+
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";
|
|
3
|
+
import { _ as L } from "./MazInputPrice-C5gaLIoj.mjs";
|
|
4
|
+
const P = /* @__PURE__ */ E({
|
|
5
|
+
__name: "MazBtn",
|
|
6
|
+
props: {
|
|
7
|
+
variant: { default: "button" },
|
|
8
|
+
size: { default: "md" },
|
|
9
|
+
color: { default: "primary" },
|
|
10
|
+
type: { default: "button" },
|
|
11
|
+
rounded: { type: Boolean },
|
|
12
|
+
roundedSize: { default: "lg" },
|
|
13
|
+
noRounded: { type: Boolean },
|
|
14
|
+
outline: { type: Boolean },
|
|
15
|
+
pastel: { type: Boolean },
|
|
16
|
+
block: { type: Boolean },
|
|
17
|
+
noUnderline: { type: Boolean },
|
|
18
|
+
loading: { type: Boolean },
|
|
19
|
+
disabled: { type: Boolean },
|
|
20
|
+
fab: { type: Boolean },
|
|
21
|
+
icon: { default: void 0 },
|
|
22
|
+
leftIcon: { default: void 0 },
|
|
23
|
+
rightIcon: { default: void 0 },
|
|
24
|
+
noPadding: { type: Boolean },
|
|
25
|
+
noElevation: { type: Boolean },
|
|
26
|
+
contentClass: { default: void 0 }
|
|
27
|
+
},
|
|
28
|
+
setup(g) {
|
|
29
|
+
const k = h(() => import("./MazSpinner-DcsAehl9.mjs")), f = h(() => import("./MazIcon-Cxrv3_OK.mjs")), { href: z, to: B } = R(), p = w(), e = g;
|
|
30
|
+
A(() => {
|
|
31
|
+
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
32
|
+
});
|
|
33
|
+
const v = l(() => z ? "a" : B ? "router-link" : "button"), I = l(
|
|
34
|
+
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
35
|
+
), m = l(
|
|
36
|
+
() => (e.loading || e.disabled) && v.value === "button"
|
|
37
|
+
), C = l(() => m.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), b = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => b.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
38
|
+
return (o, U) => (n(), a(r(v.value), {
|
|
39
|
+
disabled: m.value || void 0,
|
|
40
|
+
class: s(["m-btn", [
|
|
41
|
+
`--${o.size}`,
|
|
42
|
+
`--rounded-${o.roundedSize}`,
|
|
43
|
+
I.value,
|
|
44
|
+
C.value,
|
|
45
|
+
$.value,
|
|
46
|
+
{
|
|
47
|
+
"--block": o.block,
|
|
48
|
+
"--no-underline": o.noUnderline,
|
|
49
|
+
"--fab": o.fab,
|
|
50
|
+
"--loading": o.loading,
|
|
51
|
+
"--disabled": m.value,
|
|
52
|
+
"--icon": M.value,
|
|
53
|
+
"--rounded": o.rounded,
|
|
54
|
+
"--no-rounded": o.noRounded,
|
|
55
|
+
"--no-padding": o.noPadding,
|
|
56
|
+
"--no-elevation": o.noElevation
|
|
57
|
+
}
|
|
58
|
+
]]),
|
|
59
|
+
type: T.value
|
|
60
|
+
}, {
|
|
61
|
+
default: D(() => [
|
|
62
|
+
b.value ? (n(), u(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
key: 0,
|
|
66
|
+
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
67
|
+
},
|
|
68
|
+
[
|
|
69
|
+
t(`
|
|
70
|
+
@slot left-icon - The icon to display on the left of the button
|
|
71
|
+
`),
|
|
72
|
+
d(o.$slots, "left-icon", {}, () => [
|
|
73
|
+
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
74
|
+
key: 0,
|
|
75
|
+
name: o.leftIcon
|
|
76
|
+
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
77
|
+
], !0)
|
|
78
|
+
],
|
|
79
|
+
2
|
|
80
|
+
/* CLASS */
|
|
81
|
+
)) : t("v-if", !0),
|
|
82
|
+
S.value ? (n(), u(
|
|
83
|
+
"div",
|
|
84
|
+
{
|
|
85
|
+
key: 1,
|
|
86
|
+
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
87
|
+
},
|
|
88
|
+
[
|
|
89
|
+
t(`
|
|
90
|
+
@slot icon - The icon to display on the fab button
|
|
91
|
+
`),
|
|
92
|
+
d(o.$slots, "icon", {}, () => [
|
|
93
|
+
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
94
|
+
key: 0,
|
|
95
|
+
name: o.icon
|
|
96
|
+
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
97
|
+
], !0)
|
|
98
|
+
],
|
|
99
|
+
2
|
|
100
|
+
/* CLASS */
|
|
101
|
+
)) : t("v-if", !0),
|
|
102
|
+
o.$slots.default ? (n(), u(
|
|
103
|
+
"span",
|
|
104
|
+
{
|
|
105
|
+
key: 2,
|
|
106
|
+
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
107
|
+
},
|
|
108
|
+
[
|
|
109
|
+
t(`
|
|
110
|
+
@slot default - The content of the button
|
|
111
|
+
`),
|
|
112
|
+
d(o.$slots, "default", {}, void 0, !0)
|
|
113
|
+
],
|
|
114
|
+
2
|
|
115
|
+
/* CLASS */
|
|
116
|
+
)) : t("v-if", !0),
|
|
117
|
+
y.value ? (n(), u(
|
|
118
|
+
"div",
|
|
119
|
+
{
|
|
120
|
+
key: 3,
|
|
121
|
+
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
122
|
+
},
|
|
123
|
+
[
|
|
124
|
+
t(`
|
|
125
|
+
@slot right-icon - The icon to display on the right of the button
|
|
126
|
+
`),
|
|
127
|
+
d(o.$slots, "right-icon", {}, () => [
|
|
128
|
+
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
129
|
+
key: 0,
|
|
130
|
+
name: o.rightIcon
|
|
131
|
+
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
132
|
+
], !0)
|
|
133
|
+
],
|
|
134
|
+
2
|
|
135
|
+
/* CLASS */
|
|
136
|
+
)) : t("v-if", !0),
|
|
137
|
+
i.value ? (n(), a(c(k), {
|
|
138
|
+
key: 4,
|
|
139
|
+
class: "m-btn-loader",
|
|
140
|
+
size: "2em",
|
|
141
|
+
color: o.color
|
|
142
|
+
}, null, 8, ["color"])) : t("v-if", !0)
|
|
143
|
+
]),
|
|
144
|
+
_: 3
|
|
145
|
+
/* FORWARDED */
|
|
146
|
+
}, 8, ["disabled", "class", "type"]));
|
|
147
|
+
}
|
|
148
|
+
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-f89548fd"]]);
|
|
149
|
+
export {
|
|
150
|
+
V as default
|
|
151
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import '../assets/MazCard.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
const
|
|
2
|
+
import { defineComponent as A, defineAsyncComponent as c, useSlots as H, computed as r, ref as N, watch as T, openBlock as a, createElementBlock as n, normalizeClass as u, createBlock as p, resolveDynamicComponent as k, withModifiers as $, withCtx as f, renderSlot as i, createTextVNode as j, toDisplayString as E, createCommentVNode as l, unref as h, createVNode as B, mergeProps as P, createElementVNode as S, withDirectives as W, vShow as I } from "vue";
|
|
3
|
+
const R = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "m-card__gallery__wrapper"
|
|
6
|
-
},
|
|
6
|
+
}, G = { class: "maz-min-w-0 maz-flex-1" }, L = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "m-card__title"
|
|
9
|
-
},
|
|
9
|
+
}, q = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "m-card__subtitle"
|
|
12
|
-
},
|
|
12
|
+
}, F = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "m-card__content"
|
|
15
|
-
},
|
|
15
|
+
}, J = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "m-card__actions maz-flex maz-p-2"
|
|
18
|
-
},
|
|
18
|
+
}, K = /* @__PURE__ */ A({
|
|
19
19
|
__name: "MazCard",
|
|
20
20
|
props: {
|
|
21
21
|
images: { default: void 0 },
|
|
@@ -37,74 +37,75 @@ const I = {
|
|
|
37
37
|
noPadding: { type: Boolean },
|
|
38
38
|
overflowHidden: { type: Boolean },
|
|
39
39
|
collapsable: { type: Boolean },
|
|
40
|
+
collapsible: { type: Boolean },
|
|
40
41
|
collapseOpen: { type: Boolean },
|
|
41
42
|
header: { default: void 0 },
|
|
42
43
|
block: { type: Boolean }
|
|
43
44
|
},
|
|
44
|
-
setup(
|
|
45
|
-
const
|
|
46
|
-
|
|
45
|
+
setup(m) {
|
|
46
|
+
const g = c(() => import("./MazBtn-Ch56YVOw.mjs")), v = c(() => import("./MazGallery-DK724Wxg.mjs")), z = c(() => import("./MazTransitionExpand-BBkwCVdE.mjs")), y = c(() => import("./chevron-down-CzMH-gFW.mjs")), o = m, M = H(), t = r(() => o.collapsible || o.collapsable), s = N(t.value ? o.collapseOpen : !0), C = r(() => o.href || o.to);
|
|
47
|
+
T(
|
|
47
48
|
() => o.collapseOpen,
|
|
48
49
|
(e) => {
|
|
49
|
-
|
|
50
|
+
t.value && (s.value = e);
|
|
50
51
|
}
|
|
51
52
|
);
|
|
52
|
-
const
|
|
53
|
+
const _ = r(() => ({
|
|
53
54
|
is: o.href ? "a" : o.to ? "router-link" : "div",
|
|
54
55
|
...o.href && { href: o.href },
|
|
55
56
|
...o.to && { to: o.to },
|
|
56
57
|
target: o.hrefTarget
|
|
57
|
-
})), b =
|
|
58
|
+
})), b = r(() => ["column", "column-reverse"].includes(o.orientation)), w = r(() => {
|
|
58
59
|
const e = /* @__PURE__ */ new Set(["default", "title", "subtitle", "content"]);
|
|
59
|
-
return Object.keys(
|
|
60
|
-
}),
|
|
60
|
+
return Object.keys(M).some((d) => e.has(d));
|
|
61
|
+
}), O = r(() => w.value ? o.galleryWidth : "100%"), D = r(
|
|
61
62
|
() => o.footerAlign === "right" ? "maz-text-right" : "maz-text-left"
|
|
62
63
|
);
|
|
63
|
-
return (e,
|
|
64
|
+
return (e, d) => (a(), n(
|
|
64
65
|
"div",
|
|
65
66
|
{
|
|
66
|
-
class:
|
|
67
|
+
class: u(["m-card", [
|
|
67
68
|
{
|
|
68
|
-
"m-card--linked":
|
|
69
|
+
"m-card--linked": C.value,
|
|
69
70
|
"m-card--no-scale": !e.scale,
|
|
70
71
|
"maz-elevation": e.elevation,
|
|
71
72
|
"--block": e.block,
|
|
72
|
-
"maz-overflow-hidden": e.overflowHidden || !
|
|
73
|
+
"maz-overflow-hidden": e.overflowHidden || !s.value,
|
|
73
74
|
"maz-rounded": e.radius,
|
|
74
75
|
"maz-border maz-border-solid maz-border-color-light": e.bordered
|
|
75
76
|
}
|
|
76
77
|
]])
|
|
77
78
|
},
|
|
78
79
|
[
|
|
79
|
-
e.$slots.header || e.header ||
|
|
80
|
+
e.$slots.header || e.header || t.value ? (a(), p(k(t.value ? "button" : "div"), {
|
|
80
81
|
key: 0,
|
|
81
|
-
class:
|
|
82
|
-
|
|
83
|
-
{ "--is-
|
|
84
|
-
{ "maz-justify-end": (!e.$slots.header || !e.header) &&
|
|
82
|
+
class: u(["m-card__header maz-border-b maz-border-solid", [
|
|
83
|
+
s.value ? "maz-rounded-t maz-border-color-light" : "maz-border-transparent",
|
|
84
|
+
{ "--is-collapsible": t.value },
|
|
85
|
+
{ "maz-justify-end": (!e.$slots.header || !e.header) && t.value },
|
|
85
86
|
{ "maz-justify-between": e.$slots.header || e.header }
|
|
86
87
|
]]),
|
|
87
88
|
tabindex: "-1",
|
|
88
|
-
onClick:
|
|
89
|
+
onClick: d[1] || (d[1] = $((V) => t.value ? s.value = !s.value : void 0, ["stop"]))
|
|
89
90
|
}, {
|
|
90
|
-
default:
|
|
91
|
-
e.$slots.header || e.header ?
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
default: f(() => [
|
|
92
|
+
e.$slots.header || e.header ? i(e.$slots, "header", { key: 0 }, () => [
|
|
93
|
+
j(
|
|
94
|
+
E(e.header),
|
|
94
95
|
1
|
|
95
96
|
/* TEXT */
|
|
96
97
|
)
|
|
97
98
|
], !0) : l("v-if", !0),
|
|
98
|
-
|
|
99
|
+
t.value ? (a(), p(h(g), {
|
|
99
100
|
key: 1,
|
|
100
101
|
color: "transparent",
|
|
101
102
|
class: "maz-ml-2 maz-text-sm",
|
|
102
103
|
size: "xs",
|
|
103
|
-
onClick:
|
|
104
|
+
onClick: d[0] || (d[0] = $((V) => s.value = !s.value, ["stop"]))
|
|
104
105
|
}, {
|
|
105
|
-
default:
|
|
106
|
-
B(
|
|
107
|
-
class:
|
|
106
|
+
default: f(() => [
|
|
107
|
+
B(h(y), {
|
|
108
|
+
class: u([{ "--is-open": s.value }, "m-card__collapse-icon maz-text-xl"])
|
|
108
109
|
}, null, 8, ["class"])
|
|
109
110
|
]),
|
|
110
111
|
_: 1
|
|
@@ -114,49 +115,49 @@ const I = {
|
|
|
114
115
|
_: 3
|
|
115
116
|
/* FORWARDED */
|
|
116
117
|
}, 8, ["class"])) : l("v-if", !0),
|
|
117
|
-
(a(),
|
|
118
|
-
class: ["m-card__wrapper", [`m-card__wrapper--${e.orientation}`, { "m-card__link":
|
|
118
|
+
(a(), p(k(_.value.is), P(_.value, {
|
|
119
|
+
class: ["m-card__wrapper", [`m-card__wrapper--${e.orientation}`, { "m-card__link": C.value }]]
|
|
119
120
|
}), {
|
|
120
|
-
default:
|
|
121
|
-
e.images ? (a(),
|
|
122
|
-
B(
|
|
121
|
+
default: f(() => [
|
|
122
|
+
e.images ? (a(), n("div", R, [
|
|
123
|
+
B(h(v), {
|
|
123
124
|
"no-radius": !e.radius,
|
|
124
|
-
width:
|
|
125
|
+
width: O.value,
|
|
125
126
|
height: e.galleryHeight,
|
|
126
127
|
"images-shown-count": e.imagesShowCount,
|
|
127
128
|
images: e.images,
|
|
128
129
|
"no-zoom": !e.zoom,
|
|
129
130
|
"no-width": b.value,
|
|
130
|
-
"no-height": !b.value &&
|
|
131
|
+
"no-height": !b.value && w.value,
|
|
131
132
|
"no-remaining": e.noRemaining,
|
|
132
133
|
class: "m-card__gallery maz-flex-1"
|
|
133
134
|
}, null, 8, ["no-radius", "width", "height", "images-shown-count", "images", "no-zoom", "no-width", "no-height", "no-remaining"])
|
|
134
135
|
])) : l("v-if", !0),
|
|
135
|
-
|
|
136
|
-
(a(),
|
|
137
|
-
default:
|
|
138
|
-
|
|
136
|
+
S("div", G, [
|
|
137
|
+
(a(), p(k(t.value ? h(z) : "div"), null, {
|
|
138
|
+
default: f(() => [
|
|
139
|
+
W(S(
|
|
139
140
|
"div",
|
|
140
141
|
{
|
|
141
|
-
class:
|
|
142
|
+
class: u([[e.wrapperClass, { "maz-p-4": !e.noPadding && !t.value }], "m-card__content__wrapper"])
|
|
142
143
|
},
|
|
143
144
|
[
|
|
144
|
-
|
|
145
|
-
e.$slots.title ? (a(),
|
|
146
|
-
|
|
145
|
+
i(e.$slots, "default", {}, () => [
|
|
146
|
+
e.$slots.title ? (a(), n("div", L, [
|
|
147
|
+
i(e.$slots, "title", {}, void 0, !0)
|
|
147
148
|
])) : l("v-if", !0),
|
|
148
|
-
e.$slots.subtitle ? (a(),
|
|
149
|
-
|
|
149
|
+
e.$slots.subtitle ? (a(), n("div", q, [
|
|
150
|
+
i(e.$slots, "subtitle", {}, void 0, !0)
|
|
150
151
|
])) : l("v-if", !0),
|
|
151
|
-
e.$slots.content ? (a(),
|
|
152
|
-
|
|
152
|
+
e.$slots.content ? (a(), n("div", F, [
|
|
153
|
+
i(e.$slots, "content", {}, void 0, !0)
|
|
153
154
|
])) : l("v-if", !0)
|
|
154
155
|
], !0)
|
|
155
156
|
],
|
|
156
157
|
2
|
|
157
158
|
/* CLASS */
|
|
158
159
|
), [
|
|
159
|
-
[
|
|
160
|
+
[I, s.value]
|
|
160
161
|
])
|
|
161
162
|
]),
|
|
162
163
|
_: 3
|
|
@@ -167,39 +168,39 @@ const I = {
|
|
|
167
168
|
_: 3
|
|
168
169
|
/* FORWARDED */
|
|
169
170
|
}, 16, ["class"])),
|
|
170
|
-
e.$slots.footer ? (a(),
|
|
171
|
+
e.$slots.footer ? (a(), n(
|
|
171
172
|
"div",
|
|
172
173
|
{
|
|
173
174
|
key: 1,
|
|
174
|
-
class:
|
|
175
|
+
class: u(["m-card__footer maz-overflow-x-auto maz-p-3", [
|
|
175
176
|
{
|
|
176
|
-
"maz-border-t maz-border-color-light
|
|
177
|
+
"maz-border-t maz-border-color-light": b.value && w.value
|
|
177
178
|
},
|
|
178
|
-
|
|
179
|
+
D.value
|
|
179
180
|
]])
|
|
180
181
|
},
|
|
181
182
|
[
|
|
182
|
-
|
|
183
|
+
i(e.$slots, "footer", {}, void 0, !0)
|
|
183
184
|
],
|
|
184
185
|
2
|
|
185
186
|
/* CLASS */
|
|
186
187
|
)) : l("v-if", !0),
|
|
187
|
-
e.$slots.actions ? (a(),
|
|
188
|
+
e.$slots.actions ? (a(), n("div", J, [
|
|
188
189
|
l(" @slot action of gallery "),
|
|
189
|
-
|
|
190
|
+
i(e.$slots, "actions", {}, void 0, !0)
|
|
190
191
|
])) : l("v-if", !0)
|
|
191
192
|
],
|
|
192
193
|
2
|
|
193
194
|
/* CLASS */
|
|
194
195
|
));
|
|
195
196
|
}
|
|
196
|
-
}),
|
|
197
|
-
const
|
|
198
|
-
for (const [
|
|
199
|
-
|
|
200
|
-
return
|
|
201
|
-
},
|
|
197
|
+
}), Q = (m, g) => {
|
|
198
|
+
const v = m.__vccOpts || m;
|
|
199
|
+
for (const [z, y] of g)
|
|
200
|
+
v[z] = y;
|
|
201
|
+
return v;
|
|
202
|
+
}, X = /* @__PURE__ */ Q(K, [["__scopeId", "data-v-dd936799"]]);
|
|
202
203
|
export {
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
X as M,
|
|
205
|
+
Q as _
|
|
205
206
|
};
|
|
@@ -18,7 +18,7 @@ const $ = (t) => (W("data-v-ec2bbebd"), t = t(), x(), t), T = { key: 0 }, V = {
|
|
|
18
18
|
hideScrollbar: { type: Boolean }
|
|
19
19
|
},
|
|
20
20
|
setup(t) {
|
|
21
|
-
const l = v(() => import("./MazBtn-
|
|
21
|
+
const l = v(() => import("./MazBtn-BBKOvmc0.mjs")), s = v(() => import("./chevron-left-CcZaP3Rc.mjs")), m = v(() => import("./chevron-right-BKWCeY9O.mjs")), _ = t, h = N(), b = f(!1), S = f(!1), p = f(), y = () => !_.noScrollBtn || h.title, C = () => !!h.title, I = () => {
|
|
22
22
|
const e = p.value;
|
|
23
23
|
e == null || e.scrollTo(e.scrollLeft + e.clientWidth, 0);
|
|
24
24
|
}, L = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../assets/MazCheckbox.css';
|
|
2
2
|
import { defineComponent as v, useCssVars as g, computed as l, openBlock as C, createElementBlock as S, unref as r, normalizeClass as i, normalizeStyle as I, createElementVNode as m, mergeProps as w, createVNode as A, renderSlot as B, createTextVNode as N, toDisplayString as _ } from "vue";
|
|
3
|
-
import { u as M, _ as D } from "./MazPhoneNumberInput-
|
|
3
|
+
import { u as M, _ as D } from "./MazPhoneNumberInput-ChPzHftZ.mjs";
|
|
4
4
|
import E from "./check-7UA4j2f2.mjs";
|
|
5
5
|
const q = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], K = /* @__PURE__ */ v({
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../assets/MazCheckbox.css';
|
|
2
2
|
import { defineComponent as v, useCssVars as g, computed as l, openBlock as C, createElementBlock as S, unref as r, normalizeClass as i, normalizeStyle as I, createElementVNode as m, mergeProps as w, createVNode as A, renderSlot as B, createTextVNode as N, toDisplayString as _ } from "vue";
|
|
3
|
-
import { u as M, _ as D } from "./MazSelect-
|
|
3
|
+
import { u as M, _ as D } from "./MazSelect-v2Qz7qp9.mjs";
|
|
4
4
|
import E from "./check-7UA4j2f2.mjs";
|
|
5
5
|
const q = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], K = /* @__PURE__ */ v({
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -142,7 +142,7 @@ const T = "--backdrop-present", q = /* @__PURE__ */ V({
|
|
|
142
142
|
"open"
|
|
143
143
|
],
|
|
144
144
|
setup(r) {
|
|
145
|
-
const c = w(() => import("./MazBtn-
|
|
145
|
+
const c = w(() => import("./MazBtn-CjKivGUG.mjs")), a = w(() => import("./x-mark-BP8zWe_C.mjs")), l = K(), u = z(() => ({
|
|
146
146
|
...l,
|
|
147
147
|
class: void 0,
|
|
148
148
|
style: void 0
|
|
@@ -166,7 +166,7 @@ const J = j(), b = j([]), Q = (n, o) => new Promise((r, i) => {
|
|
|
166
166
|
"open"
|
|
167
167
|
],
|
|
168
168
|
setup(n) {
|
|
169
|
-
const o = T(() => import("./MazBtn-
|
|
169
|
+
const o = T(() => import("./MazBtn-SJl9Kugs.mjs")), r = T(() => import("./x-mark-BP8zWe_C.mjs")), i = X(), c = S(() => ({
|
|
170
170
|
...i,
|
|
171
171
|
class: void 0,
|
|
172
172
|
style: void 0
|
|
@@ -272,7 +272,7 @@ const J = j(), b = j([]), Q = (n, o) => new Promise((r, i) => {
|
|
|
272
272
|
buttons: { type: Array, default: () => [] }
|
|
273
273
|
},
|
|
274
274
|
setup(n) {
|
|
275
|
-
const o = T(() => import("./MazBtn-
|
|
275
|
+
const o = T(() => import("./MazBtn-SJl9Kugs.mjs")), r = n, { dialogState: i, rejectDialog: c, resolveDialog: u } = R(), e = S(
|
|
276
276
|
() => i.value.find(({ id: l }) => l === r.identifier)
|
|
277
277
|
);
|
|
278
278
|
return (l, s) => {
|
|
@@ -3,7 +3,7 @@ var ye = Object.defineProperty;
|
|
|
3
3
|
var be = (o, e, t) => e in o ? ye(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
4
4
|
var g = (o, e, t) => (be(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
5
5
|
import { defineComponent as oe, defineAsyncComponent as _, ref as y, computed as E, watch as Ae, onMounted as Ie, onBeforeUnmount as Ee, openBlock as b, createElementBlock as A, withModifiers as S, withKeys as Le, withDirectives as R, createVNode as x, unref as L, vShow as we, createCommentVNode as O, createElementVNode as P, normalizeClass as F, render as B, useCssVars as Ce, onBeforeMount as ze, normalizeStyle as ee, Fragment as te, renderList as se, toDisplayString as xe } from "vue";
|
|
6
|
-
import { _ as ae } from "./MazCard-
|
|
6
|
+
import { _ as ae } from "./MazCard-zP6XYYO8.mjs";
|
|
7
7
|
const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["src", "alt"], ke = /* @__PURE__ */ oe({
|
|
8
8
|
__name: "MazFullscreenImg",
|
|
9
9
|
props: {
|
|
@@ -22,7 +22,7 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["close", "previous", "next", "before-close"],
|
|
24
24
|
setup(o, { emit: e }) {
|
|
25
|
-
const t = e, s = _(() => import("./MazSpinner-
|
|
25
|
+
const t = e, s = _(() => import("./MazSpinner-CT-zwBmg.mjs")), r = _(() => import("./x-mark-BP8zWe_C.mjs")), f = _(() => import("./chevron-left-CcZaP3Rc.mjs")), i = o, v = y(!1), C = y(!1), w = y(!1), m = y(!1), d = y(!1), c = y(i.clickedElement), u = E(() => i.clickedElement.getBoundingClientRect()), re = E(
|
|
26
26
|
() => u.value.height < u.value.width
|
|
27
27
|
), W = y(i.src), Z = y(i.alt), j = y(), z = y(), ie = E(() => d.value ? "--is-zoomed maz-cursor-zoom-out" : "maz-cursor-zoom-in");
|
|
28
28
|
function le() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, ref as f, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as s, mergeProps as C, nextTick as $ } from "vue";
|
|
2
|
-
import { i as q } from "./MazTable-
|
|
2
|
+
import { i as q } from "./MazTable-CjlSdLnh.mjs";
|
|
3
3
|
const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
4
4
|
__name: "MazIcon",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, ref as f, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as s, mergeProps as C, nextTick as $ } from "vue";
|
|
2
|
-
import { i as q } from "./MazPhoneNumberInput-
|
|
2
|
+
import { i as q } from "./MazPhoneNumberInput-ChPzHftZ.mjs";
|
|
3
3
|
const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
4
4
|
__name: "MazIcon",
|
|
5
5
|
props: {
|
|
@@ -59,7 +59,7 @@ const re = {
|
|
|
59
59
|
},
|
|
60
60
|
emits: ["update:model-value", "focus", "blur", "click", "change"],
|
|
61
61
|
setup(i, { emit: u }) {
|
|
62
|
-
const a = m(() => import("./MazBtn-
|
|
62
|
+
const a = m(() => import("./MazBtn-Dyw1WZgU.mjs")), f = m(() => import("./MazIcon-Cxrv3_OK.mjs")), z = m(() => import("./eye-slash-tjfxO0LK.mjs")), q = m(() => import("./eye-DqO_Jx56.mjs")), T = m(() => import("./check-CL-vqe79.mjs")), t = i, c = u, y = k(!1), p = k(!1), $ = k(), D = le({
|
|
63
63
|
componentName: "MazInput",
|
|
64
64
|
providedId: t.id
|
|
65
65
|
});
|