@konnectio/core 4.0.56-rc8 → 4.0.56
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-na8McB-H.js → ActionField-j1i8YL6H.js} +43 -34
- package/dist/ActionField-j1i8YL6H.js.br +0 -0
- package/dist/AvailabilitySkeleton-78ug9z_g.js +294 -0
- package/dist/AvailabilitySkeleton-78ug9z_g.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B72HmqV2.js +8652 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B72HmqV2.js.br +0 -0
- package/dist/CheckoutWindow-DYdrHbQ-.js +677 -0
- package/dist/CheckoutWindow-DYdrHbQ-.js.br +0 -0
- package/dist/ErrorMessage-DJ_hHpkR.js +45 -0
- package/dist/ErrorMessage-DJ_hHpkR.js.br +0 -0
- package/dist/EventAvailabilityForm-B4Y8N8P1.js +117 -0
- package/dist/EventAvailabilityForm-B4Y8N8P1.js.br +0 -0
- package/dist/Field-CHlcB-1U.js +50 -0
- package/dist/Field-CHlcB-1U.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CXrsASkr.js +18825 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CXrsASkr.js.br +0 -0
- package/dist/TermsOfService-BTaz4T1c.js +36 -0
- package/dist/TermsOfService-BTaz4T1c.js.br +0 -0
- package/dist/_-Bv_QUFw4.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BHKGq8g4.js +69 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BHKGq8g4.js.br +0 -0
- package/dist/_commonjsHelpers-4HJ9V5A_.js +17 -0
- package/dist/_sentry-release-injection-file-B7Jqb6lo.js +9598 -0
- package/dist/_sentry-release-injection-file-B7Jqb6lo.js.br +0 -0
- package/dist/availability.js +89 -170
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +62 -0
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +780 -500
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +114 -67
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +356 -390
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-D5RQomNw.js +134 -0
- package/dist/giftCard-D5RQomNw.js.br +0 -0
- package/dist/hotel.js +2215 -11
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-DKJPmkN0.js +12766 -0
- package/dist/masonry.plugin-DKJPmkN0.js.br +0 -0
- package/dist/mitt-mvNuFbhJ.js +2952 -0
- package/dist/mitt-mvNuFbhJ.js.br +0 -0
- package/dist/polyfill.js +13670 -4711
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-CMlyHB3J.js +2537 -0
- package/dist/tracing-CMlyHB3J.js.br +0 -0
- package/package.json +47 -38
- package/dist/ActionField-na8McB-H.js.br +0 -0
- package/dist/AvailabilitySkeleton-1_yLVsq6.js +0 -214
- package/dist/AvailabilitySkeleton-1_yLVsq6.js.br +0 -0
- package/dist/CheckoutWindow-r6ch1iOr.js +0 -205
- package/dist/CheckoutWindow-r6ch1iOr.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js +0 -8558
- package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js.br +0 -0
- package/dist/Field-S_yxW5IQ.js +0 -42
- package/dist/Field-S_yxW5IQ.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js +0 -30460
- package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js.br +0 -0
- package/dist/ThankYou-ekf_1AWY.js +0 -13233
- package/dist/ThankYou-ekf_1AWY.js.br +0 -0
- package/dist/_-vErl-x3v.js +0 -19
- package/dist/_commonjsHelpers-2ufMB8rV.js +0 -30
- package/dist/event-iDLUEMAV.js +0 -328
- package/dist/event-iDLUEMAV.js.br +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/hotel-4O89o7V2.js +0 -3111
- package/dist/hotel-4O89o7V2.js.br +0 -0
- package/dist/navigation.js +0 -1
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.0.56
|
|
4
|
-
"author": "Konnectio <info@
|
|
3
|
+
"version": "4.0.56",
|
|
4
|
+
"author": "Konnectio <info@konnectio.com> (https://konnectio.dk)",
|
|
5
5
|
"homepage": "https://konnectio.dk",
|
|
6
6
|
"description": "Konnectio Core Frontend Integration.",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
|
-
"dist"
|
|
9
|
+
"dist/*.js",
|
|
10
|
+
"dist/*.gz",
|
|
11
|
+
"dist/*.br",
|
|
12
|
+
"dist/*.css",
|
|
13
|
+
"!dist/index.*",
|
|
14
|
+
"!dist/playground.*"
|
|
10
15
|
],
|
|
11
16
|
"exports": {
|
|
12
17
|
"./availability": "./dist/availability.js",
|
|
@@ -18,6 +23,9 @@
|
|
|
18
23
|
"scripts": {
|
|
19
24
|
"dev": "vite",
|
|
20
25
|
"prod": "vite build",
|
|
26
|
+
"build": "vite build --config vite.config.js --mode production",
|
|
27
|
+
"build:playground": "vite build --config vite.config.playground.js --mode production",
|
|
28
|
+
"build:demo": "npm run build && npm run build:playground",
|
|
21
29
|
"devprod": "vite build --mode development",
|
|
22
30
|
"watch": "vite build --watch --mode development",
|
|
23
31
|
"production": "vue-tsc --noEmit && vite build --mode production",
|
|
@@ -30,63 +38,64 @@
|
|
|
30
38
|
"@chenfengyuan/vue-number-input": "2.0.1",
|
|
31
39
|
"@egjs/flicking-plugins": "4.7.1",
|
|
32
40
|
"@egjs/vue3-flicking": "4.11.2",
|
|
33
|
-
"@fortawesome/fontawesome-pro": "6.5.
|
|
34
|
-
"@fortawesome/fontawesome-svg-core": "6.5.
|
|
35
|
-
"@fortawesome/free-brands-svg-icons": "6.5.
|
|
36
|
-
"@fortawesome/pro-light-svg-icons": "6.5.
|
|
37
|
-
"@fortawesome/pro-solid-svg-icons": "6.5.
|
|
38
|
-
"@fortawesome/vue-fontawesome": "3.0.
|
|
39
|
-
"@intlify/unplugin-vue-i18n": "
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
41
|
+
"@fortawesome/fontawesome-pro": "6.5.2",
|
|
42
|
+
"@fortawesome/fontawesome-svg-core": "6.5.2",
|
|
43
|
+
"@fortawesome/free-brands-svg-icons": "6.5.2",
|
|
44
|
+
"@fortawesome/pro-light-svg-icons": "6.5.2",
|
|
45
|
+
"@fortawesome/pro-solid-svg-icons": "6.5.2",
|
|
46
|
+
"@fortawesome/vue-fontawesome": "3.0.8",
|
|
47
|
+
"@intlify/unplugin-vue-i18n": "4.0.0",
|
|
48
|
+
"@sentry/vue": "8.4.0",
|
|
49
|
+
"@unhead/vue": "1.9.10",
|
|
50
|
+
"@vuepic/vue-datepicker": "8.7.0",
|
|
42
51
|
"@vueup/vue-quill": "1.2.0",
|
|
43
|
-
"@vueuse/core": "10.
|
|
44
|
-
"axios": "1.
|
|
45
|
-
"core-js": "3.
|
|
52
|
+
"@vueuse/core": "10.9.0",
|
|
53
|
+
"axios": "1.7.2",
|
|
54
|
+
"core-js": "3.37.1",
|
|
46
55
|
"cqfill": "0.6.1",
|
|
47
|
-
"
|
|
56
|
+
"date-fns": "3.6.0",
|
|
57
|
+
"floating-vue": "5.2.2",
|
|
48
58
|
"linkify-html": "4.1.3",
|
|
49
59
|
"linkifyjs": "4.1.3",
|
|
60
|
+
"mitt": "3.0.1",
|
|
50
61
|
"pinia": "2.1.7",
|
|
51
|
-
"postcss": "8.4.
|
|
62
|
+
"postcss": "8.4.38",
|
|
52
63
|
"recaptcha-v3": "1.10.0",
|
|
53
64
|
"regenerator-runtime": "0.14.1",
|
|
54
65
|
"text-clipper": "2.2.0",
|
|
55
|
-
"vue": "
|
|
56
|
-
"vue-gtag": "2.0.1",
|
|
57
|
-
"vue-i18n": "9.
|
|
66
|
+
"vue": "3.4.27",
|
|
67
|
+
"vue-gtag": "2.0.1",
|
|
68
|
+
"vue-i18n": "9.13.1",
|
|
58
69
|
"vue-inner-image-zoom": "2.0.0",
|
|
59
70
|
"vue-masonry": "0.16.0",
|
|
60
|
-
"vue-router": "4.2
|
|
71
|
+
"vue-router": "4.3.2",
|
|
61
72
|
"vue-select": "4.0.0-beta.6",
|
|
62
73
|
"vue3-side-panel": "1.3.0",
|
|
63
74
|
"vue3-sticky-sidebar": "2.0.0",
|
|
64
75
|
"vue3-text-clamp": "0.1.2"
|
|
65
76
|
},
|
|
66
77
|
"devDependencies": {
|
|
67
|
-
"@babel/eslint-parser": "7.
|
|
78
|
+
"@babel/eslint-parser": "7.24.5",
|
|
68
79
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@typescript-eslint/
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@vue/
|
|
80
|
+
"@sentry/vite-plugin": "2.16.1",
|
|
81
|
+
"@types/node": "20.12.12",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "7.10.0",
|
|
83
|
+
"@typescript-eslint/parser": "7.10.0",
|
|
84
|
+
"@vitejs/plugin-vue": "5.0.4",
|
|
85
|
+
"@vue/eslint-config-typescript": "13.0.0",
|
|
86
|
+
"@vue/test-utils": "2.4.6",
|
|
75
87
|
"cross-env": "7.0.3",
|
|
76
|
-
"cypress": "13.
|
|
77
|
-
"eslint": "8.
|
|
78
|
-
"eslint-plugin-vue": "9.
|
|
88
|
+
"cypress": "13.9.0",
|
|
89
|
+
"eslint": "8.57.0",
|
|
90
|
+
"eslint-plugin-vue": "9.26.0",
|
|
79
91
|
"rollup-plugin-typescript2": "0.36.0",
|
|
80
|
-
"sass": "1.
|
|
92
|
+
"sass": "1.77.2",
|
|
81
93
|
"ts-node": "10.9.2",
|
|
82
94
|
"tslib": "2.6.2",
|
|
83
|
-
"typescript": "5.
|
|
84
|
-
"vite": "5.
|
|
95
|
+
"typescript": "5.4.5",
|
|
96
|
+
"vite": "5.2.11",
|
|
85
97
|
"vite-plugin-compression": "0.5.1",
|
|
86
|
-
"vue-tsc": "
|
|
87
|
-
},
|
|
88
|
-
"peerDependencies": {
|
|
89
|
-
"vue": "^3.3.10"
|
|
98
|
+
"vue-tsc": "2.0.19"
|
|
90
99
|
},
|
|
91
100
|
"contributors": [
|
|
92
101
|
{
|
|
Binary file
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { k as N, B as j, s as V, W as B, X as R, c as J, r as K, f as m, Y as C, Z as P, o as t, l as s, x as A, z as e, p as i, G as y, y as Q, n as v, $ as F, m as w, T as H, A as E, C as I, q as x, h as ee, _ as O } from "./SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js";
|
|
2
|
-
import { _ as ae } from "./DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js";
|
|
3
|
-
import { E as z } from "./_-vErl-x3v.js";
|
|
4
|
-
import { F as p } from "./Field-S_yxW5IQ.js";
|
|
5
|
-
const le = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "konnectio-availability-location"
|
|
8
|
-
}, te = { id: "fresh-booking-availability-date-selection" }, ie = {
|
|
9
|
-
key: 1,
|
|
10
|
-
id: "fresh-booking-availability-guest-selection"
|
|
11
|
-
}, ne = { id: "fresh-booking-availability-confirmation" }, oe = /* @__PURE__ */ N({
|
|
12
|
-
__name: "HotelAvailabilityForm",
|
|
13
|
-
props: {
|
|
14
|
-
booking: { type: Boolean, default: !1 },
|
|
15
|
-
link: {}
|
|
16
|
-
},
|
|
17
|
-
setup(S) {
|
|
18
|
-
const { t: a } = j(), d = S, {
|
|
19
|
-
adults: c,
|
|
20
|
-
children: r,
|
|
21
|
-
arrivalDate: f,
|
|
22
|
-
departureDate: g,
|
|
23
|
-
location: D,
|
|
24
|
-
isExpired: T
|
|
25
|
-
} = V(B()), { reset: q } = B(), { fetchAvailabilityData: G } = R(), { areListingsLoading: L, hotelList: M, hasHotelList: k } = V(R()), {
|
|
26
|
-
firstSelectableDateOffset: U,
|
|
27
|
-
lastSelectableDateOffset: $,
|
|
28
|
-
disableChildSelection: b,
|
|
29
|
-
disableAdultSelection: u
|
|
30
|
-
} = V(J()), h = K([]), W = m(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (U.value - 1))));
|
|
31
|
-
m(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + $.value))), m(() => new Date((/* @__PURE__ */ new Date()).setDate(f.value.getDate() + U.value)));
|
|
32
|
-
const X = m(() => new Date((/* @__PURE__ */ new Date()).setDate(f.value.getDate() + ($.value + 1)))), _ = m(() => !(!u && c.value === 0)), Y = m(() => typeof d.link != "string");
|
|
33
|
-
function Z() {
|
|
34
|
-
if (d.booking === !1)
|
|
35
|
-
if (Y.value) {
|
|
36
|
-
const n = ee();
|
|
37
|
-
d.link[n] ? window.location.replace(d.link[n]) : d.link.en ? window.location.replace(d.link.en) : console.log("Sprog understøttes ikke");
|
|
38
|
-
} else
|
|
39
|
-
window.location.replace(d.link);
|
|
40
|
-
else
|
|
41
|
-
_.value && G();
|
|
42
|
-
}
|
|
43
|
-
return C(f, (n) => {
|
|
44
|
-
const l = new Date(new Date(n).setDate(new Date(n).getDate() + 1));
|
|
45
|
-
new Date(g.value) < l && (g.value = l);
|
|
46
|
-
}), C(h, (n) => {
|
|
47
|
-
f.value = n[0], g.value = n[1];
|
|
48
|
-
}), P(() => {
|
|
49
|
-
T.value && q(), h.value = [f.value, g.value];
|
|
50
|
-
}), (n, l) => (t(), s("form", {
|
|
51
|
-
id: "konnectio-availability-form",
|
|
52
|
-
class: x({ reservation: n.booking }),
|
|
53
|
-
type: "availability",
|
|
54
|
-
onSubmit: Z
|
|
55
|
-
}, [
|
|
56
|
-
A("ul", {
|
|
57
|
-
id: "konnectio-availability-form-content",
|
|
58
|
-
class: x([
|
|
59
|
-
{ "is-booking-page": n.booking },
|
|
60
|
-
{ "only-adult-guests": !e(u) && e(b) },
|
|
61
|
-
{ "only-child-guests": !e(b) && e(u) },
|
|
62
|
-
{ "no-guests": e(u) && e(b) },
|
|
63
|
-
{ "all-guests": !e(u) && !e(b) },
|
|
64
|
-
{ "has-location": e(k) }
|
|
65
|
-
])
|
|
66
|
-
}, [
|
|
67
|
-
e(k) ? (t(), s("li", le, [
|
|
68
|
-
i(Q, {
|
|
69
|
-
modelValue: e(D),
|
|
70
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) => y(D) ? D.value = o : null),
|
|
71
|
-
label: e(a)("general.location"),
|
|
72
|
-
icon: "location-dot",
|
|
73
|
-
"icon-type": "fas",
|
|
74
|
-
"icon-placement": "label",
|
|
75
|
-
options: e(M),
|
|
76
|
-
searchable: !1
|
|
77
|
-
}, null, 8, ["modelValue", "label", "options"])
|
|
78
|
-
])) : v("", !0),
|
|
79
|
-
A("li", te, [
|
|
80
|
-
i(ae, {
|
|
81
|
-
modelValue: h.value,
|
|
82
|
-
"onUpdate:modelValue": l[1] || (l[1] = (o) => h.value = o),
|
|
83
|
-
label: e(a)("availability.checkInOut"),
|
|
84
|
-
"icon-type": "fas",
|
|
85
|
-
"icon-placement": "label",
|
|
86
|
-
"min-range": 1,
|
|
87
|
-
"min-date": W.value,
|
|
88
|
-
"max-date": X.value,
|
|
89
|
-
range: ""
|
|
90
|
-
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
91
|
-
v("", !0)
|
|
92
|
-
]),
|
|
93
|
-
!e(u) || !e(b) ? (t(), s("li", ie, [
|
|
94
|
-
e(u) ? v("", !0) : (t(), s(F, { key: 0 }, [
|
|
95
|
-
e(k) ? (t(), w(H, {
|
|
96
|
-
key: 0,
|
|
97
|
-
modelValue: e(c),
|
|
98
|
-
"onUpdate:modelValue": l[4] || (l[4] = (o) => y(c) ? c.value = o : null),
|
|
99
|
-
label: e(a)("availability.adults"),
|
|
100
|
-
description: e(a)("general.adultAgeRange"),
|
|
101
|
-
"icon-type": "fas",
|
|
102
|
-
"icon-placement": "label",
|
|
103
|
-
name: "adults",
|
|
104
|
-
icon: "male"
|
|
105
|
-
}, null, 8, ["modelValue", "label", "description"])) : (t(), w(E, {
|
|
106
|
-
key: 1,
|
|
107
|
-
modelValue: e(c),
|
|
108
|
-
"onUpdate:modelValue": l[5] || (l[5] = (o) => y(c) ? c.value = o : null),
|
|
109
|
-
label: e(a)("availability.adults"),
|
|
110
|
-
description: e(a)("general.adultAgeRange"),
|
|
111
|
-
"icon-type": "fas",
|
|
112
|
-
"icon-placement": "label",
|
|
113
|
-
name: "adults",
|
|
114
|
-
icon: "male"
|
|
115
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
116
|
-
], 64)),
|
|
117
|
-
e(b) ? v("", !0) : (t(), s(F, { key: 1 }, [
|
|
118
|
-
e(k) ? (t(), w(H, {
|
|
119
|
-
key: 0,
|
|
120
|
-
modelValue: e(r),
|
|
121
|
-
"onUpdate:modelValue": l[6] || (l[6] = (o) => y(r) ? r.value = o : null),
|
|
122
|
-
label: e(a)("availability.children"),
|
|
123
|
-
description: e(a)("general.childAgeRange"),
|
|
124
|
-
"icon-type": "fas",
|
|
125
|
-
"icon-placement": "label",
|
|
126
|
-
name: "children",
|
|
127
|
-
icon: "child"
|
|
128
|
-
}, null, 8, ["modelValue", "label", "description"])) : (t(), w(E, {
|
|
129
|
-
key: 1,
|
|
130
|
-
modelValue: e(r),
|
|
131
|
-
"onUpdate:modelValue": l[7] || (l[7] = (o) => y(r) ? r.value = o : null),
|
|
132
|
-
label: e(a)("availability.children"),
|
|
133
|
-
description: e(a)("general.childAgeRange"),
|
|
134
|
-
"icon-type": "fas",
|
|
135
|
-
"icon-placement": "label",
|
|
136
|
-
name: "children",
|
|
137
|
-
icon: "child"
|
|
138
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
139
|
-
], 64))
|
|
140
|
-
])) : v("", !0),
|
|
141
|
-
A("li", ne, [
|
|
142
|
-
i(I, {
|
|
143
|
-
class: "konnectio-availability-submit-small",
|
|
144
|
-
type: "submit",
|
|
145
|
-
icon: "search",
|
|
146
|
-
"icon-type": "fas",
|
|
147
|
-
disabled: !_.value,
|
|
148
|
-
"is-loading": e(L)
|
|
149
|
-
}, null, 8, ["disabled", "is-loading"]),
|
|
150
|
-
i(I, {
|
|
151
|
-
class: "konnectio-availability-submit-large",
|
|
152
|
-
type: "submit",
|
|
153
|
-
label: e(a)("availability.buttonLabel"),
|
|
154
|
-
disabled: !_.value,
|
|
155
|
-
"is-loading": e(L)
|
|
156
|
-
}, null, 8, ["label", "disabled", "is-loading"])
|
|
157
|
-
])
|
|
158
|
-
], 2)
|
|
159
|
-
], 34));
|
|
160
|
-
}
|
|
161
|
-
}), ve = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-d30ddefe"]]), se = { class: "availability-skeleton" }, de = {
|
|
162
|
-
key: 0,
|
|
163
|
-
class: "availability-skeleton-navigation"
|
|
164
|
-
}, ce = {
|
|
165
|
-
key: 2,
|
|
166
|
-
class: "availability-skeleton-event"
|
|
167
|
-
}, ue = /* @__PURE__ */ N({
|
|
168
|
-
__name: "AvailabilitySkeleton",
|
|
169
|
-
props: {
|
|
170
|
-
view: { default: "hotel" },
|
|
171
|
-
hotel: { type: Boolean, default: !1 }
|
|
172
|
-
},
|
|
173
|
-
setup(S) {
|
|
174
|
-
return (a, d) => (t(), s("div", se, [
|
|
175
|
-
a.view === "both" ? (t(), s("div", de, [
|
|
176
|
-
i(z, {
|
|
177
|
-
height: "28px",
|
|
178
|
-
width: "60px",
|
|
179
|
-
"border-radius": "20px"
|
|
180
|
-
}),
|
|
181
|
-
i(z, {
|
|
182
|
-
height: "28px",
|
|
183
|
-
width: "60px",
|
|
184
|
-
"border-radius": "20px"
|
|
185
|
-
})
|
|
186
|
-
])) : v("", !0),
|
|
187
|
-
a.view !== "event" ? (t(), s("div", {
|
|
188
|
-
key: 1,
|
|
189
|
-
class: x([
|
|
190
|
-
"availability-skeleton-hotel",
|
|
191
|
-
{ "within-hotel": a.hotel }
|
|
192
|
-
])
|
|
193
|
-
}, [
|
|
194
|
-
i(p, { "with-icon": "" }),
|
|
195
|
-
i(p, { "with-icon": "" }),
|
|
196
|
-
i(p, { "with-icon": "" }),
|
|
197
|
-
i(p, {
|
|
198
|
-
"with-icon": "",
|
|
199
|
-
"no-label": ""
|
|
200
|
-
})
|
|
201
|
-
], 2)) : (t(), s("div", ce, [
|
|
202
|
-
i(p, { "with-icon": "" }),
|
|
203
|
-
i(p, {
|
|
204
|
-
"with-icon": "",
|
|
205
|
-
"no-label": ""
|
|
206
|
-
})
|
|
207
|
-
]))
|
|
208
|
-
]));
|
|
209
|
-
}
|
|
210
|
-
}), fe = /* @__PURE__ */ O(ue, [["__scopeId", "data-v-be195a3f"]]);
|
|
211
|
-
export {
|
|
212
|
-
fe as A,
|
|
213
|
-
ve as H
|
|
214
|
-
};
|
|
Binary file
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { k as b, v as k, r as V, Z as $, o as p, m as B, w as I, x as d, p as C, z as i, T as P, I as T, _ as v, ai as A, q as h, aj as _, ak as w, l as g, F as u, n as q, B as N, a8 as f, s as F, c as G, al as j, P as z, Q as E } from "./SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js";
|
|
2
|
-
const O = { class: "fresh-booking-phone-input" }, U = /* @__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"), s = V("");
|
|
19
|
-
function m() {
|
|
20
|
-
t("update:modelValue", `${e.value} ${s.value}`);
|
|
21
|
-
}
|
|
22
|
-
return $(() => {
|
|
23
|
-
if (n.modelValue) {
|
|
24
|
-
const o = n.modelValue.split(" ");
|
|
25
|
-
e.value = o[0], s.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
|
-
d("div", O, [
|
|
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: s.value,
|
|
54
|
-
"onUpdate:modelValue": r[2] || (r[2] = (y) => s.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(U, [["__scopeId", "data-v-5cd094ab"]]), D = ["required", "type", "name", "readonly", "disabled", "value", "checked"], H = ["data-test"], K = { 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, s) => (p(), B(T, {
|
|
95
|
-
required: e.required,
|
|
96
|
-
type: e.type,
|
|
97
|
-
readonly: e.readonly
|
|
98
|
-
}, {
|
|
99
|
-
default: I(() => [
|
|
100
|
-
d("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
|
-
d("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: s[0] || (s[0] = (m) => c())
|
|
118
|
-
}), null, 16, D),
|
|
119
|
-
d("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: _(e.inputStyle),
|
|
126
|
-
"data-test": e.name,
|
|
127
|
-
onKeyup: s[1] || (s[1] = w((m) => c(), ["enter"]))
|
|
128
|
-
}, null, 46, H),
|
|
129
|
-
e.label ? (p(), g("div", {
|
|
130
|
-
key: 0,
|
|
131
|
-
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
132
|
-
}, [
|
|
133
|
-
d("span", null, u(e.label), 1),
|
|
134
|
-
e.price ? (p(), g("span", K, u(e.price), 1)) : q("", !0)
|
|
135
|
-
], 2)) : q("", !0)
|
|
136
|
-
], 2)
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}, 8, ["required", "type", "readonly"]));
|
|
140
|
-
}
|
|
141
|
-
}), ee = /* @__PURE__ */ v(M, [["__scopeId", "data-v-7ef656cb"]]), R = {
|
|
142
|
-
href: "https://policies.google.com/privacy",
|
|
143
|
-
target: "_blank"
|
|
144
|
-
}, W = {
|
|
145
|
-
href: "https://policies.google.com/terms",
|
|
146
|
-
target: "_blank"
|
|
147
|
-
}, Q = /* @__PURE__ */ b({
|
|
148
|
-
__name: "GoogleNotice",
|
|
149
|
-
setup(a) {
|
|
150
|
-
const { t: l } = N();
|
|
151
|
-
return (t, n) => (p(), g("span", null, [
|
|
152
|
-
f(u(i(l)("googleNotice")) + " ", 1),
|
|
153
|
-
d("a", R, u(i(l)("googlePrivacyPolicy")), 1),
|
|
154
|
-
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
155
|
-
d("a", W, u(i(l)("googleTOS")), 1),
|
|
156
|
-
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
157
|
-
]));
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
function S(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 S == "function" && S(Q);
|
|
183
|
-
const Z = (a) => (z("data-v-340cb9ce"), a = a(), E(), a), J = /* @__PURE__ */ Z(() => /* @__PURE__ */ d("div", { id: "fresh-booking-payment-checkout" }, null, -1)), L = [
|
|
184
|
-
J
|
|
185
|
-
], X = /* @__PURE__ */ b({
|
|
186
|
-
__name: "CheckoutWindow",
|
|
187
|
-
setup(a) {
|
|
188
|
-
const { paymentGatewayId: l } = F(G());
|
|
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
|
-
d("div", {
|
|
194
|
-
id: "fresh-booking-payment-checkout-wrapper",
|
|
195
|
-
class: h({ reePay: i(l) === i(j).ReePay })
|
|
196
|
-
}, L, 2)
|
|
197
|
-
]));
|
|
198
|
-
}
|
|
199
|
-
}), oe = /* @__PURE__ */ v(X, [["__scopeId", "data-v-340cb9ce"]]);
|
|
200
|
-
export {
|
|
201
|
-
ee as C,
|
|
202
|
-
x as P,
|
|
203
|
-
Q as _,
|
|
204
|
-
oe as a
|
|
205
|
-
};
|
|
Binary file
|