@konnectio/core 4.0.56-rc22 → 4.0.56-rc23
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/{ActionField-ZJdtBRXa.js → ActionField-BUeonTqc.js} +1 -1
- package/dist/ActionField-BUeonTqc.js.br +9 -0
- package/dist/AvailabilitySkeleton-gympaD6B.js +217 -0
- package/dist/AvailabilitySkeleton-gympaD6B.js.br +0 -0
- package/dist/CheckoutWindow-sws5X9v2.js +710 -0
- package/dist/CheckoutWindow-sws5X9v2.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js → DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js} +2003 -1999
- package/dist/DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js.br +0 -0
- package/dist/{ErrorMessage-mUpn7ZBU.js → ErrorMessage-GzJ2T5_d.js} +1 -1
- package/dist/ErrorMessage-GzJ2T5_d.js.br +0 -0
- package/dist/{EventAvailabilityForm-cAOEZVnn.js → EventAvailabilityForm-c0u7rObv.js} +26 -25
- package/dist/EventAvailabilityForm-c0u7rObv.js.br +0 -0
- package/dist/{Field-Kwm-GcDa.js → Field-hjOjPQhC.js} +1 -1
- package/dist/Field-hjOjPQhC.js.br +0 -0
- package/dist/{ThankYou-EiAxaHd8.js → ThankYou-d129mmKn.js} +3077 -3563
- package/dist/ThankYou-d129mmKn.js.br +0 -0
- package/dist/{_-KavQ60qi.js → _-hKpeUU4C.js} +115 -98
- package/dist/_-hKpeUU4C.js.br +0 -0
- package/dist/availability.js +9 -9
- package/dist/availability.js.br +0 -0
- package/dist/event.js +61 -61
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +20 -20
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +305 -291
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +79 -79
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +2 -2
- package/dist/ActionField-ZJdtBRXa.js.br +0 -4
- package/dist/AvailabilitySkeleton-tfEBupNq.js +0 -234
- package/dist/AvailabilitySkeleton-tfEBupNq.js.br +0 -0
- package/dist/CheckoutWindow-orJD6dJy.js +0 -205
- package/dist/CheckoutWindow-orJD6dJy.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js.br +0 -0
- package/dist/ErrorMessage-mUpn7ZBU.js.br +0 -0
- package/dist/EventAvailabilityForm-cAOEZVnn.js.br +0 -0
- package/dist/Field-Kwm-GcDa.js.br +0 -0
- package/dist/ThankYou-EiAxaHd8.js.br +0 -0
- package/dist/_-KavQ60qi.js.br +0 -0
package/dist/style.css.br
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.0.56-
|
|
3
|
+
"version": "4.0.56-rc23",
|
|
4
4
|
"author": "Konnectio <info@freshcase.dk> (https://konnectio.dk)",
|
|
5
5
|
"homepage": "https://konnectio.dk",
|
|
6
6
|
"description": "Konnectio Core Frontend Integration.",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@fortawesome/vue-fontawesome": "3.0.6",
|
|
47
47
|
"@intlify/unplugin-vue-i18n": "2.0.0",
|
|
48
48
|
"@unhead/vue": "1.8.10",
|
|
49
|
-
"@vuepic/vue-datepicker": "8.1.
|
|
49
|
+
"@vuepic/vue-datepicker": "8.1.1",
|
|
50
50
|
"@vueup/vue-quill": "1.2.0",
|
|
51
51
|
"@vueuse/core": "10.7.2",
|
|
52
52
|
"axios": "1.6.7",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
� ���7钢8��9���k�%��E�ƍ�����v>���J\x�o�����%P.� �����fs��ݫp,�ՙj]õ}�
|
|
2
|
-
��m��Q,�"*��?.�L�P�"��Pr"j�Lb,+QJ}�S\Ȯ���\�{qӐ��2=�ߒe��W�u�����\%�tl�
|
|
3
|
-
5�0:UU��H���H�V�l�p�F��{�y��ۡR�N"lH.%�<�T[RCVS�OZ)�_F��F�nQ�"G�4T��K��7�|բ��J�&^�?AjQ��J�(�Wq��+�U��'��9>mQ�y���m��
|
|
4
|
-
�w��5�nk��^��~���a�#"&[u���jmZ���SU���V�@����B JQu��pfmoXPg\�>c���p�����/���PV���ޅese4!+�X��A��[,)W8�&6�q�������M&1<ހ�Lm�u�LM��������|��LK5�j��J��u��=�=�Z'�D&W����Ę
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { d as N, j as W, a6 as X, B as S, a7 as C, a8 as F, D as Y, k as Z, c as f, G as R, l as ee, o as i, h as r, b as V, u as e, f as n, H as w, _ as ae, i as y, F as H, a as _, T as E, e as I, C as O, n as L, m as le, a2 as te, g as T, E as M } from "./_-KavQ60qi.js";
|
|
2
|
-
import { _ as ie } from "./DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js";
|
|
3
|
-
import { F as g } from "./Field-Kwm-GcDa.js";
|
|
4
|
-
function ye(o) {
|
|
5
|
-
return { all: o = o || /* @__PURE__ */ new Map(), on: function(a, s) {
|
|
6
|
-
var l = o.get(a);
|
|
7
|
-
l ? l.push(s) : o.set(a, [s]);
|
|
8
|
-
}, off: function(a, s) {
|
|
9
|
-
var l = o.get(a);
|
|
10
|
-
l && (s ? l.splice(l.indexOf(s) >>> 0, 1) : o.set(a, []));
|
|
11
|
-
}, emit: function(a, s) {
|
|
12
|
-
var l = o.get(a);
|
|
13
|
-
l && l.slice().map(function(c) {
|
|
14
|
-
c(s);
|
|
15
|
-
}), (l = o.get("*")) && l.slice().map(function(c) {
|
|
16
|
-
c(a, s);
|
|
17
|
-
});
|
|
18
|
-
} };
|
|
19
|
-
}
|
|
20
|
-
const ne = {
|
|
21
|
-
key: 0,
|
|
22
|
-
class: "konnectio-availability-location"
|
|
23
|
-
}, oe = { id: "fresh-booking-availability-date-selection" }, se = {
|
|
24
|
-
key: 1,
|
|
25
|
-
id: "fresh-booking-availability-guest-selection"
|
|
26
|
-
}, ce = { id: "fresh-booking-availability-confirmation" }, ue = /* @__PURE__ */ N({
|
|
27
|
-
__name: "HotelAvailabilityForm",
|
|
28
|
-
props: {
|
|
29
|
-
booking: { type: Boolean, default: !1 },
|
|
30
|
-
link: {}
|
|
31
|
-
},
|
|
32
|
-
setup(o) {
|
|
33
|
-
const { t: a } = W(), s = X("emitter"), l = o, {
|
|
34
|
-
adults: c,
|
|
35
|
-
children: m,
|
|
36
|
-
arrivalDate: v,
|
|
37
|
-
departureDate: k,
|
|
38
|
-
location: A,
|
|
39
|
-
isExpired: j
|
|
40
|
-
} = S(C()), { reset: z } = C(), { fetchAvailabilityData: q } = F(), { areListingsLoading: U, hotelList: G, hasHotelList: D } = S(F()), {
|
|
41
|
-
firstSelectableDateOffset: $,
|
|
42
|
-
lastSelectableDateOffset: B,
|
|
43
|
-
disableChildSelection: p,
|
|
44
|
-
disableAdultSelection: b
|
|
45
|
-
} = S(Y()), h = Z([]), J = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + ($.value - 1))));
|
|
46
|
-
f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + B.value))), f(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + $.value)));
|
|
47
|
-
const K = f(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (B.value + 1)))), x = f(() => !(!b && c.value === 0)), P = f(() => typeof l.link != "string");
|
|
48
|
-
function Q() {
|
|
49
|
-
if (l.booking === !1)
|
|
50
|
-
if (P.value) {
|
|
51
|
-
const u = te();
|
|
52
|
-
l.link[u] ? window.location.replace(l.link[u]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
|
|
53
|
-
} else
|
|
54
|
-
window.location.replace(l.link);
|
|
55
|
-
else
|
|
56
|
-
x.value && q();
|
|
57
|
-
}
|
|
58
|
-
return R(v, (u) => {
|
|
59
|
-
const t = new Date(new Date(u).setDate(new Date(u).getDate() + 1));
|
|
60
|
-
new Date(k.value) < t && (k.value = t);
|
|
61
|
-
}), s.on("forcedDateChange", () => {
|
|
62
|
-
h.value = [v.value, k.value];
|
|
63
|
-
}), R(h, (u) => {
|
|
64
|
-
v.value = u[0], k.value = u[1];
|
|
65
|
-
}), ee(() => {
|
|
66
|
-
j.value && z(), h.value = [v.value, k.value];
|
|
67
|
-
}), (u, t) => (i(), r("form", {
|
|
68
|
-
id: "konnectio-availability-form",
|
|
69
|
-
class: L({ reservation: u.booking }),
|
|
70
|
-
type: "availability",
|
|
71
|
-
onSubmit: le(Q, ["prevent"])
|
|
72
|
-
}, [
|
|
73
|
-
V("ul", {
|
|
74
|
-
id: "konnectio-availability-form-content",
|
|
75
|
-
class: L([
|
|
76
|
-
{ "is-booking-page": u.booking },
|
|
77
|
-
{ "only-adult-guests": !e(b) && e(p) },
|
|
78
|
-
{ "only-child-guests": !e(p) && e(b) },
|
|
79
|
-
{ "no-guests": e(b) && e(p) },
|
|
80
|
-
{ "all-guests": !e(b) && !e(p) },
|
|
81
|
-
{ "has-location": e(D) }
|
|
82
|
-
])
|
|
83
|
-
}, [
|
|
84
|
-
e(D) ? (i(), r("li", ne, [
|
|
85
|
-
n(ae, {
|
|
86
|
-
modelValue: e(A),
|
|
87
|
-
"onUpdate:modelValue": t[0] || (t[0] = (d) => w(A) ? A.value = d : null),
|
|
88
|
-
label: e(a)("general.location"),
|
|
89
|
-
icon: "location-dot",
|
|
90
|
-
"icon-type": "fas",
|
|
91
|
-
"icon-placement": "label",
|
|
92
|
-
options: e(G),
|
|
93
|
-
searchable: !1
|
|
94
|
-
}, null, 8, ["modelValue", "label", "options"])
|
|
95
|
-
])) : y("", !0),
|
|
96
|
-
V("li", oe, [
|
|
97
|
-
n(ie, {
|
|
98
|
-
modelValue: h.value,
|
|
99
|
-
"onUpdate:modelValue": t[1] || (t[1] = (d) => h.value = d),
|
|
100
|
-
label: e(a)("availability.checkInOut"),
|
|
101
|
-
"icon-type": "fas",
|
|
102
|
-
"icon-placement": "label",
|
|
103
|
-
"min-range": 1,
|
|
104
|
-
"min-date": J.value,
|
|
105
|
-
"max-date": K.value,
|
|
106
|
-
range: ""
|
|
107
|
-
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
108
|
-
y("", !0)
|
|
109
|
-
]),
|
|
110
|
-
!e(b) || !e(p) ? (i(), r("li", se, [
|
|
111
|
-
e(b) ? y("", !0) : (i(), r(H, { key: 0 }, [
|
|
112
|
-
e(D) ? (i(), _(E, {
|
|
113
|
-
key: 0,
|
|
114
|
-
modelValue: e(c),
|
|
115
|
-
"onUpdate:modelValue": t[4] || (t[4] = (d) => w(c) ? c.value = d : null),
|
|
116
|
-
label: e(a)("availability.adults"),
|
|
117
|
-
description: e(a)("general.adultAgeRange"),
|
|
118
|
-
"icon-type": "fas",
|
|
119
|
-
"icon-placement": "label",
|
|
120
|
-
name: "adults",
|
|
121
|
-
icon: "male"
|
|
122
|
-
}, null, 8, ["modelValue", "label", "description"])) : (i(), _(I, {
|
|
123
|
-
key: 1,
|
|
124
|
-
modelValue: e(c),
|
|
125
|
-
"onUpdate:modelValue": t[5] || (t[5] = (d) => w(c) ? c.value = d : null),
|
|
126
|
-
label: e(a)("availability.adults"),
|
|
127
|
-
description: e(a)("general.adultAgeRange"),
|
|
128
|
-
"icon-type": "fas",
|
|
129
|
-
"icon-placement": "label",
|
|
130
|
-
name: "adults",
|
|
131
|
-
icon: "male"
|
|
132
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
133
|
-
], 64)),
|
|
134
|
-
e(p) ? y("", !0) : (i(), r(H, { key: 1 }, [
|
|
135
|
-
e(D) ? (i(), _(E, {
|
|
136
|
-
key: 0,
|
|
137
|
-
modelValue: e(m),
|
|
138
|
-
"onUpdate:modelValue": t[6] || (t[6] = (d) => w(m) ? m.value = d : null),
|
|
139
|
-
label: e(a)("availability.children"),
|
|
140
|
-
description: e(a)("general.childAgeRange"),
|
|
141
|
-
"icon-type": "fas",
|
|
142
|
-
"icon-placement": "label",
|
|
143
|
-
name: "children",
|
|
144
|
-
icon: "child"
|
|
145
|
-
}, null, 8, ["modelValue", "label", "description"])) : (i(), _(I, {
|
|
146
|
-
key: 1,
|
|
147
|
-
modelValue: e(m),
|
|
148
|
-
"onUpdate:modelValue": t[7] || (t[7] = (d) => w(m) ? m.value = d : null),
|
|
149
|
-
label: e(a)("availability.children"),
|
|
150
|
-
description: e(a)("general.childAgeRange"),
|
|
151
|
-
"icon-type": "fas",
|
|
152
|
-
"icon-placement": "label",
|
|
153
|
-
name: "children",
|
|
154
|
-
icon: "child"
|
|
155
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
156
|
-
], 64))
|
|
157
|
-
])) : y("", !0),
|
|
158
|
-
V("li", ce, [
|
|
159
|
-
n(O, {
|
|
160
|
-
class: "konnectio-availability-submit-small",
|
|
161
|
-
type: "submit",
|
|
162
|
-
icon: "search",
|
|
163
|
-
"icon-type": "fas",
|
|
164
|
-
disabled: !x.value,
|
|
165
|
-
"is-loading": e(U)
|
|
166
|
-
}, null, 8, ["disabled", "is-loading"]),
|
|
167
|
-
n(O, {
|
|
168
|
-
class: "konnectio-availability-submit-large",
|
|
169
|
-
type: "submit",
|
|
170
|
-
label: e(a)("availability.buttonLabel"),
|
|
171
|
-
disabled: !x.value,
|
|
172
|
-
"is-loading": e(U)
|
|
173
|
-
}, null, 8, ["label", "disabled", "is-loading"])
|
|
174
|
-
])
|
|
175
|
-
], 2)
|
|
176
|
-
], 34));
|
|
177
|
-
}
|
|
178
|
-
}), ke = /* @__PURE__ */ T(ue, [["__scopeId", "data-v-56c61864"]]), de = { class: "availability-skeleton" }, re = {
|
|
179
|
-
key: 0,
|
|
180
|
-
class: "availability-skeleton-navigation"
|
|
181
|
-
}, be = { class: "availability-skeleton-content" }, me = {
|
|
182
|
-
key: 1,
|
|
183
|
-
class: "availability-skeleton-event"
|
|
184
|
-
}, ve = /* @__PURE__ */ N({
|
|
185
|
-
__name: "AvailabilitySkeleton",
|
|
186
|
-
props: {
|
|
187
|
-
view: { default: "hotel" },
|
|
188
|
-
hotel: { type: Boolean, default: !1 }
|
|
189
|
-
},
|
|
190
|
-
setup(o) {
|
|
191
|
-
return (a, s) => (i(), r("div", de, [
|
|
192
|
-
a.view === "both" ? (i(), r("div", re, [
|
|
193
|
-
n(M, {
|
|
194
|
-
height: "28px",
|
|
195
|
-
width: "60px",
|
|
196
|
-
"border-radius": "20px"
|
|
197
|
-
}),
|
|
198
|
-
n(M, {
|
|
199
|
-
height: "28px",
|
|
200
|
-
width: "60px",
|
|
201
|
-
"border-radius": "20px"
|
|
202
|
-
})
|
|
203
|
-
])) : y("", !0),
|
|
204
|
-
V("div", be, [
|
|
205
|
-
a.view !== "event" ? (i(), r("div", {
|
|
206
|
-
key: 0,
|
|
207
|
-
class: L([
|
|
208
|
-
"availability-skeleton-hotel",
|
|
209
|
-
{ "within-hotel": a.hotel }
|
|
210
|
-
])
|
|
211
|
-
}, [
|
|
212
|
-
n(g, { "with-icon": "" }),
|
|
213
|
-
n(g, { "with-icon": "" }),
|
|
214
|
-
n(g, { "with-icon": "" }),
|
|
215
|
-
n(g, {
|
|
216
|
-
"with-icon": "",
|
|
217
|
-
"no-label": ""
|
|
218
|
-
})
|
|
219
|
-
], 2)) : (i(), r("div", me, [
|
|
220
|
-
n(g, { "with-icon": "" }),
|
|
221
|
-
n(g, {
|
|
222
|
-
"with-icon": "",
|
|
223
|
-
"no-label": ""
|
|
224
|
-
})
|
|
225
|
-
]))
|
|
226
|
-
])
|
|
227
|
-
]));
|
|
228
|
-
}
|
|
229
|
-
}), he = /* @__PURE__ */ T(ve, [["__scopeId", "data-v-17762b9b"]]);
|
|
230
|
-
export {
|
|
231
|
-
he as A,
|
|
232
|
-
ke as H,
|
|
233
|
-
ye as m
|
|
234
|
-
};
|
|
Binary file
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { d as b, r as k, k as V, l as $, o as p, a as B, w as I, b as s, f as C, u as i, T as P, I as T, g as v, ad as A, n as h, ae as w, af as N, h as g, t as u, i as S, j as _, K as f, B as G, D as F, ag as j, v as D, x as E } from "./_-KavQ60qi.js";
|
|
2
|
-
const K = { class: "fresh-booking-phone-input" }, O = /* @__PURE__ */ b({
|
|
3
|
-
__name: "PhoneField",
|
|
4
|
-
props: {
|
|
5
|
-
modelValue: {},
|
|
6
|
-
label: {},
|
|
7
|
-
id: {},
|
|
8
|
-
placeholder: {},
|
|
9
|
-
icon: { default: "phone-office" },
|
|
10
|
-
iconColor: {},
|
|
11
|
-
iconType: { default: "fal" },
|
|
12
|
-
required: { type: Boolean, default: !1 },
|
|
13
|
-
readonly: { type: Boolean, default: !1 },
|
|
14
|
-
inputStyle: {}
|
|
15
|
-
},
|
|
16
|
-
emits: ["update:modelValue"],
|
|
17
|
-
setup(a, { emit: l }) {
|
|
18
|
-
const t = l, n = a, c = n.id || k(), e = V("+45"), d = V("");
|
|
19
|
-
function m() {
|
|
20
|
-
t("update:modelValue", `${e.value} ${d.value}`);
|
|
21
|
-
}
|
|
22
|
-
return $(() => {
|
|
23
|
-
if (n.modelValue) {
|
|
24
|
-
const o = n.modelValue.split(" ");
|
|
25
|
-
e.value = o[0], d.value = o[1];
|
|
26
|
-
}
|
|
27
|
-
}), (o, r) => (p(), B(T, {
|
|
28
|
-
label: o.label,
|
|
29
|
-
id: i(c),
|
|
30
|
-
type: "phone",
|
|
31
|
-
required: o.required,
|
|
32
|
-
readonly: o.readonly
|
|
33
|
-
}, {
|
|
34
|
-
default: I(() => [
|
|
35
|
-
s("div", K, [
|
|
36
|
-
C(P, {
|
|
37
|
-
modelValue: e.value,
|
|
38
|
-
"onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
|
|
39
|
-
type: "text",
|
|
40
|
-
id: i(k)(),
|
|
41
|
-
name: "phone-code",
|
|
42
|
-
autocomplete: "tel-country-code",
|
|
43
|
-
icon: o.icon,
|
|
44
|
-
"icon-color": o.iconColor,
|
|
45
|
-
"icon-type": o.iconType,
|
|
46
|
-
placeholder: "+45",
|
|
47
|
-
required: o.required,
|
|
48
|
-
readonly: o.readonly,
|
|
49
|
-
"input-style": o.inputStyle,
|
|
50
|
-
onInput: r[1] || (r[1] = (y) => m())
|
|
51
|
-
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
52
|
-
C(P, {
|
|
53
|
-
modelValue: d.value,
|
|
54
|
-
"onUpdate:modelValue": r[2] || (r[2] = (y) => d.value = y),
|
|
55
|
-
type: "number",
|
|
56
|
-
name: "phone",
|
|
57
|
-
autocomplete: "tel-national",
|
|
58
|
-
id: i(c),
|
|
59
|
-
placeholder: o.placeholder,
|
|
60
|
-
required: o.required,
|
|
61
|
-
readonly: o.readonly,
|
|
62
|
-
"input-style": o.inputStyle,
|
|
63
|
-
onInput: r[3] || (r[3] = (y) => m())
|
|
64
|
-
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["label", "id", "required", "readonly"]));
|
|
69
|
-
}
|
|
70
|
-
}), x = /* @__PURE__ */ v(O, [["__scopeId", "data-v-5cd094ab"]]), U = ["required", "type", "name", "readonly", "disabled", "value", "checked"], z = ["data-test"], H = { key: 0 }, M = /* @__PURE__ */ b({
|
|
71
|
-
__name: "Checkbox",
|
|
72
|
-
props: {
|
|
73
|
-
modelValue: { type: [String, Boolean, Number] },
|
|
74
|
-
numeric: { type: Boolean, default: !1 },
|
|
75
|
-
checked: { type: Boolean, default: !1 },
|
|
76
|
-
label: {},
|
|
77
|
-
price: {},
|
|
78
|
-
name: {},
|
|
79
|
-
readonly: { type: Boolean, default: !1 },
|
|
80
|
-
type: { default: "checkbox" },
|
|
81
|
-
required: { type: Boolean, default: !1 },
|
|
82
|
-
inputStyle: {},
|
|
83
|
-
val: {}
|
|
84
|
-
},
|
|
85
|
-
emits: ["update:modelValue"],
|
|
86
|
-
setup(a, { emit: l }) {
|
|
87
|
-
const t = a, n = l;
|
|
88
|
-
function c() {
|
|
89
|
-
t.readonly !== !0 && n(
|
|
90
|
-
"update:modelValue",
|
|
91
|
-
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
return (e, d) => (p(), B(T, {
|
|
95
|
-
required: e.required,
|
|
96
|
-
type: e.type,
|
|
97
|
-
readonly: e.readonly
|
|
98
|
-
}, {
|
|
99
|
-
default: I(() => [
|
|
100
|
-
s("label", {
|
|
101
|
-
class: h([
|
|
102
|
-
"fresh-booking-click-box-container",
|
|
103
|
-
{ "is-readonly": e.readonly },
|
|
104
|
-
{ "has-label": e.label },
|
|
105
|
-
e.type === "radio" ? "radio" : "checkbox"
|
|
106
|
-
])
|
|
107
|
-
}, [
|
|
108
|
-
s("input", A(e.$attrs, {
|
|
109
|
-
required: !!e.required,
|
|
110
|
-
type: e.type,
|
|
111
|
-
name: e.name,
|
|
112
|
-
class: "hidden",
|
|
113
|
-
readonly: !!e.readonly,
|
|
114
|
-
disabled: !!e.readonly,
|
|
115
|
-
value: e.type === "radio" ? e.val : e.modelValue,
|
|
116
|
-
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
117
|
-
onChange: d[0] || (d[0] = (m) => c())
|
|
118
|
-
}), null, 16, U),
|
|
119
|
-
s("div", {
|
|
120
|
-
class: h([
|
|
121
|
-
"fresh-booking-click-box",
|
|
122
|
-
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
123
|
-
]),
|
|
124
|
-
tabindex: "0",
|
|
125
|
-
style: w(e.inputStyle),
|
|
126
|
-
"data-test": e.name,
|
|
127
|
-
onKeyup: d[1] || (d[1] = N((m) => c(), ["enter"]))
|
|
128
|
-
}, null, 46, z),
|
|
129
|
-
e.label ? (p(), g("div", {
|
|
130
|
-
key: 0,
|
|
131
|
-
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
132
|
-
}, [
|
|
133
|
-
s("span", null, u(e.label), 1),
|
|
134
|
-
e.price ? (p(), g("span", H, u(e.price), 1)) : S("", !0)
|
|
135
|
-
], 2)) : S("", !0)
|
|
136
|
-
], 2)
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}, 8, ["required", "type", "readonly"]));
|
|
140
|
-
}
|
|
141
|
-
}), ee = /* @__PURE__ */ v(M, [["__scopeId", "data-v-a2138dc3"]]), R = {
|
|
142
|
-
href: "https://policies.google.com/privacy",
|
|
143
|
-
target: "_blank"
|
|
144
|
-
}, W = {
|
|
145
|
-
href: "https://policies.google.com/terms",
|
|
146
|
-
target: "_blank"
|
|
147
|
-
}, J = /* @__PURE__ */ b({
|
|
148
|
-
__name: "GoogleNotice",
|
|
149
|
-
setup(a) {
|
|
150
|
-
const { t: l } = _();
|
|
151
|
-
return (t, n) => (p(), g("span", null, [
|
|
152
|
-
f(u(i(l)("googleNotice")) + " ", 1),
|
|
153
|
-
s("a", R, u(i(l)("googlePrivacyPolicy")), 1),
|
|
154
|
-
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
155
|
-
s("a", W, u(i(l)("googleTOS")), 1),
|
|
156
|
-
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
157
|
-
]));
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
function q(a) {
|
|
161
|
-
const l = a;
|
|
162
|
-
l.__i18n = l.__i18n || [], l.__i18n.push({
|
|
163
|
-
locale: "",
|
|
164
|
-
resource: {
|
|
165
|
-
da: {
|
|
166
|
-
googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Denne side er beskyttet af reCAPTCHA og Google's" } },
|
|
167
|
-
googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privatlivspolitik" } },
|
|
168
|
-
googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "og" } },
|
|
169
|
-
googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Servicevilkår" } },
|
|
170
|
-
googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "er gældende" } }
|
|
171
|
-
},
|
|
172
|
-
en: {
|
|
173
|
-
googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "This site is protected by reCAPTCHA and the Google" } },
|
|
174
|
-
googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privacy Policy" } },
|
|
175
|
-
googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "and" } },
|
|
176
|
-
googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Terms of Service" } },
|
|
177
|
-
googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "apply" } }
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
typeof q == "function" && q(J);
|
|
183
|
-
const L = (a) => (D("data-v-340cb9ce"), a = a(), E(), a), Q = /* @__PURE__ */ L(() => /* @__PURE__ */ s("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
|
|
184
|
-
Q
|
|
185
|
-
], Y = /* @__PURE__ */ b({
|
|
186
|
-
__name: "CheckoutWindow",
|
|
187
|
-
setup(a) {
|
|
188
|
-
const { paymentGatewayId: l } = G(F());
|
|
189
|
-
return $(() => {
|
|
190
|
-
const t = document.createElement("script"), n = document.createElement("script");
|
|
191
|
-
t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
|
|
192
|
-
}), (t, n) => (p(), g("div", null, [
|
|
193
|
-
s("div", {
|
|
194
|
-
id: "fresh-booking-payment-checkout-wrapper",
|
|
195
|
-
class: h({ reePay: i(l) === i(j).ReePay })
|
|
196
|
-
}, X, 2)
|
|
197
|
-
]));
|
|
198
|
-
}
|
|
199
|
-
}), oe = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-340cb9ce"]]);
|
|
200
|
-
export {
|
|
201
|
-
ee as C,
|
|
202
|
-
x as P,
|
|
203
|
-
J as _,
|
|
204
|
-
oe as a
|
|
205
|
-
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-KavQ60qi.js.br
DELETED
|
Binary file
|