@revolugo/elements 6.10.10-rc.2 → 6.11.0-beta.1
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.
- package/dist/css/{revolugo.cancellationpoliciesbadge.C7DM-7_E.css → revolugo.cancellationpoliciesbadge.Cni78qdV.css} +1 -1
- package/dist/css/revolugo.index.Cg8oJfEY.css +5 -0
- package/dist/css/{revolugo.webcomponentwrapper.BbyuqtN5.css → revolugo.webcomponentwrapper.B8_2hPEK.css} +1 -1
- package/dist/index.es.min.js +11 -11
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.CMtuJoJd.min.js → revolugo.banktransferdetails.CZHflI-0.min.js} +9 -9
- package/dist/{revolugo.bookingdetailssidebar.CARmgEqh.min.js → revolugo.bookingdetailssidebar.CfQUDfeh.min.js} +9 -9
- package/dist/{revolugo.bookingmanager.14rqCYEi.min.js → revolugo.bookingmanager.Cs1jdFt2.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.CPG1mBzL.min.js → revolugo.cancellationpoliciesbadge.D_pVG70M.min.js} +9 -9
- package/dist/{revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js → revolugo.cancellationpoliciesbadge.props.BdONYzBw.min.js} +13660 -13633
- package/dist/{revolugo.cancellationpolicieslist.DPY13KQM.min.js → revolugo.cancellationpolicieslist.T31bMCfO.min.js} +9 -9
- package/dist/{revolugo.creditcardstripeform.Cs2J4QEd.min.js → revolugo.creditcardstripeform.81LGTSQm.min.js} +7 -7
- package/dist/{revolugo.creditcardstripeform.ZX4irL5-.min.js → revolugo.creditcardstripeform.lSiNVwA6.min.js} +196 -196
- package/dist/revolugo.currencypickerbtn.DK89q61g.min.js +26 -0
- package/dist/{revolugo.dialog-attach.Cpzf6Qsv.min.js → revolugo.dialog-attach.WIuZmeH8.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BxTEpNDx.min.js → revolugo.fastbookingflow.Dt960JxF.min.js} +9 -9
- package/dist/{revolugo.fullbookingflow.BEcT_mc4.min.js → revolugo.fullbookingflow.BZYUm-19.min.js} +9 -9
- package/dist/{revolugo.hoteldescriptionview.DL7LoBMJ.min.js → revolugo.hoteldescriptionview.DUhUweXJ.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.CL-aOULq.min.js → revolugo.hotelofferlist.Co2W09vr.min.js} +9 -9
- package/dist/{revolugo.hoteloffersearchmenu.BZDzq6_O.min.js → revolugo.hoteloffersearchmenu.CBVETt26.min.js} +19 -19
- package/dist/{revolugo.hoteloffersmap.DCvJjsVN.min.js → revolugo.hoteloffersmap.cvaTj62s.min.js} +9 -9
- package/dist/revolugo.hoteloffersview.Bwc7U7fA.min.js +21 -0
- package/dist/{revolugo.hotelroomofferlist.CeGLIY55.min.js → revolugo.hotelroomofferlist.neYAAXT8.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersbookingflow.D67noAIH.min.js → revolugo.hotelroomoffersbookingflow.B8BliW8W.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersearchmenu.jDsVy9Ud.min.js → revolugo.hotelroomoffersearchmenu.D_kG8uZ7.min.js} +9 -9
- package/dist/{revolugo.hotelroomoffersview.BsbTUmB5.min.js → revolugo.hotelroomoffersview.D_-gqySC.min.js} +9 -9
- package/dist/revolugo.index.BGL6_I-A.min.js +115 -0
- package/dist/{revolugo.index.wc.Cfe4KQDt.min.js → revolugo.index.wc.D4TSeLfS.min.js} +8133 -9060
- package/dist/revolugo.langpickerbtn.B8qE9nyG.min.js +31 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.C816qeyU.min.js +26 -0
- package/dist/{revolugo.preferencesmenu.lBEQwRrW.min.js → revolugo.preferencesmenu.BdMimA0V.min.js} +7 -7
- package/dist/{revolugo.preferencesmenu.9gEX6oER.min.js → revolugo.preferencesmenu.CgoRKgL4.min.js} +130 -133
- package/dist/{revolugo.roominglisteditor.T38KZaDz.min.js → revolugo.roominglisteditor.C7jt-5n5.min.js} +9 -9
- package/dist/{revolugo.storybooktoolbar.DKszoX-I.min.js → revolugo.storybooktoolbar.Cy2IOUMp.min.js} +9 -9
- package/dist/{revolugo.termsandconditions.B8ot6qwM.min.js → revolugo.termsandconditions.CG1khRI_.min.js} +8 -8
- package/dist/revolugo.vtoolbar.Clalk_gx.min.js +205 -0
- package/dist/{revolugo.webcomponentwrapper.CM3EFuyv.min.js → revolugo.webcomponentwrapper.CU3jeCU7.min.js} +5673 -5903
- package/package.json +5 -5
- package/dist/css/revolugo.index.BNlxBMG6.css +0 -5
- package/dist/revolugo.currencypickerbtn.ClKk1L3x.min.js +0 -26
- package/dist/revolugo.hoteloffersview.6DzC_Mz-.min.js +0 -21
- package/dist/revolugo.index.Bn5MchPw.min.js +0 -106
- package/dist/revolugo.langpickerbtn.B1e4WIXU.min.js +0 -31
- package/dist/revolugo.prebookform.5OD7qcXZ.min.js +0 -26
- package/dist/revolugo.vtoolbar.DZrBQWQ0.min.js +0 -187
package/dist/{revolugo.preferencesmenu.9gEX6oER.min.js → revolugo.preferencesmenu.CgoRKgL4.min.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as P,
|
|
2
|
-
import {
|
|
3
|
-
import { d as
|
|
4
|
-
import { d as
|
|
1
|
+
import { d as P, aZ as te, _ as oe, h as E, b1 as D, b2 as k, c as m, w as o, a as n, z as p, y as f, X as j, j as y, W as T, F as L, o as r, Z as $, p as C, f as B, r as S, at as W, q as ne, au as G, b as se, b3 as b, u as _, i as I, e as ae, m as Y, b4 as le } from "./revolugo.index.wc.D4TSeLfS.min.js";
|
|
2
|
+
import { b9 as re, aM as ie, b5 as ce, _ as M, e as d, d as g, L as ue, g as de, bd as x, V as q, a_ as O, j as w, k as U, l as J, aq as R, m as fe, i as pe, ad as K, b as me, aP as ge } from "./revolugo.webcomponentwrapper.CU3jeCU7.min.js";
|
|
3
|
+
import { d as N } from "./revolugo.dialog-attach.WIuZmeH8.min.js";
|
|
4
|
+
import { d as he, V as ke } from "./revolugo.vtoolbar.Clalk_gx.min.js";
|
|
5
5
|
function ee(e) {
|
|
6
6
|
try {
|
|
7
7
|
if (typeof document < "u") {
|
|
@@ -22,7 +22,7 @@ function ee(e) {
|
|
|
22
22
|
console.error("[revolugo-elements] ", t);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Ce(e, t, a) {
|
|
26
26
|
if (e == null)
|
|
27
27
|
return t;
|
|
28
28
|
const i = a || ((c) => c);
|
|
@@ -34,26 +34,26 @@ function ye(e, t, a) {
|
|
|
34
34
|
}
|
|
35
35
|
return i(e);
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const ye = ({
|
|
38
38
|
cb: e,
|
|
39
39
|
fallbackValue: t,
|
|
40
40
|
propsName: a
|
|
41
41
|
}) => {
|
|
42
|
-
const i =
|
|
42
|
+
const i = re(a, ie.Pascal);
|
|
43
43
|
return P({
|
|
44
44
|
computed: {
|
|
45
45
|
[`parsed${i}`]() {
|
|
46
|
-
const c =
|
|
46
|
+
const c = Ce(
|
|
47
47
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
48
|
this[a],
|
|
49
49
|
t,
|
|
50
50
|
e
|
|
51
51
|
);
|
|
52
|
-
return c && t ?
|
|
52
|
+
return c && t ? he(structuredClone(te(c)), t) : c;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
},
|
|
56
|
+
}, be = [
|
|
57
57
|
k.EUR,
|
|
58
58
|
k.USD,
|
|
59
59
|
k.GBP,
|
|
@@ -62,16 +62,16 @@ const be = ({
|
|
|
62
62
|
k.INR,
|
|
63
63
|
k.AUD,
|
|
64
64
|
k.JPY
|
|
65
|
-
],
|
|
65
|
+
], Z = P({
|
|
66
66
|
computed: {
|
|
67
67
|
commonCurrencies() {
|
|
68
|
-
const e = new Set(
|
|
68
|
+
const e = new Set(be);
|
|
69
69
|
return Object.values(this.currencies).filter(
|
|
70
70
|
(t) => e.has(t.code)
|
|
71
71
|
);
|
|
72
72
|
},
|
|
73
73
|
countries() {
|
|
74
|
-
return Object.values(
|
|
74
|
+
return Object.values(ce);
|
|
75
75
|
},
|
|
76
76
|
currencies() {
|
|
77
77
|
return D;
|
|
@@ -103,7 +103,7 @@ const be = ({
|
|
|
103
103
|
this.dialog = !1, this.updateCurrency(e.code), this.searchInput = "";
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
mixins: [oe,
|
|
106
|
+
mixins: [oe, N],
|
|
107
107
|
name: "CurrencyPicker",
|
|
108
108
|
setup() {
|
|
109
109
|
const { t: e } = E();
|
|
@@ -114,9 +114,6 @@ const be = ({
|
|
|
114
114
|
watch: {
|
|
115
115
|
dialog(e) {
|
|
116
116
|
e || (this.searchInput = "");
|
|
117
|
-
},
|
|
118
|
-
selectedCurrency() {
|
|
119
|
-
this.$eventBus.$emit(ne.CurrencyUpdated, this.config.currency);
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
});
|
|
@@ -184,9 +181,9 @@ function z(e) {
|
|
|
184
181
|
}
|
|
185
182
|
});
|
|
186
183
|
}
|
|
187
|
-
const
|
|
188
|
-
function
|
|
189
|
-
return
|
|
184
|
+
const ve = { class: "mb-2 font-weight-bold" }, Pe = { class: "mb-2 font-weight-bold" }, _e = { class: "font-weight-bold text-primary" }, Le = { class: "" }, Ve = { class: "font-weight-bold" }, Se = { class: "font-weight-bold text-primary" };
|
|
185
|
+
function $e(e, t, a, i, c, v) {
|
|
186
|
+
return r(), m(q, null, {
|
|
190
187
|
default: o(() => [
|
|
191
188
|
n(g, {
|
|
192
189
|
class: "pa-4",
|
|
@@ -195,7 +192,7 @@ function we(e, t, a, i, c, v) {
|
|
|
195
192
|
default: o(() => [
|
|
196
193
|
n(d, { cols: "auto" }, {
|
|
197
194
|
default: o(() => [
|
|
198
|
-
|
|
195
|
+
p("p", ve, f(e.t("CurrencyPicker.title")), 1)
|
|
199
196
|
]),
|
|
200
197
|
_: 1
|
|
201
198
|
}),
|
|
@@ -208,14 +205,14 @@ function we(e, t, a, i, c, v) {
|
|
|
208
205
|
]),
|
|
209
206
|
_: 3
|
|
210
207
|
}),
|
|
211
|
-
n(
|
|
208
|
+
n(ue),
|
|
212
209
|
n(x, { class: "pa-4 rounded-lg" }, {
|
|
213
210
|
default: o(() => [
|
|
214
211
|
n(g, { "no-gutters": "" }, {
|
|
215
212
|
default: o(() => [
|
|
216
213
|
n(d, { cols: "auto" }, {
|
|
217
214
|
default: o(() => [
|
|
218
|
-
|
|
215
|
+
p("p", Pe, f(e.t("CurrencyPicker.preferred")), 1)
|
|
219
216
|
]),
|
|
220
217
|
_: 1
|
|
221
218
|
})
|
|
@@ -224,8 +221,8 @@ function we(e, t, a, i, c, v) {
|
|
|
224
221
|
}),
|
|
225
222
|
n(g, { "no-gutters": "" }, {
|
|
226
223
|
default: o(() => [
|
|
227
|
-
(
|
|
228
|
-
key:
|
|
224
|
+
(r(!0), y(L, null, T(e.commonCurrencies, (s, l) => (r(), m(d, {
|
|
225
|
+
key: l,
|
|
229
226
|
cols: "12",
|
|
230
227
|
md: "4",
|
|
231
228
|
sm: "6"
|
|
@@ -247,10 +244,10 @@ function we(e, t, a, i, c, v) {
|
|
|
247
244
|
sm: "3"
|
|
248
245
|
}, {
|
|
249
246
|
default: o(() => [
|
|
250
|
-
|
|
251
|
-
C(
|
|
252
|
-
s.code !== s.symbol ? (
|
|
253
|
-
C(" - " +
|
|
247
|
+
p("span", _e, [
|
|
248
|
+
C(f(s.code) + " ", 1),
|
|
249
|
+
s.code !== s.symbol ? (r(), y(L, { key: 0 }, [
|
|
250
|
+
C(" - " + f(s.symbol), 1)
|
|
254
251
|
], 64)) : B("", !0)
|
|
255
252
|
])
|
|
256
253
|
]),
|
|
@@ -258,7 +255,7 @@ function we(e, t, a, i, c, v) {
|
|
|
258
255
|
}, 1024),
|
|
259
256
|
n(d, { class: "currency-name" }, {
|
|
260
257
|
default: o(() => [
|
|
261
|
-
|
|
258
|
+
p("span", Le, f(s.name), 1)
|
|
262
259
|
]),
|
|
263
260
|
_: 2
|
|
264
261
|
}, 1024)
|
|
@@ -285,7 +282,7 @@ function we(e, t, a, i, c, v) {
|
|
|
285
282
|
lg: "4"
|
|
286
283
|
}, {
|
|
287
284
|
default: o(() => [
|
|
288
|
-
|
|
285
|
+
p("span", Ve, f(e.t("CurrencyPicker.all")), 1)
|
|
289
286
|
]),
|
|
290
287
|
_: 1
|
|
291
288
|
}),
|
|
@@ -294,7 +291,7 @@ function we(e, t, a, i, c, v) {
|
|
|
294
291
|
lg: "8"
|
|
295
292
|
}, {
|
|
296
293
|
default: o(() => [
|
|
297
|
-
n(
|
|
294
|
+
n(de, {
|
|
298
295
|
modelValue: e.searchInput,
|
|
299
296
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => e.searchInput = s),
|
|
300
297
|
class: "mt-2",
|
|
@@ -311,8 +308,8 @@ function we(e, t, a, i, c, v) {
|
|
|
311
308
|
}),
|
|
312
309
|
n(g, { "no-gutters": "" }, {
|
|
313
310
|
default: o(() => [
|
|
314
|
-
(
|
|
315
|
-
key:
|
|
311
|
+
(r(!0), y(L, null, T(e.filteredList, (s, l) => (r(), m(d, {
|
|
312
|
+
key: l,
|
|
316
313
|
cols: "12",
|
|
317
314
|
md: "4",
|
|
318
315
|
sm: "6"
|
|
@@ -334,10 +331,10 @@ function we(e, t, a, i, c, v) {
|
|
|
334
331
|
sm: "3"
|
|
335
332
|
}, {
|
|
336
333
|
default: o(() => [
|
|
337
|
-
|
|
338
|
-
C(
|
|
339
|
-
s.code !== s.symbol ? (
|
|
340
|
-
C(" - " +
|
|
334
|
+
p("span", Se, [
|
|
335
|
+
C(f(s.code) + " ", 1),
|
|
336
|
+
s.code !== s.symbol ? (r(), y(L, { key: 0 }, [
|
|
337
|
+
C(" - " + f(s.symbol), 1)
|
|
341
338
|
], 64)) : B("", !0)
|
|
342
339
|
])
|
|
343
340
|
]),
|
|
@@ -345,7 +342,7 @@ function we(e, t, a, i, c, v) {
|
|
|
345
342
|
}, 1024),
|
|
346
343
|
n(d, { class: "currency-name no-break ml-1" }, {
|
|
347
344
|
default: o(() => [
|
|
348
|
-
C(
|
|
345
|
+
C(f(s.name), 1)
|
|
349
346
|
]),
|
|
350
347
|
_: 2
|
|
351
348
|
}, 1024)
|
|
@@ -368,23 +365,23 @@ function we(e, t, a, i, c, v) {
|
|
|
368
365
|
_: 3
|
|
369
366
|
});
|
|
370
367
|
}
|
|
371
|
-
typeof z == "function" && z(
|
|
372
|
-
const
|
|
368
|
+
typeof z == "function" && z(Z);
|
|
369
|
+
const we = /* @__PURE__ */ M(Z, [["render", $e]]), Ee = {
|
|
373
370
|
modelValue: {
|
|
374
371
|
type: Boolean
|
|
375
372
|
}
|
|
376
|
-
},
|
|
373
|
+
}, Me = P({
|
|
377
374
|
components: {
|
|
378
|
-
CurrencyPicker:
|
|
375
|
+
CurrencyPicker: we
|
|
379
376
|
},
|
|
380
377
|
data() {
|
|
381
378
|
return {
|
|
382
379
|
open: this.modelValue
|
|
383
380
|
};
|
|
384
381
|
},
|
|
385
|
-
mixins: [
|
|
382
|
+
mixins: [N],
|
|
386
383
|
name: "CurrencyPickerDialog",
|
|
387
|
-
props:
|
|
384
|
+
props: Ee,
|
|
388
385
|
setup() {
|
|
389
386
|
const { t: e } = E();
|
|
390
387
|
return {
|
|
@@ -403,11 +400,11 @@ const Ee = /* @__PURE__ */ M(q, [["render", we]]), Me = {
|
|
|
403
400
|
}
|
|
404
401
|
}
|
|
405
402
|
});
|
|
406
|
-
function
|
|
403
|
+
function De(e, t, a, i, c, v) {
|
|
407
404
|
const s = S("CurrencyPicker");
|
|
408
|
-
return
|
|
405
|
+
return r(), m(J, {
|
|
409
406
|
modelValue: e.open,
|
|
410
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
407
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => e.open = l),
|
|
411
408
|
"content-class": "rounded-lg",
|
|
412
409
|
attach: e.$dialogAttach,
|
|
413
410
|
"max-width": "850",
|
|
@@ -421,7 +418,7 @@ function Te(e, t, a, i, c, v) {
|
|
|
421
418
|
icon: "",
|
|
422
419
|
variant: "text",
|
|
423
420
|
size: "x-small",
|
|
424
|
-
onClick: t[0] || (t[0] = (
|
|
421
|
+
onClick: t[0] || (t[0] = (l) => e.open = !1)
|
|
425
422
|
}, {
|
|
426
423
|
default: o(() => [
|
|
427
424
|
n(U, { color: "dark" }, {
|
|
@@ -440,7 +437,7 @@ function Te(e, t, a, i, c, v) {
|
|
|
440
437
|
_: 1
|
|
441
438
|
}, 8, ["modelValue", "attach"]);
|
|
442
439
|
}
|
|
443
|
-
const
|
|
440
|
+
const H = /* @__PURE__ */ M(Me, [["render", De]]), Te = {
|
|
444
441
|
color: {
|
|
445
442
|
default: "primary",
|
|
446
443
|
type: String
|
|
@@ -457,9 +454,9 @@ const Q = /* @__PURE__ */ M(De, [["render", Te]]), Be = {
|
|
|
457
454
|
default: 0,
|
|
458
455
|
type: [String, Number]
|
|
459
456
|
}
|
|
460
|
-
},
|
|
457
|
+
}, Be = P({
|
|
461
458
|
components: {
|
|
462
|
-
CurrencyPickerDialog:
|
|
459
|
+
CurrencyPickerDialog: H
|
|
463
460
|
},
|
|
464
461
|
computed: {
|
|
465
462
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -477,9 +474,9 @@ const Q = /* @__PURE__ */ M(De, [["render", Te]]), Be = {
|
|
|
477
474
|
this.dialog && (this.currencyPickerDialog = !0);
|
|
478
475
|
}
|
|
479
476
|
},
|
|
480
|
-
mixins: [
|
|
477
|
+
mixins: [N],
|
|
481
478
|
name: "LangPickerBtn",
|
|
482
|
-
props:
|
|
479
|
+
props: Te,
|
|
483
480
|
setup() {
|
|
484
481
|
const { t: e } = E();
|
|
485
482
|
return {
|
|
@@ -487,9 +484,9 @@ const Q = /* @__PURE__ */ M(De, [["render", Te]]), Be = {
|
|
|
487
484
|
};
|
|
488
485
|
}
|
|
489
486
|
});
|
|
490
|
-
function
|
|
487
|
+
function Oe(e, t, a, i, c, v) {
|
|
491
488
|
const s = S("CurrencyPickerDialog");
|
|
492
|
-
return
|
|
489
|
+
return r(), m(w, {
|
|
493
490
|
class: $(`elevation-${e.elevation} rounded-circle`),
|
|
494
491
|
color: e.color,
|
|
495
492
|
size: "x-small",
|
|
@@ -501,36 +498,17 @@ function Ue(e, t, a, i, c, v) {
|
|
|
501
498
|
onClick: e.onClick
|
|
502
499
|
}, {
|
|
503
500
|
default: o(() => [
|
|
504
|
-
|
|
505
|
-
e.dialog ? (
|
|
501
|
+
p("b", null, f(e.currencies[e.config.currency]?.code), 1),
|
|
502
|
+
e.dialog ? (r(), m(s, {
|
|
506
503
|
key: 0,
|
|
507
504
|
modelValue: e.currencyPickerDialog,
|
|
508
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
505
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.currencyPickerDialog = l)
|
|
509
506
|
}, null, 8, ["modelValue"])) : B("", !0)
|
|
510
507
|
]),
|
|
511
508
|
_: 1
|
|
512
509
|
}, 8, ["class", "color", "onClick"]);
|
|
513
510
|
}
|
|
514
|
-
const
|
|
515
|
-
var V = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(V || {});
|
|
516
|
-
const Re = {
|
|
517
|
-
block: {
|
|
518
|
-
default: !1,
|
|
519
|
-
type: Boolean
|
|
520
|
-
},
|
|
521
|
-
color: {
|
|
522
|
-
default: "secondary",
|
|
523
|
-
type: String
|
|
524
|
-
},
|
|
525
|
-
compact: {
|
|
526
|
-
default: !1,
|
|
527
|
-
type: Boolean
|
|
528
|
-
},
|
|
529
|
-
direction: {
|
|
530
|
-
default: "top",
|
|
531
|
-
type: String
|
|
532
|
-
}
|
|
533
|
-
}, Ie = { class: "text-grey-darken-2" }, Z = /* @__PURE__ */ P({
|
|
511
|
+
const Ue = /* @__PURE__ */ M(Be, [["render", Oe]]), Re = { class: "text-grey-darken-2" }, Q = /* @__PURE__ */ P({
|
|
534
512
|
__name: "LangPicker",
|
|
535
513
|
props: /* @__PURE__ */ W({
|
|
536
514
|
locales: { default: () => Object.keys(b) }
|
|
@@ -540,35 +518,35 @@ const Re = {
|
|
|
540
518
|
}),
|
|
541
519
|
emits: ["update:modelValue"],
|
|
542
520
|
setup(e) {
|
|
543
|
-
const { config: t } =
|
|
544
|
-
const s = (i.locales || []).filter((
|
|
521
|
+
const { config: t } = ne(), { t: a } = E(), i = e, c = G(e, "modelValue"), v = se(() => {
|
|
522
|
+
const s = (i.locales || []).filter((l) => b[l]).map((l) => b[l]);
|
|
545
523
|
return s.length > 0 ? s : Object.values(b);
|
|
546
524
|
});
|
|
547
|
-
return (s,
|
|
525
|
+
return (s, l) => (r(), m(x, null, {
|
|
548
526
|
default: o(() => [
|
|
549
|
-
n(
|
|
527
|
+
n(ke, {
|
|
550
528
|
color: "white",
|
|
551
529
|
elevation: "0"
|
|
552
530
|
}, {
|
|
553
531
|
default: o(() => [
|
|
554
|
-
|
|
532
|
+
p("h4", Re, f(_(a)("LangPicker.title")), 1),
|
|
555
533
|
j(s.$slots, "toolbar-right")
|
|
556
534
|
]),
|
|
557
535
|
_: 3
|
|
558
536
|
}),
|
|
559
|
-
(
|
|
537
|
+
(r(!0), y(L, null, T(v.value, (u) => (r(), m(O, {
|
|
560
538
|
class: $(["ml-3", c.value === u.code ? "bg-grey-lighten-4" : void 0]),
|
|
561
539
|
key: u.name,
|
|
562
540
|
link: "",
|
|
563
541
|
onClick: (h) => c.value = u.code
|
|
564
542
|
}, {
|
|
565
543
|
default: o(() => [
|
|
566
|
-
n(
|
|
544
|
+
n(R, {
|
|
567
545
|
image: `https://flagcdn.com/h60/${u.countryCode.toLowerCase()}.png`
|
|
568
546
|
}, null, 8, ["image"]),
|
|
569
|
-
|
|
547
|
+
p("span", {
|
|
570
548
|
class: $(["ml-4", _(t).lang === u.code ? "font-weight-bold" : ""])
|
|
571
|
-
},
|
|
549
|
+
}, f(u.name), 3)
|
|
572
550
|
]),
|
|
573
551
|
_: 2
|
|
574
552
|
}, 1032, ["class", "onClick"]))), 128))
|
|
@@ -620,8 +598,8 @@ function A(e) {
|
|
|
620
598
|
}
|
|
621
599
|
});
|
|
622
600
|
}
|
|
623
|
-
typeof A == "function" && A(
|
|
624
|
-
const
|
|
601
|
+
typeof A == "function" && A(Q);
|
|
602
|
+
const Ne = /* @__PURE__ */ P({
|
|
625
603
|
__name: "LangPickerBtn",
|
|
626
604
|
props: /* @__PURE__ */ W({
|
|
627
605
|
locales: {},
|
|
@@ -632,25 +610,25 @@ const ze = /* @__PURE__ */ P({
|
|
|
632
610
|
}),
|
|
633
611
|
emits: ["update:modelValue"],
|
|
634
612
|
setup(e) {
|
|
635
|
-
const t =
|
|
613
|
+
const t = G(e, "modelValue"), a = I(null), { $dialogAttach: i } = fe(a), c = I(!1);
|
|
636
614
|
function v() {
|
|
637
615
|
c.value = !1;
|
|
638
616
|
}
|
|
639
|
-
return
|
|
617
|
+
return ae(t, () => {
|
|
640
618
|
t.value && (c.value = !1);
|
|
641
|
-
}), (s,
|
|
619
|
+
}), (s, l) => (r(), y("div", {
|
|
642
620
|
ref_key: "root",
|
|
643
621
|
ref: a
|
|
644
622
|
}, [
|
|
645
623
|
n(J, {
|
|
646
624
|
modelValue: c.value,
|
|
647
|
-
"onUpdate:modelValue":
|
|
625
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => c.value = u),
|
|
648
626
|
"max-width": "290",
|
|
649
627
|
attach: _(i)
|
|
650
628
|
}, {
|
|
651
629
|
activator: o(({ props: u }) => [
|
|
652
|
-
n(w,
|
|
653
|
-
class: `elevation-${
|
|
630
|
+
n(w, Y({
|
|
631
|
+
class: `elevation-${e.elevation} rounded-circle`,
|
|
654
632
|
color: "primary",
|
|
655
633
|
variant: t.value ? "text" : "flat",
|
|
656
634
|
size: "x-small",
|
|
@@ -659,18 +637,18 @@ const ze = /* @__PURE__ */ P({
|
|
|
659
637
|
width: "32"
|
|
660
638
|
}, u), {
|
|
661
639
|
default: o(() => [
|
|
662
|
-
n(
|
|
640
|
+
n(R, { style: { overflow: "hidden" } }, {
|
|
663
641
|
default: o(() => [
|
|
664
|
-
t.value ? (
|
|
642
|
+
t.value ? (r(), m(K, {
|
|
665
643
|
key: 0,
|
|
666
644
|
src: `https://flagcdn.com/h60/${_(b)[t.value].countryCode.toLowerCase()}.png`,
|
|
667
645
|
srcset: `https://flagcdn.com/h80/${_(b)[t.value].countryCode.toLowerCase()}.png 2x,
|
|
668
646
|
https://flagcdn.com/h120/${_(b)[t.value].countryCode.toLowerCase()}.png 3x`
|
|
669
|
-
}, null, 8, ["src", "srcset"])) : (
|
|
647
|
+
}, null, 8, ["src", "srcset"])) : (r(), m(U, {
|
|
670
648
|
key: 1,
|
|
671
649
|
color: "dark"
|
|
672
650
|
}, {
|
|
673
|
-
default: o(() => [...
|
|
651
|
+
default: o(() => [...l[2] || (l[2] = [
|
|
674
652
|
C(" fas fa-globe ", -1)
|
|
675
653
|
])]),
|
|
676
654
|
_: 1
|
|
@@ -683,13 +661,13 @@ const ze = /* @__PURE__ */ P({
|
|
|
683
661
|
}, 16, ["class", "variant"])
|
|
684
662
|
]),
|
|
685
663
|
default: o(() => [
|
|
686
|
-
n(
|
|
664
|
+
n(Q, {
|
|
687
665
|
modelValue: t.value,
|
|
688
|
-
"onUpdate:modelValue":
|
|
689
|
-
locales:
|
|
666
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => t.value = u),
|
|
667
|
+
locales: e.locales
|
|
690
668
|
}, {
|
|
691
669
|
"toolbar-right": o(() => [
|
|
692
|
-
n(
|
|
670
|
+
n(pe),
|
|
693
671
|
n(w, {
|
|
694
672
|
class: "mx-1",
|
|
695
673
|
icon: "",
|
|
@@ -699,7 +677,7 @@ const ze = /* @__PURE__ */ P({
|
|
|
699
677
|
}, {
|
|
700
678
|
default: o(() => [
|
|
701
679
|
n(U, { color: "dark" }, {
|
|
702
|
-
default: o(() => [...
|
|
680
|
+
default: o(() => [...l[3] || (l[3] = [
|
|
703
681
|
C(" fas fa-times ", -1)
|
|
704
682
|
])]),
|
|
705
683
|
_: 1
|
|
@@ -715,11 +693,30 @@ const ze = /* @__PURE__ */ P({
|
|
|
715
693
|
}, 8, ["modelValue", "attach"])
|
|
716
694
|
], 512));
|
|
717
695
|
}
|
|
718
|
-
}),
|
|
696
|
+
}), Ie = /* @__PURE__ */ M(Ne, [["__scopeId", "data-v-066f5f7f"]]);
|
|
697
|
+
var V = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(V || {});
|
|
698
|
+
const ze = {
|
|
699
|
+
block: {
|
|
700
|
+
default: !1,
|
|
701
|
+
type: Boolean
|
|
702
|
+
},
|
|
703
|
+
color: {
|
|
704
|
+
default: "secondary",
|
|
705
|
+
type: String
|
|
706
|
+
},
|
|
707
|
+
compact: {
|
|
708
|
+
default: !1,
|
|
709
|
+
type: Boolean
|
|
710
|
+
},
|
|
711
|
+
direction: {
|
|
712
|
+
default: "top",
|
|
713
|
+
type: String
|
|
714
|
+
}
|
|
715
|
+
}, X = P({
|
|
719
716
|
components: {
|
|
720
|
-
CurrencyPickerBtn:
|
|
721
|
-
CurrencyPickerDialog:
|
|
722
|
-
LangPickerBtn:
|
|
717
|
+
CurrencyPickerBtn: Ue,
|
|
718
|
+
CurrencyPickerDialog: H,
|
|
719
|
+
LangPickerBtn: Ie
|
|
723
720
|
},
|
|
724
721
|
computed: {
|
|
725
722
|
activeCurrency() {
|
|
@@ -761,13 +758,13 @@ const ze = /* @__PURE__ */ P({
|
|
|
761
758
|
}
|
|
762
759
|
},
|
|
763
760
|
mixins: [
|
|
764
|
-
|
|
761
|
+
ye({
|
|
765
762
|
fallbackValue: !1,
|
|
766
763
|
propsName: "compact"
|
|
767
764
|
})
|
|
768
765
|
],
|
|
769
766
|
name: "PreferencesMenu",
|
|
770
|
-
props:
|
|
767
|
+
props: ze,
|
|
771
768
|
setup() {
|
|
772
769
|
const { t: e } = E();
|
|
773
770
|
return {
|
|
@@ -818,26 +815,26 @@ function F(e) {
|
|
|
818
815
|
}
|
|
819
816
|
});
|
|
820
817
|
}
|
|
821
|
-
const
|
|
822
|
-
function
|
|
823
|
-
const s = S("CurrencyPickerBtn"),
|
|
824
|
-
return e.parsedCompact ? (
|
|
825
|
-
n(
|
|
818
|
+
const Ae = { key: 0 }, Fe = { class: "pr-1" }, je = { key: 1 };
|
|
819
|
+
function We(e, t, a, i, c, v) {
|
|
820
|
+
const s = S("CurrencyPickerBtn"), l = S("LangPickerBtn"), u = S("CurrencyPickerDialog");
|
|
821
|
+
return e.parsedCompact ? (r(), y("div", Ae, [
|
|
822
|
+
n(ge, {
|
|
826
823
|
"content-class": "elevation-0",
|
|
827
824
|
elevation: "0",
|
|
828
825
|
location: e.direction,
|
|
829
826
|
transition: e.transition
|
|
830
827
|
}, {
|
|
831
828
|
activator: o(({ props: h }) => [
|
|
832
|
-
n(w,
|
|
829
|
+
n(w, Y({
|
|
833
830
|
block: e.block,
|
|
834
831
|
class: "elevation-0 px-1",
|
|
835
832
|
color: e.color,
|
|
836
833
|
size: "small"
|
|
837
834
|
}, h, { style: { "max-width": "62px", width: "62px" } }), {
|
|
838
835
|
default: o(() => [
|
|
839
|
-
|
|
840
|
-
n(
|
|
836
|
+
p("small", Fe, f(e.activeCurrency.code) + " / ", 1),
|
|
837
|
+
n(R, { size: "16" }, {
|
|
841
838
|
default: o(() => [
|
|
842
839
|
n(K, {
|
|
843
840
|
"max-height": "16",
|
|
@@ -854,12 +851,12 @@ function Ye(e, t, a, i, c, v) {
|
|
|
854
851
|
}, 16, ["block", "color"])
|
|
855
852
|
]),
|
|
856
853
|
default: o(() => [
|
|
857
|
-
n(
|
|
854
|
+
n(q, {
|
|
858
855
|
elevation: "0",
|
|
859
856
|
class: "bg-transparent"
|
|
860
857
|
}, {
|
|
861
858
|
default: o(() => [
|
|
862
|
-
n(
|
|
859
|
+
n(me, { class: "px-3" }, {
|
|
863
860
|
default: o(() => [
|
|
864
861
|
n(g, null, {
|
|
865
862
|
default: o(() => [
|
|
@@ -880,7 +877,7 @@ function Ye(e, t, a, i, c, v) {
|
|
|
880
877
|
default: o(() => [
|
|
881
878
|
n(d, { class: "d-flex justify-center" }, {
|
|
882
879
|
default: o(() => [
|
|
883
|
-
n(
|
|
880
|
+
n(l, {
|
|
884
881
|
modelValue: e.langPickerModel,
|
|
885
882
|
"onUpdate:modelValue": t[0] || (t[0] = (h) => e.langPickerModel = h),
|
|
886
883
|
elevation: "7",
|
|
@@ -905,14 +902,14 @@ function Ye(e, t, a, i, c, v) {
|
|
|
905
902
|
modelValue: e.currencyPickerDialog,
|
|
906
903
|
"onUpdate:modelValue": t[1] || (t[1] = (h) => e.currencyPickerDialog = h)
|
|
907
904
|
}, null, 8, ["modelValue"])
|
|
908
|
-
])) : (
|
|
905
|
+
])) : (r(), y("div", je, [
|
|
909
906
|
n(s, {
|
|
910
907
|
class: "d-inline-block",
|
|
911
908
|
color: e.color,
|
|
912
909
|
dialog: ""
|
|
913
910
|
}, null, 8, ["color"]),
|
|
914
|
-
t[3] || (t[3] =
|
|
915
|
-
n(
|
|
911
|
+
t[3] || (t[3] = p("span", { class: "pr-1" }, null, -1)),
|
|
912
|
+
n(l, {
|
|
916
913
|
modelValue: e.langPickerModel,
|
|
917
914
|
"onUpdate:modelValue": t[2] || (t[2] = (h) => e.langPickerModel = h),
|
|
918
915
|
class: "d-inline-block",
|
|
@@ -921,15 +918,15 @@ function Ye(e, t, a, i, c, v) {
|
|
|
921
918
|
]));
|
|
922
919
|
}
|
|
923
920
|
typeof F == "function" && F(X);
|
|
924
|
-
const
|
|
921
|
+
const Je = /* @__PURE__ */ M(X, [["render", We], ["__scopeId", "data-v-903194dd"]]);
|
|
925
922
|
ee("css/revolugo.preferencesmenu.DQaHGrad.css");
|
|
926
923
|
export {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
924
|
+
Ue as C,
|
|
925
|
+
Ie as L,
|
|
926
|
+
Je as P,
|
|
930
927
|
V as a,
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
928
|
+
ye as b,
|
|
929
|
+
Te as c,
|
|
930
|
+
ze as p
|
|
934
931
|
};
|
|
935
|
-
//# sourceMappingURL=revolugo.preferencesmenu.
|
|
932
|
+
//# sourceMappingURL=revolugo.preferencesmenu.CgoRKgL4.min.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z as n, R as s } from "./revolugo.cancellationpoliciesbadge.props.
|
|
2
|
-
import { d as p, c as i,
|
|
3
|
-
import { W as f, _ as l } from "./revolugo.webcomponentwrapper.
|
|
4
|
-
import "./revolugo.creditcardstripeform.
|
|
5
|
-
import "./revolugo.preferencesmenu.
|
|
1
|
+
import { z as n, R as s } from "./revolugo.cancellationpoliciesbadge.props.BdONYzBw.min.js";
|
|
2
|
+
import { d as p, c as i, w as a, a as m, n as c, g as d, r as o, o as _ } from "./revolugo.index.wc.D4TSeLfS.min.js";
|
|
3
|
+
import { W as f, _ as l } from "./revolugo.webcomponentwrapper.CU3jeCU7.min.js";
|
|
4
|
+
import "./revolugo.creditcardstripeform.lSiNVwA6.min.js";
|
|
5
|
+
import "./revolugo.preferencesmenu.CgoRKgL4.min.js";
|
|
6
6
|
const u = p({
|
|
7
7
|
components: {
|
|
8
8
|
RoomingListEditor: s,
|
|
@@ -12,9 +12,9 @@ const u = p({
|
|
|
12
12
|
});
|
|
13
13
|
function g(t, R, W, C, E, L) {
|
|
14
14
|
const r = o("RoomingListEditor", !0), e = o("WebComponentWrapper");
|
|
15
|
-
return
|
|
16
|
-
default:
|
|
17
|
-
|
|
15
|
+
return _(), i(e, null, {
|
|
16
|
+
default: a(() => [
|
|
17
|
+
m(r, c(d(t.$props)), null, 16)
|
|
18
18
|
]),
|
|
19
19
|
_: 1
|
|
20
20
|
});
|
|
@@ -23,4 +23,4 @@ const k = /* @__PURE__ */ l(u, [["render", g]]);
|
|
|
23
23
|
export {
|
|
24
24
|
k as default
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=revolugo.roominglisteditor.
|
|
26
|
+
//# sourceMappingURL=revolugo.roominglisteditor.C7jt-5n5.min.js.map
|