@konnectio/core 4.0.56-rc5 → 4.0.56-rc6
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--byx0Lp1.js → ActionField-YyW_C34E.js} +1 -1
- package/dist/ActionField-YyW_C34E.js.br +0 -0
- package/dist/{AvailabilitySkeleton-cL6E9wAp.js → AvailabilitySkeleton-lYcDX41T.js} +4 -4
- package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
- package/dist/{CheckoutWindow-_ZUCAYgm.js → CheckoutWindow-T7-vrZyG.js} +1 -1
- package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
- package/dist/{Container-6UeOakwz.js → Container-w7O0He-s.js} +1 -1
- package/dist/Container-w7O0He-s.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js → DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
- package/dist/{Field-GdMucFcQ.js → Field-fWwF40rD.js} +7 -7
- package/dist/Field-fWwF40rD.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js → SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js} +14599 -11378
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
- package/dist/{ThankYou-9pzt2SfJ.js → ThankYou-pUA2X7-4.js} +1692 -1851
- package/dist/ThankYou-pUA2X7-4.js.br +0 -0
- package/dist/{_-5uiOrU07.js → _-TlutFgf7.js} +1 -1
- package/dist/availability.js +93 -94
- package/dist/availability.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +4 -4
- package/dist/components/Clickable.vue.d.ts +5 -5
- package/dist/components/Container.vue.d.ts +4 -4
- package/dist/components/ErrorMessage.vue.d.ts +3 -3
- package/dist/components/Gallery.vue.d.ts +4 -4
- package/dist/components/GoogleNotice.vue.d.ts +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Loading.vue.d.ts +4 -4
- package/dist/components/Spinner.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -5
- package/dist/components/forms/ReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/_.vue.d.ts +5 -5
- package/dist/components/inputs/Checkbox.vue.d.ts +6 -6
- package/dist/components/inputs/CheckboxField.vue.d.ts +5 -5
- package/dist/components/inputs/DateField.vue.d.ts +5 -5
- package/dist/components/inputs/InputField.vue.d.ts +4 -4
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -5
- package/dist/components/inputs/NumberField.vue.d.ts +5 -5
- package/dist/components/inputs/SelectField.vue.d.ts +5 -5
- package/dist/components/inputs/TextField.vue.d.ts +6 -6
- package/dist/components/inputs/TimeField.vue.d.ts +4 -4
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +5 -5
- package/dist/components/listings/Base.vue.d.ts +4 -4
- package/dist/components/listings/Event.vue.d.ts +4 -4
- package/dist/components/listings/Hotel.vue.d.ts +3 -3
- package/dist/components/listings/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/Base.vue.d.ts +5 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts +3 -3
- package/dist/components/side-panels/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/TermsOfService.vue.d.ts +3 -3
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -4
- package/dist/components/skeletons/Field.vue.d.ts +4 -4
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Listing.vue.d.ts +1 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
- package/dist/components/skeletons/_.vue.d.ts +4 -4
- package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/components/views/ThankYou.vue.d.ts +4 -4
- package/dist/entries/availability.d.ts +5 -5
- package/dist/entries/event.d.ts +1 -1
- package/dist/entries/gift-card-validation.d.ts +5 -5
- package/dist/entries/gift-card.d.ts +5 -5
- package/dist/entries/hotel.d.ts +5 -5
- package/dist/{event-jnP6wH4w.js → event-mDcuoL9g.js} +7 -7
- package/dist/event-mDcuoL9g.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +79 -67
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +276 -265
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +845 -837
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +4 -4
- package/dist/layouts/Event.vue.d.ts +4 -4
- package/dist/layouts/GiftCard.vue.d.ts +4 -4
- package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
- package/dist/layouts/Hotel.vue.d.ts +4 -4
- package/dist/layouts/_.vue.d.ts +4 -4
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/alert.d.ts +15 -15
- package/dist/store/applyGiftCard.d.ts +18 -18
- package/dist/store/availability.d.ts +12 -12
- package/dist/store/event.d.ts +141 -141
- package/dist/store/giftCard.d.ts +51 -51
- package/dist/store/payment.d.ts +39 -39
- package/dist/store/recaptcha.d.ts +3 -3
- package/dist/store/tracking.d.ts +6 -6
- package/dist/store/utilities.d.ts +129 -129
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -3
- package/dist/ActionField--byx0Lp1.js.br +0 -0
- package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
- package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
- package/dist/Container-6UeOakwz.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
- package/dist/Field-GdMucFcQ.js.br +0 -5
- package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
- package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
- package/dist/event-jnP6wH4w.js.br +0 -0
|
@@ -14,7 +14,7 @@ var I = (M, B, v) => new Promise((y, p) => {
|
|
|
14
14
|
}, o = (l) => l.done ? y(l.value) : Promise.resolve(l.value).then(m, t);
|
|
15
15
|
o((v = v.apply(M, B)).next());
|
|
16
16
|
});
|
|
17
|
-
import { d as Ge, u as Ue, s as ue, a as _e, b as qe, c as Ke, r as u, E as d, e as Q, f as a, O as ie, S as H, g as xe, h as $, i as F, j as S } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
17
|
+
import { d as Ge, u as Ue, s as ue, a as _e, b as qe, c as Ke, r as u, E as d, e as Q, f as a, O as ie, S as H, g as xe, h as $, i as F, j as S } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
18
18
|
const He = Ge("event", () => {
|
|
19
19
|
const M = Ue(), { voucher: B } = ue(_e()), { display: v } = qe(), { bearerToken: y } = ue(Ke()), p = u({}), m = u({}), t = u(void 0), o = u(!0), l = u(d.InitialState), P = u(/* @__PURE__ */ new Date()), O = u(NaN), R = u(1), w = u(NaN), J = u(NaN), N = u(""), V = Q("konnectio_name", "", void 0, { serializer: H.string }), L = Q("konnectio_phone", "", void 0, { serializer: H.string }), G = Q("konnectio_email", "", void 0, { serializer: H.string }), W = u(""), A = u({}), b = u({}), U = u("");
|
|
20
20
|
function s(e) {
|
|
@@ -99,7 +99,7 @@ const He = Ge("event", () => {
|
|
|
99
99
|
},
|
|
100
100
|
headers: {
|
|
101
101
|
Authorization: y.value,
|
|
102
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
102
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
103
103
|
}
|
|
104
104
|
})).data;
|
|
105
105
|
p.value = e, oe();
|
|
@@ -122,7 +122,7 @@ const He = Ge("event", () => {
|
|
|
122
122
|
},
|
|
123
123
|
headers: {
|
|
124
124
|
Authorization: y.value,
|
|
125
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
125
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
126
126
|
}
|
|
127
127
|
})).data;
|
|
128
128
|
m.value = e, o.value = !1;
|
|
@@ -147,7 +147,7 @@ const He = Ge("event", () => {
|
|
|
147
147
|
},
|
|
148
148
|
headers: {
|
|
149
149
|
Authorization: y.value,
|
|
150
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
150
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
151
151
|
}
|
|
152
152
|
})).data;
|
|
153
153
|
n.templateCounts.length === 0 ? v({
|
|
@@ -176,7 +176,7 @@ const He = Ge("event", () => {
|
|
|
176
176
|
},
|
|
177
177
|
headers: {
|
|
178
178
|
Authorization: y.value,
|
|
179
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
179
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
180
180
|
}
|
|
181
181
|
})).data;
|
|
182
182
|
t.value = n, o.value = !1, e();
|
|
@@ -199,7 +199,7 @@ const He = Ge("event", () => {
|
|
|
199
199
|
},
|
|
200
200
|
headers: {
|
|
201
201
|
Authorization: y.value,
|
|
202
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
202
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
203
203
|
}
|
|
204
204
|
})).data;
|
|
205
205
|
console.log(e);
|
|
@@ -273,7 +273,7 @@ const He = Ge("event", () => {
|
|
|
273
273
|
s(t.value) ? c.templateGroup = i : (c.time = f, c.eventId = w.value, c.products = g, h = "https://production.hotel-service.konnectio.dk/api/v3/event/event-book"), yield F.post(h, c, {
|
|
274
274
|
headers: {
|
|
275
275
|
Authorization: y.value,
|
|
276
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
276
|
+
"Fresh-Booking-Ver": "4.0.56-rc6"
|
|
277
277
|
}
|
|
278
278
|
}).then((r) => {
|
|
279
279
|
o.value = !1, M.pay({
|
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { k as ge, F as he, b as ze, s as Y, c as ke, r as Qe, f as We, o as t, m as b, X as Ye, w as g, x as l, p as r, K as h, H as n, z as e, Y as He, Z as ie, l as i, $ as re, n as u, a0 as Je, L as $, a1 as Ke, _ as fe, B as Xe, a2 as Ze, J as w, a3 as V, a4 as D, a5 as ue, O as de, A as G, T as me, a6 as ce, a7 as je, a8 as x, M as pe, P as Ge, Q as xe, R as el,
|
|
2
|
-
import { B as ol, M as sl, R as il, T as rl, x as ul } from "./ThankYou-
|
|
3
|
-
import { u as H } from "./event-
|
|
4
|
-
import { A as dl } from "./ActionField
|
|
5
|
-
import { P as ml, C as ve, a as cl } from "./CheckoutWindow-
|
|
6
|
-
import { _ as pl } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { k as ge, F as he, b as ze, s as Y, c as ke, r as Qe, f as We, o as t, m as b, X as Ye, w as g, x as l, p as r, K as h, H as n, z as e, Y as He, Z as ie, l as i, $ as re, n as u, a0 as Je, L as $, a1 as Ke, _ as fe, B as Xe, a2 as Ze, J as w, a3 as V, a4 as D, a5 as ue, O as de, A as G, T as me, a6 as ce, a7 as je, a8 as x, M as pe, P as Ge, Q as xe, R as el, U as ll, V as nl, W as tl, a9 as al } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
2
|
+
import { B as ol, M as sl, R as il, T as rl, x as ul } from "./ThankYou-pUA2X7-4.js";
|
|
3
|
+
import { u as H } from "./event-mDcuoL9g.js";
|
|
4
|
+
import { A as dl } from "./ActionField-YyW_C34E.js";
|
|
5
|
+
import { P as ml, C as ve, a as cl } from "./CheckoutWindow-T7-vrZyG.js";
|
|
6
|
+
import { _ as pl } from "./DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js";
|
|
7
7
|
import "./_commonjsHelpers-4t9S7M5p.js";
|
|
8
|
-
import "./_-
|
|
8
|
+
import "./_-TlutFgf7.js";
|
|
9
9
|
const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }, gl = { key: 1 }, hl = /* @__PURE__ */ ge({
|
|
10
10
|
__name: "Event",
|
|
11
11
|
props: {
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { k as
|
|
2
|
-
import { A as
|
|
3
|
-
import { C as
|
|
1
|
+
import { k as w, F as A, s as V, a as _, c as S, o as y, m as v, w as g, G as X, p, x as t, H as s, z as a, J as L, l as I, K as C, L as x, M as N, n as T, N as B, P as E, Q as M, R as D, _ as G, U as H, V as U, W as P } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
2
|
+
import { A as R } from "./ActionField-YyW_C34E.js";
|
|
3
|
+
import { C as $ } from "./Container-w7O0He-s.js";
|
|
4
4
|
import "./_commonjsHelpers-4t9S7M5p.js";
|
|
5
|
-
const
|
|
5
|
+
const F = (i) => (M("data-v-0b17aac3"), i = i(), D(), i), j = ["innerHTML"], z = {
|
|
6
6
|
key: 0,
|
|
7
7
|
id: "fresh-booking-gift-card-validation-resume",
|
|
8
8
|
class: "fresh-booking-panel"
|
|
9
|
-
},
|
|
9
|
+
}, J = /* @__PURE__ */ F(() => /* @__PURE__ */ t("span", null, "Loading...", -1)), K = /* @__PURE__ */ w({
|
|
10
10
|
name: "GiftCardValidationLayout",
|
|
11
11
|
__name: "GiftCardValidation",
|
|
12
12
|
props: {
|
|
@@ -14,66 +14,66 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
|
|
|
14
14
|
styling: {}
|
|
15
15
|
},
|
|
16
16
|
setup(i) {
|
|
17
|
-
const { t: e } =
|
|
18
|
-
voucher:
|
|
19
|
-
isValid:
|
|
20
|
-
amount:
|
|
21
|
-
expirationDate:
|
|
22
|
-
productName:
|
|
23
|
-
isLoading:
|
|
24
|
-
} =
|
|
25
|
-
return (
|
|
26
|
-
default:
|
|
27
|
-
(
|
|
28
|
-
default:
|
|
29
|
-
|
|
17
|
+
const { t: e } = A(), {
|
|
18
|
+
voucher: l,
|
|
19
|
+
isValid: c,
|
|
20
|
+
amount: r,
|
|
21
|
+
expirationDate: u,
|
|
22
|
+
productName: f,
|
|
23
|
+
isLoading: o
|
|
24
|
+
} = V(_()), { currency: m } = V(S()), { apply: h } = _();
|
|
25
|
+
return (k, n) => (y(), v($, { styling: k.styling }, {
|
|
26
|
+
default: g(() => [
|
|
27
|
+
(y(), v(X, null, {
|
|
28
|
+
default: g(() => [
|
|
29
|
+
p(E, {
|
|
30
30
|
id: "fresh-booking-gift-card-validation-module",
|
|
31
|
-
"access-token":
|
|
31
|
+
"access-token": k.accessToken,
|
|
32
32
|
type: "gift-card"
|
|
33
33
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
36
|
-
onSubmit: n[3] || (n[3] =
|
|
34
|
+
default: g(() => [
|
|
35
|
+
t("form", {
|
|
36
|
+
onSubmit: n[3] || (n[3] = B((d) => a(h)(), ["prevent"]))
|
|
37
37
|
}, [
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
t("h4", null, [
|
|
39
|
+
t("span", null, s(a(e)("giftCardValidation.title")), 1)
|
|
40
40
|
]),
|
|
41
|
-
|
|
42
|
-
innerHTML:
|
|
43
|
-
}, null, 8,
|
|
44
|
-
|
|
45
|
-
modelValue:
|
|
46
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
41
|
+
t("p", {
|
|
42
|
+
innerHTML: a(e)("giftCardValidation.description")
|
|
43
|
+
}, null, 8, j),
|
|
44
|
+
p(R, {
|
|
45
|
+
modelValue: a(l),
|
|
46
|
+
"onUpdate:modelValue": n[0] || (n[0] = (d) => L(l) ? l.value = d : null),
|
|
47
47
|
icon: "gift-card",
|
|
48
|
-
label:
|
|
49
|
-
buttonLabel:
|
|
48
|
+
label: a(e)("booking.reservation.giftCardCode"),
|
|
49
|
+
buttonLabel: a(e)("giftCardValidation.submitButton"),
|
|
50
50
|
placeholder: "XXXXXXXX",
|
|
51
|
-
"is-loading":
|
|
52
|
-
"onUpdate:isLoading": n[1] || (n[1] = (
|
|
53
|
-
onAction: n[2] || (n[2] = (
|
|
51
|
+
"is-loading": a(o),
|
|
52
|
+
"onUpdate:isLoading": n[1] || (n[1] = (d) => L(o) ? o.value = d : null),
|
|
53
|
+
onAction: n[2] || (n[2] = (d) => a(h)())
|
|
54
54
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
55
|
-
!
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
!a(o) && a(c) ? (y(), I("table", z, [
|
|
56
|
+
t("thead", null, [
|
|
57
|
+
t("tr", null, [
|
|
58
|
+
t("th", null, [
|
|
59
|
+
t("span", null, s(a(e)("giftCardValidation.giftCard")), 1),
|
|
60
|
+
p(C, {
|
|
61
61
|
icon: "gift-card",
|
|
62
62
|
type: "fas",
|
|
63
63
|
color: "header"
|
|
64
64
|
})
|
|
65
65
|
]),
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
t("th", null, [
|
|
67
|
+
t("span", null, s(a(e)("giftCardValidation.balance")), 1),
|
|
68
|
+
p(C, {
|
|
69
69
|
icon: "money-bill",
|
|
70
70
|
type: "fas",
|
|
71
71
|
color: "header"
|
|
72
72
|
})
|
|
73
73
|
]),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
t("th", null, [
|
|
75
|
+
t("span", null, s(a(e)("giftCardValidation.expirationDate")), 1),
|
|
76
|
+
p(C, {
|
|
77
77
|
icon: "timer",
|
|
78
78
|
type: "fas",
|
|
79
79
|
color: "header"
|
|
@@ -81,27 +81,27 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
|
|
|
81
81
|
])
|
|
82
82
|
])
|
|
83
83
|
]),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
t("tbody", null, [
|
|
85
|
+
t("tr", null, [
|
|
86
|
+
t("td", null, [
|
|
87
|
+
t("span", null, s(a(f)), 1)
|
|
88
88
|
]),
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
t("td", null, [
|
|
90
|
+
t("span", null, s(a(x)(a(r), a(m))), 1)
|
|
91
91
|
]),
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
t("td", null, [
|
|
93
|
+
t("span", null, s(a(N)(a(u))), 1)
|
|
94
94
|
])
|
|
95
95
|
])
|
|
96
96
|
])
|
|
97
|
-
])) :
|
|
97
|
+
])) : T("", !0)
|
|
98
98
|
], 32)
|
|
99
99
|
]),
|
|
100
100
|
_: 1
|
|
101
101
|
}, 8, ["access-token"])
|
|
102
102
|
]),
|
|
103
|
-
fallback:
|
|
104
|
-
|
|
103
|
+
fallback: g(() => [
|
|
104
|
+
J
|
|
105
105
|
]),
|
|
106
106
|
_: 1
|
|
107
107
|
}))
|
|
@@ -109,15 +109,27 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
|
|
|
109
109
|
_: 1
|
|
110
110
|
}, 8, ["styling"]));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
const aa = {
|
|
117
|
-
install: (i) => {
|
|
118
|
-
i.component("GiftCardValidation", h);
|
|
112
|
+
}), b = /* @__PURE__ */ G(K, [["__scopeId", "data-v-0b17aac3"]]), O = H();
|
|
113
|
+
class Q extends HTMLElement {
|
|
114
|
+
constructor() {
|
|
115
|
+
super();
|
|
119
116
|
}
|
|
120
|
-
|
|
117
|
+
connectedCallback() {
|
|
118
|
+
var f;
|
|
119
|
+
const e = typeof b == "function" ? b.options : b, l = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), c = {};
|
|
120
|
+
for (const o of l) {
|
|
121
|
+
const m = (f = this.attributes.getNamedItem(o)) == null ? void 0 : f.value;
|
|
122
|
+
if (!m)
|
|
123
|
+
break;
|
|
124
|
+
c[o] = m;
|
|
125
|
+
}
|
|
126
|
+
const r = U(b, c);
|
|
127
|
+
r.use(O), r.use(P);
|
|
128
|
+
const u = document.createElement("div");
|
|
129
|
+
r.mount(u), this.appendChild(u.children[0]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
window.customElements.define("konnectio-gift-card-validation", Q);
|
|
121
133
|
export {
|
|
122
|
-
|
|
134
|
+
Q as default
|
|
123
135
|
};
|
|
Binary file
|