@konnectio/core 4.0.55 → 4.0.56-rc10

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 (195) hide show
  1. package/README.md +7 -7
  2. package/dist/{ActionField-89f587d4.js → ActionField-1TedZ-ol.js} +10 -12
  3. package/dist/ActionField-1TedZ-ol.js.br +0 -0
  4. package/dist/AvailabilitySkeleton-IRkVJKVI.js +214 -0
  5. package/dist/AvailabilitySkeleton-IRkVJKVI.js.br +0 -0
  6. package/dist/{CheckoutWindow-df8612e3.js → CheckoutWindow-GzqBHFb5.js} +37 -34
  7. package/dist/CheckoutWindow-GzqBHFb5.js.br +0 -0
  8. package/dist/{DateField.vue_vue_type_style_index_0_lang-bbaed106.js → DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js} +2664 -2660
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js.br +0 -0
  10. package/dist/Field-agqP-A21.js +42 -0
  11. package/dist/Field-agqP-A21.js.br +0 -0
  12. package/dist/{SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js → SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js} +10010 -9879
  13. package/dist/SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js.br +0 -0
  14. package/dist/{ThankYou-159b55d6.js → ThankYou-0uAYL16f.js} +2318 -1988
  15. package/dist/ThankYou-0uAYL16f.js.br +0 -0
  16. package/dist/_-K1FuFdRs.js +19 -0
  17. package/dist/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-2ufMB8rV.js} +2 -2
  18. package/dist/availability.js +135 -112
  19. package/dist/availability.js.br +0 -0
  20. package/dist/{event-6cd5d9be.js → event-Jiun7WTg.js} +23 -23
  21. package/dist/event-Jiun7WTg.js.br +0 -0
  22. package/dist/event.js +448 -425
  23. package/dist/event.js.br +0 -0
  24. package/dist/gift-card-validation.js +80 -67
  25. package/dist/gift-card-validation.js.br +0 -0
  26. package/dist/gift-card.js +281 -261
  27. package/dist/gift-card.js.br +0 -0
  28. package/dist/hotel-7JmuavEN.js +3108 -0
  29. package/dist/hotel-7JmuavEN.js.br +0 -0
  30. package/dist/hotel.js +12 -3093
  31. package/dist/polyfill.js +3032 -3065
  32. package/dist/polyfill.js.br +0 -0
  33. package/dist/style.css +1 -1
  34. package/dist/style.css.br +0 -0
  35. package/package.json +33 -25
  36. package/dist/ActionField-087c3437.cjs +0 -1
  37. package/dist/ActionField-89f587d4.js.br +0 -0
  38. package/dist/AvailabilitySkeleton-01aab3cb.js +0 -237
  39. package/dist/AvailabilitySkeleton-01aab3cb.js.br +0 -0
  40. package/dist/AvailabilitySkeleton-452df88c.cjs +0 -1
  41. package/dist/CheckoutWindow-1d77f68c.cjs +0 -1
  42. package/dist/CheckoutWindow-df8612e3.js.br +0 -0
  43. package/dist/Container-3af1f7f7.cjs +0 -1
  44. package/dist/Container-9f1ed24c.js +0 -59
  45. package/dist/Container-9f1ed24c.js.br +0 -0
  46. package/dist/DateField.vue_vue_type_style_index_0_lang-b5676dde.cjs +0 -2
  47. package/dist/DateField.vue_vue_type_style_index_0_lang-bbaed106.js.br +0 -0
  48. package/dist/Field-43273ca2.cjs +0 -1
  49. package/dist/Field-92684198.js +0 -42
  50. package/dist/Field-92684198.js.br +0 -0
  51. package/dist/NumberField.vue_vue_type_script_setup_true_lang-a149d388.cjs +0 -1
  52. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js +0 -67
  53. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js.br +0 -0
  54. package/dist/SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs +0 -856
  56. package/dist/ThankYou-159b55d6.js.br +0 -0
  57. package/dist/ThankYou-c1cbecac.cjs +0 -59
  58. package/dist/_-52440760.js +0 -20
  59. package/dist/_-fbbc271a.cjs +0 -1
  60. package/dist/_commonjsHelpers-6763f629.cjs +0 -1
  61. package/dist/assets/typescript/mixins.d.ts +0 -34
  62. package/dist/availability.cjs +0 -2
  63. package/dist/availability.d.ts +0 -3
  64. package/dist/components/Alert.vue.d.ts +0 -5
  65. package/dist/components/Alert.vue.d.ts.map +0 -1
  66. package/dist/components/Clickable.vue.d.ts +0 -5
  67. package/dist/components/Clickable.vue.d.ts.map +0 -1
  68. package/dist/components/Container.vue.d.ts +0 -5
  69. package/dist/components/Container.vue.d.ts.map +0 -1
  70. package/dist/components/ErrorMessage.vue.d.ts +0 -5
  71. package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
  72. package/dist/components/Gallery.vue.d.ts +0 -4
  73. package/dist/components/Gallery.vue.d.ts.map +0 -1
  74. package/dist/components/GoogleNotice.vue.d.ts +0 -4
  75. package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
  76. package/dist/components/Icon.vue.d.ts +0 -5
  77. package/dist/components/Icon.vue.d.ts.map +0 -1
  78. package/dist/components/Loading.vue.d.ts +0 -5
  79. package/dist/components/Loading.vue.d.ts.map +0 -1
  80. package/dist/components/Spinner.vue.d.ts +0 -4
  81. package/dist/components/Spinner.vue.d.ts.map +0 -1
  82. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -5
  83. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
  84. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -5
  85. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
  86. package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -4
  87. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
  88. package/dist/components/forms/MultiStepForm.vue.d.ts +0 -5
  89. package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
  90. package/dist/components/forms/ReservationForm.vue.d.ts +0 -6
  91. package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
  92. package/dist/components/forms/_.vue.d.ts +0 -4
  93. package/dist/components/forms/_.vue.d.ts.map +0 -1
  94. package/dist/components/inputs/Checkbox.vue.d.ts +0 -5
  95. package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
  96. package/dist/components/inputs/CheckboxField.vue.d.ts +0 -5
  97. package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
  98. package/dist/components/inputs/DateField.vue.d.ts +0 -5
  99. package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
  100. package/dist/components/inputs/InputField.vue.d.ts +0 -5
  101. package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
  102. package/dist/components/inputs/MediaSelector.vue.d.ts +0 -5
  103. package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
  104. package/dist/components/inputs/NumberField.vue.d.ts +0 -5
  105. package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
  106. package/dist/components/inputs/SelectField.vue.d.ts +0 -5
  107. package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
  108. package/dist/components/inputs/TextField.vue.d.ts +0 -5
  109. package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
  110. package/dist/components/inputs/TimeField.vue.d.ts +0 -5
  111. package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
  112. package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -5
  113. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
  114. package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -5
  115. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
  116. package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -5
  117. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
  118. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -5
  119. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
  120. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -5
  121. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
  122. package/dist/components/listings/Base.vue.d.ts +0 -6
  123. package/dist/components/listings/Base.vue.d.ts.map +0 -1
  124. package/dist/components/listings/Event.vue.d.ts +0 -5
  125. package/dist/components/listings/Event.vue.d.ts.map +0 -1
  126. package/dist/components/listings/Hotel.vue.d.ts +0 -5
  127. package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
  128. package/dist/components/listings/Template.vue.d.ts +0 -5
  129. package/dist/components/listings/Template.vue.d.ts.map +0 -1
  130. package/dist/components/side-panels/Base.vue.d.ts +0 -6
  131. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  132. package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -5
  133. package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
  134. package/dist/components/side-panels/Template.vue.d.ts +0 -5
  135. package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
  136. package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -5
  137. package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
  138. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -5
  139. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
  140. package/dist/components/skeletons/Field.vue.d.ts +0 -5
  141. package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
  142. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -5
  143. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
  144. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -5
  145. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
  146. package/dist/components/skeletons/Listing.vue.d.ts +0 -5
  147. package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
  148. package/dist/components/skeletons/Sidebar.vue.d.ts +0 -5
  149. package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
  150. package/dist/components/skeletons/_.vue.d.ts +0 -5
  151. package/dist/components/skeletons/_.vue.d.ts.map +0 -1
  152. package/dist/components/views/CheckoutWindow.vue.d.ts +0 -5
  153. package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
  154. package/dist/components/views/TermsOfService.vue.d.ts +0 -5
  155. package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
  156. package/dist/components/views/ThankYou.vue.d.ts +0 -5
  157. package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
  158. package/dist/entries/availability.d.ts +0 -5
  159. package/dist/entries/event.d.ts +0 -2
  160. package/dist/entries/gift-card-validation.d.ts +0 -2
  161. package/dist/entries/gift-card.d.ts +0 -1
  162. package/dist/entries/hotel.d.ts +0 -0
  163. package/dist/entries/navigation.d.ts +0 -1
  164. package/dist/entries/polyfill.d.ts +0 -0
  165. package/dist/event-6cd5d9be.js.br +0 -0
  166. package/dist/event-dfc9ed16.cjs +0 -1
  167. package/dist/event.cjs +0 -1
  168. package/dist/event.d.ts +0 -3
  169. package/dist/gift-card-validation.cjs +0 -1
  170. package/dist/gift-card-validation.d.ts +0 -3
  171. package/dist/gift-card.cjs +0 -1
  172. package/dist/gift-card.d.ts +0 -1
  173. package/dist/hotel.cjs +0 -19
  174. package/dist/hotel.d.ts +0 -1
  175. package/dist/hotel.js.br +0 -0
  176. package/dist/layouts/Availability.vue.d.ts +0 -25
  177. package/dist/layouts/Event.vue.d.ts +0 -18
  178. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  179. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  180. package/dist/layouts/Hotel.vue.d.ts +0 -36
  181. package/dist/layouts/_.vue.d.ts +0 -39
  182. package/dist/navigation.cjs +0 -1
  183. package/dist/navigation.d.ts +0 -1
  184. package/dist/plugins/i18n.d.ts +0 -5
  185. package/dist/polyfill.cjs +0 -4
  186. package/dist/polyfill.d.ts +0 -1
  187. package/dist/store/alert.d.ts +0 -28
  188. package/dist/store/applyGiftCard.d.ts +0 -28
  189. package/dist/store/availability.d.ts +0 -40
  190. package/dist/store/event.d.ts +0 -683
  191. package/dist/store/giftCard.d.ts +0 -83
  192. package/dist/store/payment.d.ts +0 -139
  193. package/dist/store/tracking.d.ts +0 -57
  194. package/dist/store/utilities.d.ts +0 -365
  195. package/dist/types/index.d.ts +0 -968
package/dist/event.js.br CHANGED
Binary file
@@ -1,80 +1,78 @@
1
- import { k as S, F as X, s as _, a as y, c as w, m as u, n as C, w as r, G as x, p as l, A as a, H as o, q as t, J as V, v as A, K as c, L as G, M as I, x as B, N, P as T, Q as D, R as M, _ as U, U as H, V as P, W as R } from "./SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js";
2
- import { A as $ } from "./ActionField-89f587d4.js";
3
- import { C as F } from "./Container-9f1ed24c.js";
4
- import "./_commonjsHelpers-aeeeeb92.js";
5
- import "./NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js";
6
- const q = (s) => (D("data-v-5af38302"), s = s(), M(), s), E = ["innerHTML"], J = {
1
+ import { k as w, B as A, s as k, a as V, c as S, o as b, m as _, w as m, D as X, p, x as t, F as s, z as a, G as v, l as I, H as y, J as x, K as B, n as N, L as T, M as D, N as E, P as M, Q as G, _ as H, R as U, U as P, V as R } from "./SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js";
2
+ import { A as $ } from "./ActionField-1TedZ-ol.js";
3
+ import "./_commonjsHelpers-2ufMB8rV.js";
4
+ const F = (i) => (M("data-v-0b17aac3"), i = i(), G(), i), j = ["innerHTML"], z = {
7
5
  key: 0,
8
6
  id: "fresh-booking-gift-card-validation-resume",
9
7
  class: "fresh-booking-panel"
10
- }, K = /* @__PURE__ */ q(() => /* @__PURE__ */ a("span", null, "Loading...", -1)), Q = /* @__PURE__ */ S({
8
+ }, J = /* @__PURE__ */ F(() => /* @__PURE__ */ t("span", null, "Loading...", -1)), K = /* @__PURE__ */ w({
11
9
  name: "GiftCardValidationLayout",
12
10
  __name: "GiftCardValidation",
13
11
  props: {
14
12
  accessToken: {},
15
13
  styling: {}
16
14
  },
17
- setup(s) {
18
- const { t: e } = X(), {
19
- voucher: p,
20
- isValid: b,
21
- amount: h,
22
- expirationDate: k,
23
- productName: v,
24
- isLoading: d
25
- } = _(y()), { currency: L } = _(w()), { apply: m } = y();
26
- return (g, n) => (u(), C(F, { styling: g.styling }, {
27
- default: r(() => [
28
- (u(), C(x, null, {
29
- default: r(() => [
30
- l(T, {
15
+ setup(i) {
16
+ const { t: e } = A(), {
17
+ voucher: l,
18
+ isValid: c,
19
+ amount: r,
20
+ expirationDate: u,
21
+ productName: f,
22
+ isLoading: o
23
+ } = k(V()), { currency: L } = k(S()), { apply: h } = V();
24
+ return (C, n) => (b(), _(E, { styling: C.styling }, {
25
+ default: m(() => [
26
+ (b(), _(X, null, {
27
+ default: m(() => [
28
+ p(D, {
31
29
  id: "fresh-booking-gift-card-validation-module",
32
- "access-token": g.accessToken,
30
+ "access-token": C.accessToken,
33
31
  type: "gift-card"
34
32
  }, {
35
- default: r(() => [
36
- a("form", {
37
- onSubmit: n[3] || (n[3] = N((i) => t(m)(), ["prevent"]))
33
+ default: m(() => [
34
+ t("form", {
35
+ onSubmit: n[3] || (n[3] = T((d) => a(h)(), ["prevent"]))
38
36
  }, [
39
- a("h4", null, [
40
- a("span", null, o(t(e)("giftCardValidation.title")), 1)
37
+ t("h4", null, [
38
+ t("span", null, s(a(e)("giftCardValidation.title")), 1)
41
39
  ]),
42
- a("p", {
43
- innerHTML: t(e)("giftCardValidation.description")
44
- }, null, 8, E),
45
- l($, {
46
- modelValue: t(p),
47
- "onUpdate:modelValue": n[0] || (n[0] = (i) => V(p) ? p.value = i : null),
40
+ t("p", {
41
+ innerHTML: a(e)("giftCardValidation.description")
42
+ }, null, 8, j),
43
+ p($, {
44
+ modelValue: a(l),
45
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => v(l) ? l.value = d : null),
48
46
  icon: "gift-card",
49
- label: t(e)("booking.reservation.giftCardCode"),
50
- buttonLabel: t(e)("giftCardValidation.submitButton"),
47
+ label: a(e)("booking.reservation.giftCardCode"),
48
+ buttonLabel: a(e)("giftCardValidation.submitButton"),
51
49
  placeholder: "XXXXXXXX",
52
- "is-loading": t(d),
53
- "onUpdate:isLoading": n[1] || (n[1] = (i) => V(d) ? d.value = i : null),
54
- onAction: n[2] || (n[2] = (i) => t(m)())
50
+ "is-loading": a(o),
51
+ "onUpdate:isLoading": n[1] || (n[1] = (d) => v(o) ? o.value = d : null),
52
+ onAction: n[2] || (n[2] = (d) => a(h)())
55
53
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
56
- !t(d) && t(b) ? (u(), A("table", J, [
57
- a("thead", null, [
58
- a("tr", null, [
59
- a("th", null, [
60
- a("span", null, o(t(e)("giftCardValidation.giftCard")), 1),
61
- l(c, {
54
+ !a(o) && a(c) ? (b(), I("table", z, [
55
+ t("thead", null, [
56
+ t("tr", null, [
57
+ t("th", null, [
58
+ t("span", null, s(a(e)("giftCardValidation.giftCard")), 1),
59
+ p(y, {
62
60
  icon: "gift-card",
63
61
  type: "fas",
64
62
  color: "header"
65
63
  })
66
64
  ]),
67
- a("th", null, [
68
- a("span", null, o(t(e)("giftCardValidation.balance")), 1),
69
- l(c, {
65
+ t("th", null, [
66
+ t("span", null, s(a(e)("giftCardValidation.balance")), 1),
67
+ p(y, {
70
68
  icon: "money-bill",
71
69
  type: "fas",
72
70
  color: "header"
73
71
  })
74
72
  ]),
75
- a("th", null, [
76
- a("span", null, o(t(e)("giftCardValidation.expirationDate")), 1),
77
- l(c, {
73
+ t("th", null, [
74
+ t("span", null, s(a(e)("giftCardValidation.expirationDate")), 1),
75
+ p(y, {
78
76
  icon: "timer",
79
77
  type: "fas",
80
78
  color: "header"
@@ -82,27 +80,27 @@ const q = (s) => (D("data-v-5af38302"), s = s(), M(), s), E = ["innerHTML"], J =
82
80
  ])
83
81
  ])
84
82
  ]),
85
- a("tbody", null, [
86
- a("tr", null, [
87
- a("td", null, [
88
- a("span", null, o(t(v)), 1)
83
+ t("tbody", null, [
84
+ t("tr", null, [
85
+ t("td", null, [
86
+ t("span", null, s(a(f)), 1)
89
87
  ]),
90
- a("td", null, [
91
- a("span", null, o(t(G)(t(h), t(L))), 1)
88
+ t("td", null, [
89
+ t("span", null, s(a(x)(a(r), a(L))), 1)
92
90
  ]),
93
- a("td", null, [
94
- a("span", null, o(t(I)(t(k))), 1)
91
+ t("td", null, [
92
+ t("span", null, s(a(B)(a(u))), 1)
95
93
  ])
96
94
  ])
97
95
  ])
98
- ])) : B("", !0)
96
+ ])) : N("", !0)
99
97
  ], 32)
100
98
  ]),
101
99
  _: 1
102
100
  }, 8, ["access-token"])
103
101
  ]),
104
- fallback: r(() => [
105
- K
102
+ fallback: m(() => [
103
+ J
106
104
  ]),
107
105
  _: 1
108
106
  }))
@@ -110,11 +108,26 @@ const q = (s) => (D("data-v-5af38302"), s = s(), M(), s), E = ["innerHTML"], J =
110
108
  _: 1
111
109
  }, 8, ["styling"]));
112
110
  }
113
- });
114
- const W = /* @__PURE__ */ U(Q, [["__scopeId", "data-v-5af38302"]]), f = H({ components: { GiftCardValidation: W } }), j = P();
115
- f.use(j);
116
- f.use(R);
117
- f.mount("#konnectio-gift-card-validation-app");
111
+ }), g = /* @__PURE__ */ H(K, [["__scopeId", "data-v-0b17aac3"]]), O = U();
112
+ class Q extends HTMLElement {
113
+ constructor() {
114
+ super();
115
+ }
116
+ connectedCallback() {
117
+ const e = typeof g == "function" ? g.options : g, l = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), c = {};
118
+ for (const f of l) {
119
+ const o = this.attributes.getNamedItem(f)?.value;
120
+ if (!o)
121
+ break;
122
+ c[f] = o;
123
+ }
124
+ const r = P(g, c);
125
+ r.use(O), r.use(R);
126
+ const u = document.createElement("div");
127
+ r.mount(u), this.appendChild(u.children[0]);
128
+ }
129
+ }
130
+ window.customElements.define("konnectio-gift-card-validation", Q);
118
131
  export {
119
- f as default
132
+ Q as default
120
133
  };
Binary file