@konnectio/core 4.0.91 → 4.0.93

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 (62) hide show
  1. package/dist/{ActionField-B2CTKORV.js → ActionField-C7lWLc8e.js} +3 -3
  2. package/dist/ActionField-C7lWLc8e.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CEByne0E.js → AvailabilitySkeleton-dwmEvgDZ.js} +109 -110
  4. package/dist/AvailabilitySkeleton-dwmEvgDZ.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js +9079 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js.br +0 -0
  7. package/dist/{CheckoutWindow-uezvZeM5.js → CheckoutWindow-CGSJxkWB.js} +26 -26
  8. package/dist/CheckoutWindow-CGSJxkWB.js.br +0 -0
  9. package/dist/{ErrorMessage-BXOgd-QR.js → ErrorMessage-HrnuoiPk.js} +3 -3
  10. package/dist/ErrorMessage-HrnuoiPk.js.br +0 -0
  11. package/dist/EventAvailabilityForm-CoCMi3LO.js +113 -0
  12. package/dist/EventAvailabilityForm-CoCMi3LO.js.br +0 -0
  13. package/dist/{Field-Bg6Pob-I.js → Field-EJv450KD.js} +4 -4
  14. package/dist/Field-EJv450KD.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BkgqTrge.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7rweWQ6.js} +5 -5
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js → SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js} +1790 -1779
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js.br +0 -0
  18. package/dist/{TermsOfService-DKXsflUi.js → TermsOfService-C3ep4du7.js} +4 -4
  19. package/dist/_-kDfMKlCV.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CieEXQMV.js → _.vue_vue_type_style_index_0_lang-CKnvU28k.js} +3 -3
  21. package/dist/availability.js +6 -6
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +4 -4
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/deep-link.js +1 -1
  26. package/dist/deep-link.js.br +0 -0
  27. package/dist/event.js +572 -496
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +9 -9
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +10 -10
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-AACJPSo5.js → giftCard-CpohNznT.js} +3 -3
  34. package/dist/giftCard-CpohNznT.js.br +0 -0
  35. package/dist/hotel.js +701 -711
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CdawTHCn.js → masonry.plugin-DbzRiqiK.js} +22 -26
  38. package/dist/masonry.plugin-DbzRiqiK.js.br +0 -0
  39. package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
  40. package/dist/mitt-BGszhQ2P.js.br +0 -0
  41. package/dist/polyfill.js +1 -1
  42. package/dist/polyfill.js.br +0 -0
  43. package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
  44. package/dist/style-Csy5Jdgv.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +14 -14
  48. package/dist/ActionField-B2CTKORV.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-CEByne0E.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js +0 -8697
  51. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js.br +0 -0
  52. package/dist/CheckoutWindow-uezvZeM5.js.br +0 -0
  53. package/dist/ErrorMessage-BXOgd-QR.js.br +0 -0
  54. package/dist/EventAvailabilityForm-m-dJgaNg.js +0 -110
  55. package/dist/EventAvailabilityForm-m-dJgaNg.js.br +0 -0
  56. package/dist/Field-Bg6Pob-I.js.br +0 -0
  57. package/dist/SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js.br +0 -0
  58. package/dist/_-Pu-92eeb.js +0 -5
  59. package/dist/giftCard-AACJPSo5.js.br +0 -0
  60. package/dist/masonry.plugin-CdawTHCn.js.br +0 -0
  61. package/dist/mitt-B7wNuBju.js.br +0 -0
  62. package/dist/style-B-eJeldE.js.br +0 -0
Binary file
Binary file
@@ -1,110 +0,0 @@
1
- import { d as A, s as B, u as F, r as y, c as i, a as s, g as L, f as u, w as S, i as o, F as T, b as w, j as U, e as x, C as z, n as I, h as $ } from "./mitt-B7wNuBju.js";
2
- import { u as g, T as j, d as q, e as G, q as H, _ as M } from "./SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js";
3
- import { u as R, _ as J } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js";
4
- const K = {
5
- class: "konnectio-search-button",
6
- key: "search"
7
- }, O = /* @__PURE__ */ A({
8
- __name: "EventAvailabilityForm",
9
- props: {
10
- redirection: { type: Boolean, default: !0 },
11
- link: {},
12
- selectedLocation: { default: NaN }
13
- },
14
- setup(h) {
15
- const a = h, {
16
- eventLocation: d,
17
- eventLocations: m,
18
- hasEventLocations: v,
19
- eventLocationControl: V,
20
- eventDate: p
21
- } = B(g()), { updateEventAvailability: D } = g(), { fetchListings: _ } = R(), { t: n } = F(), N = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), f = y(V.value), b = y(N()), c = i({
22
- get: () => a.redirection ? f.value : d.value,
23
- set: (e) => {
24
- a.redirection ? f.value = Number(e) : d.value = Number(e);
25
- }
26
- }), r = i({
27
- get: () => a.redirection ? b.value : p.value,
28
- set: (e) => {
29
- a.redirection ? b.value = e : p.value = e;
30
- }
31
- }), C = i(() => typeof a.link != "string"), k = i(() => {
32
- const e = m.value.find(({ id: t }) => t === a.selectedLocation);
33
- return e ? e.name : "";
34
- });
35
- function E() {
36
- if (a.redirection === !0)
37
- if (D({
38
- date: r.value,
39
- location: c.value
40
- }), C.value) {
41
- const e = H();
42
- a.link[e] ? window.location.replace(a.link[e]) : a.link.en && window.location.replace(a.link.en);
43
- } else
44
- window.location.replace(a.link);
45
- else
46
- _();
47
- }
48
- return (e, t) => (s(), L("form", {
49
- class: I([
50
- "konnectio-event-search-form",
51
- { "has-locations": o(v) },
52
- { "auto-search": !e.redirection }
53
- ]),
54
- onSubmit: $(E, ["prevent"])
55
- }, [
56
- u(z, {
57
- class: "konnectio-event-search-form-content",
58
- tag: "ul"
59
- }, {
60
- default: S(() => [
61
- o(v) ? (s(), L(T, { key: 0 }, [
62
- isNaN(e.selectedLocation) ? (s(), w(q, {
63
- modelValue: c.value,
64
- "onUpdate:modelValue": t[1] || (t[1] = (l) => c.value = l),
65
- key: "location",
66
- label: o(n)("general.location"),
67
- icon: "location-dot",
68
- "icon-type": "fas",
69
- "icon-placement": "label",
70
- "label-key": "name",
71
- "value-key": "id",
72
- options: o(m),
73
- searchable: !1
74
- }, null, 8, ["modelValue", "label", "options"])) : (s(), w(j, {
75
- key: 0,
76
- modelValue: k.value,
77
- "onUpdate:modelValue": t[0] || (t[0] = (l) => k.value = l),
78
- label: o(n)("general.location"),
79
- icon: "location-dot",
80
- "icon-type": "fas",
81
- "icon-placement": "label",
82
- readonly: ""
83
- }, null, 8, ["modelValue", "label"]))
84
- ], 64)) : U("", !0),
85
- u(J, {
86
- modelValue: r.value,
87
- "onUpdate:modelValue": t[2] || (t[2] = (l) => r.value = l),
88
- key: "date",
89
- label: o(n)("event.selectDate"),
90
- "icon-type": "fas",
91
- "icon-placement": "label",
92
- "min-date": /* @__PURE__ */ new Date()
93
- }, null, 8, ["modelValue", "label", "min-date"]),
94
- x("li", K, [
95
- u(G, {
96
- type: "submit",
97
- label: o(n)("availability.buttonLabel"),
98
- "full-width": ""
99
- }, null, 8, ["label"])
100
- ])
101
- ]),
102
- _: 1
103
- })
104
- ], 34));
105
- }
106
- }), X = /* @__PURE__ */ M(O, [["__scopeId", "data-v-b5025042"]]);
107
- export {
108
- X as E
109
- };
110
- //# sourceMappingURL=EventAvailabilityForm-m-dJgaNg.js.map
Binary file
@@ -1,5 +0,0 @@
1
- import { _ as f } from "./_.vue_vue_type_style_index_0_lang-CieEXQMV.js";
2
- export {
3
- f as default
4
- };
5
- //# sourceMappingURL=_-Pu-92eeb.js.map
Binary file
Binary file
Binary file
Binary file