@konnectio/core 4.0.68 → 4.0.69
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-_CEmKSlf.js → ActionField-Cvrd0oT4.js} +15 -15
- package/dist/ActionField-Cvrd0oT4.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CHDZOB_s.js → AvailabilitySkeleton-C9hYCt8n.js} +7 -7
- package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js} +378 -377
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
- package/dist/{CheckoutWindow-BzoYJ5v5.js → CheckoutWindow-Jd7cv0fV.js} +5 -5
- package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
- package/dist/{ErrorMessage-Cc8QanBP.js → ErrorMessage-CY9XqT_-.js} +4 -4
- package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
- package/dist/{EventAvailabilityForm-CdmiDieo.js → EventAvailabilityForm-liW326n_.js} +25 -25
- package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
- package/dist/{Field-DMMbo6LE.js → Field-DBjYUlqg.js} +9 -9
- package/dist/Field-DBjYUlqg.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js} +832 -826
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
- package/dist/{TermsOfService-YxQsHH5-.js → TermsOfService-DoPiQYS7.js} +6 -6
- package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
- package/dist/{_-DZrN6t_6.js → _-IWx6O9VX.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-C4mV4F7L.js → _.vue_vue_type_style_index_0_lang-DGEXmj4f.js} +7 -7
- package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
- package/dist/_commonjsHelpers-DLzKE872.js +2650 -0
- package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
- package/dist/{_sentry-release-injection-file-Bgn3HK9h.js → _sentry-release-injection-file-BLCF_5fD.js} +3 -3
- package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
- package/dist/availability.js +21 -22
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +19 -20
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +23 -24
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +54 -55
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-D-wdGVBh.js → giftCard-gaWxo7v2.js} +15 -15
- package/dist/giftCard-gaWxo7v2.js.br +0 -0
- package/dist/hotel.js +748 -749
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-D3cbfEtC.js → masonry.plugin-C7YeIXYO.js} +10 -10
- package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
- package/dist/{mitt-BWKhoTz3.js → mitt-tOYHzZHa.js} +2 -2
- package/dist/mitt-tOYHzZHa.js.br +0 -0
- package/dist/polyfill.js +13672 -4661
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B8UHQIzP.js → style-iCfvULKs.js} +2 -2
- package/dist/style-iCfvULKs.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-_CEmKSlf.js.br +0 -0
- package/dist/AvailabilitySkeleton-CHDZOB_s.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js.br +0 -0
- package/dist/CheckoutWindow-BzoYJ5v5.js.br +0 -0
- package/dist/ErrorMessage-Cc8QanBP.js.br +0 -0
- package/dist/EventAvailabilityForm-CdmiDieo.js.br +0 -0
- package/dist/Field-DMMbo6LE.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js.br +0 -0
- package/dist/TermsOfService-YxQsHH5-.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C4mV4F7L.js.br +0 -0
- package/dist/_commonjsHelpers-BqFuLgLz.js +0 -25
- package/dist/_commonjsHelpers-BqFuLgLz.js.br +0 -0
- package/dist/_sentry-release-injection-file-Bgn3HK9h.js.br +0 -0
- package/dist/giftCard-D-wdGVBh.js.br +0 -0
- package/dist/masonry.plugin-D3cbfEtC.js.br +0 -0
- package/dist/mitt-BWKhoTz3.js.br +0 -0
- package/dist/sentry-D-KvzqAy.js +0 -1452
- package/dist/sentry-D-KvzqAy.js.br +0 -0
- package/dist/style-B8UHQIzP.js.br +0 -0
package/dist/gift-card.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as
|
|
2
|
-
import { u as B, T as me, s as K, c as fe, l as ve, i as be, m as _e } from "./mitt-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { S as Le } from "./TermsOfService-YxQsHH5-.js";
|
|
1
|
+
import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as L, h as oe, z as ne, o as ie, S as se, A as I, B as M, F as de, s as re, v as b, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-BLCF_5fD.js";
|
|
2
|
+
import { u as B, T as me, s as K, c as fe, l as ve, i as be, m as _e } from "./mitt-tOYHzZHa.js";
|
|
3
|
+
import { a as he, d as S, q as ge, E as ye, _ as x, e as ke, o as Ce, L as Ve, T as q, b as we, C as $e, c as Fe, n as Ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
|
|
4
|
+
import { G as Pe } from "./style-iCfvULKs.js";
|
|
5
|
+
import { u as D } from "./giftCard-gaWxo7v2.js";
|
|
6
|
+
import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
|
|
7
|
+
import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-Jd7cv0fV.js";
|
|
8
|
+
import { F as U } from "./Field-DBjYUlqg.js";
|
|
9
|
+
import { E as Me } from "./ErrorMessage-CY9XqT_-.js";
|
|
10
|
+
import { S as qe } from "./TermsOfService-DoPiQYS7.js";
|
|
12
11
|
(function() {
|
|
13
12
|
try {
|
|
14
|
-
var
|
|
15
|
-
|
|
13
|
+
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
|
|
14
|
+
d && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[d] = "cc6062d2-cd6a-4f70-bda7-d00872be3ddd", r._sentryDebugIdIdentifier = "sentry-dbid-cc6062d2-cd6a-4f70-bda7-d00872be3ddd");
|
|
16
15
|
} catch {
|
|
17
16
|
}
|
|
18
17
|
})();
|
|
@@ -24,7 +23,7 @@ import { S as Le } from "./TermsOfService-YxQsHH5-.js";
|
|
|
24
23
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
25
24
|
);
|
|
26
25
|
}
|
|
27
|
-
const
|
|
26
|
+
const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-selector-wrapper" }, Re = { class: "media-selector-tools" }, De = { key: 0 }, xe = { key: 1 }, He = { key: 2 }, je = ["src"], Ne = /* @__PURE__ */ T({
|
|
28
27
|
__name: "MediaSelector",
|
|
29
28
|
props: {
|
|
30
29
|
modelValue: {},
|
|
@@ -34,8 +33,8 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
34
33
|
required: { type: Boolean, default: !1 }
|
|
35
34
|
},
|
|
36
35
|
emits: ["update:modelValue"],
|
|
37
|
-
setup(
|
|
38
|
-
const c =
|
|
36
|
+
setup(r, { emit: d }) {
|
|
37
|
+
const c = d, o = r, { t: p } = B(), { display: _ } = he(), v = Y(), h = J(() => o.modelValue.base64 !== "");
|
|
39
38
|
function V(t) {
|
|
40
39
|
c("update:modelValue", t);
|
|
41
40
|
}
|
|
@@ -66,13 +65,13 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
66
65
|
let t;
|
|
67
66
|
(t = v.value.files) instanceof FileList && j(t[0], V);
|
|
68
67
|
}
|
|
69
|
-
return (t, u) => (i(), k(
|
|
68
|
+
return (t, u) => (i(), k(ge, {
|
|
70
69
|
label: t.label,
|
|
71
70
|
required: t.required,
|
|
72
71
|
type: "media"
|
|
73
72
|
}, {
|
|
74
73
|
default: C(() => [
|
|
75
|
-
l("div",
|
|
74
|
+
l("div", Le, [
|
|
76
75
|
l("input", {
|
|
77
76
|
ref_key: "fileInput",
|
|
78
77
|
ref: v,
|
|
@@ -130,9 +129,9 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
130
129
|
}, 8, ["label", "required"]));
|
|
131
130
|
}
|
|
132
131
|
});
|
|
133
|
-
function O(
|
|
134
|
-
const
|
|
135
|
-
|
|
132
|
+
function O(r) {
|
|
133
|
+
const d = r;
|
|
134
|
+
d.__i18n = d.__i18n || [], d.__i18n.push({
|
|
136
135
|
locale: "",
|
|
137
136
|
resource: {
|
|
138
137
|
da: {
|
|
@@ -153,15 +152,15 @@ function O(d) {
|
|
|
153
152
|
typeof O == "function" && O(Ne);
|
|
154
153
|
const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-form" }, Oe = /* @__PURE__ */ T({
|
|
155
154
|
__name: "GiftCardSkeleton",
|
|
156
|
-
setup(
|
|
157
|
-
return (
|
|
155
|
+
setup(r) {
|
|
156
|
+
return (d, c) => (i(), m("div", ze, [
|
|
158
157
|
l("div", Ke, [
|
|
159
158
|
a(U),
|
|
160
159
|
a(U),
|
|
161
160
|
a(U),
|
|
162
161
|
a(U),
|
|
163
162
|
a(U, { "is-text-area": "" }),
|
|
164
|
-
a(
|
|
163
|
+
a(ye, { height: "44px" })
|
|
165
164
|
])
|
|
166
165
|
]));
|
|
167
166
|
}
|
|
@@ -171,8 +170,8 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
171
170
|
content: {},
|
|
172
171
|
buttonLabel: {}
|
|
173
172
|
},
|
|
174
|
-
setup(
|
|
175
|
-
const { t:
|
|
173
|
+
setup(r) {
|
|
174
|
+
const { t: d } = B(), c = Y(!1);
|
|
176
175
|
return (o, p) => (i(), m("div", Ye, [
|
|
177
176
|
a(e(me), {
|
|
178
177
|
keypath: "general.termsAndConditionsNotice",
|
|
@@ -180,7 +179,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
180
179
|
scope: "global"
|
|
181
180
|
}, {
|
|
182
181
|
button: C(() => [
|
|
183
|
-
l("i", null, '"' +
|
|
182
|
+
l("i", null, '"' + L(o.buttonLabel) + '"', 1)
|
|
184
183
|
]),
|
|
185
184
|
terms: C(() => [
|
|
186
185
|
l("a", {
|
|
@@ -188,12 +187,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
188
187
|
target: "_blank",
|
|
189
188
|
onClick: p[0] || (p[0] = oe((_) => c.value = !0, ["prevent"]))
|
|
190
189
|
}, [
|
|
191
|
-
l("span", null,
|
|
190
|
+
l("span", null, L(e(d)("general.termsAndConditions")), 1)
|
|
192
191
|
])
|
|
193
192
|
]),
|
|
194
193
|
_: 1
|
|
195
194
|
}),
|
|
196
|
-
a(
|
|
195
|
+
a(qe, {
|
|
197
196
|
modelValue: c.value,
|
|
198
197
|
"onUpdate:modelValue": p[1] || (p[1] = (_) => c.value = _),
|
|
199
198
|
description: o.content
|
|
@@ -202,19 +201,19 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
202
201
|
}
|
|
203
202
|
}), Qe = /* @__PURE__ */ x(Je, [["__scopeId", "data-v-f587c956"]]), Xe = /* @__PURE__ */ T({
|
|
204
203
|
__name: "GiftCard",
|
|
205
|
-
setup(
|
|
206
|
-
const { t:
|
|
204
|
+
setup(r) {
|
|
205
|
+
const { t: d } = B(), c = D();
|
|
207
206
|
return (o, p) => (i(), k(Qe, {
|
|
208
207
|
content: e(c).termsOfService,
|
|
209
|
-
"button-label": e(
|
|
208
|
+
"button-label": e(d)("giftCard.orderGiftCard")
|
|
210
209
|
}, null, 8, ["content", "button-label"]));
|
|
211
210
|
}
|
|
212
|
-
}), Ze = (
|
|
211
|
+
}), Ze = (r) => (ue("data-v-278e1031"), r = r(), ce(), r), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
|
|
213
212
|
key: 0,
|
|
214
213
|
id: "konnectio-select-place-type"
|
|
215
|
-
},
|
|
214
|
+
}, dl = {
|
|
216
215
|
class: /* @__PURE__ */ Q(["konnectio-label", "required"])
|
|
217
|
-
},
|
|
216
|
+
}, rl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
|
|
218
217
|
key: 0,
|
|
219
218
|
id: "konnectio-gift-card-order"
|
|
220
219
|
}, pl = { class: "konnectio-panel" }, ml = {
|
|
@@ -232,10 +231,10 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
232
231
|
placeType: {},
|
|
233
232
|
styling: {}
|
|
234
233
|
},
|
|
235
|
-
setup(
|
|
236
|
-
const
|
|
234
|
+
setup(r) {
|
|
235
|
+
const d = r, c = J(() => ({
|
|
237
236
|
panelMaxWidth: "800px",
|
|
238
|
-
...
|
|
237
|
+
...d.styling
|
|
239
238
|
})), { t: o } = B(), {
|
|
240
239
|
name: p,
|
|
241
240
|
email: _,
|
|
@@ -254,13 +253,13 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
254
253
|
hasFilledForm: P,
|
|
255
254
|
hasForcedPlaceType: R,
|
|
256
255
|
isWaitingForResponse: F
|
|
257
|
-
} = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(
|
|
256
|
+
} = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(ke());
|
|
258
257
|
return ne(t, () => {
|
|
259
258
|
$.value = void 0;
|
|
260
259
|
}), ie(() => {
|
|
261
|
-
const E =
|
|
260
|
+
const E = d.placeType ? parseInt(d.placeType) : void 0;
|
|
262
261
|
X(E);
|
|
263
|
-
}), (E, s) => (i(), k(
|
|
262
|
+
}), (E, s) => (i(), k($e, { styling: c.value }, {
|
|
264
263
|
default: C(() => [
|
|
265
264
|
(i(), k(se, null, {
|
|
266
265
|
default: C(() => [
|
|
@@ -281,7 +280,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
281
280
|
}, [
|
|
282
281
|
l("div", ll, [
|
|
283
282
|
l("h2", tl, [
|
|
284
|
-
l("span", null,
|
|
283
|
+
l("span", null, L(e(o)("giftCard.title")), 1)
|
|
285
284
|
]),
|
|
286
285
|
l("div", al, [
|
|
287
286
|
I(l("div", ol, [
|
|
@@ -297,12 +296,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
297
296
|
l("form", null, [
|
|
298
297
|
e(R) ? f("", !0) : (i(), m("div", il, [
|
|
299
298
|
e(g) ? (i(), m("div", sl, [
|
|
300
|
-
l("label",
|
|
301
|
-
l("span", null,
|
|
299
|
+
l("label", dl, [
|
|
300
|
+
l("span", null, L(e(o)("giftCard.selectType")), 1)
|
|
302
301
|
]),
|
|
303
|
-
l("div",
|
|
302
|
+
l("div", rl, [
|
|
304
303
|
l("ul", null, [
|
|
305
|
-
(i(!0), m(
|
|
304
|
+
(i(!0), m(de, null, re(e(g), (n, z) => (i(), m("li", { key: z }, [
|
|
306
305
|
a(Te, {
|
|
307
306
|
modelValue: e(t),
|
|
308
307
|
"onUpdate:modelValue": s[0] || (s[0] = (ae) => b(t) ? t.value = ae : null),
|
|
@@ -313,7 +312,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
313
312
|
}, null, 8, ["modelValue", "val", "label"])
|
|
314
313
|
]))), 128))
|
|
315
314
|
]),
|
|
316
|
-
e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(
|
|
315
|
+
e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(Ce, {
|
|
317
316
|
key: 0,
|
|
318
317
|
modelValue: e($),
|
|
319
318
|
"onUpdate:modelValue": s[1] || (s[1] = (n) => b($) ? $.value = n : null),
|
|
@@ -324,9 +323,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
324
323
|
required: ""
|
|
325
324
|
}, null, 8, ["modelValue", "placeholder", "options"])) : f("", !0)
|
|
326
325
|
])
|
|
327
|
-
])) : (i(), k(
|
|
326
|
+
])) : (i(), k(Ve, { key: 1 }))
|
|
328
327
|
])),
|
|
329
|
-
a(
|
|
328
|
+
a(q, {
|
|
330
329
|
modelValue: e(p),
|
|
331
330
|
"onUpdate:modelValue": s[2] || (s[2] = (n) => b(p) ? p.value = n : null),
|
|
332
331
|
type: "text",
|
|
@@ -337,7 +336,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
337
336
|
placeholder: e(o)("giftCard.namePlaceholder"),
|
|
338
337
|
required: ""
|
|
339
338
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
340
|
-
a(
|
|
339
|
+
a(q, {
|
|
341
340
|
modelValue: e(_),
|
|
342
341
|
"onUpdate:modelValue": s[3] || (s[3] = (n) => b(_) ? _.value = n : null),
|
|
343
342
|
type: "email",
|
|
@@ -356,7 +355,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
356
355
|
placeholder: e(o)("giftCard.phonePlaceholder"),
|
|
357
356
|
required: ""
|
|
358
357
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
359
|
-
a(
|
|
358
|
+
a(q, {
|
|
360
359
|
modelValue: e(h),
|
|
361
360
|
"onUpdate:modelValue": s[5] || (s[5] = (n) => b(h) ? h.value = n : null),
|
|
362
361
|
type: "number",
|
|
@@ -369,7 +368,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
369
368
|
}, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
|
|
370
369
|
f("", !0),
|
|
371
370
|
f("", !0),
|
|
372
|
-
a(
|
|
371
|
+
a(we, {
|
|
373
372
|
modelValue: e(w),
|
|
374
373
|
"onUpdate:modelValue": s[8] || (s[8] = (n) => b(w) ? w.value = n : null),
|
|
375
374
|
label: e(o)("giftCard.quantity"),
|
|
@@ -401,7 +400,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
401
400
|
])
|
|
402
401
|
])) : f("", !0),
|
|
403
402
|
e(u) ? (i(), m("div", ml, [
|
|
404
|
-
a(
|
|
403
|
+
a(q, {
|
|
405
404
|
modelValue: e(V),
|
|
406
405
|
"onUpdate:modelValue": s[10] || (s[10] = (n) => b(V) ? V.value = n : null),
|
|
407
406
|
type: "textarea",
|
|
@@ -456,8 +455,8 @@ class yl extends HTMLElement {
|
|
|
456
455
|
this.vueApp.unmount();
|
|
457
456
|
}
|
|
458
457
|
connectedCallback() {
|
|
459
|
-
const
|
|
460
|
-
this.vueApp = pe(W,
|
|
458
|
+
const d = ve(W, this.attributes);
|
|
459
|
+
this.vueApp = pe(W, d), Fe(this.vueApp), this.vueApp.provide("emitter", gl), this.vueApp.use(hl), this.vueApp.use(be), this.vueApp.use(Pe), this.vueApp.use(Ee, { bootstrap: !0 });
|
|
461
460
|
const c = document.createElement("div");
|
|
462
461
|
this.vueApp.mount(c), this.appendChild(c.children[0]);
|
|
463
462
|
}
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as X, s as Y, a as P } from "./mitt-
|
|
3
|
-
import { r as t, c as a } from "./_sentry-release-injection-file-
|
|
1
|
+
import { t as H, a as J, e as A, G as o, v as b, S as k, w as O, p as x, x as Q } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
|
|
2
|
+
import { d as X, s as Y, a as P } from "./mitt-tOYHzZHa.js";
|
|
3
|
+
import { r as t, c as a } from "./_sentry-release-injection-file-BLCF_5fD.js";
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c = new Error().stack;
|
|
7
|
-
c && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[c] = "
|
|
7
|
+
c && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[c] = "3da52fa2-86af-46d0-ab79-060d55c767d4", r._sentryDebugIdIdentifier = "sentry-dbid-3da52fa2-86af-46d0-ab79-060d55c767d4");
|
|
8
8
|
} catch {
|
|
9
9
|
}
|
|
10
10
|
})();
|
|
11
11
|
{
|
|
12
|
-
var
|
|
13
|
-
|
|
12
|
+
var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
13
|
+
f._sentryModuleMetadata = f._sentryModuleMetadata || {}, f._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
14
14
|
{},
|
|
15
|
-
|
|
15
|
+
f._sentryModuleMetadata[new Error().stack],
|
|
16
16
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
const te = X("giftCard", () => {
|
|
20
|
-
const { pay: r } = H(), { display: c } = J(), { bearerToken:
|
|
20
|
+
const { pay: r } = H(), { display: c } = J(), { bearerToken: v, metaData: I, currencyId: j, hasError: T } = Y(A()), F = A(), n = t(o.InitialState), p = b("konnectio_name", "", void 0, { serializer: k.string }), g = b("konnectio_email", "", void 0, { serializer: k.string }), y = b("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), _ = t(1), C = t(!0), D = t(""), u = t({
|
|
21
21
|
base64: "",
|
|
22
22
|
type: "",
|
|
23
23
|
name: ""
|
|
24
|
-
}), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess),
|
|
24
|
+
}), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess), S = a(() => {
|
|
25
25
|
const e = {
|
|
26
26
|
1: {
|
|
27
27
|
label: P.t("giftCard.hotelType"),
|
|
@@ -40,9 +40,9 @@ const te = X("giftCard", () => {
|
|
|
40
40
|
}), R = a(() => w.value !== 0), i = a(() => {
|
|
41
41
|
let e;
|
|
42
42
|
if (R.value)
|
|
43
|
-
e =
|
|
43
|
+
e = S.value[w.value].data[0];
|
|
44
44
|
else if (h.value !== 0) {
|
|
45
|
-
const l = E.value, s =
|
|
45
|
+
const l = E.value, s = S.value[h.value].data;
|
|
46
46
|
s.length === 1 ? e = s[0] : l !== void 0 && s.forEach((z) => {
|
|
47
47
|
String(z.id) === String(l) && (e = z);
|
|
48
48
|
});
|
|
@@ -56,7 +56,7 @@ const te = X("giftCard", () => {
|
|
|
56
56
|
language: x()
|
|
57
57
|
},
|
|
58
58
|
headers: {
|
|
59
|
-
Authorization:
|
|
59
|
+
Authorization: v.value,
|
|
60
60
|
Accept: "application/json"
|
|
61
61
|
}
|
|
62
62
|
})).data;
|
|
@@ -88,7 +88,7 @@ const te = X("giftCard", () => {
|
|
|
88
88
|
placeID: i.value ? i.value.id : void 0
|
|
89
89
|
}, {
|
|
90
90
|
headers: {
|
|
91
|
-
Authorization:
|
|
91
|
+
Authorization: v.value,
|
|
92
92
|
Accept: "application/json"
|
|
93
93
|
}
|
|
94
94
|
}).then((e) => {
|
|
@@ -117,7 +117,7 @@ const te = X("giftCard", () => {
|
|
|
117
117
|
showFormPage: W,
|
|
118
118
|
showPaymentPage: L,
|
|
119
119
|
showConfirmationPage: q,
|
|
120
|
-
places:
|
|
120
|
+
places: S,
|
|
121
121
|
hasFilledForm: B,
|
|
122
122
|
hasForcedPlaceType: R,
|
|
123
123
|
isWaitingForResponse: N,
|
|
@@ -131,4 +131,4 @@ const te = X("giftCard", () => {
|
|
|
131
131
|
export {
|
|
132
132
|
te as u
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=giftCard-
|
|
134
|
+
//# sourceMappingURL=giftCard-gaWxo7v2.js.map
|
|
Binary file
|