@revolugo/elements 6.9.3-beta.9 → 6.9.4-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.
Files changed (190) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +1 -0
  7. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  8. package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
  9. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  10. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
  11. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
  12. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
  13. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
  14. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
  15. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  16. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
  17. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
  18. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
  19. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
  20. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  21. package/dist/css/revolugo.index.XNPQF1ia.css +5 -0
  22. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  23. package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
  24. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +1 -0
  25. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  26. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
  27. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  28. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  29. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  30. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  31. package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
  32. package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
  33. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
  34. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  35. package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
  36. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
  37. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  38. package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
  39. package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
  40. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
  41. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
  42. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
  43. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
  44. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
  45. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
  46. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  47. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
  48. package/dist/css/{revolugo.webcomponentwrapper.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
  49. package/dist/index.es.min.js +1518 -1275
  50. package/dist/index.es.min.js.map +1 -1
  51. package/dist/index.min.js +5 -5
  52. package/dist/index.min.js.map +1 -1
  53. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +247 -0
  54. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
  55. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
  56. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
  57. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
  58. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
  59. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
  60. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
  61. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
  62. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
  63. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
  64. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
  65. package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
  66. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
  67. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
  68. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
  69. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
  70. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  71. package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
  72. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  73. package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
  74. package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
  75. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
  76. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
  77. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
  78. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
  79. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
  80. package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
  81. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
  82. package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
  83. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
  84. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
  85. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  86. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
  87. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
  88. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
  89. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
  90. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
  91. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
  92. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
  93. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  94. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
  95. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
  96. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
  97. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
  98. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
  99. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
  100. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
  101. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
  102. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
  103. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
  104. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
  105. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
  106. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
  107. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
  108. package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
  109. package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
  110. package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
  111. package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
  112. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
  113. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
  114. package/dist/revolugo.min.js +1 -1
  115. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
  116. package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
  117. package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
  118. package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
  119. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
  120. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
  121. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
  122. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
  123. package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
  124. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
  125. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
  126. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
  127. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
  128. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
  129. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
  130. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
  131. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
  132. package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
  133. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
  134. package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
  135. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
  136. package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
  137. package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
  138. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
  139. package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
  140. package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
  141. package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
  142. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
  143. package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
  144. package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
  145. package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
  146. package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
  147. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
  148. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
  149. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
  150. package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
  151. package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
  152. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
  153. package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
  154. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
  155. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
  156. package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
  157. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
  158. package/package.json +5 -5
  159. package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
  160. package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
  161. package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
  162. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
  163. package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
  164. package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
  165. package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
  166. package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
  167. package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
  168. package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
  169. package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
  170. package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
  171. package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
  172. package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
  173. package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
  174. package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
  175. package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
  176. package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
  177. package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
  178. package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
  179. package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
  180. package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
  181. package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
  182. package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
  183. package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
  184. package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
  185. package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
  186. package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
  187. package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
  188. package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
  189. package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
  190. package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -0,0 +1,501 @@
1
+ import { a1 as U, a2 as W, H as i, a as l, J, K as te, aM as de, a4 as q, a3 as z, aK as ce, aE as fe, aL as ve, k as L, af as me, O as ye, F as N, D as $, ad as ge, a6 as be, b5 as xe, aH as Ce, cH as he, W as Z, bV as Ve } from "./revolugo.index.wc.DLkeXtka.min.js";
2
+ import { z as _e, y as ke, r as Ie, L as Se, w as Pe, a as Ee, I as Fe } from "./revolugo.index.DZEISB0K.min.js";
3
+ import { u as Y, M as Le, p as Be, m as X, b as Te, d as we, J as Re, q as Oe, s as Me } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
4
+ import { V as Ae } from "./revolugo.vlabel.BjtrjyZZ.min.js";
5
+ import { a as De, u as ne, e as Ne, m as $e, V as ee } from "./revolugo.vinput.BowTI8jK.min.js";
6
+ import { a as Ue, b as We } from "./revolugo.rounded.C-2ilaaW.min.js";
7
+ import { f as Ye } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
8
+ function ue(e) {
9
+ try {
10
+ if (typeof document < "u") {
11
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
+ sheets: [],
13
+ components: []
14
+ };
15
+ const o = import.meta.url, a = o.slice(0, o.lastIndexOf("/") + 1) + e;
16
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
17
+ for (const u of REVOLUGO_ELEMENTS_STYLES.components)
18
+ u(a);
19
+ if (e.indexOf("fonts") >= 0) {
20
+ const u = document.createElement("link");
21
+ u.rel = "stylesheet", linK.href = a, document.head.appendChild(u);
22
+ }
23
+ }
24
+ } catch (o) {
25
+ console.error("[revolugo-elements] ", o);
26
+ }
27
+ }
28
+ const pe = W({
29
+ active: Boolean,
30
+ disabled: Boolean,
31
+ max: [Number, String],
32
+ value: {
33
+ type: [Number, String],
34
+ default: 0
35
+ },
36
+ ...X(),
37
+ ...Be({
38
+ transition: {
39
+ component: _e
40
+ }
41
+ })
42
+ }, "VCounter"), Ge = U()({
43
+ name: "VCounter",
44
+ functional: !0,
45
+ props: pe(),
46
+ setup(e, o) {
47
+ let {
48
+ slots: a
49
+ } = o;
50
+ const u = i(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
51
+ return Y(() => l(Le, {
52
+ transition: e.transition
53
+ }, {
54
+ default: () => [J(l("div", {
55
+ class: ["v-counter", {
56
+ "text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
57
+ }, e.class],
58
+ style: e.style
59
+ }, [a.default ? a.default({
60
+ counter: u.value,
61
+ max: e.max,
62
+ value: e.value
63
+ }) : u.value]), [[te, e.active]])]
64
+ })), {};
65
+ }
66
+ }), He = W({
67
+ floating: Boolean,
68
+ ...X()
69
+ }, "VFieldLabel"), D = U()({
70
+ name: "VFieldLabel",
71
+ props: He(),
72
+ setup(e, o) {
73
+ let {
74
+ slots: a
75
+ } = o;
76
+ return Y(() => l(Ae, {
77
+ class: ["v-field-label", {
78
+ "v-field-label--floating": e.floating
79
+ }, e.class],
80
+ style: e.style,
81
+ "aria-hidden": e.floating || void 0
82
+ }, a)), {};
83
+ }
84
+ }), Ke = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], ae = W({
85
+ appendInnerIcon: z,
86
+ bgColor: String,
87
+ clearable: Boolean,
88
+ clearIcon: {
89
+ type: z,
90
+ default: "$clear"
91
+ },
92
+ active: Boolean,
93
+ centerAffix: {
94
+ type: Boolean,
95
+ default: void 0
96
+ },
97
+ color: String,
98
+ baseColor: String,
99
+ dirty: Boolean,
100
+ disabled: {
101
+ type: Boolean,
102
+ default: null
103
+ },
104
+ error: Boolean,
105
+ flat: Boolean,
106
+ label: String,
107
+ persistentClear: Boolean,
108
+ prependInnerIcon: z,
109
+ reverse: Boolean,
110
+ singleLine: Boolean,
111
+ variant: {
112
+ type: String,
113
+ default: "filled",
114
+ validator: (e) => Ke.includes(e)
115
+ },
116
+ "onClick:clear": q(),
117
+ "onClick:appendInner": q(),
118
+ "onClick:prependInner": q(),
119
+ ...X(),
120
+ ...ke(),
121
+ ...Ue(),
122
+ ...de()
123
+ }, "VField"), le = U()({
124
+ name: "VField",
125
+ inheritAttrs: !1,
126
+ props: {
127
+ id: String,
128
+ ...De(),
129
+ ...ae()
130
+ },
131
+ emits: {
132
+ "update:focused": (e) => !0,
133
+ "update:modelValue": (e) => !0
134
+ },
135
+ setup(e, o) {
136
+ let {
137
+ attrs: a,
138
+ emit: u,
139
+ slots: t
140
+ } = o;
141
+ const {
142
+ themeClasses: f
143
+ } = ce(e), {
144
+ loaderClasses: b
145
+ } = Ie(e), {
146
+ focusClasses: p,
147
+ isFocused: B,
148
+ focus: V,
149
+ blur: _
150
+ } = ne(e), {
151
+ InputIcon: k
152
+ } = Ne(e), {
153
+ roundedClasses: G
154
+ } = We(e), {
155
+ rtlClasses: T
156
+ } = fe(), x = i(() => e.dirty || e.active), y = i(() => !!(e.label || t.label)), I = i(() => !e.singleLine && y.value), S = ve(), v = i(() => e.id || `input-${S}`), H = i(() => `${v.value}-messages`), w = L(), P = L(), n = L(), s = i(() => ["plain", "underlined"].includes(e.variant)), {
157
+ backgroundColorClasses: E,
158
+ backgroundColorStyles: K
159
+ } = Te(me(e, "bgColor")), {
160
+ textColorClasses: j,
161
+ textColorStyles: R
162
+ } = we(i(() => e.error || e.disabled ? void 0 : x.value && B.value ? e.color : e.baseColor));
163
+ ye(x, (g) => {
164
+ if (I.value) {
165
+ const d = w.value.$el, c = P.value.$el;
166
+ requestAnimationFrame(() => {
167
+ const m = Re(d), r = c.getBoundingClientRect(), F = r.x - m.x, O = r.y - m.y - (m.height / 2 - r.height / 2), M = r.width / 0.75, A = Math.abs(M - m.width) > 1 ? {
168
+ maxWidth: ge(M)
169
+ } : void 0, ie = getComputedStyle(d), Q = getComputedStyle(c), oe = parseFloat(ie.transitionDuration) * 1e3 || 150, se = parseFloat(Q.getPropertyValue("--v-field-label-scale")), re = Q.getPropertyValue("color");
170
+ d.style.visibility = "visible", c.style.visibility = "hidden", Oe(d, {
171
+ transform: `translate(${F}px, ${O}px) scale(${se})`,
172
+ color: re,
173
+ ...A
174
+ }, {
175
+ duration: oe,
176
+ easing: Me,
177
+ direction: g ? "normal" : "reverse"
178
+ }).finished.then(() => {
179
+ d.style.removeProperty("visibility"), c.style.removeProperty("visibility");
180
+ });
181
+ });
182
+ }
183
+ }, {
184
+ flush: "post"
185
+ });
186
+ const C = i(() => ({
187
+ isActive: x,
188
+ isFocused: B,
189
+ controlRef: n,
190
+ blur: _,
191
+ focus: V
192
+ }));
193
+ function h(g) {
194
+ g.target !== document.activeElement && g.preventDefault();
195
+ }
196
+ return Y(() => {
197
+ const g = e.variant === "outlined", d = !!(t["prepend-inner"] || e.prependInnerIcon), c = !!(e.clearable || t.clear) && !e.disabled, m = !!(t["append-inner"] || e.appendInnerIcon || c), r = () => t.label ? t.label({
198
+ ...C.value,
199
+ label: e.label,
200
+ props: {
201
+ for: v.value
202
+ }
203
+ }) : e.label;
204
+ return l("div", $({
205
+ class: ["v-field", {
206
+ "v-field--active": x.value,
207
+ "v-field--appended": m,
208
+ "v-field--center-affix": e.centerAffix ?? !s.value,
209
+ "v-field--disabled": e.disabled,
210
+ "v-field--dirty": e.dirty,
211
+ "v-field--error": e.error,
212
+ "v-field--flat": e.flat,
213
+ "v-field--has-background": !!e.bgColor,
214
+ "v-field--persistent-clear": e.persistentClear,
215
+ "v-field--prepended": d,
216
+ "v-field--reverse": e.reverse,
217
+ "v-field--single-line": e.singleLine,
218
+ "v-field--no-label": !r(),
219
+ [`v-field--variant-${e.variant}`]: !0
220
+ }, f.value, E.value, p.value, b.value, G.value, T.value, e.class],
221
+ style: [K.value, e.style],
222
+ onClick: h
223
+ }, a), [l("div", {
224
+ class: "v-field__overlay"
225
+ }, null), l(Se, {
226
+ name: "v-field",
227
+ active: !!e.loading,
228
+ color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color
229
+ }, {
230
+ default: t.loader
231
+ }), d && l("div", {
232
+ key: "prepend",
233
+ class: "v-field__prepend-inner"
234
+ }, [e.prependInnerIcon && l(k, {
235
+ key: "prepend-icon",
236
+ name: "prependInner"
237
+ }, null), t["prepend-inner"]?.(C.value)]), l("div", {
238
+ class: "v-field__field",
239
+ "data-no-activator": ""
240
+ }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && I.value && l(D, {
241
+ key: "floating-label",
242
+ ref: P,
243
+ class: [j.value],
244
+ floating: !0,
245
+ for: v.value,
246
+ style: R.value
247
+ }, {
248
+ default: () => [r()]
249
+ }), y.value && l(D, {
250
+ key: "label",
251
+ ref: w,
252
+ for: v.value
253
+ }, {
254
+ default: () => [r()]
255
+ }), t.default?.({
256
+ ...C.value,
257
+ props: {
258
+ id: v.value,
259
+ class: "v-field__input",
260
+ "aria-describedby": H.value
261
+ },
262
+ focus: V,
263
+ blur: _
264
+ })]), c && l(Pe, {
265
+ key: "clear"
266
+ }, {
267
+ default: () => [J(l("div", {
268
+ class: "v-field__clearable",
269
+ onMousedown: (F) => {
270
+ F.preventDefault(), F.stopPropagation();
271
+ }
272
+ }, [l(Ee, {
273
+ defaults: {
274
+ VIcon: {
275
+ icon: e.clearIcon
276
+ }
277
+ }
278
+ }, {
279
+ default: () => [t.clear ? t.clear({
280
+ ...C.value,
281
+ props: {
282
+ onFocus: V,
283
+ onBlur: _,
284
+ onClick: e["onClick:clear"]
285
+ }
286
+ }) : l(k, {
287
+ name: "clear",
288
+ onFocus: V,
289
+ onBlur: _
290
+ }, null)]
291
+ })]), [[te, e.dirty]])]
292
+ }), m && l("div", {
293
+ key: "append",
294
+ class: "v-field__append-inner"
295
+ }, [t["append-inner"]?.(C.value), e.appendInnerIcon && l(k, {
296
+ key: "append-icon",
297
+ name: "appendInner"
298
+ }, null)]), l("div", {
299
+ class: ["v-field__outline", j.value],
300
+ style: R.value
301
+ }, [g && l(N, null, [l("div", {
302
+ class: "v-field__outline__start"
303
+ }, null), I.value && l("div", {
304
+ class: "v-field__outline__notch"
305
+ }, [l(D, {
306
+ ref: P,
307
+ floating: !0,
308
+ for: v.value
309
+ }, {
310
+ default: () => [r()]
311
+ })]), l("div", {
312
+ class: "v-field__outline__end"
313
+ }, null)]), s.value && I.value && l(D, {
314
+ ref: P,
315
+ floating: !0,
316
+ for: v.value
317
+ }, {
318
+ default: () => [r()]
319
+ })])]);
320
+ }), {
321
+ controlRef: n
322
+ };
323
+ }
324
+ }), je = ["color", "file", "time", "date", "datetime-local", "week", "month"], qe = W({
325
+ autofocus: Boolean,
326
+ counter: [Boolean, Number, String],
327
+ counterValue: [Number, Function],
328
+ prefix: String,
329
+ placeholder: String,
330
+ persistentPlaceholder: Boolean,
331
+ persistentCounter: Boolean,
332
+ suffix: String,
333
+ role: String,
334
+ type: {
335
+ type: String,
336
+ default: "text"
337
+ },
338
+ modelModifiers: Object,
339
+ ...$e(),
340
+ ...ae()
341
+ }, "VTextField"), tl = U()({
342
+ name: "VTextField",
343
+ directives: {
344
+ Intersect: Fe
345
+ },
346
+ inheritAttrs: !1,
347
+ props: qe(),
348
+ emits: {
349
+ "click:control": (e) => !0,
350
+ "mousedown:control": (e) => !0,
351
+ "update:focused": (e) => !0,
352
+ "update:modelValue": (e) => !0
353
+ },
354
+ setup(e, o) {
355
+ let {
356
+ attrs: a,
357
+ emit: u,
358
+ slots: t
359
+ } = o;
360
+ const f = be(e, "modelValue"), {
361
+ isFocused: b,
362
+ focus: p,
363
+ blur: B
364
+ } = ne(e), V = i(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : (f.value ?? "").toString().length), _ = i(() => {
365
+ if (a.maxlength) return a.maxlength;
366
+ if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
367
+ return e.counter;
368
+ }), k = i(() => ["plain", "underlined"].includes(e.variant));
369
+ function G(n, s) {
370
+ !e.autofocus || !n || s[0].target?.focus?.();
371
+ }
372
+ const T = L(), x = L(), y = L(), I = i(() => je.includes(e.type) || e.persistentPlaceholder || b.value || e.active);
373
+ function S() {
374
+ y.value !== document.activeElement && y.value?.focus(), b.value || p();
375
+ }
376
+ function v(n) {
377
+ u("mousedown:control", n), n.target !== y.value && (S(), n.preventDefault());
378
+ }
379
+ function H(n) {
380
+ S(), u("click:control", n);
381
+ }
382
+ function w(n) {
383
+ n.stopPropagation(), S(), Z(() => {
384
+ f.value = null, Ve(e["onClick:clear"], n);
385
+ });
386
+ }
387
+ function P(n) {
388
+ const s = n.target;
389
+ if (f.value = s.value, e.modelModifiers?.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) {
390
+ const E = [s.selectionStart, s.selectionEnd];
391
+ Z(() => {
392
+ s.selectionStart = E[0], s.selectionEnd = E[1];
393
+ });
394
+ }
395
+ }
396
+ return Y(() => {
397
+ const n = !!(t.counter || e.counter !== !1 && e.counter != null), s = !!(n || t.details), [E, K] = xe(a), {
398
+ modelValue: j,
399
+ ...R
400
+ } = ee.filterProps(e), C = le.filterProps(e);
401
+ return l(ee, $({
402
+ ref: T,
403
+ modelValue: f.value,
404
+ "onUpdate:modelValue": (h) => f.value = h,
405
+ class: ["v-text-field", {
406
+ "v-text-field--prefixed": e.prefix,
407
+ "v-text-field--suffixed": e.suffix,
408
+ "v-input--plain-underlined": k.value
409
+ }, e.class],
410
+ style: e.style
411
+ }, E, R, {
412
+ centerAffix: !k.value,
413
+ focused: b.value
414
+ }), {
415
+ ...t,
416
+ default: (h) => {
417
+ let {
418
+ id: g,
419
+ isDisabled: d,
420
+ isDirty: c,
421
+ isReadonly: m,
422
+ isValid: r
423
+ } = h;
424
+ return l(le, $({
425
+ ref: x,
426
+ onMousedown: v,
427
+ onClick: H,
428
+ "onClick:clear": w,
429
+ "onClick:prependInner": e["onClick:prependInner"],
430
+ "onClick:appendInner": e["onClick:appendInner"],
431
+ role: e.role
432
+ }, C, {
433
+ id: g.value,
434
+ active: I.value || c.value,
435
+ dirty: c.value || e.dirty,
436
+ disabled: d.value,
437
+ focused: b.value,
438
+ error: r.value === !1
439
+ }), {
440
+ ...t,
441
+ default: (F) => {
442
+ let {
443
+ props: {
444
+ class: O,
445
+ ...M
446
+ }
447
+ } = F;
448
+ const A = J(l("input", $({
449
+ ref: y,
450
+ value: f.value,
451
+ onInput: P,
452
+ autofocus: e.autofocus,
453
+ readonly: m.value,
454
+ disabled: d.value,
455
+ name: e.name,
456
+ placeholder: e.placeholder,
457
+ size: 1,
458
+ type: e.type,
459
+ onFocus: S,
460
+ onBlur: B
461
+ }, M, K), null), [[Ce("intersect"), {
462
+ handler: G
463
+ }, null, {
464
+ once: !0
465
+ }]]);
466
+ return l(N, null, [e.prefix && l("span", {
467
+ class: "v-text-field__prefix"
468
+ }, [l("span", {
469
+ class: "v-text-field__prefix__text"
470
+ }, [e.prefix])]), t.default ? l("div", {
471
+ class: O,
472
+ "data-no-activator": ""
473
+ }, [t.default(), A]) : he(A, {
474
+ class: O
475
+ }), e.suffix && l("span", {
476
+ class: "v-text-field__suffix"
477
+ }, [l("span", {
478
+ class: "v-text-field__suffix__text"
479
+ }, [e.suffix])])]);
480
+ }
481
+ });
482
+ },
483
+ details: s ? (h) => l(N, null, [t.details?.(h), n && l(N, null, [l("span", null, null), l(Ge, {
484
+ active: e.persistentCounter || b.value,
485
+ value: V.value,
486
+ max: _.value,
487
+ disabled: e.disabled
488
+ }, t.counter)])]) : void 0
489
+ });
490
+ }), Ye({}, T, x, y);
491
+ }
492
+ });
493
+ ue("css/revolugo.vtextfield.BIH_AWWP.css");
494
+ export {
495
+ tl as V,
496
+ le as a,
497
+ Ge as b,
498
+ qe as c,
499
+ ae as m
500
+ };
501
+ //# sourceMappingURL=revolugo.vtextfield.BhmuZsP7.min.js.map
@@ -1,5 +1,7 @@
1
- import { w as m, a8 as g, a1 as v, a3 as L, ah as C, a7 as N, v as B, z as O, aa as R, aj as w, af as P, J as d, $ as U } from "./revolugo.webcomponentwrapper.PTHIHE3G.min.js";
2
- import { U as f, V as b, a, ah as I, Y as H, am as Y, s as G, b as c, ag as M, a0 as D, ao as n } from "./revolugo.index.wc.CiJw1SpW.min.js";
1
+ import { u as m, e as g, m as f, b as L } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
2
+ import { a1 as v, a2 as b, a, af as C, aK as N, aE as B, a9 as O, H as c, aV as R, aM as P, ad as n } from "./revolugo.index.wc.DLkeXtka.min.js";
3
+ import { f as w, a as d, d as H } from "./revolugo.index.DZEISB0K.min.js";
4
+ import { c as I, u as U, b as M, a as G, m as Y, d as D } from "./revolugo.rounded.C-2ilaaW.min.js";
3
5
  function k(e) {
4
6
  try {
5
7
  if (typeof document < "u") {
@@ -7,50 +9,50 @@ function k(e) {
7
9
  sheets: [],
8
10
  components: []
9
11
  };
10
- const l = import.meta.url, t = l.slice(0, l.lastIndexOf("/") + 1) + e;
12
+ const o = import.meta.url, t = o.slice(0, o.lastIndexOf("/") + 1) + e;
11
13
  window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
- for (const o of REVOLUGO_ELEMENTS_STYLES.components)
13
- o(t);
14
+ for (const l of REVOLUGO_ELEMENTS_STYLES.components)
15
+ l(t);
14
16
  if (e.indexOf("fonts") >= 0) {
15
- const o = document.createElement("link");
16
- o.rel = "stylesheet", linK.href = t, document.head.appendChild(o);
17
+ const l = document.createElement("link");
18
+ l.rel = "stylesheet", linK.href = t, document.head.appendChild(l);
17
19
  }
18
20
  }
19
- } catch (l) {
20
- console.error("[revolugo-elements] ", l);
21
+ } catch (o) {
22
+ console.error("[revolugo-elements] ", o);
21
23
  }
22
24
  }
23
- const j = b({
25
+ const K = b({
24
26
  text: String,
25
- ...v(),
27
+ ...f(),
26
28
  ...g()
27
- }, "VToolbarTitle"), $ = f()({
29
+ }, "VToolbarTitle"), j = v()({
28
30
  name: "VToolbarTitle",
29
- props: j(),
30
- setup(e, l) {
31
+ props: K(),
32
+ setup(e, o) {
31
33
  let {
32
34
  slots: t
33
- } = l;
35
+ } = o;
34
36
  return m(() => {
35
- const o = !!(t.default || t.text || e.text);
37
+ const l = !!(t.default || t.text || e.text);
36
38
  return a(e.tag, {
37
39
  class: ["v-toolbar-title", e.class],
38
40
  style: e.style
39
41
  }, {
40
- default: () => [o && a("div", {
42
+ default: () => [l && a("div", {
41
43
  class: "v-toolbar-title__placeholder"
42
44
  }, [t.text ? t.text() : e.text, t.default?.()])]
43
45
  });
44
46
  }), {};
45
47
  }
46
- }), z = [null, "prominent", "default", "comfortable", "compact"], F = b({
48
+ }), F = [null, "prominent", "default", "comfortable", "compact"], Z = b({
47
49
  absolute: Boolean,
48
50
  collapse: Boolean,
49
51
  color: String,
50
52
  density: {
51
53
  type: String,
52
54
  default: "default",
53
- validator: (e) => z.includes(e)
55
+ validator: (e) => F.includes(e)
54
56
  },
55
57
  extended: Boolean,
56
58
  extensionHeight: {
@@ -65,36 +67,36 @@ const j = b({
65
67
  },
66
68
  image: String,
67
69
  title: String,
68
- ...w(),
69
- ...v(),
70
- ...R(),
71
- ...O(),
70
+ ...D(),
71
+ ...f(),
72
+ ...Y(),
73
+ ...G(),
72
74
  ...g({
73
75
  tag: "header"
74
76
  }),
75
- ...D()
76
- }, "VToolbar"), Z = f()({
77
+ ...P()
78
+ }, "VToolbar"), J = v()({
77
79
  name: "VToolbar",
78
- props: F(),
79
- setup(e, l) {
80
+ props: Z(),
81
+ setup(e, o) {
80
82
  let {
81
83
  slots: t
82
- } = l;
84
+ } = o;
83
85
  const {
84
- backgroundColorClasses: o,
86
+ backgroundColorClasses: l,
85
87
  backgroundColorStyles: h
86
- } = L(I(e, "color")), {
88
+ } = L(C(e, "color")), {
87
89
  borderClasses: T
88
- } = C(e), {
90
+ } = I(e), {
89
91
  elevationClasses: y
90
- } = N(e), {
92
+ } = U(e), {
91
93
  roundedClasses: x
92
- } = B(e), {
94
+ } = M(e), {
93
95
  themeClasses: E
94
- } = H(e), {
96
+ } = N(e), {
95
97
  rtlClasses: V
96
- } = Y(), s = G(!!(e.extended || t.extension?.())), i = c(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), r = c(() => s.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
97
- return M({
98
+ } = B(), s = O(!!(e.extended || t.extension?.())), i = c(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), r = c(() => s.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
99
+ return R({
98
100
  VBtn: {
99
101
  variant: "text"
100
102
  }
@@ -107,7 +109,7 @@ const j = b({
107
109
  "v-toolbar--flat": e.flat,
108
110
  "v-toolbar--floating": e.floating,
109
111
  [`v-toolbar--density-${e.density}`]: !0
110
- }, o.value, T.value, y.value, x.value, E.value, V.value, e.class],
112
+ }, l.value, T.value, y.value, x.value, E.value, V.value, e.class],
111
113
  style: [h.value, e.style]
112
114
  }, {
113
115
  default: () => [_ && a("div", {
@@ -122,7 +124,7 @@ const j = b({
122
124
  src: e.image
123
125
  }
124
126
  }
125
- }, t.image) : a(P, {
127
+ }, t.image) : a(w, {
126
128
  key: "image-img",
127
129
  cover: !0,
128
130
  src: e.image
@@ -140,7 +142,7 @@ const j = b({
140
142
  }
141
143
  }, [t.prepend && a("div", {
142
144
  class: "v-toolbar__prepend"
143
- }, [t.prepend?.()]), S && a($, {
145
+ }, [t.prepend?.()]), S && a(j, {
144
146
  key: "title",
145
147
  text: e.title
146
148
  }, {
@@ -155,7 +157,7 @@ const j = b({
155
157
  }
156
158
  }
157
159
  }, {
158
- default: () => [a(U, null, {
160
+ default: () => [a(H, null, {
159
161
  default: () => [s.value && a("div", {
160
162
  class: "v-toolbar__extension",
161
163
  style: {
@@ -173,6 +175,6 @@ const j = b({
173
175
  });
174
176
  k("css/revolugo.vtoolbar.BZert82L.css");
175
177
  export {
176
- Z as V
178
+ J as V
177
179
  };
178
- //# sourceMappingURL=revolugo.vtoolbar.Ctwu8OKs.min.js.map
180
+ //# sourceMappingURL=revolugo.vtoolbar.CMwcpp3v.min.js.map