@revolugo/elements 6.8.2-beta.2 → 6.8.2-beta.20
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/dist/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
- package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/index.es.min.js +955 -950
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.B8DzmtV9.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.Wlqp4FTo.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.LM4-g1ZZ.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js +149 -0
- package/dist/revolugo.bhoteloffersfilterbar.BicCxI8N.min.js +4828 -0
- package/dist/{revolugo.bhotelroomsdetails.CIrHX2gV.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +30 -29
- package/dist/{revolugo.bhotelsearchbar.C13oDjtG.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.7CkcgWwo.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +43 -44
- package/dist/{revolugo.bookingdetailssidebar.CUUn4s4-.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.DXxWIXgM.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +17 -17
- package/dist/{revolugo.bookingmanager.XzKdmEGC.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +27 -27
- package/dist/{revolugo.bpricesummaryskeleton.Pw1KklrO.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.QK7fmKOX.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
- package/dist/{revolugo.btag.BlnXqK92.min.js → revolugo.btag.BtFT2zF9.min.js} +50 -48
- package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
- package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.BUvqjY8w.min.js +25 -0
- package/dist/{revolugo.cancellationpolicieslist.DAK9-C1m.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/{revolugo.case-transformers.CaS4ky3X.min.js → revolugo.case-transformers.C-f7xgel.min.js} +6 -6
- package/dist/{revolugo.creditcardform.BXRZJQF_.min.js → revolugo.creditcardform.DqHW63kH.min.js} +30 -30
- package/dist/{revolugo.creditcardform.D-fRTOrm.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.CRromYFa.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +42 -40
- package/dist/{revolugo.creditcardpayment.Bsql13Mx.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
- package/dist/{revolugo.currencypicker.CsT_8v5-.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.Aj3BIx0O.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +17 -17
- package/dist/{revolugo.currencypickerbtn.DzlyztKv.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.x4Fmvtqd.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +29 -29
- package/dist/{revolugo.dialog-attach.Co46EBCo.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.0tZlTOrr.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +5 -5
- package/dist/{revolugo.fastbookingflow.4VeLCGPk.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.DAq8AAkm.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
- package/dist/revolugo.hotel-offer-request.DA93cyGO.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.AQBQyXPB.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.E3zF9kIE.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
- package/dist/{revolugo.hotelofferitemlayout.5S0g-y3x.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.Bu6FD5xa.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +40 -41
- package/dist/{revolugo.hotelofferlist.DuMKQigB.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CfAv9XnZ.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +16 -15
- package/dist/revolugo.hoteloffersearchmenu.CrmGRkpc.min.js +47 -0
- package/dist/{revolugo.hoteloffersmap.TeFeFBWz.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +29 -29
- package/dist/{revolugo.hoteloffersmap.DzTHDAHc.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.EuoGAY9l.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +44 -42
- package/dist/{revolugo.hoteloffersview.Cu1O149f.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.BJqvvAma.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
- package/dist/{revolugo.hotelroomofferlist.DK_BQbGq.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.Ccv-RhW2.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.DXXUhSNA.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +54 -54
- package/dist/{revolugo.hotelroomoffersearchmenu.4yTsOswX.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.CoLuLIMc.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.Bz5IYKc_.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.Bt9PEOK9.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
- package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
- package/dist/{revolugo.index.wc.bYWqzpa9.min.js → revolugo.index.wc.CiMMOIKO.min.js} +10712 -11261
- package/dist/{revolugo.langpicker.C1EJvnOl.min.js → revolugo.langpicker.BPdYOoqh.min.js} +8 -8
- package/dist/{revolugo.langpickerbtn.Ixx1UaN0.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.C7tqnw1r.min.js → revolugo.langpickerbtn.toIVNsWj.min.js} +19 -18
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CC3sbpgo.min.js +58 -0
- package/dist/{revolugo.prebookform.CLrYWsEI.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
- package/dist/{revolugo.prebookform.DZe8r8L5.min.js → revolugo.prebookform.mTgAZy4b.min.js} +20 -20
- package/dist/{revolugo.roominglisteditor.DrtcIDro.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +11 -11
- package/dist/{revolugo.roominglisteditor.CXO-5pa_.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
- package/dist/{revolugo.rounded.B5lCsIO9.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
- package/dist/{revolugo.ssrboot.C0z_e7XY.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.SCyQu-ny.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +110 -106
- package/dist/{revolugo.termsandconditions.CmukXjqj.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.CSw8Xh23.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
- package/dist/{revolugo.vautocomplete.BFtq5sO7.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +104 -103
- package/dist/{revolugo.vbadge.BOSot4-b.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +14 -14
- package/dist/{revolugo.vbtn.Cza72F9l.min.js → revolugo.vbtn.CJwuvbOT.min.js} +65 -65
- package/dist/{revolugo.vcard.BSYS4EA_.min.js → revolugo.vcard.C8hpUlD-.min.js} +35 -35
- package/dist/{revolugo.vcheckboxbtn.JRn2QIIO.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +86 -86
- package/dist/{revolugo.vdialog.BuVoy1kx.min.js → revolugo.vdialog.CEfREygA.min.js} +25 -25
- package/dist/{revolugo.vdivider.Cu5FddvH.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.DRWQoRqv.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +41 -40
- package/dist/{revolugo.vform.CrnbE-uW.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
- package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
- package/dist/{revolugo.vinput.DkajuwSz.min.js → revolugo.vinput.CWfOSxlF.min.js} +74 -73
- package/dist/{revolugo.vlabel.7WIO1jsu.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
- package/dist/{revolugo.vlist.DnEUr3NP.min.js → revolugo.vlist.cF1CYOBP.min.js} +115 -115
- package/dist/{revolugo.vmenu.DwlJhNjf.min.js → revolugo.vmenu.B-rlxBKf.min.js} +24 -24
- package/dist/{revolugo.vselect.BjWXKuR5.min.js → revolugo.vselect.D17E4jI-.min.js} +76 -75
- package/dist/{revolugo.vsheet.CFHcDuin.min.js → revolugo.vsheet.Div5lkVz.min.js} +10 -10
- package/dist/{revolugo.vskeletonloader.Dc9OKBJf.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +6 -6
- package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
- package/dist/{revolugo.vsnackbar.BVKj6AMI.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +49 -50
- package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
- package/dist/{revolugo.vtextarea.C5zyz0TO.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +61 -61
- package/dist/{revolugo.vtextfield.vgSHKzqU.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +88 -89
- package/dist/{revolugo.vtoolbar.DoJvdCrr.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +20 -20
- package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
- package/dist/{revolugo.vwindowitem.CFcKwvRo.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +34 -34
- package/dist/{revolugo.watch-list.BitKjhcw.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.D4MvwGCF.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +229 -229
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.h_U_D6QC.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.B634G2s-.min.js +0 -4689
- package/dist/revolugo.cancellationpoliciesbadge.B55YrKSM.min.js +0 -24
- package/dist/revolugo.cancellationpoliciesbadge.BeG5kBuD.min.js +0 -225
- package/dist/revolugo.cancellationpolicieslist.vBYt57IZ.min.js +0 -24
- package/dist/revolugo.hoteloffersearchmenu.C6_HA-G2.min.js +0 -46
- package/dist/revolugo.index.CfWiJy_P.min.js +0 -13
- package/dist/revolugo.index.D74NQ89L.min.js +0 -1037
- package/dist/revolugo.position.Dh9P2x6G.min.js +0 -322
- package/dist/revolugo.use-breakpoint-service.Dw3a-dJy.min.js +0 -106
- package/dist/revolugo.vspacer.DnTRCwot.min.js +0 -7
- package/dist/revolugo.vtooltip.BM8L9U_D.min.js +0 -395
package/dist/{revolugo.vautocomplete.BFtq5sO7.min.js → revolugo.vautocomplete.CfEbI9wx.min.js}
RENAMED
@@ -1,14 +1,15 @@
|
|
1
|
-
import { u as Ce, m as Ee, a as xe } from "./revolugo.vselect.
|
2
|
-
import { c as Me, V as le } from "./revolugo.vtextfield.
|
3
|
-
import { d as Ie, u as
|
4
|
-
import {
|
5
|
-
import { b as Be } from "./revolugo.vinput.
|
6
|
-
import { f as
|
7
|
-
import { u as
|
8
|
-
import { V as re
|
9
|
-
import { V as Qe } from "./revolugo.vmenu.
|
10
|
-
import { a as
|
11
|
-
import {
|
1
|
+
import { u as Ce, m as Ee, a as xe } from "./revolugo.vselect.D17E4jI-.min.js";
|
2
|
+
import { c as Me, V as le } from "./revolugo.vtextfield.Bf1HO6ah.min.js";
|
3
|
+
import { d as Ie, u as Le, p as _e } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
4
|
+
import { Y as ie, a3 as O, D as F, J as Y, a6 as Oe, a1 as q, aU as Ae, X as Pe, aa as Re, C as G, a0 as Z, L as z, a4 as Te, a as s, y as P, bM as ae, bN as ne, bO as De, Q as ue, bu as Ke, F as Q, bP as Ne, bQ as Ue, f as je } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
5
|
+
import { b as Be } from "./revolugo.vinput.CWfOSxlF.min.js";
|
6
|
+
import { f as Ye } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
7
|
+
import { u as Ge, a as ze, V as oe } from "./revolugo.vlist.cF1CYOBP.min.js";
|
8
|
+
import { V as re } from "./revolugo.vicon.BnJaIb_1.min.js";
|
9
|
+
import { V as Qe } from "./revolugo.vmenu.B-rlxBKf.min.js";
|
10
|
+
import { a as He } from "./revolugo.vcheckboxbtn.Z5a_U9n0.min.js";
|
11
|
+
import { h as Je, a as We } from "./revolugo.index.CxQvHaJF.min.js";
|
12
|
+
import { V as Xe } from "./revolugo.btag.BtFT2zF9.min.js";
|
12
13
|
function Fe(e) {
|
13
14
|
try {
|
14
15
|
if (typeof document < "u") {
|
@@ -29,7 +30,7 @@ function Fe(e) {
|
|
29
30
|
console.error("[revolugo-elements] ", r);
|
30
31
|
}
|
31
32
|
}
|
32
|
-
const $e = (e, r, l) => e == null || r == null ? -1 : e.toString().toLocaleLowerCase().indexOf(r.toString().toLocaleLowerCase()),
|
33
|
+
const $e = (e, r, l) => e == null || r == null ? -1 : e.toString().toLocaleLowerCase().indexOf(r.toString().toLocaleLowerCase()), Ze = ie({
|
33
34
|
customFilter: Function,
|
34
35
|
customKeyFilter: Object,
|
35
36
|
filterKeys: [Array, String],
|
@@ -44,53 +45,53 @@ function qe(e, r, l) {
|
|
44
45
|
const g = [], m = (l == null ? void 0 : l.default) ?? $e, y = l != null && l.filterKeys ? q(l.filterKeys) : !1, V = Object.keys((l == null ? void 0 : l.customKeyFilter) ?? {}).length;
|
45
46
|
if (!(e != null && e.length)) return g;
|
46
47
|
e: for (let S = 0; S < e.length; S++) {
|
47
|
-
const [w, M = w] = q(e[S]),
|
48
|
+
const [w, M = w] = q(e[S]), i = {}, u = {};
|
48
49
|
let p = -1;
|
49
50
|
if ((r || V > 0) && !(l != null && l.noFilter)) {
|
50
51
|
if (typeof w == "object") {
|
51
|
-
const
|
52
|
-
for (const C of
|
53
|
-
const K =
|
52
|
+
const R = y || Object.keys(M);
|
53
|
+
for (const C of R) {
|
54
|
+
const K = Ae(M, C), T = (x = l == null ? void 0 : l.customKeyFilter) == null ? void 0 : x[C];
|
54
55
|
if (p = T ? T(K, r, w) : m(K, r, w), p !== -1 && p !== !1)
|
55
|
-
T ?
|
56
|
+
T ? i[C] = p : u[C] = p;
|
56
57
|
else if ((l == null ? void 0 : l.filterMode) === "every")
|
57
58
|
continue e;
|
58
59
|
}
|
59
60
|
} else
|
60
61
|
p = m(w, r, w), p !== -1 && p !== !1 && (u.title = p);
|
61
|
-
const I = Object.keys(u).length,
|
62
|
-
if (!I && !
|
62
|
+
const I = Object.keys(u).length, L = Object.keys(i).length;
|
63
|
+
if (!I && !L || (l == null ? void 0 : l.filterMode) === "union" && L !== V && !I || (l == null ? void 0 : l.filterMode) === "intersection" && (L !== V || !I)) continue;
|
63
64
|
}
|
64
65
|
g.push({
|
65
66
|
index: S,
|
66
67
|
matches: {
|
67
68
|
...u,
|
68
|
-
...
|
69
|
+
...i
|
69
70
|
}
|
70
71
|
});
|
71
72
|
}
|
72
73
|
return g;
|
73
74
|
}
|
74
75
|
function et(e, r, l, g) {
|
75
|
-
const m =
|
76
|
-
|
77
|
-
const S = typeof l == "function" ? l() :
|
76
|
+
const m = O([]), y = O(/* @__PURE__ */ new Map()), V = F(() => Y(r));
|
77
|
+
Oe(() => {
|
78
|
+
const S = typeof l == "function" ? l() : Y(l), w = typeof S != "string" && typeof S != "number" ? "" : String(S), M = qe(V.value, w, {
|
78
79
|
customKeyFilter: {
|
79
80
|
...e.customKeyFilter,
|
80
|
-
...
|
81
|
+
...Y(g == null ? void 0 : g.customKeyFilter)
|
81
82
|
},
|
82
83
|
default: e.customFilter,
|
83
84
|
filterKeys: e.filterKeys,
|
84
85
|
filterMode: e.filterMode,
|
85
86
|
noFilter: e.noFilter
|
86
|
-
}),
|
87
|
+
}), i = Y(r), u = [], p = /* @__PURE__ */ new Map();
|
87
88
|
M.forEach((I) => {
|
88
89
|
let {
|
89
|
-
index:
|
90
|
-
matches:
|
90
|
+
index: L,
|
91
|
+
matches: R
|
91
92
|
} = I;
|
92
|
-
const C =
|
93
|
-
u.push(C), p.set(C.value,
|
93
|
+
const C = i[L];
|
94
|
+
u.push(C), p.set(C.value, R);
|
94
95
|
}), m.value = u, y.value = p;
|
95
96
|
});
|
96
97
|
function x(S) {
|
@@ -105,21 +106,21 @@ function et(e, r, l, g) {
|
|
105
106
|
function tt(e, r, l) {
|
106
107
|
if (r == null) return e;
|
107
108
|
if (Array.isArray(r)) throw new Error("Multiple matches is not implemented");
|
108
|
-
return typeof r == "number" && ~r ?
|
109
|
+
return typeof r == "number" && ~r ? s(Q, null, [s("span", {
|
109
110
|
class: "v-autocomplete__unmask"
|
110
|
-
}, [e.substr(0, r)]),
|
111
|
+
}, [e.substr(0, r)]), s("span", {
|
111
112
|
class: "v-autocomplete__mask"
|
112
|
-
}, [e.substr(r, l)]),
|
113
|
+
}, [e.substr(r, l)]), s("span", {
|
113
114
|
class: "v-autocomplete__unmask"
|
114
115
|
}, [e.substr(r + l)])]) : e;
|
115
116
|
}
|
116
|
-
const lt =
|
117
|
+
const lt = ie({
|
117
118
|
autoSelectFirst: {
|
118
119
|
type: [Boolean, String]
|
119
120
|
},
|
120
121
|
clearOnSelect: Boolean,
|
121
122
|
search: String,
|
122
|
-
...
|
123
|
+
...Ze({
|
123
124
|
filterKeys: ["title"]
|
124
125
|
}),
|
125
126
|
...Ee(),
|
@@ -127,10 +128,10 @@ const lt = se({
|
|
127
128
|
modelValue: null,
|
128
129
|
role: "combobox"
|
129
130
|
}), ["validationValue", "dirty", "appendInnerIcon"]),
|
130
|
-
...
|
131
|
+
..._e({
|
131
132
|
transition: !1
|
132
133
|
})
|
133
|
-
}, "VAutocomplete"),
|
134
|
+
}, "VAutocomplete"), ht = Pe()({
|
134
135
|
name: "VAutocomplete",
|
135
136
|
props: lt(),
|
136
137
|
emits: {
|
@@ -145,40 +146,40 @@ const lt = se({
|
|
145
146
|
} = r;
|
146
147
|
const {
|
147
148
|
t: g
|
148
|
-
} =
|
149
|
+
} = Re(), m = G(), y = O(!1), V = O(!0), x = O(!1), S = G(), w = G(), M = Z(e, "menu"), i = F({
|
149
150
|
get: () => M.value,
|
150
151
|
set: (t) => {
|
151
152
|
var a;
|
152
153
|
M.value && !t && ((a = S.value) != null && a.ΨopenChildren.size) || (M.value = t);
|
153
154
|
}
|
154
|
-
}), u =
|
155
|
+
}), u = O(-1), p = F(() => {
|
155
156
|
var t;
|
156
157
|
return (t = m.value) == null ? void 0 : t.color;
|
157
|
-
}), I = F(() =>
|
158
|
-
items:
|
159
|
-
transformIn:
|
158
|
+
}), I = F(() => i.value ? e.closeText : e.openText), {
|
159
|
+
items: L,
|
160
|
+
transformIn: R,
|
160
161
|
transformOut: C
|
161
|
-
} =
|
162
|
+
} = Ge(e), {
|
162
163
|
textColorClasses: K,
|
163
164
|
textColorStyles: T
|
164
|
-
} = Ie(p), v =
|
165
|
+
} = Ie(p), v = Z(e, "search", ""), o = Z(e, "modelValue", [], (t) => R(t === null ? [null] : q(t)), (t) => {
|
165
166
|
const a = C(t);
|
166
167
|
return e.multiple ? a : a[0] ?? null;
|
167
|
-
}),
|
168
|
-
filteredItems:
|
168
|
+
}), se = F(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : o.value.length), N = Be(e), {
|
169
|
+
filteredItems: H,
|
169
170
|
getMatches: ce
|
170
|
-
} = et(e,
|
171
|
+
} = et(e, L, () => V.value ? "" : v.value), E = F(() => e.hideSelected ? H.value.filter((t) => !o.value.some((a) => a.value === t.value)) : H.value), U = F(() => !!(e.chips || l.chip)), D = F(() => U.value || !!l.selection), fe = F(() => o.value.map((t) => t.props.value)), J = F(() => {
|
171
172
|
var a;
|
172
173
|
return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && v.value === ((a = E.value[0]) == null ? void 0 : a.title)) && E.value.length > 0 && !V.value && !x.value;
|
173
|
-
}), W = F(() => e.hideNoData && !E.value.length ||
|
174
|
+
}), W = F(() => e.hideNoData && !E.value.length || N.isReadonly.value || N.isDisabled.value), X = G(), ve = Ce(X, m);
|
174
175
|
function de(t) {
|
175
|
-
e.openOnClear && (
|
176
|
+
e.openOnClear && (i.value = !0), v.value = "";
|
176
177
|
}
|
177
178
|
function me() {
|
178
|
-
W.value || (
|
179
|
+
W.value || (i.value = !0);
|
179
180
|
}
|
180
181
|
function he(t) {
|
181
|
-
W.value || (y.value && (t.preventDefault(), t.stopPropagation()),
|
182
|
+
W.value || (y.value && (t.preventDefault(), t.stopPropagation()), i.value = !i.value);
|
182
183
|
}
|
183
184
|
function ge(t) {
|
184
185
|
var a;
|
@@ -186,19 +187,19 @@ const lt = se({
|
|
186
187
|
}
|
187
188
|
function ye(t) {
|
188
189
|
var n, c, k;
|
189
|
-
if (
|
190
|
+
if (N.isReadonly.value) return;
|
190
191
|
const a = m.value.selectionStart, f = o.value.length;
|
191
|
-
if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (
|
192
|
+
if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (i.value = !0), ["Escape"].includes(t.key) && (i.value = !1), J.value && ["Enter", "Tab"].includes(t.key) && !o.value.some((d) => {
|
192
193
|
let {
|
193
194
|
value: h
|
194
195
|
} = d;
|
195
196
|
return h === E.value[0].value;
|
196
|
-
}) &&
|
197
|
-
if (!e.multiple && D.value && o.value.length > 0 && !v.value) return
|
197
|
+
}) && _(E.value[0]), t.key === "ArrowDown" && J.value && ((n = X.value) == null || n.focus("next")), ["Backspace", "Delete"].includes(t.key)) {
|
198
|
+
if (!e.multiple && D.value && o.value.length > 0 && !v.value) return _(o.value[0], !1);
|
198
199
|
if (~u.value) {
|
199
200
|
t.preventDefault();
|
200
201
|
const d = u.value;
|
201
|
-
|
202
|
+
_(o.value[u.value], !1), u.value = d >= f - 1 ? f - 2 : d;
|
202
203
|
} else t.key === "Backspace" && !v.value && (u.value = f - 1);
|
203
204
|
return;
|
204
205
|
}
|
@@ -215,8 +216,8 @@ const lt = se({
|
|
215
216
|
}
|
216
217
|
function Ve(t) {
|
217
218
|
if (ne(m.value, ":autofill") || ne(m.value, ":-webkit-autofill")) {
|
218
|
-
const a =
|
219
|
-
a &&
|
219
|
+
const a = L.value.find((f) => f.title === t.target.value);
|
220
|
+
a && _(a);
|
220
221
|
}
|
221
222
|
}
|
222
223
|
function pe() {
|
@@ -238,8 +239,8 @@ const lt = se({
|
|
238
239
|
function we(t) {
|
239
240
|
(t == null || t === "" && !e.multiple && !D.value) && (o.value = []);
|
240
241
|
}
|
241
|
-
const $ =
|
242
|
-
function
|
242
|
+
const $ = O(!1);
|
243
|
+
function _(t) {
|
243
244
|
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
244
245
|
if (!(!t || t.props.disabled))
|
245
246
|
if (e.multiple) {
|
@@ -252,22 +253,22 @@ const lt = se({
|
|
252
253
|
} else {
|
253
254
|
const f = a !== !1;
|
254
255
|
o.value = f ? [t] : [], v.value = f && !D.value ? t.title : "", ue(() => {
|
255
|
-
|
256
|
+
i.value = !1, V.value = !0;
|
256
257
|
});
|
257
258
|
}
|
258
259
|
}
|
259
260
|
return z(y, (t, a) => {
|
260
261
|
var f;
|
261
|
-
t !== a && (t ? ($.value = !0, v.value = e.multiple || D.value ? "" : String(((f = o.value.at(-1)) == null ? void 0 : f.props.title) ?? ""), V.value = !0, ue(() => $.value = !1)) : (!e.multiple && v.value == null && (o.value = []),
|
262
|
+
t !== a && (t ? ($.value = !0, v.value = e.multiple || D.value ? "" : String(((f = o.value.at(-1)) == null ? void 0 : f.props.title) ?? ""), V.value = !0, ue(() => $.value = !1)) : (!e.multiple && v.value == null && (o.value = []), i.value = !1, o.value.some((n) => {
|
262
263
|
let {
|
263
264
|
title: c
|
264
265
|
} = n;
|
265
266
|
return c === v.value;
|
266
267
|
}) || (v.value = ""), u.value = -1));
|
267
268
|
}), z(v, (t) => {
|
268
|
-
!y.value || $.value || (t && (
|
269
|
-
}), z(
|
270
|
-
if (!e.hideSelected &&
|
269
|
+
!y.value || $.value || (t && (i.value = !0), V.value = !t);
|
270
|
+
}), z(i, () => {
|
271
|
+
if (!e.hideSelected && i.value && o.value.length) {
|
271
272
|
const t = E.value.findIndex((a) => o.value.some((f) => a.value === f.value));
|
272
273
|
Ke && window.requestAnimationFrame(() => {
|
273
274
|
var a;
|
@@ -275,10 +276,10 @@ const lt = se({
|
|
275
276
|
});
|
276
277
|
}
|
277
278
|
}), z(() => e.items, (t, a) => {
|
278
|
-
|
279
|
-
}),
|
279
|
+
i.value || y.value && !a.length && t.length && (i.value = !0);
|
280
|
+
}), Le(() => {
|
280
281
|
const t = !!(!e.hideNoData || E.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), a = o.value.length > 0, f = le.filterProps(e);
|
281
|
-
return
|
282
|
+
return s(le, P({
|
282
283
|
ref: m
|
283
284
|
}, f, {
|
284
285
|
modelValue: v.value,
|
@@ -286,27 +287,27 @@ const lt = se({
|
|
286
287
|
focused: y.value,
|
287
288
|
"onUpdate:focused": (n) => y.value = n,
|
288
289
|
validationValue: o.externalValue,
|
289
|
-
counterValue:
|
290
|
+
counterValue: se.value,
|
290
291
|
dirty: a,
|
291
292
|
onChange: Ve,
|
292
293
|
class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
|
293
|
-
"v-autocomplete--active-menu":
|
294
|
+
"v-autocomplete--active-menu": i.value,
|
294
295
|
"v-autocomplete--chips": !!e.chips,
|
295
296
|
"v-autocomplete--selection-slot": !!D.value,
|
296
297
|
"v-autocomplete--selecting-index": u.value > -1
|
297
298
|
}, e.class],
|
298
299
|
style: e.style,
|
299
|
-
readonly:
|
300
|
+
readonly: N.isReadonly.value,
|
300
301
|
placeholder: a ? void 0 : e.placeholder,
|
301
302
|
"onClick:clear": de,
|
302
303
|
"onMousedown:control": me,
|
303
304
|
onKeydown: ye
|
304
305
|
}), {
|
305
306
|
...l,
|
306
|
-
default: () =>
|
307
|
+
default: () => s(Q, null, [s(Qe, P({
|
307
308
|
ref: S,
|
308
|
-
modelValue:
|
309
|
-
"onUpdate:modelValue": (n) =>
|
309
|
+
modelValue: i.value,
|
310
|
+
"onUpdate:modelValue": (n) => i.value = n,
|
310
311
|
activator: "parent",
|
311
312
|
contentClass: "v-autocomplete__content",
|
312
313
|
disabled: W.value,
|
@@ -318,8 +319,8 @@ const lt = se({
|
|
318
319
|
onAfterEnter: pe,
|
319
320
|
onAfterLeave: Se
|
320
321
|
}, e.menuProps), {
|
321
|
-
default: () => [t &&
|
322
|
-
ref:
|
322
|
+
default: () => [t && s(ze, P({
|
323
|
+
ref: X,
|
323
324
|
selected: fe.value,
|
324
325
|
selectStrategy: e.multiple ? "independent" : "single-independent",
|
325
326
|
onMousedown: (n) => n.preventDefault(),
|
@@ -332,10 +333,10 @@ const lt = se({
|
|
332
333
|
}, ve, e.listProps), {
|
333
334
|
default: () => {
|
334
335
|
var n, c, k;
|
335
|
-
return [(n = l["prepend-item"]) == null ? void 0 : n.call(l), !E.value.length && !e.hideNoData && (((c = l["no-data"]) == null ? void 0 : c.call(l)) ??
|
336
|
+
return [(n = l["prepend-item"]) == null ? void 0 : n.call(l), !E.value.length && !e.hideNoData && (((c = l["no-data"]) == null ? void 0 : c.call(l)) ?? s(oe, {
|
336
337
|
key: "no-data",
|
337
338
|
title: g(e.noDataText)
|
338
|
-
}, null)),
|
339
|
+
}, null)), s(xe, {
|
339
340
|
ref: w,
|
340
341
|
renderless: !0,
|
341
342
|
items: E.value
|
@@ -344,34 +345,34 @@ const lt = se({
|
|
344
345
|
var te;
|
345
346
|
let {
|
346
347
|
item: h,
|
347
|
-
index:
|
348
|
+
index: A,
|
348
349
|
itemRef: b
|
349
350
|
} = d;
|
350
|
-
const ee =
|
351
|
+
const ee = P(h.props, {
|
351
352
|
ref: b,
|
352
353
|
key: h.value,
|
353
|
-
active:
|
354
|
-
onClick: () =>
|
354
|
+
active: J.value && A === 0 ? !0 : void 0,
|
355
|
+
onClick: () => _(h, null)
|
355
356
|
});
|
356
357
|
return ((te = l.item) == null ? void 0 : te.call(l, {
|
357
358
|
item: h,
|
358
|
-
index:
|
359
|
+
index: A,
|
359
360
|
props: ee
|
360
|
-
})) ??
|
361
|
+
})) ?? s(oe, P(ee, {
|
361
362
|
role: "option"
|
362
363
|
}), {
|
363
364
|
prepend: (j) => {
|
364
365
|
let {
|
365
366
|
isSelected: B
|
366
367
|
} = j;
|
367
|
-
return
|
368
|
+
return s(Q, null, [e.multiple && !e.hideSelected ? s(He, {
|
368
369
|
key: h.value,
|
369
370
|
modelValue: B,
|
370
371
|
ripple: !1,
|
371
372
|
tabindex: "-1"
|
372
|
-
}, null) : void 0, h.props.prependAvatar &&
|
373
|
+
}, null) : void 0, h.props.prependAvatar && s(Je, {
|
373
374
|
image: h.props.prependAvatar
|
374
|
-
}, null), h.props.prependIcon &&
|
375
|
+
}, null), h.props.prependIcon && s(re, {
|
375
376
|
icon: h.props.prependIcon
|
376
377
|
}, null)]);
|
377
378
|
},
|
@@ -386,7 +387,7 @@ const lt = se({
|
|
386
387
|
})]
|
387
388
|
}), o.value.map((n, c) => {
|
388
389
|
function k(b) {
|
389
|
-
b.stopPropagation(), b.preventDefault(),
|
390
|
+
b.stopPropagation(), b.preventDefault(), _(n, !1);
|
390
391
|
}
|
391
392
|
const d = {
|
392
393
|
"onClick:close": k,
|
@@ -398,7 +399,7 @@ const lt = se({
|
|
398
399
|
},
|
399
400
|
modelValue: !0,
|
400
401
|
"onUpdate:modelValue": void 0
|
401
|
-
}, h =
|
402
|
+
}, h = U.value ? !!l.chip : !!l.selection, A = h ? Ue(U.value ? l.chip({
|
402
403
|
item: n,
|
403
404
|
index: c,
|
404
405
|
props: d
|
@@ -406,12 +407,12 @@ const lt = se({
|
|
406
407
|
item: n,
|
407
408
|
index: c
|
408
409
|
})) : void 0;
|
409
|
-
if (!(h && !
|
410
|
-
return
|
410
|
+
if (!(h && !A))
|
411
|
+
return s("div", {
|
411
412
|
key: n.value,
|
412
413
|
class: ["v-autocomplete__selection", c === u.value && ["v-autocomplete__selection--selected", K.value]],
|
413
414
|
style: c === u.value ? T.value : {}
|
414
|
-
}, [
|
415
|
+
}, [U.value ? l.chip ? s(We, {
|
415
416
|
key: "chip-defaults",
|
416
417
|
defaults: {
|
417
418
|
VChip: {
|
@@ -421,16 +422,16 @@ const lt = se({
|
|
421
422
|
}
|
422
423
|
}
|
423
424
|
}, {
|
424
|
-
default: () => [
|
425
|
-
}) :
|
425
|
+
default: () => [A]
|
426
|
+
}) : s(Xe, P({
|
426
427
|
key: "chip",
|
427
428
|
closable: e.closableChips,
|
428
429
|
size: "small",
|
429
430
|
text: n.title,
|
430
431
|
disabled: n.props.disabled
|
431
|
-
}, d), null) :
|
432
|
+
}, d), null) : A ?? s("span", {
|
432
433
|
class: "v-autocomplete__selection-text"
|
433
|
-
}, [n.title, e.multiple && c < o.value.length - 1 &&
|
434
|
+
}, [n.title, e.multiple && c < o.value.length - 1 && s("span", {
|
434
435
|
class: "v-autocomplete__selection-comma"
|
435
436
|
}, [je(",")])])]);
|
436
437
|
})]),
|
@@ -438,29 +439,29 @@ const lt = se({
|
|
438
439
|
var d;
|
439
440
|
for (var n = arguments.length, c = new Array(n), k = 0; k < n; k++)
|
440
441
|
c[k] = arguments[k];
|
441
|
-
return
|
442
|
+
return s(Q, null, [(d = l["append-inner"]) == null ? void 0 : d.call(l, ...c), e.menuIcon ? s(re, {
|
442
443
|
class: "v-autocomplete__menu-icon",
|
443
444
|
icon: e.menuIcon,
|
444
445
|
onMousedown: he,
|
445
|
-
onClick:
|
446
|
+
onClick: Ne,
|
446
447
|
"aria-label": g(I.value),
|
447
448
|
title: g(I.value),
|
448
449
|
tabindex: "-1"
|
449
450
|
}, null) : void 0]);
|
450
451
|
}
|
451
452
|
});
|
452
|
-
}),
|
453
|
+
}), Ye({
|
453
454
|
isFocused: y,
|
454
455
|
isPristine: V,
|
455
|
-
menu:
|
456
|
+
menu: i,
|
456
457
|
search: v,
|
457
|
-
filteredItems:
|
458
|
-
select:
|
458
|
+
filteredItems: H,
|
459
|
+
select: _
|
459
460
|
}, m);
|
460
461
|
}
|
461
462
|
});
|
462
463
|
Fe("css/revolugo.vautocomplete.CuVjyvcC.css");
|
463
464
|
export {
|
464
|
-
|
465
|
+
ht as V
|
465
466
|
};
|
466
|
-
//# sourceMappingURL=revolugo.vautocomplete.
|
467
|
+
//# sourceMappingURL=revolugo.vautocomplete.CfEbI9wx.min.js.map
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { b as w, d as x, u as P, p as
|
3
|
-
import {
|
4
|
-
import { b as A, a as F } from "./revolugo.rounded.
|
5
|
-
import { V as
|
1
|
+
import { X as L, Y as N, a9 as u, aa as V, bF as T, bG as k, a as s, y as m, aH as _, Z as B, H as O, I as R } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
2
|
+
import { b as w, d as x, u as P, p as Y, e as M, m as G, M as U } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
3
|
+
import { l as I, p as X } from "./revolugo.index.CxQvHaJF.min.js";
|
4
|
+
import { b as A, a as F } from "./revolugo.rounded.DLc3W4P_.min.js";
|
5
|
+
import { V as H } from "./revolugo.vicon.BnJaIb_1.min.js";
|
6
6
|
function C(e) {
|
7
7
|
try {
|
8
8
|
if (typeof document < "u") {
|
@@ -23,7 +23,7 @@ function C(e) {
|
|
23
23
|
console.error("[revolugo-elements] ", t);
|
24
24
|
}
|
25
25
|
}
|
26
|
-
const
|
26
|
+
const $ = N({
|
27
27
|
bordered: Boolean,
|
28
28
|
color: String,
|
29
29
|
content: [Number, String],
|
@@ -43,20 +43,20 @@ const j = N({
|
|
43
43
|
offsetX: [Number, String],
|
44
44
|
offsetY: [Number, String],
|
45
45
|
textColor: String,
|
46
|
-
...
|
47
|
-
|
46
|
+
...G(),
|
47
|
+
...X({
|
48
48
|
location: "top end"
|
49
49
|
}),
|
50
50
|
...F(),
|
51
|
-
...
|
51
|
+
...M(),
|
52
52
|
..._(),
|
53
|
-
...
|
53
|
+
...Y({
|
54
54
|
transition: "scale-rotate-transition"
|
55
55
|
})
|
56
56
|
}, "VBadge"), W = L()({
|
57
57
|
name: "VBadge",
|
58
58
|
inheritAttrs: !1,
|
59
|
-
props:
|
59
|
+
props: $(),
|
60
60
|
setup(e, t) {
|
61
61
|
const {
|
62
62
|
backgroundColorClasses: n,
|
@@ -89,7 +89,7 @@ const j = N({
|
|
89
89
|
var i, r;
|
90
90
|
return [s("div", {
|
91
91
|
class: "v-badge__wrapper"
|
92
|
-
}, [(r = (i = t.slots).default) == null ? void 0 : r.call(i), s(
|
92
|
+
}, [(r = (i = t.slots).default) == null ? void 0 : r.call(i), s(U, {
|
93
93
|
transition: e.transition
|
94
94
|
}, {
|
95
95
|
default: () => {
|
@@ -101,7 +101,7 @@ const j = N({
|
|
101
101
|
"aria-label": f(e.label, a),
|
102
102
|
"aria-live": "polite",
|
103
103
|
role: "status"
|
104
|
-
}, h), [e.dot ? void 0 : t.slots.badge ? (c = (d = t.slots).badge) == null ? void 0 : c.call(d) : e.icon ? s(
|
104
|
+
}, h), [e.dot ? void 0 : t.slots.badge ? (c = (d = t.slots).badge) == null ? void 0 : c.call(d) : e.icon ? s(H, {
|
105
105
|
icon: e.icon
|
106
106
|
}, null) : l]), [[R, e.modelValue]])];
|
107
107
|
}
|
@@ -115,4 +115,4 @@ C("css/revolugo.vbadge.BQrRJ9S0.css");
|
|
115
115
|
export {
|
116
116
|
W as V
|
117
117
|
};
|
118
|
-
//# sourceMappingURL=revolugo.vbadge.
|
118
|
+
//# sourceMappingURL=revolugo.vbadge.qQh-Sv8w.min.js.map
|