@konnectio/core 4.0.59 → 4.0.61
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-GHsNRSZm.js → ActionField-BXj6PfYZ.js} +3 -3
- package/dist/ActionField-BXj6PfYZ.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CyvafyOT.js → AvailabilitySkeleton-BLnNIU9-.js} +22 -23
- package/dist/AvailabilitySkeleton-BLnNIU9-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js +8668 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js.br +0 -0
- package/dist/{CheckoutWindow-BqJ6ZsZD.js → CheckoutWindow-DLuBkYGS.js} +40 -40
- package/dist/CheckoutWindow-DLuBkYGS.js.br +0 -0
- package/dist/{ErrorMessage-144-POu6.js → ErrorMessage-Cy1scjLu.js} +3 -3
- package/dist/ErrorMessage-Cy1scjLu.js.br +0 -0
- package/dist/{EventAvailabilityForm-CJff-76Z.js → EventAvailabilityForm-DPs8I6AR.js} +5 -5
- package/dist/EventAvailabilityForm-DPs8I6AR.js.br +0 -0
- package/dist/{Field-BrI8toPe.js → Field-53ZoaiDU.js} +3 -3
- package/dist/Field-53ZoaiDU.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js} +709 -819
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js.br +0 -0
- package/dist/TermsOfService-lYI4Wr0J.js +36 -0
- package/dist/TermsOfService-lYI4Wr0J.js.br +0 -0
- package/dist/{_-CHRCWC6p.js → _-CBiS4A4B.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-BUoCnNZd.js → _.vue_vue_type_style_index_0_lang-CukAL2Kn.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-CukAL2Kn.js.br +0 -0
- package/dist/{_commonjsHelpers-CYyxJoRf.js → _commonjsHelpers-5UvwmKmn.js} +2 -2
- package/dist/{_sentry-release-injection-file-CkMeg-D2.js → _sentry-release-injection-file-CE-HFIuO.js} +3458 -3488
- package/dist/_sentry-release-injection-file-CE-HFIuO.js.br +0 -0
- package/dist/availability.js +7 -7
- 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 +44 -43
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +29 -28
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +72 -71
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DtBMjMxF.js → giftCard-DxfwOj4W.js} +4 -4
- package/dist/giftCard-DxfwOj4W.js.br +0 -0
- package/dist/hotel.js +710 -702
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-DTj3FRoF.js +10375 -0
- package/dist/masonry.plugin-DTj3FRoF.js.br +0 -0
- package/dist/{mitt-Cbb-9RWx.js → mitt-BI4s3zkK.js} +92 -93
- package/dist/mitt-BI4s3zkK.js.br +0 -0
- package/dist/polyfill.js +651 -975
- package/dist/polyfill.js.br +0 -0
- package/dist/style-DoXJRC4t.js +2328 -0
- package/dist/style-DoXJRC4t.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +9 -9
- package/dist/ActionField-GHsNRSZm.js.br +0 -0
- package/dist/AvailabilitySkeleton-CyvafyOT.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js +0 -8658
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js.br +0 -0
- package/dist/CheckoutWindow-BqJ6ZsZD.js.br +0 -0
- package/dist/ErrorMessage-144-POu6.js.br +0 -0
- package/dist/EventAvailabilityForm-CJff-76Z.js.br +0 -0
- package/dist/Field-BrI8toPe.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js.br +0 -0
- package/dist/TermsOfService-DLQtIpLt.js +0 -36
- package/dist/TermsOfService-DLQtIpLt.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BUoCnNZd.js.br +0 -0
- package/dist/_sentry-release-injection-file-CkMeg-D2.js.br +0 -0
- package/dist/giftCard-DtBMjMxF.js.br +0 -0
- package/dist/masonry.plugin-Ch8U9Epf.js +0 -12782
- package/dist/masonry.plugin-Ch8U9Epf.js.br +0 -0
- package/dist/mitt-Cbb-9RWx.js.br +0 -0
package/dist/gift-card.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { d as S, r as K, c as Z, a as s, b as w, w as $, e as t, g as v, f as o, u as e, i as g, n as Y, t as q, h as ae, z as oe, o as ne, S as ie, A as I, B as
|
|
2
|
-
import { u as B, T as pe, s as O, c as me, i as fe, m as be } from "./mitt-
|
|
3
|
-
import { a as ve, c as T, p as he, E as _e, _ as z, d as ge, n as ke, L as ye, T as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { d as S, r as K, c as Z, a as s, b as w, w as $, e as t, g as v, f as o, u as e, i as g, n as Y, t as q, h as ae, z as oe, o as ne, S as ie, A as I, B as G, F as se, s as re, v as y, p as de, j as ue, k as ce } from "./_sentry-release-injection-file-CE-HFIuO.js";
|
|
2
|
+
import { u as B, T as pe, s as O, c as me, i as fe, m as be } from "./mitt-BI4s3zkK.js";
|
|
3
|
+
import { a as ve, c as T, p as he, E as _e, _ as z, d as ge, n as ke, L as ye, T as L, b as Ce, C as Ve, m as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js";
|
|
4
|
+
import { G as $e } from "./style-DoXJRC4t.js";
|
|
5
|
+
import { u as x } from "./giftCard-DxfwOj4W.js";
|
|
6
|
+
import { _ as Fe } from "./_.vue_vue_type_style_index_0_lang-CukAL2Kn.js";
|
|
7
|
+
import { a as Ee, C as Pe, P as Ue, _ as Ae } from "./CheckoutWindow-DLuBkYGS.js";
|
|
8
|
+
import { F as A } from "./Field-53ZoaiDU.js";
|
|
9
|
+
import { E as Te } from "./ErrorMessage-Cy1scjLu.js";
|
|
10
|
+
import { S as Se } from "./TermsOfService-lYI4Wr0J.js";
|
|
10
11
|
(function() {
|
|
11
12
|
try {
|
|
12
13
|
var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
13
|
-
n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "
|
|
14
|
+
n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "64f5221e-3a81-4cdf-ac5b-15c2adc9eeb3", d._sentryDebugIdIdentifier = "sentry-dbid-64f5221e-3a81-4cdf-ac5b-15c2adc9eeb3");
|
|
14
15
|
} catch {
|
|
15
16
|
}
|
|
16
17
|
})();
|
|
17
|
-
const
|
|
18
|
+
const Ie = { class: "media-selector" }, Ge = ["accept"], Le = { class: "media-selector-wrapper" }, Me = { class: "media-selector-tools" }, qe = { key: 0 }, Be = { key: 1 }, Re = { key: 2 }, De = ["src"], xe = /* @__PURE__ */ S({
|
|
18
19
|
__name: "MediaSelector",
|
|
19
20
|
props: {
|
|
20
21
|
modelValue: {},
|
|
@@ -62,7 +63,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
|
|
|
62
63
|
type: "media"
|
|
63
64
|
}, {
|
|
64
65
|
default: $(() => [
|
|
65
|
-
t("div",
|
|
66
|
+
t("div", Ie, [
|
|
66
67
|
t("input", {
|
|
67
68
|
ref_key: "fileInput",
|
|
68
69
|
ref: p,
|
|
@@ -71,10 +72,10 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
|
|
|
71
72
|
accept: a.validation,
|
|
72
73
|
single: "",
|
|
73
74
|
onChange: f[0] || (f[0] = (V) => F())
|
|
74
|
-
}, null, 40,
|
|
75
|
+
}, null, 40, Ge),
|
|
75
76
|
t("div", Le, [
|
|
76
77
|
t("ul", Me, [
|
|
77
|
-
_.value ? g("", !0) : (s(), v("li",
|
|
78
|
+
_.value ? g("", !0) : (s(), v("li", qe, [
|
|
78
79
|
o(T, {
|
|
79
80
|
label: e(c)("uploadFile"),
|
|
80
81
|
type: "button",
|
|
@@ -83,7 +84,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
|
|
|
83
84
|
onClickEvent: f[1] || (f[1] = (V) => b())
|
|
84
85
|
}, null, 8, ["label", "icon-color"])
|
|
85
86
|
])),
|
|
86
|
-
_.value ? (s(), v("li",
|
|
87
|
+
_.value ? (s(), v("li", Be, [
|
|
87
88
|
o(T, {
|
|
88
89
|
label: e(c)("replaceFile"),
|
|
89
90
|
type: "button",
|
|
@@ -92,7 +93,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
|
|
|
92
93
|
onClickEvent: f[2] || (f[2] = (V) => b())
|
|
93
94
|
}, null, 8, ["label", "icon-color"])
|
|
94
95
|
])) : g("", !0),
|
|
95
|
-
_.value ? (s(), v("li",
|
|
96
|
+
_.value ? (s(), v("li", Re, [
|
|
96
97
|
o(T, {
|
|
97
98
|
label: e(c)("removeFile"),
|
|
98
99
|
type: "button",
|
|
@@ -111,7 +112,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
|
|
|
111
112
|
a.modelValue ? (s(), v("img", {
|
|
112
113
|
key: 0,
|
|
113
114
|
src: a.modelValue.base64
|
|
114
|
-
}, null, 8,
|
|
115
|
+
}, null, 8, De)) : g("", !0)
|
|
115
116
|
], 2)
|
|
116
117
|
])
|
|
117
118
|
])
|
|
@@ -140,12 +141,12 @@ function W(d) {
|
|
|
140
141
|
}
|
|
141
142
|
});
|
|
142
143
|
}
|
|
143
|
-
typeof W == "function" && W(
|
|
144
|
-
const
|
|
144
|
+
typeof W == "function" && W(xe);
|
|
145
|
+
const ze = { class: "gift-card-skeleton" }, je = { class: "gift-card-skeleton-form" }, He = /* @__PURE__ */ S({
|
|
145
146
|
__name: "GiftCardSkeleton",
|
|
146
147
|
setup(d) {
|
|
147
|
-
return (n, m) => (s(), v("div",
|
|
148
|
-
t("div",
|
|
148
|
+
return (n, m) => (s(), v("div", ze, [
|
|
149
|
+
t("div", je, [
|
|
149
150
|
o(A),
|
|
150
151
|
o(A),
|
|
151
152
|
o(A),
|
|
@@ -155,7 +156,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
155
156
|
])
|
|
156
157
|
]));
|
|
157
158
|
}
|
|
158
|
-
}),
|
|
159
|
+
}), Ne = /* @__PURE__ */ z(He, [["__scopeId", "data-v-ba3efaa1"]]), Oe = { class: "konnectio-accept-terms" }, We = /* @__PURE__ */ S({
|
|
159
160
|
__name: "_",
|
|
160
161
|
props: {
|
|
161
162
|
content: {},
|
|
@@ -163,7 +164,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
163
164
|
},
|
|
164
165
|
setup(d) {
|
|
165
166
|
const { t: n } = B(), m = K(!1);
|
|
166
|
-
return (l, c) => (s(), v("div",
|
|
167
|
+
return (l, c) => (s(), v("div", Oe, [
|
|
167
168
|
o(e(pe), {
|
|
168
169
|
keypath: "general.termsAndConditionsNotice",
|
|
169
170
|
tag: "span",
|
|
@@ -183,37 +184,37 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
183
184
|
]),
|
|
184
185
|
_: 1
|
|
185
186
|
}),
|
|
186
|
-
o(
|
|
187
|
+
o(Se, {
|
|
187
188
|
modelValue: m.value,
|
|
188
189
|
"onUpdate:modelValue": c[1] || (c[1] = (h) => m.value = h),
|
|
189
190
|
description: l.content
|
|
190
191
|
}, null, 8, ["modelValue", "description"])
|
|
191
192
|
]));
|
|
192
193
|
}
|
|
193
|
-
}),
|
|
194
|
+
}), Ke = /* @__PURE__ */ z(We, [["__scopeId", "data-v-f587c956"]]), Ze = /* @__PURE__ */ S({
|
|
194
195
|
__name: "GiftCard",
|
|
195
196
|
setup(d) {
|
|
196
197
|
const { t: n } = B(), m = x();
|
|
197
|
-
return (l, c) => (s(), w(
|
|
198
|
+
return (l, c) => (s(), w(Ke, {
|
|
198
199
|
content: e(m).termsOfService,
|
|
199
200
|
"button-label": e(n)("giftCard.orderGiftCard")
|
|
200
201
|
}, null, 8, ["content", "button-label"]));
|
|
201
202
|
}
|
|
202
|
-
}),
|
|
203
|
+
}), Ye = (d) => (de("data-v-278e1031"), d = d(), ue(), d), Je = ["data-layout"], Qe = { id: "konnectio-gift-card-wrapper" }, Xe = { id: "konnectio-gift-card-title" }, et = { id: "konnectio-gift-card-content" }, tt = { id: "konnectio-gift-card-payment" }, lt = ["innerHTML"], at = { key: 0 }, ot = {
|
|
203
204
|
key: 0,
|
|
204
205
|
id: "konnectio-select-place-type"
|
|
205
|
-
},
|
|
206
|
+
}, nt = {
|
|
206
207
|
class: /* @__PURE__ */ Y(["konnectio-label", "required"])
|
|
207
|
-
},
|
|
208
|
+
}, it = { id: "konnectio-select-place-type-input" }, st = ["innerHTML"], rt = {
|
|
208
209
|
key: 0,
|
|
209
210
|
id: "konnectio-gift-card-order"
|
|
210
|
-
},
|
|
211
|
+
}, dt = { class: "konnectio-panel" }, ut = {
|
|
211
212
|
key: 1,
|
|
212
213
|
id: "konnectio-gift-card-remarks"
|
|
213
|
-
},
|
|
214
|
+
}, ct = {
|
|
214
215
|
key: 2,
|
|
215
216
|
id: "konnectio-gift-card-order-minimal"
|
|
216
|
-
},
|
|
217
|
+
}, pt = /* @__PURE__ */ Ye(() => /* @__PURE__ */ t("div", { class: "konnectio-divider" }, null, -1)), mt = { id: "konnectio-gift-card-recaptcha" }, ft = /* @__PURE__ */ S({
|
|
217
218
|
name: "GiftCardLayout",
|
|
218
219
|
__name: "GiftCard",
|
|
219
220
|
props: {
|
|
@@ -254,13 +255,13 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
254
255
|
default: $(() => [
|
|
255
256
|
(s(), w(ie, null, {
|
|
256
257
|
default: $(() => [
|
|
257
|
-
o(
|
|
258
|
+
o(Fe, {
|
|
258
259
|
"access-token": P.accessToken,
|
|
259
260
|
"data-layout": P.layout,
|
|
260
261
|
callback: e(Q)
|
|
261
262
|
}, {
|
|
262
263
|
default: $(() => [
|
|
263
|
-
e(te) ? (s(), w(
|
|
264
|
+
e(te) ? (s(), w(Te, {
|
|
264
265
|
key: 1,
|
|
265
266
|
title: "Unable to render Gift card module",
|
|
266
267
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
@@ -269,31 +270,31 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
269
270
|
id: "konnectio-gift-card-module",
|
|
270
271
|
"data-layout": P.layout
|
|
271
272
|
}, [
|
|
272
|
-
t("div",
|
|
273
|
-
t("h2",
|
|
273
|
+
t("div", Qe, [
|
|
274
|
+
t("h2", Xe, [
|
|
274
275
|
t("span", null, q(e(l)("giftCard.title")), 1)
|
|
275
276
|
]),
|
|
276
|
-
t("div",
|
|
277
|
-
I(t("div",
|
|
278
|
-
o(
|
|
277
|
+
t("div", et, [
|
|
278
|
+
I(t("div", tt, [
|
|
279
|
+
o(Ee)
|
|
279
280
|
], 512), [
|
|
280
|
-
[
|
|
281
|
+
[G, e(V)]
|
|
281
282
|
]),
|
|
282
283
|
I(t("div", null, [
|
|
283
284
|
t("p", {
|
|
284
285
|
id: "konnectio-gift-card-description",
|
|
285
286
|
innerHTML: e(l)("giftCard.description")
|
|
286
|
-
}, null, 8,
|
|
287
|
+
}, null, 8, lt),
|
|
287
288
|
t("form", null, [
|
|
288
|
-
e(D) ? g("", !0) : (s(), v("div",
|
|
289
|
-
e(C) ? (s(), v("div",
|
|
290
|
-
t("label",
|
|
289
|
+
e(D) ? g("", !0) : (s(), v("div", at, [
|
|
290
|
+
e(C) ? (s(), v("div", ot, [
|
|
291
|
+
t("label", nt, [
|
|
291
292
|
t("span", null, q(e(l)("giftCard.selectType")), 1)
|
|
292
293
|
]),
|
|
293
|
-
t("div",
|
|
294
|
+
t("div", it, [
|
|
294
295
|
t("ul", null, [
|
|
295
296
|
(s(!0), v(se, null, re(e(C), (i, N) => (s(), v("li", { key: N }, [
|
|
296
|
-
o(
|
|
297
|
+
o(Pe, {
|
|
297
298
|
modelValue: e(a),
|
|
298
299
|
"onUpdate:modelValue": r[0] || (r[0] = (le) => y(a) ? a.value = le : null),
|
|
299
300
|
type: "radio",
|
|
@@ -316,7 +317,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
316
317
|
])
|
|
317
318
|
])) : (s(), w(ye, { key: 1 }))
|
|
318
319
|
])),
|
|
319
|
-
o(
|
|
320
|
+
o(L, {
|
|
320
321
|
modelValue: e(c),
|
|
321
322
|
"onUpdate:modelValue": r[2] || (r[2] = (i) => y(c) ? c.value = i : null),
|
|
322
323
|
type: "text",
|
|
@@ -327,7 +328,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
327
328
|
placeholder: e(l)("giftCard.namePlaceholder"),
|
|
328
329
|
required: ""
|
|
329
330
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
330
|
-
o(
|
|
331
|
+
o(L, {
|
|
331
332
|
modelValue: e(h),
|
|
332
333
|
"onUpdate:modelValue": r[3] || (r[3] = (i) => y(h) ? h.value = i : null),
|
|
333
334
|
type: "email",
|
|
@@ -338,7 +339,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
338
339
|
placeholder: e(l)("giftCard.emailPlaceholder"),
|
|
339
340
|
required: ""
|
|
340
341
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
341
|
-
o(
|
|
342
|
+
o(Ue, {
|
|
342
343
|
modelValue: e(p),
|
|
343
344
|
"onUpdate:modelValue": r[4] || (r[4] = (i) => y(p) ? p.value = i : null),
|
|
344
345
|
icon: "phone-office",
|
|
@@ -346,7 +347,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
346
347
|
placeholder: e(l)("giftCard.phonePlaceholder"),
|
|
347
348
|
required: ""
|
|
348
349
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
349
|
-
o(
|
|
350
|
+
o(L, {
|
|
350
351
|
modelValue: e(_),
|
|
351
352
|
"onUpdate:modelValue": r[5] || (r[5] = (i) => y(_) ? _.value = i : null),
|
|
352
353
|
type: "number",
|
|
@@ -368,18 +369,18 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
368
369
|
}, null, 8, ["modelValue", "label"])
|
|
369
370
|
])
|
|
370
371
|
], 512), [
|
|
371
|
-
[
|
|
372
|
+
[G, e(f)]
|
|
372
373
|
]),
|
|
373
374
|
I(t("div", null, [
|
|
374
375
|
t("div", {
|
|
375
376
|
innerHTML: e(l)("giftCard.thankYou")
|
|
376
|
-
}, null, 8,
|
|
377
|
+
}, null, 8, st)
|
|
377
378
|
], 512), [
|
|
378
|
-
[
|
|
379
|
+
[G, e(R)]
|
|
379
380
|
])
|
|
380
381
|
]),
|
|
381
|
-
P.layout !== "minimal" && e(f) ? (s(), v("div",
|
|
382
|
-
t("div",
|
|
382
|
+
P.layout !== "minimal" && e(f) ? (s(), v("div", rt, [
|
|
383
|
+
t("div", dt, [
|
|
383
384
|
o(T, {
|
|
384
385
|
label: e(l)("giftCard.orderGiftCard"),
|
|
385
386
|
"full-width": !0,
|
|
@@ -390,8 +391,8 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
390
391
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
391
392
|
])
|
|
392
393
|
])) : g("", !0),
|
|
393
|
-
e(f) ? (s(), v("div",
|
|
394
|
-
o(
|
|
394
|
+
e(f) ? (s(), v("div", ut, [
|
|
395
|
+
o(L, {
|
|
395
396
|
modelValue: e(u),
|
|
396
397
|
"onUpdate:modelValue": r[10] || (r[10] = (i) => y(u) ? u.value = i : null),
|
|
397
398
|
type: "textarea",
|
|
@@ -401,7 +402,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
401
402
|
placeholder: e(l)("giftCard.remarkPlaceholder")
|
|
402
403
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
403
404
|
])) : g("", !0),
|
|
404
|
-
e(f) ? (s(), v("div",
|
|
405
|
+
e(f) ? (s(), v("div", ct, [
|
|
405
406
|
o(T, {
|
|
406
407
|
label: e(l)("giftCard.orderGiftCard"),
|
|
407
408
|
"full-width": !0,
|
|
@@ -412,23 +413,23 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
412
413
|
onClickEvent: e(H)
|
|
413
414
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
414
415
|
t("div", null, [
|
|
415
|
-
|
|
416
|
-
o(
|
|
416
|
+
pt,
|
|
417
|
+
o(Ze)
|
|
417
418
|
]),
|
|
418
|
-
I(t("div",
|
|
419
|
-
o(
|
|
419
|
+
I(t("div", mt, [
|
|
420
|
+
o(Ae)
|
|
420
421
|
], 512), [
|
|
421
|
-
[
|
|
422
|
+
[G, e(X)]
|
|
422
423
|
])
|
|
423
424
|
])) : g("", !0)
|
|
424
425
|
])
|
|
425
|
-
], 8,
|
|
426
|
+
], 8, Je))
|
|
426
427
|
]),
|
|
427
428
|
_: 1
|
|
428
429
|
}, 8, ["access-token", "data-layout", "callback"])
|
|
429
430
|
]),
|
|
430
431
|
fallback: $(() => [
|
|
431
|
-
o(
|
|
432
|
+
o(Ne)
|
|
432
433
|
]),
|
|
433
434
|
_: 1
|
|
434
435
|
}))
|
|
@@ -436,8 +437,8 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
|
|
|
436
437
|
_: 1
|
|
437
438
|
}, 8, ["styling"]));
|
|
438
439
|
}
|
|
439
|
-
}),
|
|
440
|
-
class
|
|
440
|
+
}), M = /* @__PURE__ */ z(ft, [["__scopeId", "data-v-278e1031"]]), bt = me(), vt = be();
|
|
441
|
+
class ht extends HTMLElement {
|
|
441
442
|
vueApp;
|
|
442
443
|
constructor() {
|
|
443
444
|
super();
|
|
@@ -446,7 +447,7 @@ class vt extends HTMLElement {
|
|
|
446
447
|
this.vueApp.unmount();
|
|
447
448
|
}
|
|
448
449
|
connectedCallback() {
|
|
449
|
-
const n = typeof
|
|
450
|
+
const n = typeof M == "function" ? M.options : M;
|
|
450
451
|
let m = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
451
452
|
const l = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (k, b) => (b ? "-" : "") + k.toLowerCase()), c = (u) => u.replace(/-./g, (k) => k[1].toUpperCase()), h = {};
|
|
452
453
|
m = m.map(l);
|
|
@@ -459,13 +460,13 @@ class vt extends HTMLElement {
|
|
|
459
460
|
let k = this.attributes.getNamedItem(u)?.value;
|
|
460
461
|
p.hasOwnProperty(u) && (k = p[u]), h[u] = k;
|
|
461
462
|
}
|
|
462
|
-
this.vueApp = ce(
|
|
463
|
+
this.vueApp = ce(M, h), this.vueApp.provide("emitter", vt), this.vueApp.use(bt), this.vueApp.use(fe), this.vueApp.use($e), this.vueApp.use(we, { bootstrap: !0 });
|
|
463
464
|
const _ = document.createElement("div");
|
|
464
465
|
this.vueApp.mount(_), this.appendChild(_.children[0]);
|
|
465
466
|
}
|
|
466
467
|
}
|
|
467
|
-
window.customElements.define("konnectio-gift-card",
|
|
468
|
+
window.customElements.define("konnectio-gift-card", ht);
|
|
468
469
|
export {
|
|
469
|
-
|
|
470
|
+
ht as default
|
|
470
471
|
};
|
|
471
472
|
//# sourceMappingURL=gift-card.js.map
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as H, a as J, d as E, G as s, t as S, S as w, v as M, o as O, w as K } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
-
import { d as Q, s as X, a as k } from "./mitt-
|
|
3
|
-
import { r as t, c as a } from "./_sentry-release-injection-file-
|
|
1
|
+
import { r as H, a as J, d as E, G as s, t as S, S as w, v as M, o as O, w as K } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js";
|
|
2
|
+
import { d as Q, s as X, a as k } from "./mitt-BI4s3zkK.js";
|
|
3
|
+
import { r as t, c as a } from "./_sentry-release-injection-file-CE-HFIuO.js";
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c = new Error().stack;
|
|
@@ -123,4 +123,4 @@ const ae = Q("giftCard", () => {
|
|
|
123
123
|
export {
|
|
124
124
|
ae as u
|
|
125
125
|
};
|
|
126
|
-
//# sourceMappingURL=giftCard-
|
|
126
|
+
//# sourceMappingURL=giftCard-DxfwOj4W.js.map
|
|
Binary file
|