@konnectio/core 4.0.56-rc28 → 4.0.56-rc29

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 (41) hide show
  1. package/dist/{ActionField-xGc_ajER.js → ActionField-ndq4CxMf.js} +9 -9
  2. package/dist/ActionField-ndq4CxMf.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-bIuGCn-W.js → AvailabilitySkeleton-ACZu1cbe.js} +1 -1
  4. package/dist/AvailabilitySkeleton-ACZu1cbe.js.br +0 -0
  5. package/dist/{CheckoutWindow-MJOB-P1r.js → CheckoutWindow-Uh5py1iz.js} +27 -27
  6. package/dist/CheckoutWindow-Uh5py1iz.js.br +0 -0
  7. package/dist/{ErrorMessage-yCUA4Br1.js → ErrorMessage-YtIshvvf.js} +1 -1
  8. package/dist/ErrorMessage-YtIshvvf.js.br +0 -0
  9. package/dist/{EventAvailabilityForm-MDbDYGmT.js → EventAvailabilityForm-0ScLIbfr.js} +17 -17
  10. package/dist/EventAvailabilityForm-0ScLIbfr.js.br +0 -0
  11. package/dist/{Field-pqofL_FG.js → Field-h1g7Dq--.js} +847 -839
  12. package/dist/Field-h1g7Dq--.js.br +0 -0
  13. package/dist/HotelAvailabilityForm-VSefGp9z.js +212 -0
  14. package/dist/HotelAvailabilityForm-VSefGp9z.js.br +0 -0
  15. package/dist/{TermsOfService-YKMRZMWv.js → TermsOfService-PO3NnQmn.js} +4 -4
  16. package/dist/availability.js +45 -41
  17. package/dist/availability.js.br +0 -0
  18. package/dist/event.js +46 -46
  19. package/dist/event.js.br +0 -0
  20. package/dist/gift-card-validation.js +17 -17
  21. package/dist/gift-card-validation.js.br +0 -0
  22. package/dist/gift-card.js +78 -78
  23. package/dist/gift-card.js.br +0 -0
  24. package/dist/hotel.js +35 -35
  25. package/dist/hotel.js.br +0 -0
  26. package/dist/{masonry.plugin-amuVufsm.js → masonry.plugin-KCvCKFtb.js} +3 -3
  27. package/dist/masonry.plugin-KCvCKFtb.js.br +0 -0
  28. package/dist/polyfill.js +1 -1
  29. package/dist/polyfill.js.br +0 -0
  30. package/dist/style.css +1 -1
  31. package/dist/style.css.br +0 -0
  32. package/package.json +1 -4
  33. package/dist/ActionField-xGc_ajER.js.br +0 -0
  34. package/dist/AvailabilitySkeleton-bIuGCn-W.js.br +0 -0
  35. package/dist/CheckoutWindow-MJOB-P1r.js.br +0 -0
  36. package/dist/ErrorMessage-yCUA4Br1.js.br +0 -0
  37. package/dist/EventAvailabilityForm-MDbDYGmT.js.br +0 -0
  38. package/dist/Field-pqofL_FG.js.br +0 -0
  39. package/dist/HotelAvailabilityForm-b5R46zup.js +0 -164
  40. package/dist/HotelAvailabilityForm-b5R46zup.js.br +0 -0
  41. package/dist/masonry.plugin-amuVufsm.js.br +0 -0
package/dist/gift-card.js CHANGED
@@ -1,13 +1,13 @@
1
- import { O as ue, P as pe, s as te, c as le, r as V, ag as T, V as ee, e as _, Z as re, X as ae, Y as me, v as fe, ah as ve, d as D, u as J, R as ge, f as d, n as M, y as R, h as l, g as k, k as o, j as e, C as z, m as F, q as ce, I as he, a1 as O, a0 as be, x as ne, B as Y, t as ye, ai as ke, w as _e, o as Ce, S as Ve, aj as W, ak as H, F as we, ab as Fe, l as P, _ as Pe, al as Se, T as K, p as Te, E as $e, G as Ee, H as Ue, J as Ae, K as Ie, L as Le, M as Me, af as Re, N as Ge } from "./Field-pqofL_FG.js";
2
- import { a as qe, C as Be, P as xe, _ as Oe } from "./CheckoutWindow-MJOB-P1r.js";
3
- import { E as ze } from "./ErrorMessage-yCUA4Br1.js";
4
- import { S as De } from "./TermsOfService-YKMRZMWv.js";
1
+ import { N as ue, O as pe, s as te, c as le, r as V, ag as T, U as ee, e as _, Y as re, W as ae, X as me, t as fe, ah as ve, d as z, u as J, Q as ge, f as d, k as M, x as G, h as l, g as k, m as o, j as e, C as O, l as F, p as ce, I as he, a1 as D, a0 as be, v as ne, A as Z, q as ye, ai as ke, w as _e, o as Ce, S as Ve, aj as W, ak as H, F as we, ab as Fe, $ as P, _ as Pe, al as Se, T as K, n as Te, D as $e, E as Ue, G as Ee, H as Ae, J as Ie, K as Le, L as Me, af as Ge, M as Re } from "./Field-h1g7Dq--.js";
2
+ import { a as qe, C as xe, P as Be, _ as De } from "./CheckoutWindow-Uh5py1iz.js";
3
+ import { E as Oe } from "./ErrorMessage-YtIshvvf.js";
4
+ import { S as ze } from "./TermsOfService-PO3NnQmn.js";
5
5
  const oe = ue("giftCard", () => {
6
- const { pay: g } = pe(), { bearerToken: c, metaData: v, currencyId: t } = te(le()), p = le(), r = V(T.InitialState), u = ee("konnectio_name", "", void 0, { serializer: ae.string }), h = ee("konnectio_email", "", void 0, { serializer: ae.string }), i = ee("konnectio_phone", "", void 0, { serializer: ae.string }), b = V(""), f = V(1), B = V(!0), S = V(""), a = V({
6
+ const { pay: g } = pe(), { bearerToken: c, metaData: v, currencyId: t } = te(le()), p = le(), r = V(T.InitialState), u = ee("konnectio_name", "", void 0, { serializer: ae.string }), h = ee("konnectio_email", "", void 0, { serializer: ae.string }), i = ee("konnectio_phone", "", void 0, { serializer: ae.string }), b = V(""), f = V(1), x = V(!0), S = V(""), a = V({
7
7
  base64: "",
8
8
  type: "",
9
9
  name: ""
10
- }), m = V(void 0), w = V(0), $ = V(!1), C = V(0), E = _(() => p.metaData.hotels[0]), x = _(() => E.value.termsOfService ? E.value.termsOfService : ""), U = _(() => r.value === T.InitialState || r.value === T.WaitingForResponse), ie = _(() => r.value === T.ReadyToPay), X = _(() => r.value === T.PaymentSuccess), G = _(() => {
10
+ }), m = V(void 0), w = V(0), $ = V(!1), C = V(0), U = _(() => p.metaData.hotels[0]), B = _(() => U.value.termsOfService ? U.value.termsOfService : ""), E = _(() => r.value === T.InitialState || r.value === T.WaitingForResponse), ie = _(() => r.value === T.ReadyToPay), Q = _(() => r.value === T.PaymentSuccess), R = _(() => {
11
11
  const y = {
12
12
  1: {
13
13
  label: re.t("giftCard.hotelType"),
@@ -26,15 +26,15 @@ const oe = ue("giftCard", () => {
26
26
  }), j = _(() => C.value !== 0), A = _(() => {
27
27
  let y;
28
28
  if (j.value)
29
- y = G.value[C.value].data[0];
29
+ y = R.value[C.value].data[0];
30
30
  else if (w.value !== 0) {
31
- const q = m.value, I = G.value[w.value].data;
31
+ const q = m.value, I = R.value[w.value].data;
32
32
  I.length === 1 ? y = I[0] : q !== void 0 && I.forEach((se) => {
33
33
  String(se.id) === String(q) && (y = se);
34
34
  });
35
35
  }
36
36
  return y;
37
- }), Q = _(() => !(!u.value || !h.value || !(i.value.length >= 5) || !b.value || A.value === void 0)), L = _(() => !(r.value === T.InitialState && $.value)), s = _(() => !!(r.value === T.WaitingForResponse && $.value));
37
+ }), X = _(() => !(!u.value || !h.value || !(i.value.length >= 5) || !b.value || A.value === void 0)), L = _(() => !(r.value === T.InitialState && $.value)), s = _(() => !!(r.value === T.WaitingForResponse && $.value));
38
38
  async function n() {
39
39
  r.value = T.WaitingForResponse, $.value = !0, await me.post("https://production.hotel-service.konnectio.dk/api/gift-card/create", {
40
40
  termsOfserviceURL: window.location.origin,
@@ -44,7 +44,7 @@ const oe = ue("giftCard", () => {
44
44
  amount: b.value,
45
45
  quantity: f.value,
46
46
  freeText: S.value,
47
- showPrice: B.value,
47
+ showPrice: x.value,
48
48
  contactName: u.value,
49
49
  contactEmail: h.value,
50
50
  contactPhone: i.value,
@@ -57,7 +57,7 @@ const oe = ue("giftCard", () => {
57
57
  headers: {
58
58
  Authorization: c.value,
59
59
  Accept: "application/json",
60
- "Fresh-Booking-Ver": "4.0.56-rc28"
60
+ "Fresh-Booking-Ver": "4.0.56-rc29"
61
61
  }
62
62
  }).then((y) => {
63
63
  r.value = T.ReadyToPay, $.value = !1, g({
@@ -77,24 +77,24 @@ const oe = ue("giftCard", () => {
77
77
  phone: i,
78
78
  value: b,
79
79
  remark: S,
80
- showValue: B,
80
+ showValue: x,
81
81
  quantity: f,
82
82
  media: a,
83
83
  placeId: m,
84
84
  placeType: w,
85
- showFormPage: U,
85
+ showFormPage: E,
86
86
  showPaymentPage: ie,
87
- showConfirmationPage: X,
88
- places: G,
89
- hasFilledForm: Q,
87
+ showConfirmationPage: Q,
88
+ places: R,
89
+ hasFilledForm: X,
90
90
  hasForcedPlaceType: j,
91
91
  isWaitingForResponse: s,
92
92
  isMetaDataAvailable: L,
93
- termsOfService: x,
93
+ termsOfService: B,
94
94
  orderGiftCard: n,
95
95
  initialize: N
96
96
  };
97
- }), je = { class: "media-selector" }, Ne = ["accept"], We = { class: "media-selector-wrapper" }, He = { class: "media-selector-tools" }, Ke = { key: 0 }, Ze = { key: 1 }, Ye = { key: 2 }, Je = ["src"], Xe = /* @__PURE__ */ D({
97
+ }), je = { class: "media-selector" }, Ne = ["accept"], We = { class: "media-selector-wrapper" }, He = { class: "media-selector-tools" }, Ke = { key: 0 }, Ye = { key: 1 }, Ze = { key: 2 }, Je = ["src"], Qe = /* @__PURE__ */ z({
98
98
  __name: "MediaSelector",
99
99
  props: {
100
100
  modelValue: {},
@@ -119,12 +119,12 @@ const oe = ue("giftCard", () => {
119
119
  function f() {
120
120
  u.value && u.value.click();
121
121
  }
122
- function B(a, m) {
122
+ function x(a, m) {
123
123
  const [w, $] = [a.name, a.type], C = new FileReader();
124
- C.onload = function(E) {
125
- if (E.target) {
126
- const x = E.target.result;
127
- m({ base64: x, name: w, type: $ });
124
+ C.onload = function(U) {
125
+ if (U.target) {
126
+ const B = U.target.result;
127
+ m({ base64: B, name: w, type: $ });
128
128
  } else
129
129
  r({
130
130
  message: p("imageUploadError"),
@@ -134,14 +134,14 @@ const oe = ue("giftCard", () => {
134
134
  }
135
135
  async function S() {
136
136
  let a;
137
- (a = u.value.files) instanceof FileList && B(a[0], i);
137
+ (a = u.value.files) instanceof FileList && x(a[0], i);
138
138
  }
139
139
  return (a, m) => (d(), M(he, {
140
140
  label: a.label,
141
141
  required: a.required,
142
142
  type: "media"
143
143
  }, {
144
- default: R(() => [
144
+ default: G(() => [
145
145
  l("div", je, [
146
146
  l("input", {
147
147
  ref_key: "fileInput",
@@ -155,7 +155,7 @@ const oe = ue("giftCard", () => {
155
155
  l("div", We, [
156
156
  l("ul", He, [
157
157
  h.value ? F("", !0) : (d(), k("li", Ke, [
158
- o(z, {
158
+ o(O, {
159
159
  label: e(p)("uploadFile"),
160
160
  type: "button",
161
161
  icon: "upload",
@@ -163,8 +163,8 @@ const oe = ue("giftCard", () => {
163
163
  onClickEvent: m[1] || (m[1] = (w) => f())
164
164
  }, null, 8, ["label", "icon-color"])
165
165
  ])),
166
- h.value ? (d(), k("li", Ze, [
167
- o(z, {
166
+ h.value ? (d(), k("li", Ye, [
167
+ o(O, {
168
168
  label: e(p)("replaceFile"),
169
169
  type: "button",
170
170
  icon: "repeat-alt",
@@ -172,8 +172,8 @@ const oe = ue("giftCard", () => {
172
172
  onClickEvent: m[2] || (m[2] = (w) => f())
173
173
  }, null, 8, ["label", "icon-color"])
174
174
  ])) : F("", !0),
175
- h.value ? (d(), k("li", Ye, [
176
- o(z, {
175
+ h.value ? (d(), k("li", Ze, [
176
+ o(O, {
177
177
  label: e(p)("removeFile"),
178
178
  type: "button",
179
179
  icon: "trash-alt",
@@ -220,22 +220,22 @@ function de(g) {
220
220
  }
221
221
  });
222
222
  }
223
- typeof de == "function" && de(Xe);
224
- const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-form" }, aa = /* @__PURE__ */ D({
223
+ typeof de == "function" && de(Qe);
224
+ const Xe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-form" }, aa = /* @__PURE__ */ z({
225
225
  __name: "GiftCardSkeleton",
226
226
  setup(g) {
227
- return (c, v) => (d(), k("div", Qe, [
227
+ return (c, v) => (d(), k("div", Xe, [
228
228
  l("div", ea, [
229
- o(O),
230
- o(O),
231
- o(O),
232
- o(O),
233
- o(O, { "is-text-area": "" }),
229
+ o(D),
230
+ o(D),
231
+ o(D),
232
+ o(D),
233
+ o(D, { "is-text-area": "" }),
234
234
  o(be, { height: "44px" })
235
235
  ])
236
236
  ]));
237
237
  }
238
- }), ta = /* @__PURE__ */ ne(aa, [["__scopeId", "data-v-ba3efaa1"]]), la = { class: "konnectio-accept-terms" }, oa = /* @__PURE__ */ D({
238
+ }), ta = /* @__PURE__ */ ne(aa, [["__scopeId", "data-v-ba3efaa1"]]), la = { class: "konnectio-accept-terms" }, oa = /* @__PURE__ */ z({
239
239
  __name: "_",
240
240
  props: {
241
241
  content: {},
@@ -249,28 +249,28 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
249
249
  tag: "span",
250
250
  scope: "global"
251
251
  }, {
252
- button: R(() => [
253
- l("i", null, '"' + Y(t.buttonLabel) + '"', 1)
252
+ button: G(() => [
253
+ l("i", null, '"' + Z(t.buttonLabel) + '"', 1)
254
254
  ]),
255
- terms: R(() => [
255
+ terms: G(() => [
256
256
  l("a", {
257
257
  class: "konnectio-accept-terms-link",
258
258
  target: "_blank",
259
259
  onClick: p[0] || (p[0] = ye((r) => v.value = !0, ["prevent"]))
260
260
  }, [
261
- l("span", null, Y(e(c)("general.termsAndConditions")), 1)
261
+ l("span", null, Z(e(c)("general.termsAndConditions")), 1)
262
262
  ])
263
263
  ]),
264
264
  _: 1
265
265
  }),
266
- o(De, {
266
+ o(ze, {
267
267
  modelValue: v.value,
268
268
  "onUpdate:modelValue": p[1] || (p[1] = (r) => v.value = r),
269
269
  description: t.content
270
270
  }, null, 8, ["modelValue", "description"])
271
271
  ]));
272
272
  }
273
- }), na = /* @__PURE__ */ ne(oa, [["__scopeId", "data-v-c9c826cf"]]), ia = /* @__PURE__ */ D({
273
+ }), na = /* @__PURE__ */ ne(oa, [["__scopeId", "data-v-c9c826cf"]]), ia = /* @__PURE__ */ z({
274
274
  __name: "GiftCard",
275
275
  setup(g) {
276
276
  const { t: c } = J(), v = oe();
@@ -279,7 +279,7 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
279
279
  "button-label": e(c)("giftCard.orderGiftCard")
280
280
  }, null, 8, ["content", "button-label"]));
281
281
  }
282
- }), sa = (g) => (Ue("data-v-30c8e35c"), g = g(), Ae(), g), ra = {
282
+ }), sa = (g) => (Ee("data-v-30c8e35c"), g = g(), Ae(), g), ra = {
283
283
  key: 0,
284
284
  id: "konnectio-gift-card-wrapper"
285
285
  }, da = { id: "konnectio-gift-card-title" }, ca = { id: "konnectio-gift-card-content" }, ua = { id: "konnectio-gift-card-payment" }, pa = ["innerHTML"], ma = { key: 0 }, fa = {
@@ -296,7 +296,7 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
296
296
  }, _a = {
297
297
  key: 2,
298
298
  id: "konnectio-gift-card-order-minimal"
299
- }, Ca = /* @__PURE__ */ sa(() => /* @__PURE__ */ l("div", { class: "konnectio-divider" }, null, -1)), Va = { id: "konnectio-gift-card-recaptcha" }, wa = /* @__PURE__ */ D({
299
+ }, Ca = /* @__PURE__ */ sa(() => /* @__PURE__ */ l("div", { class: "konnectio-divider" }, null, -1)), Va = { id: "konnectio-gift-card-recaptcha" }, wa = /* @__PURE__ */ z({
300
300
  name: "GiftCardLayout",
301
301
  __name: "GiftCard",
302
302
  props: {
@@ -317,41 +317,41 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
317
317
  remark: i,
318
318
  showValue: b,
319
319
  quantity: f,
320
- media: B,
320
+ media: x,
321
321
  placeId: S,
322
322
  placeType: a,
323
323
  showFormPage: m,
324
324
  showPaymentPage: w,
325
325
  showConfirmationPage: $,
326
326
  places: C,
327
- hasFilledForm: E,
328
- hasForcedPlaceType: x,
329
- isWaitingForResponse: U,
327
+ hasFilledForm: U,
328
+ hasForcedPlaceType: B,
329
+ isWaitingForResponse: E,
330
330
  isMetaDataAvailable: ie
331
- } = te(oe()), { initialize: X, orderGiftCard: G } = oe(), { isRecaptchaEnabled: j, currency: A, hasError: Q } = te(le());
331
+ } = te(oe()), { initialize: Q, orderGiftCard: R } = oe(), { isRecaptchaEnabled: j, currency: A, hasError: X } = te(le());
332
332
  return _e(a, () => {
333
333
  S.value = void 0;
334
334
  }), Ce(() => {
335
335
  const L = c.placeType ? parseInt(c.placeType) : void 0;
336
- X(L);
337
- }), (L, s) => (d(), M(Ee, { styling: v.value }, {
338
- default: R(() => [
336
+ Q(L);
337
+ }), (L, s) => (d(), M(Ue, { styling: v.value }, {
338
+ default: G(() => [
339
339
  (d(), M(Ve, null, {
340
- default: R(() => [
340
+ default: G(() => [
341
341
  o($e, {
342
342
  id: "konnectio-gift-card-module",
343
343
  type: "gift-card",
344
344
  "access-token": L.accessToken,
345
345
  "data-layout": L.layout
346
346
  }, {
347
- default: R(() => [
348
- e(Q) ? (d(), M(ze, {
347
+ default: G(() => [
348
+ e(X) ? (d(), M(Oe, {
349
349
  key: 1,
350
350
  title: "Unable to render Gift card module",
351
351
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
352
352
  })) : (d(), k("div", ra, [
353
353
  l("h2", da, [
354
- l("span", null, Y(e(t)("giftCard.title")), 1)
354
+ l("span", null, Z(e(t)("giftCard.title")), 1)
355
355
  ]),
356
356
  l("div", ca, [
357
357
  W(l("div", ua, [
@@ -365,15 +365,15 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
365
365
  innerHTML: e(t)("giftCard.description")
366
366
  }, null, 8, pa),
367
367
  l("form", null, [
368
- e(x) ? F("", !0) : (d(), k("div", ma, [
368
+ e(B) ? F("", !0) : (d(), k("div", ma, [
369
369
  e(C) ? (d(), k("div", fa, [
370
370
  l("label", va, [
371
- l("span", null, Y(e(t)("giftCard.selectType")), 1)
371
+ l("span", null, Z(e(t)("giftCard.selectType")), 1)
372
372
  ]),
373
373
  l("div", ga, [
374
374
  l("ul", null, [
375
375
  (d(!0), k(we, null, Fe(e(C), (n, N) => (d(), k("li", { key: N }, [
376
- o(Be, {
376
+ o(xe, {
377
377
  modelValue: e(a),
378
378
  "onUpdate:modelValue": s[0] || (s[0] = (y) => P(a) ? a.value = y : null),
379
379
  type: "radio",
@@ -418,7 +418,7 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
418
418
  placeholder: e(t)("giftCard.emailPlaceholder"),
419
419
  required: ""
420
420
  }, null, 8, ["modelValue", "label", "placeholder"]),
421
- o(xe, {
421
+ o(Be, {
422
422
  modelValue: e(u),
423
423
  "onUpdate:modelValue": s[4] || (s[4] = (n) => P(u) ? u.value = n : null),
424
424
  icon: "phone-office",
@@ -460,13 +460,13 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
460
460
  ]),
461
461
  L.layout !== "minimal" && e(m) ? (d(), k("div", ba, [
462
462
  l("div", ya, [
463
- o(z, {
463
+ o(O, {
464
464
  label: e(t)("giftCard.orderGiftCard"),
465
465
  "full-width": !0,
466
- disabled: !e(E),
467
- "is-loading": e(U),
468
- "onUpdate:isLoading": s[9] || (s[9] = (n) => P(U) ? U.value = n : null),
469
- onClickEvent: e(G)
466
+ disabled: !e(U),
467
+ "is-loading": e(E),
468
+ "onUpdate:isLoading": s[9] || (s[9] = (n) => P(E) ? E.value = n : null),
469
+ onClickEvent: e(R)
470
470
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
471
471
  ])
472
472
  ])) : F("", !0),
@@ -482,21 +482,21 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
482
482
  }, null, 8, ["modelValue", "label", "placeholder"])
483
483
  ])) : F("", !0),
484
484
  e(m) ? (d(), k("div", _a, [
485
- o(z, {
485
+ o(O, {
486
486
  label: e(t)("giftCard.orderGiftCard"),
487
487
  "full-width": !0,
488
- disabled: !e(E),
488
+ disabled: !e(U),
489
489
  "data-test": "orderGiftCard",
490
- "is-loading": e(U),
491
- "onUpdate:isLoading": s[11] || (s[11] = (n) => P(U) ? U.value = n : null),
492
- onClickEvent: e(G)
490
+ "is-loading": e(E),
491
+ "onUpdate:isLoading": s[11] || (s[11] = (n) => P(E) ? E.value = n : null),
492
+ onClickEvent: e(R)
493
493
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
494
494
  l("div", null, [
495
495
  Ca,
496
496
  o(ia)
497
497
  ]),
498
498
  W(l("div", Va, [
499
- o(Oe)
499
+ o(De)
500
500
  ], 512), [
501
501
  [H, e(j)]
502
502
  ])
@@ -506,7 +506,7 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
506
506
  _: 1
507
507
  }, 8, ["access-token", "data-layout"])
508
508
  ]),
509
- fallback: R(() => [
509
+ fallback: G(() => [
510
510
  o(ta)
511
511
  ]),
512
512
  _: 1
@@ -515,7 +515,7 @@ const Qe = { class: "gift-card-skeleton" }, ea = { class: "gift-card-skeleton-fo
515
515
  _: 1
516
516
  }, 8, ["styling"]));
517
517
  }
518
- }), Z = /* @__PURE__ */ ne(wa, [["__scopeId", "data-v-30c8e35c"]]), Fa = Ie(), Pa = Ge();
518
+ }), Y = /* @__PURE__ */ ne(wa, [["__scopeId", "data-v-30c8e35c"]]), Fa = Ie(), Pa = Re();
519
519
  class Sa extends HTMLElement {
520
520
  vueApp;
521
521
  constructor() {
@@ -525,7 +525,7 @@ class Sa extends HTMLElement {
525
525
  this.vueApp.unmount();
526
526
  }
527
527
  connectedCallback() {
528
- const c = typeof Z == "function" ? Z.options : Z;
528
+ const c = typeof Y == "function" ? Y.options : Y;
529
529
  let v = Array.isArray(c.props) ? c.props : Object.keys(c.props || {});
530
530
  const t = (i) => i.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (b, f) => (f ? "-" : "") + b.toLowerCase()), p = (i) => i.replace(/-./g, (b) => b[1].toUpperCase()), r = {};
531
531
  v = v.map(t);
@@ -538,7 +538,7 @@ class Sa extends HTMLElement {
538
538
  let b = this.attributes.getNamedItem(i)?.value;
539
539
  u.hasOwnProperty(i) && (b = u[i]), r[i] = b;
540
540
  }
541
- this.vueApp = Le(Z, r), this.vueApp.provide("emitter", Pa), this.vueApp.use(Fa), this.vueApp.use(Me), this.vueApp.use(Re, { bootstrap: !0 });
541
+ this.vueApp = Le(Y, r), this.vueApp.provide("emitter", Pa), this.vueApp.use(Fa), this.vueApp.use(Me), this.vueApp.use(Ge, { bootstrap: !0 });
542
542
  const h = document.createElement("div");
543
543
  this.vueApp.mount(h), this.appendChild(h.children[0]);
544
544
  }
Binary file