maz-ui 3.48.3 → 3.48.4-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/MazAnimatedCounter.d.ts +6 -0
- package/components/MazAnimatedCounter.mjs +12 -11
- package/components/MazAnimatedElement.d.ts +37 -0
- package/components/MazAnimatedElement.mjs +44 -0
- package/components/MazAnimatedText.d.ts +50 -0
- package/components/MazAnimatedText.mjs +165 -0
- 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/MazChecklist.d.ts +9 -4
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.mjs +19 -18
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.d.ts +7 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAnimatedElement.css +1 -0
- package/components/assets/MazAnimatedText.css +1 -0
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazChecklist.css +1 -1
- package/components/assets/MazCircularProgressBar.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/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/chunks/{MazBottomSheet-CMqzf-dT.mjs → MazBottomSheet-CNFupuJS.mjs} +1 -1
- package/components/chunks/{MazBtn-S7EnZYtZ.mjs → MazBtn-BJNzz7YT.mjs} +3 -3
- package/components/chunks/{MazBtn-DCyFSkZo.mjs → MazBtn-BO1U1gVG.mjs} +3 -3
- package/components/chunks/MazBtn-BugQGoO-.mjs +103 -0
- package/components/chunks/{MazBtn-DsGaq_eB.mjs → MazBtn-CKDJOBcC.mjs} +2 -2
- package/components/chunks/{MazBtn-B16x1gSu.mjs → MazBtn-CP-m-KDm.mjs} +3 -3
- package/components/chunks/{MazBtn-CvB-Sf2r.mjs → MazBtn-CUoFOAML.mjs} +3 -3
- package/components/chunks/{MazBtn-Cf-LPT5p.mjs → MazBtn-Cyn7ObTB.mjs} +3 -3
- package/components/chunks/{MazBtn-BcrrOaO_.mjs → MazBtn-D53RC3KP.mjs} +3 -3
- package/components/chunks/{MazBtn-DETtZdlj.mjs → MazBtn-DYURBZtp.mjs} +2 -2
- package/components/chunks/{MazBtn-B7cg2yO2.mjs → MazBtn-DiYly5sp.mjs} +3 -3
- package/components/chunks/{MazBtn-CPwCJ1l-.mjs → MazBtn-Dlx6nLm2.mjs} +3 -3
- package/components/chunks/{MazBtn-BvIoLKMM.mjs → MazBtn-MJYP-poo.mjs} +3 -3
- package/components/chunks/{MazBtn-DnJzOPh9.mjs → MazBtn-MvFibIXn.mjs} +3 -3
- package/components/chunks/{MazBtn-C5sb0470.mjs → MazBtn-tS9ACNLi.mjs} +3 -3
- package/components/chunks/{MazCard-l54W3CUU.mjs → MazCard-D-q6vhWd.mjs} +1 -1
- package/components/chunks/{MazCarousel-C16E1i1T.mjs → MazCarousel-Z4XypOn_.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DKM-G0Pw.mjs → MazCheckbox-BImOZ1aM.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CEsAHbdi.mjs → MazCheckbox-DJi0g4uK.mjs} +1 -1
- package/components/chunks/{MazCheckbox-D-7-TdgO.mjs → MazCheckbox-DafMJoEw.mjs} +1 -1
- package/components/chunks/{MazChecklist-y4axtsRX.mjs → MazChecklist-DaEf6wix.mjs} +50 -49
- package/components/chunks/{MazDialog-DQXX2APp.mjs → MazDialog-PVsds2Mw.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-CD1d5ig-.mjs → MazDialogPromise-BdtiOZGU.mjs} +2 -2
- package/components/chunks/{MazDrawer-BqNLfW4e.mjs → MazDrawer-CMHe_JEh.mjs} +1 -1
- package/components/chunks/{MazDropdown-DNXKdC_3.mjs → MazDropdown-DpGSAqe0.mjs} +1 -1
- package/components/chunks/{MazGallery-CzlKPQFX.mjs → MazGallery-BtuCo-H0.mjs} +2 -2
- package/components/chunks/{MazIcon-BIoDsehI.mjs → MazIcon-Bnebkvf6.mjs} +1 -1
- package/components/chunks/MazIcon-C7ZMosGw.mjs +4 -0
- package/components/chunks/{MazInput-yBii2AFS.mjs → MazInput-C3QweR84.mjs} +1 -1
- package/components/chunks/{MazInput-BWtGbtW0.mjs → MazInput-DjvBbUZl.mjs} +2 -2
- package/components/chunks/{MazInput-DB4HtpCQ.mjs → MazInput-DvaaM9Iq.mjs} +2 -2
- package/components/chunks/{MazInputNumber-DqnLi9-C.mjs → MazInputNumber-D904Pg1R.mjs} +2 -2
- package/components/chunks/{MazInputPrice-Ca8mL53M.mjs → MazInputPrice-CQiJFPWB.mjs} +1 -1
- package/components/chunks/{MazInputTags-Bto9dVQq.mjs → MazInputTags-BPSG1X1a.mjs} +2 -2
- package/components/chunks/{MazLink-DlUG7E5K.mjs → MazLink-DnnBkVEE.mjs} +1 -1
- package/components/chunks/{MazLoadingBar-DBt1Ltm5.mjs → MazLoadingBar-Dm14PSs6.mjs} +1 -1
- package/components/chunks/{MazPagination-sxkvTajI.mjs → MazPagination-CuCKS1Qr.mjs} +2 -2
- package/components/chunks/{MazPhoneNumberInput-ovuoYxd9.mjs → MazPhoneNumberInput-CKpP3yWz.mjs} +379 -378
- package/components/chunks/{MazPicker-B_IP-4P3.mjs → MazPicker-g10_1sY_.mjs} +3 -3
- package/components/chunks/{MazPickerMonthSwitcher-BmHHmSvo.mjs → MazPickerMonthSwitcher-BDxk_Msi.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-BSgRCAAD.mjs → MazPickerShortcuts-DtHvsdEW.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-Cy-WbilD.mjs → MazPickerYearSwitcher-DXkaTXFw.mjs} +1 -1
- package/components/chunks/{MazSelect-CBaOs6va.mjs → MazSelect-VAPsGKXy.mjs} +193 -192
- package/components/chunks/{MazSelect-BwahUlbE.mjs → MazSelect-cthYMQqx.mjs} +277 -276
- package/components/chunks/MazSpinner-94rvbsAk.mjs +34 -0
- package/components/chunks/{MazSpinner-D6PdYOcD.mjs → MazSpinner-B5j5EaKc.mjs} +1 -1
- package/components/chunks/MazSpinner-BLh6PkZJ.mjs +34 -0
- package/components/chunks/MazSpinner-Ba5WXlbx.mjs +34 -0
- package/components/chunks/MazSpinner-C2mutMJX.mjs +34 -0
- package/components/chunks/{MazSpinner-Bb1BgWPD.mjs → MazSpinner-C7TbmneX.mjs} +1 -1
- package/components/chunks/MazSpinner-CcshuKK9.mjs +34 -0
- package/components/chunks/{MazSpinner-CizL97Q2.mjs → MazSpinner-D2J_jdkK.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bs089W1b.mjs → MazSpinner-DIzWfhcT.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bpkl7q5u.mjs → MazSpinner-DLR4lVAu.mjs} +1 -1
- package/components/chunks/MazSpinner-DP019rLG.mjs +34 -0
- package/components/chunks/{MazSpinner-Bc-lfBcQ.mjs → MazSpinner-DXCofnqs.mjs} +1 -1
- package/components/chunks/MazSpinner-DmeOhZXm.mjs +34 -0
- package/components/chunks/{MazSpinner-Cmy2WyWY.mjs → MazSpinner-DtFpBxRT.mjs} +1 -1
- package/components/chunks/{MazSpinner-CCThMV5o.mjs → MazSpinner-SnOek826.mjs} +1 -1
- package/components/chunks/MazSpinner-ZDRUpUqo.mjs +34 -0
- package/components/chunks/{MazSpinner-BVQYjLWp.mjs → MazSpinner-qRqfN8k4.mjs} +1 -1
- package/components/chunks/{MazTable-Soe-MrTW.mjs → MazTable-BuFlCw1p.mjs} +1 -1
- package/components/chunks/{MazTableCell-DtoO9MOe.mjs → MazTableCell-C6oDOvNH.mjs} +1 -1
- package/components/chunks/{MazTableRow-ChFMulaU.mjs → MazTableRow-BBS8sW7w.mjs} +1 -1
- package/components/chunks/{MazTableTitle-D8El-v5p.mjs → MazTableTitle-D7J-0k_j.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-CRArAQZu.mjs → MazTransitionExpand-BlcqxvGq.mjs} +1 -1
- package/components/index.d.ts +2 -0
- package/components/index.mjs +2 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/chunks/{MazBtn-DoDAW5pU.mjs → MazBtn-BjiQC2PC.mjs} +3 -3
- package/modules/chunks/{MazBtn-BXg6oosO.cjs → MazBtn-BnQrui8R.cjs} +1 -1
- package/modules/chunks/{MazIcon-DPvxTNIQ.cjs → MazIcon-D4oz63T8.cjs} +1 -1
- package/modules/chunks/{MazIcon-0i0FnfM4.mjs → MazIcon-DwFVj44O.mjs} +1 -1
- package/modules/chunks/{MazSpinner-Bkl2lVff.mjs → MazSpinner-7nqeVBxW.mjs} +1 -1
- package/modules/chunks/{MazSpinner-n0cEv2AX.cjs → MazSpinner-B18bQ49b.cjs} +1 -1
- package/modules/chunks/{index-Dx2ZhWwj.mjs → index-D8S1X6Fy.mjs} +4 -4
- package/modules/chunks/{index-pV6oqfJc.cjs → index-IBifh-oY.cjs} +2 -2
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.d.mts +7 -0
- package/nuxt/index.d.ts +7 -0
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +16 -15
- package/package.json +1 -1
- package/types/components/MazAnimatedCounter.vue.d.ts +6 -0
- package/types/components/MazAnimatedElement.vue.d.ts +37 -0
- package/types/components/MazAnimatedText.vue.d.ts +50 -0
- package/types/components/MazChecklist.vue.d.ts +9 -4
- package/types/components/MazSelect.vue.d.ts +7 -2
- package/types/components/index.d.ts +2 -0
- package/components/chunks/MazBtn-CuIeT4TK.mjs +0 -103
- package/components/chunks/MazIcon-Gv6n6i4M.mjs +0 -4
- package/components/chunks/MazSpinner-BqgAfyh1.mjs +0 -34
- package/components/chunks/MazSpinner-C1Rr3w9l.mjs +0 -34
- package/components/chunks/MazSpinner-CBHbVSef.mjs +0 -34
- package/components/chunks/MazSpinner-Da-bE-KC.mjs +0 -34
- package/components/chunks/MazSpinner-DoFpeVcl.mjs +0 -34
- package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +0 -34
- package/components/chunks/MazSpinner-PXSS3XT3.mjs +0 -34
- package/components/chunks/MazSpinner-vDZ0VOEK.mjs +0 -34
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed as f, defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import
|
|
4
|
-
import { _ as
|
|
5
|
-
import '../assets/MazSelect.css';const
|
|
1
|
+
import { computed as f, defineComponent as Le, defineAsyncComponent as $, ref as g, onBeforeMount as we, nextTick as W, withDirectives as Ce, openBlock as V, createElementBlock as I, normalizeClass as q, normalizeStyle as j, createVNode as N, mergeProps as Me, unref as L, withModifiers as M, withCtx as ie, createElementVNode as O, Transition as Ee, createBlock as se, createCommentVNode as Q, renderSlot as G, Fragment as ue, renderList as Te, toDisplayString as re } from "vue";
|
|
2
|
+
import { u as $e } from "./useInstanceUniqId-BkOfxhk8.mjs";
|
|
3
|
+
import ce from "./MazInput-DvaaM9Iq.mjs";
|
|
4
|
+
import { _ as Ne } from "./MazTable-BuFlCw1p.mjs";
|
|
5
|
+
import '../assets/MazSelect.css';const Oe = {
|
|
6
6
|
removeAccents: !0,
|
|
7
7
|
caseSensitive: !1,
|
|
8
8
|
replaceSpaces: !0,
|
|
@@ -13,7 +13,7 @@ import '../assets/MazSelect.css';const Ne = {
|
|
|
13
13
|
customNormalizationForms: ["NFC", "NFKD"]
|
|
14
14
|
};
|
|
15
15
|
function x(u, r) {
|
|
16
|
-
const
|
|
16
|
+
const i = { ...Oe, ...r }, t = {
|
|
17
17
|
À: "A",
|
|
18
18
|
Á: "A",
|
|
19
19
|
Â: "A",
|
|
@@ -63,90 +63,90 @@ function x(u, r) {
|
|
|
63
63
|
ó: "o"
|
|
64
64
|
};
|
|
65
65
|
let n = u.toString();
|
|
66
|
-
if (
|
|
67
|
-
for (const
|
|
68
|
-
n = n.normalize(
|
|
66
|
+
if (i.trim && (n = n.trim()), i.normalizeSpaces && (n = n.replaceAll(/\s+/g, " ")), i.replaceSpaces && (n = n.replaceAll(" ", "-")), i.removeNumbers && (n = n.replaceAll(/\d/g, "")), i.removeAccents && (n = n.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (s) => t[s] || s), n = n.replaceAll(/[\u0300-\u036F]/g, "")), i.caseSensitive === !1 && (n = n.toLowerCase()), i.removeSpecialCharacters && (n = n.replaceAll(/[^\dA-Z-]/gi, "")), i.trim && (n = n.trim()), i.customNormalizationForms)
|
|
67
|
+
for (const s of i.customNormalizationForms)
|
|
68
|
+
n = n.normalize(s);
|
|
69
69
|
return n;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
const
|
|
73
|
-
for (let
|
|
74
|
-
n[
|
|
75
|
-
for (let
|
|
76
|
-
n[0][
|
|
77
|
-
for (let
|
|
71
|
+
function xe(u, r) {
|
|
72
|
+
const i = u.length, t = r.length, n = [];
|
|
73
|
+
for (let s = 0; s <= i; s++)
|
|
74
|
+
n[s] = [s];
|
|
75
|
+
for (let s = 0; s <= t; s++)
|
|
76
|
+
n[0][s] = s;
|
|
77
|
+
for (let s = 1; s <= i; s++)
|
|
78
78
|
for (let m = 1; m <= t; m++) {
|
|
79
|
-
const z = u[
|
|
80
|
-
n[
|
|
81
|
-
n[
|
|
82
|
-
n[
|
|
83
|
-
n[
|
|
79
|
+
const z = u[s - 1] === r[m - 1] ? 0 : 1;
|
|
80
|
+
n[s][m] = Math.min(
|
|
81
|
+
n[s - 1][m] + 1,
|
|
82
|
+
n[s][m - 1] + 1,
|
|
83
|
+
n[s - 1][m - 1] + z
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
|
-
return n[
|
|
86
|
+
return n[i][t];
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
const
|
|
90
|
-
return 1 -
|
|
88
|
+
function de(u, r) {
|
|
89
|
+
const i = xe(u, r), t = Math.max(u.length, r.length);
|
|
90
|
+
return 1 - i / t;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
92
|
+
function Be(u, r, i = 0.75) {
|
|
93
|
+
return de(u, r) >= i;
|
|
94
94
|
}
|
|
95
|
-
function Z(u, r,
|
|
95
|
+
function Z(u, r, i = 0.75) {
|
|
96
96
|
const t = f(
|
|
97
97
|
() => x(typeof u == "string" ? u : u.value)
|
|
98
98
|
), n = f(
|
|
99
99
|
() => x(typeof r == "string" ? r : r.value)
|
|
100
|
-
),
|
|
100
|
+
), s = f(() => typeof i == "number" ? i : i.value), m = f(() => de(t.value, n.value));
|
|
101
101
|
return {
|
|
102
102
|
isMatching: f(
|
|
103
|
-
() =>
|
|
103
|
+
() => Be(t.value, n.value, s.value)
|
|
104
104
|
),
|
|
105
105
|
score: m
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function pe(u, r, i) {
|
|
109
109
|
var m, z;
|
|
110
110
|
u.stopPropagation();
|
|
111
|
-
const t = typeof
|
|
112
|
-
let
|
|
111
|
+
const t = typeof i.value == "function" ? i.value : i.value.handler, n = typeof i.value == "object" ? i.value.exclude : void 0;
|
|
112
|
+
let s = !1;
|
|
113
113
|
if (n && n.length > 0) {
|
|
114
114
|
for (const E of n)
|
|
115
|
-
if (!
|
|
115
|
+
if (!s && u.target instanceof HTMLElement) {
|
|
116
116
|
const h = (m = document.querySelector(E)) == null ? void 0 : m.getAttribute("id");
|
|
117
|
-
|
|
117
|
+
s = (u.target.getAttribute("id") === h || ((z = document.querySelector(E)) == null ? void 0 : z.contains(u.target))) ?? !1;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
!r.contains(u.target) && !
|
|
120
|
+
!r.contains(u.target) && !s && (t == null || t(u));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function fe() {
|
|
123
123
|
return document.ontouchstart === null ? "touchstart" : "click";
|
|
124
124
|
}
|
|
125
|
-
function Be(u, r) {
|
|
126
|
-
const s = pe();
|
|
127
|
-
document.removeEventListener(s, (t) => de(t, u, r));
|
|
128
|
-
}
|
|
129
125
|
function De(u, r) {
|
|
126
|
+
const i = fe();
|
|
127
|
+
document.removeEventListener(i, (t) => pe(t, u, r));
|
|
128
|
+
}
|
|
129
|
+
function He(u, r) {
|
|
130
130
|
if (typeof r.value != "function" && typeof r.value == "object" && typeof r.value.handler != "function") {
|
|
131
131
|
console.error("[maz-ui](vClosable) v-closable directive requires a handler function");
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
|
-
const
|
|
135
|
-
document.addEventListener(
|
|
134
|
+
const i = fe();
|
|
135
|
+
document.addEventListener(i, (t) => pe(t, u, r));
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
mounted:
|
|
139
|
-
unmounted:
|
|
137
|
+
const Fe = {
|
|
138
|
+
mounted: He,
|
|
139
|
+
unmounted: De
|
|
140
140
|
};
|
|
141
141
|
let R = null;
|
|
142
142
|
function Pe(u, r) {
|
|
143
143
|
R && clearTimeout(R), R = setTimeout(u, r);
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, qe = {
|
|
146
146
|
key: 2,
|
|
147
147
|
class: "m-select-list__scroll-wrapper",
|
|
148
148
|
tabindex: "-1"
|
|
149
|
-
},
|
|
149
|
+
}, je = { class: "m-select-list-optgroup" }, Qe = ["onClick"], Ge = /* @__PURE__ */ Le({
|
|
150
150
|
inheritAttrs: !1,
|
|
151
151
|
__name: "MazSelect",
|
|
152
152
|
props: {
|
|
@@ -168,6 +168,7 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
168
168
|
color: { default: "primary" },
|
|
169
169
|
search: { type: Boolean },
|
|
170
170
|
searchPlaceholder: { default: "Search in options" },
|
|
171
|
+
searchFunction: {},
|
|
171
172
|
searchThreshold: { default: 0.75 },
|
|
172
173
|
open: { type: Boolean },
|
|
173
174
|
multiple: { type: Boolean, default: void 0 },
|
|
@@ -178,23 +179,23 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
178
179
|
autocomplete: { default: "off" }
|
|
179
180
|
},
|
|
180
181
|
emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
|
|
181
|
-
setup(u, { expose: r, emit:
|
|
182
|
-
const t = u, n =
|
|
182
|
+
setup(u, { expose: r, emit: i }) {
|
|
183
|
+
const t = u, n = i, s = $(() => import("./MazCheckbox-DafMJoEw.mjs")), m = $(() => import("./magnifying-glass--nBiyXot.mjs")), z = $(() => import("./chevron-down-BkvtON3b.mjs")), E = $(() => import("./no-symbol-CIgKzsrB.mjs"));
|
|
183
184
|
r({
|
|
184
185
|
/** Method to open the option list */
|
|
185
186
|
openList: C,
|
|
186
187
|
/** Method to close the option list */
|
|
187
|
-
closeList:
|
|
188
|
+
closeList: A
|
|
188
189
|
});
|
|
189
190
|
const h = g(!1), d = g(), B = f(
|
|
190
191
|
() => ["black", "transparent", "white"].includes(t.color)
|
|
191
|
-
), fe = f(
|
|
192
|
-
() => B.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
|
|
193
192
|
), me = f(
|
|
194
|
-
() => B.value ? "var(--maz-color-
|
|
193
|
+
() => B.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
|
|
195
194
|
), ve = f(
|
|
195
|
+
() => B.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-100)`
|
|
196
|
+
), ye = f(
|
|
196
197
|
() => B.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-200)`
|
|
197
|
-
), b = f(() => h.value || t.open),
|
|
198
|
+
), b = f(() => h.value || t.open), he = $e({
|
|
198
199
|
componentName: "MazSelect",
|
|
199
200
|
providedId: t.id
|
|
200
201
|
});
|
|
@@ -213,136 +214,136 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
213
214
|
[t.optionInputValueKey]: e[t.optionInputValueKey]
|
|
214
215
|
};
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
if (!((l = t.options) != null && l.length))
|
|
217
|
+
function Y(e) {
|
|
218
|
+
const o = [];
|
|
219
|
+
if (!(e != null && e.length))
|
|
220
220
|
return [];
|
|
221
|
-
for (const
|
|
222
|
-
typeof
|
|
223
|
-
{ label:
|
|
224
|
-
...
|
|
221
|
+
for (const l of e)
|
|
222
|
+
typeof l == "string" || typeof l == "number" || typeof l == "boolean" ? o.push(J(l)) : typeof l == "object" && "options" in l && Array.isArray(l.options) ? o.push(
|
|
223
|
+
{ label: l.label, isOptGroup: !0 },
|
|
224
|
+
...l.options.map(
|
|
225
225
|
(a) => typeof a == "string" || typeof a == "number" || typeof a == "boolean" ? J(a) : X(a)
|
|
226
226
|
)
|
|
227
|
-
) :
|
|
228
|
-
return
|
|
229
|
-
}
|
|
227
|
+
) : o.push(X(l));
|
|
228
|
+
return o;
|
|
229
|
+
}
|
|
230
|
+
const w = f(() => Y(t.options ?? [])), T = f(
|
|
230
231
|
() => {
|
|
231
232
|
var e;
|
|
232
|
-
return ((e =
|
|
233
|
+
return ((e = w.value) == null ? void 0 : e.filter((o) => t.multiple ? Array.isArray(t.modelValue) ? t.modelValue.includes(o[t.optionValueKey]) && !k(o[t.optionValueKey]) : !1 : t.modelValue === o[t.optionValueKey] && !k(o[t.optionValueKey]))) ?? [];
|
|
233
234
|
}
|
|
234
235
|
);
|
|
235
|
-
|
|
236
|
+
we(() => {
|
|
236
237
|
var e;
|
|
237
238
|
(e = t.options) != null && e.length || console.warn("[maz-ui](MazSelect) you must provide options"), U();
|
|
238
239
|
});
|
|
239
|
-
const
|
|
240
|
-
function
|
|
240
|
+
const _ = g(), D = g(), ee = g(), te = g();
|
|
241
|
+
function k(e) {
|
|
241
242
|
return e == null;
|
|
242
243
|
}
|
|
243
244
|
function H(e) {
|
|
244
|
-
var
|
|
245
|
-
return (((
|
|
245
|
+
var l;
|
|
246
|
+
return (((l = T.value) == null ? void 0 : l.some(
|
|
246
247
|
(a) => a[t.optionValueKey] === e[t.optionValueKey]
|
|
247
|
-
)) ?? !1) && !
|
|
248
|
+
)) ?? !1) && !k(e[t.optionValueKey]);
|
|
248
249
|
}
|
|
249
|
-
const
|
|
250
|
-
var
|
|
250
|
+
const be = f(() => {
|
|
251
|
+
var o;
|
|
251
252
|
if (t.multiple && t.modelValue && Array.isArray(t.modelValue))
|
|
252
253
|
return t.modelValue.map(
|
|
253
|
-
(
|
|
254
|
+
(l) => {
|
|
254
255
|
var a, c;
|
|
255
|
-
return (c = (a =
|
|
256
|
+
return (c = (a = w.value) == null ? void 0 : a.find((p) => p[t.optionValueKey] === l)) == null ? void 0 : c[t.optionInputValueKey];
|
|
256
257
|
}
|
|
257
258
|
).join(", ");
|
|
258
|
-
const e = (
|
|
259
|
-
(
|
|
259
|
+
const e = (o = w.value) == null ? void 0 : o.find(
|
|
260
|
+
(l) => l[t.optionValueKey] === t.modelValue
|
|
260
261
|
);
|
|
261
|
-
return
|
|
262
|
-
}),
|
|
262
|
+
return k(t.modelValue) || e == null ? void 0 : e[t.optionInputValueKey];
|
|
263
|
+
}), ge = f(
|
|
263
264
|
() => t.listPosition.includes("bottom") ? "maz-slide" : "maz-slideinvert"
|
|
264
|
-
),
|
|
265
|
-
function
|
|
266
|
-
return
|
|
265
|
+
), K = g(""), S = g("");
|
|
266
|
+
function F(e, o) {
|
|
267
|
+
return o && e && x(e).includes(x(o));
|
|
267
268
|
}
|
|
268
|
-
function
|
|
269
|
-
var
|
|
270
|
-
return e ? (
|
|
271
|
-
const a =
|
|
272
|
-
return
|
|
273
|
-
}) :
|
|
269
|
+
function oe(e) {
|
|
270
|
+
var o;
|
|
271
|
+
return e ? (o = w.value) == null ? void 0 : o.filter((l) => {
|
|
272
|
+
const a = l[t.optionLabelKey], c = l[t.optionValueKey], p = l[t.optionInputValueKey], v = t.searchThreshold;
|
|
273
|
+
return F(a, e) || F(p, e) || F(c, e) || typeof a == "string" && Z(a, e, v).isMatching.value || typeof p == "string" && Z(p, e, v).isMatching.value || typeof c == "string" && Z(c, e, v).isMatching.value;
|
|
274
|
+
}) : w.value;
|
|
274
275
|
}
|
|
275
|
-
const y = f(() =>
|
|
276
|
-
async function
|
|
277
|
-
var
|
|
276
|
+
const y = f(() => t.searchFunction && t.search && K.value ? Y(t.searchFunction(K.value, t.options ?? []) ?? []) : oe(K.value));
|
|
277
|
+
async function A(e) {
|
|
278
|
+
var l, a;
|
|
278
279
|
if (!b.value)
|
|
279
280
|
return;
|
|
280
|
-
if (e && ("relatedTarget" in e && ((
|
|
281
|
+
if (e && ("relatedTarget" in e && ((l = _.value) != null && l.contains(e.relatedTarget)) || e.type === "keydown"))
|
|
281
282
|
return e.preventDefault();
|
|
282
|
-
const
|
|
283
|
-
if ((a = t.excludeSelectors) != null && a.includes(`#${
|
|
283
|
+
const o = e && "relatedTarget" in e && e.relatedTarget instanceof HTMLElement && e.relatedTarget.getAttribute("id");
|
|
284
|
+
if ((a = t.excludeSelectors) != null && a.includes(`#${o}`))
|
|
284
285
|
return e == null ? void 0 : e.preventDefault();
|
|
285
286
|
await W(), h.value = !1, d.value = 0, n("close", e);
|
|
286
287
|
}
|
|
287
288
|
async function C(e) {
|
|
288
|
-
t.disabled || b.value || (e == null || e.preventDefault(), h.value = !0, await
|
|
289
|
+
t.disabled || b.value || (e == null || e.preventDefault(), h.value = !0, await P(), n("focus", e), n("open", h.value));
|
|
289
290
|
}
|
|
290
|
-
function
|
|
291
|
-
var e,
|
|
292
|
-
(
|
|
291
|
+
function le() {
|
|
292
|
+
var e, o;
|
|
293
|
+
(o = ((e = D.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.focus();
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
-
var e,
|
|
296
|
-
(
|
|
297
|
-
}
|
|
298
|
-
function Ve(e) {
|
|
299
|
-
h.value ? S(e) : oe();
|
|
295
|
+
function Ve() {
|
|
296
|
+
var e, o;
|
|
297
|
+
(o = ((e = D.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.dispatchEvent(new Event("input"));
|
|
300
298
|
}
|
|
301
299
|
function ze(e) {
|
|
302
|
-
|
|
303
|
-
w.value = e, (o = ((l = _.value) == null ? void 0 : l.$el).querySelector("input")) == null || o.focus();
|
|
300
|
+
h.value ? A(e) : le();
|
|
304
301
|
}
|
|
305
302
|
function Ke(e) {
|
|
306
|
-
var o;
|
|
307
|
-
e
|
|
308
|
-
const l = te(k.value);
|
|
309
|
-
l != null && l.length && (d.value = (o = y.value) == null ? void 0 : o.findIndex(
|
|
310
|
-
(a) => a[t.optionValueKey] === l[0][t.optionValueKey]
|
|
311
|
-
), typeof d.value == "number" && d.value >= 0 && F(d.value)), Pe(() => {
|
|
312
|
-
k.value = "";
|
|
313
|
-
}, 1e3);
|
|
303
|
+
var o, l;
|
|
304
|
+
K.value = e, (l = ((o = ee.value) == null ? void 0 : o.$el).querySelector("input")) == null || l.focus();
|
|
314
305
|
}
|
|
315
306
|
function ke(e) {
|
|
316
|
-
|
|
317
|
-
|
|
307
|
+
var l;
|
|
308
|
+
e === "Backspace" && S.value.length > 0 ? S.value = S.value.slice(0, -1) : S.value += e;
|
|
309
|
+
const o = oe(S.value);
|
|
310
|
+
o != null && o.length && (d.value = (l = y.value) == null ? void 0 : l.findIndex(
|
|
311
|
+
(a) => a[t.optionValueKey] === o[0][t.optionValueKey]
|
|
312
|
+
), typeof d.value == "number" && d.value >= 0 && P(d.value)), Pe(() => {
|
|
313
|
+
S.value = "";
|
|
314
|
+
}, 1e3);
|
|
315
|
+
}
|
|
316
|
+
function Se(e) {
|
|
317
|
+
const o = e.key;
|
|
318
|
+
/^[\dA-Za-z\u0400-\u04FF]$/.test(o) ? (e.preventDefault(), C(e), t.search ? Ke(o) : ke(o)) : ae(e);
|
|
318
319
|
}
|
|
319
|
-
function
|
|
320
|
-
const
|
|
321
|
-
a ?
|
|
320
|
+
function ae(e, o = !0) {
|
|
321
|
+
const l = e.code, a = ["ArrowUp", "ArrowDown"].includes(l), c = (o ? ["Enter", "Space"] : ["Enter"]).includes(l), p = l === "Escape" && b.value;
|
|
322
|
+
a ? Ae(e, d.value) : c ? Ie(e, d.value) : p && A(e);
|
|
322
323
|
}
|
|
323
|
-
function
|
|
324
|
+
function Ae(e, o) {
|
|
324
325
|
var c;
|
|
325
326
|
e.preventDefault();
|
|
326
|
-
const
|
|
327
|
+
const l = e.code;
|
|
327
328
|
b.value || C(e);
|
|
328
329
|
const a = (c = y.value) == null ? void 0 : c.length;
|
|
329
|
-
a && (typeof
|
|
330
|
+
a && (typeof o == "number" ? o === a - 1 && l === "ArrowDown" ? d.value = 0 : o === 0 && l === "ArrowUp" ? d.value = a - 1 : d.value = l === "ArrowDown" ? o + 1 : o - 1 : d.value = l === "ArrowDown" ? 0 : a - 1, P(d.value));
|
|
330
331
|
}
|
|
331
|
-
function
|
|
332
|
+
function Ie(e, o) {
|
|
332
333
|
var a, c, p;
|
|
333
334
|
if (!b.value)
|
|
334
335
|
return;
|
|
335
336
|
e.preventDefault();
|
|
336
|
-
const
|
|
337
|
-
|
|
337
|
+
const l = o ? ((a = y.value) == null ? void 0 : a[o]) ?? ((c = y.value) == null ? void 0 : c[0]) : (p = y.value) == null ? void 0 : p[0];
|
|
338
|
+
k(l) || ne(l);
|
|
338
339
|
}
|
|
339
|
-
async function
|
|
340
|
-
var
|
|
340
|
+
async function P(e) {
|
|
341
|
+
var l, a;
|
|
341
342
|
await W(), typeof e != "number" && U();
|
|
342
|
-
const
|
|
343
|
-
if (typeof
|
|
344
|
-
const c = (
|
|
345
|
-
(a = c == null ? void 0 : c[
|
|
343
|
+
const o = e ?? d.value;
|
|
344
|
+
if (typeof o == "number" && o >= 0) {
|
|
345
|
+
const c = (l = te.value) == null ? void 0 : l.querySelectorAll(".m-select-list-item");
|
|
346
|
+
(a = c == null ? void 0 : c[o]) == null || a.scrollIntoView({
|
|
346
347
|
behavior: "auto",
|
|
347
348
|
block: "nearest",
|
|
348
349
|
inline: "start"
|
|
@@ -350,41 +351,41 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
350
351
|
}
|
|
351
352
|
}
|
|
352
353
|
function U(e) {
|
|
353
|
-
var
|
|
354
|
-
const
|
|
354
|
+
var l;
|
|
355
|
+
const o = (l = y.value) == null ? void 0 : l.findIndex((a) => {
|
|
355
356
|
var c, p;
|
|
356
357
|
return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === a[t.optionValueKey] : [...t.modelValue].reverse()[0] === a[t.optionValueKey] : ((p = (c = T.value) == null ? void 0 : c[0]) == null ? void 0 : p[t.optionValueKey]) === a[t.optionValueKey];
|
|
357
358
|
});
|
|
358
|
-
d.value =
|
|
359
|
+
d.value = o && o >= 0 ? o : 0;
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
+
function ne(e, o = !0) {
|
|
361
362
|
var p;
|
|
362
|
-
|
|
363
|
-
const
|
|
363
|
+
o && !t.multiple && W(() => A()), K.value = "";
|
|
364
|
+
const l = (p = T.value) == null ? void 0 : p.some(
|
|
364
365
|
(v) => v[t.optionValueKey] === e[t.optionValueKey]
|
|
365
366
|
);
|
|
366
367
|
let a = T.value;
|
|
367
|
-
|
|
368
|
+
l && t.multiple ? a = a == null ? void 0 : a.filter(
|
|
368
369
|
(v) => v[t.optionValueKey] !== e[t.optionValueKey]
|
|
369
370
|
) : t.multiple ? a.push(e) : a = [e];
|
|
370
371
|
const c = a.map((v) => v[t.optionValueKey]);
|
|
371
|
-
n("update:model-value", t.multiple ? c : c[0]), n("selected-option", e),
|
|
372
|
+
n("update:model-value", t.multiple ? c : c[0]), n("selected-option", e), Ve(), U(e), le();
|
|
372
373
|
}
|
|
373
|
-
return (e,
|
|
374
|
+
return (e, o) => Ce((V(), I(
|
|
374
375
|
"div",
|
|
375
376
|
{
|
|
376
377
|
ref_key: "mazSelectElement",
|
|
377
|
-
ref:
|
|
378
|
+
ref: _,
|
|
378
379
|
class: q(["m-select m-reset-css", [
|
|
379
380
|
{ "--is-open": b.value, "--disabled": e.disabled, "--block": e.block },
|
|
380
381
|
t.class,
|
|
381
382
|
`--${e.size}`
|
|
382
383
|
]]),
|
|
383
|
-
style: j([e.style, { "--keyboard-selected-bg-color":
|
|
384
|
+
style: j([e.style, { "--keyboard-selected-bg-color": ye.value, "--selected-bg-color": ve.value, "--selected-text-color": me.value }])
|
|
384
385
|
},
|
|
385
386
|
[
|
|
386
|
-
N(
|
|
387
|
-
id:
|
|
387
|
+
N(ce, Me({
|
|
388
|
+
id: L(he),
|
|
388
389
|
ref_key: "mazInputComponent",
|
|
389
390
|
ref: D,
|
|
390
391
|
class: "m-select-input"
|
|
@@ -392,40 +393,40 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
392
393
|
required: e.required,
|
|
393
394
|
"border-active": h.value,
|
|
394
395
|
color: e.color,
|
|
395
|
-
"model-value":
|
|
396
|
+
"model-value": be.value,
|
|
396
397
|
size: e.size,
|
|
397
398
|
block: "",
|
|
398
399
|
autocomplete: e.autocomplete,
|
|
399
400
|
disabled: e.disabled,
|
|
400
401
|
onFocus: M(C, ["prevent", "stop"]),
|
|
401
|
-
onBlur: M(
|
|
402
|
+
onBlur: M(A, ["prevent", "stop"]),
|
|
402
403
|
onClick: M(C, ["prevent", "stop"]),
|
|
403
|
-
onChange:
|
|
404
|
-
onInput:
|
|
405
|
-
onKeydown:
|
|
404
|
+
onChange: o[0] || (o[0] = (l) => n("change", l)),
|
|
405
|
+
onInput: o[1] || (o[1] = (l) => n("input", l)),
|
|
406
|
+
onKeydown: Se
|
|
406
407
|
}), {
|
|
407
|
-
"right-icon":
|
|
408
|
+
"right-icon": ie(() => [
|
|
408
409
|
O("button", {
|
|
409
410
|
tabindex: "-1",
|
|
410
411
|
type: "button",
|
|
411
412
|
class: "m-select-input__toggle-button maz-custom",
|
|
412
413
|
"aria-label": `${b.value ? "collapse" : "expand"} list of options`,
|
|
413
|
-
onClick: M(
|
|
414
|
+
onClick: M(ze, ["stop"])
|
|
414
415
|
}, [
|
|
415
|
-
N(
|
|
416
|
-
], 8,
|
|
416
|
+
N(L(z), { class: "m-select-chevron maz-text-xl" })
|
|
417
|
+
], 8, Ue)
|
|
417
418
|
]),
|
|
418
419
|
_: 1
|
|
419
420
|
/* STABLE */
|
|
420
421
|
}, 16, ["id", "required", "border-active", "color", "model-value", "size", "autocomplete", "disabled"]),
|
|
421
|
-
N(
|
|
422
|
-
default:
|
|
423
|
-
b.value ? (V(),
|
|
422
|
+
N(Ee, { name: ge.value }, {
|
|
423
|
+
default: ie(() => [
|
|
424
|
+
b.value ? (V(), I(
|
|
424
425
|
"div",
|
|
425
426
|
{
|
|
426
427
|
key: 0,
|
|
427
|
-
ref_key: "
|
|
428
|
-
ref:
|
|
428
|
+
ref_key: "optionListElement",
|
|
429
|
+
ref: te,
|
|
429
430
|
class: q(["m-select-list", {
|
|
430
431
|
"--top": e.listPosition.includes("top"),
|
|
431
432
|
"--left": e.listPosition.includes("left"),
|
|
@@ -440,14 +441,14 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
440
441
|
})
|
|
441
442
|
},
|
|
442
443
|
[
|
|
443
|
-
e.search ? (V(), se(
|
|
444
|
+
e.search ? (V(), se(ce, {
|
|
444
445
|
key: 0,
|
|
445
446
|
ref_key: "searchInputComponent",
|
|
446
|
-
ref:
|
|
447
|
-
modelValue:
|
|
447
|
+
ref: ee,
|
|
448
|
+
modelValue: K.value,
|
|
448
449
|
"onUpdate:modelValue": [
|
|
449
|
-
|
|
450
|
-
|
|
450
|
+
o[2] || (o[2] = (l) => K.value = l),
|
|
451
|
+
o[4] || (o[4] = (l) => d.value = 0)
|
|
451
452
|
],
|
|
452
453
|
size: "sm",
|
|
453
454
|
color: e.color,
|
|
@@ -458,66 +459,66 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
458
459
|
autocomplete: "off",
|
|
459
460
|
tabindex: "-1",
|
|
460
461
|
class: "m-select-list__search-input maz-flex-none",
|
|
461
|
-
"left-icon":
|
|
462
|
-
onKeydown:
|
|
462
|
+
"left-icon": L(m),
|
|
463
|
+
onKeydown: o[3] || (o[3] = (l) => ae(l, !1))
|
|
463
464
|
}, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : Q("v-if", !0),
|
|
464
465
|
!y.value || y.value.length <= 0 ? G(e.$slots, "no-results", { key: 1 }, () => [
|
|
465
|
-
O("span",
|
|
466
|
-
N(
|
|
466
|
+
O("span", We, [
|
|
467
|
+
N(L(E), { class: "maz-h-6 maz-w-6 maz-text-normal" })
|
|
467
468
|
])
|
|
468
|
-
], !0) : (V(),
|
|
469
|
-
(V(!0),
|
|
470
|
-
|
|
469
|
+
], !0) : (V(), I("div", qe, [
|
|
470
|
+
(V(!0), I(
|
|
471
|
+
ue,
|
|
471
472
|
null,
|
|
472
|
-
|
|
473
|
-
|
|
473
|
+
Te(y.value, (l, a) => (V(), I(
|
|
474
|
+
ue,
|
|
474
475
|
{ key: a },
|
|
475
476
|
[
|
|
476
|
-
|
|
477
|
+
l.label && l.isOptGroup ? G(e.$slots, "optgroup", {
|
|
477
478
|
key: 0,
|
|
478
|
-
label:
|
|
479
|
+
label: l.label
|
|
479
480
|
}, () => [
|
|
480
481
|
O(
|
|
481
482
|
"span",
|
|
482
|
-
|
|
483
|
-
|
|
483
|
+
je,
|
|
484
|
+
re(l.label),
|
|
484
485
|
1
|
|
485
486
|
/* TEXT */
|
|
486
487
|
)
|
|
487
|
-
], !0) : (V(),
|
|
488
|
+
], !0) : (V(), I("button", {
|
|
488
489
|
key: 1,
|
|
489
490
|
tabindex: "-1",
|
|
490
491
|
type: "button",
|
|
491
492
|
class: q(["m-select-list-item maz-custom maz-flex-none", [
|
|
492
493
|
{
|
|
493
494
|
"--is-keyboard-selected": d.value === a,
|
|
494
|
-
"--is-selected": H(
|
|
495
|
-
"--is-none-value":
|
|
495
|
+
"--is-selected": H(l),
|
|
496
|
+
"--is-none-value": k(l[e.optionValueKey])
|
|
496
497
|
}
|
|
497
498
|
]]),
|
|
498
499
|
style: j(e.itemHeight ? { height: `${e.itemHeight}px` } : void 0),
|
|
499
|
-
onClick: M((c) =>
|
|
500
|
+
onClick: M((c) => ne(l), ["prevent", "stop"])
|
|
500
501
|
}, [
|
|
501
|
-
e.multiple ? (V(), se(
|
|
502
|
+
e.multiple ? (V(), se(L(s), {
|
|
502
503
|
key: 0,
|
|
503
504
|
tabindex: "-1",
|
|
504
|
-
"model-value": H(
|
|
505
|
+
"model-value": H(l),
|
|
505
506
|
size: "sm",
|
|
506
507
|
color: e.color
|
|
507
508
|
}, null, 8, ["model-value", "color"])) : Q("v-if", !0),
|
|
508
509
|
G(e.$slots, "default", {
|
|
509
|
-
option:
|
|
510
|
-
isSelected: H(
|
|
510
|
+
option: l,
|
|
511
|
+
isSelected: H(l)
|
|
511
512
|
}, () => [
|
|
512
513
|
O(
|
|
513
514
|
"span",
|
|
514
515
|
null,
|
|
515
|
-
|
|
516
|
+
re(l[e.optionLabelKey]),
|
|
516
517
|
1
|
|
517
518
|
/* TEXT */
|
|
518
519
|
)
|
|
519
520
|
], !0)
|
|
520
|
-
], 14,
|
|
521
|
+
], 14, Qe))
|
|
521
522
|
],
|
|
522
523
|
64
|
|
523
524
|
/* STABLE_FRAGMENT */
|
|
@@ -538,13 +539,13 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
538
539
|
6
|
|
539
540
|
/* CLASS, STYLE */
|
|
540
541
|
)), [
|
|
541
|
-
[
|
|
542
|
+
[L(Fe), {
|
|
542
543
|
exclude: e.excludeSelectors,
|
|
543
|
-
handler:
|
|
544
|
+
handler: A
|
|
544
545
|
}]
|
|
545
546
|
]);
|
|
546
547
|
}
|
|
547
|
-
}),
|
|
548
|
+
}), Ye = /* @__PURE__ */ Ne(Ge, [["__scopeId", "data-v-98157b75"]]);
|
|
548
549
|
export {
|
|
549
|
-
|
|
550
|
+
Ye as default
|
|
550
551
|
};
|