@revolugo/elements 6.8.2 → 6.8.3-beta.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/README.md +1 -1
- package/dist/css/fonts.css +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.DGADlvX0.css} +2 -2
- package/dist/index.es.min.js +2081 -2223
- 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.banktransferdetails.C9OqrvmN.min.js +23 -0
- package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +23 -0
- package/dist/revolugo.bookingmanager.BZERpaf3.min.js +23 -0
- package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +23 -0
- package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +23 -0
- package/dist/revolugo.creditcardform.D-8j5GCw.min.js +23 -0
- package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +23 -0
- package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +23 -0
- package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.BoQVk0eU.min.js} +9 -10
- package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +23 -0
- package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +23 -0
- package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +23 -0
- package/dist/revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js +199 -0
- package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +23 -0
- package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +18 -0
- package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +23 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +23 -0
- package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +23 -0
- package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +23 -0
- package/dist/revolugo.index.CVHWSVdZ.min.js +67 -0
- package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DxOdmA3C.min.js} +12167 -12364
- package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +28 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.9dLTmLrv.min.js +23 -0
- package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +23 -0
- package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.CkwMUZCe.min.js} +212 -227
- package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +22 -0
- package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +60489 -0
- package/package.json +5 -5
- package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
- package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
- package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
- package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
- package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
- package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
- package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
- package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
- package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
- package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
- package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
- package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
- package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
- package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
- package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
- package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
- package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
- package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
- package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
- package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
- package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
- package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
- package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
- package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
- package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
- package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
- package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
- package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
- package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
- package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
- package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
- package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
- package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
- package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
- package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
- package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
- package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
- package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
- package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
- package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
- package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
- package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
- package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
- package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
- package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
- package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
- package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
- package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
- package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
- package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
- package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
- package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
- package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
- package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
- package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
- package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
- package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
- package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
- package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
- package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
- package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
- package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
- package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
- package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
- package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
- package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
- package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
- package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
- package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
- package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
- package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
- package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
- package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
- package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
- package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
- package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
- package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
- package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
- package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
- package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
- package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
- package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
- package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
- package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
- package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
- package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
- package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
- package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
- package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,509 +0,0 @@
|
|
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.7I5uexuc.min.js";
|
2
|
-
import { s as _e, r as ke, a as Ie, I as Se } from "./revolugo.index.gIPq0z7C.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.DFYGhYzz.min.js";
|
4
|
-
import { V as Re } from "./revolugo.vlabel.CLHrAz78.min.js";
|
5
|
-
import { a as Ae, u as ne, e as Me, m as Oe, V as ee } from "./revolugo.vinput.P34xrpIC.min.js";
|
6
|
-
import { f as De, d as $e, L as Ne } from "./revolugo.position.hqKd4K_h.min.js";
|
7
|
-
import { a as Ue, b as pe } from "./revolugo.rounded.Dnxang6X.min.js";
|
8
|
-
import { f as Ye } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
9
|
-
function ue(e) {
|
10
|
-
try {
|
11
|
-
if (typeof document < "u") {
|
12
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
13
|
-
sheets: [],
|
14
|
-
components: []
|
15
|
-
};
|
16
|
-
const o = import.meta.url, a = o.slice(0, o.lastIndexOf("/") + 1) + e;
|
17
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
|
18
|
-
for (const u of REVOLUGO_ELEMENTS_STYLES.components)
|
19
|
-
u(a);
|
20
|
-
if (e.indexOf("fonts") >= 0) {
|
21
|
-
const u = document.createElement("link");
|
22
|
-
u.rel = "stylesheet", linK.href = a, document.head.appendChild(u);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
} catch (o) {
|
26
|
-
console.error("[revolugo-elements] ", o);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
const Ge = Y({
|
30
|
-
active: Boolean,
|
31
|
-
disabled: Boolean,
|
32
|
-
max: [Number, String],
|
33
|
-
value: {
|
34
|
-
type: [Number, String],
|
35
|
-
default: 0
|
36
|
-
},
|
37
|
-
...X(),
|
38
|
-
...Fe({
|
39
|
-
transition: {
|
40
|
-
component: _e
|
41
|
-
}
|
42
|
-
})
|
43
|
-
}, "VCounter"), We = p()({
|
44
|
-
name: "VCounter",
|
45
|
-
functional: !0,
|
46
|
-
props: Ge(),
|
47
|
-
setup(e, o) {
|
48
|
-
let {
|
49
|
-
slots: a
|
50
|
-
} = o;
|
51
|
-
const u = i(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
|
52
|
-
return G(() => l(Pe, {
|
53
|
-
transition: e.transition
|
54
|
-
}, {
|
55
|
-
default: () => [K(l("div", {
|
56
|
-
class: ["v-counter", {
|
57
|
-
"text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
|
58
|
-
}, e.class],
|
59
|
-
style: e.style
|
60
|
-
}, [a.default ? a.default({
|
61
|
-
counter: u.value,
|
62
|
-
max: e.max,
|
63
|
-
value: e.value
|
64
|
-
}) : u.value]), [[te, e.active]])]
|
65
|
-
})), {};
|
66
|
-
}
|
67
|
-
}), je = Y({
|
68
|
-
floating: Boolean,
|
69
|
-
...X()
|
70
|
-
}, "VFieldLabel"), $ = p()({
|
71
|
-
name: "VFieldLabel",
|
72
|
-
props: je(),
|
73
|
-
setup(e, o) {
|
74
|
-
let {
|
75
|
-
slots: a
|
76
|
-
} = o;
|
77
|
-
return G(() => l(Re, {
|
78
|
-
class: ["v-field-label", {
|
79
|
-
"v-field-label--floating": e.floating
|
80
|
-
}, e.class],
|
81
|
-
style: e.style,
|
82
|
-
"aria-hidden": e.floating || void 0
|
83
|
-
}, a)), {};
|
84
|
-
}
|
85
|
-
}), qe = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ae = Y({
|
86
|
-
appendInnerIcon: J,
|
87
|
-
bgColor: String,
|
88
|
-
clearable: Boolean,
|
89
|
-
clearIcon: {
|
90
|
-
type: J,
|
91
|
-
default: "$clear"
|
92
|
-
},
|
93
|
-
active: Boolean,
|
94
|
-
centerAffix: {
|
95
|
-
type: Boolean,
|
96
|
-
default: void 0
|
97
|
-
},
|
98
|
-
color: String,
|
99
|
-
baseColor: String,
|
100
|
-
dirty: Boolean,
|
101
|
-
disabled: {
|
102
|
-
type: Boolean,
|
103
|
-
default: null
|
104
|
-
},
|
105
|
-
error: Boolean,
|
106
|
-
flat: Boolean,
|
107
|
-
label: String,
|
108
|
-
persistentClear: Boolean,
|
109
|
-
prependInnerIcon: J,
|
110
|
-
reverse: Boolean,
|
111
|
-
singleLine: Boolean,
|
112
|
-
variant: {
|
113
|
-
type: String,
|
114
|
-
default: "filled",
|
115
|
-
validator: (e) => qe.includes(e)
|
116
|
-
},
|
117
|
-
"onClick:clear": z(),
|
118
|
-
"onClick:appendInner": z(),
|
119
|
-
"onClick:prependInner": z(),
|
120
|
-
...X(),
|
121
|
-
...De(),
|
122
|
-
...Ue(),
|
123
|
-
...de()
|
124
|
-
}, "VField"), le = p()({
|
125
|
-
name: "VField",
|
126
|
-
inheritAttrs: !1,
|
127
|
-
props: {
|
128
|
-
id: String,
|
129
|
-
...Ae(),
|
130
|
-
...ae()
|
131
|
-
},
|
132
|
-
emits: {
|
133
|
-
"update:focused": (e) => !0,
|
134
|
-
"update:modelValue": (e) => !0
|
135
|
-
},
|
136
|
-
setup(e, o) {
|
137
|
-
let {
|
138
|
-
attrs: a,
|
139
|
-
emit: u,
|
140
|
-
slots: t
|
141
|
-
} = o;
|
142
|
-
const {
|
143
|
-
themeClasses: m
|
144
|
-
} = ce(e), {
|
145
|
-
loaderClasses: C
|
146
|
-
} = $e(e), {
|
147
|
-
focusClasses: W,
|
148
|
-
isFocused: A,
|
149
|
-
focus: P,
|
150
|
-
blur: F
|
151
|
-
} = ne(e), {
|
152
|
-
InputIcon: E
|
153
|
-
} = Me(e), {
|
154
|
-
roundedClasses: j
|
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)), {
|
158
|
-
backgroundColorClasses: d,
|
159
|
-
backgroundColorStyles: g
|
160
|
-
} = Ee(me(e, "bgColor")), {
|
161
|
-
textColorClasses: H,
|
162
|
-
textColorStyles: D
|
163
|
-
} = Le(i(() => e.error || e.disabled ? void 0 : h.value && A.value ? e.color : e.baseColor));
|
164
|
-
ye(h, (c) => {
|
165
|
-
if (L.value) {
|
166
|
-
const f = O.value.$el, v = T.value.$el;
|
167
|
-
requestAnimationFrame(() => {
|
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})`,
|
173
|
-
color: re,
|
174
|
-
...S
|
175
|
-
}, {
|
176
|
-
duration: oe,
|
177
|
-
easing: we,
|
178
|
-
direction: c ? "normal" : "reverse"
|
179
|
-
}).finished.then(() => {
|
180
|
-
f.style.removeProperty("visibility"), v.style.removeProperty("visibility");
|
181
|
-
});
|
182
|
-
});
|
183
|
-
}
|
184
|
-
}, {
|
185
|
-
flush: "post"
|
186
|
-
});
|
187
|
-
const V = i(() => ({
|
188
|
-
isActive: h,
|
189
|
-
isFocused: A,
|
190
|
-
controlRef: n,
|
191
|
-
blur: F,
|
192
|
-
focus: P
|
193
|
-
}));
|
194
|
-
function _(c) {
|
195
|
-
c.target !== document.activeElement && c.preventDefault();
|
196
|
-
}
|
197
|
-
return G(() => {
|
198
|
-
var w, k, I;
|
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({
|
200
|
-
...V.value,
|
201
|
-
label: e.label,
|
202
|
-
props: {
|
203
|
-
for: y.value
|
204
|
-
}
|
205
|
-
}) : e.label;
|
206
|
-
return l("div", U({
|
207
|
-
class: ["v-field", {
|
208
|
-
"v-field--active": h.value,
|
209
|
-
"v-field--appended": b,
|
210
|
-
"v-field--center-affix": e.centerAffix ?? !s.value,
|
211
|
-
"v-field--disabled": e.disabled,
|
212
|
-
"v-field--dirty": e.dirty,
|
213
|
-
"v-field--error": e.error,
|
214
|
-
"v-field--flat": e.flat,
|
215
|
-
"v-field--has-background": !!e.bgColor,
|
216
|
-
"v-field--persistent-clear": e.persistentClear,
|
217
|
-
"v-field--prepended": f,
|
218
|
-
"v-field--reverse": e.reverse,
|
219
|
-
"v-field--single-line": e.singleLine,
|
220
|
-
"v-field--no-label": !r(),
|
221
|
-
[`v-field--variant-${e.variant}`]: !0
|
222
|
-
}, m.value, d.value, W.value, C.value, j.value, M.value, e.class],
|
223
|
-
style: [g.value, e.style],
|
224
|
-
onClick: _
|
225
|
-
}, a), [l("div", {
|
226
|
-
class: "v-field__overlay"
|
227
|
-
}, null), l(Ne, {
|
228
|
-
name: "v-field",
|
229
|
-
active: !!e.loading,
|
230
|
-
color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color
|
231
|
-
}, {
|
232
|
-
default: t.loader
|
233
|
-
}), f && l("div", {
|
234
|
-
key: "prepend",
|
235
|
-
class: "v-field__prepend-inner"
|
236
|
-
}, [e.prependInnerIcon && l(E, {
|
237
|
-
key: "prepend-icon",
|
238
|
-
name: "prependInner"
|
239
|
-
}, null), (w = t["prepend-inner"]) == null ? void 0 : w.call(t, V.value)]), l("div", {
|
240
|
-
class: "v-field__field",
|
241
|
-
"data-no-activator": ""
|
242
|
-
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && L.value && l($, {
|
243
|
-
key: "floating-label",
|
244
|
-
ref: T,
|
245
|
-
class: [H.value],
|
246
|
-
floating: !0,
|
247
|
-
for: y.value,
|
248
|
-
style: D.value
|
249
|
-
}, {
|
250
|
-
default: () => [r()]
|
251
|
-
}), x.value && l($, {
|
252
|
-
key: "label",
|
253
|
-
ref: O,
|
254
|
-
for: y.value
|
255
|
-
}, {
|
256
|
-
default: () => [r()]
|
257
|
-
}), (k = t.default) == null ? void 0 : k.call(t, {
|
258
|
-
...V.value,
|
259
|
-
props: {
|
260
|
-
id: y.value,
|
261
|
-
class: "v-field__input",
|
262
|
-
"aria-describedby": q.value
|
263
|
-
},
|
264
|
-
focus: P,
|
265
|
-
blur: F
|
266
|
-
})]), v && l(ke, {
|
267
|
-
key: "clear"
|
268
|
-
}, {
|
269
|
-
default: () => [K(l("div", {
|
270
|
-
class: "v-field__clearable",
|
271
|
-
onMousedown: (S) => {
|
272
|
-
S.preventDefault(), S.stopPropagation();
|
273
|
-
}
|
274
|
-
}, [l(Ie, {
|
275
|
-
defaults: {
|
276
|
-
VIcon: {
|
277
|
-
icon: e.clearIcon
|
278
|
-
}
|
279
|
-
}
|
280
|
-
}, {
|
281
|
-
default: () => [t.clear ? t.clear({
|
282
|
-
...V.value,
|
283
|
-
props: {
|
284
|
-
onFocus: P,
|
285
|
-
onBlur: F,
|
286
|
-
onClick: e["onClick:clear"]
|
287
|
-
}
|
288
|
-
}) : l(E, {
|
289
|
-
name: "clear",
|
290
|
-
onFocus: P,
|
291
|
-
onBlur: F
|
292
|
-
}, null)]
|
293
|
-
})]), [[te, e.dirty]])]
|
294
|
-
}), b && l("div", {
|
295
|
-
key: "append",
|
296
|
-
class: "v-field__append-inner"
|
297
|
-
}, [(I = t["append-inner"]) == null ? void 0 : I.call(t, V.value), e.appendInnerIcon && l(E, {
|
298
|
-
key: "append-icon",
|
299
|
-
name: "appendInner"
|
300
|
-
}, null)]), l("div", {
|
301
|
-
class: ["v-field__outline", H.value],
|
302
|
-
style: D.value
|
303
|
-
}, [c && l(N, null, [l("div", {
|
304
|
-
class: "v-field__outline__start"
|
305
|
-
}, null), L.value && l("div", {
|
306
|
-
class: "v-field__outline__notch"
|
307
|
-
}, [l($, {
|
308
|
-
ref: T,
|
309
|
-
floating: !0,
|
310
|
-
for: y.value
|
311
|
-
}, {
|
312
|
-
default: () => [r()]
|
313
|
-
})]), l("div", {
|
314
|
-
class: "v-field__outline__end"
|
315
|
-
}, null)]), s.value && L.value && l($, {
|
316
|
-
ref: T,
|
317
|
-
floating: !0,
|
318
|
-
for: y.value
|
319
|
-
}, {
|
320
|
-
default: () => [r()]
|
321
|
-
})])]);
|
322
|
-
}), {
|
323
|
-
controlRef: n
|
324
|
-
};
|
325
|
-
}
|
326
|
-
}), He = ["color", "file", "time", "date", "datetime-local", "week", "month"], ze = Y({
|
327
|
-
autofocus: Boolean,
|
328
|
-
counter: [Boolean, Number, String],
|
329
|
-
counterValue: [Number, Function],
|
330
|
-
prefix: String,
|
331
|
-
placeholder: String,
|
332
|
-
persistentPlaceholder: Boolean,
|
333
|
-
persistentCounter: Boolean,
|
334
|
-
suffix: String,
|
335
|
-
role: String,
|
336
|
-
type: {
|
337
|
-
type: String,
|
338
|
-
default: "text"
|
339
|
-
},
|
340
|
-
modelModifiers: Object,
|
341
|
-
...Oe(),
|
342
|
-
...ae()
|
343
|
-
}, "VTextField"), nl = p()({
|
344
|
-
name: "VTextField",
|
345
|
-
directives: {
|
346
|
-
Intersect: Se
|
347
|
-
},
|
348
|
-
inheritAttrs: !1,
|
349
|
-
props: ze(),
|
350
|
-
emits: {
|
351
|
-
"click:control": (e) => !0,
|
352
|
-
"mousedown:control": (e) => !0,
|
353
|
-
"update:focused": (e) => !0,
|
354
|
-
"update:modelValue": (e) => !0
|
355
|
-
},
|
356
|
-
setup(e, o) {
|
357
|
-
let {
|
358
|
-
attrs: a,
|
359
|
-
emit: u,
|
360
|
-
slots: t
|
361
|
-
} = o;
|
362
|
-
const m = be(e, "modelValue"), {
|
363
|
-
isFocused: C,
|
364
|
-
focus: W,
|
365
|
-
blur: A
|
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(() => {
|
367
|
-
if (a.maxlength) return a.maxlength;
|
368
|
-
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
369
|
-
return e.counter;
|
370
|
-
}), E = i(() => ["plain", "underlined"].includes(e.variant));
|
371
|
-
function j(n, s) {
|
372
|
-
var d, g;
|
373
|
-
!e.autofocus || !n || (g = (d = s[0].target) == null ? void 0 : d.focus) == null || g.call(d);
|
374
|
-
}
|
375
|
-
const M = R(), h = R(), x = R(), L = i(() => He.includes(e.type) || e.persistentPlaceholder || C.value || e.active);
|
376
|
-
function B() {
|
377
|
-
var n;
|
378
|
-
x.value !== document.activeElement && ((n = x.value) == null || n.focus()), C.value || W();
|
379
|
-
}
|
380
|
-
function y(n) {
|
381
|
-
u("mousedown:control", n), n.target !== x.value && (B(), n.preventDefault());
|
382
|
-
}
|
383
|
-
function q(n) {
|
384
|
-
B(), u("click:control", n);
|
385
|
-
}
|
386
|
-
function O(n) {
|
387
|
-
n.stopPropagation(), B(), Q(() => {
|
388
|
-
m.value = null, Ve(e["onClick:clear"], n);
|
389
|
-
});
|
390
|
-
}
|
391
|
-
function T(n) {
|
392
|
-
var d;
|
393
|
-
const s = n.target;
|
394
|
-
if (m.value = s.value, (d = e.modelModifiers) != null && d.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) {
|
395
|
-
const g = [s.selectionStart, s.selectionEnd];
|
396
|
-
Q(() => {
|
397
|
-
s.selectionStart = g[0], s.selectionEnd = g[1];
|
398
|
-
});
|
399
|
-
}
|
400
|
-
}
|
401
|
-
return G(() => {
|
402
|
-
const n = !!(t.counter || e.counter !== !1 && e.counter != null), s = !!(n || t.details), [d, g] = xe(a), {
|
403
|
-
modelValue: H,
|
404
|
-
...D
|
405
|
-
} = ee.filterProps(e), V = le.filterProps(e);
|
406
|
-
return l(ee, U({
|
407
|
-
ref: M,
|
408
|
-
modelValue: m.value,
|
409
|
-
"onUpdate:modelValue": (_) => m.value = _,
|
410
|
-
class: ["v-text-field", {
|
411
|
-
"v-text-field--prefixed": e.prefix,
|
412
|
-
"v-text-field--suffixed": e.suffix,
|
413
|
-
"v-input--plain-underlined": E.value
|
414
|
-
}, e.class],
|
415
|
-
style: e.style
|
416
|
-
}, d, D, {
|
417
|
-
centerAffix: !E.value,
|
418
|
-
focused: C.value
|
419
|
-
}), {
|
420
|
-
...t,
|
421
|
-
default: (_) => {
|
422
|
-
let {
|
423
|
-
id: c,
|
424
|
-
isDisabled: f,
|
425
|
-
isDirty: v,
|
426
|
-
isReadonly: b,
|
427
|
-
isValid: r
|
428
|
-
} = _;
|
429
|
-
return l(le, U({
|
430
|
-
ref: h,
|
431
|
-
onMousedown: y,
|
432
|
-
onClick: q,
|
433
|
-
"onClick:clear": O,
|
434
|
-
"onClick:prependInner": e["onClick:prependInner"],
|
435
|
-
"onClick:appendInner": e["onClick:appendInner"],
|
436
|
-
role: e.role
|
437
|
-
}, V, {
|
438
|
-
id: c.value,
|
439
|
-
active: L.value || v.value,
|
440
|
-
dirty: v.value || e.dirty,
|
441
|
-
disabled: f.value,
|
442
|
-
focused: C.value,
|
443
|
-
error: r.value === !1
|
444
|
-
}), {
|
445
|
-
...t,
|
446
|
-
default: (w) => {
|
447
|
-
let {
|
448
|
-
props: {
|
449
|
-
class: k,
|
450
|
-
...I
|
451
|
-
}
|
452
|
-
} = w;
|
453
|
-
const S = K(l("input", U({
|
454
|
-
ref: x,
|
455
|
-
value: m.value,
|
456
|
-
onInput: T,
|
457
|
-
autofocus: e.autofocus,
|
458
|
-
readonly: b.value,
|
459
|
-
disabled: f.value,
|
460
|
-
name: e.name,
|
461
|
-
placeholder: e.placeholder,
|
462
|
-
size: 1,
|
463
|
-
type: e.type,
|
464
|
-
onFocus: B,
|
465
|
-
onBlur: A
|
466
|
-
}, I, g), null), [[Ce("intersect"), {
|
467
|
-
handler: j
|
468
|
-
}, null, {
|
469
|
-
once: !0
|
470
|
-
}]]);
|
471
|
-
return l(N, null, [e.prefix && l("span", {
|
472
|
-
class: "v-text-field__prefix"
|
473
|
-
}, [l("span", {
|
474
|
-
class: "v-text-field__prefix__text"
|
475
|
-
}, [e.prefix])]), t.default ? l("div", {
|
476
|
-
class: k,
|
477
|
-
"data-no-activator": ""
|
478
|
-
}, [t.default(), S]) : he(S, {
|
479
|
-
class: k
|
480
|
-
}), e.suffix && l("span", {
|
481
|
-
class: "v-text-field__suffix"
|
482
|
-
}, [l("span", {
|
483
|
-
class: "v-text-field__suffix__text"
|
484
|
-
}, [e.suffix])])]);
|
485
|
-
}
|
486
|
-
});
|
487
|
-
},
|
488
|
-
details: s ? (_) => {
|
489
|
-
var c;
|
490
|
-
return l(N, null, [(c = t.details) == null ? void 0 : c.call(t, _), n && l(N, null, [l("span", null, null), l(We, {
|
491
|
-
active: e.persistentCounter || C.value,
|
492
|
-
value: P.value,
|
493
|
-
max: F.value,
|
494
|
-
disabled: e.disabled
|
495
|
-
}, t.counter)])]);
|
496
|
-
} : void 0
|
497
|
-
});
|
498
|
-
}), Ye({}, M, h, x);
|
499
|
-
}
|
500
|
-
});
|
501
|
-
ue("css/revolugo.vtextfield.BIH_AWWP.css");
|
502
|
-
export {
|
503
|
-
nl as V,
|
504
|
-
le as a,
|
505
|
-
We as b,
|
506
|
-
ze as c,
|
507
|
-
ae as m
|
508
|
-
};
|
509
|
-
//# sourceMappingURL=revolugo.vtextfield.BUNcwTRK.min.js.map
|
@@ -1,188 +0,0 @@
|
|
1
|
-
import { u as T, e as y, m as x, b as R } from "./revolugo.webcomponentwrapper.DFYGhYzz.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.7I5uexuc.min.js";
|
3
|
-
import { f as G, a as u, c as M } from "./revolugo.index.gIPq0z7C.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.Dnxang6X.min.js";
|
5
|
-
function O(e) {
|
6
|
-
try {
|
7
|
-
if (typeof document < "u") {
|
8
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
9
|
-
sheets: [],
|
10
|
-
components: []
|
11
|
-
};
|
12
|
-
const o = import.meta.url, t = o.slice(0, o.lastIndexOf("/") + 1) + e;
|
13
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
|
14
|
-
for (const l of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
-
l(t);
|
16
|
-
if (e.indexOf("fonts") >= 0) {
|
17
|
-
const l = document.createElement("link");
|
18
|
-
l.rel = "stylesheet", linK.href = t, document.head.appendChild(l);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
} catch (o) {
|
22
|
-
console.error("[revolugo-elements] ", o);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
const $ = S({
|
26
|
-
text: String,
|
27
|
-
...x(),
|
28
|
-
...y()
|
29
|
-
}, "VToolbarTitle"), q = E()({
|
30
|
-
name: "VToolbarTitle",
|
31
|
-
props: $(),
|
32
|
-
setup(e, o) {
|
33
|
-
let {
|
34
|
-
slots: t
|
35
|
-
} = o;
|
36
|
-
return T(() => {
|
37
|
-
const l = !!(t.default || t.text || e.text);
|
38
|
-
return a(e.tag, {
|
39
|
-
class: ["v-toolbar-title", e.class],
|
40
|
-
style: e.style
|
41
|
-
}, {
|
42
|
-
default: () => {
|
43
|
-
var n;
|
44
|
-
return [l && a("div", {
|
45
|
-
class: "v-toolbar-title__placeholder"
|
46
|
-
}, [t.text ? t.text() : e.text, (n = t.default) == null ? void 0 : n.call(t)])];
|
47
|
-
}
|
48
|
-
});
|
49
|
-
}), {};
|
50
|
-
}
|
51
|
-
}), z = [null, "prominent", "default", "comfortable", "compact"], A = S({
|
52
|
-
absolute: Boolean,
|
53
|
-
collapse: Boolean,
|
54
|
-
color: String,
|
55
|
-
density: {
|
56
|
-
type: String,
|
57
|
-
default: "default",
|
58
|
-
validator: (e) => z.includes(e)
|
59
|
-
},
|
60
|
-
extended: Boolean,
|
61
|
-
extensionHeight: {
|
62
|
-
type: [Number, String],
|
63
|
-
default: 48
|
64
|
-
},
|
65
|
-
flat: Boolean,
|
66
|
-
floating: Boolean,
|
67
|
-
height: {
|
68
|
-
type: [Number, String],
|
69
|
-
default: 64
|
70
|
-
},
|
71
|
-
image: String,
|
72
|
-
title: String,
|
73
|
-
...Q(),
|
74
|
-
...x(),
|
75
|
-
...K(),
|
76
|
-
...j(),
|
77
|
-
...y({
|
78
|
-
tag: "header"
|
79
|
-
}),
|
80
|
-
...H()
|
81
|
-
}, "VToolbar"), ee = E()({
|
82
|
-
name: "VToolbar",
|
83
|
-
props: A(),
|
84
|
-
setup(e, o) {
|
85
|
-
var c;
|
86
|
-
let {
|
87
|
-
slots: t
|
88
|
-
} = o;
|
89
|
-
const {
|
90
|
-
backgroundColorClasses: l,
|
91
|
-
backgroundColorStyles: n
|
92
|
-
} = R(P(e, "color")), {
|
93
|
-
borderClasses: V
|
94
|
-
} = Y(e), {
|
95
|
-
elevationClasses: _
|
96
|
-
} = F(e), {
|
97
|
-
roundedClasses: k
|
98
|
-
} = Z(e), {
|
99
|
-
themeClasses: L
|
100
|
-
} = w(e), {
|
101
|
-
rtlClasses: C
|
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({
|
104
|
-
VBtn: {
|
105
|
-
variant: "text"
|
106
|
-
}
|
107
|
-
}), T(() => {
|
108
|
-
var g;
|
109
|
-
const N = !!(e.title || t.title), B = !!(t.image || e.image), m = (g = t.extension) == null ? void 0 : g.call(t);
|
110
|
-
return i.value = !!(e.extended || m), a(e.tag, {
|
111
|
-
class: ["v-toolbar", {
|
112
|
-
"v-toolbar--absolute": e.absolute,
|
113
|
-
"v-toolbar--collapse": e.collapse,
|
114
|
-
"v-toolbar--flat": e.flat,
|
115
|
-
"v-toolbar--floating": e.floating,
|
116
|
-
[`v-toolbar--density-${e.density}`]: !0
|
117
|
-
}, l.value, V.value, _.value, k.value, L.value, C.value, e.class],
|
118
|
-
style: [n.value, e.style]
|
119
|
-
}, {
|
120
|
-
default: () => [B && a("div", {
|
121
|
-
key: "image",
|
122
|
-
class: "v-toolbar__image"
|
123
|
-
}, [t.image ? a(u, {
|
124
|
-
key: "image-defaults",
|
125
|
-
disabled: !e.image,
|
126
|
-
defaults: {
|
127
|
-
VImg: {
|
128
|
-
cover: !0,
|
129
|
-
src: e.image
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}, t.image) : a(G, {
|
133
|
-
key: "image-img",
|
134
|
-
cover: !0,
|
135
|
-
src: e.image
|
136
|
-
}, null)]), a(u, {
|
137
|
-
defaults: {
|
138
|
-
VTabs: {
|
139
|
-
height: s(r.value)
|
140
|
-
}
|
141
|
-
}
|
142
|
-
}, {
|
143
|
-
default: () => {
|
144
|
-
var v, f, b;
|
145
|
-
return [a("div", {
|
146
|
-
class: "v-toolbar__content",
|
147
|
-
style: {
|
148
|
-
height: s(r.value)
|
149
|
-
}
|
150
|
-
}, [t.prepend && a("div", {
|
151
|
-
class: "v-toolbar__prepend"
|
152
|
-
}, [(v = t.prepend) == null ? void 0 : v.call(t)]), N && a(q, {
|
153
|
-
key: "title",
|
154
|
-
text: e.title
|
155
|
-
}, {
|
156
|
-
text: t.title
|
157
|
-
}), (f = t.default) == null ? void 0 : f.call(t), t.append && a("div", {
|
158
|
-
class: "v-toolbar__append"
|
159
|
-
}, [(b = t.append) == null ? void 0 : b.call(t)])])];
|
160
|
-
}
|
161
|
-
}), a(u, {
|
162
|
-
defaults: {
|
163
|
-
VTabs: {
|
164
|
-
height: s(d.value)
|
165
|
-
}
|
166
|
-
}
|
167
|
-
}, {
|
168
|
-
default: () => [a(M, null, {
|
169
|
-
default: () => [i.value && a("div", {
|
170
|
-
class: "v-toolbar__extension",
|
171
|
-
style: {
|
172
|
-
height: s(d.value)
|
173
|
-
}
|
174
|
-
}, [m])]
|
175
|
-
})]
|
176
|
-
})]
|
177
|
-
});
|
178
|
-
}), {
|
179
|
-
contentHeight: r,
|
180
|
-
extensionHeight: d
|
181
|
-
};
|
182
|
-
}
|
183
|
-
});
|
184
|
-
O("css/revolugo.vtoolbar.BZert82L.css");
|
185
|
-
export {
|
186
|
-
ee as V
|
187
|
-
};
|
188
|
-
//# sourceMappingURL=revolugo.vtoolbar.CvbAGFXR.min.js.map
|