@revolugo/elements 6.8.2-beta.18 → 6.8.2-beta.19

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 (111) hide show
  1. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  2. package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
  3. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  4. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  5. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  6. package/dist/{revolugo._baseiteratee.DWsqn4wT.min.js → revolugo._baseiteratee.B8DzmtV9.min.js} +2 -2
  7. package/dist/{revolugo.banktransferdetails.CzuNlP4a.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
  8. package/dist/{revolugo.bdaterangepicker.8h7NMxGS.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
  9. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BLl7WhTu.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js} +2 -2
  10. package/dist/{revolugo.bhoteloffersfilterbar.DX2ngjYe.min.js → revolugo.bhoteloffersfilterbar.BicCxI8N.min.js} +66 -64
  11. package/dist/{revolugo.bhotelroomsdetails.BHf24hdg.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +16 -15
  12. package/dist/{revolugo.bhotelsearchbar.DB-1mUUu.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
  13. package/dist/{revolugo.bimagecarousel.xI-Uibwf.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +22 -23
  14. package/dist/{revolugo.bookingdetailssidebar.27n6DFGz.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
  15. package/dist/{revolugo.bookingdetailssidebar.DocH6mzC.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +11 -11
  16. package/dist/{revolugo.bookingmanager.Dfx0s0G9.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +20 -20
  17. package/dist/{revolugo.bpricesummaryskeleton.DEPDKk_G.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
  18. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B2AE6YGx.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
  19. package/dist/{revolugo.btag.DBInYort.min.js → revolugo.btag.BtFT2zF9.min.js} +38 -36
  20. package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
  21. package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
  22. package/dist/{revolugo.cancellationpolicieslist.Bg9TuZpG.min.js → revolugo.cancellationpolicieslist.BUvqjY8w.min.js} +4 -4
  23. package/dist/{revolugo.cancellationpolicieslist.B5cNDP9N.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +3 -3
  24. package/dist/{revolugo.case-transformers.C-GQyHRi.min.js → revolugo.case-transformers.C-f7xgel.min.js} +2 -2
  25. package/dist/{revolugo.creditcardform.BGQJH-S1.min.js → revolugo.creditcardform.DqHW63kH.min.js} +11 -11
  26. package/dist/{revolugo.creditcardform.9_4NSUmT.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
  27. package/dist/{revolugo.creditcardpayment.BBIWVyiH.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +22 -21
  28. package/dist/{revolugo.creditcardpayment.CB0AC0K6.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
  29. package/dist/{revolugo.currencypicker.DhmvOddO.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
  30. package/dist/{revolugo.currencypickerbtn.CncjR2gs.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +9 -9
  31. package/dist/{revolugo.currencypickerbtn.ComDO7qn.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
  32. package/dist/{revolugo.defaultsdeep.CDU_Cr7o.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +2 -2
  33. package/dist/{revolugo.dialog-attach.CdCOyog7.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
  34. package/dist/{revolugo.dialog-transition.f__QJtTw.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +3 -3
  35. package/dist/{revolugo.fastbookingflow.Bc1J23jJ.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
  36. package/dist/{revolugo.fullbookingflow.bv3Vno5p.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
  37. package/dist/{revolugo.hotel-offer-request.srSNxnhy.min.js → revolugo.hotel-offer-request.DA93cyGO.min.js} +2 -2
  38. package/dist/{revolugo.hoteldescriptionview.DrUFlgP9.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
  39. package/dist/{revolugo.hoteldescriptionview.CrzQ0wJG.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
  40. package/dist/{revolugo.hotelofferitemlayout.Di-lOcCV.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
  41. package/dist/{revolugo.hotelofferlist.B0yGhjxH.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +27 -28
  42. package/dist/{revolugo.hotelofferlist.DesaynDI.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
  43. package/dist/{revolugo.hotelofferrequestcreator.BG8u137q.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +5 -5
  44. package/dist/{revolugo.hoteloffersearchmenu.DFj9rfDk.min.js → revolugo.hoteloffersearchmenu.CrmGRkpc.min.js} +7 -7
  45. package/dist/{revolugo.hoteloffersmap.DJMSRiWe.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +16 -16
  46. package/dist/{revolugo.hoteloffersmap.Cx5Lh6bM.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
  47. package/dist/{revolugo.hoteloffersview.C9_-ZVeK.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +30 -29
  48. package/dist/{revolugo.hoteloffersview.CDCc-IkU.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
  49. package/dist/{revolugo.hotelroomofferlist.dQbzQ02u.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
  50. package/dist/{revolugo.hotelroomofferlist.DIZ3oPru.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
  51. package/dist/{revolugo.hotelroomofferrequestcreator.props.CO7LEFcL.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
  52. package/dist/{revolugo.hotelroomoffersbookingflow.MtYjrK-h.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +28 -28
  53. package/dist/{revolugo.hotelroomoffersearchmenu.HeQZ7DgA.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
  54. package/dist/{revolugo.hotelroomoffersearchmenu.BlOpWR6q.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
  55. package/dist/{revolugo.hotelroomoffersview.BKooc4Fw.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
  56. package/dist/{revolugo.hotelroomoffersview.7O2bjtGH.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
  57. package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
  58. package/dist/{revolugo.index.wc.7H-VQwFX.min.js → revolugo.index.wc.CiMMOIKO.min.js} +36 -36
  59. package/dist/{revolugo.langpicker.DnG4o0sL.min.js → revolugo.langpicker.BPdYOoqh.min.js} +6 -6
  60. package/dist/{revolugo.langpickerbtn.CQxAtBRh.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
  61. package/dist/{revolugo.langpickerbtn.DH-mq1yc.min.js → revolugo.langpickerbtn.toIVNsWj.min.js} +19 -18
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/revolugo.pathify.CC3sbpgo.min.js +58 -0
  64. package/dist/{revolugo.prebookform.B3p1Gzwl.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
  65. package/dist/{revolugo.prebookform.CkLjN_gI.min.js → revolugo.prebookform.mTgAZy4b.min.js} +18 -18
  66. package/dist/{revolugo.roominglisteditor.xe1zDTZs.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +9 -9
  67. package/dist/{revolugo.roominglisteditor.DBWa6pmQ.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
  68. package/dist/{revolugo.rounded.BJvxj-_F.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
  69. package/dist/{revolugo.ssrboot.B_8VyKB0.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
  70. package/dist/{revolugo.storybooktoolbar.CqXIYyob.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +16 -16
  71. package/dist/{revolugo.termsandconditions.ni_XvAWl.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
  72. package/dist/{revolugo.termsandconditions.C75uUPPd.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
  73. package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
  74. package/dist/{revolugo.vautocomplete.DXTyGqml.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +18 -17
  75. package/dist/{revolugo.vbadge.B3A6zbf3.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +10 -10
  76. package/dist/{revolugo.vbtn.6I2f2B-L.min.js → revolugo.vbtn.CJwuvbOT.min.js} +32 -32
  77. package/dist/{revolugo.vcard.Dax8xzMj.min.js → revolugo.vcard.C8hpUlD-.min.js} +30 -30
  78. package/dist/{revolugo.vcheckboxbtn.Bf-De3ub.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +32 -32
  79. package/dist/{revolugo.vdialog.DZ_MutWe.min.js → revolugo.vdialog.CEfREygA.min.js} +5 -5
  80. package/dist/{revolugo.vdivider.D8KKvRs7.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
  81. package/dist/{revolugo.vexpansionpanels.DGIS-Ad5.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +19 -18
  82. package/dist/{revolugo.vform.BnYbwZZd.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
  83. package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
  84. package/dist/{revolugo.vinput.DoNoYaby.min.js → revolugo.vinput.CWfOSxlF.min.js} +38 -37
  85. package/dist/{revolugo.vlabel.BzH1c4tU.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
  86. package/dist/{revolugo.vlist.Dyi7QYaq.min.js → revolugo.vlist.cF1CYOBP.min.js} +34 -34
  87. package/dist/{revolugo.vmenu.DCj24oVb.min.js → revolugo.vmenu.B-rlxBKf.min.js} +5 -5
  88. package/dist/{revolugo.vselect.Cem-t-An.min.js → revolugo.vselect.D17E4jI-.min.js} +18 -17
  89. package/dist/{revolugo.vsheet.BwzOw9Nl.min.js → revolugo.vsheet.Div5lkVz.min.js} +7 -7
  90. package/dist/{revolugo.vskeletonloader.D2D_vhcy.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +4 -4
  91. package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
  92. package/dist/{revolugo.vsnackbar.-KkCMaa2.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +32 -33
  93. package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
  94. package/dist/{revolugo.vtextarea.B62lJ7K2.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +8 -8
  95. package/dist/{revolugo.vtextfield.BHw0ctTt.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +55 -56
  96. package/dist/{revolugo.vtoolbar.sdH8MQd1.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +5 -5
  97. package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
  98. package/dist/{revolugo.vwindowitem.B7g-726h.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +6 -6
  99. package/dist/{revolugo.watch-list.DsI9qG6Z.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
  100. package/dist/{revolugo.webcomponentwrapper.DX3ZOzxW.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +51 -51
  101. package/package.json +3 -3
  102. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  103. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  104. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  105. package/dist/revolugo.cancellationpoliciesbadge.B68mFOQC.min.js +0 -24
  106. package/dist/revolugo.cancellationpoliciesbadge.D6AjbH0O.min.js +0 -226
  107. package/dist/revolugo.index.ByyvoS6i.min.js +0 -1037
  108. package/dist/revolugo.position.CqJG2Ekv.min.js +0 -322
  109. package/dist/revolugo.use-breakpoint-service.BVlmY2AU.min.js +0 -106
  110. package/dist/revolugo.vspacer.CLbmU44g.min.js +0 -7
  111. package/dist/revolugo.vtooltip.D-07YzOV.min.js +0 -395
@@ -1,226 +0,0 @@
1
- import { _ as E } from "./revolugo.cancellationpolicieslist.B5cNDP9N.min.js";
2
- import { B as L } from "./revolugo.btag.DBInYort.min.js";
3
- import { c as R } from "./revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js";
4
- import { d as S, b as T, u as _, bB as N, bC as w, bD as z, i as l, a as m, w as o, e as c, t as g, r as D, c as O, g as C, f as V, y as I, o as a } from "./revolugo.index.wc.7H-VQwFX.min.js";
5
- import { _ as M } from "./revolugo.webcomponentwrapper.DX3ZOzxW.min.js";
6
- import { V as $ } from "./revolugo.index.ByyvoS6i.min.js";
7
- import { V as G } from "./revolugo.vtooltip.D-07YzOV.min.js";
8
- function v(e) {
9
- try {
10
- if (typeof document < "u") {
11
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
- sheets: [],
13
- components: []
14
- };
15
- const t = import.meta.url, i = t.slice(0, t.lastIndexOf("/") + 1) + e;
16
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
17
- for (const n of REVOLUGO_ELEMENTS_STYLES.components)
18
- n(i);
19
- if (e.indexOf("fonts") >= 0) {
20
- const n = document.createElement("link");
21
- n.rel = "stylesheet", linK.href = i, document.head.appendChild(n);
22
- }
23
- }
24
- } catch (t) {
25
- console.error("[revolugo-elements] ", t);
26
- }
27
- }
28
- const H = {
29
- ...R,
30
- tagClasses: { type: String }
31
- }, h = S({
32
- components: {
33
- BTag: L,
34
- CancellationPoliciesList: E
35
- },
36
- computed: {
37
- color() {
38
- return this.isRefundable ? "success" : "grey";
39
- },
40
- currentCancellationPolicy() {
41
- return z(this.sanitizedCancellationPolicies);
42
- },
43
- isRefundable() {
44
- var e;
45
- return (((e = this.currentCancellationPolicy) == null ? void 0 : e.penaltyPercentage) ?? 0) < 100;
46
- },
47
- parsedCancellationPolicies() {
48
- if (typeof this.cancellationPolicies == "string")
49
- try {
50
- return JSON.parse(this.cancellationPolicies);
51
- } catch {
52
- return [];
53
- }
54
- return this.cancellationPolicies;
55
- },
56
- preIcon() {
57
- var e, t;
58
- return ((e = this.currentCancellationPolicy) == null ? void 0 : e.penaltyPercentage) === 0 ? "fas fa-regular fa-circle-check" : ((t = this.currentCancellationPolicy) == null ? void 0 : t.penaltyPercentage) === 100 ? "" : "fas fa-circle-info";
59
- },
60
- sanitizedCancellationPolicies() {
61
- return N(
62
- w({
63
- cancellationPolicies: this.parsedCancellationPolicies,
64
- checkInDate: this.checkInDate,
65
- initialDate: this.initialDate,
66
- timezone: this.timezone
67
- })
68
- );
69
- }
70
- },
71
- methods: {
72
- formatDate(e) {
73
- return new Date(e).toLocaleTimeString(this.$i18n.locale, {
74
- day: "numeric",
75
- hour: "2-digit",
76
- minute: "2-digit",
77
- month: "long",
78
- year: "numeric"
79
- });
80
- }
81
- },
82
- mixins: [T],
83
- name: "CancellationPolicyBadge",
84
- props: H,
85
- setup() {
86
- const { t: e } = _();
87
- return {
88
- t: e
89
- };
90
- }
91
- });
92
- function y(e) {
93
- const t = e;
94
- t.__i18n = t.__i18n || [], t.__i18n.push({
95
- locale: "",
96
- resource: {
97
- "en-US": {
98
- CancellationPoliciesBadge: {
99
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancellation policies" } },
100
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Free cancellation until <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
101
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non refundable" } },
102
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Partially refundable" } }
103
- }
104
- },
105
- "fr-FR": {
106
- CancellationPoliciesBadge: {
107
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Conditions d'annulation" } },
108
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Annulation gratuite avant le <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
109
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non remboursable" } },
110
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Partiellement remboursable" } }
111
- }
112
- },
113
- "de-DE": {
114
- CancellationPoliciesBadge: {
115
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stornierungsbedingungen" } },
116
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Kostenlose Stornierung bis <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
117
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nicht erstattungsfähig" } },
118
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Teilerstattungsfähig" } }
119
- }
120
- },
121
- "es-ES": {
122
- CancellationPoliciesBadge: {
123
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Políticas de cancelación" } },
124
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancelación gratuita hasta el <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
125
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No reembolsable" } },
126
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parcialmente reembolsable" } }
127
- }
128
- },
129
- "it-IT": {
130
- CancellationPoliciesBadge: {
131
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Politiche di cancellazione" } },
132
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancellazione gratuita fino al <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
133
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non rimborsabile" } },
134
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parzialmente rimborsabile" } }
135
- }
136
- },
137
- "nl-NL": {
138
- CancellationPoliciesBadge: {
139
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleringsvoorwaarden" } },
140
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gratis annuleren tot <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
141
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Niet-restitueerbaar" } },
142
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gedeeltelijk restitueerbaar" } }
143
- }
144
- },
145
- "pt-PT": {
146
- CancellationPoliciesBadge: {
147
- cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Políticas de cancelamento" } },
148
- freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancelamento gratuito até <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
149
- nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Não reembolsável" } },
150
- partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parcialmente reembolsável" } }
151
- }
152
- }
153
- }
154
- });
155
- }
156
- const U = { class: "flex flex-column" }, Y = ["innerHTML"], j = ["innerHTML"], F = ["innerHTML"];
157
- function A(e, t, i, n, K, J) {
158
- var r;
159
- const k = D("CancellationPoliciesList");
160
- return a(), l("div", U, [
161
- m(G, {
162
- disabled: ((r = e.currentCancellationPolicy) == null ? void 0 : r.penaltyPercentage) === 100,
163
- location: "top",
164
- attach: e.$breakpointObserverEl ?? void 0
165
- }, {
166
- activator: o(({ props: B }) => {
167
- var s, d, u, b, f, p, P;
168
- return [
169
- c("div", I({
170
- class: ["d-flex align-center text-caption", {
171
- "cursor-help": ((s = e.currentCancellationPolicy) == null ? void 0 : s.penaltyPercentage) !== 100
172
- }],
173
- style: { gap: "4px" }
174
- }, B), [
175
- e.preIcon ? (a(), O($, {
176
- key: 0,
177
- color: ((d = e.currentCancellationPolicy) == null ? void 0 : d.penaltyPercentage) !== 100 ? "green" : "grey",
178
- style: { "place-self": "flex-start" }
179
- }, {
180
- default: o(() => [
181
- V(g(e.preIcon), 1)
182
- ]),
183
- _: 1
184
- }, 8, ["color"])) : C("", !0),
185
- ((u = e.currentCancellationPolicy) == null ? void 0 : u.penaltyPercentage) === 0 ? (a(), l("span", {
186
- key: 1,
187
- class: "text-green-darken-2 underline--dotted",
188
- innerHTML: e.t("CancellationPoliciesBadge.freeCancellationBefore", {
189
- date: e.formatDate((b = e.currentCancellationPolicy) == null ? void 0 : b.dateTo)
190
- })
191
- }, null, 8, Y)) : ((f = e.currentCancellationPolicy) == null ? void 0 : f.penaltyPercentage) === 100 ? (a(), l("span", {
192
- key: 2,
193
- class: "text-grey-darken-2",
194
- innerHTML: e.t("CancellationPoliciesBadge.nonRefundable")
195
- }, null, 8, j)) : ((p = e.currentCancellationPolicy) == null ? void 0 : p.penaltyPercentage) > 0 && ((P = e.currentCancellationPolicy) == null ? void 0 : P.penaltyPercentage) < 100 ? (a(), l("span", {
196
- key: 3,
197
- class: "text-green-darken-2 underline--dotted",
198
- innerHTML: e.t("CancellationPoliciesBadge.partiallyRefundable")
199
- }, null, 8, F)) : C("", !0)
200
- ], 16)
201
- ];
202
- }),
203
- default: o(() => [
204
- c("div", null, [
205
- c("b", null, g(e.t("CancellationPoliciesBadge.cancellationPolicies")), 1)
206
- ]),
207
- m(k, {
208
- class: "text-white",
209
- "cancellation-policies": e.sanitizedCancellationPolicies,
210
- "check-in-date": e.checkInDate,
211
- "initial-date": e.initialDate,
212
- timezone: e.timezone
213
- }, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
214
- ]),
215
- _: 1
216
- }, 8, ["disabled", "attach"])
217
- ]);
218
- }
219
- typeof y == "function" && y(h);
220
- const te = /* @__PURE__ */ M(h, [["render", A], ["__scopeId", "data-v-79dd5ec5"]]);
221
- v("css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css");
222
- export {
223
- te as C,
224
- H as c
225
- };
226
- //# sourceMappingURL=revolugo.cancellationpoliciesbadge.D6AjbH0O.min.js.map