@konnectio/core 4.0.69 → 4.0.70
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-Cvrd0oT4.js → ActionField-B2nkVHpm.js} +15 -15
- package/dist/ActionField-B2nkVHpm.js.br +0 -0
- package/dist/{AvailabilitySkeleton-C9hYCt8n.js → AvailabilitySkeleton-B861c-E-.js} +7 -7
- package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js} +417 -420
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
- package/dist/{CheckoutWindow-Jd7cv0fV.js → CheckoutWindow-DM8NiuXR.js} +5 -5
- package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
- package/dist/{ErrorMessage-CY9XqT_-.js → ErrorMessage-DHi8BQ6u.js} +3 -3
- package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
- package/dist/{EventAvailabilityForm-liW326n_.js → EventAvailabilityForm-DPn-Gce_.js} +6 -6
- package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
- package/dist/{Field-DBjYUlqg.js → Field-DxsuquwZ.js} +3 -3
- package/dist/Field-DxsuquwZ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js} +826 -832
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
- package/dist/{TermsOfService-DoPiQYS7.js → TermsOfService-D_Jn5Zg_.js} +13 -13
- package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
- package/dist/{_-IWx6O9VX.js → _-DvTtY1Ya.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-DGEXmj4f.js → _.vue_vue_type_style_index_0_lang-B9P9xmGD.js} +7 -7
- package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js +25 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
- package/dist/{_sentry-release-injection-file-BLCF_5fD.js → _sentry-release-injection-file-DvEZJp-B.js} +3 -3
- package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +27 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +19 -19
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +28 -28
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +51 -51
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-gaWxo7v2.js → giftCard-awGtNaxi.js} +5 -5
- package/dist/giftCard-awGtNaxi.js.br +0 -0
- package/dist/hotel.js +187 -193
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C7YeIXYO.js → masonry.plugin-BrevVGLo.js} +9 -9
- package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
- package/dist/{mitt-tOYHzZHa.js → mitt-CHkQwqe3.js} +2 -2
- package/dist/mitt-CHkQwqe3.js.br +0 -0
- package/dist/polyfill.js +764 -755
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-iCfvULKs.js → style-CTJOBGnG.js} +195 -188
- package/dist/style-CTJOBGnG.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DLzKE872.js → tracing-1TgukAt0.js} +197 -204
- package/dist/tracing-1TgukAt0.js.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-Cvrd0oT4.js.br +0 -0
- package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
- package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
- package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
- package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
- package/dist/Field-DBjYUlqg.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
- package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
- package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
- package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
- package/dist/giftCard-gaWxo7v2.js.br +0 -0
- package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
- package/dist/mitt-tOYHzZHa.js.br +0 -0
- package/dist/style-iCfvULKs.js.br +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as A, a as d, g as
|
|
2
|
-
import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { d as A, a as d, g as v, e as t, f as a, c as P, b as g, w as f, S as B, u as e, t as l, v as _, i as T, h as $, k as N } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as j, G as q } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { E as h, _ as x, q as C, d as K, I as b, g as W, s as z, C as J } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { u as Q } from "./giftCard-awGtNaxi.js";
|
|
6
|
+
import { _ as Y } from "./_.vue_vue_type_style_index_0_lang-B9P9xmGD.js";
|
|
7
|
+
import { A as Z } from "./ActionField-B2nkVHpm.js";
|
|
8
|
+
import { F as w } from "./Field-DxsuquwZ.js";
|
|
9
|
+
import { E as tt } from "./ErrorMessage-DHi8BQ6u.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
|
|
13
|
-
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "
|
|
13
|
+
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "e9c08821-10a8-4b9f-9fb7-7643b9d2e618", n._sentryDebugIdIdentifier = "sentry-dbid-e9c08821-10a8-4b9f-9fb7-7643b9d2e618");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -25,7 +25,7 @@ import { G as tt } from "./style-iCfvULKs.js";
|
|
|
25
25
|
const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-validation-skeleton-form" }, nt = { class: "gift-card-validation-skeleton-text" }, ot = { class: "gift-card-validation-skeleton-input" }, it = /* @__PURE__ */ A({
|
|
26
26
|
__name: "GiftCardValidationSkeleton",
|
|
27
27
|
setup(n) {
|
|
28
|
-
return (i, r) => (d(),
|
|
28
|
+
return (i, r) => (d(), v("div", et, [
|
|
29
29
|
t("div", at, [
|
|
30
30
|
t("div", nt, [
|
|
31
31
|
a(h, { height: "20px" }),
|
|
@@ -61,24 +61,24 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
61
61
|
expirationDate: I,
|
|
62
62
|
productName: M,
|
|
63
63
|
isLoading: u
|
|
64
|
-
} = k(C()), { currency: D, hasError: G } = k(
|
|
65
|
-
return (X, o) => (d(), g(
|
|
64
|
+
} = k(C()), { currency: D, hasError: G } = k(K()), { fetchMetadata: L } = Q(), { apply: y } = C();
|
|
65
|
+
return (X, o) => (d(), g(J, { styling: r.value }, {
|
|
66
66
|
default: f(() => [
|
|
67
67
|
(d(), g(B, null, {
|
|
68
68
|
default: f(() => [
|
|
69
|
-
a(
|
|
69
|
+
a(Y, {
|
|
70
70
|
"access-token": X.accessToken,
|
|
71
71
|
callback: e(L)
|
|
72
72
|
}, {
|
|
73
73
|
default: f(() => [
|
|
74
|
-
e(G) ? (d(), g(
|
|
74
|
+
e(G) ? (d(), g(tt, {
|
|
75
75
|
key: 1,
|
|
76
76
|
title: "Unable to render Gift card validation module",
|
|
77
77
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
78
|
-
})) : (d(),
|
|
78
|
+
})) : (d(), v("form", {
|
|
79
79
|
key: 0,
|
|
80
80
|
id: "konnectio-gift-card-validation-module",
|
|
81
|
-
onSubmit: o[3] || (o[3] = $((c) => e(
|
|
81
|
+
onSubmit: o[3] || (o[3] = $((c) => e(y)(), ["prevent"]))
|
|
82
82
|
}, [
|
|
83
83
|
t("h4", null, [
|
|
84
84
|
t("span", null, l(e(s)("giftCardValidation.title")), 1)
|
|
@@ -86,23 +86,23 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
86
86
|
t("p", {
|
|
87
87
|
innerHTML: e(s)("giftCardValidation.description")
|
|
88
88
|
}, null, 8, lt),
|
|
89
|
-
a(
|
|
89
|
+
a(Z, {
|
|
90
90
|
modelValue: e(m),
|
|
91
|
-
"onUpdate:modelValue": o[0] || (o[0] = (c) =>
|
|
91
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => _(m) ? m.value = c : null),
|
|
92
92
|
icon: "gift-card",
|
|
93
93
|
label: e(s)("booking.reservation.giftCardCode"),
|
|
94
94
|
buttonLabel: e(s)("giftCardValidation.submitButton"),
|
|
95
95
|
placeholder: "XXXXXXXX",
|
|
96
96
|
"is-loading": e(u),
|
|
97
|
-
"onUpdate:isLoading": o[1] || (o[1] = (c) =>
|
|
98
|
-
onAction: o[2] || (o[2] = (c) => e(
|
|
97
|
+
"onUpdate:isLoading": o[1] || (o[1] = (c) => _(u) ? u.value = c : null),
|
|
98
|
+
onAction: o[2] || (o[2] = (c) => e(y)())
|
|
99
99
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
100
|
-
!e(u) && e(E) ? (d(),
|
|
100
|
+
!e(u) && e(E) ? (d(), v("table", rt, [
|
|
101
101
|
t("thead", null, [
|
|
102
102
|
t("tr", null, [
|
|
103
103
|
t("th", null, [
|
|
104
104
|
t("span", null, l(e(s)("giftCardValidation.giftCard")), 1),
|
|
105
|
-
a(
|
|
105
|
+
a(b, {
|
|
106
106
|
icon: "gift-card",
|
|
107
107
|
type: "fas",
|
|
108
108
|
color: "header"
|
|
@@ -110,7 +110,7 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
110
110
|
]),
|
|
111
111
|
t("th", null, [
|
|
112
112
|
t("span", null, l(e(s)("giftCardValidation.balance")), 1),
|
|
113
|
-
a(
|
|
113
|
+
a(b, {
|
|
114
114
|
icon: "money-bill",
|
|
115
115
|
type: "fas",
|
|
116
116
|
color: "header"
|
|
@@ -118,7 +118,7 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
118
118
|
]),
|
|
119
119
|
t("th", null, [
|
|
120
120
|
t("span", null, l(e(s)("giftCardValidation.expirationDate")), 1),
|
|
121
|
-
a(
|
|
121
|
+
a(b, {
|
|
122
122
|
icon: "timer",
|
|
123
123
|
type: "fas",
|
|
124
124
|
color: "header"
|
|
@@ -132,10 +132,10 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
132
132
|
t("span", null, l(e(M)), 1)
|
|
133
133
|
]),
|
|
134
134
|
t("td", null, [
|
|
135
|
-
t("span", null, l(e(
|
|
135
|
+
t("span", null, l(e(W)(e(S), e(D))), 1)
|
|
136
136
|
]),
|
|
137
137
|
t("td", null, [
|
|
138
|
-
t("span", null, l(e(
|
|
138
|
+
t("span", null, l(e(z)(e(I))), 1)
|
|
139
139
|
])
|
|
140
140
|
])
|
|
141
141
|
])
|
|
@@ -165,7 +165,7 @@ class pt extends HTMLElement {
|
|
|
165
165
|
}
|
|
166
166
|
connectedCallback() {
|
|
167
167
|
const i = H(V, this.attributes);
|
|
168
|
-
this.vueApp = N(V, i),
|
|
168
|
+
this.vueApp = N(V, i), j(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(q);
|
|
169
169
|
const r = document.createElement("div");
|
|
170
170
|
this.vueApp.mount(r), this.appendChild(r.children[0]);
|
|
171
171
|
}
|
|
Binary file
|
package/dist/gift-card.js
CHANGED
|
@@ -1,17 +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
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as D } from "./giftCard-
|
|
6
|
-
import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-
|
|
8
|
-
import { F as U } from "./Field-
|
|
9
|
-
import { E as Me } from "./ErrorMessage-
|
|
10
|
-
import { S as
|
|
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 q, 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, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as B, T as me, s as K, c as fe, l as be, i as ve, m as _e } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as he, G as ge } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { a as ye, c as S, p as ke, E as Ce, _ as x, d as Ve, n as we, L as $e, T as L, b as Fe, C as Ee, m as Pe } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { u as D } from "./giftCard-awGtNaxi.js";
|
|
6
|
+
import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-B9P9xmGD.js";
|
|
7
|
+
import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-DM8NiuXR.js";
|
|
8
|
+
import { F as U } from "./Field-DxsuquwZ.js";
|
|
9
|
+
import { E as Me } from "./ErrorMessage-DHi8BQ6u.js";
|
|
10
|
+
import { S as Le } from "./TermsOfService-D_Jn5Zg_.js";
|
|
11
11
|
(function() {
|
|
12
12
|
try {
|
|
13
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] = "
|
|
14
|
+
d && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[d] = "f0d79415-0f0d-4b07-9b7d-6533078db522", r._sentryDebugIdIdentifier = "sentry-dbid-f0d79415-0f0d-4b07-9b7d-6533078db522");
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
17
|
})();
|
|
@@ -23,7 +23,7 @@ import { S as qe } from "./TermsOfService-DoPiQYS7.js";
|
|
|
23
23
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
24
24
|
);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const qe = { 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({
|
|
27
27
|
__name: "MediaSelector",
|
|
28
28
|
props: {
|
|
29
29
|
modelValue: {},
|
|
@@ -34,7 +34,7 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:modelValue"],
|
|
36
36
|
setup(r, { emit: d }) {
|
|
37
|
-
const c = d, o = r, { t: p } = B(), { display: _ } =
|
|
37
|
+
const c = d, o = r, { t: p } = B(), { display: _ } = ye(), b = Y(), h = J(() => o.modelValue.base64 !== "");
|
|
38
38
|
function V(t) {
|
|
39
39
|
c("update:modelValue", t);
|
|
40
40
|
}
|
|
@@ -43,10 +43,10 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
43
43
|
base64: "",
|
|
44
44
|
name: "",
|
|
45
45
|
type: ""
|
|
46
|
-
}),
|
|
46
|
+
}), b.value && (b.value.value = "");
|
|
47
47
|
}
|
|
48
48
|
function w() {
|
|
49
|
-
|
|
49
|
+
b.value && b.value.click();
|
|
50
50
|
}
|
|
51
51
|
function j(t, u) {
|
|
52
52
|
const [y, G] = [t.name, t.type], g = new FileReader();
|
|
@@ -63,18 +63,18 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
63
63
|
}
|
|
64
64
|
async function $() {
|
|
65
65
|
let t;
|
|
66
|
-
(t =
|
|
66
|
+
(t = b.value.files) instanceof FileList && j(t[0], V);
|
|
67
67
|
}
|
|
68
|
-
return (t, u) => (i(), k(
|
|
68
|
+
return (t, u) => (i(), k(ke, {
|
|
69
69
|
label: t.label,
|
|
70
70
|
required: t.required,
|
|
71
71
|
type: "media"
|
|
72
72
|
}, {
|
|
73
73
|
default: C(() => [
|
|
74
|
-
l("div",
|
|
74
|
+
l("div", qe, [
|
|
75
75
|
l("input", {
|
|
76
76
|
ref_key: "fileInput",
|
|
77
|
-
ref:
|
|
77
|
+
ref: b,
|
|
78
78
|
type: "file",
|
|
79
79
|
class: "hidden",
|
|
80
80
|
accept: t.validation,
|
|
@@ -160,7 +160,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
160
160
|
a(U),
|
|
161
161
|
a(U),
|
|
162
162
|
a(U, { "is-text-area": "" }),
|
|
163
|
-
a(
|
|
163
|
+
a(Ce, { height: "44px" })
|
|
164
164
|
])
|
|
165
165
|
]));
|
|
166
166
|
}
|
|
@@ -179,7 +179,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
179
179
|
scope: "global"
|
|
180
180
|
}, {
|
|
181
181
|
button: C(() => [
|
|
182
|
-
l("i", null, '"' +
|
|
182
|
+
l("i", null, '"' + q(o.buttonLabel) + '"', 1)
|
|
183
183
|
]),
|
|
184
184
|
terms: C(() => [
|
|
185
185
|
l("a", {
|
|
@@ -187,12 +187,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
187
187
|
target: "_blank",
|
|
188
188
|
onClick: p[0] || (p[0] = oe((_) => c.value = !0, ["prevent"]))
|
|
189
189
|
}, [
|
|
190
|
-
l("span", null,
|
|
190
|
+
l("span", null, q(e(d)("general.termsAndConditions")), 1)
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
194
194
|
}),
|
|
195
|
-
a(
|
|
195
|
+
a(Le, {
|
|
196
196
|
modelValue: c.value,
|
|
197
197
|
"onUpdate:modelValue": p[1] || (p[1] = (_) => c.value = _),
|
|
198
198
|
description: o.content
|
|
@@ -222,7 +222,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
222
222
|
}, fl = {
|
|
223
223
|
key: 2,
|
|
224
224
|
id: "konnectio-gift-card-order-minimal"
|
|
225
|
-
},
|
|
225
|
+
}, bl = /* @__PURE__ */ Ze(() => /* @__PURE__ */ l("div", { class: "konnectio-divider" }, null, -1)), vl = { id: "konnectio-gift-card-recaptcha" }, _l = /* @__PURE__ */ T({
|
|
226
226
|
name: "GiftCardLayout",
|
|
227
227
|
__name: "GiftCard",
|
|
228
228
|
props: {
|
|
@@ -238,7 +238,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
238
238
|
})), { t: o } = B(), {
|
|
239
239
|
name: p,
|
|
240
240
|
email: _,
|
|
241
|
-
phone:
|
|
241
|
+
phone: b,
|
|
242
242
|
value: h,
|
|
243
243
|
remark: V,
|
|
244
244
|
showValue: H,
|
|
@@ -253,13 +253,13 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
253
253
|
hasFilledForm: P,
|
|
254
254
|
hasForcedPlaceType: R,
|
|
255
255
|
isWaitingForResponse: F
|
|
256
|
-
} = 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(Ve());
|
|
257
257
|
return ne(t, () => {
|
|
258
258
|
$.value = void 0;
|
|
259
259
|
}), ie(() => {
|
|
260
260
|
const E = d.placeType ? parseInt(d.placeType) : void 0;
|
|
261
261
|
X(E);
|
|
262
|
-
}), (E, s) => (i(), k(
|
|
262
|
+
}), (E, s) => (i(), k(Ee, { styling: c.value }, {
|
|
263
263
|
default: C(() => [
|
|
264
264
|
(i(), k(se, null, {
|
|
265
265
|
default: C(() => [
|
|
@@ -280,7 +280,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
280
280
|
}, [
|
|
281
281
|
l("div", ll, [
|
|
282
282
|
l("h2", tl, [
|
|
283
|
-
l("span", null,
|
|
283
|
+
l("span", null, q(e(o)("giftCard.title")), 1)
|
|
284
284
|
]),
|
|
285
285
|
l("div", al, [
|
|
286
286
|
I(l("div", ol, [
|
|
@@ -297,14 +297,14 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
297
297
|
e(R) ? f("", !0) : (i(), m("div", il, [
|
|
298
298
|
e(g) ? (i(), m("div", sl, [
|
|
299
299
|
l("label", dl, [
|
|
300
|
-
l("span", null,
|
|
300
|
+
l("span", null, q(e(o)("giftCard.selectType")), 1)
|
|
301
301
|
]),
|
|
302
302
|
l("div", rl, [
|
|
303
303
|
l("ul", null, [
|
|
304
304
|
(i(!0), m(de, null, re(e(g), (n, z) => (i(), m("li", { key: z }, [
|
|
305
305
|
a(Te, {
|
|
306
306
|
modelValue: e(t),
|
|
307
|
-
"onUpdate:modelValue": s[0] || (s[0] = (ae) =>
|
|
307
|
+
"onUpdate:modelValue": s[0] || (s[0] = (ae) => v(t) ? t.value = ae : null),
|
|
308
308
|
type: "radio",
|
|
309
309
|
name: "placeType",
|
|
310
310
|
val: z,
|
|
@@ -312,10 +312,10 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
312
312
|
}, null, 8, ["modelValue", "val", "label"])
|
|
313
313
|
]))), 128))
|
|
314
314
|
]),
|
|
315
|
-
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(we, {
|
|
316
316
|
key: 0,
|
|
317
317
|
modelValue: e($),
|
|
318
|
-
"onUpdate:modelValue": s[1] || (s[1] = (n) =>
|
|
318
|
+
"onUpdate:modelValue": s[1] || (s[1] = (n) => v($) ? $.value = n : null),
|
|
319
319
|
placeholder: e(o)("giftCard.selectPlacePlaceholder"),
|
|
320
320
|
options: e(g)[e(t)].data,
|
|
321
321
|
labelKey: "name",
|
|
@@ -323,11 +323,11 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
323
323
|
required: ""
|
|
324
324
|
}, null, 8, ["modelValue", "placeholder", "options"])) : f("", !0)
|
|
325
325
|
])
|
|
326
|
-
])) : (i(), k(
|
|
326
|
+
])) : (i(), k($e, { key: 1 }))
|
|
327
327
|
])),
|
|
328
|
-
a(
|
|
328
|
+
a(L, {
|
|
329
329
|
modelValue: e(p),
|
|
330
|
-
"onUpdate:modelValue": s[2] || (s[2] = (n) =>
|
|
330
|
+
"onUpdate:modelValue": s[2] || (s[2] = (n) => v(p) ? p.value = n : null),
|
|
331
331
|
type: "text",
|
|
332
332
|
name: "name",
|
|
333
333
|
autocomplete: "name",
|
|
@@ -336,9 +336,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
336
336
|
placeholder: e(o)("giftCard.namePlaceholder"),
|
|
337
337
|
required: ""
|
|
338
338
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
339
|
-
a(
|
|
339
|
+
a(L, {
|
|
340
340
|
modelValue: e(_),
|
|
341
|
-
"onUpdate:modelValue": s[3] || (s[3] = (n) =>
|
|
341
|
+
"onUpdate:modelValue": s[3] || (s[3] = (n) => v(_) ? _.value = n : null),
|
|
342
342
|
type: "email",
|
|
343
343
|
name: "email",
|
|
344
344
|
autocomplete: "email",
|
|
@@ -348,16 +348,16 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
348
348
|
required: ""
|
|
349
349
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
350
350
|
a(Ae, {
|
|
351
|
-
modelValue: e(
|
|
352
|
-
"onUpdate:modelValue": s[4] || (s[4] = (n) => b
|
|
351
|
+
modelValue: e(b),
|
|
352
|
+
"onUpdate:modelValue": s[4] || (s[4] = (n) => v(b) ? b.value = n : null),
|
|
353
353
|
icon: "phone-office",
|
|
354
354
|
label: e(o)("giftCard.phone"),
|
|
355
355
|
placeholder: e(o)("giftCard.phonePlaceholder"),
|
|
356
356
|
required: ""
|
|
357
357
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
358
|
-
a(
|
|
358
|
+
a(L, {
|
|
359
359
|
modelValue: e(h),
|
|
360
|
-
"onUpdate:modelValue": s[5] || (s[5] = (n) =>
|
|
360
|
+
"onUpdate:modelValue": s[5] || (s[5] = (n) => v(h) ? h.value = n : null),
|
|
361
361
|
type: "number",
|
|
362
362
|
name: "value",
|
|
363
363
|
label: e(o)("giftCard.value"),
|
|
@@ -368,9 +368,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
368
368
|
}, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
|
|
369
369
|
f("", !0),
|
|
370
370
|
f("", !0),
|
|
371
|
-
a(
|
|
371
|
+
a(Fe, {
|
|
372
372
|
modelValue: e(w),
|
|
373
|
-
"onUpdate:modelValue": s[8] || (s[8] = (n) =>
|
|
373
|
+
"onUpdate:modelValue": s[8] || (s[8] = (n) => v(w) ? w.value = n : null),
|
|
374
374
|
label: e(o)("giftCard.quantity"),
|
|
375
375
|
icon: "gift-card",
|
|
376
376
|
required: ""
|
|
@@ -394,15 +394,15 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
394
394
|
"full-width": !0,
|
|
395
395
|
disabled: !e(P),
|
|
396
396
|
"is-loading": e(F),
|
|
397
|
-
"onUpdate:isLoading": s[9] || (s[9] = (n) =>
|
|
397
|
+
"onUpdate:isLoading": s[9] || (s[9] = (n) => v(F) ? F.value = n : null),
|
|
398
398
|
onClickEvent: e(N)
|
|
399
399
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
400
400
|
])
|
|
401
401
|
])) : f("", !0),
|
|
402
402
|
e(u) ? (i(), m("div", ml, [
|
|
403
|
-
a(
|
|
403
|
+
a(L, {
|
|
404
404
|
modelValue: e(V),
|
|
405
|
-
"onUpdate:modelValue": s[10] || (s[10] = (n) =>
|
|
405
|
+
"onUpdate:modelValue": s[10] || (s[10] = (n) => v(V) ? V.value = n : null),
|
|
406
406
|
type: "textarea",
|
|
407
407
|
name: "remark",
|
|
408
408
|
label: e(o)("giftCard.remark"),
|
|
@@ -417,14 +417,14 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
417
417
|
disabled: !e(P),
|
|
418
418
|
"data-test": "orderGiftCard",
|
|
419
419
|
"is-loading": e(F),
|
|
420
|
-
"onUpdate:isLoading": s[11] || (s[11] = (n) =>
|
|
420
|
+
"onUpdate:isLoading": s[11] || (s[11] = (n) => v(F) ? F.value = n : null),
|
|
421
421
|
onClickEvent: e(N)
|
|
422
422
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
423
423
|
l("div", null, [
|
|
424
|
-
|
|
424
|
+
bl,
|
|
425
425
|
a(Xe)
|
|
426
426
|
]),
|
|
427
|
-
I(l("div",
|
|
427
|
+
I(l("div", vl, [
|
|
428
428
|
a(Ie)
|
|
429
429
|
], 512), [
|
|
430
430
|
[M, e(ee)]
|
|
@@ -455,8 +455,8 @@ class yl extends HTMLElement {
|
|
|
455
455
|
this.vueApp.unmount();
|
|
456
456
|
}
|
|
457
457
|
connectedCallback() {
|
|
458
|
-
const d =
|
|
459
|
-
this.vueApp = pe(W, d),
|
|
458
|
+
const d = be(W, this.attributes);
|
|
459
|
+
this.vueApp = pe(W, d), he(this.vueApp), this.vueApp.provide("emitter", gl), this.vueApp.use(hl), this.vueApp.use(ve), this.vueApp.use(ge), this.vueApp.use(Pe, { bootstrap: !0 });
|
|
460
460
|
const c = document.createElement("div");
|
|
461
461
|
this.vueApp.mount(c), this.appendChild(c.children[0]);
|
|
462
462
|
}
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { r as H, a as J, d as A, G as o, t as b, S as k, v as O, o as x, w as Q } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
2
|
+
import { d as X, s as Y, a as P } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { r as t, c as a } from "./_sentry-release-injection-file-DvEZJp-B.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] = "41681274-d3f2-4b96-932d-f5a17319d56d", r._sentryDebugIdIdentifier = "sentry-dbid-41681274-d3f2-4b96-932d-f5a17319d56d");
|
|
8
8
|
} catch {
|
|
9
9
|
}
|
|
10
10
|
})();
|
|
@@ -131,4 +131,4 @@ const te = X("giftCard", () => {
|
|
|
131
131
|
export {
|
|
132
132
|
te as u
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=giftCard-
|
|
134
|
+
//# sourceMappingURL=giftCard-awGtNaxi.js.map
|
|
Binary file
|