@revolugo/elements 6.7.3 → 6.8.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.min.js +2619 -2554
- 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._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.BBkYrDrP.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.DSJE5n7Z.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DwrYTxiv.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.jJmgFO6V.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DgBdyH6X.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.DQXXM5CL.min.js} +36 -36
- package/dist/revolugo.bookingdetailssidebar.CKrtgLGZ.min.js +24 -0
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.Dm6EGehl.min.js} +184 -202
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.ra4Fie13.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.qpy47Wsi.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DD4SRw7w.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.WMRlt8-8.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BWHDapkN.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.C6zxRPaZ.min.js +24 -0
- package/dist/revolugo.cancellationpolicieslist.B-nwKXUj.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.CHhCIAQS.min.js} +28 -47
- package/dist/revolugo.case-transformers.CEdbnlE-.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.698oFnsf.min.js} +652 -903
- package/dist/revolugo.creditcardform.CpSNG8oP.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.6u4OCU4A.min.js} +138 -154
- package/dist/revolugo.creditcardpayment.BLosL1aA.min.js +24 -0
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.BXsQGdbF.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.D-42MaaK.min.js +163 -0
- package/dist/revolugo.currencypickerbtn.NVqcx7mQ.min.js +24 -0
- package/dist/revolugo.dialog-attach.BuUfn9u6.min.js +28 -0
- package/dist/revolugo.dialog-transition.2P5jpnv2.min.js +114 -0
- package/dist/revolugo.fastbookingflow.CFE4HRID.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.DbPlQAXx.min.js} +77 -75
- package/dist/revolugo.hoteldescriptionview.DyHypnsO.min.js +24 -0
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.FAMKFv9n.min.js} +363 -379
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.BXdHFzt5.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.BsjYGZdX.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.D-sHFvFQ.min.js} +1005 -1053
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.oZhVIBxs.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.Cun9amyl.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.BP4Jp5xL.min.js +24 -0
- package/dist/revolugo.hoteloffersmap.CVTv2jVD.min.js +8394 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.B5nONm_1.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.DacCdu_b.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.DVGmJT59.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DmOEadSF.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js} +40 -39
- package/dist/revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js +25 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js} +29 -49
- package/dist/revolugo.hotelroomoffersview.BkR60ueU.min.js +24 -0
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DHjinkWP.min.js} +71 -91
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.B7z0g8al.min.js} +6 -6
- package/dist/revolugo.index.s-onPvC0.min.js +1037 -0
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.CsrQl9B8.min.js} +12812 -13151
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.BiuzuhH0.min.js} +15 -15
- package/dist/revolugo.langpickerbtn.DagJBVfO.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.cw-Pilxv.min.js} +53 -71
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DLEaIEKi.min.js} +45 -44
- package/dist/revolugo.prebookform.CqX9sVfX.min.js +24 -0
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.YQbaVaOP.min.js} +94 -114
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.5YqKPUFg.min.js} +82 -101
- package/dist/revolugo.roominglisteditor.CTnsjWFF.min.js +24 -0
- package/dist/revolugo.rounded.M5NbwQ-2.min.js +68 -0
- package/dist/revolugo.ssrboot.CPwQ4mY-.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.DU-Au-P6.min.js} +110 -108
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.B8wFEMtY.min.js} +90 -108
- package/dist/revolugo.termsandconditions.DdvsS1Nr.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.CZ9QX96a.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.6G-7p4XB.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BxaNSjJA.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.BPIAO9U5.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.BCX-G8mX.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.Q30XKYRx.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.CMYISGau.min.js} +26 -25
- package/dist/revolugo.vdivider.CLbZrEbe.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.BD89Tllc.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bk5MumIG.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.CSdGREv4.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.D8YLLgkd.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.B_sxyWMf.min.js} +90 -88
- package/dist/revolugo.vmenu.B0HL9TEG.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.DjrnZ68P.min.js} +133 -132
- package/dist/revolugo.vsheet.cNM_MdEY.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.MnCR2qht.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CTGdiOPz.min.js} +46 -44
- package/dist/revolugo.vspacer.D6ZThXFV.min.js +7 -0
- package/dist/revolugo.vtextarea._NoUVeyJ.min.js +2102 -0
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.C5IuUTNN.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.DkBiOuPH.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CNASNy8U.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.DWDP8yX4.min.js} +41 -41
- package/dist/revolugo.watch-list.DFagwB6N.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.CyN0tjOk.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,9 +1,11 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { u as G, M as
|
4
|
-
import { V as
|
5
|
-
import { a as
|
6
|
-
import {
|
1
|
+
import { Z as p, _ as Y, D as i, a as l, H as K, I as te, aF as de, a0 as z, $ as J, aD as ce, ax as fe, aE as ve, C as R, ab as me, M as ye, F as N, y as U, a9 as ge, a2 as be, b2 as xe, aA as Ce, cd as he, R as Q, bF as Ve } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
2
|
+
import { s as _e, r as ke, a as Ie, I as Se } from "./revolugo.index.s-onPvC0.min.js";
|
3
|
+
import { u as G, M as Pe, p as Fe, m as X, b as Ee, d as Le, J as Be, q as Te, s as we } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
4
|
+
import { V as Re } from "./revolugo.vlabel.D8YLLgkd.min.js";
|
5
|
+
import { a as Ae, u as ne, e as Me, m as Oe, V as ee } from "./revolugo.vinput.CSdGREv4.min.js";
|
6
|
+
import { f as De, d as $e, L as Ne } from "./revolugo.position.DLEaIEKi.min.js";
|
7
|
+
import { a as Ue, b as pe } from "./revolugo.rounded.M5NbwQ-2.min.js";
|
8
|
+
import { f as Ye } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
7
9
|
function ue(e) {
|
8
10
|
try {
|
9
11
|
if (typeof document < "u") {
|
@@ -24,7 +26,7 @@ function ue(e) {
|
|
24
26
|
console.error("[revolugo-elements] ", o);
|
25
27
|
}
|
26
28
|
}
|
27
|
-
const Ge =
|
29
|
+
const Ge = Y({
|
28
30
|
active: Boolean,
|
29
31
|
disabled: Boolean,
|
30
32
|
max: [Number, String],
|
@@ -32,13 +34,13 @@ const Ge = p({
|
|
32
34
|
type: [Number, String],
|
33
35
|
default: 0
|
34
36
|
},
|
35
|
-
...
|
36
|
-
...
|
37
|
+
...X(),
|
38
|
+
...Fe({
|
37
39
|
transition: {
|
38
|
-
component:
|
40
|
+
component: _e
|
39
41
|
}
|
40
42
|
})
|
41
|
-
}, "VCounter"), We =
|
43
|
+
}, "VCounter"), We = p()({
|
42
44
|
name: "VCounter",
|
43
45
|
functional: !0,
|
44
46
|
props: Ge(),
|
@@ -47,10 +49,10 @@ const Ge = p({
|
|
47
49
|
slots: a
|
48
50
|
} = o;
|
49
51
|
const u = i(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
|
50
|
-
return G(() => l(
|
52
|
+
return G(() => l(Pe, {
|
51
53
|
transition: e.transition
|
52
54
|
}, {
|
53
|
-
default: () => [
|
55
|
+
default: () => [K(l("div", {
|
54
56
|
class: ["v-counter", {
|
55
57
|
"text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
|
56
58
|
}, e.class],
|
@@ -62,17 +64,17 @@ const Ge = p({
|
|
62
64
|
}) : u.value]), [[te, e.active]])]
|
63
65
|
})), {};
|
64
66
|
}
|
65
|
-
}), je =
|
67
|
+
}), je = Y({
|
66
68
|
floating: Boolean,
|
67
|
-
...
|
68
|
-
}, "VFieldLabel"),
|
69
|
+
...X()
|
70
|
+
}, "VFieldLabel"), $ = p()({
|
69
71
|
name: "VFieldLabel",
|
70
72
|
props: je(),
|
71
73
|
setup(e, o) {
|
72
74
|
let {
|
73
75
|
slots: a
|
74
76
|
} = o;
|
75
|
-
return G(() => l(
|
77
|
+
return G(() => l(Re, {
|
76
78
|
class: ["v-field-label", {
|
77
79
|
"v-field-label--floating": e.floating
|
78
80
|
}, e.class],
|
@@ -80,12 +82,12 @@ const Ge = p({
|
|
80
82
|
"aria-hidden": e.floating || void 0
|
81
83
|
}, a)), {};
|
82
84
|
}
|
83
|
-
}), qe = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ae =
|
84
|
-
appendInnerIcon:
|
85
|
+
}), qe = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ae = Y({
|
86
|
+
appendInnerIcon: J,
|
85
87
|
bgColor: String,
|
86
88
|
clearable: Boolean,
|
87
89
|
clearIcon: {
|
88
|
-
type:
|
90
|
+
type: J,
|
89
91
|
default: "$clear"
|
90
92
|
},
|
91
93
|
active: Boolean,
|
@@ -104,7 +106,7 @@ const Ge = p({
|
|
104
106
|
flat: Boolean,
|
105
107
|
label: String,
|
106
108
|
persistentClear: Boolean,
|
107
|
-
prependInnerIcon:
|
109
|
+
prependInnerIcon: J,
|
108
110
|
reverse: Boolean,
|
109
111
|
singleLine: Boolean,
|
110
112
|
variant: {
|
@@ -115,16 +117,16 @@ const Ge = p({
|
|
115
117
|
"onClick:clear": z(),
|
116
118
|
"onClick:appendInner": z(),
|
117
119
|
"onClick:prependInner": z(),
|
118
|
-
...
|
120
|
+
...X(),
|
121
|
+
...De(),
|
119
122
|
...Ue(),
|
120
|
-
...ce(),
|
121
123
|
...de()
|
122
|
-
}, "VField"), le =
|
124
|
+
}, "VField"), le = p()({
|
123
125
|
name: "VField",
|
124
126
|
inheritAttrs: !1,
|
125
127
|
props: {
|
126
128
|
id: String,
|
127
|
-
...
|
129
|
+
...Ae(),
|
128
130
|
...ae()
|
129
131
|
},
|
130
132
|
emits: {
|
@@ -139,40 +141,40 @@ const Ge = p({
|
|
139
141
|
} = o;
|
140
142
|
const {
|
141
143
|
themeClasses: m
|
142
|
-
} =
|
144
|
+
} = ce(e), {
|
143
145
|
loaderClasses: C
|
144
|
-
} =
|
146
|
+
} = $e(e), {
|
145
147
|
focusClasses: W,
|
146
148
|
isFocused: A,
|
147
149
|
focus: P,
|
148
|
-
blur:
|
150
|
+
blur: F
|
149
151
|
} = ne(e), {
|
150
|
-
InputIcon:
|
151
|
-
} =
|
152
|
+
InputIcon: E
|
153
|
+
} = Me(e), {
|
152
154
|
roundedClasses: j
|
153
|
-
} =
|
154
|
-
rtlClasses:
|
155
|
-
} =
|
155
|
+
} = pe(e), {
|
156
|
+
rtlClasses: M
|
157
|
+
} = fe(), h = i(() => e.dirty || e.active), x = i(() => !!(e.label || t.label)), L = i(() => !e.singleLine && x.value), B = ve(), y = i(() => e.id || `input-${B}`), q = i(() => `${y.value}-messages`), O = R(), T = R(), n = R(), s = i(() => ["plain", "underlined"].includes(e.variant)), {
|
156
158
|
backgroundColorClasses: d,
|
157
159
|
backgroundColorStyles: g
|
158
|
-
} =
|
159
|
-
textColorClasses:
|
160
|
+
} = Ee(me(e, "bgColor")), {
|
161
|
+
textColorClasses: H,
|
160
162
|
textColorStyles: D
|
161
|
-
} =
|
162
|
-
|
163
|
+
} = Le(i(() => e.error || e.disabled ? void 0 : h.value && A.value ? e.color : e.baseColor));
|
164
|
+
ye(h, (c) => {
|
163
165
|
if (L.value) {
|
164
|
-
const f =
|
166
|
+
const f = O.value.$el, v = T.value.$el;
|
165
167
|
requestAnimationFrame(() => {
|
166
|
-
const b =
|
167
|
-
maxWidth:
|
168
|
-
} : void 0, ie = getComputedStyle(f),
|
169
|
-
f.style.visibility = "visible", v.style.visibility = "hidden",
|
170
|
-
transform: `translate(${
|
168
|
+
const b = Be(f), r = v.getBoundingClientRect(), w = r.x - b.x, k = r.y - b.y - (b.height / 2 - r.height / 2), I = r.width / 0.75, S = Math.abs(I - b.width) > 1 ? {
|
169
|
+
maxWidth: ge(I)
|
170
|
+
} : void 0, ie = getComputedStyle(f), Z = getComputedStyle(v), oe = parseFloat(ie.transitionDuration) * 1e3 || 150, se = parseFloat(Z.getPropertyValue("--v-field-label-scale")), re = Z.getPropertyValue("color");
|
171
|
+
f.style.visibility = "visible", v.style.visibility = "hidden", Te(f, {
|
172
|
+
transform: `translate(${w}px, ${k}px) scale(${se})`,
|
171
173
|
color: re,
|
172
174
|
...S
|
173
175
|
}, {
|
174
176
|
duration: oe,
|
175
|
-
easing:
|
177
|
+
easing: we,
|
176
178
|
direction: c ? "normal" : "reverse"
|
177
179
|
}).finished.then(() => {
|
178
180
|
f.style.removeProperty("visibility"), v.style.removeProperty("visibility");
|
@@ -186,14 +188,14 @@ const Ge = p({
|
|
186
188
|
isActive: h,
|
187
189
|
isFocused: A,
|
188
190
|
controlRef: n,
|
189
|
-
blur:
|
191
|
+
blur: F,
|
190
192
|
focus: P
|
191
193
|
}));
|
192
194
|
function _(c) {
|
193
195
|
c.target !== document.activeElement && c.preventDefault();
|
194
196
|
}
|
195
197
|
return G(() => {
|
196
|
-
var
|
198
|
+
var w, k, I;
|
197
199
|
const c = e.variant === "outlined", f = !!(t["prepend-inner"] || e.prependInnerIcon), v = !!(e.clearable || t.clear) && !e.disabled, b = !!(t["append-inner"] || e.appendInnerIcon || v), r = () => t.label ? t.label({
|
198
200
|
...V.value,
|
199
201
|
label: e.label,
|
@@ -217,12 +219,12 @@ const Ge = p({
|
|
217
219
|
"v-field--single-line": e.singleLine,
|
218
220
|
"v-field--no-label": !r(),
|
219
221
|
[`v-field--variant-${e.variant}`]: !0
|
220
|
-
}, m.value, d.value, W.value, C.value, j.value,
|
222
|
+
}, m.value, d.value, W.value, C.value, j.value, M.value, e.class],
|
221
223
|
style: [g.value, e.style],
|
222
224
|
onClick: _
|
223
225
|
}, a), [l("div", {
|
224
226
|
class: "v-field__overlay"
|
225
|
-
}, null), l(
|
227
|
+
}, null), l(Ne, {
|
226
228
|
name: "v-field",
|
227
229
|
active: !!e.loading,
|
228
230
|
color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color
|
@@ -231,24 +233,24 @@ const Ge = p({
|
|
231
233
|
}), f && l("div", {
|
232
234
|
key: "prepend",
|
233
235
|
class: "v-field__prepend-inner"
|
234
|
-
}, [e.prependInnerIcon && l(
|
236
|
+
}, [e.prependInnerIcon && l(E, {
|
235
237
|
key: "prepend-icon",
|
236
238
|
name: "prependInner"
|
237
|
-
}, null), (
|
239
|
+
}, null), (w = t["prepend-inner"]) == null ? void 0 : w.call(t, V.value)]), l("div", {
|
238
240
|
class: "v-field__field",
|
239
241
|
"data-no-activator": ""
|
240
|
-
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && L.value && l(
|
242
|
+
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && L.value && l($, {
|
241
243
|
key: "floating-label",
|
242
|
-
ref:
|
243
|
-
class: [
|
244
|
+
ref: T,
|
245
|
+
class: [H.value],
|
244
246
|
floating: !0,
|
245
247
|
for: y.value,
|
246
248
|
style: D.value
|
247
249
|
}, {
|
248
250
|
default: () => [r()]
|
249
|
-
}), x.value && l(
|
251
|
+
}), x.value && l($, {
|
250
252
|
key: "label",
|
251
|
-
ref:
|
253
|
+
ref: O,
|
252
254
|
for: y.value
|
253
255
|
}, {
|
254
256
|
default: () => [r()]
|
@@ -260,16 +262,16 @@ const Ge = p({
|
|
260
262
|
"aria-describedby": q.value
|
261
263
|
},
|
262
264
|
focus: P,
|
263
|
-
blur:
|
264
|
-
})]), v && l(
|
265
|
+
blur: F
|
266
|
+
})]), v && l(ke, {
|
265
267
|
key: "clear"
|
266
268
|
}, {
|
267
|
-
default: () => [
|
269
|
+
default: () => [K(l("div", {
|
268
270
|
class: "v-field__clearable",
|
269
271
|
onMousedown: (S) => {
|
270
272
|
S.preventDefault(), S.stopPropagation();
|
271
273
|
}
|
272
|
-
}, [l(
|
274
|
+
}, [l(Ie, {
|
273
275
|
defaults: {
|
274
276
|
VIcon: {
|
275
277
|
icon: e.clearIcon
|
@@ -280,38 +282,38 @@ const Ge = p({
|
|
280
282
|
...V.value,
|
281
283
|
props: {
|
282
284
|
onFocus: P,
|
283
|
-
onBlur:
|
285
|
+
onBlur: F,
|
284
286
|
onClick: e["onClick:clear"]
|
285
287
|
}
|
286
|
-
}) : l(
|
288
|
+
}) : l(E, {
|
287
289
|
name: "clear",
|
288
290
|
onFocus: P,
|
289
|
-
onBlur:
|
291
|
+
onBlur: F
|
290
292
|
}, null)]
|
291
293
|
})]), [[te, e.dirty]])]
|
292
294
|
}), b && l("div", {
|
293
295
|
key: "append",
|
294
296
|
class: "v-field__append-inner"
|
295
|
-
}, [(I = t["append-inner"]) == null ? void 0 : I.call(t, V.value), e.appendInnerIcon && l(
|
297
|
+
}, [(I = t["append-inner"]) == null ? void 0 : I.call(t, V.value), e.appendInnerIcon && l(E, {
|
296
298
|
key: "append-icon",
|
297
299
|
name: "appendInner"
|
298
300
|
}, null)]), l("div", {
|
299
|
-
class: ["v-field__outline",
|
301
|
+
class: ["v-field__outline", H.value],
|
300
302
|
style: D.value
|
301
|
-
}, [c && l(
|
303
|
+
}, [c && l(N, null, [l("div", {
|
302
304
|
class: "v-field__outline__start"
|
303
305
|
}, null), L.value && l("div", {
|
304
306
|
class: "v-field__outline__notch"
|
305
|
-
}, [l(
|
306
|
-
ref:
|
307
|
+
}, [l($, {
|
308
|
+
ref: T,
|
307
309
|
floating: !0,
|
308
310
|
for: y.value
|
309
311
|
}, {
|
310
312
|
default: () => [r()]
|
311
313
|
})]), l("div", {
|
312
314
|
class: "v-field__outline__end"
|
313
|
-
}, null)]), s.value && L.value && l(
|
314
|
-
ref:
|
315
|
+
}, null)]), s.value && L.value && l($, {
|
316
|
+
ref: T,
|
315
317
|
floating: !0,
|
316
318
|
for: y.value
|
317
319
|
}, {
|
@@ -321,7 +323,7 @@ const Ge = p({
|
|
321
323
|
controlRef: n
|
322
324
|
};
|
323
325
|
}
|
324
|
-
}),
|
326
|
+
}), He = ["color", "file", "time", "date", "datetime-local", "week", "month"], ze = Y({
|
325
327
|
autofocus: Boolean,
|
326
328
|
counter: [Boolean, Number, String],
|
327
329
|
counterValue: [Number, Function],
|
@@ -336,12 +338,12 @@ const Ge = p({
|
|
336
338
|
default: "text"
|
337
339
|
},
|
338
340
|
modelModifiers: Object,
|
339
|
-
|
341
|
+
...Oe(),
|
340
342
|
...ae()
|
341
|
-
}, "VTextField"),
|
343
|
+
}, "VTextField"), nl = p()({
|
342
344
|
name: "VTextField",
|
343
345
|
directives: {
|
344
|
-
Intersect:
|
346
|
+
Intersect: Se
|
345
347
|
},
|
346
348
|
inheritAttrs: !1,
|
347
349
|
props: ze(),
|
@@ -357,62 +359,62 @@ const Ge = p({
|
|
357
359
|
emit: u,
|
358
360
|
slots: t
|
359
361
|
} = o;
|
360
|
-
const m =
|
362
|
+
const m = be(e, "modelValue"), {
|
361
363
|
isFocused: C,
|
362
364
|
focus: W,
|
363
365
|
blur: A
|
364
|
-
} = ne(e), P = i(() => typeof e.counterValue == "function" ? e.counterValue(m.value) : typeof e.counterValue == "number" ? e.counterValue : (m.value ?? "").toString().length),
|
366
|
+
} = ne(e), P = i(() => typeof e.counterValue == "function" ? e.counterValue(m.value) : typeof e.counterValue == "number" ? e.counterValue : (m.value ?? "").toString().length), F = i(() => {
|
365
367
|
if (a.maxlength) return a.maxlength;
|
366
368
|
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
367
369
|
return e.counter;
|
368
|
-
}),
|
370
|
+
}), E = i(() => ["plain", "underlined"].includes(e.variant));
|
369
371
|
function j(n, s) {
|
370
372
|
var d, g;
|
371
373
|
!e.autofocus || !n || (g = (d = s[0].target) == null ? void 0 : d.focus) == null || g.call(d);
|
372
374
|
}
|
373
|
-
const
|
374
|
-
function
|
375
|
+
const M = R(), h = R(), x = R(), L = i(() => He.includes(e.type) || e.persistentPlaceholder || C.value || e.active);
|
376
|
+
function B() {
|
375
377
|
var n;
|
376
378
|
x.value !== document.activeElement && ((n = x.value) == null || n.focus()), C.value || W();
|
377
379
|
}
|
378
380
|
function y(n) {
|
379
|
-
u("mousedown:control", n), n.target !== x.value && (
|
381
|
+
u("mousedown:control", n), n.target !== x.value && (B(), n.preventDefault());
|
380
382
|
}
|
381
383
|
function q(n) {
|
382
|
-
|
384
|
+
B(), u("click:control", n);
|
383
385
|
}
|
384
|
-
function
|
385
|
-
n.stopPropagation(),
|
386
|
-
m.value = null,
|
386
|
+
function O(n) {
|
387
|
+
n.stopPropagation(), B(), Q(() => {
|
388
|
+
m.value = null, Ve(e["onClick:clear"], n);
|
387
389
|
});
|
388
390
|
}
|
389
|
-
function
|
391
|
+
function T(n) {
|
390
392
|
var d;
|
391
393
|
const s = n.target;
|
392
394
|
if (m.value = s.value, (d = e.modelModifiers) != null && d.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) {
|
393
395
|
const g = [s.selectionStart, s.selectionEnd];
|
394
|
-
|
396
|
+
Q(() => {
|
395
397
|
s.selectionStart = g[0], s.selectionEnd = g[1];
|
396
398
|
});
|
397
399
|
}
|
398
400
|
}
|
399
401
|
return G(() => {
|
400
|
-
const n = !!(t.counter || e.counter !== !1 && e.counter != null), s = !!(n || t.details), [d, g] =
|
401
|
-
modelValue:
|
402
|
+
const n = !!(t.counter || e.counter !== !1 && e.counter != null), s = !!(n || t.details), [d, g] = xe(a), {
|
403
|
+
modelValue: H,
|
402
404
|
...D
|
403
405
|
} = ee.filterProps(e), V = le.filterProps(e);
|
404
406
|
return l(ee, U({
|
405
|
-
ref:
|
407
|
+
ref: M,
|
406
408
|
modelValue: m.value,
|
407
409
|
"onUpdate:modelValue": (_) => m.value = _,
|
408
410
|
class: ["v-text-field", {
|
409
411
|
"v-text-field--prefixed": e.prefix,
|
410
412
|
"v-text-field--suffixed": e.suffix,
|
411
|
-
"v-input--plain-underlined":
|
413
|
+
"v-input--plain-underlined": E.value
|
412
414
|
}, e.class],
|
413
415
|
style: e.style
|
414
416
|
}, d, D, {
|
415
|
-
centerAffix: !
|
417
|
+
centerAffix: !E.value,
|
416
418
|
focused: C.value
|
417
419
|
}), {
|
418
420
|
...t,
|
@@ -428,7 +430,7 @@ const Ge = p({
|
|
428
430
|
ref: h,
|
429
431
|
onMousedown: y,
|
430
432
|
onClick: q,
|
431
|
-
"onClick:clear":
|
433
|
+
"onClick:clear": O,
|
432
434
|
"onClick:prependInner": e["onClick:prependInner"],
|
433
435
|
"onClick:appendInner": e["onClick:appendInner"],
|
434
436
|
role: e.role
|
@@ -441,17 +443,17 @@ const Ge = p({
|
|
441
443
|
error: r.value === !1
|
442
444
|
}), {
|
443
445
|
...t,
|
444
|
-
default: (
|
446
|
+
default: (w) => {
|
445
447
|
let {
|
446
448
|
props: {
|
447
449
|
class: k,
|
448
450
|
...I
|
449
451
|
}
|
450
|
-
} =
|
451
|
-
const S =
|
452
|
+
} = w;
|
453
|
+
const S = K(l("input", U({
|
452
454
|
ref: x,
|
453
455
|
value: m.value,
|
454
|
-
onInput:
|
456
|
+
onInput: T,
|
455
457
|
autofocus: e.autofocus,
|
456
458
|
readonly: b.value,
|
457
459
|
disabled: f.value,
|
@@ -459,21 +461,21 @@ const Ge = p({
|
|
459
461
|
placeholder: e.placeholder,
|
460
462
|
size: 1,
|
461
463
|
type: e.type,
|
462
|
-
onFocus:
|
464
|
+
onFocus: B,
|
463
465
|
onBlur: A
|
464
|
-
}, I, g), null), [[
|
466
|
+
}, I, g), null), [[Ce("intersect"), {
|
465
467
|
handler: j
|
466
468
|
}, null, {
|
467
469
|
once: !0
|
468
470
|
}]]);
|
469
|
-
return l(
|
471
|
+
return l(N, null, [e.prefix && l("span", {
|
470
472
|
class: "v-text-field__prefix"
|
471
473
|
}, [l("span", {
|
472
474
|
class: "v-text-field__prefix__text"
|
473
475
|
}, [e.prefix])]), t.default ? l("div", {
|
474
476
|
class: k,
|
475
477
|
"data-no-activator": ""
|
476
|
-
}, [t.default(), S]) :
|
478
|
+
}, [t.default(), S]) : he(S, {
|
477
479
|
class: k
|
478
480
|
}), e.suffix && l("span", {
|
479
481
|
class: "v-text-field__suffix"
|
@@ -485,23 +487,23 @@ const Ge = p({
|
|
485
487
|
},
|
486
488
|
details: s ? (_) => {
|
487
489
|
var c;
|
488
|
-
return l(
|
490
|
+
return l(N, null, [(c = t.details) == null ? void 0 : c.call(t, _), n && l(N, null, [l("span", null, null), l(We, {
|
489
491
|
active: e.persistentCounter || C.value,
|
490
492
|
value: P.value,
|
491
|
-
max:
|
493
|
+
max: F.value,
|
492
494
|
disabled: e.disabled
|
493
495
|
}, t.counter)])]);
|
494
496
|
} : void 0
|
495
497
|
});
|
496
|
-
}),
|
498
|
+
}), Ye({}, M, h, x);
|
497
499
|
}
|
498
500
|
});
|
499
501
|
ue("css/revolugo.vtextfield.BIH_AWWP.css");
|
500
502
|
export {
|
501
|
-
|
503
|
+
nl as V,
|
502
504
|
le as a,
|
503
|
-
|
504
|
-
|
505
|
-
|
505
|
+
We as b,
|
506
|
+
ze as c,
|
507
|
+
ae as m
|
506
508
|
};
|
507
|
-
//# sourceMappingURL=revolugo.vtextfield.
|
509
|
+
//# sourceMappingURL=revolugo.vtextfield.C5IuUTNN.min.js.map
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { u as T,
|
2
|
-
import {
|
3
|
-
import {
|
1
|
+
import { u as T, e as y, m as x, b as R } from "./revolugo.webcomponentwrapper.CyN0tjOk.min.js";
|
2
|
+
import { Z as E, _ as S, a, ab as P, aD as w, ax as I, a5 as U, D as h, aQ as D, aF as H, a9 as s } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
3
|
+
import { f as G, a as u, c as M } from "./revolugo.index.s-onPvC0.min.js";
|
4
|
+
import { c as Y, u as F, b as Z, a as j, m as K, d as Q } from "./revolugo.rounded.M5NbwQ-2.min.js";
|
4
5
|
function O(e) {
|
5
6
|
try {
|
6
7
|
if (typeof document < "u") {
|
@@ -21,13 +22,13 @@ function O(e) {
|
|
21
22
|
console.error("[revolugo-elements] ", o);
|
22
23
|
}
|
23
24
|
}
|
24
|
-
const
|
25
|
+
const $ = S({
|
25
26
|
text: String,
|
26
27
|
...x(),
|
27
28
|
...y()
|
28
29
|
}, "VToolbarTitle"), q = E()({
|
29
30
|
name: "VToolbarTitle",
|
30
|
-
props:
|
31
|
+
props: $(),
|
31
32
|
setup(e, o) {
|
32
33
|
let {
|
33
34
|
slots: t
|
@@ -69,15 +70,15 @@ const K = S({
|
|
69
70
|
},
|
70
71
|
image: String,
|
71
72
|
title: String,
|
72
|
-
...
|
73
|
+
...Q(),
|
73
74
|
...x(),
|
74
|
-
|
75
|
-
...
|
75
|
+
...K(),
|
76
|
+
...j(),
|
76
77
|
...y({
|
77
78
|
tag: "header"
|
78
79
|
}),
|
79
|
-
...
|
80
|
-
}, "VToolbar"),
|
80
|
+
...H()
|
81
|
+
}, "VToolbar"), ee = E()({
|
81
82
|
name: "VToolbar",
|
82
83
|
props: A(),
|
83
84
|
setup(e, o) {
|
@@ -90,16 +91,16 @@ const K = S({
|
|
90
91
|
backgroundColorStyles: n
|
91
92
|
} = R(P(e, "color")), {
|
92
93
|
borderClasses: V
|
93
|
-
} =
|
94
|
+
} = Y(e), {
|
94
95
|
elevationClasses: _
|
95
|
-
} =
|
96
|
+
} = F(e), {
|
96
97
|
roundedClasses: k
|
97
|
-
} =
|
98
|
+
} = Z(e), {
|
98
99
|
themeClasses: L
|
99
|
-
} =
|
100
|
+
} = w(e), {
|
100
101
|
rtlClasses: C
|
101
|
-
} =
|
102
|
-
return
|
102
|
+
} = I(), i = U(!!(e.extended || (c = t.extension) != null && c.call(t))), r = h(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), d = h(() => i.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
|
103
|
+
return D({
|
103
104
|
VBtn: {
|
104
105
|
variant: "text"
|
105
106
|
}
|
@@ -128,7 +129,7 @@ const K = S({
|
|
128
129
|
src: e.image
|
129
130
|
}
|
130
131
|
}
|
131
|
-
}, t.image) : a(
|
132
|
+
}, t.image) : a(G, {
|
132
133
|
key: "image-img",
|
133
134
|
cover: !0,
|
134
135
|
src: e.image
|
@@ -164,7 +165,7 @@ const K = S({
|
|
164
165
|
}
|
165
166
|
}
|
166
167
|
}, {
|
167
|
-
default: () => [a(
|
168
|
+
default: () => [a(M, null, {
|
168
169
|
default: () => [i.value && a("div", {
|
169
170
|
class: "v-toolbar__extension",
|
170
171
|
style: {
|
@@ -182,6 +183,6 @@ const K = S({
|
|
182
183
|
});
|
183
184
|
O("css/revolugo.vtoolbar.BZert82L.css");
|
184
185
|
export {
|
185
|
-
|
186
|
+
ee as V
|
186
187
|
};
|
187
|
-
//# sourceMappingURL=revolugo.vtoolbar.
|
188
|
+
//# sourceMappingURL=revolugo.vtoolbar.DkBiOuPH.min.js.map
|