@konnectio/core 4.0.69 → 4.0.71

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 (69) hide show
  1. package/dist/{ActionField-Cvrd0oT4.js → ActionField-BOjNNOwm.js} +15 -15
  2. package/dist/ActionField-BOjNNOwm.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C9hYCt8n.js → AvailabilitySkeleton-BBZ1jYsL.js} +7 -7
  4. package/dist/AvailabilitySkeleton-BBZ1jYsL.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-BBnNIH98.js} +417 -420
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js.br +0 -0
  7. package/dist/{CheckoutWindow-Jd7cv0fV.js → CheckoutWindow-Be87geqA.js} +5 -5
  8. package/dist/CheckoutWindow-Be87geqA.js.br +0 -0
  9. package/dist/{ErrorMessage-CY9XqT_-.js → ErrorMessage-PrTNCV3L.js} +4 -4
  10. package/dist/ErrorMessage-PrTNCV3L.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-liW326n_.js → EventAvailabilityForm-B_kQ68K4.js} +25 -25
  12. package/dist/EventAvailabilityForm-B_kQ68K4.js.br +0 -0
  13. package/dist/{Field-DBjYUlqg.js → Field-Cly4g5NO.js} +9 -9
  14. package/dist/Field-Cly4g5NO.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-DeBoKL9k.js} +2645 -2643
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js.br +0 -0
  17. package/dist/{TermsOfService-DoPiQYS7.js → TermsOfService-B4VF2Mqd.js} +6 -6
  18. package/dist/TermsOfService-B4VF2Mqd.js.br +0 -0
  19. package/dist/{_-IWx6O9VX.js → _-D9xfNmwK.js} +3 -3
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DGEXmj4f.js → _.vue_vue_type_style_index_0_lang-CEE8x56y.js} +7 -7
  21. package/dist/_.vue_vue_type_style_index_0_lang-CEE8x56y.js.br +0 -0
  22. package/dist/_commonjsHelpers-CjBehFnu.js +25 -0
  23. package/dist/_commonjsHelpers-CjBehFnu.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-BLCF_5fD.js → _sentry-release-injection-file-DsYwID46.js} +13 -13
  25. package/dist/_sentry-release-injection-file-DsYwID46.js.br +0 -0
  26. package/dist/availability.js +22 -21
  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 +342 -334
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +24 -23
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +55 -54
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-gaWxo7v2.js → giftCard-DL8SvzFu.js} +15 -15
  37. package/dist/giftCard-DL8SvzFu.js.br +0 -0
  38. package/dist/hotel.js +779 -764
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-C7YeIXYO.js → masonry.plugin-DyMWv_cS.js} +1655 -1585
  41. package/dist/masonry.plugin-DyMWv_cS.js.br +0 -0
  42. package/dist/{mitt-tOYHzZHa.js → mitt-CxLBLOxI.js} +177 -177
  43. package/dist/mitt-CxLBLOxI.js.br +0 -0
  44. package/dist/polyfill.js +855 -846
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/sentry-9IPMO-VI.js +26 -0
  47. package/dist/{style-iCfvULKs.js → style-bf_adpj0.js} +83 -83
  48. package/dist/style-bf_adpj0.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/dist/{_commonjsHelpers-DLzKE872.js → tracing-1TgukAt0.js} +197 -204
  52. package/dist/tracing-1TgukAt0.js.br +0 -0
  53. package/package.json +5 -5
  54. package/dist/ActionField-Cvrd0oT4.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
  57. package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
  58. package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
  59. package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
  60. package/dist/Field-DBjYUlqg.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
  62. package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
  64. package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
  66. package/dist/giftCard-gaWxo7v2.js.br +0 -0
  67. package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
  68. package/dist/mitt-tOYHzZHa.js.br +0 -0
  69. package/dist/style-iCfvULKs.js.br +0 -0
package/dist/event.js.br CHANGED
Binary file
@@ -1,16 +1,17 @@
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-DsYwID46.js";
2
+ import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-CxLBLOxI.js";
3
+ import { c as j } from "./sentry-9IPMO-VI.js";
4
+ import { E as h, _ as x, q as C, d as q, I as b, g as K, s as W, C as z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
5
+ import { u as J } from "./giftCard-DL8SvzFu.js";
6
+ import { _ as Q } from "./_.vue_vue_type_style_index_0_lang-CEE8x56y.js";
7
+ import { A as Y } from "./ActionField-BOjNNOwm.js";
8
+ import { F as w } from "./Field-Cly4g5NO.js";
9
+ import { E as Z } from "./ErrorMessage-PrTNCV3L.js";
10
+ import { G as tt } from "./style-bf_adpj0.js";
10
11
  (function() {
11
12
  try {
12
13
  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");
14
+ i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "56b77537-82fb-44e4-9b2e-1136d69e65af", n._sentryDebugIdIdentifier = "sentry-dbid-56b77537-82fb-44e4-9b2e-1136d69e65af");
14
15
  } catch {
15
16
  }
16
17
  })();
@@ -25,7 +26,7 @@ import { G as tt } from "./style-iCfvULKs.js";
25
26
  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
27
  __name: "GiftCardValidationSkeleton",
27
28
  setup(n) {
28
- return (i, r) => (d(), y("div", et, [
29
+ return (i, r) => (d(), v("div", et, [
29
30
  t("div", at, [
30
31
  t("div", nt, [
31
32
  a(h, { height: "20px" }),
@@ -61,8 +62,8 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
61
62
  expirationDate: I,
62
63
  productName: M,
63
64
  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 }, {
65
+ } = k(C()), { currency: D, hasError: G } = k(q()), { fetchMetadata: L } = J(), { apply: y } = C();
66
+ return (X, o) => (d(), g(z, { styling: r.value }, {
66
67
  default: f(() => [
67
68
  (d(), g(B, null, {
68
69
  default: f(() => [
@@ -75,10 +76,10 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
75
76
  key: 1,
76
77
  title: "Unable to render Gift card validation module",
77
78
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
78
- })) : (d(), y("form", {
79
+ })) : (d(), v("form", {
79
80
  key: 0,
80
81
  id: "konnectio-gift-card-validation-module",
81
- onSubmit: o[3] || (o[3] = $((c) => e(_)(), ["prevent"]))
82
+ onSubmit: o[3] || (o[3] = $((c) => e(y)(), ["prevent"]))
82
83
  }, [
83
84
  t("h4", null, [
84
85
  t("span", null, l(e(s)("giftCardValidation.title")), 1)
@@ -88,21 +89,21 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
88
89
  }, null, 8, lt),
89
90
  a(Y, {
90
91
  modelValue: e(m),
91
- "onUpdate:modelValue": o[0] || (o[0] = (c) => b(m) ? m.value = c : null),
92
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => _(m) ? m.value = c : null),
92
93
  icon: "gift-card",
93
94
  label: e(s)("booking.reservation.giftCardCode"),
94
95
  buttonLabel: e(s)("giftCardValidation.submitButton"),
95
96
  placeholder: "XXXXXXXX",
96
97
  "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(_)())
98
+ "onUpdate:isLoading": o[1] || (o[1] = (c) => _(u) ? u.value = c : null),
99
+ onAction: o[2] || (o[2] = (c) => e(y)())
99
100
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
100
- !e(u) && e(E) ? (d(), y("table", rt, [
101
+ !e(u) && e(E) ? (d(), v("table", rt, [
101
102
  t("thead", null, [
102
103
  t("tr", null, [
103
104
  t("th", null, [
104
105
  t("span", null, l(e(s)("giftCardValidation.giftCard")), 1),
105
- a(v, {
106
+ a(b, {
106
107
  icon: "gift-card",
107
108
  type: "fas",
108
109
  color: "header"
@@ -110,7 +111,7 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
110
111
  ]),
111
112
  t("th", null, [
112
113
  t("span", null, l(e(s)("giftCardValidation.balance")), 1),
113
- a(v, {
114
+ a(b, {
114
115
  icon: "money-bill",
115
116
  type: "fas",
116
117
  color: "header"
@@ -118,7 +119,7 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
118
119
  ]),
119
120
  t("th", null, [
120
121
  t("span", null, l(e(s)("giftCardValidation.expirationDate")), 1),
121
- a(v, {
122
+ a(b, {
122
123
  icon: "timer",
123
124
  type: "fas",
124
125
  color: "header"
@@ -165,7 +166,7 @@ class pt extends HTMLElement {
165
166
  }
166
167
  connectedCallback() {
167
168
  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);
169
+ this.vueApp = N(V, i), j(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(tt);
169
170
  const r = document.createElement("div");
170
171
  this.vueApp.mount(r), this.appendChild(r.children[0]);
171
172
  }
Binary file
package/dist/gift-card.js CHANGED
@@ -1,17 +1,18 @@
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 re, s as de, v as b, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-DsYwID46.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-CxLBLOxI.js";
3
+ import { c as he } from "./sentry-9IPMO-VI.js";
4
+ import { a as ge, c as S, p as ye, E as ke, _ as x, d as Ce, n as Ve, L as we, T as L, b as $e, C as Fe, m as Ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
5
+ import { G as Pe } from "./style-bf_adpj0.js";
6
+ import { u as D } from "./giftCard-DL8SvzFu.js";
7
+ import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-CEE8x56y.js";
8
+ import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-Be87geqA.js";
9
+ import { F as U } from "./Field-Cly4g5NO.js";
10
+ import { E as Me } from "./ErrorMessage-PrTNCV3L.js";
11
+ import { S as Le } from "./TermsOfService-B4VF2Mqd.js";
11
12
  (function() {
12
13
  try {
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
+ var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, r = new Error().stack;
15
+ r && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[r] = "788a2c57-7c62-457c-9ca0-6fc9b5346c2f", d._sentryDebugIdIdentifier = "sentry-dbid-788a2c57-7c62-457c-9ca0-6fc9b5346c2f");
15
16
  } catch {
16
17
  }
17
18
  })();
@@ -23,7 +24,7 @@ import { S as qe } from "./TermsOfService-DoPiQYS7.js";
23
24
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
24
25
  );
25
26
  }
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({
27
+ 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
28
  __name: "MediaSelector",
28
29
  props: {
29
30
  modelValue: {},
@@ -33,8 +34,8 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
33
34
  required: { type: Boolean, default: !1 }
34
35
  },
35
36
  emits: ["update:modelValue"],
36
- setup(r, { emit: d }) {
37
- const c = d, o = r, { t: p } = B(), { display: _ } = he(), v = Y(), h = J(() => o.modelValue.base64 !== "");
37
+ setup(d, { emit: r }) {
38
+ const c = r, o = d, { t: p } = B(), { display: _ } = ge(), v = Y(), h = J(() => o.modelValue.base64 !== "");
38
39
  function V(t) {
39
40
  c("update:modelValue", t);
40
41
  }
@@ -65,13 +66,13 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
65
66
  let t;
66
67
  (t = v.value.files) instanceof FileList && j(t[0], V);
67
68
  }
68
- return (t, u) => (i(), k(ge, {
69
+ return (t, u) => (i(), k(ye, {
69
70
  label: t.label,
70
71
  required: t.required,
71
72
  type: "media"
72
73
  }, {
73
74
  default: C(() => [
74
- l("div", Le, [
75
+ l("div", qe, [
75
76
  l("input", {
76
77
  ref_key: "fileInput",
77
78
  ref: v,
@@ -129,9 +130,9 @@ const Le = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
129
130
  }, 8, ["label", "required"]));
130
131
  }
131
132
  });
132
- function O(r) {
133
- const d = r;
134
- d.__i18n = d.__i18n || [], d.__i18n.push({
133
+ function O(d) {
134
+ const r = d;
135
+ r.__i18n = r.__i18n || [], r.__i18n.push({
135
136
  locale: "",
136
137
  resource: {
137
138
  da: {
@@ -152,15 +153,15 @@ function O(r) {
152
153
  typeof O == "function" && O(Ne);
153
154
  const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-form" }, Oe = /* @__PURE__ */ T({
154
155
  __name: "GiftCardSkeleton",
155
- setup(r) {
156
- return (d, c) => (i(), m("div", ze, [
156
+ setup(d) {
157
+ return (r, c) => (i(), m("div", ze, [
157
158
  l("div", Ke, [
158
159
  a(U),
159
160
  a(U),
160
161
  a(U),
161
162
  a(U),
162
163
  a(U, { "is-text-area": "" }),
163
- a(ye, { height: "44px" })
164
+ a(ke, { height: "44px" })
164
165
  ])
165
166
  ]));
166
167
  }
@@ -170,8 +171,8 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
170
171
  content: {},
171
172
  buttonLabel: {}
172
173
  },
173
- setup(r) {
174
- const { t: d } = B(), c = Y(!1);
174
+ setup(d) {
175
+ const { t: r } = B(), c = Y(!1);
175
176
  return (o, p) => (i(), m("div", Ye, [
176
177
  a(e(me), {
177
178
  keypath: "general.termsAndConditionsNotice",
@@ -179,7 +180,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
179
180
  scope: "global"
180
181
  }, {
181
182
  button: C(() => [
182
- l("i", null, '"' + L(o.buttonLabel) + '"', 1)
183
+ l("i", null, '"' + q(o.buttonLabel) + '"', 1)
183
184
  ]),
184
185
  terms: C(() => [
185
186
  l("a", {
@@ -187,12 +188,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
187
188
  target: "_blank",
188
189
  onClick: p[0] || (p[0] = oe((_) => c.value = !0, ["prevent"]))
189
190
  }, [
190
- l("span", null, L(e(d)("general.termsAndConditions")), 1)
191
+ l("span", null, q(e(r)("general.termsAndConditions")), 1)
191
192
  ])
192
193
  ]),
193
194
  _: 1
194
195
  }),
195
- a(qe, {
196
+ a(Le, {
196
197
  modelValue: c.value,
197
198
  "onUpdate:modelValue": p[1] || (p[1] = (_) => c.value = _),
198
199
  description: o.content
@@ -201,19 +202,19 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
201
202
  }
202
203
  }), Qe = /* @__PURE__ */ x(Je, [["__scopeId", "data-v-f587c956"]]), Xe = /* @__PURE__ */ T({
203
204
  __name: "GiftCard",
204
- setup(r) {
205
- const { t: d } = B(), c = D();
205
+ setup(d) {
206
+ const { t: r } = B(), c = D();
206
207
  return (o, p) => (i(), k(Qe, {
207
208
  content: e(c).termsOfService,
208
- "button-label": e(d)("giftCard.orderGiftCard")
209
+ "button-label": e(r)("giftCard.orderGiftCard")
209
210
  }, null, 8, ["content", "button-label"]));
210
211
  }
211
- }), Ze = (r) => (ue("data-v-278e1031"), r = r(), ce(), r), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
212
+ }), Ze = (d) => (ue("data-v-278e1031"), d = d(), ce(), d), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
212
213
  key: 0,
213
214
  id: "konnectio-select-place-type"
214
- }, dl = {
215
+ }, rl = {
215
216
  class: /* @__PURE__ */ Q(["konnectio-label", "required"])
216
- }, rl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
217
+ }, dl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
217
218
  key: 0,
218
219
  id: "konnectio-gift-card-order"
219
220
  }, pl = { class: "konnectio-panel" }, ml = {
@@ -231,10 +232,10 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
231
232
  placeType: {},
232
233
  styling: {}
233
234
  },
234
- setup(r) {
235
- const d = r, c = J(() => ({
235
+ setup(d) {
236
+ const r = d, c = J(() => ({
236
237
  panelMaxWidth: "800px",
237
- ...d.styling
238
+ ...r.styling
238
239
  })), { t: o } = B(), {
239
240
  name: p,
240
241
  email: _,
@@ -253,13 +254,13 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
253
254
  hasFilledForm: P,
254
255
  hasForcedPlaceType: R,
255
256
  isWaitingForResponse: F
256
- } = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(ke());
257
+ } = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(Ce());
257
258
  return ne(t, () => {
258
259
  $.value = void 0;
259
260
  }), ie(() => {
260
- const E = d.placeType ? parseInt(d.placeType) : void 0;
261
+ const E = r.placeType ? parseInt(r.placeType) : void 0;
261
262
  X(E);
262
- }), (E, s) => (i(), k($e, { styling: c.value }, {
263
+ }), (E, s) => (i(), k(Fe, { styling: c.value }, {
263
264
  default: C(() => [
264
265
  (i(), k(se, null, {
265
266
  default: C(() => [
@@ -280,7 +281,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
280
281
  }, [
281
282
  l("div", ll, [
282
283
  l("h2", tl, [
283
- l("span", null, L(e(o)("giftCard.title")), 1)
284
+ l("span", null, q(e(o)("giftCard.title")), 1)
284
285
  ]),
285
286
  l("div", al, [
286
287
  I(l("div", ol, [
@@ -296,12 +297,12 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
296
297
  l("form", null, [
297
298
  e(R) ? f("", !0) : (i(), m("div", il, [
298
299
  e(g) ? (i(), m("div", sl, [
299
- l("label", dl, [
300
- l("span", null, L(e(o)("giftCard.selectType")), 1)
300
+ l("label", rl, [
301
+ l("span", null, q(e(o)("giftCard.selectType")), 1)
301
302
  ]),
302
- l("div", rl, [
303
+ l("div", dl, [
303
304
  l("ul", null, [
304
- (i(!0), m(de, null, re(e(g), (n, z) => (i(), m("li", { key: z }, [
305
+ (i(!0), m(re, null, de(e(g), (n, z) => (i(), m("li", { key: z }, [
305
306
  a(Te, {
306
307
  modelValue: e(t),
307
308
  "onUpdate:modelValue": s[0] || (s[0] = (ae) => b(t) ? t.value = ae : null),
@@ -312,7 +313,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
312
313
  }, null, 8, ["modelValue", "val", "label"])
313
314
  ]))), 128))
314
315
  ]),
315
- e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(Ce, {
316
+ e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(Ve, {
316
317
  key: 0,
317
318
  modelValue: e($),
318
319
  "onUpdate:modelValue": s[1] || (s[1] = (n) => b($) ? $.value = n : null),
@@ -323,9 +324,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
323
324
  required: ""
324
325
  }, null, 8, ["modelValue", "placeholder", "options"])) : f("", !0)
325
326
  ])
326
- ])) : (i(), k(Ve, { key: 1 }))
327
+ ])) : (i(), k(we, { key: 1 }))
327
328
  ])),
328
- a(q, {
329
+ a(L, {
329
330
  modelValue: e(p),
330
331
  "onUpdate:modelValue": s[2] || (s[2] = (n) => b(p) ? p.value = n : null),
331
332
  type: "text",
@@ -336,7 +337,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
336
337
  placeholder: e(o)("giftCard.namePlaceholder"),
337
338
  required: ""
338
339
  }, null, 8, ["modelValue", "label", "placeholder"]),
339
- a(q, {
340
+ a(L, {
340
341
  modelValue: e(_),
341
342
  "onUpdate:modelValue": s[3] || (s[3] = (n) => b(_) ? _.value = n : null),
342
343
  type: "email",
@@ -355,7 +356,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
355
356
  placeholder: e(o)("giftCard.phonePlaceholder"),
356
357
  required: ""
357
358
  }, null, 8, ["modelValue", "label", "placeholder"]),
358
- a(q, {
359
+ a(L, {
359
360
  modelValue: e(h),
360
361
  "onUpdate:modelValue": s[5] || (s[5] = (n) => b(h) ? h.value = n : null),
361
362
  type: "number",
@@ -368,7 +369,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
368
369
  }, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
369
370
  f("", !0),
370
371
  f("", !0),
371
- a(we, {
372
+ a($e, {
372
373
  modelValue: e(w),
373
374
  "onUpdate:modelValue": s[8] || (s[8] = (n) => b(w) ? w.value = n : null),
374
375
  label: e(o)("giftCard.quantity"),
@@ -400,7 +401,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
400
401
  ])
401
402
  ])) : f("", !0),
402
403
  e(u) ? (i(), m("div", ml, [
403
- a(q, {
404
+ a(L, {
404
405
  modelValue: e(V),
405
406
  "onUpdate:modelValue": s[10] || (s[10] = (n) => b(V) ? V.value = n : null),
406
407
  type: "textarea",
@@ -455,8 +456,8 @@ class yl extends HTMLElement {
455
456
  this.vueApp.unmount();
456
457
  }
457
458
  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 });
459
+ const r = ve(W, this.attributes);
460
+ this.vueApp = pe(W, r), he(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 });
460
461
  const c = document.createElement("div");
461
462
  this.vueApp.mount(c), this.appendChild(c.children[0]);
462
463
  }
Binary file
@@ -1,27 +1,27 @@
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 S, S as k, v as O, o as x, w as Q } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
2
+ import { d as X, s as Y, a as P } from "./mitt-CxLBLOxI.js";
3
+ import { r as t, c as a } from "./_sentry-release-injection-file-DsYwID46.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] = "20ccc654-5baf-4857-b773-9469a0a79b74", r._sentryDebugIdIdentifier = "sentry-dbid-20ccc654-5baf-4857-b773-9469a0a79b74");
8
8
  } catch {
9
9
  }
10
10
  })();
11
11
  {
12
- var f = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
- f._sentryModuleMetadata = f._sentryModuleMetadata || {}, f._sentryModuleMetadata[new Error().stack] = Object.assign(
12
+ var v = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
+ v._sentryModuleMetadata = v._sentryModuleMetadata || {}, v._sentryModuleMetadata[new Error().stack] = Object.assign(
14
14
  {},
15
- f._sentryModuleMetadata[new Error().stack],
15
+ v._sentryModuleMetadata[new Error().stack],
16
16
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
17
17
  );
18
18
  }
19
19
  const te = X("giftCard", () => {
20
- const { pay: r } = H(), { display: c } = J(), { bearerToken: v, metaData: I, currencyId: j, hasError: T } = Y(A()), F = A(), n = t(o.InitialState), p = b("konnectio_name", "", void 0, { serializer: k.string }), g = b("konnectio_email", "", void 0, { serializer: k.string }), y = b("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), _ = t(1), C = t(!0), D = t(""), u = t({
20
+ const { pay: r } = H(), { display: c } = J(), { bearerToken: f, metaData: I, currencyId: j, hasError: T } = Y(A()), F = A(), n = t(o.InitialState), p = S("konnectio_name", "", void 0, { serializer: k.string }), g = S("konnectio_email", "", void 0, { serializer: k.string }), y = S("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), _ = t(1), C = t(!0), D = t(""), u = t({
21
21
  base64: "",
22
22
  type: "",
23
23
  name: ""
24
- }), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess), S = a(() => {
24
+ }), E = t(void 0), h = t(0), d = t(!1), w = t(0), M = a(() => F.hasMetadata ? F.metaData.hotels[0] : {}), U = a(() => M.value.termsOfService ? M.value.termsOfService : ""), W = a(() => n.value === o.InitialState || n.value === o.WaitingForResponse), L = a(() => n.value === o.ReadyToPay), q = a(() => n.value === o.PaymentSuccess), b = a(() => {
25
25
  const e = {
26
26
  1: {
27
27
  label: P.t("giftCard.hotelType"),
@@ -40,9 +40,9 @@ const te = X("giftCard", () => {
40
40
  }), R = a(() => w.value !== 0), i = a(() => {
41
41
  let e;
42
42
  if (R.value)
43
- e = S.value[w.value].data[0];
43
+ e = b.value[w.value].data[0];
44
44
  else if (h.value !== 0) {
45
- const l = E.value, s = S.value[h.value].data;
45
+ const l = E.value, s = b.value[h.value].data;
46
46
  s.length === 1 ? e = s[0] : l !== void 0 && s.forEach((z) => {
47
47
  String(z.id) === String(l) && (e = z);
48
48
  });
@@ -56,7 +56,7 @@ const te = X("giftCard", () => {
56
56
  language: x()
57
57
  },
58
58
  headers: {
59
- Authorization: v.value,
59
+ Authorization: f.value,
60
60
  Accept: "application/json"
61
61
  }
62
62
  })).data;
@@ -88,7 +88,7 @@ const te = X("giftCard", () => {
88
88
  placeID: i.value ? i.value.id : void 0
89
89
  }, {
90
90
  headers: {
91
- Authorization: v.value,
91
+ Authorization: f.value,
92
92
  Accept: "application/json"
93
93
  }
94
94
  }).then((e) => {
@@ -117,7 +117,7 @@ const te = X("giftCard", () => {
117
117
  showFormPage: W,
118
118
  showPaymentPage: L,
119
119
  showConfirmationPage: q,
120
- places: S,
120
+ places: b,
121
121
  hasFilledForm: B,
122
122
  hasForcedPlaceType: R,
123
123
  isWaitingForResponse: N,
@@ -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-DL8SvzFu.js.map
Binary file