@konnectio/core 4.0.82 → 4.0.83

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 (73) hide show
  1. package/dist/ActionField-BA-fYDFE.js +100 -0
  2. package/dist/ActionField-BA-fYDFE.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-cs1R6FqT.js +281 -0
  4. package/dist/AvailabilitySkeleton-cs1R6FqT.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-Qc9hcPxa.js} +1156 -1171
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js.br +0 -0
  7. package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-BWvzwZp7.js} +153 -168
  8. package/dist/CheckoutWindow-BWvzwZp7.js.br +0 -0
  9. package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-Cznv1pOA.js} +20 -35
  10. package/dist/ErrorMessage-Cznv1pOA.js.br +0 -0
  11. package/dist/EventAvailabilityForm-CCIRdxiD.js +111 -0
  12. package/dist/EventAvailabilityForm-CCIRdxiD.js.br +0 -0
  13. package/dist/Field-BvDQnKDq.js +43 -0
  14. package/dist/Field-BvDQnKDq.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-9lyXRaoC.js} +2302 -2317
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js.br +0 -0
  17. package/dist/TermsOfService-GFdUcU5a.js +29 -0
  18. package/dist/_-CApO2y_W.js +5 -0
  19. package/dist/_.vue_vue_type_style_index_0_lang-JXEPTW6b.js +25 -0
  20. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  21. package/dist/availability.js +55 -71
  22. package/dist/availability.js.br +0 -0
  23. package/dist/deep-link.js +21 -36
  24. package/dist/deep-link.js.br +0 -0
  25. package/dist/event.js +408 -424
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +73 -89
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +181 -197
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-DA27WKsi.js +119 -0
  32. package/dist/giftCard-DA27WKsi.js.br +0 -0
  33. package/dist/hotel.js +505 -520
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-C22IPiCy.js} +53 -68
  36. package/dist/masonry.plugin-C22IPiCy.js.br +0 -0
  37. package/dist/{mitt-CzL6QOyp.js → mitt-QLRlCcPH.js} +983 -998
  38. package/dist/mitt-QLRlCcPH.js.br +0 -0
  39. package/dist/polyfill.js +4152 -7854
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/{style-CT1Yk_a0.js → style-CF23zZwv.js} +388 -403
  42. package/dist/style-CF23zZwv.js.br +0 -0
  43. package/dist/{_sentry-release-injection-file-8liCQLPI.js → vue.esm-bundler-BkY4vCIk.js} +1987 -2003
  44. package/dist/vue.esm-bundler-BkY4vCIk.js.br +0 -0
  45. package/package.json +1 -3
  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.br +0 -0
  66. package/dist/giftCard-sImOKdP0.js +0 -134
  67. package/dist/giftCard-sImOKdP0.js.br +0 -0
  68. package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
  69. package/dist/mitt-CzL6QOyp.js.br +0 -0
  70. package/dist/sentry-Cyc40KnT.js +0 -26
  71. package/dist/style-CT1Yk_a0.js.br +0 -0
  72. package/dist/tracing-6Srl_nMB.js +0 -2628
  73. package/dist/tracing-6Srl_nMB.js.br +0 -0
package/dist/event.js.br CHANGED
Binary file
@@ -1,125 +1,109 @@
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, b as m, w as p, S as $, u as e, t as i, v as k, i as B, h as I, k as D } from "./vue.esm-bundler-BkY4vCIk.js";
2
+ import { u as N, s as b, c as U, l as F, i as H, m as R } from "./mitt-QLRlCcPH.js";
3
+ import { E as h, _ as A, q as C, d as q, I as g, g as O, s as W, C as j } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js";
4
+ import { u as z } from "./giftCard-DA27WKsi.js";
5
+ import { _ as J } from "./_.vue_vue_type_style_index_0_lang-JXEPTW6b.js";
6
+ import { A as K } from "./ActionField-BA-fYDFE.js";
7
+ import { F as y } from "./Field-BvDQnKDq.js";
8
+ import { E as Q } from "./ErrorMessage-Cznv1pOA.js";
9
+ import { G as Y } from "./style-CF23zZwv.js";
10
+ 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
11
  __name: "GiftCardValidationSkeleton",
28
- setup(n) {
29
- return (i, r) => (d(), v("div", et, [
30
- t("div", at, [
31
- t("div", nt, [
12
+ setup(u) {
13
+ return (d, l) => (s(), v("div", Z, [
14
+ t("div", tt, [
15
+ t("div", et, [
32
16
  a(h, { height: "20px" }),
33
17
  a(h, { height: "15px" }),
34
18
  a(h, { height: "15px" })
35
19
  ]),
36
- t("div", ot, [
37
- a(w),
38
- a(w, { "no-label": "" })
20
+ t("div", at, [
21
+ a(y),
22
+ a(y, { "no-label": "" })
39
23
  ])
40
24
  ])
41
25
  ]));
42
26
  }
43
- }), st = /* @__PURE__ */ x(it, [["__scopeId", "data-v-b1601b74"]]), lt = ["innerHTML"], rt = {
27
+ }), ot = /* @__PURE__ */ A(nt, [["__scopeId", "data-v-b1601b74"]]), it = ["innerHTML"], st = {
44
28
  key: 0,
45
29
  id: "konnectio-gift-card-validation-resume",
46
30
  class: "konnectio-panel"
47
- }, dt = /* @__PURE__ */ A({
31
+ }, lt = /* @__PURE__ */ x({
48
32
  name: "GiftCardValidationLayout",
49
33
  __name: "GiftCardValidation",
50
34
  props: {
51
35
  accessToken: {},
52
36
  styling: {}
53
37
  },
54
- setup(n) {
55
- const i = n, r = P(() => ({
38
+ setup(u) {
39
+ const d = u, l = T(() => ({
56
40
  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)
41
+ ...d.styling
42
+ })), { t: o } = N(), {
43
+ voucher: f,
44
+ isValid: G,
45
+ amount: E,
46
+ expirationDate: S,
47
+ productName: w,
48
+ isLoading: c
49
+ } = b(C()), { currency: L, hasError: M } = b(q()), { fetchMetadata: X } = z(), { apply: _ } = C();
50
+ return (P, n) => (s(), m(j, { styling: l.value }, {
51
+ default: p(() => [
52
+ (s(), m($, null, {
53
+ default: p(() => [
54
+ a(J, {
55
+ "access-token": P.accessToken,
56
+ callback: e(X)
73
57
  }, {
74
- default: f(() => [
75
- e(G) ? (d(), g(Z, {
58
+ default: p(() => [
59
+ e(M) ? (s(), m(Q, {
76
60
  key: 1,
77
61
  title: "Unable to render Gift card validation module",
78
62
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
79
- })) : (d(), v("form", {
63
+ })) : (s(), v("form", {
80
64
  key: 0,
81
65
  id: "konnectio-gift-card-validation-module",
82
- onSubmit: o[3] || (o[3] = $((c) => e(y)(), ["prevent"]))
66
+ onSubmit: n[3] || (n[3] = I((r) => e(_)(), ["prevent"]))
83
67
  }, [
84
68
  t("h4", null, [
85
- t("span", null, l(e(s)("giftCardValidation.title")), 1)
69
+ t("span", null, i(e(o)("giftCardValidation.title")), 1)
86
70
  ]),
87
71
  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),
72
+ innerHTML: e(o)("giftCardValidation.description")
73
+ }, null, 8, it),
74
+ a(K, {
75
+ modelValue: e(f),
76
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => k(f) ? f.value = r : null),
93
77
  icon: "gift-card",
94
- label: e(s)("booking.reservation.giftCardCode"),
95
- buttonLabel: e(s)("giftCardValidation.submitButton"),
78
+ label: e(o)("booking.reservation.giftCardCode"),
79
+ buttonLabel: e(o)("giftCardValidation.submitButton"),
96
80
  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)())
81
+ "is-loading": e(c),
82
+ "onUpdate:isLoading": n[1] || (n[1] = (r) => k(c) ? c.value = r : null),
83
+ onAction: n[2] || (n[2] = (r) => e(_)())
100
84
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
101
- !e(u) && e(E) ? (d(), v("table", rt, [
85
+ !e(c) && e(G) ? (s(), v("table", st, [
102
86
  t("thead", null, [
103
87
  t("tr", null, [
104
88
  t("th", null, [
105
- t("span", null, l(e(s)("giftCardValidation.giftCard")), 1),
106
- a(b, {
89
+ t("span", null, i(e(o)("giftCardValidation.giftCard")), 1),
90
+ a(g, {
107
91
  icon: "gift-card",
108
92
  type: "fas",
109
93
  color: "header"
110
94
  })
111
95
  ]),
112
96
  t("th", null, [
113
- t("span", null, l(e(s)("giftCardValidation.balance")), 1),
114
- a(b, {
97
+ t("span", null, i(e(o)("giftCardValidation.balance")), 1),
98
+ a(g, {
115
99
  icon: "money-bill",
116
100
  type: "fas",
117
101
  color: "header"
118
102
  })
119
103
  ]),
120
104
  t("th", null, [
121
- t("span", null, l(e(s)("giftCardValidation.expirationDate")), 1),
122
- a(b, {
105
+ t("span", null, i(e(o)("giftCardValidation.expirationDate")), 1),
106
+ a(g, {
123
107
  icon: "timer",
124
108
  type: "fas",
125
109
  color: "header"
@@ -130,24 +114,24 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
130
114
  t("tbody", null, [
131
115
  t("tr", null, [
132
116
  t("td", null, [
133
- t("span", null, l(e(M)), 1)
117
+ t("span", null, i(e(w)), 1)
134
118
  ]),
135
119
  t("td", null, [
136
- t("span", null, l(e(K)(e(S), e(D))), 1)
120
+ t("span", null, i(e(O)(e(E), e(L))), 1)
137
121
  ]),
138
122
  t("td", null, [
139
- t("span", null, l(e(W)(e(I))), 1)
123
+ t("span", null, i(e(W)(e(S))), 1)
140
124
  ])
141
125
  ])
142
126
  ])
143
- ])) : T("", !0)
127
+ ])) : B("", !0)
144
128
  ], 32))
145
129
  ]),
146
130
  _: 1
147
131
  }, 8, ["access-token", "callback"])
148
132
  ]),
149
- fallback: f(() => [
150
- a(st)
133
+ fallback: p(() => [
134
+ a(ot)
151
135
  ]),
152
136
  _: 1
153
137
  }))
@@ -155,8 +139,8 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
155
139
  _: 1
156
140
  }, 8, ["styling"]));
157
141
  }
158
- }), V = /* @__PURE__ */ x(dt, [["__scopeId", "data-v-ae703950"]]), ct = F(), ut = R();
159
- class pt extends HTMLElement {
142
+ }), V = /* @__PURE__ */ A(lt, [["__scopeId", "data-v-ae703950"]]), rt = U(), dt = R();
143
+ class ct extends HTMLElement {
160
144
  vueApp;
161
145
  constructor() {
162
146
  super();
@@ -165,14 +149,14 @@ class pt extends HTMLElement {
165
149
  this.vueApp.unmount();
166
150
  }
167
151
  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]);
152
+ const d = F(V, this.attributes);
153
+ this.vueApp = D(V, d), this.vueApp.provide("emitter", dt), this.vueApp.use(rt), this.vueApp.use(H), this.vueApp.use(Y);
154
+ const l = document.createElement("div");
155
+ this.vueApp.mount(l), this.appendChild(l.children[0]);
172
156
  }
173
157
  }
174
- window.customElements.define("konnectio-gift-card-validation", pt);
158
+ window.customElements.define("konnectio-gift-card-validation", ct);
175
159
  export {
176
- pt as default
160
+ ct as default
177
161
  };
178
162
  //# sourceMappingURL=gift-card-validation.js.map
Binary file