@konnectio/core 4.7.4 → 4.7.5

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 (111) hide show
  1. package/dist/{ActionField-B1aBJVRb.js → ActionField-BSR_1wKe.js} +42 -42
  2. package/dist/ActionField-BSR_1wKe.js.br +0 -0
  3. package/dist/ActionField-BSR_1wKe.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-B1hwKbSA.js → AvailabilitySkeleton-DahKJsT-.js} +1660 -1660
  5. package/dist/AvailabilitySkeleton-DahKJsT-.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DahKJsT-.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BD2PXPt7.js → CheckoutWindow-DWwmz8yv.js} +152 -152
  8. package/dist/CheckoutWindow-DWwmz8yv.js.br +0 -0
  9. package/dist/CheckoutWindow-DWwmz8yv.js.gz +0 -0
  10. package/dist/{ErrorMessage-DiRVby8f.js → ErrorMessage-CiXnpywW.js} +13 -13
  11. package/dist/ErrorMessage-CiXnpywW.js.br +0 -0
  12. package/dist/ErrorMessage-CiXnpywW.js.gz +0 -0
  13. package/dist/EventAvailabilityForm-CkhgG14V.js +114 -0
  14. package/dist/EventAvailabilityForm-CkhgG14V.js.br +0 -0
  15. package/dist/EventAvailabilityForm-CkhgG14V.js.gz +0 -0
  16. package/dist/{Field-BYZdtara.js → Field-BX_mv8fo.js} +7 -7
  17. package/dist/Field-BX_mv8fo.js.br +0 -0
  18. package/dist/Field-BX_mv8fo.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-B0apZ6dV.js +323 -0
  20. package/dist/HotelAvailabilityForm-B0apZ6dV.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-B0apZ6dV.js.gz +0 -0
  22. package/dist/{SelectField-m_n1cMe0.js → SelectField-O_sbbnII.js} +2615 -2578
  23. package/dist/SelectField-O_sbbnII.js.br +0 -0
  24. package/dist/SelectField-O_sbbnII.js.gz +0 -0
  25. package/dist/TermsOfService-CRw50Ij5.js +17 -0
  26. package/dist/TermsOfService-CRw50Ij5.js.br +0 -0
  27. package/dist/TermsOfService-CRw50Ij5.js.gz +4 -0
  28. package/dist/_-CQSZKAkn.js +25 -0
  29. package/dist/_-CQSZKAkn.js.br +0 -0
  30. package/dist/_-CQSZKAkn.js.gz +5 -0
  31. package/dist/availability.js +39 -39
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +71 -71
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +17 -17
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-8cx1vxIY.js → dist-DG27dLYP.js} +17 -17
  44. package/dist/dist-DG27dLYP.js.br +0 -0
  45. package/dist/dist-DG27dLYP.js.gz +0 -0
  46. package/dist/event.js +390 -390
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +51 -51
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +168 -168
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-4w50jcS_.js → giftCard-vF4EBRX1.js} +17 -17
  56. package/dist/giftCard-vF4EBRX1.js.br +0 -0
  57. package/dist/giftCard-vF4EBRX1.js.gz +0 -0
  58. package/dist/hotel.js +1479 -1479
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{mitt-DosBWi_E.js → i18n-DwFTw_rF.js} +1 -24
  62. package/dist/i18n-DwFTw_rF.js.br +0 -0
  63. package/dist/{mitt-DosBWi_E.js.gz → i18n-DwFTw_rF.js.gz} +0 -0
  64. package/dist/{masonry.plugin-DG-fnTtd.js → masonry.plugin-Cu4yg4ry.js} +34 -8
  65. package/dist/masonry.plugin-Cu4yg4ry.js.br +0 -0
  66. package/dist/masonry.plugin-Cu4yg4ry.js.gz +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-BzTt5D-A.js → style-TnRMV-Vf.js} +389 -389
  71. package/dist/style-TnRMV-Vf.js.br +0 -0
  72. package/dist/style-TnRMV-Vf.js.gz +0 -0
  73. package/dist-wix/availability.js +22 -22
  74. package/dist-wix/event.js +5 -5
  75. package/dist-wix/gift-card-validation.js +11 -11
  76. package/dist-wix/gift-card.js +24 -24
  77. package/dist-wix/hotel.js +6 -6
  78. package/package.json +1 -2
  79. package/dist/ActionField-B1aBJVRb.js.br +0 -0
  80. package/dist/ActionField-B1aBJVRb.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-B1hwKbSA.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-B1hwKbSA.js.gz +0 -0
  83. package/dist/CheckoutWindow-BD2PXPt7.js.br +0 -0
  84. package/dist/CheckoutWindow-BD2PXPt7.js.gz +0 -0
  85. package/dist/ErrorMessage-DiRVby8f.js.br +0 -0
  86. package/dist/ErrorMessage-DiRVby8f.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-DW6_GZv3.js +0 -114
  88. package/dist/EventAvailabilityForm-DW6_GZv3.js.br +0 -0
  89. package/dist/EventAvailabilityForm-DW6_GZv3.js.gz +0 -0
  90. package/dist/Field-BYZdtara.js.br +0 -0
  91. package/dist/Field-BYZdtara.js.gz +0 -0
  92. package/dist/HotelAvailabilityForm-B7yHDXz3.js +0 -323
  93. package/dist/HotelAvailabilityForm-B7yHDXz3.js.br +0 -0
  94. package/dist/HotelAvailabilityForm-B7yHDXz3.js.gz +0 -0
  95. package/dist/SelectField-m_n1cMe0.js.br +0 -0
  96. package/dist/SelectField-m_n1cMe0.js.gz +0 -0
  97. package/dist/TermsOfService-CXblPhj1.js +0 -17
  98. package/dist/TermsOfService-CXblPhj1.js.br +0 -0
  99. package/dist/TermsOfService-CXblPhj1.js.gz +0 -0
  100. package/dist/_-CTagk-cE.js +0 -25
  101. package/dist/_-CTagk-cE.js.br +0 -0
  102. package/dist/_-CTagk-cE.js.gz +0 -3
  103. package/dist/dist-8cx1vxIY.js.br +0 -0
  104. package/dist/dist-8cx1vxIY.js.gz +0 -0
  105. package/dist/giftCard-4w50jcS_.js.br +0 -0
  106. package/dist/giftCard-4w50jcS_.js.gz +0 -0
  107. package/dist/masonry.plugin-DG-fnTtd.js.br +0 -0
  108. package/dist/masonry.plugin-DG-fnTtd.js.gz +0 -0
  109. package/dist/mitt-DosBWi_E.js.br +0 -0
  110. package/dist/style-BzTt5D-A.js.br +0 -0
  111. package/dist/style-BzTt5D-A.js.gz +0 -0
package/dist/event.js.br CHANGED
Binary file
package/dist/event.js.gz CHANGED
Binary file
@@ -1,102 +1,102 @@
1
- import { At as e, D as t, E as n, Et as r, M as i, O as a, P as o, S as s, T as c, Y as l, c as u, dt as d, gt as f, k as p, o as m, r as h, s as g, t as _, u as v, y } from "./mitt-DosBWi_E.js";
2
- import { E as b, G as x, J as S, S as C, b as w, j as T, x as E } from "./SelectField-m_n1cMe0.js";
3
- import { t as D } from "./_-CTagk-cE.js";
4
- import { t as O } from "./ErrorMessage-DiRVby8f.js";
5
- import { n as k, t as A } from "./Field-BYZdtara.js";
6
- import { t as j } from "./style-BzTt5D-A.js";
7
- import { t as M } from "./ActionField-B1aBJVRb.js";
8
- import { t as N } from "./giftCard-4w50jcS_.js";
1
+ import { D as e, E as t, J as n, N as r, O as i, T as a, Tt as o, a as s, ht as c, j as l, kt as u, l as d, n as f, o as p, s as m, ut as h, v as g, w as _, x as v } from "./i18n-DwFTw_rF.js";
2
+ import { E as y, K as b, M as x, S, Y as C, b as w, x as T } from "./SelectField-O_sbbnII.js";
3
+ import { t as E } from "./_-CQSZKAkn.js";
4
+ import { t as D } from "./ErrorMessage-CiXnpywW.js";
5
+ import { n as O, t as k } from "./Field-BX_mv8fo.js";
6
+ import { t as A } from "./style-TnRMV-Vf.js";
7
+ import { t as j } from "./ActionField-BSR_1wKe.js";
8
+ import { t as M } from "./giftCard-vF4EBRX1.js";
9
9
  //#region src/components/skeletons/GiftCardValidationSkeleton.vue?vue&type=script&setup=true&lang.ts
10
- var P = { class: "gift-card-validation-skeleton" }, F = { class: "gift-card-validation-skeleton-form" }, I = { class: "gift-card-validation-skeleton-text" }, L = { class: "gift-card-validation-skeleton-input" }, R = /*#__PURE__*/ C(/* @__PURE__ */ o({
10
+ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-validation-skeleton-form" }, F = { class: "gift-card-validation-skeleton-text" }, I = { class: "gift-card-validation-skeleton-input" }, L = /*#__PURE__*/ S(/* @__PURE__ */ r({
11
11
  __name: "GiftCardValidationSkeleton",
12
12
  setup(e) {
13
- return (e, t) => (l(), p("div", P, [n("div", F, [n("div", I, [
14
- i(k, { height: "20px" }),
15
- i(k, { height: "15px" }),
16
- i(k, { height: "15px" })
17
- ]), n("div", L, [i(A), i(A, { "no-label": "" })])])]));
13
+ return (e, t) => (n(), i("div", N, [a("div", P, [a("div", F, [
14
+ l(O, { height: "20px" }),
15
+ l(O, { height: "15px" }),
16
+ l(O, { height: "15px" })
17
+ ]), a("div", I, [l(k), l(k, { "no-label": "" })])])]));
18
18
  }
19
- }), [["__scopeId", "data-v-91109a29"]]), z = ["innerHTML"], B = {
19
+ }), [["__scopeId", "data-v-91109a29"]]), R = ["innerHTML"], z = {
20
20
  key: 0,
21
21
  id: "konnectio-gift-card-validation-resume",
22
22
  class: "konnectio-panel"
23
- }, V = /*#__PURE__*/ C(/* @__PURE__ */ o({
23
+ }, B = /*#__PURE__*/ S(/* @__PURE__ */ r({
24
24
  name: "GiftCardValidationLayout",
25
25
  __name: "GiftCardValidation",
26
26
  props: {
27
27
  accessToken: {},
28
28
  styling: {}
29
29
  },
30
- setup(o) {
31
- let u = o, h = c(() => ({
30
+ setup(r) {
31
+ let f = r, p = _(() => ({
32
32
  panelMaxWidth: "800px",
33
- ...u.styling
34
- })), { t: g } = m(), { voucher: _, isValid: C, amount: k, expirationDate: A, productName: j, isLoading: P } = v(T()), { currency: F, hasError: I } = v(b()), { fetchMetadata: L } = N(), { apply: V } = T();
35
- return (c, u) => (l(), t(w, { styling: h.value }, {
36
- default: d(() => [(l(), t(s, null, {
37
- default: d(() => [i(D, {
38
- "access-token": o.accessToken,
39
- callback: r(L)
33
+ ...f.styling
34
+ })), { t: m } = s(), { voucher: S, isValid: O, amount: k, expirationDate: A, productName: N, isLoading: P } = d(x()), { currency: F, hasError: I } = d(y()), { fetchMetadata: B } = M(), { apply: V } = x();
35
+ return (s, d) => (n(), t(w, { styling: p.value }, {
36
+ default: h(() => [(n(), t(v, null, {
37
+ default: h(() => [l(E, {
38
+ "access-token": r.accessToken,
39
+ callback: o(B)
40
40
  }, {
41
- default: d(() => [r(I) ? (l(), t(O, {
41
+ default: h(() => [o(I) ? (n(), t(D, {
42
42
  key: 1,
43
43
  title: "Unable to render Gift card validation module",
44
44
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
45
- })) : (l(), p("form", {
45
+ })) : (n(), i("form", {
46
46
  key: 0,
47
47
  id: "konnectio-gift-card-validation-module",
48
- onSubmit: u[3] ||= y((e) => r(V)(), ["prevent"])
48
+ onSubmit: d[3] ||= g((e) => o(V)(), ["prevent"])
49
49
  }, [
50
- n("h4", null, [n("span", null, e(r(g)("giftCardValidation.title")), 1)]),
51
- n("p", { innerHTML: r(g)("giftCardValidation.description") }, null, 8, z),
52
- i(M, {
53
- modelValue: r(_),
54
- "onUpdate:modelValue": u[0] ||= (e) => f(_) ? _.value = e : null,
50
+ a("h4", null, [a("span", null, u(o(m)("giftCardValidation.title")), 1)]),
51
+ a("p", { innerHTML: o(m)("giftCardValidation.description") }, null, 8, R),
52
+ l(j, {
53
+ modelValue: o(S),
54
+ "onUpdate:modelValue": d[0] ||= (e) => c(S) ? S.value = e : null,
55
55
  icon: "gift-card",
56
- label: r(g)("booking.reservation.giftCardCode"),
57
- buttonLabel: r(g)("giftCardValidation.submitButton"),
56
+ label: o(m)("booking.reservation.giftCardCode"),
57
+ buttonLabel: o(m)("giftCardValidation.submitButton"),
58
58
  placeholder: "XXXXXXXX",
59
- "is-loading": r(P),
60
- "onUpdate:isLoading": u[1] ||= (e) => f(P) ? P.value = e : null,
61
- onAction: u[2] ||= (e) => r(V)()
59
+ "is-loading": o(P),
60
+ "onUpdate:isLoading": d[1] ||= (e) => c(P) ? P.value = e : null,
61
+ onAction: d[2] ||= (e) => o(V)()
62
62
  }, null, 8, [
63
63
  "modelValue",
64
64
  "label",
65
65
  "buttonLabel",
66
66
  "is-loading"
67
67
  ]),
68
- !r(P) && r(C) ? (l(), p("table", B, [n("thead", null, [n("tr", null, [
69
- n("th", null, [n("span", null, e(r(g)("giftCardValidation.giftCard")), 1), i(E, {
68
+ !o(P) && o(O) ? (n(), i("table", z, [a("thead", null, [a("tr", null, [
69
+ a("th", null, [a("span", null, u(o(m)("giftCardValidation.giftCard")), 1), l(T, {
70
70
  icon: "gift-card",
71
71
  type: "fas",
72
72
  color: "header"
73
73
  })]),
74
- n("th", null, [n("span", null, e(r(g)("giftCardValidation.balance")), 1), i(E, {
74
+ a("th", null, [a("span", null, u(o(m)("giftCardValidation.balance")), 1), l(T, {
75
75
  icon: "money-bill",
76
76
  type: "fas",
77
77
  color: "header"
78
78
  })]),
79
- n("th", null, [n("span", null, e(r(g)("giftCardValidation.expirationDate")), 1), i(E, {
79
+ a("th", null, [a("span", null, u(o(m)("giftCardValidation.expirationDate")), 1), l(T, {
80
80
  icon: "timer",
81
81
  type: "fas",
82
82
  color: "header"
83
83
  })])
84
- ])]), n("tbody", null, [n("tr", null, [
85
- n("td", null, [n("span", null, e(r(j)), 1)]),
86
- n("td", null, [n("span", null, e(r(S)(r(k), r(F))), 1)]),
87
- n("td", null, [n("span", null, e(r(x)(r(A))), 1)])
88
- ])])])) : a("", !0)
84
+ ])]), a("tbody", null, [a("tr", null, [
85
+ a("td", null, [a("span", null, u(o(N)), 1)]),
86
+ a("td", null, [a("span", null, u(o(C)(o(k), o(F))), 1)]),
87
+ a("td", null, [a("span", null, u(o(b)(o(A))), 1)])
88
+ ])])])) : e("", !0)
89
89
  ], 32))]),
90
90
  _: 1
91
91
  }, 8, ["access-token", "callback"])]),
92
- fallback: d(() => [i(R)]),
92
+ fallback: h(() => [l(L)]),
93
93
  _: 1
94
94
  }))]),
95
95
  _: 1
96
96
  }, 8, ["styling"]));
97
97
  }
98
- }), [["__scopeId", "data-v-e88ebaf6"]]), H = u(), U = _(), W = g("konnectio-gift-card-validation", V, (e) => {
99
- e.provide("emitter", U), e.use(H), e.use(h), e.use(j);
98
+ }), [["__scopeId", "data-v-e88ebaf6"]]), V = m(), H = p("konnectio-gift-card-validation", B, (e) => {
99
+ e.use(V), e.use(f), e.use(A);
100
100
  });
101
101
  //#endregion
102
- export { W as default };
102
+ export { H as default };
Binary file
Binary file