@konnectio/core 4.0.56-rc5 → 4.0.56-rc7

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 (128) hide show
  1. package/dist/{ActionField--byx0Lp1.js → ActionField-i2xWkFyi.js} +1 -1
  2. package/dist/ActionField-i2xWkFyi.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-PWA_yfC-.js +214 -0
  4. package/dist/AvailabilitySkeleton-PWA_yfC-.js.br +0 -0
  5. package/dist/{CheckoutWindow-_ZUCAYgm.js → CheckoutWindow-k3-Mh7Mp.js} +17 -17
  6. package/dist/CheckoutWindow-k3-Mh7Mp.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js → DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js} +2910 -2918
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js.br +0 -0
  9. package/dist/{Field-GdMucFcQ.js → Field-f9KUVLIW.js} +7 -7
  10. package/dist/Field-f9KUVLIW.js.br +0 -0
  11. package/dist/SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js +30460 -0
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js.br +0 -0
  13. package/dist/{ThankYou-9pzt2SfJ.js → ThankYou-cAeMnWCk.js} +4325 -4567
  14. package/dist/ThankYou-cAeMnWCk.js.br +0 -0
  15. package/dist/{_-5uiOrU07.js → _-SqGSx3KP.js} +1 -1
  16. package/dist/{_commonjsHelpers-4t9S7M5p.js → _commonjsHelpers-2ufMB8rV.js} +1 -1
  17. package/dist/availability.js +138 -108
  18. package/dist/availability.js.br +0 -0
  19. package/dist/components/Alert.vue.d.ts +4 -27
  20. package/dist/components/Clickable.vue.d.ts +4 -59
  21. package/dist/components/Container.vue.d.ts +4 -22
  22. package/dist/components/ErrorMessage.vue.d.ts +4 -14
  23. package/dist/components/Gallery.vue.d.ts +4 -30
  24. package/dist/components/GoogleNotice.vue.d.ts +4 -2
  25. package/dist/components/Icon.vue.d.ts +4 -37
  26. package/dist/components/Loading.vue.d.ts +4 -28
  27. package/dist/components/Spinner.vue.d.ts +3 -1
  28. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -17
  29. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -33
  30. package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -41
  31. package/dist/components/forms/MultiStepForm.vue.d.ts +4 -42
  32. package/dist/components/forms/ReservationForm.vue.d.ts +5 -62
  33. package/dist/components/forms/_.vue.d.ts +4 -42
  34. package/dist/components/inputs/Checkbox.vue.d.ts +4 -54
  35. package/dist/components/inputs/CheckboxField.vue.d.ts +4 -28
  36. package/dist/components/inputs/DateField.vue.d.ts +5 -104
  37. package/dist/components/inputs/InputField.vue.d.ts +4 -61
  38. package/dist/components/inputs/MediaSelector.vue.d.ts +4 -42
  39. package/dist/components/inputs/NumberField.vue.d.ts +5 -87
  40. package/dist/components/inputs/SelectField.vue.d.ts +5 -90
  41. package/dist/components/inputs/TextField.vue.d.ts +4 -67
  42. package/dist/components/inputs/TimeField.vue.d.ts +5 -44
  43. package/dist/components/inputs/grouped/ActionField.vue.d.ts +4 -71
  44. package/dist/components/inputs/grouped/CountryField.vue.d.ts +4 -40
  45. package/dist/components/inputs/grouped/NameField.vue.d.ts +4 -70
  46. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +4 -50
  47. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +4 -46
  48. package/dist/components/listings/Base.vue.d.ts +5 -55
  49. package/dist/components/listings/Event.vue.d.ts +4 -46
  50. package/dist/components/listings/Hotel.vue.d.ts +4 -15
  51. package/dist/components/listings/Template.vue.d.ts +4 -20
  52. package/dist/components/side-panels/Base.vue.d.ts +5 -60
  53. package/dist/components/side-panels/ListingInfo.vue.d.ts +4 -17
  54. package/dist/components/side-panels/Template.vue.d.ts +4 -17
  55. package/dist/components/side-panels/TermsOfService.vue.d.ts +4 -13
  56. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -32
  57. package/dist/components/skeletons/Field.vue.d.ts +4 -35
  58. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +4 -1
  59. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +4 -1
  60. package/dist/components/skeletons/Listing.vue.d.ts +4 -1
  61. package/dist/components/skeletons/Sidebar.vue.d.ts +4 -1
  62. package/dist/components/skeletons/_.vue.d.ts +4 -35
  63. package/dist/components/views/CheckoutWindow.vue.d.ts +4 -1
  64. package/dist/components/views/TermsOfService.vue.d.ts +4 -1
  65. package/dist/components/views/ThankYou.vue.d.ts +4 -14
  66. package/dist/event-WJGagPbM.js +328 -0
  67. package/dist/event-WJGagPbM.js.br +0 -0
  68. package/dist/event.js +431 -412
  69. package/dist/event.js.br +0 -0
  70. package/dist/favicon.ico +0 -0
  71. package/dist/gift-card-validation.js +77 -67
  72. package/dist/gift-card-validation.js.br +0 -0
  73. package/dist/gift-card.js +291 -312
  74. package/dist/gift-card.js.br +0 -0
  75. package/dist/hotel-z4fa3tEa.js +3101 -0
  76. package/dist/hotel-z4fa3tEa.js.br +0 -0
  77. package/dist/hotel.js +11 -3136
  78. package/dist/polyfill.js +159 -159
  79. package/dist/polyfill.js.br +0 -0
  80. package/dist/style.css +1 -1
  81. package/dist/style.css.br +0 -0
  82. package/package.json +14 -16
  83. package/dist/ActionField--byx0Lp1.js.br +0 -0
  84. package/dist/AvailabilitySkeleton-cL6E9wAp.js +0 -239
  85. package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
  86. package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
  87. package/dist/Container-6UeOakwz.js +0 -68
  88. package/dist/Container-6UeOakwz.js.br +0 -0
  89. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
  90. package/dist/Field-GdMucFcQ.js.br +0 -5
  91. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js +0 -27240
  92. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
  93. package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
  94. package/dist/assets/typescript/mixins.d.ts +0 -34
  95. package/dist/availability.d.ts +0 -3
  96. package/dist/entries/availability.d.ts +0 -5
  97. package/dist/entries/event.d.ts +0 -2
  98. package/dist/entries/gift-card-validation.d.ts +0 -5
  99. package/dist/entries/gift-card.d.ts +0 -5
  100. package/dist/entries/hotel.d.ts +0 -5
  101. package/dist/entries/navigation.d.ts +0 -1
  102. package/dist/entries/polyfill.d.ts +0 -0
  103. package/dist/event-jnP6wH4w.js +0 -358
  104. package/dist/event-jnP6wH4w.js.br +0 -0
  105. package/dist/event.d.ts +0 -3
  106. package/dist/gift-card-validation.d.ts +0 -3
  107. package/dist/gift-card.d.ts +0 -3
  108. package/dist/hotel.d.ts +0 -3
  109. package/dist/hotel.js.br +0 -0
  110. package/dist/layouts/Availability.vue.d.ts +0 -25
  111. package/dist/layouts/Event.vue.d.ts +0 -18
  112. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  113. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  114. package/dist/layouts/Hotel.vue.d.ts +0 -36
  115. package/dist/layouts/_.vue.d.ts +0 -39
  116. package/dist/navigation.d.ts +0 -1
  117. package/dist/plugins/i18n.d.ts +0 -5
  118. package/dist/polyfill.d.ts +0 -1
  119. package/dist/store/alert.d.ts +0 -28
  120. package/dist/store/applyGiftCard.d.ts +0 -28
  121. package/dist/store/availability.d.ts +0 -40
  122. package/dist/store/event.d.ts +0 -683
  123. package/dist/store/giftCard.d.ts +0 -83
  124. package/dist/store/payment.d.ts +0 -139
  125. package/dist/store/recaptcha.d.ts +0 -28
  126. package/dist/store/tracking.d.ts +0 -57
  127. package/dist/store/utilities.d.ts +0 -350
  128. package/dist/types/index.d.ts +0 -976
package/dist/event.js.br CHANGED
Binary file
Binary file
@@ -1,12 +1,11 @@
1
- import { k as X, F as w, s as C, a as b, c as G, o as u, m as V, w as r, G as I, p as s, x as a, H as o, z as t, J as y, l as x, K as c, L as A, M as B, n as N, N as T, P as D, Q as M, R as U, _ as H, U as P, V as R, W as $ } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
2
- import { A as F } from "./ActionField--byx0Lp1.js";
3
- import { C as z } from "./Container-6UeOakwz.js";
4
- import "./_commonjsHelpers-4t9S7M5p.js";
5
- const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K = {
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-1RNEqBhG.js";
2
+ import { A as $ } from "./ActionField-i2xWkFyi.js";
3
+ import "./_commonjsHelpers-2ufMB8rV.js";
4
+ const F = (i) => (M("data-v-0b17aac3"), i = i(), G(), i), j = ["innerHTML"], z = {
6
5
  key: 0,
7
6
  id: "fresh-booking-gift-card-validation-resume",
8
7
  class: "fresh-booking-panel"
9
- }, Q = /* @__PURE__ */ E(() => /* @__PURE__ */ a("span", null, "Loading...", -1)), W = /* @__PURE__ */ X({
8
+ }, J = /* @__PURE__ */ F(() => /* @__PURE__ */ t("span", null, "Loading...", -1)), K = /* @__PURE__ */ w({
10
9
  name: "GiftCardValidationLayout",
11
10
  __name: "GiftCardValidation",
12
11
  props: {
@@ -14,66 +13,66 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
14
13
  styling: {}
15
14
  },
16
15
  setup(i) {
17
- const { t: e } = w(), {
18
- voucher: p,
19
- isValid: k,
20
- amount: _,
21
- expirationDate: v,
22
- productName: L,
23
- isLoading: d
24
- } = C(b()), { currency: S } = C(G()), { apply: m } = b();
25
- return (g, n) => (u(), V(z, { styling: g.styling }, {
26
- default: r(() => [
27
- (u(), V(I, null, {
28
- default: r(() => [
29
- s(D, {
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, {
30
29
  id: "fresh-booking-gift-card-validation-module",
31
- "access-token": g.accessToken,
30
+ "access-token": C.accessToken,
32
31
  type: "gift-card"
33
32
  }, {
34
- default: r(() => [
35
- a("form", {
36
- onSubmit: n[3] || (n[3] = T((l) => t(m)(), ["prevent"]))
33
+ default: m(() => [
34
+ t("form", {
35
+ onSubmit: n[3] || (n[3] = T((d) => a(h)(), ["prevent"]))
37
36
  }, [
38
- a("h4", null, [
39
- a("span", null, o(t(e)("giftCardValidation.title")), 1)
37
+ t("h4", null, [
38
+ t("span", null, s(a(e)("giftCardValidation.title")), 1)
40
39
  ]),
41
- a("p", {
42
- innerHTML: t(e)("giftCardValidation.description")
43
- }, null, 8, J),
44
- s(F, {
45
- modelValue: t(p),
46
- "onUpdate:modelValue": n[0] || (n[0] = (l) => y(p) ? p.value = l : 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),
47
46
  icon: "gift-card",
48
- label: t(e)("booking.reservation.giftCardCode"),
49
- buttonLabel: t(e)("giftCardValidation.submitButton"),
47
+ label: a(e)("booking.reservation.giftCardCode"),
48
+ buttonLabel: a(e)("giftCardValidation.submitButton"),
50
49
  placeholder: "XXXXXXXX",
51
- "is-loading": t(d),
52
- "onUpdate:isLoading": n[1] || (n[1] = (l) => y(d) ? d.value = l : null),
53
- onAction: n[2] || (n[2] = (l) => 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)())
54
53
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
55
- !t(d) && t(k) ? (u(), x("table", K, [
56
- a("thead", null, [
57
- a("tr", null, [
58
- a("th", null, [
59
- a("span", null, o(t(e)("giftCardValidation.giftCard")), 1),
60
- s(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, {
61
60
  icon: "gift-card",
62
61
  type: "fas",
63
62
  color: "header"
64
63
  })
65
64
  ]),
66
- a("th", null, [
67
- a("span", null, o(t(e)("giftCardValidation.balance")), 1),
68
- s(c, {
65
+ t("th", null, [
66
+ t("span", null, s(a(e)("giftCardValidation.balance")), 1),
67
+ p(y, {
69
68
  icon: "money-bill",
70
69
  type: "fas",
71
70
  color: "header"
72
71
  })
73
72
  ]),
74
- a("th", null, [
75
- a("span", null, o(t(e)("giftCardValidation.expirationDate")), 1),
76
- s(c, {
73
+ t("th", null, [
74
+ t("span", null, s(a(e)("giftCardValidation.expirationDate")), 1),
75
+ p(y, {
77
76
  icon: "timer",
78
77
  type: "fas",
79
78
  color: "header"
@@ -81,16 +80,16 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
81
80
  ])
82
81
  ])
83
82
  ]),
84
- a("tbody", null, [
85
- a("tr", null, [
86
- a("td", null, [
87
- a("span", null, o(t(L)), 1)
83
+ t("tbody", null, [
84
+ t("tr", null, [
85
+ t("td", null, [
86
+ t("span", null, s(a(f)), 1)
88
87
  ]),
89
- a("td", null, [
90
- a("span", null, o(t(A)(t(_), t(S))), 1)
88
+ t("td", null, [
89
+ t("span", null, s(a(x)(a(r), a(L))), 1)
91
90
  ]),
92
- a("td", null, [
93
- a("span", null, o(t(B)(t(v))), 1)
91
+ t("td", null, [
92
+ t("span", null, s(a(B)(a(u))), 1)
94
93
  ])
95
94
  ])
96
95
  ])
@@ -100,8 +99,8 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
100
99
  _: 1
101
100
  }, 8, ["access-token"])
102
101
  ]),
103
- fallback: r(() => [
104
- Q
102
+ fallback: m(() => [
103
+ J
105
104
  ]),
106
105
  _: 1
107
106
  }))
@@ -109,15 +108,26 @@ const E = (i) => (M("data-v-5af38302"), i = i(), U(), i), J = ["innerHTML"], K =
109
108
  _: 1
110
109
  }, 8, ["styling"]));
111
110
  }
112
- }), h = /* @__PURE__ */ H(W, [["__scopeId", "data-v-5af38302"]]), f = P({ components: { GiftCardValidation: h } }), j = R();
113
- f.use(j);
114
- f.use($);
115
- f.mount("#konnectio-gift-card-validation-app");
116
- const aa = {
117
- install: (i) => {
118
- i.component("GiftCardValidation", h);
111
+ }), g = /* @__PURE__ */ H(K, [["__scopeId", "data-v-0b17aac3"]]), O = U();
112
+ class Q extends HTMLElement {
113
+ constructor() {
114
+ super();
119
115
  }
120
- };
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);
121
131
  export {
122
- aa as default
132
+ Q as default
123
133
  };
Binary file