maz-ui 3.47.2-beta.0 → 3.47.2-beta.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 +36 -37
- package/components/MazAnimatedCounter.mjs +14 -16
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.mjs +23 -32
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.mjs +66 -71
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +162 -185
- package/components/MazExpandAnimation.mjs +20 -21
- package/components/MazGallery.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.mjs +30 -31
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLink.mjs +18 -30
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazRadio.mjs +37 -42
- package/components/MazRadioButtons.mjs +61 -66
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +107 -116
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +24 -28
- package/components/MazTable.d.ts +6 -6
- package/components/MazTable.mjs +1 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTextarea.mjs +32 -34
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/chunks/{MazBadge-CvIiiTdM.mjs → MazBadge-CqppWg2j.mjs} +1 -1
- package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-CGRvZmGd.mjs} +28 -29
- package/{modules/chunks/MazBtn-BSnVxud6.mjs → components/chunks/MazBtn-2VKM1wZu.mjs} +37 -49
- package/components/chunks/{MazBtn-DVkwISlp.mjs → MazBtn-40lm8-AL.mjs} +37 -49
- package/components/chunks/{MazBtn-DzBXfedt.mjs → MazBtn-BB1FyYWv.mjs} +35 -44
- package/components/chunks/{MazBtn-BO3G90L3.mjs → MazBtn-BMYXMZuX.mjs} +37 -49
- package/components/chunks/{MazBtn-DJOUeES7.mjs → MazBtn-BijEMn4r.mjs} +37 -49
- package/components/chunks/MazBtn-BmrcK2af.mjs +106 -0
- package/components/chunks/MazBtn-C72_1uvu.mjs +106 -0
- package/components/chunks/MazBtn-CWloP6MI.mjs +111 -0
- package/components/chunks/MazBtn-CcyV4DCc.mjs +106 -0
- package/components/chunks/MazBtn-DENEMy-c.mjs +106 -0
- package/components/chunks/MazBtn-DfqRZvbB.mjs +106 -0
- package/components/chunks/MazBtn-UnZQuu6P.mjs +106 -0
- package/components/chunks/MazBtn-cDJlUVVY.mjs +106 -0
- package/components/chunks/MazBtn-hUslV7wO.mjs +106 -0
- package/components/chunks/{MazCard-FSXmHyhj.mjs → MazCard-BYB8y1_u.mjs} +18 -19
- package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-DccWVW8H.mjs} +20 -21
- package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-B22OcHt8.mjs} +1 -1
- package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DMogZVHl.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-Db6sPUbV.mjs} +1 -1
- package/components/chunks/{MazChecklist-CY1Cv70T.mjs → MazChecklist-C95Y4Hb-.mjs} +112 -118
- package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-khofH-7I.mjs} +66 -81
- package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +488 -0
- package/components/chunks/{MazExpandAnimation-Bkw_wFTi.mjs → MazExpandAnimation-MDimlZGj.mjs} +7 -8
- package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-CXQiXWFr.mjs} +32 -33
- package/components/chunks/{MazGallery-CZOokGAt.mjs → MazGallery-VTZUhBKC.mjs} +33 -34
- package/components/chunks/{MazIcon-z-jTiuyI.mjs → MazIcon-BF5TFzse.mjs} +1 -1
- package/components/chunks/{MazInput-oOA7gdLO.mjs → MazInput-DC3S-CVu.mjs} +44 -53
- package/components/chunks/{MazInput-BQoQSRyL.mjs → MazInput-DzWkS-g8.mjs} +40 -49
- package/components/chunks/{MazInput-CJQB68c-.mjs → MazInput-NE6H-10w.mjs} +42 -51
- package/components/chunks/{MazInputNumber-B4mQJcVB.mjs → MazInputNumber-DRXQXHRv.mjs} +168 -189
- package/components/chunks/{MazInputPrice-BrxE5WVf.mjs → MazInputPrice-DoTnDDIN.mjs} +49 -58
- package/components/chunks/{MazInputTags-BVCej_gW.mjs → MazInputTags-Dj3sW-e5.mjs} +181 -202
- package/components/chunks/{MazLink-Dl9ePCGm.mjs → MazLink-C_3Wya94.mjs} +19 -31
- package/components/chunks/{MazLoadingBar-Dwf55oHy.mjs → MazLoadingBar-DdjHRC7g.mjs} +1 -1
- package/components/chunks/MazPagination-BkT4_LLW.mjs +330 -0
- package/components/chunks/{MazPhoneNumberInput-Cd25AzXc.mjs → MazPhoneNumberInput-BbssOUzo.mjs} +500 -544
- package/components/chunks/{MazPicker-C78yxilJ.mjs → MazPicker-DwWiIYAR.mjs} +243 -264
- package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-CmFFQoPA.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-DaELz7aq.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-m1_KXnpA.mjs} +1 -1
- package/components/chunks/{MazSelect-CQDoUpgp.mjs → MazSelect-BJ07NVXQ.mjs} +149 -170
- package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-CDV9Fx6m.mjs} +124 -136
- package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-Bb3f2t6w.mjs} +1 -1
- package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BcB0szZB.mjs} +1 -1
- package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-BpkPcfCt.mjs} +1 -1
- package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-BsYJDmi9.mjs} +1 -1
- package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-BymqEMBk.mjs} +1 -1
- package/components/chunks/MazSpinner-C-64WJje.mjs +34 -0
- package/components/chunks/MazSpinner-CEFbkZkM.mjs +34 -0
- package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CfiIXW8y.mjs} +1 -1
- package/components/chunks/MazSpinner-CykRbNHD.mjs +34 -0
- package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-D3-pqOh3.mjs} +1 -1
- package/components/chunks/MazSpinner-DS58mtzm.mjs +34 -0
- package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-DmiLBQgR.mjs} +1 -1
- package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-Dmkr_r9u.mjs} +1 -1
- package/components/chunks/MazSpinner-DoRGA1RI.mjs +34 -0
- package/components/chunks/MazSpinner-eC03bFP5.mjs +34 -0
- package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-edxn0ncQ.mjs} +1 -1
- package/components/chunks/MazSpinner-f2Mc2eRO.mjs +34 -0
- package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +34 -0
- package/components/chunks/MazStepper-BREfkpUb.mjs +213 -0
- package/components/chunks/{MazTable-Cuz5QI08.mjs → MazTable-BJDPdIJB.mjs} +183 -227
- package/components/chunks/{MazTableCell-D_OTOJiy.mjs → MazTableCell-DILuUCTe.mjs} +1 -1
- package/components/chunks/{MazTableRow-BTcVAyOy.mjs → MazTableRow-D6H6-c8J.mjs} +1 -1
- package/components/chunks/{MazTableTitle-BDA9G6Zw.mjs → MazTableTitle-Ch-nyY1E.mjs} +1 -1
- package/components/chunks/MazTabsBar-CM-w7V97.mjs +193 -0
- package/components/chunks/{MazTransitionExpand-C-FHhOGB.mjs → MazTransitionExpand-PmUDa51_.mjs} +1 -1
- package/modules/chunks/MazBtn-B_Xlvgbg.cjs +1 -0
- package/modules/chunks/MazBtn-Dsr06Zgg.mjs +106 -0
- package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-CkuzyufF.cjs} +1 -1
- package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-DEgoQbMj.mjs} +1 -1
- package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-BurN-1pb.mjs} +1 -1
- package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-jP4QsCNE.cjs} +1 -1
- package/modules/chunks/index-CUNN0eIB.cjs +124 -0
- package/modules/chunks/{index-x2F1l5sr.mjs → index-CxFUggmu.mjs} +257 -292
- 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/MazTable.vue.d.ts +6 -6
- package/types/modules/composables/useFormValidator/types.d.ts +5 -1
- package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
- package/types/modules/composables/useFormValidator/useFormValidator.d.ts +2 -2
- package/types/modules/composables/useFormValidator/utils.d.ts +12 -12
- package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
- package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
- package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
- package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
- package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
- package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
- package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
- package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
- package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
- package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
- package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
- package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
- package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
- package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
- package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
- package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
- package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
- package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
- package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
- package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
- package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
- package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
- package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
- package/modules/chunks/index-BPqjUr5e.cjs +0 -149
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, defineAsyncComponent as
|
|
1
|
+
import { defineComponent as I, defineAsyncComponent as v, useSlots as N, ref as _, openBlock as s, createElementBlock as a, normalizeClass as r, renderSlot as n, createCommentVNode as p, createVNode as c, unref as i, withCtx as B, createElementVNode as k } from "vue";
|
|
2
2
|
import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
3
3
|
key: 1,
|
|
4
4
|
class: "m-carousel__header__actions"
|
|
@@ -11,19 +11,19 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
11
11
|
hideScrollbar: { type: Boolean }
|
|
12
12
|
},
|
|
13
13
|
setup(l) {
|
|
14
|
-
const
|
|
15
|
-
function
|
|
16
|
-
return !
|
|
14
|
+
const u = l, o = v(() => import("./MazBtn-BmrcK2af.mjs")), d = v(() => import("./chevron-left-BqVOLRdC.mjs")), f = v(() => import("./chevron-right-CbjzEeHV.mjs")), h = N(), b = _(!1), S = _(!1), m = _();
|
|
15
|
+
function L() {
|
|
16
|
+
return !u.noScrollBtn || h.title;
|
|
17
17
|
}
|
|
18
18
|
function C() {
|
|
19
19
|
return !!h.title;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
const e =
|
|
21
|
+
function y() {
|
|
22
|
+
const e = m.value;
|
|
23
23
|
e == null || e.scrollTo(e.scrollLeft + e.clientWidth, 0);
|
|
24
24
|
}
|
|
25
25
|
function z() {
|
|
26
|
-
const e =
|
|
26
|
+
const e = m.value;
|
|
27
27
|
e == null || e.scrollTo(e.scrollLeft - e.clientWidth, 0);
|
|
28
28
|
}
|
|
29
29
|
function M(e) {
|
|
@@ -42,7 +42,7 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
42
42
|
}])
|
|
43
43
|
},
|
|
44
44
|
[
|
|
45
|
-
|
|
45
|
+
L() ? (s(), a(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
key: 0,
|
|
@@ -51,9 +51,9 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
51
51
|
[
|
|
52
52
|
C() ? (s(), a("div", W, [
|
|
53
53
|
n(e.$slots, "title", {}, void 0, !0)
|
|
54
|
-
])) :
|
|
55
|
-
e.noScrollBtn ?
|
|
56
|
-
i(
|
|
54
|
+
])) : p("v-if", !0),
|
|
55
|
+
e.noScrollBtn ? p("v-if", !0) : (s(), a("div", x, [
|
|
56
|
+
c(i(o), {
|
|
57
57
|
color: "transparent",
|
|
58
58
|
class: r(["m-carousel__btn", { "--muted": !b.value }]),
|
|
59
59
|
"no-elevation": "",
|
|
@@ -63,23 +63,23 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
63
63
|
}, {
|
|
64
64
|
default: B(() => [
|
|
65
65
|
n(e.$slots, "previous-icon", {}, () => [
|
|
66
|
-
i(
|
|
66
|
+
c(i(d), { class: "maz-text-lg" })
|
|
67
67
|
], !0)
|
|
68
68
|
]),
|
|
69
69
|
_: 3
|
|
70
70
|
/* FORWARDED */
|
|
71
71
|
}, 8, ["class", "aria-label"]),
|
|
72
|
-
i(
|
|
72
|
+
c(i(o), {
|
|
73
73
|
color: "transparent",
|
|
74
74
|
class: r(["m-carousel__btn", { "--muted": S.value }]),
|
|
75
75
|
fab: "",
|
|
76
76
|
"no-elevation": "",
|
|
77
77
|
"aria-label": e.ariaLabelNextButton,
|
|
78
|
-
onClick:
|
|
78
|
+
onClick: y
|
|
79
79
|
}, {
|
|
80
80
|
default: B(() => [
|
|
81
81
|
n(e.$slots, "next-icon", {}, () => [
|
|
82
|
-
i(
|
|
82
|
+
c(i(f), { class: "maz-text-lg" })
|
|
83
83
|
], !0)
|
|
84
84
|
]),
|
|
85
85
|
_: 3
|
|
@@ -89,17 +89,16 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
89
89
|
],
|
|
90
90
|
2
|
|
91
91
|
/* CLASS */
|
|
92
|
-
)) :
|
|
92
|
+
)) : p("v-if", !0),
|
|
93
93
|
k(
|
|
94
94
|
"div",
|
|
95
95
|
{
|
|
96
96
|
ref_key: "MazCarouselItems",
|
|
97
|
-
ref:
|
|
97
|
+
ref: m,
|
|
98
98
|
class: "m-carousel__items",
|
|
99
99
|
onScroll: M
|
|
100
100
|
},
|
|
101
101
|
[
|
|
102
|
-
c(" Insert your items "),
|
|
103
102
|
n(e.$slots, "default", {}, void 0, !0),
|
|
104
103
|
t[0] || (t[0] = k(
|
|
105
104
|
"div",
|
|
@@ -117,10 +116,10 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
|
|
|
117
116
|
/* CLASS */
|
|
118
117
|
));
|
|
119
118
|
}
|
|
120
|
-
}), T = (l,
|
|
119
|
+
}), T = (l, u) => {
|
|
121
120
|
const o = l.__vccOpts || l;
|
|
122
|
-
for (const [
|
|
123
|
-
o[
|
|
121
|
+
for (const [d, f] of u)
|
|
122
|
+
o[d] = f;
|
|
124
123
|
return o;
|
|
125
124
|
}, E = /* @__PURE__ */ T($, [["__scopeId", "data-v-c70bd7f6"]]);
|
|
126
125
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, useCssVars as N, computed as r, ref as E, openBlock as p, createElementBlock as h, unref as s, normalizeClass as c, normalizeStyle as A, createElementVNode as u, mergeProps as _, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as b, createCommentVNode as q } from "vue";
|
|
2
|
-
import { u as F, _ as H } from "./MazPhoneNumberInput-
|
|
2
|
+
import { u as F, _ as H } from "./MazPhoneNumberInput-BbssOUzo.mjs";
|
|
3
3
|
import K from "./check-C9Q_W85g.mjs";
|
|
4
4
|
import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
|
|
5
5
|
inheritAttrs: !1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, useCssVars as N, computed as r, ref as E, openBlock as p, createElementBlock as h, unref as s, normalizeClass as c, normalizeStyle as A, createElementVNode as u, mergeProps as _, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as b, createCommentVNode as q } from "vue";
|
|
2
|
-
import { u as F, _ as H } from "./MazSelect-
|
|
2
|
+
import { u as F, _ as H } from "./MazSelect-BJ07NVXQ.mjs";
|
|
3
3
|
import K from "./check-C9Q_W85g.mjs";
|
|
4
4
|
import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
|
|
5
5
|
inheritAttrs: !1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, useCssVars as N, computed as r, ref as E, openBlock as p, createElementBlock as h, unref as s, normalizeClass as c, normalizeStyle as A, createElementVNode as u, mergeProps as _, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as b, createCommentVNode as q } from "vue";
|
|
2
2
|
import { u as F } from "./useInstanceUniqId-DW9jO1Sz.mjs";
|
|
3
3
|
import H from "./check-C9Q_W85g.mjs";
|
|
4
|
-
import { _ as K } from "./MazTable-
|
|
4
|
+
import { _ as K } from "./MazTable-BJDPdIJB.mjs";
|
|
5
5
|
import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "MazCheckbox",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, useCssVars as j, ref as
|
|
1
|
+
import { defineComponent as O, useCssVars as j, ref as x, computed as f, onMounted as K, onUnmounted as P, openBlock as p, createElementBlock as v, normalizeClass as A, normalizeStyle as N, createElementVNode as m, renderSlot as w, withDirectives as q, vShow as F, useId as T, unref as C, mergeProps as D, createVNode as S, createTextVNode as B, toDisplayString as I, createCommentVNode as E, defineAsyncComponent as _, watch as H, withCtx as Z, Fragment as G, renderList as J } from "vue";
|
|
2
2
|
import '../assets/MazChecklist.css';const W = {
|
|
3
3
|
removeAccents: !0,
|
|
4
4
|
caseSensitive: !1,
|
|
@@ -10,7 +10,7 @@ import '../assets/MazChecklist.css';const W = {
|
|
|
10
10
|
customNormalizationForms: ["NFC", "NFKD"]
|
|
11
11
|
};
|
|
12
12
|
function U(c, r) {
|
|
13
|
-
const e = { ...W, ...r },
|
|
13
|
+
const e = { ...W, ...r }, n = {
|
|
14
14
|
À: "A",
|
|
15
15
|
Á: "A",
|
|
16
16
|
Â: "A",
|
|
@@ -59,11 +59,11 @@ function U(c, r) {
|
|
|
59
59
|
ñ: "n",
|
|
60
60
|
ó: "o"
|
|
61
61
|
};
|
|
62
|
-
let
|
|
63
|
-
if (e.trim && (
|
|
62
|
+
let l = c.toString();
|
|
63
|
+
if (e.trim && (l = l.trim()), e.normalizeSpaces && (l = l.replaceAll(/\s+/g, " ")), e.replaceSpaces && (l = l.replaceAll(" ", "-")), e.removeNumbers && (l = l.replaceAll(/\d/g, "")), e.removeAccents && (l = l.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (u) => n[u] || u), l = l.replaceAll(/[\u0300-\u036F]/g, "")), e.caseSensitive === !1 && (l = l.toLowerCase()), e.removeSpecialCharacters && (l = l.replaceAll(/[^\dA-Z-]/gi, "")), e.trim && (l = l.trim()), e.customNormalizationForms)
|
|
64
64
|
for (const u of e.customNormalizationForms)
|
|
65
|
-
|
|
66
|
-
return
|
|
65
|
+
l = l.normalize(u);
|
|
66
|
+
return l;
|
|
67
67
|
}
|
|
68
68
|
const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
69
69
|
__name: "MazCardSpotlight",
|
|
@@ -78,18 +78,18 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
|
78
78
|
setup(c) {
|
|
79
79
|
j((i) => ({
|
|
80
80
|
"4f499add": i.innerOpacity,
|
|
81
|
-
"2e65a0ad":
|
|
81
|
+
"2e65a0ad": b.value
|
|
82
82
|
}));
|
|
83
|
-
const r = c, e =
|
|
84
|
-
function u({ clientX: i, clientY:
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
const
|
|
88
|
-
|
|
83
|
+
const r = c, e = x(), n = x(), l = x(!1);
|
|
84
|
+
function u({ clientX: i, clientY: y }) {
|
|
85
|
+
var s, d, z;
|
|
86
|
+
l.value = !0;
|
|
87
|
+
const a = (s = n.value) == null ? void 0 : s.getBoundingClientRect();
|
|
88
|
+
a && ((z = (d = e.value) == null ? void 0 : d.animate) == null || z.call(
|
|
89
89
|
d,
|
|
90
90
|
[
|
|
91
91
|
{
|
|
92
|
-
transform: `translate(${i -
|
|
92
|
+
transform: `translate(${i - a.left - a.width / 2}px,${y - a.top - a.height / 2}px)`
|
|
93
93
|
}
|
|
94
94
|
],
|
|
95
95
|
{
|
|
@@ -98,15 +98,15 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
|
98
98
|
}
|
|
99
99
|
));
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const b = f(() => `var(--maz-color-${r.color}-alpha)`), h = f(() => `var(--maz-color-${r.color}-alpha-20)`);
|
|
102
102
|
return K(() => {
|
|
103
103
|
window.addEventListener("mousemove", u);
|
|
104
104
|
}), P(() => {
|
|
105
105
|
window.removeEventListener("mousemove", u);
|
|
106
|
-
}), (i,
|
|
106
|
+
}), (i, y) => (p(), v(
|
|
107
107
|
"div",
|
|
108
108
|
{
|
|
109
|
-
class:
|
|
109
|
+
class: A(["m-card-spotlight", { "maz-elevation": !i.noElevation }]),
|
|
110
110
|
style: N({ backgroundColor: h.value })
|
|
111
111
|
},
|
|
112
112
|
[
|
|
@@ -114,10 +114,10 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
|
114
114
|
m(
|
|
115
115
|
"div",
|
|
116
116
|
{
|
|
117
|
-
class:
|
|
117
|
+
class: A(["content", [{ "maz-p-4": i.padding }, i.contentClass]])
|
|
118
118
|
},
|
|
119
119
|
[
|
|
120
|
-
|
|
120
|
+
w(i.$slots, "default", {}, void 0, !0)
|
|
121
121
|
],
|
|
122
122
|
2
|
|
123
123
|
/* CLASS */
|
|
@@ -129,26 +129,26 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
|
129
129
|
ref_key: "blobElement",
|
|
130
130
|
ref: e,
|
|
131
131
|
class: "blob",
|
|
132
|
-
style: N({ backgroundColor:
|
|
132
|
+
style: N({ backgroundColor: b.value })
|
|
133
133
|
},
|
|
134
134
|
null,
|
|
135
135
|
4
|
|
136
136
|
/* STYLE */
|
|
137
137
|
), [
|
|
138
|
-
[F,
|
|
138
|
+
[F, l.value]
|
|
139
139
|
]),
|
|
140
140
|
q(m(
|
|
141
141
|
"div",
|
|
142
142
|
{
|
|
143
143
|
ref_key: "fakeblobElement",
|
|
144
|
-
ref:
|
|
144
|
+
ref: n,
|
|
145
145
|
class: "fakeblob"
|
|
146
146
|
},
|
|
147
147
|
null,
|
|
148
148
|
512
|
|
149
149
|
/* NEED_PATCH */
|
|
150
150
|
), [
|
|
151
|
-
[F,
|
|
151
|
+
[F, l.value]
|
|
152
152
|
])
|
|
153
153
|
],
|
|
154
154
|
6
|
|
@@ -157,8 +157,8 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
|
|
|
157
157
|
}
|
|
158
158
|
}), L = (c, r) => {
|
|
159
159
|
const e = c.__vccOpts || c;
|
|
160
|
-
for (const [
|
|
161
|
-
e[
|
|
160
|
+
for (const [n, l] of r)
|
|
161
|
+
e[n] = l;
|
|
162
162
|
return e;
|
|
163
163
|
}, ee = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-31abf9ff"]]);
|
|
164
164
|
function oe({
|
|
@@ -168,7 +168,7 @@ function oe({
|
|
|
168
168
|
const e = T();
|
|
169
169
|
return f(() => r ?? `${c}-${e}`);
|
|
170
170
|
}
|
|
171
|
-
const
|
|
171
|
+
const ae = {
|
|
172
172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
173
173
|
width: "1em",
|
|
174
174
|
height: "1em",
|
|
@@ -176,7 +176,7 @@ const te = {
|
|
|
176
176
|
viewBox: "0 0 24 24"
|
|
177
177
|
};
|
|
178
178
|
function R(c, r) {
|
|
179
|
-
return p(), v("svg",
|
|
179
|
+
return p(), v("svg", ae, r[0] || (r[0] = [
|
|
180
180
|
m(
|
|
181
181
|
"path",
|
|
182
182
|
{
|
|
@@ -196,7 +196,7 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
196
196
|
__proto__: null,
|
|
197
197
|
default: Q,
|
|
198
198
|
render: R
|
|
199
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
199
|
+
}, Symbol.toStringTag, { value: "Module" })), le = ["for", "aria-checked"], te = ["id", "checked", "disabled", "name"], re = { class: "m-checkbox__text" }, ne = /* @__PURE__ */ O({
|
|
200
200
|
inheritAttrs: !1,
|
|
201
201
|
__name: "MazCheckbox",
|
|
202
202
|
props: {
|
|
@@ -219,16 +219,16 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
219
219
|
setup(c, { emit: r }) {
|
|
220
220
|
j((o) => ({
|
|
221
221
|
b7df6194: i.value,
|
|
222
|
-
"89a0ef50":
|
|
223
|
-
"199d7f11":
|
|
224
|
-
b0e1d658:
|
|
222
|
+
"89a0ef50": b.value,
|
|
223
|
+
"199d7f11": y.value,
|
|
224
|
+
b0e1d658: a.value
|
|
225
225
|
}));
|
|
226
|
-
const e = c,
|
|
226
|
+
const e = c, n = r, l = oe({
|
|
227
227
|
componentName: "MazCheckbox",
|
|
228
228
|
providedId: e.id
|
|
229
229
|
}), u = f(
|
|
230
230
|
() => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
|
|
231
|
-
),
|
|
231
|
+
), b = f(() => {
|
|
232
232
|
switch (e.size) {
|
|
233
233
|
case "xl":
|
|
234
234
|
return "2rem";
|
|
@@ -258,59 +258,59 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
258
258
|
default:
|
|
259
259
|
return "maz-text-lg";
|
|
260
260
|
}
|
|
261
|
-
}), i = f(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`),
|
|
262
|
-
function
|
|
261
|
+
}), i = f(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`), y = f(() => e.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${e.color})`), a = f(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
|
|
262
|
+
function s(o) {
|
|
263
263
|
["Space"].includes(o.code) && (o.preventDefault(), z(e.value ?? !e.modelValue));
|
|
264
264
|
}
|
|
265
265
|
function d(o) {
|
|
266
|
-
return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((
|
|
266
|
+
return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((t) => t !== o) : [...e.modelValue, o] : [o];
|
|
267
267
|
}
|
|
268
268
|
function z(o) {
|
|
269
|
-
const
|
|
270
|
-
|
|
269
|
+
const t = d(o);
|
|
270
|
+
n("update:model-value", t), n("change", t);
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
function
|
|
274
|
-
var
|
|
275
|
-
(
|
|
272
|
+
const g = x();
|
|
273
|
+
function $(o) {
|
|
274
|
+
var t;
|
|
275
|
+
(t = g.value) == null || t.dispatchEvent(new Event("blur")), n("blur", o);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
var
|
|
279
|
-
(
|
|
277
|
+
function k(o) {
|
|
278
|
+
var t;
|
|
279
|
+
(t = g.value) == null || t.dispatchEvent(new Event("focus")), n("focus", o);
|
|
280
280
|
}
|
|
281
|
-
return (o,
|
|
282
|
-
for:
|
|
283
|
-
class:
|
|
281
|
+
return (o, t) => (p(), v("label", {
|
|
282
|
+
for: C(l),
|
|
283
|
+
class: A(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
|
|
284
284
|
tabindex: "0",
|
|
285
285
|
style: N(o.style),
|
|
286
286
|
role: "checkbox",
|
|
287
287
|
"aria-checked": u.value,
|
|
288
|
-
onKeydown:
|
|
289
|
-
onBlur:
|
|
290
|
-
onFocus:
|
|
288
|
+
onKeydown: s,
|
|
289
|
+
onBlur: $,
|
|
290
|
+
onFocus: k
|
|
291
291
|
}, [
|
|
292
292
|
m("input", D({
|
|
293
|
-
id:
|
|
293
|
+
id: C(l),
|
|
294
294
|
ref_key: "inputRef",
|
|
295
|
-
ref:
|
|
295
|
+
ref: g,
|
|
296
296
|
checked: u.value
|
|
297
297
|
}, o.$attrs, {
|
|
298
298
|
tabindex: "-1",
|
|
299
299
|
disabled: o.disabled,
|
|
300
300
|
name: o.name,
|
|
301
301
|
type: "checkbox",
|
|
302
|
-
onChange:
|
|
302
|
+
onChange: t[0] || (t[0] = (V) => {
|
|
303
303
|
var M;
|
|
304
|
-
return z(o.value ?? ((M =
|
|
304
|
+
return z(o.value ?? ((M = V == null ? void 0 : V.target) == null ? void 0 : M.checked));
|
|
305
305
|
})
|
|
306
|
-
}), null, 16,
|
|
306
|
+
}), null, 16, te),
|
|
307
307
|
m("span", null, [
|
|
308
|
-
|
|
309
|
-
class:
|
|
308
|
+
S(C(Q), {
|
|
309
|
+
class: A(["check-icon", h.value])
|
|
310
310
|
}, null, 8, ["class"])
|
|
311
311
|
]),
|
|
312
312
|
m("div", re, [
|
|
313
|
-
|
|
313
|
+
w(o.$slots, "default", { value: o.value }, () => [
|
|
314
314
|
B(
|
|
315
315
|
I(o.label),
|
|
316
316
|
1
|
|
@@ -321,7 +321,7 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
321
321
|
"span",
|
|
322
322
|
{
|
|
323
323
|
key: 0,
|
|
324
|
-
class:
|
|
324
|
+
class: A(["m-checkbox__hint", {
|
|
325
325
|
"--error": o.error,
|
|
326
326
|
"--success": o.success,
|
|
327
327
|
"--warning": o.warning
|
|
@@ -330,11 +330,11 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
330
330
|
I(o.hint),
|
|
331
331
|
3
|
|
332
332
|
/* TEXT, CLASS */
|
|
333
|
-
)) :
|
|
333
|
+
)) : E("v-if", !0)
|
|
334
334
|
])
|
|
335
|
-
], 46,
|
|
335
|
+
], 46, le));
|
|
336
336
|
}
|
|
337
|
-
}),
|
|
337
|
+
}), se = /* @__PURE__ */ L(ne, [["__scopeId", "data-v-178c6a46"]]), ce = { class: "m-checklist maz-flex maz-flex-col maz-gap-4" }, ie = {
|
|
338
338
|
key: 0,
|
|
339
339
|
for: "query",
|
|
340
340
|
class: "maz-flex maz-items-center maz-justify-between maz-gap-4"
|
|
@@ -360,100 +360,94 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
360
360
|
},
|
|
361
361
|
emits: ["update:query", "update:model-value"],
|
|
362
362
|
setup(c, { emit: r }) {
|
|
363
|
-
const e = c,
|
|
363
|
+
const e = c, n = r, l = _(() => import("./MazInput-NE6H-10w.mjs")), u = _(
|
|
364
364
|
() => import("./magnifying-glass--nBiyXot.mjs")
|
|
365
|
-
),
|
|
365
|
+
), b = _(
|
|
366
366
|
() => import("./no-symbol-CIgKzsrB.mjs")
|
|
367
|
-
), h =
|
|
367
|
+
), h = x(e.query);
|
|
368
368
|
H(
|
|
369
369
|
() => e.query,
|
|
370
|
-
(
|
|
371
|
-
h.value =
|
|
370
|
+
(a) => {
|
|
371
|
+
h.value = a;
|
|
372
372
|
}
|
|
373
373
|
);
|
|
374
374
|
const i = f(() => {
|
|
375
|
-
var
|
|
375
|
+
var s;
|
|
376
376
|
if (!h.value)
|
|
377
377
|
return e.items;
|
|
378
|
-
const
|
|
379
|
-
return (
|
|
380
|
-
({ label: d }) => U(d, e.searchOptions).includes(
|
|
378
|
+
const a = U(h.value, e.searchOptions);
|
|
379
|
+
return (s = e.items) == null ? void 0 : s.filter(
|
|
380
|
+
({ label: d }) => U(d, e.searchOptions).includes(a)
|
|
381
381
|
);
|
|
382
382
|
});
|
|
383
|
-
function
|
|
384
|
-
h.value =
|
|
383
|
+
function y(a) {
|
|
384
|
+
h.value = a, n("update:query", a);
|
|
385
385
|
}
|
|
386
|
-
return (
|
|
387
|
-
var d, z,
|
|
386
|
+
return (a, s) => {
|
|
387
|
+
var d, z, g, $;
|
|
388
388
|
return p(), v("div", ce, [
|
|
389
|
-
(d =
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
C(t.$slots, "title", {}, () => [
|
|
389
|
+
(d = a.search) != null && d.enabled ? (p(), v("label", ie, [
|
|
390
|
+
a.$slots.title || a.title ? (p(), v("span", ue, [
|
|
391
|
+
w(a.$slots, "title", {}, () => [
|
|
393
392
|
B(
|
|
394
|
-
I(
|
|
393
|
+
I(a.title),
|
|
395
394
|
1
|
|
396
395
|
/* TEXT */
|
|
397
396
|
)
|
|
398
397
|
])
|
|
399
|
-
])) :
|
|
400
|
-
|
|
398
|
+
])) : E("v-if", !0),
|
|
399
|
+
S(C(l), D({
|
|
401
400
|
id: "query",
|
|
402
401
|
"model-value": h.value
|
|
403
|
-
},
|
|
404
|
-
color:
|
|
405
|
-
"left-icon":
|
|
406
|
-
debounce:
|
|
407
|
-
label: (z =
|
|
408
|
-
name: ((
|
|
409
|
-
placeholder: (
|
|
410
|
-
"onUpdate:modelValue":
|
|
402
|
+
}, a.search, {
|
|
403
|
+
color: a.color,
|
|
404
|
+
"left-icon": a.search.leftIcon ?? C(u),
|
|
405
|
+
debounce: a.search.debounce ?? 300,
|
|
406
|
+
label: (z = a.search) == null ? void 0 : z.label,
|
|
407
|
+
name: ((g = a.search) == null ? void 0 : g.name) ?? "search",
|
|
408
|
+
placeholder: ($ = a.search) == null ? void 0 : $.placeholder,
|
|
409
|
+
"onUpdate:modelValue": s[0] || (s[0] = (k) => y(k))
|
|
411
410
|
}), null, 16, ["model-value", "color", "left-icon", "debounce", "label", "name", "placeholder"])
|
|
412
|
-
])) :
|
|
413
|
-
|
|
414
|
-
color:
|
|
415
|
-
"no-elevation": !
|
|
411
|
+
])) : E("v-if", !0),
|
|
412
|
+
S(ee, {
|
|
413
|
+
color: a.color,
|
|
414
|
+
"no-elevation": !a.elevation,
|
|
416
415
|
padding: !1,
|
|
417
416
|
"content-class": "maz-flex maz-flex-col maz-maz-gap-2 maz-overflow-y-auto maz-bg-color maz-px-3 maz-py-2"
|
|
418
417
|
}, {
|
|
419
418
|
default: Z(() => {
|
|
420
|
-
var
|
|
419
|
+
var k;
|
|
421
420
|
return [
|
|
422
|
-
((
|
|
423
|
-
|
|
424
|
-
C(t.$slots, "no-results", {}, () => [
|
|
421
|
+
((k = i.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", de, [
|
|
422
|
+
w(a.$slots, "no-results", {}, () => [
|
|
425
423
|
m("div", me, [
|
|
426
|
-
|
|
424
|
+
S(C(b), { class: "maz-text-3xl maz-text-muted" }),
|
|
427
425
|
m("span", fe, [
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
n[2] || (n[2] = B(" No results found "))
|
|
426
|
+
w(a.$slots, "no-results-text", {}, () => [
|
|
427
|
+
s[2] || (s[2] = B(" No results found "))
|
|
431
428
|
])
|
|
432
429
|
])
|
|
433
430
|
])
|
|
434
431
|
])
|
|
435
|
-
])) :
|
|
432
|
+
])) : E("v-if", !0),
|
|
436
433
|
(p(!0), v(
|
|
437
434
|
G,
|
|
438
435
|
null,
|
|
439
|
-
J(i.value, ({ label: o, value:
|
|
440
|
-
key:
|
|
441
|
-
for:
|
|
436
|
+
J(i.value, ({ label: o, value: t }) => (p(), v("label", {
|
|
437
|
+
key: t,
|
|
438
|
+
for: t,
|
|
442
439
|
class: "m-checklist-item maz-flex maz-w-full maz-cursor-pointer maz-items-center maz-gap-4 maz-rounded maz-px-3 maz-py-2 maz-text-left hover:maz-bg-color-light"
|
|
443
440
|
}, [
|
|
444
|
-
|
|
445
|
-
id:
|
|
441
|
+
S(se, {
|
|
442
|
+
id: t,
|
|
446
443
|
"model-value": e.modelValue,
|
|
447
|
-
value:
|
|
448
|
-
color:
|
|
449
|
-
"onUpdate:modelValue":
|
|
444
|
+
value: t,
|
|
445
|
+
color: a.color,
|
|
446
|
+
"onUpdate:modelValue": s[1] || (s[1] = (V) => n("update:model-value", V))
|
|
450
447
|
}, null, 8, ["id", "model-value", "value", "color"]),
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
C(t.$slots, "item", {
|
|
455
|
-
selectedValues: t.modelValue,
|
|
456
|
-
item: { label: o, value: l }
|
|
448
|
+
w(a.$slots, "item", {
|
|
449
|
+
selectedValues: a.modelValue,
|
|
450
|
+
item: { label: o, value: t }
|
|
457
451
|
}, () => [
|
|
458
452
|
m(
|
|
459
453
|
"span",
|