@revolugo/elements 6.9.2 → 6.9.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.
Files changed (191) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.rSaL9R7c.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.zWRVQ06X.css +1 -0
  4. package/dist/css/revolugo.index.ClC0OVqq.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.BQSUxe3K.css} +1 -1
  7. package/dist/index.es.min.js +980 -980
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DBDBmi4T.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.B6QPM_Ry.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.Ddkm_fvp.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.CG7uPZbr.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.BWTrC0_a.min.js +28651 -0
  16. package/dist/revolugo.cancellationpolicieslist.BG96pHr2.min.js +26 -0
  17. package/dist/revolugo.creditcardpayment.DFFrWaVU.min.js +26 -0
  18. package/dist/{revolugo.creditcardform.CejFX150.min.js → revolugo.creditcardstripeform.DGWp8slG.min.js} +887 -883
  19. package/dist/revolugo.creditcardstripeform.QNt_WEGU.min.js +50 -0
  20. package/dist/revolugo.currencypickerbtn.Bgm1OCQw.min.js +26 -0
  21. package/dist/{revolugo.dialog-attach.C4Yvk6WJ.min.js → revolugo.dialog-attach.av8UMDFl.min.js} +2 -2
  22. package/dist/revolugo.fastbookingflow.X6qQvSoz.min.js +36 -0
  23. package/dist/revolugo.fullbookingflow.BzjWojY0.min.js +26 -0
  24. package/dist/revolugo.hoteldescriptionview.BQC-fdbu.min.js +26 -0
  25. package/dist/revolugo.hotelofferlist.Cz1AOdHO.min.js +26 -0
  26. package/dist/revolugo.hoteloffersearchmenu.BuC8xvxw.min.js +115 -0
  27. package/dist/revolugo.hoteloffersmap.DaxHQNKu.min.js +26 -0
  28. package/dist/revolugo.hoteloffersview.HBNlJSgs.min.js +21 -0
  29. package/dist/revolugo.hotelroomofferlist.Cofbf0gn.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersbookingflow.hfs_7j1e.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersearchmenu.CspP42oK.min.js +26 -0
  32. package/dist/revolugo.hotelroomoffersview.CS6u-PH0.min.js +26 -0
  33. package/dist/revolugo.index.mofuHwB4.min.js +106 -0
  34. package/dist/{revolugo.index.wc.DLkeXtka.min.js → revolugo.index.wc.CM8OBrQ1.min.js} +4434 -4446
  35. package/dist/revolugo.langpickerbtn.CKukkkuR.min.js +31 -0
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.q8ejbjFq.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.CpUjfhca.min.js +949 -0
  39. package/dist/revolugo.preferencesmenu.DdOskExU.min.js +24 -0
  40. package/dist/revolugo.roominglisteditor.Dnhk7nR9.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.pNynqZm5.min.js +838 -0
  42. package/dist/revolugo.termsandconditions.tYQ2KjEs.min.js +31 -0
  43. package/dist/{revolugo.vtoolbar.CMwcpp3v.min.js → revolugo.vtoolbar.CAH-mO38.min.js} +44 -46
  44. package/dist/revolugo.webcomponentwrapper.rioLf7fV.min.js +28621 -0
  45. package/package.json +5 -5
  46. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
  47. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
  48. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  49. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  50. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
  51. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  52. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  53. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  54. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  55. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  56. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  57. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
  58. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  59. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  60. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
  61. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
  62. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
  63. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  64. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  65. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  66. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  67. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  68. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
  69. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  70. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  71. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  72. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  73. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  74. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  75. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  76. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  77. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  78. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  79. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  80. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  81. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  82. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  83. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  84. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  85. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  86. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  87. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  88. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  89. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  90. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  91. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  92. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +0 -373
  94. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +0 -24
  100. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +0 -870
  101. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +0 -570
  104. package/dist/revolugo.btag.C27GlEZ3.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +0 -28
  106. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +0 -198
  107. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.Blb5hegY.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.Dx00l01z.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +0 -885
  114. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +0 -24
  115. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +0 -24
  117. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +0 -157
  118. package/dist/revolugo.dates.DiE5ynTe.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +0 -24
  126. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +0 -2738
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +0 -24
  129. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +0 -5640
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +0 -8330
  134. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +0 -24
  135. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +0 -19
  136. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +0 -616
  137. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +0 -2799
  138. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +0 -24
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +0 -25
  142. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +0 -231
  143. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +0 -290
  144. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +0 -24
  145. package/dist/revolugo.index.CDNx7Tg4.min.js +0 -67
  146. package/dist/revolugo.index.DZEISB0K.min.js +0 -1232
  147. package/dist/revolugo.langpicker.D7zIuy78.min.js +0 -99
  148. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +0 -29
  149. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +0 -131
  150. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +0 -40
  151. package/dist/revolugo.pathify.DL0POvNz.min.js +0 -36
  152. package/dist/revolugo.prebookform.BMEaruyl.min.js +0 -1527
  153. package/dist/revolugo.prebookform.BVyTAnc9.min.js +0 -24
  154. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +0 -24
  155. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +0 -261
  156. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +0 -385
  157. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +0 -24
  158. package/dist/revolugo.rounded.C-2ilaaW.min.js +0 -68
  159. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +0 -18
  160. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +0 -881
  161. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +0 -404
  162. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +0 -23
  163. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +0 -39
  164. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +0 -16
  165. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +0 -11
  166. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +0 -445
  167. package/dist/revolugo.vbadge.D-lbOD0r.min.js +0 -112
  168. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +0 -398
  169. package/dist/revolugo.vcard.ZlYB5HOk.min.js +0 -313
  170. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +0 -478
  171. package/dist/revolugo.vdialog.DlAgRbIv.min.js +0 -133
  172. package/dist/revolugo.vdivider.D1ITKKuu.min.js +0 -77
  173. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +0 -262
  174. package/dist/revolugo.vform.gu3frP5W.min.js +0 -46
  175. package/dist/revolugo.vicon.mrg8OisO.min.js +0 -105
  176. package/dist/revolugo.vinput.BowTI8jK.min.js +0 -463
  177. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +0 -48
  178. package/dist/revolugo.vlist.BwlPoH0e.min.js +0 -1299
  179. package/dist/revolugo.vmenu.Dasw1a1s.min.js +0 -145
  180. package/dist/revolugo.vselect.B4IzM260.min.js +0 -660
  181. package/dist/revolugo.vsheet.CDgBUxHk.min.js +0 -72
  182. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +0 -136
  183. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +0 -325
  184. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +0 -198
  185. package/dist/revolugo.vspacer.DqnVrVYg.min.js +0 -7
  186. package/dist/revolugo.vtextarea.CgekaBze.min.js +0 -2092
  187. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +0 -501
  188. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +0 -89
  189. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +0 -317
  190. package/dist/revolugo.watch-list.BSqnQNdl.min.js +0 -16
  191. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +0 -2088
@@ -1,501 +0,0 @@
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,89 +0,0 @@
1
- import { g as h, u as p, y, l as u } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
2
- import { f as L } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
3
- import { a1 as T, a2 as P, a6 as w, aL as U, H as a, k as b, D as d, aa as x, a as R } from "./revolugo.index.wc.DLkeXtka.min.js";
4
- function O(t) {
5
- try {
6
- if (typeof document < "u") {
7
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
8
- sheets: [],
9
- components: []
10
- };
11
- const o = import.meta.url, n = o.slice(0, o.lastIndexOf("/") + 1) + t;
12
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
13
- for (const e of REVOLUGO_ELEMENTS_STYLES.components)
14
- e(n);
15
- if (t.indexOf("fonts") >= 0) {
16
- const e = document.createElement("link");
17
- e.rel = "stylesheet", linK.href = n, document.head.appendChild(e);
18
- }
19
- }
20
- } catch (o) {
21
- console.error("[revolugo-elements] ", o);
22
- }
23
- }
24
- const k = P({
25
- id: String,
26
- text: String,
27
- ...x(y({
28
- closeOnBack: !1,
29
- location: "end",
30
- locationStrategy: "connected",
31
- eager: !0,
32
- minWidth: 0,
33
- offset: 10,
34
- openOnClick: !1,
35
- openOnHover: !0,
36
- origin: "auto",
37
- scrim: !1,
38
- scrollStrategy: "reposition",
39
- transition: !1
40
- }), ["absolute", "persistent"])
41
- }, "VTooltip"), _ = T()({
42
- name: "VTooltip",
43
- props: k(),
44
- emits: {
45
- "update:modelValue": (t) => !0
46
- },
47
- setup(t, o) {
48
- let {
49
- slots: n
50
- } = o;
51
- const e = w(t, "modelValue"), {
52
- scopeId: f
53
- } = h(), m = U(), l = a(() => t.id || `v-tooltip-${m}`), s = b(), v = a(() => t.location.split(" ").length > 1 ? t.location : t.location + " center"), g = a(() => t.origin === "auto" || t.origin === "overlap" || t.origin.split(" ").length > 1 || t.location.split(" ").length > 1 ? t.origin : t.origin + " center"), E = a(() => t.transition ? t.transition : e.value ? "scale-transition" : "fade-transition"), S = a(() => d({
54
- "aria-describedby": l.value
55
- }, t.activatorProps));
56
- return p(() => {
57
- const V = u.filterProps(t);
58
- return R(u, d({
59
- ref: s,
60
- class: ["v-tooltip", t.class],
61
- style: t.style,
62
- id: l.value
63
- }, V, {
64
- modelValue: e.value,
65
- "onUpdate:modelValue": (i) => e.value = i,
66
- transition: E.value,
67
- absolute: !0,
68
- location: v.value,
69
- origin: g.value,
70
- persistent: !0,
71
- role: "tooltip",
72
- activatorProps: S.value,
73
- _disableGlobalStack: !0
74
- }, f), {
75
- activator: n.activator,
76
- default: function() {
77
- for (var i = arguments.length, c = new Array(i), r = 0; r < i; r++)
78
- c[r] = arguments[r];
79
- return n.default?.(...c) ?? t.text;
80
- }
81
- });
82
- }), L({}, s);
83
- }
84
- });
85
- O("css/revolugo.vtooltip.BHXJTQ4V.css");
86
- export {
87
- _ as V
88
- };
89
- //# sourceMappingURL=revolugo.vtooltip.a-r5BxqW.min.js.map