@konnectio/core 4.0.56-rc37 → 4.0.56-rc39
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-BhYhC0aQ.js → ActionField-Cj7yAIiF.js} +2 -2
- package/dist/ActionField-Cj7yAIiF.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CXRs2yLp.js → AvailabilitySkeleton-B1NfPwnx.js} +4 -4
- package/dist/AvailabilitySkeleton-B1NfPwnx.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js.br +0 -0
- package/dist/{CheckoutWindow-DPJ2GFqg.js → CheckoutWindow-Dj_a3rqK.js} +24 -24
- package/dist/CheckoutWindow-Dj_a3rqK.js.br +0 -0
- package/dist/{ErrorMessage-4DJnsYbI.js → ErrorMessage-B_o47rUW.js} +2 -2
- package/dist/ErrorMessage-B_o47rUW.js.br +0 -0
- package/dist/{EventAvailabilityForm-rUB2CJ24.js → EventAvailabilityForm-vxL1OmZL.js} +3 -3
- package/dist/EventAvailabilityForm-vxL1OmZL.js.br +0 -0
- package/dist/{Field-Dr6RF4JV.js → Field-DC9mZy8_.js} +2 -2
- package/dist/Field-DC9mZy8_.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js} +24 -24
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js.br +0 -0
- package/dist/{TermsOfService-B94i1jM5.js → TermsOfService-COGxWG3S.js} +3 -3
- package/dist/TermsOfService-COGxWG3S.js.br +0 -0
- package/dist/availability.js +4 -4
- package/dist/availability.js.br +0 -0
- package/dist/event.js +106 -106
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +46 -46
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +73 -73
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DPkIO3nk.js → masonry.plugin-a1QQfgj3.js} +866 -866
- package/dist/masonry.plugin-a1QQfgj3.js.br +0 -0
- package/dist/navigation.js +3 -3
- package/dist/polyfill.js +10 -4
- package/dist/polyfill.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-BhYhC0aQ.js.br +0 -0
- package/dist/AvailabilitySkeleton-CXRs2yLp.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js.br +0 -0
- package/dist/CheckoutWindow-DPJ2GFqg.js.br +0 -0
- package/dist/ErrorMessage-4DJnsYbI.js.br +0 -0
- package/dist/EventAvailabilityForm-rUB2CJ24.js.br +0 -0
- package/dist/Field-Dr6RF4JV.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js.br +0 -0
- package/dist/TermsOfService-B94i1jM5.js.br +0 -0
- package/dist/masonry.plugin-DPkIO3nk.js.br +0 -0
package/dist/gift-card.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as V, g as k, d as O, o as
|
|
2
|
-
import { j as ke, k as _e, s as le, o as oe, G as T, q as ae, x as re, S as te, v as Ce, w as Ve, F as we, u as Q, n as Fe, C as z, I as Se, E as Pe, _ as ie, H as Te, a as $e, L as Ee, T as Z, b as Ie, e as Ue, f as Ae, g as Le, h as Ge, i as Re, J as qe, m as Me } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
1
|
+
import { r as V, g as k, d as O, o as u, a as G, w as R, f as l, c as y, e as o, u as e, b as F, n as ue, t as Y, i as ce, q as pe, h as me, S as fe, v as H, x as K, F as ve, y as ge, s as S, p as he, j as be, k as ye } from "./_commonjsHelpers-UWZO_9XV.js";
|
|
2
|
+
import { j as ke, k as _e, s as le, o as oe, G as T, q as ae, x as re, S as te, v as Ce, w as Ve, F as we, u as Q, n as Fe, C as z, I as Se, E as Pe, _ as ie, H as Te, a as $e, L as Ee, T as Z, b as Ie, e as Ue, f as Ae, g as Le, h as Ge, i as Re, J as qe, m as Me } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js";
|
|
3
3
|
import "./navigation.js";
|
|
4
|
-
import { C as De, a as xe, P as Be, _ as ze } from "./CheckoutWindow-
|
|
5
|
-
import { F as B } from "./Field-
|
|
6
|
-
import { E as Oe } from "./ErrorMessage-
|
|
7
|
-
import { S as je } from "./TermsOfService-
|
|
4
|
+
import { C as De, a as xe, P as Be, _ as ze } from "./CheckoutWindow-Dj_a3rqK.js";
|
|
5
|
+
import { F as B } from "./Field-DC9mZy8_.js";
|
|
6
|
+
import { E as Oe } from "./ErrorMessage-B_o47rUW.js";
|
|
7
|
+
import { S as je } from "./TermsOfService-COGxWG3S.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
|
-
var
|
|
11
|
-
n && (
|
|
10
|
+
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
11
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "5036f9f4-1c7e-4814-86bf-1826afd80cd9", c._sentryDebugIdIdentifier = "sentry-dbid-5036f9f4-1c7e-4814-86bf-1826afd80cd9");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
15
|
const ne = ke("giftCard", () => {
|
|
16
|
-
const { pay:
|
|
16
|
+
const { pay: c } = _e(), { bearerToken: n, metaData: v, currencyId: t } = le(oe()), m = oe(), d = V(T.InitialState), p = ae("konnectio_name", "", void 0, { serializer: te.string }), h = ae("konnectio_email", "", void 0, { serializer: te.string }), s = ae("konnectio_phone", "", void 0, { serializer: te.string }), b = V(""), g = V(1), M = V(!0), P = V(""), a = V({
|
|
17
17
|
base64: "",
|
|
18
18
|
type: "",
|
|
19
19
|
name: ""
|
|
@@ -67,10 +67,10 @@ const ne = ke("giftCard", () => {
|
|
|
67
67
|
headers: {
|
|
68
68
|
Authorization: n.value,
|
|
69
69
|
Accept: "application/json",
|
|
70
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
70
|
+
"Fresh-Booking-Ver": "4.0.56-rc39"
|
|
71
71
|
}
|
|
72
72
|
}).then((C) => {
|
|
73
|
-
d.value = T.ReadyToPay, $.value = !1,
|
|
73
|
+
d.value = T.ReadyToPay, $.value = !1, c({
|
|
74
74
|
callback: () => console.log("Callback!"),
|
|
75
75
|
response: C.data
|
|
76
76
|
});
|
|
@@ -114,8 +114,8 @@ const ne = ke("giftCard", () => {
|
|
|
114
114
|
required: { type: Boolean, default: !1 }
|
|
115
115
|
},
|
|
116
116
|
emits: ["update:modelValue"],
|
|
117
|
-
setup(
|
|
118
|
-
const v = n, t =
|
|
117
|
+
setup(c, { emit: n }) {
|
|
118
|
+
const v = n, t = c, { t: m } = Q(), { display: d } = Fe(), p = V(), h = k(() => t.modelValue.base64 !== "");
|
|
119
119
|
function s(a) {
|
|
120
120
|
v("update:modelValue", a);
|
|
121
121
|
}
|
|
@@ -146,7 +146,7 @@ const ne = ke("giftCard", () => {
|
|
|
146
146
|
let a;
|
|
147
147
|
(a = p.value.files) instanceof FileList && M(a[0], s);
|
|
148
148
|
}
|
|
149
|
-
return (a, f) => (
|
|
149
|
+
return (a, f) => (u(), G(Se, {
|
|
150
150
|
label: a.label,
|
|
151
151
|
required: a.required,
|
|
152
152
|
type: "media"
|
|
@@ -164,7 +164,7 @@ const ne = ke("giftCard", () => {
|
|
|
164
164
|
}, null, 40, We),
|
|
165
165
|
l("div", He, [
|
|
166
166
|
l("ul", Ke, [
|
|
167
|
-
h.value ? F("", !0) : (
|
|
167
|
+
h.value ? F("", !0) : (u(), y("li", Ze, [
|
|
168
168
|
o(z, {
|
|
169
169
|
label: e(m)("uploadFile"),
|
|
170
170
|
type: "button",
|
|
@@ -173,7 +173,7 @@ const ne = ke("giftCard", () => {
|
|
|
173
173
|
onClickEvent: f[1] || (f[1] = (w) => g())
|
|
174
174
|
}, null, 8, ["label", "icon-color"])
|
|
175
175
|
])),
|
|
176
|
-
h.value ? (
|
|
176
|
+
h.value ? (u(), y("li", Je, [
|
|
177
177
|
o(z, {
|
|
178
178
|
label: e(m)("replaceFile"),
|
|
179
179
|
type: "button",
|
|
@@ -182,7 +182,7 @@ const ne = ke("giftCard", () => {
|
|
|
182
182
|
onClickEvent: f[2] || (f[2] = (w) => g())
|
|
183
183
|
}, null, 8, ["label", "icon-color"])
|
|
184
184
|
])) : F("", !0),
|
|
185
|
-
h.value ? (
|
|
185
|
+
h.value ? (u(), y("li", Ye, [
|
|
186
186
|
o(z, {
|
|
187
187
|
label: e(m)("removeFile"),
|
|
188
188
|
type: "button",
|
|
@@ -193,12 +193,12 @@ const ne = ke("giftCard", () => {
|
|
|
193
193
|
])) : F("", !0)
|
|
194
194
|
]),
|
|
195
195
|
l("div", {
|
|
196
|
-
class:
|
|
196
|
+
class: ue([
|
|
197
197
|
"media-selector-previewer",
|
|
198
198
|
{ opened: h.value }
|
|
199
199
|
])
|
|
200
200
|
}, [
|
|
201
|
-
a.modelValue ? (
|
|
201
|
+
a.modelValue ? (u(), y("img", {
|
|
202
202
|
key: 0,
|
|
203
203
|
src: a.modelValue.base64
|
|
204
204
|
}, null, 8, Qe)) : F("", !0)
|
|
@@ -210,8 +210,8 @@ const ne = ke("giftCard", () => {
|
|
|
210
210
|
}, 8, ["label", "required"]));
|
|
211
211
|
}
|
|
212
212
|
});
|
|
213
|
-
function de(
|
|
214
|
-
const n =
|
|
213
|
+
function de(c) {
|
|
214
|
+
const n = c;
|
|
215
215
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
|
216
216
|
locale: "",
|
|
217
217
|
resource: {
|
|
@@ -233,8 +233,8 @@ function de(u) {
|
|
|
233
233
|
typeof de == "function" && de(Xe);
|
|
234
234
|
const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-form" }, ta = /* @__PURE__ */ O({
|
|
235
235
|
__name: "GiftCardSkeleton",
|
|
236
|
-
setup(
|
|
237
|
-
return (n, v) => (
|
|
236
|
+
setup(c) {
|
|
237
|
+
return (n, v) => (u(), y("div", ea, [
|
|
238
238
|
l("div", aa, [
|
|
239
239
|
o(B),
|
|
240
240
|
o(B),
|
|
@@ -251,9 +251,9 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
251
251
|
content: {},
|
|
252
252
|
buttonLabel: {}
|
|
253
253
|
},
|
|
254
|
-
setup(
|
|
254
|
+
setup(c) {
|
|
255
255
|
const { t: n } = Q(), v = V(!1);
|
|
256
|
-
return (t, m) => (
|
|
256
|
+
return (t, m) => (u(), y("div", oa, [
|
|
257
257
|
o(e(Te), {
|
|
258
258
|
keypath: "general.termsAndConditionsNotice",
|
|
259
259
|
tag: "span",
|
|
@@ -266,7 +266,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
266
266
|
l("a", {
|
|
267
267
|
class: "konnectio-accept-terms-link",
|
|
268
268
|
target: "_blank",
|
|
269
|
-
onClick: m[0] || (m[0] =
|
|
269
|
+
onClick: m[0] || (m[0] = ce((d) => v.value = !0, ["prevent"]))
|
|
270
270
|
}, [
|
|
271
271
|
l("span", null, Y(e(n)("general.termsAndConditions")), 1)
|
|
272
272
|
])
|
|
@@ -282,18 +282,18 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
282
282
|
}
|
|
283
283
|
}), ia = /* @__PURE__ */ ie(na, [["__scopeId", "data-v-c9c826cf"]]), sa = /* @__PURE__ */ O({
|
|
284
284
|
__name: "GiftCard",
|
|
285
|
-
setup(
|
|
285
|
+
setup(c) {
|
|
286
286
|
const { t: n } = Q(), v = ne();
|
|
287
|
-
return (t, m) => (
|
|
287
|
+
return (t, m) => (u(), G(ia, {
|
|
288
288
|
content: e(v).termsOfService,
|
|
289
289
|
"button-label": e(n)("giftCard.orderGiftCard")
|
|
290
290
|
}, null, 8, ["content", "button-label"]));
|
|
291
291
|
}
|
|
292
|
-
}), ra = (
|
|
292
|
+
}), ra = (c) => (he("data-v-faae538e"), c = c(), be(), c), da = ["data-layout"], ua = { id: "konnectio-gift-card-wrapper" }, ca = { id: "konnectio-gift-card-title" }, pa = { id: "konnectio-gift-card-content" }, ma = { id: "konnectio-gift-card-payment" }, fa = ["innerHTML"], va = { key: 0 }, ga = {
|
|
293
293
|
key: 0,
|
|
294
294
|
id: "konnectio-select-place-type"
|
|
295
295
|
}, ha = {
|
|
296
|
-
class: /* @__PURE__ */
|
|
296
|
+
class: /* @__PURE__ */ ue(["konnectio-label", "required"])
|
|
297
297
|
}, ba = { id: "konnectio-select-place-type-input" }, ya = ["innerHTML"], ka = {
|
|
298
298
|
key: 0,
|
|
299
299
|
id: "konnectio-gift-card-order"
|
|
@@ -312,8 +312,8 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
312
312
|
placeType: {},
|
|
313
313
|
styling: {}
|
|
314
314
|
},
|
|
315
|
-
setup(
|
|
316
|
-
const n =
|
|
315
|
+
setup(c) {
|
|
316
|
+
const n = c, v = k(() => ({
|
|
317
317
|
panelMaxWidth: "800px",
|
|
318
318
|
...n.styling
|
|
319
319
|
})), { t } = Q(), {
|
|
@@ -340,9 +340,9 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
340
340
|
}), me(() => {
|
|
341
341
|
const A = n.placeType ? parseInt(n.placeType) : void 0;
|
|
342
342
|
X(A);
|
|
343
|
-
}), (A, r) => (
|
|
343
|
+
}), (A, r) => (u(), G(Ae, { styling: v.value }, {
|
|
344
344
|
default: R(() => [
|
|
345
|
-
(
|
|
345
|
+
(u(), G(fe, null, {
|
|
346
346
|
default: R(() => [
|
|
347
347
|
o(Ue, {
|
|
348
348
|
type: "gift-card",
|
|
@@ -350,17 +350,17 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
350
350
|
"data-layout": A.layout
|
|
351
351
|
}, {
|
|
352
352
|
default: R(() => [
|
|
353
|
-
e(U) ? (
|
|
353
|
+
e(U) ? (u(), G(Oe, {
|
|
354
354
|
key: 1,
|
|
355
355
|
title: "Unable to render Gift card module",
|
|
356
356
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
357
|
-
})) : (
|
|
357
|
+
})) : (u(), y("div", {
|
|
358
358
|
key: 0,
|
|
359
359
|
id: "konnectio-gift-card-module",
|
|
360
360
|
"data-layout": A.layout
|
|
361
361
|
}, [
|
|
362
|
-
l("div",
|
|
363
|
-
l("h2",
|
|
362
|
+
l("div", ua, [
|
|
363
|
+
l("h2", ca, [
|
|
364
364
|
l("span", null, Y(e(t)("giftCard.title")), 1)
|
|
365
365
|
]),
|
|
366
366
|
l("div", pa, [
|
|
@@ -375,14 +375,14 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
375
375
|
innerHTML: e(t)("giftCard.description")
|
|
376
376
|
}, null, 8, fa),
|
|
377
377
|
l("form", null, [
|
|
378
|
-
e(D) ? F("", !0) : (
|
|
379
|
-
e(_) ? (
|
|
378
|
+
e(D) ? F("", !0) : (u(), y("div", va, [
|
|
379
|
+
e(_) ? (u(), y("div", ga, [
|
|
380
380
|
l("label", ha, [
|
|
381
381
|
l("span", null, Y(e(t)("giftCard.selectType")), 1)
|
|
382
382
|
]),
|
|
383
383
|
l("div", ba, [
|
|
384
384
|
l("ul", null, [
|
|
385
|
-
(
|
|
385
|
+
(u(!0), y(ve, null, ge(e(_), (i, W) => (u(), y("li", { key: W }, [
|
|
386
386
|
o(xe, {
|
|
387
387
|
modelValue: e(a),
|
|
388
388
|
"onUpdate:modelValue": r[0] || (r[0] = (ee) => S(a) ? a.value = ee : null),
|
|
@@ -393,7 +393,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
393
393
|
}, null, 8, ["modelValue", "val", "label"])
|
|
394
394
|
]))), 128))
|
|
395
395
|
]),
|
|
396
|
-
e(_)[e(a)] && e(_)[e(a)].data.length > 1 ? (
|
|
396
|
+
e(_)[e(a)] && e(_)[e(a)].data.length > 1 ? (u(), G($e, {
|
|
397
397
|
key: 0,
|
|
398
398
|
modelValue: e(P),
|
|
399
399
|
"onUpdate:modelValue": r[1] || (r[1] = (i) => S(P) ? P.value = i : null),
|
|
@@ -404,7 +404,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
404
404
|
required: ""
|
|
405
405
|
}, null, 8, ["modelValue", "placeholder", "options"])) : F("", !0)
|
|
406
406
|
])
|
|
407
|
-
])) : (
|
|
407
|
+
])) : (u(), G(Ee, { key: 1 }))
|
|
408
408
|
])),
|
|
409
409
|
o(Z, {
|
|
410
410
|
modelValue: e(m),
|
|
@@ -468,7 +468,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
468
468
|
[K, e($)]
|
|
469
469
|
])
|
|
470
470
|
]),
|
|
471
|
-
A.layout !== "minimal" && e(f) ? (
|
|
471
|
+
A.layout !== "minimal" && e(f) ? (u(), y("div", ka, [
|
|
472
472
|
l("div", _a, [
|
|
473
473
|
o(z, {
|
|
474
474
|
label: e(t)("giftCard.orderGiftCard"),
|
|
@@ -480,7 +480,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
480
480
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
481
481
|
])
|
|
482
482
|
])) : F("", !0),
|
|
483
|
-
e(f) ? (
|
|
483
|
+
e(f) ? (u(), y("div", Ca, [
|
|
484
484
|
o(Z, {
|
|
485
485
|
modelValue: e(s),
|
|
486
486
|
"onUpdate:modelValue": r[10] || (r[10] = (i) => S(s) ? s.value = i : null),
|
|
@@ -491,7 +491,7 @@ const ea = { class: "gift-card-skeleton" }, aa = { class: "gift-card-skeleton-fo
|
|
|
491
491
|
placeholder: e(t)("giftCard.remarkPlaceholder")
|
|
492
492
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
493
493
|
])) : F("", !0),
|
|
494
|
-
e(f) ? (
|
|
494
|
+
e(f) ? (u(), y("div", Va, [
|
|
495
495
|
o(z, {
|
|
496
496
|
label: e(t)("giftCard.orderGiftCard"),
|
|
497
497
|
"full-width": !0,
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|