@konnectio/core 4.0.56-rc20 → 4.0.56-rc22

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 (44) hide show
  1. package/dist/{ActionField-8hkjdoF_.js → ActionField-ZJdtBRXa.js} +7 -7
  2. package/dist/ActionField-ZJdtBRXa.js.br +4 -0
  3. package/dist/AvailabilitySkeleton-tfEBupNq.js +234 -0
  4. package/dist/AvailabilitySkeleton-tfEBupNq.js.br +0 -0
  5. package/dist/{CheckoutWindow-bgpWiBAd.js → CheckoutWindow-orJD6dJy.js} +28 -28
  6. package/dist/CheckoutWindow-orJD6dJy.js.br +0 -0
  7. package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js +7607 -0
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js.br +0 -0
  9. package/dist/ErrorMessage-mUpn7ZBU.js +36 -0
  10. package/dist/ErrorMessage-mUpn7ZBU.js.br +0 -0
  11. package/dist/EventAvailabilityForm-cAOEZVnn.js +366 -0
  12. package/dist/EventAvailabilityForm-cAOEZVnn.js.br +0 -0
  13. package/dist/{Field-FbUrCgmJ.js → Field-Kwm-GcDa.js} +7 -7
  14. package/dist/Field-Kwm-GcDa.js.br +0 -0
  15. package/dist/{ThankYou-tb7LP48E.js → ThankYou-EiAxaHd8.js} +2712 -2758
  16. package/dist/ThankYou-EiAxaHd8.js.br +0 -0
  17. package/dist/{_-5tXWGiwV.js → _-KavQ60qi.js} +5332 -5360
  18. package/dist/_-KavQ60qi.js.br +0 -0
  19. package/dist/availability.js +69 -157
  20. package/dist/availability.js.br +0 -0
  21. package/dist/event.js +323 -534
  22. package/dist/event.js.br +0 -0
  23. package/dist/gift-card-validation.js +28 -29
  24. package/dist/gift-card-validation.js.br +0 -0
  25. package/dist/gift-card.js +203 -199
  26. package/dist/gift-card.js.br +0 -0
  27. package/dist/hotel.js +1328 -1248
  28. package/dist/hotel.js.br +0 -0
  29. package/dist/polyfill.js +1 -1
  30. package/dist/polyfill.js.br +0 -0
  31. package/dist/style.css +1 -1
  32. package/dist/style.css.br +0 -0
  33. package/package.json +7 -6
  34. package/dist/ActionField-8hkjdoF_.js.br +0 -0
  35. package/dist/AvailabilitySkeleton-K35mnVjA.js +0 -215
  36. package/dist/AvailabilitySkeleton-K35mnVjA.js.br +0 -0
  37. package/dist/CheckoutWindow-bgpWiBAd.js.br +0 -0
  38. package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js +0 -8026
  39. package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js.br +0 -0
  40. package/dist/Field-FbUrCgmJ.js.br +0 -0
  41. package/dist/ThankYou-tb7LP48E.js.br +0 -0
  42. package/dist/_-5tXWGiwV.js.br +0 -0
  43. package/dist/event-36Kem6rb.js +0 -328
  44. package/dist/event-36Kem6rb.js.br +0 -0
package/dist/event.js.br CHANGED
Binary file
@@ -1,80 +1,79 @@
1
- import { k as w, o as h, x as X, n as t, t as o, z as _, v as S, B, s as y, a as V, c as E, m as A, w as m, ab as G, P as c, p as e, J as x, N as k, W as N, a2 as T, y as $, L as I, a3 as z, a4 as D, a7 as M, a8 as P, a9 as U } from "./_-5tXWGiwV.js";
2
- import { A as F } from "./ActionField-8hkjdoF_.js";
3
- import { F as L } from "./Field-FbUrCgmJ.js";
4
- import "./_commonjsHelpers-f3sTPFkQ.js";
5
- const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-validation-skeleton-form" }, j = { class: "gift-card-validation-skeleton-text" }, R = { class: "gift-card-validation-skeleton-input" }, Z = /* @__PURE__ */ w({
1
+ import { d as L, o as h, h as X, b as t, f as o, E as _, g as S, j as E, B as y, X as V, D as B, a as A, w as m, S as G, t as c, u as e, H as w, M as C, N, R as T, i as $, m as D, q as I, s as M, y as z, z as H, A as U } from "./_-KavQ60qi.js";
2
+ import { A as j } from "./ActionField-ZJdtBRXa.js";
3
+ import { F as x } from "./Field-Kwm-GcDa.js";
4
+ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-validation-skeleton-form" }, P = { class: "gift-card-validation-skeleton-text" }, R = { class: "gift-card-validation-skeleton-input" }, Z = /* @__PURE__ */ L({
6
5
  __name: "GiftCardValidationSkeleton",
7
- setup(C) {
8
- return (n, l) => (h(), X("div", H, [
6
+ setup(k) {
7
+ return (n, l) => (h(), X("div", F, [
9
8
  t("div", O, [
10
- t("div", j, [
9
+ t("div", P, [
11
10
  o(_, { height: "20px" }),
12
11
  o(_, { height: "15px" }),
13
12
  o(_, { height: "15px" })
14
13
  ]),
15
14
  t("div", R, [
16
- o(L),
17
- o(L, { "no-label": "" })
15
+ o(x),
16
+ o(x, { "no-label": "" })
18
17
  ])
19
18
  ])
20
19
  ]));
21
20
  }
22
- }), J = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-0b8074bf"]]), W = ["innerHTML"], q = {
21
+ }), q = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-0b8074bf"]]), J = ["innerHTML"], K = {
23
22
  key: 0,
24
23
  id: "fresh-booking-gift-card-validation-resume",
25
24
  class: "fresh-booking-panel"
26
- }, K = /* @__PURE__ */ w({
25
+ }, Q = /* @__PURE__ */ L({
27
26
  name: "GiftCardValidationLayout",
28
27
  __name: "GiftCardValidation",
29
28
  props: {
30
29
  accessToken: {},
31
30
  styling: {}
32
31
  },
33
- setup(C) {
34
- const { t: n } = B(), {
32
+ setup(k) {
33
+ const { t: n } = E(), {
35
34
  voucher: l,
36
35
  isValid: b,
37
36
  amount: v,
38
37
  expirationDate: f,
39
38
  productName: d,
40
39
  isLoading: p
41
- } = y(V()), { currency: a } = y(E()), { apply: s } = V();
42
- return (i, r) => (h(), A(D, { styling: i.styling }, {
40
+ } = y(V()), { currency: a } = y(B()), { apply: s } = V();
41
+ return (i, r) => (h(), A(M, { styling: i.styling }, {
43
42
  default: m(() => [
44
43
  (h(), A(G, null, {
45
44
  default: m(() => [
46
- o(z, {
45
+ o(I, {
47
46
  id: "fresh-booking-gift-card-validation-module",
48
47
  "access-token": i.accessToken,
49
48
  type: "gift-card"
50
49
  }, {
51
50
  default: m(() => [
52
51
  t("form", {
53
- onSubmit: r[3] || (r[3] = I((u) => e(s)(), ["prevent"]))
52
+ onSubmit: r[3] || (r[3] = D((u) => e(s)(), ["prevent"]))
54
53
  }, [
55
54
  t("h4", null, [
56
55
  t("span", null, c(e(n)("giftCardValidation.title")), 1)
57
56
  ]),
58
57
  t("p", {
59
58
  innerHTML: e(n)("giftCardValidation.description")
60
- }, null, 8, W),
61
- o(F, {
59
+ }, null, 8, J),
60
+ o(j, {
62
61
  modelValue: e(l),
63
- "onUpdate:modelValue": r[0] || (r[0] = (u) => x(l) ? l.value = u : null),
62
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => w(l) ? l.value = u : null),
64
63
  icon: "gift-card",
65
64
  label: e(n)("booking.reservation.giftCardCode"),
66
65
  buttonLabel: e(n)("giftCardValidation.submitButton"),
67
66
  placeholder: "XXXXXXXX",
68
67
  "is-loading": e(p),
69
- "onUpdate:isLoading": r[1] || (r[1] = (u) => x(p) ? p.value = u : null),
68
+ "onUpdate:isLoading": r[1] || (r[1] = (u) => w(p) ? p.value = u : null),
70
69
  onAction: r[2] || (r[2] = (u) => e(s)())
71
70
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
72
- !e(p) && e(b) ? (h(), X("table", q, [
71
+ !e(p) && e(b) ? (h(), X("table", K, [
73
72
  t("thead", null, [
74
73
  t("tr", null, [
75
74
  t("th", null, [
76
75
  t("span", null, c(e(n)("giftCardValidation.giftCard")), 1),
77
- o(k, {
76
+ o(C, {
78
77
  icon: "gift-card",
79
78
  type: "fas",
80
79
  color: "header"
@@ -82,7 +81,7 @@ const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
82
81
  ]),
83
82
  t("th", null, [
84
83
  t("span", null, c(e(n)("giftCardValidation.balance")), 1),
85
- o(k, {
84
+ o(C, {
86
85
  icon: "money-bill",
87
86
  type: "fas",
88
87
  color: "header"
@@ -90,7 +89,7 @@ const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
90
89
  ]),
91
90
  t("th", null, [
92
91
  t("span", null, c(e(n)("giftCardValidation.expirationDate")), 1),
93
- o(k, {
92
+ o(C, {
94
93
  icon: "timer",
95
94
  type: "fas",
96
95
  color: "header"
@@ -118,7 +117,7 @@ const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
118
117
  }, 8, ["access-token"])
119
118
  ]),
120
119
  fallback: m(() => [
121
- o(J)
120
+ o(q)
122
121
  ]),
123
122
  _: 1
124
123
  }))
@@ -126,7 +125,7 @@ const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
126
125
  _: 1
127
126
  }, 8, ["styling"]));
128
127
  }
129
- }), g = /* @__PURE__ */ S(K, [["__scopeId", "data-v-b19b4a0e"]]), Q = M();
128
+ }), g = /* @__PURE__ */ S(Q, [["__scopeId", "data-v-b19b4a0e"]]), W = z();
130
129
  class Y extends HTMLElement {
131
130
  vueApp;
132
131
  constructor() {
@@ -149,7 +148,7 @@ class Y extends HTMLElement {
149
148
  let s = this.attributes.getNamedItem(a)?.value;
150
149
  d.hasOwnProperty(a) && (s = d[a]), f[a] = s;
151
150
  }
152
- this.vueApp = P(g, f), this.vueApp.use(Q), this.vueApp.use(U);
151
+ this.vueApp = H(g, f), this.vueApp.use(W), this.vueApp.use(U);
153
152
  const p = document.createElement("div");
154
153
  this.vueApp.mount(p), this.appendChild(p.children[0]);
155
154
  }
Binary file