@konnectio/core 4.0.56-rc21 → 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.
Files changed (43) hide show
  1. package/dist/{ActionField-mMYGNb-7.js → ActionField-BUeonTqc.js} +1 -1
  2. package/dist/ActionField-BUeonTqc.js.br +9 -0
  3. package/dist/{AvailabilitySkeleton-iD7Vbt5K.js → AvailabilitySkeleton-gympaD6B.js} +77 -75
  4. package/dist/AvailabilitySkeleton-gympaD6B.js.br +0 -0
  5. package/dist/CheckoutWindow-sws5X9v2.js +710 -0
  6. package/dist/CheckoutWindow-sws5X9v2.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js → DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js} +2003 -1999
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js.br +0 -0
  9. package/dist/{ErrorMessage-4GwDZEsl.js → ErrorMessage-GzJ2T5_d.js} +1 -1
  10. package/dist/ErrorMessage-GzJ2T5_d.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-jvxOZKWx.js → EventAvailabilityForm-c0u7rObv.js} +26 -25
  12. package/dist/EventAvailabilityForm-c0u7rObv.js.br +0 -0
  13. package/dist/{Field-EqFBeBE_.js → Field-hjOjPQhC.js} +1 -1
  14. package/dist/Field-hjOjPQhC.js.br +0 -0
  15. package/dist/{ThankYou-pu1PDfhl.js → ThankYou-d129mmKn.js} +3077 -3563
  16. package/dist/ThankYou-d129mmKn.js.br +0 -0
  17. package/dist/{_--L3VvP-p.js → _-hKpeUU4C.js} +2264 -2243
  18. package/dist/_-hKpeUU4C.js.br +0 -0
  19. package/dist/availability.js +22 -22
  20. package/dist/availability.js.br +0 -0
  21. package/dist/event.js +61 -61
  22. package/dist/event.js.br +0 -0
  23. package/dist/gift-card-validation.js +20 -20
  24. package/dist/gift-card-validation.js.br +0 -0
  25. package/dist/gift-card.js +305 -291
  26. package/dist/gift-card.js.br +0 -0
  27. package/dist/hotel.js +926 -919
  28. package/dist/hotel.js.br +0 -0
  29. package/dist/polyfill.js +1 -1
  30. package/dist/polyfill.js.br +0 -0
  31. package/dist/style.css +1 -1
  32. package/dist/style.css.br +0 -0
  33. package/package.json +3 -2
  34. package/dist/ActionField-mMYGNb-7.js.br +0 -0
  35. package/dist/AvailabilitySkeleton-iD7Vbt5K.js.br +0 -0
  36. package/dist/CheckoutWindow-T32YH60g.js +0 -205
  37. package/dist/CheckoutWindow-T32YH60g.js.br +0 -0
  38. package/dist/DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js.br +0 -0
  39. package/dist/ErrorMessage-4GwDZEsl.js.br +0 -0
  40. package/dist/EventAvailabilityForm-jvxOZKWx.js.br +0 -0
  41. package/dist/Field-EqFBeBE_.js.br +0 -0
  42. package/dist/ThankYou-pu1PDfhl.js.br +0 -0
  43. package/dist/_--L3VvP-p.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-rc21",
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.0",
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",
@@ -55,6 +55,7 @@
55
55
  "floating-vue": "5.2.2",
56
56
  "linkify-html": "4.1.3",
57
57
  "linkifyjs": "4.1.3",
58
+ "mitt": "3.0.1",
58
59
  "pinia": "2.1.7",
59
60
  "postcss": "8.4.35",
60
61
  "recaptcha-v3": "1.10.0",
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, ac as A, n as h, ad as w, ae as N, h as g, t as u, i as S, j as _, K as f, B as G, D as F, af as j, v as D, x as E } from "./_--L3VvP-p.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