@revolugo/elements 6.9.7 → 6.10.0-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 (193) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.BHm9G8WA.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.C4-vMajR.css +1 -0
  4. package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.8v7iva-a.css} +1 -1
  7. package/dist/index.es.min.js +23 -12530
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +1 -19
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.x0v9ndfv.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.B4EIlhFU.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.YVuxlZbU.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.DfpyKAT7.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.Catwbml_.min.js +29243 -0
  16. package/dist/revolugo.cancellationpolicieslist.CqGBKCZe.min.js +26 -0
  17. package/dist/revolugo.creditcardstripeform.BWeGQuy4.min.js +50 -0
  18. package/dist/{revolugo.creditcardform.C1Y8cuiJ.min.js → revolugo.creditcardstripeform.DNfpUrZN.min.js} +932 -915
  19. package/dist/revolugo.currencypickerbtn.CPU1WxXE.min.js +26 -0
  20. package/dist/{revolugo.dialog-attach.blanCM_U.min.js → revolugo.dialog-attach.PVrub23o.min.js} +2 -2
  21. package/dist/revolugo.fastbookingflow.I7UL8jNX.min.js +36 -0
  22. package/dist/revolugo.fullbookingflow.CpNJrRcu.min.js +26 -0
  23. package/dist/revolugo.hoteldescriptionview.DWQa933m.min.js +26 -0
  24. package/dist/revolugo.hotelofferlist.DJzWMTLy.min.js +26 -0
  25. package/dist/revolugo.hoteloffersearchmenu.D7YNVTvi.min.js +115 -0
  26. package/dist/revolugo.hoteloffersmap.BYvYv0p6.min.js +26 -0
  27. package/dist/revolugo.hoteloffersview.DT5QVxLs.min.js +21 -0
  28. package/dist/revolugo.hotelroomofferlist.DA_3LSPI.min.js +26 -0
  29. package/dist/revolugo.hotelroomoffersbookingflow.Dkch3aYF.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersearchmenu.D4wOddbw.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersview.9FmcyDbV.min.js +26 -0
  32. package/dist/revolugo.index.OiMu9dAJ.min.js +106 -0
  33. package/dist/revolugo.index.wc.C2aj6lKv.min.js +26699 -0
  34. package/dist/revolugo.langpickerbtn.6Brb63yO.min.js +31 -0
  35. package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.DVYHP3Yz.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.BloRxITX.min.js +24 -0
  39. package/dist/revolugo.preferencesmenu.r1vnr_RO.min.js +935 -0
  40. package/dist/revolugo.roominglisteditor.C-AGIJub.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.B5oXaRze.min.js +831 -0
  42. package/dist/revolugo.termsandconditions.CNlXW52E.min.js +31 -0
  43. package/dist/revolugo.vtoolbar.BWqbzW1H.min.js +187 -0
  44. package/dist/revolugo.webcomponentwrapper.BMoMCE08.min.js +30962 -0
  45. package/package.json +6 -6
  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.fTmPR0fS.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.Zjxh5X1S.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.BMe84dqg.min.js +0 -380
  94. package/dist/revolugo.bdaterangepicker.DzOGjDv0.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DMP_pksf.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.Duj0L2BC.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.A441NOYj.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.CeagkLxi.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.BR9pOQ-A.min.js +0 -870
  100. package/dist/revolugo.bookingdetailssidebar.C_cVgvbV.min.js +0 -24
  101. package/dist/revolugo.bookingmanager.Tqklnltl.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.N9x3mRNq.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.vPcVvCoJ.min.js +0 -570
  104. package/dist/revolugo.btag.6i9RpwY_.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.CJhYlUuT.min.js +0 -198
  106. package/dist/revolugo.cancellationpoliciesbadge.Vi2j73X9.min.js +0 -28
  107. package/dist/revolugo.cancellationpolicieslist.BuNsG_i4.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.CaiWZD9_.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.BGpZ9qjt.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.wbMwrte3.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.BsQwUNPu.min.js +0 -885
  114. package/dist/revolugo.creditcardpayment.v2TP6g1r.min.js +0 -24
  115. package/dist/revolugo.currencypicker.CCydQxvk.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.54OJeTC0.min.js +0 -157
  117. package/dist/revolugo.currencypickerbtn.D0OyHd5Z.min.js +0 -24
  118. package/dist/revolugo.dates.Dma3i1u_.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.BlZWlkib.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.JX-XGblk.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.kwlndDrp.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.Cm0oV-cR.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.aMUhw0jC.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.Dng4hMzd.min.js +0 -2738
  126. package/dist/revolugo.hoteldescriptionview.ojwTutv4.min.js +0 -24
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.olnYk_cF.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BWC_k60T.min.js +0 -5640
  129. package/dist/revolugo.hotelofferlist.DacSdhyV.min.js +0 -24
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.BRYJjrI7.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.CjFznky7.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.B4YsCUhB.min.js +0 -8330
  134. package/dist/revolugo.hoteloffersmap.BjCpSBW5.min.js +0 -24
  135. package/dist/revolugo.hoteloffersview.Df1RPsE2.min.js +0 -19
  136. package/dist/revolugo.hoteloffersview.VHsBhOKb.min.js +0 -616
  137. package/dist/revolugo.hotelroomofferlist.kttmW_p0.min.js +0 -24
  138. package/dist/revolugo.hotelroomofferlist.t-3U4Nu4.min.js +0 -2799
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.vFsZDl1K.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.CcnFaLm4.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.FTQxJ_n5.min.js +0 -25
  142. package/dist/revolugo.hotelroomoffersearchmenu.WM6bLEz9.min.js +0 -231
  143. package/dist/revolugo.hotelroomoffersview.4GP75oBd.min.js +0 -24
  144. package/dist/revolugo.hotelroomoffersview.C64pbpV0.min.js +0 -290
  145. package/dist/revolugo.index.CmfloZTT.min.js +0 -67
  146. package/dist/revolugo.index.q2k-tLa2.min.js +0 -1232
  147. package/dist/revolugo.index.wc.BmAtoZjo.min.js +0 -31558
  148. package/dist/revolugo.langpicker.BDDm2CzN.min.js +0 -99
  149. package/dist/revolugo.langpickerbtn.BS-VKFY1.min.js +0 -131
  150. package/dist/revolugo.langpickerbtn.C_Z35YuF.min.js +0 -29
  151. package/dist/revolugo.parsed-props.z2aR0x9r.min.js +0 -40
  152. package/dist/revolugo.pathify.DOgJK7nI.min.js +0 -36
  153. package/dist/revolugo.prebookform.DT2QXZUm.min.js +0 -1527
  154. package/dist/revolugo.prebookform.Dk1v8qZ9.min.js +0 -24
  155. package/dist/revolugo.preferencesmenu.BhDjryBC.min.js +0 -24
  156. package/dist/revolugo.preferencesmenu.DsDw7iXm.min.js +0 -261
  157. package/dist/revolugo.roominglisteditor.ChZhBnZ3.min.js +0 -385
  158. package/dist/revolugo.roominglisteditor.DaPP1NPv.min.js +0 -24
  159. package/dist/revolugo.rounded.BmZawp2x.min.js +0 -68
  160. package/dist/revolugo.ssrboot.CMusFTC5.min.js +0 -18
  161. package/dist/revolugo.storybooktoolbar.CLAq0fXx.min.js +0 -881
  162. package/dist/revolugo.termsandconditions.B8TrVOz1.min.js +0 -404
  163. package/dist/revolugo.termsandconditions.CI0t3pno.min.js +0 -23
  164. package/dist/revolugo.use-breakpoint-service.BmTXBw-9.min.js +0 -39
  165. package/dist/revolugo.use-dialog-attach.ByNAI0vu.min.js +0 -16
  166. package/dist/revolugo.use-html-element.BbD1LjYc.min.js +0 -11
  167. package/dist/revolugo.vautocomplete.D1yqzzar.min.js +0 -445
  168. package/dist/revolugo.vbadge.B1q1ebM4.min.js +0 -112
  169. package/dist/revolugo.vbtn.D-1pZWJQ.min.js +0 -398
  170. package/dist/revolugo.vcard.BhFz1a7-.min.js +0 -313
  171. package/dist/revolugo.vcheckboxbtn.BtTJE9k_.min.js +0 -478
  172. package/dist/revolugo.vdialog.Q1vj1S2Y.min.js +0 -133
  173. package/dist/revolugo.vdivider.Cw22Dcuf.min.js +0 -77
  174. package/dist/revolugo.vexpansionpanels.B6laIhZ5.min.js +0 -262
  175. package/dist/revolugo.vform.DKrc0wCb.min.js +0 -46
  176. package/dist/revolugo.vicon.OZg4Im8p.min.js +0 -105
  177. package/dist/revolugo.vinput.Bo6I7bO4.min.js +0 -463
  178. package/dist/revolugo.vlabel.CK1EiiGY.min.js +0 -48
  179. package/dist/revolugo.vlist.C2mV3Sh6.min.js +0 -1299
  180. package/dist/revolugo.vmenu.C2Y9H_mH.min.js +0 -145
  181. package/dist/revolugo.vselect.ukHPs1U9.min.js +0 -660
  182. package/dist/revolugo.vsheet.COT4-g6w.min.js +0 -72
  183. package/dist/revolugo.vskeletonloader.BUWqKsWc.min.js +0 -136
  184. package/dist/revolugo.vslidegroup.vYhKvZC2.min.js +0 -325
  185. package/dist/revolugo.vsnackbar.DGEvcXxN.min.js +0 -198
  186. package/dist/revolugo.vspacer.DKw4LWvz.min.js +0 -7
  187. package/dist/revolugo.vtextarea.JwpV0Q9q.min.js +0 -2092
  188. package/dist/revolugo.vtextfield.CF6W_mmu.min.js +0 -501
  189. package/dist/revolugo.vtoolbar.8GW_wkyp.min.js +0 -180
  190. package/dist/revolugo.vtooltip.D-CqFjzD.min.js +0 -89
  191. package/dist/revolugo.vwindowitem.DdXQiNtJ.min.js +0 -317
  192. package/dist/revolugo.watch-list.CqLXeMQh.min.js +0 -16
  193. package/dist/revolugo.webcomponentwrapper.DipHFVeJ.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.BmAtoZjo.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.q2k-tLa2.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.DipHFVeJ.min.js";
4
- import { V as Ae } from "./revolugo.vlabel.CK1EiiGY.min.js";
5
- import { a as De, u as ne, e as Ne, m as $e, V as ee } from "./revolugo.vinput.Bo6I7bO4.min.js";
6
- import { a as Ue, b as We } from "./revolugo.rounded.BmZawp2x.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.CF6W_mmu.min.js.map
@@ -1,180 +0,0 @@
1
- import { u as m, e as g, m as f, b as L } from "./revolugo.webcomponentwrapper.DipHFVeJ.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.BmAtoZjo.min.js";
3
- import { f as w, a as d, d as H } from "./revolugo.index.q2k-tLa2.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.BmZawp2x.min.js";
5
- function k(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 K = b({
26
- text: String,
27
- ...f(),
28
- ...g()
29
- }, "VToolbarTitle"), j = v()({
30
- name: "VToolbarTitle",
31
- props: K(),
32
- setup(e, o) {
33
- let {
34
- slots: t
35
- } = o;
36
- return m(() => {
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: () => [l && a("div", {
43
- class: "v-toolbar-title__placeholder"
44
- }, [t.text ? t.text() : e.text, t.default?.()])]
45
- });
46
- }), {};
47
- }
48
- }), F = [null, "prominent", "default", "comfortable", "compact"], Z = b({
49
- absolute: Boolean,
50
- collapse: Boolean,
51
- color: String,
52
- density: {
53
- type: String,
54
- default: "default",
55
- validator: (e) => F.includes(e)
56
- },
57
- extended: Boolean,
58
- extensionHeight: {
59
- type: [Number, String],
60
- default: 48
61
- },
62
- flat: Boolean,
63
- floating: Boolean,
64
- height: {
65
- type: [Number, String],
66
- default: 64
67
- },
68
- image: String,
69
- title: String,
70
- ...D(),
71
- ...f(),
72
- ...Y(),
73
- ...G(),
74
- ...g({
75
- tag: "header"
76
- }),
77
- ...P()
78
- }, "VToolbar"), J = v()({
79
- name: "VToolbar",
80
- props: Z(),
81
- setup(e, o) {
82
- let {
83
- slots: t
84
- } = o;
85
- const {
86
- backgroundColorClasses: l,
87
- backgroundColorStyles: h
88
- } = L(C(e, "color")), {
89
- borderClasses: T
90
- } = I(e), {
91
- elevationClasses: y
92
- } = U(e), {
93
- roundedClasses: x
94
- } = M(e), {
95
- themeClasses: E
96
- } = N(e), {
97
- rtlClasses: V
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({
100
- VBtn: {
101
- variant: "text"
102
- }
103
- }), m(() => {
104
- const S = !!(e.title || t.title), _ = !!(t.image || e.image), u = t.extension?.();
105
- return s.value = !!(e.extended || u), a(e.tag, {
106
- class: ["v-toolbar", {
107
- "v-toolbar--absolute": e.absolute,
108
- "v-toolbar--collapse": e.collapse,
109
- "v-toolbar--flat": e.flat,
110
- "v-toolbar--floating": e.floating,
111
- [`v-toolbar--density-${e.density}`]: !0
112
- }, l.value, T.value, y.value, x.value, E.value, V.value, e.class],
113
- style: [h.value, e.style]
114
- }, {
115
- default: () => [_ && a("div", {
116
- key: "image",
117
- class: "v-toolbar__image"
118
- }, [t.image ? a(d, {
119
- key: "image-defaults",
120
- disabled: !e.image,
121
- defaults: {
122
- VImg: {
123
- cover: !0,
124
- src: e.image
125
- }
126
- }
127
- }, t.image) : a(w, {
128
- key: "image-img",
129
- cover: !0,
130
- src: e.image
131
- }, null)]), a(d, {
132
- defaults: {
133
- VTabs: {
134
- height: n(i.value)
135
- }
136
- }
137
- }, {
138
- default: () => [a("div", {
139
- class: "v-toolbar__content",
140
- style: {
141
- height: n(i.value)
142
- }
143
- }, [t.prepend && a("div", {
144
- class: "v-toolbar__prepend"
145
- }, [t.prepend?.()]), S && a(j, {
146
- key: "title",
147
- text: e.title
148
- }, {
149
- text: t.title
150
- }), t.default?.(), t.append && a("div", {
151
- class: "v-toolbar__append"
152
- }, [t.append?.()])])]
153
- }), a(d, {
154
- defaults: {
155
- VTabs: {
156
- height: n(r.value)
157
- }
158
- }
159
- }, {
160
- default: () => [a(H, null, {
161
- default: () => [s.value && a("div", {
162
- class: "v-toolbar__extension",
163
- style: {
164
- height: n(r.value)
165
- }
166
- }, [u])]
167
- })]
168
- })]
169
- });
170
- }), {
171
- contentHeight: i,
172
- extensionHeight: r
173
- };
174
- }
175
- });
176
- k("css/revolugo.vtoolbar.BZert82L.css");
177
- export {
178
- J as V
179
- };
180
- //# sourceMappingURL=revolugo.vtoolbar.8GW_wkyp.min.js.map