@konnectio/core 4.0.9 → 4.0.10

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 (119) hide show
  1. package/dist/{ActionField-f3d5b218.js → ActionField-68f65af4.js} +4 -4
  2. package/dist/ActionField-68f65af4.js.br +0 -0
  3. package/dist/ActionField-ab9c01ab.cjs +1 -0
  4. package/dist/AvailabilitySkeleton-c48588e4.js +382 -0
  5. package/dist/AvailabilitySkeleton-c48588e4.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-ca6cf6b6.cjs +1 -0
  7. package/dist/{payment-cce506b8.js → DateField.vue_vue_type_style_index_0_lang-87ddfed8.js} +3216 -2953
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-87ddfed8.js.br +0 -0
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-b6694990.cjs +5 -0
  10. package/dist/Field-b76d82cb.js +42 -0
  11. package/dist/Field-b76d82cb.js.br +0 -0
  12. package/dist/Field-d926807f.cjs +1 -0
  13. package/dist/{applyGiftCard-dea77ba6.js → NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js} +59 -59
  14. package/dist/NumberField.vue_vue_type_script_setup_true_lang-a32b2a11.js.br +0 -0
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-a549c70e.cjs +1 -0
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-2bf82818.cjs +806 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-c973d794.js +19169 -0
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-c973d794.js.br +0 -0
  19. package/dist/{TextField-99e69631.cjs → TextField-528ca68c.cjs} +1 -1
  20. package/dist/{TextField-b8f4462a.js → TextField-8f6e5ef5.js} +139 -137
  21. package/dist/TextField-8f6e5ef5.js.br +0 -0
  22. package/dist/ThankYou-2f3c4efe.js +11777 -0
  23. package/dist/ThankYou-2f3c4efe.js.br +0 -0
  24. package/dist/ThankYou-8ae535bf.cjs +54 -0
  25. package/dist/_-3cff5490.cjs +1 -0
  26. package/dist/_-734c9d50.js +82 -0
  27. package/dist/_-734c9d50.js.br +0 -0
  28. package/dist/assets/typescript/mixins.d.ts +1 -4
  29. package/dist/availability.cjs +2 -2
  30. package/dist/availability.js +94 -142
  31. package/dist/availability.js.br +0 -0
  32. package/dist/components/Icon.vue.d.ts +1 -1
  33. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
  34. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
  35. package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -0
  36. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +1 -0
  37. package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
  38. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  39. package/dist/components/forms/_.vue.d.ts +4 -0
  40. package/dist/components/forms/_.vue.d.ts.map +1 -0
  41. package/dist/components/inputs/InputField.vue.d.ts +1 -1
  42. package/dist/components/listings/Base.vue.d.ts +1 -1
  43. package/dist/components/listings/Event.vue.d.ts +1 -1
  44. package/dist/components/listings/{Test.vue.d.ts → Hotel.vue.d.ts} +3 -3
  45. package/dist/components/listings/Hotel.vue.d.ts.map +1 -0
  46. package/dist/components/modals/Info.vue.d.ts +1 -1
  47. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +1 -1
  48. package/dist/components/skeletons/Field.vue.d.ts +1 -1
  49. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
  50. package/dist/components/{side-panels/Hotel.vue.d.ts → skeletons/Sidebar.vue.d.ts} +3 -3
  51. package/dist/components/skeletons/Sidebar.vue.d.ts.map +1 -0
  52. package/dist/components/skeletons/_.vue.d.ts +1 -1
  53. package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
  54. package/dist/components/views/TermsOfService.vue.d.ts +1 -1
  55. package/dist/components/views/ThankYou.vue.d.ts +1 -1
  56. package/dist/event-4662e27c.cjs +1 -0
  57. package/dist/{event-a9067cf5.js → event-e08d0178.js} +37 -37
  58. package/dist/event-e08d0178.js.br +0 -0
  59. package/dist/event.cjs +1 -2
  60. package/dist/event.js +402 -706
  61. package/dist/event.js.br +0 -0
  62. package/dist/gift-card-validation.cjs +1 -1
  63. package/dist/gift-card-validation.js +72 -126
  64. package/dist/gift-card-validation.js.br +0 -0
  65. package/dist/gift-card.cjs +1 -1
  66. package/dist/gift-card.js +302 -390
  67. package/dist/gift-card.js.br +0 -0
  68. package/dist/hotel.cjs +5 -5
  69. package/dist/hotel.js +2215 -2229
  70. package/dist/hotel.js.br +0 -0
  71. package/dist/{index-ec04c269.cjs → index-a46a0876.cjs} +1 -1
  72. package/dist/{index-d080b5a0.js → index-c28f52d1.js} +32 -14
  73. package/dist/index-c28f52d1.js.br +0 -0
  74. package/dist/layouts/Availability.vue.d.ts +20 -67
  75. package/dist/layouts/Event.vue.d.ts +16 -242
  76. package/dist/layouts/GiftCard.vue.d.ts +29 -280
  77. package/dist/layouts/GiftCardValidation.vue.d.ts +16 -226
  78. package/dist/layouts/Hotel.vue.d.ts +33 -378
  79. package/dist/layouts/_.vue.d.ts +31 -20
  80. package/dist/polyfill.cjs +4 -4
  81. package/dist/polyfill.js +1586 -1575
  82. package/dist/polyfill.js.br +0 -0
  83. package/dist/store/availability.d.ts +1 -1
  84. package/dist/store/giftCard.d.ts +3 -3
  85. package/dist/store/hotel.d.ts +318 -204
  86. package/dist/store/tracking.d.ts +6 -14
  87. package/dist/store/utilities.d.ts +87 -81
  88. package/dist/style.css +1 -1
  89. package/dist/style.css.br +0 -0
  90. package/dist/types/index.d.ts +44 -8
  91. package/package.json +21 -21
  92. package/dist/ActionField-b87d2fd7.cjs +0 -1
  93. package/dist/ActionField-f3d5b218.js.br +0 -0
  94. package/dist/AvailabilitySkeleton-019ec202.js +0 -150
  95. package/dist/AvailabilitySkeleton-019ec202.js.br +0 -0
  96. package/dist/AvailabilitySkeleton-e288f5be.cjs +0 -1
  97. package/dist/Field-21bb32d7.cjs +0 -1
  98. package/dist/Field-6bfeedce.js +0 -59
  99. package/dist/Field-6bfeedce.js.br +0 -0
  100. package/dist/SelectField.vue_vue_type_style_index_0_lang-701aecad.js +0 -17193
  101. package/dist/SelectField.vue_vue_type_style_index_0_lang-701aecad.js.br +0 -0
  102. package/dist/SelectField.vue_vue_type_style_index_0_lang-a370e66d.cjs +0 -797
  103. package/dist/TextField-b8f4462a.js.br +0 -0
  104. package/dist/ThankYou-add684c1.cjs +0 -66
  105. package/dist/ThankYou-edbf753b.js +0 -14279
  106. package/dist/ThankYou-edbf753b.js.br +0 -0
  107. package/dist/applyGiftCard-c21f13ac.cjs +0 -1
  108. package/dist/applyGiftCard-dea77ba6.js.br +0 -0
  109. package/dist/components/forms/ReservationFormTest.vue.d.ts +0 -5
  110. package/dist/components/forms/ReservationFormTest.vue.d.ts.map +0 -1
  111. package/dist/components/listings/Test.vue.d.ts.map +0 -1
  112. package/dist/components/side-panels/Base.vue.d.ts +0 -5
  113. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  114. package/dist/components/side-panels/Hotel.vue.d.ts.map +0 -1
  115. package/dist/event-2c6a2138.cjs +0 -1
  116. package/dist/event-a9067cf5.js.br +0 -0
  117. package/dist/index-d080b5a0.js.br +0 -0
  118. package/dist/payment-95b2392a.cjs +0 -2
  119. package/dist/payment-cce506b8.js.br +0 -0
package/dist/gift-card.js CHANGED
@@ -1,117 +1,101 @@
1
- import { d as me, u as X, s as J, a as de, r as h, ab as b, b as Y, c as P, i as q, S as Z, e as ge, f as ve, ac as be, ad as le, h as ee, t as ue, k as c, l as M, w as N, q as s, y as f, m as d, n as e, C as x, D as y, Q as ce, I as he, _ as pe, P as ye, o as ke, ae as Ce, v as oe, af as I, ag as A, x as B, Z as _e, $ as Fe, a0 as te, a9 as ne, G as Ve, H as Be, M as Pe, L as Se, N as Te } from "./SelectField.vue_vue_type_style_index_0_lang-701aecad.js";
2
- import { P as ze, C as ie, _ as Re, S as we, i as $e } from "./index-d080b5a0.js";
3
- import { T as H, _ as Ee } from "./TextField-b8f4462a.js";
4
- import { F as W, E as Ue } from "./Field-6bfeedce.js";
1
+ import { d as ue, u as ne, s as Q, a as ie, r as b, a8 as w, b as J, c as F, i as Z, S as Y, e as ce, f as pe, a9 as me, h as X, y as re, k as d, l as L, w as j, x as s, q as f, m as r, n as e, C as x, t as k, v as se, I as fe, _ as de, $ as ve, o as ge, aa as he, z as ee, ab as I, ac as W, A as V, a0 as ye, a1 as _e, a2 as ae, H as be, J as ke, N as Ce, a6 as Ve, M as Fe, P as Pe } from "./SelectField.vue_vue_type_style_index_0_lang-c973d794.js";
2
+ import { a as Se, P as we, C as le, _ as ze, S as Te, i as $e } from "./index-c28f52d1.js";
3
+ import { u as Ue, E as qe } from "./_-734c9d50.js";
4
+ import { T as H, _ as Re } from "./TextField-8f6e5ef5.js";
5
+ import { F as M } from "./Field-b76d82cb.js";
5
6
  import "./_commonjsHelpers-c5d32002.js";
6
- const re = me("giftCard", () => {
7
- const { display: k } = X(), { bearerToken: l, metaData: a } = J(de()), o = h(b.InitialState), S = Y("freshBookingName", "", void 0, { serializer: Z.string }), p = Y("freshBookingEmail", "", void 0, { serializer: Z.string }), m = Y("freshBookingPhone", "", void 0, { serializer: Z.string }), C = h(""), T = h(1), $ = h(!0), E = h(""), v = h({
7
+ const te = ue("giftCard", () => {
8
+ ne();
9
+ const { pay: z } = Ue(), { bearerToken: t, metaData: o } = Q(ie()), a = b(w.InitialState), P = J("freshBookingName", "", void 0, { serializer: Y.string }), c = J("freshBookingEmail", "", void 0, { serializer: Y.string }), v = J("freshBookingPhone", "", void 0, { serializer: Y.string }), h = b(""), B = b(1), U = b(!0), S = b(""), p = b({
8
10
  base64: "",
9
11
  type: "",
10
12
  name: ""
11
- }), n = h(void 0), u = h(0), g = h(!1), z = h(0), _ = P(() => o.value === b.InitialState || o.value === b.WaitingForResponse), R = P(() => o.value === b.ReadyToPay), U = P(() => o.value === b.PaymentSuccess), F = P(() => {
12
- const i = {
13
+ }), n = b(void 0), u = b(0), g = b(!1), y = b(0), T = F(() => a.value === w.InitialState || a.value === w.WaitingForResponse), q = F(() => a.value === w.ReadyToPay), C = F(() => a.value === w.PaymentSuccess), G = F(() => {
14
+ const m = {
13
15
  1: {
14
- label: q.t("giftCard.hotelType"),
16
+ label: Z.t("giftCard.hotelType"),
15
17
  data: []
16
18
  },
17
19
  2: {
18
- label: q.t("giftCard.restaurantType"),
20
+ label: Z.t("giftCard.restaurantType"),
19
21
  data: []
20
22
  }
21
- }, t = a.value.places;
22
- return t && t.forEach((V) => {
23
- i[V.placeType].data.push(V);
23
+ }, l = o.value.places;
24
+ return l && l.forEach((_) => {
25
+ m[_.placeType].data.push(_);
24
26
  }), Object.fromEntries(
25
- Object.entries(i).filter(([, V]) => V.data.length > 0)
27
+ Object.entries(m).filter(([, _]) => _.data.length > 0)
26
28
  );
27
- }), L = P(() => z.value !== 0), w = P(() => {
28
- let i;
29
- if (L.value)
30
- i = F.value[z.value].data[0];
29
+ }), D = F(() => y.value !== 0), $ = F(() => {
30
+ let m;
31
+ if (D.value)
32
+ m = G.value[y.value].data[0];
31
33
  else if (u.value !== 0) {
32
- const t = n.value, V = F.value[u.value].data;
33
- V.length === 1 ? i = V[0] : t !== void 0 && V.forEach((r) => {
34
- String(r.id) === String(t) && (i = r);
34
+ const l = n.value, _ = G.value[u.value].data;
35
+ _.length === 1 ? m = _[0] : l !== void 0 && _.forEach((N) => {
36
+ String(N.id) === String(l) && (m = N);
35
37
  });
36
38
  }
37
- return i;
38
- }), j = P(() => !(!S.value || !p.value || !(m.value.length >= 5) || !C.value || w.value === void 0)), O = P(() => !(o.value === b.InitialState && g.value)), K = P(() => !!(o.value === b.WaitingForResponse && g.value));
39
- async function D() {
40
- o.value = b.WaitingForResponse, g.value = !0, await ge.post("https://stage.hotel-service.freshbooking.dk/api/gift-card/create", {
39
+ return m;
40
+ }), O = F(() => !(!P.value || !c.value || !(v.value.length >= 5) || !h.value || $.value === void 0)), K = F(() => !(a.value === w.InitialState && g.value)), A = F(() => !!(a.value === w.WaitingForResponse && g.value));
41
+ async function R() {
42
+ a.value = w.WaitingForResponse, g.value = !0, await ce.post("http://stage.hotel_service.konnectio.dk/api/gift-card/create", {
41
43
  termsOfserviceURL: "https://freshbooking.dk",
42
44
  checkoutUrl: "https://freshbooking.dk",
43
- currencyID: a.value.currency.id,
44
- language: ve(),
45
- amount: C.value,
46
- quantity: T.value,
47
- freeText: E.value,
48
- showPrice: $.value,
49
- contactName: S.value,
50
- contactEmail: p.value,
51
- contactPhone: m.value,
52
- imageBase64: be(v.value.base64),
53
- imageName: v.value.name,
54
- imageFormat: v.value.type,
55
- placeType: w.value ? w.value.placeType : void 0,
56
- placeID: w.value ? w.value.id : void 0
45
+ currencyID: o.value.currency.id,
46
+ language: pe(),
47
+ amount: h.value,
48
+ quantity: B.value,
49
+ freeText: S.value,
50
+ showPrice: U.value,
51
+ contactName: P.value,
52
+ contactEmail: c.value,
53
+ contactPhone: v.value,
54
+ imageBase64: me(p.value.base64),
55
+ imageName: p.value.name,
56
+ imageFormat: p.value.type,
57
+ placeType: $.value ? $.value.placeType : void 0,
58
+ placeID: $.value ? $.value.id : void 0
57
59
  }, {
58
60
  headers: {
59
- Authorization: l.value,
61
+ Authorization: t.value,
60
62
  Accept: "application/json",
61
63
  "Fresh-Booking-Ver": "4.0.9"
62
64
  }
63
- }).then((i) => {
64
- if (g.value = !1, i.data.easyPayment) {
65
- o.value = b.ReadyToPay;
66
- const t = new Reepay.EmbeddedCheckout(
67
- i.data.easyPayment.paymentID,
68
- { html_element: "fresh-booking-gift-card-payment" }
69
- );
70
- t.addEventHandler(le.Accept, () => {
71
- o.value = b.PaymentSuccess, k({
72
- message: q.t("alert.success.giftCardOrdered"),
73
- type: "success"
74
- });
75
- }), t.addEventHandler(le.Error, () => {
76
- k({
77
- message: q.t("booking.other.errorMessage"),
78
- type: "warning"
79
- });
80
- });
81
- } else
82
- o.value = b.InitialState, k({
83
- message: `${q.t("booking.other.errorMessage")} (HTTP: ${i.status})`,
84
- type: "warning"
85
- });
65
+ }).then((m) => {
66
+ a.value = w.ReadyToPay, g.value = !1, z({
67
+ callback: () => console.log("Callback!"),
68
+ response: m.data
69
+ });
86
70
  });
87
71
  }
88
- function Q(i) {
89
- z.value = i;
72
+ function i(m) {
73
+ m && (y.value = m);
90
74
  }
91
75
  return {
92
- moduleState: o,
93
- name: S,
94
- email: p,
95
- phone: m,
96
- value: C,
97
- remark: E,
98
- showValue: $,
99
- quantity: T,
100
- media: v,
76
+ moduleState: a,
77
+ name: P,
78
+ email: c,
79
+ phone: v,
80
+ value: h,
81
+ remark: S,
82
+ showValue: U,
83
+ quantity: B,
84
+ media: p,
101
85
  placeId: n,
102
86
  placeType: u,
103
- showFormPage: _,
104
- showPaymentPage: R,
105
- showConfirmationPage: U,
106
- places: F,
107
- hasFilledForm: j,
108
- hasForcedPlaceType: L,
109
- isWaitingForResponse: K,
110
- isMetaDataAvailable: O,
111
- orderGiftCard: D,
112
- initialize: Q
87
+ showFormPage: T,
88
+ showPaymentPage: q,
89
+ showConfirmationPage: C,
90
+ places: G,
91
+ hasFilledForm: O,
92
+ hasForcedPlaceType: D,
93
+ isWaitingForResponse: A,
94
+ isMetaDataAvailable: K,
95
+ orderGiftCard: R,
96
+ initialize: i
113
97
  };
114
- }), qe = { class: "media-selector" }, Ie = ["accept"], We = { class: "media-selector-wrapper" }, Me = { class: "media-selector-tools" }, xe = { key: 0 }, Ge = { key: 1 }, Le = { key: 2 }, De = ["src"], Ae = /* @__PURE__ */ ee({
98
+ }), Ee = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-selector-wrapper" }, Ie = { class: "media-selector-tools" }, Me = { key: 0 }, Le = { key: 1 }, xe = { key: 2 }, De = ["src"], Ae = /* @__PURE__ */ X({
115
99
  __name: "MediaSelector",
116
100
  props: {
117
101
  modelValue: {},
@@ -121,94 +105,94 @@ const re = me("giftCard", () => {
121
105
  required: { type: Boolean, default: !1 }
122
106
  },
123
107
  emits: ["update:modelValue"],
124
- setup(k, { emit: l }) {
125
- const a = k, { t: o } = ue(), { display: S } = X(), p = h(), m = P(() => a.modelValue.base64 !== "");
126
- function C(n) {
127
- l("update:modelValue", n);
108
+ setup(z, { emit: t }) {
109
+ const o = z, { t: a } = re(), { display: P } = ne(), c = b(), v = F(() => o.modelValue.base64 !== "");
110
+ function h(n) {
111
+ t("update:modelValue", n);
128
112
  }
129
- function T() {
130
- C({
113
+ function B() {
114
+ h({
131
115
  base64: "",
132
116
  name: "",
133
117
  type: ""
134
- }), p.value && (p.value.value = "");
118
+ }), c.value && (c.value.value = "");
135
119
  }
136
- function $() {
137
- p.value && p.value.click();
120
+ function U() {
121
+ c.value && c.value.click();
138
122
  }
139
- function E(n, u) {
140
- const [g, z] = [n.name, n.type], _ = new FileReader();
141
- _.onload = function(R) {
142
- if (R.target) {
143
- const U = R.target.result;
144
- u({ base64: U, name: g, type: z });
123
+ function S(n, u) {
124
+ const [g, y] = [n.name, n.type], T = new FileReader();
125
+ T.onload = function(q) {
126
+ if (q.target) {
127
+ const C = q.target.result;
128
+ u({ base64: C, name: g, type: y });
145
129
  } else
146
- S({
147
- message: o("imageUploadError"),
130
+ P({
131
+ message: a("imageUploadError"),
148
132
  type: "error"
149
133
  });
150
- }, _.readAsDataURL(n);
134
+ }, T.readAsDataURL(n);
151
135
  }
152
- async function v() {
136
+ async function p() {
153
137
  let n;
154
- (n = p.value.files) instanceof FileList && E(n[0], C);
138
+ (n = c.value.files) instanceof FileList && S(n[0], h);
155
139
  }
156
- return (n, u) => (c(), M(he, {
140
+ return (n, u) => (d(), L(fe, {
157
141
  label: n.label,
158
142
  required: n.required,
159
143
  type: "media"
160
144
  }, {
161
- default: N(() => [
162
- s("div", qe, [
145
+ default: j(() => [
146
+ s("div", Ee, [
163
147
  s("input", {
164
148
  ref_key: "fileInput",
165
- ref: p,
149
+ ref: c,
166
150
  type: "file",
167
151
  class: "hidden",
168
152
  accept: n.validation,
169
153
  single: "",
170
- onChange: u[0] || (u[0] = (g) => v())
171
- }, null, 40, Ie),
172
- s("div", We, [
173
- s("ul", Me, [
174
- m.value ? y("", !0) : (c(), f("li", xe, [
175
- d(x, {
176
- label: e(o)("uploadFile"),
154
+ onChange: u[0] || (u[0] = (g) => p())
155
+ }, null, 40, Be),
156
+ s("div", Ge, [
157
+ s("ul", Ie, [
158
+ v.value ? k("", !0) : (d(), f("li", Me, [
159
+ r(x, {
160
+ label: e(a)("uploadFile"),
177
161
  type: "button",
178
162
  icon: "upload",
179
163
  "icon-color": n.iconColor,
180
- onClickEvent: u[1] || (u[1] = (g) => $())
164
+ onClickEvent: u[1] || (u[1] = (g) => U())
181
165
  }, null, 8, ["label", "icon-color"])
182
166
  ])),
183
- m.value ? (c(), f("li", Ge, [
184
- d(x, {
185
- label: e(o)("replaceFile"),
167
+ v.value ? (d(), f("li", Le, [
168
+ r(x, {
169
+ label: e(a)("replaceFile"),
186
170
  type: "button",
187
171
  icon: "repeat-alt",
188
172
  "icon-color": n.iconColor,
189
- onClickEvent: u[2] || (u[2] = (g) => $())
173
+ onClickEvent: u[2] || (u[2] = (g) => U())
190
174
  }, null, 8, ["label", "icon-color"])
191
- ])) : y("", !0),
192
- m.value ? (c(), f("li", Le, [
193
- d(x, {
194
- label: e(o)("removeFile"),
175
+ ])) : k("", !0),
176
+ v.value ? (d(), f("li", xe, [
177
+ r(x, {
178
+ label: e(a)("removeFile"),
195
179
  type: "button",
196
180
  icon: "trash-alt",
197
181
  "icon-color": n.iconColor,
198
- onClickEvent: u[3] || (u[3] = (g) => T())
182
+ onClickEvent: u[3] || (u[3] = (g) => B())
199
183
  }, null, 8, ["label", "icon-color"])
200
- ])) : y("", !0)
184
+ ])) : k("", !0)
201
185
  ]),
202
186
  s("div", {
203
- class: ce([
187
+ class: se([
204
188
  "media-selector-previewer",
205
- { opened: m.value }
189
+ { opened: v.value }
206
190
  ])
207
191
  }, [
208
- n.modelValue ? (c(), f("img", {
192
+ n.modelValue ? (d(), f("img", {
209
193
  key: 0,
210
194
  src: n.modelValue.base64
211
- }, null, 8, De)) : y("", !0)
195
+ }, null, 8, De)) : k("", !0)
212
196
  ], 2)
213
197
  ])
214
198
  ])
@@ -217,374 +201,302 @@ const re = me("giftCard", () => {
217
201
  }, 8, ["label", "required"]));
218
202
  }
219
203
  });
220
- function se(k) {
221
- const l = k;
222
- l.__i18n = l.__i18n || [], l.__i18n.push({
204
+ function oe(z) {
205
+ const t = z;
206
+ t.__i18n = t.__i18n || [], t.__i18n.push({
223
207
  locale: "",
224
208
  resource: {
225
209
  da: {
226
- uploadFile: (a) => {
227
- const { normalize: o } = a;
228
- return o(["Upload billede"]);
210
+ uploadFile: (o) => {
211
+ const { normalize: a } = o;
212
+ return a(["Upload billede"]);
229
213
  },
230
- removeFile: (a) => {
231
- const { normalize: o } = a;
232
- return o(["Fjern billede"]);
214
+ removeFile: (o) => {
215
+ const { normalize: a } = o;
216
+ return a(["Fjern billede"]);
233
217
  },
234
- replaceFile: (a) => {
235
- const { normalize: o } = a;
236
- return o(["Ersat billede"]);
218
+ replaceFile: (o) => {
219
+ const { normalize: a } = o;
220
+ return a(["Ersat billede"]);
237
221
  },
238
- imageUploadError: (a) => {
239
- const { normalize: o } = a;
240
- return o(["Der skete en fejl under billede upload!"]);
222
+ imageUploadError: (o) => {
223
+ const { normalize: a } = o;
224
+ return a(["Der skete en fejl under billede upload!"]);
241
225
  }
242
226
  },
243
227
  en: {
244
- uploadFile: (a) => {
245
- const { normalize: o } = a;
246
- return o(["Upload image"]);
228
+ uploadFile: (o) => {
229
+ const { normalize: a } = o;
230
+ return a(["Upload image"]);
247
231
  },
248
- removeFile: (a) => {
249
- const { normalize: o } = a;
250
- return o(["Remove image"]);
232
+ removeFile: (o) => {
233
+ const { normalize: a } = o;
234
+ return a(["Remove image"]);
251
235
  },
252
- replaceFile: (a) => {
253
- const { normalize: o } = a;
254
- return o(["Replace image"]);
236
+ replaceFile: (o) => {
237
+ const { normalize: a } = o;
238
+ return a(["Replace image"]);
255
239
  },
256
- imageUploadError: (a) => {
257
- const { normalize: o } = a;
258
- return o(["An error occurred under image upload!"]);
240
+ imageUploadError: (o) => {
241
+ const { normalize: a } = o;
242
+ return a(["An error occurred under image upload!"]);
259
243
  }
260
244
  }
261
245
  }
262
246
  });
263
247
  }
264
- typeof se == "function" && se(Ae);
265
- const He = { class: "gift-card-skeleton" }, Ne = { class: "gift-card-skeleton-form" }, je = /* @__PURE__ */ ee({
248
+ typeof oe == "function" && oe(Ae);
249
+ const Ne = { class: "gift-card-skeleton" }, We = { class: "gift-card-skeleton-form" }, He = /* @__PURE__ */ X({
266
250
  __name: "GiftCardSkeleton",
267
- setup(k) {
268
- return (l, a) => (c(), f("div", He, [
269
- s("div", Ne, [
270
- d(W),
271
- d(W),
272
- d(W),
273
- d(W),
274
- d(W, { "is-text-area": "" }),
275
- d(Ue, { height: "44px" })
251
+ setup(z) {
252
+ return (t, o) => (d(), f("div", Ne, [
253
+ s("div", We, [
254
+ r(M),
255
+ r(M),
256
+ r(M),
257
+ r(M),
258
+ r(M, { "is-text-area": "" }),
259
+ r(qe, { height: "44px" })
276
260
  ])
277
261
  ]));
278
262
  }
279
263
  });
280
- const Oe = /* @__PURE__ */ pe(je, [["__scopeId", "data-v-2600a731"]]), Ke = {
264
+ const je = /* @__PURE__ */ de(He, [["__scopeId", "data-v-2600a731"]]), Oe = {
281
265
  key: 0,
282
266
  id: "fresh-booking-gift-card-wrapper"
283
- }, Qe = { id: "fresh-booking-gift-card-title" }, Ye = { id: "fresh-booking-gift-card-content" }, Ze = { id: "fresh-booking-gift-card-payment" }, Je = ["innerHTML"], Xe = { key: 0 }, ea = {
267
+ }, Ke = { id: "fresh-booking-gift-card-title" }, Je = { id: "fresh-booking-gift-card-content" }, Ye = { id: "fresh-booking-gift-card-payment" }, Qe = ["innerHTML"], Xe = { key: 0 }, Ze = {
284
268
  key: 0,
285
269
  id: "fresh-booking-select-place-type"
286
- }, aa = {
287
- class: /* @__PURE__ */ ce(["fresh-booking-label", "required"])
288
- }, la = { id: "fresh-booking-select-place-type-input" }, oa = ["innerHTML"], ta = {
270
+ }, ea = {
271
+ class: /* @__PURE__ */ se(["fresh-booking-label", "required"])
272
+ }, aa = { id: "fresh-booking-select-place-type-input" }, la = ["innerHTML"], ta = {
289
273
  key: 0,
290
274
  id: "fresh-booking-gift-card-order"
291
- }, na = { class: "fresh-booking-panel" }, ia = {
275
+ }, oa = { class: "fresh-booking-panel" }, na = {
292
276
  key: 1,
293
277
  id: "fresh-booking-gift-card-remarks"
294
- }, ra = {
278
+ }, ia = {
295
279
  key: 2,
296
280
  id: "fresh-booking-gift-card-order-minimal",
297
281
  "sticky-side": "bottom"
298
- }, sa = { id: "fresh-booking-gift-card-recaptcha" }, da = /* @__PURE__ */ ee({
282
+ }, ra = { id: "fresh-booking-gift-card-recaptcha" }, sa = /* @__PURE__ */ X({
283
+ name: "GiftCardLayout",
299
284
  __name: "GiftCard",
300
285
  props: {
301
286
  accessToken: {},
302
- accentColor: { default: "#6ab1e6" },
303
- buttonBackground: { default: "#068175" },
304
- buttonBorder: { default: null },
305
- buttonBorderRadius: { default: "4px" },
306
- buttonColor: { default: "#FFF" },
307
- buttonFontFamily: { default: "inherit" },
308
- buttonFontSize: { default: "14px" },
309
- buttonTextTransform: { default: "uppercase" },
310
- buttonFontWeight: { default: "400" },
311
- fontColor: { default: "#3b3b3b" },
312
- fontFamily: { default: "inherit" },
313
- fontSize: { default: "16px" },
314
- fontWeight: {},
315
- grayColor: { default: "grey" },
316
- headerColor: { default: "#000" },
317
- headerFontSize: {},
318
- inputBackground: { default: "#fff" },
319
- inputBorder: { default: "1px solid rgba(0, 0, 0, 0.15)" },
320
- inputBorderRadius: { default: "0px" },
321
- inputBorderWidth: { default: "1px" },
322
- inputFontColor: { default: "#000000" },
323
- labelFontWeight: { default: "bold" },
324
- labelPadding: { default: "6px" },
325
287
  layout: { default: "minimal" },
326
- loadingColor: { default: "#000" },
327
- panelBackground: { default: "#ffffff" },
328
- panelBorder: { default: null },
329
- panelBorderRadius: { default: "8px" },
330
- panelPadding: { default: "24px" },
331
288
  placeType: {},
332
- successColor: { default: "green" }
289
+ styling: {}
333
290
  },
334
- setup(k) {
335
- const l = k, { t: a } = ue(), {
291
+ setup(z) {
292
+ const { t } = re(), {
336
293
  name: o,
337
- email: S,
338
- phone: p,
339
- value: m,
340
- remark: C,
341
- showValue: T,
342
- quantity: $,
343
- media: E,
344
- placeId: v,
345
- placeType: n,
346
- showFormPage: u,
347
- showPaymentPage: g,
348
- showConfirmationPage: z,
349
- places: _,
350
- hasFilledForm: R,
351
- hasForcedPlaceType: U,
352
- isWaitingForResponse: F,
353
- isMetaDataAvailable: L
354
- } = J(re()), { initialize: w, orderGiftCard: j } = re(), { isRecaptchaEnabled: O, currency: K } = J(de());
355
- X();
356
- async function D() {
357
- await j();
294
+ email: a,
295
+ phone: P,
296
+ value: c,
297
+ remark: v,
298
+ showValue: h,
299
+ quantity: B,
300
+ media: U,
301
+ placeId: S,
302
+ placeType: p,
303
+ showFormPage: n,
304
+ showPaymentPage: u,
305
+ showConfirmationPage: g,
306
+ places: y,
307
+ hasFilledForm: T,
308
+ hasForcedPlaceType: q,
309
+ isWaitingForResponse: C,
310
+ isMetaDataAvailable: G
311
+ } = Q(te()), { initialize: D, orderGiftCard: $ } = te(), { isRecaptchaEnabled: O, currency: K } = Q(ie());
312
+ async function A() {
313
+ await $();
358
314
  }
359
- ye(n, () => {
360
- v.value = void 0;
361
- }), ke(() => {
362
- w(parseInt(l.placeType));
363
- });
364
- const Q = {
365
- "--accentColor": l.accentColor,
366
- "--buttonBackground": l.buttonBackground,
367
- "--buttonBorder": l.buttonBorder,
368
- "--buttonBorderRadius": l.buttonBorderRadius,
369
- "--buttonFontFamily": l.buttonFontFamily,
370
- "--buttonColor": l.buttonColor,
371
- "--buttonFontSize": l.buttonFontSize,
372
- "--buttonTextTransform": l.buttonTextTransform,
373
- "--buttonFontWeight": l.buttonFontWeight,
374
- "--fontColor": l.fontColor,
375
- "--fontFamily": l.fontFamily,
376
- "--fontSize": l.fontSize,
377
- "--fontWeight": l.fontWeight,
378
- "--grayColor": l.grayColor,
379
- "--headerColor": l.headerColor,
380
- "--headerFontSize": l.headerFontSize,
381
- "--inputBackground": l.inputBackground,
382
- "--inputBorder": l.inputBorder,
383
- "--inputBorderRadius": l.inputBorderRadius,
384
- "--inputFontColor": l.inputFontColor,
385
- "--inputBorderWidth": l.inputBorderWidth,
386
- "--labelFontWeight": l.labelFontWeight,
387
- "--labelPadding": l.labelPadding,
388
- "--loadingColor": l.loadingColor,
389
- "--panelBackground": l.panelBackground,
390
- "--panelBorder": l.panelBorder,
391
- "--panelBorderRadius": l.panelBorderRadius,
392
- "--panelPadding": l.panelPadding,
393
- "--successColor": l.successColor
394
- };
395
- return (i, t) => {
396
- const V = Ce("sticky");
397
- return c(), M(Be, null, {
398
- default: N(() => [
399
- d(Ve, {
315
+ return ve(p, () => {
316
+ S.value = void 0;
317
+ }), ge(() => {
318
+ D();
319
+ }), (R, i) => {
320
+ const m = he("sticky");
321
+ return d(), L(ke, null, {
322
+ default: j(() => [
323
+ r(be, {
400
324
  id: "fresh-booking-gift-card-module",
401
- class: "fresh-booking-app",
402
325
  type: "gift-card",
403
- "access-token": i.accessToken,
404
- "data-layout": i.layout,
405
- style: Q,
326
+ "access-token": R.accessToken,
327
+ "data-layout": R.layout,
328
+ styling: R.styling,
406
329
  "sticky-container": ""
407
330
  }, {
408
- default: N(() => [
409
- e(L) ? (c(), f("div", Ke, [
410
- s("h4", Qe, [
411
- s("span", null, oe(e(a)("giftCard.title")), 1)
331
+ default: j(() => [
332
+ e(G) ? (d(), f("div", Oe, [
333
+ s("h4", Ke, [
334
+ s("span", null, ee(e(t)("giftCard.title")), 1)
412
335
  ]),
413
- s("div", Ye, [
414
- I(s("div", Ze, null, 512), [
415
- [A, e(g)]
336
+ s("div", Je, [
337
+ I(s("div", Ye, [
338
+ r(Se)
339
+ ], 512), [
340
+ [W, e(u)]
416
341
  ]),
417
342
  I(s("div", null, [
418
343
  s("p", {
419
344
  id: "fresh-booking-gift-card-description",
420
- innerHTML: e(a)("giftCard.description")
421
- }, null, 8, Je),
345
+ innerHTML: e(t)("giftCard.description")
346
+ }, null, 8, Qe),
422
347
  s("form", null, [
423
- d(H, {
348
+ r(H, {
424
349
  modelValue: e(o),
425
- "onUpdate:modelValue": t[0] || (t[0] = (r) => B(o) ? o.value = r : null),
350
+ "onUpdate:modelValue": i[0] || (i[0] = (l) => V(o) ? o.value = l : null),
426
351
  type: "text",
427
352
  name: "name",
428
353
  autocomplete: "name",
429
- label: e(a)("giftCard.name"),
354
+ label: e(t)("giftCard.name"),
430
355
  icon: "user-alt",
431
- "icon-color": i.accentColor,
432
- placeholder: e(a)("giftCard.namePlaceholder"),
356
+ placeholder: e(t)("giftCard.namePlaceholder"),
433
357
  required: ""
434
- }, null, 8, ["modelValue", "label", "icon-color", "placeholder"]),
435
- d(H, {
436
- modelValue: e(S),
437
- "onUpdate:modelValue": t[1] || (t[1] = (r) => B(S) ? S.value = r : null),
358
+ }, null, 8, ["modelValue", "label", "placeholder"]),
359
+ r(H, {
360
+ modelValue: e(a),
361
+ "onUpdate:modelValue": i[1] || (i[1] = (l) => V(a) ? a.value = l : null),
438
362
  type: "email",
439
363
  name: "email",
440
364
  autocomplete: "email",
441
- label: e(a)("giftCard.email"),
365
+ label: e(t)("giftCard.email"),
442
366
  icon: "at",
443
- "icon-color": i.accentColor,
444
- placeholder: e(a)("giftCard.emailPlaceholder"),
367
+ placeholder: e(t)("giftCard.emailPlaceholder"),
445
368
  required: ""
446
- }, null, 8, ["modelValue", "label", "icon-color", "placeholder"]),
447
- d(ze, {
448
- modelValue: e(p),
449
- "onUpdate:modelValue": t[2] || (t[2] = (r) => B(p) ? p.value = r : null),
369
+ }, null, 8, ["modelValue", "label", "placeholder"]),
370
+ r(we, {
371
+ modelValue: e(P),
372
+ "onUpdate:modelValue": i[2] || (i[2] = (l) => V(P) ? P.value = l : null),
450
373
  icon: "phone-office",
451
- "icon-color": i.accentColor,
452
- label: e(a)("giftCard.phone"),
453
- placeholder: e(a)("giftCard.phonePlaceholder"),
374
+ label: e(t)("giftCard.phone"),
375
+ placeholder: e(t)("giftCard.phonePlaceholder"),
454
376
  required: ""
455
- }, null, 8, ["modelValue", "icon-color", "label", "placeholder"]),
456
- e(U) ? y("", !0) : (c(), f("div", Xe, [
457
- e(_) ? (c(), f("div", ea, [
458
- s("label", aa, [
459
- s("span", null, oe(e(a)("giftCard.selectType")), 1)
377
+ }, null, 8, ["modelValue", "label", "placeholder"]),
378
+ e(q) ? k("", !0) : (d(), f("div", Xe, [
379
+ e(y) ? (d(), f("div", Ze, [
380
+ s("label", ea, [
381
+ s("span", null, ee(e(t)("giftCard.selectType")), 1)
460
382
  ]),
461
- s("div", la, [
383
+ s("div", aa, [
462
384
  s("ul", null, [
463
- (c(!0), f(_e, null, Fe(e(_), (r, ae) => (c(), f("li", { key: ae }, [
464
- d(ie, {
465
- modelValue: e(n),
466
- "onUpdate:modelValue": t[3] || (t[3] = (fe) => B(n) ? n.value = fe : null),
385
+ (d(!0), f(ye, null, _e(e(y), (l, _) => (d(), f("li", { key: _ }, [
386
+ r(le, {
387
+ modelValue: e(p),
388
+ "onUpdate:modelValue": i[3] || (i[3] = (N) => V(p) ? p.value = N : null),
467
389
  type: "radio",
468
390
  name: "placeType",
469
- val: ae,
470
- label: r.label
391
+ val: _,
392
+ label: l.label
471
393
  }, null, 8, ["modelValue", "val", "label"])
472
394
  ]))), 128))
473
395
  ]),
474
- e(_)[e(n)] && e(_)[e(n)].data.length > 1 ? (c(), M(Ee, {
396
+ e(y)[e(p)] && e(y)[e(p)].data.length > 1 ? (d(), L(Re, {
475
397
  key: 0,
476
- modelValue: e(v),
477
- "onUpdate:modelValue": t[4] || (t[4] = (r) => B(v) ? v.value = r : null),
478
- placeholder: e(a)("giftCard.selectPlacePlaceholder"),
479
- options: e(_)[e(n)].data,
398
+ modelValue: e(S),
399
+ "onUpdate:modelValue": i[4] || (i[4] = (l) => V(S) ? S.value = l : null),
400
+ placeholder: e(t)("giftCard.selectPlacePlaceholder"),
401
+ options: e(y)[e(p)].data,
480
402
  labelKey: "name",
481
403
  valueKey: "id",
482
404
  required: ""
483
- }, null, 8, ["modelValue", "placeholder", "options"])) : y("", !0)
405
+ }, null, 8, ["modelValue", "placeholder", "options"])) : k("", !0)
484
406
  ])
485
- ])) : (c(), M(te, {
486
- key: 1,
487
- color: i.loadingColor
488
- }, null, 8, ["color"]))
407
+ ])) : (d(), L(ae, { key: 1 }))
489
408
  ])),
490
- d(H, {
491
- modelValue: e(m),
492
- "onUpdate:modelValue": t[5] || (t[5] = (r) => B(m) ? m.value = r : null),
409
+ r(H, {
410
+ modelValue: e(c),
411
+ "onUpdate:modelValue": i[5] || (i[5] = (l) => V(c) ? c.value = l : null),
493
412
  type: "number",
494
413
  name: "value",
495
- label: e(a)("giftCard.value"),
414
+ label: e(t)("giftCard.value"),
496
415
  icon: "money-bill",
497
- "icon-color": i.accentColor,
498
- placeholder: e(a)("giftCard.valuePlaceholder"),
416
+ placeholder: e(t)("giftCard.valuePlaceholder"),
499
417
  suffix: e(K),
500
418
  required: ""
501
- }, null, 8, ["modelValue", "label", "icon-color", "placeholder", "suffix"]),
502
- d(ie, {
503
- modelValue: e(T),
504
- "onUpdate:modelValue": t[6] || (t[6] = (r) => B(T) ? T.value = r : null),
419
+ }, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
420
+ r(le, {
421
+ modelValue: e(h),
422
+ "onUpdate:modelValue": i[6] || (i[6] = (l) => V(h) ? h.value = l : null),
505
423
  type: "checkbox",
506
424
  name: "showValue",
507
- label: e(a)("giftCard.showValue"),
508
- checked: e(T)
425
+ label: e(t)("giftCard.showValue"),
426
+ checked: e(h)
509
427
  }, null, 8, ["modelValue", "label", "checked"]),
510
- y("", !0),
511
- y("", !0)
428
+ k("", !0),
429
+ k("", !0)
512
430
  ])
513
431
  ], 512), [
514
- [A, e(u)]
432
+ [W, e(n)]
515
433
  ]),
516
434
  I(s("div", null, [
517
435
  s("div", {
518
- innerHTML: e(a)("giftCard.thankYou")
519
- }, null, 8, oa)
436
+ innerHTML: e(t)("giftCard.thankYou")
437
+ }, null, 8, la)
520
438
  ], 512), [
521
- [A, e(z)]
439
+ [W, e(g)]
522
440
  ])
523
441
  ]),
524
- i.layout !== "minimal" && e(u) ? (c(), f("div", ta, [
525
- s("div", na, [
526
- d(x, {
527
- label: e(a)("giftCard.orderGiftCard"),
528
- style: ne({
529
- background: i.successColor
530
- }),
442
+ R.layout !== "minimal" && e(n) ? (d(), f("div", ta, [
443
+ s("div", oa, [
444
+ r(x, {
445
+ label: e(t)("giftCard.orderGiftCard"),
531
446
  "full-width": !0,
532
- disabled: !e(R),
533
- "is-loading": e(F),
534
- "onUpdate:isLoading": t[9] || (t[9] = (r) => B(F) ? F.value = r : null),
535
- onClickEvent: D
536
- }, null, 8, ["label", "style", "disabled", "is-loading"])
447
+ disabled: !e(T),
448
+ "is-loading": e(C),
449
+ "onUpdate:isLoading": i[9] || (i[9] = (l) => V(C) ? C.value = l : null),
450
+ onClickEvent: A
451
+ }, null, 8, ["label", "disabled", "is-loading"])
537
452
  ])
538
- ])) : y("", !0),
539
- e(u) ? (c(), f("div", ia, [
540
- d(H, {
541
- modelValue: e(C),
542
- "onUpdate:modelValue": t[10] || (t[10] = (r) => B(C) ? C.value = r : null),
453
+ ])) : k("", !0),
454
+ e(n) ? (d(), f("div", na, [
455
+ r(H, {
456
+ modelValue: e(v),
457
+ "onUpdate:modelValue": i[10] || (i[10] = (l) => V(v) ? v.value = l : null),
543
458
  type: "textarea",
544
459
  name: "remark",
545
- label: e(a)("giftCard.remark"),
460
+ label: e(t)("giftCard.remark"),
546
461
  icon: "info-circle",
547
- "icon-color": i.accentColor,
548
- placeholder: e(a)("giftCard.remarkPlaceholder")
549
- }, null, 8, ["modelValue", "label", "icon-color", "placeholder"])
550
- ])) : y("", !0),
551
- e(u) ? I((c(), f("div", ra, [
552
- d(x, {
553
- label: e(a)("giftCard.orderGiftCard"),
554
- style: ne({
555
- background: i.successColor
556
- }),
462
+ placeholder: e(t)("giftCard.remarkPlaceholder")
463
+ }, null, 8, ["modelValue", "label", "placeholder"])
464
+ ])) : k("", !0),
465
+ e(n) ? I((d(), f("div", ia, [
466
+ r(x, {
467
+ label: e(t)("giftCard.orderGiftCard"),
557
468
  "full-width": !0,
558
- disabled: !e(R),
469
+ disabled: !e(T),
559
470
  "data-test": "orderGiftCard",
560
- "is-loading": e(F),
561
- "onUpdate:isLoading": t[11] || (t[11] = (r) => B(F) ? F.value = r : null),
562
- onClickEvent: D
563
- }, null, 8, ["label", "style", "disabled", "is-loading"]),
564
- I(s("div", sa, [
565
- d(Re)
471
+ "is-loading": e(C),
472
+ "onUpdate:isLoading": i[11] || (i[11] = (l) => V(C) ? C.value = l : null),
473
+ onClickEvent: A
474
+ }, null, 8, ["label", "disabled", "is-loading"]),
475
+ I(s("div", ra, [
476
+ r(ze)
566
477
  ], 512), [
567
- [A, e(O)]
478
+ [W, e(O)]
568
479
  ])
569
480
  ])), [
570
- [V]
571
- ]) : y("", !0)
572
- ])) : (c(), M(te, { key: 1 }))
481
+ [m]
482
+ ]) : k("", !0)
483
+ ])) : (d(), L(ae, { key: 1 }))
573
484
  ]),
574
485
  _: 1
575
- }, 8, ["access-token", "data-layout"])
486
+ }, 8, ["access-token", "data-layout", "styling"])
576
487
  ]),
577
- fallback: N(() => [
578
- d(Oe)
488
+ fallback: j(() => [
489
+ r(je)
579
490
  ]),
580
491
  _: 1
581
492
  });
582
493
  };
583
494
  }
584
495
  });
585
- const ua = /* @__PURE__ */ pe(da, [["__scopeId", "data-v-05b676e9"]]), ca = Pe(), G = Se({ components: { GiftCard: ua } });
586
- G.use(ca);
587
- G.use(Te);
588
- G.use(we);
589
- G.use($e, { bootstrap: !1 });
590
- G.mount("#konnectio-gift-card-app");
496
+ const da = /* @__PURE__ */ de(sa, [["__scopeId", "data-v-e4aa1e4c"]]), ua = Ce(), ca = Ve(), E = Fe({ components: { GiftCard: da } });
497
+ E.use(ua);
498
+ E.use(Pe);
499
+ E.use(ca);
500
+ E.use(Te);
501
+ E.use($e, { bootstrap: !1 });
502
+ E.mount("#konnectio-gift-card-app");