@revolugo/elements 6.9.3-beta.9 → 6.9.4-rc.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.
- package/dist/css/fonts.css +1 -1
- package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +1 -0
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
- package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
- package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.index.XNPQF1ia.css +5 -0
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
- package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
- package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
- package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
- package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/index.es.min.js +1518 -1275
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.C9fSfygW.min.js +247 -0
- package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
- package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
- package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
- package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
- package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
- package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
- package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
- package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
- package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
- package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
- package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
- package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
- package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
- package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
- package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
- package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
- package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
- package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
- package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
- package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
- package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
- package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
- package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
- package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
- package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
- package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
- package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
- package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
- package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
- package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
- package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
- package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
- package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
- package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
- package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
- package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
- package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
- package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
- package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
- package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
- package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
- package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
- package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
- package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
- package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
- package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
- package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
- package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
- package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
- package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
- package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
- package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
- package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
- package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
- package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
- package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
- package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
- package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
- package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
- package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
- package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
- package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
- package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
- package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
- package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
- package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
- package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
- package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
- package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
- package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
- package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
- package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
- package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
- package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
- package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
- package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
- package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
- package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
- package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
- package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
- package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
- package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
- package/package.json +5 -5
- package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
- package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
- package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
- package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
- package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
- package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
- package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
- package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
- package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
- package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
- package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
- package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
- package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
- package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
- package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
- package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
- package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
- package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
- package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
- package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
- package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
- package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
- package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
- package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
- package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
- package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
- package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
- package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
- package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
- package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -1,838 +0,0 @@
|
|
1
|
-
import { s as pe, d as M, h as J, i as _, b as R, A as ve, X as ge, j as O, a as o, w as r, k as X, l as T, p as S, m as Q, F, o as w, q as he, t as ye, v as H, x as Ee, u as C, y as be, c as Z, z as Se, r as I } from "./revolugo.index.wc.CiJw1SpW.min.js";
|
2
|
-
import { B as _e, _ as $, V as ee, b as te, c as N, d as x, e as ie, f as ae, g as D, h as ne, i as oe, j as A, k as q, l as se, u as Ae, m as ke, n as Ce, W as we } from "./revolugo.webcomponentwrapper.PTHIHE3G.min.js";
|
3
|
-
import { d as Ve } from "./revolugo.dialog-attach.e4eWyf04.min.js";
|
4
|
-
import { t as Le, w as Oe, s as B } from "./revolugo.index.Qn3FvgFh.min.js";
|
5
|
-
function me(t) {
|
6
|
-
try {
|
7
|
-
if (typeof document < "u") {
|
8
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
9
|
-
sheets: [],
|
10
|
-
components: []
|
11
|
-
};
|
12
|
-
const e = import.meta.url, a = e.slice(0, e.lastIndexOf("/") + 1) + t;
|
13
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
|
14
|
-
for (const i of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
-
i(a);
|
16
|
-
if (t.indexOf("fonts") >= 0) {
|
17
|
-
const i = document.createElement("link");
|
18
|
-
i.rel = "stylesheet", linK.href = a, document.head.appendChild(i);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
} catch (e) {
|
22
|
-
console.error("[revolugo-elements] ", e);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
var L = {}, Y;
|
26
|
-
function Ke() {
|
27
|
-
if (Y) return L;
|
28
|
-
Y = 1, Object.defineProperty(L, "__esModule", { value: !0 }), L.parse = u, L.serialize = P;
|
29
|
-
const t = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, e = /^[\u0021-\u003A\u003C-\u007E]*$/, a = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, c = Object.prototype.toString, g = /* @__PURE__ */ (() => {
|
30
|
-
const s = function() {
|
31
|
-
};
|
32
|
-
return s.prototype = /* @__PURE__ */ Object.create(null), s;
|
33
|
-
})();
|
34
|
-
function u(s, p) {
|
35
|
-
const n = new g(), y = s.length;
|
36
|
-
if (y < 2)
|
37
|
-
return n;
|
38
|
-
const k = p?.decode || m;
|
39
|
-
let l = 0;
|
40
|
-
do {
|
41
|
-
const E = s.indexOf("=", l);
|
42
|
-
if (E === -1)
|
43
|
-
break;
|
44
|
-
const b = s.indexOf(";", l), f = b === -1 ? y : b;
|
45
|
-
if (E > f) {
|
46
|
-
l = s.lastIndexOf(";", E - 1) + 1;
|
47
|
-
continue;
|
48
|
-
}
|
49
|
-
const v = h(s, l, E), ue = d(s, E, v), j = s.slice(v, ue);
|
50
|
-
if (n[j] === void 0) {
|
51
|
-
let z = h(s, E + 1, f), ce = d(s, f, z);
|
52
|
-
const fe = k(s.slice(z, ce));
|
53
|
-
n[j] = fe;
|
54
|
-
}
|
55
|
-
l = f + 1;
|
56
|
-
} while (l < y);
|
57
|
-
return n;
|
58
|
-
}
|
59
|
-
function h(s, p, n) {
|
60
|
-
do {
|
61
|
-
const y = s.charCodeAt(p);
|
62
|
-
if (y !== 32 && y !== 9)
|
63
|
-
return p;
|
64
|
-
} while (++p < n);
|
65
|
-
return n;
|
66
|
-
}
|
67
|
-
function d(s, p, n) {
|
68
|
-
for (; p > n; ) {
|
69
|
-
const y = s.charCodeAt(--p);
|
70
|
-
if (y !== 32 && y !== 9)
|
71
|
-
return p + 1;
|
72
|
-
}
|
73
|
-
return n;
|
74
|
-
}
|
75
|
-
function P(s, p, n) {
|
76
|
-
const y = n?.encode || encodeURIComponent;
|
77
|
-
if (!t.test(s))
|
78
|
-
throw new TypeError(`argument name is invalid: ${s}`);
|
79
|
-
const k = y(p);
|
80
|
-
if (!e.test(k))
|
81
|
-
throw new TypeError(`argument val is invalid: ${p}`);
|
82
|
-
let l = s + "=" + k;
|
83
|
-
if (!n)
|
84
|
-
return l;
|
85
|
-
if (n.maxAge !== void 0) {
|
86
|
-
if (!Number.isInteger(n.maxAge))
|
87
|
-
throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);
|
88
|
-
l += "; Max-Age=" + n.maxAge;
|
89
|
-
}
|
90
|
-
if (n.domain) {
|
91
|
-
if (!a.test(n.domain))
|
92
|
-
throw new TypeError(`option domain is invalid: ${n.domain}`);
|
93
|
-
l += "; Domain=" + n.domain;
|
94
|
-
}
|
95
|
-
if (n.path) {
|
96
|
-
if (!i.test(n.path))
|
97
|
-
throw new TypeError(`option path is invalid: ${n.path}`);
|
98
|
-
l += "; Path=" + n.path;
|
99
|
-
}
|
100
|
-
if (n.expires) {
|
101
|
-
if (!V(n.expires) || !Number.isFinite(n.expires.valueOf()))
|
102
|
-
throw new TypeError(`option expires is invalid: ${n.expires}`);
|
103
|
-
l += "; Expires=" + n.expires.toUTCString();
|
104
|
-
}
|
105
|
-
if (n.httpOnly && (l += "; HttpOnly"), n.secure && (l += "; Secure"), n.partitioned && (l += "; Partitioned"), n.priority)
|
106
|
-
switch (typeof n.priority == "string" ? n.priority.toLowerCase() : void 0) {
|
107
|
-
case "low":
|
108
|
-
l += "; Priority=Low";
|
109
|
-
break;
|
110
|
-
case "medium":
|
111
|
-
l += "; Priority=Medium";
|
112
|
-
break;
|
113
|
-
case "high":
|
114
|
-
l += "; Priority=High";
|
115
|
-
break;
|
116
|
-
default:
|
117
|
-
throw new TypeError(`option priority is invalid: ${n.priority}`);
|
118
|
-
}
|
119
|
-
if (n.sameSite)
|
120
|
-
switch (typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite) {
|
121
|
-
case !0:
|
122
|
-
case "strict":
|
123
|
-
l += "; SameSite=Strict";
|
124
|
-
break;
|
125
|
-
case "lax":
|
126
|
-
l += "; SameSite=Lax";
|
127
|
-
break;
|
128
|
-
case "none":
|
129
|
-
l += "; SameSite=None";
|
130
|
-
break;
|
131
|
-
default:
|
132
|
-
throw new TypeError(`option sameSite is invalid: ${n.sameSite}`);
|
133
|
-
}
|
134
|
-
return l;
|
135
|
-
}
|
136
|
-
function m(s) {
|
137
|
-
if (s.indexOf("%") === -1)
|
138
|
-
return s;
|
139
|
-
try {
|
140
|
-
return decodeURIComponent(s);
|
141
|
-
} catch {
|
142
|
-
return s;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
function V(s) {
|
146
|
-
return c.call(s) === "[object Date]";
|
147
|
-
}
|
148
|
-
return L;
|
149
|
-
}
|
150
|
-
var K = Ke();
|
151
|
-
function Ie() {
|
152
|
-
const t = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
|
153
|
-
return typeof t == "boolean" ? t : typeof document == "object" && typeof document.cookie == "string";
|
154
|
-
}
|
155
|
-
function xe(t) {
|
156
|
-
return typeof t == "string" ? K.parse(t) : typeof t == "object" && t !== null ? t : {};
|
157
|
-
}
|
158
|
-
function U(t, e = {}) {
|
159
|
-
const a = Me(t);
|
160
|
-
if (!e.doNotParse)
|
161
|
-
try {
|
162
|
-
return JSON.parse(a);
|
163
|
-
} catch {
|
164
|
-
}
|
165
|
-
return t;
|
166
|
-
}
|
167
|
-
function Me(t) {
|
168
|
-
return t && t[0] === "j" && t[1] === ":" ? t.substr(2) : t;
|
169
|
-
}
|
170
|
-
class Pe {
|
171
|
-
constructor(e, a = {}) {
|
172
|
-
this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
|
173
|
-
if (!this.HAS_DOCUMENT_COOKIE)
|
174
|
-
return;
|
175
|
-
const c = this.cookies;
|
176
|
-
this.cookies = K.parse(document.cookie), this._checkChanges(c);
|
177
|
-
};
|
178
|
-
const i = typeof document > "u" ? "" : document.cookie;
|
179
|
-
this.cookies = xe(e || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Ie();
|
180
|
-
}
|
181
|
-
_emitChange(e) {
|
182
|
-
for (let a = 0; a < this.changeListeners.length; ++a)
|
183
|
-
this.changeListeners[a](e);
|
184
|
-
}
|
185
|
-
_checkChanges(e) {
|
186
|
-
new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach((i) => {
|
187
|
-
e[i] !== this.cookies[i] && this._emitChange({
|
188
|
-
name: i,
|
189
|
-
value: U(this.cookies[i])
|
190
|
-
});
|
191
|
-
});
|
192
|
-
}
|
193
|
-
_startPolling() {
|
194
|
-
this.pollingInterval = setInterval(this.update, 300);
|
195
|
-
}
|
196
|
-
_stopPolling() {
|
197
|
-
this.pollingInterval && clearInterval(this.pollingInterval);
|
198
|
-
}
|
199
|
-
get(e, a = {}) {
|
200
|
-
return a.doNotUpdate || this.update(), U(this.cookies[e], a);
|
201
|
-
}
|
202
|
-
getAll(e = {}) {
|
203
|
-
e.doNotUpdate || this.update();
|
204
|
-
const a = {};
|
205
|
-
for (let i in this.cookies)
|
206
|
-
a[i] = U(this.cookies[i], e);
|
207
|
-
return a;
|
208
|
-
}
|
209
|
-
set(e, a, i) {
|
210
|
-
i ? i = Object.assign(Object.assign({}, this.defaultSetOptions), i) : i = this.defaultSetOptions;
|
211
|
-
const c = typeof a == "string" ? a : JSON.stringify(a);
|
212
|
-
this.cookies = Object.assign(Object.assign({}, this.cookies), { [e]: c }), this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(e, c, i)), this._emitChange({ name: e, value: a, options: i });
|
213
|
-
}
|
214
|
-
remove(e, a) {
|
215
|
-
const i = a = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), a), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
|
216
|
-
this.cookies = Object.assign({}, this.cookies), delete this.cookies[e], this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(e, "", i)), this._emitChange({ name: e, value: void 0, options: a });
|
217
|
-
}
|
218
|
-
addChangeListener(e) {
|
219
|
-
this.changeListeners.push(e), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 1 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.addEventListener("change", this.update) : this._startPolling());
|
220
|
-
}
|
221
|
-
removeChangeListener(e) {
|
222
|
-
const a = this.changeListeners.indexOf(e);
|
223
|
-
a >= 0 && this.changeListeners.splice(a, 1), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
|
224
|
-
}
|
225
|
-
removeAllChangeListeners() {
|
226
|
-
for (; this.changeListeners.length > 0; )
|
227
|
-
this.removeChangeListener(this.changeListeners[0]);
|
228
|
-
}
|
229
|
-
}
|
230
|
-
// @__NO_SIDE_EFFECTS__
|
231
|
-
function re(t, { doNotParse: e = !1, autoUpdateDependencies: a = !1 } = {}, i = new Pe()) {
|
232
|
-
const c = a ? [...t || []] : t;
|
233
|
-
let g = i.getAll({ doNotParse: !0 });
|
234
|
-
const u = pe(0), h = () => {
|
235
|
-
const d = i.getAll({ doNotParse: !0 });
|
236
|
-
Ue(
|
237
|
-
c || null,
|
238
|
-
d,
|
239
|
-
g
|
240
|
-
) && u.value++, g = d;
|
241
|
-
};
|
242
|
-
return i.addChangeListener(h), Le(() => {
|
243
|
-
i.removeChangeListener(h);
|
244
|
-
}), {
|
245
|
-
/**
|
246
|
-
* Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
|
247
|
-
*/
|
248
|
-
get: (...d) => (a && c && !c.includes(d[0]) && c.push(d[0]), u.value, i.get(d[0], { doNotParse: e, ...d[1] })),
|
249
|
-
/**
|
250
|
-
* Reactive get all cookies
|
251
|
-
*/
|
252
|
-
getAll: (...d) => (u.value, i.getAll({ doNotParse: e, ...d[0] })),
|
253
|
-
set: (...d) => i.set(...d),
|
254
|
-
remove: (...d) => i.remove(...d),
|
255
|
-
addChangeListener: (...d) => i.addChangeListener(...d),
|
256
|
-
removeChangeListener: (...d) => i.removeChangeListener(...d)
|
257
|
-
};
|
258
|
-
}
|
259
|
-
function Ue(t, e, a) {
|
260
|
-
if (!t)
|
261
|
-
return !0;
|
262
|
-
for (const i of t)
|
263
|
-
if (e[i] !== a[i])
|
264
|
-
return !0;
|
265
|
-
return !1;
|
266
|
-
}
|
267
|
-
const le = M({
|
268
|
-
components: {
|
269
|
-
BTag: _e
|
270
|
-
},
|
271
|
-
methods: {
|
272
|
-
closeDialog() {
|
273
|
-
this.dialog = !1, this.apiKey = this.cookies.get("apiKey");
|
274
|
-
},
|
275
|
-
async isValidApiKey() {
|
276
|
-
if (!this.apiKey)
|
277
|
-
return !1;
|
278
|
-
const t = {
|
279
|
-
apiEnvironment: window.RevolugoElements.config.apiEnvironment,
|
280
|
-
apiKey: this.apiKey,
|
281
|
-
apiVersion: ve.V1,
|
282
|
-
optionalHeaders: window.RevolugoElements.config.optionalHeaders
|
283
|
-
}, e = new ge(t);
|
284
|
-
try {
|
285
|
-
return !!await e.hotels.retrieve({
|
286
|
-
id: "2yvb"
|
287
|
-
});
|
288
|
-
} catch (a) {
|
289
|
-
return console.error(a), !1;
|
290
|
-
}
|
291
|
-
},
|
292
|
-
async onSubmit() {
|
293
|
-
this.validate(), await this.updateApiKey(), this.apiKey && this.closeDialog();
|
294
|
-
},
|
295
|
-
async updateApiKey() {
|
296
|
-
try {
|
297
|
-
if (this.isLoading = !0, await this.isValidApiKey())
|
298
|
-
this.config.apiKey !== this.apiKey && this.updateConfig({
|
299
|
-
...this.config,
|
300
|
-
apiKey: this.apiKey
|
301
|
-
}), this.cookies.set("apiKey", this.apiKey, {
|
302
|
-
expires: new Date(Date.now() + 1e3 * 60 * 60 * 24 * 365)
|
303
|
-
});
|
304
|
-
else
|
305
|
-
throw new Error("Invalid API Key");
|
306
|
-
} catch {
|
307
|
-
console.error("Invalid API Key");
|
308
|
-
} finally {
|
309
|
-
this.isLoading = !1;
|
310
|
-
}
|
311
|
-
},
|
312
|
-
validate() {
|
313
|
-
this.$refs.apiKeyEditorForm.validate();
|
314
|
-
}
|
315
|
-
},
|
316
|
-
mixins: [
|
317
|
-
Oe(["config.apiEnvironment"], "updateApiKey", {
|
318
|
-
deep: !0,
|
319
|
-
immediate: !0
|
320
|
-
}),
|
321
|
-
Ve
|
322
|
-
],
|
323
|
-
name: "ApiKeyEditor",
|
324
|
-
setup() {
|
325
|
-
const t = /* @__PURE__ */ re(["apiKey"]), { t: e } = J(), a = _(t.get("apiKey")), i = R(
|
326
|
-
() => window.RevolugoElements.config.apiEnvironment
|
327
|
-
), c = R(() => [
|
328
|
-
(d) => !!d || `A valid API Key is required. ${e("ApiKeyEditor.hint", {
|
329
|
-
environment: i.value
|
330
|
-
})}`
|
331
|
-
]), g = _(!1), u = _(!1), h = _(!1);
|
332
|
-
return {
|
333
|
-
apiKey: a,
|
334
|
-
apiKeyRules: c,
|
335
|
-
cookies: t,
|
336
|
-
dialog: g,
|
337
|
-
isFormValid: u,
|
338
|
-
isLoading: h,
|
339
|
-
t: e
|
340
|
-
};
|
341
|
-
}
|
342
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
|
343
|
-
});
|
344
|
-
function W(t) {
|
345
|
-
const e = t;
|
346
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
347
|
-
locale: "",
|
348
|
-
resource: {
|
349
|
-
"en-US": {
|
350
|
-
ApiKeyEditor: {
|
351
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Please, put your Publishable API Key for " }, { t: 4, k: "environment" }, { t: 3, v: " environment" }] } },
|
352
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provided API Key credential is not valid" } }
|
353
|
-
}
|
354
|
-
},
|
355
|
-
"fr-FR": {
|
356
|
-
ApiKeyEditor: {
|
357
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Indiquez votre clé API Publishable pour l'environnement " }, { t: 4, k: "environment" }] } },
|
358
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clé API renseignée est invalide." } }
|
359
|
-
}
|
360
|
-
},
|
361
|
-
"de-DE": {
|
362
|
-
ApiKeyEditor: {
|
363
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Bitte gib deinen Veröffentlichen API-Schlüssel für die " }, { t: 4, k: "environment" }, { t: 3, v: " Umgebung an" }] } },
|
364
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der angegebene API-Schlüssel ist ungültig" } }
|
365
|
-
}
|
366
|
-
},
|
367
|
-
"es-ES": {
|
368
|
-
ApiKeyEditor: {
|
369
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Por favor, introduzca su clave API pública para el entorno " }, { t: 4, k: "environment" }] } },
|
370
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clave API proporcionada no es válida" } }
|
371
|
-
}
|
372
|
-
},
|
373
|
-
"it-IT": {
|
374
|
-
ApiKeyEditor: {
|
375
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Inserisci la tua chiave API pubblica per l'ambiente " }, { t: 4, k: "environment" }] } },
|
376
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La chiave API fornita non è valida" } }
|
377
|
-
}
|
378
|
-
},
|
379
|
-
"nl-NL": {
|
380
|
-
ApiKeyEditor: {
|
381
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Vul hier uw Publishable API Key in voor de " }, { t: 4, k: "environment" }, { t: 3, v: " omgeving" }] } },
|
382
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De opgegeven API Key is ongeldig" } }
|
383
|
-
}
|
384
|
-
},
|
385
|
-
"pt-PT": {
|
386
|
-
ApiKeyEditor: {
|
387
|
-
hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Por favor, coloque a sua chave API Publicável para o ambiente " }, { t: 4, k: "environment" }] } },
|
388
|
-
invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A credencial da chave API fornecida não é válida" } }
|
389
|
-
}
|
390
|
-
}
|
391
|
-
}
|
392
|
-
});
|
393
|
-
}
|
394
|
-
function Re(t, e, a, i, c, g) {
|
395
|
-
return w(), O("div", null, [
|
396
|
-
o(se, {
|
397
|
-
modelValue: t.dialog,
|
398
|
-
"onUpdate:modelValue": e[2] || (e[2] = (u) => t.dialog = u),
|
399
|
-
attach: t.$dialogAttach || void 0,
|
400
|
-
"max-width": "600px"
|
401
|
-
}, {
|
402
|
-
activator: r(({ props: u }) => [
|
403
|
-
o(A, Q(u, {
|
404
|
-
color: t.cookies.get("apiKey") ? "success" : "warning",
|
405
|
-
elevation: "0",
|
406
|
-
size: "x-small"
|
407
|
-
}), {
|
408
|
-
default: r(() => [
|
409
|
-
t.cookies.get("apiKey") ? (w(), O(F, { key: 1 }, [
|
410
|
-
o(q, { class: "mr-2" }, {
|
411
|
-
default: r(() => e[5] || (e[5] = [
|
412
|
-
S(" fas fa-check ", -1)
|
413
|
-
])),
|
414
|
-
_: 1,
|
415
|
-
__: [5]
|
416
|
-
}),
|
417
|
-
e[6] || (e[6] = S(" Valid API key ", -1))
|
418
|
-
], 64)) : (w(), O(F, { key: 0 }, [
|
419
|
-
o(q, { class: "mr-2" }, {
|
420
|
-
default: r(() => e[3] || (e[3] = [
|
421
|
-
S(" fas fa-exclamation ", -1)
|
422
|
-
])),
|
423
|
-
_: 1,
|
424
|
-
__: [3]
|
425
|
-
}),
|
426
|
-
e[4] || (e[4] = S(" No API key provided ", -1))
|
427
|
-
], 64))
|
428
|
-
]),
|
429
|
-
_: 2
|
430
|
-
}, 1040, ["color"])
|
431
|
-
]),
|
432
|
-
default: r(() => [
|
433
|
-
o(ee, null, {
|
434
|
-
default: r(() => [
|
435
|
-
o(te, { class: "pa-4" }, {
|
436
|
-
default: r(() => [
|
437
|
-
o(N, { class: "pa-0" }, {
|
438
|
-
default: r(() => [
|
439
|
-
o(x, { "no-gutters": "" }, {
|
440
|
-
default: r(() => [
|
441
|
-
o(ie, null, {
|
442
|
-
default: r(() => [
|
443
|
-
o(ae, {
|
444
|
-
ref: "apiKeyEditorForm",
|
445
|
-
modelValue: t.isFormValid,
|
446
|
-
"onUpdate:modelValue": e[1] || (e[1] = (u) => t.isFormValid = u),
|
447
|
-
class: "m-0",
|
448
|
-
onSubmit: X(t.onSubmit, ["prevent"])
|
449
|
-
}, {
|
450
|
-
default: r(() => [
|
451
|
-
o(D, {
|
452
|
-
modelValue: t.apiKey,
|
453
|
-
"onUpdate:modelValue": e[0] || (e[0] = (u) => t.apiKey = u),
|
454
|
-
density: "compact",
|
455
|
-
hint: t.t("ApiKeyEditor.hint", {
|
456
|
-
environment: t.config.apiEnvironment
|
457
|
-
}),
|
458
|
-
label: "API Key",
|
459
|
-
variant: "outlined",
|
460
|
-
"persistent-hint": "",
|
461
|
-
required: "",
|
462
|
-
rules: t.apiKeyRules,
|
463
|
-
onKeyup: T(t.onSubmit, ["enter"])
|
464
|
-
}, null, 8, ["modelValue", "hint", "rules", "onKeyup"])
|
465
|
-
]),
|
466
|
-
_: 1
|
467
|
-
}, 8, ["modelValue", "onSubmit"])
|
468
|
-
]),
|
469
|
-
_: 1
|
470
|
-
})
|
471
|
-
]),
|
472
|
-
_: 1
|
473
|
-
})
|
474
|
-
]),
|
475
|
-
_: 1
|
476
|
-
})
|
477
|
-
]),
|
478
|
-
_: 1
|
479
|
-
}),
|
480
|
-
o(ne, null, {
|
481
|
-
default: r(() => [
|
482
|
-
o(oe),
|
483
|
-
o(A, {
|
484
|
-
color: "blue-darken-1",
|
485
|
-
size: "small",
|
486
|
-
variant: "text",
|
487
|
-
onClick: t.closeDialog
|
488
|
-
}, {
|
489
|
-
default: r(() => e[7] || (e[7] = [
|
490
|
-
S(" Close ", -1)
|
491
|
-
])),
|
492
|
-
_: 1,
|
493
|
-
__: [7]
|
494
|
-
}, 8, ["onClick"]),
|
495
|
-
o(A, {
|
496
|
-
class: "text-right",
|
497
|
-
color: "primary",
|
498
|
-
disabled: t.isLoading,
|
499
|
-
elevation: "0",
|
500
|
-
loading: t.isLoading,
|
501
|
-
size: "small",
|
502
|
-
onClick: t.onSubmit
|
503
|
-
}, {
|
504
|
-
default: r(() => e[8] || (e[8] = [
|
505
|
-
S(" Save ", -1)
|
506
|
-
])),
|
507
|
-
_: 1,
|
508
|
-
__: [8]
|
509
|
-
}, 8, ["disabled", "loading", "onClick"])
|
510
|
-
]),
|
511
|
-
_: 1
|
512
|
-
})
|
513
|
-
]),
|
514
|
-
_: 1
|
515
|
-
})
|
516
|
-
]),
|
517
|
-
_: 1
|
518
|
-
}, 8, ["modelValue", "attach"])
|
519
|
-
]);
|
520
|
-
}
|
521
|
-
typeof W == "function" && W(le);
|
522
|
-
const Te = /* @__PURE__ */ $(le, [["render", Re]]), de = /* @__PURE__ */ M({
|
523
|
-
__name: "EventMetadataEditor",
|
524
|
-
setup(t) {
|
525
|
-
const { config: e, updateConfig: a } = he(), i = /* @__PURE__ */ re(["eventMetadata"]), { isFetching: c } = ye(Ae()), { t: g } = J(), u = _(null), { $dialogAttach: h } = ke(u), d = [
|
526
|
-
(b) => {
|
527
|
-
if (!b)
|
528
|
-
return !0;
|
529
|
-
try {
|
530
|
-
return (
|
531
|
-
// eslint-disable-next-line no-constant-binary-expression
|
532
|
-
!!new URL(b) || g("EventMetadataEditor.validation.imageURL")
|
533
|
-
);
|
534
|
-
} catch {
|
535
|
-
return g("EventMetadataEditor.validation.imageURL");
|
536
|
-
}
|
537
|
-
}
|
538
|
-
], P = [
|
539
|
-
(b) => !!b || g("EventMetadataEditor.validation.name")
|
540
|
-
], m = _(
|
541
|
-
i.get("eventMetadata") || {
|
542
|
-
dateEnd: H().add(1, "day").format("YYYY-MM-DD").toString(),
|
543
|
-
dateStart: H().format("YYYY-MM-DD").toString(),
|
544
|
-
name: ""
|
545
|
-
}
|
546
|
-
), V = _(!1), s = _(!1), p = R({
|
547
|
-
get() {
|
548
|
-
return !m.value.dateStart || !m.value.dateEnd ? [] : B(
|
549
|
-
m.value.dateStart,
|
550
|
-
m.value.dateEnd
|
551
|
-
);
|
552
|
-
},
|
553
|
-
set(b) {
|
554
|
-
[m.value.dateStart, m.value.dateEnd] = B(...b);
|
555
|
-
}
|
556
|
-
});
|
557
|
-
function n() {
|
558
|
-
V.value = !1;
|
559
|
-
}
|
560
|
-
function y() {
|
561
|
-
return !(!m.value.name?.length || !p.value[0] || !p.value[1]);
|
562
|
-
}
|
563
|
-
function k() {
|
564
|
-
y() && (a({
|
565
|
-
...e.value,
|
566
|
-
eventMetadata: m.value
|
567
|
-
}), i.set("eventMetadata", JSON.stringify(m)), n());
|
568
|
-
}
|
569
|
-
function l() {
|
570
|
-
k(), n();
|
571
|
-
}
|
572
|
-
function E() {
|
573
|
-
i.remove("eventMetadata"), m.value = {}, a({
|
574
|
-
...e.value,
|
575
|
-
eventMetadata: {}
|
576
|
-
}), n();
|
577
|
-
}
|
578
|
-
return Ee(() => {
|
579
|
-
i.get("eventMetadata") && a({
|
580
|
-
...e.value,
|
581
|
-
eventMetadata: i.get("eventMetadata")
|
582
|
-
});
|
583
|
-
}), (b, f) => (w(), O("div", {
|
584
|
-
ref_key: "root",
|
585
|
-
ref: u
|
586
|
-
}, [
|
587
|
-
o(se, {
|
588
|
-
modelValue: V.value,
|
589
|
-
"onUpdate:modelValue": f[4] || (f[4] = (v) => V.value = v),
|
590
|
-
attach: C(h),
|
591
|
-
height: "600px",
|
592
|
-
"max-width": "600px"
|
593
|
-
}, {
|
594
|
-
activator: r(({ props: v }) => [
|
595
|
-
o(A, Q(v, {
|
596
|
-
color: C(i).get("eventMetadata") ? "success" : "warning",
|
597
|
-
elevation: "0",
|
598
|
-
size: "x-small"
|
599
|
-
}), {
|
600
|
-
default: r(() => [
|
601
|
-
S(be(m.value?.name ? `EVENT : ${m.value?.name}` : "ADD EVENT METADATA"), 1)
|
602
|
-
]),
|
603
|
-
_: 2
|
604
|
-
}, 1040, ["color"])
|
605
|
-
]),
|
606
|
-
default: r(() => [
|
607
|
-
o(ee, null, {
|
608
|
-
default: r(() => [
|
609
|
-
o(te, { class: "pa-4" }, {
|
610
|
-
default: r(() => [
|
611
|
-
o(N, { class: "pa-0" }, {
|
612
|
-
default: r(() => [
|
613
|
-
o(x, { "no-gutters": "" }, {
|
614
|
-
default: r(() => [
|
615
|
-
o(ie, null, {
|
616
|
-
default: r(() => [
|
617
|
-
o(ae, {
|
618
|
-
ref: "eventMetadataEditorForm",
|
619
|
-
modelValue: s.value,
|
620
|
-
"onUpdate:modelValue": f[3] || (f[3] = (v) => s.value = v),
|
621
|
-
class: "m-0",
|
622
|
-
onSubmit: X(l, ["prevent"])
|
623
|
-
}, {
|
624
|
-
default: r(() => [
|
625
|
-
o(D, {
|
626
|
-
modelValue: m.value.name,
|
627
|
-
"onUpdate:modelValue": f[0] || (f[0] = (v) => m.value.name = v),
|
628
|
-
density: "compact",
|
629
|
-
label: "Name of the event",
|
630
|
-
variant: "outlined",
|
631
|
-
"persistent-hint": "",
|
632
|
-
required: "",
|
633
|
-
rules: P,
|
634
|
-
onKeyup: T(l, ["enter"])
|
635
|
-
}, null, 8, ["modelValue"]),
|
636
|
-
o(D, {
|
637
|
-
modelValue: m.value.imageUrl,
|
638
|
-
"onUpdate:modelValue": f[1] || (f[1] = (v) => m.value.imageUrl = v),
|
639
|
-
density: "compact",
|
640
|
-
label: "Image URL",
|
641
|
-
variant: "outlined",
|
642
|
-
"persistent-hint": "",
|
643
|
-
rules: d,
|
644
|
-
onKeyup: T(l, ["enter"])
|
645
|
-
}, null, 8, ["modelValue"]),
|
646
|
-
o(x, null, {
|
647
|
-
default: r(() => [
|
648
|
-
o(Ce, {
|
649
|
-
modelValue: p.value,
|
650
|
-
"onUpdate:modelValue": f[2] || (f[2] = (v) => p.value = v)
|
651
|
-
}, null, 8, ["modelValue"])
|
652
|
-
]),
|
653
|
-
_: 1
|
654
|
-
})
|
655
|
-
]),
|
656
|
-
_: 1
|
657
|
-
}, 8, ["modelValue"])
|
658
|
-
]),
|
659
|
-
_: 1
|
660
|
-
})
|
661
|
-
]),
|
662
|
-
_: 1
|
663
|
-
})
|
664
|
-
]),
|
665
|
-
_: 1
|
666
|
-
})
|
667
|
-
]),
|
668
|
-
_: 1
|
669
|
-
}),
|
670
|
-
o(ne, null, {
|
671
|
-
default: r(() => [
|
672
|
-
o(oe),
|
673
|
-
o(A, {
|
674
|
-
color: "grey",
|
675
|
-
size: "small",
|
676
|
-
variant: "text",
|
677
|
-
onClick: n
|
678
|
-
}, {
|
679
|
-
default: r(() => f[5] || (f[5] = [
|
680
|
-
S(" Close ", -1)
|
681
|
-
])),
|
682
|
-
_: 1,
|
683
|
-
__: [5]
|
684
|
-
}),
|
685
|
-
o(A, {
|
686
|
-
color: "error",
|
687
|
-
disabled: C(c),
|
688
|
-
loading: C(c),
|
689
|
-
size: "small",
|
690
|
-
variant: "text",
|
691
|
-
onClick: E
|
692
|
-
}, {
|
693
|
-
default: r(() => f[6] || (f[6] = [
|
694
|
-
S(" Reset ", -1)
|
695
|
-
])),
|
696
|
-
_: 1,
|
697
|
-
__: [6]
|
698
|
-
}, 8, ["disabled", "loading"]),
|
699
|
-
o(A, {
|
700
|
-
color: "success",
|
701
|
-
disabled: C(c),
|
702
|
-
loading: C(c),
|
703
|
-
size: "small",
|
704
|
-
variant: "flat",
|
705
|
-
onClick: l
|
706
|
-
}, {
|
707
|
-
default: r(() => f[7] || (f[7] = [
|
708
|
-
S(" Save ", -1)
|
709
|
-
])),
|
710
|
-
_: 1,
|
711
|
-
__: [7]
|
712
|
-
}, 8, ["disabled", "loading"])
|
713
|
-
]),
|
714
|
-
_: 1
|
715
|
-
})
|
716
|
-
]),
|
717
|
-
_: 1
|
718
|
-
})
|
719
|
-
]),
|
720
|
-
_: 1
|
721
|
-
}, 8, ["modelValue", "attach"])
|
722
|
-
], 512));
|
723
|
-
}
|
724
|
-
});
|
725
|
-
function G(t) {
|
726
|
-
const e = t;
|
727
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
728
|
-
locale: "",
|
729
|
-
resource: {
|
730
|
-
"en-US": {
|
731
|
-
EventMetadataEditor: {
|
732
|
-
validation: {
|
733
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a valid URL" } },
|
734
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a name" } }
|
735
|
-
}
|
736
|
-
}
|
737
|
-
},
|
738
|
-
"fr-FR": {
|
739
|
-
EventMetadataEditor: {
|
740
|
-
validation: {
|
741
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez fournir une URL valide d'image" } },
|
742
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez entrer le nom de l'événement" } }
|
743
|
-
}
|
744
|
-
}
|
745
|
-
},
|
746
|
-
"de-DE": {
|
747
|
-
EventMetadataEditor: {
|
748
|
-
validation: {
|
749
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie eine gültige URL an" } },
|
750
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie einen Namen an" } }
|
751
|
-
}
|
752
|
-
}
|
753
|
-
},
|
754
|
-
"es-ES": {
|
755
|
-
EventMetadataEditor: {
|
756
|
-
validation: {
|
757
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce una URL válida" } },
|
758
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce un nombre" } }
|
759
|
-
}
|
760
|
-
}
|
761
|
-
},
|
762
|
-
"it-IT": {
|
763
|
-
EventMetadataEditor: {
|
764
|
-
validation: {
|
765
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un URL valido" } },
|
766
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un nome" } }
|
767
|
-
}
|
768
|
-
}
|
769
|
-
},
|
770
|
-
"nl-NL": {
|
771
|
-
EventMetadataEditor: {
|
772
|
-
validation: {
|
773
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een geldige URL op" } },
|
774
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een naam op" } }
|
775
|
-
}
|
776
|
-
}
|
777
|
-
},
|
778
|
-
"pt-PT": {
|
779
|
-
EventMetadataEditor: {
|
780
|
-
validation: {
|
781
|
-
imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um URL válido" } },
|
782
|
-
name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um nome" } }
|
783
|
-
}
|
784
|
-
}
|
785
|
-
}
|
786
|
-
}
|
787
|
-
});
|
788
|
-
}
|
789
|
-
typeof G == "function" && G(de);
|
790
|
-
const De = M({
|
791
|
-
components: {
|
792
|
-
ApiKeyEditor: Te,
|
793
|
-
EventMetadataEditor: de
|
794
|
-
},
|
795
|
-
name: "StorybookExtraToolbar"
|
796
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
|
797
|
-
}), $e = { class: "flex gap-1 px-3" };
|
798
|
-
function Ne(t, e, a, i, c, g) {
|
799
|
-
const u = I("ApiKeyEditor"), h = I("EventMetadataEditor");
|
800
|
-
return w(), Z(N, {
|
801
|
-
class: "pa-0 mb-3",
|
802
|
-
fluid: ""
|
803
|
-
}, {
|
804
|
-
default: r(() => [
|
805
|
-
o(x, { "no-gutters": "" }, {
|
806
|
-
default: r(() => [
|
807
|
-
Se("div", $e, [
|
808
|
-
o(u),
|
809
|
-
o(h)
|
810
|
-
])
|
811
|
-
]),
|
812
|
-
_: 1
|
813
|
-
})
|
814
|
-
]),
|
815
|
-
_: 1
|
816
|
-
});
|
817
|
-
}
|
818
|
-
const je = /* @__PURE__ */ $(De, [["render", Ne]]), ze = M({
|
819
|
-
components: {
|
820
|
-
StorybookExtraToolbar: je,
|
821
|
-
WebComponentWrapper: we
|
822
|
-
}
|
823
|
-
});
|
824
|
-
function Fe(t, e, a, i, c, g) {
|
825
|
-
const u = I("StorybookExtraToolbar"), h = I("WebComponentWrapper");
|
826
|
-
return w(), Z(h, { "error-overlay-disabled": "" }, {
|
827
|
-
default: r(() => [
|
828
|
-
o(u)
|
829
|
-
]),
|
830
|
-
_: 1
|
831
|
-
});
|
832
|
-
}
|
833
|
-
const We = /* @__PURE__ */ $(ze, [["render", Fe]]);
|
834
|
-
me("css/revolugo.storybooktoolbar.d_cxquq9.css");
|
835
|
-
export {
|
836
|
-
We as default
|
837
|
-
};
|
838
|
-
//# sourceMappingURL=revolugo.storybooktoolbar.DZrgGX1X.min.js.map
|