maz-ui 3.46.1-beta.5 → 3.47.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/MazAccordion.mjs +30 -30
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +5 -0
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +15 -15
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChecklist.d.ts +79 -0
- package/components/MazChecklist.mjs +4 -0
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +2 -0
- 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/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.d.ts +2 -2
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazChecklist.css +1 -0
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazDropdown.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/MazPicker.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/{MazBottomSheet-s9lLaK1M.mjs → MazBottomSheet-BvdiOa8P.mjs} +1 -1
- package/components/chunks/{MazBtn-BMmuCciQ.mjs → MazBtn-4g56EBmg.mjs} +20 -18
- package/components/chunks/MazBtn-4jMQE2G-.mjs +118 -0
- package/components/chunks/MazBtn-B3i4Ypas.mjs +118 -0
- package/components/chunks/MazBtn-B7rKmEGw.mjs +118 -0
- package/components/chunks/MazBtn-BAxR_dt3.mjs +118 -0
- package/components/chunks/MazBtn-BF48_wJx.mjs +118 -0
- package/components/chunks/{MazBtn-CHABo63Y.mjs → MazBtn-BRdMg4tc.mjs} +21 -19
- package/components/chunks/MazBtn-BvirhKh3.mjs +123 -0
- package/components/chunks/{MazBtn-BXdap6JU.mjs → MazBtn-CEOWwReA.mjs} +21 -19
- package/components/chunks/MazBtn-CGYoHDXm.mjs +118 -0
- package/components/chunks/{MazBtn-DarjZUV4.mjs → MazBtn-CVDDOeLF.mjs} +40 -38
- package/components/chunks/MazBtn-D6T9wOxO.mjs +118 -0
- package/components/chunks/MazBtn-DYMxHlYa.mjs +118 -0
- package/components/chunks/MazBtn-D_IQO-P2.mjs +118 -0
- package/components/chunks/{MazCard-BaJ5Ee3I.mjs → MazCard-StYuQv11.mjs} +1 -1
- package/components/chunks/{MazCarousel-Bb4fpVqN.mjs → MazCarousel-DEO7Tz8F.mjs} +1 -1
- package/components/chunks/{MazCheckbox-8n6NtRBb.mjs → MazCheckbox-CtiUQoBe.mjs} +1 -1
- package/components/chunks/MazCheckbox-D9RW0OPf.mjs +146 -0
- package/components/chunks/{MazCheckbox-C4diNXJq.mjs → MazCheckbox-TiwCiE2s.mjs} +1 -1
- package/components/chunks/MazChecklist-B9bw1Mn4.mjs +484 -0
- package/components/chunks/{MazDialog-Bv2PzQBz.mjs → MazDialog-C3urFx7y.mjs} +50 -54
- package/components/chunks/{MazDialogPromise-BZLP9sXZ.mjs → MazDialogPromise-BuOWwo6n.mjs} +40 -44
- package/components/chunks/{MazGallery-C9secrXc.mjs → MazGallery-DLNvXEka.mjs} +2 -2
- package/components/chunks/{MazIcon-BaJm2s8_.mjs → MazIcon-DjMuw8Bz.mjs} +1 -1
- package/components/chunks/{MazIcon-CudB1a0D.mjs → MazIcon-DyrYf9Sl.mjs} +1 -1
- package/components/chunks/{MazInput-B3RzuuNv.mjs → MazInput-BZ2U145p.mjs} +1 -1
- package/components/chunks/MazInput-Bq_SbBRE.mjs +290 -0
- package/components/chunks/MazInput-_rEW9XWJ.mjs +291 -0
- package/components/chunks/{MazInputNumber-mLgq5obR.mjs → MazInputNumber-G8880Neu.mjs} +173 -171
- package/components/chunks/{MazInputPrice-DhYRBqTS.mjs → MazInputPrice-DROLM9PX.mjs} +1 -1
- package/components/chunks/{MazInputTags-DinwbXaD.mjs → MazInputTags-BRmcZBo4.mjs} +170 -168
- package/components/chunks/MazLoadingBar-DHFjKEEm.mjs +32 -0
- package/components/chunks/{MazPagination-Cqnr19iI.mjs → MazPagination-6MyYnTer.mjs} +132 -130
- package/components/chunks/{MazPhoneNumberInput-C3GdtqN2.mjs → MazPhoneNumberInput-r6OjPeRI.mjs} +3 -3
- package/components/chunks/{MazPicker-DA92HhwS.mjs → MazPicker-B28fQccE.mjs} +536 -534
- package/components/chunks/{MazPickerMonthSwitcher-CPWkw0Hq.mjs → MazPickerMonthSwitcher-DrtbXCca.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Fwcoqg5M.mjs → MazPickerShortcuts-TbhHaKoJ.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-DfSXPGfT.mjs → MazPickerYearSwitcher-KwUBj6Cb.mjs} +1 -1
- package/components/chunks/{MazSelect-DPTuyc26.mjs → MazSelect-BvC9QQ6M.mjs} +2 -2
- package/components/chunks/MazSelect-DyQC9j4n.mjs +568 -0
- package/components/chunks/{MazSpinner-BCQzF6j-.mjs → MazSpinner-3vO8e4FF.mjs} +1 -1
- package/components/chunks/{MazSpinner-BEqvmPiV.mjs → MazSpinner-B0291afs.mjs} +1 -1
- package/components/chunks/MazSpinner-B0aGd8rG.mjs +37 -0
- package/components/chunks/{MazSpinner-C2ok6AlJ.mjs → MazSpinner-BziSiJFV.mjs} +1 -1
- package/components/chunks/MazSpinner-CKX-8iim.mjs +37 -0
- package/components/chunks/MazSpinner-CQ2XrZIS.mjs +37 -0
- package/components/chunks/{MazSpinner-B-mc1FWS.mjs → MazSpinner-CRW667yE.mjs} +1 -1
- package/components/chunks/{MazSpinner-CVBz5HIx.mjs → MazSpinner-D-7IOf2L.mjs} +1 -1
- package/components/chunks/MazSpinner-D0t4IJyq.mjs +37 -0
- package/components/chunks/{MazSpinner-CFJmcsGl.mjs → MazSpinner-D5hiFgo4.mjs} +1 -1
- package/components/chunks/{MazSpinner-DEdQlQr1.mjs → MazSpinner-DkXUB0w5.mjs} +1 -1
- package/components/chunks/{MazSpinner-BpjK60ul.mjs → MazSpinner-DyVjCwmM.mjs} +1 -1
- package/components/chunks/MazSpinner-HZYglQFY.mjs +37 -0
- package/components/chunks/{MazSpinner-BCHAzmqS.mjs → MazSpinner-JpzVmSvW.mjs} +1 -1
- package/components/chunks/MazSpinner-Nu5h2A6E.mjs +37 -0
- package/components/chunks/MazSpinner-S6Bx7B15.mjs +37 -0
- package/components/chunks/MazSpinner-wR0F3mAY.mjs +37 -0
- package/components/chunks/MazTable-DozpABdn.mjs +692 -0
- package/components/chunks/MazTableCell-DPgvJ7vY.mjs +23 -0
- package/components/chunks/MazTableRow-CCcjwAV1.mjs +30 -0
- package/components/chunks/MazTableTitle-Df7F9Cjh.mjs +23 -0
- package/components/chunks/{MazTransitionExpand-BoTQeNNf.mjs → MazTransitionExpand--vHzXjx7.mjs} +1 -1
- package/components/chunks/arrow-up-DjSlktWl.mjs +30 -0
- package/components/chunks/inject-strict-BmiaNiwC.mjs +10 -0
- package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +11 -0
- package/components/index.d.ts +1 -0
- package/components/index.mjs +1 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/{components/chunks/MazBtn-CXxOU7fp.mjs → modules/chunks/MazBtn-BVxI1WwF.mjs} +21 -19
- package/modules/chunks/{MazBtn-BG2dUdHV.cjs → MazBtn-DrB5FzZN.cjs} +3 -3
- package/modules/chunks/{MazIcon-RkWxQ8JM.cjs → MazIcon-BMJqOZnG.cjs} +1 -1
- package/modules/chunks/{MazIcon-BqfELHOt.mjs → MazIcon-b8WRy8OV.mjs} +1 -1
- package/modules/chunks/{MazSpinner-GfL807jq.cjs → MazSpinner-6H0uaGkV.cjs} +1 -1
- package/modules/chunks/{MazSpinner-DgSRxVEo.mjs → MazSpinner-B-Tki1aV.mjs} +1 -1
- package/modules/chunks/{index-aKGx1nxl.mjs → index-Ch4k74ro.mjs} +1150 -954
- package/modules/chunks/index-G8fhXnFU.cjs +149 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +37 -35
- package/nuxt/index.d.mts +20 -20
- package/nuxt/index.d.ts +20 -20
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +26 -5
- package/package.json +1 -1
- package/resolvers/index.cjs +1 -1
- package/resolvers/index.mjs +3 -1
- package/types/components/MazBtn.vue.d.ts +5 -0
- package/types/components/MazChecklist.vue.d.ts +79 -0
- package/types/components/MazDialogPromise.vue.d.ts +2 -0
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazTable.vue.d.ts +2 -2
- package/types/components/index.d.ts +1 -0
- package/types/modules/composables/index.d.ts +1 -0
- package/types/modules/composables/useLanguageDisplayNames.d.ts +17 -0
- package/types/modules/helpers/normalize-string.d.ts +1 -2
- package/components/chunks/MazBtn-CVB5qDjV.mjs +0 -121
- package/components/chunks/MazBtn-CZSXnr3w.mjs +0 -116
- package/components/chunks/MazBtn-CwYBz6QO.mjs +0 -116
- package/components/chunks/MazBtn-DIE2eM-g.mjs +0 -116
- package/components/chunks/MazBtn-DKD-ZMaF.mjs +0 -116
- package/components/chunks/MazBtn-OKT5-Y4s.mjs +0 -116
- package/components/chunks/MazBtn-e3abHT2L.mjs +0 -116
- package/components/chunks/MazSpinner-BoG1T_ZX.mjs +0 -37
- package/components/chunks/MazSpinner-DhHVVBJE.mjs +0 -37
- package/components/chunks/MazSpinner-DuGaC-cw.mjs +0 -37
- package/components/chunks/MazSpinner-Iwon82He.mjs +0 -37
- package/components/chunks/MazSpinner-JbfjMNFL.mjs +0 -37
- package/components/chunks/MazSpinner-QgcgF5j5.mjs +0 -37
- package/components/chunks/MazSpinner-yQGVxaFm.mjs +0 -37
- package/components/chunks/MazTable-CrtVI-dp.mjs +0 -2015
- package/modules/chunks/MazBtn-BeqYSSYI.mjs +0 -116
- package/modules/chunks/index-CE2CsQsx.cjs +0 -149
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as y, useAttrs as j, useSlots as E, computed as n, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazSelect-DPTuyc26.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean }
|
|
28
|
-
},
|
|
29
|
-
setup(b) {
|
|
30
|
-
const o = b, h = y(() => import("./MazSpinner-BCQzF6j-.mjs")), c = y(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: z } = j(), f = E(), p = n(() => g ? "a" : z ? "router-link" : "button"), I = n(
|
|
31
|
-
() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
|
|
32
|
-
), v = n(
|
|
33
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
34
|
-
), k = n(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = n(() => `--is-${o.variant}`), C = n(() => o.loading && o.variant === "button"), S = n(() => !!f["left-icon"] || o.leftIcon), m = n(() => !!f["right-icon"] || o.rightIcon), $ = n(() => S.value || m.value), T = n(() => o.icon || !!f.icon), F = n(() => p.value === "button" ? o.type : void 0), i = n(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
|
|
35
|
-
return (e, P) => (l(), a(r(p.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: s(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
I.value,
|
|
41
|
-
k.value,
|
|
42
|
-
B.value,
|
|
43
|
-
{
|
|
44
|
-
"--block": e.block,
|
|
45
|
-
"--no-underline": e.noUnderline,
|
|
46
|
-
"--fab": e.fab,
|
|
47
|
-
"--loading": e.loading,
|
|
48
|
-
"--disabled": v.value,
|
|
49
|
-
"--icon": $.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: F.value
|
|
57
|
-
}, {
|
|
58
|
-
default: O(() => [
|
|
59
|
-
t(`
|
|
60
|
-
@slot left-icon - The icon to display on the left of the button
|
|
61
|
-
`),
|
|
62
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
63
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
64
|
-
key: 0,
|
|
65
|
-
name: e.leftIcon,
|
|
66
|
-
class: s([i.value])
|
|
67
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: s([i.value])
|
|
70
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
71
|
-
], !0),
|
|
72
|
-
t(`
|
|
73
|
-
@slot icon - The icon to display on the fab button
|
|
74
|
-
`),
|
|
75
|
-
T.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
76
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
77
|
-
key: 0,
|
|
78
|
-
name: e.icon,
|
|
79
|
-
class: s([i.value])
|
|
80
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
81
|
-
key: 1,
|
|
82
|
-
class: s([i.value])
|
|
83
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
84
|
-
], !0) : t("v-if", !0),
|
|
85
|
-
t(`
|
|
86
|
-
@slot default - The content of the button
|
|
87
|
-
`),
|
|
88
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
89
|
-
t(`
|
|
90
|
-
@slot left-icon - The icon to display on the left of the button
|
|
91
|
-
`),
|
|
92
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
93
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
94
|
-
key: 0,
|
|
95
|
-
name: e.rightIcon,
|
|
96
|
-
class: s([i.value])
|
|
97
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
98
|
-
key: 1,
|
|
99
|
-
class: s([i.value])
|
|
100
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
101
|
-
], !0) : t("v-if", !0),
|
|
102
|
-
C.value ? (l(), R("div", L, [
|
|
103
|
-
A(d(h), {
|
|
104
|
-
size: "2em",
|
|
105
|
-
color: e.color
|
|
106
|
-
}, null, 8, ["color"])
|
|
107
|
-
])) : t("v-if", !0)
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
}, 8, ["disabled", "class", "type"]));
|
|
112
|
-
}
|
|
113
|
-
}), w = /* @__PURE__ */ D(N, [["__scopeId", "data-v-8deef21f"]]);
|
|
114
|
-
export {
|
|
115
|
-
w as default
|
|
116
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as y, useAttrs as j, useSlots as E, computed as n, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazBottomSheet-s9lLaK1M.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean }
|
|
28
|
-
},
|
|
29
|
-
setup(b) {
|
|
30
|
-
const o = b, h = y(() => import("./MazSpinner-BEqvmPiV.mjs")), c = y(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: z } = j(), f = E(), p = n(() => g ? "a" : z ? "router-link" : "button"), I = n(
|
|
31
|
-
() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
|
|
32
|
-
), v = n(
|
|
33
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
34
|
-
), k = n(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = n(() => `--is-${o.variant}`), C = n(() => o.loading && o.variant === "button"), S = n(() => !!f["left-icon"] || o.leftIcon), m = n(() => !!f["right-icon"] || o.rightIcon), $ = n(() => S.value || m.value), T = n(() => o.icon || !!f.icon), F = n(() => p.value === "button" ? o.type : void 0), i = n(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
|
|
35
|
-
return (e, P) => (l(), a(r(p.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: s(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
I.value,
|
|
41
|
-
k.value,
|
|
42
|
-
B.value,
|
|
43
|
-
{
|
|
44
|
-
"--block": e.block,
|
|
45
|
-
"--no-underline": e.noUnderline,
|
|
46
|
-
"--fab": e.fab,
|
|
47
|
-
"--loading": e.loading,
|
|
48
|
-
"--disabled": v.value,
|
|
49
|
-
"--icon": $.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: F.value
|
|
57
|
-
}, {
|
|
58
|
-
default: O(() => [
|
|
59
|
-
t(`
|
|
60
|
-
@slot left-icon - The icon to display on the left of the button
|
|
61
|
-
`),
|
|
62
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
63
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
64
|
-
key: 0,
|
|
65
|
-
name: e.leftIcon,
|
|
66
|
-
class: s([i.value])
|
|
67
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: s([i.value])
|
|
70
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
71
|
-
], !0),
|
|
72
|
-
t(`
|
|
73
|
-
@slot icon - The icon to display on the fab button
|
|
74
|
-
`),
|
|
75
|
-
T.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
76
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
77
|
-
key: 0,
|
|
78
|
-
name: e.icon,
|
|
79
|
-
class: s([i.value])
|
|
80
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
81
|
-
key: 1,
|
|
82
|
-
class: s([i.value])
|
|
83
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
84
|
-
], !0) : t("v-if", !0),
|
|
85
|
-
t(`
|
|
86
|
-
@slot default - The content of the button
|
|
87
|
-
`),
|
|
88
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
89
|
-
t(`
|
|
90
|
-
@slot left-icon - The icon to display on the left of the button
|
|
91
|
-
`),
|
|
92
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
93
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
94
|
-
key: 0,
|
|
95
|
-
name: e.rightIcon,
|
|
96
|
-
class: s([i.value])
|
|
97
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
98
|
-
key: 1,
|
|
99
|
-
class: s([i.value])
|
|
100
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
101
|
-
], !0) : t("v-if", !0),
|
|
102
|
-
C.value ? (l(), R("div", L, [
|
|
103
|
-
A(d(h), {
|
|
104
|
-
size: "2em",
|
|
105
|
-
color: e.color
|
|
106
|
-
}, null, 8, ["color"])
|
|
107
|
-
])) : t("v-if", !0)
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
}, 8, ["disabled", "class", "type"]));
|
|
112
|
-
}
|
|
113
|
-
}), w = /* @__PURE__ */ D(N, [["__scopeId", "data-v-8deef21f"]]);
|
|
114
|
-
export {
|
|
115
|
-
w as default
|
|
116
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as y, useAttrs as j, useSlots as E, computed as n, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazCarousel-Bb4fpVqN.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean }
|
|
28
|
-
},
|
|
29
|
-
setup(b) {
|
|
30
|
-
const o = b, h = y(() => import("./MazSpinner-B-mc1FWS.mjs")), c = y(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: z } = j(), f = E(), p = n(() => g ? "a" : z ? "router-link" : "button"), I = n(
|
|
31
|
-
() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
|
|
32
|
-
), v = n(
|
|
33
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
34
|
-
), k = n(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = n(() => `--is-${o.variant}`), C = n(() => o.loading && o.variant === "button"), S = n(() => !!f["left-icon"] || o.leftIcon), m = n(() => !!f["right-icon"] || o.rightIcon), $ = n(() => S.value || m.value), T = n(() => o.icon || !!f.icon), F = n(() => p.value === "button" ? o.type : void 0), i = n(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
|
|
35
|
-
return (e, P) => (l(), a(r(p.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: s(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
I.value,
|
|
41
|
-
k.value,
|
|
42
|
-
B.value,
|
|
43
|
-
{
|
|
44
|
-
"--block": e.block,
|
|
45
|
-
"--no-underline": e.noUnderline,
|
|
46
|
-
"--fab": e.fab,
|
|
47
|
-
"--loading": e.loading,
|
|
48
|
-
"--disabled": v.value,
|
|
49
|
-
"--icon": $.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: F.value
|
|
57
|
-
}, {
|
|
58
|
-
default: O(() => [
|
|
59
|
-
t(`
|
|
60
|
-
@slot left-icon - The icon to display on the left of the button
|
|
61
|
-
`),
|
|
62
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
63
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
64
|
-
key: 0,
|
|
65
|
-
name: e.leftIcon,
|
|
66
|
-
class: s([i.value])
|
|
67
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: s([i.value])
|
|
70
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
71
|
-
], !0),
|
|
72
|
-
t(`
|
|
73
|
-
@slot icon - The icon to display on the fab button
|
|
74
|
-
`),
|
|
75
|
-
T.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
76
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
77
|
-
key: 0,
|
|
78
|
-
name: e.icon,
|
|
79
|
-
class: s([i.value])
|
|
80
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
81
|
-
key: 1,
|
|
82
|
-
class: s([i.value])
|
|
83
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
84
|
-
], !0) : t("v-if", !0),
|
|
85
|
-
t(`
|
|
86
|
-
@slot default - The content of the button
|
|
87
|
-
`),
|
|
88
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
89
|
-
t(`
|
|
90
|
-
@slot left-icon - The icon to display on the left of the button
|
|
91
|
-
`),
|
|
92
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
93
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
94
|
-
key: 0,
|
|
95
|
-
name: e.rightIcon,
|
|
96
|
-
class: s([i.value])
|
|
97
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
98
|
-
key: 1,
|
|
99
|
-
class: s([i.value])
|
|
100
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
101
|
-
], !0) : t("v-if", !0),
|
|
102
|
-
C.value ? (l(), R("div", L, [
|
|
103
|
-
A(d(h), {
|
|
104
|
-
size: "2em",
|
|
105
|
-
color: e.color
|
|
106
|
-
}, null, 8, ["color"])
|
|
107
|
-
])) : t("v-if", !0)
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
}, 8, ["disabled", "class", "type"]));
|
|
112
|
-
}
|
|
113
|
-
}), w = /* @__PURE__ */ D(N, [["__scopeId", "data-v-8deef21f"]]);
|
|
114
|
-
export {
|
|
115
|
-
w as default
|
|
116
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as y, useAttrs as j, useSlots as E, computed as n, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazDialog-Bv2PzQBz.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean }
|
|
28
|
-
},
|
|
29
|
-
setup(b) {
|
|
30
|
-
const o = b, h = y(() => import("./MazSpinner-yQGVxaFm.mjs")), c = y(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: z } = j(), f = E(), p = n(() => g ? "a" : z ? "router-link" : "button"), I = n(
|
|
31
|
-
() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
|
|
32
|
-
), v = n(
|
|
33
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
34
|
-
), k = n(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = n(() => `--is-${o.variant}`), C = n(() => o.loading && o.variant === "button"), S = n(() => !!f["left-icon"] || o.leftIcon), m = n(() => !!f["right-icon"] || o.rightIcon), $ = n(() => S.value || m.value), T = n(() => o.icon || !!f.icon), F = n(() => p.value === "button" ? o.type : void 0), i = n(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
|
|
35
|
-
return (e, P) => (l(), a(r(p.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: s(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
I.value,
|
|
41
|
-
k.value,
|
|
42
|
-
B.value,
|
|
43
|
-
{
|
|
44
|
-
"--block": e.block,
|
|
45
|
-
"--no-underline": e.noUnderline,
|
|
46
|
-
"--fab": e.fab,
|
|
47
|
-
"--loading": e.loading,
|
|
48
|
-
"--disabled": v.value,
|
|
49
|
-
"--icon": $.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: F.value
|
|
57
|
-
}, {
|
|
58
|
-
default: O(() => [
|
|
59
|
-
t(`
|
|
60
|
-
@slot left-icon - The icon to display on the left of the button
|
|
61
|
-
`),
|
|
62
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
63
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
64
|
-
key: 0,
|
|
65
|
-
name: e.leftIcon,
|
|
66
|
-
class: s([i.value])
|
|
67
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: s([i.value])
|
|
70
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
71
|
-
], !0),
|
|
72
|
-
t(`
|
|
73
|
-
@slot icon - The icon to display on the fab button
|
|
74
|
-
`),
|
|
75
|
-
T.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
76
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
77
|
-
key: 0,
|
|
78
|
-
name: e.icon,
|
|
79
|
-
class: s([i.value])
|
|
80
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
81
|
-
key: 1,
|
|
82
|
-
class: s([i.value])
|
|
83
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
84
|
-
], !0) : t("v-if", !0),
|
|
85
|
-
t(`
|
|
86
|
-
@slot default - The content of the button
|
|
87
|
-
`),
|
|
88
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
89
|
-
t(`
|
|
90
|
-
@slot left-icon - The icon to display on the left of the button
|
|
91
|
-
`),
|
|
92
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
93
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
94
|
-
key: 0,
|
|
95
|
-
name: e.rightIcon,
|
|
96
|
-
class: s([i.value])
|
|
97
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
98
|
-
key: 1,
|
|
99
|
-
class: s([i.value])
|
|
100
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
101
|
-
], !0) : t("v-if", !0),
|
|
102
|
-
C.value ? (l(), R("div", L, [
|
|
103
|
-
A(d(h), {
|
|
104
|
-
size: "2em",
|
|
105
|
-
color: e.color
|
|
106
|
-
}, null, 8, ["color"])
|
|
107
|
-
])) : t("v-if", !0)
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
}, 8, ["disabled", "class", "type"]));
|
|
112
|
-
}
|
|
113
|
-
}), w = /* @__PURE__ */ D(N, [["__scopeId", "data-v-8deef21f"]]);
|
|
114
|
-
export {
|
|
115
|
-
w as default
|
|
116
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as y, useAttrs as j, useSlots as E, computed as n, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazInputPrice-DhYRBqTS.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean }
|
|
28
|
-
},
|
|
29
|
-
setup(b) {
|
|
30
|
-
const o = b, h = y(() => import("./MazSpinner-BpjK60ul.mjs")), c = y(() => import("./MazIcon-BbvBov5G.mjs")), { href: g, to: z } = j(), f = E(), p = n(() => g ? "a" : z ? "router-link" : "button"), I = n(
|
|
31
|
-
() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
|
|
32
|
-
), v = n(
|
|
33
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
34
|
-
), k = n(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = n(() => `--is-${o.variant}`), C = n(() => o.loading && o.variant === "button"), S = n(() => !!f["left-icon"] || o.leftIcon), m = n(() => !!f["right-icon"] || o.rightIcon), $ = n(() => S.value || m.value), T = n(() => o.icon || !!f.icon), F = n(() => p.value === "button" ? o.type : void 0), i = n(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "md");
|
|
35
|
-
return (e, P) => (l(), a(r(p.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: s(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
I.value,
|
|
41
|
-
k.value,
|
|
42
|
-
B.value,
|
|
43
|
-
{
|
|
44
|
-
"--block": e.block,
|
|
45
|
-
"--no-underline": e.noUnderline,
|
|
46
|
-
"--fab": e.fab,
|
|
47
|
-
"--loading": e.loading,
|
|
48
|
-
"--disabled": v.value,
|
|
49
|
-
"--icon": $.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: F.value
|
|
57
|
-
}, {
|
|
58
|
-
default: O(() => [
|
|
59
|
-
t(`
|
|
60
|
-
@slot left-icon - The icon to display on the left of the button
|
|
61
|
-
`),
|
|
62
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
63
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
64
|
-
key: 0,
|
|
65
|
-
name: e.leftIcon,
|
|
66
|
-
class: s([i.value])
|
|
67
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: s([i.value])
|
|
70
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
71
|
-
], !0),
|
|
72
|
-
t(`
|
|
73
|
-
@slot icon - The icon to display on the fab button
|
|
74
|
-
`),
|
|
75
|
-
T.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
76
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
77
|
-
key: 0,
|
|
78
|
-
name: e.icon,
|
|
79
|
-
class: s([i.value])
|
|
80
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
81
|
-
key: 1,
|
|
82
|
-
class: s([i.value])
|
|
83
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
84
|
-
], !0) : t("v-if", !0),
|
|
85
|
-
t(`
|
|
86
|
-
@slot default - The content of the button
|
|
87
|
-
`),
|
|
88
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
89
|
-
t(`
|
|
90
|
-
@slot left-icon - The icon to display on the left of the button
|
|
91
|
-
`),
|
|
92
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
93
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
94
|
-
key: 0,
|
|
95
|
-
name: e.rightIcon,
|
|
96
|
-
class: s([i.value])
|
|
97
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
98
|
-
key: 1,
|
|
99
|
-
class: s([i.value])
|
|
100
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
101
|
-
], !0) : t("v-if", !0),
|
|
102
|
-
C.value ? (l(), R("div", L, [
|
|
103
|
-
A(d(h), {
|
|
104
|
-
size: "2em",
|
|
105
|
-
color: e.color
|
|
106
|
-
}, null, 8, ["color"])
|
|
107
|
-
])) : t("v-if", !0)
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
}, 8, ["disabled", "class", "type"]));
|
|
112
|
-
}
|
|
113
|
-
}), w = /* @__PURE__ */ D(N, [["__scopeId", "data-v-8deef21f"]]);
|
|
114
|
-
export {
|
|
115
|
-
w as default
|
|
116
|
-
};
|