@konnectio/core 4.0.82 → 4.0.84

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 (75) hide show
  1. package/dist/ActionField-CLQbtAU7.js +100 -0
  2. package/dist/ActionField-CLQbtAU7.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-BJPo5KGW.js +309 -0
  4. package/dist/AvailabilitySkeleton-BJPo5KGW.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js} +1152 -1168
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js.br +0 -0
  7. package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-C9Sa3vci.js} +159 -174
  8. package/dist/CheckoutWindow-C9Sa3vci.js.br +0 -0
  9. package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-D6rbHHXd.js} +20 -35
  10. package/dist/ErrorMessage-D6rbHHXd.js.br +0 -0
  11. package/dist/EventAvailabilityForm-D-Q1vxsm.js +110 -0
  12. package/dist/EventAvailabilityForm-D-Q1vxsm.js.br +0 -0
  13. package/dist/Field-CGT9JUe-.js +43 -0
  14. package/dist/Field-CGT9JUe-.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js} +2819 -2807
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js.br +0 -0
  17. package/dist/TermsOfService-DmwGAt0q.js +28 -0
  18. package/dist/_-YHi6ciVk.js +5 -0
  19. package/dist/_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js +25 -0
  20. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  21. package/dist/availability.js +54 -71
  22. package/dist/availability.js.br +0 -0
  23. package/dist/deep-link.js +20 -36
  24. package/dist/deep-link.js.br +0 -0
  25. package/dist/event.js +398 -416
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +72 -89
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +175 -192
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-C-lmDpUB.js +118 -0
  32. package/dist/giftCard-C-lmDpUB.js.br +0 -0
  33. package/dist/hotel.js +1210 -1099
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-DL8uXS-9.js} +52 -68
  36. package/dist/masonry.plugin-DL8uXS-9.js.br +0 -0
  37. package/dist/mitt-B_elXQ2J.js +12437 -0
  38. package/dist/mitt-B_elXQ2J.js.br +0 -0
  39. package/dist/polyfill.js +4216 -7869
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/{style-CT1Yk_a0.js → style-CDpCXUak.js} +391 -406
  42. package/dist/style-CDpCXUak.js.br +0 -0
  43. package/dist/style.css +1 -1
  44. package/dist/style.css.br +0 -0
  45. package/package.json +12 -15
  46. package/dist/ActionField-Mf3IO8Sg.js +0 -115
  47. package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
  49. package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
  51. package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
  52. package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
  53. package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
  54. package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
  55. package/dist/Field-Bg0N8Vc0.js +0 -58
  56. package/dist/Field-Bg0N8Vc0.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
  58. package/dist/TermsOfService-CWraQvoB.js +0 -44
  59. package/dist/TermsOfService-CWraQvoB.js.br +0 -4
  60. package/dist/_-BEZe3PAF.js +0 -20
  61. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
  62. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
  63. package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
  64. package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-8liCQLPI.js +0 -9501
  66. package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
  67. package/dist/giftCard-sImOKdP0.js +0 -134
  68. package/dist/giftCard-sImOKdP0.js.br +0 -0
  69. package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
  70. package/dist/mitt-CzL6QOyp.js +0 -2977
  71. package/dist/mitt-CzL6QOyp.js.br +0 -0
  72. package/dist/sentry-Cyc40KnT.js +0 -26
  73. package/dist/style-CT1Yk_a0.js.br +0 -0
  74. package/dist/tracing-6Srl_nMB.js +0 -2628
  75. package/dist/tracing-6Srl_nMB.js.br +0 -0
package/dist/event.js.br CHANGED
Binary file
@@ -1,125 +1,108 @@
1
- import { d as A, a as d, g as v, e as t, f as a, c as P, b as g, w as f, S as B, u as e, t as l, v as _, i as T, h as $, k as N } from "./_sentry-release-injection-file-8liCQLPI.js";
2
- import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-CzL6QOyp.js";
3
- import { c as j } from "./sentry-Cyc40KnT.js";
4
- import { E as h, _ as x, q as C, d as q, I as b, g as K, s as W, C as z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
5
- import { u as J } from "./giftCard-sImOKdP0.js";
6
- import { _ as Q } from "./_.vue_vue_type_style_index_0_lang-DQzgcH2c.js";
7
- import { A as Y } from "./ActionField-Mf3IO8Sg.js";
8
- import { F as w } from "./Field-Bg0N8Vc0.js";
9
- import { E as Z } from "./ErrorMessage-BxZaXdig.js";
10
- import { G as tt } from "./style-CT1Yk_a0.js";
11
- (function() {
12
- try {
13
- var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
14
- i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "56b77537-82fb-44e4-9b2e-1136d69e65af", n._sentryDebugIdIdentifier = "sentry-dbid-56b77537-82fb-44e4-9b2e-1136d69e65af");
15
- } catch {
16
- }
17
- })();
18
- {
19
- var p = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
20
- p._sentryModuleMetadata = p._sentryModuleMetadata || {}, p._sentryModuleMetadata[new Error().stack] = Object.assign(
21
- {},
22
- p._sentryModuleMetadata[new Error().stack],
23
- { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
24
- );
25
- }
26
- const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-validation-skeleton-form" }, nt = { class: "gift-card-validation-skeleton-text" }, ot = { class: "gift-card-validation-skeleton-input" }, it = /* @__PURE__ */ A({
1
+ import { d as x, a as s, g as v, e as t, f as a, c as T, u as $, x as k, b as m, w as p, S as B, i as e, t as i, C, j as I, h as D, l as N, m as U, q as F, s as H, v as q } from "./mitt-B_elXQ2J.js";
2
+ import { E as h, _ as A, q as b, d as R, I as g, g as j, s as O, C as W } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js";
3
+ import { u as z } from "./giftCard-C-lmDpUB.js";
4
+ import { _ as J } from "./_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js";
5
+ import { A as K } from "./ActionField-CLQbtAU7.js";
6
+ import { F as y } from "./Field-CGT9JUe-.js";
7
+ import { E as Q } from "./ErrorMessage-D6rbHHXd.js";
8
+ import { G as Y } from "./style-CDpCXUak.js";
9
+ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-validation-skeleton-form" }, et = { class: "gift-card-validation-skeleton-text" }, at = { class: "gift-card-validation-skeleton-input" }, nt = /* @__PURE__ */ x({
27
10
  __name: "GiftCardValidationSkeleton",
28
- setup(n) {
29
- return (i, r) => (d(), v("div", et, [
30
- t("div", at, [
31
- t("div", nt, [
11
+ setup(u) {
12
+ return (d, l) => (s(), v("div", Z, [
13
+ t("div", tt, [
14
+ t("div", et, [
32
15
  a(h, { height: "20px" }),
33
16
  a(h, { height: "15px" }),
34
17
  a(h, { height: "15px" })
35
18
  ]),
36
- t("div", ot, [
37
- a(w),
38
- a(w, { "no-label": "" })
19
+ t("div", at, [
20
+ a(y),
21
+ a(y, { "no-label": "" })
39
22
  ])
40
23
  ])
41
24
  ]));
42
25
  }
43
- }), st = /* @__PURE__ */ x(it, [["__scopeId", "data-v-b1601b74"]]), lt = ["innerHTML"], rt = {
26
+ }), ot = /* @__PURE__ */ A(nt, [["__scopeId", "data-v-b1601b74"]]), it = ["innerHTML"], st = {
44
27
  key: 0,
45
28
  id: "konnectio-gift-card-validation-resume",
46
29
  class: "konnectio-panel"
47
- }, dt = /* @__PURE__ */ A({
30
+ }, lt = /* @__PURE__ */ x({
48
31
  name: "GiftCardValidationLayout",
49
32
  __name: "GiftCardValidation",
50
33
  props: {
51
34
  accessToken: {},
52
35
  styling: {}
53
36
  },
54
- setup(n) {
55
- const i = n, r = P(() => ({
37
+ setup(u) {
38
+ const d = u, l = T(() => ({
56
39
  panelMaxWidth: "800px",
57
- ...i.styling
58
- })), { t: s } = U(), {
59
- voucher: m,
60
- isValid: E,
61
- amount: S,
62
- expirationDate: I,
63
- productName: M,
64
- isLoading: u
65
- } = k(C()), { currency: D, hasError: G } = k(q()), { fetchMetadata: L } = J(), { apply: y } = C();
66
- return (X, o) => (d(), g(z, { styling: r.value }, {
67
- default: f(() => [
68
- (d(), g(B, null, {
69
- default: f(() => [
70
- a(Q, {
71
- "access-token": X.accessToken,
72
- callback: e(L)
40
+ ...d.styling
41
+ })), { t: o } = $(), {
42
+ voucher: f,
43
+ isValid: G,
44
+ amount: E,
45
+ expirationDate: S,
46
+ productName: w,
47
+ isLoading: c
48
+ } = k(b()), { currency: L, hasError: M } = k(R()), { fetchMetadata: X } = z(), { apply: _ } = b();
49
+ return (P, n) => (s(), m(W, { styling: l.value }, {
50
+ default: p(() => [
51
+ (s(), m(B, null, {
52
+ default: p(() => [
53
+ a(J, {
54
+ "access-token": P.accessToken,
55
+ callback: e(X)
73
56
  }, {
74
- default: f(() => [
75
- e(G) ? (d(), g(Z, {
57
+ default: p(() => [
58
+ e(M) ? (s(), m(Q, {
76
59
  key: 1,
77
60
  title: "Unable to render Gift card validation module",
78
61
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
79
- })) : (d(), v("form", {
62
+ })) : (s(), v("form", {
80
63
  key: 0,
81
64
  id: "konnectio-gift-card-validation-module",
82
- onSubmit: o[3] || (o[3] = $((c) => e(y)(), ["prevent"]))
65
+ onSubmit: n[3] || (n[3] = D((r) => e(_)(), ["prevent"]))
83
66
  }, [
84
67
  t("h4", null, [
85
- t("span", null, l(e(s)("giftCardValidation.title")), 1)
68
+ t("span", null, i(e(o)("giftCardValidation.title")), 1)
86
69
  ]),
87
70
  t("p", {
88
- innerHTML: e(s)("giftCardValidation.description")
89
- }, null, 8, lt),
90
- a(Y, {
91
- modelValue: e(m),
92
- "onUpdate:modelValue": o[0] || (o[0] = (c) => _(m) ? m.value = c : null),
71
+ innerHTML: e(o)("giftCardValidation.description")
72
+ }, null, 8, it),
73
+ a(K, {
74
+ modelValue: e(f),
75
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => C(f) ? f.value = r : null),
93
76
  icon: "gift-card",
94
- label: e(s)("booking.reservation.giftCardCode"),
95
- buttonLabel: e(s)("giftCardValidation.submitButton"),
77
+ label: e(o)("booking.reservation.giftCardCode"),
78
+ buttonLabel: e(o)("giftCardValidation.submitButton"),
96
79
  placeholder: "XXXXXXXX",
97
- "is-loading": e(u),
98
- "onUpdate:isLoading": o[1] || (o[1] = (c) => _(u) ? u.value = c : null),
99
- onAction: o[2] || (o[2] = (c) => e(y)())
80
+ "is-loading": e(c),
81
+ "onUpdate:isLoading": n[1] || (n[1] = (r) => C(c) ? c.value = r : null),
82
+ onAction: n[2] || (n[2] = (r) => e(_)())
100
83
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
101
- !e(u) && e(E) ? (d(), v("table", rt, [
84
+ !e(c) && e(G) ? (s(), v("table", st, [
102
85
  t("thead", null, [
103
86
  t("tr", null, [
104
87
  t("th", null, [
105
- t("span", null, l(e(s)("giftCardValidation.giftCard")), 1),
106
- a(b, {
88
+ t("span", null, i(e(o)("giftCardValidation.giftCard")), 1),
89
+ a(g, {
107
90
  icon: "gift-card",
108
91
  type: "fas",
109
92
  color: "header"
110
93
  })
111
94
  ]),
112
95
  t("th", null, [
113
- t("span", null, l(e(s)("giftCardValidation.balance")), 1),
114
- a(b, {
96
+ t("span", null, i(e(o)("giftCardValidation.balance")), 1),
97
+ a(g, {
115
98
  icon: "money-bill",
116
99
  type: "fas",
117
100
  color: "header"
118
101
  })
119
102
  ]),
120
103
  t("th", null, [
121
- t("span", null, l(e(s)("giftCardValidation.expirationDate")), 1),
122
- a(b, {
104
+ t("span", null, i(e(o)("giftCardValidation.expirationDate")), 1),
105
+ a(g, {
123
106
  icon: "timer",
124
107
  type: "fas",
125
108
  color: "header"
@@ -130,24 +113,24 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
130
113
  t("tbody", null, [
131
114
  t("tr", null, [
132
115
  t("td", null, [
133
- t("span", null, l(e(M)), 1)
116
+ t("span", null, i(e(w)), 1)
134
117
  ]),
135
118
  t("td", null, [
136
- t("span", null, l(e(K)(e(S), e(D))), 1)
119
+ t("span", null, i(e(j)(e(E), e(L))), 1)
137
120
  ]),
138
121
  t("td", null, [
139
- t("span", null, l(e(W)(e(I))), 1)
122
+ t("span", null, i(e(O)(e(S))), 1)
140
123
  ])
141
124
  ])
142
125
  ])
143
- ])) : T("", !0)
126
+ ])) : I("", !0)
144
127
  ], 32))
145
128
  ]),
146
129
  _: 1
147
130
  }, 8, ["access-token", "callback"])
148
131
  ]),
149
- fallback: f(() => [
150
- a(st)
132
+ fallback: p(() => [
133
+ a(ot)
151
134
  ]),
152
135
  _: 1
153
136
  }))
@@ -155,8 +138,8 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
155
138
  _: 1
156
139
  }, 8, ["styling"]));
157
140
  }
158
- }), V = /* @__PURE__ */ x(dt, [["__scopeId", "data-v-ae703950"]]), ct = F(), ut = R();
159
- class pt extends HTMLElement {
141
+ }), V = /* @__PURE__ */ A(lt, [["__scopeId", "data-v-ae703950"]]), rt = N(), dt = q();
142
+ class ct extends HTMLElement {
160
143
  vueApp;
161
144
  constructor() {
162
145
  super();
@@ -165,14 +148,14 @@ class pt extends HTMLElement {
165
148
  this.vueApp.unmount();
166
149
  }
167
150
  connectedCallback() {
168
- const i = H(V, this.attributes);
169
- this.vueApp = N(V, i), j(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(tt);
170
- const r = document.createElement("div");
171
- this.vueApp.mount(r), this.appendChild(r.children[0]);
151
+ const d = U(V, this.attributes);
152
+ this.vueApp = F(V, d), this.vueApp.provide("emitter", dt), this.vueApp.use(rt), this.vueApp.use(H), this.vueApp.use(Y);
153
+ const l = document.createElement("div");
154
+ this.vueApp.mount(l), this.appendChild(l.children[0]);
172
155
  }
173
156
  }
174
- window.customElements.define("konnectio-gift-card-validation", pt);
157
+ window.customElements.define("konnectio-gift-card-validation", ct);
175
158
  export {
176
- pt as default
159
+ ct as default
177
160
  };
178
161
  //# sourceMappingURL=gift-card-validation.js.map
Binary file