@konnectio/core 4.0.59 → 4.0.60

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 (66) hide show
  1. package/dist/{ActionField-GHsNRSZm.js → ActionField-CVdLZg_F.js} +3 -3
  2. package/dist/ActionField-CVdLZg_F.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CyvafyOT.js → AvailabilitySkeleton-D8hRAFp-.js} +22 -23
  4. package/dist/AvailabilitySkeleton-D8hRAFp-.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js +8668 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js.br +0 -0
  7. package/dist/{CheckoutWindow-BqJ6ZsZD.js → CheckoutWindow-DUl3c-Tr.js} +40 -40
  8. package/dist/CheckoutWindow-DUl3c-Tr.js.br +0 -0
  9. package/dist/{ErrorMessage-144-POu6.js → ErrorMessage-Dt3tVome.js} +3 -3
  10. package/dist/ErrorMessage-Dt3tVome.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CJff-76Z.js → EventAvailabilityForm-DqV-7Yhd.js} +5 -5
  12. package/dist/EventAvailabilityForm-DqV-7Yhd.js.br +0 -0
  13. package/dist/{Field-BrI8toPe.js → Field-Bir0Q2Cn.js} +3 -3
  14. package/dist/Field-Bir0Q2Cn.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js} +148 -259
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js.br +0 -0
  17. package/dist/TermsOfService-Bi-4Y-Eu.js +36 -0
  18. package/dist/TermsOfService-Bi-4Y-Eu.js.br +0 -0
  19. package/dist/{_-CHRCWC6p.js → _-BaPwdDXA.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BUoCnNZd.js → _.vue_vue_type_style_index_0_lang-9DUPh09R.js} +4 -4
  21. package/dist/_.vue_vue_type_style_index_0_lang-9DUPh09R.js.br +0 -0
  22. package/dist/{_commonjsHelpers-CYyxJoRf.js → _commonjsHelpers-4acPj2Ir.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-CkMeg-D2.js → _sentry-release-injection-file-CSY2pTJK.js} +3458 -3488
  24. package/dist/_sentry-release-injection-file-CSY2pTJK.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +44 -43
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +29 -28
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +72 -71
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-DtBMjMxF.js → giftCard-DrbtM1MV.js} +4 -4
  36. package/dist/giftCard-DrbtM1MV.js.br +0 -0
  37. package/dist/hotel.js +23 -22
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-CoSanVEe.js +10375 -0
  40. package/dist/masonry.plugin-CoSanVEe.js.br +0 -0
  41. package/dist/{mitt-Cbb-9RWx.js → mitt-Ciy52c7q.js} +92 -93
  42. package/dist/mitt-Ciy52c7q.js.br +0 -0
  43. package/dist/polyfill.js +568 -892
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style-Bf1WJ5oD.js +2328 -0
  46. package/dist/style-Bf1WJ5oD.js.br +0 -0
  47. package/dist/style.css +1 -1
  48. package/dist/style.css.br +0 -0
  49. package/package.json +9 -9
  50. package/dist/ActionField-GHsNRSZm.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-CyvafyOT.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js +0 -8658
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js.br +0 -0
  54. package/dist/CheckoutWindow-BqJ6ZsZD.js.br +0 -0
  55. package/dist/ErrorMessage-144-POu6.js.br +0 -0
  56. package/dist/EventAvailabilityForm-CJff-76Z.js.br +0 -0
  57. package/dist/Field-BrI8toPe.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js.br +0 -0
  59. package/dist/TermsOfService-DLQtIpLt.js +0 -36
  60. package/dist/TermsOfService-DLQtIpLt.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-BUoCnNZd.js.br +0 -0
  62. package/dist/_sentry-release-injection-file-CkMeg-D2.js.br +0 -0
  63. package/dist/giftCard-DtBMjMxF.js.br +0 -0
  64. package/dist/masonry.plugin-Ch8U9Epf.js +0 -12782
  65. package/dist/masonry.plugin-Ch8U9Epf.js.br +0 -0
  66. package/dist/mitt-Cbb-9RWx.js.br +0 -0
package/dist/gift-card.js CHANGED
@@ -1,20 +1,21 @@
1
- import { d as S, r as K, c as Z, a as s, b as w, w as $, e as t, g as v, f as o, u as e, i as g, n as Y, t as q, h as ae, z as oe, o as ne, S as ie, A as I, B as L, F as se, s as re, v as y, p as de, j as ue, k as ce } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { u as B, T as pe, s as O, c as me, i as fe, m as be } from "./mitt-Cbb-9RWx.js";
3
- import { a as ve, c as T, p as he, E as _e, _ as z, d as ge, n as ke, L as ye, T as M, b as Ce, C as Ve, m as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
4
- import { u as x } from "./giftCard-DtBMjMxF.js";
5
- import { _ as $e } from "./_.vue_vue_type_style_index_0_lang-BUoCnNZd.js";
6
- import { a as Fe, C as Ee, P as Pe, _ as Ue } from "./CheckoutWindow-BqJ6ZsZD.js";
7
- import { F as A } from "./Field-BrI8toPe.js";
8
- import { E as Ae } from "./ErrorMessage-144-POu6.js";
9
- import { S as Te } from "./TermsOfService-DLQtIpLt.js";
1
+ import { d as S, r as K, c as Z, a as s, b as w, w as $, e as t, g as v, f as o, u as e, i as g, n as Y, t as q, h as ae, z as oe, o as ne, S as ie, A as I, B as G, F as se, s as re, v as y, p as de, j as ue, k as ce } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as B, T as pe, s as O, c as me, i as fe, m as be } from "./mitt-Ciy52c7q.js";
3
+ import { a as ve, c as T, p as he, E as _e, _ as z, d as ge, n as ke, L as ye, T as L, b as Ce, C as Ve, m as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { G as $e } from "./style-Bf1WJ5oD.js";
5
+ import { u as x } from "./giftCard-DrbtM1MV.js";
6
+ import { _ as Fe } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
7
+ import { a as Ee, C as Pe, P as Ue, _ as Ae } from "./CheckoutWindow-DUl3c-Tr.js";
8
+ import { F as A } from "./Field-Bir0Q2Cn.js";
9
+ import { E as Te } from "./ErrorMessage-Dt3tVome.js";
10
+ import { S as Se } from "./TermsOfService-Bi-4Y-Eu.js";
10
11
  (function() {
11
12
  try {
12
13
  var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
13
- n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "293836a3-7250-4fc7-9d4a-e9cbd7331ff0", d._sentryDebugIdIdentifier = "sentry-dbid-293836a3-7250-4fc7-9d4a-e9cbd7331ff0");
14
+ n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "64f5221e-3a81-4cdf-ac5b-15c2adc9eeb3", d._sentryDebugIdIdentifier = "sentry-dbid-64f5221e-3a81-4cdf-ac5b-15c2adc9eeb3");
14
15
  } catch {
15
16
  }
16
17
  })();
17
- const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-selector-wrapper" }, Me = { class: "media-selector-tools" }, Ge = { key: 0 }, qe = { key: 1 }, Be = { key: 2 }, Re = ["src"], De = /* @__PURE__ */ S({
18
+ const Ie = { class: "media-selector" }, Ge = ["accept"], Le = { class: "media-selector-wrapper" }, Me = { class: "media-selector-tools" }, qe = { key: 0 }, Be = { key: 1 }, Re = { key: 2 }, De = ["src"], xe = /* @__PURE__ */ S({
18
19
  __name: "MediaSelector",
19
20
  props: {
20
21
  modelValue: {},
@@ -62,7 +63,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
62
63
  type: "media"
63
64
  }, {
64
65
  default: $(() => [
65
- t("div", Se, [
66
+ t("div", Ie, [
66
67
  t("input", {
67
68
  ref_key: "fileInput",
68
69
  ref: p,
@@ -71,10 +72,10 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
71
72
  accept: a.validation,
72
73
  single: "",
73
74
  onChange: f[0] || (f[0] = (V) => F())
74
- }, null, 40, Ie),
75
+ }, null, 40, Ge),
75
76
  t("div", Le, [
76
77
  t("ul", Me, [
77
- _.value ? g("", !0) : (s(), v("li", Ge, [
78
+ _.value ? g("", !0) : (s(), v("li", qe, [
78
79
  o(T, {
79
80
  label: e(c)("uploadFile"),
80
81
  type: "button",
@@ -83,7 +84,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
83
84
  onClickEvent: f[1] || (f[1] = (V) => b())
84
85
  }, null, 8, ["label", "icon-color"])
85
86
  ])),
86
- _.value ? (s(), v("li", qe, [
87
+ _.value ? (s(), v("li", Be, [
87
88
  o(T, {
88
89
  label: e(c)("replaceFile"),
89
90
  type: "button",
@@ -92,7 +93,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
92
93
  onClickEvent: f[2] || (f[2] = (V) => b())
93
94
  }, null, 8, ["label", "icon-color"])
94
95
  ])) : g("", !0),
95
- _.value ? (s(), v("li", Be, [
96
+ _.value ? (s(), v("li", Re, [
96
97
  o(T, {
97
98
  label: e(c)("removeFile"),
98
99
  type: "button",
@@ -111,7 +112,7 @@ const Se = { class: "media-selector" }, Ie = ["accept"], Le = { class: "media-se
111
112
  a.modelValue ? (s(), v("img", {
112
113
  key: 0,
113
114
  src: a.modelValue.base64
114
- }, null, 8, Re)) : g("", !0)
115
+ }, null, 8, De)) : g("", !0)
115
116
  ], 2)
116
117
  ])
117
118
  ])
@@ -140,12 +141,12 @@ function W(d) {
140
141
  }
141
142
  });
142
143
  }
143
- typeof W == "function" && W(De);
144
- const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-form" }, je = /* @__PURE__ */ S({
144
+ typeof W == "function" && W(xe);
145
+ const ze = { class: "gift-card-skeleton" }, je = { class: "gift-card-skeleton-form" }, He = /* @__PURE__ */ S({
145
146
  __name: "GiftCardSkeleton",
146
147
  setup(d) {
147
- return (n, m) => (s(), v("div", xe, [
148
- t("div", ze, [
148
+ return (n, m) => (s(), v("div", ze, [
149
+ t("div", je, [
149
150
  o(A),
150
151
  o(A),
151
152
  o(A),
@@ -155,7 +156,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
155
156
  ])
156
157
  ]));
157
158
  }
158
- }), He = /* @__PURE__ */ z(je, [["__scopeId", "data-v-ba3efaa1"]]), Ne = { class: "konnectio-accept-terms" }, Oe = /* @__PURE__ */ S({
159
+ }), Ne = /* @__PURE__ */ z(He, [["__scopeId", "data-v-ba3efaa1"]]), Oe = { class: "konnectio-accept-terms" }, We = /* @__PURE__ */ S({
159
160
  __name: "_",
160
161
  props: {
161
162
  content: {},
@@ -163,7 +164,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
163
164
  },
164
165
  setup(d) {
165
166
  const { t: n } = B(), m = K(!1);
166
- return (l, c) => (s(), v("div", Ne, [
167
+ return (l, c) => (s(), v("div", Oe, [
167
168
  o(e(pe), {
168
169
  keypath: "general.termsAndConditionsNotice",
169
170
  tag: "span",
@@ -183,37 +184,37 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
183
184
  ]),
184
185
  _: 1
185
186
  }),
186
- o(Te, {
187
+ o(Se, {
187
188
  modelValue: m.value,
188
189
  "onUpdate:modelValue": c[1] || (c[1] = (h) => m.value = h),
189
190
  description: l.content
190
191
  }, null, 8, ["modelValue", "description"])
191
192
  ]));
192
193
  }
193
- }), We = /* @__PURE__ */ z(Oe, [["__scopeId", "data-v-f587c956"]]), Ke = /* @__PURE__ */ S({
194
+ }), Ke = /* @__PURE__ */ z(We, [["__scopeId", "data-v-f587c956"]]), Ze = /* @__PURE__ */ S({
194
195
  __name: "GiftCard",
195
196
  setup(d) {
196
197
  const { t: n } = B(), m = x();
197
- return (l, c) => (s(), w(We, {
198
+ return (l, c) => (s(), w(Ke, {
198
199
  content: e(m).termsOfService,
199
200
  "button-label": e(n)("giftCard.orderGiftCard")
200
201
  }, null, 8, ["content", "button-label"]));
201
202
  }
202
- }), Ze = (d) => (de("data-v-278e1031"), d = d(), ue(), d), Ye = ["data-layout"], Je = { id: "konnectio-gift-card-wrapper" }, Qe = { id: "konnectio-gift-card-title" }, Xe = { id: "konnectio-gift-card-content" }, et = { id: "konnectio-gift-card-payment" }, tt = ["innerHTML"], lt = { key: 0 }, at = {
203
+ }), Ye = (d) => (de("data-v-278e1031"), d = d(), ue(), d), Je = ["data-layout"], Qe = { id: "konnectio-gift-card-wrapper" }, Xe = { id: "konnectio-gift-card-title" }, et = { id: "konnectio-gift-card-content" }, tt = { id: "konnectio-gift-card-payment" }, lt = ["innerHTML"], at = { key: 0 }, ot = {
203
204
  key: 0,
204
205
  id: "konnectio-select-place-type"
205
- }, ot = {
206
+ }, nt = {
206
207
  class: /* @__PURE__ */ Y(["konnectio-label", "required"])
207
- }, nt = { id: "konnectio-select-place-type-input" }, it = ["innerHTML"], st = {
208
+ }, it = { id: "konnectio-select-place-type-input" }, st = ["innerHTML"], rt = {
208
209
  key: 0,
209
210
  id: "konnectio-gift-card-order"
210
- }, rt = { class: "konnectio-panel" }, dt = {
211
+ }, dt = { class: "konnectio-panel" }, ut = {
211
212
  key: 1,
212
213
  id: "konnectio-gift-card-remarks"
213
- }, ut = {
214
+ }, ct = {
214
215
  key: 2,
215
216
  id: "konnectio-gift-card-order-minimal"
216
- }, ct = /* @__PURE__ */ Ze(() => /* @__PURE__ */ t("div", { class: "konnectio-divider" }, null, -1)), pt = { id: "konnectio-gift-card-recaptcha" }, mt = /* @__PURE__ */ S({
217
+ }, pt = /* @__PURE__ */ Ye(() => /* @__PURE__ */ t("div", { class: "konnectio-divider" }, null, -1)), mt = { id: "konnectio-gift-card-recaptcha" }, ft = /* @__PURE__ */ S({
217
218
  name: "GiftCardLayout",
218
219
  __name: "GiftCard",
219
220
  props: {
@@ -254,13 +255,13 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
254
255
  default: $(() => [
255
256
  (s(), w(ie, null, {
256
257
  default: $(() => [
257
- o($e, {
258
+ o(Fe, {
258
259
  "access-token": P.accessToken,
259
260
  "data-layout": P.layout,
260
261
  callback: e(Q)
261
262
  }, {
262
263
  default: $(() => [
263
- e(te) ? (s(), w(Ae, {
264
+ e(te) ? (s(), w(Te, {
264
265
  key: 1,
265
266
  title: "Unable to render Gift card module",
266
267
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
@@ -269,31 +270,31 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
269
270
  id: "konnectio-gift-card-module",
270
271
  "data-layout": P.layout
271
272
  }, [
272
- t("div", Je, [
273
- t("h2", Qe, [
273
+ t("div", Qe, [
274
+ t("h2", Xe, [
274
275
  t("span", null, q(e(l)("giftCard.title")), 1)
275
276
  ]),
276
- t("div", Xe, [
277
- I(t("div", et, [
278
- o(Fe)
277
+ t("div", et, [
278
+ I(t("div", tt, [
279
+ o(Ee)
279
280
  ], 512), [
280
- [L, e(V)]
281
+ [G, e(V)]
281
282
  ]),
282
283
  I(t("div", null, [
283
284
  t("p", {
284
285
  id: "konnectio-gift-card-description",
285
286
  innerHTML: e(l)("giftCard.description")
286
- }, null, 8, tt),
287
+ }, null, 8, lt),
287
288
  t("form", null, [
288
- e(D) ? g("", !0) : (s(), v("div", lt, [
289
- e(C) ? (s(), v("div", at, [
290
- t("label", ot, [
289
+ e(D) ? g("", !0) : (s(), v("div", at, [
290
+ e(C) ? (s(), v("div", ot, [
291
+ t("label", nt, [
291
292
  t("span", null, q(e(l)("giftCard.selectType")), 1)
292
293
  ]),
293
- t("div", nt, [
294
+ t("div", it, [
294
295
  t("ul", null, [
295
296
  (s(!0), v(se, null, re(e(C), (i, N) => (s(), v("li", { key: N }, [
296
- o(Ee, {
297
+ o(Pe, {
297
298
  modelValue: e(a),
298
299
  "onUpdate:modelValue": r[0] || (r[0] = (le) => y(a) ? a.value = le : null),
299
300
  type: "radio",
@@ -316,7 +317,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
316
317
  ])
317
318
  ])) : (s(), w(ye, { key: 1 }))
318
319
  ])),
319
- o(M, {
320
+ o(L, {
320
321
  modelValue: e(c),
321
322
  "onUpdate:modelValue": r[2] || (r[2] = (i) => y(c) ? c.value = i : null),
322
323
  type: "text",
@@ -327,7 +328,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
327
328
  placeholder: e(l)("giftCard.namePlaceholder"),
328
329
  required: ""
329
330
  }, null, 8, ["modelValue", "label", "placeholder"]),
330
- o(M, {
331
+ o(L, {
331
332
  modelValue: e(h),
332
333
  "onUpdate:modelValue": r[3] || (r[3] = (i) => y(h) ? h.value = i : null),
333
334
  type: "email",
@@ -338,7 +339,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
338
339
  placeholder: e(l)("giftCard.emailPlaceholder"),
339
340
  required: ""
340
341
  }, null, 8, ["modelValue", "label", "placeholder"]),
341
- o(Pe, {
342
+ o(Ue, {
342
343
  modelValue: e(p),
343
344
  "onUpdate:modelValue": r[4] || (r[4] = (i) => y(p) ? p.value = i : null),
344
345
  icon: "phone-office",
@@ -346,7 +347,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
346
347
  placeholder: e(l)("giftCard.phonePlaceholder"),
347
348
  required: ""
348
349
  }, null, 8, ["modelValue", "label", "placeholder"]),
349
- o(M, {
350
+ o(L, {
350
351
  modelValue: e(_),
351
352
  "onUpdate:modelValue": r[5] || (r[5] = (i) => y(_) ? _.value = i : null),
352
353
  type: "number",
@@ -368,18 +369,18 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
368
369
  }, null, 8, ["modelValue", "label"])
369
370
  ])
370
371
  ], 512), [
371
- [L, e(f)]
372
+ [G, e(f)]
372
373
  ]),
373
374
  I(t("div", null, [
374
375
  t("div", {
375
376
  innerHTML: e(l)("giftCard.thankYou")
376
- }, null, 8, it)
377
+ }, null, 8, st)
377
378
  ], 512), [
378
- [L, e(R)]
379
+ [G, e(R)]
379
380
  ])
380
381
  ]),
381
- P.layout !== "minimal" && e(f) ? (s(), v("div", st, [
382
- t("div", rt, [
382
+ P.layout !== "minimal" && e(f) ? (s(), v("div", rt, [
383
+ t("div", dt, [
383
384
  o(T, {
384
385
  label: e(l)("giftCard.orderGiftCard"),
385
386
  "full-width": !0,
@@ -390,8 +391,8 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
390
391
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
391
392
  ])
392
393
  ])) : g("", !0),
393
- e(f) ? (s(), v("div", dt, [
394
- o(M, {
394
+ e(f) ? (s(), v("div", ut, [
395
+ o(L, {
395
396
  modelValue: e(u),
396
397
  "onUpdate:modelValue": r[10] || (r[10] = (i) => y(u) ? u.value = i : null),
397
398
  type: "textarea",
@@ -401,7 +402,7 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
401
402
  placeholder: e(l)("giftCard.remarkPlaceholder")
402
403
  }, null, 8, ["modelValue", "label", "placeholder"])
403
404
  ])) : g("", !0),
404
- e(f) ? (s(), v("div", ut, [
405
+ e(f) ? (s(), v("div", ct, [
405
406
  o(T, {
406
407
  label: e(l)("giftCard.orderGiftCard"),
407
408
  "full-width": !0,
@@ -412,23 +413,23 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
412
413
  onClickEvent: e(H)
413
414
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
414
415
  t("div", null, [
415
- ct,
416
- o(Ke)
416
+ pt,
417
+ o(Ze)
417
418
  ]),
418
- I(t("div", pt, [
419
- o(Ue)
419
+ I(t("div", mt, [
420
+ o(Ae)
420
421
  ], 512), [
421
- [L, e(X)]
422
+ [G, e(X)]
422
423
  ])
423
424
  ])) : g("", !0)
424
425
  ])
425
- ], 8, Ye))
426
+ ], 8, Je))
426
427
  ]),
427
428
  _: 1
428
429
  }, 8, ["access-token", "data-layout", "callback"])
429
430
  ]),
430
431
  fallback: $(() => [
431
- o(He)
432
+ o(Ne)
432
433
  ]),
433
434
  _: 1
434
435
  }))
@@ -436,8 +437,8 @@ const xe = { class: "gift-card-skeleton" }, ze = { class: "gift-card-skeleton-fo
436
437
  _: 1
437
438
  }, 8, ["styling"]));
438
439
  }
439
- }), G = /* @__PURE__ */ z(mt, [["__scopeId", "data-v-278e1031"]]), ft = me(), bt = be();
440
- class vt extends HTMLElement {
440
+ }), M = /* @__PURE__ */ z(ft, [["__scopeId", "data-v-278e1031"]]), bt = me(), vt = be();
441
+ class ht extends HTMLElement {
441
442
  vueApp;
442
443
  constructor() {
443
444
  super();
@@ -446,7 +447,7 @@ class vt extends HTMLElement {
446
447
  this.vueApp.unmount();
447
448
  }
448
449
  connectedCallback() {
449
- const n = typeof G == "function" ? G.options : G;
450
+ const n = typeof M == "function" ? M.options : M;
450
451
  let m = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
451
452
  const l = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (k, b) => (b ? "-" : "") + k.toLowerCase()), c = (u) => u.replace(/-./g, (k) => k[1].toUpperCase()), h = {};
452
453
  m = m.map(l);
@@ -459,13 +460,13 @@ class vt extends HTMLElement {
459
460
  let k = this.attributes.getNamedItem(u)?.value;
460
461
  p.hasOwnProperty(u) && (k = p[u]), h[u] = k;
461
462
  }
462
- this.vueApp = ce(G, h), this.vueApp.provide("emitter", bt), this.vueApp.use(ft), this.vueApp.use(fe), this.vueApp.use(we, { bootstrap: !0 });
463
+ this.vueApp = ce(M, h), this.vueApp.provide("emitter", vt), this.vueApp.use(bt), this.vueApp.use(fe), this.vueApp.use($e), this.vueApp.use(we, { bootstrap: !0 });
463
464
  const _ = document.createElement("div");
464
465
  this.vueApp.mount(_), this.appendChild(_.children[0]);
465
466
  }
466
467
  }
467
- window.customElements.define("konnectio-gift-card", vt);
468
+ window.customElements.define("konnectio-gift-card", ht);
468
469
  export {
469
- vt as default
470
+ ht as default
470
471
  };
471
472
  //# sourceMappingURL=gift-card.js.map
Binary file
@@ -1,6 +1,6 @@
1
- import { r as H, a as J, d as E, G as s, t as S, S as w, v as M, o as O, w as K } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
2
- import { d as Q, s as X, a as k } from "./mitt-Cbb-9RWx.js";
3
- import { r as t, c as a } from "./_sentry-release-injection-file-CkMeg-D2.js";
1
+ import { r as H, a as J, d as E, G as s, t as S, S as w, v as M, o as O, w as K } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
2
+ import { d as Q, s as X, a as k } from "./mitt-Ciy52c7q.js";
3
+ import { r as t, c as a } from "./_sentry-release-injection-file-CSY2pTJK.js";
4
4
  (function() {
5
5
  try {
6
6
  var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c = new Error().stack;
@@ -123,4 +123,4 @@ const ae = Q("giftCard", () => {
123
123
  export {
124
124
  ae as u
125
125
  };
126
- //# sourceMappingURL=giftCard-DtBMjMxF.js.map
126
+ //# sourceMappingURL=giftCard-DrbtM1MV.js.map
Binary file
package/dist/hotel.js CHANGED
@@ -1,15 +1,16 @@
1
- import { d as Q, r as ne, a as u, b as A, w as $, l as qe, u as t, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as M, x as Ye, v as N, h as Ae, c as G, p as kt, j as _t, o as tt, z as De, n as He, S as to, C as oo, D as no, E as lo, k as ao } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { u as le, s as Z, T as io, c as so, i as ro, m as co } from "./mitt-Cbb-9RWx.js";
3
- import { d as Ve, x as me, u as _e, I as K, s as ce, y as Ze, l as dt, z as re, h as oe, _ as ue, n as Be, A as Vt, b as Qe, c as de, e as Tt, B as $t, D as ct, T as se, p as uo, F as po, a as mo, C as fo, i as ut, j as ho, k as pt, m as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
4
- import { R as yo, B as Ee, L as go, S as bo, M as ko, a as ze, C as _o, T as Vo, V as To, G as $o } from "./masonry.plugin-Ch8U9Epf.js";
5
- import { A as Co, H as wo } from "./AvailabilitySkeleton-CyvafyOT.js";
6
- import { S as Po } from "./TermsOfService-DLQtIpLt.js";
7
- import { C as Se, B as Ao, P as Do, a as Ho } from "./CheckoutWindow-BqJ6ZsZD.js";
8
- import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js";
1
+ import { d as Q, r as ne, a as u, b as A, w as $, l as qe, u as t, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as M, x as Ye, v as N, h as Ae, c as G, p as kt, j as _t, o as tt, z as De, n as He, S as to, C as oo, D as no, E as lo, k as ao } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as le, s as Z, T as io, c as so, i as ro, m as co } from "./mitt-Ciy52c7q.js";
3
+ import { d as Ve, x as me, u as _e, I as K, s as ce, y as Ze, l as dt, z as re, h as oe, _ as ue, n as Be, A as Vt, b as Qe, c as de, e as Tt, B as $t, D as ct, T as se, p as uo, F as po, a as mo, C as fo, i as ut, j as ho, k as pt, m as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { G as yo } from "./style-Bf1WJ5oD.js";
5
+ import { A as go, H as bo } from "./AvailabilitySkeleton-D8hRAFp-.js";
6
+ import { R as ko, B as Ee, L as _o, S as Vo, M as To, a as ze, C as $o, T as Co, V as wo } from "./masonry.plugin-CoSanVEe.js";
7
+ import { S as Po } from "./TermsOfService-Bi-4Y-Eu.js";
8
+ import { C as Se, B as Ao, P as Do, a as Ho } from "./CheckoutWindow-DUl3c-Tr.js";
9
+ import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js";
9
10
  (function() {
10
11
  try {
11
12
  var l = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "bd36c7b2-6624-49f4-a3d6-c30f57634223", l._sentryDebugIdIdentifier = "sentry-dbid-bd36c7b2-6624-49f4-a3d6-c30f57634223");
13
+ n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "dcb41e34-ffd6-4139-98a4-4220c93b22c8", l._sentryDebugIdIdentifier = "sentry-dbid-dcb41e34-ffd6-4139-98a4-4220c93b22c8");
13
14
  } catch {
14
15
  }
15
16
  })();
@@ -54,7 +55,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Uo = { key: 0 }, Ro = { class: "konnecti
54
55
  function ye(ee) {
55
56
  return ee.reduce((U, { totalPrice: ge }) => U + ge, 0);
56
57
  }
57
- return (ee, z) => (u(), A(yo, {
58
+ return (ee, z) => (u(), A(ko, {
58
59
  "discount-code": t(X),
59
60
  "onUpdate:discountCode": z[4] || (z[4] = (U) => N(X) ? X.value = U : null),
60
61
  "validate-discount-code": t(Le),
@@ -865,15 +866,15 @@ const en = /* @__PURE__ */ Q({
865
866
  setup(l) {
866
867
  return (n, o) => (u(), f("div", gn, [
867
868
  a("div", bn, [
868
- g(Co, { hotel: "" }),
869
- g(go)
869
+ g(go, { hotel: "" }),
870
+ g(_o)
870
871
  ]),
871
872
  a("div", kn, [
872
- g(bo)
873
+ g(Vo)
873
874
  ])
874
875
  ]));
875
876
  }
876
- }), Vn = /* @__PURE__ */ ue(_n, [["__scopeId", "data-v-1bb21da4"]]), Tn = (l) => (kt("data-v-2713d0ba"), l = l(), _t(), l), $n = { id: "booking-availability-container" }, Cn = { id: "booking-availability-controls" };
877
+ }), Vn = /* @__PURE__ */ ue(_n, [["__scopeId", "data-v-1bb21da4"]]), Tn = (l) => (kt("data-v-91403293"), l = l(), _t(), l), $n = { id: "booking-availability-container" }, Cn = { id: "booking-availability-controls" };
877
878
  const wn = { key: 1 }, Pn = { key: 0 }, An = {
878
879
  key: 0,
879
880
  id: "booking-availability-packages"
@@ -920,7 +921,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
920
921
  styling: {}
921
922
  },
922
923
  setup(l) {
923
- const n = oo(() => import("./_-CHRCWC6p.js")), o = l, { t: e } = le(), {
924
+ const n = oo(() => import("./_-BaPwdDXA.js")), o = l, { t: e } = le(), {
924
925
  templateID: i,
925
926
  templateAddons: s,
926
927
  countries: m,
@@ -1048,7 +1049,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1048
1049
  const k = ho("hash-params", {
1049
1050
  removeNullishValues: !0
1050
1051
  }), T = parseInt(k.a), q = parseInt(k.c), D = parseInt(k.hid), y = parseInt(k.n), W = k.ci, E = k.co, S = k.id;
1051
- if (isNaN(T) || (T > lt.value ? ye.value = lt.value : ye.value = T, k.a = void 0), isNaN(q) || (q > at.value ? ee.value = at.value : ee.value = q, k.c = void 0), isNaN(y) || y > 0 && (k.n = void 0), isNaN(D) || (Re(D) ? (z.value = D, k.hid = void 0) : je({
1052
+ if (isNaN(T) || (T > lt.value ? ye.value = lt.value : ye.value = T, k.a = void 0), isNaN(q) || (q > at.value ? ee.value = at.value : ee.value = q, k.c = void 0), isNaN(y) || y > 0 && (k.n = void 0), isNaN(D) || (Re(D) ? z.value = D : je({
1052
1053
  message: e("alert.error.hotelIdNotFound"),
1053
1054
  type: "error"
1054
1055
  })), W && E)
@@ -1076,7 +1077,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1076
1077
  callback: t(Gt)
1077
1078
  }, {
1078
1079
  default: $(() => [
1079
- g(ko, {
1080
+ g(To, {
1080
1081
  layout: k.headerLayout,
1081
1082
  steps: Wt,
1082
1083
  onReset: t(Ft)
@@ -1086,7 +1087,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1086
1087
  form: $(() => [
1087
1088
  a("div", $n, [
1088
1089
  a("div", Cn, [
1089
- g(wo, {
1090
+ g(bo, {
1090
1091
  booking: !0,
1091
1092
  "selected-location": Number(k.selectedLocation)
1092
1093
  }, null, 8, ["selected-location"])
@@ -1525,7 +1526,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1525
1526
  icon: "allergies",
1526
1527
  placeholder: t(e)("booking.reservation.allergiesPlaceholder")
1527
1528
  }, null, 8, ["modelValue", "label", "placeholder"]),
1528
- t(Mt) ? _("", !0) : (u(), A(_o, {
1529
+ t(Mt) ? _("", !0) : (u(), A($o, {
1529
1530
  key: 2,
1530
1531
  modelValue: t(d),
1531
1532
  "onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
@@ -1559,7 +1560,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1559
1560
  g(Ho)
1560
1561
  ]),
1561
1562
  confirmation: $(() => [
1562
- g(Vo, {
1563
+ g(Co, {
1563
1564
  message: t(e)("booking.confirmation.thankYou")
1564
1565
  }, null, 8, ["message"])
1565
1566
  ]),
@@ -1578,7 +1579,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1578
1579
  _: 1
1579
1580
  }, 8, ["styling"]));
1580
1581
  }
1581
- }), Ce = /* @__PURE__ */ ue(sl, [["__scopeId", "data-v-2713d0ba"]]);
1582
+ }), Ce = /* @__PURE__ */ ue(sl, [["__scopeId", "data-v-91403293"]]);
1582
1583
  function Xe(l, n = {}, o) {
1583
1584
  for (const e in l) {
1584
1585
  const i = l[e], s = o ? `${o}:${e}` : e;
@@ -2205,7 +2206,7 @@ class Yl extends HTMLElement {
2205
2206
  let r = this.attributes.getNamedItem(c)?.value;
2206
2207
  m.hasOwnProperty(c) && (r = m[c]), s[c] = r;
2207
2208
  }
2208
- this.vueApp = ao(Ce, s), this.vueApp.provide("emitter", Jl), this.vueApp.use(xl), this.vueApp.use(zl), this.vueApp.use(To), this.vueApp.use(ro), this.vueApp.use($o), this.vueApp.use(vo, { bootstrap: !0 });
2209
+ this.vueApp = ao(Ce, s), this.vueApp.provide("emitter", Jl), this.vueApp.use(xl), this.vueApp.use(zl), this.vueApp.use(wo), this.vueApp.use(ro), this.vueApp.use(yo), this.vueApp.use(vo, { bootstrap: !0 });
2209
2210
  const p = document.createElement("div");
2210
2211
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2211
2212
  }
package/dist/hotel.js.br CHANGED
Binary file