@revolugo/elements 6.8.2 → 6.8.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +1 -1
  2. package/dist/css/fonts.css +1 -1
  3. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.DGADlvX0.css} +2 -2
  4. package/dist/index.es.min.js +2081 -2223
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +6 -6
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/revolugo.banktransferdetails.C9OqrvmN.min.js +23 -0
  9. package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +23 -0
  10. package/dist/revolugo.bookingmanager.BZERpaf3.min.js +23 -0
  11. package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +23 -0
  12. package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +23 -0
  13. package/dist/revolugo.creditcardform.D-8j5GCw.min.js +23 -0
  14. package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +23 -0
  15. package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +23 -0
  16. package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.BoQVk0eU.min.js} +9 -10
  17. package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +23 -0
  18. package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +23 -0
  19. package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +23 -0
  20. package/dist/revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js +199 -0
  21. package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +23 -0
  22. package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +18 -0
  23. package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +23 -0
  24. package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +23 -0
  25. package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +23 -0
  26. package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +23 -0
  27. package/dist/revolugo.index.CVHWSVdZ.min.js +67 -0
  28. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DxOdmA3C.min.js} +12167 -12364
  29. package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +28 -0
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/revolugo.prebookform.9dLTmLrv.min.js +23 -0
  32. package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +23 -0
  33. package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.CkwMUZCe.min.js} +212 -227
  34. package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +22 -0
  35. package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +60489 -0
  36. package/package.json +5 -5
  37. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  38. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  39. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  40. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  41. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  42. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  43. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  44. package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
  45. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  46. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  47. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  48. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  49. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  50. package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
  51. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  52. package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
  53. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  54. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  55. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  56. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  57. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  58. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  59. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  60. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  61. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  62. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  63. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  64. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  65. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  66. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  67. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  68. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  69. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  70. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  71. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  72. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  73. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  74. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  75. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  76. package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
  77. package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
  78. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  79. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  80. package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
  81. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  82. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  83. package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
  84. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  85. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  86. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  87. package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
  88. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  89. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  90. package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
  91. package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
  92. package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
  93. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  94. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
  95. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  96. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  97. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  98. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  99. package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
  100. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  101. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  102. package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
  103. package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
  104. package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
  105. package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
  106. package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
  107. package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
  108. package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
  109. package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
  110. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  111. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  112. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  113. package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
  114. package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
  115. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  116. package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
  117. package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
  118. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  119. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  120. package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
  121. package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
  122. package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
  123. package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
  124. package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
  125. package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
  126. package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
  127. package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
  128. package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
  129. package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
  130. package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
  131. package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
  132. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  133. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  134. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  135. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  136. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  137. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  138. package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
  139. package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
  140. package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
  141. package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
  142. package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
  143. package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
  144. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  145. package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
  146. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  147. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  148. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  149. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  150. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  151. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  152. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  153. package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
  154. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  155. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  156. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  157. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  158. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  159. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  160. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  161. package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
  162. package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
  163. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  164. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  165. package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
  166. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  167. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  168. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  169. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  170. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  171. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,24 +0,0 @@
1
- import { c as a, C as n } from "./revolugo.creditcardpayment.BLP3RXk4.min.js";
2
- import { W as p, _ as s } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
3
- import { d as m, c, w as d, a as C, n as i, h as _, r as e, o as f } from "./revolugo.index.wc.7I5uexuc.min.js";
4
- const l = m({
5
- components: {
6
- CreditCardPayment: n,
7
- WebComponentWrapper: p
8
- },
9
- props: a
10
- });
11
- function u(r, P, W, y, $, b) {
12
- const o = e("CreditCardPayment", !0), t = e("WebComponentWrapper");
13
- return f(), c(t, null, {
14
- default: d(() => [
15
- C(o, i(_(r.$props)), null, 16)
16
- ]),
17
- _: 1
18
- });
19
- }
20
- const v = /* @__PURE__ */ s(l, [["render", u]]);
21
- export {
22
- v as default
23
- };
24
- //# sourceMappingURL=revolugo.creditcardpayment.D3lPKmx1.min.js.map
@@ -1,330 +0,0 @@
1
- import { d as V, b as O, E as P, u as T, aC as g, bD as R, bL as i, c as b, w as t, a as n, e as f, t as l, j as U, i as m, v as _, F as h, o as c, x as k, f as p, g as E } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { d as I } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
3
- import { _ as N, a, V as u } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
4
- import { V as M } from "./revolugo.vtextfield.BUNcwTRK.min.js";
5
- import { b as F, V as S } from "./revolugo.vlist.hRQlcp5M.min.js";
6
- function w(e) {
7
- try {
8
- if (typeof document < "u") {
9
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
- sheets: [],
11
- components: []
12
- };
13
- const r = import.meta.url, o = r.slice(0, r.lastIndexOf("/") + 1) + e;
14
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(o);
15
- for (const d of REVOLUGO_ELEMENTS_STYLES.components)
16
- d(o);
17
- if (e.indexOf("fonts") >= 0) {
18
- const d = document.createElement("link");
19
- d.rel = "stylesheet", linK.href = o, document.head.appendChild(d);
20
- }
21
- }
22
- } catch (r) {
23
- console.error("[revolugo-elements] ", r);
24
- }
25
- }
26
- const D = [
27
- i.EUR,
28
- i.USD,
29
- i.GBP,
30
- i.CAD,
31
- i.AED,
32
- i.INR,
33
- i.AUD,
34
- i.JPY
35
- ], L = V({
36
- computed: {
37
- commonCurrencies() {
38
- const e = new Set(D);
39
- return Object.values(this.currencies).filter(
40
- (r) => e.has(r.code)
41
- );
42
- },
43
- countries() {
44
- return Object.values(R);
45
- },
46
- currencies() {
47
- return g;
48
- },
49
- filteredList() {
50
- if (!this.searchInput)
51
- return Object.values(this.currencies);
52
- const e = this.countries.filter(
53
- (o) => o.name.toLowerCase().includes(this.searchInput.toLowerCase()) || o.iso2.toLowerCase().includes(this.searchInput.toLowerCase())
54
- ), r = new Set(
55
- e.map((o) => o.currency)
56
- );
57
- return Object.values(this.currencies).filter(
58
- (o) => o.code.toLowerCase().includes(this.searchInput.toLowerCase()) || o.name.toLowerCase().includes(this.searchInput.toLowerCase()) || o.symbol.toLowerCase().includes(this.searchInput.toLowerCase()) || r.has(o.code)
59
- );
60
- },
61
- selectedCurrency() {
62
- return this.config.currency ?? g.EUR.code;
63
- }
64
- },
65
- data() {
66
- return {
67
- dialog: !1,
68
- searchInput: ""
69
- };
70
- },
71
- methods: {
72
- onItemClick(e) {
73
- this.dialog = !1, this.updateCurrency(e.code), this.searchInput = "";
74
- }
75
- },
76
- mixins: [O, I],
77
- name: "CurrencyPicker",
78
- setup() {
79
- const { t: e } = T();
80
- return {
81
- t: e
82
- };
83
- },
84
- watch: {
85
- dialog(e) {
86
- e || (this.searchInput = "");
87
- },
88
- selectedCurrency() {
89
- this.$eventBus.$emit(P.CurrencyUpdated, this.config.currency);
90
- }
91
- }
92
- });
93
- function y(e) {
94
- const r = e;
95
- r.__i18n = r.__i18n || [], r.__i18n.push({
96
- locale: "",
97
- resource: {
98
- "en-US": {
99
- CurrencyPicker: {
100
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "All currencies" } },
101
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Currency not found" } },
102
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preferred currencies" } },
103
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Select your currency" } }
104
- }
105
- },
106
- "fr-FR": {
107
- CurrencyPicker: {
108
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toutes les devises" } },
109
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Devise non trouvée" } },
110
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Devises populaires" } },
111
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sélectionnez votre devise" } }
112
- }
113
- },
114
- "de-DE": {
115
- CurrencyPicker: {
116
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alle Währungen" } },
117
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Währung nicht gefunden" } },
118
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bevorzugte Währungen" } },
119
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wählen Sie Ihre Währung" } }
120
- }
121
- },
122
- "es-ES": {
123
- CurrencyPicker: {
124
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Todas las monedas" } },
125
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moneda no encontrada" } },
126
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Monedas preferidas" } },
127
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecciona tu moneda" } }
128
- }
129
- },
130
- "it-IT": {
131
- CurrencyPicker: {
132
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tutte le valute" } },
133
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valuta non trovata" } },
134
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valute preferite" } },
135
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Seleziona la tua valuta" } }
136
- }
137
- },
138
- "nl-NL": {
139
- CurrencyPicker: {
140
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alle valuta's" } },
141
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valuta niet gevonden" } },
142
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voorkeursvaluta's" } },
143
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecteer uw valuta" } }
144
- }
145
- },
146
- "pt-PT": {
147
- CurrencyPicker: {
148
- all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Todas as moedas" } },
149
- notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moeda não encontrada" } },
150
- preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moedas preferenciais" } },
151
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecione a sua moeda" } }
152
- }
153
- }
154
- }
155
- });
156
- }
157
- const $ = { class: "mb-2 font-weight-bold" }, A = { class: "font-weight-bold text-primary" }, B = { class: "" }, j = { class: "font-weight-bold" }, G = { class: "font-weight-bold text-primary" };
158
- function W(e, r, o, d, Y, x) {
159
- return c(), b(F, { class: "pa-4" }, {
160
- default: t(() => [
161
- n(u, { "no-gutters": "" }, {
162
- default: t(() => [
163
- n(a, { cols: "auto" }, {
164
- default: t(() => [
165
- f("p", $, l(e.t("CurrencyPicker.preferred")), 1)
166
- ]),
167
- _: 1
168
- }),
169
- n(a, { class: "text-right" }, {
170
- default: t(() => [
171
- U(e.$slots, "toolbar-right", {}, void 0, !0)
172
- ]),
173
- _: 3
174
- })
175
- ]),
176
- _: 3
177
- }),
178
- n(u, { "no-gutters": "" }, {
179
- default: t(() => [
180
- (c(!0), m(h, null, _(e.commonCurrencies, (s, C) => (c(), b(a, {
181
- key: C,
182
- cols: "12",
183
- md: "4",
184
- sm: "6"
185
- }, {
186
- default: t(() => [
187
- n(S, {
188
- class: k([
189
- "text-caption",
190
- s.code === e.config.currency ? "grey lighten-4" : null
191
- ]),
192
- link: "",
193
- onClick: (v) => e.onItemClick(s)
194
- }, {
195
- default: t(() => [
196
- n(u, { "no-gutters": "" }, {
197
- default: t(() => [
198
- n(a, {
199
- cols: "4",
200
- sm: "3"
201
- }, {
202
- default: t(() => [
203
- f("span", A, [
204
- p(l(s.code) + " ", 1),
205
- s.code !== s.symbol ? (c(), m(h, { key: 0 }, [
206
- p(" - " + l(s.symbol), 1)
207
- ], 64)) : E("", !0)
208
- ])
209
- ]),
210
- _: 2
211
- }, 1024),
212
- n(a, { class: "currency-name" }, {
213
- default: t(() => [
214
- f("span", B, l(s.name), 1)
215
- ]),
216
- _: 2
217
- }, 1024)
218
- ]),
219
- _: 2
220
- }, 1024)
221
- ]),
222
- _: 2
223
- }, 1032, ["class", "onClick"])
224
- ]),
225
- _: 2
226
- }, 1024))), 128))
227
- ]),
228
- _: 1
229
- }),
230
- n(u, {
231
- align: "center",
232
- class: "mt-3",
233
- "no-gutters": ""
234
- }, {
235
- default: t(() => [
236
- n(a, {
237
- cols: "12",
238
- lg: "4"
239
- }, {
240
- default: t(() => [
241
- f("span", j, l(e.t("CurrencyPicker.all")), 1)
242
- ]),
243
- _: 1
244
- }),
245
- n(a, {
246
- cols: "12",
247
- lg: "8"
248
- }, {
249
- default: t(() => [
250
- n(M, {
251
- modelValue: e.searchInput,
252
- "onUpdate:modelValue": r[0] || (r[0] = (s) => e.searchInput = s),
253
- class: "mt-2",
254
- density: "compact",
255
- "error-messages": e.filteredList.length === 0 ? [e.t("CurrencyPicker.notFound")] : [],
256
- label: "Search",
257
- variant: "outlined"
258
- }, null, 8, ["modelValue", "error-messages"])
259
- ]),
260
- _: 1
261
- })
262
- ]),
263
- _: 1
264
- }),
265
- n(u, {
266
- class: "scrollable",
267
- "no-gutters": ""
268
- }, {
269
- default: t(() => [
270
- (c(!0), m(h, null, _(e.filteredList, (s, C) => (c(), b(a, {
271
- key: C,
272
- cols: "12",
273
- md: "4",
274
- sm: "6"
275
- }, {
276
- default: t(() => [
277
- n(S, {
278
- class: k([
279
- "text-caption",
280
- s.code === e.config.currency ? "grey lighten-4" : null
281
- ]),
282
- link: "",
283
- onClick: (v) => e.onItemClick(s)
284
- }, {
285
- default: t(() => [
286
- n(u, { "no-gutters": "" }, {
287
- default: t(() => [
288
- n(a, {
289
- cols: "4",
290
- sm: "3"
291
- }, {
292
- default: t(() => [
293
- f("span", G, [
294
- p(l(s.code) + " ", 1),
295
- s.code !== s.symbol ? (c(), m(h, { key: 0 }, [
296
- p(" - " + l(s.symbol), 1)
297
- ], 64)) : E("", !0)
298
- ])
299
- ]),
300
- _: 2
301
- }, 1024),
302
- n(a, { class: "currency-name no-break ml-1" }, {
303
- default: t(() => [
304
- p(l(s.name), 1)
305
- ]),
306
- _: 2
307
- }, 1024)
308
- ]),
309
- _: 2
310
- }, 1024)
311
- ]),
312
- _: 2
313
- }, 1032, ["class", "onClick"])
314
- ]),
315
- _: 2
316
- }, 1024))), 128))
317
- ]),
318
- _: 1
319
- })
320
- ]),
321
- _: 3
322
- });
323
- }
324
- typeof y == "function" && y(L);
325
- const Q = /* @__PURE__ */ N(L, [["render", W], ["__scopeId", "data-v-51a3726e"]]);
326
- w("css/revolugo.currencypicker.DO0IrmRK.css");
327
- export {
328
- Q as C
329
- };
330
- //# sourceMappingURL=revolugo.currencypicker.CzzS1Adp.min.js.map
@@ -1,163 +0,0 @@
1
- import { d as l, u as c, c as i, w as a, a as n, f as V, r as u, o as s, bm as P, aC as $, e as h, g as D, t as B, x as _ } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { C as N } from "./revolugo.currencypicker.CzzS1Adp.min.js";
3
- import { d as m } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
4
- import { _ as p } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
5
- import { V as S } from "./revolugo.vspacer.CPbtu_-W.min.js";
6
- import { a as d } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
7
- import { V as v } from "./revolugo.index.gIPq0z7C.min.js";
8
- import { V as I } from "./revolugo.vdialog.CjEajxIC.min.js";
9
- const b = {
10
- color: {
11
- default: "primary",
12
- type: String
13
- },
14
- dialog: {
15
- default: !1,
16
- type: Boolean
17
- },
18
- elevation: {
19
- default: 0,
20
- type: [String, Number]
21
- },
22
- size: {
23
- default: 0,
24
- type: [String, Number]
25
- }
26
- }, w = {
27
- modelValue: {
28
- type: Boolean
29
- }
30
- }, E = l({
31
- components: {
32
- CurrencyPicker: N
33
- },
34
- data() {
35
- return {
36
- open: this.modelValue
37
- };
38
- },
39
- mixins: [m],
40
- name: "CurrencyPickerDialog",
41
- props: w,
42
- setup() {
43
- const { t: e } = c();
44
- return {
45
- t: e
46
- };
47
- },
48
- watch: {
49
- "config.currency"(e) {
50
- e && (this.open = !1);
51
- },
52
- modelValue(e) {
53
- this.open = e;
54
- },
55
- open(e) {
56
- this.$emit("update:modelValue", e);
57
- }
58
- }
59
- });
60
- function x(e, o, f, g, y, C) {
61
- const t = u("CurrencyPicker");
62
- return s(), i(I, {
63
- modelValue: e.open,
64
- "onUpdate:modelValue": o[1] || (o[1] = (r) => e.open = r),
65
- attach: e.$dialogAttach,
66
- "max-width": "850"
67
- }, {
68
- default: a(() => [
69
- n(t, null, {
70
- "toolbar-right": a(() => [
71
- n(S),
72
- n(d, {
73
- class: "mx-1",
74
- icon: "",
75
- variant: "text",
76
- size: "x-small",
77
- onClick: o[0] || (o[0] = (r) => e.open = !1)
78
- }, {
79
- default: a(() => [
80
- n(v, { color: "dark" }, {
81
- default: a(() => o[2] || (o[2] = [
82
- V(" fas fa-times ")
83
- ])),
84
- _: 1,
85
- __: [2]
86
- })
87
- ]),
88
- _: 1
89
- })
90
- ]),
91
- _: 1
92
- })
93
- ]),
94
- _: 1
95
- }, 8, ["modelValue", "attach"]);
96
- }
97
- const z = /* @__PURE__ */ p(E, [["render", x]]), A = l({
98
- components: {
99
- CurrencyPickerDialog: z
100
- },
101
- computed: {
102
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
103
- currencies() {
104
- return $;
105
- },
106
- locales() {
107
- return P;
108
- }
109
- },
110
- data() {
111
- return {
112
- currencyPickerDialog: !1
113
- };
114
- },
115
- methods: {
116
- onClick() {
117
- this.dialog && (this.currencyPickerDialog = !0);
118
- }
119
- },
120
- mixins: [m],
121
- name: "LangPickerBtn",
122
- props: b,
123
- setup() {
124
- const { t: e } = c();
125
- return {
126
- t: e
127
- };
128
- }
129
- });
130
- function R(e, o, f, g, y, C) {
131
- const t = u("CurrencyPickerDialog");
132
- return s(), i(d, {
133
- class: _(`elevation-${e.elevation} rounded-circle`),
134
- color: e.color,
135
- size: "x-small",
136
- height: "32",
137
- width: "32",
138
- style: {
139
- minWidth: "32px"
140
- },
141
- onClick: e.onClick
142
- }, {
143
- default: a(() => {
144
- var r;
145
- return [
146
- h("b", null, B((r = e.currencies[e.config.currency]) == null ? void 0 : r.code), 1),
147
- e.dialog ? (s(), i(t, {
148
- key: 0,
149
- modelValue: e.currencyPickerDialog,
150
- "onUpdate:modelValue": o[0] || (o[0] = (k) => e.currencyPickerDialog = k)
151
- }, null, 8, ["modelValue"])) : D("", !0)
152
- ];
153
- }),
154
- _: 1
155
- }, 8, ["class", "color", "onClick"]);
156
- }
157
- const F = /* @__PURE__ */ p(A, [["render", R]]);
158
- export {
159
- F as C,
160
- z as a,
161
- b as c
162
- };
163
- //# sourceMappingURL=revolugo.currencypickerbtn.ChUEouGw.min.js.map
@@ -1,24 +0,0 @@
1
- import { c as t, C as c } from "./revolugo.currencypickerbtn.ChUEouGw.min.js";
2
- import { W as p, _ as s } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
3
- import { d as a, c as i, w as m, a as u, n as _, h as C, r as e, o as f } from "./revolugo.index.wc.7I5uexuc.min.js";
4
- const l = a({
5
- components: {
6
- CurrencyPickerBtn: c,
7
- WebComponentWrapper: p
8
- },
9
- props: t
10
- });
11
- function d(r, P, k, B, W, y) {
12
- const n = e("CurrencyPickerBtn", !0), o = e("WebComponentWrapper");
13
- return f(), i(o, null, {
14
- default: m(() => [
15
- u(n, _(C(r.$props)), null, 16)
16
- ]),
17
- _: 1
18
- });
19
- }
20
- const x = /* @__PURE__ */ s(l, [["render", d]]);
21
- export {
22
- x as default
23
- };
24
- //# sourceMappingURL=revolugo.currencypickerbtn.DWnyc54P.min.js.map
@@ -1,28 +0,0 @@
1
- import { d as i } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- const a = i({
3
- computed: {
4
- $dialogAttach() {
5
- return this.dialogAttach || void 0;
6
- }
7
- },
8
- data() {
9
- return {
10
- dialogAttach: void 0
11
- };
12
- },
13
- methods: {
14
- dialogAttachInit() {
15
- var t;
16
- this.dialogAttach = (t = this.$root) == null ? void 0 : t.$el.querySelector(".v-application");
17
- }
18
- },
19
- mounted() {
20
- this.$nextTick(() => {
21
- this.dialogAttachInit();
22
- });
23
- }
24
- });
25
- export {
26
- a as d
27
- };
28
- //# sourceMappingURL=revolugo.dialog-attach.O2HXPGzj.min.js.map
@@ -1,114 +0,0 @@
1
- import { Z as A, _ as T, a as y, y as V, aR as u } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { q as h, G as b, s as v, H as q, I as B, J as F } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
3
- const C = T({
4
- target: [Object, Array]
5
- }, "v-dialog-transition"), L = A()({
6
- name: "VDialogTransition",
7
- props: C(),
8
- setup(g, o) {
9
- let {
10
- slots: e
11
- } = o;
12
- const i = {
13
- onBeforeEnter(t) {
14
- t.style.pointerEvents = "none", t.style.visibility = "hidden";
15
- },
16
- async onEnter(t, m) {
17
- var c;
18
- await new Promise((n) => requestAnimationFrame(n)), await new Promise((n) => requestAnimationFrame(n)), t.style.visibility = "";
19
- const {
20
- x: s,
21
- y: a,
22
- sx: p,
23
- sy: l,
24
- speed: r
25
- } = w(g.target, t), f = h(t, [{
26
- transform: `translate(${s}px, ${a}px) scale(${p}, ${l})`,
27
- opacity: 0
28
- }, {}], {
29
- duration: 225 * r,
30
- easing: q
31
- });
32
- (c = x(t)) == null || c.forEach((n) => {
33
- h(n, [{
34
- opacity: 0
35
- }, {
36
- opacity: 0,
37
- offset: 0.33
38
- }, {}], {
39
- duration: 225 * 2 * r,
40
- easing: v
41
- });
42
- }), f.finished.then(() => m());
43
- },
44
- onAfterEnter(t) {
45
- t.style.removeProperty("pointer-events");
46
- },
47
- onBeforeLeave(t) {
48
- t.style.pointerEvents = "none";
49
- },
50
- async onLeave(t, m) {
51
- var c;
52
- await new Promise((n) => requestAnimationFrame(n));
53
- const {
54
- x: s,
55
- y: a,
56
- sx: p,
57
- sy: l,
58
- speed: r
59
- } = w(g.target, t);
60
- h(t, [{}, {
61
- transform: `translate(${s}px, ${a}px) scale(${p}, ${l})`,
62
- opacity: 0
63
- }], {
64
- duration: 125 * r,
65
- easing: b
66
- }).finished.then(() => m()), (c = x(t)) == null || c.forEach((n) => {
67
- h(n, [{}, {
68
- opacity: 0,
69
- offset: 0.2
70
- }, {
71
- opacity: 0
72
- }], {
73
- duration: 125 * 2 * r,
74
- easing: v
75
- });
76
- });
77
- },
78
- onAfterLeave(t) {
79
- t.style.removeProperty("pointer-events");
80
- }
81
- };
82
- return () => g.target ? y(u, V({
83
- name: "dialog-transition"
84
- }, i, {
85
- css: !1
86
- }), e) : y(u, {
87
- name: "dialog-transition"
88
- }, e);
89
- }
90
- });
91
- function x(g) {
92
- var e;
93
- const o = (e = g.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : e.children;
94
- return o && [...o];
95
- }
96
- function w(g, o) {
97
- const e = B(g), i = F(o), [t, m] = getComputedStyle(o).transformOrigin.split(" ").map(($) => parseFloat($)), [s, a] = getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");
98
- let p = e.left + e.width / 2;
99
- s === "left" || a === "left" ? p -= e.width / 2 : (s === "right" || a === "right") && (p += e.width / 2);
100
- let l = e.top + e.height / 2;
101
- s === "top" || a === "top" ? l -= e.height / 2 : (s === "bottom" || a === "bottom") && (l += e.height / 2);
102
- const r = e.width / i.width, f = e.height / i.height, c = Math.max(1, r, f), n = r / c || 0, E = f / c || 0, d = i.width * i.height / (window.innerWidth * window.innerHeight), P = d > 0.12 ? Math.min(1.5, (d - 0.12) * 10 + 1) : 1;
103
- return {
104
- x: p - (t + i.left),
105
- y: l - (m + i.top),
106
- sx: n,
107
- sy: E,
108
- speed: P
109
- };
110
- }
111
- export {
112
- L as V
113
- };
114
- //# sourceMappingURL=revolugo.dialog-transition.C6S7Ci1s.min.js.map