@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.
Files changed (68) hide show
  1. package/dist/{ActionField-Cvrd0oT4.js → ActionField-B2nkVHpm.js} +15 -15
  2. package/dist/ActionField-B2nkVHpm.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C9hYCt8n.js → AvailabilitySkeleton-B861c-E-.js} +7 -7
  4. package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
  5. 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
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
  7. package/dist/{CheckoutWindow-Jd7cv0fV.js → CheckoutWindow-DM8NiuXR.js} +5 -5
  8. package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
  9. package/dist/{ErrorMessage-CY9XqT_-.js → ErrorMessage-DHi8BQ6u.js} +3 -3
  10. package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-liW326n_.js → EventAvailabilityForm-DPn-Gce_.js} +6 -6
  12. package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
  13. package/dist/{Field-DBjYUlqg.js → Field-DxsuquwZ.js} +3 -3
  14. package/dist/Field-DxsuquwZ.js.br +0 -0
  15. 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
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
  17. package/dist/{TermsOfService-DoPiQYS7.js → TermsOfService-D_Jn5Zg_.js} +13 -13
  18. package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
  19. package/dist/{_-IWx6O9VX.js → _-DvTtY1Ya.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DGEXmj4f.js → _.vue_vue_type_style_index_0_lang-B9P9xmGD.js} +7 -7
  21. package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
  22. package/dist/_commonjsHelpers-zI2TZkyo.js +25 -0
  23. package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-BLCF_5fD.js → _sentry-release-injection-file-DvEZJp-B.js} +3 -3
  25. package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
  26. package/dist/availability.js +41 -41
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +27 -21
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +19 -19
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +28 -28
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +51 -51
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-gaWxo7v2.js → giftCard-awGtNaxi.js} +5 -5
  37. package/dist/giftCard-awGtNaxi.js.br +0 -0
  38. package/dist/hotel.js +187 -193
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-C7YeIXYO.js → masonry.plugin-BrevVGLo.js} +9 -9
  41. package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
  42. package/dist/{mitt-tOYHzZHa.js → mitt-CHkQwqe3.js} +2 -2
  43. package/dist/mitt-CHkQwqe3.js.br +0 -0
  44. package/dist/polyfill.js +764 -755
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-iCfvULKs.js → style-CTJOBGnG.js} +195 -188
  47. package/dist/style-CTJOBGnG.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/dist/{_commonjsHelpers-DLzKE872.js → tracing-1TgukAt0.js} +197 -204
  51. package/dist/tracing-1TgukAt0.js.br +0 -0
  52. package/package.json +5 -5
  53. package/dist/ActionField-Cvrd0oT4.js.br +0 -0
  54. package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
  55. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
  56. package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
  57. package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
  58. package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
  59. package/dist/Field-DBjYUlqg.js.br +0 -0
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
  61. package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
  62. package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
  63. package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
  64. package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
  65. package/dist/giftCard-gaWxo7v2.js.br +0 -0
  66. package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
  67. package/dist/mitt-tOYHzZHa.js.br +0 -0
  68. package/dist/style-iCfvULKs.js.br +0 -0
@@ -1,16 +1,16 @@
1
- import { d as A, a as d, g as y, 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 b, i as T, h as $, k as N } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
- import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-tOYHzZHa.js";
3
- import { E as h, _ as x, r as C, e as j, I as v, h as K, s as W, C as q, c as z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
4
- import { u as J } from "./giftCard-gaWxo7v2.js";
5
- import { _ as Q } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
6
- import { A as Y } from "./ActionField-Cvrd0oT4.js";
7
- import { F as w } from "./Field-DBjYUlqg.js";
8
- import { E as Z } from "./ErrorMessage-CY9XqT_-.js";
9
- import { G as tt } from "./style-iCfvULKs.js";
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] = "8a54878b-e709-42f6-a0ce-308ed665ac34", n._sentryDebugIdIdentifier = "sentry-dbid-8a54878b-e709-42f6-a0ce-308ed665ac34");
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(), y("div", et, [
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(j()), { fetchMetadata: L } = J(), { apply: _ } = C();
65
- return (X, o) => (d(), g(q, { styling: r.value }, {
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(Q, {
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(Z, {
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(), y("form", {
78
+ })) : (d(), v("form", {
79
79
  key: 0,
80
80
  id: "konnectio-gift-card-validation-module",
81
- onSubmit: o[3] || (o[3] = $((c) => e(_)(), ["prevent"]))
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(Y, {
89
+ a(Z, {
90
90
  modelValue: e(m),
91
- "onUpdate:modelValue": o[0] || (o[0] = (c) => b(m) ? m.value = c : null),
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) => b(u) ? u.value = c : null),
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(), y("table", rt, [
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(v, {
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(v, {
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(v, {
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(K)(e(S), e(D))), 1)
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(W)(e(I))), 1)
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), z(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(tt);
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 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";
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] = "cc6062d2-cd6a-4f70-bda7-d00872be3ddd", r._sentryDebugIdIdentifier = "sentry-dbid-cc6062d2-cd6a-4f70-bda7-d00872be3ddd");
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 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({
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: _ } = he(), v = Y(), h = J(() => o.modelValue.base64 !== "");
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
- }), v.value && (v.value.value = "");
46
+ }), b.value && (b.value.value = "");
47
47
  }
48
48
  function w() {
49
- v.value && v.value.click();
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 = v.value.files) instanceof FileList && j(t[0], V);
66
+ (t = b.value.files) instanceof FileList && j(t[0], V);
67
67
  }
68
- return (t, u) => (i(), k(ge, {
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", Le, [
74
+ l("div", qe, [
75
75
  l("input", {
76
76
  ref_key: "fileInput",
77
- ref: v,
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(ye, { height: "44px" })
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, '"' + L(o.buttonLabel) + '"', 1)
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, L(e(d)("general.termsAndConditions")), 1)
190
+ l("span", null, q(e(d)("general.termsAndConditions")), 1)
191
191
  ])
192
192
  ]),
193
193
  _: 1
194
194
  }),
195
- a(qe, {
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
- }, vl = /* @__PURE__ */ Ze(() => /* @__PURE__ */ l("div", { class: "konnectio-divider" }, null, -1)), bl = { id: "konnectio-gift-card-recaptcha" }, _l = /* @__PURE__ */ T({
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: v,
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(ke());
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($e, { styling: c.value }, {
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, L(e(o)("giftCard.title")), 1)
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, L(e(o)("giftCard.selectType")), 1)
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) => b(t) ? t.value = ae : null),
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(Ce, {
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) => b($) ? $.value = n : null),
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(Ve, { key: 1 }))
326
+ ])) : (i(), k($e, { key: 1 }))
327
327
  ])),
328
- a(q, {
328
+ a(L, {
329
329
  modelValue: e(p),
330
- "onUpdate:modelValue": s[2] || (s[2] = (n) => b(p) ? p.value = n : null),
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(q, {
339
+ a(L, {
340
340
  modelValue: e(_),
341
- "onUpdate:modelValue": s[3] || (s[3] = (n) => b(_) ? _.value = n : null),
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(v),
352
- "onUpdate:modelValue": s[4] || (s[4] = (n) => b(v) ? v.value = n : null),
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(q, {
358
+ a(L, {
359
359
  modelValue: e(h),
360
- "onUpdate:modelValue": s[5] || (s[5] = (n) => b(h) ? h.value = n : null),
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(we, {
371
+ a(Fe, {
372
372
  modelValue: e(w),
373
- "onUpdate:modelValue": s[8] || (s[8] = (n) => b(w) ? w.value = n : null),
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) => b(F) ? F.value = n : null),
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(q, {
403
+ a(L, {
404
404
  modelValue: e(V),
405
- "onUpdate:modelValue": s[10] || (s[10] = (n) => b(V) ? V.value = n : null),
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) => b(F) ? F.value = n : null),
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
- vl,
424
+ bl,
425
425
  a(Xe)
426
426
  ]),
427
- I(l("div", bl, [
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 = 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 });
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
  }
Binary file
@@ -1,10 +1,10 @@
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";
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] = "3da52fa2-86af-46d0-ab79-060d55c767d4", r._sentryDebugIdIdentifier = "sentry-dbid-3da52fa2-86af-46d0-ab79-060d55c767d4");
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-gaWxo7v2.js.map
134
+ //# sourceMappingURL=giftCard-awGtNaxi.js.map
Binary file